[ITK] [ITK-users] Multithreading of a pipeline

Mirco Serra mirco9091 at hotmail.it
Tue May 20 10:01:18 EDT 2014


Hi guys,
I need your help to better understand the multithreading in ITK. In fact, I'm trying to use it to speed up a pipeline that would take ages otherwise, but I keep getting errors. In particular, what I need to do is to extract an image from a 3D dataset (using ExtractImageFilter), apply a grayscale dilation (using GrayscaleDilateImageFilter) and then a thresholding (with BinaryThresholdImageFilter). This operation has to be repeated on all the axial images of the dataset, so I'm using a simple for loop along z. Since my datasets may be very big (up to 500 images), without using a multithread the system takes a very long time. Do you think a multithreading might help me reduce the computational time? Do you have any example I could follow fort that?
Many many thanks,Mirco 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140520/2c7e2b02/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list