[vtkusers] Unwrap a cylinder of data using vtkCylindricalTransform and vtkImageReslice
david.gobbi at gmail.com
Thu Dec 18 11:34:20 EST 2014
On Thu, Dec 18, 2014 at 9:25 AM, Vincent32160 <vsh at magellium.fr> wrote:
> That makes definitely sense.
> Apart this rotation and the variables radialSize and r, I got the
> that the rest of the code doesn't depend on the data. Do you agree with
In addition to those, the code also assumes that the center of the cylinder
is at the center of the image, which might not be true for your data.
That's why I said that you might want to use the full 4x4 ResliceAxes matrix
instead of just using SetResliceAxesDirectionCosines. If you use a 4x4
matrix, you can use the 4th column of the matrix to adjust the center.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers