[Insight-developers] function signature

M.Staring at lumc.nl M.Staring at lumc.nl
Thu Sep 15 10:50:28 EDT 2011


Hi

Sorry, I forgot to mention that: in the class ImageToImageMetric.

I understand this is on the todolist?

Marius

-----Original Message-----
From: M Stauffer (V) [mailto:mstauff at verizon.net] 
Sent: donderdag 15 september 2011 16:48
To: Staring, M. (LKEB); insight-developers at itk.org
Subject: RE: [Insight-developers] function signature

Hi Marius,

What class is this in? I saw the addition of NumberOf ParametersType and will be using it in our new metric and optimizer classes as well.

-M

>-----Original Message-----
>From: insight-developers-bounces at itk.org
>[mailto:insight-developers-bounces at itk.org] On Behalf Of 
>M.Staring at lumc.nl
>Sent: Thursday, September 15, 2011 9:17 AM
>To: insight-developers at itk.org
>Subject: [Insight-developers] function signature
>
>Hi developers,
>
>I think the signature of GetNumberOfParameters  in should change from
>
>/** Return the number of parameters required by the Transform */
>  unsigned int GetNumberOfParameters(void) const
>  {
>    return m_Transform->GetNumberOfParameters();
>  }
>
>to
>
>/** Return the number of parameters required by the Transform */
>  NumberOfParametersType GetNumberOfParameters(void) const
>  {
>    return m_Transform->GetNumberOfParameters();
>  }
>
>probably with
>
>typedef typename TransformType::NumberOfParametersType
>NumberOfParametersType;
>
>to reflect the changes in the Transform classes.
>
>Regards,
>
>Marius
>
>Marius Staring, PhD
>Division of Image Processing (LKEB)
>Department of Radiology
>Leiden University Medical Center
>PO Box 9600, 2300 RC Leiden, The Netherlands
>phone: +31 (0)71 526 2137, fax: +31 (0)71 524 8256 m.staring at lumc.nl
>
>_______________________________________________
>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