open_iA 2024.7
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
iAITKIO.h File Reference
#include "iabase_export.h"
#include "iAitkTypes.h"
#include <itkImageBase.h>

Namespaces

namespace  iAITKIO
 Support for loading and storing images via ITK's file I/O.
 

Typedefs

using iAITKIO::ImageBaseType = itk::ImageBase<Dim>
 
using iAITKIO::ImagePointer = ImageBaseType::Pointer
 
using iAITKIO::ImagePtr = ImageBaseType*
 

Functions

ImagePointer iAITKIO::readFile (QString const &fileName, PixelType &pixelType, ScalarType &scalarType, bool releaseFlag, iAProgress const *progress=nullptr)
 Use ITK's file IO to read files from a given file name, returning its pixel and scalar type.
 
void iAITKIO::writeFile (QString const &fileName, ImagePtr image, ScalarType scalarType, bool useCompression=false, iAProgress const *progress=nullptr)
 Use ITK's file IO to write an image to a file.