java.lang.Object
imagingbook.common.morphology.BinaryMorphologyFilter
imagingbook.common.morphology.BinaryErosion
- All Implemented Interfaces:
BinaryMorphologyOperator
Implements a binary morphological erosion operation. See Sec. 7.2.4 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 aBinaryErosion
with a 3x3 box structuring element by default.BinaryErosion
(byte[][] H) Constructor, creates aBinaryErosion
with the specified structuring element. -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(ByteProcessor bp) Applies this morphological operator to the specified image (destructively, that is, the image is modified).Methods inherited from class imagingbook.common.morphology.BinaryMorphologyFilter
getStructuringElement
-
Constructor Details
-
BinaryErosion
public BinaryErosion()Constructor, creates aBinaryErosion
with a 3x3 box structuring element by default. -
BinaryErosion
Constructor, creates aBinaryErosion
with the specified structuring element.- Parameters:
H
- the structuring element
-
-
Method Details
-
applyTo
Description copied from interface:BinaryMorphologyOperator
Applies this morphological operator to the specified image (destructively, that is, the image is modified).- Parameters:
bp
- the image the operator is applied to
-