Skip to main content

Bottom Hat

Enhances the fine details or small objects within an image by subtracting an opened version of the image from the original.

Check options and parameters of bottomHat method

Similarly to Top Hat, Bottom Hat operation computes the difference between two images. However, if top hat was using opening method, bottom hat is using closing method. The purpose of bottom hat(or, as it is also called, black-hat) is to enhance and extract darker regions of the image.

placeholderplaceholder
Ran in 0.00μs (Infinity ops/s)

Parameters and default values

  • options

Options

PropertyRequiredDefault value
iterationsno1
kernelno[[1, 1, 1],[1, 1, 1],[1, 1, 1]]