public class HessianSegmentation2DAlgorithm extends JIPipeSimpleIteratingAlgorithm
JIPipeAlgorithm.StateSerializer
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
HessianSegmentation2DAlgorithm(HessianSegmentation2DAlgorithm other)
Copies the algorithm
|
HessianSegmentation2DAlgorithm(JIPipeNodeInfo info) |
Modifier and Type | Method and Description |
---|---|
AutoThreshold2DAlgorithm |
getAutoThresholding() |
int |
getDespeckleIterations() |
EigenvalueSelection2D |
getEigenvalueSelection() |
double |
getGradientRadius() |
double |
getSmoothing() |
boolean |
isApplyDespeckle() |
boolean |
isApplyInternalGradient() |
boolean |
isCompareAbsolute() |
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setApplyDespeckle(boolean applyDespeckle) |
void |
setApplyInternalGradient(boolean applyInternalGradient) |
void |
setCompareAbsolute(boolean compareAbsolute) |
void |
setDespeckleIterations(int despeckleIterations) |
void |
setEigenvalueSelection(EigenvalueSelection2D eigenvalueSelection) |
void |
setGradientRadius(double gradientRadius) |
void |
setSmoothing(double smoothing) |
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 HessianSegmentation2DAlgorithm(JIPipeNodeInfo info)
info
- the algorithm infopublic HessianSegmentation2DAlgorithm(HessianSegmentation2DAlgorithm other)
other
- the originalpublic boolean supportsParallelization()
JIPipeParallelizedAlgorithm
supportsParallelization
in interface JIPipeParallelizedAlgorithm
supportsParallelization
in class JIPipeSimpleIteratingAlgorithm
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithm
runIteration
in class JIPipeSimpleIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic double getSmoothing()
public void setSmoothing(double smoothing)
public double getGradientRadius()
public void setGradientRadius(double gradientRadius)
public AutoThreshold2DAlgorithm getAutoThresholding()
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in class JIPipeSimpleIteratingAlgorithm
report
- the report to be added topublic boolean isCompareAbsolute()
public void setCompareAbsolute(boolean compareAbsolute)
public EigenvalueSelection2D getEigenvalueSelection()
public void setEigenvalueSelection(EigenvalueSelection2D eigenvalueSelection)
public boolean isApplyInternalGradient()
public void setApplyInternalGradient(boolean applyInternalGradient)
public boolean isApplyDespeckle()
public void setApplyDespeckle(boolean applyDespeckle)
public int getDespeckleIterations()
public void setDespeckleIterations(int despeckleIterations)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.