Package javax.media.jai

Examples of javax.media.jai.IHSColorSpace


    public final ImageWorker forceColorSpaceIHS() {
        if (!isColorSpaceIHS()) {
            forceComponentColorModel();

            // Create a ColorModel to convert the image to IHS.
            final IHSColorSpace ihs = IHSColorSpace.getInstance();
            final int numBits = image.getColorModel().getComponentSize(0);
            final ColorModel ihsColorModel = new ComponentColorModel(ihs, new int[] { numBits,
                    numBits, numBits }, false, false, Transparency.OPAQUE, image.getSampleModel()
                    .getDataType());
View Full Code Here

TOP

Related Classes of javax.media.jai.IHSColorSpace

Copyright © 2018 www.massapicom. 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.