Package net.sourceforge.theba.core.math

Examples of net.sourceforge.theba.core.math.EDM


            if (waterShed[i] != 0) {
                waterShed[i] = (short) 0xff;
            }
        }
        // make distancemap
        EDM edm = new EDM();
        edm.run(waterShed, width, height);
        for (int i = 0; i < waterShed.length; i++) {
            waterShed[i] = (short) (waterShed[i] >> 2);
        }
        // invert map
        for (int i = 0; i < waterShed.length; i++) {
View Full Code Here


            if (waterShed[i] != 0) {
                waterShed[i] = (short) 0xff;
            }
        }
        // make distancemap
        EDM edm = new EDM();
        edm.run(waterShed, width, height);
        for (int i = 0; i < waterShed.length; i++) {
            waterShed[i] = (short) (waterShed[i] >> 2);
        }
        // invert map
        for (int i = 0; i < waterShed.length; i++) {
View Full Code Here

TOP

Related Classes of net.sourceforge.theba.core.math.EDM

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.