Ticket #1759 (closed defect: moved)

Opened 7 years ago

Setting threshold levels tricky with float images

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

Description

Create a float image containing nothing but 0's, 0.1's, 0.2's, and 0.3's. (For instance maybe as 3 filled rects).

Adjust threshold. Threshold min and max say 0.1 and 0.2. Adjust to 0.1 and 0.3. See that the 0.1 pixels are not included in threshold. If you print out min/max inside Threshold plugin you see that min is calced as 0.1000001 or something. The text in the field says 0.1 but its a little bigger. And thus the 0.1 pixels fall outside the threshold.

In addition you can type 0.1 in min field and tab to next field. Now 0.1 pixels are part of threshold. But then clicking on +/- arrows of min does not change the value. Somehow the bounds checking code determines it is out of bounds and fails completely. You can only get unstuck by entering in text field something greater than 0.1000001 and less than max.

Change History

comment:1 Changed 5 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.