Class TransformView
java.lang.Object
net.preibisch.mvrecon.process.fusion.transformed.TransformView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.sequence.ImgLoader imgloader, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.FinalInterval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory) static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.sequence.ImgLoader imgloader, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.SpimData data, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.FinalInterval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory) static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.SpimData data, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float minValue, float outsideValue, int interpolation) Creates a virtual construct that transforms and zero-mins.static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) Creates a virtual construct that transforms and zero-mins.static <T extends net.imglib2.type.numeric.RealType<T>>
net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory) Creates a virtual construct that transforms and zero-mins using a user-defined outofbounds & interpolation.
-
Constructor Details
-
TransformView
public TransformView()
-
-
Method Details
-
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float minValue, float outsideValue, int interpolation) Creates a virtual construct that transforms and zero-mins. Note: we do not use a general outofbounds strategy so that when using linear interpolation there are no half-correct pixels at the interface between image/background and so that we can clearly know which parts are from image data and where there is no data- Type Parameters:
T- - type- Parameters:
input- - the input imagetransform- - the affine transformationboundingBox- - the bounding box (after transformation)minValue- - the minimal value inside the imageoutsideValue- - the value that is returned if it does not intersect with the input imageinterpolation- - 0=nearest neighbor, 1=linear interpolation- Returns:
- transformed image
-
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) Creates a virtual construct that transforms and zero-mins. Note: we do not use a general outofbounds strategy so that when using linear interpolation there are no half-correct pixels at the interface between image/background and so that we can clearly know which parts are from image data and where there is no data- Type Parameters:
T- type- Parameters:
input- - the input imagetransform- - the affine transformationboundingBox- - the bounding box (after transformation)outsideValue- - the value that is returned if it does not intersect with the input imageinterpolation- - 0=nearest neighbor, 1=linear interpolation- Returns:
- transformed image
-
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.sequence.ImgLoader imgloader, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) -
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.sequence.ImgLoader imgloader, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.FinalInterval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory) -
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.SpimData data, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.Interval boundingBox, float outsideValue, int interpolation) -
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(net.imglib2.RandomAccessibleInterval<T> input, net.imglib2.realtransform.AffineTransform3D transform, net.imglib2.Interval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory) Creates a virtual construct that transforms and zero-mins using a user-defined outofbounds & interpolation.- Type Parameters:
T- type- Parameters:
input- - the input imagetransform- - the affine transformationboundingBox- - the bounding box (after transformation)outOfBoundsFactory- - outofboundsfactoryinterpolatorFactory- - any interpolatorfactory- Returns:
- transformed image
-
transformView
public static <T extends net.imglib2.type.numeric.RealType<T>> net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> transformView(mpicbg.spim.data.SpimData data, mpicbg.spim.data.sequence.ViewId viewId, net.imglib2.FinalInterval boundingBox, net.imglib2.outofbounds.OutOfBoundsFactory<T, net.imglib2.RandomAccessible<T>> outOfBoundsFactory, net.imglib2.interpolation.InterpolatorFactory<net.imglib2.type.numeric.real.FloatType, net.imglib2.RandomAccessible<net.imglib2.type.numeric.real.FloatType>> interpolatorFactory)
-