java.lang.Object
imagingbook.common.morphology.BinaryMorphologyFilter
imagingbook.common.morphology.BinaryClosing
- All Implemented Interfaces:
BinaryMorphologyOperator
Implements a binary morphological closing operation. See Sec. 7.3.2 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 aBinaryClosingwith a 3x3 box structuring element by default.BinaryClosing(byte[][] H) Constructor, creates aBinaryClosingwith the specified structuring element. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(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
-
BinaryClosing
public BinaryClosing()Constructor, creates aBinaryClosingwith a 3x3 box structuring element by default. -
BinaryClosing
Constructor, creates aBinaryClosingwith the specified structuring element.- Parameters:
H- the structuring element
-
-
Method Details
-
applyTo
Description copied from interface:BinaryMorphologyOperatorApplies this morphological operator to the specified image (destructively, that is, the image is modified).- Parameters:
bp- the image the operator is applied to
-