LabelGeometryImageFilterType linkage errors when definition

Dear all,

I would like to detect circular shapes and knwo the features to select the one i am interested in a fast way and i would like to use this labelgeometryImageFilterType to obtain for example the eccentricity of the regon. When i sust call it i get a lot of link errors:

typedef itk::LabelGeometryImageFilter LabelGeometryImageFilterType;
LabelGeometryImageFilterType::Pointer labelGeometryImageFilter = LabelGeometryImageFilterType::New();

like pointer, regiotype is not a member … Someone used it successfully?


You can find an example here. You can also try LabelImageToShapeLabelMapFilter, which is newer and better.

1 Like