public class BernsenLocalAutoThreshold2DAlgorithm extends JIPipeSimpleIteratingAlgorithm
fiji.threshold.Auto_Local_ThresholdJIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.BaseDirectoryChangedEventEmitter, JIPipeGraphNode.BaseDirectoryChangedEventListener, JIPipeGraphNode.NodeSlotsChangedEvent, JIPipeGraphNode.NodeSlotsChangedEventEmitter, JIPipeGraphNode.NodeSlotsChangedEventListener, JIPipeGraphNode.SerializerJIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListenerSLOT_PARAMETERS| Constructor and Description |
|---|
BernsenLocalAutoThreshold2DAlgorithm(BernsenLocalAutoThreshold2DAlgorithm other)
Copies the algorithm
|
BernsenLocalAutoThreshold2DAlgorithm(JIPipeNodeInfo info) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Bernsen(ij.process.ImageProcessor ip,
int radius,
double contrast_threshold,
boolean doIwhite) |
static ij.ImagePlus |
duplicateImage(ij.process.ImageProcessor iProcessor) |
int |
getContrastThreshold() |
int |
getRadius() |
boolean |
isDarkBackground() |
protected void |
runIteration(JIPipeSingleIterationStep iterationStep,
JIPipeIterationContext iterationContext,
JIPipeGraphNodeRunContext runContext,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setContrastThreshold(int contrastThreshold) |
void |
setDarkBackground(boolean darkBackground) |
boolean |
setRadius(int radius) |
boolean |
supportsParallelization()
Indicates to the algorithm base implementation if parallelization is supported.
|
createUIInputSlotIconDescriptionMenuItems, generateDataBatchesGenerationResult, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isAllowEmptyIterationStep, isParameterUIVisible, isParameterUIVisible, reportValidity, runParameterSet, runPassThroughgetDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, getUIInputSlotIcon, getUIInputSlotIconBaseDimensions, onParameterChanged, runcanAutoPassThrough, canPassThrough, functionallyEquals, getDefaultCustomExpressionVariables, getRuntimePartition, isEnabled, isEnableDefaultCustomExpressionVariables, isPassThrough, isPostprocessor, isPreprocessor, isSkipped, loadExample, onDeserialized, runPassThrough, setEnabled, setPassThrough, setRuntimePartition, setSkippedarchiveTo, 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, updateGraphNodeSlotsgetParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateDataBatchesDryRuninstallUIOverrideParameterEditor, installUIParameterOptionsdeserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParametergenerateValidityReportonParameterUIChangedonParameterStructureChangedpublic BernsenLocalAutoThreshold2DAlgorithm(JIPipeNodeInfo info)
info - the infopublic BernsenLocalAutoThreshold2DAlgorithm(BernsenLocalAutoThreshold2DAlgorithm other)
other - the originalpublic static void Bernsen(ij.process.ImageProcessor ip,
int radius,
double contrast_threshold,
boolean doIwhite)
public static ij.ImagePlus duplicateImage(ij.process.ImageProcessor iProcessor)
public int getContrastThreshold()
public void setContrastThreshold(int contrastThreshold)
public int getRadius()
public boolean setRadius(int radius)
public boolean supportsParallelization()
JIPipeParallelizedAlgorithmsupportsParallelization in interface JIPipeParallelizedAlgorithmsupportsParallelization in class JIPipeSimpleIteratingAlgorithmprotected void runIteration(JIPipeSingleIterationStep iterationStep, JIPipeIterationContext iterationContext, JIPipeGraphNodeRunContext runContext, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithmrunIteration in class JIPipeSimpleIteratingAlgorithmiterationStep - The data interfaceiterationContext - the iteration contextrunContext - the run contextprogressInfo - the progress info from the runpublic boolean isDarkBackground()
public void setDarkBackground(boolean darkBackground)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.