-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About getting results in meters unit #37
Comments
Yes, they are linear parameters. When doing alignment, consider that P and D are inverse depth so you need to convert your absolute measurements to inverse depth first. |
@ranftlr Thank you for your kind reply !! :) |
If I understand correctly ... Can I calibrate "scale and" shift "and use the model in an environment with the same lighting? Or is it necessary to calibrate in each frame? |
@rodrigoGA Did you get the correct scale and shift values based on the approach you mentioned? |
according to my tests the model is very inaccurate to measure distance (uncalibrated in each frame ). |
Oh, To confirm, by uncalibrated do you mean you didn't calculate the scale and shift value? Did you directly use the model predicted values? |
Hi, sorry to bother you. I use depth camera D435i , but the depth map is bad. So I want to use MiDaS to improve the quality of the depth map. I write the scrips to align the MiDaS and absolute depth map. |
@rodrigoGA i think you need to calculate "scale" and "shift" for each image they can not be used for for other image because "D" is normalized. |
and can we use scale and shift ,same for all image if i have calculated using it two image if not then so for every image i have to calculate the scale and shift so how can it be don? |
@ranftlr Thank you for the work. I'm trying to apply it with Myriad X VPU.
So I would like to ask whether the unknown scale and shift mentioned in #36 are linear parameters?
For example, in each frame, I can find a linear equation like "P = D * scale + shift" to project the values of depth maps "D" to the physical absolute measurements "P" according to putting a known scale ruler in the view, right ?
The text was updated successfully, but these errors were encountered: