Defines base class and I/O functions for arbitrary 1D data sequences. More...
#include "mirtk/ImageConfig.h"
#include "mirtk/Math.h"
#include "mirtk/Stream.h"
#include "mirtk/Voxel.h"
#include "mirtk/ImageAttributes.h"
Go to the source code of this file.
Classes | |
class | mirtk::data::Op |
Base class of all data operations. More... | |
class | mirtk::data::Write |
Write data sequence. More... | |
Namespaces | |
mirtk | |
Enumerations | |
enum | mirtk::data::DataFileType |
Enumeration of supported input data file types. | |
Functions | |
DataFileType | mirtk::data::FileType (const char *name) |
Get (or guess) type of input file. | |
int | mirtk::data::Read (const char *name, UniquePtr< double[]> &data, int *dtype=nullptr, ImageAttributes *attr=nullptr, void *=nullptr, const char *scalars_name=nullptr, bool cell_data=false) |
Read data sequence from any supported input file type. | |
Defines base class and I/O functions for arbitrary 1D data sequences.
Functions to manipulate the data are defined in mirtkDataFunctions.h. Statistics of the data sequence such as mean and variance or percentiles can be computed using the operators found in mirtkDataStatistics.h. The data operators are used in particular by the calculate.cc tool for which they were originally developed. They were added to the linear algebra library because they are useful to compute common statistics or perform basic mathematical operations on a data sequence such as an image or attributes of a VTK point set.
Definition in file DataOp.h.