The invention discloses an
electronic imager-based distance measuring method. The
electronic imager-based distance measuring method comprises the following steps: acquiring a target image and the
focal length through an
electronic imager, and estimating the height dimension of the target according to a preset ratio; displaying a horizontal
reticle associated with an electronic
compass in an imaging screen of the electronic imager, sequentially moving the horizontal
reticle to the highest point and the lowest point of the target image, and recording the angle change amount of the electronic
compass when the horizontal
reticle is moved from the highest point to the lowest point of the target image; calculating a target distance according to a formula that x is equal to C2*cotalpha, wherein C2 is the height dimension of the target and alpha is the angle change amount of the electronic
compass. By the electronic imager-based distance measuring method, distance measuring operation through the electronic imager is simplified, and only through movement of the horizontal reticle and recording of the angle change amount through the electronic compass, the distance measuring operation on thetarget is simply and conveniently achieved, so that a user experience is improved. The invention further discloses an electronic imager-based distance measuring
system. The electronic imager-based distance measuring
system has the former beneficial effects.