Medical Image Reader and Viewer

A toolbox to handle reading, viewing, and writing dicom images, supporting simultaneous PET/MR
7K Downloads
Updated 23 Mar 2018

View License

This toolbox can read and write medical imaging data in dicom format with the 'readImages' function. The output of this function is a structure containing attributes of the image or volume. This structure can then be used as input into other functions in the toolbox.
This toolbox supports:
- reading and writing of dicom data
- mapping of volume voxel locations
- oblique slice alignment and registration
- manual 3D image rotation
- selecting and extracting single voxel coordinates
- drawing 2D or 3D region-of-interest masks
- coregistered image viewing supports PET/CT and PET/MR

Syntax:
CT = readImages([CT_ImageDirectoryPath]);
PET = readImages([PET_ImageDirectoryPath]);
VolumeViewer3D(CT,PET)
VolumeViewer3D(CT,PET,'align','trim')
coords = VolumeViewer3D(PET,CT,'getCoords');
mask = VolumeViewer3D(PET,CT,'drawROI');

Cite As

Josh Schaefferkoetter (2024). Medical Image Reader and Viewer (https://www.mathworks.com/matlabcentral/fileexchange/53745-medical-image-reader-and-viewer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

html/

Version Published Release Notes
3.83.0.0

fixed high DPI display bug

3.82.0.0

bug with reading dicom

3.81.0.0

small bug with writing dicom

3.21.0.0

improved input handling

3.11.0.0

housekeeping

3.9

Version check for high DPI displays

3.8.0.0

fixed bug for reading dicom files with no extension

3.7.1.0

performance tweaks

3.7.0.0

updated examples

3.6.0.0

faster image coregistration

3.5.0.0

minor improvements

3.4.0.0

incomplete filename bug fix

3.3.0.0

ability to combine 2D and 3D, and volume and mask inputs

3.2.0.0

improved input and error handling
UI formatted for high DPI displays

3.1.0.0

corrected dicom tag writing
updated examples
updated examples

3.0.0.0

Ability to draw and output 2D or 3D mask

2.11.0.0

output structure initialization

2.1.0.0

modified coregistration

2.0.1.0

GE and Philips series naming convention bug fix

2.0.0.0

minor tweaks

1.9.0.0

fixed smoothing functionality

1.8.0.0

small bug fix

1.7.0.0

minor tweaks and enhancements

1.6.0.0

updated examples

1.5.0.0

faster and more accurate interpolation

1.4.0.0

performance improvements

1.3.0.0

bug fixes

1.2.0.0

improved handling of large image matrices

1.1.0.0

faster and more efficient memory handling

1.0.0.0