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

MeasurementNew

Create new measurement data structure

SYNOPSIS

#include "dip_measurement.h"

dip_Error dip_MeasurementNew ( measurement, resources )

FUNCTION

This function creates, by allocating and initialising it, a new Measurement data structure. After this function has been used to create a new measurement structure, the state of it is raw. It needs to be passed through MeasurementForge before it can be used to store measurement results.

ARGUMENTS

Data typeNameDescription
dip_Measurement *measurementpointer to the measurement structure to be created
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

MeasurementForge, MeasurementFree, Measure

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