Description Compute the histogram on a 256x256 window (further on: AOI, area of interest) of the (8 bits/pixel) input grayscale device independent bitmap due to the special way of computing, it is very fast to actualize the histogram after changing a little bit the position of area of interest (AOI).
Syntax lRet = [BIFilter.]ComputeHistogram hDib Mode hHist LeftTopCornerX LeftTopCornerY Error
Remarks lRet LONGLONG Handle of the newly created DIB on success or 0 on failure.
hDib LONGLONG Handle to a device independent bitmap.
Mode Long Create, destroy or compute histogram.
OPEN - Create the LUT (30).
COMPUTE - Compute the actual LUT (31)
CLOSE - Destroy the LUT
hHist LONGLONG Handle to a histogram.(256 unsigned byte).
LeftTopCornerX Long X Coordinate of the left-top corner of 256x256 area of interest.
LeftTopCornerY Long Y Coordinate of the left-top corner of 256x256 area of interest.
Error short* Error code.
See Also