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

Home » Public Forums » archive » Re: IDL Average Value Graphs
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: IDL Average Value Graphs [message #61411] Tue, 15 July 2008 14:11 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
andybohn@gmail.com wrote:
> Hello, I was wondering if IDL has any built-in methods for two similar
> things.
> 1. Basically cut the image like a pizza (for a variable number of
> slices) and average the values in each slice to create a plot of
> average pixel value as a function of angle
> 2. Do the same thing, but plot the average pixel value as a function
> of radius, (concentric circles).
>
> I was going to write my own method, but it would be complicated
> converting angled lines or circles into pixels.
>
> Thanks a lot, Andy

have a look at POLYFILLV .... it will tell you which pixels are within a
polygon.

Then, download a function to create "pies" ... I have my own
http://www.ucalgary.ca/~jghasban/pie.pro ... but there is such function
in most downloadable libraries.

So, basically, you would create the pies, get the coordinates of the
pixels within and then do your maths!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLgrAxis set TICKVALUES in specific positions
Next Topic: Re: widget_problem

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

Current Time: Fri Oct 10 01:48:09 PDT 2025

Total time taken to generate the page: 0.88118 seconds