This tool performs a closing operation on an input greyscale image (`input`). A closing is a mathematical morphology operation involving an erosion (minimum filter) of a dilation (maximum filter) set. closing operations, together with the opening operation, is frequently used in the fields of computer vision and digital image processing for image noise removal. The user must specify the size of the moving window in both the x and y directions (`filterx` and `filtery`).

## See Also

opening, tophat_transform

## Function Signature

`def closing(self, raster: Raster, filter_size_x: int = 11, filter_size_y: int = 11) -> Raster: ...`

## Project Links

WbW Homepage User Manual Support WbW