A class that facilitates the conversion of 24 bit RGB pixel values to monochrome.
Inheritance Hierarchy
LaurelBridge.DCF.Examples.BitmapToDicomRgbToMono
Namespace: LaurelBridge.DCF.Examples.BitmapToDicom
Assembly: BitmapToDicom (in BitmapToDicom.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
Syntax
C#
public class RgbToMono
The RgbToMono type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RgbToMono |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ToGray |
Convert an RGB value into an integer grayscale value taking into account the pixel range, representation and photometric interpretation.
No gamma correction is performed to compensate for non-linearity of the input device.
|
See Also