FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2003, 11:56 PM
Nithin
Guest
 
Posts: n/a
Default Matlab function for color palatte

Hi

I would like to know if there is a MATLAb function (may be in the
image processing toolbox)to apply a specific (custmized) color palatte
to an image.

Eg:If i have to apply a color paltte
P=[2 30 55;30 49 60;23 155 230]; where the 3 coloumns represent the
possible values for R,G and B respectively.

It may be seen as forced color reduction. In this example instead of
having anumber of values for red i want to restrict it to 3 values -
2,30 and 23. Similarly for G and B. and thsu reduce the colors in the
image.

...This is just an example to explain my problem.

One way is to write code in MATLAB to chk the RGB values of each pixel
and replace it with the nearest value in the required color
palatte(P). But i want to know if a function exists in MATLAB to do
this.

Thanks
Nithin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Model Sim: Color Printing JT FPGA 2 02-03-2005 06:14 AM
Color STN LCD controller Anders Hellerup Madsen FPGA 4 11-17-2003 12:10 PM
transfer function confusion and MATLAB Parlous DSP 0 08-14-2003 06:02 PM
transfer function confusion and MATLAB Parlous DSP 0 08-13-2003 05:09 PM


All times are GMT +1. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved