CN101729921A - Electronic device and detection method thereof - Google Patents

Electronic device and detection method thereof Download PDF

Info

Publication number
CN101729921A
CN101729921A CN200810173846A CN200810173846A CN101729921A CN 101729921 A CN101729921 A CN 101729921A CN 200810173846 A CN200810173846 A CN 200810173846A CN 200810173846 A CN200810173846 A CN 200810173846A CN 101729921 A CN101729921 A CN 101729921A
Authority
CN
China
Prior art keywords
images
picture material
electronic installation
moves
repeat region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200810173846A
Other languages
Chinese (zh)
Other versions
CN101729921B (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN200810173846XA priority Critical patent/CN101729921B/en
Publication of CN101729921A publication Critical patent/CN101729921A/en
Application granted granted Critical
Publication of CN101729921B publication Critical patent/CN101729921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a detection method for detecting whether a lens of an electronic device is shielded or not, comprising the following steps of: acquiring a plurality of images by the electronic device; judging whether image contents of the plurality of images move or not; judging whether image contents of the plurality of images have repeat areas or not if the image contents of the plurality of images move; and indicating that the lens can be shielded according to the repeat area if the image contents of the plurality of images have repeat areas. By the invention and the method, the lens of the electronic device can be detected to be shielded or not.

Description

Electronic installation and detection method thereof
Technical field
The present invention relates to a kind of electronic installation and detection method thereof, relate in particular to the camera lens whether electronic installation and the detection method thereof of crested that are used for detection. electronics.
Background technology
The user was when using Digital Video or digital camera to make a video recording or take pictures in the past, and Chang Wufa notices immediately and may be present on the camera lens as shelters such as dust, sand grains, scratch or stains.Because these defectives are less usually, the screen that the user is not easy on Digital Video or digital camera finds immediately, often arrived when picture or photo output to amplifications picture such as computer or photo and just found these defectives, but for late.Or be, the user is when making a video recording or take pictures, and finger keeps off camera lens easily because of carelessness, makes picture or photo shadow occur, if can not find immediately, will cause trouble.
Therefore, be necessary to provide the whether method of crested of a kind of electronic installation and detector lens thereof, to improve the existing problem of prior art.
Summary of the invention
Main purpose of the present invention is in the camera lens that detection. electronics the is provided effect of crested whether.
For realizing above-mentioned purpose, detection method of the present invention comprises the following steps: to obtain a plurality of images by electronic installation; Whether the picture material of judging a plurality of images moves; If the picture material of a plurality of images moves, judge then whether the picture material of a plurality of images has repeat region; And if having repeat region, then according to this repeat region, the indication camera lens may crested.
For realizing above-mentioned purpose, the present invention provides a kind of detection method to comprise the following steps: whether the picture material of judging a plurality of images moves in addition; If the picture material of a plurality of images moves, judge then whether the picture material of a plurality of images has repeat region; If have repeat region, judge that then whether repeat region is greater than preset value; And if repeat region, is then indicated the crested of camera lens possibility greater than preset value.
For realizing above-mentioned purpose, the present invention provides a kind of electronic installation in addition, can be for whether crested of detector lens, and this electronic installation comprises electronics, image acquiring apparatus, storage device, detection module and alarm module.Wherein image acquiring apparatus is arranged in the electronics, and image acquiring apparatus is in order to extract image; Storage device and image acquiring apparatus electrically connect, and storage device is in order to the access graph picture; Detection module and storage device electrically connect, and whether detection module has shelter in order to camera lens; And when detection module is judged camera lens and had shelter, can remind the user to note shelter.
Can detect the whether crested of camera lens of electronic installation by device and method of the present invention.
Description of drawings
Fig. 1 is the flow chart of steps about first embodiment of detection method of the present invention.
Fig. 2 is the flow chart of steps about second embodiment of detection method of the present invention.
Fig. 3 is the schematic diagram about the judgement repeat region of an embodiment of detection method of the present invention.
Fig. 4 is the front schematic view about electronic installation of the present invention.
Fig. 5 is the schematic rear view about electronic installation of the present invention.
Wherein, description of reference numerals is as follows:
1 electronic installation
10 electronics
11 screens
111 information warnings
12 public address sets
20 image acquiring apparatus
21 camera lenses
30 storage devices
40 detection modules
50 alarm modules
60 move induction installation
80 shelters
Embodiment
For more understanding technology contents of the present invention, be described as follows especially exemplified by preferred embodiment.
Detection method of the present invention is used for the whether crested of camera lens of detection. electronics.
Below please refer to the flow chart of steps of Fig. 1 about first embodiment of detection method of the present invention.
At first carry out step S71: obtain a plurality of images by electronic installation.
In one embodiment of this invention, electronic installation is a digital camera, but the present invention is not as limit.For instance, camera cell phone, digital camera, Digital Video, personal digital assistant, notebook or electronics Game device etc. have shooting or recording apparatus all belongs to the category of spirit of the present invention with the electronic installation of taking pictures or recording a video.
Then carry out step S72: whether the picture material of judging a plurality of images moves.
In one embodiment of this invention, mobile if the picture material of a plurality of images has, then carry out step S73; And detection of end then if not.
In one embodiment of this invention, step S72 is further comprising the steps of:
Step S721: judge whether electronic installation moves.
In one embodiment of this invention, step S721 is by judging whether electronic installation moves, and whether moves with the picture material that determines a plurality of images.If it is mobile that electronic installation has, then carry out step S73; And if not, then carry out step S722.
Step S722: judge whether subject moves.
In one embodiment of this invention, step S722 is further by judging whether subject moves, and whether moves with the picture material that determines described a plurality of images.If it is mobile that subject has, then carry out step S73; And detection of end then if not.
In one embodiment of this invention, take thing and can be people, landscape or any target.In addition, in one embodiment of this invention, the order of step S721 and step S722 can be changed front and back, and does not exceed with order shown in Figure 1.Moreover in one embodiment of this invention, the present invention is only execution in step S721 or one of them step of step S722 also, so still can realize judging the purpose whether picture material of a plurality of images moves.
Step S73: whether the picture material of judging a plurality of images has repeat region.
In one embodiment of this invention, the mode whether picture material of judging a plurality of images has repeat region is that the picture material of each image and the picture material of first image are compared, along with the quantity increase of a plurality of images and after convergence after a while, whether the picture material that can judge a plurality of images has that to repeat motionless zone be repeat region, but the present invention is not as limit.For instance, the mode whether picture material of judging a plurality of images has repeat region also compares the picture material of each image and the picture material of previous image, along with the quantity increase of a plurality of images and after convergence after a while, whether has repeat region so as to the picture material of judging a plurality of images.
In one embodiment of this invention, if the picture material of a plurality of images has repeat region, then carry out step S74; If not, detection of end then.
Carry out step S74 at last: send caution, may crested with the indication camera lens.
In one embodiment of this invention, the picture material of a plurality of images is judged if compare by analysis has repeat region, then judges the crested of camera lens possibility, and sends caution and note the camera lens situation to remind the user.In one embodiment of this invention, the mode of sending caution can be at the screen display information warning of electronic installation or by the public address set of electronic installation and sends caution sound, but the present invention is not as limit.
Below please refer to the flow chart of steps of Fig. 2 about second embodiment of detection method of the present invention.
At first carry out step S81: obtain a plurality of images by electronic installation.
In one embodiment of this invention, electronic installation is a digital camera, but the present invention is not as limit, for instance, camera cell phone, digital camera, Digital Video, personal digital assistant, notebook or electronics Game device etc. have shooting or recording apparatus all belongs to the category of spirit of the present invention with the electronic installation of taking pictures or recording a video.
Then carry out step S82: whether the picture material of judging a plurality of images moves.
In one embodiment of this invention, mobile if the picture material of a plurality of images has, then carry out step S83; And detection of end then if not.
In one embodiment of this invention, step S82 is further comprising the steps of:
Step S821: judge whether electronic installation moves.
In one embodiment of this invention, step S821 is by judging whether electronic installation moves, and whether moves with the picture material that determines a plurality of images.If it is mobile that electronic installation has, then carry out step S83; And if not, then carry out step S822.
Step S822: judge whether subject moves.
In one embodiment of this invention, step S822 is further by judging whether subject moves, and whether moves with the picture material that determines described a plurality of images.If it is mobile that subject has, then carry out step S83; And detection of end then if not.
In one embodiment of this invention, take thing and can be people, landscape or any target.In addition, in one embodiment of this invention, the order of step S821 and step S822 can be changed front and back, and does not exceed with order shown in Figure 2.Moreover in one embodiment of this invention, the present invention is only execution in step S821 or one of them step of step S822 also, so still can realize judging the purpose whether picture material of a plurality of images moves.
Step S83: whether the picture material of judging a plurality of images has repeat region.
In one embodiment of this invention, the mode whether picture material of judging a plurality of images has repeat region is that the picture material of each image and the picture material of first image are compared, along with the quantity increase of a plurality of images and after convergence after a while, whether the picture material that can judge a plurality of images has that to repeat motionless zone be repeat region, but the present invention is not as limit.For instance, the mode whether picture material of judging a plurality of images has repeat region also compares the picture material of each image and the picture material of previous image, along with the quantity increase of a plurality of images and after convergence after a while, whether has repeat region so as to the picture material of judging a plurality of images.
In one embodiment of this invention, if the picture material of a plurality of images has repeat region, then carry out step S84; And detection of end then if not.
Then carry out step S84: judge that whether repeat region is greater than preset value.
In one embodiment of this invention, preset value is a default area value, but the present invention is as limit, and for instance, preset value also can be a default pixel value (pixel).When repeat region during, then carry out step S85 greater than preset value; And detection of end then if not.
Carry out step S85 at last: send caution, may crested with the indication camera lens.
In one embodiment of this invention, the picture material of a plurality of images is judged if compare by analysis has repeat region, then judges the crested of camera lens possibility, and sends caution and note the camera lens situation to remind the user.In one embodiment of this invention, the mode of sending caution can be at the screen display information warning of electronic installation or by the public address set of electronic installation and sends caution sound, but the present invention is not as limit.
Then please refer to the schematic diagram of Fig. 3 about the judgement repeat region of an embodiment of detection method of the present invention
As shown in Figure 3, in one embodiment of this invention, electronic installation is from the right-hand a plurality of images that move and obtain diverse location toward left, the mode whether picture material of judging a plurality of images has repeat region is that the picture material of each image and the picture material of first image are compared, after convergence after a while, the picture material that can judge a plurality of images has that to repeat motionless zone be that repeat region (is among Fig. 3, the stain that occurs on each image), but the present invention not as limit.For instance, the mode whether picture material of judging a plurality of images has repeat region also compares the picture material of each image and the picture material of previous image, along with the quantity increase of a plurality of images and after convergence after a while, whether has repeat region so as to the picture material of judging a plurality of images.
Then please refer to Fig. 4 and Fig. 5 schematic diagram about electronic installation of the present invention.
In one embodiment of this invention, electronic installation 1 of the present invention is a digital camera, but it is noted that camera cell phone, Digital Video, personal digital assistant, notebook or electronics Game device etc. have shooting or recording apparatus all belongs to the category of spirit of the present invention with the electronic installation of taking pictures or recording a video.
As shown in Figure 4, electronic installation 1 of the present invention comprises electronics 10, image acquiring apparatus 20, storage device 30, detection module 40 and alarm module 50.As shown in Figure 5, wherein electronics 10 comprises screen 11 and public address set 12.Image acquiring apparatus 20 is arranged in the electronics 10, and image acquiring apparatus 20 is in order to extract image, and in one embodiment of this invention, image can be photo or picture.In one embodiment of this invention, image acquiring apparatus 20 comprises optocoupler components (CCD, be Charge Coupled Device) or complementary metal oxide semiconductor (CMOS, i.e. Complementary Metal Oxide Semiconductor), but the present invention is not as limit.Storage device 30 electrically connects with image acquiring apparatus 20, and storage device 30 is in order to the access graph picture, and in one embodiment of this invention, storage device 30 can be hard disk or memory, but the present invention is not as limit.
Detection module 40 electrically connects with storage device 30, and whether detection module 40 promptly has shelter 80 as shown in Figure 4 in order to judge whether crested of camera lens 21.Detection module 40 judges whether the picture material of a plurality of images that storage device 40 is stored moves; If the picture material of a plurality of images moves, judge then whether the picture material of a plurality of images has a repeat region.
If detection module 40 judges that the picture material of a plurality of images has repeat region, then alarm module 50 is according to this repeat region, and the indication user notices that camera lens 21 may crested.
Generally speaking, the formation reason major part of shelter 80 has dust, sand grains, scratch or stain to be present on the camera lens 21, but forms reason not as limit, for instance, if the user points and keeps off camera lens 21, also may form shelter 80.In one embodiment of this invention, detection module 40 is promptly to begin to detect after electronic installation 1 is activated or by user's start detection module 40 voluntarily.If detection module 40 has been judged shelter 80, then send caution and note the situation of camera lens 21 to remind the user.As shown in Figure 5, in one embodiment of this invention, the mode of sending caution can be at screen 11 and shows information warning 111 or send caution sound by public address set 12, but the present invention sends the mode of caution not as limit.
In one embodiment of this invention, electronic installation 1 also comprises mobile induction installation 60 (as shown in Figure 4), in order to the mobile status of induction electronics 10, for judging whether whether electronics 10 moves, move with the picture material that determines a plurality of images.In one embodiment of this invention, mobile induction installation 60 is acceleration transducer (G-sensor), can respond to the instant mobile orientation of electronic installation 1, and is mobile to judge whether electronics 10 has.Because acceleration transducer is a technique known, therefore do not give unnecessary details its detailed construction and function at this.But it is noted that when if electronic installation 1 is not provided with mobile induction installation 60, detection module 40 also can be compared by the picture material of each image and the picture material of previous image, judges the moving direction of electronics 10 according to picture material.
To sum up institute is old, and no matter the present invention all shows it totally different in the feature of known technology with regard to purpose, means and effect.But it should be noted that above-mentioned many embodiment give an example for convenience of explanation, the protection range that the present invention advocated should be as the criterion with the determined scope of claim, but not only limits to the foregoing description.

Claims (14)

1. detection method is used to detect the whether crested of a camera lens of an electronic installation, and this method comprises the following steps:
Obtain a plurality of images by this electronic installation;
Whether the picture material of judging described a plurality of images moves;
If the picture material of described a plurality of images moves, judge then whether the picture material of described a plurality of images has a repeat region; And
If have this repeat region,, indicate this camera lens possibility crested then according to this repeat region.
2. detection method as claimed in claim 1, wherein according to this repeat region, indicate this camera lens to comprise in the step of crested:
Judge that whether this repeat region is greater than a preset value; And
If this repeat region, is then indicated this camera lens possibility crested greater than this preset value.
3. detection method as claimed in claim 1 or 2 wherein in the step of this camera lens possibility crested of indication, shows an information warning or sends a caution sound.
4. detection method as claimed in claim 1 or 2 in the step whether picture material of judging described a plurality of images moves, judges whether this electronic installation moves, and whether moves with the picture material that determines described a plurality of images.
5. detection method as claimed in claim 1 or 2 in the step whether picture material of judging described a plurality of images moves, judges whether a subject moves, and whether moves with the picture material that determines described a plurality of images.
6. detection method as claimed in claim 1 or 2, whether have in the step of this repeat region in the picture material of judging described a plurality of images, the picture material of each image and the picture material of first image are compared, whether have this repeat region so as to the picture material of judging described a plurality of images.
7. detection method as claimed in claim 1 or 2, whether have in the step of this repeat region in the picture material of judging described a plurality of images, the picture material of each image and the picture material of previous image are compared, whether have this repeat region so as to the picture material of judging described a plurality of images.
8. electronic installation can be for whether crested of a camera lens that detects this electronic installation, and this electronic installation comprises:
One electronics;
One image acquiring apparatus is arranged in this electronics, and this image acquiring apparatus is in order to extract a plurality of images;
One storage device electrically connects with this image acquiring apparatus, and this storage device is in order to the described a plurality of images of access;
One detection module electrically connects with this storage device, and whether this detection module moves in order to the picture material of judging described a plurality of images; If the picture material of described a plurality of images moves, judge then whether the picture material of described a plurality of images has a repeat region; And
One alarm module, when this detection module judged that the picture material of described a plurality of images has a repeat region, this alarm module was indicated this camera lens possibility crested.
9. electronic installation as claimed in claim 8, wherein this alarm module notices that to remind a user this camera lens may crested in order to show an information warning or to send a caution sound.
10. as claimed in claim 9 have an electronic installation that detects masking system, and this electronics also comprises a screen, this alarm module at this information warning of this screen display so as to warning this user.
11. the electronic installation with detection masking system as claimed in claim 9, this electronics also comprises a public address set, and this alarm module sends this caution sound so as to warning this user by this public address set.
12. electronic installation as claimed in claim 8 also comprises and moves induction installation, in order to respond to the mobile status of this electronics, for judging whether this electronic installation moves, and whether moves with the picture material that determines described a plurality of images.
13. electronic installation as claimed in claim 12, this moves induction installation is an acceleration transducer.
14. electronic installation as claimed in claim 8, this electronic installation are a camera cell phone, a digital camera, a Digital Video, a personal digital assistant, a notebook or an electronics Game device.
CN200810173846XA 2008-10-29 2008-10-29 Electronic device and detection method thereof Active CN101729921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810173846XA CN101729921B (en) 2008-10-29 2008-10-29 Electronic device and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810173846XA CN101729921B (en) 2008-10-29 2008-10-29 Electronic device and detection method thereof

Publications (2)

Publication Number Publication Date
CN101729921A true CN101729921A (en) 2010-06-09
CN101729921B CN101729921B (en) 2011-11-16

Family

ID=42449982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810173846XA Active CN101729921B (en) 2008-10-29 2008-10-29 Electronic device and detection method thereof

Country Status (1)

Country Link
CN (1) CN101729921B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546740A (en) * 2013-09-03 2014-01-29 小米科技有限责任公司 Method and device for detecting camera and terminal equipment
CN104463827A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Image acquisition module automatic detection method and corresponding electronic device
CN112040223A (en) * 2020-08-25 2020-12-04 RealMe重庆移动通信有限公司 Image processing method, terminal device and storage medium
CN113011316A (en) * 2021-03-16 2021-06-22 北京百度网讯科技有限公司 Lens state detection method and device, electronic equipment and medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546740A (en) * 2013-09-03 2014-01-29 小米科技有限责任公司 Method and device for detecting camera and terminal equipment
CN103546740B (en) * 2013-09-03 2015-11-25 小米科技有限责任公司 A kind of method, device and terminal equipment detecting camera
CN104463827A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Image acquisition module automatic detection method and corresponding electronic device
CN104463827B (en) * 2013-09-17 2019-02-05 联想(北京)有限公司 A kind of automatic testing method and corresponding electronic equipment of image capture module
CN112040223A (en) * 2020-08-25 2020-12-04 RealMe重庆移动通信有限公司 Image processing method, terminal device and storage medium
CN112040223B (en) * 2020-08-25 2022-08-12 RealMe重庆移动通信有限公司 Image processing method, terminal device and storage medium
CN113011316A (en) * 2021-03-16 2021-06-22 北京百度网讯科技有限公司 Lens state detection method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN101729921B (en) 2011-11-16

Similar Documents

Publication Publication Date Title
JP6462183B2 (en) Imaging apparatus and focus control method
JP4450783B2 (en) Imaging device
US10158798B2 (en) Imaging apparatus and method of controlling the same
WO2014023217A1 (en) Image capturing method and mobile terminal
WO2018161889A1 (en) Queue information acquisition method, device and computer readable storage medium
TW201902204A (en) Power reduction in a multi-sensor camera device by on-demand sensors activation
WO2018184260A1 (en) Correcting method and device for document image
US7305771B2 (en) Rotation sensor
CN106385579A (en) Camera detection device, method and multi-camera terminal
CN101729921B (en) Electronic device and detection method thereof
CN107079084B (en) Instant preview control device, instant preview control method and instant preview system
CN109151348B (en) Image processing method, electronic equipment and computer readable storage medium
JP5883992B2 (en) Pixel mixing apparatus and operation control method thereof
CN115497082A (en) Method, apparatus and storage medium for determining subtitles in video
CN102780842B (en) Portable electric device and be applicable to its Dual Images acquisition method
CN108156392B (en) Shooting method, terminal and computer readable storage medium
WO2021104226A1 (en) Photographing method and electronic device
CN101626458A (en) Photographic device and photographic method thereof
US10079973B2 (en) Imaging device operation device, operation method, and program
CN110086921B (en) Method and device for detecting performance state of terminal, portable terminal and storage medium
US9729796B1 (en) Method and apparatus for automatic stage scene detection
CN111953906A (en) Image processing method, image processing apparatus, and computer-readable storage medium
JP6374535B2 (en) Operating device, tracking system, operating method, and program
CN113012211B (en) Image acquisition method, device, system, computer equipment and storage medium
CN106569666B (en) Mask processing control device and method and terminal

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