CN101936761B - Visual measuring method of stockpile in large-scale stock ground - Google Patents

Visual measuring method of stockpile in large-scale stock ground Download PDF

Info

Publication number
CN101936761B
CN101936761B CN2009100541302A CN200910054130A CN101936761B CN 101936761 B CN101936761 B CN 101936761B CN 2009100541302 A CN2009100541302 A CN 2009100541302A CN 200910054130 A CN200910054130 A CN 200910054130A CN 101936761 B CN101936761 B CN 101936761B
Authority
CN
China
Prior art keywords
image
point
coordinate system
stockpile
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009100541302A
Other languages
Chinese (zh)
Other versions
CN101936761A (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.)
Shanghai Jiaotong University
Baoshan Iron and Steel Co Ltd
Original Assignee
Shanghai Jiaotong University
Baoshan Iron and Steel 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 Shanghai Jiaotong University, Baoshan Iron and Steel Co Ltd filed Critical Shanghai Jiaotong University
Priority to CN2009100541302A priority Critical patent/CN101936761B/en
Publication of CN101936761A publication Critical patent/CN101936761A/en
Application granted granted Critical
Publication of CN101936761B publication Critical patent/CN101936761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to a non-contact measuring method, in particular to visual measuring method of a stockpile in a large-scale stock ground. The method comprises the following steps of: (1) constructing a visual measuring system of stock ground; (2) mounting a binocular vision subsystem; (3) establishing a geometric model of a CCD (Charge Coupled Device) camera; (4) calibrating the parameters of the CCD camera; (5) collecting images; (6) processing the images; (7) searching and matching angular points; (8) confirming the three-dimensional coordinate values of an object point; and (9) interpolating a curve and establishing a height map in a world coordinate system; and (10) measuring the volume. The visual measuring method of the invention automatically eliminates the image distortion caused by a wide-angle lens, can automatically and accurately match the angular points of a left view and a right view, automatically generates the three-dimensional space coordinates of the object point by utilizing an image data conversion relation, optimizes the three-dimensional angular point distribution and constructs the height map of the world coordinate system so that the volume a geometrical irregular stockpile can be simply, intuitively and accurately calculate.

Description

Large-scale stock ground stockpile vision measuring method
Technical field
What the present invention relates to is a kind of non-contact measurement method, specifically is a kind of large-scale stock ground stockpile vision measuring method.
Background technology
Up to now; The heap of the large-scale stock yards that enterprise had such as iron and steel, chemical industry, power plant is got material operation and input and output material planning; Basically still relying on the manually-operated is main management and construction pattern, has therefore influenced the lifting of these whole enterprise robotizations and informationization technology level dramatically.
Because the raw material of being stacked in this type of stock ground is bulk materials; Like iron ore sand, coke, lime etc., in process of production, its volume is in a kind of dynamic change state all the time; Generally speaking; Enterprise measures these storage of raw materials amounts and dynamic management all relies on the method for manual measurement to carry out, and inefficiency also will be shut down at regular intervals and carried out the continuity that manual measurement influences enterprise production.Therefore, realize that the automatic management in stock ground certainly will at first realize the digitizing technique in stock ground, and the key point of stock ground digitizing technique is how to realize measuring automatically and dynamic observing of stock ground volume.Begun to adopt laser ranging technique to realize measuring automatically and dynamic observing in the prior art to the stock ground volume; Because there is the device complicacy in the application of laser technology in this field, working environment required condition restriction such as harshness, expensive, makes the popularization of this technology that significant limitation arranged.Measuring technique based on machine vision is current a kind of emerging technology, but because its technology is not perfect, therefore the beyond example still of the application in the digitization system of stock ground does not have ready-made mature technology to use for reference in addition.
Retrieval through to the prior art document is found; Chinese invention patent numbers 200510026200.5 discloses the method that the computer vision system measured in a kind of stock ground is measured automatically; This invention is to selected raw material stockpile design of CCD video camera layout, and the picture signal that ccd video camera collected is transported to the Flame Image Process front end via vision cable and image pick-up card; Image processing software carries out the processing of background flatten and edge extracting in real time to picture signal in the Flame Image Process front end, accomplishes the digital information of image and expresses; The information that the digitizing of Flame Image Process front end is expressed is connected with host computer through the IEEE1394 protocol interface, realizes the information interaction of Flame Image Process front end and host computer; Host computer is reprocessed the digitizing expressing information of image, asks for the 3-D view of public angle point reconstruct object, the space geometry yardstick measurement result of the output of computing meanwhile stockpile.Can affirm; This invention technical method is effectively in the computer automatic analysis process that realizes the stock ground, and still, this technology too relies on " ccd video camera layout; satisfy as high-order vision collecting point, gather the stockpile panoramic picture " to carry out the collection to the stock ground image information; Simultaneously, this invention does not still possess influence factors such as pattern distortion is eliminated ability automatically.
Summary of the invention
The object of the present invention is to provide a kind of large-scale stock ground stockpile vision measuring method; This measuring method is based on the stock ground volume measuring method of machine vision; Utilize stock ground existing stacker-reclaimer walking mechanism; In the stacker-reclaimer operation process, accomplish stock ground IMAQ and processing automatically, finally realize the accurate Calculation of material stack volume.
A kind of large-scale stock ground stockpile vision measuring method may further comprise the steps:
Step 1, structure stock ground vision measurement system; Form by the first binocular vision subsystem, the second binocular vision subsystem and server three parts, the image information processing module of server receive handle behind the signal of the first binocular vision subsystem, the second binocular vision subsystem and computing after output finally to identification, understanding and the measurement result of image information;
Step 2, installation binocular vision subsystem; The first binocular vision subsystem is installed on stacker near on stockpile one side frame; The second binocular vision subsystem is installed on reclaimer near on stockpile one side frame, and the installation of two ccd video cameras in the first and second binocular vision subsystems should be followed: the photocentre of two video cameras is in same surface level and two optical axises and two photocentre lines and forms an isosceles triangle;
Step 3, set up the ccd video camera geometric model; Comprise: the conversion to the computer picture coordinate system of mathematical model, normalization imaginary plane image coordinate system distortional point coordinate is corrected in pattern distortion in the conversion of world coordinate system and camera coordinate system, desirable perspective projection transformation, the normalization imaginary plane image coordinate system, obtains to be tied to from world coordinates the mapping relations equation of computer picture coordinate system at last;
Step 4, ccd video camera parameter calibration; Comprise inner parameter and external parameter, adopt the substep scaling method, the aspect ratio of first uncalibrated image and principal point coordinate; Utilize the radial parallel constraint again; Find the solution most external parameter, introduce distortion model, linear solution inner parameter and translational movement at last again;
Step 5, IMAQ, two binocular vision subsystems are respectively along with the walking online acquisition stockpile and the stock ground image of stacker-reclaimer; Each binocular vision subsystem can be gathered two width of cloth images through two ccd video cameras wherein simultaneously in each sampling instant; In front end signal processor, preserve image sequence; And, accept simultaneously to require the front end signal processor on the stacker-reclaimer to transmit digital picture to upper server by the remote control program steering order with after this two width of cloth image process pre-service; Server can receive four width of cloth images simultaneously in each sampling instant; Comprise each two width of cloth image from first, second binocular vision subsystem; Per two width of cloth images divide left and right two width of cloth images again; Between whole sampling period, all images that collect form two groups of left and right sides views of first, second binocular vision subsystem respectively to sequence;
Step 6, Flame Image Process; The removal of images distortion; By computer picture coordinate system pixel coordinate (u; (u is v) at normalization imaginary plane image coordinate system distortional point coordinate (x v) to ask for corresponding point through normalization imaginary plane image coordinate system distortional point coordinate to the transfer equation calculating of computer picture coordinate system d, y d), again with (x d, y d) value transport in the substitution normalization imaginary plane image coordinate system pattern distortion and correct mathematical model and carry out inversion operation, therefore try to achieve the normalization imaginary plane image coordinate system ideal point coordinate (x that corrects after the distortion u, y u), again by ideal point coordinate (x u, y u) alternative (x d, y d) value substitution normalization imaginary plane image coordinate system in pattern distortion correct mathematical model and obtain corresponding point (u, v) new coordinate figure, promptly new pixel position; All pixel coordinates in the computer picture coordinate system (u, v) pass through the aforementioned calculation process one by one after, just can obtain the ideal alignment of pixel on picture, the recovery of promptly true scene image in other words, obtains the ideal image that a width of cloth reflects true scenery;
The searching of step 7, angle point and coupling are sought several angle points as the marginal point of representing tool characteristic in sampled images, adopt the Corner Detection Algorithm based on gradation of image, mainly reach the purpose that detects angle point through computing curvature and gradient; To in left and right view, seeking with it the point of coupling the most under the guidance of the angle point of seeking out polar curve constraint outside; Actual mechanical process need be obtained abundant three-dimensional angle point from the digital picture of left and right view;
Confirming of step 8, object point D coordinates value, the angular coordinate (u that in left and right view, matees each other l, v l), (u r, v r) can convert corresponding world coordinate (X into through the mapping relations equation that is tied to the computer picture coordinate system from world coordinates Wl, Y Wl, Z Wl) and (X Wr, Y Wr, Z Wr), adopt the method for asking for two straight line common vertical line intermediate values to obtain the best fit approximation of object point volume coordinate at last;
Step 9, in world coordinate system, carry out surface interpolation and set up height map; To limited the discrete pixel that image shows on full black background, must between adjacent discrete point, adopt Bei Saier surface interpolation algorithm to carry out interpolation to form one near actual continuous height map; This height map has comprised about the full detail in stock ground and has stored for use in follow-up depth analysis and data of database as the main result of image processing system;
Step 10, cubing; At first, definition " vacant lot ", the i.e. floor level of windrow not; From first to last seek vacant lot; The position judgment that occurs continuously according to vacant lot should be divided into several stockpiles with the stock ground, and gets rid of pseudo-stockpile and noise that very little fluctuating causes, obtains the position of the initial sum termination of each stockpile; Secondly, intercepting goes out a material stack height figure from the height map of stock ground; The true altitude that makes the gray-scale value representative of some pixels in the height map is h i, it highly is h that the volume of this place's stockpile can be regarded as by limited i, floorage is δ iLittle rectangular parallelepiped add up and form (pixel of i for participating in calculating, i=1,2, K, n, the pixel sum of n) for participating in calculating, therefore, all how much irregular material stack volume V all can calculate according to following formula: V = Σ i = 1 n δ i h i .
Each binocular vision subsystem in the vision measurement system of described structure stock ground comprises: two ccd video cameras, image pick-up card, front end signal processor, two photoelectric commutators and optical fiber; Left and right ccd video camera walks abreast the left and right view that is collected in sampling instant and inputs to image pick-up card; Image pick-up card converts original image data image signal to and transports to front end signal processor; Front end signal processor is removed noise and is strengthened pre-service digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal, light signal is through Optical Fiber Transmission to the second photoelectric commutator; Second photoelectric commutator converts image light signals to electric signal again, and last, electric signal inputs to the image information processing module of server through the input interface of server; The left and right view simulating signal that first, second binocular vision subsystem will collect respectively separately walks abreast and transports to the image pick-up card in this subsystem; Image pick-up card converts image analoging signal data image signal to and transports to front end signal processor; Front end signal processor is removed noise and is strengthened pre-service digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal; Light signal is through Optical Fiber Transmission to the second photoelectric commutator, and second photoelectric commutator converts image light signals to electric signal again, and is last; Electric signal inputs to the image information processing module of server through first input interface of server, server with data image signal handle with computing after output finally to identification, understanding and the measurement result of image information.
Described ccd video camera parameter calibration, specific as follows:
The external parameter that ccd video camera need be demarcated: comprise R and t, promptly
R t = r 1 r 2 r 3 t x r 4 r 5 r 6 t y r 7 r 8 r 9 t z
Totally 12, but, must satisfy 6 quadrature constraints because of R is the unit orthogonal matrix, so in fact have only 6 external parameters to need to demarcate;
Inner parameter: comprise f, k 1, s xAnd c x, c y, totally 5;
At first confirm the aspect ratio of image, vertically take an annulus, calculate then its in the horizontal direction with vertical direction on pixel diameter ratio be aspect ratio s x
Secondly take same scenery with the different focal of camera, calculate its convergent-divergent center then and obtain principal point coordinate (c x, c y);
Find the solution R and t through setting transition parameter at last x, t y, the orthogonality according to R calculates effective focal length f, coefficient of radial distortion k then 1With translational movement t z
Saidly in world coordinate system, carry out surface interpolation and set up height map, specific as follows:
Image is shown abundant discrete pixel on full black background; As 1400, between adjacent discrete point, adopt Bei Saier surface interpolation algorithm to carry out interpolation to form one near actual continuous height map, this height map is as the main result of image processing system; Comprised about the full detail in stock ground and stored for use in follow-up depth analysis and data of database; Height map is a plane gray level image, and the X-direction of horizontal direction and world coordinate system is consistent, and vertical direction is consistent with Z-direction; The height of the pixel grey scale of certain point (0~255) and this point (Y component) is directly proportional; Corresponding to 0 (complete black), 16 meters of peaks are as 255 (complete white) with 0 meter of minimum point, and middle height is corresponding to corresponding grey;
Each pixel is represented an area, and corresponding entire image is just being represented a specific length * wide stock yard, as: pixel is represented 0.5 * 0.5m 2, the image of a 1440 * 96pixel is just represented the complete stock ground of 720m * 48m, wherein any point corresponding corresponding position height;
Digital picture is deposited the analysis for next step with the BMP form, and the information interaction that is used for data base management system (DBMS).
Said cubing, specific as follows:
1. definition: highly be lower than 0.5 meter be defined as " vacant lot ", i.e. windrow not; At first from first to last seek vacant lot, the position judgment that occurs continuously according to vacant lot should be divided into several stockpiles with the stock ground, gets rid of pseudo-stockpile and the noise that very little fluctuating causes simultaneously, obtains the position of the initial sum termination of each stockpile;
2. intercepting goes out to comprise the rectangle figure that stockpile is calculated in requirement from the height map of stock ground, and the true altitude that makes the gray-scale value representative of some pixels in the height map is h i, floorage is δ i, the pixel of i for participating in calculating, i=1,2, K, n, the pixel sum of n for participating in calculating, therefore, all how much irregular material stack volume V all can be according to formula V = Σ i = 1 n δ i h i Calculate, work as δ i=const=0.25m 2The time, can also directly be expressed as V = 0.25 Σ i = 1 n h i ,
When being " vacant lot " below the definition 0.5m, carry out the volume computing with the rectangular bottom surface zone that comprises stockpile, formula can also be expressed as: V = d x d y [ Σ l m Σ k n h kl - 0.5 m × n ] , In the formula, h KlBe k row, pixel respective heights that l is capable, k=1,2, K, n, n are the total columns of pixel, l=1,2, K, m, m are the total line number of pixel, dx, dy be respectively pixel capable to row to the pairing actual range in interval, unit is m.
Vision measuring method of the present invention adopts the method for stock ground grid height map to set up the material stack volume computing formula V = Σ i = 1 n δ i h i , And under the condition of definition " vacant lot ", computing further succinctly is expressed as V = d x d y [ Σ l m Σ k n h Kl - 0.5 m × n ] Realize the accurate Calculation of stockpile and stock ground volume; Automatically eliminated the pattern distortion that wide-angle lens causes; Can carry out the accurate coupling of angle point to left and right view automatically; Utilize the view data transformation relation to generate the three dimensional space coordinate of object point automatically; Optimize three-dimensional angle point and distribute, make up the world coordinate system height map, make the irregular stockpile of geometry also can realize the accurate Calculation of its volume simple and direct, intuitively.
Description of drawings
Fig. 1 is video camera geometric model figure;
Fig. 2 is outer utmost point geometric graph;
Fig. 3 is the horizontal installation diagram of left and right CCD camera in the binocular vision system;
Fig. 4 is the working state figure of left and right ccd video camera on heap, reclaimer.
Among the figure: 11 first left ccd video cameras, 12 first right ccd video cameras, 21 second left ccd video cameras, 22 second right ccd video cameras.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated: present embodiment provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment being to implement under the prerequisite with technical scheme of the present invention.
Video camera geometric model as shown in Figure 1, as to adopt among the embodiment:
1. computer picture coordinate system o UvUv: initial point o UvBe positioned at the upper left corner on ccd image plane, u and v remarked pixel respectively are positioned at the columns and the line number of array, and unit is pixel (pixel).
2. physical image coordinate system oxy: initial point (being principal point o) is defined in the intersection point on camera optical axis and physical image plane, and x, y axle are parallel with u, v axle respectively.p u(x u, y u) the P ideal image coordinate of ordering under the expression pin-hole model, p d(x d, y d) be to depart from p by what the lens radial distortion caused u(x u, y u) the real image coordinate.
3. camera coordinate system o cx cy cz c: initial point o cBe defined in the photocentre of video camera, x c, y cAxle is parallel to x, y axle, z respectively cAxle and optical axis coincidence.o cO is the effective focal length f of video camera, (x c, y c, z c) three-dimensional coordinate of expression object point P under camera coordinate system.
4. world coordinate system O WX WY WZ W: it is fixed to come according to concrete environment, (X W, Y W, Z W) three-dimensional coordinate of expression object point P under world coordinate system.
As shown in Figure 2, described outer utmost point geometrical constraint promptly is directed against binocular vision system from two same points of angular observation, seeks the relevant geometry problem of the outer polar curve constraint between two imaging points, is called as how much of the outer utmost points.Among the figure, left and right video camera intersects to be put, and P is the same three-dimensional point of left video camera and right cameras view, O l, O rBe respectively the photocentre of left and right video camera; The imaging point of P point on the empty imaging plane of the normalization of left and right video camera is respectively p l[x ly l1] TAnd p r[x ry r1] Te l, e rBe respectively the outer utmost point center on the left and right image planes, for left and right two outer polar curves of common observation station P respectively through a some P l, e lAnd P r, e r
Present embodiment comprises following concrete steps:
Step 1, structure stock ground vision measurement system
Form the stock ground vision measurement system by the first binocular vision subsystem, the second binocular vision subsystem and server three parts.Each binocular vision subsystem comprises: two ccd video cameras, image pick-up card, front end signal processor, two photoelectric commutators and optical fiber.Left and right ccd video camera walks abreast the left and right view that is collected in sampling instant and inputs to image pick-up card; Image pick-up card converts original image data image signal to and transports to front end signal processor; Front end signal processor is removed pre-service such as noise and reinforcement to digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal, light signal is through Optical Fiber Transmission to the second photoelectric commutator; Second photoelectric commutator converts image light signals to electric signal again, and last, electric signal inputs to the image information processing module of server through the input interface of server.
The left and right view simulating signal that first, second binocular vision subsystem will collect respectively separately walks abreast and transports to the image pick-up card in this subsystem; Image pick-up card converts image analoging signal data image signal to and transports to front end signal processor; Front end signal processor is removed pre-service such as noise and reinforcement to digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal; Light signal is through Optical Fiber Transmission to the second photoelectric commutator, and second photoelectric commutator converts image light signals to electric signal again, and is last; Electric signal inputs to the image information processing module of server through first input interface of server, server with data image signal handle with computing after output finally to identification, understanding and the measurement result of image information.
Step 2, installation binocular vision subsystem
As shown in Figure 3; The first binocular vision subsystem is installed on stacker near on stockpile one side frame; The second binocular vision subsystem is installed on reclaimer near on stockpile one side frame, and the installation of two ccd video cameras in the first and second binocular vision subsystems should be followed: the photocentre of two video cameras is in same surface level principle and two optical axises and two photocentre lines and forms an isosceles triangle principle.
As shown in Figure 4, the left and right ccd video camera 11,12 in the first binocular vision subsystem is installed on the stacker, and geometric relationship between the two confirms that method is following:
1. the level interval between the first left ccd video camera 11 and the first right ccd video camera 12; Be distance between both the camera coordinate system initial point: greatly about about 20m, therefore can confirm that two camera lens level intervals are 20m according to the maximum extensible width of stacker platform.
2. camera lens vertical direction angle: according to stockpile is that 16m angle of repose high, that be about 4m, stockpile from the fore-and-aft distance of material pin as the upright position of head is that 26 °, the highest available height of stationary platform of stacker are about 6m; Camera lens can only be installed on the platform of 6m height; The coboundary line of vertical field of view is parallel with the stock ground slope; Greatly about about 2.926m, the following depression angle that therefore can budget goes out camera lens is 19 ° apart from the camera lens vertical point for the lower limb line of vertical field of view and the intersection point of stock ground bottom line.
3. camera lens horizontal direction angle: according to the universal law of stereoscopic vision; The principle that two video cameras in the binocular vision device and measured object point should be formed an isosceles triangle; According to above-mentioned level interval and camera lens vertical direction angle, camera lens horizontal direction angle is 32 ° on the stacker.
Left and right ccd video camera 21,22 in the second binocular vision subsystem is installed on the reclaimer, and geometric relationship between the two confirms that method is following:
1. the level interval between the second left ccd video camera 21 and the second right ccd video camera 22; Be distance between both the camera coordinate system initial point: according to the maximum extensible width of reclaimer platform greatly about about 10m; Receive its limit, can only confirm that two camera lens level intervals are 10m.
2. the same on camera lens vertical direction angle and the stacker.
3. camera lens horizontal direction angle: according to the universal law of stereoscopic vision; The principle that two video cameras in the binocular vision device and measured object point should be formed an isosceles triangle; According to above-mentioned level interval and camera lens vertical direction angle, get that camera lens horizontal direction angle is 17.35 ° on the reclaimer.
Step 3, set up the ccd video camera geometric model
All geometric model comprises:
1) conversion of world coordinate system and camera coordinate system, describe with rotation matrix R and translation vector t:
x c y c z c = R X W Y W Z W + t ; R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 , t = t x t y t z (formula 1)
[X WY WZ W] TBe the world coordinate system point coordinate; [x cy cz c] TBe the camera coordinate system point coordinate.
2) desirable perspective projection transformation, promptly point coordinate is tied to the conversion of normalization imaginary plane image coordinate system from camera coordinates:
x u=fx c/ z c, y u=fy c/ z c(formula 2)
In the formula, f is the imaging focal length of video camera, (x u, y u) be normalization imaginary plane image coordinate system ideal point coordinate.
3) mathematical model is corrected in pattern distortion in the normalization imaginary plane image coordinate system, and the distortion equation when only considering the single order radial distortion is:
x d=(1+k 1r 2) x u, y d=(1+k 1r 2) y u(formula 3)
In the formula, r 2 = x u 2 + y u 2 ; k 1Be the single order coefficient of radial distortion.
4) normalization imaginary plane image coordinate system distortional point coordinate is to the conversion of computer picture coordinate system:
U=x d/ dx+c x, v=y d/ dy+c y, s x=dy/dx (formula 4)
In the formula, (u v) is a computer picture coordinate system pixel coordinate, (c x, c y) for the pixel coordinate of principal point o is the principal point coordinate, (dx dy) is respectively the distance between unit picture element on x on the plane of delineation, the y direction, s xBe aspect ratio.
Get by formula 1~4
p 1 = 1 s K R t P 1 (formula 5)
Formula 5 is called the mapping relations equation that world coordinates is tied to the computer picture coordinate system, wherein, and p=[u v] T, P=[X WY WZ W] T, s is that spatial point is mapped to ccd video camera coordinate system (x in the world coordinate system c, y c, z c) middle z cComponent on the axle, its numerical value equal the element value in resulting the 3rd column vector of above-mentioned mapping relations equation the right result of calculation; K = f x 0 c x 0 f y c y 0 0 1 Be the equal proportion scaled matrix of three-dimensional point coordinate from the empty imaging plane of normalization to the physics imaging plane, the ratio of its convergent-divergent (logic focal length) is relevant with real focal length f, and unit is " pixel/m ", promptly
f x = f ( 1 + k 1 r d 2 ) dx ; f y = f ( 1 + k 1 r d 2 ) dy (formula 6)
This expression though have only a physics focal length, shows to have 2 different logical focal lengths on the image.
Said normalization imaginary plane image coordinate system; Be meant: along optical axis with the camera optics imaging plane form the symmetry the plane be called imaginary plane; The coordinate system of being set up above that is called the imaginary plane image coordinate system; The image pixel characteristic quantity is carried out the normalization imaginary plane coordinate system that the expression on the imaginary plane coordinate system after the normalization is called image express, the imaginary plane coordinate system plane of living in of using normalization to express is called the normalization imaginary plane again.
Step 4, ccd video camera parameter calibration
The parameter that ccd video camera need be demarcated comprises inner parameter and external parameter.
External parameter: comprise R and t, promptly
R t = r 1 r 2 r 3 t x r 4 r 5 r 6 t y r 7 r 8 r 9 t z
Totally 12, but, must satisfy 6 quadrature constraints because of R is the unit orthogonal matrix, so in fact have only 6 external parameters to need to demarcate.
Inner parameter: comprise f, k 1, s xAnd c x, c y, totally 5.
Calibration process adopts substep scaling method, the aspect ratio s of first uncalibrated image xWith principal point coordinate (c x, c y), utilize the radial parallel constraint again, find the solution most external parameter, introduce distortion model at last again, linear solution inner parameter f, k 1With translational movement t z, concrete steps are following:
At first, aspect ratio confirms
Because focal length of camera is zoomed image on x, y direction simultaneously, therefore, vertically takes an annulus, calculate then its in the horizontal direction with vertical direction on pixel diameter ratio be aspect ratio s x
Secondly, the demarcation of principal point coordinate
When the effective focal length of video camera changes, corresponding image generation convergent-divergent, and optical axis is constant, so the intersection point of the optical axis and the plane of delineation (principal point) is constant.Therefore, can use the different focal of camera to take same scenery, calculating its convergent-divergent center then is winner's point coordinate.
Suppose that focus of camera is by f 1Become f 2, get by formula 4:
x 2 - c x x 1 - c x = y 2 - c y y 1 - c y ⇒ y 1 - y 2 x 2 - x 1 × c x c y T = x 2 y 1 - x 1 y 2 (formula 7)
In the formula, (x 1, y 1) be at effective focal length f 1The pixel coordinate of following certain unique point, (x 2, y 2) be that same unique point is at effective focal length f 2Under pixel coordinate.Select a plurality of unique points, utilize least square method linearity to solve (c x, c y).
Be again, rotation matrix R and translational component t x, t yFind the solution, detailed process is following:
1. ask for transition parameter earlier
Because what we used is coplanar point, so Z W=0, have by the radial parallel constraint
x d y d = x c y c = r 1 X W + r 2 Y W + t x r 4 X W + r 5 Y W + t y ; x d = dy ( u - c x ) s x , y d=dy (v-c y) (formula 8)
Consider lens distortion to the camera effective focal length with to the influence of demarcating plan range, so same divided by t to following formula the right molecule denominator y, and arrangement can obtain the equation of following matrix form:
y d X W y d Y W y d - x d X W - x d Y W × r 1 t y r 2 t y t x t y r 4 t y r 5 t y T = x d (formula 9)
In the formula, 5 elements in the column vector are unknown, for each calibration point; If known its world coordinates and corresponding image coordinate just can be listed an equation as above, get a plurality of calibration points (greater than 5); Ask this overdetermined equation with least square method, promptly get transition parameter:
l 1=r 1/ t y, l 2=r 2/ t y, l 3=t x/ t y, l 4=r 4/ t y, l 5=r 5/ t y(formula 10)
2. find the solution R and t according to transition parameter x, t y
After obtaining above-mentioned transition parameter, just can obtain t according to the orthogonality of R ySize, work as parameter l 1, l 2, l 3, l 4, l 5Be not 0 o'clock in twos simultaneously,
t y 2 = [ A - ( A 2 - 4 B ) 1 / 2 ] / 2 B ; A = l 1 2 + l 2 2 + l 4 2 + l 5 2 , B = ( l 1 l 5 - l 2 l 4 ) 2 (formula 11)
Otherwise t y 2Be all the other two parametric t xWith t zThe inverse of quadratic sum.
Judge t ySymbol, in utilization radial parallel when constraint, comprise two parallel vectors in the same way with two kinds of reverse situation, so t ySymbol have two kinds maybe.Can adopt following method to judge:
Establish t earlier yFor just, obtain r by transition parameter 1, r 2, r 4, r 5, t x, thus calibration point is projected on the plane of delineation again, calculate the image coordinate x of corresponding point c, y cIf, x dWith x cJack per line, and y dWith y cJack per line, t so yFor just, otherwise t yFor negative, all the other external parameters of obtaining above then all make corresponding changes.
According to the orthogonality of R, calculate all the other parameters of R
r 3 = 1 - r 1 2 - r 2 2 , r 6 = 1 - r 4 2 - r 5 2 , r 7=r 2r 6-r 3r 5
r 8=r 3r 4-r 1r 6, r 9=r 1r 5-r 2r 4(formula 12)
Wherein, if r 1r 4+ r 2r 5Symbol for just, then at r 6Before add negative sign; If the f of following calculating is negative sign, then r 3, r 6, r 7, r 8Symbol and top opposite.
Effective focal length f, coefficient of radial distortion k 1With translational movement t zFind the solution, by formula 3:
x u = f x c z c = x d 1 + k 1 r d 2 = f r 1 X W + r 2 Y W + t x r 7 X W + r 8 Y W + t z ,
y u = f y c z c = y d 1 + k 1 r d 2 = f r 4 X W + r 5 Y W + t y r 7 X W + r 8 Y W + t z (formula 13)
Can get after the arrangement and contain unknown number f, t as follows z, k system of linear equations:
E Er d 2 - x d × f k t z T = x d G ,
F Fr d 2 - y d × f k t z T = y d G (formula 14)
In the formula, E=r 1X W+ r 2Y W+ t x, F=r 4X W+ r 5Y W+ t y, G=r 7X W+ r 8Y W, k=fk 1, unite with least square method and to separate this system of linear equations, get final product f, t z, the separating of k.Further judge the symbol of f, if f is for negative, then with the f opposite sign.Further solve k 1=k/f, all the other parameter symbols are by top said making corresponding changes.
So far, demarcate, adopt linear method to solve whole inside and outside parameter of video camera, therefore avoided the loaded down with trivial details and unstable of nonlinear optimization through substep.
Step 5, IMAQ
The binocular vision subsystem adopts 120 ° of wide-angle optical lens, and two binocular vision subsystems are respectively along with the walking online acquisition stockpile and the stock ground image of stacker-reclaimer.Each binocular vision subsystem can be gathered two width of cloth images through two ccd video cameras wherein simultaneously in each sampling instant; Preserve image sequence in the signal processor of speed on stacker-reclaimer according to 1 frame/rice; And, accept simultaneously to require the front end signal processor on the stacker-reclaimer to transmit digital picture to upper server by the remote control program steering order with after this two width of cloth image process pre-service.Server can receive four width of cloth images simultaneously in each sampling instant; Comprise each two width of cloth image from first, second binocular vision subsystem; Per two width of cloth images divide left and right two width of cloth images again; Between whole sampling period, all images that collect form two groups of left and right sides views of first, second binocular vision subsystem respectively to sequence.
Communications optical cable can reach for 5 frame/seconds to the transmission speed of not having compression full width (being 768*576) color digital image at present; The gait of march of stacker-reclaimer is 1 meter per second; Therefore, default whenever can satisfy the requirement of communications optical cable to the image network transfer rate at a distance from 1 meter distance collection 1 width of cloth image fully.
Image scene is preserved hereof with the form of BMP, supplies subsequent treatment and database subsystem to use.Be stored in respectively under two files according to left camera lens, right camera lens,, represent the left and right image folder of stacker respectively like df, dr etc.; Filename is address date, and unit is a rice, like 201.bmp, 202.bmp etc., representes the image that 201,202 meters collect respectively.Image resolution ratio is consistent with resolution of video camera, is 768*576 to the video camera of pal mode.
Step 6, Flame Image Process
The removal of images distortion, (u, (u is v) at normalization imaginary plane image coordinate system distortional point coordinate (x v) to ask for corresponding point through formula 4 calculating by computer picture coordinate system pixel coordinate d, y d), again with (x d, y d) value transport to substitution formula 3 and carry out inversion operation, therefore try to achieve the normalization imaginary plane image coordinate system ideal point coordinate (x that corrects after the distortion u, y u), again by ideal point coordinate (x u, y u) alternative (x d, y d) value substitution formula 4 obtain corresponding point (u, v) new coordinate figure, promptly new pixel position.
All pixel coordinates in the computer picture coordinate system (u, v) pass through the aforementioned calculation process one by one after, just can obtain the ideal alignment of pixel on picture, the recovery of promptly true scene image in other words, obtains the ideal image that a width of cloth reflects true scenery.
The searching of step 7, angle point and coupling
In sampled images, seek several angle points as the marginal point of representing tool characteristic, adopt Corner Detection Algorithm, mainly reach the purpose that detects angle point through computing curvature and gradient based on gradation of image.Specifically be embodied as: confirm a local window in the image,, confirm the grey scale change value of image through window moving in image.Three kinds of possibilities are arranged in the process that moves: if window is in the place of uniform gray level, then result of calculation is a less value; If window has been crossed over the edge, be a less value in the result who moves along edge line so, and will be a bigger grey scale change in place perpendicular to the edge; If window be in angle point or independently on, on each direction of this point, all be the bigger place of grey scale change so, angle point can be detected rapidly.
To in left and right view, seeking with it the point of coupling the most under the guidance of the angle point of seeking out polar curve constraint outside.Adopt " outer polar curve " constraint whether the subpoint of obtaining spatial point on two width of cloth images is mated and judge, be i.e. the subpoint P of spatial point P on image l, P rMust be in the space any 1 P and the O of the centre of perspectivity, the left and right sides l, O rConstitute the intersection O of a plane and two imaging planes lP, O rP is last.
For the CCD that intersection is put, O l, O rLine intersects at e with left and right view image planes respectively l, e r, promptly left.Outer utmost point center on the right image planes; Left and right two outer polar curves are respectively through a P l, e lAnd P r, e rCan know that by the stereoscopic vision theory any a pair of corresponding point must be outside they are corresponding on the polar curve on the left and right view image planes.
Make left and right camera coordinate system be respectively (x l, y l, z l) and (x r, y r, z r), the transformation relation of left and right camera coordinate system is:
x l y l z l = r rl 1 r rl 2 r rl 3 r rl 4 r rl 5 r rl 6 r rl 7 r rl 8 r rl 9 x r y r z r + t rlx t rly t rlz ; x r y r z r = r lr 1 r lr 2 r lr 3 r lr 4 r lr 5 r lr 6 r lr 7 r lr 8 r lr 9 x l y l z l + t lrx t lry t lrz (formula 15)
After converting left and right camera coordinate system into the world coordinate system expression formula separately, simultaneous equations can be asked for all parameter values in the formula 15.
The left side video camera O of the centre of perspectivity lSubpoint in right image planes is utmost point center outside the right side
Figure G2009100541302D00142
The in like manner right video camera O of the centre of perspectivity rSubpoint in left image planes is utmost point center outside the left side
Figure G2009100541302D00143
Any 1 P of left side image planes l *Outer polar curve P in right image planes r *e rOn, any 1 P of in like manner right image planes r *Outer polar curve P in left image planes l *e lOn, therefore outer polar curves all on the left and right image planes can find the solution outer polar curve equation according to left and right cameras coordinate corresponding relation all through left and right outer utmost point center.If outer polar curve slope is k on the left image planes l, and cross e lThe point; Outer polar curve slope on right image planes is k r, and cross e rPoint is derived k lTo k rTransformation relation and k rTo k lTransformation relation:
k r = - t lrz ( r lr 4 + r lr 5 k l ) - t lry ( r lr 7 + r lr 8 k l ) t lrx ( r lr 7 + r lr 8 k l ) - t lrz ( r lr 1 + r lr 2 k l ) ;
k l = - t rlz ( r rl 4 + r rl 5 k r ) - t rly ( r rl 7 + r rl 8 k r ) t rlx ( r rl 7 + r rl 8 k r ) - t rlz ( r rl 1 + r rl 2 k r ) (formula 16)
For the curve after finding the solution, outer utmost point characteristic capable of using is sought corresponding point along curve.Suppose that the left view curve image is a reference picture, then right view is an image to be matched, at first obtains along any point P of left view label curve l *With utmost point center e outside the left side lThe slope k of line l, ask P again l *The slope k of polar curve outside right view r, by slope k rWith polar curve center e outside the right side rObtain outer polar curve.Utilize the fuzzy similarity method to realize the accurate coupling of angle point in left and right two views again, Fig. 8 is illustrated in the effect of seeking angle point in left and right two views and realizing coupling, and red point is a match point on the correct line among the figure, and yellow point is wrong global registration point.
Actual mechanical process need be obtained abundant three-dimensional angle point from the digital picture of left and right view, as: in 700 meters long stock grounds, build together and found 1400 three-dimensional angle points (each point of every meter stacker and reclaimer).The coordinate of these three-dimensional angle points is based on unified stock ground world coordinate system, obtains the spatial coordinate point through aforesaid method, and proofreaies and correct according to the material machine translational coordination that the stroke position encoder provides, and standard is to unified stock ground world coordinate system.The X of stock ground world coordinate system WThe axle perpendicular to ground, Y WAxle is parallel to ground, Z WThe axle perpendicular to track, the lower left corner of coordinate origin planimetric map in the stock ground.
Confirming of the 8th step, object point D coordinates value
With the angular coordinate (u that matees each other in the left and right view l, v l), (u r, v r) convert corresponding world coordinate (X into Wl, Y Wl, Z Wl) and (X Wr, Y Wr, Z Wr).
Because the slight error of Effects of Noise and calibrating parameters when video camera imaging model and nonideal pinhole imaging system and CCD imaging; The capital makes being connected straight line and may not intersecting at the space a bit of object point conversion coordinate and the centre of perspectivity in the left and right view; And these two straight lines can not be parallel, so these two straight lines certainly will be different surface beelines.In other words, generally speaking, (X Wl, Y Wl, Z Wl) and (X Wr, Y Wr, Z Wr) can not overlap fully, therefore need be employed in the best fit approximation that the method for asking for intermediate value on the common vertical line of above-mentioned two straight lines obtains the object point volume coordinate at last.
On how much, the error of the mid point approximate spatial point of use different surface beeline common vertical line is less.In concrete the calculating, at first calculate the bee-line of two different surface beelines, i.e. the length of common vertical line.If the length of common vertical line is shorter, we just suppose that the mid point of common vertical line is a point to be asked (when the length of common vertical line was 0, two different surface beelines were intersecting straight lines, and intersection point is point to be asked); If common vertical line is oversize, can conclude that so the match point in the left and right view that is obtained is too big at the coupling time error, this point should be given up.
The 9th goes on foot, in world coordinate system, carries out surface interpolation and set up height map
To 1400 discrete pixels that image shows on full black background, must between adjacent discrete point, adopt Bei Saier surface interpolation algorithm to carry out interpolation to form one near actual continuous height map.Height map has comprised about the full detail in stock ground and has stored for use in follow-up depth analysis and data of database as the main result of image processing system.Height map is a plane gray level image; The X-direction of horizontal direction and world coordinate system is consistent; Vertical direction is consistent with Z-direction, and the height of the pixel grey scale of certain point (0~255) and this point (Y component) is directly proportional, with 0 meter of minimum point corresponding to 0 (complete black); 16 meters of peaks are as 255 (complete white), and middle height is corresponding to corresponding grey.
Each pixel is represented 0.5 * 0.5m 2, this is the image of a 1440 * 96pixel, can express the complete stock ground of 720m * 48m, wherein any point corresponding corresponding position height.
Digital picture is deposited the analysis for next step with the BMP form, and the information interaction that is used for data base management system (DBMS).
The tenth step, cubing
1. definition: highly be lower than 0.5 meter be defined as " vacant lot ", i.e. windrow not.At first from first to last seek vacant lot, the position judgment that occurs continuously according to vacant lot should be divided into several stockpiles with the stock ground, gets rid of pseudo-stockpile and the noise that very little fluctuating causes simultaneously, obtains the position of the initial sum termination of each stockpile.
2. intercepting goes out a material stack height figure from the height map of stock ground.
Theoretically, this is the computing of a cube integration, and is rather complicated, but utilizes data in the height map to calculate the volume of stockpile, just seems very simple and direct, directly perceived.
The true altitude that makes the gray-scale value representative of some pixels in the height map is h i, floorage is δ i, the pixel of i for participating in calculating, i=1,2, K, n, the pixel sum of n for participating in calculating, therefore, all how much irregular material stack volume V all can calculate according to following formula:
V = Σ i = 1 n δ i h i (formula 17)
Work as δ i=const=0.25m 2The time, formula 17 can directly be expressed as
V = 0.25 Σ i = 1 n h i (formula 18)
When being " vacant lot " below the definition 0.5m, carry out the volume computing with the rectangular bottom surface zone that comprises stockpile, formula can also be expressed as:
V = d x d y [ Σ l m Σ k n h kl - 0.5 m × n ] (formula 19)
In the formula, h KlBe k row, pixel respective heights that l is capable, k=1,2, K, n, n are the total columns of pixel, l=1,2, K, m, m are the total line number of pixel, dx, dy be respectively pixel capable to row to the pairing actual range in interval, unit is m.Adopt formula 19 to carry out volume calculation; As long as the rectangle of an intercepting figure has comprised the stockpile that requires calculating in height map; Can go to take into account the regularity of distribution of this boundary line, stockpile bottom surface; Therefore can simplify many computation process, save CPU operation time, very convenient, simple and direct to computer programming.

Claims (6)

1. one kind large-scale stock ground stockpile vision measuring method is characterized in that, may further comprise the steps:
Step 1, structure stock ground vision measurement system; Form by the first binocular vision subsystem, the second binocular vision subsystem and server three parts, the image information processing module of server receive handle behind the signal of the first binocular vision subsystem, the second binocular vision subsystem and computing after output finally to identification, understanding and the measurement result of image information;
Step 2, installation binocular vision subsystem; The first binocular vision subsystem is installed on stacker near on stockpile one side frame; The second binocular vision subsystem is installed on reclaimer near on stockpile one side frame, in the first and second binocular vision subsystems separately the installation of two ccd video cameras should follow: the photocentre of two ccd video cameras is in same surface level and two optical axises and two photocentre lines and forms an isosceles triangle;
Step 3, set up the ccd video camera geometric model; Comprise: the conversion to the computer picture coordinate system of mathematical model, normalization imaginary plane image coordinate system distortional point coordinate is corrected in pattern distortion in the conversion of world coordinate system and camera coordinate system, desirable perspective projection transformation, the normalization imaginary plane image coordinate system, obtains to be tied to from world coordinates the mapping relations equation of computer picture coordinate system at last;
Step 4, ccd video camera parameter calibration; Comprise inner parameter and external parameter, adopt the substep scaling method, the aspect ratio of first uncalibrated image and principal point coordinate; Utilize the radial parallel constraint again; Find the solution most external parameter, introduce distortion model, linear solution inner parameter and translational movement at last again;
Step 5, IMAQ, two binocular vision subsystems are respectively along with the walking online acquisition stockpile and the stock ground image of stacker-reclaimer; Each binocular vision subsystem can be gathered two width of cloth images through two ccd video cameras wherein simultaneously in each sampling instant; In front end signal processor, preserve image sequence; And, accept simultaneously to require the front end signal processor on the stacker-reclaimer to transmit digital picture to upper server by the remote control program steering order with after this two width of cloth image process pre-service; Server can receive four width of cloth images simultaneously in each sampling instant; Comprise each two width of cloth image from first, second binocular vision subsystem; Per two width of cloth images are left and right two width of cloth images; Between whole sampling period, all images that collect form two groups of left and right sides views of first, second binocular vision subsystem respectively to sequence;
Step 6, Flame Image Process; The removal of images distortion; By computer picture coordinate system pixel coordinate (u; (u is v) at normalization imaginary plane image coordinate system distortional point coordinate (x v) to ask for corresponding point through normalization imaginary plane image coordinate system distortional point coordinate to the transfer equation calculating of computer picture coordinate system d, y d), again with (x d, y d) value transport in the substitution normalization imaginary plane image coordinate system pattern distortion and correct mathematical model and carry out inversion operation, therefore try to achieve the normalization imaginary plane image coordinate system ideal point coordinate (x that corrects after the distortion u, y u), again by ideal point coordinate (x u, y u) alternative (x d, y d) value substitution normalization imaginary plane image coordinate system in pattern distortion correct mathematical model and obtain corresponding point (u, v) new coordinate figure, promptly new pixel position; All pixel coordinates in the computer picture coordinate system (u, v) pass through the aforementioned calculation process one by one after, just can obtain the ideal alignment of pixel on picture, the recovery of promptly true scene image in other words, obtains the ideal image that a width of cloth reflects true scenery;
The searching of step 7, angle point and coupling are sought several angle points as the marginal point of representing tool characteristic in sampled images, adopt the Corner Detection Algorithm based on gradation of image, mainly reach the purpose that detects angle point through computing curvature and gradient; To in left and right view, seeking with it the point of coupling the most under the guidance of the angle point of seeking out polar curve constraint outside; Actual mechanical process need be obtained abundant three-dimensional angle point from the digital picture of left and right view;
Confirming of step 8, object point D coordinates value, the angular coordinate (u that in left and right view, matees each other l, v l), (u r, v r) can convert corresponding world coordinate (X into through the mapping relations equation that is tied to the computer picture coordinate system from world coordinates Wl, Y Wl, Z Wl) and (X Wr, Y Wr, Z Wr), adopt and ask for spatial point (X Wl, Y Wl, Z Wl), (X Wr, Y Wr, Z Wr) respectively with its separately the method for the common vertical line intermediate value of two straight lines being connected of the video camera centre of perspectivity obtain the best fit approximation of object point volume coordinate at last;
Step 9, in world coordinate system, carry out surface interpolation and set up height map; To limited the discrete pixel that image shows on full black background, must between adjacent discrete point, adopt Bei Saier surface interpolation algorithm to carry out interpolation to form one near actual continuous height map; This height map has comprised about the full detail in stock ground and has stored for use in follow-up depth analysis and data of database as the main result of image processing system;
Step 10, cubing; At first, definition " vacant lot ", the i.e. floor level of windrow not; From first to last seek vacant lot; The position judgment that occurs continuously according to vacant lot should be divided into several stockpiles with the stock ground, and gets rid of pseudo-stockpile and noise that very little fluctuating causes, obtains the position of the initial sum termination of each stockpile; Secondly, intercepting goes out a material stack height figure from the height map of stock ground; The true altitude that makes the gray-scale value representative of some pixels in the height map is h i, it highly is h that the volume of this place's stockpile can be regarded as by limited i, floorage is δ iLittle rectangular parallelepiped add up and form, the pixel of i for participating in calculating, i=1,2 ..., n, the pixel sum of n for participating in calculating, therefore, all how much irregular material stack volume V all can calculate according to following formula:
Figure FSB00000642456600021
2. large-scale stock ground according to claim 1 stockpile vision measuring method; It is characterized in that; Each binocular vision subsystem in the vision measurement system of described structure stock ground comprises: two ccd video cameras, image pick-up card, front end signal processor, two photoelectric commutators and optical fiber; Left and right ccd video camera walks abreast the left and right view that is collected in sampling instant and inputs to image pick-up card; Image pick-up card converts original image data image signal to and transports to front end signal processor; Front end signal processor is removed noise and is strengthened pre-service digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal, light signal is through Optical Fiber Transmission to the second photoelectric commutator; Second photoelectric commutator converts image light signals to electric signal again, and last, electric signal inputs to the image information processing module of server through the input interface of server; The left and right view simulating signal that first, second binocular vision subsystem will collect respectively separately walks abreast and transports to the image pick-up card in this subsystem; Image pick-up card converts image analoging signal data image signal to and transports to front end signal processor; Front end signal processor is removed noise and is strengthened pre-service digital picture; Through first photoelectric commutator electrical signal conversion is become light signal through pretreated data image signal; Light signal is through Optical Fiber Transmission to the second photoelectric commutator, and second photoelectric commutator converts image light signals to electric signal again, and is last; Electric signal inputs to the image information processing module of server through first input interface of server, server with data image signal handle with computing after output finally to identification, understanding and the measurement result of image information.
3. large-scale stock ground according to claim 1 stockpile vision measuring method is characterized in that, described ccd video camera parameter calibration is specific as follows:
The external parameter that ccd video camera need be demarcated: comprise R and t, promptly
R t = r 1 r 2 r 3 t x r 4 r 5 r 6 t y r 7 r 8 r 9 t z
Totally 12, but, must satisfy 6 quadrature constraints because of R is the unit orthogonal matrix, so in fact have only 6 external parameters to need to demarcate;
Inner parameter: comprise f, k 1, s xAnd c x, c y, totally 5;
At first confirm the aspect ratio of image, vertically take an annulus, calculate then its in the horizontal direction with vertical direction on pixel diameter ratio be aspect ratio s x
Secondly take same scenery with the different focal of camera, calculate its convergent-divergent center then and obtain principal point coordinate (c x, c y);
Find the solution R and t through setting transition parameter at last x, t y, R is a rotation matrix, R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 , t x, t yBe translation vector t = t x t y t z Element, the orthogonality according to R calculates effective focal length f, coefficient of radial distortion k then 1With translational movement t z
4. according to the described large-scale stock ground of any claim stockpile vision measuring method in the claim 1~3, it is characterized in that, saidly in world coordinate system, carry out surface interpolation and set up height map, specific as follows:
Image is shown abundant discrete pixel on full black background; Between adjacent discrete point, adopt Bei Saier surface interpolation algorithm to carry out interpolation to form one near actual continuous height map; This height map has comprised about the full detail in stock ground and has stored for use in follow-up depth analysis and data of database as the main result of image processing system, and height map is a plane gray level image; The X-direction of horizontal direction and world coordinate system is consistent; Vertical direction is consistent with Z-direction, and the height of the pixel grey scale of certain point and this point is that the Y component is directly proportional, and 0 meter of minimum point is black entirely corresponding to 0; 16 meters of peaks are complete white as 255, and middle height is corresponding to corresponding grey;
Each pixel is represented an area, and corresponding entire image is just being represented a specific length * wide stock yard, wherein any point corresponding corresponding position height;
Digital picture is deposited the analysis for next step with the BMP form, and the information interaction that is used for data base management system (DBMS).
5. large-scale stock ground according to claim 4 stockpile vision measuring method is characterized in that said each pixel is represented 0.5 * 0.5m 2, the image of a 1440 * 96pixel is just represented the complete stock ground of 720m * 48m.
6. according to the described large-scale stock ground of any claim stockpile vision measuring method in the claim 1~3, it is characterized in that, said cubing, specific as follows:
1. definition: highly be lower than 0.5 meter be defined as " vacant lot ", i.e. windrow not; At first from first to last seek vacant lot, the position judgment that occurs continuously according to vacant lot should be divided into several stockpiles with the stock ground, gets rid of pseudo-stockpile and the noise that very little fluctuating causes simultaneously, obtains the position of the initial sum termination of each stockpile;
2. intercepting goes out to comprise the rectangle figure that stockpile is calculated in requirement from the height map of stock ground, and the true altitude that makes the gray-scale value representative of some pixels in the height map is h i, floorage is δ i, the pixel of i for participating in calculating, i=1,2 ..., n, the pixel sum of n for participating in calculating, therefore, all how much irregular material stack volume V all can be according to formula
Figure FSB00000642456600042
Calculate, work as δ i=const=0.25m 2The time, can also directly be expressed as V = 0.25 Σ i = 1 n h i ,
When being " vacant lot " below the definition 0.5m, carry out the volume computing with the rectangular bottom surface zone that comprises stockpile, formula can also be expressed as:
Figure FSB00000642456600052
In the formula, h KlBe k row, pixel respective heights that l is capable, k=1,2 ..., n, n are the total columns of pixel, l=1,2 ..., m, m are the total line number of pixel, dx, dy be respectively pixel capable to row to the pairing actual range in interval, unit is m.
CN2009100541302A 2009-06-30 2009-06-30 Visual measuring method of stockpile in large-scale stock ground Active CN101936761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100541302A CN101936761B (en) 2009-06-30 2009-06-30 Visual measuring method of stockpile in large-scale stock ground

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100541302A CN101936761B (en) 2009-06-30 2009-06-30 Visual measuring method of stockpile in large-scale stock ground

Publications (2)

Publication Number Publication Date
CN101936761A CN101936761A (en) 2011-01-05
CN101936761B true CN101936761B (en) 2012-02-15

Family

ID=43390210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100541302A Active CN101936761B (en) 2009-06-30 2009-06-30 Visual measuring method of stockpile in large-scale stock ground

Country Status (1)

Country Link
CN (1) CN101936761B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2829842A1 (en) * 2013-07-22 2015-01-28 Hexagon Technology Center GmbH Method and system for volume determination using a structure from motion algorithm
CN104484033A (en) * 2014-11-21 2015-04-01 上海同筑信息科技有限公司 BIM based virtual reality displaying method and system

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103000074A (en) * 2011-09-19 2013-03-27 上海东方明珠广播电视研究发展有限公司 Conversion method and conversion system for electronic maps with height information
CN103644841A (en) * 2013-09-30 2014-03-19 爱彼思(苏州)自动化科技有限公司 Location degree measurement method for circle center of inclined hole
CN106017325B (en) * 2014-07-16 2018-11-02 佛山科学技术学院 Improved non-contact optical measurement method for complex surface and irregular object volume
CN105466523B (en) * 2014-09-12 2019-09-17 航天信息股份有限公司 The measurement method and device of heap grain height based on single camera image
CN105277144A (en) * 2015-10-16 2016-01-27 浙江工业大学 Land area rapid detection method based on binocular vision and detection device thereof
CN106610263A (en) * 2015-10-22 2017-05-03 宝山钢铁股份有限公司 A large-scale stockyard all-weather measurement system and method
CN105987685A (en) * 2016-07-04 2016-10-05 西北农林科技大学 Auxiliary system for insect behavioral research based on binocular vision
CN107808400B (en) * 2017-10-24 2021-11-26 上海交通大学 Camera calibration system and calibration method thereof
CN108225502B (en) * 2017-12-06 2019-08-23 中南大学 A kind of truck loads ore quality estimation method and system
CN108107837B (en) * 2018-01-16 2023-07-11 三峡大学 Glass processing device and method based on visual guidance
CN108765484B (en) * 2018-05-18 2021-03-05 北京航空航天大学 Living insect motion acquisition and data reconstruction method based on two high-speed cameras
CN109034694B (en) * 2018-07-12 2021-02-12 广东人励智能工程有限公司 Production raw material intelligent storage method and system based on intelligent manufacturing
CN109030490B (en) * 2018-07-18 2020-12-11 芜湖固高自动化技术有限公司 Laser scanning method for preventing stacking collapse for freight transportation
CN111062983B (en) * 2018-10-17 2023-09-05 杭州海康机器人股份有限公司 Object volume display method and device
CN109896187B (en) * 2019-03-05 2022-06-07 江苏海宏信息科技有限公司 Silo material weight measurement system
CN110411530A (en) * 2019-03-21 2019-11-05 重庆大学 A kind of intelligent identification Method of container residual volume
TWI717815B (en) * 2019-08-26 2021-02-01 中國鋼鐵股份有限公司 Reserve calculation method for automatic material pile scanning
CN112053324A (en) * 2020-08-03 2020-12-08 上海电机学院 Complex material volume measurement method based on deep learning
CN112037192A (en) * 2020-08-28 2020-12-04 西安交通大学 Method for collecting burial depth information in town gas public pipeline installation process
CN112541951A (en) * 2020-11-13 2021-03-23 国网浙江省电力有限公司舟山供电公司 Monitoring system and monitoring method for preventing ship from hooking off cross-sea overhead power line
JP2022170828A (en) * 2021-04-30 2022-11-11 株式会社日立製作所 Inventory management apparatus, program, and inventory management method
CN113252103A (en) * 2021-05-11 2021-08-13 安徽理工大学 Method for calculating volume and mass of material pile based on MATLAB image recognition technology
CN113392503B (en) * 2021-05-14 2022-10-28 邯郸钢铁集团有限责任公司 Method for calculating storage capacity of B-type stock yard of stock yard
CN113483710B (en) * 2021-06-29 2022-04-01 国能黄骅港务有限责任公司 Method for constructing material pile height calculation model and material pile height measurement method
CN113507599B (en) * 2021-07-08 2022-07-08 四川纵横六合科技股份有限公司 Education cloud service platform based on big data analysis
CN113533145A (en) * 2021-07-09 2021-10-22 清华大学 Rockfill particle size identification and monitoring device and method based on camera set three-dimensional reconstruction
CN113847905B (en) * 2021-08-19 2024-02-02 深圳特科动力技术有限公司 Three-dimensional binocular recognition slope detection method
CN114943755B (en) * 2022-07-25 2022-10-04 四川省产品质量监督检验检测院 Processing method for three-dimensional reconstruction of phase image based on binocular structured light
CN115018903B (en) * 2022-08-10 2022-12-20 安维尔信息科技(天津)有限公司 Method and system for calculating volume of stock pile in stock yard
CN116834026B (en) * 2023-09-04 2023-11-28 广州侨益科技有限公司 Automatic inventory monitoring method, robot and network system for warehouse bulk material pile

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2457576Y (en) * 2000-11-29 2001-10-31 沈阳华岩电力技术有限公司 Laser measurer for stock ground reserve
FR2838824A1 (en) * 2002-04-19 2003-10-24 Sogem Fl Assembly to fill biscuits and the like, using cream or chocolate, has an actuator to make repeated and automatic deposits under control, with a camera monitor unit linked to a computer for self-correction of deposit volumes
JP3637960B2 (en) * 2000-06-22 2005-04-13 住友金属鉱山株式会社 A method for measuring volume or weight of granular aggregates at high temperature
CN1687700A (en) * 2005-04-15 2005-10-26 东南大学 Method for testing storage quantity of coal through stereoscopic vision
CN1693841A (en) * 2005-05-26 2005-11-09 上海交通大学 Automatic measuring method of computer visual system for stock ground measuring
CN101231750A (en) * 2008-02-21 2008-07-30 南京航空航天大学 Calibrating method of binocular three-dimensional measuring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3637960B2 (en) * 2000-06-22 2005-04-13 住友金属鉱山株式会社 A method for measuring volume or weight of granular aggregates at high temperature
CN2457576Y (en) * 2000-11-29 2001-10-31 沈阳华岩电力技术有限公司 Laser measurer for stock ground reserve
FR2838824A1 (en) * 2002-04-19 2003-10-24 Sogem Fl Assembly to fill biscuits and the like, using cream or chocolate, has an actuator to make repeated and automatic deposits under control, with a camera monitor unit linked to a computer for self-correction of deposit volumes
CN1687700A (en) * 2005-04-15 2005-10-26 东南大学 Method for testing storage quantity of coal through stereoscopic vision
CN1693841A (en) * 2005-05-26 2005-11-09 上海交通大学 Automatic measuring method of computer visual system for stock ground measuring
CN101231750A (en) * 2008-02-21 2008-07-30 南京航空航天大学 Calibrating method of binocular three-dimensional measuring system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
.双目视觉测量***的标定及3维测量.《中国图象图形学报》.2008,1298-1231.
夏艳,苏中,吴细宝
夏艳,苏中,吴细宝;.双目视觉测量***的标定及3维测量.《中国图象图形学报》.2008,1298-1231. *
梁志远,贺贵明,吴元保.计算机视觉测量堆料体积中的摄像机定标方法.《计算机应用研究》.2004,134-135. *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2829842A1 (en) * 2013-07-22 2015-01-28 Hexagon Technology Center GmbH Method and system for volume determination using a structure from motion algorithm
CN104330022A (en) * 2013-07-22 2015-02-04 赫克斯冈技术中心 Method and system for volume determination using a structure from motion algorithm
CN104330022B (en) * 2013-07-22 2018-06-19 赫克斯冈技术中心 Method and system is determined using the volume of structure from motion algorithm
CN104484033A (en) * 2014-11-21 2015-04-01 上海同筑信息科技有限公司 BIM based virtual reality displaying method and system
CN104484033B (en) * 2014-11-21 2017-10-03 上海同筑信息科技有限公司 Virtual reality display method and system based on BIM

Also Published As

Publication number Publication date
CN101936761A (en) 2011-01-05

Similar Documents

Publication Publication Date Title
CN101936761B (en) Visual measuring method of stockpile in large-scale stock ground
CN111473739B (en) Video monitoring-based surrounding rock deformation real-time monitoring method for tunnel collapse area
Bosch et al. A multiple view stereo benchmark for satellite imagery
CN102003938B (en) Thermal state on-site detection method for large high-temperature forging
Lavest et al. Three-dimensional reconstruction by zooming
CN112894832A (en) Three-dimensional modeling method, three-dimensional modeling device, electronic equipment and storage medium
CN106780712B (en) Three-dimensional point cloud generation method combining laser scanning and image matching
CN104657981B (en) Dynamic compensation method for three-dimensional laser distance metering data of mobile robot in moving process
CN105160702A (en) Stereoscopic image dense matching method and system based on LiDAR point cloud assistance
CN105931234A (en) Ground three-dimensional laser scanning point cloud and image fusion and registration method
CN103426165A (en) Precise registration method of ground laser-point clouds and unmanned aerial vehicle image reconstruction point clouds
CN101936760B (en) Vision measuring system for large stockyard and stockpile
CN103278138A (en) Method for measuring three-dimensional position and posture of thin component with complex structure
CN102938142A (en) Method for filling indoor light detection and ranging (LiDAR) missing data based on Kinect
CN103295239A (en) Laser-point cloud data automatic registration method based on plane base images
CN101551907B (en) Method for multi-camera automated high-precision calibration
CN109141226A (en) The spatial point coordinate measuring method of one camera multi-angle
CN102519434A (en) Test verification method for measuring precision of stereoscopic vision three-dimensional recovery data
CN101246595A (en) Multi-view point data splitting method of optical three-dimensional scanning system
CN110070567A (en) A kind of ground laser point cloud method for registering
US6175648B1 (en) Process for producing cartographic data by stereo vision
CN109920009B (en) Control point detection and management method and device based on two-dimensional code identification
Mi et al. A vision-based displacement measurement system for foundation pit
CN113034678A (en) Three-dimensional rapid modeling method for dam face of extra-high arch dam based on group intelligence
CN111914615A (en) Fire-fighting area passability analysis system based on stereoscopic vision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant