public class LocalTernaryPattern extends java.lang.Object implements IBinaryPattern
| Constructor and Description |
|---|
LocalTernaryPattern()
Initialize a new instance of the LocalTernaryPattern class.
|
LocalTernaryPattern(int threshold)
Initialize a new instance of the LocalTernaryPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
ImageHistogram |
ComputeFeatures(FastBitmap fastBitmap)
Process the image.
|
ImageHistogram |
getLowerHistogram()
Get the Lower histogram.
|
int |
getThreshold()
Get threshold value.
|
ImageHistogram |
getUpperHistogram()
Get the Upper histogram.
|
void |
setThreshold(int threshold)
Set threshold value.
|
public LocalTernaryPattern()
public LocalTernaryPattern(int threshold)
threshold - Threshold.public int getThreshold()
public void setThreshold(int threshold)
threshold - Threshold value.public ImageHistogram getUpperHistogram()
public ImageHistogram getLowerHistogram()
public ImageHistogram ComputeFeatures(FastBitmap fastBitmap)
ComputeFeatures in interface IBinaryPatternfastBitmap - Image to be processed.