CN101626518B - Method and system for detecting resolution of photographic device - Google Patents

Method and system for detecting resolution of photographic device Download PDF

Info

Publication number
CN101626518B
CN101626518B CN2008100684481A CN200810068448A CN101626518B CN 101626518 B CN101626518 B CN 101626518B CN 2008100684481 A CN2008100684481 A CN 2008100684481A CN 200810068448 A CN200810068448 A CN 200810068448A CN 101626518 B CN101626518 B CN 101626518B
Authority
CN
China
Prior art keywords
line
coordinate
zone
pixel
row
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.)
Active
Application number
CN2008100684481A
Other languages
Chinese (zh)
Other versions
CN101626518A (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.)
BYD Semiconductor Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN2008100684481A priority Critical patent/CN101626518B/en
Publication of CN101626518A publication Critical patent/CN101626518A/en
Application granted granted Critical
Publication of CN101626518B publication Critical patent/CN101626518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable for the field of multimedia data processing, and provides a method and a system for detecting the resolution of a photographic device. The detection method comprises the following steps: receiving detected area selection information input by a user, and determining a coordinate of an initial row of a line pair of a detected area; scanning pixel rows of the line pair row by row, and computing the contrast ratio of a currently-scanned row; judging whether the contrast ratio of the currently-scanned row is less than a standard value or not, and if the contrast ratio is greater than the standard value, continuing to scan the next pixel row of the line pair and computing the contrast ratio of the next-scanned row; if the contrast ratio of the currently-scanned row is less than the standard value, setting the currently-scanned row to be a critical row and determining the coordinate of the currently-scanned row; and determining the coordinate of end row of the line pair of the detected area, and computing the resolution in combination with the coordinate of the initial row and the coordinate of the critical row. The method and the system for detecting the resolution of the photographic device orderly determine the coordinate of the initial row, the critical row and the end row in a line pair area in a shot graph card image to further compute the resolution so as to accurately detect the resolution of the photographic device in a mobile terminal.

Description

A kind of detection method of resolution of photographic device and system
Technical field
The invention belongs to the multi-medium data process field, relate in particular to a kind of detection method and system of resolution of photographic device.
Background technology
At present, increasing portable terminal is integrated with camera function, and in pickup quality detected, resolution was a very important parameter, and this numerical value is the quality level of the aspects such as camera lens, chip and focusing of camera head in the reflect mobile terminal well.
The method of existing detection resolution is under the environment of standard, take the standard black white line to graph card with camera head to be measured, as shown in Figure 1, use line in the captured figure card graphic of eye-observation to part then, the line that can tell then is recorded as the resolution of camera head to be measured to the standard graph card to the pairing numerical value of the most intensive part, the unit of resolution is LW/PH, implication is the demand pairs in the unit height, for example resolution is 1000LW/PH, the graph card height is 1m, the position live width that then is illustrated in 1000 lines is 1mm, and for highly being the graph card of 20cm, the position live width that then is illustrated in 1000 lines is 0.2mm.Yet, because the influence of subjective factor, different people tends to variant to the judged result of same image, can not obtain result accurately, simultaneously, the demand pairs value on the graph card is that scale division shows, when judged result is between two scales, need estimate that this can have influence on the precision of judged result equally.
In a word, prior art can't obtain testing result accurately when detection resolution.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of detection method of resolution of photographic device, is intended to solve prior art and can't obtains the problem of testing result accurately when detection resolution.
The embodiment of the invention is achieved in that a kind of detection method of resolution of photographic device, and described detection method may further comprise the steps:
The line that receives user's input is chosen information to graph card image detection zone, according to described line information is chosen in graph card image detection zone and is determined the coordinate of the line of surveyed area to begin column;
Line by line scan line to pixel column, and calculate the contrast of current scan line;
Whether judge current scan line contrast less than standard value,, and calculate the contrast of next scan line if the overgauge value continues next line of scanning to pixel column;
If current scan line contrast less than standard value, is made as critical row with current scan line, and determine the coordinate of current scan line;
Determine the coordinate of surveyed area line to end line, and in conjunction with begin column coordinate and critical row-coordinate calculating resolution.
Another purpose of the embodiment of the invention is to provide a kind of resolution of photographic device detection system, and described detection system comprises:
Surveyed area is chosen information receiving unit, the line that is used to receive user's input is chosen information to graph card image detection zone, described relative graph card image detection zone is chosen information and is comprised whole line to the zone and the information in part pure color zone, or be included in two lines to the partial line that intercepts between the scale to area information;
Line is used to resolve described surveyed area and chooses the information that information receiving unit receives, and the line of definite surveyed area is to the coordinate of begin column the begin column determining unit;
Line is triggered the begin column determining unit by described line critical capable determining unit, and the line that is used to line by line scan is to pixel column, and the line of definite surveyed area is to the coordinate of critical row;
Line is triggered critical capable determining unit by described line the end line determining unit, is used for determining the coordinate of surveyed area line to end line; And
The resolution computing unit, the coordinate that is used for the end line that the coordinate of the critical row that the coordinate of the begin column the begin column determining unit determined according to described line, described line determine critical capable determining unit and described line determine the end line determining unit carries out the calculating of resolution.In the embodiment of the invention, according to the coordinate of the figure card graphic center line of successively determining to take to the begin column in zone, critical row, end line, and then calculate resolution, can detect the resolution of camera head in the portable terminal exactly, thereby avoid because the error that subjective factor or estimation bring.
Description of drawings
Fig. 1 is the schematic diagram of standard black white line to graph card;
Fig. 2 is the realization flow figure of the detection method of the resolution of photographic device that provides of the embodiment of the invention;
Fig. 3 be the embodiment of the invention provide online to intercepting partial line between two scales of graph card to the schematic diagram in zone;
Fig. 4 is the structure principle chart of the resolution of photographic device detection system that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the embodiment of the invention, determine that at first surveyed area also calculates the contrast of outlet to pixel column, the pixel column contrast during less than the standard value set, is gone out resolution by this pixel column in the coordinate Calculation of surveyed area when scanning line.
Fig. 2 shows the realization flow of the detection method of the resolution of photographic device that the embodiment of the invention provides, and details are as follows:
In step S201, the surveyed area that receives user's input is chosen information, chooses information according to described surveyed area and determines the coordinate of the line of surveyed area to begin column.
In the embodiment of the invention, with ISO12233 or ISO T05 standard graph card is example, the figure card graphic that camera head is taken can be the BMP image, line is called the pure color zone to extra-regional zone, between starting position that line is right and the end position mark a plurality of tools scale value at regular intervals is arranged, in the present embodiment respectively with Value StartAnd Value EndThe scale of expression starting position and end position.
The surveyed area of user's input is chosen information, comprise the information of whole line to zone and part pure color zone, this moment with the line that scans to the coordinate of first row in zone as the coordinate of line to begin column, described coordinate is perpendicular to the coordinate of line to the reference axis of begin column, represents with LineStart; Also can be included in two lines to the partial line that intercepts between the scale to area information, as shown in Figure 3, the coordinate that directly go the partial line that scans to start with to the coordinate of the initial row in zone this moment, described coordinate is perpendicular to the coordinate of line to the reference axis of begin column, represents with LineStart equally.
In step S202, the line of lining by line scan is to pixel column, and calculates the contrast of current scan line.
At first choose a pure color zone outside to the zone, reach the purpose of setting figure card graphic relevant parameter, need obtain two parameters from this pure color zone: the mean flow rate of pixel in picture noise σ and the pure color zone by analysis to this pure color zone in line
Figure DEST_PATH_GSB00000360436700041
Wherein noise σ is by mean flow rate
Figure DEST_PATH_GSB00000360436700042
Variance obtain, concrete grammar is as follows:
Supposing that the pure color peak width of choosing is x, highly is y, and starting point is (x s, y s), (i, brightness j) is: Y more arbitrarily in this zone I, j=0.299*R I, j+ 0.587*G I, j+ 0.114*B I, jIts R, G, B are respectively red, green, blue three looks pairing value under the rgb format, be to be understood that, said method is fit to the image of extended formatting equally, can be directly replace with the value of its corresponding color lump such as the brightness of the picture of RAW form, the brightness of the picture of yuv format can use its Y component to replace.
The mean flow rate of the pure color area pixel of choosing
Figure DEST_PATH_GSB00000360436700043
Be respectively for noise σ:
Y ‾ = 1 x * y Σ i = x s x s + x Σ j = y s y s + y Y i , j ; σ 2 = 1 x * y - 1 Σ i = x s x s + x Σ j = y s y s + y ( Y ‾ - Y i , j )
Further by mean flow rate
Figure DEST_PATH_GSB00000360436700046
With the threshold value G that calculates pure color regional luminance gradient for noise σ Th:
Figure DEST_PATH_GSB00000360436700047
Threshold value G ThBe used for analysis chart card graphic pure color zone and line brightness gradual change situation to the zone, have only when the brightness variation greater than threshold value G ThThe time, think that just pure color zone and the line on the image can be recognized the boundary transition in zone, the calculating of threshold value also can guarantee to get rid of interference of noise in the identification border.
To being that example illustrates, the line of can also detection level when should be appreciated that concrete enforcement placing or otherwise placing is right, only need carry out simple coordinate transform and get final product with the line of vertical placement for following content.
Scanning need in the current scan line need to determine the line the judged zone to pixel during to pixel column when the front, for the line of vertical placement for, promptly need the scope of definite current scan line center line to pixel coordinate.Utilize threshold value G in the present embodiment ThFind out of zone and the removing of current scan line center line, at first find the right left side of the capable center line of current pixel to begin the border, set Y both sides NestRepresent the brightness of any afterwards of current scanning element point, Y PreRepresent the brightness of the last pixel of current scanning element point, set PixelStart=0, PixelEnd=0, wherein PixelStart and PixelEnd represent initial pixel and the abscissa that stops pixel in the current scan line respectively; Initialization Y NestFor abscissa in the current scan line is x 0The brightness of+2 pixel, Y PreFor abscissa is x 0The brightness of pixel, begin then abscissa in the delegation from x 0+ 1 to x 1-1 point is made incremental scan, for abscissa in the current scan line at x 0+ 1 to x 1Pixel in-1 scope, calculating its brightness step is Y Grads=Y Nest-Y Pre, compare gradient difference and threshold value G then Th, if 〉=G Th, PixelStart=x then, expression brightness is in pure color zone and line to the coordinate of the pixel of the boundary in zone, is designated as the original position of current scan line center line to pixel.Find after the PixelStart initialization Y NestFor abscissa is x 1The brightness of-2 pixel, Y PreFor abscissa is x 1The brightness of pixel, then to abscissa in the current scan line from x 1-1 to x 0The scanning of successively decreasing of+1 pixel is if same
Figure DEST_PATH_GSB00000360436700052
〉=G ThPixelEnd=x then, expression brightness is in pure color zone and line to the coordinate of the pixel of the boundary in zone, is designated as the final position of current scan line center line to pixel, and the part between PixelStart and PixelEnd is exactly that current scan line center line is to pixel place coordinate range like this.
Be to be understood that, above content is calculated with pixel brightness at interval during the pixel brightness step in calculating current scan line, also can finally obtain current scan line center line to pixel place coordinate range by the brightness step that calculates neighbor pixel when specifically implementing.
After confirming PixelStart and PixelEnd, then begin the line in this coordinate range is judged the definition of pixel.Suppose for the line of vertical placement for, the ordinate of current scan line is Y, by to the zone (PixelStart, Y-1), (PixelEnd, Y+1) definition that current scan line is right is judged to the analysis of pixel brightness in interior lines, at first need calculate this regional mean flow rate Y, the calculating principle is same as above, repeats no more.The right definition of current scan line is calculated by following formula:
ContraValue = Y mean _ white _ Y mean _ black Y mean _ white + Y mean _ black * 255 Y ‾
Wherein, Y Mean_whiteBe the average brightness of interior all brightness values in zone greater than the pixel of Y, Y Mean_blackBe the average brightness of interior all brightness values in zone less than the pixel of Y.And
Figure DEST_PATH_GSB00000360436700061
Then be meant the average brightness value in pure color zone, 255 represent the maximum brightness value in the color space.The reason of two row up and down that following formula is chosen current scan line is the luminance errors that may cause for fear of single file partial pixel point, part is used for the brightness contrast degree of the monochrome pixels point in the zoning before the multiplication sign, because when line when overstocked, it will be to show a slice grey that camera is noted image, so the contrast degree is high more, show that then black and white line is to also just being shown camera energy clear " resolution " this zone by clear identification; And the fraction after the multiplication sign is mainly used in the error amount that causes because of image brightness is revised, because when image brightness reduces, the denominator variation of the preceding fraction of multiplication sign is less, and the molecule decrease is bigger, and then reduced value will reduce, so need do suitable correction.
In step S203, judge that whether current scan line contrast is less than standard value.
In the embodiment of the invention, preestablish the accurate value of a contrast scale, the pixel in zone can be returned step S202 and continue the scanning next line by clear identification if current scan line contrast, is represented current scan line center line greater than this standard value; If current scan line contrast less than this standard value, represents that current scan line center line can not clearly be recognized the pixel in zone, then carry out next step S204.
In step S204, current scan line is made as critical row, and determines the coordinate of current scan line.
If current scan line center line can not clearly be recognized the pixel in zone, then represent to begin later line all can not clearly be recognized to pixel column from current line, the critical row of current behavior, coordinate is designated as LineResult, and described coordinate is perpendicular to the coordinate of line to the reference axis of critical row.
In step S205, determine the coordinate of surveyed area line to end line, and in conjunction with begin column coordinate and critical row-coordinate calculating resolution.
If the surveyed area chosen for two lines of intercepting to the partial line between the scale to the zone, then with the partial line that scans to the coordinate of the termination row in zone as the coordinate of line to the surveyed area end line, described coordinate is perpendicular to the coordinate of line to the reference axis of end line, is designated as LineEnd.
If the surveyed area of choosing comprises that whole line is to zone and part pure color zone; then with line to the coordinate of regional final position as the coordinate of line to the surveyed area end line; described coordinate is perpendicular to the coordinate of line to the reference axis of end line; be designated as LineEnd; consider online will finish the zone time; the brightness value of the data line that scans should be unable to have bigger variation; judge the end position of line by PixelStart and PixelEnd value in the embodiment of the invention to the zone; when two values of PixelStart and PixelEnd occur unusual or when great changes have taken place, promptly occur PixelStart>PixelEnd or Δ (PixelStart with respect to the value of lastrow Pre-PixelStart This), then can judge this behavior footline, obtain LineEnd.
The formula of calculating resolution is:
(Value End-Value Start) * (LineResult-LineStart)/(LineEnd-LineStart), it is same as above that wherein the meaning of each parameter reaches definite principle of choosing under the situation in the difference of surveyed area, Value StartAnd Value EndRepresent the scale reading of surveyed area line respectively, have the graph card mark to obtain begin column and end line.
In the embodiment of the invention, still it is right to can not find the line that can recognize after surveyed area is finished a frame scan, then think do not have in the selected surveyed area can clear identification line right, reason may select wrong or regional interior lines too high to dense degree for the surveyed area zone, LineStart is changed to 0, and expression can't be judged; In the time of should adopting said method to determine LineEnd together, reason may be selected wrong for the surveyed area zone.
Those having ordinary skill in the art will appreciate that, all or part of step in realization the foregoing description method can instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, as ROM/RAM, disk, CD etc.
Fig. 4 shows the structural principle of the resolution of photographic device detection system that the embodiment of the invention provides, and for convenience of description, only shows the part relevant with the embodiment of the invention.
First threshold computing unit 41 is used to calculate the brightness step threshold value in pure color zone, wherein, the pure color zone is chosen the pure color zone of information receiving module 411 reception user inputs and is chosen information, mean flow rate computing module 412 is resolved the pure color zone and is chosen the information that information receiving module 411 receives, and calculates the mean flow rate of pixel in this pure color zone
Figure DEST_PATH_GSB00000360436700071
Noise calculation module 413 draws picture noise σ according to the result of calculation of mean flow rate computing module 412, and brightness step threshold calculation module 414 draws the threshold value G of this pure color regional luminance gradient according to the result of calculation of mean flow rate computing module 412 and noise calculation module 413 Th, the operation principle of above-mentioned each module is as indicated above, is no longer given unnecessary details herein.
Surveyed area is chosen the surveyed area that information receiving unit 42 is used to receive user's input and is chosen information, this surveyed area is chosen information can comprise the information of whole line to zone and part pure color zone, also can only comprise two lines to the partial line that intercepts between the scale to area information, line is chosen the information that information receiving unit 42 receives to begin column determining unit 43 resolved detection zones, when this surveyed area is chosen information and can be comprised whole line to the zone and the information in part pure color zone, line to begin column determining unit 43 with its center line to the zone first the row coordinate as the coordinate of line to begin column, when this surveyed area is chosen information and is only comprised that the partial line that intercepts between two lines are to scale is to area information, the coordinates that line is directly gone the partial line that scans to the coordinate of the initial row in zone to start with to begin column determining unit 43.
Line is determined after the coordinate of begin column to begin column determining unit 43, trigger line critical capable determining unit 44 is carried out determining of critical row-coordinate, at first scan line is used for determining that to pixel coordinate determination module 441 current scan line needs the line the judged zone to pixel, and it utilizes the threshold value G of the pure color regional luminance gradient that first threshold computing unit 41 calculates ThFind out zone and the removing of current scan line center line to both sides, concrete principle is no longer given unnecessary details with above described herein.Scan line is retouched the judged result of line to pixel coordinate determination module 441 to pixel contrast computing module 442 bases, current scan line center line is carried out brightness analysis to calculate outlet to pixel contrast to pixel, and concrete analysis and calculating principle are with above described.Scan line contrast judge module 443 is built-in with predefined contrast standard value, when scan line to the result of calculation of pixel contrast computing module 442 during greater than this standard value, represent that current scan line center line can be by clear identification to the pixel in zone, triggering is retouched line pixel coordinate determination module 441 is continued to determine line that the needs of next scan line the judge zone to pixel, when scan line to the result of calculation of pixel contrast computing module 442 during less than this standard value, represent that current scan line center line can not clearly be recognized the pixel in zone, trigger line is determined current scan line to critical row-coordinate determination module 444 coordinate.
Line is determined after the coordinate of critical row to critical capable determining unit 44, trigger line end line determining unit 45 is carried out determining of end line coordinate, when this surveyed area is chosen information and is only comprised that the partial line that intercepts between two lines are to scale is to area information, line to end line determining unit 45 with the partial line that scans to the coordinate of the termination row in zone as the coordinate of line to the surveyed area end line; When this surveyed area is chosen information and can be comprised whole line to the zone and the information in part pure color zone, when line comprises whole line to zone and the information in part pure color zone with line to the district to end line determining unit 45, line to end line determining unit 45 with line to the coordinate of regional final position as the coordinate of line to the surveyed area end line, judge that principle with above described, specifically repeats no more.
The coordinate of the end line that the coordinate of the critical row that the coordinate of the begin column that resolution computing unit 46 is determined begin column determining unit 43 according to line, line are determined critical capable determining unit 44 and line are determined end line determining unit 45, carry out the calculating of resolution, concrete principle repeats no more with above described herein.
Each unit (module) of above-mentioned resolution of photographic device detection system can be the unit of software unit, hardware cell or software and hardware combining, the software unit part can be stored in the computer read/write memory medium, as ROM/RAM, disk, CD etc.
In the embodiment of the invention, according to the coordinate of the figure card graphic center line of successively determining to take to the begin column in zone, critical row, end line, and then calculate resolution, can detect the resolution of camera head in the portable terminal exactly, thereby avoid because the error that subjective factor or estimation bring.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. the detection method of a resolution of photographic device is characterized in that, described detection method may further comprise the steps:
The line that receives user's input is chosen information to graph card image detection zone, according to described line information is chosen in graph card image detection zone and is determined the coordinate of the line of surveyed area to begin column;
Line by line scan line to pixel column, and calculate the contrast of current scan line;
Whether judge current scan line contrast less than standard value,, and calculate the contrast of next scan line if the overgauge value continues next line of scanning to pixel column;
If current scan line contrast less than standard value, is made as critical row with current scan line, and determine the coordinate of current scan line;
Determine the coordinate of surveyed area line to end line, and in conjunction with begin column coordinate and critical row-coordinate calculating resolution.
2. detection method as claimed in claim 1 is characterized in that, described scan test section territory, and the line of definite surveyed area is specially the step of the coordinate of begin column:
When described surveyed area is chosen information and is comprised whole line to the zone and the information in part pure color zone, with its center line to first of the zone capable coordinate as the coordinate of line to begin column;
When described surveyed area is chosen information and is comprised that the partial line that intercepts between two lines are to scale is to area information, with the partial line that scans to the coordinate of the initial row in zone as the coordinate of line to begin column.
3. detection method as claimed in claim 1 is characterized in that, the described line of lining by line scan is to pixel column, and the step of calculating the contrast of current scan line is specially:
Calculate the threshold value of pure color regional luminance gradient;
Determine the zone of the line of needs judgement in the current scan line according to the threshold value of described pure color regional luminance gradient to pixel;
According to described line the contrast of current scan line center line to pixel calculated in the zone of pixel.
4. detection method as claimed in claim 3 is characterized in that, the step of the threshold value of described calculating pure color regional luminance gradient is specially:
Calculate the mean flow rate of pure color area pixel;
Mean flow rate according to described pure color area pixel calculates picture noise;
The threshold value that obtains pure color regional luminance gradient according to the mean flow rate and the picture noise of described pure color area pixel.
5. detection method as claimed in claim 4 is characterized in that, satisfies following formula between the threshold value of described pure color regional luminance gradient, the mean flow rate of described pure color area pixel and the described picture noise:
Figure DEST_PATH_FSB00000360436600021
G wherein ThBe the threshold value of pure color regional luminance gradient,
Figure DEST_PATH_FSB00000360436600022
Be the mean flow rate of pure color area pixel, σ is a picture noise.
6. detection method as claimed in claim 5 is characterized in that, describedly according to described line current scan line center line is calculated in the zone of pixel the step of the contrast of pixel is satisfied following formula:
Figure DEST_PATH_FSB00000360436600023
Wherein, ContraValue is the contrast of current scan line center line to pixel, Y Mean_whiteBe the average brightness of interior all brightness values in zone greater than the pixel of this zone leveling brightness, Y Mean_blackBe the average brightness of interior all brightness values in zone less than the pixel of this zone leveling brightness,
Figure DEST_PATH_FSB00000360436600024
Be the mean flow rate of pure color area pixel, 255 is the maximum brightness value in the color space.
7. detection method as claimed in claim 1 is characterized in that, described definite surveyed area line is to the coordinate of end line, and is specially in conjunction with the step of begin column coordinate and critical row-coordinate calculating resolution:
When described surveyed area is chosen information and is comprised whole line to the zone and the information in part pure color zone, with line to the coordinate of regional final position as the coordinate of line to the surveyed area end line;
When described surveyed area is chosen information and is comprised that the partial line that intercepts between two lines are to scale is to area information, with the partial line that scans to the coordinate of the termination row in zone as the coordinate of line to the surveyed area end line;
Described resolution is obtained by following calculating formula:
(Value end-Value start)*(LineResult-LineStart)/(LineEnd-LineStart);
Wherein, LineStart is perpendicular to the coordinate of line to the reference axis of begin column, and LineResult is perpendicular to the coordinate of line to the reference axis of critical row, and LineEnd is perpendicular to the coordinate of line to the reference axis of end line, Value StartAnd Value EndBe respectively in the graph card surveyed area line to the scale reading of begin column and end line.
8. a resolution of photographic device detection system is characterized in that, described detection system comprises:
Surveyed area is chosen information receiving unit, the line that is used to receive user's input is chosen information to graph card image detection zone, described line is chosen information to graph card image detection zone and is comprised whole line to the zone and the information in part pure color zone, or be included in two lines to the partial line that intercepts between the scale to area information;
Line is used to resolve described surveyed area and chooses the information that information receiving unit receives, and the line of definite surveyed area is to the coordinate of begin column the begin column determining unit;
Line is triggered the begin column determining unit by described line critical capable determining unit, and the line that is used to line by line scan is to pixel column, and the line of definite surveyed area is to the coordinate of critical row;
Line is triggered critical capable determining unit by described line the end line determining unit, is used for determining the coordinate of surveyed area line to end line; And
The resolution computing unit, the coordinate that is used for the end line that the coordinate of the critical row that the coordinate of the begin column the begin column determining unit determined according to described line, described line determine critical capable determining unit and described line determine the end line determining unit carries out the calculating of resolution.
9. detection system as claimed in claim 8, it is characterized in that, when described surveyed area is chosen information and is comprised whole line to the zone and the information in part pure color zone, described line to the begin column determining unit with its center line to the zone first the row coordinate as the coordinate of line to begin column, when described surveyed area is chosen information and is comprised that the partial line that intercepts between two lines are to scale is to area information, the coordinate that described line is gone the partial line that scans to the coordinate of the initial row in zone to start with to the begin column determining unit.
10. detection system as claimed in claim 8 is characterized in that, described detection system further comprises:
The first threshold computing unit is used to calculate the brightness step threshold value in pure color zone, and described line according to its result of calculation, is determined the coordinate of the line of surveyed area to critical row to critical capable determining unit;
Described first threshold computing unit comprises:
Information receiving module is chosen in the pure color zone, and information is chosen in the pure color zone that is used to receive user's input;
The mean flow rate computing module is used to resolve described pure color zone and chooses the information that information receiving module receives, and calculates the mean flow rate of pixel in the pure color zone;
Noise calculation module is used for drawing picture noise according to the result of calculation of described mean flow rate computing module; And
The brightness step threshold calculation module is used for drawing according to the result of calculation of described mean flow rate computing module and described noise calculation module the threshold value of this pure color regional luminance gradient.
11. detection system as claimed in claim 9 is characterized in that, satisfies following formula between the threshold value of described pure color regional luminance gradient, the mean flow rate of described pure color area pixel and the described picture noise:
G wherein ThBe the threshold value of pure color regional luminance gradient,
Figure DEST_PATH_FSB00000360436600042
Be the mean flow rate of pure color area pixel, σ is a picture noise.
12. detection system as claimed in claim 11 is characterized in that, described line comprises critical capable determining unit:
Scan line is used for determining the zone of the line of current scan line needs judgement to pixel according to the result of calculation of described brightness step threshold calculation module to the pixel coordinate determination module;
Scan line is used for according to the judged result of described scan line to the pixel coordinate determination module the pixel contrast computing module, and current scan line center line is carried out brightness analysis to calculate outlet to pixel contrast to pixel;
Scan line contrast judge module, be used for the contrast of described scan line to the calculating of pixel contrast computing module compared with the standard value that sets in advance, when described scan line to the result of calculation of pixel contrast computing module during greater than this standard value, trigger described scan line the pixel coordinate determination module continued to determine line that the needs of next scan line the judge zone to pixel; And
Line is to critical row-coordinate determination module, is used for when described scan line the result of calculation of pixel contrast computing module during less than this standard value, being triggered the coordinate of determining current scan line by described scan line contrast judge module.
13. detection system as claimed in claim 12 is characterized in that, described scan line calculates current scan line center line to the pixel contrast computing module step of the contrast of pixel is satisfied following formula:
Figure DEST_PATH_FSB00000360436600051
Wherein, ContraValue is the contrast of current scan line center line to pixel, Y Mean_whiteBe the average brightness of interior all brightness values in zone greater than the pixel of this zone leveling brightness, Y Mean_blackBe the average brightness of interior all brightness values in zone less than the pixel of this zone leveling brightness, Be the mean flow rate of pure color area pixel, 255 is the maximum brightness value in the color space.
14. detection system as claimed in claim 8, it is characterized in that, if the surveyed area chosen comprises whole line to zone and part pure color zone, described line to the end line determining unit with line to the coordinate of regional final position as the coordinate of line to the surveyed area end line; If the surveyed area chosen for two lines of intercepting to the partial line between the scale to the zone, described line to the end line determining unit with the partial line that scans to the coordinate of the termination row in zone as the coordinate of line to the surveyed area end line;
Described resolution computing unit obtains resolution according to following calculating formula:
(Value end-Value start)*(LineResult-LineStart)/(LineEnd-LineStart);
Wherein, LineStart is perpendicular to the coordinate of line to the reference axis of begin column, and LineResult is perpendicular to the coordinate of line to the reference axis of critical row, and LineEnd is perpendicular to the coordinate of line to the reference axis of end line, Value StartAnd Value EndBe respectively in the graph card surveyed area line to the scale reading of begin column and end line.
CN2008100684481A 2008-07-11 2008-07-11 Method and system for detecting resolution of photographic device Active CN101626518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100684481A CN101626518B (en) 2008-07-11 2008-07-11 Method and system for detecting resolution of photographic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100684481A CN101626518B (en) 2008-07-11 2008-07-11 Method and system for detecting resolution of photographic device

Publications (2)

Publication Number Publication Date
CN101626518A CN101626518A (en) 2010-01-13
CN101626518B true CN101626518B (en) 2011-06-29

Family

ID=41522154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100684481A Active CN101626518B (en) 2008-07-11 2008-07-11 Method and system for detecting resolution of photographic device

Country Status (1)

Country Link
CN (1) CN101626518B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763871A (en) * 2014-12-18 2016-07-13 深圳市同为数码科技股份有限公司 Real time detection system and detection method for camera definition
CN105791815B (en) * 2016-03-16 2018-05-22 昆山软龙格自动化技术有限公司 A kind of TV line automatic judging methods
CN106092136B (en) * 2016-05-30 2019-01-25 凌云光技术集团有限责任公司 A method of measurement certain height camera resolution
CN106408559B (en) * 2016-09-05 2020-03-10 京东方科技集团股份有限公司 Method and terminal for detecting resolution
CN106331677B (en) * 2016-09-05 2018-05-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 The evaluation method and system of bore hole stereoscopic display intermediate-resolution index
CN106878701A (en) * 2016-12-31 2017-06-20 歌尔科技有限公司 The detection method and device of a kind of TVLine
CN107438162B (en) * 2017-07-31 2020-07-07 努比亚技术有限公司 Shooting parameter adjusting method and device
CN109151451B (en) * 2018-05-28 2020-09-25 上海久航电子有限公司 Binocular night vision device resolution detection method
CN109862348A (en) * 2019-02-18 2019-06-07 深圳市同为数码科技股份有限公司 A kind of picture system parsing power test judgement method and device
CN110049319B (en) * 2019-05-09 2020-12-22 王博文 Camera definition detection method and definition detection graphic card

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147889A (en) * 1994-05-13 1997-04-16 明尼苏达州采矿制造公司 Automated image quality control
EP1557661A1 (en) * 2002-10-30 2005-07-27 Toppan Printing Co., Ltd. Inspection apparatus of wiring pattern, inspection method, detection apparatus, detection method
CN1862304A (en) * 2005-05-11 2006-11-15 奥林巴斯映像株式会社 Decline measuring device for imaging element and its measuring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147889A (en) * 1994-05-13 1997-04-16 明尼苏达州采矿制造公司 Automated image quality control
EP1557661A1 (en) * 2002-10-30 2005-07-27 Toppan Printing Co., Ltd. Inspection apparatus of wiring pattern, inspection method, detection apparatus, detection method
CN1862304A (en) * 2005-05-11 2006-11-15 奥林巴斯映像株式会社 Decline measuring device for imaging element and its measuring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2001-281165A 2001.10.10
JP特开2006-64969A 2006.03.09

Also Published As

Publication number Publication date
CN101626518A (en) 2010-01-13

Similar Documents

Publication Publication Date Title
CN101626518B (en) Method and system for detecting resolution of photographic device
US11570423B2 (en) System and methods for calibration of an array camera
CN101771823B (en) Image processing apparatus, image capture apparatus, image output apparatus, and method for these apparatus
US8971659B2 (en) Bad pixel cluster detection
CN1690678B (en) Image analysis method, image analysis program and pixel evaluation system having the sames
CN1960439B (en) Methods and devices for image signal processing
CN101049011B (en) Lens roll-off correction method and apparatus
CN101459765B (en) Method and circuit for correcting dead pixel in video signal
US20030179418A1 (en) Producing a defective pixel map from defective cluster pixels in an area array image sensor
CN104700062A (en) Method and equipment for identifying two-dimension code
US8401296B2 (en) Image processing method for locating and recognizing barcodes in image frame, computer readable storage medium, and image processing apparatus
CN102870135A (en) Method and device for shape extraction, and dimension measuring device and distance measuring device
US11503262B2 (en) Image processing method and device for auto white balance
CN101771883A (en) Apparatus for demosaicing colors and method thereof
CN110197180B (en) Character defect detection method, device and equipment
CN103369265A (en) Pixel information management apparatus and image capture apparatus using the same
CN102981619A (en) Method and system for replacing theme based on color of user clothes of mobile terminal
TWI437878B (en) Method and circuit for correcting defect pixels in image signal
CN111127559A (en) Method, device, equipment and storage medium for detecting marker post in optical dynamic capturing system
CN103093458A (en) Detecting method and detecting device for key frame
US6263117B1 (en) Automatic image calibration method for a contact type scanner
CN102333174A (en) Video image processing method and device for the same
TWI492621B (en) Adaptive image processing method and related apparatus
US9147257B2 (en) Consecutive thin edge detection system and method for enhancing a color filter array image
CN110740314B (en) Method and system for correcting defective pixel of color line array camera

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191230

Address after: 518119 1 Yanan Road, Kwai Chung street, Dapeng New District, Shenzhen, Guangdong

Patentee after: SHENZHEN BYD MICROELECTRONICS Co.,Ltd.

Address before: 518118 Pingshan Road, Pingshan Town, Shenzhen, Guangdong, No. 3001, No.

Patentee before: BYD Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province

Patentee after: BYD Semiconductor Co.,Ltd.

Address before: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN BYD MICROELECTRONICS Co.,Ltd.

Address after: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province

Patentee after: BYD Semiconductor Co.,Ltd.

Address before: 518119 No.1 Yan'an Road, Kuiyong street, Dapeng New District, Shenzhen City, Guangdong Province

Patentee before: BYD Semiconductor Co.,Ltd.