first, do stereo images matching, then, u can get the disparity map, and disparity values of the object u interested in and the background, depend on the difference of d value to get what you want..
the code, maybe you should combine the stereo matching with segmentation..
|