Package boofcv.alg.filter.binary.impl
Class ImplBinaryNaiveOps
- java.lang.Object
-
- boofcv.alg.filter.binary.impl.ImplBinaryNaiveOps
-
public class ImplBinaryNaiveOps extends java.lang.ObjectSimple unoptimized implementations of binary operations.- See Also:
BinaryImageOps
-
-
Constructor Summary
Constructors Constructor Description ImplBinaryNaiveOps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddilate4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static voiddilate8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static voidedge4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static voidedge4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output, boolean outsideZero)static voidedge8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static voidedge8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output, boolean outsideZero)static voiderode4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static voiderode8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)static booleangetF(boofcv.struct.image.GrayU8 image, int x, int y)If a point is inside the image true is returned if its value is not zero, otherwise false is returned.static booleangetT(boofcv.struct.image.GrayU8 image, int x, int y)If a point is inside the image true is returned if its value is not zero, otherwise true is returned.static voidremovePointNoise(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)Binary operation which is designed to remove small bits of spurious noise.
-
-
-
Method Detail
-
erode4
public static void erode4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
dilate4
public static void dilate4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
edge4
public static void edge4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
edge4
public static void edge4(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output, boolean outsideZero)
-
erode8
public static void erode8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
dilate8
public static void dilate8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
edge8
public static void edge8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)
-
edge8
public static void edge8(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output, boolean outsideZero)
-
removePointNoise
public static void removePointNoise(boofcv.struct.image.GrayU8 input, boofcv.struct.image.GrayU8 output)Binary operation which is designed to remove small bits of spurious noise. An 8-neighborhood is used. If a pixel is connected to less than 2 neighbors then its value zero. If connected to more than 6 then its value is one. Otherwise it retains its original value.- Parameters:
input- Input image. Not modified.output- If not null, the output image. If null a new image is declared and returned. Modified.
-
getT
public static boolean getT(boofcv.struct.image.GrayU8 image, int x, int y)If a point is inside the image true is returned if its value is not zero, otherwise true is returned.
-
getF
public static boolean getF(boofcv.struct.image.GrayU8 image, int x, int y)If a point is inside the image true is returned if its value is not zero, otherwise false is returned.
-
-