A planar target can align perfectly between two robot-camera views while a raised feature remains displaced. That disagreement does not automatically indicate a bad feature match or an incorrect matrix. A homography tied to one scene plane need not map points away from that plane when the camera translates.

The missing variable is depth. Under translation, different depths produce different image shifts. A single plane supplies one particular depth relationship; a general three-dimensional scene does not.

OpenCV's homography tutorial describes planar mappings and the pure-rotation exception. Its calibration reference states the pinhole projection model. The following cameras, points, and pixel shifts are original ideal geometry, not an image-registration experiment or a robot calibration result.

Define two camera views

Place camera A at the world origin. Its optical axis is positive world Z, with image axes aligned to world X and Y. Use an ideal distortion-free pinhole model with focal length f = 800 pixels in both directions and principal point at pixel coordinate zero for this calculation.

For a point (X, Y, Z) in front of the camera, its image coordinates are u_A = fX/Z and v_A = fY/Z. The pixel origin is a mathematical convention, not the corner of a specified sensor.

Place camera B 0.10 m to the right, with exactly the same orientation and intrinsics. Coordinates in B are (X − b, Y, Z), where b = 0.10 m.

The new horizontal image coordinate is u_B = f(X − b)/Z = u_A − fb/Z. The vertical coordinate remains v_B = v_A. The image shift depends on inverse depth even though the cameras differ only by a translation.

A reference plane gives one homography

Let the reference scene plane be Z = Z0 = 2.0 m. Every point on that plane has the same horizontal shift: −800 × 0.10/2.0 = −40 pixels.

In homogeneous image coordinates, a suitable matrix H0 has rows (1, 0, −40), (0, 1, 0), and (0, 0, 1). Applying it gives the rule u_predicted = u_A − 40 and v_predicted = v_A.

This matrix exactly describes the ideal correspondence for every point on the reference plane. It is a particularly simple affine homography because the plane is frontoparallel and the cameras retain identical orientations.

The special simplicity does not remove its scene assumption. A different plane or camera displacement can give a more general projective matrix, still tied to its own geometric conditions.

Move a feature away from the plane

Choose an original point P with coordinates (0.30, 0.10, 2.0) m. Camera A sees it at (120, 40) pixels. Camera B sees it at (80, 40), exactly as H0 predicts.

Now choose Q = (0.30, 0.10, 1.0) m. Camera A sees (240, 80). The reference-plane homography predicts (200, 80), but the actual ideal B projection is (160, 80).

The horizontal residual, defined as actual minus predicted, is −40 pixels. The point moved closer to the cameras, so its translation-induced image shift doubled from −40 to −80 pixels.

This is not a numerical estimation error in H0. Both its plane correspondences and the off-plane projection were computed exactly from the declared geometry.

An even more distant point gives the other sign. For W = (0.30, 0.10, 4.0) m, camera A sees (60, 20), H0 predicts (20, 20), and B actually sees (40, 20). Its residual is +20 pixels.

Write the depth-dependent residual

For this construction, r_u = u_B − (u_A − fb/Z0) = fb(1/Z0 − 1/Z). It is zero on the reference plane and generally nonzero elsewhere.

Because fb = 80 pixel-meters here, a point at Z = 1.8 m gives a residual of approximately −4.444 pixels. At Z = 2.2 m, the residual is approximately +3.636 pixels.

Equal positive and negative depth offsets around 2.0 m do not produce exactly equal residual magnitudes. The relationship is through inverse depth, not a linear function of the depth offset over arbitrary ranges.

The expression also shows that residual scales with baseline and focal length under these fixed assumptions. Reducing baseline toward zero reduces this particular parallax effect. That observation supplies no recommendation about a real camera placement, where other requirements remain.

Two depths can share one initial pixel

Consider a ray from camera A through pixel (80, 0). A point at (0.20, 0, 2.0) m and another at (0.10, 0, 1.0) m lie on that ray. Each projects to the same A pixel.

In camera B, the farther point projects to (40, 0), while the nearer point projects to (0, 0). A mapping that receives only the A pixel cannot assign both destinations to that same input.

These are alternative geometric points; the example does not claim both opaque surfaces can be observed simultaneously through one camera pixel. It demonstrates the missing depth information without adding a feature detector or an occlusion model.

More correspondences do not change the model family

Fitting a homography to numerous points on the reference plane can improve its estimation in noisy measurements. It cannot make that plane-specific rule exact for arbitrary off-plane geometry under this translation.

A robust fitting method may classify points that disagree with the dominant plane as outliers. That classification is relative to the fitted model. An off-plane feature can be a correctly observed physical point and still fail a planar reprojection test.

The present calculation did not run OpenCV or select a fitting threshold. Its purpose is to separate an exact model limitation from a possible implementation failure.

Pure rotation is an important exception

When two ideal pinhole views share an optical center and differ only by orientation, the image relationship can be written using a homography constructed from intrinsics and relative rotation. The common depth scale cancels for visible scene directions.

That does not mean the scene became planar. It means the particular camera motion did not introduce translation-dependent parallax. Rotation about an external pivot can move the optical center and therefore does not automatically meet this condition.

For robot image alignment, record which plane and camera-motion assumptions the homography represents. A well-aligned calibration board and a displaced raised part can be consistent observations of the same translated-camera geometry.

Sources checked October 23, 2026: OpenCV 4.12.0, Basic concepts of the homography explained with code, especially planar mappings and pure camera rotation: https://docs.opencv.org/4.12.0/d9/dab/tutorial_homography.html

OpenCV 4.12.0, Camera Calibration and 3D Reconstruction, pinhole model and findHomography reference: https://docs.opencv.org/4.12.0/d9/d0c/group__calib3d.html

Illustration note: A generic robot vision scene is a concept illustration. It does not show the invented camera pair, measured parallax, or a verified homography fit.