You could try to use the vtk implementation: http://www.vtk.org/doc/release/5.4/html/a00948.html and set the mode to Affine.
Best Regards, Jochen > -----Ursprüngliche Nachricht----- > Von: Yashodhan Nevatia [mailto:[email protected]] > Gesendet: Freitag, 10. Dezember 2010 16:23 > An: Neuhaus Jochen; Wegner Ingmar; Nolden Marco > Cc: [email protected] > Betreff: Re: [mitk-users] Landmark Registration: scaling, shearing, > rotation and translation in the MITK IGT > > Dear Jochen, > > Do you possibly know of an alternative ITK or VTK filter/class that can > be used to do 3D point based registration which solves for rotation, > translation and scaling? > > Best regards, > > Yashodhan > > ----- Original Message ----- > From: "Neuhaus Jochen" <[email protected]> > To: "Keshav Chintamani" <[email protected]>, > "[email protected]" > <[email protected]> > Sent: Friday, December 10, 2010 3:39:47 PM > Subject: Re: [mitk-users] Landmark Registration: scaling, shearing, > rotation and translation in the MITK IGT > > Dear Keshav, > > > > mitk::NavigationDataLandmarkTransformFilter uses an > itk::QuaternionRigidTransform internally. Therefore, it can only handle > translation and rotation, no scaling or other operations. You would > have > to transform your image or tracking data beforehand to use the same > scale. We have no other landmarktransform filter. You would have to > develop your own filter for that. If you are able to calculate a > fitting > transform, you can use mitk::NavigationDataTransformFilter to apply it > to your NavigationData objects. > > > > Best Regards, > > Jochen > > > > > > > > > We were hoping you could provide help with some questions. > > 1) Does the NavigationDataLandmarkTransformFilter handle scaling? For > example, if the source data is in meters and the target data is in > millimeters. Or if the source data is scaled by some factor. > > Only when we matched the source and target data measurement units > (Source/Target = 1) did we get a perfect transform. But when the source > data was in a different unit, the output was offset in an arbitrary > direction. I have attached some pictures: > > In the pictures, the red ball should align with the circled purple > ball. > This happens only when the source and target images are in the same > units/spacing > > 2) Is there a different filter we can use to get a landmark transform > between a generic 3D human image landmarks and landmarks on the target > body? This landmark transform will have to include scaling, shearing, > rotation and translation. > > Any help with these questions is greatly appreciated. Looking forward > to > hearing your comments. > > > > Best Regards, > > -Keshav > > Keshav Chintamani, > Systems Engineer > Space Applications Services NV > Leuvensesteenweg 325 > 1932 Zaventem > Belgium > Tel: +32 2 721 54 84 Fax: +32 2 721 54 44 > URL: http://www.spaceapplications.com > > > > > ----------------------------------------------------------------------- > ------- > > _______________________________________________ mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users > > -- > Yashodhan Nevatia > Systems Engineer > > Space Applications Services > Leuvensesteenweg 325 > B-1932 Zaventem > Belgium > Tel: +32 (0)2-721.54.84 > Fax: +32 (0)2-721.54.44 > URL: www.spaceapplications.com > > ----------------------------------------------------------------------- > ------- > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
