Available in LEADTOOLS Multimedia toolkits. |
ILMVHistogVw Interface
enum
{
RGB8 = 1035,
RGB24,
REDCHANNEL,
GREENCHANNEL,
BLUECHANNEL,
ALLCHANNELS
};
Constants |
Description |
RGB8 |
Sets the type to RGB8. |
RGB24 |
Sets the type to RGB24 |
REDCHANNEL |
Use only the Red channel. |
GREENCHANNEL |
Use only the Green channel. |
BLUECHANNEL |
Use only the Blue channel. |
ALLCHANNELS |
Use the Master channel. |
Type |
Name |
Description |
BOOL |
RGBMode |
TRUE to use RGB data, and FALSE for BGR. |
long |
HistogramType |
Describes the histogram type: which channel will have its histogram displayed. Possible values are: RGB8, REDCHANNEL, GREENCHANNEL, BLUECHANNEL, ALLCHANNELS. |
BOOL |
DefaultRGBMode |
Default RGB mode. |
Long |
DefaultHistogramType |
Default histogram type. |
void |
GetHistogramArray( long HistogramArray, long lFrameCount) |
Retrieves the histogram for a frame. The HistogramArray parameter should be a 255 element array of the type long. You will pass the address of the first element in the array to the function. The lFrameCount is filled with a value indicating the frame the histogram refers to. |