public class CropImgLoader extends Object implements mpicbg.spim.data.generic.sequence.BasicImgLoader
ImgLoader provides views and transformations into a cropped
region of a data-set (provided by list of Sources).| Modifier and Type | Class and Description |
|---|---|
class |
CropImgLoader.SetupImgLoader<T> |
| Constructor and Description |
|---|
CropImgLoader(ArrayList<Source<?>> sources,
net.imglib2.realtransform.AffineTransform3D globalToCropTransform,
net.imglib2.RealInterval cropInterval,
Map<Integer,Integer> timepointIdToTimepointIndex,
Map<Integer,Integer> setupIdToSourceIndex) |
| Modifier and Type | Method and Description |
|---|---|
static <T> net.imglib2.util.Pair<net.imglib2.RandomAccessibleInterval<T>,net.imglib2.realtransform.AffineTransform3D> |
crop(net.imglib2.realtransform.AffineTransform3D globalToCropTransform,
net.imglib2.RealInterval interval,
Source<T> source,
int timepoint)
Crop a region from a
Source. |
net.imglib2.realtransform.AffineTransform3D |
getCroppedTransform(mpicbg.spim.data.sequence.ViewId view) |
CropImgLoader.SetupImgLoader<?> |
getSetupImgLoader(int setupId) |
public CropImgLoader(ArrayList<Source<?>> sources, net.imglib2.realtransform.AffineTransform3D globalToCropTransform, net.imglib2.RealInterval cropInterval, Map<Integer,Integer> timepointIdToTimepointIndex, Map<Integer,Integer> setupIdToSourceIndex)
public net.imglib2.realtransform.AffineTransform3D getCroppedTransform(mpicbg.spim.data.sequence.ViewId view)
public CropImgLoader.SetupImgLoader<?> getSetupImgLoader(int setupId)
getSetupImgLoader in interface mpicbg.spim.data.generic.sequence.BasicImgLoaderpublic static <T> net.imglib2.util.Pair<net.imglib2.RandomAccessibleInterval<T>,net.imglib2.realtransform.AffineTransform3D> crop(net.imglib2.realtransform.AffineTransform3D globalToCropTransform, net.imglib2.RealInterval interval, Source<T> source, int timepoint)
Source.globalToCropTransform - transform from global into crop-local coordinates.interval - the interval (in crop-local space) to crop.source - which source to crop from.timepoint - which timepoint to crop from.Copyright © 2012–2025 BigDataViewer. All rights reserved.