[Insight-users] Re: Re:Affine Transformation...

cspl affable at hd2 . dot . net . in
Fri, 9 Aug 2002 19:11:32 +0530


Dear Luis,
 Here I am enclosing the matrix values for which I could get the output and
not get the output.

//Output
 vector2[0] = 1.0;
 vector2[1] = 2.0;
 vector2[2] = 0.0;
 matrix2[0][0] = 1.0;
 matrix2[0][1] = 1.0;
 matrix2[0][2] = 1.0;
 matrix2[1][0] = 1.0;
 matrix2[1][1] = 8.0;
 matrix2[1][2] = 8.0;
 matrix2[2][0] = 0.0;
 matrix2[2][1] = 0.0;
 matrix2[2][2] =1.0;

//No Output
 vector2[0] = 1.0;
 vector2[1] = 2.0;
 vector2[2] = 0.0;
 matrix2[0][0] = 1.0;
 matrix2[0][1] = 1.0;
 matrix2[0][2] = 1.0;
 matrix2[1][0] = 1.0;
 matrix2[1][1] = 0.0;
 matrix2[1][2] = 8.0;
 matrix2[2][0] = 4.0;
 matrix2[2][1] = 1.0;
 matrix2[2][2] =1.0;

Regards,
CSPL
----- Original Message -----
From: "Luis Ibanez" <luis.ibanez@kitware.com>
To: "cspl" <affable@hd2.dot.net.in>
Cc: <insight-users@public.kitware.com>
Sent: Friday, August 09, 2002 5:33 PM
Subject: Re: [Insight-users] Re: Re:Affine Transformation...


> Hi cspl,
>
> Could you please post to the list the values that
> you are setting in the matrix as well as the
> dimensions of the image and it spacings.
>
> That could help to figure out what's going wrong,
>
> Thanks
>
>    Luis
>
> ==================================================
>
> cspl wrote:
> > Dear Luis,
> >
> > Thank you so much for your help.
> > I am very happy to inform U that I got the resampled  output of the
image.
> > But,when Z-axes( i.e third row of the matrix) are set to values other
than 0
> > and 1s , I am not getting any output.
> > Any Suggestion !!
> >
> >
> > Regars,
> > CSPL
>
>
>