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

MeasurementObjectValid

Verify an object ID

SYNOPSIS

#include "dip_measurement.h"

dip_Error dip_MeasurementObjectValid ( measurement, featureID, objectID, verdict )

FUNCTION

This function determines whether the object ID objectID, belonging to the measurement function ID featureID, is a valid object ID, by comparing objectID to the object IDs belonging to the featureID in measurement. If verdict is not zero, the result (DIP_TRUE or DIP_FALSE) is stored in verdict, otherwise an error is returned in case the verification fails.

ARGUMENTS

Data typeNameDescription
dip_MeasurementmeasurementMeasurement data structure
dip_intfeatureIDMeasurement function ID
dip_intobjectIDObject ID
dip_Boolean *verdictPointer to a boolean contaning the validation verdict

SEE ALSO

MeasurementNew, MeasurementForge, MeasurementFeatureGetSize, MeasurementFeatures, MeasurementFeatureValid, MeasurementFeatureDescription, MeasurementObjectGetSize, MeasurementObjects, MeasurementObjectData, MeasurementObjectValue, MeasurementObjectFormat

DIPlib on-line documentation | Function reference | Global function index