Class to read uniform volume from disk file(s). More...
#include <cmtkVolumeFromFile.h>
Static Public Member Functions | |
static const UniformVolume::SmartPtr | Read (const char *filename) |
Read volume from file automatically. | |
static const UniformVolume::SmartPtr | ReadDICOM (const char *) |
static const UniformVolume::SmartPtr | ReadVanderbilt (const char *filename) |
Read volume in Vanderbilt format. | |
static const UniformVolume::SmartPtr | ReadBioRad (const char *path) |
Read BioRad PIC file (confocal microscopy image). | |
static const UniformVolume::SmartPtr | ReadAnalyzeHdr (const char *pathHdr, const bool bigEndian=false, const bool readData=true) |
Read Analyze 7.5 file (separate header file). | |
static const UniformVolume::SmartPtr | ReadNifti (const char *pathHdr, const bool detached, const bool readData=true) |
Read Nifti file. | |
static void | WriteAnalyzeHdr (const char *pathHdr, const UniformVolume &volume, const bool verbose=false) |
Write Analyze 7.5 file (separate header file). | |
static void | WriteNifti (const char *pathImg, const UniformVolume &volume, const bool verbose=false) |
Write Nifti file. | |
static void | WriteMetaImage (const char *pathHdr, const UniformVolume &volume) |
Write MetaImage file. | |
static const UniformVolume::SmartPtr | ReadNRRD (const char *) |
Read NRRD file. | |
static void | WriteNRRD (const char *, const UniformVolume &, const bool=false) |
Write NRRD file. |
Class to read uniform volume from disk file(s).
Definition at line 50 of file cmtkVolumeFromFile.h.
const UniformVolume::SmartPtr cmtk::VolumeFromFile::ReadDICOM | ( | const char * | path ) | [inline, static] |
Definition at line 60 of file cmtkVolumeFromFile.h.
static const UniformVolume::SmartPtr cmtk::VolumeFromFile::ReadNRRD | ( | const char * | ) | [inline, static] |
Read NRRD file.
Definition at line 95 of file cmtkVolumeFromFile.h.
const UniformVolume::SmartPtr cmtk::VolumeFromFile::ReadVanderbilt | ( | const char * | filename ) | [static] |
Read volume in Vanderbilt format.
Definition at line 42 of file cmtkVolumeFromFileVanderbilt.cxx.
References cmtk::META_IMAGE_ORIENTATION, cmtk::META_IMAGE_ORIENTATION_ORIGINAL, NULL, cmtk::CompressedStream::Read(), and cmtk::TYPE_SHORT.
static void cmtk::VolumeFromFile::WriteNRRD | ( | const char * | , |
const UniformVolume & | , | ||
const | bool = false |
||
) | [inline, static] |
Write NRRD file.
Definition at line 101 of file cmtkVolumeFromFile.h.