public class AdvancedKalmanTracker extends Object implements SpotTracker, Benchmark, Cancelable
| Constructor and Description |
|---|
AdvancedKalmanTracker(SpotCollection spots,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String reason) |
boolean |
checkInput() |
protected boolean |
checkSettingsValidity(Map<String,Object> settings,
StringBuilder str) |
String |
getCancelReason() |
String |
getErrorMessage() |
int |
getNumThreads() |
long |
getProcessingTime() |
org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> |
getResult() |
boolean |
isCanceled() |
boolean |
process() |
void |
setLogger(Logger logger)
Sets the
Logger instance that will receive messages from this
SpotTracker. |
void |
setNumThreads() |
void |
setNumThreads(int numThreads) |
public AdvancedKalmanTracker(SpotCollection spots, Map<String,Object> settings)
spots - the spots to track.settings - tracker specific settings listpublic org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> getResult()
getResult in interface OutputAlgorithm<org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge>>public boolean checkInput()
checkInput in interface Algorithmpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic void setNumThreads()
setNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
setNumThreads in interface MultiThreadedpublic int getNumThreads()
getNumThreads in interface MultiThreadedpublic long getProcessingTime()
getProcessingTime in interface Benchmarkpublic void setLogger(Logger logger)
SpotTrackerLogger instance that will receive messages from this
SpotTracker.setLogger in interface SpotTrackerlogger - the logger to echo messages to.protected boolean checkSettingsValidity(Map<String,Object> settings, StringBuilder str)
public boolean isCanceled()
isCanceled in interface Cancelablepublic void cancel(String reason)
cancel in interface Cancelablepublic String getCancelReason()
getCancelReason in interface CancelableCopyright © 2010–2024 TrackMate. All rights reserved.