I would be grateful is someone can confirm if can use ImageMagick to convert from DICOM to DICOM and crop framedata at the same time ?
Thanks you!
Modifying DICOM files on the fly.
Re: Modifying DICOM files on the fly.
ImageMagick supports reading the DICOM format, but does not write it.
Re: Modifying DICOM files on the fly.
Magick,
Would it be possible to somehow get IM to convert the pixel data anyway? If I were to feed a DICOM file for reading, then ignoring all the dicom tags, just get the pixel data out... Could that work? I of course would need to take care of generating the DICOM headers for he output file myself.
Thanks!
Would it be possible to somehow get IM to convert the pixel data anyway? If I were to feed a DICOM file for reading, then ignoring all the dicom tags, just get the pixel data out... Could that work? I of course would need to take care of generating the DICOM headers for he output file myself.
Thanks!
Re: Modifying DICOM files on the fly.
From the command line you can create RAW RGB files with the RGB raw image format:
- convert image.dcm rgb:image.rgb