Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Stereo Vision and Projected Light

Solved!
Go to solution

Hello,

 

did you acquire the calibration images (of the grid) and put them in the folders "Left Image" and "Right Image"? Did you consider the proper image extension? I am not familiar with the error codes - what is the string returned by te error?

 

If you create a simple example where you use IMAQ copy, do you get the same error?

 

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 11 of 47
(2,399 Views)

Hello K,

 

I think I missed the image extension, now it is worked fine here.

BTW, where I can set the path for stereo calibration data? I'm looking for this.

Thank you.

 

B.R

Ivan

0 Kudos
Message 12 of 47
(2,395 Views)

Hello,

 

check the second frame (frame 1) -> "IMAQ Write binocular stereo file". One of te inputs is the file path. Check where it originates from (it is saved in the same folder as your calibration images).

 

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 13 of 47
(2,393 Views)

Hello K,

 

As you can see the attachment, I can find the "IMAQ Write binocular stereo file" in the frame1, and also I guess that button of "build path" shall be the originate one you mentioned, but in here I cannot change or set the path for Stereocalibrationdata file.

Could you help check this for me for how to capture the data?

Thank you.

 

B.R

Ivan

0 Kudos
Message 14 of 47
(2,384 Views)

Hello,

 

the write stereo file has an input file path (full path). Create the control and specify your own path. See below. Also take a look at the help documentation for the write function.

 

Example_VI.png

 

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 15 of 47
(2,375 Views)

Hello K,

 

Thank you for replying and I know how to set the path in "IMAQ Write Binocular Stereo File", my another question is that the "File Path" of "IMAQ Write Binocular Stereo File" has been allocated to above that "appended path"(as attached), how we could create the "control" and specify the path with this in together? Also I try a lot of other approachs to set the path, but seems cannot work fine, sorry to trouble you for checking of this again?

 

B.R

Ivan

 

0 Kudos
Message 16 of 47
(2,365 Views)

Hello,

 

I must admit that you've lost me a bit. I don't understand the problem you are facing.

 

Just create the control (as an input to "Write Binocular Stereo File") and specify the path to your file after you modify the properties of the control like I've shown in the previous post. Go to the folder where you want to save the calibration file and write your own name with extension into the blank box.

 

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 17 of 47
(2,358 Views)

What you are looking for is is a Structured Light Stereo example.  You will probably not find one written in LabvIEW.  The stereo method that LabVIEW VDM supports is a disparity map, which requires two images.

 

What you are looking for uses a sequnce of black and white stripes that increase exponentially in resolution to provide depth information of the scene.

 

The Processing development language has examples of this that you can borrow from.

 

http://www.instructables.com/id/Structured-Light-3D-Scanning/

 

http://fab.cba.mit.edu/content/processes/structured_light/

 

 

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 18 of 47
(2,353 Views)

Hello K,

 

Do you mind to provide your finally code to me for a quick check?

My e-mail: slinbody12@gmail.com

Thank you for help.

 

B.R

Ivan

0 Kudos
Message 19 of 47
(2,352 Views)

Hello,

you can find my stereo examples here:

https://forums.ni.com/t5/kl3m3n-s-blog/Stereovision-in-Labview-based-on-corresponding-point-pairs/ba...

and here:

https://forums.ni.com/t5/kl3m3n-s-blog/Stereo-setup-parameters-calculation-and-Labview-VDM-2012-ster...

As I understand you have also downloaded the code from the 5th post of this thread? You can find the examples of stereo acquisition,calibration and measurement there.

Maybe if you explain the problem a bit more,we could help you better.

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 20 of 47
(2,339 Views)