AW: [Insight-users] Fltk image Viewer
Stephen R. Aylward
aylward at unc . edu
Fri, 16 May 2003 12:22:48 -0400
Yes - it matters that you have an overlay...
The overlay image and the data image must be the same size in
GLSliceView. Otherwise you new image will not be accepted by the
SetInputImage command - we should throw an exception for this...Also, we
need to provide a method to unregister your overlay so that you can then
register an image of a different size...
I'll try to get to it today or so...unless Dr. Ibanez or Julien
(hopefully) beat me to it :)
s
salah wrote:
> Yes. There is an overlay image. Is there
> a problem with that.
>
> Thanks,
> Zein
>
> -----Ursprüngliche Nachricht-----
> Von: Stephen R. Aylward [mailto:aylward@unc.edu]
> Gesendet: Donnerstag, 15. Mai 2003 20:48
> An: salah
> Cc: ITK Users
> Betreff: Re: [Insight-users] Fltk image Viewer
>
>
> Are you also setting an overlayImage?
>
> Stephen
>
> salah wrote:
>
>>Hi,
>>
>>I am using a widget that inherits the GlSliceViewer. It works
>>fine when it is provided with an input image ( using ->SetInputImage(...) )
>>for the first time.
>>
>>If I decided use the same widget with some other input image, i.e by
>>calling ->SetInputImage(...) with some other image, then it works fine
>>only if the new image dimentions are less than or equall to the first one.
>>Otherwise, it reports a runtime error "Access Violation ....."
>>
>>Could any please help me solving this problem???
>>
>>Many thanks,
>>Zein
>>
>>
>>->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
>>Zein I. Salah
>>University of Tübingen, WSI-GRIS, Sand 14, 72076 Tübingen
>>Email: salah@gris.uni-tuebingen.de
>>Tel.: (07071) 29 75465 (GRIS), Fax: (07071) 29 54 66
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
>
>
>
--
===========================================================
Dr. Stephen R. Aylward
Associate Professor of Radiology
Adjunct Associate Professor of Computer Science and Surgery
http://caddlab.rad.unc.edu
aylward@unc.edu
(919) 966-9695