|
楼主 |
发表于 2009-1-17 16:29:49
|
显示全部楼层
[BILINEAR TRANSFORMATION]
A bilinear transformation is another 4-point mapping like the perspective mapping. Technically, according to what I've been told, it maps one arbitrary circle onto another arbitrary circle, but I don't really understand how. This is a little hard to picture, but the point is that when the distortion is not very large, a bilinear transformation looks a lot like a perspective transformation -- and it's easier to compute, because there is no division involved.
A bilinear transformation is defined by these two equations:
x' = a*x + b*y + c*x*y + d
y' = e*x + f*y + g*x*y + h
There are eight constants here, parameters that must be supplied to the transformation. They can be computed when given the eight points of the two quadrilaterals, using some matrix math.
在变形扭曲程度不大的时候, BILINEAR变换的效果与PERSPECTIVE变换非常趋近, 并且它很容易计算, 因为其不涉及到除法运算. |
|