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
Example to change the line width from the default: For illustration, to change the line width from the default of 0.5 to 1.5: >> set(hl,'LineWidth',1.5) As long as the

Basic mathematical operations: All the basic mathematical operations can be executed on symbolic expressions and variables (example, add, raise to a power, multiply, subtract,

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

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression

Matrix operations: There are some common operations on matrices. The operators which are applied term by term, implying that the matrices should be of similar size, sometimes

Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper

Appending variables to the Mat-File: Appending to the file adds to what has been saved in a file, and is accomplished by using the -append option. For illustration, supposing

Evaluating a string: The function eval is used to compute a string as a function. For illustration, below is the string 'plot(x)'is interpreted to be a call to plot the functi

Reading from a Mat-File: The load function is used to read from various types of files. As with save function, by default the file will be supposed to be a MAT-file, and load