Increased Dynamic Range For Depth Maps, and Collages in Picasa 3
360 Vision + 3rd Person Composite from binarymillenium on Vimeo.
After I compressed the above video into a WMV I was dissatisfied with how little depth detail there is in the 360 degree vision part - it's the top strip. I initially liked the cleaner single shade look, but now I realize the utility of using a range of colors for depth fields (or IR/thermal imaging also)- it increases the number of colors to represent different depths beyond 256 to a larger number. Earlier I tried using one color channel for higher order bits and another for lower order bits (so the depth could be computed like red*256+green) for a total of 256*256 depth levels (or even 256^3 or 256^4 using alpha), but visually it's a mess.
But visual integrity can be maintained while multiplying that 256 levels by five or a bit more with additional work.
Taking six colors, three of them are pure red, green, blue, and inbetween there is (255,255,0) for yellow and the other two pure combinations of two channels. Between each subsequent set there can be 256 interpolated values, and in the end a color bar like the follow is generated with 1280 different values:
The bottom color bar shows the differences between adjacent values- if the difference was none then it would be black in spots, so my interpolation is verified.
Applying this to the lidar data, I produced a series of images with a processing project:
After making all the images I tried out Picasa 3 to produce a collage- the straightforward grid makes the most sense here. Picasa 3 crashed a few times in the collage editor before I was able to get this exported.
Posted by binarymillenium at 10:24 PM
Subscribe to: Post Comments (Atom)
Hey I know this inst about the topic, but I would very much like to discuss with you your export code for photosynth. Please email me and I can ask you some questions.
Post a Comment