×

Method and device for generating perspective image

  • US 9,460,549 B2
  • Filed: 04/01/2010
  • Issued: 10/04/2016
  • Est. Priority Date: 10/30/2009
  • Status: Active Grant
First Claim
Patent Images

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

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×