Some Mathematical Morphology plugins are available on the main ImageJ web-site:
Morphology operators for:
Granulometry: http://rsb.info.nih.gov/ij/plugins/granulometry.html
Summary and API documentation of the plugins can be found here: http://www.diagnosticarea.com/plugins.html