[go: up one dir, main page]

WO2018191887A1 - Procédé et appareil de photographie et de formation de motifs, et dispositif électronique - Google Patents

Procédé et appareil de photographie et de formation de motifs, et dispositif électronique Download PDF

Info

Publication number
WO2018191887A1
WO2018191887A1 PCT/CN2017/081092 CN2017081092W WO2018191887A1 WO 2018191887 A1 WO2018191887 A1 WO 2018191887A1 CN 2017081092 W CN2017081092 W CN 2017081092W WO 2018191887 A1 WO2018191887 A1 WO 2018191887A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
image information
main feature
target area
frame
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.)
Ceased
Application number
PCT/CN2017/081092
Other languages
English (en)
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201780089416.7A priority Critical patent/CN110622498B/zh
Priority to PCT/CN2017/081092 priority patent/WO2018191887A1/fr
Publication of WO2018191887A1 publication Critical patent/WO2018191887A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a photographing composition method, apparatus, and electronic device.
  • the photo usually includes the main features (that is, features that the user wants to highlight, such as people, buildings, etc.) and the background.
  • the different positions between the main feature and the background can make the photos have different effects.
  • Embodiments of the present invention provide a photographing composition method, device, and electronic device, which can improve the quality of a photo.
  • an embodiment of the present invention provides a photographing composition method, which is applied to an electronic device, where the electronic device includes a framing frame, and the photographing composition method includes:
  • a target area in the Fibonacci spiral is determined based on the main feature, and the target area is prompted in the finder frame.
  • an embodiment of the present invention provides a photographing and mapping device, which is applied to an electronic device, where the electronic device includes a framing frame, and the photo composition device includes:
  • An obtaining module configured to obtain image information in the finder frame
  • An analysis module configured to analyze the image information to extract a main feature in the image information
  • a determining module is configured to determine a target area in the Fibonacci spiral according to the main feature, and prompt the target area in the finder frame.
  • an embodiment of the present invention provides an electronic device, including:
  • a finder frame connected to the camera for displaying the image information
  • a processor coupled to the memory
  • the processor calls the executable program code stored in the memory, and performs the following steps:
  • a target area in the Fibonacci spiral is determined based on the main feature, and the target area is prompted in the finder frame.
  • Embodiments of the present invention provide a photographing composition method, device, and electronic device, which can improve the quality of a photo.
  • FIG. 1 is a schematic diagram of a first flow chart of a photographing composition method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic flowchart of a photo composition method according to an embodiment of the present invention.
  • FIG. 3 is a third schematic flowchart of a photo composition method according to an embodiment of the present invention.
  • FIG. 4 is a fourth schematic flowchart of a photo composition method according to an embodiment of the present invention.
  • FIG. 5 is a first schematic diagram of image information in a photo composition method according to an embodiment of the present invention.
  • FIG. 6 is a first schematic diagram of establishing a reference line in a photo composition method according to an embodiment of the present invention.
  • FIG. 7 is a first schematic diagram of establishing a Fibonacci spiral in a photographing composition method according to an embodiment of the present invention.
  • FIG. 8 is a second schematic diagram of establishing a reference line in a photo composition method according to an embodiment of the present invention.
  • FIG. 9 is a second schematic diagram of establishing a Fibonacci spiral in a photographing composition method according to an embodiment of the present invention.
  • FIG. 10 is a third schematic diagram of establishing a Fibonacci spiral in a photographing composition method according to an embodiment of the present invention.
  • FIG. 11 is a fourth schematic diagram of establishing a Fibonacci spiral in a photographing composition method according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of determining a target area in a photographing composition method according to an embodiment of the present invention.
  • FIG. 13 is a first schematic diagram showing a target area in a photographing composition method according to an embodiment of the present invention.
  • FIG. 14 is a second schematic diagram showing a target area in a photographing composition method according to an embodiment of the present invention.
  • FIG. 15 is a second schematic diagram of image information in a photo composition method according to an embodiment of the present invention.
  • FIG. 16 is a schematic diagram of a first structure of a photographing composition device according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of a second structure of a photographing composition device according to an embodiment of the present invention.
  • FIG. 18 is a third schematic structural diagram of a photographing composition device according to an embodiment of the present invention.
  • FIG. 19 is a fourth structural diagram of a photographing composition device according to an embodiment of the present invention.
  • FIG. 20 is a fifth structural diagram of a photographing composition device according to an embodiment of the present invention.
  • FIG. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the embodiment of the invention provides a photographing composition method, device and electronic device, which will be respectively described in detail below.
  • the photo composition method may include the following steps:
  • the photo composition method can be applied to electronic devices such as digital cameras and smart phones.
  • the electronic device has a camera and a framing frame.
  • the camera is used to capture image information in the external environment.
  • the image information captured by the camera can be displayed in the viewfinder.
  • the smartphone implements the camera function, the image information collected by the camera can be displayed on the display screen.
  • the display of the smartphone acts as a framing frame.
  • the user can observe the image information collected by the camera in real time through the framing frame, thereby adjusting the position and angle of the camera to obtain a better photographing effect.
  • the electronic device can acquire image information displayed in the finder frame and analyze and process the image information.
  • the electronic device can obtain image information of the framing frame once every interval.
  • image information can be acquired once per second.
  • Image information typically includes a main feature and a background.
  • the main feature is the feature that the user wants to highlight during the photographing process, such as characters, buildings, animals, and the like.
  • the background is the environmental information around the main feature. Referring to FIG. 5, the image information displayed in the finder frame includes a main feature and a background, and the main feature is a character.
  • the photo composition method may further include the following steps:
  • the image information is analyzed to extract main features in the image information, including:
  • Convolutional Neural Network (Convolutional Neural Network) Network
  • CNN Convolutional Neural Network
  • Processing images using convolutional neural networks is a mature technology.
  • the convolutional neural network may be applied to train the image information analysis model, and the image information analysis model is stored in the electronic device.
  • the image information analysis model is used to analyze and identify images.
  • the electronic device calls the image information analysis model stored in the electronic device to analyze the image information to extract the main features in the image information.
  • Fibonacci spiral is also called the "golden spiral", which is a spiral curve drawn according to the Fibonacci sequence, along which a plurality of rectangles are distributed.
  • a Fibonacci spiral can then be created in the framing frame.
  • the photo composition method may further include:
  • the electronic device may compare the plurality of main features extracted in a period of time to determine the similarity between the plurality of main features in the time period. When the similarity between each two adjacent main features is greater than the preset value, the main feature extraction is considered to be successful, otherwise the main feature extraction is considered unsuccessful.
  • the preset value may be a preset value, for example, 70%.
  • the electronic device when the electronic device extracts the main feature once per second, the five main features extracted within 5 seconds may be compared to determine the similarity between the five main features.
  • the similarity between each two adjacent main features of the five main features is greater than 70%, the main feature extraction is considered to be successful.
  • the viewfinder frame of the electronic device can integrate the touch sensing function, that is, the viewfinder frame can be a touch screen.
  • the electronic device determines that the main feature extraction is unsuccessful, the user may be prompted to specify the main feature in the finder frame. For example, the text message "Please specify the main feature in the image information" can be displayed in the finder frame to prompt the user.
  • the electronic device receives a touch operation of the user on the finder frame, and determines an area of the image information corresponding to the touch operation as a main feature.
  • the user's touch operation may be a click operation or a sliding operation.
  • establishing a Fibonacci spiral in the finder frame includes the following steps:
  • the preset ratio can be a preset value.
  • the preset ratio is greater than 0 and less than 1.
  • the above preset ratio may be a golden ratio (the golden ratio is about 0.618).
  • the electronic device can establish lateral reference lines and longitudinal reference lines in the horizontal and vertical directions of the framing frame, respectively, in a golden section.
  • the horizontal reference line divides the framing frame into upper and lower parts, and the ratio of the lower part to the upper part is the golden ratio.
  • the vertical reference line divides the framing frame into two parts, and the ratio of the left half to the right half is the golden ratio.
  • the intersection O of the lateral reference line and the longitudinal reference line is determined as the origin, and the Fibonacci spiral is established in the finder frame starting from the origin.
  • Fibonacci spiral In the process of establishing the Fibonacci spiral, you can first establish a Cartesian coordinate system with O as the origin, the horizontal reference line as the X axis, and the vertical reference line as the Y axis. Then, the Fibonacci spiral is established by taking the values in the Fibonacci sequence as the straight line in the direction of -Y, -X, +Y, and +X. The final Fibonacci spiral is shown in Figure 7.
  • determining the intersection of the lateral reference line and the longitudinal reference line as the origin includes the following steps:
  • the number of horizontal reference lines established by the electronic device is two, and the number of vertical reference lines is also two.
  • the ratio of the lower region to the upper region of the lateral reference line 1 is a golden ratio
  • the ratio of the upper region to the lower region of the lateral reference line 2 is a golden ratio
  • the ratio of the left region to the right region of the longitudinal reference line 1 is a golden ratio
  • the ratio of the right region to the left region of the longitudinal reference line 2 is a golden ratio.
  • the two lateral reference lines and the two longitudinal reference lines form four intersections A, B, C, D.
  • the electronic device establishes a horizontal center line and a longitudinal center line along the lateral direction and the longitudinal direction of the finder frame, respectively.
  • the horizontal center line divides the framing frame into upper and lower halves.
  • the vertical center line divides the framing frame into left and right halves.
  • the horizontal center line and the vertical center line divide the framing frame into four areas: the lower left area, the upper left area, the upper right area, and the lower right area. Among them, the intersection point A is located in the lower left area, the intersection point B is located in the upper left area, the intersection point C is located in the upper right area, and the intersection point D is located in the lower right area.
  • the electronic device can determine which region the main feature extracted in step S120 is in and determine the region as the starting region.
  • the main feature spans a plurality of regions, for example, the main feature spans the lower left region and the upper left region, the region in which most of the main feature is located is determined as the start region.
  • the intersection of the lateral reference line and the longitudinal reference line in the starting area is determined as the origin.
  • the electronic device can establish a Cartesian coordinate system with the horizontal reference line in the starting area as the X axis and the vertical reference line as the Y axis, and the determined origin.
  • the Fibonacci spiral is established by sequentially taking the values in the Fibonacci sequence as the straight line in the direction of -Y, -X, +Y, and +X.
  • the final Fibonacci spiral is shown in Figure 7.
  • the Fibonacci spiral is established by sequentially taking the values in the Fibonacci sequence as the straight line in the directions of +Y, -X, -Y, and +X.
  • the final Fibonacci spiral is shown in Figure 9.
  • the Fibonacci spiral is established by sequentially taking the values in the Fibonacci sequence as the straight line in the direction of +Y, +X, -Y, and -X.
  • the final Fibonacci spiral is shown in Figure 10.
  • the Fibonacci spiral is established by sequentially taking the values in the Fibonacci sequence as the straight line in the direction of -Y, +X, +Y, and -X.
  • the final Fibonacci spiral is shown in Figure 11.
  • the embodiment of the present invention is described herein only by taking the lateral length of the finder frame as being larger than the longitudinal length.
  • the horizontal data and the vertical data may be interchanged.
  • the Fibonacci spiral comprises a spiral curve and a plurality of rectangles distributed along the spiral curve.
  • the target area can be a point on the Fibonacci spiral or a rectangle on the Fibonacci spiral.
  • the electronic device determines a target area in the Fibonacci spiral according to the main feature. For example, the determined target area is a rectangle in the Fibonacci spiral, as shown in FIG.
  • the target area is prompted in the finder frame. After prompting the target area, the user can move the lens to quickly place the main feature in the target area. Thereby, the user can quickly obtain the best photographing effect.
  • Fibonacci spiral created in the framing frame is only calculated by the electronic device and is invisible to the user. There are several ways to prompt the target area.
  • the target area can be displayed in the finder frame.
  • the display may be performed by highlighting the edge of the target area, by blinking the target area, or by other means such as gradation.
  • the manner in which the target area is prompted includes, but is not limited to, the manner enumerated above.
  • a text prompt may also be displayed in the finder frame to enhance the prompting effect.
  • the text prompt can be information such as "put the main feature in the prompt box".
  • the photographing effect is as shown in FIG.
  • the user can quickly achieve the best photo effect.
  • determining a target area in the Fibonacci spiral according to the main feature, and prompting the target area in the finder frame includes the following steps:
  • the electronic device can calculate the area of the main feature according to the extracted main features. At the same time, the electronic device can calculate the area of each rectangle in the Fibonacci spiral. Subsequently, the area of the main feature is adapted to the area of each rectangle to determine the rectangle with the highest degree of area fit to the main feature.
  • the electronic device can determine the target area in the Fibonacci spiral according to the adaptation result, and prompt the target area in the finder frame.
  • the area of the main feature is respectively adapted to the area of each rectangle in the Fibonacci spiral to obtain an adaptation result, including the following steps:
  • Determining the target area in the Fibonacci spiral according to the adaptation result, and prompting the target area in the finder frame including:
  • S1431 Determine a rectangle corresponding to the smallest absolute value as a target area, and prompt the target area in the finder frame.
  • the electronic device can separately calculate the absolute value of the difference between the area S0 of the main feature and the area Sn of each rectangle in the Fibonacci spiral (n is the number of the rectangle when the rectangular area is arranged from small to large)
  • the area of the fourth rectangle S4 15, then
  • 4,
  • 3,
  • 1,
  • 10.
  • is the smallest, and the third rectangle can be determined as the target area. Then, the target area is prompted in the finder frame.
  • the present invention is not limited by the order of execution of the various steps described. In the case where no conflict occurs, some steps may be performed in other orders or simultaneously.
  • the photographing composition method acquires image information in the framing frame; analyzes the image information to extract main features in the image information; and establishes a Fibonacci spiral in the framing frame. a line; determining a target area in the Fibonacci spiral according to the main feature, and prompting the target area in the finder frame.
  • the scheme establishes a Fibonacci spiral in the framing frame, determines the target area in the Fibonacci spiral by the main features in the image information, and prompts the target area to remind the user to place the main feature in the target area. Quickly achieve the best photo results.
  • the embodiment of the present invention further provides a photo composition device, which can be integrated into an electronic device, and the electronic device can be an electronic device such as a digital camera or a smart phone.
  • the photo composition device 200 includes an acquisition module 201 , an analysis module 202 , an establishment module 203 , and a determination module 204 .
  • the obtaining module 201 is configured to acquire image information in the finder frame.
  • the photo composition device can be integrated in electronic devices such as digital cameras and smart phones.
  • the electronic device has a camera and a framing frame.
  • the camera is used to capture image information in the external environment.
  • the image information captured by the camera can be displayed in the viewfinder.
  • the smartphone implements the camera function, the image information collected by the camera can be displayed on the display screen.
  • the display of the smartphone acts as a framing frame.
  • the user can observe the image information collected by the camera in real time through the framing frame, thereby adjusting the position and angle of the camera to obtain a better photographing effect.
  • the acquiring module 201 in the photographing composition device can acquire the image information displayed in the finder frame, and analyze and process the image information.
  • the obtaining module 201 may acquire image information of the framing frame once every interval.
  • image information can be acquired once per second.
  • the analyzing module 202 is configured to analyze the image information to extract a main feature in the image information.
  • the analyzing module 202 analyzes the image information to extract the main features in the image information.
  • Image information typically includes a main feature and a background.
  • the main feature is the feature that the user wants to highlight during the photographing process, such as characters, buildings, animals, and the like.
  • the background is the environmental information around the main feature.
  • the photo composition device 200 further includes a training module 205.
  • a training module 205 configured to apply a convolutional neural network training image information analysis model
  • the analyzing module 202 is configured to analyze the image information by using the image information analysis model to extract a main feature in the image information.
  • Convolutional Neural Network (Convolutional Neural Network) Network
  • CNN Convolutional Neural Network
  • Processing images using convolutional neural networks is a mature technology.
  • the training module 205 may apply the convolutional neural network to train the image information analysis model, and store the image information analysis model in the electronic device.
  • the image information analysis model is used to analyze and identify images.
  • the analyzing module 202 calls the image information analysis model stored in the electronic device to analyze the image information to extract the main features in the image information.
  • a module 203 is created for establishing a Fibonacci spiral in the framing frame.
  • Fibonacci spiral is also called the "golden spiral", which is a spiral curve drawn according to the Fibonacci sequence, along which a plurality of rectangles are distributed.
  • the building module 203 can establish a Fibonacci spiral in the framing frame.
  • the photo composition device 200 further includes a determination module 206.
  • the determining module 206 is configured to determine whether the main feature extraction is successful
  • the establishing module 203 is configured to establish a Fibonacci spiral in the finder frame when the determining module 206 determines YES.
  • the judging module 206 may compare the plurality of main features extracted within a period of time to determine the similarity between the plurality of main features in the period of time. When the similarity between each two adjacent main features is greater than the preset value, the main feature extraction is considered to be successful, otherwise the main feature extraction is considered unsuccessful.
  • the preset value may be a preset value, for example, 70%.
  • the building module 203 creates a Fibonacci spiral in the framing frame.
  • the judging module 206 can compare the five main features extracted within 5 seconds to determine the similarity between the five main features. When the similarity between each two adjacent main features of the five main features is greater than 70%, the main feature extraction is considered to be successful.
  • the determining module 206 is further configured to:
  • An area of the image information corresponding to the touch operation is determined as a main feature.
  • the viewfinder frame of the electronic device can integrate the touch sensing function, that is, the viewfinder frame can be a touch screen.
  • the judging module 206 judges that the main feature extraction is unsuccessful, the user may be prompted to specify the main feature in the framing frame. For example, the text message "Please specify the main feature in the image information" can be displayed in the finder frame to prompt the user.
  • the judging module 206 receives the touch operation of the user on the finder frame, and determines an area corresponding to the touch operation in the image information as the main feature.
  • the user's touch operation may be a click operation or a sliding operation.
  • the setup module 203 creates a Fibonacci spiral in the framing frame.
  • the establishing module 203 includes: a first establishing submodule 2031, a second determining submodule 2032, and a second establishing submodule 2033.
  • a first establishing sub-module 2031 configured to respectively establish a horizontal reference line and a vertical reference line in a horizontal direction and a longitudinal direction of the finder frame
  • a second determining sub-module 2032 configured to determine an intersection of the horizontal reference line and the vertical reference line as an origin
  • the second establishing sub-module 2033 is configured to establish a Fibonacci spiral in the finder frame starting from the origin.
  • the preset ratio can be a preset value.
  • the preset ratio is greater than 0 and less than 1.
  • the above preset ratio may be a golden ratio (the golden ratio is about 0.618).
  • the first establishing sub-module 2031 may respectively establish a lateral reference line and a longitudinal reference line in a lateral direction and a longitudinal direction of the finder frame in a golden section ratio.
  • the horizontal reference line divides the framing frame into upper and lower parts, and the ratio of the lower part to the upper part is the golden ratio.
  • the vertical reference line divides the framing frame into two parts, and the ratio of the left half to the right half is the golden ratio.
  • the second determining sub-module 2032 determines the intersection O of the lateral reference line and the longitudinal reference line as the origin, and the second establishing sub-module 2033 establishes a Fibonacci spiral in the finder frame starting from the origin.
  • Fibonacci spiral In the process of establishing the Fibonacci spiral, you can first establish a Cartesian coordinate system with O as the origin, the horizontal reference line as the X axis, and the vertical reference line as the Y axis. Then, the Fibonacci spiral is established by taking the values in the Fibonacci sequence as the straight line in the direction of -Y, -X, +Y, and +X.
  • the second determining sub-module 2032 is configured to perform the following steps:
  • intersection of the lateral reference line and the longitudinal reference line in the starting area is determined as the origin.
  • the number of horizontal reference lines established by the first establishing submodule 2031 is two, and the number of vertical reference lines is also two.
  • the ratio of the lower region to the upper region of the lateral reference line 1 is a golden ratio
  • the ratio of the upper region to the lower region of the lateral reference line 2 is a golden ratio
  • the ratio of the left region to the right region of the longitudinal reference line 1 is a golden ratio
  • the ratio of the right region to the left region of the longitudinal reference line 2 is a golden ratio.
  • the two lateral reference lines and the two longitudinal reference lines form four intersections A, B, C, D.
  • the second determining sub-module 2032 establishes a horizontal center line and a longitudinal center line respectively in the lateral direction and the longitudinal direction of the finder frame.
  • the horizontal center line divides the framing frame into upper and lower halves.
  • the vertical center line divides the framing frame into left and right halves.
  • the horizontal center line and the vertical center line divide the framing frame into four areas: the lower left area, the upper left area, the upper right area, and the lower right area. Among them, the intersection point A is located in the lower left area, the intersection point B is located in the upper left area, the intersection point C is located in the upper right area, and the intersection point D is located in the lower right area.
  • the second determining sub-module 2032 can determine which region the main feature extracted by the analyzing module 202 is in, and determine the region as the starting region.
  • the main feature spans a plurality of regions, for example, the main feature spans the lower left region and the upper left region, the region in which most of the main feature is located is determined as the start region.
  • the intersection of the lateral reference line and the longitudinal reference line in the starting area is determined as the origin.
  • the determining module 204 is configured to determine a target area in the Fibonacci spiral according to the main feature, and prompt the target area in the finder frame.
  • the Fibonacci spiral comprises a spiral curve and a plurality of rectangles distributed along the spiral curve.
  • the target area can be a point on the Fibonacci spiral or a rectangle on the Fibonacci spiral.
  • the determination module 204 determines a target area in the Fibonacci spiral according to the main feature and prompts the target area in the finder frame. After prompting the target area, the user can move the lens to quickly place the main feature in the target area. Thereby, the user can quickly obtain the best photographing effect.
  • Fibonacci spiral created in the framing frame is only calculated by the electronic device and is invisible to the user. There are several ways to prompt the target area.
  • the target area can be displayed in the finder frame.
  • the display may be performed by highlighting the edge of the target area, by blinking the target area, or by other means such as gradation.
  • the manner in which the target area is prompted includes, but is not limited to, the manner enumerated above.
  • a text prompt may also be displayed in the finder frame to enhance the prompting effect.
  • the text prompt can be information such as "put the main feature in the prompt box".
  • the determining module 204 includes: an obtaining submodule 2041, an adapting submodule 2042, and a first determining submodule 2043.
  • Obtaining a sub-module 2041 configured to obtain an area of the main feature and an area of each rectangle in the Fibonacci spiral;
  • the adaptation sub-module 2042 is configured to respectively adapt an area of the main feature to an area of each rectangle in the Fibonacci spiral to obtain an adaptation result
  • the first determining sub-module 2043 is configured to determine a target area in the Fibonacci spiral according to the adaptation result, and prompt the target area in the finder frame.
  • the obtaining sub-module 2041 may calculate the area of the main feature according to the extracted main features. At the same time, the acquisition sub-module 2041 can calculate the area of each rectangle in the Fibonacci spiral. The adaptor sub-module 2042 then adapts the area of the main feature to the area of each rectangle to determine the rectangle with the highest degree of area fit to the main feature.
  • the first determining sub-module 2043 may determine a target area in the Fibonacci spiral according to the fitting result, and prompt the target area in the finder frame.
  • the adaptation sub-module 2042 is configured to perform the following steps:
  • the first determining submodule 2043 is configured to perform the following steps:
  • a rectangle corresponding to the smallest absolute value is determined as the target area, and the target area is prompted in the finder frame.
  • the adapting sub-module 2042 can calculate the absolute value of the difference between the area S0 of the main feature and the area Sn of each rectangle in the Fibonacci spiral (n is the number of the rectangle when the rectangular area is arranged from small to large).
  • the area of the fourth rectangle S4 15, then
  • 4,
  • 3,
  • 1,
  • 10.
  • is the smallest
  • the first determining sub-module 2043 may determine the third rectangle as the target area, and present the target area in the finder frame.
  • each of the above modules may be implemented as a separate entity, or may be implemented in any combination as one or several entities.
  • the photographing composition device 200 acquires the image information in the framing frame by the obtaining module 201; the analyzing module 202 analyzes the image information to extract the main features in the image information; and the establishing module 203 A Fibonacci spiral is established in the framing frame; the determination module 204 determines a target area in the Fibonacci spiral according to the main feature, and prompts the target area in the finder frame.
  • the scheme establishes a Fibonacci spiral in the framing frame, determines the target area in the Fibonacci spiral by the main features in the image information, and prompts the target area to remind the user to place the main feature in the target area. Quickly achieve the best photo results.
  • the embodiment of the invention further provides an electronic device for performing the above photo composition method.
  • the electronic device may be a device such as a digital camera or a smart phone, or may be another device. The following only illustrates the electronic device as a smart phone.
  • the electronic device 300 includes a camera 301, a touch screen 302, a memory 303, a processor 304, and a power source 305.
  • the camera 301 is used to collect external image information.
  • the camera 301 can include a front camera and a rear camera.
  • the number of cameras 301 can be one or more.
  • the touch screen 302 is electrically connected to the camera 301 and the processor 303.
  • the touch screen 302 is configured to receive a touch operation of the user and transmit the touch information of the touch operation to the processor 303 to cause the electronic device 300 to respond to the touch operation of the user.
  • the touch screen 302 can also serve as a display screen of the electronic device 300 for displaying information such as images, texts, and the like to the user.
  • the touch screen 302 can display image information collected by the camera 301.
  • Memory 303 can be used to store applications and data.
  • the application stored in the memory 303 contains executable program code.
  • Applications can form various functional modules.
  • the processor 304 executes various functional applications and data processing by running an application stored in the memory 303.
  • the processor 304 is a control center of the electronic device 300, and connects various parts of the electronic device 300 using various interfaces and lines, executes the electronic by running or executing an application stored in the memory 303, and calling data stored in the memory 303. Various functions and processing data of device 300.
  • the power supply 305 can be logically coupled to the processor 304 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the processor 304 in the electronic device 300 loads the executable program code corresponding to the process of one or more applications into the memory 303 according to the following instructions, and the processor 304 runs the storage.
  • the application in memory 303 thus implements various functions:
  • a target area in the Fibonacci spiral is determined based on the main feature, and the target area is prompted in the finder frame.
  • the processor 304 before acquiring the image information in the finder frame, is further configured to: apply the convolutional neural network training image information analysis model; and analyze the image information to extract the main features in the image information.
  • the processor 304 is configured to: analyze the image information by using the image information analysis model to extract a main feature in the image information.
  • the processor 304 before the Fibonacci spiral is established in the finder frame, is further configured to: determine whether the main feature extraction is successful; if the main feature extraction is successful, establish a Fibonacci in the finder frame. The spiral line.
  • the processor 304 is further configured to: if the main feature extraction is unsuccessful, receive a touch operation of the user on the finder frame; The area corresponding to the touch operation is determined to be the main feature.
  • the Fibonacci spiral includes a spiral curve and a plurality of rectangles distributed along the spiral curve, determining a target area in the Fibonacci spiral according to the main feature, and prompting the frame in the finder frame
  • the processor 304 is configured to: acquire an area of the main feature and an area of each rectangle; and respectively adapt an area of the main feature to an area of each rectangle to obtain an adaptation result; according to the adaptation result Determine the target area in the Fibonacci spiral and prompt the target area in the frame.
  • the area of the main feature is respectively adapted to the area of each rectangle to obtain an adaptation result
  • the processor 304 is configured to separately calculate the difference between the area of the main feature and the area of each rectangle.
  • Absolute value determining a minimum absolute value from the calculated plurality of absolute values; determining a target area in the Fibonacci spiral according to the fitting result, and processing the target area when the target frame is processed
  • the device 304 is configured to: determine a rectangle corresponding to the smallest absolute value as the target area, and prompt the target area in the finder frame.
  • the processor 304 when the Fibonacci spiral is established in the finder frame, is configured to: establish horizontal reference lines and longitudinal reference lines at a preset ratio along the lateral and longitudinal directions of the finder frame; The intersection of the reference line and the longitudinal reference line is determined as the origin; the Fibonacci spiral is established in the finder frame starting from the origin.
  • the transverse reference line is two, and the longitudinal reference line is also two.
  • the processor 304 is configured to: respectively follow the transverse direction of the finder frame. And a longitudinal center line and a longitudinal center line, wherein the horizontal center line and the longitudinal center line divide the finder frame into four areas; the area where the main feature is located is determined as a start area; the horizontal reference line and the vertical direction in the start area The intersection of the reference lines is determined as the origin.
  • an embodiment of the present invention provides an electronic device that acquires image information in a framing frame, analyzes the image information to extract a main feature in the image information, and establishes a Philip in the framing frame. a Bonachet spiral; the target area in the Fibonacci spiral is determined based on the main feature, and the target area is prompted in the finder frame.
  • the scheme establishes a Fibonacci spiral in the framing frame, determines the target area in the Fibonacci spiral by the main features in the image information, and prompts the target area to remind the user to place the main feature in the target area. Quickly achieve the best photo results.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

L'invention concerne un procédé de photographie et de formation de motifs, comprenant les étapes suivantes : obtention d'informations d'image dans un cadre de viseur ; analyse des informations d'image de manière à extraire une caractéristique principale dans les informations d'image ; établissement d'une ligne en spirale de Fibonacci dans le cadre de viseur ; et détermination d'une région cible dans la ligne en spirale de Fibonacci selon la caractéristique principale, puis guidage de la région cible dans le cadre de viseur. La présente invention concerne en outre un appareil de photographie et de formation de motifs, ainsi qu'un dispositif électronique.
PCT/CN2017/081092 2017-04-19 2017-04-19 Procédé et appareil de photographie et de formation de motifs, et dispositif électronique Ceased WO2018191887A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780089416.7A CN110622498B (zh) 2017-04-19 2017-04-19 拍照构图方法、装置及电子设备
PCT/CN2017/081092 WO2018191887A1 (fr) 2017-04-19 2017-04-19 Procédé et appareil de photographie et de formation de motifs, et dispositif électronique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/081092 WO2018191887A1 (fr) 2017-04-19 2017-04-19 Procédé et appareil de photographie et de formation de motifs, et dispositif électronique

Publications (1)

Publication Number Publication Date
WO2018191887A1 true WO2018191887A1 (fr) 2018-10-25

Family

ID=63855614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081092 Ceased WO2018191887A1 (fr) 2017-04-19 2017-04-19 Procédé et appareil de photographie et de formation de motifs, et dispositif électronique

Country Status (2)

Country Link
CN (1) CN110622498B (fr)
WO (1) WO2018191887A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155293A1 (en) * 2011-12-16 2013-06-20 Samsung Electronics Co., Ltd. Image pickup apparatus, method of providing composition of image pickup and computer-readable recording medium
CN103955718A (zh) * 2014-05-15 2014-07-30 厦门美图之家科技有限公司 一种图像主体对象的识别方法
CN104243787A (zh) * 2013-06-06 2014-12-24 华为技术有限公司 拍照方法、照片管理方法及设备
CN104601890A (zh) * 2015-01-20 2015-05-06 广东欧珀移动通信有限公司 利用移动终端拍摄人物的方法及装置
CN105578043A (zh) * 2015-12-18 2016-05-11 Tcl集团股份有限公司 一种相机拍照的构图方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917951A (zh) * 2014-03-14 2015-09-16 宏碁股份有限公司 摄像装置及其辅助拍摄人像方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155293A1 (en) * 2011-12-16 2013-06-20 Samsung Electronics Co., Ltd. Image pickup apparatus, method of providing composition of image pickup and computer-readable recording medium
CN104243787A (zh) * 2013-06-06 2014-12-24 华为技术有限公司 拍照方法、照片管理方法及设备
CN103955718A (zh) * 2014-05-15 2014-07-30 厦门美图之家科技有限公司 一种图像主体对象的识别方法
CN104601890A (zh) * 2015-01-20 2015-05-06 广东欧珀移动通信有限公司 利用移动终端拍摄人物的方法及装置
CN105578043A (zh) * 2015-12-18 2016-05-11 Tcl集团股份有限公司 一种相机拍照的构图方法和装置

Also Published As

Publication number Publication date
CN110622498B (zh) 2022-02-01
CN110622498A (zh) 2019-12-27

Similar Documents

Publication Publication Date Title
WO2019000462A1 (fr) Procédé et appareil de traitement d'image de visage, support d'informations et dispositif électronique
WO2018223857A1 (fr) Procédé et système de reconnaissance de ligne de texte
WO2016117836A1 (fr) Appareil et procédé de correction de contenu
WO2017131348A1 (fr) Appareil électronique et son procédé de commande
WO2017185316A1 (fr) Procédé et système de commande de vol de vue subjective pour véhicule aérien sans pilote et lunettes intelligentes
WO2015149588A1 (fr) Procédé de reconnaissance d'un mode d'exploitation d'un utilisateur sur un dispositif portatif, et dispositif portatif
WO2021025509A1 (fr) Appareil et procédé d'affichage d'éléments graphiques selon un objet
WO2021167210A1 (fr) Serveur, dispositif électronique, et procédés de commande associés
WO2015137666A1 (fr) Appareil de reconnaissance d'objet et son procédé de commande
WO2019045521A1 (fr) Dispositif électronique et procédé de commande associé
WO2015170832A1 (fr) Dispositif d'affichage, et procédé d'exécution d'appel vidéo correspondant
WO2012002742A2 (fr) Module appareil de prises de vue et procédé pour entraîner ledit module
WO2017148035A1 (fr) Procédé et appareil de traitement d'images
WO2020206885A1 (fr) Procédé et appareil de déverrouillage
WO2021210875A1 (fr) Dispositif électronique permettant de détecter un défaut dans une image sur la base d'une différence entre des sous-images acquises par un capteur à photodiodes multiples, et son procédé de fonctionnement
WO2015064935A1 (fr) Dispositif électronique et son procédé de commande
WO2019061042A1 (fr) Procédé de compensation d'exposition, dispositif et support de stockage lisible par ordinateur
WO2017206892A1 (fr) Procédé et appareil de traitement de capteur d'un terminal mobile, support d'informations et dispositif électronique
WO2019088481A1 (fr) Dispositif électronique, et procédé de correction d'image associé
WO2016041225A1 (fr) Procédé et appareil de traitement vidéo
WO2022045509A1 (fr) Appareil électronique et procédé de commande associé
WO2014178578A1 (fr) Appareil et procédé de génération de données d'image dans un terminal portable
WO2022025435A1 (fr) Projecteur et procédé de commande associé
WO2018191887A1 (fr) Procédé et appareil de photographie et de formation de motifs, et dispositif électronique
WO2017155365A1 (fr) Appareil électronique de fourniture d'image panoramique et procédé de commande associé

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17906313

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17906313

Country of ref document: EP

Kind code of ref document: A1