[ITK] [ITK-dev] The timeout error of itkTimeVaryingBSplineVelocityFieldPointSetRegistrationTest
Hyun Jae Kang
hyunjae.kang at kitware.com
Thu Dec 17 11:12:26 EST 2015
Dear All,
I am trying to fix the timeout error of
itkTimeVaryingBSplineVelocityFieldPointSetRegistrationTest.
(
https://open.cdash.org/testSummary.php?project=2&name=itkTimeVaryingBSplineVelocityFieldPointSetRegistrationTest&date=2015-12-17
)
>From my observation, the following function is a bottleneck of the whole
pipeline:
"template<typename TFixedImage, typename TMovingImage, typename TTransform,
typename TVirtualImage, typename TPointSet>
void
TimeVaryingBSplineVelocityFieldImageRegistrationMethod<TFixedImage,
TMovingImage, TTransform, TVirtualImage, TPointSet>
::GetMetricDerivativePointSetForAllTimePoints( VelocityFieldPointSetType
*velocityFieldPointSet, WeightsContainerType *velocityFieldWeights )"
(
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Registration/RegistrationMethodsv4/include/itkTimeVaryingBSplineVelocityFieldImageRegistrationMethod.hxx
)
More specifically, the function call of "
this->m_OutputTransform->IntegrateVelocityField();" from the following
lines are slow.
// Get the fixed transform. We need to duplicate the resulting
// displacement field since it will be overwritten when we integrate
// the velocity field to get the moving image transform.
if( timePoint == 0 )
{
this->m_OutputTransform->GetModifiableDisplacementField()->FillBuffer(
zeroVector );
}
else
{
this->m_OutputTransform->SetLowerTimeBound( t );
this->m_OutputTransform->SetUpperTimeBound( 0.0 );
this->m_OutputTransform->SetNumberOfIntegrationSteps(
numberOfIntegrationSteps );
this->m_OutputTransform->IntegrateVelocityField();
}
If you have any suggestion to solve the timeout error, please let me know.
Thanks,
Hyun Jae
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151217/48a2897d/attachment.html>
-------------- next part --------------
_______________________________________________
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.php
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://public.kitware.com/mailman/listinfo/insight-developers
More information about the Community
mailing list