javax.media.jai.iterator.RectIter.getSampleFloat()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(93)

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

RectIter.getSampleFloat介绍

暂无

代码示例

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

/** Returns the current sample as a float. */
public float getSampleFloat() {
  return src.getSampleFloat();
}

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

/** Returns the specified sample of the current pixel as a float. */
public float getSampleFloat(int b) {
  return src.getSampleFloat(b);
}

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

/**
 * Returns the specified sample of the current pixel as a float.
 */
public float getSampleFloat(int b) {
  return src.getSampleFloat(b);
}

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

int i = 0;
do {
  float sampleFloat = iter.getSampleFloat(band);

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

/**
 * Returns the current sample as a float.
 */
public float getSampleFloat() {
  return src.getSampleFloat();
}

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

/**
 * Returns the current sample as a float.
 */
public float getSampleFloat() {
  return src.getSampleFloat();
}

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

/**
 * Returns the specified sample of the current pixel as a float.
 */
public float getSampleFloat(int b) {
  return src.getSampleFloat(b);
}

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

/**
 * Returns the specified sample of the current pixel as a float.
 *
 * @param b The band for which to get the sample value.
 * @return The sample value at the given band.
 */
@Override
public float getSampleFloat(int b) {
  return src.getSampleFloat(b);
}

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

/**
 * Returns the current sample as a float.
 *
 * @return The current sample value.
 */
@Override
public float getSampleFloat() {
  return src.getSampleFloat();
}

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

public float    getSampleFloat ()      {return iterator.getSampleFloat ();}
public float    getSampleFloat (int b) {return iterator.getSampleFloat (sourceBands[b]);}

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

public float    getSampleFloat (int b) {return iterator.getSampleFloat (sourceBands[b]);}
public double   getSampleDouble()      {return iterator.getSampleDouble();}

代码示例来源:origin: org.jaitools/jt-utils

value = new Float(delegateIter.getSampleFloat(band));
} else {
  value = outsideValue_Float;

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

final float[] row=samples[j++];
int i=0; do {
  row[i++] = iter.getSampleFloat(band);

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

final float[] row=samples[j++];
int i=0; do {
  row[i++] = iter.getSampleFloat(band);

代码示例来源:origin: geosolutions-it/jai-ext

val = srcIter.getSampleFloat();
break;

代码示例来源:origin: geosolutions-it/jai-ext

break;
case DataBuffer.TYPE_FLOAT:
  assertEquals(expectedVal.floatValue(), destIter.getSampleFloat(), TOLERANCE);
  break;
case DataBuffer.TYPE_DOUBLE:

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

if (!e.finishedBands()) do {
  assertFalse(a.finishedBands());
  final float pe = e.getSampleFloat();
  final float pa = a.getSampleFloat();
  assertEquals(pe, pa, SAMPLE_TOLERANCE);
  a.nextBand();

相关文章