CN102740110A - Detection method of picture dark corner and mobile equipment - Google Patents

Detection method of picture dark corner and mobile equipment Download PDF

Info

Publication number
CN102740110A
CN102740110A CN2012101776025A CN201210177602A CN102740110A CN 102740110 A CN102740110 A CN 102740110A CN 2012101776025 A CN2012101776025 A CN 2012101776025A CN 201210177602 A CN201210177602 A CN 201210177602A CN 102740110 A CN102740110 A CN 102740110A
Authority
CN
China
Prior art keywords
picture
brightness value
central point
mobile device
tested
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.)
Pending
Application number
CN2012101776025A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN2012101776025A priority Critical patent/CN102740110A/en
Publication of CN102740110A publication Critical patent/CN102740110A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a detection method of a picture dark corner and mobile equipment. The detection method comprises the steps of: shooting a gray card through a camera on the mobile equipment to be detected so as to obtain a picture to be tested, and storing the picture to be tested in a flash memory of the mobile equipment; inputting the picture to be tested through a processor of the mobile equipment, thus obtaining the brightness value of the central point and four sides of the picture to be tested; and calculating to obtain the ratio of the brightness value of four sides to the brightness value of the central point; and determining whether the ratio is in a normal range, and if not, displaying the unqualified content on a display screen of the mobile equipment. According to the detection method above, the shooting result can be operated and determined by the equipment, therefore, the qualification of the dark corner of the lens of the equipment can be assessed; and a feasible method is provided to a production line for assessing the performance of the dark corner of the lens of the equipment.

Description

The detection method and the mobile device at the dark angle of a kind of picture
Technical field
The monitoring method and the mobile device at the dark angle of a kind of picture, the field that the present invention relates to.
Background technology
In image industry; The way at the dark angle of assessment cam lens all is through image sensor the standard ash to be stuck under certain environment to take; Import to picture shot among the PC then, pictures taken is analyzed, thereby assess dark angular travel degree around the camera lens of this image sensor indirectly.
Yet this method can be carried out at laboratory stage, and is not only time-consuming but also require great effort if whether on the product line, assess the dark angle of cam lens in this way qualified, is not easy to carry out.
Along with the camera pixel is increasingly high, people are also increasingly high to the requirement of its image quality, need a kind of method to assess the imaging performance of camera, so that whether the camera of factory's watch-dog when production equipment is qualified.
Summary of the invention
The technical problem that the present invention mainly solves provides the detection method and the mobile device at the dark angle of a kind of picture, can accomplish the dark angle performance test of Devices to test camera easily and efficiently.
For solving the problems of the technologies described above; The technical scheme that the present invention adopts is: the detection method that the dark angle of a kind of picture is provided; Comprise: adopt the camera on the mobile device to be measured that grey level histogram is taken, obtain picture to be tested and deposit it video memory of said mobile device in; Make the processor of said mobile device import picture to be tested, obtain respectively said picture to be tested central point, and around brightness value; Calculate the ratio of the brightness value of brightness value and said central point around said; Judge whether said ratio is positioned at normal range (NR), if said ratio not in normal range (NR), then shows underproof content on the display screen of said mobile device.
Wherein, the said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain the brightness value of the central point of said picture to be tested, and the brightness value of at least two points in the position all around;
Said brightness value around calculating is specially with the step of the ratio of the brightness value of central point: select the minimum value in the brightness value of at least two points in the said position all around, calculate the ratio of the brightness value of said minimum value and central point.
Wherein, the said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain picture to be tested central point and with the central point of picture to be tested be symmetrical centre around the brightness value of at least two points in the position.
Wherein, the said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain the central point of picture to be tested and be the brightness value in four corners of the rectangular area of symmetrical centre with the central point of picture to be tested.
Wherein, the said ratio that calculates brightness value and the brightness value of said central point around said also comprises afterwards: the said normal range (NR) that a brightness ratio is set in advance is stored on the said mobile device to be measured as examination criteria.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of mobile device is provided, comprises: the picture acquisition module, and be used to adopt the camera on the mobile device that grey level histogram is taken, obtain picture to be tested and preservation; The brightness read module, be used for obtaining respectively said picture to be tested central point, and around brightness value; Computing module is used to calculate the ratio of said central point and all around brightness value; Judge module is used to judge whether the ratio that computing module calculates is positioned at normal range (NR), obtains judged result.
Wherein, said mobile device also comprises: numerical value is chosen module, is used for choosing the minimum value of said brightness value all around; Wherein said computing module specifically is used to calculate the ratio of said central point and the minimum value of all around brightness value.。
Wherein, said mobile device also comprises: parameter is provided with module, and the normal range (NR) that is used to a brightness ratio is set is as examination criteria and storage.
Wherein, said mobile device also comprises: display module is used to the judged result that shows that judge module obtains.
Wherein, said mobile device is the mobile phone of band camera.
The invention has the beneficial effects as follows: the situation that is different from prior art; The present invention utilizes equipment itself that shooting results is carried out computing and judgement; Need not by extraneous computer or other auxiliary equipment; Just whether the dark angle of ability testing equipment camera lens is qualified, for performance provides a feasible method at the dark angle of product line assessment apparatus camera lens, convenient and efficient.
In addition, assessment result shows on Devices to test immediately, and is more convenient.
Description of drawings
Fig. 1 is the flow chart of detection method one embodiment at the dark angle of picture of the present invention;
Fig. 2 is the concrete application sketch map of the detection method embodiment at the dark angle of picture of the present invention;
Fig. 3 be picture to be measured among detection method one embodiment of the dark angle of picture of the present invention central point, and around brightness value get a distribution schematic diagram;
Fig. 4 is the theory diagram of mobile device one embodiment of the present invention;
Fig. 5 is the concrete application structure figure of mobile device one embodiment of the present invention.
Embodiment
Consult Fig. 1, the detection method embodiment at the dark angle of picture of the present invention comprises:
Step S101: grey level histogram is taken, obtained picture to be tested;
In the streamline of producing or the product detection site before dispatching from the factory, directly adopt the camera of mobile device to be measured that standard grayscale is sticked into row and take, obtain picture to be tested, and deposit picture the video memory of mobile device to be measured in;
Step S102: make mobile device import picture to be tested, obtain the center and the brightness value all around of picture to be measured respectively;
Import picture to be tested, and choose the central point of picture and at least two points in the position all around, and read the brightness value of selected point.Wherein, the point of at least two in the position can be any two or more points in the position around the central point all around, also can be with the central point be symmetrical centre around two or more points in the position.In carry out using, can but the point that is not limited to choose four corners of center picture point and picture reads brightness value (seeing also Fig. 3); Wherein, can make mobile device from video memory, call picture to be tested and show at screen.
Step S103: the brightness value around calculating and the ratio of central point brightness value;
The brightness value around reading through calculating and the ratio of central point brightness value.In practical application, can from the brightness value around being read, choose a minimum brightness value usually, calculate the ratio of this minimum brightness value and central point brightness value then, resulting ratio is called dark angle;
Step S104: judge that whether the ratio that obtains is in normal range (NR);
Behind the brightness value around calculating and the ratio of central point brightness value; The normal range (NR) that a brightness ratio is set is stored on the mobile device as examination criteria; Contrast with the ratio that calculates normal range (NR) with brightness ratio, if the ratio that obtains in normal range (NR), execution in step S106 then; If the ratio that obtains not in normal range (NR), execution in step S105 then.In practical application, usually can be only with dark angle and set point contrast, the normal range (NR) when dark angle greater than the brightness ratio of setting is represented that then the dark angle of Devices to test camera meets the requirements, otherwise is represented undesirable;
Step S105: show defective;
When the ratio that obtains not in normal range (NR), then on the screen of mobile device, show underproof content;
Step S106: it is qualified to show;
When the ratio that obtains in normal range (NR), then on the screen of mobile device, show qualified content.
See also Fig. 2, as shown in the figure for the concrete application sketch map of the detection method embodiment at the dark angle of picture of the present invention, comprising:
Step S201: beginning;
Devices to test gets into the beginning test phase, opens camera and prepares to take picture to be tested;
Step S202: take the standard grayscale card;
Camera with Devices to test is taken the standard grayscale card;
Step S203: obtain the grey level histogram picture;
The grey level histogram picture that obtains is picture to be tested;
Step S204: read brightness value;
Make Devices to test input gray level card picture, choose the central point of picture and be four corners of symmetrical centre picture, and read the brightness value of selected point with the central point;
Step S205: calculate the dark angular travel degree of camera module group lens;
From the brightness value in four corners of the above-mentioned central point that the reads picture that is symmetrical centre, choose minimum one of brightness value, calculate the ratio of the brightness value of minimum brightness value and central point, be the dark angle of camera lens with picture;
Step S206: preset thresholding;
Set a brightness ratio range as examination criteria, i.e. thresholding;
Step S207: relatively more preset thresholding;
Compare with dark angle that calculates and preset thresholding, see whether dark angle meets the requirements;
Step S208: obtain testing result;
If the dark angle that obtains greater than preset thresholding, then shows qualified content on the screen of Devices to test,, then on the screen of Devices to test, show underproof content if be not more than preset thresholding;
Step S209: finish;
The content demonstration finishes, and testing process finishes.
See also Fig. 3, for the central point of picture to be measured among detection method one embodiment of the dark angle of picture of the present invention, and around brightness value get a distribution schematic diagram, as shown in the figure, central spot called after A0, four points all around are called after A1 respectively; A2, A3, A4 reads A0, A1; A2, A3, the brightness value of these five points of A4 is defined as L0, L1 respectively; L2, L3, L4, then dark angle is obtained by following equality:
Figure BDA00001711738600051
See also Fig. 4, as shown in the figure for the theory diagram of mobile device embodiment of the present invention, said mobile device comprises:
Picture acquisition module 401 is used to adopt the camera on the mobile device that grey level histogram is taken, and obtains picture to be tested and preservation;
Brightness read module 402, be used for obtaining respectively said picture to be tested central point, and around brightness value;
Computing module 403 is used to calculate the ratio of said central point and all around brightness value;
Judge module 404 is used to judge whether the ratio that computing module calculates is positioned at normal range (NR), obtains judged result.
Further, mobile device embodiment of the present invention also comprises:
Numerical value is chosen module 405, is used for choosing the minimum value of said brightness value all around.
Further, mobile device embodiment of the present invention also comprises:
Parameter is provided with module 406, and the normal range (NR) that is used to a brightness ratio is set is as examination criteria and storage.
Further, mobile device embodiment of the present invention also comprises:
Display module 407 is used to the judged result that shows that judge module 404 obtains.
Wherein, in practical application, described mobile device can but be not limited to be the band camera mobile phone, palmtop PC and camera etc.
See also Fig. 5, as shown in the figure for the concrete application structure figure of mobile device one embodiment of the present invention, mobile device comprises screen 501 and camera 502, and wherein screen 501 is the concrete application of the display module 407 among the above-mentioned mobile device embodiment.Wherein, mobile device also comprises LCD video memory 11, dark angle processor 12, parameter-definition device 13 and error comparator 14.Wherein dark angle processor 12, parameter-definition device 13 and error comparator 14 can be integrated in the processor of mobile device.Camera 502 is the concrete application of the picture acquisition module 401 among the above-mentioned mobile device embodiment with LCD video memory 11, and camera is used to take the grey level histogram photo, and LCD video memory 11 is used to preserve photo.Dark angle processor 12 is chosen the concrete application of module 405 and computing module 403 for brightness read module 402, numerical value, and parameter-definition device 13 is provided with the concrete application of module 406 for parameter, and error comparator is the concrete application of judge module 404.
Elaboration through the foregoing description; With respect to prior art, one of advantage of the present invention is: utilize equipment itself that shooting results is carried out computing and judgement, need not computer or auxiliary equipment by means of the external world; Just can the dark angle of assessment apparatus camera lens whether qualified, efficient, simple, cost is low.
With respect to prior art, two of advantage of the present invention is: on Devices to test, show assessment result immediately, and more convenient.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the detection method at the dark angle of picture is characterized in that, comprising:
Adopt the camera on the mobile device to be measured that grey level histogram is taken, obtain picture to be tested and deposit it video memory of said mobile device in;
Make the processor of said mobile device import picture to be tested, obtain respectively said picture to be tested central point, and around brightness value;
Calculate the ratio of the brightness value of brightness value and said central point around said;
Judge whether said ratio is positioned at normal range (NR), not in normal range (NR), then display result is underproof content on the display screen of said mobile device as if said ratio.
2. method according to claim 1 is characterized in that:
The said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain the brightness value of the central point of said picture to be tested, and the brightness value of at least two points in the position all around;
Said brightness value around calculating is specially with the step of the ratio of the brightness value of central point: select the minimum value in the brightness value of at least two points in the said position all around, calculate the ratio of the brightness value of said minimum value and central point.
3. method according to claim 2; It is characterized in that, the said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain picture to be tested central point and with the central point of picture to be tested be symmetrical centre around the brightness value of at least two points in the position.
4. method according to claim 3; It is characterized in that, the said central point that obtains said picture to be tested respectively, and around the step of brightness value be specially: obtain the central point of picture to be tested and be the brightness value in four corners of the rectangular area of symmetrical centre with the central point of picture to be tested.
5. method according to claim 1 is characterized in that, the said ratio that calculates brightness value and the brightness value of said central point around said also comprises afterwards:
The said normal range (NR) that one brightness ratio is set in advance is stored on the said mobile device to be measured as examination criteria.
6. a mobile device is characterized in that, comprising:
The picture acquisition module is used to adopt the camera on the mobile device that grey level histogram is taken, and obtains picture to be tested and preservation;
The brightness read module, be used for obtaining respectively said picture to be tested central point, and around brightness value;
Computing module is used to calculate the ratio of said central point and all around brightness value;
Judge module is used to judge whether the ratio that computing module calculates is positioned at normal range (NR), obtains judged result.
7. mobile device according to claim 6 is characterized in that, said mobile device also comprises:
Numerical value is chosen module, is used for choosing the minimum value of said brightness value all around;
Wherein said computing module specifically is used to calculate the ratio of said central point and the minimum value of all around brightness value.
8. mobile device according to claim 6 is characterized in that, said mobile device also comprises:
Parameter is provided with module, and the normal range (NR) that is used to a brightness ratio is set is as examination criteria and storage.
9. mobile device according to claim 6 is characterized in that, said mobile device also comprises:
Display module is used to the judged result that shows that judge module obtains.
10. according to each described mobile device of claim 6-8, it is characterized in that said mobile device is the mobile phone of band camera.
CN2012101776025A 2012-05-31 2012-05-31 Detection method of picture dark corner and mobile equipment Pending CN102740110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101776025A CN102740110A (en) 2012-05-31 2012-05-31 Detection method of picture dark corner and mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101776025A CN102740110A (en) 2012-05-31 2012-05-31 Detection method of picture dark corner and mobile equipment

Publications (1)

Publication Number Publication Date
CN102740110A true CN102740110A (en) 2012-10-17

Family

ID=46994774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101776025A Pending CN102740110A (en) 2012-05-31 2012-05-31 Detection method of picture dark corner and mobile equipment

Country Status (1)

Country Link
CN (1) CN102740110A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363390A (en) * 2014-11-11 2015-02-18 广东中星电子有限公司 Lens vignetting compensation method and system
CN104394325A (en) * 2014-12-15 2015-03-04 上海鼎讯电子有限公司 Imaging processing method and camera
CN105049839A (en) * 2015-07-13 2015-11-11 成都西可科技有限公司 Mobile terminal-based OIS camera module test system and test method
CN111629202A (en) * 2020-06-29 2020-09-04 歌尔光学科技有限公司 Camera detection method, detection device and readable storage medium
CN111669572A (en) * 2019-03-05 2020-09-15 Oppo广东移动通信有限公司 Camera module detection method and device, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078872A (en) * 2006-05-22 2007-11-28 比亚迪股份有限公司 Transmission type film test card for camera test and its usage method
CN101179662A (en) * 2006-11-06 2008-05-14 亚洲光学股份有限公司 Video dark corner correcting method and device
CN101281357A (en) * 2007-04-02 2008-10-08 鸿富锦精密工业(深圳)有限公司 Apparatus and method for detecting camera module group dark angle
CN102158727A (en) * 2011-03-31 2011-08-17 惠州Tcl移动通信有限公司 Method and system for detecting color reducibility of camera of mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078872A (en) * 2006-05-22 2007-11-28 比亚迪股份有限公司 Transmission type film test card for camera test and its usage method
CN101179662A (en) * 2006-11-06 2008-05-14 亚洲光学股份有限公司 Video dark corner correcting method and device
CN101281357A (en) * 2007-04-02 2008-10-08 鸿富锦精密工业(深圳)有限公司 Apparatus and method for detecting camera module group dark angle
CN102158727A (en) * 2011-03-31 2011-08-17 惠州Tcl移动通信有限公司 Method and system for detecting color reducibility of camera of mobile phone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363390A (en) * 2014-11-11 2015-02-18 广东中星电子有限公司 Lens vignetting compensation method and system
CN104394325A (en) * 2014-12-15 2015-03-04 上海鼎讯电子有限公司 Imaging processing method and camera
CN104394325B (en) * 2014-12-15 2018-06-01 锐嘉科集团有限公司 A kind of image processing method and camera
CN105049839A (en) * 2015-07-13 2015-11-11 成都西可科技有限公司 Mobile terminal-based OIS camera module test system and test method
CN111669572A (en) * 2019-03-05 2020-09-15 Oppo广东移动通信有限公司 Camera module detection method and device, medium and electronic equipment
CN111629202A (en) * 2020-06-29 2020-09-04 歌尔光学科技有限公司 Camera detection method, detection device and readable storage medium
CN111629202B (en) * 2020-06-29 2022-05-13 歌尔光学科技有限公司 Camera detection method, detection device and readable storage medium

Similar Documents

Publication Publication Date Title
US10931871B2 (en) Pipeline detection method and apparatus, and storage medium
CN107328791B (en) Defect detection method and device
CN103885217B (en) A kind of method detecting liquid crystal panel cylindrical spacer defect and device
US8238640B2 (en) Display testing apparatus and method
CN102740110A (en) Detection method of picture dark corner and mobile equipment
CN103792705B (en) Detecting method and detecting device for detecting substrate defects
CN106097361A (en) A kind of defective area detection method and device
US20140320638A1 (en) Electronic device and method for detecting surface flaw of sample
CN103389310B (en) Online sub-pixel optical component damage detection method based on radiation calibration
CN104111059A (en) Distance measuring and locating device and method and terminal
WO2022037051A1 (en) Cloud-based display panel mura correction method and system
KR20140075042A (en) Apparatus for inspecting of display panel and method thereof
CN101882425A (en) Method and system for adjusting picture quality of displayed picture and liquid crystal display equipment
CN103176349B (en) Lens detection device and method
US8723981B2 (en) Flicker detecting apparatus and method for camera module
CN110836706B (en) Liquid level detection method and device
CN112687211B (en) Method and device for measuring smear of display panel and storage medium
US20180343386A1 (en) Spot detecting apparatus and method of detecting spot using the same
CN113470065B (en) Moving object detection and tracking method and apparatus
CN109470269B (en) Calibration method, calibration equipment and calibration system for space target measuring mechanism
CN111289087A (en) Remote machine vision vibration measurement method and device
US9927225B2 (en) Measuring dynamic displacement
CN102494674B (en) High precision positioning method of dark space debris
CN115222728A (en) Screen detection method and device based on visual technology and computer equipment
CN115453783A (en) Positioning device and method for liquid crystal display detection area

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121017