public class OverlapTracker extends MultiThreadedBenchmarkAlgorithm implements SpotTracker, Cancelable
Modifier and Type | Class and Description |
---|---|
static class |
OverlapTracker.IoUCalculation |
processingTime
errorMessage, numThreads
Constructor and Description |
---|
OverlapTracker(SpotCollection spots,
OverlapTracker.IoUCalculation method,
double minIoU,
double enlargeFactor) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String reason) |
boolean |
checkInput() |
protected boolean |
checkSettingsValidity(Map<String,Object> settings,
StringBuilder str) |
String |
getCancelReason() |
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 . |
getProcessingTime
getErrorMessage, getNumThreads, setNumThreads, setNumThreads
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessage
getNumThreads, setNumThreads, setNumThreads
public OverlapTracker(SpotCollection spots, OverlapTracker.IoUCalculation method, double minIoU, double enlargeFactor)
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 Algorithm
public void setLogger(Logger logger)
SpotTracker
Logger
instance that will receive messages from this
SpotTracker
.setLogger
in interface SpotTracker
logger
- the logger to echo messages to.protected boolean checkSettingsValidity(Map<String,Object> settings, StringBuilder str)
public boolean isCanceled()
isCanceled
in interface Cancelable
public void cancel(String reason)
cancel
in interface Cancelable
public String getCancelReason()
getCancelReason
in interface Cancelable
Copyright © 2015–2021 Fiji. All rights reserved.