Questions tagged [disparity-mapping]
200 questions
2
votes
1 answer
Tensorflow projection in loss function?
I would like to use this function in Tensorflow loss function:
def rectified_projection(self, disp_x, image):
H, W, B = self.HEIGHT, self.WIDTH, self.batch_size
disp_x = tf.cast(disp_x, tf.int32)
disp_x = self.bias_x + disp_x
disp =…

marek094
- 424
- 2
- 11
2
votes
1 answer
How to find the real depth (distance from the camera to the object) in m from dispaity map, knowing all calibration parameters?
Im using two point Grey Chameleon3 mono camera set up as Master Salve and synchronized so can work as stereo camera. Then was following the OpenCV tutorial to calibrate the cameras. I got 70 samples for the calibration and got the Calibration…

Bob9710
- 205
- 3
- 15
2
votes
1 answer
Bad disparity map using OpenCV
I'm trying to calculate a disparity map using openCV3 in python but the result is not satisfactory. I made sure that the calibration and rectification are done correctly:
I tried disparity function in Matlab using these rectified images and results…

vadbut
- 39
- 6
2
votes
1 answer
Creating 3D Model then determine dimensions
Are there any libraries that can take a few digital pictures of an object and create a 3d model of it.
For instance, I'd ideally like to let a user upload n pictures of an object and feed the pictures into something like photosynth to construct a…

ckarbass
- 3,651
- 7
- 34
- 43
2
votes
2 answers
What are the ximgproc_DisparityWLSFilter.filter() Arguments?
I get a ximgproc_DisparityWLSFilter from cv2.ximgproc.createDisparityWLSFilter(left_matcher),
but I cannot get ximgproc_DisparityWLSFilter.filter() to work.
The error I get is
OpenCV Error: Assertion failed (!disparity_map_right.empty() &&…

powersupply
- 121
- 1
- 3
2
votes
2 answers
Original paper for DisparityWLSFilter in openCV?
I am working on post processing of disparity map.
My disparity image, even though it is WLS filtered, has too many 'holes'.
This is what i get for now. Rectified, but in fish eye way. Anyway rectified for sure, but have many holes. Disparity…

minimanimo
- 185
- 3
- 11
2
votes
1 answer
The Type cv::StereoBM must implement the inherited pure virtual method
I've been working towards using the StereoBM class to generate a disparity map based on two camera input feeds.
I can create a pointed variable StereoBM *sbm; but whenever I call a function, I'm presented with a segmentation fault with a Release…

humroben
- 87
- 9
2
votes
1 answer
Why does StereoSGBM give negative and above numberOfDisparities numbers
I'm writing a function in OpenCV to compute v and u-disparities, so I need first the disparity image. I set sgbm.minDisparity = 0 and numberOfDisparities = 160.
The disparity image is CV_16SC1, and I need Unsigned values to go on programming my…

agregorio
- 91
- 1
- 11
2
votes
1 answer
What is meant by Disparity Space Images
Can someone explain to me what Disparity Space Image is? How can it be constructed?

Nithin Jose
- 1,029
- 4
- 16
- 31
2
votes
1 answer
What is a V-disparity image in Stereo vision and how is it generated
I am new to Stereo vision. I know what disparity and disparity map is. I couldn't understand the concept of V-disparity. Can someone explain how it can be generated and how can it be used for image stabilization?
Here is a sample image and its V…

Nithin Jose
- 1,029
- 4
- 16
- 31
2
votes
1 answer
How can I improve this disparity map?
I have been working on a piece of code to create a disparity map.
I don't want to use OpenCV for more than loading / saving the images converting them to grayscale.
So far, I've managed to implement the algorithm explained in this website. I'm…

m-oliv
- 419
- 11
- 27
2
votes
1 answer
C++ / OpenCV - Depth map issue: Items in the Point Cloud have some distortions
I want to create a Depth Map in order to obtain the 3D position of each pixels so that I can have 3D position of some selected Item on my picture. In order to see if my depth data is correct, I visualize it with MeshLab.
I use the stereo data of…

lilouch
- 1,054
- 4
- 23
- 43
2
votes
1 answer
Selecting initial seeds of rectified images in matlab
Dear friends I am currently working on a disparity algorithm that visits only a small fraction of disparity space in order to find a semi-dense disparity map. It works by growing from a small set of correspondence seeds. But before that I am…

ninja
- 118
- 1
- 12
2
votes
2 answers
how can i extract v-disparity map from a disparity map
i'm new to opencv and i'm trying to run some codes..i need to get a v-disparity map from a disparity map.i 'm using a two rectified image to get stereo matching and after that the dense disparity map.i got the disparity map and when i tryed to…

maiza hichem
- 31
- 5
2
votes
1 answer
OpenCV: Color disparity maps
My question is how to color disparity maps like this page: http://vision.middlebury.edu/stereo/data/scenes2014/.
Thank you in advance for any suggestions.

f10w
- 1,524
- 4
- 24
- 39