Hello,

I'm using a itk::BinaryImageToShapeLabelMapFilter to create a itk::LabelMap and take afterwards a an object:

itk::LabelMap::LabelObjectType* labelObject = labelMap->GetNthLabelObject(LabelNumber);

Unfortunately
labelObject->GetEquivalentEllipsoidDiameter()
returns [-nan, -nan, -nan], if the spacing of the BinaryImage is negative. Everything works fine for positive spacing.

Is negative spacing not allowed here? Or how to deal with negative spacing?

Thanks for any help!
Carsten
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to