Stereo vision with only one camera rotating

16 views (last 30 days)
Luca
Luca on 26 Sep 2023
Answered: Asim on 15 Nov 2023
Is it possible to do stereo vision with only one camera, using a setup like this?
I think that the problem might be that the baseline is equal to zero and cameras are not pointing to the same direction.
Do you know if it could work? Does anybody maybe have a code for it? Thanks!
  1 Comment
Karl Cronburg
Karl Cronburg on 26 Sep 2023
What properties of the object do you wish to depict or measure in the form of a stereo vision image? Depth information cannot be computed for a given point on an object if the aperture of the camera(s) are not located in different positions. That is, twisting the aperture at an angle does not provide enough information for a triangulation-based computer vision algorithm to construct a stereo vision image. This is because the aperture is located at the same (x,y) position in your diagram.

Sign in to comment.

Answers (1)

Asim
Asim on 15 Nov 2023
Hello Luca,
I understand that you are trying to do stereo vision using single camera at different angles, effectively simulating a zero baseline and cameras pointing in different directions. While stereo vision can indeed be accomplished with a single camera, it's important to note that this particular setup may result in an output that appears tilted or inclined.
To rectify this:
  • Rotate your camera around the object to emulate a stereo setup where the cameras maintain a consistent direction relative to the object as shown in the below figure.
I hope these suggestions helps in resolving the issue.
Best Regards,
Asim Asrar

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!