asImage

Convert ndslice object into an image, with default format setup, regarding to slice dimension.

  1. Image asImage(Slice!(kind, packs, T*) slice, ImageFormat format)
  2. Image asImage(Slice!(kind, packs, T*) slice)
    asImage
    (
    SliceKind kind
    size_t[] packs
    T
    )
    (
    Slice!(kind, packs, T*) slice
    )

Meta