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 #1196 is a reply to message #1195] Fri, 02 July 1993 05:48 Go to previous message
add is currently offline  add
Messages: 3
Registered: May 1993
Junior Member
In article <1993Jul1.151614.13789@ousrvr.oulu.fi>, martin@phoenix.oulu.fi
(Martin Black) wrote:
>
> 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


How about just grabbing a slice of your image into another
variable. Ex,

IDL>help,img
IMG FLOAT = Array(512,512)
IDL>slice=img(*,128)
IDL>plot,slice

This will give you a plot of all of the 'x' values in line
128 (center line) of your image.

You could now write a very simple procedure to do this
using the CURSOR command to determine either the 'x' or 'y'
line you would like to plot.


\ | /
Al Ducharme \|/
--------------------------------------------------------*---
/|\

"Science is a cruel mistress!" / | \
-Unknown
[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: Wed Oct 08 18:58:46 PDT 2025

Total time taken to generate the page: 0.00439 seconds