public class TrajectoryExtraction2D extends Object
Modifier and Type | Field and Description |
---|---|
private int |
bgLabel |
private Vector<Integer> |
excluded |
private MTBImage |
labelImg |
private int |
minTrackLength |
(package private) int |
sizeT |
(package private) int |
sizeX |
(package private) int |
sizeY |
private Vector<Trajectory2D> |
trajectories |
Constructor and Description |
---|
TrajectoryExtraction2D(MTBImage labelImg,
int minTrackLength) |
Modifier and Type | Method and Description |
---|---|
private void |
discardShortTracks()
delete trajectories whose length is too short
|
void |
extractCentroids()
extract centroids from labeled regions
|
void |
extractCentroids(MTBImage maskImg,
boolean include,
double factor) |
Vector<Integer> |
getExcluded() |
Vector<Trajectory2D> |
getTrajectories() |
private transient MTBImage labelImg
private Vector<Trajectory2D> trajectories
private int minTrackLength
int sizeX
int sizeY
int sizeT
private final int bgLabel
public TrajectoryExtraction2D(MTBImage labelImg, int minTrackLength)
labelImg
- minTrackLength
- public void extractCentroids()
public void extractCentroids(MTBImage maskImg, boolean include, double factor)
maskImg
- include
- private void discardShortTracks()
public Vector<Trajectory2D> getTrajectories()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.