ContourFilter example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
int nRet;
nRet= LEADImage1->Load("e:\\image1.cmp", 0, 1, 1);
if(nRet == SUCCESS)
LEADImage1->ContourFilter(20, 35, 5, CONTOUR_APPROX_COLOR);
}