Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-251

Support TIFF standard floating point data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.x
    • 1.0-alpha2
    • Format: TIFF
    • None

    Description

      Commons Imaging does not support the floating-point format included in the TIFF specification. There are prominent data sources that issue products in this format. The ability to support this information would open up new application areas for Commons Imaging.

      TIFF is often used as a mechanism for distributing data from geophysical applications in the form of GeoTIFF files.  Some of this is not imagery, but data. For example, the US Geological Survey is currently releasing high-resolution elevation data grids for the 3DEP program under the name Cloud-Optimized GeoTIFF (COG). It is a substantial data set with significant potential commercial and academic applications.

      To access this data means modifying the TIFF DataReaderStrips and DataReaderTile classes to recognize floating point data (which is typically indicated using TIFF tag #339, SampleFormat). Also, returning the data in the form of a BufferedImage makes no sense at all, so the API on the TiffImageParser and supporting classes would need additional methods to return arrays of floats.  The good news here is that that requirement would mean adding new methods to the classes rather than making significant changes to existing classes. So the probability of unintended consequences or new bugs in existing code would be minimized.

      Specification details for floating-point are given in the main TIFF-6 documentations and Adobe Photoshop TIFF Technical Note 3.

       

      I am willing to volunteer to make these changes provided that there is interest and a high probability that my contributions would be evaluated and, if suitable, integrated into the Commons Imaging code base. 

      Thank you for your attention in this matter.

       

      Attachments

        1. ArizonaHillshade.jpg
          312 kB
          Gary Lucas
        2. Imaging252_USGS_n38w077.jpg
          20 kB
          Gary Lucas

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              gwlucas Gary Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14h 20m
                  14h 20m