Mapping CPR image pixel coordinates back to world coordinates with vtkImageCPRMapper

Hi,

I’m using vtkImageCPRMapper to generate a curved planar reformation (CPR) image from my 3D volume along a centerline polyline. Now I’d like to take a pixel coordinate (u,v) in the resulting CPR image and find the corresponding (x,y,z) point in the original volume’s world coordinate system.

What’s the recommended VTK-based workflow or helper methods to perform this mapping?

Is there a built-in function in VTK that given (u,v) returns the world coordinate, or do I need to implement the steps manually?

Any pointers to example code or relevant VTK utilities would be greatly appreciated!

Thanks in advance,

You might want to look at vtkCPRManipulator class implementation. There might be some useful information there.

Hth,
Julien.