java.lang.Object
imagingbook.common.morphology.BinaryOutline
- All Implemented Interfaces:
BinaryMorphologyOperator
Implements a binary morphological dilation operation. See Sec. 7.2.7 of [1] for additional details.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/09/18
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor, creates aBinaryOutlineoperator using a 4-neighborhood by default (NeighborhoodType2D.N4).Constructor, creates aBinaryOutlineoperator using a the specified neighborhood type (NeighborhoodType2D). -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(ByteProcessor ip) Applies this morphological operator to the specified image (destructively, that is, the image is modified).
-
Constructor Details
-
BinaryOutline
public BinaryOutline()Constructor, creates aBinaryOutlineoperator using a 4-neighborhood by default (NeighborhoodType2D.N4). -
BinaryOutline
Constructor, creates aBinaryOutlineoperator using a the specified neighborhood type (NeighborhoodType2D).- Parameters:
nh- neighborhood type (NeighborhoodType2D)
-
-
Method Details
-
applyTo
Description copied from interface:BinaryMorphologyOperatorApplies this morphological operator to the specified image (destructively, that is, the image is modified).- Specified by:
applyToin interfaceBinaryMorphologyOperator- Parameters:
ip- the image the operator is applied to
-