Classes | |
struct | MR::VoxelsLoad::DicomVolume |
struct | MR::VoxelsLoad::LoadDCMResult |
struct | MR::VoxelsLoad::RawParameters |
Functions | |
MRMESH_API void | MR::VoxelsLoad::sortFilesByName (std::vector< std::filesystem::path > &scans) |
MRMESH_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. | |
MRMESH_API Expected< LoadDCMResult > | MR::VoxelsLoad::loadDCMFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={}) |
Loads 3D first volumetric data from DICOM files in a folder. | |
MRMESH_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. | |
MRMESH_API Expected< DicomVolume > | MR::VoxelsLoad::loadDicomFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={}) |
Loads 3D first volumetric data from DICOM files in a folder. | |
MRMESH_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. | |
MRMESH_API Expected< DicomVolume > | MR::VoxelsLoad::loadDicomFile (const std::filesystem::path &path, const ProgressCallback &cb={}) |
Loads 3D volumetric data from a single DICOM file. | |
MRMESH_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const RawParameters ¶ms, const ProgressCallback &cb={}) |
Load raw voxels from file with provided parameters. | |
MRMESH_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters ¶ms, const ProgressCallback &cb={}) |
MRMESH_API Expected< RawParameters > | MR::VoxelsLoad::findRawParameters (std::filesystem::path &file) |
MRMESH_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const ProgressCallback &cb={}) |
Load raw voxels file, parsing parameters from name. | |
MRMESH_API Expected< std::vector< VdbVolume > > | MR::VoxelsLoad::fromVdb (const std::filesystem::path &file, const ProgressCallback &cb={}) |
Load all voxel volumes from OpenVDB file. | |
MRMESH_API Expected< VdbVolume > | MR::VoxelsLoad::fromGav (const std::filesystem::path &file, const ProgressCallback &cb={}) |
Load voxel from Gav-file with micro CT reconstruction. | |
MRMESH_API Expected< VdbVolume > | MR::VoxelsLoad::fromGav (std::istream &in, const ProgressCallback &cb={}) |
Load voxel from Gav-stream with micro CT reconstruction. | |
MRMESH_API Expected< std::vector< VdbVolume > > | MR::VoxelsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const ProgressCallback &cb={}) |
Detects the format from file extension and loads voxels from it. | |
Variables | |
MRMESH_API const IOFilters | MR::VoxelsLoad::Filters |
MRMESH_API Expected< RawParameters > MR::VoxelsLoad::findRawParameters | ( | std::filesystem::path & | file | ) |
finds raw voxels file and its encoding parameters
file | on input: file name probably without suffix with parameters on output: if success existing file name |
MRMESH_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Detects the format from file extension and loads voxels from it.
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromGav | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load voxel from Gav-file with micro CT reconstruction.
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromGav | ( | std::istream & | in, |
const ProgressCallback & | cb = {} ) |
Load voxel from Gav-stream with micro CT reconstruction.
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load raw voxels file, parsing parameters from name.
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | const std::filesystem::path & | file, |
const RawParameters & | params, | ||
const ProgressCallback & | cb = {} ) |
Load raw voxels from file with provided parameters.
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | std::istream & | in, |
const RawParameters & | params, | ||
const ProgressCallback & | cb = {} ) |
Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode
MRMESH_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load all voxel volumes from OpenVDB file.
MRMESH_API Expected< LoadDCMResult > MR::VoxelsLoad::loadDCMFolder | ( | const std::filesystem::path & | path, |
unsigned | maxNumThreads = 4, | ||
const ProgressCallback & | cb = {} ) |
Loads 3D first volumetric data from DICOM files in a folder.
MRMESH_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.
MRMESH_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.
MRMESH_API Expected< DicomVolume > MR::VoxelsLoad::loadDicomFile | ( | const std::filesystem::path & | path, |
const ProgressCallback & | cb = {} ) |
Loads 3D volumetric data from a single DICOM file.
MRMESH_API Expected< DicomVolume > MR::VoxelsLoad::loadDicomFolder | ( | const std::filesystem::path & | path, |
unsigned | maxNumThreads = 4, | ||
const ProgressCallback & | cb = {} ) |
Loads 3D first volumetric data from DICOM files in a folder.
MRMESH_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.
MRMESH_API void MR::VoxelsLoad::sortFilesByName | ( | std::vector< std::filesystem::path > & | scans | ) |
Sort files in given vector by names (respect numbers in it) usually needed for scans
|
extern |