Hi,
My goal is to get the coordinates of image after using vtkresliceimage.
My steps:
-
Used vtkresliceimageviewer to display images in axial, sagittal, coronal orientation.
-
Using vtkimagereslice class outputs from reslice imageviewer like axes, spacing, center.
-
Provide this input along with vtkimagedata of dataset and get output.
-
Here i considered the reslice image viewer output with axial orientation.
-
I get the output of vtkimagereslice as the slice displayed in axial orientation.
-
Now i have the image data but i cant get the pixel coordinates of this imagedata with respect to 3d input imagedata.
-
Is there a way to get the mapping?
Ive tried to understand the axes, center, origin transformations but didnt get anything useful.
Thanks in advance.