Catalano.Imaging.Texture.BinaryPattern
Class CenterSymmetricLocalBinaryPattern
- java.lang.Object
-
- Catalano.Imaging.Texture.BinaryPattern.CenterSymmetricLocalBinaryPattern
-
- All Implemented Interfaces:
- IBinaryPattern
public class CenterSymmetricLocalBinaryPattern extends java.lang.Object implements IBinaryPattern
Center symmetric local binary patterns (CS-LBP) is a type of feature used for classification in computer vision.
-
-
Constructor Summary
Constructors Constructor and Description CenterSymmetricLocalBinaryPattern()Initializes a new instance of the CenterSymmetricLocalBinaryPattern class.CenterSymmetricLocalBinaryPattern(double threshold)Initializes a new instance of the CenterSymmetricLocalBinaryPattern class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ImageHistogramComputeFeatures(FastBitmap fastBitmap)Compute binary pattern.doublegetThreshold()Get threshold.voidsetThreshold(int threshold)Set threshold.
-
-
-
Constructor Detail
-
CenterSymmetricLocalBinaryPattern
public CenterSymmetricLocalBinaryPattern()
Initializes a new instance of the CenterSymmetricLocalBinaryPattern class.
-
CenterSymmetricLocalBinaryPattern
public CenterSymmetricLocalBinaryPattern(double threshold)
Initializes a new instance of the CenterSymmetricLocalBinaryPattern class.- Parameters:
threshold- Threshold value.
-
-
Method Detail
-
getThreshold
public double getThreshold()
Get threshold.- Returns:
- Threshold value.
-
setThreshold
public void setThreshold(int threshold)
Set threshold.- Parameters:
threshold- Threshold value.
-
ComputeFeatures
public ImageHistogram ComputeFeatures(FastBitmap fastBitmap)
Description copied from interface:IBinaryPatternCompute binary pattern.- Specified by:
ComputeFeaturesin interfaceIBinaryPattern- Parameters:
fastBitmap- Image to be processed.- Returns:
- Binary pattern.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG