The present invention belongs to the image
distance measurement technological field and relates to a
distance measurement method, a
distance measurement device, and an electronic device. According tothe distance measurement method, the distance
measurement device, and the electronic device of the invention, an image which is shot by a distance measurement image
pickup device and contains a distance measurement target, and a horizontal distance from the distance measurement target to the center position of the image are acquired; the horizontal size of the image and the
visual angle of the distance measurement image
pickup device are acquired; a distance measurement angle is obtained according to the
visual angle, the horizontal distance and the horizontal size; a
vertical distance from the distance measurement target to the center position of the image and the pixel height of the
vertical distance in a
light sensing element are acquired; the vertical size of the
light sensing elementin a vertical direction and vertical pixel size corresponding to the vertical size are acquired; a
light sensing distance from the light sensing element to an image
pickup lens is obtained; the product of the vertical pixel size, the light sensing distance and the
vertical distance is solved, and is divided by the pixel height, the vertical size and the cosine value of the distance measurement angle, so that a distance from the distance measurement image pickup device to the distance measurement target can be obtained. With the method adopted, distances can be measured quickly.