If you are at it, please also check this still open issue:
http://www.na-mic.org/Bug/view.php?id=3010
Volume module GUI permanently modifies the spacing of the selected volume
thanks
Andras
-----Original Message-----
From: "Steve Pieper" <[email protected]>
Sent: 2013-08-08 14:33
To: "Bradley Lowekamp" <[email protected]>; "[email protected]"
<[email protected]>
Cc: "Insight Developers" <[email protected]>; "Julien Finet"
<[email protected]>
Subject: Re: [Insight-developers] Bug changing volume metadata by looking atit
Thanks for finding this Brad - I agree it should be fixed ASAP. We may need to
back out some of the precision/units GUI changes (or disable them again).
-Steve
On Thu, Aug 8, 2013 at 8:16 AM, Bradley Lowekamp <[email protected]> wrote:
Hello,
We are experiencing a rather critical bug, that is changing our Origin, when
viewing the "Volume Information" in the Volumes module. This is on yesterdays
nightly. I don't know when it started to occur, as we are starting to look at
some older dataset which were previously segmented.
This sounded similar to some issues mentioned during the TCON related to the
double spin boxes or precision preferences.
Initially:
>>> lm1 = sitkUtils.PullFromSlicer("A Close")
>>> print lm1
Image (0x13b2ca030)
RTTI typeinfo: itk::Image<unsigned short, 3u>
Reference Count: 1
Modified Time: 3771
Debug: Off
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 3597
UpdateMTime: 3770
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
Spacing: [160, 160, 480]
Origin: [547339, 218860, 20904.4]
Direction:
-1 0 0
0 -1 0
0 0 1
After viewing in Volumes module:
>>> lm1 = sitkUtils.PullFromSlicer("A Close")
>>> print lm1
Image (0x13b222ad0)
RTTI typeinfo: itk::Image<unsigned short, 3u>
Reference Count: 1
Modified Time: 4481
Debug: Off
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 4307
UpdateMTime: 4480
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [2618, 1368, 325]
Spacing: [160, 160, 480]
Origin: [10000, 10000, 10000]
Direction:
-1 0 0
0 -1 0
0 0 1
Note the change in the origin! We have also observed other odd behaviors such
as ROI changing, location, but it's hard for me to figure how what has change
with respect to where in those cases.
This data set is a little odd of us because the user specified the units in
angstroms and not nano-meters, so everything is 10X bigger than normal.
I will continue to investigate and will write a test which uses synthetic data
to reproduce the above, hopefully without needed so many pixels.
Thanks,
Brad
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers