[Insight-developers] VersorRigid3DTransformOptimizer ; setScales issue

Luis Ibanez luis.ibanez at kitware.com
Mon Aug 22 13:46:44 EDT 2011


Hi Mehmet,


You are trying to pass a type

                   std::vector<double>

as an argument to a function
that is expecting a type:

                  itk::Array<double>


Please use the correct type.


     Luis



-------------------------
On Fri, Aug 19, 2011 at 6:21 AM, Mehmet Suzen
<msuzen at mango-solutions.com> wrote:
> Dear List,
>
> I am trying to use 'VersorRigid3DTransformOptimizer', but I am getting
> following error:
>
> error: no matching function for call to
> 'itk::VersorRigid3DTransformOptizer::SetScales(std::vector<double,
> std::allocator<double> >&)'
> /InsightToolkit-3.20.0/Code/Numerics/itkOptimizer.h:71: note: candidates
> are: void itk::Optimizer::SetScales(const itk::Array<double>&)
>
> Both  "itkOptimizer.h" and "itkVersorRigid3DTransformOptimizer.h" are
> included in the
> source. Any ideas what would be the reason?
>
> Thanks,
>
> -m
> LEGAL NOTICE
> This message is intended for the use of the named recipient(s) only and may contain confidential and / or privileged information. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised use of the information contained in this message is prohibited.
> Mango Business Solutions Limited is registered in England under No. 4560258 with its registered office at Suite 3, Middlesex House, Rutherford Close, Stevenage, Herts, SG1 2EF, UK.
>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list