MeshLib Documentation
Loading...
Searching...
No Matches
MRDicom.h File Reference
#include "MRVoxelsFwd.h"
#include "MRVoxelsVolume.h"
#include "MRMesh/MRAffineXf.h"
#include "MRMesh/MRMatrix3.h"
#include <filesystem>
#include <optional>

Go to the source code of this file.

Classes

struct  MR::VoxelsLoad::DicomVolume
 
struct  MR::VoxelsLoad::LoadDCMResult
 

Namespaces

namespace  MR
 
namespace  MR::VoxelsLoad
 
namespace  MR::VoxelsSave
 

Functions

MRVOXELS_API bool MR::VoxelsLoad::isDicomFile (const std::filesystem::path &path, std::string *seriesUid=nullptr)
 
MRVOXELS_API std::vector< Expected< LoadDCMResult > > MR::VoxelsLoad::loadDCMsFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D all volumetric data from DICOM files in a folder.
 
MRVOXELS_API Expected< LoadDCMResultMR::VoxelsLoad::loadDCMFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D first volumetric data from DICOM files in a folder.
 
MRVOXELS_API std::vector< Expected< DicomVolume > > MR::VoxelsLoad::loadDicomsFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D all volumetric data from DICOM files in a folder.
 
MRVOXELS_API Expected< DicomVolumeMR::VoxelsLoad::loadDicomFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D first volumetric data from DICOM files in a folder.
 
MRVOXELS_API std::vector< Expected< LoadDCMResult > > MR::VoxelsLoad::loadDCMFolderTree (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads every subfolder with DICOM volume as new object.
 
MRVOXELS_API Expected< std::shared_ptr< ObjectVoxels > > MR::VoxelsLoad::createObjectVoxels (const LoadDCMResult &dcm, const ProgressCallback &cb={})
 converts LoadDCMResult in ObjectVoxels
 
MRVOXELS_API Expected< DicomVolumeMR::VoxelsLoad::loadDicomFile (const std::filesystem::path &path, const ProgressCallback &cb={})
 Loads 3D volumetric data from a single DICOM file.
 
MRVOXELS_API Expected< void > MR::VoxelsSave::toDCM (const VdbVolume &vdbVolume, const std::filesystem::path &path, ProgressCallback cb={})
 Save voxels objet to a single 3d DICOM file.
 
template<typename T >
MRVOXELS_API Expected< void > MR::VoxelsSave::toDCM (const VoxelsVolume< std::vector< T > > &volume, const std::filesystem::path &path, const std::optional< MinMaxf > &sourceScale={}, const ProgressCallback &cb={})