Package jjil.algorithm

Examples of jjil.algorithm.LinefitHough


        int[][] wZeroes = zeroesFind.push(this.imageEdge);
        Vector v = getPointsFromZeroes(wZeroes, true);
        if (v.size() < 5) {
            return false;
        }
        LinefitHough fit =
                new LinefitHough(0, this.imageEdge.getWidth(), -76, 76, 100);
        fit.push(v);
        if (fit.getCount() < 5) {
            return false;
        }
        this.cYLeft = fit.getY();
        this.wSlopeLeft = fit.getSlope();
        v = getPointsFromZeroes(wZeroes, false);
        if (v.size() < 5) {
            return false;
        }
        fit.push(v);
        if (fit.getCount() < 5) {
            return false;
        }
        this.cYRight = fit.getY();
        this.wSlopeRight = fit.getSlope();
        {
          Debug debug = new Debug();
          Gray8Rgb g2r = new Gray8Rgb();
          g2r.push(this.imageEdge);
          debug.toFile((RgbImage) g2r.getFront(), "edges.png"); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of jjil.algorithm.LinefitHough

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.