172 DCx camera
© 2010 Thorlabs
7.3.35
is_GetImageHistogram
Syntax
INT is_GetImageHistogram (HIDS hCam,
int nID, INT ColorMode, DWORD* pHistoMem)
Description
is_GetImageHistogram() computes the histogram of the submitted image. The histogram always
contains 256 values per channel. For colour modes with a bit depth of more than 8 bits, the system
evaluates the 8 most significant bits (MSBs).
Input Parameters
Colour mode of the image with the nID memory ID
For a list of all available colour formats and the associated
input parameters, see the Appendix: Colour and Memory
Formats section.
Pointer to a DWORD array
The array must be allocated in such a way that it can
accommodate 3*256 values for colour formats and in raw Bayer
mode. In monochrome mode, the array must be able to
accommodate 1*256 values.
Return Values
Function executed successfully
Unsupported colour format
Unknown ColorModeparameter
350