public class ImageCalculator2DAlgorithm extends JIPipeIteratingAlgorithm
ImageProcessor
Modifier and Type | Class and Description |
---|---|
static class |
ImageCalculator2DAlgorithm.Operand
Determines the order of input images
|
static class |
ImageCalculator2DAlgorithm.Operation
Available math operations
|
JIPipeAlgorithm.StateSerializer
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
ImageCalculator2DAlgorithm(ImageCalculator2DAlgorithm other)
Instantiates a new node type.
|
ImageCalculator2DAlgorithm(JIPipeNodeInfo info)
Instantiates a new node type.
|
Modifier and Type | Method and Description |
---|---|
InputSlotMapParameterCollection |
getOperands() |
ImageCalculator2DAlgorithm.Operation |
getOperation() |
boolean |
isFloatingPointOutput() |
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setFloatingPointOutput(boolean floatingPointOutput) |
void |
setOperation(ImageCalculator2DAlgorithm.Operation operation) |
boolean |
supportsParallelization()
Indicates to the algorithm base implementation if parallelization is supported.
|
generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, runParameterSet, runPassThrough, setParallelizationEnabled
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, run
canAutoPassThrough, canPassThrough, getStateId, getThreadPool, isEnabled, isPassThrough, isPostprocessor, isPreprocessor, loadExample, runPassThrough, setEnabled, setPassThrough, setThreadPool
canUserDelete, clearLocations, clearSlotData, copySlotConfiguration, duplicate, fromJson, fromJsonNode, getAliasIdInParentGraph, getBaseDirectory, getCategory, getCompartmentDisplayName, getCompartmentUUIDInGraphAsString, getCompartmentUUIDInParentGraph, getCustomDescription, getDependencies, getDisplayName, getEventBus, getFirstOutputSlot, getInfo, getInputSlot, getInputSlotMap, getInputSlotOrder, getInputSlots, getInputSlotsWithRole, getInternalStoragePath, getLastInputSlot, getLastOutputSlot, getLocations, getLocationWithin, getName, getNewScratch, getOpenInputSlots, getOutputSlot, getOutputSlotMap, getOutputSlots, getOutputSlotsWithRole, getParentGraph, getProjectCompartment, getProjectDirectory, getScratchBaseDirectory, getSlotConfiguration, getStoragePath, getUUIDInParentGraph, hasInputSlot, hasOutputSlot, isBookmarked, isVisibleIn, onDeserialized, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, onSlotConfigurationChanged, onSlotConnected, onSlotDisconnected, registerSubParameter, renderInputSlots, renderOutputSlots, setAllSlotsVirtual, setBaseDirectory, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setLocations, setLocationWithin, setLocationWithin, setParentGraph, setProjectDirectory, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, toggleSlot, toJson, triggerSlotsChangedEvent, updateGraphNodeSlots, updateSlotInheritance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
public ImageCalculator2DAlgorithm(JIPipeNodeInfo info)
info
- the infopublic ImageCalculator2DAlgorithm(ImageCalculator2DAlgorithm other)
other
- the otherpublic boolean supportsParallelization()
JIPipeParallelizedAlgorithm
supportsParallelization
in interface JIPipeParallelizedAlgorithm
supportsParallelization
in class JIPipeIteratingAlgorithm
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeIteratingAlgorithm
runIteration
in class JIPipeIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in class JIPipeAlgorithm
report
- the report to be added topublic ImageCalculator2DAlgorithm.Operation getOperation()
public void setOperation(ImageCalculator2DAlgorithm.Operation operation)
public InputSlotMapParameterCollection getOperands()
public boolean isFloatingPointOutput()
public void setFloatingPointOutput(boolean floatingPointOutput)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.