Class OperateOnDataAbstractOperation<T extends InternalDataModel>

All Implemented Interfaces:
IOperation<T,OperationData>
Direct Known Subclasses:
AbstractExternalDataOperation, AbstractInternalDataOperation

public abstract class OperateOnDataAbstractOperation<T extends InternalDataModel> extends AbstractOperation<T,OperationData>
  • Constructor Details

    • OperateOnDataAbstractOperation

      public OperateOnDataAbstractOperation()
  • Method Details

    • getInputRank

      public final OperationRank getInputRank()
      Description copied from interface: IOperation
      Gets the rank of input data for the operations algorithm. You might be iterating 4D data but when this operation is run on a slice of it, it must be done with a fixed input rank.
      Returns:
      rank of slice data which we accept. For instance for integration we input 2(image) and output 1(integration)
    • getOutputRank

      public final OperationRank getOutputRank()
      Description copied from interface: IOperation
      Gets the rank of output data for the operations algorithm. You might be iterating 4D data but when this operation is run on a slice of it, it must be done with a fixed input rank and this input will result in a fixed output rank.
      Returns:
      rank of output data which we return. For instance for integration we input 2(image) and output 1(integration)
    • process

      protected OperationData process(org.eclipse.january.dataset.IDataset input, org.eclipse.january.IMonitor monitor) throws OperationException
      Specified by:
      process in class AbstractOperation<T extends InternalDataModel,OperationData>
      Throws:
      OperationException
    • doMathematics

      protected abstract org.eclipse.january.dataset.Dataset doMathematics(org.eclipse.january.dataset.Dataset a, org.eclipse.january.dataset.Dataset b)
    • getFilePath

      protected abstract String getFilePath(org.eclipse.january.dataset.IDataset input)