Fundamental and essential matrices
Constrain where a point from one camera view can appear in another.
Two cameras observe the same scene point from different positions.
Match corresponding image points.
Estimate the epipolar relation with a robust method.
For a calibrated essential matrix, choose a pose consistent with points in front of both cameras.
For a calibrated essential matrix, choose a pose consistent with points in front of both cameras.
Illustrative example. The stages explain the method; they are not a live OpenCV execution.
Try it on an image
Experiment at pixel level
Estimate a fundamental matrix from your matching points and draw epipolar lines on the second image. Defaults are illustrative correspondences, not detected features.
The engine loads on your first run. Your images stay in this browser.
Scroll over either image to zoom at the pointer. Use the scrollbars to pan both views over the same relative area. Zoom is relative to the input; pixel coordinates belong to each image. Warps can change scene correspondence.
Pixel inspector RGBA · native values · matched scale · 9 × 9 output pixels
Select a pixel
Select a pixel
When to use it
Reject inconsistent matches, recover relative camera motion, or prepare a two-view reconstruction.
How it works
- 01Match corresponding image points.
- 02Estimate the epipolar relation with a robust method.
- 03For a calibrated essential matrix, choose a pose consistent with points in front of both cameras.
x₂ᵀ F x₁ = 0
What to tune
Essential geometry needs calibrated or normalized coordinates. Inspect inliers and cheirality, not only the returned matrix.
Where it breaks down
Pure rotation, weak baseline and degenerate scenes can prevent reliable depth or translation estimates. Translation recovered from an essential matrix has unknown scale.
TypeScript API
Open an entry for its exact overloads, parameter descriptions, result ownership and pinned upstream source.
All of these calls execute on the CPU. Native objects need explicit disposal. See matrices and ownership and build compatibility.
Related methods
Camera calibration
Estimate a camera’s intrinsic parameters and lens distortion from known target geometry.
Lens undistortion
Invert a calibrated lens model to map distorted observations onto an idealized camera image.
Perspective-n-point pose
Estimate a camera-relative object pose from known 3D points and their 2D image observations.
Stereo block matching
Find horizontal correspondences between rectified stereo images using local block similarity.