Illustration of image processing, MATLAB in Engineering

Assignment Help:

Illustration of Image processing:

This displays that there are 64 rows, or in another word, 64 colors, in this specific colormap. It also displays that the first five colors are shades of blue.

The format of calling the image function is as shown below:

image(mat)

here the matrix mat is a matrix which represents the colors in an m × n image. When the matrix has the size m × n, then each and every element is an index into the present colormap.

The one way to show the colors in the jet colormap (that has 64 colors) is to generate a matrix which stores the values 1 through 64, and pass that to the image function, as shown in figure.

2081_Illustration of Image processing.png

Whenever the matrix is passed to the image function, then the value in each element in matrix is used as an index into the colormap. For illustration, the value in cmap(1,2) is 9, therefore the color displayed in position(1,2) in the image will be the color presented by the ninth row in the colormap. By using numbers 1 through 64, we can see all colors in this colormap.

>> cmap = reshape(1:64, 8,8)

cmap =

1687_Illustration of Image processing1.png

 

This represents that the first colors are shades of blue, the end colors are shades of red, and in between there are shades of aqua, green, yellow, & orange.


Related Discussions:- Illustration of image processing

Sorting vectors of structures, Sorting Vectors of structures: Whenever...

Sorting Vectors of structures: Whenever working with vector of structures, it is very common to sort based on a particular field within the structures. For illustration, recal

Inverse of square matrix, Inverse of square matrix: The inverse is, he...

Inverse of square matrix: The inverse is, hence the result of multiplying the scalar 1/D by each and every element in the preceding matrix. Note that this is not the matrix A,

Illustration of graphics properties, Illustration of Graphics properties: ...

Illustration of Graphics properties: A particular property can also be exhibited, for illustration, to view the line width:     >> get(hl,'LineWidth')     ans =

Function issorted - set operations, Function issorted - set operations: ...

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

Is functions for strings, IS Functions for Strings: There are many fun...

IS Functions for Strings: There are many functions for strings, that return logical true or false. The function isletter returns the logical true when the character is a lette

Function used in sound files, Function used in sound files: The MATLAB...

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

Matrix definitions, Matrix definitions: As we know the matrix can be t...

Matrix definitions: As we know the matrix can be thought of as a table of values in which there are both rows and columns. The most common form of a matrix A (that is sometime

Algorithm for appex subfunction, Algorithm for appex subfunction: The ...

Algorithm for appex subfunction: The algorithm for appex subfunction is as shown:  Receives x & n as the input arguments.  Initializes a variable for running sum of t

Video shot boundary detection, I dont know how to input different videos o...

I dont know how to input different videos on matlab program

Simplification functions, Simplification Functions: There are numerous...

Simplification Functions: There are numerous functions which work with expressions, and simplify the terms. Not all the expressions can be simplified, but the simplify functio

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd