Measure the area of the object's convex hull
#include "dip_measurement.h"
dip_int dip_FeatureConvexAreaID ( void )
dip_float
dip_FeatureConvexAreaID returns the ID value of this measurement function, that is registered by Initialise.
This function measures the area of the convex hull of the object. The convex hull is a polygon derived from the border pixels, and thus its area is not necessarily an integer. This function supports 2D images only.
This function uses chain codes. It expects each measured object to be compact, that is, to have only one chain code. Additional chain codes are ignored, meaning that non-compact objects are not measured properly. Take care in providing the correct connectivity value: if you object is compact only with 2-connectivity, this measure will fail if you call Measure with a value of 1 for the connectivity.
Measure, ImageChainCode, ChainCodeConvexHull, ConvexHullGetArea
FeatureAnisotropy2D, FeatureBendingEnergy, FeatureCenter, FeatureChainCodeBendingEnergy, FeatureConvexArea, FeatureConvexPerimeter, FeatureConvexity, FeatureDimension, FeatureExcessKurtosis, FeatureFeret, FeatureGinertia, FeatureGmu, FeatureGravity, FeatureInertia, FeatureLongestChaincodeRun, FeatureMass, FeatureMaxVal, FeatureMaximum, FeatureMean, FeatureMinVal, FeatureMinimum, FeatureMu, FeatureOrientation2D, FeatureP2A, FeaturePerimeter, FeatureRadius, FeatureShape, FeatureSize, FeatureSkewness, FeatureStdDev, FeatureSum, FeatureSurfaceArea