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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: coloring- pixel [message #70926] Fri, 21 May 2010 14:29 Go to next 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
Re: coloring- pixel [message #71101 is a reply to message #70926] Wed, 26 May 2010 21:52 Go to previous message
afzal is currently offline  afzal
Messages: 8
Registered: February 2010
Junior Member
On May 22, 2:29 am, Craig Markwardt <craig.markwa...@gmail.com> wrote:
> 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


actually i want to highlight some points(pixels) of binary image with
some color(eg:-red)
thanking you
afzal
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: PS file is huge!
Next Topic: hieghlighting pixel

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

Current Time: Wed Oct 08 15:47:17 PDT 2025

Total time taken to generate the page: 0.00367 seconds