TopHatTransform
TopHatTransform[image,ker] gives the morphological top-hat transform of image with respect to structuring element ker.
TopHatTransform[image,r] gives the top-hat transform with respect to a range-r square.
TopHatTransform[data,…] applies top-hat transform to an array of data.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.