[ 
https://issues.apache.org/jira/browse/IMAGING-311?focusedWorklogId=668682&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-668682
 ]

ASF GitHub Bot logged work on IMAGING-311:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Oct/21 22:59
            Start Date: 21/Oct/21 22:59
    Worklog Time Spent: 10m 
      Work Description: gwlucastrig commented on a change in pull request #179:
URL: https://github.com/apache/commons-imaging/pull/179#discussion_r734099804



##########
File path: 
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java
##########
@@ -62,15 +63,15 @@
  * Unfortunately, the TIFF floating-point format allows for a lot of different
  * variations. At this time, only the most widely used of these are supported.
  * When this code was written, only a small set of test data products were
- * available. Thus it is likely that developers will wish to extend the
- * range of floating-point data that can be processed as
- * additional test data become available. When implementing extensions to this
- * logic, developers are reminded that image processing requires
- * the handling of literally millions of pixels, so attention to performance
- * is essential to a successful implementation (please see the notes in
- * DataReaderStrips.java for more information).
+ * available. Thus it is likely that developers will wish to extend the range 
of
+ * floating-point data that can be processed as additional test data become
+ * available. When implementing extensions to this logic, developers are
+ * reminded that image processing requires the handling of literally millions 
of
+ * pixels, so attention to performance is essential to a successful
+ * implementation (please see the notes in DataReaderStrips.java for more

Review comment:
       Wow.  That link annotation actually worked.  I've got a new favorite 
technique 👍 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 668682)
    Time Spent: 40m  (was: 0.5h)

> Read TIFFs with multiple floating-point samples
> -----------------------------------------------
>
>                 Key: IMAGING-311
>                 URL: https://issues.apache.org/jira/browse/IMAGING-311
>             Project: Commons Imaging
>          Issue Type: New Feature
>          Components: Format: TIFF
>    Affects Versions: 1.0-alpha2
>         Environment: 
> [IMAGING-251|https://issues.apache.org/jira/browse/IMAGING-251]
>            Reporter: Gary Lucas
>            Assignee: Bruno P. Kinoshita
>            Priority: Major
>             Fix For: 1.0-alpha3
>
>         Attachments: NBS_Example.jpg
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I propose to extend Commons Imaging to support reading TIFF files that 
> contain floating-point formats that feature more than one sample.  The 
> ability to support floating-point samples was introduced in  
> [ISSUE-251|https://issues.apache.org/jira/browse/IMAGING-251].  But that 
> implementation was limited to only those files that provided a single sample 
> per raster cell (e.g. "a single sample per pixel"). The ability to read files 
> with multiple samples per raster cell would extend the usefulness of the 
> Commons Imaging API, particularly for geophysical applications.
> If anyone knows of good sources for test TIFF files that use this format, 
> please let me know.
> *Background*
> In addition to conventional image data, TIFF files can provide floating-point 
> numerical information.  This feature is often used for geophysical data (in 
> GeoTIFF files), but can also be applied to other uses.  Although the existing 
> implementation can support files which give a single value per raster cell, 
> there are some products that carry multiple samples per cell. Examples 
> include products that give both a measured value and a corresponding accuracy 
> estimate (i.e. 245.6 meters plus or minus 0.5 meters). Some geophysical 
> products give vectors (gravitational potential, wind vectors, ocean currents, 
> etc.).
> Changes would involve extensions to the classes in the TIFF datareader 
> package as well as the TiffRasterData class.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to