View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002380 | Slicer4 | Core: Base Code | public | 2012-07-30 19:23 | 2014-03-06 05:55 |
Reporter | spujol | Assigned To | sankhesh | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0002380: Transforms module issue: display of translation component when values exceed default max values | ||||
Description | I created the transform below: #Insight Transform File V1.0 Transform 0Transform: AffineTransform_double_3_3 When I reload it in Slicer, Slicer displays the values of the LR and PA translation components as 200, which is the max value by default and doesn't correspond to the actual values on disk. | ||||
Steps To Reproduce | Save the data listed in the description to a file, say xform.tfm and then load it into slicer. Going to the transforms module displays the wrong values (clamped to 200 for translation). The value of the transform node actually hasn't been changed (it still has values > 200). | ||||
Additional Information | 07-28-2012 snow leopard | ||||
Tags | No tags attached. | ||||
2012-07-30 19:23
|
|
2012-07-30 19:24
|
test_transfo.tfm (170 bytes) |
I spent some time looking at this and it is a real problem (displaying invalid data is not good). The issue seems to be somewhere in the range management code of the transform sliders and the way they interact with the matrix widget. |
|
From Sankhesh: I found that loading a transforms file sets the maximum value of the transforms matrix to maximum value in the loaded file. What should be the maximum value? Is there a theoretical value that we can set? |
|
What about setting the min and max of the range based on the value found in the file ? May be we could apply a factor to the min/max values found in the file before setting the max and min of the spinboxes. |
|
Topic pushed to https://github.com/sankhesh/Slicer/tree/2380-Transforms-module-sliders-issue |
|
Thanks for your fix. I've just a few comments: |
|
Hi Julien, Thanks for the comments. |
|
a) Technically it is only said the values are "filled" and it is not mentioned (and it's a bit strange but it's ok, I can live with it :-) ) that the values are also "used". |
|
This commit replaces the pass by reference for better wrapping. I improved the documentation as well. |
|
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21013 These commits fix the issue. |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-30 19:23 | spujol | New Issue | |
2012-07-30 19:23 | spujol | Status | new => assigned |
2012-07-30 19:23 | spujol | Assigned To | => pieper |
2012-07-30 19:23 | spujol | File Added: transform_GUI.png | |
2012-07-30 19:24 | spujol | File Added: test_transfo.tfm | |
2012-07-31 07:54 | pieper | Note Added: 0005465 | |
2012-07-31 07:54 | pieper | Assigned To | pieper => finetjul |
2012-07-31 07:54 | pieper | Status | assigned => confirmed |
2012-07-31 07:54 | pieper | Steps to Reproduce Updated | |
2012-07-31 08:05 | pieper | Target Version | => Slicer 4.2.0 - October 1st 2012 |
2012-07-31 08:28 | finetjul | Status | confirmed => assigned |
2012-07-31 08:28 | finetjul | Assigned To | finetjul => jcfr |
2012-08-29 11:17 | jcfr | Assigned To | jcfr => |
2012-08-29 11:19 | jcfr | Assigned To | => jcfr |
2012-08-29 12:03 | jcfr | Assigned To | jcfr => sankhesh |
2012-09-03 05:30 | jcfr | Note Added: 0005930 | |
2012-09-03 05:30 | jcfr | Note Added: 0005931 | |
2012-09-07 12:10 | sankhesh | Note Added: 0006010 | |
2012-09-11 07:13 | finetjul | Note Added: 0006034 | |
2012-09-12 10:39 | sankhesh | Note Added: 0006043 | |
2012-09-13 01:26 | finetjul | Note Added: 0006046 | |
2012-09-13 01:27 | finetjul | Note Edited: 0006046 | |
2012-09-14 07:02 | sankhesh | Note Added: 0006069 | |
2012-09-19 06:33 | sankhesh | Note Added: 0006135 | |
2012-09-19 06:33 | sankhesh | Status | assigned => resolved |
2012-09-19 06:33 | sankhesh | Resolution | open => fixed |
2012-10-02 10:08 | sankhesh | Relationship added | duplicate of 0002584 |
2012-10-02 10:08 | sankhesh | Relationship deleted | 0002584 |
2012-10-02 10:08 | sankhesh | Relationship added | has duplicate 0002584 |
2014-03-06 05:08 | jcfr | Note Added: 0010967 | |
2014-03-06 05:10 | jcfr | Status | resolved => closed |
2014-03-06 05:55 | jcfr | Fixed in Version | => Slicer 4.4.0 |