DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

FeatureDescriptionSetUnits

Set the units of a described feature

SYNOPSIS

#include "dip_measurement.h"

dip_Error dip_FeatureDescriptionSetUnits ( description, measurement, featureID, units, unit )

FUNCTION

Sets the units of the data of the feature descripted by description.

ARGUMENTS

Data typeNameDescription
dip_FeatureDescriptiondescriptionFeature description data structure
dip_MeasurementmeasurementMeasurement data structure
dip_intfeatureIDID of the measurement feature
dip_StringArrayunitsArray of Unit texts, one for each unit
char *unitSingle text for all units

SEE ALSO

MeasurementFeatureDescription, FeatureDescriptionNew, FeatureDescriptionFree, FeatureDescriptionSetName, FeatureDescriptionGetName, FeatureDescriptionSetDescription, FeatureDescriptionGetDescription, FeatureDescriptionSetLabels, FeatureDescriptionGetLabels, FeatureDescriptionSetLabel, FeatureDescriptionSetDimensionLabels, FeatureDescriptionSetUnits, FeatureDescriptionGetUnits, FeatureDescriptionSetUnit