<div dir="ltr">Hi everyone. <div><br></div>I am exploring an algorithm published in the Insight Journal titled &quot;Flux Driven Medial Curve Extraction&quot; -  <a href="http://www.insight-journal.org/browse/publication/165">http://www.insight-journal.org/browse/publication/165</a> <div>
<br></div><div>Basically its a nice algorithm to extract centerlines of binary images through a distance map.<br><div><br></div><div style>I have successfully compiled and used it on ITK 4.3.1 by doing some slight modifications. The algorithm has 2 classes of which I am interested in multi-threading </div>
<div style><br></div><div style>itk::AverageOutwardFluxImageFilter (AOF)</div><div style>itk::MedialCurveImageFilter (MCF) </div><div style><br></div><div style>Regarding the AOF, I was able to translate into a multi-threaded algorithm. </div>
<div style><br></div><div style>However, the MCF proves to be more challenging since it has to cycle structures in the GenerateData call a FOR with the iterators and afterwards a WHILE cycle with no iterators. Furthermore, there are several protected methods that are called in both cycles that iterate through the image as well. </div>
<div style><br></div><div style>Would this filter need a total re-do to be able to multi-thread it? Has anyone attempted to use it in that way? </div><div style><br></div><div style>I would appreciate any insights. </div>
<div style><br></div><div style>Thank you, </div><div style>Sergio </div><div style><br></div></div></div>