Page MenuHomePhabricator

Index coordinates of ImageNavigator and StatusBar inconsistent
Closed, WontfixPublic

Description

Especially for MRIs the displayed image coordinates are inconsistent. Furthermore the slider direction is inverse for the axial view.

Miklos pointed out this behaviour on the users list. Here is his email:

Hi,

where do the indexes come from that the image navigator shows?

I assume they should be the discrete indexes calculated from the world position selected in the viewer, but it does not seem to be the case.

The position selected in the image navigator is different than the coordinates shown on the status bar.

Also the QmitkImageNavigatorView.cpp contains this line:

m_Controls.m_SliceNavigatorAxial->SetInverseDirection(true);

Why is it good to invert the range? Why just the axial?

If the reason is that dragging the slider rightwards should move upwards in world space then I suggest to replace the sliders with ctkSliderWidgets. I added a feature last year to invert the controls for the exact same reason. With this feature, if the controls are inverted then dragging the slider right or hitting up or page up will decrease the value, and in the other way round.

I think it is quite essential to be consequent with the displayed coordinates.

Thanks,
Miklos

Event Timeline

New task opened under T22113.
I closed PR152, and PR161 for T22113.

This can be closed as a duplicate.

kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.