public class HessianSegmentation2DAlgorithm extends JIPipeSimpleIteratingAlgorithm
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.BaseDirectoryChangedEventEmitter, JIPipeGraphNode.BaseDirectoryChangedEventListener, JIPipeGraphNode.NodeSlotsChangedEvent, JIPipeGraphNode.NodeSlotsChangedEventEmitter, JIPipeGraphNode.NodeSlotsChangedEventListener, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
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() |
boolean |
isParameterUIVisible(JIPipeParameterTree tree,
JIPipeParameterAccess access)
Allows to override the visibility of parameters inside the UI
|
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
protected void |
runIteration(JIPipeSingleIterationStep iterationStep,
JIPipeIterationContext iterationContext,
JIPipeGraphNodeRunContext runContext,
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.
|
createUIInputSlotIconDescriptionMenuItems, generateDataBatchesGenerationResult, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getLocalParallelizationNumThreads, getParallelizationBatchSize, isAllowEmptyIterationStep, isParameterUIVisible, runParameterSet, runPassThrough, setLocalParallelizationNumThreads
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, getUIInputSlotIcon, getUIInputSlotIconBaseDimensions, onParameterChanged, run
canAutoPassThrough, canPassThrough, functionallyEquals, getDefaultCustomExpressionVariables, getRuntimePartition, isEnabled, isEnableDefaultCustomExpressionVariables, isPassThrough, isPostprocessor, isPreprocessor, isSkipped, loadExample, onDeserialized, runPassThrough, setEnabled, setPassThrough, setRuntimePartition, setSkipped
archiveTo, canUserDelete, clearLocations, clearSlotData, copySlotConfiguration, duplicate, emitNodeSlotsChangedEvent, fromJson, getAliasIdInParentGraph, getBaseDirectory, getBaseDirectoryChangedEventEmitter, getCategory, getCompartmentDisplayName, getCompartmentUUIDInGraphAsString, getCompartmentUUIDInParentGraph, getCustomDescription, getCustomName, getDependencies, getDisplayName, getEnvironmentDependencies, getFirstOutputSlot, getInfo, getInputSlot, getInputSlotMap, getInputSlotOrder, getInputSlots, getInputSlotsWithRole, getInternalStoragePath, getLastInputSlot, getLastOutputSlot, getName, getNewScratch, getNodeSlotsChangedEventEmitter, getNodeUILocationPerViewModePerCompartment, getNodeUILocationWithin, getOpenInputSlots, getOutputSlot, getOutputSlotMap, getOutputSlots, getOutputSlotsWithRole, getParentGraph, getProject, getProjectCompartment, getProjectDataDirs, getProjectDirectory, getRuntimeProject, getScratchBaseDirectory, getSlotConfiguration, getStoragePath, getTextDescription, getUUIDInParentGraph, hasInputSlot, hasOutputSlot, isBookmarked, isUiLocked, isVisibleIn, onSlotConfigurationChanged, renderInputSlots, renderOutputSlots, setBaseDirectory, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setNodeUILocationPerViewModePerCompartment, setNodeUILocationWithin, setNodeUILocationWithin, setParentGraph, setProjectDirectory, setRuntimeProject, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, setUiLocked, toggleSlot, toJson, updateGraphNodeSlots
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateDataBatchesDryRun
installUIOverrideParameterEditor, installUIParameterOptions
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
generateValidityReport
onParameterUIChanged
onParameterStructureChanged
public HessianSegmentation2DAlgorithm(JIPipeNodeInfo info)
info
- the algorithm infopublic HessianSegmentation2DAlgorithm(HessianSegmentation2DAlgorithm other)
other
- the originalpublic boolean isParameterUIVisible(JIPipeParameterTree tree, JIPipeParameterAccess access)
JIPipeParameterCollection
isParameterUIVisible
in interface JIPipeParameterCollection
isParameterUIVisible
in class JIPipeSimpleIteratingAlgorithm
tree
- the parameter tree that is used to access this parameteraccess
- the parameterpublic boolean supportsParallelization()
JIPipeParallelizedAlgorithm
supportsParallelization
in interface JIPipeParallelizedAlgorithm
supportsParallelization
in class JIPipeSimpleIteratingAlgorithm
protected void runIteration(JIPipeSingleIterationStep iterationStep, JIPipeIterationContext iterationContext, JIPipeGraphNodeRunContext runContext, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithm
runIteration
in class JIPipeSimpleIteratingAlgorithm
iterationStep
- The data interfaceiterationContext
- the iteration contextrunContext
- the run contextprogressInfo
- 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(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in class JIPipeSimpleIteratingAlgorithm
reportContext
- the report contextreport
- 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–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.