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:
Click for copyable input
Smaller values will extract the smaller washers:
Click for copyable input
Use Manipulate to interactively set the value. Larger values for TopHatTransform will select progressively larger washers in the image:
Translate this page: