Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Stereo Vision .VI Problem

Solved!
Go to solution

Hello!

 

I made some pictures with my two cameras, and I would like to get the depth map from them with the LabVIEW's Stereo Vision.vi. But after the calibration has ran, the depth and even the disparity map is full black. Any idea why? There should be a problem with the pictures or with something else? What should I pay attention for?

 

Thank you!

0 Kudos
Message 1 of 7
(4,518 Views)

Hello,

 

did you try the stero vi's that are posted here?

 

Does this not work for you?

 

Best regards,


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 7
(4,509 Views)

Hello!

 

Yes I saw the post, but I couldn"t find the whole code, and one of the links is broken. Can you post your vi-s again?

 

gbbalint

0 Kudos
Message 3 of 7
(4,504 Views)
Solution
Accepted by topic author gbvbalint

I am truly sorry, i saw that a part of the code is indeed missing.

 

I am attaching again.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Message 4 of 7
(4,497 Views)

Thank you Klemen!

0 Kudos
Message 5 of 7
(4,491 Views)

Hi klemen,

I am trying to use your stereo vision code for my application. I need to compute the disparity image and the depth of the image. I gave the file path for left and right image. I am not sure about waht should be the file path for stereo calibration data. I am not getting any output, Any suggestions how should i go about it.

Thanks in advance

Regards,
KM
Download All
0 Kudos
Message 6 of 7
(3,282 Views)

Hello,

 

firstly, you need to calibrate the stereo system using a grid dot pattern (5-6 images should be enough). Save the calibration file after the successfull calibration. When you know the extrinsic (and intrinsic) parameters of your system, you can obtain depth from disparity.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 7 of 7
(3,227 Views)