Lines Matching refs:band

39  * samples stored in separate arrays for each band.  Operations on
40 * sets of pixels are performed on a given band of each pixel
41 * in the set before moving on to the next band. The arrays used
51 /** Data offsets for each band of image data. */
163 * Returns a copy of the data offsets array. For each band the data offset
164 * is the index into the band's data array, of the first sample of the
165 * band.
172 * Returns the data offset for the specified band. The data offset
173 * is the index into the band's data array
175 * @param The band whose offset is returned.
177 public int getDataOffset(int band) {
178 return dataOffsets[band];
184 * of the next row in the same band.
206 * Returns a reference to the specific band data array.
208 public short[] getDataStorage(int band) {
209 return data[band];
243 for (int band = 0; band < numDataElements; band++) {
244 outData[band] = data[band][dataOffsets[band] + off];
308 * region for the specified band.
320 * @param band The band to return.
326 int band, short[] outData) {
327 // Bounds check for 'band' will be performed automatically
336 int yoff = (y-minY)*scanlineStride + (x-minX) + dataOffsets[band];
339 System.arraycopy(data[band], yoff, outData, 0, w*h);
343 System.arraycopy(data[band], yoff, outData, off, w);
498 * for the nth band at location (x2, y2) would be found at:
540 * rectangular region for the specified band.
553 * @param band The band to set.
557 int band, short[] inData) {
558 // Bounds check for 'band' will be performed automatically
564 int yoff = (y-minY)*scanlineStride + (x-minX) + dataOffsets[band];
571 System.arraycopy(inData, 0, data[band], yoff, w*h);
574 System.arraycopy(inData, off, data[band], yoff, w);
589 * for the nth band at location (x2, y2) would be found at:
640 * @param bandList Array of band indices.
696 * @param bandList Array of band indices.
767 throw new RasterFormatException("Data offsets for band "+i+