Documentation

This is machine translation

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

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Images

JPEG, TIFF, PNG, and other formats

Functions

im2java Convert image to Java image
imfinfo Information about graphics file
imread Read image from graphics file
imwrite Write image to graphics file

Classes

Tiff MATLAB Gateway to LibTIFF library routines

Examples and How To

Importing Images

To import data into the MATLAB® workspace from a graphics file, use the imread function.

Exporting to Images

To export data from the MATLAB workspace using one of the standard graphics file formats, use the imwrite function.

Import Images, Audio, and Video Interactively

For information on importing text files, see Select Text File Data Using Import Tool.

Import or Export a Sequence of Files

To import or export multiple files, create a control loop to process one file at a time.

Concepts

Supported File Formats for Import and Export

Table of file formats that MATLAB can read and write, and recommended functions

Was this topic helpful?