Top Hat
Check options and parameters of topHat method
In morphology and image processing, topHat is an operation used to enhance or extract small bright regions or details from an image while suppressing the larger surrounding structures. It is the result of subtraction between the result of input image opening and the input image itself. The purpose of bottom hat(or as it is also called black-hat) is to enhance and extract brighter regions of the image.


Parameters and default values
options
Options
Property | Required | Default value |
---|---|---|
iterations | no | 1 |
kernel | no | [[1, 1, 1],[1, 1, 1],[1, 1, 1]] |