Package jjil.algorithm

Examples of jjil.algorithm.RgbSelectGray$ColorClass


    private Gray8AffineWarp grayWarp;
    private RgbSelectGray selectRed, selectGreen, selectBlue;
   
    public RgbAffineWarp(double[][] warp) throws Error {
        this.grayWarp = new Gray8AffineWarp(warp);
        this.selectRed = new RgbSelectGray(RgbSelectGray.RED);
        this.selectGreen = new RgbSelectGray(RgbSelectGray.GREEN);
        this.selectBlue = new RgbSelectGray(RgbSelectGray.BLUE);
    }
View Full Code Here


        /* First convert the color image to black and white by selecting the
         * green channel. We use the green channel because it is the highest
         * resolution channel on the CCDs used in cellphones.
         */
        if (image instanceof RgbImage) {
            seq.add(new RgbSelectGray(RgbSelectGray.GREEN));
        }
        /* Now crop the gray image.
         */
        int dLeft = Math.max(0, dTopLeftX - cWidth / 12);
        int cWidthExp = Math.min(image.getWidth() - dLeft, cWidth * 7 / 6);
View Full Code Here

TOP

Related Classes of jjil.algorithm.RgbSelectGray$ColorClass

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.