[Insight-users] Image::RebuildTransforms() no longer needed?

Parag Chandra pchandra@radonc.unc.edu
Wed, 2 Apr 2003 13:09:20 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0080_01C2F919.12B9A490
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I recently upgraded to ITK 1.2 and noticed that RebuildTransforms() is =
no longer part of Image. My application adjusts the spacing and origin =
of an image after is has been loaded from disk, and so I was calling =
this method to ensure the transforms were rebuilt. Do SetOrigin() and =
SetSpacing() take care of this automatically for me now, or what do I =
need to do to ensure they are always consistent?

Thanks,
-Parag


------=_NextPart_000_0080_01C2F919.12B9A490
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 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I recently upgraded to ITK 1.2 and =
noticed that=20
RebuildTransforms() is no longer part of Image. My application adjusts =
the=20
spacing and origin of an image after is has been loaded from disk, and =
so I was=20
calling this method to ensure the transforms were rebuilt. Do =
SetOrigin() and=20
SetSpacing() take care of this automatically for me now, or what do I =
need to do=20
to ensure they are always consistent?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Parag</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0080_01C2F919.12B9A490--