Lines Matching refs:numBands
646 int numBands = raster.getNumBands();
664 ((ComponentSampleModel)sm).getPixelStride() != numBands) {
684 (numBands == 3 || numBands == 4)) {
723 else if ((cm instanceof IndexColorModel) && (numBands == 1) &&
739 } // else if (cm instanceof IndexColorModel) && (numBands == 1))
743 && (numBands == 3)
759 } // else if ((cm instanceof IndexColorModel) && (numBands == 1))
764 && (numBands == 3 || numBands == 4))
771 if (ccm.getNumComponents() != numBands) {
776 " Raster ("+numBands+")");
780 for (int i=0; i < numBands; i++) {
787 braster.getPixelStride() == numBands &&
788 offs[0] == numBands-1 &&
789 offs[1] == numBands-2 &&
790 offs[2] == numBands-3)
792 if (numBands == 3 && !ccm.hasAlpha()) {