Package boofcv.abst.filter.binary
Class BinaryContourHelper
java.lang.Object
boofcv.abst.filter.binary.BinaryContourHelper
Helper function that makes it easier to adjust the size of the binary image when working with a padded or unpadded
contour finding algorithm. Creating a copy of the input image can be avoided when finding contours if
the binary image is expanded to have a contour in advance. Slight speed improvement and lower memory usage.
-
Constructor Details
-
BinaryContourHelper
-
-
Method Details
-
reshape
public void reshape(int width, int height) Reshapes data so that the un-padded image has the specified shape. -
padded
Returns the binary image with padding -
withoutPadding
Returns the image without padding. This might be a sub-image
-