Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

GetImageHistogram

uEye ActiveX Manual Version 4.00

GetImageHistogram

Syntax

VARIANT GetImageHistogram (LONG ColorMode)

Description

GetImageHistogram() computes the histogram of the submitted image. The histogram always contains 256 values per channel. For color modes with a bit depth of more than 8 bits, the system evaluates the 8 most significant bits (MSBs).

Parameters

ColorMode

Color mode of the image with the nID memory ID

For a list of all available color formats and the associated input parameters, see SetColorMode()

Return values

<VARIANT array of DWORD variables>

Histogram values for the last image captured. The histogram contains 3*256 values for color formats and in raw Bayer mode. In monochrome mode, the array must contains 1*256 values.

<empty VARIANT array>

An error occurred.


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com