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 |
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. Possible values are: RGB8, REDCHANNEL, GREENCHANNEL, BLUECHANNEL, ALLCHANNELS. |
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. |
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. |
Retrieves the histogram for a frame.
S_OK if successful, < 0 if an error occurred.
Value |
Meaning |
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