public class RandomAccessibleSource<T extends NumericType<T>> extends AbstractSource<T>
interpolators, name, type, voxelDimensions
Constructor and Description |
---|
RandomAccessibleSource(RandomAccessible<T> img,
Interval interval,
T type,
AffineTransform3D sourceTransform,
String name) |
RandomAccessibleSource(RandomAccessible<T> img,
Interval interval,
T type,
AffineTransform3D sourceTransform,
String name,
boolean doBoundingBoxCulling) |
RandomAccessibleSource(RandomAccessible<T> img,
Interval interval,
T type,
String name) |
Modifier and Type | Method and Description |
---|---|
RealRandomAccessible<T> |
getInterpolatedSource(int t,
int level,
Interpolation method)
Get the 3D stack at timepoint index t, extended to infinity and interpolated.
|
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. |
doBoundingBoxCulling, getName, getNumMipmapLevels, getType, getVoxelDimensions, isPresent
public RandomAccessibleSource(RandomAccessible<T> img, Interval interval, T type, String name)
public RandomAccessibleSource(RandomAccessible<T> img, Interval interval, T type, AffineTransform3D sourceTransform, String name)
public RandomAccessibleSource(RandomAccessible<T> img, Interval interval, T type, AffineTransform3D sourceTransform, String name, boolean doBoundingBoxCulling)
public RandomAccessibleInterval<T> getSource(int t, int level)
Source
t
- timepoint indexlevel
- mipmap levelstack
.public RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
Source
getInterpolatedSource
in interface Source<T extends NumericType<T>>
getInterpolatedSource
in class AbstractSource<T extends NumericType<T>>
t
- timepoint indexlevel
- mipmap levelmethod
- interpolation method to usestack
.public void getSourceTransform(int t, int level, AffineTransform3D transform)
Source
source
at the
given timepoint index and mipmap level into the global coordinate system.t
- timepoint indexlevel
- mipmap leveltransform
- is set to the source-to-global transform, that transforms
source coordinates into the global coordinatesCopyright © 2015–2021 Fiji. All rights reserved.