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

Home » Public Forums » archive » Re: Extracting image profile?
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: Extracting image profile? [message #1190 is a reply to message #1179] Fri, 02 July 1993 07:37 Go to previous messageGo to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <1993Jul1.151614.13789@ousrvr.oulu.fi> martin@phoenix.oulu.fi (Martin Black) writes:
> Being a fairly novice IDL user, I haven't been able to figure out how
> to extract an arbitrary profile of data values (as opposed to pixel values)
> from an image. The routine PROFILE returns pixel values (i.e., numbers in
> the range 0-255), but what I want is the actual values of the underlying
> data. Can anyone help me out?
>
> Thanks,
> Martin Black
> martin@hiisi.oulu.fi

In general once you display an image on the screen you have lost the
information about the underlying data, and so you can only retrieve the
screen data values.

I have written a routine called IMG_SCL which is like TVSCL but does the
following:

- By default it zooms and centers the image to maximally fill the
window.

- One can specify the minimum and maximum values (i.e. black and white
values)

- One can explictly set zoom values in X and Y and centering
information.

- It copies the input ("raw data") to a common block where my own
version of a routine like PROFILE can get at it. Then when I extract
profiles I can get back the original "RAW" data values, not just the
screen pixel values.

- It allows zooming by pixel replication or by interpolation.

If interested I can mail you the required routines.


--
Mark Rivers (516) 282-7708 or 5626
Building 815 rivers@bnlx26.nsls.bnl.gov (Internet)
Brookhaven National Laboratory rivers@bnl (Bitnet)
Upton, NY 11973 BNLX26::RIVERS (Physnet)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL/PV-WAVE strengths/weaknesses
Next Topic: Re: Help Me!!

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

Current Time: Fri Oct 10 11:22:39 PDT 2025

Total time taken to generate the page: 0.55927 seconds