[vtkusers] Unwrap a cylinder of data using vtkCylindricalTransform and vtkImageReslice

Vincent32160 vsh at magellium.fr
Thu Dec 18 11:25:00 EST 2014


That makes definitely sense.
Apart this rotation and the variables radialSize and r, I got the impression
that the rest of the code doesn't depend on the data. Do you agree with
that?
Thanks again


David Gobbi wrote
> On Thu, Dec 18, 2014 at 9:06 AM, Vincent32160 <

> vsh@

> > wrote:
>>
>> I put in the "-1"s because I reuse the matrix presented in your code
>> (rotate.SetResliceAxesDirectionCosines(
>>   -1, 0, 0,
>>   0, -1, 0,
>>   0, 0, 1 ) )
>> Shouldn't I do this?
> 
> 
> No, this isn't something that should be blindly copied.  I added those
> -1's
> because
> it set up the cylinder orientation properly for my data.  You have
> different data, so
> you will probably need a different matrix.  Does that make sense?
> 
>  - David
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers





--
View this message in context: http://vtk.1045678.n5.nabble.com/Unwrapping-a-cylinder-of-data-using-vtkCylindricalTransform-and-vtkImageReslice-tp5729719p5729899.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list