×

Image photographing method, apparatus, and terminal

  • US 10,863,077 B2
  • Filed: 09/12/2016
  • Issued: 12/08/2020
  • Est. Priority Date: 09/12/2016
  • Status: Active Grant
First Claim
Patent Images

1. An image photographing method for a terminal with a camera, the method comprising:

  • entering a photographing mode and detecting a quadrangular image in a preview image, wherein the quadrangular image comprises a first pair of opposite sides and a second pair of opposite sides, wherein an included angle between the first pair of opposite sides is less than an included angle between the second pair of opposite sides, and wherein a first side is a shorter side of the first pair of opposite sides;

    based on a photographing instruction, selecting at least one focus in the quadrangular image, wherein the at least one focus comprises a first focus, and wherein the first focus is in the quadrangular image and in a partial region comprising the first side;

    photographing at least one initial image based on the at least one focus,wherein selecting the at least one focus in the quadrangular image and photographing the at least one initial image based on the at least one focus comprise selecting the first focus in the quadrangular image, and photographing an initial image based on the first focus, and wherein selecting the first focus in the quadrangular image comprises;

    determining a first point and a second point respectively on a second side and a third side of the quadrangular image, wherein the second side and the third side are adjacent to the first side, wherein a distance between the first point and a vertex at which the first side and the second side intersect is less than or equal to a distance between the first point and a vertex at which the second side and a fourth side intersect, wherein a distance between the second point and a vertex at which the first side and the third side intersect is less than or equal to a distance between the second point and a vertex at which the third side and the fourth side intersect, and wherein the fourth side is an opposite side of the first side;

    determining, as the partial region comprising the first side, a first region formed by connecting the vertex at which the first side and the second side intersect, the vertex at which the first side and the third side intersect, the second point, and the first point in order; and

    selecting a point in the first region as the first focus;

    adjusting the quadrangular image in each of the at least one initial image to a rectangular image;

    obtaining a final image based on the rectangular image; and

    outputting the final image.

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