Conver DICOM (.dcm) image to JPEG (.jpg) format with bash
This tools help to batch convert .dcm files in a directory into .jpg files
prerequisite packages: dcmp2pgm (dcmtk) mogrify (imagemagick)
how to use: run convert.sh enter directory path you want to process, press enter
output filename will be the same as input filename, only with different extension