Hi, all:
I'm trying to display how DICOM images look like.
1) I downloaded some sample images from
http://www.osirix-viewer.com/datasets/
after extraction, in each subfolder, there are a bunch of .dcm files, but I can't see the contents of the thumbnails.
2) I installed some free DICOM image viewers directly from Ubuntu 14.04's repository.
However, none of those .dcm files can be opened and viewed.
Can anybody give me a hand please?
Cheers
Pei
Can you view those .dcm files downloaded from osirix?
Moderator: Moderator Team
Can you view those .dcm files downloaded from osirix?
Welcome to Longer Vision
https://www.longervision.com/
https://www.longervision.com/
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Can you view those .dcm files downloaded from osirix?
DCMTK does not contain any ready-to-use DICOM viewer, but a command line tool that can convert most valid DICOM images to JPEG (as long as the DICOM dataset is uncompressed), and tools to uncompress several types of compression. Perhaps you start with
If the image is grayscale with more than 8 bits/pixel, the following option often works well:
If you receive errors about the DICOM image being in the wrong transfer syntax (i.e. being compressed),
you can try one of the decompressor tools such as dcmdrle (for RLE), dcmdjpeg (for JPEG), dcmdjpls (for JPEG-LS) or dcmconv (for Deflate),
and then try dcmj2pnm.
Code: Select all
dcmj2pnm --verbose --write-jpeg filename.dcm filename.jpg
Code: Select all
dcmj2pnm --verbose --write-jpeg --min-max-window filename.dcm filename.jpg
you can try one of the decompressor tools such as dcmdrle (for RLE), dcmdjpeg (for JPEG), dcmdjpls (for JPEG-LS) or dcmconv (for Deflate),
and then try dcmj2pnm.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest