Correlation example for C++ Builder
void __fastcall TForm1::Correlation1Click(TObject *Sender)
{
L_UINT uNumOfPoints;
TPoint Points[10];
/* Load the bitmap, keeping the bits per pixel of the file */
LEADImage1->Load( "REDISTRIBUTABLE->CMP", 0, 1, 1 );
LEADImage2->Load ( "T->CMP", 0, 1, 1 );
/* Apply the correlation filter */
LEADImage1->Correlation( LEADImage2->Bitmap, Points, 10, uNumOfPoints, 1, 2, 90 );
}