views:

470

answers:

1

I build a program to tracking human by using stereovison via openCv. I success to build the 3d coordinate, when I display this image by openCv (take the x,y,z coords as R,G,B value), I see an image just like disparity iamge, but the top left is red, top right is pink, bottom left is yellow and bottom right is white. The object appear not clear in the tophalf like the disparity.

When I save this 3d coords to a file, reading it, its said having 480 rows and 640 cols in 3 channels data, so I think the total data cell is 640x480x3 = 921600 cells. But the total cells I count in this file just around 37800 cells. Anything wrongs here?

below is my image disparity: http://img96.imageshack.us/img96/2530/imgddisparity.jpg depth : img44.imageshack.us/img44/7540/imgdepth.jpg

A: 

have you found the reason, i just met the same problem

villager