MinFilter example for C++ Builder

Note:

This topic is for Document/Medical only.

This example dilates dark objects and repaints the image.

   LEADRasterProcess* pRasterProc= NULL;
     CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
   pRasterProc->MinFilter (LEADRasterView1->Raster, 3);
   LEADRasterView1->ForceRepaint ();
   pRasterProc-> Release( );