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

Opened 2011-04-05T12:27:58-05:00

Last modified 2011-04-06T10:28:37-05:00

Fix probe tool to support all pixel types

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Mar-28 to Apr-08
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:


Now that the Image > Type submenu commands are in place it is apparent that certain pixel types that are not represented by primitive types (1-bit, 12-bit) are not correctly interpreted by the ProbeTool. Update it to work with all known pixel types.

Change History

comment:1 Changed 2011-04-05T12:35:41-05:00 by bdezonia

  • Status changed from new to accepted

fixed. there are a couple outstanding issues:

1) Cursors and position arrays are hatched everytime a mouse move event happens. expensive and memory fragmenting maybe. make Datasets have thread local cursors for pulling data values out of a Dataset to avoid some of this problem. "some" because I'm not yet sure hwo to avoid the repeated creation of position arrays (though this is a smaller problem).

2) there is an assumption that the x and y dimensions of the Dataset are index 0 and index 1. must fix so that we query someone(the Dataset?) for that info.

comment:2 Changed 2011-04-06T10:28:28-05:00 by bdezonia

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

implemented a fix for issue #1 that does much less cursor and position array hatching

issue #2 is still outstanding. I have commented it with a TODO and will create a separate ticket as a catch all for issues like it.

comment:3 Changed 2011-04-06T10:28:37-05:00 by bdezonia

  • Milestone changed from imagej-2.0-alpha2 to biweekly-2011: Mar-28 to Apr-08