Example of opening Dicom files
- Python
from meshlib import mrmeshpy
dicom_folder = 'path/to/folder'
dicom = dicoms[0]
if dicom:
vdb_volume = dicom.value().vol
else:
print(dicom.error())
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='{}')