[Insight-users] Processing of median filter in debug

John Drescher drescherjm at gmail.com
Fri May 22 14:55:15 EDT 2009


On Fri, May 22, 2009 at 2:45 PM, Ivan Macia <imacia at vicomtech.org> wrote:
> Hi,
>
> I have been doing some 3D image processing with a Median filter. I added
> some SimpleFilterWatcher to monitor progress. The input image was not too
> large, about 250x40x175. I'm running an Intel Core 2 Quad Q6600 (4 cores) 3
> Gb. RAM on WinXP SP3 and ITK 3.12 with VS2008.
>
> The filter was running quite fast in release mode but I thought I had a
> problem in debug since the progress did not update and it seemed to be
> stuck. Now waiting a bit the progress started to grow at a very low pace.
> The thing is that I changed the number of threads to a single thread and the
> filter was running much faster in debug mode. In Release mode, as expected,
> the it was more than twice faster. Just wondering, is it normal that the
> cost of running four threads in debug mode makes it so slow? Is this related
> to the IDE or OS?
>
I have seen this myself and it forced me to debug in releasewithdeb
mode instead because instead of taking 30 seconds to process the
median filter on a 0.625 x 0.625 x 0.625  it ended up taking on the
order of 30 minutes.

John


More information about the Insight-users mailing list