EdgeDetector example for Visual C++
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->EdgeDetector (m_RasterView1.GetRaster (), 60, EDG_SOBEL_ALL);
pRasterProc->Release();