java.lang.Object
imagingbook.common.morphology.BinaryMorphologyFilter
imagingbook.common.morphology.BinaryOpening
- All Implemented Interfaces:
BinaryMorphologyOperator
Implements a binary morphological opening operation. See Sec. 7.3.1 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 aBinaryOpening
with a 3x3 box structuring element by default.BinaryOpening
(byte[][] H) Constructor, creates aBinaryOpening
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
-
BinaryOpening
public BinaryOpening()Constructor, creates aBinaryOpening
with a 3x3 box structuring element by default. -
BinaryOpening
Constructor, creates aBinaryOpening
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
-