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

MeasurementObjectValue

Object value access function

SYNOPSIS

#include "dip_measurement.h"

dip_Error dip_MeasurementObjectValue ( measurement, featureID, objectID, data, format, resources )

FUNCTION

The MeasurementObjectData, MeasurementObjectValue and MeasurementFeatureDescription functions provide access to the functions that are registered by each measurement function. See also MeasurementFeatureRegister.

The MeasurementObjectValue function provides access to the measurement values produced by the featureID measurement function measured on the objectID labeled object. The format of data is specified by format.

ARGUMENTS

Data typeNameDescription
dip_MeasurementmeasurementMeasurement data structure
dip_intfeatureIDMeasurement function ID
dip_intobjectIDObject ID
void **dataPointer to data pointer
dipf_MeasurementValueFormat *formatPointer to the data format label
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

Measurement data formats

NameDescription
DIP_MSR_VALUE_FORMAT_INTEGERInteger scalar data format
DIP_MSR_VALUE_FORMAT_FLOATFloat scalar data format
DIP_MSR_VALUE_FORMAT_INTEGER_ARRAYInteger array data format
DIP_MSR_VALUE_FORMAT_FLOAT_ARRAYFloat array data format
DIP_MSR_VALUE_FORMAT_IMAGEData is formatted as an dip_Image

SEE ALSO

Measure, MeasurementNew, MeasurementObjects, MeasurementObjectData, MeasurementObjectValue, MeasurementFeatureDescription, MeasurementFeatureFormat, MeasurementFeatureSize, MeasurementFeatureRegister, MeasurementFeatureRegistryList, MeasurementFeatureRegistryGet, MeasurementFeatureRegistryFeatureDescription, MeasurementFeatureRegistryFeatureNeedsIntensityImage