Interface RangeCopier<T>

    • Method Detail

      • copy

        void copy​(long[] srcPos,
                  T dest,
                  int[] size)
        Copy the block starting at srcPos with the given size into the (appropriately sized) dest array.
        Parameters:
        srcPos - min coordinates of block to copy from src Img.
        dest - destination array. Type is byte[], float[], etc, corresponding to the src Img's native type.
        size - dimensions of block to copy from src Img.
      • newInstance

        RangeCopier<T> newInstance()
        Return a new independent instance of this RangeCopier. This is used for multi-threading. The new instance works on the same source image, but has independent internal state.
        Returns:
        new independent instance of this RangeCopier