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

Home » Public Forums » archive » overlap of two polygons
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
overlap of two polygons [message #84297] Sat, 18 May 2013 00:57 Go to previous message
suruchi is currently offline  suruchi
Messages: 13
Registered: September 2012
Junior Member
Hello

What i have is set of rois defined over 1024x 1024 image. So for finding whether two different rois (ROI1 & ROI2) from two different image cover same region of CCD image plane I can use :
ROI1 -> GetProperty, data=a
result(k)=ROI2 -> ContainsPoints(a[0,k],a[1,k])
This way i can figure out whether two rois have overlapping region or not.

But, what if I wish to do the same exercise using latitude -longitude information of each image.
A pixel say (500,500) will have different lat-long values in different images.

Now if I convert the roi vertices x & y to lat-long can I create a Polygon?
And using this lat-lon vertices information of each roi can I find whether two set of rois overalp (so now testing overlap not in image plane but region covered by lat-lon range of the planetary object)?

So essential query is how to find the overlap of two regions defined by only vertices and second what if these vertices are in terms of lat-long?

Any suggestion will be appreciated.

Thanks
Suruchi
[Message index]
 
Read Message
Read Message
Previous Topic: Re: strictarrsubs in IDL 8.1
Next Topic: calligraphic font

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

Current Time: Fri Oct 10 00:43:18 PDT 2025

Total time taken to generate the page: 0.15579 seconds