[Insight-developers] Bug changing volume metadata by looking at it

Steve Pieper pieper at ibility.net
Thu Aug 8 08:33:04 EDT 2013


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 <blowekamp at mail.nih.gov>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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130808/13b36911/attachment.htm>


More information about the Insight-developers mailing list