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. |
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. |
Retrieves the histogram for a frame.
The address of the first element in a 255 elements array of type long.
Pointer to a long variable that will be updated with a value indicating the frame the histogram refers to.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_POINTER | HistogramArray or lFrameCount are NULL. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document