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

ReplaceChannel() private method

private ReplaceChannel ( ) : System
return System
        private ReplaceChannel( )
        {
            // initialize format translation dictionary
            formatTranslations[PixelFormat.Format24bppRgb]  = PixelFormat.Format24bppRgb;
            formatTranslations[PixelFormat.Format32bppRgb]  = PixelFormat.Format32bppRgb;
            formatTranslations[PixelFormat.Format32bppArgb] = PixelFormat.Format32bppArgb;
            formatTranslations[PixelFormat.Format48bppRgb]  = PixelFormat.Format16bppGrayScale;
            formatTranslations[PixelFormat.Format64bppArgb] = PixelFormat.Format16bppGrayScale;
        }

Same methods

ReplaceChannel::ReplaceChannel ( short channel, Bitmap channelImage ) : System
ReplaceChannel::ReplaceChannel ( short channel, UnmanagedImage channelImage ) : System