The question is: parallax for pixel difference, the unit is the pixel, pixels and f and B is the length of the unit, so that the distance Z is not a distance between the calculated ah... Focal length is formula of focal length f with pixel fx, fy?
O god,
Binocular calibration (using MATLAB to get the space diagram shows two nearly parallel to the camera, stereo calibration, so I didn't want to directly to the measurement of matching feature points, then using the triangulation method to calculate distance)
CodePudding user response:
I've never used this method, you alone formula, you this isIs distance Z (physical distance)/focal length (pixel)=baseline distance B (physical distance)/inspection (pixel)
If formula was established,
Instead you get Z unit of distance, physical distance,
CodePudding user response:
Z=f/B x1 - x2 I understand it, the formula of x1, x2 should be image coordinate system, rather than pixel coordinate system, and I want to ask the landlord to make come not, generally we all heavy projection matrix calculation using the funnel type model Z, the parallel model precision can make?CodePudding user response:
Z=f B/dZ coordinate=focal length * baseline/horizontal parallax
Z, B, m for the distance unit, mm, etc.;
F, d unit for m, mm, etc., or pixel, but must be consistent,
Transformation of two classes of units by size, like yuan the pixel size, generally 1 pixel for camera chip to the physical size (microns),
If two cameras are not parallel, namely the relationship about translation, the parameter is not rule is, not directly with the formula, need transformation;
Like after rotating translational elliptical can no longer use standard elliptic equations, said
CodePudding user response:
say first conclusion: focal length f is pixel fx, fyFx and fy is usually of the same or similar, which is a specific, depends on your algorithm in pixel coordinates and camera coordinates the relationship between the
CodePudding user response: