MaxFilter example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example erodes dark objects and repaints the image.

m_Lead1.MaxFilter(3);
m_Lead1.ForceRePaint();