Package util
Class RealViews
java.lang.Object
util.RealViews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> net.imglib2.RealRandomAccessible<T> addDimension(net.imglib2.RealRandomAccessible<T> source) Add a dimension to aRealRandomAccessible.
-
Constructor Details
-
RealViews
public RealViews()
-
-
Method Details
-
addDimension
public static <T> net.imglib2.RealRandomAccessible<T> addDimension(net.imglib2.RealRandomAccessible<T> source) Add a dimension to aRealRandomAccessible. The resultingRealRandomAccessiblehas samples from the original dimensions continuously stacked along the added dimensions. The additional dimension is the last dimension. For example, an XYZ view is created for an XY source. When accessing an XYZ sample in the view, the final coordinate is discarded and the source XY sample is accessed.- Type Parameters:
T- the pixel type- Parameters:
source- the source- Returns:
- stacked view with an additional last dimension
-