456 |
|
|
457 |
public abstract SampleModel createCompatibleSampleModel(int w, int h); |
public abstract SampleModel createCompatibleSampleModel(int w, int h); |
458 |
|
|
459 |
|
/** |
460 |
|
* Return a SampleModel with a subset of the bands in this model. |
461 |
|
* |
462 |
|
* Selects bands.length bands from this sample model. The bands chosen |
463 |
|
* are specified in the indices of bands[]. This also permits permuting |
464 |
|
* the bands as well as taking a subset. Thus, giving an array with |
465 |
|
* 1, 2, 3, ..., numbands, will give an identical sample model. |
466 |
|
* |
467 |
|
* @param bands Array with band indices to include. |
468 |
|
* @return A new sample model |
469 |
|
*/ |
470 |
public abstract SampleModel createSubsetSampleModel(int[] bands); |
public abstract SampleModel createSubsetSampleModel(int[] bands); |
471 |
|
|
472 |
public abstract DataBuffer createDataBuffer(); |
public abstract DataBuffer createDataBuffer(); |