Catalano.Imaging.Texture.BinaryPattern
Class WeberBinaryPattern
- java.lang.Object
-
- Catalano.Imaging.Texture.BinaryPattern.WeberBinaryPattern
-
- All Implemented Interfaces:
- IBinaryPattern
public class WeberBinaryPattern extends java.lang.Object implements IBinaryPattern
Weber binary patterns (WBP) is a type of feature used for classification in computer vision. WBP was first described in 2015. It has since been found to be a powerful feature for texture classification.
-
-
Constructor Summary
Constructors Constructor and Description WeberBinaryPattern()Initialize a new instance of the WeberBinaryPattern class.WeberBinaryPattern(double threshold)Initialize a new instance of the WeberBinaryPattern 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(double threshold)Set threshold.
-
-
-
Constructor Detail
-
WeberBinaryPattern
public WeberBinaryPattern()
Initialize a new instance of the WeberBinaryPattern class. Default threshold: -0.2
-
WeberBinaryPattern
public WeberBinaryPattern(double threshold)
Initialize a new instance of the WeberBinaryPattern class.- Parameters:
threshold- Threshold.
-
-
Method Detail
-
getThreshold
public double getThreshold()
Get threshold.- Returns:
- Threshold value.
-
setThreshold
public void setThreshold(double 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