[Insight-users] Code for writing a 2D image as a slice of a 3D image
Radhika Sivaramakrishna
Radhika Sivaramakrishna" <radshashi at earthlink . net
Wed, 10 Dec 2003 14:52:48 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_0083_01C3BF2D.474F78D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Luis,
Sorry to bug you with so many questions.
I have a 3D image. I take each slice, do some operations on it and want =
to put back that slice in my
3D image. I know how to extract a slice from the 3D image and do my =
operations, but do not
know how to write back that slice at the desired location in the 3D =
image. I saw that there is a SliceIteratorWithIndex but I am not sure =
how to use it to go to a particular slice number.
Thanks
Radhika
------=_NextPart_000_0083_01C3BF2D.474F78D0
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3810.1700" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Luis,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sorry to bug you with so many=20
questions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a 3D image. I take each slice, =
do some=20
operations on it and want to put back that slice in my</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3D image. I know how to extract a slice =
from the 3D=20
image and do my operations, but do not</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>know how to write back that slice at =
the desired=20
location in the 3D image. I saw that there is a SliceIteratorWithIndex =
but I am=20
not sure how to use it to go to a particular slice number.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Radhika</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0083_01C3BF2D.474F78D0--