[Insight-developers] duplicating an image
C. Aaron Cois
cacst11+ at pitt . edu
Mon, 15 Jul 2002 13:27:12 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0025_01C22C03.53F0A8C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Greetings. I am looking to duplicate an itkCoreAtomImage, making two =
separate copies of it. Since it seems to be standard protocol to =
overload the =3D operator as a private member, i can't just create a new =
image object and set it equal to the old one (though im not sure i could =
dereference the smart pointer to the original image anyway). I looked =
for something like a DuplicateImageFilter, but couldn't find anything of =
that sort. Is there an easy way to do this?
=
Aaron
------=_NextPart_000_0025_01C22C03.53F0A8C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4916.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings. I am looking to =
duplicate an=20
itkCoreAtomImage, making two separate copies of it. Since it seems =
to be=20
standard protocol to overload the =3D operator as a private member, i =
can't just=20
create a new image object and set it equal to the old one (though im not =
sure i=20
could dereference the smart pointer to the original image anyway). =
I=20
looked for something like a DuplicateImageFilter, but couldn't find =
anything of=20
that sort. Is there an easy way to do this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p;  =
; =
&=
nbsp; &n=
bsp; &nb=
sp; &nbs=
p;  =
; =
&=
nbsp; &n=
bsp; Aaron=20
</FONT></DIV></BODY></HTML>
------=_NextPart_000_0025_01C22C03.53F0A8C0--