public class ImagePlusFromFile extends JIPipeSimpleIteratingAlgorithm
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
ImagePlusFromFile(ImagePlusFromFile other)
Copies the algorithm
|
ImagePlusFromFile(JIPipeNodeInfo info) |
Modifier and Type | Method and Description |
---|---|
JIPipeDataInfoRef |
getGeneratedImageType() |
OptionalAnnotationNameParameter |
getTitleAnnotation() |
boolean |
isDeferLoading() |
boolean |
isRemoveLut() |
boolean |
isRemoveOverlay() |
static ij.ImagePlus |
readImageFrom(Path fileName,
JIPipeProgressInfo progressInfo)
Loads an image from a file path
|
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setDeferLoading(boolean deferLoading) |
void |
setGeneratedImageType(JIPipeDataInfoRef generatedImageType) |
void |
setRemoveLut(boolean removeLut) |
void |
setRemoveOverlay(boolean removeOverlay) |
void |
setTitleAnnotation(OptionalAnnotationNameParameter titleAnnotation) |
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, 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 ImagePlusFromFile(JIPipeNodeInfo info)
info
- algorithm infopublic ImagePlusFromFile(ImagePlusFromFile other)
other
- the originalpublic static ij.ImagePlus readImageFrom(Path fileName, JIPipeProgressInfo progressInfo)
fileName
- the image file nameprogressInfo
- progresspublic boolean isRemoveOverlay()
public void setRemoveOverlay(boolean removeOverlay)
public boolean isRemoveLut()
public void setRemoveLut(boolean removeLut)
public boolean isDeferLoading()
public void setDeferLoading(boolean deferLoading)
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeSimpleIteratingAlgorithm
runIteration
in class JIPipeSimpleIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic OptionalAnnotationNameParameter getTitleAnnotation()
public void setTitleAnnotation(OptionalAnnotationNameParameter titleAnnotation)
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in class JIPipeSimpleIteratingAlgorithm
report
- the report to be added topublic JIPipeDataInfoRef getGeneratedImageType()
public void setGeneratedImageType(JIPipeDataInfoRef generatedImageType)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.