public class SpatialHistogram
extends java.lang.Object
| Constructor and Description |
|---|
SpatialHistogram()
Initializes a new instance of the SpatialHistogram class.
|
SpatialHistogram(int wBlock,
int hBlock)
Initializes a new instance of the SpatialHistogram class.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
Compute(FastBitmap fastBitmap,
IAggregateVectors features)
Compute the spatial histogram.
|
int[] |
Compute(FastBitmap fastBitmap,
IBinaryPattern pattern)
Compute the spatial histogram.
|
public SpatialHistogram()
public SpatialHistogram(int wBlock,
int hBlock)
wBlock - Number of width blocks.hBlock - Number of height blocks.public int[] Compute(FastBitmap fastBitmap, IBinaryPattern pattern)
fastBitmap - Image to be processed.pattern - Binary pattern.public double[] Compute(FastBitmap fastBitmap, IAggregateVectors features)
fastBitmap - Image to be processed.features - Aggregate vectors.