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

Home » Public Forums » archive » Re: Using contour procedure to extract specific regions
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: Using contour procedure to extract specific regions [message #71951 is a reply to message #71947] Wed, 28 July 2010 04:52 Go to previous message
S. Murray is currently offline  S. Murray
Messages: 6
Registered: July 2010
Junior Member
On Jul 28, 12:41 pm, "S. Murray" <murray_sop...@hotmail.com> wrote:
> I have a data array of an inclination angle, ranging from 0 to
> 180degrees, which when I plot an image of it shows about 3 specific
> regions that are greater than 130degrees. They basically look like
> 'blobs' on the image map. I need to specifically analyse one of the
> '130degree contour' blobs, not every single region picked out by
> simply contouring at level = 130. I will be analysing this specific
> location, taking averages, min, max, etc, in order to track it's
> changes over several different scans (I'm just looking at the first
> one for the moment). Also will need to plot images of it contoured on
> it's own on the map, rather than having everything else contoured as
> well. I am becoming very confused about how to go about it!
>
> First I thought I would try to look at it with all areas above
> 130degrees, and if that worked I could move onto more specific
> locations:
>
> thresh= data GE 130
> pmm,data*(thresh)
>      0.00000      174.172
>
> So, the result goes from 0 to 174, including the now '0' value area
> and that would be useless if I want to average the specific regions.
> So I abandoned this route.
>
Actaully, I just realised what I was doing wrong here (quite obvious
now I see). If I just 'pmm,data > 130' that'll show me the values. But
I am still unaware how to extract a region with the contouring
below...

> Then, I was reading this page:http://www.dfanning.com/map_tips/contoshape.html
> , and from that gathered that my first 'step' should be:
>
> contour, data,level=130,PATH_INFO=info, PATH_XY=xy, XSTYLE=1,
> YSTYLE=1,/PATH_DATA_COORDS
>
> But, after reading the 'contour.pro' explanation on the IDL webpage, I
> still dont understand exactly what is contained within path_info etc
> to know what to do next! How do I create image plots with these
> outputs like the one on the webpage?
>
> Basically, I need to figure out how do I use this information to
> 'segment' my data, and thus can plot a new image with just this region
> and also analyse it, but I'm stumped at this point and not sure which
> direction to take. What would be my next step in this process? Any
> help would be greatly appreciated, I've been staring at this for too
> long now!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How to run a program for datasets located in different folders at a single stretch
Next Topic: Is there a way to do something about this spam?

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

Current Time: Tue Dec 02 19:01:28 PST 2025

Total time taken to generate the page: 2.56381 seconds