Available in LEADTOOLS Document and Medical Imaging toolkits.
MaxFilter example for Visual Basic
Note: This topic is for Document/Medical only.
This example erodes dark objects and repaints the image.
Lead1.EnableProgressEvent = True Lead1.MaxFilter 3 Lead1.ForceRepaint