[Insight-users] Still struggling with extracting information about objects resulting from a segmentation

Neal R. Harvey harve at lanl.gov
Thu Mar 11 17:05:01 EST 2010


Gaëtan Lehmann wrote:
>>   OK. Thanks again. I will try that. Also, how does one turn on the 
>> computation of the perimeter, Feret diameter, etc.?
>
>
> Your code looks correct to me.
> Can you give the exact error message you get?
>
    It's not so much that I get an error message, but if I try to print 
out the FeretDiameter or Perimeter, it shows it as 0.
    This is because, by default it doesn't do this, right, due to the 
extra computational burden?
    So, I need to turn this on, right?
    Is this done something like this?:

      converter->SetComputePerimeter( true );
      converter->SetComputeFeretDiameter( true );


More information about the Insight-users mailing list