<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi guys,<div><br></div><div>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?</div><div><br></div><div>Many many thanks,</div><div>Mirco</div>                                     </div></body>
</html>