Average example for C++ 5.0 and later
This example applies an average filter with a 3x3 neighborhood and redisplays the bitmap.
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Average(m_LEADRasterView1.GetRaster(), 3);
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();