Lines Matching refs:bands

44  *  Different bands may be in different banks of the DataBuffer.
54 * The bands are numbered from 0 to N-1. This class can represent image
78 /** Offsets for all bands in data array elements. */
85 * The number of bands in this
109 * The number of bands will be given by the length of the bandOffsets array.
110 * All bands will be stored in the first bank of the DataBuffer.
120 * @param bandOffsets the offsets of all bands
170 * The number of bands will be given by the length of the bandOffsets array.
171 * Different bands may be stored in different banks of the DataBuffer.
182 * @param bankIndices the bank indices of all bands
183 * @param bandOffsets the band offsets of all bands
317 * number of bands, storage data type, interleaving scheme, and
336 int bands = bandOffsets.length;
346 for (int i=0; i<bands; i++)
352 pStride = bands*lStride*h;
361 for (int i=0; i<bands; i++)
368 lStride = bands*pStride*w;
387 for (int i=0; i<bands; i++)
394 * Creates a new ComponentSampleModel with a subset of the bands
398 * combination will represent an image with a subset of the bands
400 * @param bands a subset of bands from this
403 * of bands from this {@code ComponentSampleModel}.
405 public SampleModel createSubsetSampleModel(int bands[]) {
406 if (bands.length > bankIndices.length)
409 " bands");
410 int newBankIndices[] = new int[bands.length];
411 int newBandOffsets[] = new int[bands.length];
413 for (int i=0; i<bands.length; i++) {
414 newBankIndices[i] = bankIndices[bands[i]];
415 newBandOffsets[i] = bandOffsets[bands[i]];
496 /** Returns the number of bits per sample for all bands.
498 * for all bands, where each element in the array
519 /** Returns the bank indices for all bands.
520 * @return the bank indices for all bands.
526 /** Returns the band offset for all bands.
527 * @return the band offsets for all bands.
554 * number of bands.
590 * the same number of bands, corresponding bands have the same number of
939 * the same number of bands, corresponding bands have the same number of