Interface ClearCLImageInterface

    • Method Detail

      • copyTo

        void copyTo​(ClearCLImage pImage,
                    boolean pBlockingWrite)
        Copies the contents of this image to a given image.
        Parameters:
        pImage - destination image
        pBlockingWrite - trueblocking call, false asynchronous call
      • copyTo

        void copyTo​(ClearCLBuffer pBuffer,
                    boolean pBlockingWrite)
        Copies the contents of this image to a given buffer.
        Parameters:
        pBuffer - destination buffer
        pBlockingWrite - trueblocking call, false asynchronous call
      • writeTo

        void writeTo​(net.haesleinhuepf.clij.coremem.ContiguousMemoryInterface pContiguousMemory,
                     boolean pBlockingWrite)
        Copies image into CoreMem contiguous memory
        Parameters:
        pContiguousMemory - contiguous memory
        pBlockingWrite - trueblocking call, false asynchronous call
      • writeTo

        void writeTo​(Buffer pBuffer,
                     boolean pBlockingWrite)
        Copies image into NIO buffer
        Parameters:
        pBuffer - NIO buffer
        pBlockingWrite - trueblocking call, false asynchronous call
      • readFrom

        void readFrom​(net.haesleinhuepf.clij.coremem.ContiguousMemoryInterface pContiguousMemory,
                      boolean pBlockingRead)
        Copies image from CoreMem contiguous memory
        Parameters:
        pContiguousMemory - contiguous memory
        pBlockingRead - trueblocking call, false asynchronous call
      • readFrom

        void readFrom​(Buffer pBuffer,
                      boolean pBlockingRead)
        Copies image into NIO buffer
        Parameters:
        pBuffer - NIO buffer
        pBlockingRead - trueblocking call, false asynchronous call
      • getNativeType

        net.haesleinhuepf.clij.coremem.enums.NativeTypeEnum getNativeType()
        Returns native type
        Returns:
        native type
      • getPixelSizeInBytes

        default long getPixelSizeInBytes()
        Returns pixel/voxel size in bytes
        Returns:
        pixel/voxel size in bytes
      • getNumberOfChannels

        long getNumberOfChannels()
        Returns the number of channels in this image
        Returns:
        number of channels
      • getDimensions

        long[] getDimensions()
        Returns this image dimensions.
        Returns:
        dimensions
      • getWidth

        default long getWidth()
        Returns this image width
        Returns:
        width
      • getHeight

        default long getHeight()
        Returns this image height
        Returns:
        height
      • getDepth

        default long getDepth()
        Returns this image depth
        Returns:
        depth
      • getDimension

        default long getDimension()
        Return this image dimension (1D, 2D, or 3D).
        Returns:
        image dimension (1, 2, or 3)
      • getVolume

        default long getVolume()
        Returns this image volume
        Returns:
        depth
      • setName

        void setName​(String name)
      • close

        void close()