| Dicom2jpeg |
|
Dicom2Jpeg is an open source application that converts Dicom files to jpeg or to movies. The source code of Dicom2Jpeg is available as an example with the open source dicom library Imebra.
To convert dicom files into movies this application needs the open source program ffmpeg, available for Windows and linux platforms.
Usage dicom2jpeg dicomFileName jpegFileName [-ffmpeg mpegPath [mpegOptions]]
Examples The following command converts a dicom file named "input.dcm" to a jpeg file named "output.jpg". If the file output.jpg already exists then it will be overwritten. dicom2jpeg input.dcm output.jpg The following code converts a multiframe file named "multiframe.dcm" to several jpeg files named "output.jpg", "output1.jpg", "output2.jpg", ..., "outputN.jpg" (N=number of frames-1) dicom2jpeg multiframe.dcm output.jpg The following command converts a multiframe file named "multiframe.dcm" to a swf movie named "movie.swf". dicom2jpeg multiframe.dcm output.jpg -ffmpeg ffmpeg.exe movie.swf |
|
| Last Updated ( Monday, 07 September 2009 ) |