Image alignment

S.L.P. image questions, stereoscopic video livestream and recording, stereoscopic photo capture etc.
Post Reply
neilpstevenson
Posts: 11
Joined: Tue May 19, 2020 4:51 pm

Image alignment

Post by neilpstevenson »

I’m using the latest SLP to stream video at 1280x720, but I’m finding my two cameras aren’t very accurately aligned. Since the two camera images are being clipped (down the centre from what I see), it would be better if I could adjust the used portion of the image. Can I change how is is clipped to align the images better? Probably be much better if I just could use the same part of the image from both cameras.

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Image alignment

Post by Realizator »

Physical cameras alignment is a challenge. Usually we try to do it as well as possible for the video live stream (as we have no real-time alignment algorithms like for the OpenCV, but for the high resolution).
For the clipping you can use the "roi" argument. I described how to use it for the photo and video in this article: https://stereopi.com/blog/macro-3d-photo-stereopi Search by "roi" on this page. This ROI option is used for both cameras simultaneously, and I'm not sure you can do a different roi for each camera.
Eugene a.k.a. Realizator

JamesDavid
Posts: 1
Joined: Thu Nov 26, 2020 5:59 am

Re: Image alignment

Post by JamesDavid »

I agree, aligning in HW is a challenge, can there be separate ROI's for each camera (using SLP)?

Post Reply