[IGSTK-Developers] Re: Tool orientation calibration

Hui Zhang zhang at isis.imac.georgetown.edu
Wed Dec 21 16:42:44 EST 2005


Hi, Patrick & Luis,

Use the attached itkVersor file to replace the original one in 
ITK/Code/Common directory before test the PrincipalAxisCalibration class. 
This file is patched from 2.4.1 version.

Luis, can you help check the code in the attached file and commit it to ITK 
if correct? I changed the code of quaternion<-rotation transform.

Good luck!
James

----- Original Message ----- 
From: "Patrick Cheng" <cheng at isis.georgetown.edu>
To: "David Gobbi" <dgobbi at atamai.com>
Cc: "Hui Zhang" <zhang at isis.imac.georgetown.edu>; "IGSTK-developers" 
<igstk-developers at public.kitware.com>
Sent: Tuesday, December 20, 2005 3:50 PM
Subject: Re: [IGSTK-Developers] Re: Tool orientation calibration


> Hi David, Julien and James,
>
> I will try the PrincipalAxisCalibration.
>
> I just tried to add an additional offset to the CalibrationTransform, 
> 'AFTER' I did the registration. Trying to shift the CylinderSpatialObject 
> around, and it's actually working, one end of the CylinderObject is 
> overlap with the tip of the pointer pretty well.
>
> However the transform reported by the tracker is not the the tip of the 
> pointer now.
>
> Julien, if we don't want to change the coordinate system and move the 
> origin of the CylinderSpatialObject, I think there is a way to solve that. 
> But the solution you are working on is the most safe way, just more work 
> for you. :)
>
> Patrick
>
>
>
>
> David Gobbi wrote:
>> Hi James,
>>
>> Right now Patrick is just making the versor rotation himself (see his
>> last couple list emails), but he should try out the 
>> PrincipalAxisCalibration
>> to see how it works.  It should be more intuitive.
>>
>> The ReferenceCalibration class isn't needed right now, but in the future 
>> I
>> can see it being useful for calibrating customized or specialized tools.
>>
>> - David
>>
>> P.S. I'm going to miss the T-con this week, tomorrow I fly to Vancouver.
>>
>>
>> Hui Zhang wrote:
>>
>>> Hi, David,
>>>
>>> Thanks for your comment. That class can be firstly tested with 
>>> FourViewTrackingWithCT example. With the modified tracker tool 
>>> calibration calculation, we can see whether this class will give a 
>>> correct rotation element to transform the default Y-axis aligned 
>>> igstkCylinederObject to Z-axis aligned tracked tools. I have tested it 
>>> with the general rotation, such as from Y-axis to Z-axis and it returned 
>>> the correct quaternion, but it needs to be verified in the real 
>>> application.
>>>
>>> About the "ReferenceCalibration" class I mentioned before, I dunno the 
>>> group's opition whether we need this component in the IGSTK. If they 
>>> think it is worth to add this class and can be practically used in the 
>>> real application, I can try to add it. For Patick's case, he can input 
>>> the tip's translation (x, y, z) and another 'end point' such as (x, y, z 
>>> + needle's length) to get the full calibration matrix, which can be 
>>> input to TrackerTool's SetCalibrationTransform method. And as you 
>>> pointed before, the interface of this class will be a bit tricky for it 
>>> should handle all 'points' from 3D to 6D, that is what I am thinking 
>>> about.
>>>
>>> Regards,
>>> James
>>>
>>> ----- Original Message ----- From: "David Gobbi" <dgobbi at atamai.com>
>>> To: "Hui Zhang" <zhang at isis.imac.georgetown.edu>
>>> Cc: "IGSTK-developers" <igstk-developers at public.kitware.com>
>>> Sent: Tuesday, December 20, 2005 11:34 AM
>>> Subject: Tool orientation calibration
>>>
>>>
>>>> Hi James,
>>>>
>>>> I've taken a good look at igstkPrincipalAxisCalibration,
>>>> and it is exactly what we need for tracked pointers.
>>>>
>>>> Defining both the "Initial" and "Desired" orientation is
>>>> a very good idea.
>>>>
>>>> The class will have to be properly tested with an actual
>>>> tracker to make sure it is giving the correct results.
>>>>
>>>> Are you still planning to add a "ReferenceCalibration" class,
>>>> for doing precise orientation calibration procedures for
>>>> tools like needles where the "point" isn't fixed?
>>>>
>>>> - David
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> IGSTK-Developers mailing list
>> IGSTK-Developers at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>
>>
>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkVersor.txx
Type: application/octet-stream
Size: 16532 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20051221/e9cbe798/attachment.obj>


More information about the IGSTK-Developers mailing list