Flattening and rectifying a curved image
Representative embodiments disclose mechanisms to flatten an image comprising at least one curved or bent edge. An image is received from a capture device and a UI is presented that allows a user to define a general vicinity of an item in the image to be flattened. The system analyzes pixels in the...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
30.04.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Representative embodiments disclose mechanisms to flatten an image comprising at least one curved or bent edge. An image is received from a capture device and a UI is presented that allows a user to define a general vicinity of an item in the image to be flattened. The system analyzes pixels in the general vicinity to identify the highest probability of a corner in each general vicinity. The gradient of pixels between the corners is calculated and pixels scores are calculated based on the gradient. The pixels with the lowest scores between each corner are used as an edge. Smoothing is applied to each edge. Dimensions of the flat representation are calculated and the system maps pixels bounded by the edges and corners to pixels in the flat representation and copies the mapped pixels to the flat representation. |
---|---|
Bibliography: | Application Number: US201715414230 |