Package boofcv.abst.filter.binary
Class BinaryFilters
- java.lang.Object
-
- boofcv.abst.filter.binary.BinaryFilters
-
- All Implemented Interfaces:
FilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>
- Direct Known Subclasses:
BinaryFilters.Dilate4,BinaryFilters.Dilate8,BinaryFilters.Edge4,BinaryFilters.Edge8,BinaryFilters.Erode4,BinaryFilters.Erode8,BinaryFilters.Invert,BinaryFilters.RemovePointNoise,BinaryFilters.Thin
public abstract class BinaryFilters extends java.lang.Object implements FilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>
Class for binary filters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinaryFilters.Dilate4static classBinaryFilters.Dilate8static classBinaryFilters.Edge4static classBinaryFilters.Edge8static classBinaryFilters.Erode4static classBinaryFilters.Erode8static classBinaryFilters.Invertstatic classBinaryFilters.RemovePointNoisestatic classBinaryFilters.Thin
-
Constructor Summary
Constructors Constructor Description BinaryFilters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBorderX()How many pixels are not processed along the x-axis border, left and right.intgetBorderY()How many pixels are not processed along the y-axis border, top and bottom.boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8>getInputType()Specifies the input image typeintgetNumTimes()boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8>getOutputType()Specifies the output image typebooleanisOutsideZero()voidsetNumTimes(int numTimes)voidsetOutsideZero(boolean outsideZero)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface boofcv.abst.filter.FilterImageInterface
process
-
-
-
-
Method Detail
-
getBorderX
public int getBorderX()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderXin interfaceFilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>- Returns:
- Border size in pixels.
-
getBorderY
public int getBorderY()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderYin interfaceFilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>- Returns:
- Border size in pixels.
-
getInputType
public boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>- Returns:
- Input image type.
-
getOutputType
public boofcv.struct.image.ImageType<boofcv.struct.image.GrayU8> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<boofcv.struct.image.GrayU8,boofcv.struct.image.GrayU8>- Returns:
- Output image type.
-
isOutsideZero
public boolean isOutsideZero()
-
setOutsideZero
public void setOutsideZero(boolean outsideZero)
-
getNumTimes
public int getNumTimes()
-
setNumTimes
public void setNumTimes(int numTimes)
-
-