MaxFilter example for Visual J++

Note: This topic is for Document/Medical only.

This example erodes dark objects and repaints the image.

LEAD1.setEnableProgressEvent( true );
LEAD1.MaxFilter( (short) 3 );
LEAD1.ForceRepaint();