Interface Img<T>

    • Method Detail

      • factory

        ImgFactory<T> factory()
        Get a ImgFactory that creates Imgs of the same kind as this one. This is useful to create Imgs for temporary storage in generic methods where the specific Img type is unknown. Note, that the factory can be used even if all references to this Img have been invalidated.
        Returns:
        a factory for Imgs of the same kind as this one.
      • copy

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