CN108200333B - Photographing composition method and terminal - Google Patents

Photographing composition method and terminal Download PDF

Info

Publication number
CN108200333B
CN108200333B CN201711459236.1A CN201711459236A CN108200333B CN 108200333 B CN108200333 B CN 108200333B CN 201711459236 A CN201711459236 A CN 201711459236A CN 108200333 B CN108200333 B CN 108200333B
Authority
CN
China
Prior art keywords
vertex
displaying
composition
screen
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711459236.1A
Other languages
Chinese (zh)
Other versions
CN108200333A (en
Inventor
梁少勃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201711459236.1A priority Critical patent/CN108200333B/en
Publication of CN108200333A publication Critical patent/CN108200333A/en
Application granted granted Critical
Publication of CN108200333B publication Critical patent/CN108200333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a photographing composition method, which comprises the steps of obtaining and displaying left composition prompt information and/or right composition prompt information according to position information of four vertexes of a screen; wherein, if four vertexes of the screen of the terminal are sequentially a first vertex, a second vertex, a third vertex and a fourth vertex clockwise from a vertex angle positioned at the upper left corner, the distance from the first vertex to the second vertex is greater than the distance from the first vertex to the fourth vertex, the distance from the third vertex to the fourth vertex is greater than the distance from the second vertex to the third vertex, and then acquiring and displaying the left composition prompt message comprises: if the distance between the first vertex and the first division point is ax, the distance between the first vertex and the second vertex is ab, the distance between the third vertex and the second division point is cy, and the distance between the third vertex and the fourth vertex is cd, then ax/ab is cy/cd is 0.618. The photographing composition method and the terminal can improve the reasonability of the layout and the photographing efficiency when a user photographs.

Description

Photographing composition method and terminal
Technical Field
The invention relates to the technical field of photographing, in particular to a photographing composition method and a terminal.
Background
With the development of electronic technology, camera terminals are more and more commonly owned and used by people, people can conveniently use integrated camera terminals, such as mobile phones integrated with camera functions to take pictures or record video images, and with the frequent taking of pictures and the popularity of social networks, the aesthetic feeling of pictures is more and more emphasized by people.
In the process of taking a picture by using the camera, in order to obtain a picture which is more reasonable and more meets the aesthetic requirements of people, a photographer needs to reasonably view a frame according to the distribution condition of objects in the picture.
Generally, a user takes a picture by placing a person in the center of a screen, so that the picture can be taken clearly, but the overall picture effect is not ideal. Even if some users have composition concepts, the users can only perform composition according to the photographing experience, so that the composition for photographing cannot be quickly and effectively performed, and the users are not favorable for quickly and effectively photographing to obtain photos with more reasonable layout.
Disclosure of Invention
The invention aims to provide a photographing composition method and a photographing composition terminal, which can improve the reasonability of layout and the photographing efficiency when a user photographs.
The invention provides a photographing composition method which is applied to a terminal and comprises the steps of obtaining position information of four vertexes of a screen of the terminal; acquiring and displaying left composition prompt information and/or right composition prompt information according to the position information of the four vertexes of the screen; wherein, if the four vertexes of the screen of the terminal are sequentially a first vertex (a), a second vertex (B), a third vertex (C) and a fourth vertex (D) clockwise from a vertex angle located at the upper left corner, and the distance from the first vertex (a) to the second vertex (B) is greater than the distance from the first vertex (a) to the fourth vertex (D), and the distance from the third vertex (C) to the fourth vertex (D) is greater than the distance from the second vertex (B) to the third vertex (C), then acquiring and displaying the left composition prompt information includes: position information of a first division point (X) is acquired on a straight line between a first vertex (a) and a second vertex (B), and position information of a second division point (Y) is acquired on a straight line between a third vertex (C) and a fourth vertex (D), wherein if a distance between the first vertex (a) and the first division point (X) is ax, a distance between the first vertex (a) and the second vertex (B) is ab, a distance between the third vertex (C) and the second division point (Y) is cy, and a distance between the third vertex (C) and the fourth vertex (D) is cd, the ax/ab is cy/cd is 0.618.
In one embodiment, the acquiring and displaying the left composition hint information further includes acquiring and displaying position information of a first intersection (O1) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (AY) between the first vertex (a) and the second division point (Y), and position information of a second intersection (O2) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (CX) between the third vertex (C) and the first division point (X), based on the position information of the first division point (X) and the position information of the second division point (Y); and/or displaying a left construction line including a connection line (BD) between the second vertex (B) and the fourth vertex (D), a connection line (AY) between the first vertex (A) and the second division point (Y), and a connection line (CX) between the third vertex (C) and the first division point (X).
In one embodiment, the acquiring and displaying the left composition prompt message further includes: the left composition portrait area is acquired and displayed according to a coincident point of a first straight line passing through a first intersection point (O1) and perpendicular to a line between the first vertex (a) and the second vertex (B), and a second straight line passing through a second intersection point (O2) and perpendicular to a line between the first vertex (a) and the fourth vertex (D).
In one embodiment, the acquiring and displaying the right composition hint information includes acquiring position information of a third division point (M) on a straight line between the first vertex (a) and the second vertex (B), and acquiring position information of a fourth division point (N) on a straight line between the third vertex (C) and the fourth vertex (D), wherein if a distance between the second vertex (B) and the third division point (M) is bm, and a distance between the fourth vertex (D) and the fourth division point (N) is dn, bm/ab is 0.618.
In one embodiment, the acquiring and displaying the right composition hint information further includes acquiring and displaying position information of a third intersection (O3) of a line (AC) between the first vertex (a) and the third vertex (C) and a line (BN) between the second vertex (B) and the fourth division point (N), and position information of a fourth intersection (O4) of a line (AC) between the first vertex (a) and the third vertex (C) and a line (DM) between the fourth vertex (D) and the third division point (M), based on the position information of the third division point (M) and the position information of the fourth division point (N); and/or displaying a right construction line comprising a connection line (AC) between the first vertex (A) and the third vertex (C), a connection line (BN) between the second vertex (B) and the fourth division point (N), a connection line (DM) between the fourth vertex (D) and the third division point (M).
In one embodiment, the acquiring and displaying the right composition hint information further comprises acquiring and displaying a right composition portrait area according to a coincidence point of a third straight line passing through a third intersection point (O3) and perpendicular to a line between the first vertex (a) and the second vertex (B), and a fourth straight line passing through a fourth intersection point (O4) and perpendicular to a line between the first vertex (a) and the fourth vertex (D).
In one embodiment, the step of obtaining and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertexes of the screen comprises detecting the position of a target object on the screen of the terminal; judging whether the target object is positioned on the left side of a screen of the terminal; if the target object is located on the left side of the screen of the terminal, acquiring and displaying left composition prompt information; if the target object is not located on the left side of the screen of the terminal, judging whether the target object is located on the right side of the screen of the terminal; if the target object is located on the right side of the screen of the terminal, acquiring and displaying right composition prompt information; and if the target object is not positioned on the right side of the screen of the terminal, simultaneously displaying the left composition prompt message and the right composition prompt message.
In an embodiment, the step of obtaining and displaying left composition prompt information and/or right composition prompt information according to the position information of the four vertices of the screen includes displaying composition prompt information in a corresponding direction according to the received composition direction selection information.
In an embodiment, the step of obtaining and displaying the left composition prompt information and/or the right composition prompt information according to the position information of the four vertices of the screen further includes switching the displayed left composition prompt information into the right composition prompt information according to the received composition direction switching information.
The invention also provides a terminal which comprises a memory and a processor. The memory is used for storing executable program codes; the processor is used for calling the executable program codes in the memory, and the execution steps comprise: acquiring position information of four vertexes of a screen of the terminal; acquiring and displaying left composition prompt information and/or right composition prompt information according to the position information of the four vertexes of the screen; wherein, if the four vertexes of the screen of the terminal are sequentially a first vertex (a), a second vertex (B), a third vertex (C) and a fourth vertex (D) from the upper right corner clockwise, and the distance from the first vertex (a) to the second vertex (B) is greater than the distance from the first vertex (a) to the fourth vertex (D), and the distance from the third vertex (C) to the fourth vertex (D) is greater than the distance from the second vertex (B) to the third vertex (C), acquiring and displaying the left composition prompt information includes: the position information of a first division point (X) is acquired and displayed on a straight line between a first vertex (a) and a second vertex (B), and the position information of a second division point (Y) is acquired and displayed on a straight line between a third vertex (C) and a fourth vertex (D), wherein if the distance between the first vertex (a) and the first division point (X) is ax, the distance between the first vertex (a) and the second vertex (B) is ab, the distance between the third vertex (C) and the second division point (Y) is cy, the distance between the third vertex (C) and the fourth vertex (D) is cd, ax/ab is cy/cd is 0.618.
According to the photographing composition method and the terminal, the left composition prompt message and/or the right composition prompt message are obtained and displayed according to the position information of the four vertexes of the screen, the left composition prompt message and/or the right composition prompt message comprise the position information of the dividing points, so that a user can quickly photograph a picture with a reasonable composition according to the left composition prompt message or the right composition prompt message when photographing, and therefore layout reasonability and photographing efficiency of the user can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart illustrating a photo composition method according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating an effect of the left composition prompt message displayed by the terminal according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating an effect of the right composition prompt message displayed by the terminal according to an embodiment of the present invention.
FIG. 4 is a flowchart illustrating a photo composition method according to a second embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, methods, steps, structures, features and effects of the coupling test device according to the present invention will be given with reference to the accompanying drawings and preferred embodiments.
The foregoing and other technical and scientific aspects, features and advantages of the present invention will be apparent from the following detailed description of preferred embodiments, which is to be read in connection with the accompanying drawings. While the present invention has been described in connection with the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and specific embodiments thereof.
First embodiment
Fig. 1 is a flowchart illustrating a photo composition method according to a first embodiment of the present invention. The photo composition method as shown in fig. 1 may be applied to a terminal, but is not limited thereto. The terminal may be, for example and without limitation, a mobile phone, a tablet computer, a camera, or other electronic devices capable of taking pictures.
As shown in fig. 1, the photo composition method includes the steps of:
step S11: acquiring position information of four vertexes of a screen of a terminal;
step S12: and acquiring and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertexes of the screen.
Specifically, referring to fig. 2, if the four vertexes of the screen of the terminal are, from the vertex angle located at the upper left corner, a first vertex a, a second vertex B, a third vertex C, and a fourth vertex D in a clockwise order, respectively, and the distance from the first vertex a to the second vertex B is greater than the distance from the first vertex a to the fourth vertex D, and the distance from the third vertex C to the fourth vertex D is greater than the distance from the second vertex B to the third vertex C, the obtaining and displaying the left composition prompt information in step S12 includes:
the method includes the steps of acquiring position information of a first division point X on a straight line between a first vertex A and a second vertex B, and acquiring position information of a second division point Y on a straight line between a third vertex C and a fourth vertex D, wherein if the distance between the first vertex A and the first division point X is ax, the distance between the first vertex A and the second vertex B is ab, the distance between the third vertex C and the second division point Y is cy, and the distance between the third vertex C and the fourth vertex D is cd, the ax/ab is cy/cd is 0.618.
The four vertexes of the screen of the terminal are started from the upper left corner, namely, the vertex angle corresponding to the upper left corner of the user starts when the screen of the terminal is opposite to the user.
In one embodiment, displaying the left composition hint information may include, but is not limited to, displaying the position information of the first division point X and the second division point Y.
Referring to fig. 1 and fig. 2, in an embodiment, the step S12 of acquiring and displaying the left composition prompt message may further include, but is not limited to: acquiring and displaying position information of a first intersection O1 of a connecting line BD between the second vertex B and the fourth vertex D and a connecting line AY between the first vertex a and the second division point Y, and position information of a second intersection O2 of a connecting line BD between the second vertex B and the fourth vertex D and a connecting line CX between the third vertex C and the first division point X, according to the position information of the first division point X and the position information of the second division point Y; and/or displaying a left histogram including a connection line BD between the second vertex B and the fourth vertex D, a connection line AY between the first vertex a and the second division point Y, and a connection line CX between the third vertex C and the first division point X.
In one embodiment, as shown in fig. 2, the position information of the first cross point O1 and/or the second cross point O2 may be represented by displaying crossed connecting lines, such as the first cross point O1 using the connecting line AY and the connecting line BD, or may be directly represented by displaying black dots, arrows, etc. on the screen.
In an embodiment, please refer to fig. 1 and fig. 2 together, in an embodiment, the acquiring and displaying the left composition prompt information in step S12 may further include, but is not limited to: and acquiring and displaying the left composition portrait area L according to a coincidence point of a first straight line and a second straight line, wherein the first straight line passes through the first intersection O1 and is perpendicular to a connecting line between the first vertex A and the second vertex B, and the second straight line passes through the second intersection O2 and is perpendicular to a connecting line AD between the first vertex A and the fourth vertex D.
Wherein the left composition cue information may include, but is not limited to, at least one of position information of the first division point X and the second division point Y, position information of the first intersection point O1 and the second intersection point O2, a left composition line, and a left composition portrait area L.
As shown in fig. 2, in an embodiment, the left composition portrait area L may be, but is not limited to, represented as a circle with a coincident point as an origin, or may be directly represented by displaying a black dot, an arrow, or a preset human face contour at the position of the coincident point, or the like.
In one embodiment, referring to fig. 1 and fig. 3, the step S12 of acquiring and displaying the right composition prompt message includes: acquiring position information of a third division point M on a straight line between the first vertex A and the second vertex B, and acquiring and displaying position information of a fourth division point N on a straight line between the third vertex C and the fourth vertex D, wherein if the distance between the second vertex B and the third division point M is bm, and the distance between the fourth vertex D and the fourth division point N is dn, bm/ab is 0.618.
In one embodiment, referring to fig. 1 and fig. 3, the step S12 of acquiring and displaying the right composition prompt message further includes: acquiring and displaying position information of a third intersection O3 of a connecting line AC between the first vertex a and the third vertex C and a connecting line BN between the second vertex B and the fourth division point N, and position information of a fourth intersection O4 of a connecting line AC between the first vertex a and the third vertex C and a connecting line DM between the fourth vertex D and the third division point M, according to the position information of the third division point M and the position information of the fourth division point N; and/or displaying a right histogram including a line AC between the first vertex a and the third vertex C, a line BN between the second vertex B and the fourth division point N, and a line DM between the fourth vertex D and the third division point M.
In an embodiment, referring to fig. 1 and fig. 3, the acquiring and displaying the right composition prompt message in step S12 further includes acquiring and displaying the right composition portrait area R according to a coincidence point of a third straight line and a fourth straight line, where the third straight line passes through the third intersection O3 and is perpendicular to a connection line between the first vertex (a) and the second vertex (B), and the fourth straight line passes through the fourth intersection O4 and is perpendicular to a connection line between the first vertex a and the fourth vertex D.
According to the photographing composition method, the left composition prompt information and/or the right composition prompt information are obtained and displayed according to the position information of the four vertexes of the screen, the left composition prompt information and/or the right composition prompt information comprise the position information of the dividing points, so that a user can quickly take a picture with a reasonable composition according to the left composition prompt information or the right composition prompt information when photographing, and therefore layout reasonability and photographing efficiency of the user can be improved. Furthermore, the photographing composition method of the embodiment may further display a prompt message including the left composition line BD, AY, CX and/or the right composition line AC, BN, DM and/or the left composition portrait area L and/or the right composition portrait area R, so that the user can quickly and accurately find a reasonable position of the composition, and the layout rationality and the photographing efficiency of the photograph can be further improved.
Second embodiment
FIG. 4 is a flowchart illustrating a photo composition method according to a second embodiment of the present invention. As shown in fig. 4, the photo composition method of the present embodiment includes:
step S21: acquiring position information of four vertexes of a screen of a terminal;
step S22: detecting the position of a target object on a screen of a terminal;
step S23: judging whether the target object is positioned on the left side of a screen of the terminal;
specifically, the position on the left side of the screen may be, but is not limited to, the left side of the center line of the line connecting the first vertex and the second vertex.
Specifically, the target object may be, but is not limited to, one or more portraits, or other photographic objects such as animals, buildings, flowers, and so forth.
If the target object is located on the left side of the screen of the terminal, the process proceeds to step S24: acquiring and displaying a left composition prompt message;
step S25: and switching the displayed left composition prompt information into right composition prompt information according to the received composition direction switching information.
If the target object is not located on the left side of the screen of the terminal, the process proceeds to step S26: judging whether the target object is positioned on the right side of a screen of the terminal;
if the target object is located at the right side of the screen of the terminal, the process proceeds to step S27: acquiring and displaying right composition prompt information;
if the target object is not located on the right side of the screen of the terminal, the process proceeds to step S28: and simultaneously displaying the left composition prompt message and the right composition prompt message.
In other embodiments, the composition presentation information may be displayed in a direction corresponding to the received composition direction selection information.
Specifically, the composition direction selection information may be, but is not limited to, input through an input module such as a screen or a key.
The photographing composition method can automatically select and display the left composition prompt message and/or the right composition prompt message according to the position of the target object, so that the display flexibility is improved while the simplicity of screen display is ensured, and the user experience is good.
Third embodiment
Fig. 5 is a schematic structural diagram of a terminal according to a third embodiment of the present invention. As shown in fig. 5, the terminal 30 includes a memory 302, a memory controller 304, one or more processors 306 (only one shown), a peripheral interface 308, a radio frequency module 310, a positioning navigation module 312, a camera module 314, an audio module 316, a screen 318, and a key module 320. These components communicate with one another via one or more communication buses/signal lines 322.
It will be appreciated that the configuration shown in fig. 5 is merely illustrative and that terminal 30 may include more or fewer components than shown in fig. 5 or may have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
The memory 302 can be used for storing software programs and modules, such as program instructions/modules corresponding to the photo composition method and system in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, so as to implement the photo composition method.
The memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 302 may further include memory located remotely from processor 306, which may be connected to terminal 30 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 302 by the processor 306, and possibly other components, may be under the control of the memory controller 304.
The peripherals interface 308 couples various input/output devices to the CPU and to the memory 302. Processor 306 executes various software, instructions within memory 302 to perform various functions of terminal 30 and to perform data processing.
In some embodiments, the peripheral interface 308, the processor 306, and the memory controller 304 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 310 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf module 310 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (Wireless internet, WiFi) (e.g., institute of electrical and electronics engineers standard IEEE302.11 a, IEEE302.11 b, IEEE302.1 g, and/or IEEE302.11 n), Voice over internet protocol (VoIP), world wide mail Access (Wireless for Access, Wi-15), and any other suitable protocol for instant messaging, including any other suitable protocol, and may even include those protocols that have not yet been developed.
The positioning navigation module 312 is used for acquiring route information of the current position and the destination of the terminal 30. Examples of the positioning navigation module 312 include, but are not limited to, a global positioning satellite system (GPS), a wireless local area network or mobile communication network based positioning technology.
The camera module 314 is used to take pictures or videos. The pictures or videos taken may be stored in the memory 302 and may be transmitted through the radio frequency module 310.
The audio module 316 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry. The audio circuitry receives audio data from the peripheral interface 308, converts the audio data to electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that the human ear can hear. The audio circuitry also receives electrical information from the microphone, converts the electrical information to voice data, and transmits the voice data to the peripheral interface 308 for further processing. The audio data may be retrieved from the memory 302 or through the radio frequency module 310. In addition, the audio data may also be stored in the memory 302 or transmitted through the radio frequency module 310. In some examples, the audio module 316 may also include an earphone jack for providing an audio interface to a headset or other device.
The screen 318 provides an output interface between the terminal 30 and the user. In particular, screen 318 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. It is understood that the screen 318 may also include a touch screen. The touch screen provides both an output and an input interface between the terminal 30 and the user. In addition to displaying video output to users, touch screens also receive user input, such as user clicks, swipes, and other gesture operations, so that user interface objects respond to these user input. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
The key module 320 also provides an interface for a user to input to the terminal 30, and the user can press different keys to cause the terminal 30 to perform different functions.
According to the photographing composition method and the terminal, the left composition prompt message and/or the right composition prompt message are obtained and displayed according to the position information of the four vertexes of the screen, the left composition prompt message and/or the right composition prompt message comprise the position information of the dividing points, so that a user can quickly photograph a picture with a reasonable composition according to the left composition prompt message or the right composition prompt message when photographing, and therefore layout reasonability and photographing efficiency of the user can be improved.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. A picture composition method is characterized in that the picture composition method is applied to a terminal and comprises the following steps:
acquiring position information of four vertexes of a screen of the terminal; and
acquiring and displaying left composition prompt information and/or right composition prompt information according to the position information of the four vertexes of the screen;
wherein, if the four vertexes of the screen of the terminal are sequentially a first vertex (a), a second vertex (B), a third vertex (C) and a fourth vertex (D) clockwise from a vertex angle located at the upper left corner, and the distance from the first vertex (a) to the second vertex (B) is greater than the distance from the first vertex (a) to the fourth vertex (D), and the distance from the third vertex (C) to the fourth vertex (D) is greater than the distance from the second vertex (B) to the third vertex (C), then acquiring and displaying the left composition prompt information includes:
acquiring position information of a first division point (X) on a straight line between a first vertex (a) and a second vertex (B), and acquiring position information of a second division point (Y) on a straight line between a third vertex (C) and a fourth vertex (D), wherein if a distance between the first vertex (a) and the first division point (X) is ax, a distance between the first vertex (a) and the second vertex (B) is ab, a distance between the third vertex (C) and the second division point (Y) is cy, and a distance between the third vertex (C) and the fourth vertex (D) is cd, the ax/ab is cy/cd is 0.618;
the step of obtaining and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertexes of the screen comprises the following steps:
displaying right composition prompt information when the target object is positioned at the right side of the screen of the terminal, and displaying left composition prompt information when the target object is positioned at the left side of the screen of the terminal;
wherein, the acquiring and displaying the left composition prompt message further comprises:
acquiring and displaying position information of a first cross point (O1) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (AY) between the first vertex (a) and the second division point (Y), and position information of a second cross point (O2) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (CX) between the third vertex (C) and the first division point (X), according to the position information of the first division point (X) and the position information of the second division point (Y); and/or
A left construction line including a connection line (BD) between the second vertex (B) and the fourth vertex (D), a connection line (AY) between the first vertex (A) and the second division point (Y), and a connection line (CX) between the third vertex (C) and the first division point (X) is displayed.
2. The photo composition method as claimed in claim 1, wherein said acquiring and displaying the left composition prompt information further comprises:
the left composition portrait area is acquired and displayed according to a coincident point of a first straight line passing through a first intersection point (O1) and perpendicular to a line between the first vertex (a) and the second vertex (B), and a second straight line passing through a second intersection point (O2) and perpendicular to a line between the first vertex (a) and the fourth vertex (D).
3. The photo composition method as claimed in claim 1, wherein the acquiring and displaying the right composition prompt information comprises:
position information of a third division point (M) is acquired on a straight line between the first vertex (a) and the second vertex (B), and position information of a fourth division point (N) is acquired on a straight line between the third vertex (C) and the fourth vertex (D), wherein if a distance between the second vertex (B) and the third division point (M) is bm and a distance between the fourth vertex (D) and the fourth division point (N) is dn, bm/ab is 0.618.
4. The photo composition method as claimed in claim 3, wherein said acquiring and displaying the right composition prompt information further comprises:
acquiring and displaying position information of a third intersection (O3) of a connecting line (AC) between the first vertex (a) and the third vertex (C) and a connecting line (BN) between the second vertex (B) and the fourth division point (N), and position information of a fourth intersection (O4) of a connecting line (AC) between the first vertex (a) and the third vertex (C) and a connecting line (DM) between the fourth vertex (D) and the third division point (M), according to the position information of the third division point (M) and the position information of the fourth division point (N); and/or
A right construction line is displayed comprising a connection line (AC) between the first vertex (a) and the third vertex (C), a connection line (BN) between the second vertex (B) and the fourth segmentation point (N), a connection line (DM) between the fourth vertex (D) and the third segmentation point (M).
5. The photo composition method as claimed in claim 3, wherein said acquiring and displaying the right composition prompt information further comprises:
and acquiring and displaying a right composition portrait area according to a coincident point of a third straight line passing through a third intersection point (O3) and perpendicular to a line between the first vertex (a) and the second vertex (B), and a fourth straight line passing through a fourth intersection point (O4) and perpendicular to a line between the first vertex (a) and the fourth vertex (D).
6. The photo composition method as claimed in claim 1, wherein the step of displaying right composition prompt information when the target object is located at the right side of the screen of the terminal, and displaying left composition prompt information when the target object is located at the left side of the screen of the terminal comprises:
detecting the position of a target object on a screen of the terminal;
judging whether the target object is positioned on the left side of a screen of the terminal;
if the target object is located on the left side of the screen of the terminal, acquiring and displaying left composition prompt information;
if the target object is not located on the left side of the screen of the terminal, judging whether the target object is located on the right side of the screen of the terminal;
if the target object is located on the right side of the screen of the terminal, acquiring and displaying right composition prompt information;
and if the target object is not positioned on the right side of the screen of the terminal, simultaneously displaying the left composition prompt message and the right composition prompt message.
7. The photo composition method as claimed in claim 1, wherein the step of acquiring and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertices of the screen comprises:
and displaying the composition prompt information in the corresponding direction according to the received composition direction selection information.
8. The photo composition method as claimed in claim 1, wherein the step of obtaining and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertices of the screen further comprises:
and switching the displayed left composition prompt information into right composition prompt information according to the received composition direction switching information.
9. A terminal, characterized in that the terminal comprises:
a memory for storing executable program code; and
a processor for invoking said executable program code in said memory, the steps of performing comprising:
acquiring position information of four vertexes of a screen of the terminal; and
acquiring and displaying left composition prompt information and/or right composition prompt information according to the position information of the four vertexes of the screen;
wherein, if the four vertexes of the screen of the terminal are sequentially a first vertex (a), a second vertex (B), a third vertex (C) and a fourth vertex (D) from the upper right corner clockwise, and the distance from the first vertex (a) to the second vertex (B) is greater than the distance from the first vertex (a) to the fourth vertex (D), and the distance from the third vertex (C) to the fourth vertex (D) is greater than the distance from the second vertex (B) to the third vertex (C), acquiring and displaying the left composition prompt information includes:
acquiring and displaying position information of a first division point (X) on a straight line between a first vertex (a) and a second vertex (B), and acquiring and displaying position information of a second division point (Y) on a straight line between a third vertex (C) and a fourth vertex (D), wherein if a distance between the first vertex (a) and the first division point (X) is AX, a distance between the first vertex (a) and the second vertex (B) is AB, a distance between the third vertex (C) and the second division point (Y) is CY, a distance between the third vertex (C) and the fourth vertex (D) is CD, AX/AB is CY/CD is 0.618;
the step of obtaining and displaying the left composition prompt message and/or the right composition prompt message according to the position information of the four vertexes of the screen comprises the following steps:
displaying right composition prompt information when the target object is positioned at the right side of the screen of the terminal;
displaying a left composition prompt message when the target object is positioned at the left side of the screen of the terminal;
wherein, the acquiring and displaying the left composition prompt message further comprises:
acquiring and displaying position information of a first cross point (O1) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (AY) between the first vertex (a) and the second division point (Y), and position information of a second cross point (O2) of a connecting line (BD) between the second vertex (B) and the fourth vertex (D) and a connecting line (CX) between the third vertex (C) and the first division point (X), according to the position information of the first division point (X) and the position information of the second division point (Y); and/or
A left construction line including a connection line (BD) between the second vertex (B) and the fourth vertex (D), a connection line (AY) between the first vertex (A) and the second division point (Y), and a connection line (CX) between the third vertex (C) and the first division point (X) is displayed.
CN201711459236.1A 2017-12-28 2017-12-28 Photographing composition method and terminal Active CN108200333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459236.1A CN108200333B (en) 2017-12-28 2017-12-28 Photographing composition method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459236.1A CN108200333B (en) 2017-12-28 2017-12-28 Photographing composition method and terminal

Publications (2)

Publication Number Publication Date
CN108200333A CN108200333A (en) 2018-06-22
CN108200333B true CN108200333B (en) 2021-12-28

Family

ID=62585265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459236.1A Active CN108200333B (en) 2017-12-28 2017-12-28 Photographing composition method and terminal

Country Status (1)

Country Link
CN (1) CN108200333B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369220A (en) * 2012-04-02 2013-10-23 索尼公司 Imaging device, control method of imaging device, and computer program
CN103945129A (en) * 2014-04-30 2014-07-23 深圳市中兴移动通信有限公司 Photographing-preview picture composition instruction method and system based on mobile terminal
CN105578043A (en) * 2015-12-18 2016-05-11 Tcl集团股份有限公司 Picture composition method and device for photographing of camera

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5164327B2 (en) * 2005-12-26 2013-03-21 カシオ計算機株式会社 Imaging apparatus and program
KR101103923B1 (en) * 2010-10-20 2012-01-12 성균관대학교산학협력단 Camera robot for taking moving picture and method for taking moving picture using camera robot
CN104243787B (en) * 2013-06-06 2017-09-05 华为技术有限公司 Photographic method, photo management method and equipment
CN106506942A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107333060A (en) * 2017-06-26 2017-11-07 上海与德科技有限公司 One kind shoots patterning process, device and equipment
CN107257438A (en) * 2017-07-10 2017-10-17 广东欧珀移动通信有限公司 Take pictures based reminding method, device, terminal and computer-readable storage medium
CN107509032A (en) * 2017-09-08 2017-12-22 维沃移动通信有限公司 One kind is taken pictures reminding method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369220A (en) * 2012-04-02 2013-10-23 索尼公司 Imaging device, control method of imaging device, and computer program
CN103945129A (en) * 2014-04-30 2014-07-23 深圳市中兴移动通信有限公司 Photographing-preview picture composition instruction method and system based on mobile terminal
CN105578043A (en) * 2015-12-18 2016-05-11 Tcl集团股份有限公司 Picture composition method and device for photographing of camera

Also Published As

Publication number Publication date
CN108200333A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2021008456A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN110059685B (en) Character area detection method, device and storage medium
CN110100251B (en) Apparatus, method, and computer-readable storage medium for processing document
CN110602101B (en) Method, device, equipment and storage medium for determining network abnormal group
US11284398B2 (en) Communication link configuration method and device
CN111176602B (en) Picture display method and device, storage medium and intelligent device
CN111355998B (en) Video processing method and device
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN107219989B (en) Icon processing method and device and terminal
CN111325220A (en) Image generation method, device, equipment and storage medium
CN110807769A (en) Image display control method and device
CN107730443B (en) Image processing method and device and user equipment
CN111556248B (en) Shooting method, shooting device, storage medium and mobile terminal
CN110827830B (en) Voiceprint recognition method, voiceprint recognition device, terminal and storage medium based on voice data
CN111860064B (en) Video-based target detection method, device, equipment and storage medium
CN105574453B (en) Two-dimensional code processing method and mobile terminal
CN108200333B (en) Photographing composition method and terminal
CN112992127A (en) Voice recognition method and device
CN105812664A (en) Mobile terminal photographing method and mobile terminal
JP2013015649A (en) Viewing angle control device, display device, viewing angle control method, and program
CN114332118A (en) Image processing method, device, equipment and storage medium
CN112184802B (en) Calibration frame adjusting method, device and storage medium
CN111294320B (en) Data conversion method and device
CN114860820A (en) Optimization method and device for technical business of data warehouse and electronic equipment
CN112399080A (en) Video processing method, device, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant