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

Opened 2012-07-12T09:52:25-05:00

Last modified 2012-07-12T10:46:42-05:00

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 2012-07-12T10:45:49-05:00 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 2012-07-12T10:46:42-05:00 by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta3