Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Min stereo depth distance: text or formula seems inconsistent #314

Open
diablodale opened this issue Mar 24, 2022 · 1 comment
Open

Min stereo depth distance: text or formula seems inconsistent #314

diablodale opened this issue Mar 24, 2022 · 1 comment

Comments

@diablodale
Copy link

at https://docs.luxonis.com/projects/api/en/latest/components/nodes/stereo_depth/#min-stereo-depth-distance something doesn't align with my understanding.

the 4th paragraph "However this distance..." writes there is an alternative and that alternative needs two setting changes: 1) change resolution to 640x400, and 2) enable extended disparity.

Later it writes the formula with those setting changes as...

min_distance = focal_length_in_pixels * baseline / disparity_in_pixels = 882.5 * 7.5cm / 190 = 34.84cm

But that formula doesn't align with my understanding. Here and in the section above this issue's "Calculate depth using disparity map", the focal length at 800p = 882.5 px. And focal length at 400p = 441.25 px.

That formula should have 441.25 in it. Not 882.5.
--or--
the text for two setting changes isn't correct.
--or--
I dont have clear understanding 🤪

@SzabolcsGergely
Copy link
Collaborator

You are right, it should be 441.5 for 640xY resolution.
Cc: @Erol444

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants