MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.VoxelsLoad Class Reference

Classes

class  DicomVolume
 
class  DicomVolumeAsVdb
 
class  GridType
 
class  LoadingTiffSettings
 
class  RawParameters
 

Static Public Member Functions

ObjectVoxels createObjectVoxels (VoxelsLoad.DicomVolumeAsVdb dcm, func_bool_from_float cb='{}')
 
VoxelsLoad.RawParameters findRawParameters (os.PathLike|str|bytes file)
 
std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid fromAnySupportedFormat (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
VdbVolume fromGav (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
VdbVolume fromGav (typing.Any in_, func_bool_from_float cb='{}')
 
VdbVolume fromRaw (os.PathLike|str|bytes file, VoxelsLoad.RawParameters params, func_bool_from_float cb='{}')
 
VdbVolume fromRaw (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
VdbVolume fromRaw (typing.Any in_, VoxelsLoad.RawParameters params, func_bool_from_float cb='{}')
 
std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid fromVdb (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
bool isDicomFile (os.PathLike|str|bytes path, std_string_output seriesUid=None)
 
bool isDicomFolder (os.PathLike|str|bytes dirPath)
 
VoxelsLoad.DicomVolume loadDicomFile (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
VoxelsLoad.DicomVolumeAsVdb loadDicomFileAsVdb (os.PathLike|str|bytes file, func_bool_from_float cb='{}')
 
VoxelsLoad.DicomVolume loadDicomFolder (os.PathLike|str|bytes path, int maxNumThreads, func_bool_from_float cb='{}')
 
VoxelsLoad.DicomVolumeAsVdb loadDicomFolderAsVdb (os.PathLike|str|bytes path, int maxNumThreads, func_bool_from_float cb='{}')
 
std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_vector_float_std_string loadDicomsFolder (os.PathLike|str|bytes path, int maxNumThreads, func_bool_from_float cb='{}')
 
std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid_std_string loadDicomsFolderAsVdb (os.PathLike|str|bytes path, int maxNumThreads, func_bool_from_float cb='{}')
 
std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid_std_string loadDicomsFolderTreeAsVdb (os.PathLike|str|bytes path, int maxNumThreads=4, func_bool_from_float cb='{}')
 
VdbVolume loadTiffDir (VoxelsLoad.LoadingTiffSettings settings)
 
LoadedObjects makeObjectVoxelsFromDicomFolder (os.PathLike|str|bytes folder, func_bool_from_float callback='{}')
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

This is a namespace.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.VoxelsLoad._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ createObjectVoxels()

ObjectVoxels mrmeshpy.VoxelsLoad.createObjectVoxels ( VoxelsLoad.DicomVolumeAsVdb dcm,
func_bool_from_float cb = '{}' )
static
converts DicomVolumeAsVdb in ObjectVoxels

◆ findRawParameters()

VoxelsLoad.RawParameters mrmeshpy.VoxelsLoad.findRawParameters ( os.PathLike | str | bytes file)
static
finds raw voxels file and its encoding parameters
\\param file on input: file name probably without suffix with parameters
            on output: if success existing file name

◆ fromAnySupportedFormat()

std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid mrmeshpy.VoxelsLoad.fromAnySupportedFormat ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Detects the format from file extension and loads voxels from it

◆ fromGav() [1/2]

VdbVolume mrmeshpy.VoxelsLoad.fromGav ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Load voxel from Gav-file with micro CT reconstruction

◆ fromGav() [2/2]

VdbVolume mrmeshpy.VoxelsLoad.fromGav ( typing.Any in_,
func_bool_from_float cb = '{}' )
static
Load voxel from Gav-stream with micro CT reconstruction

◆ fromRaw() [1/3]

VdbVolume mrmeshpy.VoxelsLoad.fromRaw ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Load raw voxels file, parsing parameters from name 

◆ fromRaw() [2/3]

VdbVolume mrmeshpy.VoxelsLoad.fromRaw ( os.PathLike | str | bytes file,
VoxelsLoad.RawParameters params,
func_bool_from_float cb = '{}' )
static
Load raw voxels from file with provided parameters

◆ fromRaw() [3/3]

VdbVolume mrmeshpy.VoxelsLoad.fromRaw ( typing.Any in_,
VoxelsLoad.RawParameters params,
func_bool_from_float cb = '{}' )
static
Load raw voxels from stream with provided parameters;
important on Windows: in stream must be open in binary mode

◆ fromVdb()

std_vector_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid mrmeshpy.VoxelsLoad.fromVdb ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Load all voxel volumes from OpenVDB file

◆ isDicomFile()

bool mrmeshpy.VoxelsLoad.isDicomFile ( os.PathLike | str | bytes path,
std_string_output seriesUid = None )
static
check if file is a valid DICOM dataset file
\\param seriesUid - if set, the extracted series instance UID is copied to the variable

◆ isDicomFolder()

bool mrmeshpy.VoxelsLoad.isDicomFolder ( os.PathLike | str | bytes dirPath)
static
check if given folder contains at least one DICOM file

◆ loadDicomFile()

VoxelsLoad.DicomVolume mrmeshpy.VoxelsLoad.loadDicomFile ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Loads full volume from single DICOM file (not a slice file) as SimpleVolumeMinMax

◆ loadDicomFileAsVdb()

VoxelsLoad.DicomVolumeAsVdb mrmeshpy.VoxelsLoad.loadDicomFileAsVdb ( os.PathLike | str | bytes file,
func_bool_from_float cb = '{}' )
static
Loads full volume from single DICOM file (not a slice file) as VdbVolume

◆ loadDicomFolder()

VoxelsLoad.DicomVolume mrmeshpy.VoxelsLoad.loadDicomFolder ( os.PathLike | str | bytes path,
int maxNumThreads,
func_bool_from_float cb = '{}' )
static
Loads one volume from DICOM files located in given folder as SimpleVolumeMinMax

◆ loadDicomFolderAsVdb()

VoxelsLoad.DicomVolumeAsVdb mrmeshpy.VoxelsLoad.loadDicomFolderAsVdb ( os.PathLike | str | bytes path,
int maxNumThreads,
func_bool_from_float cb = '{}' )
static
Loads one volume from DICOM files located in given folder as VdbVolume

◆ loadDicomsFolder()

std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_vector_float_std_string mrmeshpy.VoxelsLoad.loadDicomsFolder ( os.PathLike | str | bytes path,
int maxNumThreads,
func_bool_from_float cb = '{}' )
static
Loads all volumes from DICOM files located in given folder as a number of SimpleVolumeMinMax

◆ loadDicomsFolderAsVdb()

std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid_std_string mrmeshpy.VoxelsLoad.loadDicomsFolderAsVdb ( os.PathLike | str | bytes path,
int maxNumThreads,
func_bool_from_float cb = '{}' )
static
Loads all volumes from DICOM files located in given folder as a number of VdbVolume

◆ loadDicomsFolderTreeAsVdb()

std_vector_tl_expected_VoxelsLoad_DicomVolumeT_VoxelsVolumeMinMax_std_shared_ptr_OpenVdbFloatGrid_std_string mrmeshpy.VoxelsLoad.loadDicomsFolderTreeAsVdb ( os.PathLike | str | bytes path,
int maxNumThreads = 4,
func_bool_from_float cb = '{}' )
static
Loads every subfolder with DICOM volume as new object

◆ loadTiffDir()

VdbVolume mrmeshpy.VoxelsLoad.loadTiffDir ( VoxelsLoad.LoadingTiffSettings settings)
static
Load voxels from a set of TIFF files

◆ makeObjectVoxelsFromDicomFolder()

LoadedObjects mrmeshpy.VoxelsLoad.makeObjectVoxelsFromDicomFolder ( os.PathLike | str | bytes folder,
func_bool_from_float callback = '{}' )
static
Loads 3D volumetric data from dicom-files in given folder, and converts them into an ObjectVoxels

The documentation for this class was generated from the following file: