The Ground Sampling Distance (GSD) is the distance between the center of two consecutive pixels on the ground. It influences the accuracy and quality of the final results and the details visible in the final orthomosaic.
The flight height H that is needed to obtain a given GSD can be computed and depends on the camera focal length, the camera sensor width [mm], and the image width [pixels].
Sw = real sensor width [mm]
FR = real focal length [mm]
H = flight height [m]
Dw = distance covered on the ground by one image in the width direction (footprint width) [m]
Some lens manufacturers give the focal length (F35) in the 35 mm equivalent. It is not the 35 mm equivalent but the real focal length that should be used in PIX4Dmapper. To find the real focal length, some computations are needed. In the case of a 4:3 ratio, the formula for the real focal length FR is given by:
FR [mm] = (F35 * SW) / 34.6 (1)
Where
F35 = focal length that corresponds to the 35 mm equivalent
FR = real focal length
Sw = the real sensor width
For more information about the 35mm equivalent focal length concept: Wikipedia article.
Using the fact that
H / FR = DW / SW,
the flight height H is given by:
H = (DW * FR) / SW . (2)
The distance covered on the ground by one image in the width direction (footprint width) is given:
DW = (imW * GSD) / 100. (3)
where
DW = distance covered on the ground by one image [m] in the width direction (footprint width)
imW = image width [pixel]
GSD = desired GSD [cm/pixel]
Combining equation (2) and (3), the flight height is given by:
H [m] = (imW * GSD * FR) / (SW * 100) (4)
H = (imW * GSD* FR ) / (Sw * 100) = (4000 * 5 * 5) / (6.17 * 100) = 162.07 [m]