Skip to content

lzhang30/aligning_nifti2dicom_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

aligning_nifti2dicom_python

Aligning Nifti data to Dicom

Here is a script to align NIfTI files slice by slice with DICOM slices in Python.

As is well known, DICOM and NIfTI, two formats for radiological images, have different coordinate systems, making it challenging to display them properly.

This script addresses this issue by reading the data from the NIfTI file and retrieving the corresponding data for each DICOM slice.

Note that the original purpose of this script was to align the NIfTI slices generated by TotalSegmentor with the corresponding original DICOM slices.

Thanks to this blog for the help it provided me.

About

Aligning Nifti data to Dicom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages