Is there a way to open DICOM files?
I have done an RMI scan, and I wonder if it’s possible to open DICOM files, to see it. Ubuntu recommended I install ImageJ, but that didn’t decode it or whatever.
A friend of mine opened it with Photoshop and seems like it worked, but I need a program I can easily use on Ubuntu.
All available from Ubuntu software center:
-
sudo apt install dicomscope
DICOMscope is a free DICOM viewer which can display uncompressed, monochrome DICOM images from all modalities and which supports monitor calibration according to DICOM part 14 as well as presentation states. DICOMscope offers a print client (DICOM Basic Grayscale Print Management) which also implements the optional Presentation LUT SOP Class. The development of this prototype was commissioned by the “Committee for the Advancement of DICOM” and demonstrated at the European Congress of Radiology ECR 1999. An enhanced version was developed for the “DICOM Display Consistency Demonstration” at RSNA InfoRAD 1999. The current release 3.5.1 has been demonstrated at ECR 2001 and contains numerous extensions, including a print server, support for encrypted DICOM communication, digital signatures and structured reporting.
-
sudo apt install ginkgocadx
Ginkgo CADx is an advanced DICOM viewer and dicomizer (converts png, jpeg, bmp, pdf, tiff to DICOM).
-
sudo apt install aeskulap
Aeskulap is a medical image viewer.
It is able to load a series of special images stored in the DICOM format for review. Additionally Aeskulap is able to query and fetch DICOM images from archive nodes (also called PACS) over the network.
The goal of this project is to create a full open source replacement for commercially available DICOM viewers.
Aeskulap is based on gtkmm, glademm and gconfmm and designed to run under Linux. Ports of these packages are available for different platforms. It should be quite easy to port Aeskulap to any platform were these packages are available.
GIMP
You can also just use GIMP (GNU Image Manipulation Program) to open DICOM images.
Weasis (on Flathub)
From all viewers I tested, I liked Weasis the most.
It is cross-platform, has lots of features (measurement, 2D/3D view, etc.) and works just fine.
Here are the main features:
- Display all kinds of DICOM files (including multi-frame, enhanced, MPEG-2, MPEG-4, MIME Encapsulation, SR, PR, KOS, AU, RT and ECG)
- Viewer for common image formats (TIFF, BMP, GIF, JPEG, PNG, RAS, HDR, and PNM)
- Image manipulation (pan, zoom, windowing, presets, rotation, flip, scroll, crosshair, filtering…)
- Layouts for comparing series or studies
- Advanced series synchronization options
- Display Presentation States (GSPS) and Key Object Selection
- Create key images (Key Object Selection object) by selection
- Support of Modality LUTs, VOI LUTs, and Presentation LUTs (even non-linear)
- Support of several screens with different calibration, support of HiDPI (High Dots Per Inch) monitors, full-screen mode
- Multiplanar reconstructions and Maximum Intensity Projection
- Display Structured Reports
- Display and search into all DICOM attributes
- Display cross-lines
- Measurement and annotation tools
- Region statistics of pixels (Min, Max, Mean, StDev, Skewness, Kurtosis, Entropy)
- Histogram of modality values
- SUV measurement
- Save measurements and annotations in DICOM PR or XML file
- Import CD/DVD and local DICOM files
- Export DICOM with several options (DICOMDIR, ZIP, ISO image file with Weasis, TIFF, JPEG, PNG…)
- Magnifier glass
- Native and DICOM printing
- Read DICOM image containing float or double data (Parametric Map)
- DICOM ECG Viewer
Aliza (on Flathub)
It has free version and non-free version. The source code of the free version is hosted in GitHub.
You can also check this link to find out more options, 16 Best Free Linux Medical Imaging Software
InVesalius (on GitGub & Flathub)
3D medical imaging reconstruction software.
InVesalius generates 3D medical imaging reconstructions based on a sequence of 2D DICOM files acquired with CT or MRI equipments. InVesalius is internationalized (currently available in English, Portuguese, French, German, Spanish, Catalan, Romanian, Korean, Italian and Czech), multi-platform (GNU Linux, Windows and MacOS) and provides several tools:
- DICOM-support including: (a) ACR-NEMA version 1 and 2; (b) DICOM version 3.0 (including various encodings of JPEG -lossless and lossy-, RLE)
- Support to Analyze files
- Support to BMP, PNG, JPEG and TIF files
- Image manipulation facilities (zoom, pan, rotation, brightness/contrast, etc)
- Segmentation based on 2D slices
- Pre-defined threshold ranges according to tissue of interest
- Segmentation based on watershed
- Edition tools (similar to Paint Brush) based on 2D slices
- Linear and angular measurement tool
- Volume reorientation tool
- 3D surface creation
- 3D surface volume measurement
- 3D surface connectivity tools
- 3D surface exportation (including: binary and ASCII STL, PLY, OBJ, VRML, Inventor)
- High-quality volume rendering projection
- Pre-defined volume rendering presets
- Volume rendering crop plane
- Picture exportation (including: BMP, TIFF, JPG, PostScript, POV-Ray)
pydicom, to manipulate DICOM files with Python.
pydicom is a pure Python package for working with DICOM files. It lets you read, modify and write DICOM data in an easy "pythonic" way.
Amide may help:
sudo apt install amide
amide
On a whim I tried the ImageMagick convert
command, and it worked like a charm:
convert IMG00001.dcm IMG00001.png
or to jpeg:
convert IMG00001.dcm IMG00001.jpg
I have not played around with resizing or any ImageMagick filters, as the simple convert
did all I wanted it to.
Granted, this may not be useful as other dicom viewers (answered by others here) have different tools available for examining or measuring things on the images. If you only want to open and look at the raw photos – eg, of a personal exam – then a simple batch convert may work for you:
find path/to/folder -type f -name "*.dcm" -exec convert {} {}.png ;