[Insight-users] Strange error
Luis Ibanez
luis.ibanez at kitware.com
Wed Sep 29 11:14:15 EDT 2004
Hi Zein,
The GLSliceView class is not aware of the pipeline.
This means that if you set its input to the output
of an ITK filter and later on your filter output
produces an new image of different size, GLSliceView
will still think that its dealing with the old image
size.
What you should do is to call SetInput() in the
viewer again, in order to make sure that GLSliceView
update its internal size information.
You may also want to make sure that when you update
the last filter of the pipeline you invoke
UpdateLargestPossibleRegion()
instead of just
Update()
This is particularly important when you expect the
images size to change at the input.
Regards,
Luis
---------------
salah wrote:
> Hello everybody,
>
> my program has a working area, a widget that inherits GLSliceView. The Widget
> displays a 3D itk image with some overlay images over it. The processing done
> by the program requires multiple copies of the image internally.
>
> I move through the image using a slider. Now I tried to process a large image
> (286 x 276 x 299, about 50 MB). The program runs fine as long as move the
> slider within about the first 2/3 part of the image. If I move the slider further,
> the program craches, producing the error message attached.
>
> Does anybody have an idea, what the problem could be?
>
> Many thanks,
> Zein
>
>
> <<err.jpg>>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list