public abstract class AbstractSpecifiedBandsOperation extends AbstractOperation implements SpecifiedBandsOperation
COPY_UNPROCESSED_BANDS_PARAMBANDS_TO_PROCESS_PARAM, LINEAR_STRETCH_ENHANCEMENT_NAME| Constructor and Description |
|---|
AbstractSpecifiedBandsOperation(OperationFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Integer> |
getBandsToProcess() |
protected java.util.List<NoData> |
getProcessableBandNoDatas()
This is a utility method that return a copy of the NoData of
the processable band of the input buffer.
|
protected NoData[] |
getProcessableBandNoDatasAsArray()
This is a utility method that return a copy of the NoData of
the processable band of the input buffer.
|
protected java.util.List<java.lang.Integer> |
getProcessableBandTypes()
This is a utility method that return a copy of the types of
the processable band of the input buffer.
|
protected int[] |
getProcessableBandTypesAsArray()
This is a utility method that return a copy of the types of
the processable band of the input buffer.
|
protected int[] |
getTypesAsArray(java.util.List<java.lang.Integer> theTypes) |
protected boolean |
isProcessableBand(int band) |
void |
postProcess()
Prepare the result
|
void |
preProcess()
Prepare the process
|
void |
process()
Process the operation
|
execute, getFactory, getInputBuffer, getOutputBuffer, getParameter, getParameters, getTaskStatus, mustCopyUnprocessedBands, setOutputBuffer, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getFactorypublic AbstractSpecifiedBandsOperation(OperationFactory factory)
factory - public java.util.List<java.lang.Integer> getBandsToProcess()
public void preProcess()
throws BufferOperationException
OperationServicespreProcess in interface OperationServicespreProcess in class AbstractOperationBufferOperationExceptionprotected boolean isProcessableBand(int band)
band - public void process()
throws ProcessingOperationException
OperationServicesprocess in interface OperationServicesprocess in class AbstractOperationProcessingOperationExceptionpublic void postProcess()
throws BufferOperationException
OperationServicespostProcess in interface OperationServicespostProcess in class AbstractOperationBufferOperationExceptionprotected java.util.List<NoData> getProcessableBandNoDatas()
protected NoData[] getProcessableBandNoDatasAsArray()
protected java.util.List<java.lang.Integer> getProcessableBandTypes()
protected int[] getProcessableBandTypesAsArray()
protected int[] getTypesAsArray(java.util.List<java.lang.Integer> theTypes)