@ALDAOperator(genericExecutionMode=NONE,
level=STANDARD)
public class DrawTracks2D
extends MTBOperator
| Modifier and Type | Field and Description |
|---|---|
MTBRegion2DSetBag |
detectedRegions |
boolean |
drawSpots |
boolean |
drawTrajectories |
MTBImage |
inputImage |
Vector<MultiState<MotionModelID>> |
observations |
DynamicColorLUT |
trackcolors |
Vector<MTBGraph> |
trackgraphs |
protected MTBImage |
trackImage |
| Constructor and Description |
|---|
DrawTracks2D()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawSpot(MTBImage img,
MTBRegion2D reg,
int t,
int c,
int color)
Draw region to an image at time=t and channel=c with specified color.
|
protected void |
drawSqare(MTBImage img,
MTBRegion2D reg,
int t,
int c,
int color,
int radius)
Draw square to an image at time=t and channel=c with specified color and size=2*
radius+1. |
protected void |
drawTrajectories(Jama.Matrix oldP,
Jama.Matrix newP,
int t,
int t_last,
int c,
MTBImage img,
int color)
Draw trajectory between two points at the given and all later timepoints until t_last
|
MTBImage |
getTrackImage() |
protected void |
operate() |
void |
validateCustom() |
readResolveaddOperatorExecutionProgressEventListener, 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, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateGeneric, writeHistory, writeHistory, writeHistory@Parameter(label="Input image",
direction=IN,
required=true,
dataIOOrder=1,
mode=STANDARD,
description="Image used for drawing tracks")
public MTBImage inputImage
@Parameter(label="Detected regions",
direction=IN,
required=false,
dataIOOrder=2,
mode=STANDARD,
description="Detected regions whose IDs determine target association")
public MTBRegion2DSetBag detectedRegions
@Parameter(label="Observations",
direction=IN,
required=false,
dataIOOrder=3,
mode=STANDARD,
description="Observations whose IDs determine target association")
public Vector<MultiState<MotionModelID>> observations
@Parameter(label="Track graphs",
direction=IN,
required=false,
dataIOOrder=4,
mode=STANDARD,
description="Graphs that determine target association. If specified IDs in observations or detected regions are ignored.")
public Vector<MTBGraph> trackgraphs
@Parameter(label="Track colors",
direction=IN,
required=false,
dataIOOrder=7,
mode=STANDARD,
description="Color lookup table of track colors")
public DynamicColorLUT trackcolors
@Parameter(label="Track image",
direction=OUT,
required=false,
dataIOOrder=1,
mode=STANDARD,
description="Image with tracks drawn")
protected MTBImage trackImage
@Parameter(label="Draw trajectories",
direction=IN,
required=true,
dataIOOrder=5,
mode=STANDARD,
description="Flag to draw trajectories")
public boolean drawTrajectories
@Parameter(label="Draw spots",
direction=IN,
required=true,
dataIOOrder=6,
mode=STANDARD,
description="Flag to draw spots (otherwise squares indicate target location)")
public boolean drawSpots
public DrawTracks2D()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionpublic void validateCustom()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom in class de.unihalle.informatik.Alida.operator.ALDOperatorde.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionprotected void operate()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException,
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate in class de.unihalle.informatik.Alida.operator.ALDOperatorde.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionpublic MTBImage getTrackImage()
protected void drawSqare(MTBImage img, MTBRegion2D reg, int t, int c, int color, int radius)
radius+1.protected void drawSpot(MTBImage img, MTBRegion2D reg, int t, int c, int color)
protected void drawTrajectories(Jama.Matrix oldP,
Jama.Matrix newP,
int t,
int t_last,
int c,
MTBImage img,
int color)
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.