Top-hat transform - Wikipedia
In mathematical morphology and digital image processing, top-hat transform is an operation that extracts small elements and details from given images.There exist two types of top-hat transform: the white top-hat transform is defined as the difference between the input image and its opening by some structuring element, while the black top-hat transform is defined dually as the difference ...