Built-in colormaps - image processing, MATLAB in Engineering

Built-in colormaps:

The MATLAB has numerous built-in colormaps which are named; the reference page on colormap shows them. Calling the function colormap without passing any arguments will return the present colormap that by default is one known as the jet.

The following stores the present colormap in a variable map, gets the size of the matrix (that will be the number of rows in this matrix, or in another word the quantity of colors, by 3 columns), and shows the first five rows in this colormap. If the present colormap is the default jet, then this will be the outcome:

>> map = colormap;

>> [r c] = size(map)

r =

       64

c =

       3

>> map(1:5,:)

ans =

0   0   0.5625

0   0   0.6250

0   0   0.6875

0   0   0.7500

0   0   0.8125

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







Related Discussions:- Built-in colormaps - image processing, Assignment Help, Ask Question on Built-in colormaps - image processing, Get Answer, Expert's Help, Built-in colormaps - image processing Discussions

Write discussion on Built-in colormaps - image processing
Your posts are moderated
Related Questions
Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Matrix Multiplication: The Matrix multiplication does not mean multiplying term by term; and it is not an array operation. The Matrix multiplication has a very particular mean

Replacement : Replace a row by adding it to (or subtract from it) a multiple of the other row. For a given row ri, this is written as   ri  - srj →  ri Note that when r

Forward substitution: The Forward substitution (done methodically by first getting a 0 in the a 21 place, and then a 31 , and lastly a 32 ): For the Gauss technique,

Algorithm for the function e: The algorithm for the function eoption is as shown: Use the menu function to show the 4 choices. Error-check (an error would take place

Replacing, Finding, and separating strings: There are numerous functions which find and replace the strings, or parts of strings, within the other strings and functions which

printrectarea function: function call: printrectarea(length, width) function header: function printrectarea(len, wid)   In the function call, there are two argume

Gauss, Gauss-Jordan elimination: For 2 × 2 systems of equations, there are well-defined, easy solution techniques. Though, for the larger systems of equations, finding solutio

For Loops which do not use an iterator Variable in the action: In all the illustrations that we seen so far, the value of the loop variable has been used in same way in the ac