Range Image processing

From: Ling Woo (LingWoo_at_ed.ac.uk)
Date: 03/20/05


Date: Sun, 20 Mar 2005 20:57:56 GMT

Hello,

I have some range data in the form (x,y,z) and I would like to use some edge
detection algorithms on this data. The algorithms I would like to use are
the Sobel and Prewitt.

My problem is the data looks like this

(12.345,1.459,5.320) , (6.345,1.429,3.320) , (2.345,8.459,5.670) ,
.......................................

and some how I need this data to be placed in a two-dimensional array for
the edge detection algorithmns. There is about 1000 randomly spaced
measurements in the image.

I want the image data x,y to be the array location, and the value stored
will be the z value.

Could anyone tell me how to get the sample of range data into a regular
array?
How do I know what size of array to create?

Thank you