The invention discloses a road three-
dimensional modeling vehicle-mounted auxiliary device based on
RGB image information, and particularly relates to the technical field of three-
dimensional modeling, the vehicle-mounted auxiliary device comprises an
energy supply device, a storage device, a photographing device and an
image acquisition processing device, the photographing device completes road image
data acquisition, and the
image acquisition processing device processes the road image data. A main control
chip arranged in an
image acquisition and
processing device is used for controlling logic and constructing an
algorithm, and based on
computer vision and
machine vision, a mapping relation between a two-dimensional image and a three-dimensional target is established and three-dimensional geometric information is recovered; a least square
algorithm in a
computer vision library OpenCV is adopted to minimize the difference between a point, projected to a two-dimensional
image plane through a camera model, of a three-dimensional point and a corresponding point in an actual image, a target function of the sum of re-projection errors of all observed feature points is constructed, and then an optimal solution is found through the
algorithm; and initializing the main control
chip and preprocessing the original image by using the algorithm built in the main control
chip.