Code covered by the BSD License  

Highlights from
pseudocolor image processing

5.0

5.0 | 1 rating Rate this file 26 Downloads (last 30 days) File Size: 28.2 KB File ID: #28355
image thumbnail

pseudocolor image processing

by

 

pseudocolor image processing

| Watch this File

File Information
Description

the program is for pseudocolor image processing, it can convert a grayscale image to color. The color may not be accurate but quite useful for certain applications.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
11 May 2012 Deepak Kumar Rout

lina
you have to make small modification in my program
after the 'for' loops start make changes to the 'if' loops below and replace

if (y(i,j)>= 0) && (y(i,j)< 18)
x(i,j,1)=0;
x(i,j,2)=0;
x(i,j,3)=0;
elseif (y(i,j)>= 18) && (y(i,j)< 36)
x(i,j,1)=237;
x(i,j,2)=27;
x(i,j,3)=36;

with your desired gray level values and you will get the desired result

08 May 2012 lina

Hi,how if I want to assign the grayimage into four different RGB color, let say respectively 0~63, 64~127, 128~191, 192~255 become blue(001),magenta(101),green(010),and red(100). thanks

09 Aug 2010 Debaraj Rana

excellent,nice work

Contact us