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 #541 (closed defect: fixed)

Opened 2011-05-23T16:41:15-05:00

Last modified 2011-05-24T09:21:18-05:00

Invert image in IJ2 not always same as IJ1 invert

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: May-23 to Jun-03
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:


In IJ1 inversion of an image is relative to 0/255. In IJ2, for generality, it is relative to min/max present. If this is an issue then fix it.

Change History

comment:1 Changed 2011-05-24T09:21:09-05:00 by bdezonia

Assuming this is an issue as IJ2 behavior and IJ1 behavior different for unsigned byte data. In 04521343158fc176a62c4ba5eb335483862b96c6 made special case code in InvertDataValues for unisgned byte type data.

comment:2 Changed 2011-05-24T09:21:18-05:00 by bdezonia

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