javax.media.jai.Interpolation.interpolate()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中javax.media.jai.Interpolation.interpolate()方法的一些代码示例,展示了Interpolation.interpolate()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Interpolation.interpolate()方法的具体详情如下:
包路径:javax.media.jai.Interpolation
类名称:Interpolation
方法名:interpolate

Interpolation.interpolate介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

float dy = (float) (y - y0);
if (dy == 1) dy = ONE_EPSILON;
final double value = interpolation.interpolate(samples, dx, dy);
if (Double.isNaN(value)) {
  if (fallback == this) continue; // 'dest' was set by 'super.evaluate(...)'.

代码示例来源:origin: geotools/geotools

float dy = (float) (y - y0);
if (dy == 1) dy = ONE_EPSILON;
final float value = interpolation.interpolate(samples, dx, dy);
if (Float.isNaN(value)) {
  if (fallback == this) continue; // 'dest' was set by 'super.evaluate(...)'.

代码示例来源:origin: geotools/geotools

dest[band] = interpolation.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: geotools/geotools

interp.interpolate(samples, xfrac, yfrac));
interp.interpolate(samples, xfrac, yfrac));

代码示例来源:origin: geotools/geotools

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: geotools/geotools

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: Geomatys/geotoolkit

jaiResult[b] = jaiInterpol.interpolate(interpolSample, (float) ix, (float) iy);

代码示例来源:origin: geotools/geotools

interp.interpolate(samples, xfrac, yfrac));

代码示例来源:origin: geotools/geotools

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: geotools/geotools

ImageUtil.clampShort(interp.interpolate(samples, xfrac, yfrac));

代码示例来源:origin: org.geotools/gt-coverage

float dx = (float)(x-x0); if (dx==1) dx=ONE_EPSILON;
float dy = (float)(y-y0); if (dy==1) dy=ONE_EPSILON;
final float value = interpolation.interpolate(samples, dx, dy);
if (Float.isNaN(value)) {
  if (fallback == this) continue; // 'dest' was set by 'super.evaluate(...)'.

代码示例来源:origin: org.geotools/gt2-coverage

float dx = (float)(x-x0); if (dx==1) dx=ONE_EPSILON;
float dy = (float)(y-y0); if (dy==1) dy=ONE_EPSILON;
final double value = interpolation.interpolate(samples, dx, dy);
if (Double.isNaN(value)) {
  if (fallback == this) continue; // 'dest' was set by 'super.evaluate(...)'.

代码示例来源:origin: org.geotools/gt-coverage

final int xfrac = (int) ((x-x0) * (1 << interpolation.getSubsampleBitsH()));
final int yfrac = (int) ((y-y0) * (1 << interpolation.getSubsampleBitsV()));
dest[band] = interpolation.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: org.geotools/gt2-coverage

final int xfrac = (int) ((x-x0) * (1 << interpolation.getSubsampleBitsH()));
final int yfrac = (int) ((y-y0) * (1 << interpolation.getSubsampleBitsV()));
dest[band] = interpolation.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: org.geoserver.extension/gs-wps-core

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: org.geoserver.extension/gs-wps-core

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: org.geoserver.extension/gs-wps-core

interp.interpolate(samples, xfrac, yfrac);

代码示例来源:origin: org.geoserver.extension/gs-wps-core

ImageUtil.clampShort(interp.interpolate(samples, xfrac, yfrac));

代码示例来源:origin: org.geoserver.extension/gs-wps-core

interp.interpolate(samples, xfrac, yfrac));

代码示例来源:origin: org.geoserver.extension/wps-core

data[b][pixelOffset + bandOffsets[b]] = interp.interpolate(samples, xfrac,
    yfrac);

相关文章