[Insight-users] Huge performance drop of BinaryErodeImageFilter

Nicolas Savoire nicolas.savoire at gmail.com
Thu May 3 12:37:40 EDT 2007


Thanks for your quick answer Gaëtan! 
Next time, I will check the CVS repository before asking.

Best regards,
nicolas

On Wednesday 02 May 2007 16:30:39 Gaëtan Lehmann wrote:
> Hi Nicolas,
>
> I dropped a line by mistake while cleaning the coding style in that
> file. The output of the filter is still valid, so we didn’t see the
> mistake with the tests.
> Please apply the pach
>
>    http://itk.org/cgi-bin/cvsweb.cgi/Code/BasicFilters/
> itkBinaryMorphologyImageFilter.txx?
> root=Insight&sortby=date&r2=1.9&r1=1.8
>
> , or use ITK cvs to get all the performances you should have with
> that filter.
>
> Regards,
>
> Gaëtan
>
> Le 2 mai 07 à 15:43, nicolas.savoire at gmail.com a écrit :
> > Hi all,
> >
> > I recently upgraded to ITK 3.2.0 and noticed a huge slow down of my
> > application. I narrowed it down to itk::BinaryErodeImageFilter
> > which seems to
> > have changed since ITK 3.0.0.
> > With ITK 3.0.0, the erosion on a 896x1410 unsigned int image with a
> > ball
> > structuring element element took 100ms, where as it now takes more
> > than 5
> > minutes for the same operation  !!!
> > Both versions are compiled with gcc 4.1.2 and relwithdebinfo
> > optimization
> > flags.
> > I am a little confused since the itk journal submission referring
> > to this
> > filter (http://hdl.handle.net/1926/173) claims that the new filter
> > outperforms the old one. Is the structuring element I am using too
> > big ?
> > Has any of you experienced the same behavior ?
> >
> > best regards,
> > nicolas
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr




More information about the Insight-users mailing list