[vtkusers] Re: Moving images together in world space

Luca Pamparana luca.pamparana at gmail.com
Wed Jul 18 12:28:47 EDT 2007


Hello,

Just to add to my question. I guess what I am trying to imply is this. The
two images of course might not lie completely aligned in world space.

>From what I understood with the vtkImageReslice is that it works in
millimeters but the coordinate system is defined by the image itself i.e.
where the origin of the image lies. Now, when we are dealing with multiple
images, I guess we have to work in some global coordinate system or the
world space.

So, I guess my question is how I can convert the values returned by
GetOutputOrigin(), GetResliceAxesOrigin() etc. to world space. I am not sure
if I have tghis understanding of the coordinate systems all wrong.

I will really appreciate some help here.

Thanks,
Luca

On 7/18/07, Luca Pamparana <luca.pamparana at gmail.com> wrote:
>
> Hello everyone,
>
> I have two medical image volumes and I extract slices from them using the
> vtkImageReslice.
>
> So right now I am working with the vtkImageData coordinate system. So, I
> extract the slices using the vtkImageReslice functions like
> SetOutputOrigin(), SetOutputExtent(), SetResliceAxesOrigin() etc.
>
> Now, what I want to do is have another image and when the user pans or
> reslices the first image, the other image should also get panned or resliced
> accordingly...I am working with the image coordinate system and I do not
> want to re-sample the second image. What could be the best way to go about
> doing something like this?
>
> Thanks,
>
> Luca
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070718/be9b6b06/attachment.htm>


More information about the vtkusers mailing list