Available in LEADTOOLS Document and Medical Imaging toolkits.
MinFilter example for C++ 4.0 and later
Note: This topic is for Document/Medical only.
This example dilates dark objects and repaints the image.
m_Lead1.MinFilter(3); m_Lead1.ForceRePaint();