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

Home » Public Forums » archive » Point Cloud Isosurface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Point Cloud Isosurface [message #72074] Thu, 12 August 2010 13:42
tegus is currently offline  tegus
Messages: 20
Registered: October 2008
Junior Member
Hello,
I'm working with noisy 3D point cloud data approximated by:
xyz_0=randomn(seed, 3, 1000) + 5.0
xyz_1=randomn(seed, 3, 1000) + 10.0
xyz_2=randomu(seed, 3, 10000) * 20.0
xyz=[[xyz_0], [xyz_1], [xyz_2]]

although the actual data sets are larger and far more complex ...

My current method of reducing and rendering the data:
- Create a 3D histogram (bin size = 1) using hist_nd from JDHU
library:
vol=hist_nd(xyz, 1.0)
- Create isosurface (density threshold=10)
isosurface, vol, 10, verts, conn
- Create polygon object and display
oPoly=obj_new('IDLgrPolygon', verts, polygons=conn)
xobjview, oPoly

This gives me the desired result which in this example is a polygon
object which depicts two blobs approximating the measured positions.

However, rendering and analysis of a more complex scene as a single,
complex polygon becomes unwieldy (e.g., no dynamic culling, z
clipping ...)
My question is, how do I separate these two solid objects, represented
by a single polygon (verts and conn), into two seperate polygon
objects (verts1, conn1 and verts2, conn2)?

Thanks,
Bill
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Cylindrical Equal Area projection
Next Topic: Adding Second Log Y-Axis for Pressure

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

Current Time: Wed Oct 08 15:51:44 PDT 2025

Total time taken to generate the page: 0.00423 seconds