ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class > convertColorSpace Method : convertColorSpace(ImGearRasterPage,ImGearColorSpace,double[,]) Method |
Converts an image to a new color space using a conversion matrix. Destination pixels are calculated as Dst = M * Src, where M is conversion matrix. Number of channels after conversion will be equal to first of the conversionMatrix. Second dimension of conversionMatrix should be equal to number of channels in the source page.
com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.processing.ImGearWhiteBalance
public static void convertColorSpace( ImGearRasterPage page, ImGearColorSpace newColorSpace, double[][] conversionMatrix ) |