Module sc.fiji.filamentdetector
Class JaqamanFilamentSegmentCostMatrixCreator
- java.lang.Object
-
- sc.fiji.filamentdetector.tracking.lap.JaqamanFilamentSegmentCostMatrixCreator
-
- All Implemented Interfaces:
fiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>,net.imglib2.algorithm.Algorithm,net.imglib2.algorithm.Benchmark,net.imglib2.algorithm.MultiThreaded,net.imglib2.algorithm.OutputAlgorithm<fiji.plugin.trackmate.tracking.jaqaman.costmatrix.SparseCostMatrix>
public class JaqamanFilamentSegmentCostMatrixCreator extends Object implements fiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>, net.imglib2.algorithm.MultiThreaded
-
-
Constructor Summary
Constructors Constructor Description JaqamanFilamentSegmentCostMatrixCreator(org.jgrapht.Graph<Filament,org.jgrapht.graph.DefaultWeightedEdge> graph, Map<String,Object> settings)Instantiates a cost matrix creator for the top-left quadrant of the segment linking cost matrix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckInput()doublegetAlternativeCostForSource(Filament source)doublegetAlternativeCostForTarget(Filament target)protected fiji.plugin.trackmate.tracking.jaqaman.costfunction.CostFunction<Filament,Filament>getCostFunctionFor(Map<String,Double> featurePenalties)StringgetErrorMessage()intgetNumThreads()longgetProcessingTime()fiji.plugin.trackmate.tracking.jaqaman.costmatrix.SparseCostMatrixgetResult()List<Filament>getSourceList()List<Filament>getTargetList()booleanprocess()voidsetNumThreads()voidsetNumThreads(int numThreads)
-
-
-
Constructor Detail
-
JaqamanFilamentSegmentCostMatrixCreator
public JaqamanFilamentSegmentCostMatrixCreator(org.jgrapht.Graph<Filament,org.jgrapht.graph.DefaultWeightedEdge> graph, Map<String,Object> settings)
Instantiates a cost matrix creator for the top-left quadrant of the segment linking cost matrix.
-
-
Method Detail
-
checkInput
public boolean checkInput()
- Specified by:
checkInputin interfacenet.imglib2.algorithm.Algorithm
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessagein interfacenet.imglib2.algorithm.Algorithm
-
process
public boolean process()
- Specified by:
processin interfacenet.imglib2.algorithm.Algorithm
-
getCostFunctionFor
protected fiji.plugin.trackmate.tracking.jaqaman.costfunction.CostFunction<Filament,Filament> getCostFunctionFor(Map<String,Double> featurePenalties)
-
getResult
public fiji.plugin.trackmate.tracking.jaqaman.costmatrix.SparseCostMatrix getResult()
- Specified by:
getResultin interfacenet.imglib2.algorithm.OutputAlgorithm<fiji.plugin.trackmate.tracking.jaqaman.costmatrix.SparseCostMatrix>
-
getSourceList
public List<Filament> getSourceList()
- Specified by:
getSourceListin interfacefiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>
-
getTargetList
public List<Filament> getTargetList()
- Specified by:
getTargetListin interfacefiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>
-
getAlternativeCostForSource
public double getAlternativeCostForSource(Filament source)
- Specified by:
getAlternativeCostForSourcein interfacefiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>
-
getAlternativeCostForTarget
public double getAlternativeCostForTarget(Filament target)
- Specified by:
getAlternativeCostForTargetin interfacefiji.plugin.trackmate.tracking.jaqaman.costmatrix.CostMatrixCreator<Filament,Filament>
-
getProcessingTime
public long getProcessingTime()
- Specified by:
getProcessingTimein interfacenet.imglib2.algorithm.Benchmark
-
setNumThreads
public void setNumThreads()
- Specified by:
setNumThreadsin interfacenet.imglib2.algorithm.MultiThreaded
-
setNumThreads
public void setNumThreads(int numThreads)
- Specified by:
setNumThreadsin interfacenet.imglib2.algorithm.MultiThreaded
-
getNumThreads
public int getNumThreads()
- Specified by:
getNumThreadsin interfacenet.imglib2.algorithm.MultiThreaded
-
-