Method and device for determining external parameter of stereoscopic camera
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
6 Citations
18 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
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, configured for determining, according to a distance between an origin of the camera coordinate system and the ground surface, a setting height of the stereo camera; a second generating unit, configured for generating, according to the first plane equation, a plane normal vector corresponding to the first plane equation; and a second determining unit, configured for 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. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A device for determining external parameters of a stereo camera, which comprises:
- one or more controllers, one or more memories, wherein the one or more memories are configured to store executable program codes;
the executable program codes stored in the one or more memories are executed by the one or more controllers to perform;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.
- one or more controllers, one or more memories, wherein the one or more memories are configured to store executable program codes;
Specification