This code visualizes the axial, sagittal and coronal planes using Mayavi of DICOM data. The code used the Volume slicer example as part of the documentation of Mayavi. Basically, the volume is read from a DICOMDIR file. It is necessary the installation as
pip install mayavi
and that's it.
At beginning of the script, there is a path in my local machine for the DICOMDIR (the filepath
variable). This code considers only the 1st series & 1st study (just for testing purposes), the ideal is select the serie/study that you want.
The colormap is not working properly