A class that facilitates the conversion of 24 bit RGB pixel values to monochrome.
Inheritance Hierarchy
LaurelBridge.DCFExamples.BitmapToNdeRgbToMono
Namespace: LaurelBridge.DCFExamples.BitmapToNde
Assembly: BitmapToNde (in BitmapToNde.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
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