Class CoverageDataTiffImage

    • Constructor Detail

      • CoverageDataTiffImage

        public CoverageDataTiffImage​(TileRow tileRow)
        Constructor, used for reading a TIFF
        Parameters:
        tileRow - tile row
      • CoverageDataTiffImage

        public CoverageDataTiffImage​(FileDirectory directory)
        Constructor, used for writing a TIFF
        Parameters:
        directory - file directory
    • Method Detail

      • getImageBytes

        public byte[] getImageBytes()
        Get the image bytes
        Returns:
        image bytes
      • getDirectory

        public FileDirectory getDirectory()
        Get the file directory
        Returns:
        file directory
      • getRasters

        public Rasters getRasters()
        Get the rasters, read if needed
        Returns:
        rasters
      • writeTiff

        public void writeTiff()
        Write the TIFF file to the image bytes
      • getPixel

        public float getPixel​(int x,
                              int y)
        Get the pixel at the coordinate
        Parameters:
        x - x coordinate
        y - y coordinate
        Returns:
        pixel value