public Copy ( |
||
destImage | Destination image to copy this image to. | |
리턴 | void |
// Get grayscale image out of the specified one public static void ConvertToGrayscale( UnmanagedImage source, UnmanagedImage destination ) { if ( source.PixelFormat != PixelFormat.Format8bppIndexed ) { Grayscale.CommonAlgorithms.BT709.Apply( source, destination ); } else { source.Copy( destination ); } }