×

Systems and methods for dewarping images

  • US 9,547,883 B1
  • Filed: 08/19/2016
  • Issued: 01/17/2017
  • Est. Priority Date: 08/19/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method of image conversion, the method comprising:

  • extracting, by a processor, a setting from a description file of a virtual pan-tilt-zoom (PTZ) camera used to capture an original image through a wide-angle lens, wherein the description file contains a minimum viewing angle value, a maximum viewing angle value, and a border viewing angle value between the minimum viewing angle value and the maximum viewing angle value;

    determining, by the processor, based on the extracting, a distortion removal coefficient value for an output image based on a search of a balance between a viewing angle value of the virtual PTZ camera and a degree of a removal of a distortion introduced in the original image by the wide-angle lens, wherein determining the distortion removal coefficient value comprises;

    setting the distortion removal coefficient value to zero when the viewing angle value is equal to the maximum viewing angle value;

    setting the distortion removal coefficient value to between zero and one when the viewing angle value is less than the maximum viewing angle value and greater than the border viewing angle value, respectively; and

    setting the distortion removal coefficient value to one when the viewing angle value is less than or equal to the border viewing angle value and greater than or equal to the minimum viewing angle;

    determining, by the processor, based on the distortion removal coefficient value, a first set of coordinates for a pixel of the original image for each cell of a sparse conversion map, wherein the first set of coordinates is represented as a first look-up table, wherein the sparse conversion map corresponds to a sparse grid of pixels of the output image;

    determining, by the processor, via interpolating the first set of coordinates, a second set of coordinates of a pixel of the original image for each cell of a full conversion map, wherein the second set of coordinates is represented as a second look-up table, wherein the full conversion map corresponds to a full grid of pixels of the output image;

    instructing, by the processor, based on the interpolating, a display to present the output image such that the output image can be modified via an input controlling the viewing angle value, wherein the output image fully includes the distortion when the distortion removal coefficient value is zero, partially includes the distortion when the distortion removal coefficient value is between zero and one, and includes no distortion when the distortion removal coefficient value is one.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×