Examples of fromCIEXYZ()


Examples of java.awt.color.ColorSpace.fromCIEXYZ()

/*     */             }
/*     */
/*     */           }
/*     */
/* 400 */           float[] xyzPixel = srcColorSpace.toCIEXYZ(srcPixel);
/* 401 */           float[] dstPixel = dstColorSpace.fromCIEXYZ(xyzPixel);
/*     */
/* 403 */           if (!dstFloat)
/*     */           {
/* 405 */             for (int i = 0; i < numComponents; i++) {
/* 406 */               dstPixel[i] = (dstPixel[i] * dstRange + dstMinValue);
View Full Code Here

Examples of java.awt.color.ColorSpace.fromCIEXYZ()

                ICC_Transform t = (ICC_Transform)element;
                cc.translateColor(t, tmpData, null, null, numPixels);
            } else {
                ColorSpace cs = (ColorSpace) element;
                for (int k=0; k<numPixels; k++) {
                    tmpData[k] = cs.fromCIEXYZ(tmpData[k]);
                    tmpData[k] = cs.toCIEXYZ(tmpData[k]);
                }
            }
        }
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.