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 #1762 (new defect)

Opened 2013-03-29T12:35:04-05:00

Cannot invert degenerate binary images

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


A 1-bit image of all 0's or of all 1's cannot be inverted. This is because the detected min and max match. And thus the RealInvert code has no effect. Maybe we need special case code when the min and max match.