CN105893578B - A kind of method and device of photo selection - Google Patents

A kind of method and device of photo selection Download PDF

Info

Publication number
CN105893578B
CN105893578B CN201610203626.1A CN201610203626A CN105893578B CN 105893578 B CN105893578 B CN 105893578B CN 201610203626 A CN201610203626 A CN 201610203626A CN 105893578 B CN105893578 B CN 105893578B
Authority
CN
China
Prior art keywords
photo
value
photos
smart machine
characteristic value
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
CN201610203626.1A
Other languages
Chinese (zh)
Other versions
CN105893578A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610203626.1A priority Critical patent/CN105893578B/en
Publication of CN105893578A publication Critical patent/CN105893578A/en
Application granted granted Critical
Publication of CN105893578B publication Critical patent/CN105893578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of method and devices of photo selection, for solving the problem of that user needs to leaf through multiple continuous photos one by one to select the photo of needs after smart machine continuous photo.The described method includes: the N photos that smart machine is continuously shot by the dual camera on the smart machine;For every photo in the N photos, smart machine determines the characteristic value of the photo according to the brightness value for the pixel for including in the corresponding span value of the depth of field of the photo and the photo;The smart machine selects an at least photo from the N photos according to the characteristic value determined, and an at least photo is shown on the screen of the smart machine.After smart machine continuous shooting multiple pictures, smart machine can recommend photo according to the characteristic value of captured multiple pictures, from captured multiple pictures for user, to save the time that user selects photo, improve user experience.

Description

A kind of method and device of photo selection
Technical field
The present invention relates to the method and devices that smart machine field more particularly to a kind of photo select.
Background technique
With the development of camera function in smart machine, dual camera is mounted on smart machine, and smart machine can Multiple pictures are continuously shot to realize.
In the prior art, after smart machine continuous photo, user needs to leaf through multiple continuous photos one by one to select The photo that user needs, wastes the time of user, reduces user experience.
Summary of the invention
The object of the present invention is to provide a kind of method and devices of photo selection, to solve to work as smart machine continuous photo Afterwards, user need to leaf through one by one photo of multiple continuous photos to select needs the problem of.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of method of photo selection, which comprises
The N photos that smart machine is continuously shot by the dual camera on the smart machine;
For every photo in the N photo, smart machine according to the corresponding span value of the depth of field of the photo and The brightness value for the pixel for including in the photo determines the characteristic value of the photo;
The smart machine is according to the characteristic value determined, from the N photos, a selection at least photo, and An at least photo is shown on the screen of the smart machine.
Optionally, for every photo in the N photo, smart machine according to the depth of field of the photo it is corresponding across The brightness value for the pixel for including in angle value and the photo, determines the characteristic value of the photo, comprising:
The smart machine shines the N according to the brightness value for the pixel that every photo includes in the N photos Piece is ranked up, and determines every photo corresponding ranking value of sorting position in the N photos;
For every photo in the N photo, the smart machine is according to the corresponding span of the depth of field of the photo It is worth ranking value corresponding with the photo, determines the characteristic value.
Optionally, for every photo in the N photos, the smart machine is corresponding according to the depth of field of the photo Span value and the corresponding ranking value of the photo, determine the characteristic value, comprising:
For every photo in the N photo, the smart machine is by the corresponding span value of the depth of field of the photo The sum of ranking value corresponding with the photo, is determined as the characteristic value;Or
For every photo in the N photo, the smart machine is by the corresponding span value of the depth of field of the photo The product of ranking value corresponding with the photo, is determined as the characteristic value.
Optionally, the smart machine opens the brightness value for the pixel that every photo includes in photo according to the N, by institute It states N photos to be ranked up, determines every photo corresponding ranking value of sorting position in the N photos, comprising:
The smart machine is determined according to the brightness value for the pixel for including in the photo for characterizing pixel The histogram of brightness;
The smart machine determines the side of the normal distribution of the brightness of the pixel of the photo according to the histogram Difference;
The smart machine determines the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up by the smart machine according to the sequence of the difference from big to small, are determined every Open photo corresponding ranking value of sorting position in the N photos.
Optionally, the smart machine selects an at least Zhang Zhao from the N photos according to the characteristic value determined Piece, which comprises
The smart machine selects the maximum photograph of characteristic value from the N photos according to the characteristic value determined Piece;Or
The smart machine selects the smallest photograph of characteristic value from the N photos according to the characteristic value determined Piece.
Based on inventive concept same as method, the embodiment of the invention provides a kind of devices of photo selection, comprising:
Module is obtained, the N for being continuously shot by the dual camera on smart machine photo;
Determining module, for opening every photo in photo for the N, according to the corresponding span of the depth of field of the photo The brightness value for the pixel for including in value and the photo, determines the characteristic value of the photo;
Selecting module, for being opened in photos from the N according to the characteristic value determined, a selection at least photo, and An at least photo is shown on the screen of smart machine.
Optionally, the determining module is specifically used for:
According to the brightness value for the pixel that every photo includes in the N photos, the N photos are ranked up, Determine every photo corresponding ranking value of sorting position in the N photos;
For every photo in the N photos, according to the corresponding span value of the depth of field of the photo and the photo Corresponding ranking value determines the characteristic value.
Optionally, the determining module is specifically used for:
For every photo in the N photos, by the corresponding span value of the depth of field of the photo and the photo pair The sum of ranking value answered is determined as the characteristic value;Or
For every photo in the N photos, by the corresponding span value of the depth of field of the photo and the photo pair The product for the ranking value answered is determined as the characteristic value.
Optionally, the determining module is specifically also used to:
According to the brightness value for the pixel for including in the photo, the histogram of the brightness for characterizing pixel is determined Figure;
According to the histogram, the variance of the normal distribution of the brightness of the pixel of the photo is determined;
Determine the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up according to the sequence of the difference from big to small, determine every photo in the N Open the corresponding ranking value of sorting position in photo.
Optionally, the selecting module is specifically used for:
The maximum photo of characteristic value is selected from the N photos according to the characteristic value determined;Or
The smallest photo of characteristic value is selected from the N photos according to the characteristic value determined.
In method and apparatus provided in an embodiment of the present invention, smart machine is connected by the dual camera on the smart machine It is continuous to shoot N obtained photos;For every photo in the N photo, smart machine is according to the depth of field pair of the photo The brightness value of the span value answered and the pixel for including in the photo, determines the characteristic value of the photo;The smart machine An at least photo is selected, and on the screen of the smart machine from the N photos according to the characteristic value determined Show an at least photo.After smart machine continuous shooting multiple pictures, smart machine can shine according to multiple captured The characteristic value of piece recommends photo from captured multiple pictures for user, so that the time that user selects photo has been saved, Improve user experience.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of photo selection provided in an embodiment of the present invention;
Fig. 2 is a kind of histogram of photo provided in an embodiment of the present invention;
Fig. 3 is a kind of standardized normal distribution figure provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of another photo selection provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic device of photo selection provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Below in conjunction with attached drawing, technical solution provided in an embodiment of the present invention is described in detail.
The embodiment of the invention provides a kind of methods of photo selection, as shown in Figure 1, including following operation:
The N photos that step 100, smart machine are continuously shot by the dual camera on the smart machine.
Wherein, the N is the positive integer greater than 1.
Step 110 opens every photo in photo for the N, and smart machine is corresponding according to the depth of field of the photo The brightness value for the pixel for including in span value and the photo, determines the characteristic value of the photo.
It wherein, can be clear before and after the focus of main camera in dual camera when the depth of field of the photo refers to the shooting photo The range of clear imaging, the corresponding span value of the depth of field of the photo are the difference of maxima and minima in the depth of field, i.e., the described model The difference of maxima and minima in enclosing.For example, the depth of field of photo is [7,300], then span value is 300-7=293.
Step 120, the smart machine select an at least Zhang Zhao from the N photos according to the characteristic value determined Piece, and an at least photo is shown on the screen of the smart machine.
Wherein, when showing an at least photo on the screen of the smart machine, it can only show and select The thumbnail of photo;It can also show the thumbnail of the N photos, and the photo selected is arranged in front, the present invention To how showing the photo selected without limitation in embodiment.
In the embodiment of the present invention, smart machine is opened by the N that the dual camera on the smart machine is continuously shot Photo;For every photo in the N photo, smart machine is according to the corresponding span value of the depth of field of the photo and described The brightness value for the pixel for including in photo determines the characteristic value of the photo;The smart machine is according to the feature determined Value selects an at least photo from the N photos, and display is at least one described on the screen of the smart machine Photo.After smart machine continuous shooting multiple pictures, smart machine can be according to the characteristic value of captured multiple pictures, from being clapped In the multiple pictures taken the photograph, recommend photo for user, to save the time that user selects photo, improves user experience.
Saturation degree, tone of pixel for including in the photo etc. and institute can also be passed through in certain embodiment of the present invention The corresponding span value of the depth of field for stating photo, determines the characteristic value;The embodiment of the present invention to it without limitation.
In a kind of possible implementation, the smart machine is according to the corresponding span value of the depth of field of the photo and described The brightness value for the pixel for including in photo determines the characteristic value, comprising:
The smart machine shines the N according to the brightness value for the pixel that every photo includes in the N photos Piece is ranked up, and determines every photo corresponding ranking value of sorting position in the N photos;
For every photo in the N photo, the smart machine is according to the corresponding span of the depth of field of the photo It is worth ranking value corresponding with the photo, determines the characteristic value.
In the embodiment of the present invention, the smart machine is according to the corresponding span value of the depth of field of the photo and the sequence Value, determines the characteristic value, can be realized by the possible mode of following two:
Mode one opens every photo in photo for the N, and the smart machine is corresponding by the depth of field of the photo The sum of span value and the corresponding ranking value of the photo, are determined as the characteristic value of the photo;Relational expression is as follows:
Ti=Di+Pi
Wherein, TiIndicate the characteristic value of i-th photo, DiIndicate the corresponding span value of the depth of field of i-th photo, PiIt indicates The ranking value of i-th photo, i=1 ..., N.
Mode two opens every photo in photo for the N, and the smart machine is corresponding by the depth of field of the photo The product of span value and the corresponding ranking value of the photo, is determined as the characteristic value;Relational expression is as follows:
Ti=Di*Pi
Wherein, TiIndicate the characteristic value of i-th photo, DiIndicate the corresponding span value of the depth of field of i-th photo, PiIt indicates The ranking value of i-th photo, i=1 ..., N.
In a kind of optional embodiment, the smart machine is according to the pixel that every photo includes in the N photos The N photos are ranked up by the brightness value of point, determine that every photo sorting position in the N photos is corresponding Ranking value, comprising:
The smart machine is determined according to the brightness value for the pixel for including in the photo for characterizing pixel The histogram of brightness;
The smart machine determines the side of the normal distribution of the brightness of the pixel of the photo according to the histogram Difference;
The smart machine determines the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up by the smart machine according to the sequence of the difference from big to small, are determined every Open photo corresponding ranking value of sorting position in the N photos.
For example: for the histogram of the brightness of the photo characterization pixel as shown in Fig. 2, in Fig. 2, horizontal axis represents photo In brightness value, the range of brightness value is [0,255], from left to right, indicate from it is completely black be gradually transitions it is complete white;The longitudinal axis, which represents, to be shone The relative populations of pixel in piece in this brightness range.
Histogram according to Fig.2, determines that the corresponding normal distribution of the photo obtains just by taking 5 photos as an example State distribution parameter, it is assumed that the variance for obtaining 5 photos is respectively 90,100,130,110 and 140.
Standardized normal distribution is as shown in Figure 3: N (128,128), wherein mean μ=128, variances sigma ^2=128.
The difference of 5 photos and standardized normal distribution variance is respectively 38,28,18,2 and 12, according to variance from big It is ranked up to small sequence, obtains the ranking value of every photo, wherein the ranking value P of photo 11For the ranking value of 1, photo 2 P2For the ranking value P of 2, photo 33For the ranking value P of 3, photo 44It is 5, the ranking value P of photo 55It is 4.
In the embodiment of the present invention, the smart machine is according to the characteristic value determined, from the N photos, selection is extremely A few photo, including the optional implementation of the following two kinds:
Mode 1, the smart machine from the N photos, select characteristic value maximum according to the characteristic value determined Photo.
Specifically, the brightness of the maximum photo of characteristic value and clarity are good.
Under which, specifically include:
The smart machine directly from the N photos, selects the maximum photo of characteristic value;Or
The smart machine is when receiving first choice instruction, according to the characteristic value determined, from the N photos In, select the maximum photo of characteristic value, wherein the first choice instruction is used to indicate the selection maximum photo of characteristic value.
The instruction that smart machine is issued according to user recommends photo to user, more preferably meets the demand of user, improve User experience.
Mode 2, the smart machine from the N photos, select characteristic value minimum according to the characteristic value determined Photo.
Specifically, it is background blurring in the smallest photo of characteristic value, when user needs background blurring photo, select feature It is worth the smallest photo.
Under which, specifically include:
The smart machine directly from the N photos, selects the smallest photo of characteristic value;Or
The smart machine is when receiving the second selection instruction, according to the characteristic value determined, from the N photos In, select the smallest photo of characteristic value, wherein second selection instruction is used to indicate the selection the smallest photo of characteristic value.
The instruction that smart machine is issued according to user recommends photo to user, more preferably meets the demand of user, improve User experience.
In the embodiment of the present invention, it is not limited to both the above situation, smart machine can also select photo by other means, For example, smart machine selects characteristic value maximum and characteristic value the smallest according to the characteristic value determined from the N photos Photo;Or smart machine is selected from the N photos when receiving third selection instruction according to the characteristic value determined Select characteristic value maximum and the smallest photo of characteristic value.
For another example, smart machine is according to the characteristic value determined, by the N sequences of the photo according to characteristic value from big to small It is ranked up, M photos before selecting;Or smart machine is when receiving third selection instruction, according to the characteristic value determined, The N photos are ranked up according to the sequence of characteristic value from big to small, M photos before selecting, wherein M is just greater than 1 Integer.
For another example, smart machine is according to the characteristic value determined, by the N photos according to characteristic value according to from big to small Sequence is ranked up, Q photos after selection;Or smart machine is when receiving third selection instruction, according to the spy determined The N photos are ranked up according to characteristic value according to sequence from big to small, Q photos after selection by value indicative, wherein Q is Positive integer greater than 1.
It is detailed to a kind of method progress of photo selection provided in an embodiment of the present invention below by a specific embodiment Illustrate, as shown in Figure 4, comprising:
Step 410, smart machine are continuously shot 5 photos.
Step 420, smart machine determine that the brightness of every photo is straight according to the brightness of pixel in 5 photos Fang Tu.
Step 430, smart machine determine the normal distribution of every photo according to the brightness histogram of every photo, determine The variance of every photo normal distribution out, it is assumed that the variance of 5 photos is respectively 90,100,130,110 and 140.
Step 440, smart machine determine the variance and standard normal point of every photo according to the variance of 5 photos The difference of the variance of cloth, it is assumed that the variance of standardized normal distribution is 128, the difference of 5 photos and standardized normal distribution variance The variance of value respectively photo 1 is 38, the variance of photo 2 is 28, the variance of photo 3 is 2, the variance of photo 4 is 18 and photo 5 variance is 12.
Step 450, smart machine are ranked up according to the sequence of variance from big to small, obtain the ranking value of every photo, Wherein, the ranking value P of photo 11For the ranking value P of 1, photo 22For the ranking value P of 2, photo 33For the ranking value P of 5, photo 44 For the ranking value P of 3, photo 55It is 4.
Step 460, smart machine determine the corresponding span value of the depth of field of every photo in 5 photos, the scape of photo 1 Deep corresponding span value D1For the corresponding span value D of the depth of field of 200, photo 22For the corresponding span value D of the depth of field of 135, photo 33 For the corresponding span value D of the depth of field of 157, photo 44For the corresponding span value D of the depth of field of 123, photo 55It is 164.
Step 470, smart machine determine the characteristic value of 5 photos, the characteristic value T of photo 11=P1+D1=201, photo 2 characteristic value T2=P2+D2=137, the characteristic value T of photo 33=P3+D3=162, the characteristic value T of photo 44=P4+D4=126, The characteristic value T of photo 55=P5+D5=168.
Step 480, smart machine determine that the maximum photo 1 of characteristic value is shown on the screen.
Based on inventive concept same as method, the embodiment of the invention provides a kind of devices of photo selection, such as Fig. 5 institute Show, comprising:
Module 501 is obtained, the N for being continuously shot by the dual camera on smart machine photo;
Determining module 502, for for every photo in the N photos, the depth of field according to the photo to be corresponding The brightness value for the pixel for including in span value and the photo, determines the characteristic value of the photo;
Selecting module 503, for selecting an at least photo from the N photos according to the characteristic value determined, And an at least photo is shown on the screen of smart machine.
The device of a kind of photo selection provided in an embodiment of the present invention, comprising: smart machine passes through on the smart machine The N that is continuously shot photos of dual camera;For every photo in the N photos, smart machine is according to The brightness value for the pixel for including in the corresponding span value of the depth of field of photo and the photo, determines the characteristic value of the photo; The smart machine selects an at least photo, and in the intelligence from the N photos according to the characteristic value determined An at least photo is shown on the screen of equipment.After smart machine continuous shooting multiple pictures, smart machine can be according to institute The characteristic value of the multiple pictures of shooting recommends photo from captured multiple pictures for user, to save user's selection The time of photo, improve user experience.
Optionally, the determining module is specifically used for:
According to the brightness value for the pixel that every photo includes in the N photos, the N photos are ranked up, Determine every photo corresponding ranking value of sorting position in the N photos;
For every photo in the N photos, according to the corresponding span value of the depth of field of the photo and the photo Corresponding ranking value determines the characteristic value.
Optionally, the determining module is specifically used for:
For every photo in the N photos, by the corresponding span value of the depth of field of the photo and the photo pair The sum of ranking value answered is determined as the characteristic value;Or
For every photo in the N photos, by the corresponding span value of the depth of field of the photo and the photo pair The product for the ranking value answered is determined as the characteristic value.
Optionally, the determining module is specifically also used to:
According to the brightness value for the pixel for including in the photo, the histogram of the brightness for characterizing pixel is determined Figure;
According to the histogram, the variance of the normal distribution of the brightness of the pixel of the photo is determined;
Determine the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up according to the sequence of the difference from big to small, determine every photo in the N Open the corresponding ranking value of sorting position in photo.
Optionally, the selecting module is specifically used for:
The maximum photo of characteristic value is selected from the N photos according to the characteristic value determined;Or
The smallest photo of characteristic value is selected from the N photos according to the characteristic value determined.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of method of photo selection, which is characterized in that the described method includes:
The N photos that smart machine is continuously shot by the dual camera on the smart machine;
For every photo in the N photo, the smart machine according to the corresponding span value of the depth of field of the photo and The brightness value for the pixel for including in the photo determines the characteristic value of the photo;
The smart machine selects an at least photo, and described from the N photos according to the characteristic value determined An at least photo is shown on the screen of smart machine;
Wherein, for every photo in the N photo, the smart machine is according to the corresponding span of the depth of field of the photo The brightness value for the pixel for including in value and the photo, determines the characteristic value of the photo, comprising:
The smart machine according to the brightness value of the pixel that every photo includes in the N photo, by the N photos into Every photo corresponding ranking value of sorting position in the N photos is determined in row sequence;
For every photo in the N photo, the smart machine according to the corresponding span value of the depth of field of the photo and The corresponding ranking value of the photo, determines the characteristic value.
2. the method according to claim 1, wherein opening every photo in photo, the intelligence for the N Equipment determines the characteristic value according to the corresponding span value of the depth of field and the corresponding ranking value of the photo of the photo, packet It includes:
For every photo in the N photo, the smart machine is by the corresponding span value of the depth of field of the photo and institute The sum of corresponding ranking value of photo is stated, the characteristic value is determined as;Or
For every photo in the N photo, the smart machine is by the corresponding span value of the depth of field of the photo and institute The product for stating the corresponding ranking value of photo is determined as the characteristic value.
3. according to the method described in claim 2, it is characterized in that, the smart machine is according to every photograph in the N photos The N photos are ranked up by the brightness value for the pixel that piece includes, and determine that every photo is arranged in the N photos Tagmeme sets corresponding ranking value, comprising:
The smart machine determines the brightness for characterizing pixel according to the brightness value for the pixel for including in the photo Histogram;
The smart machine determines the variance of the normal distribution of the brightness of the pixel of the photo according to the histogram;
The smart machine determines the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up by the smart machine according to the sequence of the difference from big to small, determine every photograph Piece corresponding ranking value of sorting position in the N photos.
4. method described in any one of claim 1 to 3, which is characterized in that the smart machine is according to determining Characteristic value selects an at least photo from the N photos, comprising:
The smart machine selects the maximum photo of characteristic value from the N photos according to the characteristic value determined;Or
The smart machine selects the smallest photo of characteristic value from the N photos according to the characteristic value determined.
5. a kind of device of photo selection, which is characterized in that described device includes:
Module is obtained, the N for being continuously shot by the dual camera on smart machine photo;
Determining module, for for every photo in the N photo, according to the corresponding span value of the depth of field of the photo and The brightness value for the pixel for including in the photo determines the characteristic value of the photo;
Selecting module, for selecting an at least photo, and in intelligence from the N photos according to the characteristic value determined An at least photo is shown on the screen of equipment;
Wherein, the determining module is specifically used for:
According to the brightness value for the pixel that every photo includes in the N photos, the N photos are ranked up, are determined Every photo corresponding ranking value of sorting position in the N photos out;
It is corresponding according to the corresponding span value of the depth of field of the photo and the photo for every photo in the N photos Ranking value, determine the characteristic value.
6. device according to claim 5, which is characterized in that the determining module is specifically used for:
It is for every photo in the N photos, the corresponding span value of the depth of field of the photo and the photo is corresponding The sum of ranking value is determined as the characteristic value;Or
It is for every photo in the N photos, the corresponding span value of the depth of field of the photo and the photo is corresponding The product of ranking value is determined as the characteristic value.
7. device according to claim 6, which is characterized in that the determining module is specifically also used to:
According to the brightness value for the pixel for including in the photo, the histogram of the brightness for characterizing pixel is determined;
According to the histogram, the variance of the normal distribution of the brightness of the pixel of the photo is determined;
Determine the difference of the variance of the variance and standardized normal distribution;
The N photos are ranked up according to the sequence of the difference from big to small, determine that every photo shines at the N The corresponding ranking value of sorting position in piece.
8. the device according to any one of claim 5~7, which is characterized in that the selecting module is specifically used for:
The maximum photo of characteristic value is selected from the N photos according to the characteristic value determined;Or according to determining Characteristic value selects the smallest photo of characteristic value from the N photos.
CN201610203626.1A 2016-03-31 2016-03-31 A kind of method and device of photo selection Active CN105893578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203626.1A CN105893578B (en) 2016-03-31 2016-03-31 A kind of method and device of photo selection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203626.1A CN105893578B (en) 2016-03-31 2016-03-31 A kind of method and device of photo selection

Publications (2)

Publication Number Publication Date
CN105893578A CN105893578A (en) 2016-08-24
CN105893578B true CN105893578B (en) 2019-06-18

Family

ID=57012117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203626.1A Active CN105893578B (en) 2016-03-31 2016-03-31 A kind of method and device of photo selection

Country Status (1)

Country Link
CN (1) CN105893578B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6968884B2 (en) 2016-12-20 2021-11-17 ▲寧▼波舜宇光▲電▼信息有限公司 Array camera modules with different altitudes, circuit board assemblies and their manufacturing methods, and electronic devices
CN112580400B (en) * 2019-09-29 2022-08-05 荣耀终端有限公司 Image optimization method and electronic equipment
CN111464753B (en) * 2020-05-21 2022-04-08 北京小米移动软件有限公司 Picture shooting method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106699A (en) * 2006-07-10 2008-01-16 致伸科技股份有限公司 Method for deciding kept video in monitoring device
CN101790047A (en) * 2009-01-28 2010-07-28 索尼公司 Image processing equipment, image management device and image management method and program
CN104185981A (en) * 2013-10-23 2014-12-03 华为终端有限公司 Method and terminal selecting image from continuous captured image
CN104954659A (en) * 2014-03-28 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for processing image information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106699A (en) * 2006-07-10 2008-01-16 致伸科技股份有限公司 Method for deciding kept video in monitoring device
CN101790047A (en) * 2009-01-28 2010-07-28 索尼公司 Image processing equipment, image management device and image management method and program
CN104185981A (en) * 2013-10-23 2014-12-03 华为终端有限公司 Method and terminal selecting image from continuous captured image
CN104954659A (en) * 2014-03-28 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for processing image information

Also Published As

Publication number Publication date
CN105893578A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN107409166B (en) Automatic generation of panning shots
CN105611275B (en) The multi-camera for executing electronic device captures the method and its equipment of control
CN105338238B (en) A kind of photographic method and electronic equipment
CN106934790B (en) A kind of evaluation method of image definition, the method focused automatically and related device
US10620826B2 (en) Object selection based on region of interest fusion
CN105247567B (en) A kind of image focusing device, method, system and non-transient program storage device again
WO2014106445A1 (en) Method and apparatus for detecting backlight
CN108924427A (en) A kind of video camera focus method, device and video camera
CN108702452A (en) A kind of image capturing method and device
CN106412458A (en) Image processing method and apparatus
CN105243371A (en) Human face beauty degree detection method and system and shooting terminal
CN105893578B (en) A kind of method and device of photo selection
CN110349080A (en) A kind of image processing method and device
CN111667420A (en) Image processing method and device
CN106651797A (en) Determination method and apparatus for effective region of signal lamp
CN110084765A (en) A kind of image processing method, image processing apparatus and terminal device
CN110992395A (en) Image training sample generation method and device and motion tracking method and device
CN103873760B (en) A kind of focusing method of adjustment and electronic equipment
CN106454140B (en) A kind of information processing method and electronic equipment
CN105657262B (en) A kind of image processing method and device
CN104793910B (en) A kind of method and electronic equipment of information processing
CN109788199B (en) Focusing method suitable for terminal with double cameras
CN107844803A (en) The method and apparatus that a kind of picture compares
CN110400312A (en) Determine the method, apparatus and server of image vague category identifier
CN106402717B (en) A kind of AR control method for playing back and intelligent desk lamp

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