Extract Larger Objects from an Image

One application of TopHatTransform is to highlight objects of different sizes in an image.

    
The source image contains washers of various sizes:
Smaller values will extract the smaller washers:
Use Manipulate to interactively set the value. Larger values for TopHatTransform will select progressively larger washers in the image: