Package boofcv.abst.filter.binary
Class LocalMeanBinaryFilter<T extends boofcv.struct.image.ImageGray<T>>
- java.lang.Object
-
- boofcv.abst.filter.binary.LocalMeanBinaryFilter<T>
-
- All Implemented Interfaces:
InputToBinary<T>
public class LocalMeanBinaryFilter<T extends boofcv.struct.image.ImageGray<T>> extends java.lang.Object implements InputToBinary<T>
Adaptive/local threshold using a square region- See Also:
boofcv.alg.filter.binary.GThresholdImageOps#localMean(ImageGray, GrayU8, ConfigLength, double, boolean, ImageGray, ImageGray)
-
-
Constructor Summary
Constructors Constructor Description LocalMeanBinaryFilter(boofcv.struct.ConfigLength width, 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
-
LocalMeanBinaryFilter
public LocalMeanBinaryFilter(boofcv.struct.ConfigLength width, 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>>
-
-