Hi,<br>im looking for documentation about Values for AttributeType.<br><br>i found this in the sources:<br><br> static AttributeType GetAttributeFromName( const std::string & s )<br> {<br> if( s == "Size" )<br>
{<br> return SIZE;<br> }<br> else if( s == "PhysicalSize" )<br> {<br> return PHYSICAL_SIZE;<br> }<br> else if( s == "RegionElongation" )<br> {<br> return REGION_ELONGATION;<br>
}<br> else if( s == "SizeRegionRatio" )<br> {<br> return SIZE_REGION_RATIO;<br> }<br> else if( s == "Centroid" )<br> {<br> return CENTROID;<br> }<br> else if( s == "Region" )<br>
{<br> return REGION;<br> }<br> else if( s == "SizeOnBorder" )<br> {<br> return SIZE_ON_BORDER;<br> }<br> else if( s == "PhysicalSizeOnBorder" )<br> {<br> return PHYSICAL_SIZE_ON_BORDER;<br>
}<br> else if( s == "FeretDiameter" )<br> {<br> return FERET_DIAMETER;<br> }<br> else if( s == "BinaryPrincipalMoments" )<br> {<br> return BINARY_PRINCIPAL_MOMENTS;<br>
}<br> else if( s == "BinaryPrincipalAxes" )<br> {<br> return BINARY_PRINCIPAL_AXES;<br> }<br> else if( s == "BinaryElongation" )<br> {<br> return BINARY_ELONGATION;<br>
}<br> else if( s == "Perimeter" )<br> {<br> return PERIMETER;<br> }<br> else if( s == "Roundness" )<br> {<br> return ROUNDNESS;<br> }<br> else if( s == "EquivalentRadius" )<br>
{<br> return EQUIVALENT_RADIUS;<br> }<br> else if( s == "EquivalentPerimeter" )<br> {<br> return EQUIVALENT_PERIMETER;<br> }<br> else if( s == "EquivalentEllipsoidSize" )<br>
{<br> return EQUIVALENT_ELLIPSOID_RADIUS;<br> }<br> else if( s == "BinaryFlatness" )<br> {<br><br>i have not been able to find this in the documentation. does some documentation on this exist?<br>
is there anywhere some documentation about how to read these attributes from a segment or what the meaning of the strings is?<br><br>and is there some other source of documentation than doxygen and the user guide?<br><br>
is it my fault or is there only very few documentaton on some "advanced" things in itk?<br><br>Cheers<br>Igor<br><br>