HistoEqualize example for C++ Builder

This example equalizes the bitmap's histogram and repaints the image.

   LEADRasterProcess* pRasterProc= NULL;

     CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
   pRasterProc->HistoEqualize (LEADRasterView1->Raster);
   LEADRasterView1->ForceRepaint ();
   pRasterProc-> Release( );