SpatialFilter example for C++ 5.0 and later

This example applies Laplacian line detection and redisplays the image.

ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
                 IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->SpatialFilter(m_LEADRasterView1.GetRaster(),
                           FLT_LAPLACE_1);
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();