Matlab Image Types

May 7th, 2010 No Comments   Posted in Documents

Indexed Images

An indexed image consists of a data matrix, X, and a colormap matrix, map. map is an m-by-3 array of class double containing floating-point values in the range [0, 1]. Each row of map specifies the red, green, and blue components of a single color. An indexed image uses “direct mapping” of pixel values to colormap values. The color of each image pixel is determined by using the corresponding value of X as an index into map. Values of X therefore must be integers. The value 1 points to the first row in map, the value 2 points to the second row, and so on. Display an indexed image with the statements Read More

Working with Images in MATLAB Graphics

May 7th, 2010 No Comments   Posted in Documents

What Is Image Data?

The basic MATLAB data structure is the array, an ordered set of real or complex elements. An array is naturally suited to the representation of images, real-valued, ordered sets of color or intensity data. (An array is suited for complex-valued images.) Read More

Displaying Graphics Images

April 29th, 2010 No Comments   Posted in Documents

Image Types and Display Methods

To display a graphics file image, use either image or imagesc. For example, assuming RGB is an image, Read More

Reading, Writing, and Querying Graphics Image Files

April 29th, 2010 No Comments   Posted in Documents

Working with Image Formats

In its native form, a graphics file format image is not stored as a MATLAB matrix, or even necessarily as a matrix. Most graphics files begin with a header containing format-specific information tags, and continue with bitmap data that can be read as a continuous stream. For this reason, you cannot use the standard MATLAB I/O commands load and save to read and write a graphics file format image. Read More

Matlab Annotation Objects and Example

April 25th, 2010 No Comments   Posted in Documents

Users typically create annotation objects from the Plot Edit toolbar or the Insert menu (select Plot Edit in the View menu to display the Plot Edit toolbar). However, you can also create annotation objects using the annotation function. Read More

Matlab Plot Objects

April 25th, 2010 1 Comment   Posted in Documents

A number of high-level plotting functions create plot objects. The properties of plot objects provide easy access to the important properties of the core graphics objects that the plot objects contain. Read More