<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>     I used itkScalarImageToHistogramGenerator to calculate the histogram of about 8000 2D images .But the speed is very slow ,I learned that ITK can support multithreaded programming. Then I have three questions :1) Only filters that have the function <span style="color: rgb(51, 51, 51); font-family: verdana, Arial, Helvetica, sans-serif; line-height: 25.200000762939453px;">ThreadedGenerateData() defined can support multithreaded programming? 2) If filters doesn't have this function,such as </span><span style="line-height: 1.7;"> itkScalarImageToHistogramGenerator,can I just write one for it ?3) If can't ,then what can I do to increase the speed of the calculation of the </span><span style="line-height: 1.7;">histograms of </span><span style="line-height: 1.7;"> a large number of  images?</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">     Any help would be appreciated ,thanks!</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">Best regards!</span></div><div><span style="line-height: 1.7;"><br></span></div><div>Tina</div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>