public abstract class RootImageSegmentationOperator
extends de.unihalle.informatik.Alida.operator.ALDOperatorCollectionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
RootImageSegmentationOperator.LayerSubset |
static class |
RootImageSegmentationOperator.OpWorkingMode |
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<Integer,ij.ImagePlus> |
inputImages
Input images.
|
protected HashMap<Integer,Vector<MTBRootTree>> |
inputTreelines
Input treelines to be improved and updated.
|
protected HashMap<Integer,Vector<MTBRootTree>> |
resultTreelines
Resulting enhanced treeline annotations.
|
| Constructor and Description |
|---|
RootImageSegmentationOperator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<Integer,ij.ImagePlus> |
getAllInputImages()
Getter for all input images.
|
HashMap<Integer,Vector<MTBRootTree>> |
getAllInputTreelines()
Getter for the input treelines of the specified layer.
|
HashMap<Integer,Vector<MTBRootTree>> |
getAllResultTreelines()
Getter for all result treelines.
|
ij.ImagePlus |
getInputImage(int layer)
Getter for the input image of specified layer.
|
Vector<MTBRootTree> |
getInputTreelines(int layer)
Getter for the input treelines of the specified layer.
|
abstract EnumSet<RootImageSegmentationOperator.LayerSubset> |
getLayerSubsetForInputImages()
Request the set of layers from which to provide images to the operator.
|
abstract EnumSet<RootImageSegmentationOperator.LayerSubset> |
getLayerSubsetForInputTreelines()
Request the set of layers from which to provide treelines to the operator.
|
abstract boolean |
getOnlySelectedTreelines()
Ask operator if only selected or all treelines should be provided.
|
abstract RootImageSegmentationOperator.OpWorkingMode |
getOperatorWorkingMode()
Request working mode of the operator, i.e., how the operator deals with treelines.
|
Vector<MTBRootTree> |
getResultTreelines(int layer)
Getter for the result treelines of a specific layer.
|
void |
setInputImages(HashMap<Integer,ij.ImagePlus> images)
Setter for the input image.
|
void |
setInputTreelines(HashMap<Integer,Vector<MTBRootTree>> tls)
Provide treelines to be enhanced.
|
getUniqueClassIdentifieraddOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, operate, print, print, print, printInterface, printInterface, readHistory, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistoryprotected HashMap<Integer,ij.ImagePlus> inputImages
The hashmap stores for layer indices the corresponding images.
protected HashMap<Integer,Vector<MTBRootTree>> inputTreelines
The hashmap stores for layer indices the corresponding treelines.
protected HashMap<Integer,Vector<MTBRootTree>> resultTreelines
public RootImageSegmentationOperator()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException - Thrown in case of failure.public abstract EnumSet<RootImageSegmentationOperator.LayerSubset> getLayerSubsetForInputImages()
public abstract EnumSet<RootImageSegmentationOperator.LayerSubset> getLayerSubsetForInputTreelines()
public abstract boolean getOnlySelectedTreelines()
public abstract RootImageSegmentationOperator.OpWorkingMode getOperatorWorkingMode()
public void setInputImages(HashMap<Integer,ij.ImagePlus> images)
imgs - - ImagePlus images per layer to be processed.public void setInputTreelines(HashMap<Integer,Vector<MTBRootTree>> tls)
tls - Set of treelines per layer.public HashMap<Integer,ij.ImagePlus> getAllInputImages()
public ij.ImagePlus getInputImage(int layer)
layer - Input layer for which image is requested.public HashMap<Integer,Vector<MTBRootTree>> getAllInputTreelines()
public Vector<MTBRootTree> getInputTreelines(int layer)
layer - Input layer for which treelines are requested.public HashMap<Integer,Vector<MTBRootTree>> getAllResultTreelines()
public Vector<MTBRootTree> getResultTreelines(int layer)
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.