public class MaskToRoiAlgorithm extends JIPipeSimpleIteratingAlgorithm
JIPipeAlgorithm.StateSerializer
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
MaskToRoiAlgorithm(JIPipeNodeInfo info) |
MaskToRoiAlgorithm(MaskToRoiAlgorithm other) |
Modifier and Type | Method and Description |
---|---|
int |
getThreshold() |
boolean |
isInvertThreshold() |
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setInvertThreshold(boolean invertThreshold) |
void |
setThreshold(int threshold) |
generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, reportValidity, runParameterSet, runPassThrough, setParallelizationEnabled, supportsParallelization
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 MaskToRoiAlgorithm(JIPipeNodeInfo info)
public MaskToRoiAlgorithm(MaskToRoiAlgorithm other)
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithm
runIteration
in class JIPipeSimpleIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic int getThreshold()
public void setThreshold(int threshold)
public boolean isInvertThreshold()
public void setInvertThreshold(boolean invertThreshold)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.