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

FeatureValueFunction

Measurement feature #value function

SYNOPSIS

#include "dip_measurement.h"

dip_Error (*dip_FeatureValueFunction) ( measurement, featureID, objectID, physDims, data, format, resources )

FUNCTION

The value function should return the measurement values produced by the measurement function, for one specific object. This function is called by MeasurementObjectValue.

ARGUMENTS

Data typeNameDescription
dip_MeasurementmeasurementMeasurement data structure
dip_intfeatureIDMeasurement function ID
dip_intobjectIDID of the object to be measured
dip_PhysicalDimensionsphysDimsPhysical dimensions data structure
void **dataPointer to a measurement-specific internal data block
dipf_MeasurementValueFormat *formatPointer to a data format label, See MeasurementObjectValue
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

MeasurementFeatureRegister, MeasurementObjectValue