Using contour procedure to extract specific regions [message #71952] |
Wed, 28 July 2010 04:41 |
S. Murray
Messages: 6 Registered: July 2010
|
Junior Member |
|
|
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.
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!
|
|
|