Patent Document ID: 9460549
Application ID: 13382765
Patent Status: 1

Claim One:
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 , wherein n = W - W ′ W ′2 , W represents the length of the original image, and W′ represents the length of the perspective image.