CN105391940B - A kind of image recommendation method and device - Google Patents

A kind of image recommendation method and device Download PDF

Info

Publication number
CN105391940B
CN105391940B CN201510744232.2A CN201510744232A CN105391940B CN 105391940 B CN105391940 B CN 105391940B CN 201510744232 A CN201510744232 A CN 201510744232A CN 105391940 B CN105391940 B CN 105391940B
Authority
CN
China
Prior art keywords
target image
image
picture quality
aperture
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510744232.2A
Other languages
Chinese (zh)
Other versions
CN105391940A (en
Inventor
余涛
徐羽琼
周振坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510744232.2A priority Critical patent/CN105391940B/en
Publication of CN105391940A publication Critical patent/CN105391940A/en
Application granted granted Critical
Publication of CN105391940B publication Critical patent/CN105391940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Abstract

The embodiment of the present invention provides a kind of image recommendation method and device, is related to field of image processing, for improving the efficiency and accuracy of image recommendation, and then improves the speed of image management, saves memory space.This method comprises: obtaining target image;The parameter information of the target image is obtained, the parameter information includes aperture time and kinematic parameter;Based on the parameter information of the target image, the picture quality of the target image is determined;When the picture quality of the target image meets any preset condition, recommend the target image, wherein the preset condition includes fuzzy, over-exposed and under-exposed.

Description

A kind of image recommendation method and device
Technical field
The present invention relates to field of image processing more particularly to a kind of image recommendation method and devices.
Background technique
With the fast development of technology, there are the electronic equipments such as more and more camera, mobile phone, tablet computers, These electronic equipments have shooting function, and user can use these electronic equipments and shoot various images.With electronics The rapid proliferation of equipment and user shoot forming for habit, and the amount of images of user's shooting sharply increases, therefore, in order to save figure The memory space of picture needs reasonably to manage image.
Currently, due to most users shooting level and shooting habit limitation, cause shooting image in there are parts The image value of ambiguous image, this kind of image is lower, and some images are even invalid, the later period, when user management this When a little images, need one by one to be checked, and manually delete fuzzy image, so that efficiency is lower.
Analysis is decoded to the image stored in the image of current shooting or photograph album when in the related technology, first, is obtained To the clarity characteristic value of image, later, judge whether the clarity characteristic value of image is less than preset threshold, and clarity is small It is directly deleted in the image of preset threshold, or recommends user to delete.
But only image is judged by clarity characteristic value, it is easy to mistake is generated, for example, having some The image of virtualization effect is deleted, and these images are a kind of specific fuzzy manners, are the images that user needs.In addition, Since the clarity of present image is relatively high, the original image of image is decoded and needs time for expending longer, and such as Fruit use image thumbnail, although certain efficiency can be improved, due to the poor definition of thumbnail and original image away from compared with Greatly, to can also generate biggish deviation.
Summary of the invention
The embodiment of the present invention provides a kind of image recommendation method and device, for improving the efficiency of image recommendation and accurate Degree, and then the speed of image management is improved, save memory space.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of image recommendation method, which comprises
Obtain target image;
The parameter information of the target image is obtained, the parameter information includes aperture time and kinematic parameter;
Based on the parameter information of the target image, the picture quality of the target image is determined;
When the picture quality of the target image meets any preset condition, recommend the target image, wherein institute It includes fuzzy, over-exposed and under-exposed for stating preset condition.
Further, before obtaining target image, when electronic equipment is during shooting image, electronic equipment not only may be used To obtain the essential information of the image of current shooting, for example, shooting time, shooting location, aperture time, aperture, focal length and ISO Sensitivity etc. can also obtain the kinematic parameter of current taken image, and the kinematic parameter is saved, for example, current Customized one EXIF in the file information of the image of shooting, kinematic parameter is stored in EXIF, it is of course also possible to will fortune Dynamic parameter is stored in any other form in the file information of the image of current shooting, and the embodiment of the present invention does not limit this It is fixed.
In addition, the kinematic parameter is the parameter detected in aperture time by the motion sensor of electronic equipment, The motion sensor can be acceleration transducer, gyroscope, or other for detecting the sensor etc. of kinematic parameter, this Inventive embodiments do not limit this.Wherein, the kinematic parameter that acceleration transducer detects is the acceleration of electronic equipment, The kinematic parameter that gyroscope detects is the angle of electronic equipment.
With reference to first aspect, in the first possible implementation of the first aspect, described to be based on the target image Parameter information, determine the picture quality of the target image, comprising:
When the target image aperture time greatly at fixed time and the kinematic parameter of the target image be greater than it is specified When threshold value, determine that the picture quality of the target image is fuzzy.
With reference to first aspect, in the second possible implementation of the first aspect, the parameter information further includes light Circle, focal length and ISO sensitivity;
Correspondingly, the information based on the parameter, determines the picture quality of the target image, comprising:
Aperture time, aperture, focal length, ISO sensitivity and kinematic parameter based on the target image, determine the target The fuzziness of image, the fuzziness of the target image are aperture time, aperture, the focal length, ISO sensitivity of the target image With the weighted value of kinematic parameter;
When the fuzziness of the target image is greater than Fuzzy Threshold, determine that the picture quality of the target image is mould Paste.
It wherein, can be by aperture time, kinematic parameter, aperture, focal length and ISO when determining the fuzziness of target image Each parameter weight ratio corresponding with each parameter is multiplied in sensitivity, and by five product additions of multiplication, to obtain mesh The synthesis fuzziness of logo image.
Further, the of the first possible implementation of first aspect and first aspect can not only be passed through respectively The two methods that two kinds of possible implementations provide, determine the picture quality of target image, can also be by above two method It is used in combination, that is to say, pass through the aperture time and kinematic parameter of target image first, determine the picture quality of target image, If the aperture time and kinematic parameter of target image are unsatisfactory in the first possible implementation of above-mentioned first aspect When condition, then the aperture time based on target image, kinematic parameter, aperture, focal length and ISO sensitivity, determine target image Fuzziness.By combining above two method, can be improved the accuracy of determining target image, at the same with second method phase Than also improving certain speed, saving the time.
With reference to first aspect, in a third possible implementation of the first aspect, when acquisition is less than the target figure When the parameter information of picture, the method also includes:
Obtain the grey level histogram of the target image;
Based on the grey level histogram of the target image, the average brightness of the target image is determined;
When the average brightness of the target image is greater than the first luminance threshold, the image matter of the target image is determined Amount is over-exposed;
When the average brightness of the target image is less than the second luminance threshold, the image matter of the target image is determined Amount is under-exposure.
Wherein, when electronic equipment obtains the grey level histogram of target image, which can be thumbnail, due to The grey level histogram of original image and thumbnail difference is smaller, and the resolution ratio of thumbnail is lower, therefore, using thumbnail as mesh Logo image can save the time, improve speed.
With reference to first aspect, in a fourth possible implementation of the first aspect, the acquisition target image includes:
Obtain the image of current shooting;Alternatively,
The instruction for receiving user's input obtains the image in photograph album according to described instruction.
Further, after electronic equipment recommends target image, screening that electronic equipment can also be final according to user With deletion as a result, to aperture time, kinematic parameter, the light being related in the third possible implementation of above-mentioned second aspect The corresponding weight ratio of each parameter is adjusted in circle, focal length and ISO sensitivity, so that the target image recommended is closer to user Requirement.
Wherein, since aperture time, kinematic parameter, focal length or ISO sensitivity are bigger, target image is more easy to appear mould Paste, aperture is smaller, target image be more easy to appear it is fuzzy, therefore, can with based on the principle that aperture time, movement join The corresponding weight ratio of each parameter is adjusted in number, aperture, focal length and ISO sensitivity.
Second aspect, provides a kind of image recommendation device, and described device includes:
First acquisition unit, for obtaining target image;
Second acquisition unit, for obtaining the parameter information of the target image, the parameter information includes aperture time And kinematic parameter;
First determination unit determines the image matter of the target image for the parameter information based on the target image Amount;
Recommendation unit, for recommending the mesh when the picture quality of the target image meets any preset condition Logo image, wherein the preset condition includes fuzzy, over-exposed and under-exposed.
In conjunction with second aspect, in the first possible implementation of the second aspect, first determination unit is specific For:
When the target image aperture time greatly at fixed time and the kinematic parameter of the target image be greater than it is specified When threshold value, determine that the picture quality of the target image is fuzzy.
In conjunction with second aspect, in a second possible implementation of the second aspect, the parameter information further includes light Circle, focal length and ISO sensitivity;
Correspondingly, first determination unit also particularly useful for:
Aperture time, aperture, focal length, ISO sensitivity and kinematic parameter based on the target image, determine the target The fuzziness of image, the fuzziness of the target image are aperture time, aperture, the focal length, ISO sensitivity of the target image With the weighted value of kinematic parameter;
When the fuzziness of the target image is greater than Fuzzy Threshold, determine that the picture quality of the target image is mould Paste.
In conjunction with second aspect, in the third possible implementation of the second aspect, when acquisition is less than the target figure When the parameter information of picture, described device further include:
Third acquiring unit, for obtaining the grey level histogram of the target image;
Second determination unit determines the brightness of the target image for the grey level histogram based on the target image Average value;
Third determination unit, for determining institute when the average brightness of the target image is greater than the first luminance threshold It is over-exposed for stating the picture quality of target image;
4th determination unit, for determining institute when the average brightness of the target image is less than the second luminance threshold The picture quality of target image is stated as under-exposure.
In conjunction with second aspect, in the fourth possible implementation of the second aspect, the first acquisition unit is specific For:
Obtain the image of current shooting;Alternatively,
The instruction for receiving user's input obtains the image in photograph album according to described instruction.
The image recommendation method and device that the embodiment of the present invention provides by obtaining target image, and obtains target figure The parameter information of picture, the parameter information based on target image determine the picture quality of target image, when acquisition fall short image Parameter information when, the grey level histogram based on target image determines the picture quality of target image, when the image of target image Quality be it is fuzzy, over-exposed or under-exposed when, recommend target image, thus improve image recommendation efficiency and accurately Degree, and then the efficiency of user management image is improved, save the time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the part-structure block diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of image recommendation method provided in an embodiment of the present invention;
Fig. 3 is a kind of interface schematic diagram for obtaining target image provided in an embodiment of the present invention;
Fig. 4 is another interface schematic diagram for obtaining target image provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of image recommendation device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another image recommendation device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Image recommendation method provided in an embodiment of the present invention can be executed by electronic equipment, which can be hand (Ultra-mobile Personal Computer, super mobile personal calculate by machine, tablet computer, laptop, UMPC Machine), net book, PDA (Personal Digital Assistant, personal digital assistant), video camera and camera etc..This Inventive embodiments are illustrated so that electronic equipment is mobile phone as an example, and shown in fig. 1 is mobile phone relevant to various embodiments of the present invention Part-structure block diagram.
It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, the structure of mobile phone is not made At restriction.For example, the mobile phone may also include the more perhaps less component than shown in Fig. 1 or have different from shown in Fig. 1 Configuration.
As shown in Figure 1, the electronic equipment 10 includes: memory 101, processor 102, sensor module 103, multimedia group Part 104, power supply module 105, input output interface 106.
It is specifically introduced below with reference to each component parts of the Fig. 1 to electronic equipment 10:
Memory 101 can be used for storing data, software program and module;It mainly include storing program area and storing data Area, wherein storing program area can application program needed for storage program area, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio number according to electronic equipment 10 According to, image data, phone directory etc.) etc..In addition, memory 101 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 102 is the control centre of electronic equipment 10, utilizes various interfaces and the entire electronic equipment of connection Various pieces by running or execute the software program and/or module that are stored in memory 101, and are called and are stored in Data in reservoir 101 execute the various functions and processing data of electronic equipment 10, to carry out whole prison to electronic equipment Control.Optionally, processor 102 may include one or more processing units;Preferably, processor 102 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 102.
Sensor module 103 includes one or more sensors, for providing the state of various aspects for electronic equipment 10 Assessment.Wherein, sensor module 103 may include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor Or temperature sensor, the acceleration/deceleration of electronic equipment 10 can detecte by sensor module 103, orientation, open/close State, the relative positioning of component or the temperature change of electronic equipment 10 etc..In addition, sensor module 103 can also include that light passes Sensor, such as CMOS or ccd image sensor, for being used in imaging applications.
The screen of offer one output interface of the multimedia component 104 between electronic equipment 10 and user, for example, the screen Curtain can be liquid crystal display, touch panel.When screen is touch panel, screen may be implemented as touch screen, to receive Input signal from the user.Touch panel includes one or more touch sensors to sense touch, slide, and touch panel On gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch Or the relevant duration and pressure of slide.In addition, multimedia component 104 further include a front camera and/or after Set camera.When electronic equipment 10 is in operation mode, such as in a shooting mode or a video mode, front camera and/or postposition Camera can receive external multi-medium data.Each front camera and rear camera can be a fixed optics Lens system has focusing and optical zoom capabilities.
Power supply module 105 is used to provide power supply for the various components of electronic equipment 10, and power supply module 105 may include power supply Management system, one or more power supplys and other the associated component of electric power is generated, managed, and distributed with electronic equipment 10.It is defeated Ru output interface 106 provides interface between processor 102 and peripheral interface module, for example, peripheral interface module can be with key Disk, mouse etc..
Although being not shown, electronic equipment 10 can also include audio component and communication component etc., for example, audio component includes Microphone, communication component include WiFi (wireless fidelity, Wireless Fidelity) module, bluetooth module etc., and the present invention is implemented Details are not described herein for example.
Fig. 2 is a kind of flow chart of image recommendation method provided in an embodiment of the present invention, and this method is applied to electronic equipment In, as shown in Fig. 2, the image recommendation method the following steps are included:
Step 201: obtaining target image.
Wherein, obtaining target image includes the image for obtaining electronic equipment current shooting, or receives the finger of user's input It enables, the image in photograph album is obtained according to instruction.
Specifically, when electronic equipment obtains the image of current shooting, whether electronic equipment can detecte has current shooting Image, when detecting the image of current shooting, electronic equipment can directly acquire the image of current shooting;Alternatively, when inspection When measuring the image of current shooting, electronic equipment display reminding information makes user choose whether to obtain the image of current shooting, if User confirms selection, then obtains the image of current shooting.For example, prompt information is as shown in figure 3, if user's selection is to obtain The image of current shooting does not obtain the image of current shooting if user's selection is no.
When electronic equipment receives the instruction of user's input, obtains the image in photograph album according to instruction, user can pass through Pre-set button input instruction, and select the image in photograph album.Wherein, when selecting the image in photograph album, it not only can choose one A or multiple photograph albums also can choose one in a photograph album or multiple images.For example, as shown in figure 4, user passes through a little Pre-set button input instruction is hit, and selects multiple images in photograph album, after selection is completed, electronic equipment obtains the figure in photograph album Picture.
It should be noted that by pre-set button input instruction for obtaining image in photograph album be it is exemplary, certainly, use Family can also be by specifying operation input instruction, for example, specified operation can be slide, whipping operation etc., the present invention is real Example is applied not limit this.
Further, before obtaining target image, when electronic equipment is during shooting image, electronic equipment not only may be used To obtain the essential information of the image of current shooting, for example, shooting time, shooting location, aperture time, aperture, focal length and state Border standardization body sensitivity (English: International Standardization Organization Photosensibility, referred to as: ISO sensitivity) etc., the kinematic parameter of current taken image can also be obtained, and by the fortune Dynamic parameter is saved, for example, protecting kinematic parameter customized one EXIF in the file information of the image of current shooting There are in EXIF, it is of course also possible to which kinematic parameter to be stored in the file information of the image of current shooting in any other form In, it is not limited in the embodiment of the present invention.
It should be noted that the kinematic parameter is to detect to obtain in aperture time by the motion sensor of electronic equipment Parameter, which can be acceleration transducer, gyroscope or other for detecting the sensor of kinematic parameter Deng it is not limited in the embodiment of the present invention.Wherein, the kinematic parameter that acceleration transducer detects is adding for electronic equipment Speed, the kinematic parameter that gyroscope detects are the angle of electronic equipment.
Step 202: obtaining the parameter information of target image, which includes aperture time and kinematic parameter, is based on The parameter information of target image determines the picture quality of target image.
Wherein, since the parameter information of target image not only may include aperture time and kinematic parameter, can also include The multiple parameters such as aperture, focal length and ISO sensitivity, therefore, electronic equipment can be based on different parameter informations, to determine target The picture quality of image.In embodiments of the present invention, parameter information of the electronic equipment based on target image, determines target image The method of picture quality may include following two, as described below.
The first, when parameter information includes aperture time and kinematic parameter, parameter of the electronic equipment based on target image Information determines that the operation of the picture quality of target image can be with are as follows: when target image aperture time greatly at fixed time and mesh When the kinematic parameter of logo image is greater than specified threshold, determine that the image parameter of target image is fuzzy.
It should be noted that specified time and specified threshold can be arranged in advance, for example, the specified time can be 1/ 15s, 1/20s etc., the specified threshold of acceleration can be 0.5m/s2、0.8m/s2Deng, angle specified threshold can for 10 degree, 15 degree etc., the embodiment of the present invention compares without limitation.
Second, when parameter information is in addition to further including aperture, focal length and ISO photosensitive including aperture time and kinematic parameter When spending, parameter information of the electronic equipment based on target image determines that the operation of the picture quality of target image can be with are as follows: be based on mesh Aperture time, kinematic parameter, aperture, focal length and the ISO sensitivity of logo image, determine the fuzziness of target image, target image Fuzziness be the aperture time of target image, kinematic parameter, aperture, focal length and ISO sensitivity weighted value;Work as target image Fuzziness be greater than Fuzzy Threshold when, determine that the picture quality of target image is fuzzy.
It wherein, can be by aperture time, kinematic parameter, aperture, focal length and ISO when determining the fuzziness of target image Each parameter weight ratio corresponding with each parameter is multiplied in sensitivity, and by five product additions of multiplication, to obtain mesh The synthesis fuzziness of logo image.
Add it should be noted that each parameter is corresponding in aperture time, kinematic parameter, aperture, focal length and ISO sensitivity Power ratio is set in advance, for example, the weight ratio of aperture time is 0.1, the weight ratio of kinematic parameter is 0.3, aperture, Focal length and the weight ratio of ISO sensitivity are 0.2 etc., and the present invention is not especially limit this.In addition, Fuzzy Threshold It can also be arranged in advance, for example, Fuzzy Threshold is 20,30 etc., the embodiment of the present invention is not limited this equally.
Further, electronic equipment can determine the picture quality of target image by above two method respectively, may be used also It above two method to be used in combination, that is to say, pass through the aperture time and kinematic parameter of target image first, determine target The picture quality of image, if the aperture time and kinematic parameter of target image are unsatisfactory for the condition of above-mentioned first method, Aperture time based on target image, kinematic parameter, aperture, focal length and ISO sensitivity again, determine the fuzziness of target image. By combining above two method, the accuracy of determining target image can be improved, while compared with second method, also improving Certain speed, saves the time.
Step 203: when obtaining the parameter information of fall short image, the gray scale of the available target image of electronic equipment Histogram, the grey level histogram based on target image determine the average brightness of target image, when the brightness of target image is average Value be greater than the first luminance threshold when, determine target image picture quality be it is over-exposed, when the average brightness of target image When less than the second luminance threshold, determine the picture quality of target image for under-exposure.
It can also be the image in photograph album since target image can be not only the image of electronic equipment shooting, and photograph album In image may obtain less than parameter informations such as aperture time or kinematic parameters, therefore, when obtain fall short image ginseng When number information, electronic equipment can determine the quality of target image by step 203.
Wherein, when electronic equipment obtains the grey level histogram of target image, which can be thumbnail, due to The grey level histogram of original image and thumbnail difference is smaller, and the clarity of thumbnail is lower, therefore, using thumbnail as mesh Logo image can save the time, improve speed.
It should be noted that the first luminance threshold and the second luminance threshold can be arranged in advance, and the first luminance threshold is big In the second luminance threshold, for example, the first luminance threshold is 180,190, the second luminance threshold is 90,100 etc., the embodiment of the present invention This is not construed as limiting.
Step 204: when the picture quality of target image meets any preset condition, recommending target image, wherein pre- If condition includes fuzzy, over-exposed and under-exposed.
By above-mentioned steps 201-203, however, it is determined that target image picture quality meet it is fuzzy, over-exposed or exposure Any preset condition in light deficiency, target image is recommended user by electronic equipment, so that user screens and deletes.
Further, electronic equipment can also be according to the final screening of user and deletion as a result, to relating in above-mentioned steps 202 And to aperture time, kinematic parameter, aperture, the corresponding weight ratio of each parameter is adjusted in focal length and ISO sensitivity, with Make the target image recommended closer to the requirement of user.
Wherein, since aperture time, kinematic parameter, focal length or ISO sensitivity are bigger, target image is more easy to appear mould Paste, aperture is smaller, target image be more easy to appear it is fuzzy, therefore, can with based on the principle that aperture time, movement join The corresponding weight ratio of each parameter is adjusted in number, aperture, focal length and ISO sensitivity.
For example, when the quantity for the target image recommended is more, and when quantity that user finally deletes is smaller, can reduce fast Door time, kinematic parameter, focal length or the corresponding weight ratio of ISO sensitivity increase the corresponding weight ratio of aperture, to reduce The quantity of the target image of recommendation, to make the target image recommended closer to the requirement of user.
Image recommendation method provided in an embodiment of the present invention, electronic equipment obtain target figure by obtaining target image The parameter information of picture, the parameter information based on target image determine the picture quality of target image, when acquisition fall short image Parameter information when, the grey level histogram based on target image determines the picture quality of target image, when the image of target image Quality be it is fuzzy, over-exposed or under-exposed when, recommend target image, thus improve image recommendation efficiency and accurately Degree, and then the efficiency of user management image is improved, save the time.
Fig. 5 is the structural schematic diagram of image recommendation device 3 provided in an embodiment of the present invention, as shown in figure 5, the image recommendation Device 3 includes: first acquisition unit 301, second acquisition unit 302, the first determination unit 303 and recommendation unit 304.
First acquisition unit 301, for obtaining target image;
Second acquisition unit 302, for obtaining the parameter information of target image, which includes aperture time and fortune Dynamic parameter;
First determination unit 303 determines the picture quality of target image for the parameter information based on target image;
Recommendation unit 304, for recommending target figure when the picture quality of target image meets any preset condition Picture, wherein preset condition includes fuzzy, over-exposed and under-exposed.
Optionally, the first determination unit is specifically used for:
When the aperture time of target image greatly at fixed time and the kinematic parameter of target image be greater than specified threshold when, really The picture quality of image of setting the goal is fuzzy.
Optionally, referring to Fig. 6, when obtaining the parameter information of fall short image, the device 3 further include: third obtains Unit 305, the second determination unit 306, third determination unit 307 and the 4th determination unit 308.
Third acquiring unit 305, for obtaining the grey level histogram of target image;
Second determination unit 306 determines that the brightness of target image is average for the grey level histogram based on target image Value;
Third determination unit 307, for determining target when the average brightness of target image is greater than the first luminance threshold The picture quality of image is over-exposed;
4th determination unit 308, for determining target when the average brightness of target image is less than the second luminance threshold The picture quality of image is under-exposure.
Optionally, which further includes aperture, focal length and ISO sensitivity;
Correspondingly, the first determination unit 303 also particularly useful for:
Aperture time, aperture, focal length, ISO sensitivity and kinematic parameter based on target image, determine the mould of target image Paste degree, the fuzziness of target image are the weighting of the aperture time, aperture, focal length, ISO sensitivity and kinematic parameter of target image Value;
When the fuzziness of target image is greater than Fuzzy Threshold, determine that the picture quality of target image is fuzzy.
Optionally, first acquisition unit 301 is specifically used for:
Obtain the image of current shooting;Alternatively,
The instruction for receiving user's input obtains the image in photograph album according to the instruction.
The embodiment of the present invention provides a kind of image recommendation device, which obtains target figure by obtaining target image The parameter information of picture, the parameter information based on target image determine the picture quality of target image, when acquisition fall short image Parameter information when, the grey level histogram based on target image determines the picture quality of target image, when the image of target image Quality be it is fuzzy, over-exposed or under-exposed when, recommend target image, thus improve image recommendation efficiency and accurately Degree, and then the efficiency of user management image is improved, save the time.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (6)

1. a kind of image recommendation method, which is characterized in that the described method includes:
Obtain target image;
Obtain the parameter information of the target image, the parameter information include aperture, focal length, ISO sensitivity, aperture time and Kinematic parameter;
Based on the parameter information of the target image, the picture quality of the target image is determined;
When the picture quality of the target image meets any preset condition, recommend the target image, wherein described pre- If condition includes fuzzy, over-exposed and under-exposed;
The information based on the parameter, determines the picture quality of the target image, comprising:
Aperture time, aperture, focal length, ISO sensitivity and kinematic parameter based on the target image, determine the target image Fuzziness, the fuzziness of the target image is aperture time, aperture, focal length, ISO sensitivity and the fortune of the target image The weighted value of dynamic parameter;
When the fuzziness of the target image is greater than Fuzzy Threshold, determine that the picture quality of the target image is fuzzy.
2. the method as described in claim 1, which is characterized in that when obtaining the parameter information less than the target image, institute State method further include:
Obtain the grey level histogram of the target image;
Based on the grey level histogram of the target image, the average brightness of the target image is determined;
When the average brightness of the target image is greater than the first luminance threshold, determine that the picture quality of the target image is It is over-exposed;
When the average brightness of the target image is less than the second luminance threshold, determine that the picture quality of the target image is It is under-exposed.
3. the method as described in claim 1, which is characterized in that the acquisition target image includes:
Obtain the image of current shooting;Alternatively,
The instruction for receiving user's input obtains the image in photograph album according to described instruction.
4. a kind of image recommendation device, which is characterized in that described device includes:
First acquisition unit, for obtaining target image;
Second acquisition unit, for obtaining the parameter information of the target image, the parameter information includes aperture, focal length, ISO Sensitivity, aperture time and kinematic parameter;
First determination unit determines the picture quality of the target image for the parameter information based on the target image;
Recommendation unit, for recommending the target figure when the picture quality of the target image meets any preset condition Picture, wherein the preset condition includes fuzzy, over-exposed and under-exposed;
First determination unit also particularly useful for:
Aperture time, aperture, focal length, ISO sensitivity and kinematic parameter based on the target image, determine the target image Fuzziness, the fuzziness of the target image is aperture time, aperture, focal length, ISO sensitivity and the fortune of the target image The weighted value of dynamic parameter;
When the fuzziness of the target image is greater than Fuzzy Threshold, determine that the picture quality of the target image is fuzzy.
5. device as claimed in claim 4, which is characterized in that when obtaining the parameter information less than the target image, institute State device further include:
Third acquiring unit, for obtaining the grey level histogram of the target image;
Second determination unit determines that the brightness of the target image is average for the grey level histogram based on the target image Value;
Third determination unit, for determining the mesh when the average brightness of the target image is greater than the first luminance threshold The picture quality of logo image is over-exposed;
4th determination unit, for determining the mesh when the average brightness of the target image is less than the second luminance threshold The picture quality of logo image is under-exposure.
6. device as claimed in claim 4, which is characterized in that the first acquisition unit is specifically used for:
Obtain the image of current shooting;Alternatively,
The instruction for receiving user's input obtains the image in photograph album according to described instruction.
CN201510744232.2A 2015-11-05 2015-11-05 A kind of image recommendation method and device Active CN105391940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510744232.2A CN105391940B (en) 2015-11-05 2015-11-05 A kind of image recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510744232.2A CN105391940B (en) 2015-11-05 2015-11-05 A kind of image recommendation method and device

Publications (2)

Publication Number Publication Date
CN105391940A CN105391940A (en) 2016-03-09
CN105391940B true CN105391940B (en) 2019-05-28

Family

ID=55423724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510744232.2A Active CN105391940B (en) 2015-11-05 2015-11-05 A kind of image recommendation method and device

Country Status (1)

Country Link
CN (1) CN105391940B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870666B (en) * 2016-09-28 2020-12-29 腾讯科技(深圳)有限公司 Terminal control method and terminal
CN109510941B (en) * 2018-12-11 2021-08-03 努比亚技术有限公司 Shooting processing method and device and computer readable storage medium
CN110225244B (en) * 2019-05-15 2021-02-09 华为技术有限公司 Image shooting method and electronic equipment
CN110418056A (en) * 2019-07-16 2019-11-05 Oppo广东移动通信有限公司 A kind of image processing method, device, storage medium and electronic equipment
CN111598884A (en) * 2020-05-21 2020-08-28 北京世纪好未来教育科技有限公司 Image data processing method, apparatus and computer storage medium
CN112561957B (en) * 2020-11-30 2023-05-16 锐捷网络股份有限公司 State tracking method and device for target object

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4793049B2 (en) * 2006-03-27 2011-10-12 カシオ計算機株式会社 Imaging device, captured image display method, captured image display program, captured image deletion method, and captured image deletion program
JP4931101B2 (en) * 2004-08-09 2012-05-16 カシオ計算機株式会社 Imaging device
CN102509285A (en) * 2011-09-28 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Processing method and system for shot fuzzy picture and shooting equipment
CN103558996A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Photo processing method and system
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104750688A (en) * 2013-12-25 2015-07-01 鸿富锦精密工业(深圳)有限公司 Photo management method and system
CN104954659A (en) * 2014-03-28 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for processing image information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472065B (en) * 2007-12-26 2010-12-01 华晶科技股份有限公司 Image-fetching device and method for providing image fog information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4931101B2 (en) * 2004-08-09 2012-05-16 カシオ計算機株式会社 Imaging device
JP4793049B2 (en) * 2006-03-27 2011-10-12 カシオ計算機株式会社 Imaging device, captured image display method, captured image display program, captured image deletion method, and captured image deletion program
CN102509285A (en) * 2011-09-28 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Processing method and system for shot fuzzy picture and shooting equipment
CN103558996A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Photo processing method and system
CN104750688A (en) * 2013-12-25 2015-07-01 鸿富锦精密工业(深圳)有限公司 Photo management method and system
CN104954659A (en) * 2014-03-28 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for processing image information
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device

Also Published As

Publication number Publication date
CN105391940A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN105391940B (en) A kind of image recommendation method and device
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN106060406B (en) Photographing method and mobile terminal
CN106134176B (en) System and method for multifocal imaging
US9013592B2 (en) Method, apparatus, and computer program product for presenting burst images
CN107920211A (en) A kind of photographic method, terminal and computer-readable recording medium
CN106454086B (en) Image processing method and mobile terminal
CN108322663B (en) Photographing method, device, terminal and storage medium
WO2019091411A1 (en) Image capturing method, device, terminal, and storage medium
CN104539844A (en) Terminal
US9451159B2 (en) Photographing starting apparatus and method for built-in camera of portable data processing device
CN106161932B (en) A kind of photographic method and mobile terminal
CN112822412B (en) Exposure method, exposure device, electronic equipment and storage medium
CN104539843A (en) Terminal shooting method
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN108200335A (en) Photographic method, terminal and computer readable storage medium based on dual camera
WO2018166069A1 (en) Photographing preview method, graphical user interface, and terminal
CN106254807B (en) Electronic device and method for extracting still image
CN111669495B (en) Photographing method, photographing device and electronic equipment
CN106506958B (en) Method for shooting by adopting mobile terminal and mobile terminal
CN110677580B (en) Shooting method, shooting device, storage medium and terminal
CN107509024B (en) One kind is taken pictures processing method and mobile terminal
CN109068118B (en) Baseline distance adjusting method and device of double-camera module and double-camera module
WO2019091487A1 (en) Image photographing method and device, terminal, and storage medium

Legal Events

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