CN110533686A - Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system - Google Patents

Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system Download PDF

Info

Publication number
CN110533686A
CN110533686A CN201910951129.3A CN201910951129A CN110533686A CN 110533686 A CN110533686 A CN 110533686A CN 201910951129 A CN201910951129 A CN 201910951129A CN 110533686 A CN110533686 A CN 110533686A
Authority
CN
China
Prior art keywords
line
flag bit
digital camera
scan digital
gray level
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
CN201910951129.3A
Other languages
Chinese (zh)
Other versions
CN110533686B (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.)
Luster LightTech Co Ltd
Original Assignee
Luster LightTech 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 Luster LightTech Co Ltd filed Critical Luster LightTech Co Ltd
Priority to CN201910951129.3A priority Critical patent/CN110533686B/en
Publication of CN110533686A publication Critical patent/CN110533686A/en
Application granted granted Critical
Publication of CN110533686B publication Critical patent/CN110533686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06T5/80
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • 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

Abstract

This application discloses a kind of line-scan digital camera line frequencies and the whether matched judgment method of speed of moving body and system, which comprises ajusts gridiron pattern target figure and is fixed on testee, the line frequency of line-scan digital camera and the movement velocity of object is arranged;Acquire the chessboard table images of line-scan digital camera shooting;Slant correction is carried out to chessboard table images;Detection obtains the Gray Level Jump area in chessboard table images, records the flag bit in Gray Level Jump area;The index value of all Gray Level Jumps is recorded according to the flag bit in Gray Level Jump area;The lateral side length and vertical edge length of chessboard table images are calculated according to index value;According to the matching degree of tessellated lateral side length and vertical edge length computation line-scan digital camera line frequency and speed of moving body.Judgment method provided by the present application carries out adopting figure as target using gridiron pattern, judges whether the line frequency of line-scan digital camera matches with the movement velocity of object by calculating the side length of target in shooting image, not only easy to operate, but also can obtain objective and accurate judgement.

Description

Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system
Technical field
This application involves line-scan digital camera technical field more particularly to a kind of line-scan digital camera line frequency and speed of moving body whether Matched judgment method and system.
Background technique
Line-scan digital camera is the camera using line array sensor, acquires a line image every time, and the image of shooting is in " line " shape, Several rows are spliced into piece image by the length with several k, must be requested that subject (or line-scan digital camera) is along picture altitude Direction movement, has very high resolution ratio, is usually used in the detection neck of the elongated tested visual field, the very big visual field of needs or very high degree of precision Domain.
Line-scan digital camera just necessarily requires to have between line-scan digital camera and object due to its characteristic, to continuously shot images opposite Movement, usually line-scan digital camera is fixed, object of which movement, if the line frequency of the movement velocity of object and line-scan digital camera mismatches, is clapped Object can deform in the image taken the photograph.Speed of moving body is if more than the line frequency of line-scan digital camera, then object is compressed, instead It, if the movement velocity of object is less than the line frequency of line-scan digital camera, object is stretched.Only speed of moving body and linear array phase The line frequency of machine matches, and just can guarantee that the object shot and does not have deformation.
But current one side major applications require not the matching of the line frequency of line-scan digital camera and the movement velocity of object It is too stringent, even if on the other hand requiring the two matching, and by human eye subjective judgement, conclusion is not objective, is unable to judge accurately Whether the line frequency of line-scan digital camera matches with the movement velocity of object.
Summary of the invention
This application provides a kind of line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system, with Whether the line frequency of accurate judgement line-scan digital camera matches with the movement velocity of object.
In order to solve the above-mentioned technical problem, the embodiment of the present application discloses following technical solution:
In a first aspect, the embodiment of the present application discloses a kind of line-scan digital camera line frequency and whether speed of moving body is matched sentences Disconnected method and system, which comprises
Gridiron pattern target figure is ajusted and is fixed on testee, the line frequency of line-scan digital camera and the movement speed of object are set Degree;
Acquire the chessboard table images of the line-scan digital camera shooting;
Slant correction is carried out to the chessboard table images;
Detection obtains the Gray Level Jump area in the chessboard table images, records the flag bit in the Gray Level Jump area;
The index value of all Gray Level Jumps is recorded according to the flag bit in the Gray Level Jump area;
The lateral side length and vertical edge length of the chessboard table images are calculated according to the index value;
According to line-scan digital camera line frequency and speed of moving body described in the tessellated lateral side length and vertical edge length computation Matching degree.
Optionally, the chessboard table images of the line-scan digital camera shooting, including one width gridiron pattern of acquisition are acquired in line-scan digital camera The image in visual field center, or one width gridiron pattern of acquisition are full of the image of line-scan digital camera visual field.
Optionally, slant correction is carried out to the chessboard table images, comprising:
Detection obtains the tilt angle theta of the chessboard table images;
Obtain the coordinate (x of target point in the chessboard table images0,y0), x0And y0The target point is respectively indicated described Line index and column index in chessboard table images;
The coordinate of ground point (x, y) after correction is calculated according to formula (1);
Wherein, x and y respectively indicates the line index of target point and column index after slant correction.
Optionally, detection obtains the Gray Level Jump area in the chessboard table images, records the mark in the Gray Level Jump area Position, comprising:
Obtain the gray value of current pixel location point;
Calculate the absolute value of the difference of the gray value of the current pixel location point and the gray value of adjacent position pixel;
Judge whether the absolute value is greater than the threshold value of setting;
If the absolute value is greater than the threshold value of the setting, then it is assumed that current location is Gray Level Jump area;
According to the size of the gray value of the current pixel location point and the gray value of adjacent position pixel, described in record The flag bit in Gray Level Jump area.
Optionally, according to the size of the gray value of the current pixel location point and the gray value of adjacent position pixel, Record the flag bit in the Gray Level Jump area, comprising:
Judge whether the gray value of the current pixel location point is greater than the gray value of adjacent position pixel;
If the gray value of the current pixel location point is greater than the gray value of adjacent position pixel, the gray scale is recorded The flag bit for jumping area is the first flag bit;
If the gray value of the current pixel location point is less than the gray value of adjacent position pixel, the gray scale is recorded The flag bit for jumping area is the second flag bit.
Optionally, the index value of all Gray Level Jumps is recorded according to the flag bit in the Gray Level Jump area, comprising:
Whether the flag bit of the flag bit and lastrow that judge target line is consistent;
If the flag bit of the target line and the flag bit of lastrow are inconsistent, the line index of the target line is recorded, And it is successively stored in line index matrix;
If the flag bit of the target line is consistent with the flag bit of lastrow, leaps to next line and continue to sentence It is disconnected.
Optionally, the index value of all Gray Level Jumps is recorded according to the flag bit in the Gray Level Jump area, comprising:
Whether the flag bit of the flag bit and previous column that judge target column is consistent;
If the flag bit of the target column and the flag bit of previous column are inconsistent, the column index of the target column is recorded, And it is stored in column index matrix with this;
If the flag bit of the target column is consistent with the flag bit of previous column, leaps to next column and continue to sentence It is disconnected.
Optionally, the lateral side length and vertical edge length of the chessboard table images are calculated according to the index value, comprising:
The difference for calculating adjacent row index values in the line index matrix line by line obtains tessellated lateral side length matrix;
The difference for calculating adjacent column index value in the column index matrix by column obtains tessellated vertical edge length matrix.
Optionally, line-scan digital camera line frequency is obtained according to the tessellated lateral side length and vertical edge length computation and object is transported The matching degree of dynamic speed, comprising:
The tessellated lateral side length matrix and the data in the tessellated vertical edge length matrix are successively substituted into In formula (2), each tessellated matching error is calculated;
Wherein, length_h indicates that gridiron pattern lateral side length, length_v indicate gridiron pattern vertical edge length;
Using the mean value of all matching errors as the matching error of the line-scan digital camera line frequency and speed of moving body;
The matching degree of the line-scan digital camera line frequency and speed of moving body is judged according to the matching error.
Second aspect, the embodiment of the present application also provides whether a kind of line-scan digital camera line frequency and speed of moving body are matched Simply judge system, comprising:
Setup module is fixed on testee for ajusting gridiron pattern target figure, be arranged the line frequency of line-scan digital camera with The movement velocity of object;
Acquisition module, for acquiring the chessboard table images of the line-scan digital camera shooting;
Correction module, for carrying out slant correction to the chessboard table images;
Detection module records the Gray Level Jump area for detecting the Gray Level Jump area obtained in the chessboard table images Flag bit;
Logging modle, for recording the index value of the Gray Level Jump according to the flag bit in the Gray Level Jump area;
First computing module, for the lateral side length and vertical edge of the chessboard table images to be calculated according to the index value Length;
Second computing module, for the line-scan digital camera row according to the tessellated lateral side length and vertical edge length computation The matching degree of frequency and speed of moving body.
Compared with prior art, the application has the beneficial effect that
Line-scan digital camera line frequency provided by the embodiments of the present application and the whether matched judgment method of speed of moving body include: by Gridiron pattern target figure, which is ajusted, to be fixed on testee, and the line frequency of line-scan digital camera and the movement velocity of object is arranged, and acquires linear array The chessboard table images of camera shooting carry out slant correction to chessboard table images, and detection obtains the Gray Level Jump in chessboard table images Area records the flag bit in Gray Level Jump area, the index value of all Gray Level Jumps is recorded according to the flag bit in Gray Level Jump area, according to The lateral side length and vertical edge length of chessboard table images is calculated in index value, according to tessellated lateral side length and vertical edge length gauge Calculate the matching degree of line-scan digital camera line frequency and speed of moving body.The present invention is using shooting gridiron pattern target figure and to acquisition image The method analyzed carrys out the matching degree of quantitative description line-scan digital camera line frequency and speed of moving body, because gridiron pattern is just Rectangular, convenient for judging whether image deforms, in addition, gridiron pattern only has black-and-white two color, image contrast is very big, convenient for positioning The length of tessellated horizontal edge and vertical edge is detected respectively, passes through the two by acquiring chessboard table images in tessellated line of demarcation Length judges whether line-scan digital camera line frequency and speed of moving body match, not only easy to operate, but also can obtain objective and accurate sentencing It is disconnected.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is a kind of line-scan digital camera line frequency provided by the embodiments of the present application and the whether matched judgement side of speed of moving body The flow chart of method;
The schematic diagram of gridiron pattern target figure is illustrated in Fig. 2;
The schematic diagram of gridiron pattern horizontal edge and vertical edge is illustrated in Fig. 3;
Fig. 4 is that a kind of whether matched judgement of line-scan digital camera line frequency and speed of moving body provided by the embodiments of the present application is The schematic diagram of system.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the common skill in this field The application protection all should belong in art personnel every other embodiment obtained without making creative work Range.
It is whether a kind of line-scan digital camera line frequency and speed of moving body provided by the embodiments of the present application are matched referring to Fig. 1 The flow chart of judgment method.
As shown in Figure 1, line-scan digital camera line frequency provided by the embodiments of the present application and the whether matched judgement of speed of moving body Method includes:
S100: gridiron pattern target figure is ajusted and is fixed on testee, the line frequency of line-scan digital camera and the fortune of object are set Dynamic speed.
Target uses chessboard trrellis diagram, gridiron pattern as shown in Fig. 2, because gridiron pattern be it is square, convenient for judging that image is No to deform, in addition, gridiron pattern only has black-and-white two color, image contrast is very big, convenient for positioning tessellated line of demarcation.First will The line frequency of line-scan digital camera and the movement velocity of object are set, then by gridiron pattern target figure ajust it is fixed on a moving belt or On testee, line-scan digital camera is enabled to take the chessboard table images moved with testee.
S200: the chessboard table images of acquisition line-scan digital camera shooting.
After line-scan digital camera takes chessboard table images, a width gridiron pattern is acquired in the image in line-scan digital camera visual field center, or Person's gridiron pattern is full of the image of line-scan digital camera visual field.
S300: slant correction is carried out to chessboard table images.
If shooting chessboard table images be it is inclined, for the ease of subsequent analysis, need to carry out slant correction to it.Inclination There are many method of correction, and herein with no restrictions, this example is illustrated by taking Hough transform+projection correction method as an example. Hough transform can detecte out the tilt angle of straight line in image, and the tilt angle of chessboard table images can be obtained.Assuming that chessboard The tilt angle of table images is θ, and the coordinate of target point is (x in original image0,y0), x0And y0The target point is respectively indicated in institute The line index in chessboard table images and column index are stated, after correction can be calculated by formula (1) according to projection correction's method Coordinate of ground point (x, y), x and y respectively indicate the line index of target point and column index after slant correction.
S400: detection obtains the Gray Level Jump area in chessboard table images, records the flag bit in Gray Level Jump area.
Tessellated horizontal edge and vertical edge are available every respectively as shown in figure 3, the gridiron pattern full figure to acquisition detects The lateral side length and vertical edge length of a grid.Specifically, when detecting lateral side length, the ash of the first row current pixel location point is obtained Angle value calculates the absolute value of the difference of the gray value of the first row current pixel location point and the gray value of adjacent position pixel, sentences Whether disconnected absolute value is greater than the threshold value (preferred given threshold as 50) set, if absolute value is greater than the threshold value of setting, then it is assumed that The position is Gray Level Jump area, i.e., the line index of the position is recorded and stored, is stored in line index matrix by tessellated boundary The first row.
Meet the position of condition for first, also needs the gray value for judging current pixel location point and adjacent position pixel The size of the gray value of point is at this if the gray value of current pixel location point is greater than the gray value of adjacent position pixel White arrives the boundary of black, and the flag bit of the row is recorded as the first flag bit (preferably the first flag bit is 1);If current location The gray value of pixel is less than the gray value of adjacent position pixel, then is black at this to the boundary of white, by the mark of the row Will position is recorded as the second flag bit (preferably the second flag bit is 0).Above-mentioned processing, all gray scales of recording full are successively carried out line by line Jump the flag bit in area.
S500: the index value of all Gray Level Jumps is recorded according to the flag bit in Gray Level Jump area.
After record obtains the flag bit in all Gray Level Jump areas of full figure, the flag bit of target line and the mark of lastrow are judged Whether position is consistent, if the flag bit of target line and the flag bit of lastrow are inconsistent, records the line index of target line, and successively It is stored in line index matrix;If the flag bit of target line is consistent with the flag bit of lastrow, next line continuation is leapt to Judged.Each tessellated grid can account for the multiple lines and multiple rows of image, it is assumed that the 1st row of image to the 10th row belongs to One white grid only enters next black lattice, flag bit just meeting then the flag bit of this 10 row is the same It changes.That is, flag bit be used for distinguish grid intersection where.
S600: the lateral side length and vertical edge length of chessboard table images are calculated according to index value.
After having traversed all row data, complete line index matrix is obtained, has recorded all Gray Level Jumps in the matrix Index value, to obtain the length of horizontal edge, it is also necessary to line by line calculate adjacent data difference, i.e., subtract same a line with current line index Previous line index, finally obtain a whole completely tessellated lateral side length matrix.Assuming that complete gridiron pattern in figure There are M row N column, then the size of lateral side length matrix is M × N.
When detecting vertical edge length, it is current to obtain first row as horizontal edge for the detection of gridiron pattern vertical edge and the method calculated The gray value of position pixel, the gray value of the gray value and adjacent position pixel of calculating first row current pixel location point Absolute value of the difference, judges whether absolute value is greater than the threshold value (preferred given threshold as 50) set, if absolute value is greater than setting Threshold value, then it is assumed that the position be Gray Level Jump area, i.e., the column index of the position is recorded and stored, is deposited by tessellated boundary Store up the first row in column index matrix.
Meet the position of condition for first, also needs the gray value for judging current pixel location point and adjacent position pixel The size of the gray value of point is at this if the gray value of current pixel location point is greater than the gray value of adjacent position pixel White arrives the boundary of black, and the flag bit of the column is recorded as the first flag bit (preferably the first flag bit is 1);If current location The gray value of pixel is less than the gray value of adjacent position pixel, then is black at this to the boundary of white, by the mark of the column Will position is recorded as the second flag bit (preferably the second flag bit is 0).Above-mentioned processing, all gray scales of recording full are successively carried out by column Jump the flag bit in area.
After record obtains the flag bit in all Gray Level Jump areas of full figure, the flag bit of target column and the mark of previous column are judged Whether position is consistent, if the flag bit of target column and the flag bit of previous column are inconsistent, records the column index of target column, and successively It is stored in column index matrix;If the flag bit of target column is consistent with the flag bit of previous column, next column continuation is leapt to Judged.
After having traversed all column datas, complete column index matrix is obtained, has recorded all Gray Level Jumps in the matrix Index value, to obtain the length of vertical edge, it is also necessary to by column calculate adjacent data difference, i.e., subtract same row with current column index Previous column index, finally obtain a whole completely tessellated vertical edge length matrix, the size of vertical edge length matrix with The size of lateral side length matrix is the same, is also M × N, and in two length matrixes same position data indicate be same Tessellated lateral side length and vertical edge length.
S700: according to of tessellated lateral side length and vertical edge length computation line-scan digital camera line frequency and speed of moving body With degree.
It is the build-in attribute of camera in view of the horizontal resolution of image is the resolution ratio of line-scan digital camera, and image Vertical resolution is then related with the matching degree of line-scan digital camera line frequency and speed of moving body, is variable, therefore can pass through The variation of gridiron pattern vertical edge opposed lateral edges is calculated to judge the matching degree of line-scan digital camera and speed of moving body.Definition matching misses Poor α, calculation formula are shown in formula (2):
Wherein, length_h indicates that gridiron pattern lateral side length, length_v indicate gridiron pattern vertical edge length.If line-scan digital camera Line frequency and the movement velocity of object strictly match, then matching error α is 0;If the line frequency of line-scan digital camera is higher than the movement of object Speed, then matching error is negative, and numerical value is bigger, and image is stretched more serious;If the line frequency of line-scan digital camera is lower than object Movement velocity, then matching error is integer, and numerical value is bigger, and image is compressed more serious.
The gridiron pattern lateral side length matrix that step S600 is calculated is with the data in vertical edge length matrix according to corresponding Position successively substitutes into formula (2), and each tessellated matching error can be obtained, retouched with the mean value of all matching errors The line frequency of current line-scan digital camera and the matching error of speed of moving body are stated, to judge the matching degree of the two.
Line-scan digital camera line frequency provided by the embodiments of the present application and the whether matched judgment method of speed of moving body are using bat It takes the photograph target figure and the method analyzed acquisition image carrys out quantitative for describing line-scan digital camera line frequency and speed of moving body With degree, target uses chessboard trrellis diagram, by acquiring chessboard table images, detects the length of tessellated lateral side length and vertical edge respectively Degree judges whether the line frequency of line-scan digital camera matches with the movement velocity of object by calculating the side length of target in shooting image, Not only easy to operate in this way, but also objective and accurate judgement can be obtained.
The line-scan digital camera line frequency and the whether matched judgment method of speed of moving body based on the above embodiment, this Shen Please embodiment additionally provide a kind of line-scan digital camera line frequency and the whether matched judgement system of speed of moving body, as shown in figure 4, this Application embodiment provide line-scan digital camera line frequency include: with the whether matched judgement system of speed of moving body
Setup module 100 is fixed on testee for ajusting gridiron pattern target figure, the line frequency of line-scan digital camera is arranged With the movement velocity of object.
Acquisition module 200, for acquiring the chessboard table images of the line-scan digital camera shooting.
Correction module 300, for carrying out slant correction to the chessboard table images.
Detection module 400 records the Gray Level Jump for detecting the Gray Level Jump area obtained in the chessboard table images The flag bit in area.
Logging modle 500, for recording the index value of the Gray Level Jump according to the flag bit in the Gray Level Jump area.
First computing module 600, for be calculated according to the index value lateral side lengths of the chessboard table images with Vertical edge length.
Second computing module 700, for according to the tessellated lateral side length and linear array phase described in vertical edge length computation The matching degree of machine line frequency and speed of moving body.
It should be noted that in the present specification, the relational terms of such as " first " and " second " or the like are used merely to It distinguishes one entity or operation from another entity or operation, and not necessarily requires or imply these entities or operation Between there are any this actual relationship or sequences.
Those skilled in the art will readily occur to its of the application after considering specification and practicing the disclosure invented here His embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are wanted by right The content asked is pointed out.
Above-described the application embodiment does not constitute the restriction to the application protection scope.

Claims (10)

1. a kind of line-scan digital camera line frequency and the whether matched judgment method of speed of moving body, which is characterized in that the method packet It includes:
Gridiron pattern target figure is ajusted and is fixed on testee, the line frequency of line-scan digital camera and the movement velocity of object are set;
Acquire the chessboard table images of the line-scan digital camera shooting;
Slant correction is carried out to the chessboard table images;
Detection obtains the Gray Level Jump area in the chessboard table images, records the flag bit in the Gray Level Jump area;
The index value of all Gray Level Jumps is recorded according to the flag bit in the Gray Level Jump area;
The lateral side length and vertical edge length of the chessboard table images are calculated according to the index value;
According to of line-scan digital camera line frequency and speed of moving body described in the tessellated lateral side length and vertical edge length computation With degree.
2. the method according to claim 1, wherein acquiring the chessboard table images of the line-scan digital camera shooting, packet One width gridiron pattern of acquisition is included in the image in line-scan digital camera visual field center, or one width gridiron pattern of acquisition is full of line-scan digital camera visual field Image.
3. the method according to claim 1, wherein carrying out slant correction to the chessboard table images, comprising:
Detection obtains the tilt angle theta of the chessboard table images;
Obtain the coordinate (x of target point in the chessboard table images0,y0), x0And y0The target point is respectively indicated in the chessboard Line index and column index in table images;
The coordinate of ground point (x, y) after correction is calculated according to formula (1);
Wherein, x and y respectively indicates the line index of target point and column index after slant correction.
4. the method according to claim 1, wherein detection obtains the Gray Level Jump in the chessboard table images Area records the flag bit in the Gray Level Jump area, comprising:
Obtain the gray value of current pixel location point;
Calculate the absolute value of the difference of the gray value of the current pixel location point and the gray value of adjacent position pixel;
Judge whether the absolute value is greater than the threshold value of setting;
If the absolute value is greater than the threshold value of the setting, then it is assumed that current location is Gray Level Jump area;
According to the size of the gray value of the current pixel location point and the gray value of adjacent position pixel, the gray scale is recorded Jump the flag bit in area.
5. according to the method described in claim 4, it is characterized in that, according to the gray value of the current pixel location point with it is adjacent The size of the gray value of position pixel records the flag bit in the Gray Level Jump area, comprising:
Judge whether the gray value of the current pixel location point is greater than the gray value of adjacent position pixel;
If the gray value of the current pixel location point is greater than the gray value of adjacent position pixel, the Gray Level Jump is recorded The flag bit in area is the first flag bit;
If the gray value of the current pixel location point is less than the gray value of adjacent position pixel, the Gray Level Jump is recorded The flag bit in area is the second flag bit.
6. the method according to claim 1, wherein recording all ashes according to the flag bit in the Gray Level Jump area Spend the index value of jump, comprising:
Whether the flag bit of the flag bit and lastrow that judge target line is consistent;
If the flag bit of the target line and the flag bit of lastrow are inconsistent, the line index of the target line is recorded, and according to It is secondary to be stored in line index matrix;
If the flag bit of the target line is consistent with the flag bit of lastrow, leaps to next line and continue to judge.
7. the method according to claim 1, wherein recording all ashes according to the flag bit in the Gray Level Jump area Spend the index value of jump, comprising:
Whether the flag bit of the flag bit and previous column that judge target column is consistent;
If the flag bit of the target column and the flag bit of previous column are inconsistent, the column index of the target column is recorded, and with This is stored in column index matrix;
If the flag bit of the target column is consistent with the flag bit of previous column, leaps to next column and continue to judge.
8. according to method described in claim 6,7, which is characterized in that the chessboard trrellis diagram is calculated according to the index value The lateral side length and vertical edge length of picture, comprising:
The difference for calculating adjacent row index values in the line index matrix line by line obtains tessellated lateral side length matrix;
The difference for calculating adjacent column index value in the column index matrix by column obtains tessellated vertical edge length matrix.
9. according to the method described in claim 8, it is characterized in that, according to the tessellated lateral side length and vertical edge length gauge Calculation obtains the matching degree of line-scan digital camera line frequency and speed of moving body, comprising:
Data in the tessellated lateral side length matrix and the tessellated vertical edge length matrix are successively substituted into formula (2) in, each tessellated matching error is calculated;
Wherein, length_h indicates that gridiron pattern lateral side length, length_v indicate gridiron pattern vertical edge length;
Using the mean value of all matching errors as the matching error of the line-scan digital camera line frequency and speed of moving body;
The matching degree of the line-scan digital camera line frequency and speed of moving body is judged according to the matching error.
10. a kind of line-scan digital camera line frequency and the whether matched judgement system of speed of moving body characterized by comprising
Setup module is fixed on testee for ajusting gridiron pattern target figure, the line frequency and object of line-scan digital camera is arranged Movement velocity;
Acquisition module, for acquiring the chessboard table images of the line-scan digital camera shooting;
Correction module, for carrying out slant correction to the chessboard table images;
Detection module records the mark in the Gray Level Jump area for detecting the Gray Level Jump area obtained in the chessboard table images Will position;
Logging modle, for recording the index value of the Gray Level Jump according to the flag bit in the Gray Level Jump area;
First computing module, the lateral side length and vertical edge for the chessboard table images to be calculated according to the index value are long Degree;
Second computing module, for the line-scan digital camera line frequency according to the tessellated lateral side length and vertical edge length computation with The matching degree of speed of moving body.
CN201910951129.3A 2019-10-08 2019-10-08 Method and system for judging whether line frequency of linear array camera is matched with object motion speed Active CN110533686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910951129.3A CN110533686B (en) 2019-10-08 2019-10-08 Method and system for judging whether line frequency of linear array camera is matched with object motion speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910951129.3A CN110533686B (en) 2019-10-08 2019-10-08 Method and system for judging whether line frequency of linear array camera is matched with object motion speed

Publications (2)

Publication Number Publication Date
CN110533686A true CN110533686A (en) 2019-12-03
CN110533686B CN110533686B (en) 2022-03-04

Family

ID=68671345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910951129.3A Active CN110533686B (en) 2019-10-08 2019-10-08 Method and system for judging whether line frequency of linear array camera is matched with object motion speed

Country Status (1)

Country Link
CN (1) CN110533686B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111650392A (en) * 2020-07-03 2020-09-11 东北大学 Metal sheet movement speed detection method based on linear array camera stereoscopic vision
CN111797695A (en) * 2020-06-10 2020-10-20 盐城工业职业技术学院 Automatic identification method and system for twisted yarn
CN112714311A (en) * 2020-12-30 2021-04-27 中国科学院长春光学精密机械与物理研究所 Line frequency calibration method of TDI camera
CN112762896A (en) * 2020-12-30 2021-05-07 凌云光技术股份有限公司 Device and method for judging and adjusting levelness of large-depth-of-field lens camera
CN115468738A (en) * 2022-10-31 2022-12-13 易思维(杭州)科技有限公司 Measurement precision evaluation device and evaluation method of linear array camera measurement system
CN116858833A (en) * 2023-07-07 2023-10-10 东莞康视达自动化科技有限公司 Time-sharing line scanning system and method based on machine vision

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070090191A1 (en) * 2000-11-24 2007-04-26 Schnee Michael D Imaging engine employing planar light illumination and linear imaging
CN101901501A (en) * 2010-07-22 2010-12-01 首都师范大学 Method for generating laser color cloud picture
CN103488978A (en) * 2013-09-26 2014-01-01 浙江工业大学 License plate location method based on gray level jump and character projection interval mode
CN104680171A (en) * 2013-11-27 2015-06-03 富士通株式会社 Device and method for detecting zebra crossing in image
CN107818542A (en) * 2017-10-30 2018-03-20 凌云光技术集团有限责任公司 The restorative procedure and device of a kind of anamorphose
CN108760767A (en) * 2018-05-31 2018-11-06 电子科技大学 Large-size LCD Screen defect inspection method based on machine vision
CN109769096A (en) * 2019-01-23 2019-05-17 电子科技大学 A kind of servo control method for linear array CCD scanning process

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070090191A1 (en) * 2000-11-24 2007-04-26 Schnee Michael D Imaging engine employing planar light illumination and linear imaging
CN101901501A (en) * 2010-07-22 2010-12-01 首都师范大学 Method for generating laser color cloud picture
CN103488978A (en) * 2013-09-26 2014-01-01 浙江工业大学 License plate location method based on gray level jump and character projection interval mode
CN104680171A (en) * 2013-11-27 2015-06-03 富士通株式会社 Device and method for detecting zebra crossing in image
CN107818542A (en) * 2017-10-30 2018-03-20 凌云光技术集团有限责任公司 The restorative procedure and device of a kind of anamorphose
CN108760767A (en) * 2018-05-31 2018-11-06 电子科技大学 Large-size LCD Screen defect inspection method based on machine vision
CN109769096A (en) * 2019-01-23 2019-05-17 电子科技大学 A kind of servo control method for linear array CCD scanning process

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
MING CHANG: ""Development of an optical inspection platform for surface defect detection in touch panel glass"", 《INTERNATIONAL JOURNAL OF OPTOMECHATRONICS》 *
朱彤: ""基于单目视觉的靶标定位系统研究与应用"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
苏晓峰: ""基于机器视觉的目标识别系统研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
陈朝阳: ""基于面线相机组合的密集度测试方法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797695A (en) * 2020-06-10 2020-10-20 盐城工业职业技术学院 Automatic identification method and system for twisted yarn
CN111797695B (en) * 2020-06-10 2023-09-29 盐城工业职业技术学院 Automatic identification method and system for twist of folded yarn
CN111650392A (en) * 2020-07-03 2020-09-11 东北大学 Metal sheet movement speed detection method based on linear array camera stereoscopic vision
CN112714311A (en) * 2020-12-30 2021-04-27 中国科学院长春光学精密机械与物理研究所 Line frequency calibration method of TDI camera
CN112762896A (en) * 2020-12-30 2021-05-07 凌云光技术股份有限公司 Device and method for judging and adjusting levelness of large-depth-of-field lens camera
CN112714311B (en) * 2020-12-30 2021-10-26 中国科学院长春光学精密机械与物理研究所 Line frequency calibration method and correction system of TDI camera
CN115468738A (en) * 2022-10-31 2022-12-13 易思维(杭州)科技有限公司 Measurement precision evaluation device and evaluation method of linear array camera measurement system
CN115468738B (en) * 2022-10-31 2024-02-27 易思维(杭州)科技股份有限公司 Measurement precision evaluation device and evaluation method of linear array camera measurement system
CN116858833A (en) * 2023-07-07 2023-10-10 东莞康视达自动化科技有限公司 Time-sharing line scanning system and method based on machine vision
CN116858833B (en) * 2023-07-07 2024-02-23 东莞康视达自动化科技有限公司 Time-sharing line scanning system and method based on machine vision

Also Published As

Publication number Publication date
CN110533686B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN110533686A (en) Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system
CN105608671B (en) A kind of image split-joint method based on SURF algorithm
CN105279372B (en) A kind of method and apparatus of determining depth of building
CN102812416B (en) Pointing input device, indicative input method, program, recording medium and integrated circuit
CN100494886C (en) Three-dimensional scanning system circular index point detection method
CN109211198B (en) Intelligent target detection and measurement system and method based on trinocular vision
JP2012042396A (en) Position attitude measurement device, position attitude measurement method, and program
DE102016003294A1 (en) Information processing apparatus, information processing method and storage medium
CN108470338B (en) A kind of water level monitoring method
CN108716890A (en) A kind of high-precision size detecting method based on machine vision
CN107592922A (en) Method for implementing operation to ground
CN113012234B (en) High-precision camera calibration method based on plane transformation
CN107392929A (en) A kind of intelligent target detection and dimension measurement method based on human vision model
CN110611770A (en) Method and system for judging whether line frequency of linear array camera is matched with object motion speed
CN114005108A (en) Pointer instrument degree identification method based on coordinate transformation
US10386930B2 (en) Depth determining method and depth determining device of operating body
JP6942566B2 (en) Information processing equipment, information processing methods and computer programs
CN113642397A (en) Object length measuring method based on mobile phone video
CN106296797A (en) A kind of spatial digitizer characteristic point modeling data processing method
CN109190452A (en) Crop row recognition methods and device
CN113375555A (en) Power line clamp measuring method and system based on mobile phone image
JP2002165083A (en) Picture processing method and non-contact picture input device using the same
CN107424194A (en) The detection method of keyboard profile tolerance
CN108180825A (en) A kind of identification of cuboid object dimensional and localization method based on line-structured light
CN104156952B (en) A kind of image matching method for resisting deformation

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
CB02 Change of applicant information

Address after: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant after: Lingyunguang Technology Co., Ltd

Address before: 100094 Beijing city Haidian District Cui Hunan loop 13 Hospital No. 7 Building 7 room 701

Applicant before: LUSTER LIGHTTECH GROUP Co.,Ltd.

GR01 Patent grant
GR01 Patent grant