public class RandomAccessibleSource<T extends net.imglib2.type.numeric.NumericType<T>> extends AbstractSource<T>
interpolators, name, type, voxelDimensions| Constructor and Description |
|---|
RandomAccessibleSource(net.imglib2.RandomAccessible<T> img,
net.imglib2.Interval interval,
T type,
net.imglib2.realtransform.AffineTransform3D sourceTransform,
String name) |
RandomAccessibleSource(net.imglib2.RandomAccessible<T> img,
net.imglib2.Interval interval,
T type,
net.imglib2.realtransform.AffineTransform3D sourceTransform,
String name,
boolean doBoundingBoxCulling) |
RandomAccessibleSource(net.imglib2.RandomAccessible<T> img,
net.imglib2.Interval interval,
T type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
net.imglib2.RealRandomAccessible<? extends net.imglib2.type.mask.Masked<T>> |
getInterpolatedMaskedSource(int t,
int level,
Interpolation method)
Get a
Masked version of the 3D
stack at timepoint index t, extended to infinity and interpolated. |
net.imglib2.RealRandomAccessible<T> |
getInterpolatedSource(int t,
int level,
Interpolation method)
Get the 3D stack at timepoint index t, extended to infinity and interpolated.
|
net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.mask.Masked<T>> |
getMaskedSource(int t,
int level)
Get a
Masked version of the 3D stack at
timepoint index t. |
net.imglib2.RandomAccessibleInterval<T> |
getSource(int t,
int level)
Get the 3D stack at timepoint index t.
|
void |
getSourceTransform(int t,
int level,
net.imglib2.realtransform.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, isPresentpublic RandomAccessibleSource(net.imglib2.RandomAccessible<T> img, net.imglib2.Interval interval, T type, String name)
public RandomAccessibleSource(net.imglib2.RandomAccessible<T> img, net.imglib2.Interval interval, T type, net.imglib2.realtransform.AffineTransform3D sourceTransform, String name)
public RandomAccessibleSource(net.imglib2.RandomAccessible<T> img, net.imglib2.Interval interval, T type, net.imglib2.realtransform.AffineTransform3D sourceTransform, String name, boolean doBoundingBoxCulling)
public net.imglib2.RandomAccessibleInterval<T> getSource(int t, int level)
Sourcet - timepoint indexlevel - mipmap levelstack.public net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.mask.Masked<T>> getMaskedSource(int t, int level)
SourceMasked version of the 3D stack at
timepoint index t.
By default, this is just Source.getSource(int, int) augmented with a constant
mask 1.0.
getMaskedSource in interface Source<T extends net.imglib2.type.numeric.NumericType<T>>getMaskedSource in class AbstractSource<T extends net.imglib2.type.numeric.NumericType<T>>t - timepoint indexlevel - mipmap levelpublic net.imglib2.RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
SourcegetInterpolatedSource in interface Source<T extends net.imglib2.type.numeric.NumericType<T>>getInterpolatedSource in class AbstractSource<T extends net.imglib2.type.numeric.NumericType<T>>t - timepoint indexlevel - mipmap levelmethod - interpolation method to usestack.public net.imglib2.RealRandomAccessible<? extends net.imglib2.type.mask.Masked<T>> getInterpolatedMaskedSource(int t, int level, Interpolation method)
SourceMasked version of the 3D
stack at timepoint index t, extended to infinity and interpolated.
By default, this is just Source.getInterpolatedSource(int, int, bdv.viewer.Interpolation) augmented with a
constant mask 1.0.
However, most sources should override this to extend Source.getMaskedSource(int, int) to infinity (with a 0 mask) and
interpolate.
getInterpolatedMaskedSource in interface Source<T extends net.imglib2.type.numeric.NumericType<T>>getInterpolatedMaskedSource in class AbstractSource<T extends net.imglib2.type.numeric.NumericType<T>>t - timepoint indexlevel - mipmap levelmethod - interpolation method to usestack.public void getSourceTransform(int t,
int level,
net.imglib2.realtransform.AffineTransform3D transform)
Sourcesource 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 © 2012–2025 BigDataViewer. All rights reserved.