CN108074237A - Approach for detecting image sharpness, device, storage medium and electronic equipment - Google Patents

Approach for detecting image sharpness, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108074237A
CN108074237A CN201711466320.6A CN201711466320A CN108074237A CN 108074237 A CN108074237 A CN 108074237A CN 201711466320 A CN201711466320 A CN 201711466320A CN 108074237 A CN108074237 A CN 108074237A
Authority
CN
China
Prior art keywords
coordinate
fitting
point
pixel
bevel edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711466320.6A
Other languages
Chinese (zh)
Other versions
CN108074237B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711466320.6A priority Critical patent/CN108074237B/en
Publication of CN108074237A publication Critical patent/CN108074237A/en
Priority to PCT/CN2018/114974 priority patent/WO2019128495A1/en
Application granted granted Critical
Publication of CN108074237B publication Critical patent/CN108074237B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Abstract

The embodiment of the present application discloses a kind of Approach for detecting image sharpness, device, storage medium and electronic equipment, in the method, obtains chessboard table images;In the chessboard table images, the coordinate of the pixel at least three bevel edges around the point of precalculated position is obtained;Fitting a straight line is carried out to the coordinate of the pixel on every bevel edge, to obtain the fitting a straight line where corresponding bevel edge;The coordinate of the intersection point between at least three fitting a straight lines is obtained, and the center point coordinate of at least one bevel edge is obtained according to the coordinate of the intersection point;Based on the center point coordinate of a bevel edge, spatial frequency response is obtained, to be detected according to the spatial frequency response to the clarity of the chessboard table images, thus, it is possible to improve the accuracy of testing result.

Description

Approach for detecting image sharpness, device, storage medium and electronic equipment
Technical field
This application involves image technique field more particularly to a kind of Approach for detecting image sharpness, device, storage medium and Electronic equipment.
Background technology
In image measurement process and machine vision applications, to determine the three-dimensional geometry position of space object surface point With the correlation between its in the picture corresponding points, it usually needs the geometrical model of camera imaging is established, and it is several to solve these The process of the parameter of what model is known as camera calibration.Black and white chessboard case marker will plate is with feature is simple, contrast is apparent, is easy to know The features such as other, it is widely used in camera calibration.Image definition is one of index for weighing camera imaging system performance.Mesh In the method for preceding detection image clarity, typically using chessboard table images as detection picture proof, the detection of sloping edge is then utilized Method detects detection picture proof into line definition, and this method needs to detect the central point of bevel edge, and then the central point based on bevel edge The clarity of detection image.However, being difficult to the central point of correctly identification bevel edge in existing sloping edge detection method, cause tiltedly The testing result of side central point generates relatively large deviation, and the testing result of clarity is caused also to generate relatively large deviation by impacted.
The content of the invention
The embodiment of the present application provides a kind of Approach for detecting image sharpness, device, storage medium and electronic equipment, Neng Gouti The accuracy of high bevel edge central point detection, and then improve the accuracy of image definition detection.
The embodiment of the present application provides a kind of Approach for detecting image sharpness, including:
Obtain chessboard table images;
In the chessboard table images, the coordinate of the pixel at least three bevel edges around the point of precalculated position is obtained;
Fitting a straight line is carried out to the coordinate of the pixel on every bevel edge, to obtain the fitting a straight line where corresponding bevel edge;
The coordinate of the intersection point between at least three fitting a straight lines is obtained, and is obtained at least according to the coordinate of the intersection point The center point coordinate of one bevel edge;
Based on the center point coordinate of a bevel edge, spatial frequency response is obtained, with according to the spatial frequency response The clarity of the chessboard table images is detected.
The embodiment of the present application also provides a kind of image definition detection device, including:
First acquisition module, for obtaining chessboard table images;
Second acquisition module, in the chessboard table images, obtaining at least three bevel edges around the point of precalculated position On pixel coordinate;
Fitting a straight line module, it is corresponding oblique to obtain for carrying out fitting a straight line to the coordinate of the pixel on every bevel edge Fitting a straight line where side;
3rd acquisition module, for obtaining the coordinate of the intersection point between at least three fitting a straight lines, and according to described The coordinate of intersection point obtains the center point coordinate of at least one bevel edge;
4th acquisition module for the center point coordinate based on a bevel edge, obtains spatial frequency response, with basis The spatial frequency response is detected the clarity of the chessboard table images.
The embodiment of the present application also provides a kind of storage medium, and the storage medium is stored with a plurality of instruction, and described instruction is fitted It is loaded in processor, to perform the step in Approach for detecting image sharpness described above.
The embodiment of the present application also provides a kind of electronic equipment, and including memory and processor, the memory is used to store Instruction and data, described instruction are loaded suitable for processor, to perform in Approach for detecting image sharpness described above Step.
In Approach for detecting image sharpness provided by the embodiments of the present application, chessboard table images are obtained first, in chessboard trrellis diagram The coordinate of the pixel at least three bevel edges around the point of precalculated position is obtained as in, then to the pixel on every bevel edge Coordinate carry out fitting a straight line, to obtain the fitting a straight line where corresponding bevel edge, obtain the friendship between at least three fitting a straight lines The coordinate of point, and according to the center point coordinate of the coordinate of these intersection points at least one bevel edge of acquisition, the center based on a bevel edge Point coordinates obtains spatial frequency response, to be detected according to spatial frequency response to the clarity of chessboard table images, this programme The center point coordinate of bevel edge can be accurately determined by way of fitting a straight line, is thus obtained based on bevel edge center point coordinate When taking spatial frequency response to be detected into line definition, the accuracy of image definition detection can be improved.
Description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the specific embodiment to the present invention, technical scheme will be made And its advantage is apparent.
Fig. 1 is the schematic diagram of a scenario of Approach for detecting image sharpness provided by the embodiments of the present application.
Fig. 2 is the flow diagram of Approach for detecting image sharpness provided by the embodiments of the present application.
Fig. 3 is the schematic diagram of chessboard table images provided by the embodiments of the present application.
Fig. 4 is the close-up schematic view of chessboard table images provided by the embodiments of the present application.
Fig. 5 is the structure diagram of image definition detection device provided by the embodiments of the present application.
Fig. 6 is a structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is another structure diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, the principle of the present invention is to implement one It is illustrated in appropriate computing environment.The following description be based on the illustrated specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
The embodiment of the present application provides a kind of Approach for detecting image sharpness, device, storage medium and electronic equipment.
Wherein, image definition detection device can be integrated in mobile phone, tablet computer and with camera function nobody On the electronic equipments such as aircraft.
As shown in Figure 1, Fig. 1 is the schematic diagram of a scenario of Approach for detecting image sharpness provided by the embodiments of the present application.This Shen Please be in embodiment, black box and white boxes in chessboard table images are inclined grid, described by the embodiment of the present application Bevel edge refer to tilt grid bevel edge, by detect tilt grid a bevel edge central point, with obtain spatial frequency sound It answers, and then the clarity of chessboard table images is detected using the spatial frequency response acquired.It wherein, as shown in Figure 1, can be with It is taken pictures using the camera of electronic equipment to gridiron pattern mark plate, to obtain chessboard table images.Preset chessboard trrellis diagram Precalculated position point as in, for example be A points, the embodiment of the present application is by obtaining the pixel at least three bevel edges around A points Then the coordinate of point carries out fitting a straight line to the coordinate of the pixel on every bevel edge, to obtain the fitting where corresponding bevel edge Straight line, wherein three bevel edges for tilting grid can determine two intersection points, therefore the intersection point by obtaining three fitting a straight lines, it can To obtain out the center point coordinate of a bevel edge, and then based on the center point coordinate, spatial frequency response is obtained, with to gridiron pattern The clarity of image is detected.By the embodiment of the present application, the accuracy of bevel edge central point detection can be improved, can be obtained The position of more accurate bevel edge central point is conducive to improve the accuracy of the testing result of image definition.
It will be detailed below.
Refering to Fig. 2, in the Approach for detecting image sharpness of the embodiment of the present application, specifically comprise the following steps:
201st, chessboard table images are obtained.
Wherein it is possible to it is taken pictures using camera to gridiron pattern mark plate, to obtain chessboard table images.Wherein, clapping According in the process, gridiron pattern mark plate can be rotated a certain angle, so that tessellated grid is inclined grid, rotation The angle turned can for example be chosen in the range of 2 ° to 10 °, i.e., the bevel edge of grid and the angle of horizontal direction can be arrived at 2 ° Between 10 °.
202nd, in chessboard table images, the coordinate of the pixel at least three bevel edges around the point of precalculated position is obtained.
Wherein, the black box in chessboard table images and white boxes are inclined grid, and bevel edge refers to tilting lattice The bevel edge of son, for example can be the bevel edge of black box or the bevel edge of white boxes.Wherein, precalculated position point can be with It is arranged on according to actual needs in any one grid on chessboard table images, therefore the bevel edge around the point of precalculated position refers to make a reservation for Four bevel edges of the grid where location point namely the bevel edge for surrounding precalculated position point.As shown in Figure 3 and Figure 4, precalculated position point For example, A points, at least three bevel edges around A points for example can be bevel edge a, b and c.Therefore, step 202 can obtain A points The coordinate of pixel at least three bevel edges a, b and c of surrounding.
In the present embodiment, step 202 can specifically include:Obtain the pixel on four bevel edges around the point of precalculated position Point coordinates, that is, the coordinate of the pixel where obtaining A points on four bevel edges a, b, c and d of grid.Wherein it is possible to pass through image The identification at edge or other methods obtain the coordinate of the pixel on four bevel edges.For example, in some embodiments, Ke Yitong Cross the coordinate for the pixel that following steps are obtained on four bevel edges:
(1) target area is determined according to precalculated position point, and obtains the average brightness of target area.
Target area such as can be using border circular areas of the precalculated position point A as the center of circle, radius for r, and radius r can root It is made choice according to actual needs or can also be the rectangular area centered on the point A of precalculated position, this is not limited.Such as Shown in Fig. 4, identified target area is, for example, the region in dotted line frame, i.e. target area EF.It, can be with after determining target area According to the brightness value of each pixel in target area, the average brightness of target area is asked for, such as calculating can be passed through The ratio of the summation of the brightness value of each pixel and pixel total quantity in target area, so as to obtain the brightness of target area Average value.
(2) xy coordinate systems are established using precalculated position point A as dot, then along the positive direction of y-axis since the point of precalculated position Row picture element scan is done in target area with negative direction, until the positive direction and negative direction in x-axis are scanned to satisfaction (P(i,j)-P0) (P(i,j+1)-P0)<Until 0 target pixel points;And since the point of precalculated position along the positive direction and negative direction of x-axis in target Row picture element scan is done in region, until the positive direction and negative direction in y-axis are scanned to satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<0 Until target pixel points.
Wherein, P0Represent the average brightness of target area, P(i,j)Represent the brightness value of target pixel points, P(i,j+1)It represents The brightness value of a pixel adjacent with target pixel points, P(i+1,j)Also illustrate that a pixel adjacent with target pixel points Brightness value, i represents since x-axis that along the positive direction of y-axis or the i-th row of negative direction j is represented since y-axis along the pros of x-axis To or negative direction jth arrange.Such as brightness value P(i,j)What is represented is the brightness value for the pixel that coordinate is (i, j).The application is real It applies in example, the coordinate of pixel is, for example, to be carried out using precalculated position point A by the xy coordinate systems that dot is established as reference frame Value is positive integer in the value of the i of the positive direction of y-axis, is negative integer in the value of the i of the negative direction of y-axis;In x-axis just The value of the j in direction is positive integer, is negative integer in the value of the j of the negative direction of x-axis.
Certainly, in other embodiments or using the coordinate system of chessboard table images or other coordinate systems as ginseng It examines coordinate system and value is carried out to the coordinate of pixel, the value of i, j of all directions can be according to selected reference coordinates at this time System is positive and negative to determine.
By (P(i,j)-P0)(P(i,j+1)-P0)<0 is defined as condition one, by (P(i,j)-P0)(P(i+1,j)-P0)<0 is defined as item Part two.In the present embodiment, the scanning process of pixel is to judge whether the brightness value of the pixel scanned meets above-mentioned item The process of part.For example, in specific scanning process, it, can be first along the positive direction and losing side of y-axis since the point A of precalculated position It is progressively scanned in target area, is then swept by column in target area along the positive direction and negative direction of x-axis again It retouches or row scanning can be carried out at the same time with column scan.For example, since the point A of precalculated position, along the positive direction of y-axis in target Picture element scan line by line is carried out in region.When scanning is to one-row pixels point, each row pixel of positive direction and negative direction along x-axis is judged Whether the brightness value of point meets condition one, and wherein brightness value is P(i,j)Pixel (i, j) for Current Scan pixel namely Target pixel points, brightness value P(i,j+1)Pixel (i, j+1) be in same a line and adjacent next with current pixel Row pixel, wherein, when x-axis positive direction scanning to a pixel (i, j) meet condition for the moment, then stop at x-axis Positive direction scans, and when the negative direction scanning in x-axis meets condition for the moment to a pixel (i, j), then stops at the losing side of x-axis To scanning.When x-axis positive direction and negative direction scan to a pixel (i, j) meet condition for the moment, then stop this The scanning of row pixel, and the scanning of the positive direction continuation next line pixel along y-axis.
It is similar along the mode that the negative direction of y-axis is progressively scanned and the mode that is progressively scanned along the positive direction of y-axis Seemingly, herein without repeating one by one.Wherein it is possible to progressive scan is carried out at the same time along the positive direction and negative direction of y-axis, it can also be first It is progressively scanned along one of direction of y-axis, is progressively scanned again along another direction of y-axis afterwards.
It in addition, will also be into ranks picture element scan.It specifically, can be first along the positive direction of x-axis since the point A of precalculated position Picture element scan by column is carried out in target area.When scanning is to a row pixel, judge each along the positive direction and negative direction of y-axis Whether the brightness value of row pixel meets condition two, and wherein brightness value is P(i,j)Pixel (i, j) be Current Scan pixel Point namely target pixel points, brightness value P(i+1,j)Pixel (i+1, j) be in same row and adjacent with current pixel Next line pixel, wherein, when y-axis positive direction scanning meet condition two to a pixel (i, j) when, then stop at Y-axis positive direction scanning, when y-axis negative direction scanning meet condition two to a pixel (i, j) when, then stop at y-axis Negative direction scanning.When y-axis positive direction and negative direction scan meet condition two to a pixel (i, j) when, then stop The only scanning of this row pixel, and the scanning of the positive direction continuation next column pixel along x-axis.
It is similar along the mode that the negative direction of x-axis is scanned by column and the mode that is scanned by column along the positive direction of x-axis Seemingly, herein without repeating one by one.
(3) according to the target pixel points scanned, determine respectively positioned at the both sides of x-axis and satisfaction (P(i,j)-P0) (P(i+1,j)-P0)<0 two groups of target pixel points and both sides and the satisfaction (P for being located at y-axis respectively(i,j)-P0)(P(i,j+1)-P0) <0 two groups of target pixel points.
(4) according to the coordinate of the four of acquisition groups of target pixel points, and then obtain on four bevel edges around the point of precalculated position Pixel coordinate.
Wherein, positioned at the both sides of x-axis and meet two groups of target pixel points of condition two respectively, be respectively likely located at edge Pixel on bevel edge a, c of horizontal direction;It is located at the both sides of y-axis respectively and meets two groups of target pixel points of condition one, point The pixel that Wei be likely located on bevel edge b, d vertically, it is possible thereby to determine to be likely located at four bevel edges a, b, c and Pixel on d, and then obtain the coordinate of the pixel on every bevel edge.
203rd, fitting a straight line is carried out to the coordinate of the pixel on every bevel edge, it is straight to obtain fitting where corresponding bevel edge Line.
Fitting a straight line is carried out respectively to four groups of acquired target pixel points.For example, using being located on the right side of y-axis, (x-axis is square To one side) and meet one group of target pixel points progress fitting a straight line of condition one, the fitting a straight line where bevel edge d can be obtained, Using above x-axis (positive direction of the y-axis one side) and meet one group of target pixel points progress fitting a straight line of condition two, can obtain Fitting a straight line to where bevel edge a, and so on, the fitting a straight line where bevel edge b and c can be obtained.
Wherein, the brightness value namely grayscale value of pixel, for value range between 0~255, brightness value is more low, shows Image more tends to black, and brightness value is more high, and the image shown more tends to white.In the embodiment of the present application, bevel edge is as black The boundary line of color grid and white boxes, black box due to being shown black, each pixel in black box Brightness value can than relatively low, such as each pixel brightness value may 5~10 scope, and white boxes are white due to being shown Color, therefore the brightness value of the pixel in white boxes can be bigger, for instance it can be possible that 245~250 scope.And target area In both there are black box there is also white boxes, therefore the average brightness of target area is in black box and white boxes picture Between the brightness value of vegetarian refreshments, for example it is 125, i.e., the average brightness of target area is more than the bright of each pixel in black box Angle value, and less than the brightness value of each pixel in white boxes.
Therefore, the brightness value of each pixel in black box and the difference of average brightness are negative, therefore each difference Between product be positive number more than zero.The brightness value of each pixel and the difference of average brightness in white boxes are just Number, therefore the product between each difference is also the positive number more than zero.And when the brightness value and average brightness of pixel When product between difference, with the adjacent brightness value of one other pixel point and the difference of average brightness is less than zero, then illustrate The two pixels are particularly likely that the pixel positioned at black box and white boxes intersection, i.e., one is black box Pixel, another is the pixel in white boxes, therefore bevel edge (namely black and white boundary line) is exactly very likely to be located at On the two pixels, so as to the pixel for being judged as being located on bevel edge by one of pixel in two pixels.Example Such as, with condition one:(P(i,j)-P0)(P(i,j+1)-P0)<0th, exemplified by row pixel rice seedling being done in target area along the positive direction of y-axis, When x-axis positive direction scan to a pixel (4,10), as the brightness value P for judging the pixel (4,10)(4,10)And brightness Average value P0Difference, the brightness value P with the pixel (4,11) of same a line next column(4,11)With average brightness P0Difference it Between product when being less than zero, then by pixel (4,10) as in a target pixel points namely bevel edge d on the right side of y-axis Pixel.
Therefore, through this embodiment, the multiple pixels being likely located on each bevel edge can be relatively accurately found, into And by carrying out fitting a straight line to each group pixel, the fitting a straight line where corresponding bevel edge can be obtained.
Wherein it is possible to choose suitable algorithm according to actual needs carries out fitting a straight line to each group pixel, in a kind of reality It applies in example, fitting a straight line can be carried out to the coordinate of the pixel on every bevel edge using least square method.
204th, the coordinate of the intersection point between at least three fitting a straight lines is obtained, and at least one is obtained according to the coordinate of intersection point The center point coordinate of bevel edge.
Wherein, in four bevel edges a, b, c and d around the point A of precalculated position, a bevel edge in every three bevel edges with it is another Outer two bevel edges intersect, using three bevel edges each where fitting a straight line form equation group, can obtain a bevel edge with it is another Two apex coordinates of the coordinate of the intersection point between outer two bevel edges namely the grid where the point A of precalculated position.Two intersection points Line segment between coordinate is the length of a bevel edge, and the central point that a bevel edge can be acquired by two intersection points is sat Mark.
In the present embodiment, acquisition be a bevel edge nearest with precalculated position point A center point coordinate.Wherein, exist After carrying out fitting a straight line to the coordinate of the pixel on every bevel edge, it can also include:It determines closest with precalculated position point A fitting a straight line, obtain target fitting a straight line.Wherein it is possible to the acquisition of point in mathematical principle to the distance of straight line Mode obtains the distance of precalculated position A to every fitting a straight line of point, so that it is determined that a plan immediate with precalculated position point A Straight line is closed, obtains target fitting a straight line.
Step 204 can specifically include:The intersection point that target fitting a straight line is obtained between the fitting a straight line that intersects with it Coordinate;According to the coordinate of the intersection point between target fitting a straight line and two fitting a straight lines intersected with it, obtain and be fitted in target The center point coordinate of bevel edge on straight line.For example, as shown in figure 4, when a definite fitting immediate with precalculated position point A is straight Line be bevel edge a where fitting a straight line when, obtain between the fitting a straight line where bevel edge a and the fitting a straight line where bevel edge b The coordinate of intersection point and the coordinate for obtaining the intersection point between the fitting a straight line where bevel edge a and the fitting a straight line where bevel edge d, So as to according to the two intersecting point coordinates, the center point coordinate of acquisition bevel edge a.
205th, the center point coordinate based on a bevel edge, obtain spatial frequency response, with according to spatial frequency response to chess The clarity of disk table images is detected.
In the present embodiment, based on the center point coordinate of the bevel edge in target fitting a straight line, spatial frequency response is calculated (SFR, Spatial Frequency Response).For example, the center point coordinate based on the bevel edge in target fitting a straight line, Determine to obtain the zoning of spatial frequency response, for example the region can be with the bevel edge in target fitting a straight line Zoning centered on central point then according to zoning, calculates spatial frequency response, thus, it is possible to by spatial frequency Respond the basis for estimation as image definition.
Certainly, in other embodiments, it can be the central point based on any one bevel edge in four bevel edges, obtains empty Between frequency response, and then the clarity of detection image is not especially limited this.
In the embodiment of the present application, by being obtained in chessboard table images at least three bevel edges around the point of precalculated position Then the coordinate of pixel carries out fitting a straight line to the coordinate of the pixel on every bevel edge, where obtaining corresponding bevel edge Fitting a straight line, and the coordinate of the intersection point between at least three fitting a straight lines is obtained, and obtained at least according to the coordinate of these intersection points The center point coordinate of one bevel edge based on the center point coordinate of a bevel edge, obtains spatial frequency response, with according to spatial frequency Response is detected the clarity of chessboard table images, and bevel edge can be accurately determined from there through the mode of fitting a straight line Center point coordinate, thus when obtaining spatial frequency response based on bevel edge center point coordinate to be detected into line definition, Ke Yiti The accuracy of high distinctness of image detection.
In some embodiments, as shown in figure 3, the precalculated position point in chessboard table images can have multiple, such as Fig. 3 institutes Precalculated position point A, B and C tri- are shown with, therefore, in the present embodiment, the detection method of image definition can be obtained each The coordinate of the pixel at least three bevel edges around the point of precalculated position, then passes through the seat to the pixel on every bevel edge Mark carries out fitting a straight line, and to obtain the fitting a straight line where corresponding bevel edge, it is corresponding at least to obtain each precalculated position point afterwards The coordinate of intersection point between three fitting a straight lines, and according to the center point coordinate of the coordinate of intersection point acquisition bevel edge, so as to based on every The center point coordinate of the corresponding bevel edge of a precalculated position point, obtains the corresponding spatial frequency response of each precalculated position point, So as to be detected according to multiple spatial frequency responses to the clarity of chessboard table images.For example, can be all spaces When frequency response is satisfied by frequency response requirement, judge that the clarity of chessboard table images meets the requirements, i.e., chessboard table images is clear Clear degree is preferable, when one of spatial frequency response is unsatisfactory for frequency response requirement, then judges the clarity of chessboard table images Undesirable, i.e. the clarity of chessboard table images is poor.It goes to judge image by obtaining multiple spatial frequency responses as a result, Clarity can further improve the Stability and veracity of testing result.
Refering to Fig. 5, in image definition detection device provided by the embodiments of the present application, the first acquisition module is specifically included 501st, the second acquisition module 502, fitting a straight line module 503, the 3rd acquisition module 504 and the 4th acquisition module 505.
Wherein, the first acquisition module 501 is used to obtain chessboard table images.Wherein it is possible to using camera to chessboard case marker Will plate is taken pictures, to obtain chessboard table images.Wherein, during taking pictures, gridiron pattern mark plate can be rotated centainly Angle, so that tessellated grid is inclined grid, the angle of rotation can for example be selected in the range of 2 ° to 10 ° It takes, i.e., the bevel edge of grid and the angle of horizontal direction can be between 2 ° to 10 °.
Second acquisition module 502 is used in chessboard table images, is obtained at least three bevel edges around the point of precalculated position Pixel coordinate.
Wherein, the black box in chessboard table images and white boxes are inclined grid, and bevel edge refers to tilting lattice The bevel edge of son.Wherein, precalculated position point can be arranged on according to actual needs in any one grid on chessboard table images, therefore Bevel edge around the point of precalculated position refers to four bevel edges of the grid where the point of precalculated position namely surrounds the oblique of precalculated position point Side.As shown in figure 4, precalculated position point is, for example, A points, at least three bevel edges around A points for example can be bevel edge a, b and c.
Wherein, the pixel that the second acquisition module 502 is specifically used for obtaining on four bevel edges around the point of precalculated position is sat Mark, that is, the coordinate of the pixel where obtaining A points on four bevel edges a, b, c and d of grid.For example, the second acquisition module 502 can For determining target area according to precalculated position point, and the average brightness of target area is obtained, then with precalculated position point A Xy coordinate systems are established for dot, row is then done in target area along the positive direction and negative direction of y-axis since the point of precalculated position Picture element scan, until the positive direction and negative direction in x-axis are scanned to satisfaction (P(i,j)-P0)(P(i,j+1)-P0)<0 target pixel points Until;And row picture element scan is done in target area along the positive direction and negative direction of x-axis since the point of precalculated position, until The positive direction and negative direction of y-axis are scanned to satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<Until 0 target pixel points.
Wherein, P0Represent the average brightness of target area, P(i,j)Represent the brightness value of target pixel points, P(i,j+1)It represents The brightness value of a pixel adjacent with target pixel points, P (i+1, j) represent a pixel adjacent with target pixel points Brightness value, i represents since x-axis that along the positive direction of y-axis or the i-th row of negative direction j is represented since y-axis along the pros of x-axis To or negative direction jth arrange.It should be noted that the positive direction of y-axis i value for positive integer, in the negative direction of y-axis The value of i is negative integer;It is positive integer in the value of the j of the positive direction of x-axis, is negative whole in the value of the j of the negative direction of x-axis Number.
It is scanning to after target pixel points, the second acquisition module 502 is additionally operable to according to the target pixel points scanned, really The fixed both sides for being located at x-axis respectively and satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<0 two groups of target pixel points and respectively be located at y The both sides of axis and satisfaction (P(i,j)-P0)(P(i,j+1)-P0)<0 two groups of target pixel points, afterwards according to the four of acquisition groups of target pictures The coordinate of vegetarian refreshments, and then obtain the coordinate of the pixel on four bevel edges around the point of precalculated position.
Wherein, fitting a straight line module 503 is used to carry out fitting a straight line to the coordinate of the pixel on every bevel edge, to obtain Fitting a straight line where corresponding bevel edge.Fitting a straight line is carried out respectively to four groups of acquired target pixel points.For example, using being located at Y-axis right side (positive direction of the x-axis one side) and the one group of target pixel points progress fitting a straight line for meeting condition one, can obtain bevel edge d The fitting a straight line at place, using above x-axis (positive direction of the y-axis one side) and meet condition two one group of target pixel points carry out Fitting a straight line can obtain the fitting a straight line where bevel edge a, and so on, the fitting a straight line where bevel edge b and c can be obtained.
In some embodiments, straight line plan can be carried out to the coordinate of the pixel on every bevel edge using least square method It closes.
3rd acquisition module 504 is used to obtain the coordinate of the intersection point between at least three articles of fitting a straight lines, and according to intersection point Coordinate obtains the center point coordinate of at least one bevel edge.Wherein, in four bevel edges a, b, c and d around the point A of precalculated position, A bevel edge in every three bevel edges intersects with two other bevel edge, using three bevel edges each where fitting a straight line composition side Journey group can obtain the grid where the coordinate of intersection point namely the precalculated position point A between a bevel edge and two other bevel edge Two apex coordinates.Line segment between the coordinate of two intersection points is the length of a bevel edge, can be obtained by two intersection points Obtain the center point coordinate to a bevel edge.
In the present embodiment, acquisition be a bevel edge nearest with precalculated position point A center point coordinate.Wherein, into One step can also include determining module 506, and the determining module 506 is straight for determining a fitting immediate with precalculated position point Line obtains target fitting a straight line.Wherein it is possible to the point in mathematical principle obtains pre- to the acquisition modes of the distance of straight line Determine the distance of A to every fitting a straight line of location point, so that it is determined that with the immediate fitting a straight line of precalculated position point A, obtain Target fitting a straight line.
Wherein, the 3rd acquisition module 504 specifically can be used for the fitting a straight line for obtaining target fitting a straight line and intersecting with it Between intersection point coordinate;According to the coordinate of the intersection point between target fitting a straight line and two fitting a straight lines intersected with it, obtain Take the center point coordinate of the bevel edge in target fitting a straight line.It is for example, as shown in figure 4, closest with precalculated position point A when determining A fitting a straight line for fitting a straight line where bevel edge a when, obtain the fitting a straight line where bevel edge a and the plan where bevel edge b It closes the coordinate of the intersection point between straight line and obtains between the fitting a straight line where bevel edge a and the fitting a straight line where bevel edge d The coordinate of intersection point, so as to according to the two intersecting point coordinates, the center point coordinate of acquisition bevel edge a.
4th acquisition module 505 is used for the center point coordinate based on one article of bevel edge, spatial frequency response is obtained, with according to sky Between frequency response the clarity of chessboard table images is detected.
In the present embodiment, the 4th acquisition module 505 is used for the center point coordinate based on the bevel edge in target fitting a straight line, Obtain spatial frequency response (SFR, Spatial Frequency Response).For example, based in target fitting a straight line The center point coordinate of bevel edge determines to obtain the acquisition region of spatial frequency response, for example the region is to be fitted in target Acquisition region centered on the central point of bevel edge on straight line then according to region is obtained, obtains spatial frequency response, as a result, It can be using spatial frequency response as the basis for estimation of image definition.
In the embodiment of the present application, by being obtained in chessboard table images at least three bevel edges around the point of precalculated position Then the coordinate of pixel carries out fitting a straight line to the coordinate of the pixel on every bevel edge, where obtaining corresponding bevel edge Fitting a straight line, and the coordinate of the intersection point between at least three fitting a straight lines is obtained, and obtained at least according to the coordinate of these intersection points The center point coordinate of one bevel edge based on the center point coordinate of a bevel edge, obtains spatial frequency response, with according to spatial frequency Response is detected the clarity of chessboard table images, and bevel edge can be accurately determined from there through the mode of fitting a straight line Center point coordinate, thus when obtaining spatial frequency response based on bevel edge center point coordinate to be detected into line definition, Ke Yiti The accuracy of high distinctness of image detection.
In some embodiments, the precalculated position point in chessboard table images can have multiple, therefore, in the present embodiment, Second acquisition module can be the coordinate of the pixel at least three bevel edges obtained around each precalculated position point, Ran Houzhi Line fitting module carries out fitting a straight line by the coordinate to the pixel on every bevel edge, to obtain the fitting where corresponding bevel edge Straight line, afterwards the 3rd acquisition module be used to obtain intersection point between the corresponding at least three articles of fitting a straight lines of each precalculated position point Coordinate, and according to the center point coordinate of the coordinate of intersection point acquisition bevel edge, so as to which the 4th acquisition module is used to be pre-positioned based on each The center point coordinate of an a little corresponding bevel edge is put, obtains the corresponding spatial frequency response of each precalculated position point, with according to more A spatial frequency response is detected the clarity of chessboard table images.For example, can be that all spatial frequency responses are satisfied by During frequency response requirement, judge that the clarity of chessboard table images meets the requirements, i.e. the clarity of chessboard table images is preferable, when wherein When one spatial frequency response is unsatisfactory for frequency response requirement, then judge that the clarity of chessboard table images is undesirable, i.e. chess The clarity of disk table images is poor.Go to judge the clarity of image by obtaining multiple spatial frequency responses as a result, it can be into one Step improves the Stability and veracity of testing result.
The embodiment of the present application provides a kind of storage medium, is stored with a plurality of instruction, which can be carried out by processor Loading, to perform the step in any Approach for detecting image sharpness that the embodiment of the present application provided.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Relevant hardware to be instructed to complete by program, which can be stored in an acquisition machine readable storage medium storing program for executing, storage Medium can include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The embodiment of the present application also provides a kind of electronic equipment, and including memory and processor, which refers to for storing Order and data, the instruction are loaded suitable for processor, to perform any image definition that the embodiment of the present application is provided Step in detection method
For example, above-mentioned electronic equipment can be tablet computer or smart mobile phone etc..It is the application to refer to 6, Fig. 6 One structure diagram of the electronic equipment that embodiment provides.
The electronic equipment 600 can include the portions such as display unit 601, memory 602, processor 603, camera unit 604 Part.It will be understood by those skilled in the art that electronic devices structure shown in Fig. 6 does not form the restriction to electronic equipment, it can To include either combining some components or different components arrangement than illustrating more or fewer components.
Display unit 601 can be used for display image information etc., be, for example, display screen.
Memory 602 can be used for storage application program and data.Include and can hold in the application program that memory 602 stores Line code.Application program can form various functions module.Processor 603 is stored in the application journey of memory 602 by operation Sequence, so as to perform various functions application and data processing.
Processor 603 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection A part is stored in by running or performing the application program being stored in memory 602 and call in memory 602 Data perform the various functions of electronic equipment and processing data, so as to carry out integral monitoring to electronic equipment.
Camera unit 604 can be used for shooting photo, be, for example, camera etc..
In the present embodiment, electronic equipment further includes that there are one either more than one program one of them or one Procedure above is stored in memory 602, and be configured to by one either more than one processor 603 perform one or one A procedure above includes the instruction operated below:
Obtain chessboard table images;In chessboard table images, the picture at least three bevel edges around the point of precalculated position is obtained The coordinate of vegetarian refreshments;Fitting a straight line is carried out to the coordinate of the pixel on every bevel edge, it is straight to obtain fitting where corresponding bevel edge Line;The coordinate of the intersection point between at least three fitting a straight lines is obtained, and is obtained according to the coordinate of intersection point at least one bevel edge Heart point coordinates;Based on the center point coordinate of a bevel edge, obtain spatial frequency response, with according to spatial frequency response to gridiron pattern The clarity of image is detected.
Wherein it is possible to the coordinate of the pixel on four bevel edges around the point of precalculated position is obtained, on to every bevel edge The coordinate of pixel carry out fitting a straight line, after obtaining the fitting a straight line where corresponding bevel edge, determine and precalculated position point An immediate fitting a straight line, obtains target fitting a straight line, from there through two for obtaining target fitting a straight line and intersecting with it The coordinate of intersection point between fitting a straight line, obtains the center point coordinate of the bevel edge in target fitting a straight line, so based on The center point coordinate of bevel edge in target fitting a straight line obtains spatial frequency response.
Wherein it is possible to the coordinate of the pixel on four bevel edges around the point of precalculated position is obtained according in the following manner:Root Target area is determined according to precalculated position point, obtains the average brightness of target area;X y are established using precalculated position point as dot to sit Mark system, row picture element scan is done since the point of precalculated position along the positive direction and negative direction of y-axis in target area, until in x-axis Positive direction and negative direction scanning to meet (P(i,j)-P0)(P(i,j+1)-P0)<Until 0 target pixel points;And from pre-determined bit It puts a beginning and row picture element scan is done in target area along the positive direction and negative direction of x-axis, until in the positive direction and losing side of y-axis It is arrived to scanning and meets (P(i,j)-P0)(P(i+1,j)-P0)<Until 0 target pixel points, wherein, P0Represent that the brightness of target area is put down Average, P(i,j)Represent the brightness value of target pixel points, P(i,j+1)Represent the brightness of a pixel adjacent with target pixel points Value, P (i+1, j) represent the brightness value of a pixel adjacent with target pixel points, and i is represented since x-axis along the pros of y-axis To or negative direction the i-th row, j represent since y-axis along x-axis positive direction or negative direction jth arrange;According to the target scanned Pixel is determined respectively positioned at the both sides of x-axis and satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<0 two groups of target pixel points and Respectively positioned at the both sides of y-axis and satisfaction (P(i,j)-P0)(P(i,j+1)-P0)<0 two groups of target pixel points;Obtain four groups of target pictures The coordinate of vegetarian refreshments, and then obtain the coordinate of the pixel on four bevel edges around the point of precalculated position.
Wherein it is possible to fitting a straight line is carried out to the coordinate of the pixel on every bevel edge using least square method.
Wherein, the precalculated position point in chessboard table images can have multiple, by obtaining around each precalculated position point The coordinate of pixel at least three bevel edges, and then determine that the central point of the corresponding bevel edge of each precalculated position point is sat Mark so as to the center point coordinate based on the corresponding bevel edge of each precalculated position point, is obtained corresponding to each precalculated position point Spatial frequency response, with multiple spatial frequency responses according to acquisition, the clarity of the chessboard table images is detected.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that in the electronic equipment of the embodiment of the present application, by obtaining precalculated position point week in chessboard table images Then the coordinate of the pixel at least three bevel edges enclosed carries out fitting a straight line to the coordinate of the pixel on every bevel edge, To obtain the fitting a straight line where corresponding bevel edge, and the coordinate of the intersection point between at least three fitting a straight lines is obtained, and according to this The coordinate of a little intersection points obtains the center point coordinate of at least one bevel edge, based on the center point coordinate of a bevel edge, obtains space frequency Rate responds, to be detected according to spatial frequency response to the clarity of chessboard table images, from there through the mode of fitting a straight line Can accurately determine the center point coordinate of bevel edge, so as to based on bevel edge center point coordinate obtain spatial frequency response with into When line definition detects, the accuracy of image definition detection can be improved.
Further, as shown in fig. 7, the electronic equipment of the embodiment of the present application can also include input unit 605, output list The components such as member 606, loud speaker 607 and power supply 608.
Input unit 605 can be used for receive input number, character information or user's characteristic information (such as fingerprint) and Generate the keyboard related with user setting and function control, mouse, operation lever, optics or the input of trace ball signal.
Output unit 606 is available for the information and mobile terminal for showing by information input by user or being supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its any combination. Output unit may include display panel.
It should be noted that for the embodiment of the present application described image clarity detection method, ordinary skill Personnel are appreciated that realize all or part of flow of the embodiment of the present application described image clarity detection method, are that can pass through Acquisition machine program controls relevant hardware to complete, and the acquisition machine program can be stored in an acquisition machine read/write memory medium In, such as store in memory, and performed by least one processor, it may include in the process of implementation such as the adjustment picture The flow of the embodiment of method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the described image clarity detection device of the embodiment of the present application, each function module can be integrated in one In processing chip or modules are individually physically present, can also two or more modules be integrated in a mould In block.The form that hardware had both may be employed in above-mentioned integrated module is realized, can also be realized in the form of software function module. If the integrated module is realized in the form of software function module and is independent production marketing or in use, can also It is stored in an acquisition machine read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of Approach for detecting image sharpness, device, storage medium and the electricity provided above the embodiment of the present application Sub- equipment is described in detail, and specific case used herein is set forth the principle of the present invention and embodiment, The explanation of above example is only intended to help to understand method and its core concept of the invention;Meanwhile for the skill of this field Art personnel, thought according to the invention, there will be changes in specific embodiments and applications, in conclusion this Description should not be construed as limiting the invention.

Claims (12)

1. a kind of Approach for detecting image sharpness, which is characterized in that including:
Obtain chessboard table images;
In the chessboard table images, the coordinate of the pixel at least three bevel edges around the point of precalculated position is obtained;
Fitting a straight line is carried out to the coordinate of the pixel on every bevel edge, to obtain the fitting a straight line where corresponding bevel edge;
The coordinate of the intersection point between at least three fitting a straight lines is obtained, and at least one is obtained according to the coordinate of the intersection point The center point coordinate of bevel edge;
Based on the center point coordinate of a bevel edge, obtain spatial frequency response, with according to the spatial frequency response to institute The clarity for stating chessboard table images is detected.
2. according to the method described in claim 1, it is characterized in that, at least three bevel edges obtained around the point of precalculated position On pixel coordinate, including:
Obtain the coordinate of the pixel on four bevel edges around the point of precalculated position;
Fitting a straight line is carried out in the coordinate of the pixel on every bevel edge, to obtain the fitting a straight line where corresponding bevel edge Afterwards, further include:The definite and immediate fitting a straight line of the precalculated position point, obtains target fitting a straight line;
The coordinate for obtaining the intersection point between at least three fitting a straight lines, and obtained at least according to the coordinate of the intersection point The center point coordinate of one bevel edge, including:The target fitting a straight line is obtained between two fitting a straight lines intersecting with it The coordinate of intersection point;According to the coordinate of the intersection point between the target fitting a straight line and two fitting a straight lines intersected with it, obtain The center point coordinate of bevel edge in the target fitting a straight line;
The center point coordinate based on a bevel edge obtains spatial frequency response, including:Based in target fitting The center point coordinate of bevel edge on straight line obtains spatial frequency response.
3. according to the method described in claim 2, it is characterized in that, on four bevel edges obtained around the point of precalculated position The coordinate of pixel, including:
Target area is determined according to the precalculated position point, obtains the average brightness of the target area;
X y coordinate systems are established as dot using the precalculated position point, along the positive direction of y-axis and negative since the precalculated position point Row picture element scan is done in direction in the target area, until the positive direction and negative direction in x-axis are scanned to satisfaction (P(i,j)-P0) (P(i,j+1)-P0)<Until 0 target pixel points;And
Row picture element scan is done in the target area along the positive direction and negative direction of x-axis since the precalculated position point, directly It is scanned to the positive direction and negative direction in y-axis to satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<Until 0 target pixel points, wherein, P0Represent the average brightness of target area, P(i,j)Represent the brightness value of target pixel points, P(i,j+1)Expression and target pixel points The brightness value of an adjacent pixel, P(i+1,j)Represent the brightness value of a pixel adjacent with target pixel points, i is represented Along the positive direction of y-axis or the i-th row of negative direction since x-axis, j represent since y-axis along x-axis positive direction or negative direction the J is arranged;
According to the target pixel points scanned, determine respectively positioned at the both sides of x-axis and satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<0 Two groups of target pixel points and respectively positioned at y-axis both sides and meet (P(i,j)-P0)(P(i,j+1)-P0)<0 two groups of targets Pixel;
The coordinate of target pixel points described in four groups is obtained, and then obtains the pixel on four bevel edges around the point of precalculated position Coordinate.
4. according to claim 1-3 any one of them methods, which is characterized in that the seat of the pixel on every bevel edge Mark carries out fitting a straight line, including:
Fitting a straight line is carried out to the coordinate of the pixel on every bevel edge using least square method.
5. according to the method described in claim 1, it is characterized in that, the precalculated position point in the chessboard table images have it is multiple, The coordinate of pixel at least three bevel edges obtained around the point of precalculated position includes:
Obtain the coordinate of the pixel at least three bevel edges around each precalculated position point;
The center point coordinate based on a bevel edge obtains spatial frequency response, with according to the spatial frequency response The clarity of the chessboard table images is detected, including:Center based on the corresponding bevel edge of each precalculated position point Point coordinates obtains the spatial frequency response corresponding to each precalculated position point, right with multiple spatial frequency responses according to acquisition The clarity of the chessboard table images is detected.
6. a kind of image definition detection device, which is characterized in that including:
First acquisition module, for obtaining chessboard table images;
Second acquisition module, in the chessboard table images, obtaining at least three bevel edges around the point of precalculated position The coordinate of pixel;
Fitting a straight line module, for carrying out fitting a straight line to the coordinate of the pixel on every bevel edge, to obtain corresponding bevel edge institute Fitting a straight line;
3rd acquisition module, for obtaining the coordinate of the intersection point between at least three fitting a straight lines, and according to the intersection point Coordinate obtain at least one bevel edge center point coordinate;
4th acquisition module for the center point coordinate based on a bevel edge, obtains spatial frequency response, with according to Spatial frequency response is detected the clarity of the chessboard table images.
7. device according to claim 6, which is characterized in that further include determining module;
First acquisition module is specifically used for the coordinate for obtaining the pixel on four bevel edges around the point of precalculated position;
It is straight to obtain target fitting for the definite and immediate fitting a straight line of the precalculated position point for the determining module Line;
3rd acquisition module is specifically used for obtaining the target fitting a straight line between two articles of fitting a straight lines intersecting with it Intersection point coordinate;And according to the coordinate of the intersection point between the target fitting a straight line and two fitting a straight lines intersected with it, Obtain the center point coordinate of the bevel edge in the target fitting a straight line;
4th acquisition module is specifically used for the center point coordinate based on the bevel edge in the target fitting a straight line, obtains empty Between frequency response.
8. device according to claim 7, which is characterized in that first acquisition module is specifically used for:
Target area is determined according to the precalculated position point, obtains the average brightness of the target area;
X y coordinate systems are established as dot using the precalculated position point, along the positive direction of y-axis and negative since the precalculated position point Row picture element scan is done in direction in the target area, until the positive direction and negative direction in x-axis are scanned to satisfaction (P(i,j)-P0) (P(i,j+1)-P0)<Until 0 target pixel points;And
Row picture element scan is done in the target area along the positive direction and negative direction of x-axis since the precalculated position point, directly It is scanned to the positive direction and negative direction in y-axis to satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<Until 0 target pixel points, wherein, P0Represent the average brightness of target area, P(i,j)Represent the brightness value of target pixel points, P(i,j+1)Expression and target pixel points The brightness value of an adjacent pixel, P(i+1,j)Represent the brightness value of a pixel adjacent with target pixel points, i is represented Along the positive direction of y-axis or the i-th row of negative direction since x-axis, j represent since y-axis along x-axis positive direction or negative direction the J is arranged;
According to the target pixel points scanned, determine respectively positioned at the both sides of x-axis and satisfaction (P(i,j)-P0)(P(i+1,j)-P0)<0 Two groups of target pixel points and respectively positioned at y-axis both sides and meet (P(i,j)-P0)(P(i,j+1)-P0)<0 two groups of targets Pixel;
The coordinate of target pixel points described in four groups is obtained, and then obtains the pixel on four bevel edges around the point of precalculated position Coordinate.
9. according to claim 6-8 any one of them devices, which is characterized in that the fitting a straight line module is used for using minimum Square law carries out fitting a straight line to the coordinate of the pixel on every bevel edge.
10. device according to claim 6, which is characterized in that the precalculated position point in the chessboard table images has multiple;
Second acquisition module is used to obtain the coordinate of the pixel at least three bevel edges around each precalculated position point;
4th acquisition module is used for the center point coordinate based on the corresponding one article of bevel edge of each precalculated position point, obtains each Spatial frequency response corresponding to the point of precalculated position, with multiple spatial frequency responses according to acquisition, to the chessboard table images Clarity be detected.
11. a kind of storage medium, the storage medium is stored with a plurality of instruction, and described instruction is loaded suitable for processor, with It performs such as the step in Approach for detecting image sharpness described in any one of claim 1 to 5.
12. a kind of electronic equipment, including memory and processor, which is characterized in that memory sum number for storing instruction According to described instruction is loaded suitable for processor, is detected with performing image definition described in any one of claim 1 to 5 such as Step in method.
CN201711466320.6A 2017-12-28 2017-12-28 Image definition detection method and device, storage medium and electronic equipment Expired - Fee Related CN108074237B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711466320.6A CN108074237B (en) 2017-12-28 2017-12-28 Image definition detection method and device, storage medium and electronic equipment
PCT/CN2018/114974 WO2019128495A1 (en) 2017-12-28 2018-11-12 Method and apparatus for detecting image resolution, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711466320.6A CN108074237B (en) 2017-12-28 2017-12-28 Image definition detection method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108074237A true CN108074237A (en) 2018-05-25
CN108074237B CN108074237B (en) 2020-08-14

Family

ID=62156017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711466320.6A Expired - Fee Related CN108074237B (en) 2017-12-28 2017-12-28 Image definition detection method and device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN108074237B (en)
WO (1) WO2019128495A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128495A1 (en) * 2017-12-28 2019-07-04 Oppo广东移动通信有限公司 Method and apparatus for detecting image resolution, storage medium, and electronic device
CN110035279A (en) * 2019-04-08 2019-07-19 信利光电股份有限公司 The method and device of SFR test zone is found in gridiron pattern test chart
CN110276744A (en) * 2019-05-15 2019-09-24 北京航空航天大学 The assessment method and device of image mosaic quality
CN110827289A (en) * 2019-10-08 2020-02-21 歌尔股份有限公司 Method and device for extracting target image in projector definition test
CN110827288A (en) * 2019-10-08 2020-02-21 歌尔股份有限公司 Method and device for extracting target image in projector definition test
CN113873223A (en) * 2021-09-03 2021-12-31 大连中科创达软件有限公司 Camera definition determining method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240227A (en) * 2013-06-24 2014-12-24 富泰华工业(深圳)有限公司 Image analysis system and method
CN106127775A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Measurement for Digital Image Definition and device
CN106600653A (en) * 2016-12-30 2017-04-26 亿嘉和科技股份有限公司 Calibration method for optical center of zooming camera
CN107493469A (en) * 2017-08-10 2017-12-19 歌尔科技有限公司 A kind of method and device of the area-of-interest of determination SFR test cards

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809686B (en) * 2016-03-08 2019-02-19 上海敏达网络科技有限公司 The method of image definition detection is realized in computer system
CN108074237B (en) * 2017-12-28 2020-08-14 Oppo广东移动通信有限公司 Image definition detection method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240227A (en) * 2013-06-24 2014-12-24 富泰华工业(深圳)有限公司 Image analysis system and method
CN106127775A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Measurement for Digital Image Definition and device
CN106600653A (en) * 2016-12-30 2017-04-26 亿嘉和科技股份有限公司 Calibration method for optical center of zooming camera
CN107493469A (en) * 2017-08-10 2017-12-19 歌尔科技有限公司 A kind of method and device of the area-of-interest of determination SFR test cards

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J.FASOLA 等: "Real-time object detection using segmented and grayscale images", 《PROCEEDINGS 2006 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, 2006. ICRA 2006.》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019128495A1 (en) * 2017-12-28 2019-07-04 Oppo广东移动通信有限公司 Method and apparatus for detecting image resolution, storage medium, and electronic device
CN110035279A (en) * 2019-04-08 2019-07-19 信利光电股份有限公司 The method and device of SFR test zone is found in gridiron pattern test chart
CN110276744A (en) * 2019-05-15 2019-09-24 北京航空航天大学 The assessment method and device of image mosaic quality
CN110276744B (en) * 2019-05-15 2021-10-26 北京航空航天大学 Image splicing quality evaluation method and device
CN110827289A (en) * 2019-10-08 2020-02-21 歌尔股份有限公司 Method and device for extracting target image in projector definition test
CN110827288A (en) * 2019-10-08 2020-02-21 歌尔股份有限公司 Method and device for extracting target image in projector definition test
CN110827289B (en) * 2019-10-08 2022-06-14 歌尔光学科技有限公司 Method and device for extracting target image in projector definition test
CN110827288B (en) * 2019-10-08 2022-08-12 歌尔光学科技有限公司 Method and device for extracting target image in projector definition test
CN113873223A (en) * 2021-09-03 2021-12-31 大连中科创达软件有限公司 Camera definition determining method, device, equipment and storage medium
CN113873223B (en) * 2021-09-03 2023-07-21 大连中科创达软件有限公司 Method, device, equipment and storage medium for determining definition of camera

Also Published As

Publication number Publication date
CN108074237B (en) 2020-08-14
WO2019128495A1 (en) 2019-07-04

Similar Documents

Publication Publication Date Title
CN108074237A (en) Approach for detecting image sharpness, device, storage medium and electronic equipment
US10395389B2 (en) Calibration based on intrinsic parameter selection and a projected calibration target
US6363169B1 (en) Apparatus and method of three-dimensional modeling
US6580424B1 (en) System and method for interactive room modeling from camera images
JP3885458B2 (en) Projected image calibration method and apparatus, and machine-readable medium
US7751627B2 (en) Image dominant line determination and use
US5747822A (en) Method and apparatus for optically digitizing a three-dimensional object
US20040037459A1 (en) Image processing apparatus
US20090079728A1 (en) Apparatus, method, and computer program product for generating multiview data
EP3079122B1 (en) Shading cg representations of materials
CN109685199A (en) The method and apparatus of table of the creation comprising the information about pond type and the test method and test device for using it
CN109919919A (en) Pcb board detection method, device and computer readable storage medium
CN110300292A (en) Projection distortion bearing calibration, device, system and storage medium
CN107680125A (en) The system and method that three-dimensional alignment algorithm is automatically selected in vision system
CN105973140A (en) Method of measuring object spatial parameters and mobile terminal
CN107346041A (en) The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment
CN108344401A (en) Localization method, device and computer readable storage medium
CN110398215A (en) Image processing apparatus and method, system, article manufacturing method, storage medium
JP2015088819A (en) Imaging simulation device
CN108596908A (en) LED display detection method, device and terminal
CN101897196A (en) Determine the position of the space diffuser of multicompartment display
CN110225335A (en) Camera stability assessment method and device
CN112308933B (en) Method and device for calibrating camera internal reference and computer storage medium
CN104063191B (en) The method and electronic equipment of a kind of information processing
US11625890B2 (en) Geometry buffer slice tool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200814

CF01 Termination of patent right due to non-payment of annual fee