Dear all,<br><br>I want to detect contours from 2D binary images.<br>More specifically, once the contours are detected, I would like to get their perimeters, areas, and parents->children relationships.<br><br>I tried some itk filters which extract contours pretty well, such as "itkSimpleContourImageFilter". But the features of the detected contours (perimeters, areas,...) cant be extracted from these filters.<br>
<br>So I moved to the "itkContourExtractor2DImageFilter", that I implement this way:<br><br>typedef itk::ContourExtractor2DImageFilter <Image2D> ExtractorType;<br>ExtractorType::Pointer Extractor = ExtractorType::New();<br>
Extractor->SetInput(reader->GetOutput());<br>Extractor->SetContourValue(255.0);<br>Extractor->Update();<br><br>But this filter didnt detect any contours...<br><br>Someone could help with this?<br>Thanks a lot in advance for this.<br>
<br>Fred<br>