Over the last years, webcams and real-time monitoring have become more and more popular. Especially in mountainous regions webcams are widespread (e.g. ski fields, lakes, traffic, etc.). As these images provide information in high spatial and high temporal resolution, the question the scientific community is rising and trying to answer is, whether this data could be usable for spatial analysis purposes. The major challenge in this case is to properly georeference webcam images to a map coordinate reference system. Even though from a geometric point of view this can be solved, many parameters are very difficult to be measured in an accurate way (e.g. orientation of the camera system). Therefore, beside the geometric parameters the standard approaches use ground control points (GCPs) that are accurately measured in the field to align the image.
The proposed python package georef_webcam is providing a tool to georeference webcam images very accurately without the need of knowing all the projection parameters very accurately. It is also compensating the need to go into the field personally, as you can derive GCPs from remarkable man-made structures or from morphological features (edges) in the panoramic view of the image and the Digital Elevation Model (DEM). As cameras are no ideal system, they usually induce distortions into the image, which must be compensated for accurate georeferencing. The proposed tool is implementing a new approach of polynomial fitting to compensate these errors. The whole georeferencing procedure is wrapped up in a command-line based python script, which is making this procedure as user-friendly as possible. There is no need to deal with the projection procedure itself. The user is just asked for the needed parameters and to draw the GCPs and the fitting points in a predefined QGIS project. All steps can be executed iteratively to produce a result that meets the user requirements.
The georef_webcam code is available at https://github.com/SebBuchelt/georef_webcam. As this script is in early development stage, no guarantee for full functionality is given.
(Left) Images as taken by the webcam. (Right) Geo-project image in lat/long coordinates.
Härer, S., Bernhardt, M., and Schulz, K.: PRACTISE – Photo Rectification And ClassificaTIon SoftwarE (V.2.1), Geosci. Model Dev., 9, 307-321, doi:10.5194/gmd-9-307-2016, 2016.
Dizerens, C., Hüsler, F., & Wunderle, S. (2016): Georectification and snow classification of webcam images: potential for complementing satellite-derrived snow maps over Switzerland. In EGU General Assembly Conference Abstracts (Vol. 18, p. 14638).
Webcam images were provided by foto-webcam.eu.