public class DetectionRegistration extends Object
Constructor and Description |
---|
DetectionRegistration() |
Modifier and Type | Method and Description |
---|---|
static <T extends AbstractDetection<T>> |
addPointMatches(ArrayList<PointMatchGeneric<T>> correspondences,
Tile<?> tileA,
Tile<?> tileB) |
static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> |
computeRANSAC(ArrayList<PointMatchGeneric<T>> correspondenceCandidates,
ArrayList<PointMatchGeneric<T>> inlierList,
Model<?> model)
Computes the RANSAC with reasonable parameters
|
static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> |
computeRANSAC(ArrayList<PointMatchGeneric<T>> correspondenceCandidates,
ArrayList<PointMatchGeneric<T>> inlierList,
Model<?> model,
float maxEpsilon,
float minInlierRatio,
float minNumberInlierFactor,
int numIterations) |
static Vector3d |
getApproximateAxis(RigidModel3D model) |
static double |
getApproximateRotationAngle(RigidModel3D model) |
protected static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> |
getOccurences(T detectionA,
T detectionB,
ArrayList<PointMatchGeneric<T>> list) |
protected static Quat4d |
getQuaternion(RigidModel3D model) |
static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> |
removeInconsistentCorrespondences(ArrayList<PointMatchGeneric<T>> correspondences)
Remove possible inconsistent correspondences
(where one bead in viewB corresponds to more than one bead in viewA)
|
public static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> void removeInconsistentCorrespondences(ArrayList<PointMatchGeneric<T>> correspondences)
protected static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> ArrayList<Integer> getOccurences(T detectionA, T detectionB, ArrayList<PointMatchGeneric<T>> list)
public static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> String computeRANSAC(ArrayList<PointMatchGeneric<T>> correspondenceCandidates, ArrayList<PointMatchGeneric<T>> inlierList, Model<?> model)
correspondenceCandidates
- - the candidatesinlierList
- - the list of inliers that will be eventually populatedmodel
- - the model to usepublic static <S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> String computeRANSAC(ArrayList<PointMatchGeneric<T>> correspondenceCandidates, ArrayList<PointMatchGeneric<T>> inlierList, Model<?> model, float maxEpsilon, float minInlierRatio, float minNumberInlierFactor, int numIterations)
protected static Quat4d getQuaternion(RigidModel3D model)
public static double getApproximateRotationAngle(RigidModel3D model)
public static Vector3d getApproximateAxis(RigidModel3D model)
public static <T extends AbstractDetection<T>> void addPointMatches(ArrayList<PointMatchGeneric<T>> correspondences, Tile<?> tileA, Tile<?> tileB)
Copyright © 2015–2021 Fiji. All rights reserved.