NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1431 (closed defect: fixed)

Opened 2012-08-23T14:00:41-05:00

Last modified 2013-10-07T14:53:29-05:00

Display range should never be 0

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b8-analysis
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1457

Description

Theres an issue with default display ranges. Create a new image filled with black. Set Options > Channels so that FG is 255. Now draw with brush tool. Nothing is displayed. Adjust brightness/contrast and changed pixels are apparent. I think the display range must default to some size > 0.

(Note that Curtis has started some work in this in the new-image branch)

Change History

comment:1 Changed 2012-09-07T11:02:30-05:00 by bdezonia

  • Blocking 1457 added; 1345 removed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:2 Changed 2012-10-10T14:00:53-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta7

comment:3 Changed 2013-07-30T11:00:52-05:00 by bdezonia

Ticket #1948 is another example where propagating a display range of zero causes problems.

comment:4 Changed 2013-07-30T11:09:45-05:00 by bdezonia

Ticket #1948 is another example where propagating a display range of zero causes problems.

comment:5 Changed 2013-07-30T11:13:17-05:00 by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

Fixed with commit 755f6cf0352fb59f643ccd163cbdfc58b9217bc9

comment:6 Changed 2013-10-07T14:53:29-05:00 by bdezonia

Note I changed how range is calculated in commit 2c5e74e754d4788a4ae385df0a4452282221d485