CN104794718A - Single-image CT (computed tomography) machine room camera calibration method - Google Patents

Single-image CT (computed tomography) machine room camera calibration method Download PDF

Info

Publication number
CN104794718A
CN104794718A CN201510204298.2A CN201510204298A CN104794718A CN 104794718 A CN104794718 A CN 104794718A CN 201510204298 A CN201510204298 A CN 201510204298A CN 104794718 A CN104794718 A CN 104794718A
Authority
CN
China
Prior art keywords
image
point
camera
dimensional
coordinate system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510204298.2A
Other languages
Chinese (zh)
Other versions
CN104794718B (en
Inventor
江桂华
田军章
马晓芬
张刚庆
黎程
董健卫
颜剑豪
李盟
詹文峰
曾少庆
方金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Province's Traditional Medicine And Athletic Injury Institute For Rehabilitation And Research
Guangdong Pharmaceutical University
Guangdong No 2 Peoples Hospital
Original Assignee
Guangdong Province's Traditional Medicine And Athletic Injury Institute For Rehabilitation And Research
Guangdong Pharmaceutical University
Guangdong No 2 Peoples Hospital
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Province's Traditional Medicine And Athletic Injury Institute For Rehabilitation And Research, Guangdong Pharmaceutical University, Guangdong No 2 Peoples Hospital filed Critical Guangdong Province's Traditional Medicine And Athletic Injury Institute For Rehabilitation And Research
Priority to CN201510204298.2A priority Critical patent/CN104794718B/en
Publication of CN104794718A publication Critical patent/CN104794718A/en
Application granted granted Critical
Publication of CN104794718B publication Critical patent/CN104794718B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a single-image CT (computed tomography) machine room camera calibration method. The method includes: using a camera to be calibrated to photograph a regular solid object with known structure to acquire an image; according to structural characteristics of the regular solid object, acquiring three-dimensional world coordinates of a plurality of angular points and corresponding two-dimensional image coordinates; applying the two-dimensional image coordinates and three-dimensional world coordinates of each angular point to a camera model, performing first iterative optimization solving by means of iterative optimization of set initial values so as to obtain first inside and outside camera parameters; according to the structural characteristics of the regular solid object, acquiring three-dimensional world coordinates of a plurality of equally-divided discrete points and corresponding two-dimensional image coordinates; applying the two-dimensional image coordinates and three-dimensional world coordinates of each equally-divided discrete point to the camera model, performing second iterative optimization solving by means of iterative optimization using the first inside and outside camera parameters as initial values, and thus acquiring precise inside and outside camera parameters.

Description

A kind of method of single image CT center monitoring camera calibration
Technical field
The present invention relates to Computer Vision Detection Technique field, particularly relate to a kind of method of single image CT center monitoring camera calibration.
Background technology
In computer vision application, in order to obtain the corresponding relation between image slices vegetarian refreshments point and actual physics spatial point, camera calibration is absolutely necessary process.Camera calibration, supposition camera model under, utilize shot by camera to image to the object reduced in space.Through the process to image, utilize a series of mathematic(al) manipulation and computing method, obtain geometry and the optical characteristics (being also inner parameter) of video camera inside, and camera coordinate system is relative to the position relationship (being also external parameter) of space coordinates.
1) inner parameter comprises f, (Cx, Cy), k1, sx, wherein:
F: focal length, unit millimeter;
(Cx, Cy): the coordinate of image center or principal point, unit is pixel;
K1: the coefficient of first order of camera lens radial distortion;
Sx: uncertainty scale factor, it is caused by video camera transversal scanning and sample-timing error.
2) external parameter comprises R and T, wherein:
R, T are rotation matrix between world coordinate system and camera coordinate system and translation vector respectively.If the direction of camera coordinate system under world coordinate system: around X-axis rotated counterclockwise by angle (alpha, α), around Y-axis rotated counterclockwise by angle (beta, β), around Z axis rotated counterclockwise by angle (gamma, γ), then rotation matrix is:
R = R α R β R γ = r 11 r 12 r 13 r 21 r 22 r 23 r 31 r 32 r 33
Wherein,
R α = 1 0 0 0 cos α sin α 0 - sin α cos α , R β = cos β 0 - sin β 0 1 0 sin β 0 cos β , R γ = cos γ sin γ 0 - sin γ cos γ 0 0 0 1
And T=[Tx, Ty, Tz] ', wherein Tx, Ty, Tz: from world coordinates be tied to camera coordinate system conversion along three translation of axes amounts.
In computer vision, what camera model solved is the problem that point in three-dimensional scenic is corresponding with the point on the plane of delineation.Camera model is the simplification of optical imagery geometric relationship, and the most the most frequently used camera model is pin-hole model (pinhole model).As shown in Figure 1, pinhole camera model is derived according to lens imaging principle, and it is linear, therefore also becomes Camera Linear Model.Pinhole camera model does not consider lens distortion, but can provide actual camera one well approximate, the research of a lot of camera marking method be all be based upon pinhole camera model basis on.
With reference to figure 1 ~ Fig. 2, we consider that spatial point is to the central projection in a sheet of planar, and make projection centre be positioned at the initial point of an European coordinate system, and plane z=f is called as the plane of delineation, wherein f is the focal length of video camera.Under pinhole camera modeling, volume coordinate is M=(X, Y, Z) tsome M be mapped on the plane of delineation a bit, this point is the straight line of tie point M and projection centre and the intersection point of the plane of delineation.According to similar triangles, point (X, Y, Z) can be calculated very soon tbe mapped to point (fX/Z, fY/Z, f) on the plane of delineation t.After omitting last image coordinate, the central projection from world coordinates to image coordinate is:
This is from 3 dimension theorem in Euclid space IR 3to 2 dimension theorem in Euclid space IR 2a mapping.
Projection centre is called as video camera center, and video camera center is called the main shaft of video camera to the vertical line of the plane of delineation, and the intersection point of main shaft and the plane of delineation is called principal point.Cross video camera center parallel is called video camera principal plane in the plane of the plane of delineation.
If by the homogeneous vector representation world and picture point, so central projection can be expressed as the linear mapping between homogeneous coordinate system very simply.Specifically, above-mentioned formula can be write as following matrix product form:
Suppose our the world point M 4 homogeneous vector of dimensions (X, Y, Z, 1) trepresent; Picture point m is expressed as the form of the homogeneous vector of 3 dimension; P represents 3 × 4 homogeneous video camera projection matrixes.So above-mentioned formula can be write as m=PM compactly.The camera matrix it defining the pin-hole model of central projection is:
P = diag ( f , f , 1 ) [ I | 0 ] = f 0 f 0 1 0 .
Common camera marking method has following several:
1) traditional cameras standardization:
When utilizing traditional standardization to carry out camera calibration, need to use calibrated reference.Tradition standardization can comprise direct linear transformation's standardization (DLT), radial arrangement restraint (RAC) standardization, active vision standardization and plane standardization etc.Below for direct linear transformation's standardization and radial arrangement restraint standardization, the ultimate principle of traditional standardization is once described.
Direct linear transformation's standardization (DLT): direct linear transformation's standardization is proposed the beginning of the seventies by Abdal-Aziz and Karara.First the method needs to set up camera imaging model system of linear equations, and measure the world coordinates of one group of point in scene and its respective coordinates on imaging plane, then these coordinate figures are substituted into the unknowm coefficient obtaining this system of linear equations in this system of linear equations, the coefficient of this system of linear equations contains the inner parameter of video camera.
Tsai two step camera calibration method: the method first step utilizes perspective matrix to convert set up linear equation and solve, and obtains the exact solution of most of external parameter; Second step, the parameter of trying to achieve is initial value, brings into nonlinear factor such as all the other external parameter and distortion factors etc. and carries out iterative.Because RAC method considers radial distortion, therefore compare DLT method, its precision is higher.
2) based on the scaling method of active vision:
Control video camera and do some peculair motion, as rotated around the wide heart or pure flatly moving, utilize the singularity of this motion to calculate inner parameter.
3) self-calibrating method:
Usual supposition is when taking different images, the inner parameter of video camera does not change, and the corresponding relation between picture point is determined, according to the special restriction relation existed between imaging point in multiple image, by the corresponding relation between picture point, video camera is demarcated.
Because traditional standardization needs to use calibrated reference in shooting and calibration process always, bring very large inconvenience thus to the use of shooting operation and scaling method.And need to make to demarcate between object and video camera to produce relative motion, to make the multiple image taken have large otherness, make operation very inconvenient.Video camera changes angle at every turn, or shift position all needs to reuse and demarcates object and carry out camera calibration.
When using the scaling method based on active vision, video camera must be controlled and do some peculair motion, but be in most cases difficult to know that the motion state of video camera or the motion state of video camera cannot be known at all, in these cases, the scaling method based on active vision can not just be used.
When using self-calibrating method: owing to being do not change at supposition inner parameter, and demarcate under the prerequisite determined of the corresponding relation between picture point, stated accuracy is poor, and stability is not so good, and can not use when inner parameter changes.
Therefore, the camera marking method that a kind of improvement is provided is needed, to solve the problem.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method of single image CT center monitoring camera calibration, utilize the familiar object of an inconspicuous rule as scaling reference, only need take and once can demarcate video camera, whole operating process is simple, quick, and precision is high.
Embodiments provide a kind of method of single image CT center monitoring camera calibration, comprise step:
Utilize video camera to be calibrated to take the regular stereoscopic article that structure is known, obtain piece image;
With described regular stereoscopic article for benchmark builds world coordinate system to it, thus obtain the three-dimensional world coordinate value of some angle points of described regular stereoscopic article;
Image procossing is carried out to described image, obtains the two dimensional image coordinate figure corresponding to described some angle points;
The two dimensional image coordinate figure of angle point described in each, three-dimensional world coordinate value are substituted in the camera model of mapping relations between Description Image coordinate system and world coordinate system respectively, and utilize the iteration method for optimizing of setting initial value to carry out first iteration optimization and solve, thus obtain first camera interior and exterior parameter;
According to the described world coordinate system set up, the some deciles obtained on the boundary line of described regular stereoscopic article cut the three-dimensional world coordinate value of discrete point;
Image procossing is carried out to described image, obtains described some deciles and cut two dimensional image coordinate figure corresponding to discrete point;
Decile described in each is cut the two dimensional image coordinate figure of discrete point, three-dimensional world coordinate value substitutes in the camera model of mapping relations between described Description Image coordinate system and world coordinate system respectively, and utilize described first camera interior and exterior parameter to carry out second iteration Optimization Solution as the iteration method for optimizing of initial value, thus obtain accurate camera interior and exterior parameter.
As the improvement of such scheme, between described Description Image coordinate system and world coordinate system, the camera model of mapping relations is:
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1
Wherein, s is a scale factor, (X w, Y w, Z w, 1) and represent that the coordinate figure of any point P in world coordinate system, (u, v, 1) represent that the coordinate figure that this image coordinate corresponding to P point is fastened, R, t are respectively rotation matrix in external parameters of cameras and translation vector, P 3 × 4for video camera projection matrix;
K is camera intrinsic parameter, and meets:
K = f u 0 x 0 0 f v y 0 0 0 1
Wherein, (x 0, y 0) be the center point coordinate value of described image, f ufor scale factor on described plane of delineation transverse axis, f vfor scale factor on the described plane of delineation longitudinal axis, and f u=f/dx, f v=f/dy, f are the focal length of described video camera to be calibrated.
As the improvement of such scheme, described regular stereoscopic article includes but not limited to right cylinder, spheroid, cube or spheroid.
As the improvement of such scheme, the central point using the mid point between the arbitrary described angle point of described regular stereoscopic article or angle point as the described world coordinate system built.
As the improvement of such scheme, described decile cuts the number of number more than described angle point of discrete point.
As the improvement of such scheme, the method for described image procossing comprises SIFT feature point detection method or color segmentation method.
As the improvement of such scheme, described iteration method for optimizing is least square method.
As the improvement of such scheme, described setting initial value comprises: the initial value of focal length is set to the half of described figure image width high sum; Rotation matrix initial value is set to 0; Translation vector initial value is set to 0.
As the improvement of such scheme, carry out first iteration optimization by the iteration optimization in Zhang Zhengyou gridiron pattern standardization, Tsai gridiron pattern standardization or Hartley and solve and second iteration Optimization Solution, and it is minimum to make to solve error.
Compared with prior art, the method of single image CT center monitoring camera calibration disclosed by the invention utilizes video camera to be calibrated once to take acquisition image to the regular stereoscopic article that structure is known, the architectural feature of the regular stereoscopic article utilizing structure known, obtain the three-dimensional world coordinate value of object angle point and corresponding two dimensional image coordinate figure, then carry out first time iteration optimization, thus obtain the first inside and outside parameter (coarse parameter) of video camera; And the architectural feature of the regular stereoscopic article utilizing structure known, the some deciles obtained on object boundary line cut the three-dimensional world coordinate value of discrete point (segmentation) and corresponding two dimensional image coordinate figure, and with first inside and outside parameter (coarse parameter) for initial value, carry out second time iteration optimization, obtain final camera interior and exterior parameter (accurate parameters), whole operating process is simple, quick, and precision is high.
Accompanying drawing explanation
Fig. 1 is the principle schematic of pinhole camera model in prior art.
Fig. 2 is the principle schematic of pinhole camera model in prior art.
Fig. 3 is the process flow diagram of the method for a kind of single image CT center monitoring camera calibration in the embodiment of the present invention.
Fig. 4 is that in the method for embodiment of the present invention camera calibration, iteration optimization solves the schematic diagram of exact solution for the first time.
Fig. 5 is the schematic diagram that in the method for embodiment of the present invention camera calibration, second time iteration optimization solves exact solution.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method of a kind of single image CT center monitoring camera calibration of the present invention is demarcated mainly for the high-end video camera in medical system, the type video camera often can ignore distortion parameter in intrinsic parameters of the camera and uncertainty scale factor, therefore, camera marking method of the present invention is without the need to solving this two camera intrinsic parameters.
Fig. 3 is the schematic flow sheet of the method for a kind of single image CT center monitoring camera calibration that the embodiment of the present invention provides.As shown in Figure 3, according to the method for the camera calibration of the present embodiment, comprise the following steps:
Step S101: utilize video camera to be calibrated to take the regular stereoscopic article that structure is known, obtains piece image.
Concrete, described regular stereoscopic article includes but not limited to right cylinder, spheroid, cube or spheroid.And known structure can arrange as the case may be or measure.Then, utilize the video camera of inside and outside parameter to be calibrated to take the regular stereoscopic article that this structure is known, thus obtain a width picture (image).
Step S102: with described regular stereoscopic article for benchmark builds world coordinate system to it, thus obtain the three-dimensional world coordinate value of some angle points of described regular stereoscopic article.
Concrete, world coordinate system can be built using the mid point between the arbitrary described angle point of described regular stereoscopic article or angle point as the central point of world coordinate system.Because the structure of described regular stereoscopic article is known, therefore, when central point (initial point) using the mid point between one of them angle point or angle point as world coordinate system, the three-dimensional world coordinate value of other angle points can correspondingly calculate.
Step S103: carry out image procossing to described image, obtains the two dimensional image coordinate figure corresponding to described some angle points.
Wherein, the image procossing such as SIFT feature point detection method or color segmentation method can be taked, calculate the two dimensional image coordinate figure that described some angle points are corresponding.
Step S104: the two dimensional image coordinate figure of angle point described in each, three-dimensional world coordinate value are substituted in the camera model of mapping relations between Description Image coordinate system and world coordinate system respectively, and utilize the iteration method for optimizing of setting initial value to carry out first iteration optimization and solve, thus obtain first camera interior and exterior parameter.
Concrete, between Description Image coordinate system and world coordinate system, the camera model of mapping relations is:
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1 - - - ( 1 )
Wherein, s is a scale factor, (X w, Y w, Z w, 1) and represent that the coordinate figure of any point P in world coordinate system, (u, v, 1) represent that the coordinate figure that this image coordinate corresponding to P point is fastened, R, t are respectively rotation matrix in external parameters of cameras and translation vector, P 3 × 4for video camera projection matrix;
K is camera intrinsic parameter, and meets:
K = f u 0 x 0 0 f v y 0 0 0 1
Wherein, (x 0, y 0) be the center point coordinate value of described image, f ufor scale factor on described plane of delineation transverse axis, f vfor scale factor on the described plane of delineation longitudinal axis, and f u=f/dx, f v=f/dy, f are the focal length of described video camera to be calibrated.
Successively the two dimensional image coordinate figure of angle point described in each, three-dimensional world coordinate value are substituted into after in this camera model respectively, carry out first iteration optimization by the iteration optimization in Zhang Zhengyou gridiron pattern standardization, Tsai gridiron pattern standardization or Hartley and solve this overdetermined linear system, and it is minimum to make to solve error.
Preferably, least square method can be taked to solve this overdetermined linear system, obtain first camera interior and exterior parameter (coarse camera interior and exterior parameter).
Understandable, when carrying out first iteration optimization, needing (camera interior and exterior parameter) initial value pre-setting this iteration optimization, comprising focal length, rotation matrix, translation vector.Such as, the initial value of setting can be: the initial value of focal length is set to the half of described figure image width high sum; Rotation matrix initial value is set to 0; Translation vector initial value is set to 0.
Step S105: according to the described world coordinate system set up, the some deciles obtained on the boundary line of described regular stereoscopic article cut the three-dimensional world coordinate value of discrete point.
Wherein, described decile cuts the number of number more than described angle point of discrete point.In addition, described decile cuts discrete point and can comprise above-mentioned angle point.In like manner, because the structure of described regular stereoscopic article is known, therefore, when central point (initial point) using the mid point between one of them angle point or angle point as world coordinate system, the three-dimensional world coordinate value that described decile cuts discrete point can correspondingly calculate.
Step S106: carry out image procossing to described image, obtains described some deciles and cuts two dimensional image coordinate figure corresponding to discrete point.
Concrete, the image processing methods such as SIFT feature point detection method or color segmentation method can be taked boundary line on image to be detected, then wait component curve by approximate, or divide curve according to the ratio that successively decreases and calculate described decile and cut two dimensional image coordinate figure corresponding to discrete point.
Step S107: decile described in each is cut the two dimensional image coordinate figure of discrete point, three-dimensional world coordinate value substitutes in the camera model of mapping relations between described Description Image coordinate system and world coordinate system respectively, and utilize described first camera interior and exterior parameter to carry out second iteration Optimization Solution as the iteration method for optimizing of initial value, thus obtain accurate camera interior and exterior parameter.
Concrete, between Description Image coordinate system and world coordinate system, the camera model of mapping relations is as shown in above-mentioned formula (1), successively decile described in each is cut the two dimensional image coordinate figure of discrete point, three-dimensional world coordinate value substitutes into after in this camera model respectively, by Zhang Zhengyou gridiron pattern standardization, iteration optimization in Tsai gridiron pattern standardization or Hartley or least square method carry out this overdetermined linear system of second iteration Optimization Solution, and, when carrying out second iteration Optimization Solution, the initial value that the first camera interior and exterior parameter (coarse camera interior and exterior parameter) that obtains solves as this iteration optimization is solved using first iteration optimization, thus obtain final camera interior and exterior parameter (accurate camera interior and exterior parameter).
Below, composition graphs 4 ~ Fig. 5, by a specific embodiment, is described further the method for a kind of single image CT center monitoring camera calibration of the present invention.
In the present embodiment, the method for this single image camera calibration mainly comprises following key step:
1, the image of a given reference substance is taken;
Given reference substance is: the regular stereoscopic article of the right cylinder of a known structure, spheroid, band broken line, known structure can arrange as the case may be or measure.
As shown in Fig. 4 ~ Fig. 5, utilize the object (right cylinder) of video camera to be calibrated to the known rule of structure to take, thus obtain an amplitude object image.
2, coarse estimation: the architectural feature utilizing object, obtains two dimension, the three-dimensional coordinate of object angle point, and carries out first time iteration optimization, obtains the inside and outside parameter of video camera and preserves.Specifically comprise:
2.1 camera models use pinhole camera modeling.
The video camera mapping equation that three-dimensional world coordinate system is mapped to two dimensional image coordinate system is:
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1
Wherein,
1) K = f u 0 x 0 0 f v y 0 0 0 1 , Inner parameter can simplify, and the focal length of two axis is equal is f; And without radial, tangential distortion.
2) f: focal length, unit millimeter;
3) (x0, y0): the coordinate of image center or principal point, unit is pixel, and the central point of simplified image is just the central point of captured image, for known;
2.2 calculate three-dimensional world coordinate value
With reference to figure 4, this cylindrical angle point comprises ABCD tetra-points, and the step calculating the three-dimensional world coordinate value of these four points comprises:
1) can central point any point in cylindrical ABCD point of hypothetical world coordinate system, also can be the mid point of AB, or the mid point of CD;
2) length of hypothesis AB is a linear module further, and ruler can certainly be taken to measure how many millimeters;
3) in units of AB, then the three-dimensional world coordinate point coordinate of A, B, C, D is easy to derive, because be a known right cylinder.
2.3 calculate corresponding two dimensional image coordinate figure
Calculate A, B, C, D three-dimensional world coordinate point corresponding picture point A ', B ', C ', D ' coordinate.
Such as, by image procossing, the method detected as SIFT feature point can obtain.Also can obtain curved surface by the method for color segmentation, then find the two dimensional image coordinate figure of these four angle points.
2.4 initial values arranging first iteration optimization, as focal length, rotation matrix, translation vector.
Focal length initial value is set to the half of figure image width high sum;
Rotation matrix initial value is set to 0;
Translation vector initial value is set to 0
2.5 first time iteration optimization solve
According to the method that the iteration optimization in the multiple view geometry of Zhang Zhengyou gridiron pattern standardization, Tsai gridiron pattern standardization or Hartley solves, solve least error:
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1
For in above-mentioned formula, we have been aware of value (u, the v of this two-dimensional image coordinate points now, 1) value (Xw, the Yw of three-dimensional coordinate point corresponding to this two-dimensional image coordinate points, is also aware of, Zx, 1), and that the unknown is exactly video camera internal reference K and outer parameter R and t.Solve described overdetermined linear system by least square method, solve first coarse camera interior and exterior parameter, as the initial value of second iteration Optimization Solution.
3, accurately estimate: the architectural feature utilizing object, generate the three-dimensional coordinate point of segmentation and corresponding two-dimensional coordinate point; Utilize the two and three dimensions coordinate obtained, and with the inside and outside parameter of coarse estimation for initial value, carry out second time iteration optimization, obtain accurate camera interior and exterior parameter.Specifically comprise:
3.1 calculate three-dimensional world coordinate value
As shown in Figure 5, boundary line on right cylinder comprises parallel AB curve, CD curve, it is also parallel that the decile of its correspondence cuts discrete point, and the point on curve A B and the point on curve C D differ from a direction, length is the translation relation of AC or BD, so can or the three-dimensional world coordinate value of these discrete points;
3.2 calculate two dimensional image coordinate figure
1) ' B ' and the curve C ' D ' that as shown in Figure 5, can curve A be detected by the method for image procossing;
2) same, be similar to and wait component curve, or divide curve according to the ratio that successively decreases;
3) thus obtain three-dimensional decile and cut two dimensional image coordinate figure corresponding to discrete point.
3.3 second time iteration optimization solve
In like manner first time, can first time iteration optimization error equation to merge with secondary error equation together with carry out second time iteration optimization (namely, first time iteration optimization is solved the coarse camera interior and exterior parameter obtained, the initial value as second time iteration optimization solves).
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1
Equally, for in above-mentioned formula, we have been aware of the value (u of this two-dimensional image coordinate points now, v, 1), be also aware of the value (Xw of three-dimensional coordinate point corresponding to this two-dimensional image coordinate points, Yw, Zx, 1), and that the unknown is exactly video camera internal reference K and outer parameter R and t.Solve described overdetermined linear system (initial value is that iteration optimization solves the coarse camera interior and exterior parameter obtained for the first time) by least square method, solve the accurate camera interior and exterior parameter of second step.
In sum, the method of single image CT center monitoring camera calibration disclosed by the invention utilizes video camera to be calibrated once to take acquisition image to the regular stereoscopic article that structure is known, the architectural feature of the regular stereoscopic article utilizing structure known, obtain the three-dimensional world coordinate value of object angle point and corresponding two dimensional image coordinate figure, then carry out first time iteration optimization, thus obtain the first inside and outside parameter (coarse parameter) of video camera; And the architectural feature of the regular stereoscopic article utilizing structure known, the some deciles obtained on object boundary line cut the three-dimensional world coordinate value of discrete point (segmentation) and corresponding two dimensional image coordinate figure, and with first inside and outside parameter (coarse parameter) for initial value, carry out second time iteration optimization, obtain final camera interior and exterior parameter (accurate parameters), whole operating process is simple, quick, and precision is high.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (9)

1. a method for single image CT center monitoring camera calibration, is characterized in that, comprises step:
Utilize video camera to be calibrated to take the regular stereoscopic article that structure is known, obtain piece image;
With described regular stereoscopic article for benchmark builds world coordinate system to it, thus obtain the three-dimensional world coordinate value of some angle points of described regular stereoscopic article;
Image procossing is carried out to described image, obtains the two dimensional image coordinate figure corresponding to described some angle points;
The two dimensional image coordinate figure of angle point described in each, three-dimensional world coordinate value are substituted in the camera model of mapping relations between Description Image coordinate system and world coordinate system respectively, and utilize the iteration method for optimizing of setting initial value to carry out first iteration optimization and solve, thus obtain first camera interior and exterior parameter;
According to the described world coordinate system set up, the some deciles obtained on the boundary line of described regular stereoscopic article cut the three-dimensional world coordinate value of discrete point;
Image procossing is carried out to described image, obtains described some deciles and cut two dimensional image coordinate figure corresponding to discrete point;
Decile described in each is cut the two dimensional image coordinate figure of discrete point, three-dimensional world coordinate value substitutes in the camera model of mapping relations between described Description Image coordinate system and world coordinate system respectively, and utilize described first camera interior and exterior parameter to carry out second iteration Optimization Solution as the iteration method for optimizing of initial value, thus obtain accurate camera interior and exterior parameter.
2. the method for single image CT center monitoring camera calibration as claimed in claim 1, it is characterized in that, between described Description Image coordinate system and world coordinate system, the camera model of mapping relations is:
s u v 1 = K R t X w Y w Z w 1 = P 3 × 4 X w Y w Z w 1
Wherein, s is a scale factor, (X w, Y w, Z w, 1) and represent that the coordinate figure of any point P in world coordinate system, (u, v, 1) represent that the coordinate figure that this image coordinate corresponding to P point is fastened, R, t are respectively rotation matrix in external parameters of cameras and translation vector, P 3 × 4for video camera projection matrix;
K is camera intrinsic parameter, and meets:
K = f u 0 x 0 0 f v y 0 0 0 1
Wherein, (x 0, y 0) be the center point coordinate value of described image, f ufor scale factor on described plane of delineation transverse axis, f vfor scale factor on the described plane of delineation longitudinal axis, and f u=f/dx, f v=f/dy, f are the focal length of described video camera to be calibrated.
3. the method for single image CT center monitoring camera calibration as claimed in claim 1, it is characterized in that, described regular stereoscopic article includes but not limited to right cylinder, spheroid, cube or spheroid.
4. the method for single image CT center monitoring camera calibration as claimed in claim 1, is characterized in that, the central point using the mid point between the arbitrary described angle point of described regular stereoscopic article or angle point as the described world coordinate system built.
5. the method for single image CT center monitoring camera calibration as claimed in claim 1, it is characterized in that, described decile cuts the number of number more than described angle point of discrete point.
6. the method for single image CT center monitoring camera calibration as claimed in claim 1, it is characterized in that, the method for described image procossing comprises SIFT feature point detection method or color segmentation method.
7. the method for single image CT center monitoring camera calibration as claimed in claim 1, it is characterized in that, described iteration method for optimizing is least square method.
8. the method for single image CT center monitoring camera calibration as claimed in claim 1 or 2, it is characterized in that, described setting initial value comprises: the initial value of focal length is set to the half of described figure image width high sum; Rotation matrix initial value is set to 0; Translation vector initial value is set to 0.
9. the method for single image CT center monitoring camera calibration as claimed in claim 1 or 2, it is characterized in that, carry out first iteration optimization by the iteration optimization in Zhang Zhengyou gridiron pattern standardization, Tsai gridiron pattern standardization or Hartley to solve and second iteration Optimization Solution, and it is minimum to make to solve error.
CN201510204298.2A 2015-04-27 2015-04-27 A kind of method of single image CT center monitoring camera calibration Expired - Fee Related CN104794718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510204298.2A CN104794718B (en) 2015-04-27 2015-04-27 A kind of method of single image CT center monitoring camera calibration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510204298.2A CN104794718B (en) 2015-04-27 2015-04-27 A kind of method of single image CT center monitoring camera calibration

Publications (2)

Publication Number Publication Date
CN104794718A true CN104794718A (en) 2015-07-22
CN104794718B CN104794718B (en) 2019-01-15

Family

ID=53559498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510204298.2A Expired - Fee Related CN104794718B (en) 2015-04-27 2015-04-27 A kind of method of single image CT center monitoring camera calibration

Country Status (1)

Country Link
CN (1) CN104794718B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368014A (en) * 2017-08-24 2017-11-21 国网黑龙江省电力有限公司信息通信公司 Machine room monitoring system and method
CN107582085A (en) * 2017-09-14 2018-01-16 广州七喜医疗设备有限公司 A kind of apparatus and method of intelligent digital X-ray exposure control
CN107644444A (en) * 2017-09-07 2018-01-30 广东工业大学 A kind of single image camera calibration method based on compressed sensing
CN108109179A (en) * 2017-12-29 2018-06-01 天津科技大学 Video camera attitude updating method based on pinhole camera modeling
CN111686378A (en) * 2020-07-14 2020-09-22 上海联影医疗科技有限公司 Bed body movement precision detection method, device, equipment and storage medium
CN113066086A (en) * 2021-04-26 2021-07-02 深圳市商汤科技有限公司 Road disease detection method and device, electronic equipment and storage medium
CN113554710A (en) * 2020-04-24 2021-10-26 西门子(深圳)磁共振有限公司 Calibration method, system and storage medium of 3D camera in medical image system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025824A (en) * 2007-03-30 2007-08-29 东南大学 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system
CN102184563B (en) * 2011-03-23 2013-01-02 华中科技大学 Three-dimensional scanning method, three-dimensional scanning system and three-dimensional scanning device used for plant organ form
CN103258329A (en) * 2013-05-24 2013-08-21 西安电子科技大学 Camera calibration method based on one-dimensional feature of balls

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025824A (en) * 2007-03-30 2007-08-29 东南大学 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system
CN102184563B (en) * 2011-03-23 2013-01-02 华中科技大学 Three-dimensional scanning method, three-dimensional scanning system and three-dimensional scanning device used for plant organ form
CN103258329A (en) * 2013-05-24 2013-08-21 西安电子科技大学 Camera calibration method based on one-dimensional feature of balls

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LUIS GERARDO DE LA FRAGE, OLIVER SCHUTZE: "Direct Calibration by Fitting of Cuboids to a Single Image Using Differential Evolution", 《INTERNATIONAL JOURNAL OF COMPUTER VISION》 *
康晶 等: "一种改进的摄像机内外参数初值计算方法", 《计算机工程与科学》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368014A (en) * 2017-08-24 2017-11-21 国网黑龙江省电力有限公司信息通信公司 Machine room monitoring system and method
CN107644444A (en) * 2017-09-07 2018-01-30 广东工业大学 A kind of single image camera calibration method based on compressed sensing
CN107644444B (en) * 2017-09-07 2020-04-03 广东工业大学 Single-image camera calibration method based on compressed sensing
CN107582085A (en) * 2017-09-14 2018-01-16 广州七喜医疗设备有限公司 A kind of apparatus and method of intelligent digital X-ray exposure control
CN107582085B (en) * 2017-09-14 2021-02-05 广州七喜医疗设备有限公司 Intelligent digital X-ray exposure control device and method
CN108109179A (en) * 2017-12-29 2018-06-01 天津科技大学 Video camera attitude updating method based on pinhole camera modeling
CN108109179B (en) * 2017-12-29 2021-05-18 天津科技大学 Camera attitude correction method based on pinhole camera model
CN113554710A (en) * 2020-04-24 2021-10-26 西门子(深圳)磁共振有限公司 Calibration method, system and storage medium of 3D camera in medical image system
CN111686378A (en) * 2020-07-14 2020-09-22 上海联影医疗科技有限公司 Bed body movement precision detection method, device, equipment and storage medium
CN111686378B (en) * 2020-07-14 2023-02-17 上海联影医疗科技股份有限公司 Bed body movement precision detection method, device, equipment and storage medium
CN113066086A (en) * 2021-04-26 2021-07-02 深圳市商汤科技有限公司 Road disease detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104794718B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN104794718A (en) Single-image CT (computed tomography) machine room camera calibration method
CN103714571B (en) A kind of based on photogrammetric single camera three-dimensional rebuilding method
CN104596502B (en) Object posture measuring method based on CAD model and monocular vision
CN100573586C (en) A kind of scaling method of binocular three-dimensional measuring system
CN103759670B (en) A kind of object dimensional information getting method based on numeral up short
CN105716542B (en) A kind of three-dimensional data joining method based on flexible characteristic point
CN102376089B (en) Target correction method and system
CN104616292B (en) Monocular vision measuring method based on global homography matrix
CN104268876B (en) Camera calibration method based on partitioning
CN109579695B (en) Part measuring method based on heterogeneous stereoscopic vision
CN110345921B (en) Stereo visual field vision measurement and vertical axis aberration and axial aberration correction method and system
CN109727278B (en) Automatic registration method for airborne LiDAR point cloud data and aerial image
CN102103746B (en) Method for calibrating parameters in camera through solving circular ring points by utilizing regular tetrahedron
CN110969665B (en) External parameter calibration method, device, system and robot
CN109859272A (en) A kind of auto-focusing binocular camera scaling method and device
CN114705122B (en) Large-view-field stereoscopic vision calibration method
CN103278138A (en) Method for measuring three-dimensional position and posture of thin component with complex structure
CN103743352A (en) Three-dimensional deformation measuring method based on multi-camera matching
CN106898025A (en) It is a kind of to be based on 8 camera displacement transformation matrix scaling methods of coding maker
CN101586943A (en) Method for calibrating structure light vision transducer based on one-dimensional target drone
CN101149836A (en) Three-dimensional reconfiguration double pick-up camera calibration method
CA3233222A1 (en) Method, apparatus and device for photogrammetry, and storage medium
CN109900205A (en) A kind of quick calibrating method of high-precision single line laser device and optical camera
CN112229323A (en) Six-degree-of-freedom measurement method of checkerboard cooperative target based on monocular vision of mobile phone and application of six-degree-of-freedom measurement method
CN106403838A (en) Field calibration method for hand-held line-structured light optical 3D scanner

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190115

Termination date: 20200427