CN100534143C - Image fog detection method of photographic arrangement - Google Patents
Image fog detection method of photographic arrangement Download PDFInfo
- Publication number
- CN100534143C CN100534143C CNB200510135463XA CN200510135463A CN100534143C CN 100534143 C CN100534143 C CN 100534143C CN B200510135463X A CNB200510135463X A CN B200510135463XA CN 200510135463 A CN200510135463 A CN 200510135463A CN 100534143 C CN100534143 C CN 100534143C
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- detection method
- fog detection
- filmed
- 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
Images
Landscapes
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to an image fuzzy detecting method of camera, wherein it comprises that: first finding out the contrast image with maximum definition in the focus step, comparing it with shot image, to find the difference between them; if the difference is too significant, the shot image is fuzzy, or else, the shot image is clear. The invention can improve camera efficiency.
Description
Technical field
The present invention is relevant a kind of detection method, and particularly relevant a kind of user of providing advises message, and can the oneself judge whether captured image is the image fog detection method of camera clearly.
Background technology
Press, progress along with science and technology, electrophotographic device emerges, gradually replaced traditional camera device, digital camera replacement traditional camera gradually for example, be that at first digital camera now can be by LCD, people can be taken pictures at any time watch the shooting photograph at any time, can directly image processing be become numerical data during in addition because of photograph greatly increases convenience, and the volume ratio traditional camera of factor sign indicating number camera is little a lot, make digital camera have more Portability, become a kind of trend so digital camera replaces traditional camera.
And digital camera is along with development of science and technology, its pixel of photographing also is promoted to more than 1,200 ten thousand pixels, and the image of this high pixel also can not produce the situation generation of distortion in amplification process, but the shared archives space of the image of high relatively pixel is bigger, therefore must there be bigger storage area to deposit, the image of high pixel another puzzlement of also having derived in addition, this puzzlement is for after finishing when user's shooting, its filmed image can show on LCD, and the size of this LCD is greatly between 3 centimetres (1.2 o'clock) to 7.6 centimetres (3 o'clock), so when the user is taking if slight rocking arranged, the image of its shooting is actually ambiguous, but because the resolution of LCD is not enough, instantly but be clearly at the shown image of the LCD of digital camera, therefore actual captured image and image shown on LCD are gaps to some extent, often the user all be with captured image (about 38 centimetres of bigger displays, promptly more than 15 o'clock) just realize mistake when manifesting in surperise, form greatest puzzlement for the user, in addition for the user of initial stage photography, all be the experience of accumulating photography with shooting time and number of times mostly, still need the more rich operator of experience to be instructed, so time and the money for the initial stage user all is a loss greatly, therefore to how in digital camera, to develop and to judge that whether filmed image is method clearly, be popular at present institute extremely need.
In view of this, the present invention is at above-mentioned problem, proposes a kind of image fog detection method of camera, effectively to overcome the puzzlement of traditional digital cameras and relevant apparatus.
Summary of the invention
The object of the present invention is to provide a kind of image fog detection method of camera.
For achieving the above object, the image fog detection method of camera provided by the invention, when being applied to an electrophotographic device and taking a filmed image, this electrophotographic device has a focusing stage before taking this image, and the image fog detection method of this camera comprises the following steps:
When this focusing stage, this electrophotographic device receives a plurality of pick-up images;
Calculate the definition of each this pick-up image, and compare a contrast image of definition maximum; And
Should contrast image and this image relatively and judge whether to be Same Scene:
If, then relatively the definition of this contrast image and this image to judge that this image is clear or fuzzy; And
If not, then with the pick-up image of former Zhang Teding numbers of filmed image relatively, find out a specific image of definition maximum, again should specific image and this image do above-mentioned definition comparison, be clear or fuzzy to judge this image.
The image fog detection method of described camera, wherein this contrast image and this image judge whether in the step into Same Scene, be in this contrast image and this image, respectively to specify a zone, and two these area dividing are the number block, and calculate the average gray of each this block and on average obtain an overall average, its difference then is judged as Same Scene during less than a judgment value, otherwise then is different scenes.
The image fog detection method of described camera, wherein this judgment value is between-30% to 30%.
The image fog detection method of described camera, wherein this region area for this contrast image and this image 0% to 100% between.
The image fog detection method of described camera, wherein this definition relatively be selected from redness (R) in this zone, green (G), blue (B) and gray value (Gray) one of them or and the pixel summation of combination give comparison, and the computing formula of definition is:
Wherein AP is whole pixels (All pixels) in this image, and is serve as to calculate target with gray value (Gray) in this calculating formula, and (i, the coordinate of each this block during j) for calculating.
The image fog detection method of described camera, wherein the definition mean value of this contrast image and this image is respectively V1 and V2, its mean difference value (Dif
0) then be:
The image fog detection method of described camera, wherein the definition of this contrast image and this image relatively is the definition that calculates respectively separately, produces a difference value by its sharpness computation again.
The image fog detection method of described camera, wherein this definition is selected from the pixel summation of the redness (R) in the pixel of this contrast image and this image, green (G), blue (B) and gray value (Gray) one of them or its combination, and the computing formula of definition is:
Wherein AP is whole pixels (All pixels) in this image, and is serve as to calculate target with gray value (Gray) in this calculating formula, and (i, the coordinate of each this block during j) for calculating.
The image fog detection method of described camera, wherein this difference value is to represent with percentage, the definition of this contrast image and this image is respectively w1 and w2, its difference value (Dif
1) then be:
The image fog detection method of described camera, wherein this difference value judges then that less than a set point this image is clear, this difference value judges then that greater than this set point this image is for fuzzy.
The image fog detection method of described camera, wherein this set point is between-70% to 30%.
The image fog detection method of described camera, wherein this definition be selected from redness (R) in the pixel, green (G), blue (B) and gray value (Gray) one of them or and the pixel summation of combination, and the computing formula of definition is:
Wherein AP is whole pixels (All pixels) in this image, and is serve as to calculate target with gray value (Gray) in this calculating formula, and (i, the coordinate of each this block during j) for calculating.
The image fog detection method of described camera, wherein this electrophotographic device is digital camera, mobile phone or video camera.
The image fog detection method of described camera, wherein when this electrophotographic device is digital camera, the action of being carried out when this focusing stage is partly tripped for this digital camera.
The image fog detection method of described camera wherein after this image is judged as fuzzy step, comprises the step of sending a notification message.
The image fog detection method of described camera, wherein this notification message is selected from the sound, light source shows or light source scintillation.
The image fog detection method of described camera, wherein this electrophotographic device is provided with a display, to show this notification message.
The image fog detection method of described camera wherein after this image is judged as fuzzy step, comprises the step of sending a suggestion message.
The image fog detection method of described camera wherein should the suggestion message be raising photosensitivity (ISO) or use foot rest.
The image fog detection method of described camera wherein is provided with a display at this electrophotographic device, to show this suggestion message.
The image fog detection method of described camera is between the 20th to the 1st before wherein this this image of specific number is taken by this electrophotographic device.
By enforcement of the present invention, compare by sharp image in the acquisition focusing stage and last filmed image, judge that with this image of last shooting is clear or fuzzy, and notify the state of user's filmed image, can determine when the user is taken a picture that captured image has preferable definition, and then the efficient of photography is increased and wrong the minimizing.Behind user's filmed image, instantly the user is proposed relevant suggestion of taking, make the user accumulate the photography experience fast.And can make digital camera have more the use of surcharge and diversification.
Description of drawings
Schematic flow sheet when Fig. 1 is a focusing stage of the present invention.
Fig. 2 is the schematic flow sheet of judgement Same Scene of the present invention.
Fig. 3 is the schematic diagram that contrast image of the present invention and filmed image are divided block and appointed area.
Fig. 4 is the comparison flow chart under the Same Scene of the present invention.
Fig. 5 is the comparison flow chart under the different scene of the present invention.
Fig. 6 is that digital camera of the present invention is taken flow chart.
Embodiment
Below elaborate by the specific embodiment conjunction with figs., when the effect that is easier to understand purpose of the present invention, technology contents, characteristics and is reached.
The present invention is a kind of image fog detection method of camera, it is applied on the electrophotographic device, this electrophotographic device is digital camera, mobile phone or video camera, when this electrophotographic device is taken a filmed image, this filmed image readability of real-time judge, and inform the situation of the captured image of user, so can make the user more efficient when carrying out filmed image, also more can grasp the quality of filmed image.
Below just be embodiment with the digital camera, this digital camera has a LCD screen, and this digital camera has the function of partly tripping, this partly trips and can make the action of focusing earlier of this digital camera, and that method of the present invention sees also is shown in Figure 1, first step S10 at first, when focusing stage, receive plural pick-up image by electrophotographic device, then carry out step S12, calculate the definition of each pick-up image, and compare the pick-up image of definition maximum, and it is defined as a contrast image, be the redness (R) that is selected from the pixel in the definition of this indication, green (G), blue (B) and gray value (Gray) one of them or and the pixel summation of combination, the computing formula of its definition is:
Wherein AP is whole pixels (All pixels) in the image, and be to serve as to calculate target with gray value (Gray) in the calculating formula in this embodiment, also can select other target certainly, as above-mentioned redness (R), green (G), blue (B) etc., and (i, the coordinate during j) for calculating.
Then carry out step S14, image will be contrasted and filmed image is analysed and compared, whether compare these two images is Same Scene, please consult shown in Figure 2 and shown in Figure 3 simultaneously, illustrated at flow process in the step S14, at first carry out step S16, in contrast image and filmed image, specify a zone 10, these regional 10 areas account for contrast image and filmed image 0% to 100% between, then carry out step S18, contrast image and filmed image institute corresponding regional 10 that desire is analysed and compared are divided into m * n block 12 simultaneously, as shown in Figure 3, then carry out step S20, utilize above-mentioned formula (1) to calculate the average gray of each block 12 in this zone 10, the average gray of its contrast image and filmed image is respectively V1 and V2, and calculates mean difference value (Dif0) according to following formula:
Then carry out step S22, with this mean difference value (Dif
0) compare with a judgment value, this judgment value is between-30% to 30%, and optimum range is for being between-20% to 20%, if mean difference value (Dif
0) then be judged as Same Scene during less than judgment value, on the contrary then be different scenes.
And followingly just carry out different steps with Same Scene and different scene situation respectively, at first when if contrast image and filmed image are Same Scene, see also shown in Figure 4, carry out step S24, calculate the definition w1 and the w2 of contrast image and filmed image respectively with above-mentioned formula (1), and comply with following formula and calculate a difference value (Dif
1):
Then carry out step S26, with this difference value (Dif
1) compare with a set point, this set point is between-70% to 30%, and optimum range is between-40% to 20%, if difference value (Dif
1) then be judged as during less than set point clear, otherwise then for fuzzy.
When if the contrast image is different scene with filmed image, see also shown in Figure 5, carry out step S28, with the pick-up image of former Zhang Teding numbers of filmed image relatively, its manner of comparison calculates definition with formula (1) too, compare a pick-up image of definition maximum again, and it is defined as a specific image, this given number is that image is photographed between preceding 20 to preceding 1, then carry out step S30, calculate the definition y1 and the w2 of specific image and filmed image respectively with above-mentioned formula (1), and comply with following formula and calculate a difference value (Dif
2):
Then carry out step S32, with this difference value (Dif
2) compare with above-mentioned same set point, if difference value (Dif
2) then be judged as during less than set point clear, otherwise then for fuzzy.
Therefore, the whole shooting flow process of this digital camera, as shown in Figure 6, this figure represents with time shaft, the A time phase is aimed at the position that desire is taken for the user with digital camera in the drawings, then partly trip, i.e. B time point among the figure, make digital camera carry out C time phase among the figure, i.e. focusing stage, the action that this stage carries out is shown in above-mentioned step S10 and S12, the D time point among the figure of then tripping entirely promptly, whether make digital camera acquisition filmed image, and continue the step of being carried out shown in above-mentioned step S14 to S30, so can interpretation going out this filmed image is sharp image.
If filmed image is judged as when bluring, this digital camera can send a notification message and the suggestion message gives the user, this notification message is to present to send the sound, light source demonstration or light source scintillation mode at digital camera, but also can on the LCD screen on the digital camera, directly show and inform, and the suggestion message can improve suggestions such as photosensitivity (ISO) or use foot rest for informing the user, and preferable presentation mode then is to show to inform on LCD screen.
Therefore sharp image during the present invention is focused by acquisition and last filmed image are relatively, judge that with this image of last shooting is clear or fuzzy, and notify the state of user's filmed image, can determine when making the user take a picture that captured image has preferable definition, and then the efficient that makes photography increases and wrong the minimizing, the method can be behind user's filmed image in addition, instantly relevant suggestion of taking is proposed the user, the experience that makes the user can accumulate photography fast is so the present invention can make electrophotographic device have more the use of surcharge and diversification.
The above is by embodiment characteristics of the present invention to be described, its purpose is had the knack of this operator and can be understood content of the present invention and implement according to this making, and non-limiting claim of the present invention, so, all other do not break away from equivalence modification or the modification that disclosed spirit is finished, and must be included in the described claim.
Claims (19)
1. the image fog detection method of a camera, when being applied to an electrophotographic device and taking a filmed image, this electrophotographic device has a focusing stage before taking this filmed image, and the image fog detection method of this camera comprises the following steps:
When this focusing stage, this electrophotographic device receives a plurality of pick-up images;
Calculate the definition of each pick-up image, and compare one of the definition maximum as a contrast image; And
Should contrast image and this filmed image relatively and judge whether to be Same Scene;
If, then relatively the definition of this contrast image and this filmed image to judge that this filmed image is clear or fuzzy; And
If not, then with the pick-up image of former Zhang Teding numbers of filmed image relatively, finding out a specific image of definition maximum, should do above-mentioned definition comparison with this filmed image by specific image again, is clear or fuzzy with the judgement filmed image.
2. the image fog detection method of camera as claimed in claim 1, it is characterized in that, wherein this contrast image and this filmed image judge whether in the step into Same Scene, be in this contrast image and this filmed image, respectively to specify a zone, and this two area dividing is the number block, and calculate the average gray of each this block and on average obtain an overall average, its difference then is judged as Same Scene during less than a judgment value, otherwise then is different scenes.
3. the image fog detection method of camera as claimed in claim 2 is characterized in that, wherein this judgment value is between-30% to 30%.
4. the image fog detection method of camera as claimed in claim 2 is characterized in that, wherein this region area for this contrast image and this filmed image 0% to 100% between.
5. the image fog detection method of camera as claimed in claim 2, it is characterized in that, wherein this definition relatively is that the pixel summation that is selected from redness, green, blueness and gray value one of them or its combination in this zone gives comparison, and the computing formula of definition is:
Wherein AP is whole pixels in this filmed image, and is to be to calculate target with the gray value in this calculating formula, and (i, the coordinate of each this block during j) for calculating.
6. the image fog detection method of camera as claimed in claim 2 is characterized in that, wherein the definition mean value of this contrast image and this filmed image is respectively V1 and V2, and its mean difference value then is:
7. the image fog detection method of camera as claimed in claim 1 is characterized in that, wherein the definition of this contrast image and this filmed image relatively is the definition that calculates respectively separately, produces a difference value by its sharpness computation again.
8. the image fog detection method of camera as claimed in claim 7 is characterized in that, wherein this difference value is to represent with percentage, and the definition of this contrast image and this filmed image is respectively w1 and w2, and its difference value then is:
9. the image fog detection method of camera as claimed in claim 7 is characterized in that, wherein this difference value judges then that less than a set point this filmed image is clear, and this difference value judges then that greater than this set point this filmed image is for fuzzy.
10. the image fog detection method of camera as claimed in claim 9 is characterized in that, wherein this set point is between-70% to 30%.
11. the image fog detection method of camera as claimed in claim 1 is characterized in that, wherein this electrophotographic device is digital camera, mobile phone or video camera.
12. the image fog detection method of camera as claimed in claim 11 is characterized in that, wherein when this electrophotographic device is digital camera, and the action of being carried out when this focusing stage is partly tripped for this digital camera.
13. the image fog detection method of camera as claimed in claim 1 is characterized in that, wherein after this filmed image is judged as fuzzy step, comprises the step of sending a notification message.
14. the image fog detection method of the described camera of claim 13 is characterized in that, wherein this notification message is selected from the sound, light source shows or light source scintillation.
15. the image fog detection method of the described camera of claim 13 is characterized in that wherein this electrophotographic device is provided with a display, to show this notification message.
16. the image fog detection method of camera as claimed in claim 1 is characterized in that, wherein after this filmed image is judged as fuzzy step, comprises the step of sending a suggestion message.
17. the image fog detection method of camera as claimed in claim 16 is characterized in that, wherein should the suggestion message be raising photosensitivity or use foot rest.
18. the image fog detection method of camera as claimed in claim 16 is characterized in that, wherein is provided with a display at this electrophotographic device, to show this suggestion message.
19. the image fog detection method of camera as claimed in claim 1 is characterized in that, wherein this specific number image is that this filmed image is taken between preceding the 20th to the 1st by this electrophotographic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510135463XA CN100534143C (en) | 2005-12-28 | 2005-12-28 | Image fog detection method of photographic arrangement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510135463XA CN100534143C (en) | 2005-12-28 | 2005-12-28 | Image fog detection method of photographic arrangement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1992813A CN1992813A (en) | 2007-07-04 |
CN100534143C true CN100534143C (en) | 2009-08-26 |
Family
ID=38214721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200510135463XA Expired - Fee Related CN100534143C (en) | 2005-12-28 | 2005-12-28 | Image fog detection method of photographic arrangement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100534143C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102010002310A1 (en) * | 2010-02-24 | 2011-08-25 | Audi Ag, 85057 | Method and device for the free inspection of a camera for an automotive environment |
TWI552602B (en) * | 2014-08-19 | 2016-10-01 | 晶睿通訊股份有限公司 | Blur detection method of images, monitoring device, and monitoring system |
-
2005
- 2005-12-28 CN CNB200510135463XA patent/CN100534143C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1992813A (en) | 2007-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7825969B2 (en) | Image stabilization using multi-exposure pattern | |
JP5484631B2 (en) | Imaging apparatus, imaging method, program, and program storage medium | |
US20070053571A1 (en) | Image searching apparatus, image printing apparatus, print ordering system, over-the-counter printing terminal apparatus, image capturing apparatus, image searching program and method | |
JP4019200B2 (en) | Camera with image display | |
JP3395770B2 (en) | Digital still camera | |
JP5901782B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
JP2008288975A (en) | Imaging apparatus, imaging method and imaging program | |
CN103888667B (en) | Image capturing apparatus and control method thereof | |
TWI343745B (en) | ||
CN101115139A (en) | Photographing apparatus and exposure control method | |
CN105516611A (en) | An imaging device and a shooting method | |
CN103905725A (en) | Image processing apparatus and image processing method | |
US7483054B2 (en) | Image unsharpness test method for a camera device | |
JP2009027647A (en) | Captured image recording system, photographic device, captured image recording method | |
CN100534143C (en) | Image fog detection method of photographic arrangement | |
CN104243806B (en) | Imaging device, method for information display and information process unit | |
JP2014230088A (en) | Image adjustment device, image adjustment method, image adjustment program, and imaging device | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN111654620B (en) | Shooting method and device | |
EP3933474A1 (en) | Image processing device, image processing method, program, and imaging device | |
JP5901780B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
JP2011172266A (en) | Imaging apparatus, imaging method and imaging program | |
JP6645614B2 (en) | Imaging device and electronic equipment | |
WO2024034390A1 (en) | Information processing device, information processing method, and program | |
JP6645612B1 (en) | Imaging device and electronic equipment |
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 |
Granted publication date: 20090826 Termination date: 20181228 |
|
CF01 | Termination of patent right due to non-payment of annual fee |