A seguirPróximo guia
Métricas de qualidade de imagem PSNR e SSIM
Técnico
GUIA Técnico
A homography is a projective mapping between image views of the same plane, or between views made by pure camera rotation.
Ouça este guiaNarrado por IA · ~3 min
Image stitching uses feature correspondences and estimated transforms to align overlapping photos, then blends them, but parallax and moving objects can cause visible seams or distortions.
A homography is a 3 by 3 matrix that maps points from one image plane to another in homogeneous coordinates, up to an arbitrary scale. It has eight independent degrees of freedom and can be estimated from at least four non-collinear point correspondences, usually with more points and robust outlier rejection. Its geometric scope matters: one homography relates views of a planar surface, and a rotating camera can produce a homography for a general scene when the camera center does not translate. With camera translation and objects at different depths, one global homography cannot align every point because of parallax. Panorama software uses this mapping as part of a larger pipeline. It detects and matches features in overlapping images, estimates camera relations, warps images into a common projection, adjusts exposure, chooses seams, and blends the overlap. OpenCV’s stitching module describes distinct stages such as feature finding, matching, camera estimation, warping, seam estimation, exposure compensation, and blending. Therefore, “apply a homography” is not the same as producing a polished panorama; alignment and seam decisions still affect quality. For document capture, a page is approximately planar, so four page corners can define a perspective correction that makes the page rectangular. For a wide panorama, small viewpoint shifts or nearby foreground objects can produce double edges after a single transform. Capture with overlap, rotate around the camera’s optical center when practical, and inspect moving subjects and seams. Use a more general multi-camera model or local warping when the scene violates the single-homography assumption, while checking that the correction does not bend straight structures implausibly.
A document scanner detects the four page corners and uses a homography to rectify a photographed sheet.
A panorama app aligns overlapping views taken while the photographer rotates in place, then blends the overlap.
A street panorama shows a nearby cyclist doubled because the cyclist moved between frames and cannot fit a static alignment.
A drone mapping team uses a broader stitching pipeline and ground control rather than treating one homography as a complete map solution.
Phones may increasingly combine learned feature matching, motion sensing, and local image alignment to make capture more forgiving. These additions can improve alignment but cannot make one planar projective transform fit a scene with substantial depth variation and camera translation. Stitching systems will continue to balance geometric accuracy, visual smoothness, and compute time. Users should inspect seams and preserve originals when a stitched image will be used as evidence or measurement. Evaluation should include moving subjects, close foreground objects, wide fields of view, and low-texture areas, because these expose different limits. A stitched image can look smooth while distorting measurements; preserve the source frames whenever geometry or evidentiary accuracy matters.
Boletim informativo gratuito
Três histórias verificadas de IA a cada manhã de dia útil, escritas em linguagem simples. Gratuito para sempre, sem anúncios.
Um e-mail a cada dia útil. Cancele a inscrição com um clique. Nunca vendemos ou compartilhamos seu endereço.
Teste você mesmo
Feedback instantâneo sobre cada resposta e um certificado compartilhável com um ID verificável assim que você concluir um curso.
Apoie a educação gratuita em IA. O AI Understanding é uma organização sem fins lucrativos 501(c)(3) — sem anúncios, sem paywall, nunca. Faça uma doação
A homography is a projective mapping between image views of the same plane, or between views made by pure camera rotation. Image stitching uses feature correspondences and estimated transforms to align overlapping photos, then blends them, but parallax and moving objects can cause visible seams or distortions.
Uma homografia mapeia pontos entre planos ou visualizações de câmeras adequadas.
As correspondências de quatro pontos fornecem as restrições mínimas para os oito graus de liberdade.
A rotação pura pode ser representada por uma homografia mesmo para uma cena geral.
Diferentes planos de profundidade sofrem diferentes mudanças aparentes durante a translação.
Uma distorção geométrica estática não pode alinhar um objeto que mudou de posição entre os quadros.
Continue aprendendo
Mais guias escolhidos para este tópico
A seguirPróximo guia
Métricas de qualidade de imagem PSNR e SSIM
Técnico