Function imread - image processing, MATLAB in Engineering

function imread:

The function imread can read an image file, for illustration a JPEG (.jpg) file. The function reads color images into a 3-dimensional matrix.

>> myimage1 = imread('Fishing_1.JPG');

>> size(myimage1)

ans =

1536 2048 3

In this situation, the image is presented as true color matrix. This points that the image consists 1536 × 2048 pixels. The image can be altered by manipulating the numbers in the matrix. For illustration, multiplying each number by 0.75 will result in a range of values from 0 to 191 rather than from 0 to 255.

>> dimmer = 0.75*myimage1;

>> image(dimmer)


Posted Date: 10/22/2012 8:39:47 AM | Location : United States







Related Discussions:- Function imread - image processing, Assignment Help, Ask Question on Function imread - image processing, Get Answer, Expert's Help, Function imread - image processing Discussions

Write discussion on Function imread - image processing
Your posts are moderated
Related Questions
Graphics Properties: The MATLAB uses the Handle Graphics in all its figures. All figures consist of various objects, each of which is assigned a handle. The object handle is a

True color matrice: The true color matrices are the other way to represent images. The true color matrices are 3-dimensional matrices. The first two coordinates are the coordi

Structures: The Structures are data structures which group together values which are logically related in what are known as the fields of structure. The benefit of structures

Use of built-in colormaps: MATLAB has built-in colormaps, it is also possible to generate others by using combinations of any colors. For illustration, the following generates

Function used in sound files: The MATLAB has numerous other functions which let you read and play sound or audio files. In the audio files, sampled data for each audio channel

Example of Interpolation and extrapolation: The MATLAB has a function to do this, known as polyfit. The function polyfit finds the coefficients of the polynomial of the partic

Function call: In the function call, not any arguments are passed so there are no input arguments in the function header. The function returns an output argument, therefore th

Finding products by for loop: an illustration, when 5 is passed to be the value of the input argument n, the function will compute and return 1 + 2 + 3 + 4 + 5, or 15: >> s

Function issorted - set operations: The function issorted will return 1 for logical true when the argument is sorted in ascending order (minimum to maximum), or 0 for false wh

Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who