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 #432 (closed task: moved)

Opened 2011-04-06T10:39:44-05:00

Last modified 2012-12-06T11:03:51-06:00

Remove requirement that Axes[0] == X && Axes[1] == Y

Reported by: bdezonia Owned by: bdezonia
Priority: critical Milestone: imagej-2.5.0
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1595

Description

There are a number of places in IJ2 where an algorithm assumes the x coordinate of a position array is at index 0 and the y coordinate of a position array is at index 1. Remove this assumption.

Might need to have a Dataset cache the xIndex & yIndex (or more appropriately uIndex & vIndex) and allow them to be queried. One could supply methods somewhere such as:

fillPosition(uAxisIndex, vAxisIndex, uVal , vVal, planePosVals)
getU(position)
getV(position)
getPlanePos(position)

Change History

comment:1 Changed 2011-06-28T17:59:36-05:00 by bdezonia

BTW, ProbeTool is one place that makes this assumption

comment:2 Changed 2011-10-10T09:55:22-05:00 by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.5

I think we should push this goal to later. It is very important, but not urgent for 2.0.

comment:3 Changed 2012-12-06T11:01:41-06:00 by bdezonia

  • Blocked By 1595 added

comment:4 Changed 2012-12-06T11:02:54-06:00 by bdezonia

  • Blocked By 1595 added

comment:5 Changed 2012-12-06T11:03:14-06:00 by bdezonia

  • Blocked By 1595 removed

comment:6 Changed 2012-12-06T11:03:51-06:00 by bdezonia

  • Blocking 1595 added

comment:7 Changed 2014-05-14T16:58:23-05:00 by curtis

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