public class TransformUtils extends Object
Constructor and Description |
---|
TransformUtils() |
Modifier and Type | Method and Description |
---|---|
static AffineModel3D |
getAffineModel3D(Transform3D transform) |
static Matrix4d |
getMatrix4d(AffineModel3D model) |
static Matrix4d |
getMatrix4d(RigidModel3D model) |
static double[][] |
getMinMaxDim(int[] dimensions,
CoordinateTransform transform)
Return the min and max coordinate of the transformed image in each dimension
relative to the dimensions of the image it is based on.
|
static RigidModel3D |
getRigidModel3D(Transform3D transform) |
static <M extends AbstractAffineModel3D<M>> |
getTransform3D(M model) |
static Transform3D |
getTransform3D1(AbstractAffineModel3D<?> model) |
static void |
main(String[] args) |
public static double[][] getMinMaxDim(int[] dimensions, CoordinateTransform transform)
dimensions
- - the dimensions of the imagetransform
- - the transformationpublic static Matrix4d getMatrix4d(AffineModel3D model)
public static Matrix4d getMatrix4d(RigidModel3D model)
public static Transform3D getTransform3D1(AbstractAffineModel3D<?> model)
public static <M extends AbstractAffineModel3D<M>> Transform3D getTransform3D(M model)
public static AffineModel3D getAffineModel3D(Transform3D transform)
public static RigidModel3D getRigidModel3D(Transform3D transform)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.