本文整理了Java中java.awt.image.Raster.getSampleModelTranslateX
方法的一些代码示例,展示了Raster.getSampleModelTranslateX
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Raster.getSampleModelTranslateX
方法的具体详情如下:
包路径:java.awt.image.Raster
类名称:Raster
方法名:getSampleModelTranslateX
暂无
代码示例来源:origin: haraldk/TwelveMonkeys
final int offsetX = tile.getMinX() - tile.getSampleModelTranslateX();
final int offsetY = tile.getMinY() - tile.getSampleModelTranslateY();
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double getSampleDouble(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleDouble(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public int getSample(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSample(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: geosolutions-it/jai-ext
public int[] getPixel(int x, int y, int[] iArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, iArray,
tile.getDataBuffer());
}
代码示例来源:origin: geosolutions-it/jai-ext
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: geosolutions-it/jai-ext
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float getSampleFloat(int x, int y, int b) {
// get tile
final Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double[] getPixel(int x, int y, double[] dArray) {
// get tile
final Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, dArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float getSampleFloat(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleFloat(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double[] getPixel(int x, int y, double[] dArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, dArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public int[] getPixel(int x, int y, int[] iArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, iArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float[] getPixel(int x, int y, float[] fArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, fArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double getSampleDouble(int x, int y, int b) {
// get tile
final Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleDouble(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public float[] getPixel(int x, int y, float[] fArray) {
// get tile
final Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, fArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double getSampleDouble(int x, int y, int b) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getSampleDouble(x - sampleModelTranslateX, y - sampleModelTranslateY, b,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public int[] getPixel(int x, int y, int[] iArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, iArray,
tile.getDataBuffer());
}
代码示例来源:origin: it.geosolutions.jaiext.iterators/jt-iterators
public double[] getPixel(int x, int y, double[] dArray) {
// get tile
Raster tile = makeCurrent(x - boundsX, y - boundsY);
// get value
final int sampleModelTranslateX = tile.getSampleModelTranslateX();
final int sampleModelTranslateY = tile.getSampleModelTranslateY();
return sampleModel.getPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, dArray,
tile.getDataBuffer());
}
内容来源于网络,如有侵权,请联系作者删除!