class: BinaryImageOps
[83:14] static extends: object
Static wrappers for boofcv.alg.filter.binary.BinaryImageOps.
Methods
-
logicAnd (
object A, object B, object Output)Computes logical AND between two binary images.
- @p
Ais the first GrayU8 binary image. - @p
Bis the second GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
logicOr (
object A, object B, object Output)Computes logical OR between two binary images.
- @p
Ais the first GrayU8 binary image. - @p
Bis the second GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
logicXor (
object A, object B, object Output)Computes logical XOR between two binary images.
- @p
Ais the first GrayU8 binary image. - @p
Bis the second GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
invert (
object Input, object Output)Inverts a binary image.
- @p
Inputis a GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
erode4 (
object Input, int NumTimes, object Output)Erodes a binary image using a 4-connected rule.
- @p
Inputis a GrayU8 binary image. - @p
NumTimesis the number of erosion iterations. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
dilate4 (
object Input, int NumTimes, object Output)Dilates a binary image using a 4-connected rule.
- @p
Inputis a GrayU8 binary image. - @p
NumTimesis the number of dilation iterations. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
edge4 (
object Input, object Output, bool OutsideZero)Extracts 4-connected binary edges.
- @p
Inputis a GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @p
OutsideZerocontrols the outside-image value. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
erode8 (
object Input, int NumTimes, object Output)Erodes a binary image using an 8-connected rule.
- @p
Inputis a GrayU8 binary image. - @p
NumTimesis the number of erosion iterations. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
dilate8 (
object Input, int NumTimes, object Output)Dilates a binary image using an 8-connected rule.
- @p
Inputis a GrayU8 binary image. - @p
NumTimesis the number of dilation iterations. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
edge8 (
object Input, object Output, bool OutsideZero)Extracts 8-connected binary edges.
- @p
Inputis a GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @p
OutsideZerocontrols the outside-image value. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
removePointNoise (
object Input, object Output)Removes point noise from a binary image.
- @p
Inputis a GrayU8 binary image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
thin (
object Input, int MaxIterations, object Output)Applies binary thinning.
- @p
Inputis a GrayU8 binary image. - @p
MaxIterationsis the maximum thinning iterations. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
contour (
object Input, string RuleName, object LabelImage)Finds binary contours.
- @p
Inputis a GrayU8 binary image. - @p
RuleNameis FOUR or EIGHT. - @p
LabelImageis a GrayS32 label image. - @r
Alist of Contour Java objects.
- @p
-
contourExternal (
object Input, string RuleName)Finds external binary contours.
- @p
Inputis a GrayU8 binary image. - @p
RuleNameis FOUR or EIGHT. - @r
Alist of Contour Java objects.
- @p
-
relabel (
object LabelImage, object Labels)Relabels a labeled image.
- @p
LabelImageis a GrayS32 label image. - @p
Labelsis a Java int array or compatible object.
- @p
-
labelToBinary (
object LabelImage, object Output)Converts a label image to a binary image.
- @p
LabelImageis a GrayS32 label image. - @p
Outputis the output GrayU8 image. - @r
Theoutput image Java object returned by BoofCV.
- @p
-
labelToClusters (
object LabelImage, int NumLabels, Workspace = null)Converts a label image to point clusters.
- @p
LabelImageis a GrayS32 label image. - @p
NumLabelsis the number of labels. - @p
Workspaceis a DogArray workspace or null. - @r
Alist of point clusters.
- @p
-
selectRandomColors (
int NumColors, Random = null)Selects random RGB colors.
- @p
NumColorsis the number of colors. - @p
Randomis a java.util.Random object or null. - @r
AJava int array of RGB colors.
- @p
class: ConnectRule
[22:14] static extends: object
Static wrappers for the boofcv.struct.ConnectRule enum.
Methods
-
valueOf (
string Name)Returns a BoofCV ConnectRule enum by name.
- @p
Nameis FOUR or EIGHT. - @r
AnAussomJavaObject wrapping boofcv.struct.ConnectRule.
- @p
class: Contour
[36:7] extends: object
Contour wraps boofcv.alg.filter.binary.Contour.
Members
- obj
Methods
-
Contour (
Obj = null)Creates a contour or wraps an existing contour object.
- @p
Objis an existing Contour Java object or wrapper, or null to create a new contour.
- @p
-
getExternal ()
Gets the external contour points.
- @r
Alist of Point2D_I32 Java objects.
- @r
-
getInternal ()
Gets the internal contour point lists.
- @r
Alist of internal contour point lists.
- @r
-
reset ()
Resets this contour.
-
copy ()
Copies this contour.
- @r
AContour wrapper around the copy.
- @r