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;
}
ReplaceChannel::ReplaceChannel ( short channel, |
|
ReplaceChannel::ReplaceChannel ( short channel, UnmanagedImage channelImage ) : System |