Catalano.Imaging.Tools
Class SpatialPyramidHistogram
- java.lang.Object
-
- Catalano.Imaging.Tools.SpatialPyramidHistogram
-
public class SpatialPyramidHistogram extends java.lang.ObjectSpatial Pyramid Histogram.
-
-
Constructor Summary
Constructors Constructor and Description SpatialPyramidHistogram()Initializes a new instance of the SpatialPyramidHistogram class.SpatialPyramidHistogram(int level)Initializes a new instance of the SpatialPyramidHistogram class.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.intgetLevel()Get level of the pyramid.voidsetLevel(int level)Set level of the pyramid.
-
-
-
Constructor Detail
-
SpatialPyramidHistogram
public SpatialPyramidHistogram()
Initializes a new instance of the SpatialPyramidHistogram class.
-
SpatialPyramidHistogram
public SpatialPyramidHistogram(int level)
Initializes a new instance of the SpatialPyramidHistogram class.- Parameters:
level- Level.
-
-
Method Detail
-
getLevel
public int getLevel()
Get level of the pyramid.- Returns:
- Level of the pyramid.
-
setLevel
public void setLevel(int level)
Set level of the pyramid.- Parameters:
level- Level of the pyramid.
-
Compute
public int[] Compute(FastBitmap fastBitmap, IBinaryPattern pattern)
Compute the Spatial Pyramid Histogram.- Parameters:
fastBitmap- Image to be processed.pattern- Binary pattern.- Returns:
- Spatial Pyramid Histogram.
-
Compute
public double[] Compute(FastBitmap fastBitmap, IAggregateVectors features)
Compute the spatial histogram.- Parameters:
fastBitmap- Image to be processed.features- Aggregate vectors.- Returns:
- Spatial features.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG