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

MeasurementWrite

Write measurement results to a file

SYNOPSIS

#include "dipio_measurement.h"

dip_Error dipio_MeasurementWrite ( measurement, filename, format, labels )

FUNCTION

This function writes measurement data to a file, overwriting any other file with the same name. Get the format ID through the registry functions. If format is 0, CSV is used.

ARGUMENTS

Data typeNameDescription
dip_MeasurementmeasurementMeasurement data structure
dip_StringfilenameFile name to write to
dip_intformatID of file format
dip_BooleanlabelsDIP_TRUE to write labels to file

SEE ALSO

Measure, MeasurementRead, MeasurementWriteCSV, MeasurementWriteHTML, MeasurementWriteText