public class FrameToFrameDisplacement extends Object
Modifier and Type | Field and Description |
---|---|
double |
JI_CUTOFF |
Constructor and Description |
---|
FrameToFrameDisplacement(int frame)
Creates a frame to frame displacement with the starting frame provided.
|
Modifier and Type | Method and Description |
---|---|
static double[][] |
boundingBoxJaccardIndexMatrix(List<DeformableMesh3D> one,
List<DeformableMesh3D> two) |
void |
calculateCenterOfMass(List<Track> tracks)
Calculates the center of mass based on the provided tracks.
|
static double[] |
centerOfMass(List<DeformableMesh3D> meshes) |
static double[][] |
displacements(List<DeformableMesh3D> A,
List<DeformableMesh3D> B,
double[] aToB) |
static ij.ImagePlus |
generateMosaicImage(List<DeformableMesh3D> meshes) |
UndoableActions |
getPerform()
Creates an undoable action based on the tracking result.
|
static List<deformablemesh.track.FrameToFrameDisplacement.Mapping> |
jaccardIndex(List<DeformableMesh3D> one,
List<DeformableMesh3D> two)
Finds the jaccardIndexMatrix between the two lists of meshes.
|
static double[][] |
jaccardIndexMatrix(List<DeformableMesh3D> one,
List<DeformableMesh3D> two) |
static void |
main(String[] args) |
static void |
print2DMatrix(double[][] ji) |
List<deformablemesh.track.FrameToFrameDisplacement.Mapping> |
processJaccardIndexMap(List<DeformableMesh3D> m1,
List<DeformableMesh3D> m2) |
List<double[]> |
processJaccardIndexMatrix(List<DeformableMesh3D> m1,
List<DeformableMesh3D> m2) |
static FrameToFrameDisplacement |
trackAvailableFrameForward(SegmentationController controller)
Takes the current set tracks, find tracks that are available in the current frame, and the set of tracks that
are available in the next frame, then attempts to link them.
|
public FrameToFrameDisplacement(int frame)
frame
- public static FrameToFrameDisplacement trackAvailableFrameForward(SegmentationController controller)
tracks
- full collection of tracks that will be filtered and linkedframe
- starting frame for tracking.public UndoableActions getPerform()
public void calculateCenterOfMass(List<Track> tracks)
tracks
- public static double[] centerOfMass(List<DeformableMesh3D> meshes)
public List<double[]> processJaccardIndexMatrix(List<DeformableMesh3D> m1, List<DeformableMesh3D> m2)
public List<deformablemesh.track.FrameToFrameDisplacement.Mapping> processJaccardIndexMap(List<DeformableMesh3D> m1, List<DeformableMesh3D> m2)
public static void main(String[] args) throws IOException
IOException
public static double[][] displacements(List<DeformableMesh3D> A, List<DeformableMesh3D> B, double[] aToB)
public static ij.ImagePlus generateMosaicImage(List<DeformableMesh3D> meshes)
public static double[][] jaccardIndexMatrix(List<DeformableMesh3D> one, List<DeformableMesh3D> two)
public static double[][] boundingBoxJaccardIndexMatrix(List<DeformableMesh3D> one, List<DeformableMesh3D> two)
public static List<deformablemesh.track.FrameToFrameDisplacement.Mapping> jaccardIndex(List<DeformableMesh3D> one, List<DeformableMesh3D> two)
one
- List of meshes to be tracked from.two
- List of meshes to be tracked too.public static void print2DMatrix(double[][] ji)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.