public class GlobalOpt extends Object
Constructor and Description |
---|
GlobalOpt() |
Modifier and Type | Method and Description |
---|---|
protected static <M extends Model<M>> |
addAndFixTiles(List<ViewId> views,
HashMap<ViewId,Tile<M>> map,
GlobalOptimizationType registrationType,
GlobalOptimizationSubset subset,
boolean considerTimePointsAsUnit) |
protected static void |
addPointMatches(ArrayList<PointMatchGeneric<Detection>> correspondences,
Tile<?> tileA,
Tile<?> tileB) |
protected static <M extends Model<M>> |
assignViewsToTiles(M model,
List<ViewId> views,
boolean considerTimePointsAsUnit) |
static <M extends Model<M>> |
compute(M model,
GlobalOptimizationType registrationType,
GlobalOptimizationSubset subset,
boolean considerTimePointsAsUnit)
Computes a global optimization based on the corresponding points
|
static String |
getRotationAxis(RigidModel3D model)
WARNING: This fails on older MACs, in this case remove:
Check if Apple's out-dated Java 3D version 1.3 is installed in System/Library/Java/Extensions/ on your Mac.
|
static String |
getScaling(Affine3D<?> affine) |
static Transform3D |
getTransform3D(Affine3D<?> affine) |
static <M extends AbstractAffineModel3D<M>> |
getTransform3D(M model) |
static void |
main(String[] args) |
static String |
printAffine3D(Affine3D<?> model) |
public static <M extends Model<M>> HashMap<ViewId,Tile<M>> compute(M model, GlobalOptimizationType registrationType, GlobalOptimizationSubset subset, boolean considerTimePointsAsUnit)
registrationType
- - to determine which tiles are fixedsubset
- - to get the correspondencespublic static String getRotationAxis(RigidModel3D model)
model
- public static Transform3D getTransform3D(Affine3D<?> affine)
public static <M extends AbstractAffineModel3D<M>> Transform3D getTransform3D(M model)
protected static <M extends Model<M>> TileConfiguration addAndFixTiles(List<ViewId> views, HashMap<ViewId,Tile<M>> map, GlobalOptimizationType registrationType, GlobalOptimizationSubset subset, boolean considerTimePointsAsUnit)
protected static <M extends Model<M>> HashMap<ViewId,Tile<M>> assignViewsToTiles(M model, List<ViewId> views, boolean considerTimePointsAsUnit)
protected static void addPointMatches(ArrayList<PointMatchGeneric<Detection>> correspondences, Tile<?> tileA, Tile<?> tileB)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.