[Insight-users] My median + gradient-anisotropic-diffusion filter became 200% slower when I updated ITK
Robert.Atwood at diamond.ac.uk
Robert.Atwood at diamond.ac.uk
Wed Mar 16 08:48:29 EDT 2011
Hi,
I've installed version 3.2 from GIT recently, and suddenly my fairly simple volume median + gradientAnisotropicDiffusion program became 100% slower. It could be a large issue because I want to apply this filter to a LOT of data! I suppose I can just use the old version, but is something wrong with it? Why is it acting differently !?! The results look the same to me.
I also therefore came to observe that the newer code (using git) lacks the automatic version string that was included in the older code (using cvs).
Does anyone have any idea why it's taking so much longer? Thanks
Robert
*** old header:
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkGradientAnisotropicDiffusionImageFilter.h,v $
Language: C++
Date: $Date: 2008-10-16 16:45:08 $
Version: $Revision: 1.28 $
*** new header:
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkGradientAnisotropicDiffusionImageFilter.h
Language: C++
Date: $Date$
Version: $Revision$
******************************
Timing the old build:
[kny48981 at cs04r-sc-com03-01 test_rad_iter]$ time /home/kny48981/progs/itk_progs/build64/itk_med_rca from-mhd.in >& old.out
real 0m44.201s
user 0m58.038s
sys 0m16.811s
simpleFilterWatcher said:
Filter took 0.506844 seconds.
-------- End MedianImageFilter "VolMedian"...
Filter took 19.1144 seconds.
-------- End GradientAnisotropicDiffusionImageFilter "SmoothFilter"
*******************************
Timing the new build:
[kny48981 at cs04r-sc-com03-01 test_rad_iter]$ time /home/kny48981/progs/itk_progs/build-64-3.20/itk_med_rca from-mhd.in >& new.out
real 1m55.548s
user 3m32.898s
sys 0m16.619s
simpleFilterWatcher said:
Filter took 2.9052 seconds.
-------- End MedianImageFilter "VolMedian"
Filter took 78.1621 seconds.
-------- End GradientAnisotropicDiffusionImageFilter "SmoothFilter"
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
More information about the Insight-users
mailing list