Import XYZRGB values

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Import XYZRGB values

Stein Rørvik
Hello,

I have some big datafiles from a laserscanner in XYZRGB format. The XYZ values are in meters, RGB is 8 bit integers.

Like this:
-1.89870000 -2.10180000 -0.59040000 171 147 139
-1.73650000 -2.14830000 -0.58010000 101 96 78
-1.85890000 -2.06600000 -0.62030000 37 0 18
-1.83180000 -2.05270000 -0.68830000 127 99 111
-1.86540000 -2.09050000 -0.59100000 181 165 155
-1.73790000 -2.13140000 -0.59310000 199 214 199
-1.82730000 -2.14260000 -0.59270000 110 89 107
etc.

I have been using the XYZ2DEM plugin for creating an image of the Z values (third column) as a function of XY (two first), this works great.

Now I also want to map RGB as a function of XY. That is, for the import I want to create a texture of the color in addition to the height. I looked in the source code of the XYZ2DEM plugin and it seems relatively straightforward to change the code to get what I need, but before I started to spend hours on that, I hereby ask the list if anyone knows of a plugin or other free software that can do this already.

Stein

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html