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

Home » Public Forums » archive » Three dimensional Polyfillv
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: Three dimensional Polyfillv [message #58962 is a reply to message #58878] Tue, 26 February 2008 17:58 Go to previous messageGo to previous message
twhaw is currently offline  twhaw
Messages: 5
Registered: February 2008
Junior Member
Dear all,

Thanks for your kind replies.

The reason why I can't use the 2D polyfillv is that the points are not
sampled as 2D slices in the rectangular coordinate system. Instead, it
is instead sampled in the spherical coordinate system (every 5 deg
longitudinally) and converted back to rectangular coordinates using
CV_COORD. I am sampling the blobs in the spherical coordinate system
so that I can get the same number of sample points regardless of the
size of the blobs (some are slightly small, some are slightly bigger).

I have checked out IDLanROI. It seems that we can defined a 3D ROI by
loading a (3, n) array. Maybe I can throw in my (3, n) array of sample
points and check whether a point in the 3D space is inside the ROI. In
this way, I might be able to get the points in the volume. But then
again, this method might be quite slow.

Many thanks again for your advices.

Cheers.


On Feb 27, 3:35 am, Mike <Michael.Mill...@gmail.com> wrote:
> What if you took your (3,n) values and, for each slice in your data
> volume, find the subset of the n points that fall on (or near enough
> to be considered "on") that slice?  Then you could use polyfillv on
> that slice.  I haven't done this with quite the data you have, but
> that is the method that I use to create 3D ROIs out of multiple 2D
> ROIs.
>
> Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with ENVI_CONVERT_File_COORDINATES
Next Topic: Where is GUI builder in IDL7?

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

Current Time: Thu Oct 09 23:06:08 PDT 2025

Total time taken to generate the page: 0.39713 seconds