[Insight-users] Re: [Insight-developers] question for itk pipeline expert

Bill Lorensen wlorens1 at nycap.rr.com
Wed Dec 7 15:12:55 EST 2005


Are you using ReleaseDataFlagOn in any of your filters. Perhaps something 
is re-executing.

Bill

At 07:42 AM 12/7/2005, Gaetan Lehmann wrote:

>Hi,
>
>I'm trying to measure the execution time of a new filter.
>It's done with
>http://voxel.jouy.inra.fr/darcs/contrib-itk/regionalExtrema/perf3D.cxx
>Here are the results I get:
>
>[glehmann at marvin build]$ ./perf3D ../ESCells.img
>#F      concave vrmin   rmin
>0       17.874  2.592   1.74
>1       21.022  3.613   2.799
>
>There is a problem: rmin is a sequence of filters which include vrmin, and
>so rmin should take more time than vrmin.
>Now, if I comment rmin measure and update, I get
>
>[glehmann at marvin build]$ ./perf3D ../ESCells.img
>#F      concave vrmin   rmin
>0       17.578  0       2.614
>1       21.276  0       3.722
>
>Again, there is something wrong: I should get the same value than before
>for rmin if vrmin is not updated.
>
>I think there is something hidden in the execution of the pipeline, but I
>can't get what.
>Can someone look at the code above and tell me what I'm doing wrong ?
>
>I'm using ITK 2.4.1, cmake 2.2.2 and gcc 4.0.1
>
>Thanks,
>
>Gaetan
>
>--
>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
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers



More information about the Insight-users mailing list