
AUTOMATIC APPROACH FOR RECTIFYING BUILDING 
FACADES FROM A SINGLE UNCALIBRATED IMAGE 
Wenting Duan and Nigel M. Allinson 
The Department of Electronic and Electrical Engineering, The University of Sheffield 
Mappin Street, Sheffield, U.K. 
Keywords:  Facade rectification, Vanishing point estimation, Line grouping, Building recognition. 
Abstract:  We describe a robust method for automatically rectifying the main facades of buildings from single images 
taken from short to medium distances. This utility is an important step in building recognition, 
photogrammetry and other 3D reconstruction applications. Our main contribution lies in a refinement 
technique for vanishing point estimation and building line grouping, since both significantly affect the 
location and warping of building facades. The method has been shown to work successfully on 96% of 
images from the Zubud-Zurich building database where images frequently contain occlusions, different 
illumination conditions and wide variations in viewpoint. 
1 INTRODUCTION 
The rectification of main building facades to their 
fronto-parallel view is of importance in building 
recognition, photogrammetry and other 3D 
reconstruction applications (Wang et al., 2005). It 
can simplify the extraction of metric information and 
recover the canonical shape of a building because 
the metric rectification allows the scene to be 
warped-back using a similarity transformation. In 
other words, the rectified view is almost free from 
perspective distortion. It should be noted that the 
rectification problem addressed here is different 
from image rectification for stereo vision, where the 
purpose is to match the epipolar projections of 
image pairs (Hartley, 1999). How to rectify a single 
uncalibrated image is a different challenge; and 
various approaches having been proposed and 
studied.  
As pointed out by Menudet et al. (2008), 
“camera self-calibration is intrinsically related to 
metric reconstruction”. Therefore, an important 
factor for rectification lies in obtaining accurate 
calibration parameters and inclusion of appropriate 
scene constraints. Menudet et al. (2008) described a 
new way of decomposing the scene-to-image 
homography, which allows a cost function to assess 
how close the rectification is to similarity. However, 
to obtain the calibration parameters, at least four 
images of the same scene were required. Using only 
a single image of a particular scene, Liebowits and 
Zisserman (1998) utilised some geometric 
constraints such as equal angles for rectification. 
Chen and Ip (2005) achieved rectification by using 
the vanishing line and an arbitrary circle extracted 
from the image to estimate the image of the absolute 
conic (IAC). In the context of rectifying building 
images, reliable geometric features such as parallel 
lines and orthogonal angles can be used as scene 
constraints (Hu, Sawyer and Herve, 2006; Robertson 
and Cipolla, 2004; David, 2008; Košecká and Zhang, 
2005). The estimation of the vanishing line is a 
major technique to recover images from perspective 
distortion. Hence, improving the accuracy and 
efficiency of computing these vanishing points is of 
foremost interest. Košecká and Zhang (2002) 
proposed a technique of applying the EM algorithm 
to detect vanishing points for images taken in 
man-made environments. The method achieved 
good accuracy with vanishing points being detected, 
on average, within 5 pixels of their true position. 
However, for building facade rectification, the 
following factors can adversely affect the success 
rate of detecting vanishing points. Firstly the images 
of the building can be taken in different illumination 
conditions and from different viewpoints. Secondly 
occlusion and scene clutter can obscure the building 
image. Finally, not all buildings have facades that 
are orthogonal to each other.    These issues have not 
37
Duan W. and Allinson N. (2009).
AUTOMATIC APPROACH FOR RECTIFYING BUILDING FACADES FROM A SINGLE UNCALIBRATED IMAGE.
In Proceedings of the 6th International Conference on Informatics in Control, Automation and Robotics - Robotics and Automation, pages 37-43
DOI: 10.5220/0002191600370043
Copyright
c
 SciTePress