imagej / imagej/ImageJ

32-bit hyperstacks are not Z-projected correctly when using average value mode

Open
#200 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

In ImageJ 1.54c7 (and probably previous versions), 32-bit hyperstacks are not projected properly when using average value mode. This issue does not happen for 16- or 8-bit hyperstacks.

The reason is that the `ZProjector` class specifically calls `doAverageFloatProjection()` in case of 32-bit images and an average projection, but `doAverageFloatProjection()` ignores the `increment` that was previously calculated for hyperstacks.

Pull request #199 fixes this issue.

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 reviewing the ZProjector class and doAverageFloatProjection(), with attention to the previously calculated increment for hyperstacks. Compare the described 32-bit average projection behavior with pull request #199, which the issue says fixes it; done means correct 32-bit hyperstack projections while preserving 16- and 8-bit behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-vision
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.