Package boofcv.abst.filter.binary
Class GlobalBinaryFilter<T extends boofcv.struct.image.ImageGray<T>>
- java.lang.Object
-
- boofcv.abst.filter.binary.GlobalBinaryFilter<T>
-
- All Implemented Interfaces:
InputToBinary<T>
- Direct Known Subclasses:
GlobalBinaryFilter.Entropy,GlobalBinaryFilter.Huang,GlobalBinaryFilter.Li,GlobalBinaryFilter.Otsu
public abstract class GlobalBinaryFilter<T extends boofcv.struct.image.ImageGray<T>> extends java.lang.Object implements InputToBinary<T>
Base class for computing global thresholds
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGlobalBinaryFilter.Entropy<T extends boofcv.struct.image.ImageGray<T>>Computes a threshold based on entropy to create a binary imagestatic classGlobalBinaryFilter.Huang<T extends boofcv.struct.image.ImageGray<T>>Computes a threshold using Huang's equation.static classGlobalBinaryFilter.Li<T extends boofcv.struct.image.ImageGray<T>>Computes a threshold using Li's equation.static classGlobalBinaryFilter.Otsu<T extends boofcv.struct.image.ImageGray<T>>Computes a threshold using Otsu's equation.
-
Constructor Summary
Constructors Constructor Description GlobalBinaryFilter(double minValue, double maxValue, double scale, boolean down, boofcv.struct.image.ImageType<T> inputType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.image.ImageType<T>getInputType()voidprocess(T input, boofcv.struct.image.GrayU8 output)
-
-
-
Constructor Detail
-
GlobalBinaryFilter
public GlobalBinaryFilter(double minValue, double maxValue, double scale, boolean down, boofcv.struct.image.ImageType<T> inputType)
-
-
Method Detail
-
process
public void process(T input, boofcv.struct.image.GrayU8 output)
- Specified by:
processin interfaceInputToBinary<T extends boofcv.struct.image.ImageGray<T>>
-
getInputType
public boofcv.struct.image.ImageType<T> getInputType()
- Specified by:
getInputTypein interfaceInputToBinary<T extends boofcv.struct.image.ImageGray<T>>
-
-