Modifier and Type | Field and Description |
---|---|
protected Interval |
interval |
protected String |
name |
protected BigWarp.BigWarpData<?> |
sourceData |
protected T |
type |
protected VoxelDimensions |
voxDims |
protected WarpMagnitudeRandomAccessibleInterval<T> |
warpMagImg |
Constructor and Description |
---|
WarpMagnitudeSource(String name,
BigWarp.BigWarpData<?> data,
T t) |
Modifier and Type | Method and Description |
---|---|
void |
debug(double[] pt) |
RealTransform |
getBaseline() |
RealRandomAccessible<T> |
getInterpolatedSource(int t,
int level,
Interpolation method)
Get the 3D stack at timepoint index t, extended to infinity and interpolated.
|
double |
getMax(LandmarkTableModel lm) |
String |
getName()
Get the name of the source.
|
int |
getNumMipmapLevels() |
RandomAccessibleInterval<T> |
getSource(int t,
int level)
Get the 3D stack at timepoint index t.
|
void |
getSourceTransform(int t,
int level,
AffineTransform3D transform)
Get the transform from the
source at the
given timepoint index and mipmap level into the global coordinate system. |
T |
getType()
Get an instance of the pixel type.
|
VoxelDimensions |
getVoxelDimensions()
Get voxel size and unit for this source.
|
boolean |
isPresent(int t)
Is there a stack at timepoint index t?
|
double[] |
minMax() |
void |
setBaseline(RealTransform baseline) |
void |
setWarp(RealTransform warp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doBoundingBoxCulling
protected final String name
protected final BigWarp.BigWarpData<?> sourceData
protected final Interval interval
protected final WarpMagnitudeRandomAccessibleInterval<T extends RealType<T>> warpMagImg
protected final VoxelDimensions voxDims
public WarpMagnitudeSource(String name, BigWarp.BigWarpData<?> data, T t)
public double getMax(LandmarkTableModel lm)
public void setWarp(RealTransform warp)
public void setBaseline(RealTransform baseline)
public RealTransform getBaseline()
public void debug(double[] pt)
public double[] minMax()
public boolean isPresent(int t)
Source
public RandomAccessibleInterval<T> getSource(int t, int level)
Source
public RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
Source
public void getSourceTransform(int t, int level, AffineTransform3D transform)
Source
source
at the
given timepoint index and mipmap level into the global coordinate system.getSourceTransform
in interface Source<T extends RealType<T>>
t
- timepoint indexlevel
- mipmap leveltransform
- is set to the source-to-global transform, that transforms
source coordinates into the global coordinatespublic T getType()
Source
public String getName()
Source
public VoxelDimensions getVoxelDimensions()
Source
getVoxelDimensions
in interface Source<T extends RealType<T>>
null
.public int getNumMipmapLevels()
getNumMipmapLevels
in interface Source<T extends RealType<T>>
Copyright © 2015–2021 Fiji. All rights reserved.