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