Provided in the present application are a method, apparatus and
system for measuring a
road surface roughness, and an electronic device and a medium. The method comprises: acquiring a disparity map of binocular stereoscopic vision of a
road surface area to be subjected to measurement, wherein said
road surface area is segmented into a plurality of measurement areas having the same size; on the basis of the disparity map of each measurement area, determining a
parallax gradient vector of the corresponding measurement area; compiling statistics on the number of direction deviations in the
parallax gradient vector in each measurement area, and a deviation angle; and on the basis of the number of direction deviations in the
parallax gradient vector in each measurement area, and the corresponding deviation angle, predicting a
road surface roughness in the corresponding measurement area. In the present application, a disparity map including depth information is obtained by using a binocular stereoscopic camera, a corresponding parallax gradient vector is determined on the basis of the disparity map, and a
road surface roughness on the disparity map is determined according to deviation statistics of the parallax gradient vector and a deviation angle. By means of the present application, not only is the calculation consumption of the
road surface roughness reduced, but the precision for evaluating the road
surface roughness is also effectively improved.