Initializes a new ColorizeGrayCommandData class object with explicit parameters.
public ColorizeGrayCommandData(
Leadtools.RasterColor color,
int threshold
)
Public Function New( _
ByVal color As Leadtools.RasterColor, _
ByVal threshold As Integer _
)
public ColorizeGrayCommandData(
Leadtools.RasterColor color,
int threshold
)
function ColorizeGrayCommandData(
color ,
threshold
)
public:
ColorizeGrayCommandData(
Leadtools.RasterColor color,
int threshold
)
color
Contains the color used for coloring the range of intensities set in Threshold.
threshold
The maximum value of the pixels to be colored using the color parameter. Pixels with a value less than or equal to the value in this parameter will be colored using the Color parameter. If the ColorizeGrayCommandData class object is the last in the GrayColors array, then this value is ignored and the maximum possible value will be used instead.
The maximum value depends on the image bits per pixel. For 8, 12 and 16-bit images the maximum value is 255, 4095 and 65535 respectively. However if you enter a value higher than the maximum, the value will be clipped at the maximum value.
Products |
Support |
Feedback: ColorizeGrayCommandData Constructor(RasterColor,Int32) - Leadtools.ImageProcessing.Core |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.