comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: coloring- pixel
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: coloring- pixel [message #70926] Fri, 21 May 2010 14:29 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On May 21, 11:26 am, afzal <afzal....@gmail.com> wrote:
> is anybody help me to give different colors to different pixels in an
> image

You don't give much information.

You probably want some steps like this, assuming you have a byte
intensity map called MAP.

device, decomposed=0 ;; Use color table mode

loadct, 14 ;; Pick the color table you wish, 14 is an example

tv, map ;; Display the image with the color table you chose


If you have a non-byte map, then you will want to use TVSCL. There
are better procedures for making labeled images like TVIMAGE,
PLOTIMAGE, or IMDISP, which you can try when you understand color
better.

Good luck,
Craig
[Message index]
 
Read Message
Read Message
Previous Topic: Re: PS file is huge!
Next Topic: hieghlighting pixel

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:55:36 PDT 2025

Total time taken to generate the page: 0.96033 seconds