ILMVHistogVw Interface

Data Types

enum 
{ 
   RGB8 = 1035, 
   RGB24, 
   REDCHANNEL, 
   GREENCHANNEL, 
   BLUECHANNEL, 
   ALLCHANNELS 
}; 
Enumeration 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.

Properties

Type Name Description
VARIANT_BOOL RGBMode TRUE to use RGB data, and FALSE for BGR.
long HistogramType Describes the histogram type: which channel will have its histogram displayed.
VARIANT_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.

Methods

HRESULT GetHistogramArray(long *HistogramArray, long *lFrameCount);

Description

Retrieves the histogram for a frame.

Parameters

HistogramArray

The address of the first element in a 255 elements array of type long.

lFrameCount

Pointer to a long variable that will be updated with a value indicating the frame the histogram refers to.

Returns

Return Description
S_OK Successful.
< 0 An error occurred.
E_POINTER HistogramArray or lFrameCount are NULL.
Help Version 22.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.