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
Square Matrices: If a matrix has similar number of rows and columns, for illustration, if m == n, the matrix is square matrix. The definitions which follow in this part apply

Algorithm for the function explaine: The algorithm for the function explaine is as shown:  Print a description of e, the exp function, and how to find the approximate va

Passing Structures to Functions: The whole structure can be passed to a function, or separate fields can be passed. For illustration, here are the two distinct versions of a f

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

FOR Loop: The for loop, or the for statement, is used whenever it is essential to repeat statement(s) in the script or function, and whenever it is known ahead of time how man

Gauss Elimination: The Gauss elimination technique consists of:    Generating the augmented matrix [A b]    Applying EROs to augmented matrix to obtain an upper trian

Function iscellstr - string function: The function iscellstr will return the logical true when a cell array is a cell array of all the strings, or logical false if not. >>

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

Plotting from a Function: The following function creates a Figure Window as shown in figure, which shows various types of plots for similar y vector. The vector is passed as a

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati