AForge.Imaging.Filters.LevelsLinear16bpp.LevelsLinear16bpp C# (CSharp) Method

LevelsLinear16bpp() public method

Initializes a new instance of the LevelsLinear class.
public LevelsLinear16bpp ( ) : System
return System
        public LevelsLinear16bpp( )
        {
            CalculateMap( inRed, outRed, mapRed );
            CalculateMap( inGreen, outGreen, mapGreen );
            CalculateMap( inBlue, outBlue, mapBlue );

            formatTranslations[PixelFormat.Format16bppGrayScale] = PixelFormat.Format16bppGrayScale;
            formatTranslations[PixelFormat.Format48bppRgb]       = PixelFormat.Format48bppRgb;
            formatTranslations[PixelFormat.Format64bppArgb]      = PixelFormat.Format64bppArgb;
            formatTranslations[PixelFormat.Format64bppPArgb]     = PixelFormat.Format64bppPArgb;
        }