[Insight-users] Huge performance drop of BinaryErodeImageFilter

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed May 2 10:30:39 EDT 2007


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070502/0f10dfa4/PGP.pgp


More information about the Insight-users mailing list