[vtkusers] vtkImageReslice
lydia many
vtklydia at hotmail.com
Wed Jan 30 11:38:07 EST 2002
Dear Julio,
My stack orientation is axial, I used your code with identity matrix for
vtktransform and it worked.
But for coronal and saggital, it didn't. I think the problem is in setting
data extent.
My original dataextent is (0,255,0,255,0,128). What should I use for
reslice->SetoutputExtent?
Many thanks for your help
Lydia
>From: "JULIO DANIEL" <judagica at hotmail.com>
>To: vtkusers at public.kitware.com
>Subject: Re: [vtkusers] vtkImageReslice
>Date: Wed, 30 Jan 2002 10:28:55
>
>the last change lydia
>
> // coronal transform
> coronal_transform = vtkTransform::New();
> coronal_transform->RotateX(-90);
> coronal_transform->RotateY(180);
> coronal_transform->RotateZ(180);
>
>for
>
>double MatrixTemp02[]={1,0,0,0,0,0,-1,0,0,1,0,0,0,0,0,1};
>
> // coronal transform
> coronal_transform = vtkTransform::New();
> coronal_transform->SetMatrix(MatrixTemp02);
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse
http://explorer.msn.fr/intl.asp.
More information about the vtkusers
mailing list