When using 3Shape dicom file then getting this type of error if file has few errors like
- Self Intersections
- Holes
- Disconnected parts
`➜ DicomToMesh git:(master) ✗ ./build/dicom2mesh/dicom2mesh -i /Users/apple/Downloads/trash.dcm -t 557 -o mesh.stl
Dicom2Mesh Settings
Input directory: /Users/apple/Downloads/trash.dcm
Output file path: mesh.stl
Surface segmentation: 557
Mesh reduction: disabled
Mesh polygon limitation: disabled
Mesh smoothing: disabled
Mesh centering: disabled
Mesh filtering: disabled
Volume cropping: disabled
Using standard DICOM loader
Read DICOM images located under /Users/apple/Downloads/trash.dcm
2026-04-08 21:05:48.284 ( 0.054s) [ 2E9BA]vtkDICOMImageReader.cxx:134 ERR| vtkDICOMImageReader (0x151709940): Couldn't open /Users/apple/Downloads/trash.dcm
Progress: 0.0%2026-04-08 21:05:48.284 ( 0.055s) [ 2E9BA]vtkDICOMImageReader.cxx:227 ERR| vtkDICOMImageReader (0x151709940): Either a filename was not specified or the specified directory does not contain any DICOM images.
2026-04-08 21:05:48.284 ( 0.055s) [ 2E9BA] vtkExecutive.cxx:730 ERR| vtkCompositeDataPipeline (0x6000001bce00): Algorithm vtkDICOMImageReader (0x151709940) returned failure for request: vtkInformation (0x6000019b04e0)
Debug: Off
Modified Time: 204
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
Progress: done
Create surface mesh with iso value = 557
Progress: 0.0%2026-04-08 21:05:48.286 ( 0.056s) [ 2E9BA] vtkMarchingCubes.cxx:428 ERR| vtkMarchingCubes (0x6000004bc2a0): Cannot contour data of dimension != 3
Progress: done
`
When using 3Shape dicom file then getting this type of error if file has few errors like
`➜ DicomToMesh git:(master) ✗ ./build/dicom2mesh/dicom2mesh -i /Users/apple/Downloads/trash.dcm -t 557 -o mesh.stl
Dicom2Mesh Settings
Input directory: /Users/apple/Downloads/trash.dcm
Output file path: mesh.stl
Surface segmentation: 557
Mesh reduction: disabled
Mesh polygon limitation: disabled
Mesh smoothing: disabled
Mesh centering: disabled
Mesh filtering: disabled
Volume cropping: disabled
Using standard DICOM loader
Read DICOM images located under /Users/apple/Downloads/trash.dcm
2026-04-08 21:05:48.284 ( 0.054s) [ 2E9BA]vtkDICOMImageReader.cxx:134 ERR| vtkDICOMImageReader (0x151709940): Couldn't open /Users/apple/Downloads/trash.dcm
Progress: 0.0%2026-04-08 21:05:48.284 ( 0.055s) [ 2E9BA]vtkDICOMImageReader.cxx:227 ERR| vtkDICOMImageReader (0x151709940): Either a filename was not specified or the specified directory does not contain any DICOM images.
2026-04-08 21:05:48.284 ( 0.055s) [ 2E9BA] vtkExecutive.cxx:730 ERR| vtkCompositeDataPipeline (0x6000001bce00): Algorithm vtkDICOMImageReader (0x151709940) returned failure for request: vtkInformation (0x6000019b04e0)
Debug: Off
Modified Time: 204
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
Progress: done
Create surface mesh with iso value = 557
Progress: 0.0%2026-04-08 21:05:48.286 ( 0.056s) [ 2E9BA] vtkMarchingCubes.cxx:428 ERR| vtkMarchingCubes (0x6000004bc2a0): Cannot contour data of dimension != 3
Progress: done
`