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

Home » Public Forums » archive » Re: Catch the area outside a contour
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: Catch the area outside a contour [message #44099] Sat, 21 May 2005 06:33 Go to previous message
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
James wrote:
> Hi Folks !
>
> Can anyone help me with the following problem. For example, there is an
> area
> of the image withing some contour level. How to determine and get
> parameters for a region otside that contour level withing the next N
> pixels ?
> Is there any IDL procedure/function for that ?
>
> Thanks in advance,
> James

You can get the X/Y coordinates of a contour levels with the PATH_INFO
keyword (and a few others). If you then want a fixed area outside this
you need to either

1. Use an IDL built in function (whose name I can't remember) which
'expands' an area by a fixed amount (then subtract the original)

or.

2. Draw the new path yourself. This would involve something like finding
the local normal at each point along the path. Calculate the path length
of the contour, expand along the the local normal to get the desired area.

Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: converting floats to doubles
Next Topic: GUI strategy advice needed

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

Current Time: Wed Oct 08 11:42:04 PDT 2025

Total time taken to generate the page: 0.00383 seconds