Available in LEADTOOLS Document and Medical Imaging toolkits.
MinFilter example for Visual J++
Note: This topic is for Document/Medical only.
This example dilates dark objects and repaints the image.
LEAD1.setEnableProgressEvent( true ); LEAD1.MinFilter( (short) 3 ); LEAD1.ForceRepaint();