Erode Demo

Author: Michael Schmid (schmid at
History: 2009/05/19: First version
2009/05/22: Adds "Help" button to dialog
Requires: ImageJ 1.42n or later
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.

|Plugins | Home |