发明名称 Method and device for generating perspective image
摘要 A method and device for generating a perspective image are provided, which are related to multimedia technology. The method comprises the following steps: acquiring the length, height and vanishing point of a required perspective image and the length and height of an original image; for each pixel point (x′, y′) in the perspective image, determining the coordinate (x, y) of a pixel point in the original image corresponding to said pixel point; copying the pixel point at the coordinate (x, y) in the original image to the position corresponding to the coordinate (x′, y′) in said perspective image. The invention utilizes a principle that perspective image is smaller than original image, and employs a form of inverse transform, thereby the calculated pixel points are reduced, and compared with forward calculation, the calculation is greatly reduced, which improves the speed of perspective image generating and saves central processing unit (CPU) resources.
申请公布号 US9460549(B2) 申请公布日期 2016.10.04
申请号 US201013382765 申请日期 2010.04.01
申请人 HISENSE MOBILE COMMUNICATIONS TECHNOLOGY 发明人 Liu Chenggang
分类号 G06T15/20;G06T7/00;G06K9/00;G06T7/20;G06T7/60 主分类号 G06T15/20
代理机构 Foley & Lardner LLP 代理人 Foley & Lardner LLP ;Ewing James F.;Pua Paul M. H.
主权项 1. A method for generating a perspective image, comprising: obtaining, by a mobile terminal, length, height and a vanishing point of a required perspective image and length and height of an original image; determining that the required perspective image has a number of pixel points and a corresponding area less than that of the original image; determining, by the mobile terminal in accordance with the corresponding area being less than that of the original image, for each of pixel points (x′, y′) in the perspective image, coordinates (x, y) of a pixel point in the original image corresponding to the pixel point (x′, y′), according to the length, the height and the vanishing point of the perspective image and the length and the height of the original image; and generating, by the mobile terminal, the perspective image by duplicating the pixel point on the coordinates (x, y) in the original image onto a location in the perspective image corresponding to the coordinates (x′, y′)); wherein determining, for each of pixel points (x′, y′) in the perspective image, coordinates (x, y) of a pixel point in the original image corresponding to the pixel point (x′, y′), according to the length, the height and the vanishing point of the perspective image and the length and the height of the original image comprises: determining the coordinates (x, y) of the pixel point in the original image corresponding to the pixel point (x′, y′) according to the length, the height and the vanishing point of the perspective image and the length and the height of the original image, the coordinates (x′, y′) of the pixel point in the perspective image and one or more preset functions including x=ƒ(x′), wherein x=ƒ(x′) comprises x=x′+n×x′2, whereinn=W-W′W′2,W represents the length of the original image, and W′ represents the length of the perspective image.
地址 Shandong CN