Method and device for determining external parameter of stereoscopic camera

US11010924B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11010924-B2
Application numberUS-201716340901-A
CountryUS
Kind codeB2
Filing dateSep 30, 2017
Priority dateOct 12, 2016
Publication dateMay 18, 2021
Grant dateMay 18, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of application discloses a method and device for determining external parameters of a stereo camera. The method comprises: acquiring ground surface data of a location of the stereo camera; generating, according to three-dimensional coordinates of each pixel in the ground surface data in a camera coordinate system corresponding to the stereo camera, a first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels; determining, according to a distance between the origin of the camera coordinate system and the ground surface, a setting height of the stereo camera; and generating, according to the first plane equation, a plane normal vector corresponding to the first plane equation; and determining, according to the plane normal vector, a pitch angle of the stereo camera and an inclination angle of the stereo camera. The external parameters of the stereo camera can be determined without using a reference point in a scene.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for determining external parameters of a stereo camera, comprising: acquiring ground surface data of a location where the stereo camera is positioned, wherein the ground surface data includes a two-dimensional image and a disparity image of the ground surface or includes a two-dimensional image and a depth image of the ground surface; generating, according to three-dimensional coordinates of each of pixels in the ground surface data in a camera coordinate system corresponding to the stereo camera, a first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels; determining, according to a distance between an origin of the camera coordinate system and the ground surface, a setting height of the stereo camera; generating, according to the first plane equation, a plane normal vector corresponding to the first plane equation; and determining, according to the plane normal vector, the external parameters of the stereo camera without using a vertical edge perpendicular to the ground in a scene as a reference point, wherein the external parameters comprises a pitch angle of the stereo camera and an inclination angle of the stereo camera. 2. The method according to claim 1 , further comprising: performing filtering processing on the ground surface data when the ground surface data does not meet a preset condition; wherein the filtering processing comprises median filtering in time domain and median filtering in spatial domain. 3. The method according to claim 1 , wherein, generating, according to three-dimensional coordinates of each of pixels in the ground surface data in a camera coordinate system corresponding to the stereo camera, a first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels comprises: selecting at least three pixels from pixels in the ground surface data, and using three-dimensional coordinates of the at least three pixels in the camera coordinate system corresponding to the stereo camera as a first sample set; generating, according to the first sample set, a second plane equation that conforms to three-dimensional coordinates of pixels in the first sample set in the camera coordinate system; determining, among the pixels in the ground surface data, all pixels that meet the second plane equation, and using the three-dimensional coordinates of the pixels that meet the second plane equation in the camera coordinate system as a second sample set; and generating, according to the second sample set, the first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels in the ground surface data in the camera coordinate system. 4. The method according to claim 3 , wherein, generating, according to the second sample set, the first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels in the ground surface data in the camera coordinate system comprises: performing fitting processing on the second sample set by using a least squares method to generate the first plane equation that conforms to the three-dimensional coordinates of the pixels in the ground surface data in the camera coordinate system. 5. The method according to claim 3 , wherein, selecting at least three pixels from pixels in the ground surface data comprises: selecting at least three pixels from the pixels in the ground surface data by using a random sample consensus RANSAC algorithm. 6. The method according to claim 5 , wherein, selecting at least three pixels from pixels in the ground surface data, and using three-dimensional coordinates of the at least three pixels in the camera coordinate system corresponding to the stereo camera as a first sample set and generating, according to the first sample set, a second plane equation that conforms to three-dimensional coordinates of pixels in the first sample set in the camera coordinate system comprises: selecting at least three pixels from the pixels in the ground surface data by using a RANSAC algorithm, and using the three-dimensional coordinates of the at least three pixels in the camera coordinate system corresponding to the stereo camera as the first sample set; generating, according to the first sample set, a current plane equation that conforms to the three-dimensional coordinates of pixels in the first sample set in the camera coordinate system; determining whether the current plane equation satisfies a preset condition; using the current plane equation as the second plane equation when the current plane equation satisfies the preset condition; increasing the number of iterations by 1 when the current plane equation does not satisfy the preset condition and returning to perform the steps of selecting at least three pixels from pixels in the ground surface data, and using three-dimensional coordinates of the at least three pixels in the camera coordinate system corresponding to the stereo camera as a first sample set; wherein an initial value of the number of iterations is 0. 7. The method according to claim 6 , wherein, the preset condition comprises: the number of pixels, among the pixels in the ground surface data, that meet the current plane equation reaches a preset first threshold, or the number of iterations corresponding to the current plane equation reaches a preset second threshold. 8. The method according to claim 1 , wherein, determining, according to the plane normal vector, a pitch angle of the stereo camera and an inclination angle of the stereo camera comprises: determining, in the camera coordinate system, a first angle by which a corresponding axis z c rotates about an axis x in a clockwise direction when the stereo camera rotates from a standard attitude to a current attitude, and using the first angle as the pitch angle of the stereo camera; and determining, in the camera coordinate system, a second angle by which a corresponding axis x c rotates about an axis z in a clockwise direction when the stereo camera rotates from the standard attitude to the current attitude, and using the second angle as the inclination angle of the stereo camera; wherein a three-dimensional coordinate system defined by the axis x c , the axis z c , and an axis y c is the camera coordinate system; a three-dimensional coordinate system defined by the axis x, the axis z, and an axis y is a world coordinate system; when directions of the axis x c and the axis z c coincide with directions of the axis x and the axis z, and when direction of the axis y c is opposite to direction of the axis y, the stereo camera is in the standard attitude. 9. A non-transitory storage medium, which is used for storing executable program codes, wherein the executable program codes, when being executed, are configured to implement the method for determining external parameters of a stereo camera according to claim 1 . 10. A device for determining external parameters of a stereo camera, comprising: an acquiring unit, configured for acquiring ground surface data of a location where the stereo camera is positioned, wherein the ground surface data includes a two-dimensional image and a disparity image of the ground surface or includes a two-dimensional image and a depth image of the ground surface; a first generating unit, configured for generating, according to three-dimensional coordinates of each of pixels in the ground surface data in a camera coordinate system corresponding to the stereo camera, a first plane equation in the camera coordinate system that conforms to the three-dimensional coordinates of the pixels; a first determining unit

Assignees

Inventors

Classifications

  • Control of cameras or camera modules · CPC title

  • Median filtering · CPC title

  • Determining position or orientation of objects or cameras (camera calibration G06T7/80) · CPC title

  • Stereo images · CPC title

  • involving 3D image data · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11010924B2 cover?
Embodiments of application discloses a method and device for determining external parameters of a stereo camera. The method comprises: acquiring ground surface data of a location of the stereo camera; generating, according to three-dimensional coordinates of each pixel in the ground surface data in a camera coordinate system corresponding to the stereo camera, a first plane equation in the came…
Who is the assignee on this patent?
Hangzhou Hikvision Digital Tec
What technology area does this patent fall under?
Primary CPC classification G06T7/85. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 18 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).