Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.15
  • Fix Version/s: 3.16
  • Component/s: Coverage
  • Labels:

Description

The TIFF image reader provided in JAI Image I/O can read a reasonably wide range of TIFF encodings, but has the following inconvenient:

  • It doesn't support BigTIFF format.
  • It is not as fast as it could be when reading from files.
  • It has bugs: when the image is written in an existing destination image, the destination is sometime surrounded by a black border. Note that a workaround exists in MosaicImageReader for this bug.

In the particular case where the data are read from a plain file and the compression is RAW, we can achieve better performance by writing our own RawTiffImageReader. Initial benchmark suggest that the specialized reader is 3 time faster than the JAI reader when the pixel values are already present in the OS disk cache. The gain is smaller when the OS needs to perform an actual disk read operation, but still exist.

As a bonus, we gain support for BigTIFF.

Activity

Hide
Martin Desruisseaux added a comment -

This work (together with GEOTK-124) has been done for FOSS4G benchmarking in Barcelona.

Show
Martin Desruisseaux added a comment - This work (together with GEOTK-124) has been done for FOSS4G benchmarking in Barcelona.

People

  • Assignee:
    Martin Desruisseaux
    Reporter:
    Martin Desruisseaux
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
2d
Original Estimate - 2 days Original Estimate - 2 days
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
4d
Time Spent - 4 days