Read and Write Image Data from Files
Image Processing Toolbox™ enables you to read and write image files in many common file formats including BMP, GIF, JPEG, PNG, and TIFF. The toolbox supports reading and writing medical file formats including DICOM, NIfTI, and Analyze 7.5. The toolbox also supports reading RAW file formats. You can also work with images in specialized file formats, including NITF, DPX, and Interfile.
Apps
DICOM Browser | Explore collection of DICOM files |
Functions
Topics
Read and Write Standard Graphics Files
- Image Types in the Toolbox
Image types determine how MATLAB® interprets data matrix elements as pixel intensity values. The toolbox supports many image types including binary, grayscale, truecolor, multispectral, and label images.
Work with RAW Files
- Implement Digital Camera Processing Pipeline
This example shows how to implement a camera processing pipeline that renders an RGB image from a RAW Bayer-pattern color filter array (CFA) image.
Work with DICOM and Other Medical Files
- DICOM Support in Image Processing Toolbox
The Digital Imaging and Communications in Medicine (DICOM) Standard facilitates access to image data and files across medical imaging equipment.
- Mayo Analyze 7.5 Files
Analyze 7.5 is a file format, developed by the Mayo Clinic, for storing MRI data. - Interfile Files
Interfile is a file format that was developed for the exchange of nuclear medicine image data. - Import and Spatial Referencing (Medical Imaging Toolbox)
Read images and spatial metadata from medical imaging file formats