/* * Extract the first color plane for an image. * @param mode The color mode in which to operate * @returns a pointer to a MonoImage that is the extracted plane. */ MonoImage *ColorImage::ExtractFirstColorPlane(ColorMode mode) { return ExtractColorPlane(mode, 1); }
/* * Extract the second color plane for an image. * @param mode The color mode in which to operate * @returns a pointer to a MonoImage that is the extracted plane. */ MonoImage *ColorImage::ExtractSecondColorPlane(ColorMode mode) { return ExtractColorPlane(mode, 2); }
/** * Extract the third color plane for an image. * * @param mode The color mode in which to operate * @return a pointer to a MonoImage that is the extracted plane. */ MonoImage* ColorImage::ExtractThirdColorPlane(ColorMode mode) { return ExtractColorPlane(mode, 3); }