On Fri, Feb 3, 2012 at 4:59 PM, Fetzer, Andreas <[email protected]
> wrote:
> Hi Miklos,
>
> in your code the "image" is the one you get from the DataManager? Why do
> you have to alter the TimeSlicedGeometry of your image? Is it not
> initialized correctly? This could be a bug either.
>
Yes, the image is in the data manager. This is the only image there. I
created a reader for a specific image format used by Aspect MRI scanners.
So I have to initialize the TimeSlicedGeometry from the metainformation
that I read from the Aspect files.
Or maybe you missed to call:
>
> timeSlicedGeometry->InitializeEvenlyTimed(timeSteps); // It looks like the
> TimeSlicedGeometry has currently no InitializeNonEvenlyTimed function
>
Yes, that I did not call. I try it.
>
> …at the end of your code.
>
> You can also try to explicitly update your SliceNavigationController so
> that the sliders and steppers are updated too.
>
No, that controller is updated, just the geometry that it accesses is
incorrect. I am trying to localize where it gets wrong. I found that
mitk::DataStorage::ComputeBoundingGeometry3D(...) gives back a wrong time
step number, but the real cause can happen even earlier.
Thank you!
Miklos
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users