CN107682629B - Correction method of photographing interface, storage medium and mobile terminal - Google Patents
Correction method of photographing interface, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN107682629B CN107682629B CN201710910156.7A CN201710910156A CN107682629B CN 107682629 B CN107682629 B CN 107682629B CN 201710910156 A CN201710910156 A CN 201710910156A CN 107682629 B CN107682629 B CN 107682629B
- Authority
- CN
- China
- Prior art keywords
- interface
- photographing
- area
- target
- shielding area
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a correction method of a photographing interface, a storage medium and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target; if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target; virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks; and adjusting the brightness of the interface area to virtually shield objects around the shooting target. According to the invention, the picture taking interface is corrected during the shooting process, so that the effect of beautifying the picture can be realized without processing the picture after the shooting.
Description
Technical Field
The invention relates to the technical field of photographing interface processing, in particular to a method for correcting a photographing interface, a storage medium and a mobile terminal.
Background
In production and life, when people use mobile terminals (such as mobile phones and tablet computers) to take pictures, the situations are often encountered: you want to shoot one flower, but there are several other flowers or branches and leaves around it, at this moment, these several other flowers or branches and leaves have become the shelter or influence thing, not only influence the effect of shooing, but also influence the shooting efficiency because of needing to spend a large amount of time to select the angle etc.. Generally, the image taken can be used for eliminating the shielding objects influencing the shooting target through an image beautifying tool, and the color environment after elimination can be set to be the color environment near the target shooting object according to the principle of proximity. However, this technique of correcting a picture is not yet implemented when photographing is performed, and a great deal of time and effort is required for correcting a picture.
The prior art is therefore subject to further improvement.
Disclosure of Invention
In view of the foregoing disadvantages in the prior art, an object of the present invention is to provide a method for correcting a picture taking interface, a storage medium, and a mobile terminal for a user, so that the picture can be beautified without processing a picture after taking the picture by correcting the picture taking interface during the taking process.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a method for modifying a photographing interface, wherein the method comprises the following steps:
when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target;
if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target;
virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks;
and adjusting the brightness of the interface area to virtually shield objects around the shooting target.
The method for correcting the photographing interface, wherein if the user selects to shield the object around the photographing target, the step of detecting and outputting the shielded area track formed by the object around the photographing target specifically comprises:
if the user selects to shield objects around the shooting target, starting a shooting transformation area detection unit for detecting and outputting a shielding area track;
a photographing transformation area detection unit detects a shielding area formed by objects around a photographing target;
the photographing transformation area detection unit outputs a shielded area track formed by objects around a photographing target.
The method for correcting the photographing interface, wherein the step of detecting the shielding region formed by the object around the photographing target by the photographing transformation region detection unit specifically comprises:
the photographing transformation area detection unit calls a photographing background detection unit;
the photographing background detection unit outputs a photographing background detection signal, the photographing background detection signal detects the brightness of objects around a photographing target, and a shielding area formed by the objects around the photographing target is identified according to the difference of the brightness.
The method for correcting the photographing interface comprises the following steps of virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks:
when the track of the shielding area is detected, starting a photographing interface virtual dividing unit;
the virtual dividing unit identifies the shielding area track;
and dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface.
The correction method of the photographing interface comprises the steps that the photographing interface virtual dividing unit and the photographing transformation area detection unit are arranged in the photographing virtual transformation module, and the photographing background detection unit is arranged in the photographing interface virtual dividing unit.
The method for correcting the photographing interface comprises the following steps of dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface:
sending a photographing interface virtual dividing signal to a central processing unit according to the identified track brightness of the shielding area;
and the central processing unit calls a virtual division instruction to control the photographing interface to divide a plurality of interface areas corresponding to the shielding area tracks.
The method for correcting the photographing interface, wherein the step of adjusting the brightness of the interface area to virtually shield the object around the photographing target specifically comprises the following steps:
selecting an interface area and starting a brightness adjusting button;
the brightness of the interface area is adjusted to only clearly display the photographic subject.
According to the method for correcting the photographing interface, the color environment after virtual shielding is set to be the nearby color environment according to the nearby principle.
A storage medium, wherein the storage medium stores a computer program executable to implement a method as claimed in any one of the above.
A mobile terminal, comprising: a processor, a memory communicatively connected to the processor, the memory storing a computer program for, when executed, implementing the method of any of the above; the processor is configured to invoke a computer program in the memory to implement the method of any of the above.
Has the advantages that: the invention provides a correction method of a photographing interface, a storage medium and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target; if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target; virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks; and adjusting the brightness of the interface area to virtually shield objects around the shooting target. According to the invention, the picture taking interface is corrected during the shooting process, so that the effect of beautifying the picture can be realized without processing the picture after the shooting.
Drawings
FIG. 1 is a flowchart illustrating a method for modifying a photo interface according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart illustrating a process of detecting and outputting a track of a mask area according to a preferred embodiment of the method for correcting a photographing interface of the present invention.
FIG. 3 is a flowchart illustrating the operation of dividing the surface area according to the preferred embodiment of the method for modifying a photographing interface of the present invention.
FIG. 4 is a flowchart illustrating the operation of adjusting the brightness of the interface area according to the preferred embodiment of the method for correcting the photographing interface of the present invention.
Fig. 5 is a functional block diagram of a mobile terminal according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for modifying a photo interface according to a preferred embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
and S100, when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether the user needs to shield objects around the photographing target.
Step S200, if the user selects to shield the object around the shooting target, detecting and outputting a shielding area track formed by the object around the shooting target.
And S300, virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks.
And S400, adjusting the brightness of the interface area to virtually shield objects around the shooting target.
The object around the subject is an object that is focused on the subject and is close to the subject, but the user does not want to take a picture.
When the mobile terminal detects that the photographing interface is opened, a dialog box pops up to inquire whether a user needs to shield objects around a photographing target, if the user selects yes, a shielding area track formed by the objects around the photographing target is detected and output, and if the user selects no, normal photographing is not processed. And then virtually dividing a plurality of interface areas corresponding to the shielded area tracks on the photographing interface according to the shielded area tracks, and adjusting the brightness of the interface areas to virtually shield objects around the photographing target. The brightness refers to an index including photographing parameters such as chromaticity and saturation, more specifically, the index is equivalent to the depth of field during photographing, and objects around a photographing target can be blurred by adjusting the brightness, namely, virtual shielding is performed. Further, the virtually masked color environment is set to a nearby color environment according to a nearby principle.
Therefore, when a user selects to shield objects around a shooting target, only a shielding area track formed by the objects to be shielded needs to be determined, then the shooting interface is divided into interface areas corresponding to the shielding area track, and finally the objects around the shooting target are virtually shielded by the brightness of the interface areas.
Further, as shown in fig. 2, the step S200 specifically includes:
s201, if the user selects to shield the object around the shooting target, a shooting transformation area detection unit for detecting and outputting the track of the shielding area is started.
S202, a photographing transformation area detection unit detects a shielding area formed by objects around a photographing target.
S203, the photographing transformation area detection unit outputs a shielding area track formed by objects around the photographing target.
In specific implementation, if a user selects to shield an object around a shooting target, a shooting conversion region detection unit for detecting and outputting a track of the shooting conversion region is started to detect a shielding region formed by the object around the shooting target, and the shooting conversion region detection unit outputs a track of the shielding region formed by the object around the shooting target. The detection of the shielding region formed by the object around the shooting target by the shooting transformation region detection unit specifically includes: the photographing conversion area detection unit calls the photographing background detection unit, the photographing background detection unit outputs a photographing background detection signal, the photographing background detection signal detects the brightness of objects around a photographing target, and a shielding area formed by the objects around the photographing target is identified according to different brightness.
Further, as shown in fig. 3, the step S300 specifically includes:
step S301, when the shielded area track is detected, the virtual dividing unit of the photographing interface is started.
Step S302, the virtual dividing unit identifies the shielding region track.
And step S303, dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface.
In a preferred embodiment of the present invention, when the trajectory of the shielded area is detected, the virtual dividing unit of the photographing interface is started, and the virtual dividing unit identifies the trajectory of the shielded area and divides a plurality of interface areas corresponding to the trajectory of the shielded area on the photographing interface. The photographing interface virtual dividing unit and the photographing transformation area detection unit are arranged in the photographing virtual transformation module, and the photographing background detection unit is arranged in the photographing interface virtual dividing unit. Further, the step of dividing a plurality of interface regions corresponding to the shielding region tracks on the photographing interface specifically includes: and sending a photographing interface virtual dividing signal to a central processing unit according to the recognized track brightness of the shielding area, calling a virtual dividing instruction by the central processing unit, and controlling the photographing interface to divide a plurality of interface areas corresponding to the track of the shielding area, such as an interface area 1, an interface area 2 and an interface area 3. . . . . . And an interface region n.
In a further embodiment, as shown in fig. 4, the step S400 specifically includes:
and step S401, selecting the interface area and starting a brightness adjusting button.
And step S402, adjusting the brightness of the interface area to only clearly display the shooting target.
The photographing interface virtual dividing unit and the photographing transformation area detection unit are arranged in the photographing virtual transformation module, and the photographing background detection unit is arranged in the photographing interface virtual dividing unit.
In specific implementation, the interface area is selected, the brightness adjusting button is started, and the brightness of the interface area is adjusted to only clearly display the shooting target. Wherein, the color environment after the virtual shielding is set as the nearby color environment according to the nearby principle. That is, by modifying the photographing interface during photographing, not only can objects around a photographing target be virtually shielded, but also the shielded part can be set to a nearby color environment according to the principle of proximity, thereby realizing the effect of beautifying the picture without post-photographing processing the picture.
The present invention also provides a mobile terminal, as shown in fig. 5, the mobile terminal includes: a processor (processor)10, a memory (memory)20, a communication Interface (Communications Interface)30, and a communication bus 40; wherein the content of the first and second substances,
the processor 10, the memory 20 and the communication interface 30 complete mutual communication through the communication bus 40;
the communication interface 30 is used for information transmission between communication devices of the terminal;
the processor 10 is configured to call the computer program in the memory 20 to execute the method provided by the above method embodiments, for example, including: when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target; if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target; virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks; and adjusting the brightness of the interface area to virtually shield objects around the shooting target.
The invention also provides a storage medium, wherein the storage medium stores a computer program which can be executed to realize the correction method of the photographing interface.
In summary, the method for correcting a photographing interface, the storage medium and the mobile terminal provided by the present invention include the steps of: when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target; if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target; virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks; and adjusting the brightness of the interface area to virtually shield objects around the shooting target. According to the invention, the picture taking interface is corrected during the shooting process, so that the effect of beautifying the picture can be realized without processing the picture after the shooting.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.
Claims (5)
1. A method for modifying a photographing interface, the method comprising the steps of:
when the mobile terminal detects that the photographing interface is opened, popping up a dialog box, and inquiring whether a user needs to shield objects around a photographing target;
if the user selects to shield the objects around the shooting target, detecting and outputting a shielding area track formed by the objects around the shooting target;
virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks;
adjusting the brightness of the interface area to virtually shield objects around a shooting target, wherein the brightness includes indexes of shooting parameters of chroma and saturation;
the step of adjusting the brightness of the interface area to virtually shield the object around the shooting target specifically includes:
selecting an interface area and starting a brightness adjusting button;
adjusting the brightness of the interface area to only clearly display the shooting target;
if the user selects to shield the object around the shooting target, the step of detecting and outputting the shielded area track formed by the object around the shooting target specifically comprises the following steps:
if the user selects to shield objects around the shooting target, starting a shooting transformation area detection unit for detecting and outputting a shielding area track;
a photographing transformation area detection unit detects a shielding area formed by objects around a photographing target;
the photographing transformation area detection unit outputs a shielding area track formed by objects around a photographing target;
the step of detecting the shielding region formed by the object around the shooting target by the shooting transformation region detection unit specifically includes: the photographing transformation area detection unit calls a photographing background detection unit;
the photographing background detection unit outputs a photographing background detection signal, the photographing background detection signal detects the brightness of objects around a photographing target, and a shielding area formed by the objects around the photographing target is identified according to the difference of the brightness;
the step of virtually dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface according to the shielding area tracks specifically comprises the following steps:
when the track of the shielding area is detected, starting a photographing interface virtual dividing unit;
the virtual dividing unit identifies the shielding area track;
dividing a plurality of interface areas corresponding to the shielding area tracks on the photographing interface;
the color environment after the virtual shielding is set to be the nearby color environment according to the nearby principle, and the picture does not need to be processed after being shot.
2. The method for modifying a camera interface of claim 1, wherein the camera interface virtual partition unit and the camera transformation area detection unit are disposed in a camera virtual transformation module, and the camera background detection unit is disposed in the camera interface virtual partition unit.
3. The method for modifying a photographic interface of claim 2, wherein the step of dividing the photographic interface into a plurality of interface regions corresponding to the shielding region trajectory specifically comprises:
sending a photographing interface virtual dividing signal to a central processing unit according to the identified track brightness of the shielding area;
and the central processing unit calls a virtual division instruction to control the photographing interface to divide a plurality of interface areas corresponding to the shielding area tracks.
4. A storage medium, characterized in that the storage medium stores a computer program executable to implement the method according to any one of claims 1-3.
5. A mobile terminal, comprising: a processor, a memory communicatively connected to the processor, the memory storing a computer program for, when executed, implementing the method of any of claims 1-3; the processor is configured to invoke a computer program in the memory to implement the method of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710910156.7A CN107682629B (en) | 2017-09-29 | 2017-09-29 | Correction method of photographing interface, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710910156.7A CN107682629B (en) | 2017-09-29 | 2017-09-29 | Correction method of photographing interface, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107682629A CN107682629A (en) | 2018-02-09 |
CN107682629B true CN107682629B (en) | 2020-08-11 |
Family
ID=61137668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710910156.7A Active CN107682629B (en) | 2017-09-29 | 2017-09-29 | Correction method of photographing interface, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682629B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276409A (en) * | 2007-03-27 | 2008-10-01 | 三洋电机株式会社 | Image processing apparatus |
CN101339612A (en) * | 2008-08-19 | 2009-01-07 | 陈建峰 | Face contour checking and classification method |
CN104751405A (en) * | 2015-03-11 | 2015-07-01 | 百度在线网络技术(北京)有限公司 | Method and device for blurring image |
CN105979165A (en) * | 2016-06-02 | 2016-09-28 | 广东欧珀移动通信有限公司 | Blurred photos generation method, blurred photos generation device and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7688352B2 (en) * | 2005-11-25 | 2010-03-30 | Seiko Epson Corporation | Shake correction device, filming device, moving image display device, shake correction method and recording medium |
-
2017
- 2017-09-29 CN CN201710910156.7A patent/CN107682629B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276409A (en) * | 2007-03-27 | 2008-10-01 | 三洋电机株式会社 | Image processing apparatus |
CN101339612A (en) * | 2008-08-19 | 2009-01-07 | 陈建峰 | Face contour checking and classification method |
CN104751405A (en) * | 2015-03-11 | 2015-07-01 | 百度在线网络技术(北京)有限公司 | Method and device for blurring image |
CN105979165A (en) * | 2016-06-02 | 2016-09-28 | 广东欧珀移动通信有限公司 | Blurred photos generation method, blurred photos generation device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107682629A (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3410390B1 (en) | Image processing method and device, computer readable storage medium and electronic device | |
WO2017142342A1 (en) | Electronic device and operating method thereof | |
US20140232900A1 (en) | Light sensitive, low height, and high dynamic range camera | |
EP2966855A2 (en) | Mobile terminal and controlling method thereof | |
JP7166171B2 (en) | INTERFACE IMAGE DISPLAY METHOD, APPARATUS AND PROGRAM | |
US20210158577A1 (en) | Method for Adding Special Effect to Video, Electronic Device and Storage Medium | |
KR102469426B1 (en) | Image processing apparatus and operating method thereof | |
KR20160016068A (en) | Method for generating image and electronic device thereof | |
CN107967459B (en) | Convolution processing method, convolution processing device and storage medium | |
CN105704369A (en) | Information-processing method and device, and electronic device | |
EP3822758A1 (en) | Method and apparatus for setting background of ui control | |
CN110177269B (en) | Method and device for synchronously correcting exposure of double-shooting module | |
CN106651777B (en) | Image processing method and device and electronic equipment | |
CN113890989A (en) | Shooting method and electronic device | |
CN105141826B (en) | A kind of distortion correction method and terminal | |
EP3173978A1 (en) | Method and device for characteristic extraction | |
CN104994287A (en) | Camera shooting method based on wide-angle camera and mobile terminal | |
CN108307105B (en) | Shooting method, terminal and computer readable storage medium | |
US9800793B2 (en) | Method for generating target gain value of wide dynamic range operation | |
CN115082350A (en) | Stroboscopic image processing method and device, electronic device and readable storage medium | |
CN109167921B (en) | Shooting method, shooting device, shooting terminal and storage medium | |
CN103873759A (en) | Shooting method and electronic equipment | |
CN107563957B (en) | Eye image processing method and device | |
CN107682629B (en) | Correction method of photographing interface, storage medium and mobile terminal | |
CN110086987B (en) | Camera visual angle cutting method and device and 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 |