Ticket #1324 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Cannot correctly Make Binary on a float image (thresholding)

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b3-headless
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Open bridge, change type to 32-bit float, and run Make Binary. All pixels are set to 1. Editing Brightness/Contrast to match IJ1's values before running the Make Binary command had no effect on results. IJ1 handles this image fine.

This turns out to be an issue with threshold tracking in IJ2 (and then across the legacy layer). The IJ1 plugin is returning the image as all 255's. It uses thresholds to calc pixel values. IJ2 is not handling thresholds at all at the moment.

Change History

comment:1 Changed 7 years ago by bdezonia

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

This has nothing to do with thresholding. There was a bug in PlaneHarmonizer for single plane images. Fixed with commit 910e721683d6d0429606245143d96076291abfe6

comment:2 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta3
Note: See TracTickets for help on using tickets.