public class AddBorder2DAlgorithm extends JIPipeSimpleIteratingAlgorithm
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
AddBorder2DAlgorithm(AddBorder2DAlgorithm other) |
AddBorder2DAlgorithm(JIPipeNodeInfo info) |
Modifier and Type | Method and Description |
---|---|
static ij.ImagePlus |
addBorder(ij.ImagePlus img,
int left,
int top,
int right,
int bottom,
BorderMode borderMode,
double colorGreyscale,
Color colorRGB,
JIPipeProgressInfo progressInfo) |
DefaultExpressionParameter |
getBorderColor() |
BorderMode |
getBorderMode() |
DefaultExpressionParameter |
getMarginBottom() |
DefaultExpressionParameter |
getMarginLeft() |
DefaultExpressionParameter |
getMarginRight() |
DefaultExpressionParameter |
getMarginTop() |
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setBorderColor(DefaultExpressionParameter borderColor) |
void |
setBorderMode(BorderMode borderMode) |
void |
setMarginBottom(DefaultExpressionParameter marginBottom) |
void |
setMarginLeft(DefaultExpressionParameter marginLeft) |
void |
setMarginRight(DefaultExpressionParameter marginRight) |
void |
setMarginTop(DefaultExpressionParameter marginTop) |
generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, reportValidity, runParameterSet, runPassThrough, setParallelizationEnabled, supportsParallelization
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, run
canAutoPassThrough, canPassThrough, functionallyEquals, getThreadPool, isEnabled, isPassThrough, isPostprocessor, isPreprocessor, loadExample, runPassThrough, setEnabled, setPassThrough, setThreadPool
archiveTo, 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, registerSubParameter, renderInputSlots, renderOutputSlots, setBaseDirectory, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setLocations, setLocationWithin, setLocationWithin, setParentGraph, setProjectDirectory, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, toggleSlot, toJson, triggerSlotsChangedEvent, updateGraphNodeSlots
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
public AddBorder2DAlgorithm(JIPipeNodeInfo info)
public AddBorder2DAlgorithm(AddBorder2DAlgorithm other)
public static ij.ImagePlus addBorder(ij.ImagePlus img, int left, int top, int right, int bottom, BorderMode borderMode, double colorGreyscale, Color colorRGB, JIPipeProgressInfo progressInfo)
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithm
runIteration
in class JIPipeSimpleIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic BorderMode getBorderMode()
public void setBorderMode(BorderMode borderMode)
public DefaultExpressionParameter getBorderColor()
public void setBorderColor(DefaultExpressionParameter borderColor)
public DefaultExpressionParameter getMarginLeft()
public void setMarginLeft(DefaultExpressionParameter marginLeft)
public DefaultExpressionParameter getMarginTop()
public void setMarginTop(DefaultExpressionParameter marginTop)
public DefaultExpressionParameter getMarginRight()
public void setMarginRight(DefaultExpressionParameter marginRight)
public DefaultExpressionParameter getMarginBottom()
public void setMarginBottom(DefaultExpressionParameter marginBottom)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.