Hi Manasi,
 this is odd, I added the -iterations option September 11 2009. Do you have an 
earlier version than that?
Can you send me the output of vmtkicpregistration --help?
Thanks

Luca


On Jun 7, 2011, at 6:49 PM, Ramachandran, Manasi wrote:

> Hi Luca
> 
> Thanks for the reply. I tried running:
> 
> vmtkicpregistration -ifile source_surface.vtp -rfile target_surface.vtp 
> -ofile registered_surface.vtp -iterations 100 -maxmeandistance 0.01
> 
> And I get the following error:
> 
> Creating vmtkICPRegistration instance.
> Automatic piping vmtkicpregistration
> Parsing options vmtkicpregistration
> vmtkicpregistration error: unknown option -iterations
> vmtkicpregistration : register a surface to a reference surface using
>  the ICP algorithm
>   Input arguments:
>    -id Id (int,1); default=0: script id
> ....
> 
> I can't figure out why it will not recognize -iterations as an option. Please 
> let me know what you think.
> 
> Thanks
> Manasi
> From: Luca Antiga [luca.ant...@orobix.com]
> Sent: Tuesday, June 07, 2011 7:10 AM
> To: Ramachandran, Manasi
> Cc: vmtk-users@lists.sourceforge.net
> Subject: Re: [vmtk-users] Registration
> 
> Hi Manasi,
>  try with the vmtkicpregistration script. The amount of success you can have 
> with this filter can change according to the kind of registration you want to 
> perform, but at least it's a starting point:
> 
> vmtkicpregistration -ifile source_surface.vtp -rfile target_surface.vtp 
> -ofile registered_surface.vtp -iterations 100 -maxmeandistance 0.01
> 
> Increase the -iterations option to check that the registration has actually 
> converged, and use -maxmeandistance to tell the script what you mean by 
> "registered" (in terms of the maximum allowed mean distance between the 
> surface - if that value is lower than the option, the registration stops 
> regardless of the number iterations that are set).
> 
> There is another useful option: -farthreshold  (e.g. -farthreshold 0.2) which 
> tells the algorithm to ignore the pair of points that are far apart more than 
> 0.2 during the registration. It's useful for surfaces that have parts that 
> are similar (that you want to register) but others that differ markedly.
> 
> Hope this helps
> 
> Luca
> 
> 
> On Jun 6, 2011, at 11:40 PM, Ramachandran, Manasi wrote:
> 
>> Hi All,
>> 
>> Have any you registered models using vmtk? If so, can you tell me how to do 
>> it? 
>> 
>> I have 2 3D models (.vtp/.stl/.dat/.vti) and I want to register the 2 
>> models. Is it possible to do that on vmtk? 
>> 
>> Thanks
>> Manasi
>> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev_______________________________________________
>> vmtk-users mailing list
>> vmtk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
> 
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to