Converting DICOM images into JPG Format in Centos
I wanted to work with medical image classification using Deep learning. The Image data set was .dcm format. So to convert the images to jpg format
following steps have performed.
Used ImageMagick software. http://www.ofzenandcomputing.com/batch-convert-image-formats-imagemagick/
Installed ImageMagick in Centos by downloading the rom and installing its libraries :
rpm -Uvh ImageMagick-libs-7.0.7-10.x86_64.rpm
rpm -Uvh ImageMagick-7.0.7-10.x86_64.rpm
After installation the the image which is to be converted is pointed in directory. Inside the directory executed the command:
mogrify -format jpg *.dcm
Now dcm image is converted to JPG format.
I wanted to work with medical image classification using Deep learning. The Image data set was .dcm format. So to convert the images to jpg format
following steps have performed.
Used ImageMagick software. http://www.ofzenandcomputing.com/batch-convert-image-formats-imagemagick/
Installed ImageMagick in Centos by downloading the rom and installing its libraries :
rpm -Uvh ImageMagick-libs-7.0.7-10.x86_64.rpm
rpm -Uvh ImageMagick-7.0.7-10.x86_64.rpm
After installation the the image which is to be converted is pointed in directory. Inside the directory executed the command:
mogrify -format jpg *.dcm
Now dcm image is converted to JPG format.
Comments
Post a Comment