Package net.sourceforge.theba.core.math

Examples of net.sourceforge.theba.core.math.EDM.run()


                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


                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
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.