×

Flattening and rectifying a curved image

  • US 10,275,858 B2
  • Filed: 01/24/2017
  • Issued: 04/30/2019
  • Est. Priority Date: 01/24/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by a processor for flattening an image comprising:

  • receiving, at the processor, an image comprising an object having a non-linear side;

    identifying a plurality of corners of the object, the plurality of corners defining a region of the image to be flattened;

    defining a gradient between corresponding pairs of each of the plurality of corners;

    define a score for pixels between based on the gradient;

    using the scores to identify an edge between each of the plurality of corners, one edge approximating the non-linear side;

    responsive to identifying the edge between each of the plurality of corners, establishing dimensions of a flat representation;

    mapping each pixel in the region of the image to a pixel in the flat representation; and

    filling each pixel in the flat representation with the color of the corresponding pixel in the region of the image; and

    outputting the image to a display.

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