SubtractBackground example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->SubtractBackground(m_LeadRasterView.GetRaster(),
50,
SBK_1_1,
100,
SBK_BG_DARK |
SBK_RES_SHOW);
m_pRasterProc->Release();