S
- input data typeT
- output data typepublic abstract class DataConverter<S,T> extends MTBOperator
Modifier and Type | Field and Description |
---|---|
S |
inputData |
T |
outputData |
Modifier | Constructor and Description |
---|---|
protected |
DataConverter() |
Modifier and Type | Method and Description |
---|---|
static MTBRegion2DSetBag |
observationsToRegions(boolean hidden,
Vector<MultiState<MotionModelID>> observations,
double xmin,
double xmax,
double ymin,
double ymax)
Convert observations to regions.
|
static HashMap<Short,int[]> |
observationsToTracks(Vector<MultiState<MotionModelID>> observations,
HashMap<Integer,Vector<Integer>> clutterObs)
Obtain observations assigned to each target from observations with assigned target IDs
|
static Vector<MultiState<MotionModelID>> |
regionsToObservations(boolean hidden,
MTBRegion2DSetBag regionsets)
Convert regions to observations
|
readResolve
addOperatorExecutionProgressEventListener, 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, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="inputData", required=true, direction=IN, description="Data that has to be converted") public S inputData
@Parameter(label="outputData", required=false, direction=OUT, description="Converted data") public T outputData
protected DataConverter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public static Vector<MultiState<MotionModelID>> regionsToObservations(boolean hidden, MTBRegion2DSetBag regionsets) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
public static MTBRegion2DSetBag observationsToRegions(boolean hidden, Vector<MultiState<MotionModelID>> observations, double xmin, double xmax, double ymin, double ymax) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
public static HashMap<Short,int[]> observationsToTracks(Vector<MultiState<MotionModelID>> observations, HashMap<Integer,Vector<Integer>> clutterObs)
observations
- observations with target IDs assigned (ID=0 means clutter)clutterObs
- if this map is not null, all clutter observations per time step are stored here (the map is cleared before)Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.