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 #611 (closed task: wontfix)

Opened 2011-06-16T14:01:03-05:00

Last modified 2012-07-17T16:00:24-05:00

Combine Add Axis with Add Data (and Delete cases also)?

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b4-plugins
Component: SCIFIO Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Users might get confused by there being two ways to add data (along an axis and by adding an axis). Same with deleting data.

Maybe make Add Data automatically hatch an axis if you specify one that is not there. If we do this then the insertion position of the dialog gets ignored (which is better than requiring it equal one).

Delete Axis is still necessary to reshape Datasets so they don't have multiple dimensions of size 1.

Ignoring insertion position may be confusing. So might the fact that we have a Delete Axis but not an Add Axis. Discuss this with others and come up with a solution.

Change History

comment:1 Changed 2011-06-16T14:02:33-05:00 by bdezonia

One thing to note: if add data and delete data add and remove axes as needed we don't need to have a add/delete axis at all. If we do that then delete data should always collapse Datasets so that dimensions of size one disappear.

comment:2 Changed 2011-06-16T14:03:10-05:00 by bdezonia

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

comment:3 Changed 2011-06-16T15:14:10-05:00 by bdezonia

Another thought: combining them makes sense if the plugin shows all possible axes. If it only shows axes currently in the Dataset then a separate Add/Delete Axis are needed.

comment:4 Changed 2011-07-28T10:17:54-05:00 by gharris

Confusing Label -
I used the "Delete Data..." (DeleteHyperplanes) plugin today and found that it
It appears that the Position is 0-based - as a result when I tried to delete the 4th channel from the OrganOfCorti, I set the Position to 4 and Quantity to 1... nothing happened (incl. no warning). When I used Position=3, it worked. So the label of that field is confusing... or perhaps it should be 1-based.

comment:5 Changed 2011-07-28T10:20:06-05:00 by gharris

Alternately, or in addition to, it could prohibit setting the value out of range.

comment:6 Changed 2011-07-28T10:44:48-05:00 by bdezonia

The plugin is 1-based but had a bug that kept last N hyperplanes from being deleted. Fixed in 77a70f6c9c2748f7b14ff5114e62432c241691b5.

Alternative name suggestions welcome.

comment:7 Changed 2011-09-21T14:54:41-05:00 by bdezonia

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

comment:8 Changed 2012-05-14T10:57:41-05:00 by bdezonia

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

comment:9 Changed 2012-07-17T16:00:24-05:00 by bdezonia

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

I think the current implementation (the four combos of Add/Delete Data/Axes) is simple. The suggested fixes are more complicated and I'm don't think better. I'm retiring this ticket.