18#ifndef itkMetaImageIO_h
19#define itkMetaImageIO_h
20#include "ITKIOMetaExport.h"
27#include "metaObject.h"
83 Read(
void * buffer)
override;
102 Write(
const void * buffer)
override;
115 m_MetaImage.SetDoublePrecision(precision);
132 unsigned int numberOfActualSplits,
142 if (m_MetaImage.CompressedData())
158 if (this->GetUseCompression())
169 itkSetMacro(SubSamplingFactor,
unsigned int);
170 itkGetConstMacro(SubSamplingFactor,
unsigned int);
194 template <
unsigned int VNRows,
unsigned int VNColumns = VNRows>
196 WriteMatrixInMetaData(std::ostringstream & strs,
const MetaDataDictionary & metaDict,
const std::string & metaString);
202 MetaImage m_MetaImage{};
204 unsigned int m_SubSamplingFactor{};
209template <
unsigned int VNRows,
unsigned int VNColumns>
213 const std::string & metaString)
218 for (
unsigned int i = 0; i < VNRows; ++i)
220 for (
unsigned int j = 0; j < VNColumns; ++j)
223 if (i != VNRows - 1 || j != VNColumns - 1)
Abstract superclass defines image IO interface.
An ImageIORegion represents a structured region of data.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a M x N size Matrix.
Base class for most ITK classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
bool ExposeMetaData(const MetaDataDictionary &Dictionary, const std::string key, T &outval)