[Insight-developers] itk performance numbers

Rupert Brooks rupert.brooks at gmail.com
Wed Jul 25 16:31:14 EDT 2012


Sorry if this repeats - i just got a bounce from Insight Developers, so im
trimming the message and resending....
--------------------------------------------------------------
Rupert Brooks
rupert.brooks at gmail.com



On Wed, Jul 25, 2012 at 4:12 PM, Rupert Brooks <rupert.brooks at gmail.com>wrote:

> Aha.  Heres around line 183 of itkTranslationTransform.
>
> // Compute the Jacobian in one position
> template <class TScalarType, unsigned int NDimensions>
> void
> TranslationTransform<TScalarType,
> NDimensions>::ComputeJacobianWithRespectToParameters(
>   const InputPointType &,
>   JacobianType & jacobian) const
> {
>   // the Jacobian is constant for this transform, and it has already been
>   // initialized in the constructor, so we just need to return it here.
>   jacobian = this->m_IdentityJacobian;
>   return;
> }
>
> Thats probably the culprit, although the root cause may be the
> reallocating of the jacobian every time through the loop.
>
> Rupert
>
> <snipped>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120725/a5a40dcc/attachment.htm>


More information about the Insight-developers mailing list