imagej / imagej/imagej2

images larger than 2^29 pixels do not open/load properly

Open
#238 26 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

If I want to open an image larger than 2^29 pixels (with File->Import->TIFF Virtual Stack), it does not display properly, there is probably some overflow error at this point as the bottom part of the image exactly after 2^29 pixels is messed up. To illustrate what is the result, I created a triangle of 30000x30000 pixels and opened it with Fiji. See attached images what happens.

![example_as_it_should_look](https://user-images.githubusercontent.com/8138056/57417286-3835db00-7204-11e9-9175-3f9a230a5fbb.jpg)

![example_opened_with_fiji](https://user-images.githubusercontent.com/8138056/57417290-3b30cb80-7204-11e9-9404-635117b38ba9.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue through File->Import->TIFF Virtual Stack with the 30000x30000-pixel triangle described in the report. Trace the image-loading path around the 2^29-pixel boundary and verify that the complete image displays correctly without corruption below that boundary.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.