CN109819166A - A kind of image processing method and electronic equipment - Google Patents
A kind of image processing method and electronic equipment Download PDFInfo
- Publication number
- CN109819166A CN109819166A CN201910100622.4A CN201910100622A CN109819166A CN 109819166 A CN109819166 A CN 109819166A CN 201910100622 A CN201910100622 A CN 201910100622A CN 109819166 A CN109819166 A CN 109819166A
- Authority
- CN
- China
- Prior art keywords
- image
- display area
- electronic equipment
- display
- preset
- 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.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of image processing method and electronic equipment, wherein the image processing method includes: to respond photographing instruction when the first display area of electronic equipment shows the shooting preview interface of the first image, obtains the first image;First image is compared with the second image for being shown in the second display area;If the similarity value of the first image and the second image is greater than preset value, the first image and the second image are simultaneously displayed on the second display area.The present invention can be checked and be compared to having taken a picture as needed convenient for user, be finely adjusted conducive to parameter, background and the posture etc. selecting or as reference pair next time take pictures of the user to image, improved user experience.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of image processing methods and electronic equipment.
Background technique
With the fast development of electronic technology field, the electronic equipments such as mobile phone have become we work, life in can not
Or scarce a part.
Nowadays, it takes pictures as the electronic equipments such as mobile phone one of highest function of frequency of use in daily life, it is existing
Substantially all have front and rear camera on electronic equipment, be also equipped with that the shooting of U.S. face is even double to take the photograph that head shooting etc. is diversified to take pictures
Function, but as the camera function of electronic equipment is stronger and stronger, too many change is had no for the display aspect taken a picture
Change, for example, in the prior art, for the display mode taken a picture after completion of taking pictures, will mainly shoot the new of acquisition
Photo is shown separately in the specified region of shooting preview interface.
Obviously, this photo display mode is unfavorable for user and carries out checking comparison to having taken a picture as needed.
Summary of the invention
The present invention provides a kind of image processing method and electronic equipment, is unfavorable for using to solve existing photo display mode
Family carries out the problem of checking comparison to having taken a picture as needed.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of image processing method, it is applied to electronic equipment, comprising:
When the first display area of electronic equipment shows the shooting preview interface of the first image, photographing instruction is responded, is obtained
Take the first image;
First image is compared with the second image for being shown in the second display area;
If the similarity value of the first image and the second image is greater than preset value, the first image and the second image are shown simultaneously
Show on the second display area.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
First obtains module, and the shooting preview interface of the first image is shown for the first display area in electronic equipment
When, photographing instruction is responded, the first image is obtained;
Comparison module, for the first image to be compared with the second image for being shown in the second display area;
First display module, if being greater than preset value for the similarity value of the first image and the second image, by the first figure
As being simultaneously displayed on the second display area with the second image.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory are stored in memory
Computer program that is upper and can running on a processor, the computer program realize above-mentioned image processing method when being executed by processor
The step of method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, on computer readable storage medium
It is stored with computer program, the step of which realizes above-mentioned image processing method when being executed by processor.
In the embodiment of the present invention, it is shown in by the first image that will be taken pictures and in advance the second of the second display area
Image is compared, and the similarity value of the first image and the second image be greater than preset value when, will similar first image and
Second image is simultaneously displayed on the second display area, in order to which user checks and compares to having taken a picture as needed,
It is finely adjusted, improves conducive to parameter, background and the posture etc. selected or taken pictures next time as reference pair of the user to image
User experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows the flow diagrams of image processing method provided in an embodiment of the present invention;
Fig. 2 indicates the structural schematic diagram of electronic equipment provided in an embodiment of the present invention;
Fig. 3 indicates the hardware structural diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
Referring to Figure 1, the flow diagram of image processing method provided in an embodiment of the present invention is shown, the present invention
Embodiment provides a kind of image processing method, is applied to electronic equipment, which may comprise steps of:
Step 101, when the first display area of electronic equipment shows the shooting preview interface of the first image, electronic equipment
Photographing instruction is responded, the first image is obtained.
In this step, user opens camera, and electronic equipment shows that the shooting of photographed scene is pre- by the first display area
Look at interface, when showing the first image that user needs in shooting preview interface, user triggers photographing instruction, electronic equipment response
The photographing instruction obtains the first image.
Step 102, the first image is compared by electronic equipment with the second image for being shown in the second display area.
In this step, electronic equipment is by the first image that step 101 obtains and the second figure shown on the second display area
As carrying out similarity-rough set, to judge whether first image and the second image are similar image, consequently facilitating subsequent step base
It with the second image whether is that similar image takes corresponding display mode in first image.Wherein, in the embodiment of the present invention, the
Two display areas can be and the mutually independent different display areas in the first display area.
Step 103, if the similarity value of the first image and the second image is greater than preset value, electronic equipment is by the first image
It is simultaneously displayed on the second display area with the second image.
In this step, the comparison result based on step 102, however, it is determined that the similarity value of the first image and the second image is greater than
Preset value, i.e. the first image are the similar image of the second image, then electronic equipment will be as the first image of similar image and the
Two images are simultaneously displayed on the second display area, in order to which user checks and compares after the completion of taking pictures, are conducive to user couple
Parameter, background and the posture etc. of image selected or taken pictures next time as reference pair are finely adjusted.
It should be noted that if the quantity for the second image that second display area is shown is at least two in step 102,
Then the first image is compared with every one second image by electronic equipment respectively, at this point, in step 103, however, it is determined that the first image
It is the similar image of wherein one or more image at least two the second images, then electronic equipment will be as similar image
First image and the second image are simultaneously displayed on the second display area, in addition, at least two the second images, with the first image
It is not appeared in then on the second display area for the image of similar image.
In the embodiment of the present invention, it is shown in by the first image that will be taken pictures and in advance the second of the second display area
Image is compared, and when the first image is the similar image of the second image, and similar first image and the second image is same
When be shown on the second display area, in order to which user checks and compares to having taken a picture as needed, be conducive to user couple
Parameter, background and the posture etc. of image selected or taken pictures next time as reference pair are finely adjusted, and are improved user and are used body
It tests.
Wherein, in the embodiment of the present invention, for checking and comparing convenient for user, the first display area and second are shown
The setting in region can there are many.
For example, in an optional embodiment of the present invention, first display area and the second display area can
To be the two of them display area of split screen display available on display interface, specifically, step 102, electronic equipment by the first image with
Be shown in the second display area the second image be compared before, can be the following steps are included: electronic equipment sets electronics
Standby display interface split screen display available is at least two display areas, and the second display area is and the first display area split screen display available
One of display area.In the embodiment of the present invention, electronic equipment can be by the way that display interface split screen to be arranged, and division is shown as
At least two display areas, then the first display area at least two display areas of split screen display available shows shooting preview
Interface, the second display area at least two display areas of split screen display available show the second image, in this way, by that will show
Second display area of the second image and the first display area of display shooting preview interface are independently the one of split screen setting
A display area is shown, checking and comparing for image is conveniently carried out conducive to user.
It, can be with if electronic equipment has at least two display screens alternatively, in another optional embodiment of the invention
By the way that the interface of the second image of shooting preview interface and display is individually shown on a display screen, i.e. the first viewing area
Domain is the display interface of the first display screen at least two display screens, and the second display area is at least two display screens
The display interface of two display screens.In this way, by that will show the second display area of the second image and show shooting preview interface
First display area is respectively independently shown on the display interface of a display screen respectively, conveniently carries out image conducive to user
Check and compare.
Further optionally, in some embodiments of the invention, step 102, electronic equipment by the first image be shown in
Second image of the second display area is compared, and may comprise steps of: electronic equipment detects the first image and respectively
It whether there is face in two images;If there is face in the first image and the second image, it is directed to the first image and the second figure
Picture extracts the human face region in image, and the second face area of the first human face region and the second image to the first image respectively
Domain carries out recognition of face;If the similarity value of the face of the first human face region and the second human face region is greater than preset value, it is determined that
The similarity value of first image and the second image is greater than preset value, i.e. the first image and the second image are similar image.Here, lead to
It crosses and determines whether the first image and the second image are to take pictures to same face, if so, determining that the two is similar image.
Alternatively, optionally, in some embodiments of the invention, step 102, electronic equipment by the first image be shown in
Second image of the second display area is compared, and may comprise steps of: electronic equipment is typical by the first of the first image
Second representative profiles of profile and the second image carry out similarity-rough set, if the first representative profiles of the first image and the second image
The second representative profiles similarity value be greater than preset value, it is determined that the similarity value of the first image and the second image be greater than preset
Value, i.e. the first image and the second image are similar image.Here, by typical wheel respective in the first image and the second image
Exterior feature carries out similarity judgement, to judge whether the first image is identical as the photographed scene of the second image, i.e. the first image and second
Whether image shoots same region or the same object, so that it is determined that whether the first image and the second image are similar diagram
Picture.It wherein, can be by by the first representative profiles and if the size of the first representative profiles and the second representative profiles is there are deviation
The size of two representative profiles zooms in or out respectively, so that the size of the size of the first representative profiles and the second representative profiles
Difference be less than preset difference value so that the first representative profiles and the second representative profiles be closely sized to or it is identical, then carry out again
Similarity-rough set;If there are deviation, Ke Yitong for the display position of the first representative profiles and the second representative profiles in respective image
It crosses and the first representative profiles and the second representative profiles is subjected to position translation in respective image, so that the first representative profiles and second
Representative profiles be closely located to or it is identical, then carry out similarity-rough set again.In addition, electronic equipment by the first image be shown in
Second image of the second display area carries out similarity-rough set, may include: similar to the color of the second image to the first image
Degree is compared.
Certainly, in other optional embodiments of the invention, above-mentioned manner of comparison can be combined, that is, electronics
Equipment is detected in the first image and the second image respectively with the presence or absence of face;If there is people in the first image and the second image
Face is then directed to the first image and the second image, extracts the human face region in image respectively, and to the first face area of the first image
Second human face region of domain and the second image carries out recognition of face, and determines first image and second based on face recognition result
Whether image is similar image;If there are faces for unevenness in the first image and the second image, typical by the first of the first image
Second representative profiles of profile and the second image carry out similarity-rough set, and the first representative profiles and second based on the first image
The similarity value of second representative profiles of image determines whether the first image and the second image are similar image.
In addition, in some embodiments of the invention optional, step 103, electronic equipment is by the first image and the second image
It is simultaneously displayed on the second display area, may comprise steps of: being less than or wait in the quantity of the second image currently shown
When the first preset quantity, the first image and the second image are simultaneously displayed on the second display area by electronic equipment;Current
When the quantity of second image of display is greater than the first preset quantity, electronic equipment obtains second from the first image and the second image
The third image of preset quantity, and third image is shown on the second display area.In the embodiment of the present invention, to avoid second
The image that display area is shown is more, while being also convenient for user and checking comparison, the image to the second display area can show in advance
Registration amount carries out limitation setting.Here, when the quantity of the second image currently shown is greater than the first preset quantity, i.e. the second figure
When the quantity of picture is more than limits value, therefrom selected from the first image and the second image according to default selection mode by electronic equipment
The third image for selecting the second preset quantity of acquisition is shown, consequently facilitating user checks comparison.Wherein, the first preset quantity can
To need to be configured according to design requirement or user, for example, first preset quantity can be 4;Default selection mode can be with
For the selection mode based on image definition.In addition, being directed to the first image and the second image is simultaneously displayed on the second viewing area
The display mode in domain, alternatively, display mode of the third image of the second preset quantity in the second display area, it can be using simultaneously
The mode that the mode or matrix arrangement for arranging display are shown, in order to which user checks and compares.
In the embodiment of the present invention, be directed to the second image currently shown quantity be greater than the first preset quantity feelings
Shape, electronic equipment can be then based on image definition from the by measuring the image definition of the first image and the second image
The third image of the second preset quantity is obtained in one image and the second image.Specifically, electronic equipment is from the first image and second
The third image that the second preset quantity is obtained in image, may comprise steps of: be directed to the first image and the second image, electronics
Equipment is obtained respectively in each image, presets the rate of gray level of every a line gray value of fringe region;Electronic equipment calculates every
The mean value of the rate of gray level of all rows of fringe region is preset in one image;Electronic equipment is from the first image and the second image
In, obtain the third image of maximum second preset quantity of mean value.In the embodiment of the present invention, since the edge of clear image is opposite
The edge of blurred picture has biggish rate of gray level, therefore the rate of gray level of image border can be used as measurement index
To evaluate image definition, here, the default fringe region in the first image and the second image is obtained respectively by electronic equipment
Every a line gray value rate of gray level, to calculate separately to obtain the default fringe region in the first image and the second image
The mean value of the rate of gray level of all rows, then by comparing the size of the mean value, and it is pre- therefrom to choose mean value maximum second
If the third image of quantity.Wherein, in the embodiment of the present invention, spaced pixels points can continuously be declined with every a line gray value most
Rate of gray level of more edge rate of gray level as this line.
In addition, being directed to the second image in the embodiment of the present invention, inhomogeneity can be determined according to different user's needs
Second image of type, for example, the second image can be image similar with the preview image of shooting preview, alternatively, the second image
It can be the history image in preset time period.
Specifically, in an optional embodiment of the present invention, step 101, in the first display of the electronic equipment
When region shows the shooting preview interface of the first image, photographing instruction is responded, before obtaining the first image, can also include
Following steps: in the shooting preview stage, the preview image that the first display area preview is shown is obtained;In the figure of electronic equipment storage
As in, the second image similar with preview image is obtained;The second image is shown in the second display area.In the embodiment of the present invention,
And preview graph second image can be in shooting preview stage image similar with the preview image that shooting preview interface is shown, i.e.,
The similarity value of picture is greater than the image of target value, in this way, by showing similar with preview image second in the second display area
Image in order to which subsequent the first image that will be taken pictures is compared with the second image, and shows phase in the second display area
As the first image and the second image, be conducive to user carry out image comparison.Here, it is contemplated that preview image and response photographing instruction
There may be deviations between the first image obtained, and user can be configured target value according to self-demand, for example, target
Value can be less than or equal to preset value, so that roughing is carried out from the image that electronic equipment stores, to avoid asking for image leakage choosing
Topic;Alternatively, target value can be greater than preset value, thus to more harsh screening is carried out in the image of electronic equipment storage.
Alternatively, in another optional embodiment of the invention, step 101, in the first display of the electronic equipment
When region shows the shooting preview interface of the first image, electronic equipment responds photographing instruction, can be with before obtaining the first image
The following steps are included: electronic equipment in the image that electronic equipment stores, obtains the 4th image stored in preset time period;Electricity
Sub- equipment is shown in the second display area using the 4th image as the second image.In the embodiment of the present invention, the second image can be with
For the history image stored in predetermined amount of time, in this way, electronic equipment is by showing history image in the second display area, so as to
It is compared in subsequent the first image that will be taken pictures and history image (the second image), and shows phase in the second display area
As the first image and the second image, be conducive to user carry out image comparison, convenient for user's selecting or as reference to image
Parameter, background and the posture etc. taken pictures to next time are finely adjusted.
In addition, step 102, electronic equipment is by the first image and is shown in the second display area in the embodiment of the present invention
After second image is compared, which can be the following steps are included: if the first image and the second image
Similarity value is less than or equal to preset value, then shows the first image on the second display area, and take in the second display area
Disappear the second image of display.In the embodiment of the present invention, the comparison result based on step 102, however, it is determined that the first image and the second image
Similarity value be less than or equal to preset value, i.e. the first image and the second image are not similar images, then the first image is independent
It is shown on the second display area, so that user checks.
Image processing method provided in an embodiment of the present invention is shown in the by the first image that will take pictures and in advance
Second image of two display areas is compared, and when the similarity value of the first image and the second image is greater than preset value, will
Similar first image and the second image are simultaneously displayed on the second display area, in order to which user is as needed to having taken a picture
It is checked and is compared, conducive to user to parameter, background and the posture etc. of image selected or take pictures next time as reference pair
It is finely adjusted, improves user experience.
Based on the above method, the embodiment of the present invention provides a kind of electronic equipment to realize the above method.
Fig. 2 is referred to, shows the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.The present invention is implemented
Example provides a kind of electronic equipment 200, may include: the first acquisition module 210, comparison module 220 and the first display module 230.
First obtains module 210, and shooting preview circle of the first image is shown for the first display area in electronic equipment
When face, photographing instruction is responded, obtains the first image;
Comparison module 220, for the first image to be compared with the second image for being shown in the second display area;
First display module 230, if being greater than preset value for the similarity value of the first image and the second image, by first
Image and the second image are simultaneously displayed on the second display area.
Wherein, in the embodiment of the present invention, for checking and comparing convenient for user, the first display area and second are shown
The setting in region can there are many.For example, in an optional embodiment of the present invention, first display area and
Two display areas can be the two of them display area of split screen display available on display interface, and specifically, electronic equipment 200 can be with
It include: processing module.
Processing module, for being at least two display areas, the second display by the display interface split screen display available of electronic equipment
Region is one of display area with the first display area split screen display available.
In addition, first display module 230 may include: the first display unit in optional some embodiments of the invention
With the second display unit.
First display unit, when being less than or equal to the first preset quantity for the quantity in the second image currently shown,
First image and the second image are simultaneously displayed on the second display area;
Second display unit, when being greater than the first preset quantity for the quantity in the second image currently shown, from first
The third image of the second preset quantity is obtained in image and the second image, and third image is shown on the second display area.
In the embodiment of the present invention, be directed to the second image currently shown quantity be greater than the first preset quantity feelings
Shape, can by measuring the image definition of the first image and the second image, be then based on image definition from the first image and
The third image of the second preset quantity is obtained in second image.Specifically, the second display unit may include: that the first acquisition is single
Member, computation subunit and second obtain subelement.
First obtains subelement, for being directed to the first image and the second image, is obtained in each image respectively, presets edge
The rate of gray level of every a line gray value in region;
Computation subunit, for calculating the mean value for presetting the rate of gray level of all rows of fringe region in each image;
Second obtains subelement, for obtaining maximum second preset quantity of mean value from the first image and the second image
Third image.
In addition, being directed to the second image in the embodiment of the present invention, inhomogeneity can be determined according to different user's needs
Second image of type, for example, the second image can be image similar with the preview image of shooting preview, alternatively, the second image
It can be the history image in preset time period.
Specifically, in an optional embodiment of the present invention, electronic equipment 200 can also include: the second acquisition mould
Block, third obtain module and the second display module.
Second obtains module, for obtaining the preview image that the first display area preview is shown in the shooting preview stage;
Third obtains module, for obtaining the second image similar with preview image in the image that electronic equipment stores;
Second display module, for showing the second image in the second display area.
Alternatively, electronic equipment 200 can also include: the 4th acquisition mould in another optional embodiment of the invention
Block and third display module.
4th obtains module, for obtaining the 4th figure stored in preset time period in the image that electronic equipment stores
Picture;
Third display module is used for using the 4th image as the second image, and is shown in the second display area.
In addition, electronic equipment 200 can also include: the 4th display module in the embodiment of the present invention.
4th display module will if being less than or equal to preset value for the similarity value of the first image and the second image
First image is shown on the second display area, and cancels the second image of display in the second display area.
Electronic equipment provided in an embodiment of the present invention can be realized electronic equipment in the embodiment of the method for Fig. 1 realize it is each
Process, to avoid repeating, which is not described herein again.
Electronic equipment provided in an embodiment of the present invention, by the first image that will take pictures be shown in second in advance and show
Show that second image in region is compared, and when the similarity value of the first image and the second image is greater than preset value, it will be similar
The first image and the second image be simultaneously displayed on the second display area, in order to user as needed to taken a picture carry out
It checks and compares, carried out conducive to parameter, background and the posture selecting or as reference pair next time take pictures etc. of the user to image
Fine tuning, improves user experience.
The hardware structural diagram of Fig. 3 a kind of electronic equipment of each embodiment to realize the present invention.
The electronic equipment 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, defeated
Enter unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor
The components such as 310 and power supply 311.It will be understood by those skilled in the art that electronic devices structure shown in Fig. 3 is not constituted
Restriction to electronic equipment, electronic equipment may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, electronic equipment include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 310 show the shooting preview interface of the first image for the first display area in electronic equipment
When, photographing instruction is responded, the first image is obtained;First image is compared with the second image for being shown in the second display area
Compared with;If the similarity value of the first image and the second image is greater than preset value, the first image and the second image are simultaneously displayed on
On second display area.
In the embodiment of the present invention, it is shown in by the first image that will be taken pictures and in advance the second of the second display area
Image is compared, and the similarity value of the first image and the second image be greater than preset value when, will similar first image and
Second image is simultaneously displayed on the second display area, in order to which user checks and compares to having taken a picture as needed,
It is finely adjusted, improves conducive to parameter, background and the posture etc. selected or taken pictures next time as reference pair of the user to image
User experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set
Standby communication.
Electronic equipment provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also provide and electricity
The relevant audio output of specific function that sub- equipment 300 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor
(Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited
Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike
Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Electronic equipment 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when electronic equipment 300 is moved in one's ear
Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify electronic equipment posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap
Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with electronic equipment
Family setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and
Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071
Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area
It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments
3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it
On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching
The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display
Panel 3061 is the function that outputs and inputs of realizing electronic equipment as two independent components, but in some embodiments
In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of electronic equipment, it is specific this
Place is without limitation.
Interface unit 308 is the interface that external device (ED) is connect with electronic equipment 300.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in electronic equipment 300 or can be used in 300 He of electronic equipment
Data are transmitted between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage
Data in device 309 execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.Place
Managing device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Electronic equipment 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311
Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, electronic equipment 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of electronic equipment, including processor 310, and memory 309 is stored in
It is real when which is executed by processor 310 on memory 309 and the computer program that can be run on processor 310
Each process of existing above-mentioned image processing method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (15)
1. a kind of image processing method is applied to electronic equipment characterized by comprising
When the first display area of the electronic equipment shows the shooting preview interface of the first image, photographing instruction is responded, is obtained
Take the first image;
The first image is compared with the second image for being shown in the second display area;
If the similarity value of the first image and second image is greater than preset value, by the first image and described the
Two images are simultaneously displayed on second display area.
2. image processing method according to claim 1, which is characterized in that show the first image with being shown in second
Before showing that second image in region is compared, further includes:
By the display interface split screen display available of the electronic equipment be at least two display areas, second display area for institute
State one of display area of the first display area split screen display available.
3. image processing method according to claim 1, which is characterized in that by the first image and second image
It is simultaneously displayed on second display area, comprising:
When the quantity of second image currently shown is less than or equal to the first preset quantity, by the first image and institute
The second image is stated to be simultaneously displayed on second display area;
When the quantity of second image currently shown is greater than the first preset quantity, from the first image and described second
The third image of the second preset quantity is obtained in image, and the third image is shown on second display area.
4. image processing method according to claim 3, which is characterized in that from the first image and second image
The middle third image for obtaining the second preset quantity, comprising:
It for the first image and second image, is obtained in each image respectively, presets every a line ash of fringe region
The rate of gray level of angle value;
Calculate the mean value that the rate of gray level of all rows of fringe region is preset described in each image;
From the first image and second image, the third image of maximum second preset quantity of the mean value is obtained.
5. image processing method according to claim 1, which is characterized in that in the first display area of the electronic equipment
When showing the shooting preview interface of the first image, respond photographing instruction, obtain the first image before, further includes:
In the shooting preview stage, the preview image that the first display area preview is shown is obtained;
In the image of electronic equipment storage, second image similar with the preview image is obtained;
Second image is shown in second display area.
6. image processing method according to claim 1, which is characterized in that in the first display area of the electronic equipment
When showing the shooting preview interface of the first image, respond photographing instruction, obtain the first image before, further includes:
In the image of electronic equipment storage, the 4th image stored in preset time period is obtained;
Using the 4th image as second image, and it is shown in second display area.
7. image processing method according to claim 1, which is characterized in that show the first image with being shown in second
After showing that second image in region is compared, further includes:
If the similarity value of the first image and second image is less than or equal to preset value, the first image is shown
Show on second display area, and cancels in second display area and show second image.
8. a kind of electronic equipment characterized by comprising
First obtains module, and the shooting preview interface of the first image is shown for the first display area in the electronic equipment
When, photographing instruction is responded, the first image is obtained;
Comparison module, for the first image to be compared with the second image for being shown in the second display area;
First display module, if being greater than preset value for the similarity value of the first image and second image, by institute
It states the first image and second image is simultaneously displayed on second display area.
9. electronic equipment according to claim 8, which is characterized in that further include:
Processing module, for by the display interface split screen display available of the electronic equipment be at least two display areas, described second
Display area is one of display area with first display area split screen display available.
10. electronic equipment according to claim 8, which is characterized in that the first display module, comprising:
First display unit, when being less than or equal to the first preset quantity for the quantity in second image currently shown,
The first image and second image are simultaneously displayed on second display area;
Second display unit, when being greater than the first preset quantity for the quantity in second image currently shown, from described
The third image of the second preset quantity is obtained in first image and second image, and the third image is shown described
On second display area.
11. electronic equipment according to claim 10, which is characterized in that the second display unit includes:
First obtains subelement, for being directed to the first image and second image, obtains in each image, presets respectively
The rate of gray level of every a line gray value of fringe region;
Computation subunit, for calculating the mean value for presetting the rate of gray level of all rows of fringe region described in each image;
Second obtains subelement, for obtaining the mean value maximum second from the first image and second image
The third image of preset quantity.
12. electronic equipment according to claim 8, which is characterized in that further include:
Second obtains module, for obtaining the preview image that the first display area preview is shown in the shooting preview stage;
Third obtains module, similar with the preview image described for obtaining in the image that the electronic equipment stores
Second image;
Second display module, for showing second image in second display area.
13. electronic equipment according to claim 8, which is characterized in that further include:
4th obtains module, for obtaining the 4th figure stored in preset time period in the image that the electronic equipment stores
Picture;
Third display module is used for using the 4th image as second image, and is shown in second display area.
14. electronic equipment according to claim 8, which is characterized in that further include:
4th display module, if being less than or equal to preset value for the similarity value of the first image and second image,
Then the first image is shown on second display area, and cancels display described second in second display area
Image.
15. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor
Any one of described in image processing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910100622.4A CN109819166B (en) | 2019-01-31 | 2019-01-31 | Image processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910100622.4A CN109819166B (en) | 2019-01-31 | 2019-01-31 | Image processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109819166A true CN109819166A (en) | 2019-05-28 |
CN109819166B CN109819166B (en) | 2021-03-02 |
Family
ID=66606326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910100622.4A Active CN109819166B (en) | 2019-01-31 | 2019-01-31 | Image processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109819166B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287161A (en) * | 2019-07-02 | 2019-09-27 | 北京字节跳动网络技术有限公司 | Image processing method and device |
CN112333388A (en) * | 2020-10-30 | 2021-02-05 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
CN112351327A (en) * | 2019-08-06 | 2021-02-09 | 北京字节跳动网络技术有限公司 | Face image processing method and device, terminal and storage medium |
CN114125290A (en) * | 2021-11-22 | 2022-03-01 | 维沃移动通信有限公司 | Shooting method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120120269A1 (en) * | 2010-11-11 | 2012-05-17 | Tessera Technologies Ireland Limited | Rapid auto-focus using classifier chains, mems and/or multiple object focusing |
CN104133917A (en) * | 2014-08-15 | 2014-11-05 | 百度在线网络技术(北京)有限公司 | Method and device for storing pictures in classified mode |
CN106570101A (en) * | 2016-10-31 | 2017-04-19 | 努比亚技术有限公司 | Mobile terminal and image categorization method |
CN107959755A (en) * | 2017-11-27 | 2018-04-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108028891A (en) * | 2015-09-22 | 2018-05-11 | 三星电子株式会社 | Electronic equipment and photographic means |
CN108156384A (en) * | 2017-12-29 | 2018-06-12 | 珠海市君天电子科技有限公司 | Image processing method, device, electronic equipment and medium |
CN108182271A (en) * | 2018-01-18 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN108495033A (en) * | 2018-03-28 | 2018-09-04 | 努比亚技术有限公司 | One kind is taken pictures regulation and control method, equipment and computer readable storage medium |
CN109166156A (en) * | 2018-10-15 | 2019-01-08 | Oppo广东移动通信有限公司 | A kind of generation method, mobile terminal and the storage medium of camera calibration image |
-
2019
- 2019-01-31 CN CN201910100622.4A patent/CN109819166B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120120269A1 (en) * | 2010-11-11 | 2012-05-17 | Tessera Technologies Ireland Limited | Rapid auto-focus using classifier chains, mems and/or multiple object focusing |
CN104133917A (en) * | 2014-08-15 | 2014-11-05 | 百度在线网络技术(北京)有限公司 | Method and device for storing pictures in classified mode |
CN108028891A (en) * | 2015-09-22 | 2018-05-11 | 三星电子株式会社 | Electronic equipment and photographic means |
CN106570101A (en) * | 2016-10-31 | 2017-04-19 | 努比亚技术有限公司 | Mobile terminal and image categorization method |
CN107959755A (en) * | 2017-11-27 | 2018-04-24 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108156384A (en) * | 2017-12-29 | 2018-06-12 | 珠海市君天电子科技有限公司 | Image processing method, device, electronic equipment and medium |
CN108182271A (en) * | 2018-01-18 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN108495033A (en) * | 2018-03-28 | 2018-09-04 | 努比亚技术有限公司 | One kind is taken pictures regulation and control method, equipment and computer readable storage medium |
CN109166156A (en) * | 2018-10-15 | 2019-01-08 | Oppo广东移动通信有限公司 | A kind of generation method, mobile terminal and the storage medium of camera calibration image |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287161A (en) * | 2019-07-02 | 2019-09-27 | 北京字节跳动网络技术有限公司 | Image processing method and device |
CN110287161B (en) * | 2019-07-02 | 2022-09-23 | 北京字节跳动网络技术有限公司 | Image processing method and device |
CN112351327A (en) * | 2019-08-06 | 2021-02-09 | 北京字节跳动网络技术有限公司 | Face image processing method and device, terminal and storage medium |
CN112333388A (en) * | 2020-10-30 | 2021-02-05 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
CN112333388B (en) * | 2020-10-30 | 2022-04-12 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
CN114125290A (en) * | 2021-11-22 | 2022-03-01 | 维沃移动通信有限公司 | Shooting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109819166B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109819166A (en) | A kind of image processing method and electronic equipment | |
CN109246360A (en) | A kind of reminding method and mobile terminal | |
CN109688322A (en) | A kind of method, device and mobile terminal generating high dynamic range images | |
CN107864336B (en) | A kind of image processing method, mobile terminal | |
CN110445984A (en) | A kind of shooting reminding method and electronic equipment | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN108924414A (en) | A kind of image pickup method and terminal device | |
CN109743503A (en) | Reminding method and terminal | |
CN108881544A (en) | A kind of method taken pictures and mobile terminal | |
CN109688253A (en) | A kind of image pickup method and terminal | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN108174081B (en) | A kind of image pickup method and mobile terminal | |
CN109727212A (en) | A kind of image processing method and mobile terminal | |
CN109033912A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN109033913A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN109005355A (en) | A kind of image pickup method and mobile terminal | |
CN109688325A (en) | A kind of image display method and terminal device | |
CN109144393A (en) | A kind of image display method and mobile terminal | |
CN108984145A (en) | A kind of brightness adjusting method and electronic equipment | |
CN108924422A (en) | A kind of panorama photographic method and mobile terminal | |
CN110300286A (en) | A kind of image display method and terminal | |
CN107800968B (en) | A kind of image pickup method and mobile terminal | |
CN109639981A (en) | A kind of image capturing method and mobile terminal | |
CN109859718A (en) | Screen brightness regulation method and terminal device |
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 |