MaxFilter example for Visual Basic

Note: This topic is for Document/Medical only.

This example erodes dark objects and repaints the image.

Dim RasterProc As New LEADRasterProcess
RasterProc.MaxFilter LEADRasterView1.Raster, 3
LEADRasterView1.ForceRepaint