public abstract class AbstractSpecifiedBandsOperation extends AbstractOperation implements SpecifiedBandsOperation
COPY_UNPROCESSED_BANDS_PARAM
BANDS_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, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getFactory
public AbstractSpecifiedBandsOperation(OperationFactory factory)
factory
- public java.util.List<java.lang.Integer> getBandsToProcess()
public void preProcess() throws BufferOperationException
OperationServices
preProcess
in interface OperationServices
preProcess
in class AbstractOperation
BufferOperationException
protected boolean isProcessableBand(int band)
band
- public void process() throws ProcessingOperationException
OperationServices
process
in interface OperationServices
process
in class AbstractOperation
ProcessingOperationException
public void postProcess() throws BufferOperationException
OperationServices
postProcess
in interface OperationServices
postProcess
in class AbstractOperation
BufferOperationException
protected 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)