Пример #1
0
/*
 * 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);
}
Пример #2
0
/*
 * 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);
}
Пример #3
0
/**
 * 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);
}