[Insight-users] registration using rotation + translation

Seth Gilchrist seth at mech.ubc.ca
Fri Dec 3 15:42:40 EST 2010


Hi Kevin,
I haven't used this particular function before, but it seems that you have
not defined an axis of rotation for the Rotate3D command.

> transform->Rotate3D( -angle, false );

Needs to be something like

const itk::Vector<double, 3>  rotationAxis;
rotationAxis[0] = 0;
rotationAxis[1] = 0;
rotationAxis[2] = 1;

transform->Rotate3D(rotationAxis,-angle, false );

I hope that helps.

Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101203/ea246d50/attachment.htm>


More information about the Insight-users mailing list