CN109242908A - Scaling method for underwater two CCD camera measure system - Google Patents
Scaling method for underwater two CCD camera measure system Download PDFInfo
- Publication number
- CN109242908A CN109242908A CN201810761859.2A CN201810761859A CN109242908A CN 109242908 A CN109242908 A CN 109242908A CN 201810761859 A CN201810761859 A CN 201810761859A CN 109242908 A CN109242908 A CN 109242908A
- Authority
- CN
- China
- Prior art keywords
- camera
- underwater
- coordinate
- comers
- scaling method
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000005457 optimization Methods 0.000 claims abstract description 47
- 239000011159 matrix material Substances 0.000 claims abstract description 37
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 238000005259 measurement Methods 0.000 claims abstract description 16
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 15
- 238000013461 design Methods 0.000 claims abstract description 8
- 230000003287 optical effect Effects 0.000 claims description 32
- 230000009466 transformation Effects 0.000 claims description 11
- 238000003384 imaging method Methods 0.000 claims description 10
- 238000012937 correction Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000000053 physical method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention belongs to undersea detections and field of measuring technique, it is intended to the problem of solving existing underwater two CCD camera measure system and do not have generality, can not being applied to the higher occasion of precision, thus not be able to satisfy all undersea detections and measurement demand.For this purpose, demarcating in air to binocular camera the present invention provides a kind of scaling method for underwater two CCD camera measure system, Intrinsic Matrix and distortion parameter are obtained;It shoots the line distortion of going forward side by side of tessellated image using binocular camera under water to correct, detection obtains X-comers, measures corner location coordinate by reflecting relationship under water;According to relative positional relationship design optimization target between X-comers, the calibration of underwater two CCD camera measure system is completed with multiple-objection optimization.The measurement accuracy of underwater two CCD camera measure system can be improved in the present invention, can meet the needs of precision high field conjunction, improve the generality of underwater two CCD camera measure system, be able to satisfy all undersea detections and measurement demand.
Description
Technical field
The invention belongs to undersea detections and field of measuring technique, specifically provide a kind of for underwater two CCD camera measure system
Scaling method.
Background technique
As an important branch of marine survey technology, the undersea detection based on underwater robot is made extensively
With.In the undersea detection and measurement using robot vision technology, since vision system is mostly protected by anti-sump, lead to light
Occur to reflect twice when entering camera, aerial camera calibration technology not can be used directly the calibration in underwater camera.
It, in the prior art can be big about the solution of this problem for refraction to the influence during camera imaging
Cause is divided into five classes, and the first kind is physical method, offsets refraction effect by designing special optical component, the method is to optical section
The technique requirement of part is very high, is not easy to manufacture;Second class is the method using auxiliary plane, that is, passes through an auxiliary calibration
Plate determines direction vector when light incidence, but the operation of the method is more complicated, is not suitable for promoting and applying;Third class side
Refraction is treated as focal length variations by method, but when angle of incidence of light is big, error also can be very big using the method, to cause to survey
It is larger to measure deviation;4th class is that the error reflected under water is regarded as lens distortion, is corrected processing to image, this method is
Linear national forest park in Xiaokeng is continued to use, error is still very big;5th class is to establish the refraction model of underwater camera, is carried out
The accuracy of the calibration of underwater camera, this mode is higher.
At home, underwater camera refraction model has been carried out there are many researcher of company and university and has widely ground
Study carefully, and proposes the underwater camera scaling method based on multilayer planar refraction geometry and the underwater measurement system mark based on population
It is the methods of fixed, such as in the patent that number of patent application is CN201511019268.0, propose a kind of underwater camera calibration side
Method, the patent is although it is contemplated that the influence of underwater refraction, but its method assumes that camera imaging plane normal vector and refraction
Plane normal vector is parallel, and has ignored the wall thickness of anti-sump, therefore does not have generality, i.e., in the higher application of precision
It can not apply, not be able to satisfy the demand of all undersea detections and measurement.
Therefore, this field needs the scaling method for underwater two CCD camera measure system of one kind newly to solve above-mentioned ask
Topic.
Summary of the invention
In order to solve the above problem in the prior art, do not have in order to solve existing underwater two CCD camera measure system
Generality can not be applied to the higher occasion of precision, thus the problem of be not able to satisfy all undersea detections and measurement demand.This
Invention provides a kind of scaling method for underwater two CCD camera measure system, which includes position
First camera in left side and the second camera positioned at right side, the scaling method include:
First camera and second camera are demarcated in air, obtain the intrinsic parameter square of first camera and second camera
Module and carriage transformation matrix between battle array, distortion factor and first camera and second camera;
Tessellated image is shot by first camera and second camera under water;
Distortion school is carried out to the image of first camera by the distortion factor of the Intrinsic Matrix of first camera, first camera
Just, distortion correction is carried out to the image of second camera by the distortion factor of the Intrinsic Matrix of second camera, second camera;
Using the method for Corner Detection, coordinate and gridiron pattern angle of the X-comers on the image of first camera are obtained
Coordinate of the point on the image of second camera;
Obtain the measured value of corner location coordinate;
It is excellent by multiple target using the optimization aim of the relative positional relationship design calibration process of scaling board X-comers
The underwater two CCD camera measure system is demarcated in change.
In the optimal technical scheme of above-mentioned scaling method, " first camera and second camera are being marked in air
It is fixed, obtain the position between the Intrinsic Matrix, distortion factor and first camera and second camera of first camera and second camera
Before the step of appearance transformation matrix ", the scaling method further include:
Set first camera and the underwater precompensation parameter value of second camera.
In the optimal technical scheme of above-mentioned scaling method, the step of measured value of corner location coordinate " obtain ", is specifically wrapped
It includes:
The precompensation parameter value is substituted into following equation, it may be assumed that
P=f (Pl,Pr,R,dl,dr,h,nx,ny,nz),
Obtain the measured value of corner location coordinate, wherein
P indicates the position of submarine target point, PlAnd PrRespectively indicate pixel of the target point in the image of first camera with
And the pixel in the image of second camera, module and carriage transformation matrix of the R between first camera and second camera, dlAnd drRespectively
Indicate that the optical center of first camera is flat to first layer refraction to the vertical range of first layer plane of refraction and the optical center of second camera
The vertical range in face, h are the thickness of the anti-sump of the underwater two CCD camera measure system, nx, nyAnd nzIt is plane of refraction normal direction
Measure the x-axis on the basis of first camera coordinate system, y-axis, the coordinate components of z-axis.
The precompensation parameter value is referred to { dl,dr,h,nx,ny,nzEstimation.
In the optimal technical scheme of above-mentioned scaling method, " set using the relative positional relationship of scaling board X-comers
The optimization aim for counting calibration process, demarcates the underwater two CCD camera measure system by multiple-objection optimization " the step of
It specifically includes:
Set the first optimization aim, it may be assumed that
min∑(|Cm i,j-Cm i+1,j|+|Cm i,j-Cm i,j+1| -2w),
Wherein, the measured value of corner location coordinate is Cm i,j, i is the horizontal direction serial number of X-comers, and j is gridiron pattern
The vertical direction serial number of angle point, w are the side length of the gridiron pattern grid;
Set the second optimization aim, it may be assumed that
Set third optimization aim, it may be assumed that
It is optimized based on the first optimization aim, the second optimization aim and third optimization aim, thus to described underwater
Two CCD camera measure system is demarcated.
In the optimal technical scheme of above-mentioned scaling method, the Intrinsic Matrix of the first camera are as follows:
Wherein, fxlAnd fylFor the focal length of first camera, xolAnd yolFor the principal point coordinate relative to imaging plane.
In the optimal technical scheme of above-mentioned scaling method, the Intrinsic Matrix of the second camera are as follows:
Wherein, fxrAnd fyrFor the focal length of second camera, xorAnd yorFor the principal point coordinate relative to imaging plane.
It will be appreciated to those of skill in the art that in the preferred technical solution of the present invention, it in air can be to
One camera and second camera are demarcated to obtain the Intrinsic Matrix of first camera and second camera and distortion factor, then
Tessellated image is shot by first camera and second camera under water, then by the Intrinsic Matrix of first camera and abnormal
Variable coefficient is corrected the tessellated image that first camera takes, and is by the Intrinsic Matrix and distortion of second camera
The tessellated image that several pairs of second cameras take is corrected, and next obtains gridiron pattern angle using the method for Corner Detection
Point finally combines angle point in the coordinate of coordinate and X-comers on the image of second camera on the image of first camera
The measured value of position coordinates demarcates underwater two CCD camera measure system, in this way, can be improved underwater
The measurement accuracy of two CCD camera measure system can meet the needs of precision high field conjunction, improve underwater binocular vision and survey
The generality of amount system can meet all undersea detections and measurement demand, and then can be widely applied to regard under water
The fields such as feel accurately measures, undersea detection and underwater robot operation.
Further, by the first optimization aim of setting, the second optimization aim and third optimization aim, that is, scaling board is used
The relative positional relationship of X-comers designs the optimization aim of calibration process, in this way can turn problem of calibrating
It is changed to multi-objective optimization question, in optimization process, and underwater camera parameter is constantly updated, finally realizes underwater binocular vision
The calibration of measuring system, to accurately obtain the calibration result of underwater camera parameter.
Detailed description of the invention
Fig. 1 is underwater camera refraction model schematic diagram of the invention;
Fig. 2 is that underweater vision measuring system class trigonometric ratio of the invention determines aiming spot schematic diagram;
Fig. 3 is scaling board X-comers relative positional relationship design optimization object delineation of the invention;
Fig. 4 is that underweater vision measuring system of the invention demarcates measure of merit result schematic diagram.
Specific embodiment
The preferred embodiment of the present invention described with reference to the accompanying drawings.It will be apparent to a skilled person that this
A little embodiments are used only for explaining technical principle of the invention, it is not intended that limit the scope of the invention.
It should be noted that in the description of the present invention, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance.
The existing underwater two CCD camera measure system pointed out based on background technique does not have generality, can not be applied to precision
Higher occasion, thus the problem of be not able to satisfy all undersea detections and measurement demand.The present invention provides one kind to be used for water
The scaling method of lower two CCD camera measure system, it is intended to the measurement accuracy for improving underwater two CCD camera measure system, it can
Meet the needs of precision high field conjunction, improves the generality of underwater two CCD camera measure system, all underwater spies can be met
Survey and measurement demand.
In the present invention, due to being protected outside underwater camera by anti-sump, so light, which reaches target point from camera photocentre, to be needed
It by reflecting twice is connected surface (calling first layer plane of refraction in the following text) and anti-sump and water in air and anti-sump respectively
Connect surface (calling second layer plane of refraction in the following text).Therefore, it is necessary to first establish the refraction model of underwater camera, in this, it is assumed that refraction
It is parallel to each other between plane.
As shown in Figure 1, O is the optical center of camera, the bottom surface of triangle is camera imaging plane, and camera coordinates system is original with O
Point is established, and Z axis is camera optical axis direction, and X-direction is vertical with Z-direction as shown in Figure 1;Light reaches target point P from optical center
Optical path by twice refraction be divided into three sections, the direction vector of first segment to third section is respectively by r0, r1And r2It indicates;X0It indicates
The intersection point of optical path and imaging plane, i.e. coordinate of the picture point under camera coordinates system where target point, can be by image pixel coordinates
Point is found out by camera focus relationship;X1And X2The intersecting point coordinate of optical path and first layer plane of refraction where respectively indicating target point
With the intersecting point coordinate of optical path and second layer plane of refraction where target point;nπThe normal vector of plane of refraction is indicated, to keep general
Property, when analysis, are not parallel with optical axis direction;D and h respectively indicates vertical range and anti-sump of the optical center to first layer plane of refraction
Thickness, unit is millimeter;μ0, μ1And μ2Respectively represent the refractive index of air, anti-sump material and water.
With continued reference to Fig. 1, the direction vector of first segment optical path acquires according to the following equation (1), it may be assumed that
The intersecting point coordinate of optical path and first layer plane of refraction where target point is indicated by following formula (2), it may be assumed that
According to the law of refraction it is found that r0, r1And nπBetween meet following relationship, i.e. formula (3):
r1=α0r0+β0nπ
Wherein, α0=μ0/μ1,Similarly, X2And r2It can be acquired.Extremely
This, starting point and the direction vector of third section optical path where target point are it is found that the linear equation of target point third section optical path can be in the hope of
It takes.
By a camera, the linear equation of the third section of optical path, is but unable to get target where available target point
The position of point.As shown in Fig. 2, for the same target point, two optical paths will be obtained in two cameras in left and right, two articles of optical paths the
Three sections of linear equation can be acquired by the method for above-mentioned formula (1) (2) (3).Theoretically, two straight lines pass through left and right phase seat in the plane
After appearance transformation matrix R is transformed into the same coordinate system, the intersecting point coordinate of the two is the position of target point.But since processing misses
The presence of difference, two straight lines possibly can not intersect, then take the midpoint of two straight line common vertical lines as aiming spot, seek target
The method of point position is class Triangulation Algorithm.
So far, by establishing the refraction model of underwater camera, it can learn that target point position meets as follows in water
Non-linear relation, i.e., following formula (4):
P=f (Pl,Pr,R,dl,dr,h,nx,ny,nz)
In above-mentioned non-linear relation, P indicates the position of submarine target point, PlAnd PrTarget point is respectively indicated in left and right
Pixel in image, module and carriage transformation matrix of the R between the camera of left and right, dlAnd drLeft and right camera photocentre is respectively indicated to first
The vertical range of layer plane of refraction, h is the wall thickness of anti-sump, nx, nyAnd nzIt is plane of refraction normal vector with left camera coordinate system
On the basis of x, y, the coordinate components of z-axis.
For be elaborated formula (4) mathematical relationship calculation method, referring to Fig. 2, specific explanations are as follows:
The optical path of left and right camera where target point P and the intersection point of second layer plane of refraction are respectively PWG, lAnd PWG, r, target point
The direction vector of the third section optical path of the optical path of left and right camera is respectively r where PlWith rr;In PlAnd PrUnder the premise of known, root
It is easy to acquire intersection point P according to above-mentioned formula (1) (2) (3)WG, lAnd PWG, rAnd direction vector rlAnd rr;This sentences left camera optical path
For, derivation process is as follows:,
By camera focus relationship, by left image pixel coordinate PlIt is converted into coordinate under left camera coordinate system:
Plc=focal (Pl)
Wherein focal () indicates the function of zooming transform, and specific method is the very conventional prior art, is not explained in detail herein
It states;Next, left camera optical path and first layer plane of refraction intersection point P where target point PAG, lIt can be according to above-mentioned formula (1) (2) following formula
It acquires, it may be assumed that
Wherein
According to formula (3), the direction vector r of second segment optical path1,lIt can be obtained by following formula, it may be assumed that
r1,l=α0,lr0,l+β0,lnπ
Wherein α0,l=μ0/μ1,
Similar to formula (1) (2), left camera optical path and second layer plane of refraction intersection point P where target point PWG,lIt can lead to
It crosses and is acquired by following formula, it may be assumed that
Wherein nπ=(nx,ny,nz)
According to formula (3), the direction vector r of third section optical pathlIt can be obtained by following formula, it may be assumed that
rl=α1,lr1,l+β1,lnπ
Wherein α0,l=μ1/μ2,
It similarly, can be in the hope of the intersection point and third Duan Guang of camera optical path and second layer plane of refraction right where target point P
The direction vector on road;
At this point, obtained intersection point PWG, lAnd PWG, rAnd direction vector rlAnd rrIt is in respective camera coordinates system
In, it should mark transformation matrix by the seat of following formula and transform in left camera coordinates system, it may be assumed that
So far, it is known that in space straight line a little and its direction vector, then the left and right camera optical path where target point P
The linear equation of third section can acquire, so that the midpoint of the perpendicular bisector of two straight lines can also be acquired, the coordinate of target point P is
It can determine;The calculation method of linear equation and perpendicular bisector is the very conventional prior art, is not elaborated herein.
So needing to obtain accurate parameters described below set to obtain the exact position of target point, it may be assumed that
{R,dl,dr,h,nx,ny,nz}
Specifically, underwater two CCD camera measure system of the invention include anti-sump and be arranged in anti-sump first
Camera and second camera, wherein first camera is located at left side (left camera i.e. above-mentioned), and it is (i.e. above-mentioned that second camera is located at right side
Right camera), scaling method of the invention includes:
Step 1: in air demarcating first camera and second camera, obtains first camera and second camera
Module and carriage transformation matrix between Intrinsic Matrix, distortion factor and first camera and second camera;
The Intrinsic Matrix of first camera are as follows:
Wherein, fxlAnd fylFor the focal length of first camera, xolAnd yolFor the principal point coordinate relative to imaging plane.
The Intrinsic Matrix of second camera are as follows:
Wherein, fxrAnd fyrFor the focal length of second camera, xorAnd yorFor the principal point coordinate relative to imaging plane.
Step 2: tessellated image is shot by first camera and second camera under water;
Step 3: by the Intrinsic Matrix of first camera, first camera distortion factor to the image of first camera into
Line distortion correction carries out the image of second camera by the distortion factor of the Intrinsic Matrix of second camera, second camera abnormal
Become correction;
Step 4: using the method for Corner Detection, obtain coordinate of the X-comers on the image of first camera and
Coordinate of the X-comers on the image of second camera;
Step 5: the measured value of corner location coordinate is obtained;
Step 6: it is determined according to the relativeness of X-comers, devises three optimization aims, calibration process is converted
For multi-objective optimization question, to be demarcated to the underwater binocular measuring system.
In the present invention, before above-mentioned step one, underwater camera can be demarcated and joined rule of thumb with actual conditions
{ d in numberl,dr,h,nx,ny,nzValue range primarily determined, and assign reasonable initialization estimated value, that is, set
First camera and the underwater precompensation parameter value of second camera.During estimating, two cameras can be measured by ruler
The deflection of the anti-sump thickness of vertical range, camera and plane of refraction normal vector apart from first layer plane of refraction, so it is right
The value range of underwater camera calibrating parameters is primarily determined.It should be noted that precompensation parameter value can be with art technology
Personnel can actually answer by many experiments or the initialization estimated value obtained according to previous experiences, those skilled in the art
The selected mode of above-mentioned precompensation parameter value is flexibly set in.
In above-mentioned steps five, the camera parameter demarcated in above-mentioned underwater camera parameter prediction value and air is substituted into
In above-mentioned formula (4), to obtain the measured value C of corner location coordinatem i,j, to demarcate underwater camera parameter, the present invention is used
The relative positional relationship design optimization target of X-comers.As shown in figure 3, the opposite position between the tessellated angle point of scaling board
It sets known to relationship.Adjacent distance between two points are it is known that be the side length of gridiron pattern grid;Positioned at same horizontal line or same vertical
Angle point on line, combination of two at vector be parallel to each other;The vector that any two angle point in same horizontal line is combined into
It is parallel to each other with the vector for any two angle point composition being located on same vertical line.The measured value C of angle pointm i,j(i is gridiron pattern
The horizontal direction serial number of angle point, such as X-direction in Fig. 3, j is the vertical direction serial number of X-comers, such as Y-direction in Fig. 3), it answers
When meeting three of the above relative positional relationship, it is correspondingly made available following three optimization aim:
First optimization aim:
min∑(|Cm i,j-Cm i+1,j|+|Cm i,j-Cm i,j+1|-2w)
Wherein w is the side length of gridiron pattern grid;
Second optimization aim:
Third optimization aim:
Technical solution of the present invention is further illustrated below with reference to a specific embodiment, uses one piece 6 × 9
Gridiron pattern is 30 millimeters as scaling board, the side length of grid, carries out calibration experiment in accordance with the following steps.
Step 1: rule of thumb being primarily determined with actual conditions to the value range of underwater camera parameter, and assign
Give reasonable initialization estimated value.
Step 2: in air, being demarcated with gridiron pattern to binocular camera, obtaining the Intrinsic Matrix of left and right camera
IleftAnd Iright, distortion factor vector kleftAnd krightAnd the module and carriage transformation matrix R between the camera of left and right, data are as follows:
kleft=[- 0.1504-0.0114], kright=[- 0.1573 0.0096];
Wherein, in the first three rows of matrix R, first three is classified as the rotationally-varying relationship between first camera and second camera, most
Latter column represent the change in displacement relationship between first camera and second camera.
Step 3: under water, binocular camera shoots tessellated image, line distortion of going forward side by side correction.
Step 4: obtain the coordinate of X-comers in the picture with angular-point detection method, the wherein seat of left image angle point
It is designated as Pl i, right image angular coordinate is Pr i,j(i is the horizontal direction serial number of X-comers, and j is the vertical side of X-comers
To serial number), left images correspond to each other.
Step 5: the estimated value of underwater camera parameter is substituted into above-mentioned formula (4), the measured value of corner location coordinate is obtained
Cm i,j, i is the horizontal direction serial number of X-comers, and j is the vertical direction serial number of X-comers.
Step 6: the optimization aim of the relative positional relationship design calibration process using scaling board X-comers.Under water
The calibration process conversion of camera parameter constantly updates underwater camera by multi-objective optimization algorithm for multi-objective optimization question
Parameter finally realizes the calibration of underwater binocular measuring system, obtains the calibration result of underwater camera parameter:
dl=14.98, dr=14.56, h=6.53, nx=0.0011, ny=0.0998, nz=0.9950.
It needs to illustrate, multiple-objection optimization is a mature mathematical calculation process, in optimization aim and to be optimized
Under the premise of parameter is known, this process is easily achieved.Different optimization algorithms can be selected herein to demarcate underwater camera ginseng
Number.For the relationship between clear underwater camera parameter calibration and multiple-objection optimization, the following formula of calibration process, it may be assumed that
Wherein, F1, F2And F3Respectively represent first optimization aim, the second optimization aim, third optimization aim.Upper
During stating multiple-objection optimization, underwater camera parameter will be continuously available optimization, substitute into formula (4) obtained X-comers
Relative position between measured value coordinate will move closer to the relative positional relationship between the true value coordinate of X-comers,
So as to realize effective underwater camera calibration.
In addition, the present invention has also carried out gridiron pattern location point experiment with computing to calibrated underweater vision measuring system, with
Verifying scaling method has good measurement performance.For selected test gridiron pattern having a size of 8 × 11, the side length of grid is 25 millimeters.
As shown in figure 4, the dot matrix A of the rightmost side is the true value of gridiron pattern position, dot matrix B is underwater measurement system this method in diagram
Calibrated measured value, dot matrix C is the measured value of the calibrated underwater measurement system of traditional scaling method one in diagram, in diagram
Dot matrix D is the calibrated measured value of traditional scaling method two, wherein conventional method one is that the error reflected under water is regarded as camera lens
Distortion carries out correction process to image;Conventional method two is not consider to reflect directly with the binocular vision method in air.It can be with
See, method of the invention is more nearly with true value, and the average position error of corresponding points only has 17.89 millimeters, and accuracy is more
It is high.
So far, it has been combined preferred embodiment shown in the drawings and describes technical solution of the present invention, still, this field
Technical staff is it is easily understood that protection scope of the present invention is expressly not limited to these specific embodiments.Without departing from this
Under the premise of the principle of invention, those skilled in the art can make equivalent change or replacement to the relevant technologies feature, these
Technical solution after change or replacement will fall within the scope of protection of the present invention.
Claims (6)
1. a kind of scaling method for underwater two CCD camera measure system, which is characterized in that the underwater Binocular vision photogrammetry
System includes the second camera positioned at the first camera in left side and positioned at right side, and the scaling method includes:
First camera and second camera are demarcated in air, obtain first camera and second camera Intrinsic Matrix,
Module and carriage transformation matrix between distortion factor and first camera and second camera;
Tessellated image is shot by first camera and second camera under water;
Distortion correction is carried out to the image of first camera by the distortion factor of the Intrinsic Matrix of first camera, first camera,
Distortion correction is carried out to the image of second camera by the distortion factor of the Intrinsic Matrix of second camera, second camera;
Using the method for Corner Detection, obtains coordinate and X-comers of the X-comers on the image of first camera and exist
Coordinate on the image of second camera;
Obtain the measured value of corner location coordinate;
Using the optimization aim of the relative positional relationship design calibration process of scaling board X-comers, pass through multiple-objection optimization pair
The underwater two CCD camera measure system is demarcated.
2. scaling method according to claim 1, which is characterized in that " in air to first camera and second camera
Demarcated, obtain first camera and second camera Intrinsic Matrix, distortion factor and first camera and second camera it
Between module and carriage transformation matrix " the step of before, the scaling method further include:
Set first camera and the underwater precompensation parameter value of second camera.
3. scaling method according to claim 2, which is characterized in that the step of the measured value of corner location coordinate " obtain "
It specifically includes:
The precompensation parameter value is substituted into formula (1), it may be assumed that
P=f (Pl,Pr,R,dl,dr,h,nx,ny,nz) (1)
Obtain the measured value of corner location coordinate, wherein
P indicates the position of submarine target point, PlAnd PrRespectively indicate pixel and of the target point in the image of first camera
Pixel in the image of two cameras, module and carriage transformation matrix of the R between first camera and second camera, dlAnd drIt respectively indicates
The optical center of first camera is to the vertical range of first layer plane of refraction and the optical center of second camera to first layer plane of refraction
Vertical range, h are the thickness of the anti-sump of the underwater two CCD camera measure system, nx, nyAnd nzPlane of refraction normal vector with
X-axis on the basis of first camera coordinate system, y-axis, the coordinate components of z-axis.
4. scaling method according to claim 1, which is characterized in that " use the relative position of scaling board X-comers
The optimization aim of relational design calibration process demarcates the underwater two CCD camera measure system by multiple-objection optimization "
The step of specifically include:
Set the first optimization aim, it may be assumed that
min∑(|Cm i,j-Cm i+1,j|+|Cm i,j-Cm i,j+1| -2w),
Wherein, the measured value of corner location coordinate is Cm i,j, i is the horizontal direction serial number of X-comers, and j is X-comers
Vertical direction serial number, w be the gridiron pattern grid side length;
Set the second optimization aim, it may be assumed that
Set third optimization aim, it may be assumed that
It is optimized based on the first optimization aim, the second optimization aim and third optimization aim, thus to the underwater binocular
Vision measurement system is demarcated.
5. scaling method according to claim 1, which is characterized in that the Intrinsic Matrix of the first camera are as follows:
Wherein, fxlAnd fylFor the focal length of first camera, xolAnd yolFor the principal point coordinate relative to imaging plane.
6. scaling method according to claim 1, which is characterized in that the Intrinsic Matrix of the second camera are as follows:
Wherein, fxrAnd fyrFor the focal length of second camera, xorAnd yorFor the principal point coordinate relative to imaging plane.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810761859.2A CN109242908B (en) | 2018-07-12 | 2018-07-12 | Calibration method for underwater binocular vision measurement system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810761859.2A CN109242908B (en) | 2018-07-12 | 2018-07-12 | Calibration method for underwater binocular vision measurement system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109242908A true CN109242908A (en) | 2019-01-18 |
CN109242908B CN109242908B (en) | 2021-08-03 |
Family
ID=65072529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810761859.2A Active CN109242908B (en) | 2018-07-12 | 2018-07-12 | Calibration method for underwater binocular vision measurement system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109242908B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969158A (en) * | 2019-11-06 | 2020-04-07 | 中国科学院自动化研究所 | Target detection method, system and device based on underwater operation robot vision |
CN111062990A (en) * | 2019-12-13 | 2020-04-24 | 哈尔滨工程大学 | Binocular vision positioning method for underwater robot target grabbing |
CN111627067A (en) * | 2019-02-28 | 2020-09-04 | 海信集团有限公司 | Calibration method of binocular camera and vehicle-mounted equipment |
CN111721259A (en) * | 2020-06-24 | 2020-09-29 | 江苏科技大学 | Underwater robot recovery positioning method based on binocular vision |
CN111784655A (en) * | 2020-06-24 | 2020-10-16 | 江苏科技大学 | Underwater robot recovery positioning method |
CN111798444A (en) * | 2020-07-17 | 2020-10-20 | 太原理工大学 | Unmanned workshop steel pipe length measuring method based on image distortion correction color separation processing |
CN112131921A (en) * | 2019-06-25 | 2020-12-25 | 海盛科技有限公司 | Biological automatic measuring system based on stereoscopic vision and measuring method thereof |
CN112215901A (en) * | 2020-10-09 | 2021-01-12 | 哈尔滨工程大学 | Multifunctional calibration plate device for underwater calibration |
CN112907462A (en) * | 2021-01-28 | 2021-06-04 | 黑芝麻智能科技(上海)有限公司 | Distortion correction method and system for ultra-wide-angle camera device and shooting device comprising distortion correction system |
CN112995639A (en) * | 2021-02-05 | 2021-06-18 | 中国科学院沈阳自动化研究所 | Fine three-dimensional sensing method for underwater target |
CN113436272A (en) * | 2021-05-21 | 2021-09-24 | 中国科学院自动化研究所 | Spherical refraction correction method for underwater stereoscopic vision system and electronic equipment |
CN114136544A (en) * | 2021-11-05 | 2022-03-04 | 同济大学 | Underwater vibration simulation test system and method based on high-speed video measurement |
CN114429431A (en) * | 2022-04-01 | 2022-05-03 | 西南科技大学 | Identification method and system for converting image from underwater to air |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064307A1 (en) * | 2005-09-16 | 2007-03-22 | Sparrow Woods Company | Handsfree fieldglasses having full field of view |
CN104166995A (en) * | 2014-07-31 | 2014-11-26 | 哈尔滨工程大学 | Harris-SIFT binocular vision positioning method based on horse pace measurement |
CN105698767A (en) * | 2015-12-30 | 2016-06-22 | 哈尔滨工业大学深圳研究生院 | Underwater measuring method based on vision |
CN107767420A (en) * | 2017-08-16 | 2018-03-06 | 华中科技大学无锡研究院 | A kind of scaling method of underwater stereoscopic vision system |
-
2018
- 2018-07-12 CN CN201810761859.2A patent/CN109242908B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064307A1 (en) * | 2005-09-16 | 2007-03-22 | Sparrow Woods Company | Handsfree fieldglasses having full field of view |
CN104166995A (en) * | 2014-07-31 | 2014-11-26 | 哈尔滨工程大学 | Harris-SIFT binocular vision positioning method based on horse pace measurement |
CN105698767A (en) * | 2015-12-30 | 2016-06-22 | 哈尔滨工业大学深圳研究生院 | Underwater measuring method based on vision |
CN107767420A (en) * | 2017-08-16 | 2018-03-06 | 华中科技大学无锡研究院 | A kind of scaling method of underwater stereoscopic vision system |
Non-Patent Citations (2)
Title |
---|
SHUXIANG GUO等: "《Binocular vision-based underwater ranging methods》", 《 2017 IEEE INTERNATIONAL CONFERENCE ON MECHATRONICS AND AUTOMATION》 * |
张强 等: "《基于粒子群优化的水下成像***标定》", 《光子学报》 * |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111627067A (en) * | 2019-02-28 | 2020-09-04 | 海信集团有限公司 | Calibration method of binocular camera and vehicle-mounted equipment |
CN111627067B (en) * | 2019-02-28 | 2023-08-22 | 海信集团有限公司 | Calibration method of binocular camera and vehicle-mounted equipment |
CN112131921A (en) * | 2019-06-25 | 2020-12-25 | 海盛科技有限公司 | Biological automatic measuring system based on stereoscopic vision and measuring method thereof |
CN112131921B (en) * | 2019-06-25 | 2024-04-02 | 海盛科技有限公司 | Biological automatic measurement system and measurement method based on stereoscopic vision |
CN110969158A (en) * | 2019-11-06 | 2020-04-07 | 中国科学院自动化研究所 | Target detection method, system and device based on underwater operation robot vision |
CN110969158B (en) * | 2019-11-06 | 2023-07-25 | 中国科学院自动化研究所 | Target detection method, system and device based on underwater operation robot vision |
CN111062990A (en) * | 2019-12-13 | 2020-04-24 | 哈尔滨工程大学 | Binocular vision positioning method for underwater robot target grabbing |
CN111062990B (en) * | 2019-12-13 | 2023-06-02 | 哈尔滨工程大学 | Binocular vision positioning method for underwater robot target grabbing |
CN111721259B (en) * | 2020-06-24 | 2022-05-03 | 江苏科技大学 | Underwater robot recovery positioning method based on binocular vision |
CN111721259A (en) * | 2020-06-24 | 2020-09-29 | 江苏科技大学 | Underwater robot recovery positioning method based on binocular vision |
CN111784655A (en) * | 2020-06-24 | 2020-10-16 | 江苏科技大学 | Underwater robot recovery positioning method |
CN111784655B (en) * | 2020-06-24 | 2023-11-24 | 江苏科技大学 | Underwater robot recycling and positioning method |
CN111798444A (en) * | 2020-07-17 | 2020-10-20 | 太原理工大学 | Unmanned workshop steel pipe length measuring method based on image distortion correction color separation processing |
CN111798444B (en) * | 2020-07-17 | 2023-06-27 | 太原理工大学 | Unmanned workshop steel pipe length measurement method based on image distortion correction color separation processing |
CN112215901B (en) * | 2020-10-09 | 2023-08-01 | 哈尔滨工程大学 | Multifunctional calibration plate device for underwater calibration |
CN112215901A (en) * | 2020-10-09 | 2021-01-12 | 哈尔滨工程大学 | Multifunctional calibration plate device for underwater calibration |
CN112907462A (en) * | 2021-01-28 | 2021-06-04 | 黑芝麻智能科技(上海)有限公司 | Distortion correction method and system for ultra-wide-angle camera device and shooting device comprising distortion correction system |
CN112995639A (en) * | 2021-02-05 | 2021-06-18 | 中国科学院沈阳自动化研究所 | Fine three-dimensional sensing method for underwater target |
CN113436272B (en) * | 2021-05-21 | 2021-12-21 | 中国科学院自动化研究所 | Spherical refraction correction method for underwater stereoscopic vision system and electronic equipment |
CN113436272A (en) * | 2021-05-21 | 2021-09-24 | 中国科学院自动化研究所 | Spherical refraction correction method for underwater stereoscopic vision system and electronic equipment |
CN114136544A (en) * | 2021-11-05 | 2022-03-04 | 同济大学 | Underwater vibration simulation test system and method based on high-speed video measurement |
CN114429431A (en) * | 2022-04-01 | 2022-05-03 | 西南科技大学 | Identification method and system for converting image from underwater to air |
Also Published As
Publication number | Publication date |
---|---|
CN109242908B (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109242908A (en) | Scaling method for underwater two CCD camera measure system | |
CN105654484B (en) | Light-field camera external parameters calibration device and method | |
CN103292710B (en) | A kind of distance measurement method applying binocular vision vision range finding principle | |
Zhang et al. | A robust and rapid camera calibration method by one captured image | |
CN109323650B (en) | Unified method for measuring coordinate system by visual image sensor and light spot distance measuring sensor in measuring system | |
CN104851088B (en) | The line-scan digital camera calibration facility and scaling method of a kind of high ferro detecting system | |
CN107025670A (en) | A kind of telecentricity camera calibration method | |
CN106952309A (en) | The device and method of Fast Calibration TOF depth camera many kinds of parameters | |
CN101539422B (en) | Monocular vision real time distance measuring method | |
CN104517291B (en) | Pose measuring method based on target coaxial circles feature | |
CN104036542B (en) | Spatial light clustering-based image surface feature point matching method | |
CN102509261A (en) | Distortion correction method for fisheye lens | |
CN103759669A (en) | Monocular vision measuring method for large parts | |
CN108171758A (en) | Polyphaser scaling method based on minimum time principle and transparent glass scaling board | |
KR102160351B1 (en) | Double layer alignment device and method | |
CN107560554A (en) | A kind of three-dimensional information vision measuring method based on relay lens | |
CN106709955A (en) | Space coordinate system calibrate system and method based on binocular stereo visual sense | |
CN105004324A (en) | Monocular vision sensor with triangulation ranging function | |
Zou et al. | High-accuracy calibration of line-structured light vision sensors using a plane mirror | |
CN106441149A (en) | Tower-type secondary reflection mirror surface detection system and method based on multi-view distance measurement | |
CN114136544B (en) | Underwater vibration simulation test system and method based on high-speed video measurement | |
US20230186551A1 (en) | Multi-medium imaging analytic method for underwater medium surface position compensation | |
CN106289086A (en) | A kind of for optical indicia dot spacing from the double camera measuring method of Accurate Calibration | |
CN111982061B (en) | Distance measurement method based on different focal lengths of binocular fixed-focus cameras | |
CN108180829A (en) | It is a kind of that measuring method is directed toward to the object space with parallel lines feature |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |