imagej / imagej/ImageJ

Why is TIFF single-channel float + COMPRESSION_SGILOG not supported

Open
#243 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
786
Forks
267
PR merge metrics
No merged PRs in 30d

Description

Using a 3 float channels TIFF with COMPRESSION_SGILOG is supported by a wide range of softwares
However, I [thought that it was possible](http://www.anyhere.com/gward/pixformat/tiffluv.html) to use a single (Y) plane as well.
I have generated such an image with the libTIFF (and can reopen it).
However ImageJ won't open it
[singleSGILOG.zip](https://github.com/imagej/ImageJ/files/14696606/singleSGILOG.zip)

Before claiming it's a bug or a lack of support : is there a reason for that ? Is such a TIFF *not* correct ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the attached singleSGILOG.zip file and trace ImageJ's TIFF-opening path to determine how single-channel COMPRESSION_SGILOG images are handled. Done means establishing whether the TIFF is valid and identifying the required support or documentation change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.