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

Home » Public Forums » archive » Re: Filling voxels with xyz point data
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
Re: Filling voxels with xyz point data [message #34321] Thu, 06 March 2003 09:34
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 05 Mar 2003 12:14:07 -0700, Jason Stoker wrote:

> Hi all,
> My question involves voxels. What I have is x,y,z point data, and I
> want to convert those points into volumes. Ideally what I would like to
> do is create an empty voxel matrix where the voxels have a predefined
> size (e.g. 1x1x1), and "fill" those voxels with the point data. So for
> any voxel that has 2 x,y,z points in it, it would get a value of 2,
> while voxels that did not have any points would get a 0 or null. I have
> put the data into XVOLUME, but am not certain what it is telling me. I
> am lost when it comes to volumetric analyses. Any ideas? Any help
> would be greatly appreciated! Cheers, Jason

You want an n-dimensional (or 3D, I suppose) histogram. See hist_nd:

http://www.dfanning.com/documents/programs.html#HIST_ND

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: help, cannot create hdf-sd string array variable
Next Topic: Re: help, cannot create hdf-sd string array variable (nevermind)

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

Current Time: Thu Oct 09 21:34:36 PDT 2025

Total time taken to generate the page: 0.16048 seconds