Skip to content

maliasadi/dicom_convertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DICOM Convertor

A python script to convert BMP files to DICOM.

How To Use?

$ python3 dicom_convertor.py
TRY	 $ python dicom_convertor.py [0 => pydicom, 1 => dcmtl] [directory_path]

To use pydicom: converting lena.bmp to lena.dcm, try

$ python3 dicom_convertor.py 0 .
RUN	 pydicom...
DONE	 ./Image00001_lena.dcm

To use dcmtl: converting lena.bmp to lena.dcm, try

$ python3 dicom_convertor.py 1 .
RUN	 dcmtl...
DONE	 ./Image00001_lena.dcm

References

  1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3354356/
  2. https://pydicom.github.io/
  3. https://support.dcmtk.org/docs/img2dcm.html

About

A python script to convert BMP files to DICOM.

Topics

Resources

Stars

Watchers

Forks

Languages