Verify an object ID
#include "dip_measurement.h"
dip_Error dip_MeasurementObjectValid ( measurement, featureID, objectID, verdict )
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.
Data type | Name | Description |
dip_Measurement | measurement | Measurement data structure |
dip_int | featureID | Measurement function ID |
dip_int | objectID | Object ID |
dip_Boolean * | verdict | Pointer to a boolean contaning the validation verdict |
Measure, MeasurementNew, MeasurementObjects, MeasurementObjectData, MeasurementObjectValue