Analyzing building models for quantity takeoff, building safety, or energy analysis requires function classification data of spaces and related objects. Automated space function classification is desirable to reduce input model preparation effort and errors. This study addresses a gap in existing space function classification work, which is a lack of datasets to train and evaluate machine learning and deep learning models. We present the SFS-A68 dataset for space function segmentation in apartment buildings. The dataset consists of input and ground truth images for 68 floor plans of apartment buildings designed or built between 1952 and 2019.
Input Image | Ground Truth |
Each pixel in a ground truth image is assigned to a space function class. Space function classes in apartment buildings that are classified by the space function segmentation network are shown in Table below, right column. We have identified 22 space function classes for the apartment buildings in our dataset. Each layout element in an input image is colored according to a unique class color (Table below, left column). Space element classes may be helpful as metadata to determine space function classes. The defined class hierarchy of the dataset with the unique RGB color code of each class can be seen below.
Layout element classes | Space function classes |
|
|
In order to use the helper codes, create the environment from the environment.yml file
conda env create -f environment.yml
Activate the new environment:
conda activate SFS-A68
Verify that the new environment was installed correctly
conda env list
We first used the dataset to develop two segmentation models based on transfer learning and training from scratch then, the outputs of the space function segmentation models for the test dataset are evaluated by Intersection over Union (IoU) and Total Error metrics.
The authors (Amir Ziaee, Georg Suter) gratefully acknowledge support by Grant Austrian Science Fund (FWF): I 5171-N, Mihael Barada, and participants in course '259.428-2021S Architectural Morphology' at TU Wien for data collection.