On Fri, 23 Feb 2007 18:19:16 -0700
"Adam Ginsburg" <[EMAIL PROTECTED]> wrote:

>I'm working on some code to project images into a data cube.  The
>images are at different position angles that intersect through a
>point, so in the end I should have a few thin slices through the cube
>which I plan on interpolating through.
>
>My problem is, I can't think of a way to use piddles properly in this
>context, the only method I've come up with is going through point by
>point and projecting the point into a new location (or, in one
>variety, splitting each point into a few cells).  This seems to be
>pretty inefficient and takes forever, even though as far as I can tell
>I shouldn't be doing more than 65536*30, give or take, assignment,
>slice, and multiplication operations on face.  Is slicing each point
>very inefficient?  Maybe it's the excessive assignments, since some
>are 2d.  Any tips would be appreciated.
>
>Thanks,
>Adam

If I understand your question correctly, you can try making 2d images
of your points, then map the images into the cube by assigning their
vertices.

There are ways to do this, without creating temporary 2d image
files, see the response to the link below, but it requires the latest
CVS version of PDL.

See:
 http://perlmonks.org?node_id=591731

zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to