[Insight-users] How can I clone an image ?
Cem DEMiRKIR
cdemirkir at gmail.com
Sun Sep 24 05:18:13 EDT 2006
Thanks for your interest in problem, if I'm not wrong from your reply this
may not be exactly what I meant. For example I need to create an exact copy
of an itk::Image, i.e. A clone of it, and change its data content. I'd like
to know If there is a method to make a clone of an image for example like
the folllowing
ImageType::Pointer cloneImage = sourceImage->Clone();
Thanks
Sincerely
Cem DEMiRKIR
-----Original Message-----
From: Alexandre.Gouaillard at Sun.COM [mailto:Alexandre.Gouaillard at Sun.COM]
Sent: Sunday, September 24, 2006 11:52 AM
To: Cem DEMiRKIR
Cc: ITK Mailing List
Subject: Re: [Insight-users] How can I clone an image ?
hi cem,
any filter will keep the original image untouched. This includes readers.
Don't be afraid and play with itk.
otherwise, for the copy, you have the ctrl+C / ctrl+V under windows, and
other cp under unixes :-D
alex.
Cem DEMiRKIR wrote:
> Hi all ITK community members,
> I'd like to clone an itk image because I need to change its
> content but I don't wanto to loose the original one. How can I
> construct a copy of an image ?
>
> Sincerely
> Cem DEMiRKIR
More information about the Insight-users
mailing list