public class UniformLocalBinaryPattern extends java.lang.Object implements IBinaryPattern
| Constructor and Description |
|---|
UniformLocalBinaryPattern()
Initialize a new instance of the UniformLocalBinaryPattern class.
|
UniformLocalBinaryPattern(boolean nonUniform)
Initialize a new instance of the UniformLocalBinaryPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
ImageHistogram |
ComputeFeatures(FastBitmap fastBitmap)
Compute binary pattern.
|
static ImageHistogram |
Encode(ImageHistogram hist)
Encode a LBP 256 histogram in Uniform LBP.
|
static ImageHistogram |
Encode(ImageHistogram hist,
boolean nonUniform)
Encode a LBP 256 histogram in Uniform LBP.
|
boolean |
isNonUniform()
Check if needs the non uniform label.
|
void |
setNonUniform(boolean nonUniform)
Set if needs the non uniform label.
|
public UniformLocalBinaryPattern()
public UniformLocalBinaryPattern(boolean nonUniform)
nonUniform - True if needs the non uniform label.public boolean isNonUniform()
public void setNonUniform(boolean nonUniform)
nonUniform - True if needs the non uniform label.public ImageHistogram ComputeFeatures(FastBitmap fastBitmap)
IBinaryPatternComputeFeatures in interface IBinaryPatternfastBitmap - Image to be processed.public static ImageHistogram Encode(ImageHistogram hist)
hist - Image histogram.public static ImageHistogram Encode(ImageHistogram hist, boolean nonUniform)
hist - Image histogram.nonUniform - True if needs the non uniform label.