Package javax.media.jai

Examples of javax.media.jai.Interpolation.interpolate()


                // Computes the expected value:
                double s00 = data.getSampleDouble(i+0, j+0, band);
                double s01 = data.getSampleDouble(i+0, j+1, band);
                double s10 = data.getSampleDouble(i+1, j+0, band);
                double s11 = data.getSampleDouble(i+1, j+1, band);
                double s = interpolation.interpolate(s00, s01, s10, s11, 0, 0);
                assertEquals(s, t, EPS);
            }
        }
    }
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.