comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 3D registration
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 3D registration [message #53804 is a reply to message #53767] Thu, 03 May 2007 08:34 Go to previous message
Mike[2] is currently offline  Mike[2]
Messages: 99
Registered: December 2005
Member
On May 1, 1:25 pm, Bita <rahm...@sbox.tugraz.at> wrote:
> Hi,
> I would like to implement an affine transformation for 3D
> registration.
> I have done a linear rigid transfomation with T3D IDL-function,
> but how can I do the shear operations?

You can use t3d to incorporate translations, scaling, and rotations,
i.e.

t3d, /reset
t3d, translate=[dx,dy,dz]

Then you can multiply by a shear transformation "by hand" (without
t3d):

shear = [ [ 1, Sxy, Sxz, 0 ],
[ 0, 1, Syz, 0 ],
[ 0, 0, 1, 0 ],
[ 0, 0, 0, 1 ] ]
!p.t = shear # !p.t

I think I may be remembering the correct form for a shear
transformation, but don't take my word for it!

Mike
[Message index]
 
Read Message
Read Message
Previous Topic: Re: ENVI does a dumb thing reading a TIFF file with a palette included
Next Topic: Re: HISTOGRAM and string data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:16:50 PDT 2025

Total time taken to generate the page: 2.15900 seconds