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

Home » Public Forums » archive » Color image
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: Color Image [message #64445 is a reply to message #4685] Sat, 27 December 2008 05:25 Go to previous messageGo to previous message
justspam03 is currently offline  justspam03
Messages: 36
Registered: October 2003
Member
Hi Silvia,

if you want it a bit more comfortable, I could offer you a library of
IDL objects.
It's not published yet, as it's still beta status, but the parts you'd
need should be ok.

You'd have a display for the image, a second to display the color<-
> value coding as well as
zooming, panning, center/width change and a pixellense. The code would
look something like this:

base = widget_base(....)
display = obj_new('LLDisplay', base, 512, 512 )
contrast = obj_new('LLContrast', base )
zoom = obj_new('LLZoom')
pan = obj_new('LLPan')
pixellense = obj_new('LLPixelLense')

pan->selfregister, display, button=1
zoom->selfregister, display, button=2
contrast->selfregister, display, button=3
pixellense->selfregister, display, togglekey='p

img = ptr_new( intarr(256, 256), /no_copy )
display->setImg, img
display->display


An old version of the lib and documentation is available @
http://www.jubileum.lu.se/mrphysics/software/lib/index.htm

Let me know whether you're interested and I'll send you a copy
of the latest version.

Cheers
Oliver


The


On Dec 26, 6:01 pm, silviad...@gmail.com wrote:
> Hallo! I must display a color image, in which pixel values are
> displayed with a color between yellow, green,red and blue, on the
> basis of their value.
> How i can do that?
> Thenk you very much.
> Silvia
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Color Image
Next Topic: What is the simplest way to communicate between IDL and MATLAB?

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

Current Time: Sat Oct 11 14:04:52 PDT 2025

Total time taken to generate the page: 0.16032 seconds