CN1717066A - Method for detecting camera head edge effect - Google Patents
Method for detecting camera head edge effect Download PDFInfo
- Publication number
- CN1717066A CN1717066A CN 200410025731 CN200410025731A CN1717066A CN 1717066 A CN1717066 A CN 1717066A CN 200410025731 CN200410025731 CN 200410025731 CN 200410025731 A CN200410025731 A CN 200410025731A CN 1717066 A CN1717066 A CN 1717066A
- Authority
- CN
- China
- Prior art keywords
- edge effect
- value
- camera
- specific region
- testing
- 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
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
A method for testing edge effect of a camera head includes the following steps: 1, a computer reads out a pick-up picture to find out a specific zone in the picture, 2, selecting a border of the zone and taking out rectangular zone at either side of the boarder, 3, evaluating the mean brightness value of the two rectangular zones, 4, comparing the mean brightness value in the specific zone with the mean brightness value of the rectangular zone outside of the specific zone to get the bright/dark reduced value of said border, 5, evaluating the bright/dark reduced values of other borders, 6, finding out the smallest value from all the reduced values and evaluating the mean value of all the reduced values, 7, comparing the smallest value, and mean value with the pre-set lower limit value to determine the edge effect of a camera head.
Description
[technical field]
The present invention relates to a kind of method of testing the camera edge effect, especially refer to the method that the edge effect of the camera in the electronic products such as a kind of logarithmic code camera or camera mobile phone is tested.
[background technology]
Digital vedio recording equipment such as digital camera, camera mobile phone etc. are more and more universal on the consumer electronics product market at present, because the quality quality of the camera of its configuration has determined the quality of imaging effect to a great extent, therefore necessary some technical indicators to camera are tested.The main purpose of test camera edge effect is exactly in order to verify camera when the strong object of light and shade contrast is taken, and whether the image that obtains situations such as the fuzzy or colour contamination of boundary can occur in the penumbra.
Traditional method of testing mainly adopts following steps: at first the test man takes normal pictures, and the test man analyzes the pictures taken that obtains then, judges the quality of edge effect.But this method need the test man to rely on the empirical value of accumulation to judge, so subjective factor is bigger because employing is manually operated, and measurement result is objective and accurate inadequately, and manual measurement efficient is lower in addition, and spent cost is also than higher.
[summary of the invention]
The object of the invention is to provide a kind of method that can improve the test camera edge effect of measuring accuracy and testing efficiency.
The present invention is achieved by the following technical solutions: a kind of method of testing the camera edge effect, comprise the steps: that (1) computer reads pictures taken, and find out the specific region in the pictures taken; (2) select a border of this specific region, and near this boundaries on either side, respectively get a rectangular area; (3) obtain the average brightness value of these two rectangular areas respectively; (4), obtain the light and shade reduced value on selected border with the average brightness value of the rectangular area in this specific region average brightness value than the rectangular area outside the last specific region; (5) obtain the light and shade reduced value on other border; (6) from all light and shade reduced values, find out minimum value, and obtain the mean value of all light and shade reduced values; (7) minimum value and mean value and default lower limit are compared, judge the quality of camera edge effect.
Described step (1) also comprises the steps: to set in advance a normal pictures before; With camera this normal pictures is filmed; The pictures taken that shooting is obtained uploads in the computer.
Specific region in the described normal pictures is rectangular or be cross.
Reference white is arranged in described specific region, and standard black is arranged in other zone.
The brightness value of described reference white is 255, and the brightness value of described standard black is 0.
Minimum value in described step (6) or (7) is represented the poorest edge effect situation of camera, and mean value is represented average edge effect situation.
Compared to prior art, the present invention utilizes computer that the border of specific region in the pictures taken is analyzed, obtain the light and shade reduced value on each border, therefrom select minimum value and calculate the mean value of all reduced values, then minimum value and mean value and default lower limit are compared, thereby judge the quality of camera edge effect, improved the precision and the testing efficiency of test effectively.
[description of drawings]
Accepted standard picture in the method that Fig. 1 tests the camera edge effect for the present invention is a kind of;
Can replace the another kind of normal pictures that Fig. 1 uses in the method that Fig. 2 tests the camera edge effect for the present invention is a kind of;
In the method that Fig. 3 tests the camera edge effect for the present invention is a kind of Fig. 1 is taken resulting pictures taken;
The principle schematic of in the method that Fig. 4 tests the camera edge effect for the present invention is a kind of Fig. 3 being analyzed;
Fig. 5 is a kind of flow chart of testing the method for camera edge effect of the present invention.
[embodiment]
The present invention is a kind of to test the normal pictures used in the method for camera edge effect as shown in Figure 1, one rectangular specific region is arranged in the described normal pictures, reference white is arranged in this specific region, other zone is a standard black, the brightness value of reference white correspondence is made as 255 among the present invention, and the brightness value of standard black correspondence is made as 0.
See also shown in Figure 2, a kind of method of testing the camera edge effect of the present invention provides can replace the another kind of normal pictures that Fig. 1 uses, specific region in this normal pictures is cross, described specific region is configured to reference white equally, and other zone is configured to standard black beyond this specific region.
The present invention is a kind of to be tested and in the method for camera edge effect Fig. 1 is taken resulting pictures taken and can consult shown in Figure 3, because the edge effect of camera self, the fuzzy transition band of outer all appearance around the specific region, the brightness value of described transition band extremely reduces away from the specific region gradually from the adjacent specific location.When taking, two kinds of methods are arranged, a kind of is that normal pictures as shown in Figure 1 is set in computer, LCDs with this computer places black box then, then the normal pictures that is shown in this LCDs all over the screen is taken with camera, must guarantee to this specific region of major general during shooting and all around near zone be filmed, owing in black box, operate, and in the normal pictures except that the specific region other zone be standard black, in black box, can't make a distinction with background, therefore the pictures taken size is in different size with normal pictures possibly, but analysis result is had no effect; Another kind method is to make normal pictures with special transparent material, then this normal pictures is placed between two sheet glass, then this normal pictures and described sheet glass are placed in the penetration lamp box together, equally in this shooting environmental, it is visual having only the specific region in the normal pictures, and also must guarantee to the major general specific region when taking and all around near zone be filmed.Present embodiment is taked first kind of image pickup method.
See also shown in Figure 4, the method that the present invention is a kind of to test the camera edge effect is when asking each border light and shade reduced value, select a border wherein earlier, near described boundaries on either side, respectively get a rectangular area (for convenience of explanation then, among the figure these rectangular areas have been drawn, do not exist in the actual photographed picture), promptly contiguous described boundary is got a rectangular area in the specific region, contiguous described boundary is got another piece rectangular area outside the specific region, and the rectangular area outside the specific region to small part is positioned at transition band, these two rectangular areas equate to the distance on described border, the distance size determines according to the size of specific region, rectangular area size and border, specific region is big or small proportional in addition, if the rectangular area is less, then image data is less, range of value is less, if but the rectangular area is too big, sampled data is too much, through the just possible well reflecting edge effect situation in average back, so the size of ratio needs to decide according to the actual requirements.After respectively getting a rectangular area near the boundaries on either side, near other boundaries on either side, respectively get a rectangular area more successively, as can be seen from Figure 4, respectively there is a rectangular area at contiguous four edges circle place in the specific region, and also respectively there is the rectangular area of a correspondence at contiguous described four edges circle place outside the specific region.
Below in conjunction with Fig. 5 a kind of method of testing the camera edge effect of the present invention is set forth, in step 11, computer is read pictures taken, and finds out the specific region in this pictures taken; In step 12, computer is selected a border of this specific region, and respectively gets a rectangular area near this boundaries on either side; In step 13, computer is obtained the average brightness value of these two rectangular areas respectively; In step 14, computer is obtained the light and shade reduced value on selected border with the average brightness value of the rectangular area in this specific region average brightness value than the rectangular area outside last this specific region; In step 15, computer is obtained the light and shade reduced value on other border respectively according to above-mentioned steps; In step 16, computer is found out minimum value from all light and shade reduced values, and obtains the mean value of all reduced values of light and shade; In step 17, computer compares minimum light and shade reduced value and mean value and predefined lower limit, judges the quality of camera edge effect.
Please consult Fig. 4 once more, in actual test process, because rectangular area to the small part outside the specific region is positioned at transition band, therefore the brightness value of each pixel can not be identical in this rectangular area, therefore get its average brightness value, in order to guarantee the precision of test result, its average brightness value is also got in the rectangular area in the specific region.Uppermost rectangular area begins to suppose along clockwise direction that the average brightness value of four rectangular areas outside the specific region is respectively 70.96 outside the specific region, 75.26,73.54,56.98, and the average brightness value of four rectangular areas corresponding with it is respectively 255.00 in the specific region, 255.00,255.00,255.00, according to computational methods above-mentioned, the light and shade reduced value that can obtain every border is respectively 3.59,3.39,3.47,4.48, to go out the minimum value in these four light and shade reduced values be 3.39 in Computer Analysis then, mean value is 3.73, then these two values and predefined lower limit are compared, the determining with image pickup method and require relevant of described lower limit, suppose that lower limit is 5.00 here, because minimum value is represented the poorest edge effect situation of camera, mean value is represented average edge effect situation, so decidable goes out the poorest edge effect situation of camera and average edge effect situation all compares bad luck, does not reach corresponding standard.
If the picture shown in employing Fig. 2 is as normal pictures, its test process is identical with the process that adopts Fig. 1 to test, no longer describe in detail herein, just the border that need choose of computer becomes 12, the data that obtain are also more, so its measurement result is more comprehensive and accurate with respect to the measurement result that adopts Fig. 1 to obtain.
The present invention utilizes computer that the border of specific region in the pictures taken is analyzed, obtain the light and shade reduced value on each border, therefrom select minimum value and calculate the mean value of all reduced values, then minimum value and mean value and default lower limit are compared, thereby judge the quality of camera edge effect, improved the precision and the testing efficiency of test effectively.
Claims (6)
1. method of testing the camera edge effect comprises the steps: that (1) computer reads pictures taken, finds out the specific region in the pictures taken; (2) select a border of this specific region, and near this boundaries on either side, respectively get a rectangular area; (3) obtain the average brightness value of these two rectangular areas respectively; (4), obtain the light and shade reduced value on selected border with the average brightness value of the rectangular area in this specific region average brightness value than the rectangular area outside last this specific region; (5) obtain the light and shade reduced value on other border; (6) from all light and shade reduced values, find out minimum value, and obtain the mean value of all light and shade reduced values; (7) minimum value and mean value and default lower limit are compared, judge the quality of camera edge effect.
2. a kind of method of testing the camera edge effect as claimed in claim 1 is characterized in that: described step (1) also comprises the steps: before
Set in advance a normal pictures;
With camera this normal pictures is filmed;
The pictures taken that shooting is obtained uploads in the computer.
3. a kind of method of testing the camera edge effect as claimed in claim 2 is characterized in that: the specific region in the described normal pictures is rectangular or be cross;
4. a kind of method of testing the camera edge effect as claimed in claim 3, it is characterized in that: reference white is arranged in described specific region, and standard black is arranged in other zone.
5. a kind of method of testing the camera edge effect as claimed in claim 4, it is characterized in that: the brightness value of described reference white is 255, the brightness value of described standard black is 0.
6. as each the described a kind of method of testing the camera edge effect in the claim 1 to 5, it is characterized in that: the minimum value in described step (6) or (7) is represented the poorest edge effect situation of camera, and mean value is represented average edge effect situation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410025731 CN1717066A (en) | 2004-07-02 | 2004-07-02 | Method for detecting camera head edge effect |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410025731 CN1717066A (en) | 2004-07-02 | 2004-07-02 | Method for detecting camera head edge effect |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1717066A true CN1717066A (en) | 2006-01-04 |
Family
ID=35822421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410025731 Pending CN1717066A (en) | 2004-07-02 | 2004-07-02 | Method for detecting camera head edge effect |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1717066A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037241A (en) * | 2012-12-20 | 2013-04-10 | 广州视源电子科技股份有限公司 | Automatic test system of reproduction ratio |
CN104251768A (en) * | 2014-09-18 | 2014-12-31 | 常熟实盈光学科技有限公司 | Method for judging lens shadow effect in camera module |
-
2004
- 2004-07-02 CN CN 200410025731 patent/CN1717066A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037241A (en) * | 2012-12-20 | 2013-04-10 | 广州视源电子科技股份有限公司 | Automatic test system of reproduction ratio |
CN103037241B (en) * | 2012-12-20 | 2014-08-20 | 广州视源电子科技股份有限公司 | Automatic test system of reproduction ratio |
CN104251768A (en) * | 2014-09-18 | 2014-12-31 | 常熟实盈光学科技有限公司 | Method for judging lens shadow effect in camera module |
CN104251768B (en) * | 2014-09-18 | 2017-03-08 | 常熟实盈光学科技有限公司 | The method judging camera lens shadow effect in camera module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110044405B (en) | Automatic automobile instrument detection device and method based on machine vision | |
US8391585B2 (en) | Defect detecting device, defect detecting method, image sensor device, image sensor module, defect detecting program, and computer-readable recording medium | |
CN109791088B (en) | Inspection device, inspection method, and program | |
CN109791089B (en) | Inspection device, inspection method, and computer-readable recording medium | |
CN214747771U (en) | Automatic detection equipment for parts | |
CN115330789A (en) | Screen defect detection method, device, equipment and readable storage medium | |
CN114018550A (en) | Screen detection method for detecting dark spots according to screen color and color value distribution | |
CN1717066A (en) | Method for detecting camera head edge effect | |
US20090177428A1 (en) | Method of Measuring Peripheral Tilt Angle, Method and Device for Inspecting Inspection Object Having Surface Mounds, Method of Determining Position of Illumination Means, Irregularity Inspection Device, and Light Source Position Determining Device | |
JP3770294B2 (en) | Film evaluation method and film evaluation apparatus | |
CN111999309A (en) | Positioning column defect industrial vision detection equipment and detection method | |
US6747619B1 (en) | Method of evaluating front of screen quality and apparatus for evaluating front of screen quality using the same | |
CN212409647U (en) | Internal thread hole detection device | |
CN1707238A (en) | Method for testing resolution ratio of camera head | |
KR20190108805A (en) | Vision inspection apparatus and method to inspect defect of target object | |
CN112013799A (en) | Internal thread hole detection method and device | |
Williams et al. | Measuring and managing digital image sharpening | |
US10846869B2 (en) | Streak-like region detecting device, streak-like region detecting method, and program | |
Boiangiu et al. | Target Validation and Image Color Calibration | |
JP3745075B2 (en) | Film thickness measuring device | |
CN1790590A (en) | Intelligent measuring instrument for shadow mask aperture | |
Boiangiu et al. | Target validation and image calibration in scanning systems | |
JP5433221B2 (en) | Line width measurement method | |
JPH0251038A (en) | Testing device of resolution of lens barrel | |
JPH1021390A (en) | Device for measuring occupancy ratio for specific face 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 | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |