public class SpatialPyramidHistogram
extends java.lang.Object
| Constructor and Description |
|---|
SpatialPyramidHistogram()
Initializes a new instance of the SpatialPyramidHistogram class.
|
SpatialPyramidHistogram(int level)
Initializes a new instance of the SpatialPyramidHistogram 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 Pyramid Histogram.
|
int |
getLevel()
Get level of the pyramid.
|
void |
setLevel(int level)
Set level of the pyramid.
|
public SpatialPyramidHistogram()
public SpatialPyramidHistogram(int level)
level - Level.public int getLevel()
public void setLevel(int level)
level - Level of the pyramid.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.