首页> 外国专利> System and method for perspective transform in computer using multi-pass algorithm

System and method for perspective transform in computer using multi-pass algorithm

机译:使用多遍算法的计算机中透视变换的系统和方法

摘要

A multi-pass algorithm for applying a perspective transform to quadrilateral images by means of at least two phases of 1-dimensional resampling processes for each dimension. Each phase constitutes a perspective transform from a rectangle to a trapezoid with parallel sides parallel to the corresponding sides of the rectangle. More particularly, each phase comprises a foreshortening pass in one dimension (vertical for parallel horizontal sides, horizontal for parallel vertical sides) followed by a trapezoidal pseudo-shear pass in the other dimension. Thus, in the first phase, the source rectangle is transformed to a first, intermediate trapezoid with either parallel horizontal or parallel vertical sides. In the second phase, the bounding box of this intermediate trapezoid (i.e., the smallest axis-aligned rectangle containing the trapezoid) is transformed to a second, target trapezoid with either parallel vertical or parallel horizontal sides (i. e., the opposite of the intermediate trapezoid) that bounds the final quadrilateral. Thus, by so transforming the bounding box of the intermediate trapezoid, the comers of the intermediate trapezoid are mapped to the corners of the target quadrilateral. The invention has two advantages over the prior art processes: although some complex calculations have to be performed for each row or column, the per pixel calculations are much simpler; and since the shape of the result is a simple trapezoid (remembering that a rectangle is a trapezoid) at each step, it is easy to control the resampling process to ensure that these shapes are achieved and the result appears stable.
机译:一种用于通过每个维度的一维重采样过程的至少两个阶段将透视变换应用于四边形图像的多遍算法。每个阶段构成从矩形到梯形的透视变换,其平行边平行于矩形的对应边。更具体地,每个阶段在一个维度上包括缩短通道(垂直用于平行的水平侧,水平用于平行的垂直侧),然后是在另一维度上的梯形伪剪切通道。因此,在第一阶段中,源矩形将转换为具有平行的水平边或平行的垂直边的第一中间梯形。在第二阶段中,此中间梯形的边界框(即,包含梯形的最小的轴对齐矩形)被转换为第二个目标梯形,具有平行的垂直边或平行的水平边(即,中间梯形的对面) )界定了最终的四边形。因此,通过这样变换中间梯形的边界框,将中间梯形的角映射到目标四边形的角。与现有技术的方法相比,本发明具有两个优点:尽管必须对每一行或每一列执行一些复杂的计算,但是每像素的计算要简单得多。并且由于结果的形状在每个步骤都是简单的梯形(记住矩形是梯形),因此很容易控制重采样过程以确保实现这些形状并且结果看起来稳定。

著录项

  • 公开/公告号US5808623A

    专利类型

  • 公开/公告日1998-09-15

    原文格式PDF

  • 申请/专利权人 ADOBE SYSTEMS INCORPORATED;

    申请/专利号US19960727375

  • 发明设计人 MARK HAMBURG;

    申请日1996-10-07

  • 分类号G06T15/20;

  • 国家 US

  • 入库时间 2022-08-22 02:38:37

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号