Author: Michael Schmid (schmid at iap.tuwien.ac.at) History: 2009/05/19: First version
2009/05/22: Adds "Help" button to dialog
Requires: ImageJ 1.42n or later Source: Erode_Demo.java Installation: Copy Erode_Demo.class to the plugins folder and restart ImageJ. Description: This plugin demonstrates how to do binary erosion using the EDM, how to implement "Preview", how to process a stack using parallel threads, and how to add a "Help" button to a dialog box.
Note that the definition of 'radius' here is different from that in the RankFilters (Process>Filters>Show Circular Masks). E.g., radius=1 erodes only the 4-connected nearest pixels, not the (8-connected) 3x3 neighborhood of a background pixel.