This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Read and Write Image Data from Files

Read and write image data from files, get information about contents of image files


imread Read image from graphics file
imwrite Write image to graphics file
imfinfo Information about graphics file
nitfinfo Read metadata from National Imagery Transmission Format (NITF) file
nitfread Read image from NITF file
dpxinfo Read metadata from DPX file
dpxread Read DPX image
analyze75info Read metadata from header file of Analyze 7.5 data set
analyze75read Read image data from image file of Analyze 7.5 data set
interfileinfo Read metadata from Interfile file
interfileread Read images in Interfile format

Examples and How To

Read Image Data into the Workspace

This example shows how to read image data from a graphics file into the workspace using theimread function.

Read Multiple Images from a Single Graphics File

This example shows how to read multiple images from a single graphics file using the imread function.

Read and Write 1-Bit Binary Images

This example shows how to read and write 1-bit binary images using the imread and imwrite functions.

Write Image Data to File in Graphics Format

This example shows how to write image data from the workspace to a file using theimwrite function.

Determine Storage Class of Output Files

This table describes rules for determining the storage class of the output image.

Getting Information About Graphics Files

To read the metadata contained in a graphics file, use the imfinfo function.

Perform an Operation on a Sequence of Images

This example shows how to perform an operation on a sequence of images.


Images in MATLAB

Learn how images are represented in MATLAB® and Image Processing Toolbox™ software.

Image Types in the Toolbox

The Image Processing Toolbox software supports four fundamental image types: binary, indexed, grayscale, and truecolor.

What Is an Image Sequence?

An image sequence is a collection of images related by time, such as frames in a movie, or by spatial location, such as magnetic resonance imaging (MRI) slices.

Toolbox Functions That Work with Image Sequences

Learn the guidelines for using Image Processing Toolbox functions to process image sequences.

Mayo Analyze 7.5 Files

Learn how MATLAB supports the Analyze 7.5 file format for MRI data.

Interfile Files

Learn how MATLAB supports the Interfile file format for nuclear medicine image data.

Was this topic helpful?