Ticket #2020 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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 5 years ago 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

Note: See TracTickets for help on using tickets.