public class StackToMontageAlgorithm extends JIPipeIteratingAlgorithm
MontageMaker
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
StackToMontageAlgorithm(JIPipeNodeInfo info) |
StackToMontageAlgorithm(StackToMontageAlgorithm other) |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
int |
getBorderWidth() |
OptionalIntegerParameter |
getColumns() |
OptionalIntegerParameter |
getFirstIndex() |
int |
getFontSize() |
Color |
getForegroundColor() |
int |
getIndexIncrement() |
OptionalIntegerParameter |
getLastIndex() |
OptionalIntegerParameter |
getRows() |
double |
getScale() |
boolean |
isLabels() |
ij.ImagePlus |
makeMontage2(ij.ImagePlus imp,
int columns,
int rows,
double scale,
int first,
int last,
int inc,
int borderWidth,
boolean labels)
Creates a montage and returns it as an ImagePlus.
|
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setBackgroundColor(Color backgroundColor) |
void |
setBorderWidth(int borderWidth) |
void |
setColumns(OptionalIntegerParameter columns) |
void |
setFirstIndex(OptionalIntegerParameter firstIndex) |
void |
setFontSize(int fontSize) |
void |
setForegroundColor(Color foregroundColor) |
void |
setIndexIncrement(int indexIncrement) |
void |
setLabels(boolean labels) |
void |
setLastIndex(OptionalIntegerParameter lastIndex) |
void |
setRows(OptionalIntegerParameter rows) |
void |
setScale(double scale) |
generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, runParameterSet, runPassThrough, setParallelizationEnabled, supportsParallelization
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, run
canAutoPassThrough, canPassThrough, functionallyEquals, getThreadPool, isEnabled, isPassThrough, isPostprocessor, isPreprocessor, loadExample, reportValidity, 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 StackToMontageAlgorithm(JIPipeNodeInfo info)
public StackToMontageAlgorithm(StackToMontageAlgorithm other)
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeIteratingAlgorithm
runIteration
in class JIPipeIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic ij.ImagePlus makeMontage2(ij.ImagePlus imp, int columns, int rows, double scale, int first, int last, int inc, int borderWidth, boolean labels)
public OptionalIntegerParameter getRows()
public void setRows(OptionalIntegerParameter rows)
public OptionalIntegerParameter getColumns()
public void setColumns(OptionalIntegerParameter columns)
public boolean isLabels()
public void setLabels(boolean labels)
public double getScale()
public void setScale(double scale)
public int getBorderWidth()
public void setBorderWidth(int borderWidth)
public int getFontSize()
public void setFontSize(int fontSize)
public OptionalIntegerParameter getFirstIndex()
public void setFirstIndex(OptionalIntegerParameter firstIndex)
public OptionalIntegerParameter getLastIndex()
public void setLastIndex(OptionalIntegerParameter lastIndex)
public int getIndexIncrement()
public void setIndexIncrement(int indexIncrement)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.