Figures & data
Figure 1. Framework of our platform. In the user interaction module, users provide the facades boundaries, roof type, and facade views of the building in images to our web platform. Then, images are fed into facade elements extraction module to automatically obtain the locations of the windows, doors and balconies. In the 3D building modeling step, the locations are transformed from 2D to 3D space. Then locations are rotated according to the information of facades views. Finally, the 3D building model is built and visualized to users
![Figure 1. Framework of our platform. In the user interaction module, users provide the facades boundaries, roof type, and facade views of the building in images to our web platform. Then, images are fed into facade elements extraction module to automatically obtain the locations of the windows, doors and balconies. In the 3D building modeling step, the locations are transformed from 2D to 3D space. Then locations are rotated according to the information of facades views. Finally, the 3D building model is built and visualized to users](/cms/asset/91a578f7-9fac-4e3c-af7f-421995ec2bb8/tbed_a_1886391_f0001_c.jpg)
Figure 2. The process of 3D transformation. First, the 2D locations of every facade and its facade elements are extruded using ExtrudeGeometry method from Three.js, to obtain the corresponding 3D locations group of the facade in (b); Then, Every 3D locations group is rotated using EquationEquations (7(7)
(7) )~(Equation8
(8)
(8) ) based on the facade direction from user interaction step; Finally, the 3D building model is obtained
![Figure 2. The process of 3D transformation. First, the 2D locations of every facade and its facade elements are extruded using ExtrudeGeometry method from Three.js, to obtain the corresponding 3D locations group of the facade in (b); Then, Every 3D locations group is rotated using EquationEquations (7(7) AngrD=0D=front−π/2 D=left+π/2D=rightπD=back(7) )~(Equation8(8) Mr=cosAngrD0sinAngrD010−sinAngrD0cosAngrD(8) ) based on the facade direction from user interaction step; Finally, the 3D building model is obtained](/cms/asset/895a3878-c9dc-4e54-817d-93005d7ebe15/tbed_a_1886391_f0002_c.jpg)
Figure 3. Visualization results for extracting facade elements locations (Containing different views, lighting, and architectural styles)
![Figure 3. Visualization results for extracting facade elements locations (Containing different views, lighting, and architectural styles)](/cms/asset/180bdde0-2dfd-4c3b-a843-118995395c96/tbed_a_1886391_f0003_c.jpg)
Figure 4. Qualitative result of 3D building modeling. The first and third columns are the original images of every building. The second and fourth columns are the 3D modeling results of every building through our workflow
![Figure 4. Qualitative result of 3D building modeling. The first and third columns are the original images of every building. The second and fourth columns are the 3D modeling results of every building through our workflow](/cms/asset/23d9ddd4-4f02-4d3b-b779-df8315082e55/tbed_a_1886391_f0004_c.jpg)
Table 1. Statistic modeling results of the 10 buildings
Data Availability
The FacadeWHU dataset that supports this study is openly available at: https://drive.google.com/drive/folders/1BeKXMuNAaRcwP6lSeiqFOSfscbP9ZKm7?usp=sharing.