[Insight-users] Erroneous results from BinaryImageToShapeLabelMapFilter

Christian Werner christian.werner at rwth-aachen.de
Fri May 7 05:38:43 EDT 2010


Hello!

I wanted to confirm that the BinaryImageToShapeLabelMapFilter yields bad 
results. I just checked that for the actual 3.18 version. I have 
attached a small test image and my code to test the results. Especially 
the perimeter isn't calculated properly. This also leads to roundness 
values beyond reasonable scope. The results for the 3d case seem to be 
perfect though.

Or maybe I am misusing the object?


Best regards,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labelmapping.cxx
Type: text/x-c++src
Size: 2039 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100507/3c425116/attachment-0001.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: measureMe.bmp
Type: image/bmp
Size: 10750 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100507/3c425116/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: results.jpg
Type: image/jpeg
Size: 18972 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100507/3c425116/attachment-0001.jpg>


More information about the Insight-users mailing list