Class ListImg<T>

    • Field Detail

      • pixels

        private final java.util.ArrayList<T> pixels
    • Constructor Detail

      • ListImg

        public ListImg​(long[] dim,
                       T type)
      • ListImg

        public ListImg​(java.util.Collection<T> collection,
                       long... dim)
    • Method Detail

      • copyWithType

        private static <A extends Type<A>> ListImg<A> copyWithType​(ListImg<A> img)
      • copy

        public ListImg<T> copy()
        Returns:
        - A copy of the current Img instance, all pixels are duplicated