Package util

Class RealViews

java.lang.Object
util.RealViews

public class RealViews extends Object
  • 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 a RealRandomAccessible. The resulting RealRandomAccessible has 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