AW: [Insight-users] Fltk image Viewer
Julien Jomier
jjomier at cs . unc . edu
Sun, 1 Jun 2003 00:49:57 -0400
Zein, Stephen,
I checked in a fix for GlSliceView and GlColorSliceView in
InsightApplications.
Now you have to set the input image first then the overlay image which =
must
have the same size as the image.
Let me know if you have any further problems.
Thanks Zein for the bug report.
Julien
> -----Original Message-----
> From: insight-users-admin at public . kitware . com=20
> [mailto:insight-users-admin at public . kitware . com] On Behalf Of=20
> Stephen R. Aylward
> Sent: Friday, May 16, 2003 12:23 PM
> To: salah; insight-users at public . kitware . com
> Subject: Re: AW: [Insight-users] Fltk image Viewer
>=20
>=20
> Yes - it matters that you have an overlay...
>=20
> The overlay image and the data image must be the same size in=20
> GLSliceView. Otherwise you new image will not be accepted by the=20
> SetInputImage command - we should throw an exception for=20
> this...Also, we=20
> need to provide a method to unregister your overlay so that=20
> you can then=20
> register an image of a different size...
>=20
> I'll try to get to it today or so...unless Dr. Ibanez or Julien=20
> (hopefully) beat me to it :)
>=20
> s
>=20
> salah wrote:
> > Yes. There is an overlay image. Is there=20
> > a problem with that.
> >=20
> > Thanks,
> > Zein
> >=20
> > -----Urspr=FCngliche Nachricht-----
> > Von: Stephen R. Aylward [mailto:aylward at unc . edu]
> > Gesendet: Donnerstag, 15. Mai 2003 20:48
> > An: salah
> > Cc: ITK Users
> > Betreff: Re: [Insight-users] Fltk image Viewer
> >=20
> >=20
> > Are you also setting an overlayImage?
> >=20
> > Stephen
> >=20
> > salah wrote:
> >=20
> >>Hi,
> >>
> >>I am using a widget that inherits the GlSliceViewer. It works
> >>fine when it is provided with an input image ( using=20
> ->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=20
> works fine
> >>only if the new image dimentions are less than or equall to=20
> 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=FCbingen, WSI-GRIS, Sand 14, 72076 T=FCbingen=20
> >>Email: salah at gris . uni-tuebingen . de
> >>Tel.: (07071) 29 75465 (GRIS), Fax: (07071) 29 54 66
> >>
> >>_______________________________________________
> >>Insight-users mailing list
> >>Insight-users at public . kitware . com
> >>http://public . kitware . com/mailman/listinfo/insight-users
> >=20
> >=20
> >=20
>=20
>=20
> --=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Dr. Stephen R. Aylward
> Associate Professor of Radiology
> Adjunct Associate Professor of Computer Science and Surgery=20
http://caddlab . rad . unc . edu aylward at unc . edu
(919) 966-9695
_______________________________________________
Insight-users mailing list
Insight-users at public . kitware . com
http://public . kitware . com/mailman/listinfo/insight-users