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

Opened 2013-10-30T09:48:36-05:00

Last modified 2013-10-30T10:49:43-05:00

Make Binary can flip pixels

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

Description

Open Boats
Make Binary and get a binary image
Now Make Binary again
The binary image's pixels and colors flip. I think they should stay the same.

Change History

comment:1 Changed 2013-10-30T10:49:43-05:00 by bdezonia

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

I am fixing this in a sneaky way. The MakeBinary command now just returns if it is handed a binary image as input. There is no reason to run command in this case. See commit 000aca13c081fd65deb194eb18e34ed0ff987d9b