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

FeatureCompositeFunction

Measurement feature #measure function

SYNOPSIS

#include "dip_measurement.h"

dip_Error (*dip_FeatureCompositeFunction) ( measurement, featureID, objectID, composite, iterations )

FUNCTION

The composite measure function is meant for features that derive their measurements from the results of other measurement functions. The measurement IDs this function is based on is obtained by calling the compose function (FeatureComposeFunction). The composite measure function obtains the results of these measurements through its composite function parameter. Use the regular measurement structure access method to read the values in this parameter (i.e. MeasurementObjectValue).

ARGUMENTS

Data typeNameDescription
dip_MeasurementmeasurementMeasurement data structure
dip_intfeatureIDMeasurement function ID
dip_intobjectIDID of the object to be measured
dip_MeasurementcompositeMeasurement structure containing the measurement data this function is based on
dip_intiterationsNumber of iterations the measure function needs to scan the data

SEE ALSO

MeasurementFeatureRegister, FeatureLineFunction, FeatureImageFunction, FeatureChainCodeFunction, FeatureConvHullFunction, FeatureCreateFunction, FeatureComposeFunction