public class SparseLAPSegmentTracker extends Object implements SpotTracker, Benchmark
In this tracking framework, tracking is divided into two steps:
It first extract track segment from a specified graph, and create a cost matrix corresponding to the following events: Track segments can be:
The class itself uses a sparse version of the cost matrix and a solver that can exploit it. Therefore it is optimized for memory usage rather than speed.
| Constructor and Description |
|---|
SparseLAPSegmentTracker(org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> graph,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
int |
getNumThreads() |
long |
getProcessingTime() |
org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> |
getResult() |
boolean |
process() |
void |
setLogger(Logger logger)
Sets the
Logger instance that will receive messages from this
SpotTracker. |
void |
setNumThreads() |
void |
setNumThreads(int numThreads) |
public 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 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.public void setNumThreads()
setNumThreads in interface MultiThreadedpublic void setNumThreads(int numThreads)
setNumThreads in interface MultiThreadedpublic int getNumThreads()
getNumThreads in interface MultiThreadedCopyright © 2015–2021 Fiji. All rights reserved.