MathFunction example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
/* This example loads a bitmap and applies a Log method over the loaded image. */
/* Load the bitmap, keeping the bits per pixel of the file */
LEADImage1->Load("image1.cmp", 0, 1, 1 );
/* Apply Log method to this bitmap */
LEADImage1->MathFunction(MF_LOG, 100);
}