Lines Matching refs:band

39  * 8-bit samples stored in possibly separate arrays for each band.
40 * Operations on sets of pixels are performed on a given band in the
41 * Raster before moving on to the next band. The arrays used for
43 * Each band additionally has an offset that is added to determine the
53 /** Data offsets for each band of image data. */
167 * Returns a copy of the data offsets array. For each band the data
168 * offset is the index into the band's data array, of the first sample
169 * of the band.
176 * Returns data offset for the specified band. The data offset
177 * is the index into the band's data array
179 * @param The band whose offset is returned.
181 public int getDataOffset(int band) {
182 return dataOffsets[band];
188 * of the next row in the same band.
210 * Returns a reference to the specific band data array.
212 public byte[] getDataStorage(int band) {
213 return data[band];
246 for (int band = 0; band < numDataElements; band++) {
247 outData[band] = data[band][dataOffsets[band] + off];
313 * region for the specified band.
325 * @param band The band to return.
331 int band, byte[] outData) {
332 // Bounds check for 'band' will be performed automatically
341 int yoff = (y-minY)*scanlineStride + (x-minX) + dataOffsets[band];
344 System.arraycopy(data[band], yoff, outData, 0, w*h);
348 System.arraycopy(data[band], yoff, outData, off, w);
500 * for the nth band at location (x2, y2) would be found at:
547 * for the nth band at location (x2, y2) would be found at:
555 * @param band The band to set.
559 int band, byte[] inData) {
560 // Bounds check for 'band' will be performed automatically
566 int yoff = (y-minY)*scanlineStride + (x-minX) + dataOffsets[band];
573 System.arraycopy(inData, 0, data[band], yoff, w*h);
576 System.arraycopy(inData, off, data[band], yoff, w);
591 * for the nth band at location (x2, y2) would be found at:
642 * @param bandList Array of band indices.
697 * @param bandList Array of band indices.
768 throw new RasterFormatException("Data offsets for band "+i+