Main Content
imbothat
Bottom-hat filtering
Description
Examples
Input Arguments
Output Arguments
Tips
If the dimensionality of the image
I
is greater than the dimensionality of the structuring element, then theimbothat
function applies the same morphological closing to all planes along the higher dimensions.You can use this behavior to perform bottom-hat filtering on RGB images. Specify a 2-D structuring element for RGB images to operate on each color channel separately.
When you specify a structuring element neighborhood,
imbothat
determines the center element ofnhood
byfloor((size(nhood)+1)/2)
.