63 |
protected int[] bandOffsets; |
protected int[] bandOffsets; |
64 |
protected int[] bankIndices; |
protected int[] bankIndices; |
65 |
|
|
66 |
// FIXME: Should we really shadow the numBands in the superclass? |
/** |
67 |
//protected int numBands; |
* Number of bands in the image described. |
68 |
|
* @specnote This field shadows the protected numBands in SampleModel. |
69 |
|
*/ |
70 |
|
protected int numBands; |
71 |
|
|
72 |
/** Used when creating data buffers. */ |
/** Used when creating data buffers. */ |
73 |
protected int numBanks; |
protected int numBanks; |
103 |
|
|
104 |
this.bandOffsets = bandOffsets; |
this.bandOffsets = bandOffsets; |
105 |
this.bankIndices = bankIndices; |
this.bankIndices = bankIndices; |
106 |
|
this.numBands = bandOffsets.length; |
107 |
|
|
108 |
this.numBanks = 0; |
this.numBanks = 0; |
109 |
for (int b=0; b<bankIndices.length; b++) |
for (int b=0; b<bankIndices.length; b++) |