Exteriors of Residential Buildings Lubin Fan Peter Wonka - - PowerPoint PPT Presentation
Exteriors of Residential Buildings Lubin Fan Peter Wonka - - PowerPoint PPT Presentation
A Probabilistic Model for Exteriors of Residential Buildings Lubin Fan Peter Wonka Motivation B A C D E C B D E F A F 2 Goals Learning Learning The model can be learned from available remote The model can be learned from
Motivation
2
A B D C E F A B C D E F
Goals
- Learning
The model can be learned from available remote sensing data.
- Sampling
The model should be generative.
- Hard constraints
The model can handle hard geometric constraints.
3
β π₯
- Learning
The model can be learned from available remote sensing data.
- Sampling
The model should be generative.
- Hard constraints
The model can handle hard geometric constraints.
Goals
- Learning
The model can be learned from available remote sensing data.
- Sampling
The model should be generative.
- Hard constraints
The model can handle hard geometric constraints.
4
β π₯
- Learning
The model can be learned from available remote sensing data.
- Sampling
The model should be generative.
- Hard constraints
The model can handle hard geometric constraints.
Model
- How to represent a building model?
Problem: each building has a different number of parameters.
- How to design a probabilistic model?
Problem: training the model from a small dataset
- How to generate a building model?
Problem: generating a 3D building model from a high dimensional feature vector
Challenges
5
Model
Building representation
- How to represent a building model?
Problem: each building has a different number of parameters.
- How to design a probabilistic model?
Problem: training the model from a small dataset
- How to generate a building model?
Problem: generating a 3D building model from a high dimensional feature vector
Related Work: Procedural Modeling
6
Metropolis procedural modeling [Talton et al. 2011] CGA [MΓΌller et al. 2006] CGA++ [Schwarz and MΓΌller 2015]
Learning Sampling Hard constraints
Related Work: Inverse Procedural Modeling
7
Symmetry maximization [Zhang et al. 2013] Inverse procedural modeling [Wu et al. 2014] Bayesian grammar learning [MartinoviΔ and Van Gool 2013] Bayesian grammar induction [Talton et al. 2011]
Learning Sampling Hard constraints Learning Sampling Hard constraints
Related Work: Probabilistic Models
8
Computer-generated building layouts [Merrel et al. 2010]
interior building model no label ambiguity
Assembly-based 3D modeling [Chaudhuri et al. 2011] Component-based shape synthesis [Kalogerakis et al. 2012]
Pipeline
9
Database
β¦
New buildings
Model
sampling training
Hierarchical graphical model Parametric representation
Pipeline
10
Database sampling training Attribute-based representation Attribute-based representation training sampling Building generation
Building Representations
A building model A parametric representation An attribute-based representation
12
A Parametric Building Representation
Right Back Left Top Front
β
13
An Attribute-based Building Representation
ππ Mass model attributes
- Size of bounding box
- Building coverage ratio
- Boundary complexity
- Floor area ratio
- Area ratio of floors
- Garage attributes
- Porch attributes
ππ,πππ π§ ππ,πππ ππ,ππ π ππ,πππ ππ,πππ ππ,πππ ππ,ππππ¦
πΉπ Element attributes
- Roof styles
- Window styles
- Special building elements
πΉπ πππ πΉπ₯ππ πΉπ‘ππ
πΊ
π
Facade attributes
- Window-to-wall ratio
- Symmetry
- Alignment between facade pieces πΊ
π,πππππ
πΊ
π,π₯π₯π
πΊ
π,π‘π§π
Probabilistic Modeling
Training data Hierarchical graphical model Samples
15
Design Choices
π·2 π·1 π·π πΈ
π
πΈ2 πΈ1 π π·π
π½
πΈ
π πΎ
- It requires large
training data.
- π depends on both
continuous and discrete variables.
- Defining a distance
metric is difficult.
πΌπ
π½
π·π π πΈ
π πΎ
16
Hierarchical Graphical Model
π½
ππ,π ππ,π
π
πΉπ,π
πΏ πΎ
πΊπ,π πΊπ,π π: the overall style of a building
Level 2: discrete variables Level 1: discrete variable Level 3: continuous variables
ππ,π and πΊπ,π: the styles of each attribute, respectively mass model facade variables element variables
π½
ππ,π ππ,π
π
πΉπ,π
πΏ πΎ
πΊπ,π πΊπ,π
πͺ = {π, ππ, ππ, πΊπ, πΊ
π, πΉπ}
π πͺ = π π
π
π ππ,π|π π ππ,π|ππ,π, π ππ,π β
π
π πΊπ,π|π π πΊπ,π|πΊπ,π, π πΊπ,π β
π
π πΉπ,π|π πΉπ,π , π
17
Hierarchical Graphical Model
ππ,πππ π§ ππ,πππ ππ,πππ ππ,πππ ππ,ππππ¦ ππ,ππ π ππ,πππ
lateral edges
- Learning framework [Koller and Friedman 2009]
18
Learning
ππ,π
π½
ππ,π
π
πΉπ,π
πΏ
πΊπ,π
πΎ
πΊπ,π
π·π π» π = log π(π») + log π(πβ|π») + log π(π|π», Ξπ») β log π(πβ|π», Ξπ»)
Input: π buildings π = {π1, π2, β― , ππ} Output:
- the structure π»
- the cardinality of the values of the hidden variables
- the lateral edges
- the parameters Ξ
- Cheeseman-Stutz score [Cheeseman and Stutz 1996]
ππ,π
π½
ππ,π
π
πΉπ,π
πΏ
πΊπ,π
πΎ
πΊπ,π
Learning
- Structure learning algorithm
19
πΌπ
π½
π·π π πΈ
π πΎ
Step 1: π‘ and {βπ} Step 2
π·1 π·2 π·3 π·4 π·π½
π½
ππ,π ππ,π
π
πΉπ,π
πΏ πΎ
πΊπ,π πΊπ,π
ππ
β
πΊ
π β
πΉπ
β
πΆπ
Samples
20
Sampling
training sampling
ππ
β
πΊ
π β
πΉπ
β
πΆπ ππ
β
πΊ
π β
πΉπ
β
πΆπ ππ πΊ
π
πΉπ ππ
Training data
Building Generation
Mass model and roof generation Attribute-based representation Facade generation
22
Mass Model and Roof Generation
- Input: desired mass model attributes ππ
β
- Output: building mass model π
- Mass model energy
πΉπππ‘π‘ π =
π
ππ,π β ππ,π
β 2
ππ,π
β 2
+ πΉπ’πππ π + πΉπ’βπππ π
Attributes term: ππ,π denotes the attributes of π Topology term: All boxes should be connected.
Top
Thickness term: Mass models should not be too narrow.
Top
Mass Model and Roof Generation
- Algorithm: simulated annealing
23
Iterations Energy
Initialization Top views
A B C D E F A B C D E F
Mass Model and Roof Generation
24
F
25
Facade Generation
- Input: mass model π, desired facade attributes πΊ
π β,
and the database (i.e., element set)
- Output: facades of the building πΊ
- Facade layout energy
πΉ
πππ πΊ = π‘ π
πΊ
π,π,π‘ β πΊ π,π,π‘ β
πΊ
π ,π,π‘ β 2 attributes of πΊ π‘: right Facade pieces on the right side
Facade Generation
26
Results & Applications
Thumbnails of all buildings in our dataset.
Dataset
- 200 buildings: building footprints + photographs
28
Thumbnails of all buildings in our dataset.
Dataset
- 200 buildings: building footprints + photographs
29
front porch
back porch
garage
ππ πΊπ πΉπ
Model Structure: Hidden Variables
30
ππ,π
π½
ππ,π
π
πΉπ,π
πΏ
πΊπ,π
πΎ
πΊπ,π
Style 1 Style 2 Style 3 Style 4 Style 5 Style 6 Style 7
ππ,π
π½
ππ,π
π
πΉπ,π
πΏ
πΊπ,π
πΎ
πΊπ,π
31
Model Structure: Lateral Edges
ππ,πππ π§ ππ,πππ ππ,πππ ππ,πππ ππ,ππππ¦ ππ,ππ π πΉπ πππ πΉπ₯ππ
vs. vs.
32
Comparison with Other Models
- Holdout validation method
- a training set (80%)
- a test set (20%)
- Models
- Our model
- Model 1: without learned edges between variables
- Model 2: without hidden variables on the second level
- Model 3: a directed graphical model without hidden variables
- GMM: this model does not encode the relationship between
building attributes
Application I: Building Synthesis
33
Application II: Building Completion
34
Application II: Building Completion
35
Application II: Building Completion
36
Completion 1 Completion 2 Completion 3 Input
Incomplete building model Backside of each building model
Discussions
- Special building structures: garages and porches
37
garage porch parcel
Limitations
- Our model does not consider
- appearance of the building: color and texture
- context of the building: parcel shape, parcel slope, etc.
- No guarantee to find a global minimum
Limitations
- Our model does not consider
- appearance of the building: color and texture
- context of the building: parcel shape, parcel slope, etc.
- No guarantee to find a global minimum
38
Conclusions
- We propose a new framework to
model the exterior of residential buildings.
- We demonstrate our framework by
- synthesizing new building models
- completing observed building models
Building synthesis Building completion
Thank you!
39
More details about this project are available at Acknowledgements:
Anonymous reviewers
Award No. OCRF-2014-CRG3-62140401