CN102088539B - Method and system for evaluating pre-shot picture quality - Google Patents
Method and system for evaluating pre-shot picture quality Download PDFInfo
- Publication number
- CN102088539B CN102088539B CN200910242299.0A CN200910242299A CN102088539B CN 102088539 B CN102088539 B CN 102088539B CN 200910242299 A CN200910242299 A CN 200910242299A CN 102088539 B CN102088539 B CN 102088539B
- Authority
- CN
- China
- Prior art keywords
- histogram
- region
- score
- scoring
- passage
- 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.)
- Expired - Fee Related
Links
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a method and system for evaluating pre-shot picture quality. The method comprises the following steps of: acquiring a preview picture within a time interval and sampling colors and brightness in a specific region of the preview picture; selecting two uniform-brightness regions serving as analysis regions from the preview picture according to the sampled brightness; outputting RGB(Red-Green-Blue) column diagrams of the analysis regions respectively according to the colors sampled from the preview picture, separating a R channel, a G channel and a B channel from each analysis region and establishing column diagrams for the three channels respectively so as to determine scoring channels; and calculating ideal column diagrams of the scoring channels respectively according to the RGB column diagrams of the analysis regions and comparing the ideal column diagrams of the scoring channels with the column diagrams of the scoring channels for scoring and displaying.
Description
Technical field
The present invention relates to digital image-forming and image quality evaluation field, particularly relate to one and to take pictures in advance quality evaluation method and system.
Background technology
In recent years, rapidly, from traditional Digital Zoom to the optical zoom of retractable lens, pixel also develops into more than millions in the camera function development of digital product.The shooting effect of high-end digital product can with the camera of specialty mutually shoulder to shoulder.
But for domestic consumer, the function of too high pixel and too specialty, can only become the fashion of pursuit, how to obtain best effect in actual photographed, be individual very stubborn problem for there is no the domestic consumer of specialty shooting knowledge.Therefore, occur in existing market that the shooting quality of some logarithmic code photos carries out the system evaluated, it is the operation such as distortion comparison, contrast by carrying out color, image to the picture after shooting mostly, for the picture quality of user's shooting is evaluated, instructs user to take.And precious, of short duration for those, the shooting may can only encountering scene once throughout one's life could obtain shooting often afterwards and instructs and stay sorry.
Summary of the invention
One is the object of the present invention is to provide to take pictures in advance quality evaluation method and system.It can make domestic consumer find best camera site and shooting time, instructs user to obtain desirable shooting effect.
The one provided for realizing object of the present invention is taken pictures quality evaluation method in advance, and described method, comprises the following steps:
Step 100. obtains preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Step 200., according to the described brightness sampled, selects two regions of brightness uniformity in preview screen as analyzed area;
Step 300., according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolates R from described analyzed area, G, B tri-Color Channels, sets up histogram respectively to described three Color Channels, to determine passage of marking;
Step 400., according to the RGB histogram of described analyzed area, calculates the desirable histogram of described scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of described scoring passage respectively, carry out giving a mark and showing.
Described specific region, refers to the continuity of system according to image brightness, for the region of the larger Region dividing that changes.
Described step 200, comprises the following steps:
Step 210., according to the brightness sampled in preview screen, obtains the darkest region and the brightest region;
Step 220. judges that the difference of the brightness value in two regions is whether within preset range, if so, then using described two regions, place as analyzed area; Otherwise the region and described two regions, place that increase the intermediate value of the brightness value closest to described two regions, place are analyzed as analyzed area jointly.
Described step 300, comprises the following steps:
Step 310. exports the RGB histogram of described analyzed area, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram of these three Color Channels respectively;
Step 320. is by the histogram of described three Color Channels respectively compared with the RGB histogram of described analyzed area, and the Color Channel that the histogram of the Color Channel that selected shape is the most close is corresponding is fixed up;
Individual color channel corresponding for the histogram of remaining two Color Channels is chosen to be in described analyzed area the scoring passage carrying out marking by step 330..
Described step 400, comprises the following steps:
Step 410., according to the RGB histogram of described evaluation region, calculates the desirable histogram of described scoring passage respectively;
The histogram of described scoring passage in scoring region and the desirable histogram of described scoring passage compare by step 420. respectively, and give a mark respectively, and comment subregional scoring described in drawing after weighting, formula is:
score[Channel]
j=(1-Δg/G)*(1-Δp/P)*(1-Δa/A)*100;
Wherein, score [Channel]
jfor the score of jth passage, Δ g, Δ p, Δ a represent the absolute value (being always positive number) of the difference of GTG, peak value and area 3 indexs reality and ideal indicator respectively, and G, P, A represent the ideal value of 3 indexs respectively;
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2;
Weight
j=1/n*100%;
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage;
Step 430. comments subregional mark to be weighted the mark obtaining described preview screen described in calculating.
Score=(∑ Score [Area] i)/m, wherein m is evaluation region number.
Also providing one to take pictures in advance quality evaluation system for realizing object of the present invention, comprising:
Picture samples module, for obtaining preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Analyzed area selects module, for the brightness sampled described in basis, selects two regions of brightness uniformity in preview screen as analyzed area;
Scoring passage determination module, for according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolate R from described analyzed area, G, B tri-Color Channels, respectively histogram is set up to described three Color Channels, to determine passage of marking;
Mark computing module, for the RGB histogram according to described analyzed area, calculates the desirable histogram of described scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of described scoring passage respectively, carry out giving a mark and showing.
Described analyzed area selects module, comprising:
Brightness comparison module, for according to the brightness sampled in preview screen, obtains the darkest region and the brightest region;
Judge module, for judging that the difference of the brightness value in two regions is whether within preset range, if so, then using described two regions, place as analyzed area; Otherwise the region and described two regions, place that increase the intermediate value of the brightness value closest to described two regions, place are analyzed as analyzed area jointly.
Described scoring passage determination module, comprising:
Histogram sets up module, for exporting the RGB histogram of described analyzed area, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram of these three Color Channels respectively;
Histogram comparison module, by the histogram of described three Color Channels respectively compared with the RGB histogram of described analyzed area, carries out the scoring passage of marking in selected described analyzed area.
Described mark computing module, comprising:
Scoring area score computing module, for the histogram of described scoring passage in scoring region and the desirable histogram of described scoring passage being compared respectively, and give a mark respectively, comment subregional scoring described in drawing after weighting, formula is:
score[Channel]
j=(1-Δg/G)*(1-Δp/P)*(1-Δa/A)*100;
Wherein, score [Channel]
jfor the score of jth passage, Δ g, Δ p, Δ a represent the absolute value (being always positive number) of the difference of GTG, peak value and area 3 indexs reality and ideal indicator respectively, and G, P, A represent the ideal value of 3 indexs respectively;
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2;
Weight
j=1/n*100%;
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage;
Preview screen points calculating module, for commenting subregional mark to be weighted the mark obtaining described preview screen according to calculating, formula is:
Score=(∑ Score [Area] i)/m, wherein m is evaluation region number.
Described specific region, refers to the continuity of system according to image brightness, for the region of the larger Region dividing that changes.
Beneficial effect of the present invention is:
1. adopt one of the present invention to take pictures in advance quality evaluation method and system, user can be made according to the acquisition parameters of the mark conditioning equipment of preview screen, to determine to obtain the parameter that best shooting angle and camera are arranged;
2. adopt one of the present invention to take pictures in advance quality evaluation method and system, enable user according to the height of the mark of current display, regulate when taking and the angle of light, the brightness of mobile phone camera, light-metering, white balance, the parameters such as Night, then determine the parameter that can obtain best shooting angle and camera setting according to the choosing of marking situation.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of quality evaluation method of taking pictures in advance of the present invention;
Fig. 2 is the sample area figure of preview screen in the present invention;
Fig. 3 is the flow chart of steps in selection analysis region in the present invention;
Fig. 4 is the RGB histogram of analyzed area in the present invention;
Fig. 5 A-Fig. 5 C is the R of analyzed area in the present invention respectively, the RGB histogram of G, B tri-Color Channels;
Fig. 6 is the method step flow chart determining scoring passage in the present invention;
Fig. 7 is the flow chart of steps calculating preview screen mark in the present invention;
Fig. 8 is preview screen image quality scoring display figure in the present invention;
Fig. 9 is the structural representation of a kind of quality evaluation system of taking pictures in advance of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, one of the present invention quality evaluation method and system of taking pictures in advance is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
One of the present invention is taken pictures quality evaluation method and system in advance, by before shooting to different angles, the preview screen under different light rays is given a mark immediately, makes domestic consumer find best camera site and shooting time, instructs user to obtain desirable shooting effect.
Introduce one of the present invention in detail below in conjunction with above-mentioned target to take pictures in advance quality evaluation method, Fig. 1 is the flow chart of steps of a kind of quality evaluation method of taking pictures in advance of the present invention, and as shown in Figure 1, described method, comprises the following steps:
Step 100. obtains preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Described specific region, refers to the continuity of system according to image brightness, for the region of the larger Region dividing that changes.Fig. 2 is the sample area figure of preview screen in the present invention, as shown in Figure 2, as a kind of embodiment, has divided 5 regions, place in the present invention.
Choosing of region is continuity according to image brightness, for the larger region that changes, is generally distinctive or perhaps distinctive targeted imaging region.These characteristic areas can reflect the total quality of this image.Such as take a people, the difference of his background just defines characteristic area, and serious characteristic area can affect the image quality of people.
When user uses mobile phone (to be that embodiment using mobile phone as digital product illustrates concrete technical scheme in the present invention, but to be not limited to mobile phone.) camera function time, in previews, go to obtain LCD at regular intervals and show buffer, and carry out the sampling of color and brightness in specific region.(as shown in Figure 2)
The data format stored due to buffer during preview is YCbCr, by analyzing the bit of data in buffer according to brightness Y place, obtains the brightness value Y of each picture element to obtain the average of brightness to realize the sampling of brightness value Y.The sampling of color realizes by the YCbCr in buffer being converted to rgb format data, and the method for conversion utilizes existing function.The method of the sampling of described color and brightness all can this is no longer going to repeat them by existing techniques in realizing.
Step 200., according to the described brightness sampled, selects two regions of brightness uniformity in preview screen as analyzed area;
By analyzing brightness value (Luminance) Y in upper 5 regions, place of LCD in Fig. 1, find the darkest region Area1 and the brightest region Area2, as shown in Figure 2, if this two place region Y1 and Y2 value difference are within scope Range1, we think that this preview screen brightness is comparatively even, analyze this region, two places; If the difference of Y1 and Y2 is beyond Range1, we need the region Y3 chosen closest to the intermediate value of Y1 and Y2 to analyze.
Fig. 3 is the flow chart of steps in selection analysis region in the present invention, and as shown in Figure 3, described step 200, comprises the following steps:
Step 210., according to the brightness sampled in preview screen, obtains the darkest region Area1 and the brightest region Area2;
Step 220. judges that the difference of two region Y1 and Y2 is whether within scope Range1, if so, then using described two region, place Y1 and Y2 as analyzed area; Otherwise increase and jointly analyze as analyzed area closest to the region Y3 of the intermediate value of Y1 and Y2 and region Y1 and Y2.
Y3=(Y1+Y2)/2
Work as Y1, when Y2 does not meet the demands, the brightness span of key diagram picture is comparatively large, and in order to ensure accuracy, need to increase region Y3, according to 3 whole images of region decision, above-mentioned formula is the system of selection of Y3.
Step 300., according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolates R from described analyzed area, G, B tri-Color Channels, sets up histogram respectively to described three Color Channels, determines passage of marking;
Fig. 4 is the RGB histogram of analyzed area in the present invention, and Fig. 5 A-Fig. 5 C is the R of analyzed area in the present invention respectively, the RGB histogram of G, B tri-Color Channels.
Carry out analyzing to choose two sample area Area1 and Area2.In Fig. 3, in the RGB histogram of region Area1, isolate R respectively, G, B tri-Color Channels, and set up histogram Chart_R respectively, Chart_G, Chart_B, as shown in Figure 4; By the histogram of R, G, B tri-passages compared with RGB histogram, the individual color channel histogram that selected shape is the most close is fixed up, such as Chart_G, then for two other monochromatic histogram and Chart_R, Chart_B, just will be chosen to be the passage carrying out in Area1 marking.The scoring channel selecting of Area2 duplicates therewith, repeats no more.(as shown in Fig. 4 and Fig. 5 A-Fig. 5 B)
Fig. 6 is the method step flow chart determining scoring passage in the present invention, and as shown in Figure 6, described step 300, comprises the following steps:
Step 310. exports the RGB histogram of analyzed area Area1, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram Chart_R of these three passages respectively, Chart_G, Chart_B;
Step 320. is by the histogram of described R, G, B tri-passages respectively compared with the RGB histogram of described analyzed area Area1, and the individual color channel histogram that selected shape is the most close is fixed up;
Remaining two monochromatic histogram Chart_R and Chart_B are chosen to be in Area1 the scoring passage carrying out marking by step 330..
Carry out the system of selection of scoring passage of marking and the identical of Area1 in analyzed area Area2, this is no longer going to repeat them.
Step 400., according to the RGB histogram Chart_RGB of described analyzed area, calculates the desirable histogram of corresponding scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of corresponding scoring passage respectively, carry out giving a mark and showing.
According to the passage of sending to be elected, expert system can calculate ideal Chart_R0 and Chart_B0 according to the RGB histogram Chart_RGB of Area1, the histogrammic of channel C hart_R and Chart_B of sending to be elected in the Area1 of region is compared respectively with desirable Chart_R0 and Chart_B0, give a mark, the scoring of this region Area1 is drawn after weighting, after so obtaining the scoring of Area2, be weighted, the score of user's current preview picture can be shown to.
Fig. 7 is the flow chart of steps calculating preview screen mark in the present invention, and as shown in Figure 7, described step 400, comprises the following steps:
Step 410., according to the RGB histogram Chart_RGB of evaluation region Area1, calculates histogram Chart_R0 and the Chart_B0 of ideal corresponding scoring passage;
The desirable histogrammic Chart_RGB of needs according to real image that obtain, as input, calculates desirable Chart_R0 and Chart_B0 by the algorithm of software.This algorithm comprises
The histogrammic channel decomposition of 1.RGB;
2. single pass X-Y Analysis of Axial;
3. judge according to the different case analyzed, experiential modification process;
4. export revised desirable histogram.
Wherein the Processing Algorithm of often kind of case is the extendible process personal images process empirical function.
For the algorithm of histogram Chart R0 and Chart B0, have different algorithms for different case, this place just provides extendible excuse for prior art and new algorithm.
The histogram of the scoring channel C hart_R in scoring region Area1 and Chart_B and described desirable Chart_R0 and Chart_B0 compare by step 420. respectively, and give a mark respectively, and draw the scoring of this region Area1 after weighting, formula is:
score[Channel]
j=(1-Δg/G)*(1-Δp/P)*(1-Δa/A)*100; (1)
Wherein, score [Channel]
jfor the score of jth passage, according to GTG (Grayscale) (histogrammic transverse axis live part), peak value (Peak) and area (A) three indexs carry out sentencing commenting, Δ g, Δ p, Δ a represent the absolute value (being always positive number) of the difference of 3 indexs reality and ideal indicator respectively, G, P, A represent three index ideal values respectively.
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2; (2)
Weight
j=1/n*100%; (3)
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage.
The histogram of the scoring channel C hart_R determined in scoring region Area2 and Chart_B and described desirable Chart_R0 and Chart_B0 compare by step 430. respectively, and give a mark respectively, draw the scoring of this scoring region Area2 after weighting;
Computational methods are identical with step 420, and this is no longer going to repeat them.
If if the difference of two region Y1 and Y2 in step 220 is not within scope Range1, and need to increase and jointly analyze as analyzed area closest to the region Y3 of the intermediate value of Y1 and Y2 and region Y1 and Y2, then also need to calculate region Y3, Methods and steps 420 is identical, and this is no longer going to repeat them.
The mark of described scoring region Area1 and scoring region Area2 is weighted the mark obtaining described preview screen by step 440..
Final score is:
Score=(∑Score[Area]i)/m (4)
M is evaluation region number.
Fig. 8 is preview screen image quality scoring display figure in the present invention, and as shown in Figure 8, the display of this mark needs to evaluate according to the different sampling times, especially for resting or the evaluation of low speed moving target there is directive significance.
User according to the acquisition parameters of the mark conditioning equipment of described preview screen, to determine to obtain the parameter that best shooting angle and camera are arranged.
User, according to the height of the mark of current display, regulates when taking and the angle of light, the brightness of mobile phone camera, light-metering, white balance, the parameters such as Night, then determines the parameter that can obtain best shooting angle and camera setting according to the choosing of marking situation.
To take pictures in advance quality evaluation method corresponding to one of the present invention, also provide one to take pictures in advance quality evaluation system, Fig. 9 is the structural representation of a kind of quality evaluation system of taking pictures in advance of the present invention, and as shown in Figure 9, described system, comprising:
Picture samples module 1, for obtaining preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Analyzed area selects module 2, for the brightness sampled described in basis, selects two regions of brightness uniformity in preview screen as analyzed area;
Described analyzed area selects module 2, comprising:
Brightness comparison module 21, for according to the brightness sampled in preview screen, obtains the darkest region and the brightest region;
Judge module 22, for judging that the difference of the brightness value in two regions is whether within preset range, if so, then using described two regions, place as analyzed area; Otherwise the region and described two regions, place that increase the intermediate value of the brightness value closest to described two regions, place are analyzed as analyzed area jointly.
Scoring passage determination module 3, for according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolate R from described analyzed area, G, B tri-Color Channels, respectively histogram is set up to described three Color Channels, to determine passage of marking;
Described scoring passage determination module 3, comprising:
Histogram sets up module 31, for exporting the RGB histogram of described analyzed area, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram of these three Color Channels respectively;
Histogram comparison module 32, by the histogram of described three Color Channels respectively compared with the RGB histogram of described analyzed area, carries out the scoring passage of marking in selected described analyzed area.
Mark computing module 4, for the RGB histogram according to described analyzed area, calculates the desirable histogram of described scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of described scoring passage respectively, carry out giving a mark and showing.
Described mark computing module 4, comprising:
Scoring area score computing module 41, for the histogram of described scoring passage in scoring region and the desirable histogram of described scoring passage being compared respectively, and give a mark respectively, comment subregional scoring described in drawing after weighting, formula is:
score[Channel]
j=(1-Δg/G)*(1-Δp/P)*(1-Δa/A)*100;
Wherein, score [Channel]
jfor the score of jth passage, Δ g, Δ p, Δ a represent the absolute value (being always positive number) of the difference of GTG, peak value and area 3 indexs reality and ideal indicator respectively, and G, P, A represent the ideal value of 3 indexs respectively;
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2;
Weight
j=1/n*100%;
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage;
Preview screen points calculating module 42, for commenting subregional mark to be weighted the mark obtaining described preview screen according to calculating, formula is:
Score=(∑ Score [Area] i)/m, wherein m is evaluation region number.
Beneficial effect of the present invention is:
1. adopt one of the present invention to take pictures in advance quality evaluation method and system, user can be made according to the acquisition parameters of the mark conditioning equipment of preview screen, to determine to obtain the parameter that best shooting angle and camera are arranged;
2. adopt one of the present invention to take pictures in advance quality evaluation method and system, enable user according to the height of the mark of current display, regulate when taking and the angle of light, the brightness of mobile phone camera, light-metering, white balance, the parameters such as Night, then determine the parameter that can obtain best shooting angle and camera setting according to the choosing of marking situation.
In conjunction with the drawings to the description of the specific embodiment of the invention, other side of the present invention and feature are apparent to those skilled in the art.
Be described specific embodiments of the invention above and illustrate, it is exemplary that these embodiments should be considered to it, and is not used in and limits the invention, and the present invention should make an explanation according to appended claim.
Claims (8)
1. take pictures in advance a quality evaluation method, it is characterized in that, described method, comprises the following steps:
Step 100. obtains preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Step 200., according to the described brightness sampled, selects two regions of brightness uniformity in preview screen as analyzed area;
Step 300., according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolates R from described analyzed area, G, B tri-Color Channels, sets up histogram respectively to described three Color Channels, to determine passage of marking;
Step 400., according to the RGB histogram of described analyzed area, calculates the desirable histogram of described scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of described scoring passage respectively, carry out giving a mark and showing;
Described specific region, refers to the continuity of system according to image brightness, for the region of the larger Region dividing that changes; The described larger region that changes refers to the region can reflecting overall picture quality.
2. quality evaluation method of taking pictures in advance according to claim 1, it is characterized in that, described step 200, comprises the following steps:
Step 210., according to the brightness sampled in preview screen, obtains the darkest region and the brightest region;
Step 220. judges that the difference of the brightness value in two regions is whether within preset range, if so, then using described two regions, place as analyzed area; Otherwise the region and described two regions, place that increase the intermediate value of the brightness value closest to described two regions, place are analyzed as analyzed area jointly.
3. quality evaluation method of taking pictures in advance according to claim 1, it is characterized in that, described step 300, comprises the following steps:
Step 310. exports the RGB histogram of described analyzed area, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram of these three Color Channels respectively;
Step 320. is by the histogram of described three Color Channels respectively compared with the RGB histogram of described analyzed area, and the Color Channel that the histogram of the Color Channel that selected shape is the most close is corresponding is fixed up;
Individual color channel corresponding for the histogram of remaining two Color Channels is chosen to be in described analyzed area the scoring passage carrying out marking by step 330..
4. quality evaluation method of taking pictures in advance according to claim 3, it is characterized in that, described step 400, comprises the following steps:
Step 410., according to the RGB histogram of described evaluation region, calculates the desirable histogram of described scoring passage respectively;
The histogram of described scoring passage in scoring region and the desirable histogram of described scoring passage compare by step 420. respectively, and give a mark respectively, and comment subregional scoring described in drawing after weighting, formula is:
score[Channel]
j=(1-△g/G)*(1-△p/P)*(1-△a/A)*100;
Wherein, score [Channel]
jfor the score of jth passage, △ g, △ p, △ a represent the absolute value of the difference of GTG, peak value and area 3 indexs reality and ideal indicator respectively, and G, P, A represent the ideal value of 3 indexs respectively;
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2;
Weight
j=1/n*100%;
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage;
Step 430. comments subregional mark to be weighted the mark obtaining described preview screen described in calculating;
Score=(Σ score [Area]
i)/m, wherein m is evaluation region number.
5. take pictures in advance a quality evaluation system, it is characterized in that, described system, comprising:
Picture samples module, for obtaining preview screen within interval time, and carries out the sampling of color and brightness in the specific region of preview screen;
Analyzed area selects module, for the brightness sampled described in basis, selects two regions of brightness uniformity in preview screen as analyzed area;
Scoring passage determination module, for according to the color sampled in preview screen, exports the RGB histogram of described analyzed area respectively, and isolate R from described analyzed area, G, B tri-Color Channels, respectively histogram is set up to described three Color Channels, to determine passage of marking;
Mark computing module, for the RGB histogram according to described analyzed area, calculates the desirable histogram of described scoring passage respectively, and the desirable histogram of more described scoring passage and the histogram of described scoring passage respectively, carry out giving a mark and showing;
Described specific region, refers to the continuity of system according to image brightness, for the region of the larger Region dividing that changes; The described larger region that changes refers to the region can reflecting overall picture quality.
6. quality evaluation system of taking pictures in advance according to claim 5, is characterized in that, described analyzed area selects module, comprising:
Brightness comparison module, for according to the brightness sampled in preview screen, obtains the darkest region and the brightest region;
Judge module, for judging that the difference of the brightness value in two regions is whether within preset range, if so, then using described two regions, place as analyzed area; Otherwise the region and described two regions, place that increase the intermediate value of the brightness value closest to described two regions, place are analyzed as analyzed area jointly.
7. quality evaluation system of taking pictures in advance according to claim 5, is characterized in that, described scoring passage determination module, comprising:
Histogram sets up module, for exporting the RGB histogram of described analyzed area, and therefrom isolates R respectively, G, B tri-Color Channels, and sets up the histogram of these three Color Channels respectively;
Histogram comparison module, for by the histogram of described three Color Channels respectively compared with the RGB histogram of described analyzed area, the Color Channel that the histogram of the Color Channel that selected shape is the most close is corresponding is fixed up, and individual color channel corresponding for the histogram of remaining two Color Channels is chosen to be in described analyzed area the scoring passage carrying out marking.
8. quality evaluation system of taking pictures in advance according to claim 7, is characterized in that, described mark computing module, comprising:
Scoring area score computing module, for the histogram of described scoring passage in scoring region and the desirable histogram of described scoring passage being compared respectively, and give a mark respectively, comment subregional scoring described in drawing after weighting, formula is:
score[Channel]
j=(1-△g/G)*(1-△p/P)*(1-△a/A)*100;
Wherein, score [Channel]
jfor the score of jth passage, △ g, △ p, △ a represent the absolute value of the difference of GTG, peak value and area 3 indexs reality and ideal indicator respectively, and G, P, A represent the ideal value of 3 indexs respectively;
score[Area]
i=score[Channel]
1*Weight
1+score[Channel]
2*Weight
2;
Weight
j=1/n*100%;
Wherein, score [Area]
ibe the score in the i-th region, n is for evaluating port number, Weight
jfor the weight of j passage;
Preview screen points calculating module, for commenting subregional mark to be weighted the mark obtaining described preview screen according to calculating, formula is:
Score=(Σ score [Area]
i)/m, wherein m is evaluation region number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910242299.0A CN102088539B (en) | 2009-12-08 | 2009-12-08 | Method and system for evaluating pre-shot picture quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910242299.0A CN102088539B (en) | 2009-12-08 | 2009-12-08 | Method and system for evaluating pre-shot picture quality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102088539A CN102088539A (en) | 2011-06-08 |
CN102088539B true CN102088539B (en) | 2015-06-03 |
Family
ID=44100138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910242299.0A Expired - Fee Related CN102088539B (en) | 2009-12-08 | 2009-12-08 | Method and system for evaluating pre-shot picture quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102088539B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857697B (en) * | 2012-08-29 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of method of previewing photos quality, device and photographing device |
JP6286944B2 (en) * | 2013-08-28 | 2018-03-07 | ソニー株式会社 | Information processing apparatus, imaging apparatus, information processing method, and program |
CN104316529A (en) * | 2014-11-18 | 2015-01-28 | 宁波江丰生物信息技术有限公司 | Full automatic real-time image quality evaluation method for digital pathological image scanning |
CN105678624A (en) * | 2014-11-18 | 2016-06-15 | 索尼公司 | Evaluation information generation device and method, electronic device and server |
CN105430287B (en) * | 2015-12-30 | 2019-05-24 | Oppo广东移动通信有限公司 | Control method, control device and camera system |
US10674587B2 (en) * | 2016-10-11 | 2020-06-02 | Signify Holding B.V. | Control system for a surveillance system, surveillance system and method of controlling a surveillance system |
CN107155000B (en) * | 2017-04-18 | 2020-08-07 | 广东艾檬电子科技有限公司 | Photographing behavior analysis method and device and mobile terminal |
CN107153838A (en) * | 2017-04-19 | 2017-09-12 | 中国电子科技集团公司电子科学研究院 | A kind of photo automatic grading method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10103931A (en) * | 1996-09-30 | 1998-04-24 | Murata Mfg Co Ltd | Appearance inspection method for electronic component |
CN1725840A (en) * | 2004-07-23 | 2006-01-25 | 三星电子株式会社 | Digital image device and image management method thereof |
CN1933549A (en) * | 2005-08-19 | 2007-03-21 | 三星电子株式会社 | Image processing device and method for determination of image quality |
CN101127835A (en) * | 2007-09-27 | 2008-02-20 | 中兴通讯股份有限公司 | A pre-processing method and device for improving video image quality of digital video camera |
CN101163199A (en) * | 2006-08-02 | 2008-04-16 | 索尼株式会社 | Image-capturing apparatus and method, expression evaluation apparatus, and program |
CN101448174A (en) * | 2008-12-26 | 2009-06-03 | 深圳华为通信技术有限公司 | Image quality evaluation device and method thereof |
CN101478698A (en) * | 2007-12-26 | 2009-07-08 | 三星Sdi株式会社 | Image quality estimation device and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102005017642B4 (en) * | 2005-04-15 | 2010-04-08 | Vistec Semiconductor Systems Jena Gmbh | Method for inspecting a wafer |
-
2009
- 2009-12-08 CN CN200910242299.0A patent/CN102088539B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10103931A (en) * | 1996-09-30 | 1998-04-24 | Murata Mfg Co Ltd | Appearance inspection method for electronic component |
CN1725840A (en) * | 2004-07-23 | 2006-01-25 | 三星电子株式会社 | Digital image device and image management method thereof |
CN1933549A (en) * | 2005-08-19 | 2007-03-21 | 三星电子株式会社 | Image processing device and method for determination of image quality |
CN101163199A (en) * | 2006-08-02 | 2008-04-16 | 索尼株式会社 | Image-capturing apparatus and method, expression evaluation apparatus, and program |
CN101127835A (en) * | 2007-09-27 | 2008-02-20 | 中兴通讯股份有限公司 | A pre-processing method and device for improving video image quality of digital video camera |
CN101478698A (en) * | 2007-12-26 | 2009-07-08 | 三星Sdi株式会社 | Image quality estimation device and method |
CN101448174A (en) * | 2008-12-26 | 2009-06-03 | 深圳华为通信技术有限公司 | Image quality evaluation device and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102088539A (en) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102088539B (en) | Method and system for evaluating pre-shot picture quality | |
CN107451969A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
CN101690161B (en) | Apparatus and method for automatically computing gamma correction curve | |
US9626760B2 (en) | System and method to align and merge differently exposed digital images to create a HDR (High Dynamic Range) image | |
EP1965348A1 (en) | Gray-scale correcting method, gray-scale correcting device, gray-scale correcting program, and image device | |
CN107730446A (en) | Image processing method, device, computer equipment and computer-readable recording medium | |
CN103780797A (en) | Image color enhancement method and device | |
CN101442679B (en) | Automatic white balance control system and method thereof | |
CN107911625A (en) | Light measuring method, device, readable storage medium storing program for executing and computer equipment | |
US9307213B2 (en) | Robust selection and weighting for gray patch automatic white balancing | |
CN105915816A (en) | Method and equipment for determining brightness of given scene | |
CN109712177A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
CN106162161A (en) | A kind of image detecting method and display device | |
WO2023005827A1 (en) | Exposure compensation method and apparatus, and electronic device | |
JP5862071B2 (en) | Image processing apparatus, imaging apparatus, and program | |
CN110473177B (en) | Skin pigment distribution prediction method, image processing system, and storage medium | |
CN107920205A (en) | Image processing method, device, storage medium and electronic equipment | |
CN109729259B (en) | Image processing apparatus, method thereof, system thereof, and computer readable medium | |
CN108875625B (en) | Identification method and electronic equipment | |
CN101923455A (en) | Method for displaying and analyzing digital image in YUV format | |
CN104954627A (en) | Information processing method and electronic equipment | |
CN103942523A (en) | Sunshine scene recognition method and device | |
JP4682782B2 (en) | Image processing device | |
CN108205812B (en) | Method for matching pigment color mixing proportion | |
CN108737736A (en) | A kind of mobile terminal focal control method, mobile 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150603 Termination date: 20191208 |