Introduction #
The Massachusetts Buildings Dataset comprises 151 aerial images of the Boston area, each with a resolution of 1500 × 1500 pixels, covering an area of approximately 2.25 square kilometers. This results in a dataset that encompasses roughly 340 square kilometers in total. To create subsets, the data was divided into a train set with 137 images, a test set with 10 images, and a val set with 4 images. The target maps were generated by converting building footprints obtained from the OpenStreetMap project into rasterized forms. Unlike the GTA Buildings dataset used elsewhere in the thesis, this dataset was confined to regions with an average omission noise level of approximately 5% or less. The large volume of high-quality building footprint data was collected because the City of Boston contributed building footprints for the entire city to the OpenStreetMap project. The dataset predominantly represents urban and suburban areas and includes buildings of all sizes, from individual houses to garages.
Figures (a) and (b) show two representative regions from the Massachusetts Buildings dataset. Figures © and (d) show predictions of a postprocessing network on these regions. Green pixels are true positives, red pixels are false positives, blue pixels are false negatives, and background pixels are true negatives.
Summary #
Massachusetts Buildings Dataset is a dataset for instance segmentation, semantic segmentation, and object detection tasks. Possible applications of the dataset could be in the geospatial domain and environmental industry.
The dataset consists of 151 images with 211791 labeled objects belonging to 1 single class (building).
Images in the Massachusetts Buildings Dataset dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. All images are labeled (i.e. with annotations). There are 3 splits in the dataset: train (137 images), test (10 images), and val (4 images). The dataset was released in 2013 by the University of Toronto.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/massachusetts-buildings/main/visualizations/poster.png?width=1200)
Explore #
Massachusetts Buildings Dataset dataset has 151 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/A/AP/H5Z9kcHYSTB6pki83r2b85auvTu70Kauc3KvX48XTDWyZL9nCVDOtiCmRtcfaGRuQG0tPf98EfNzIl1Be2jCwPtntIYHsIQxA7ZJzEVSrNuGa97x5lGusYW6GSGJ.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/f/o/uf/gauN5MESCpyqbnQzyWcWPAibnuMilPZe5PaY35rynmDCCGaubI5PDGJsIMfEf1uDQf607zmRuBCPrmFaLcITKMSektmcLE2rXopX9yqPj3WyO0T9It4MHtwoYFs5.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/9/lC/TCBJWBkN4DmRLdGiO7BS6pYrNyEP7300GV0DcHdWv43qt400N24M7EgClgjPte3gCFq1MkDL2gRsbgMR9ePuYDLjYiiuMmRiqeXTkvQKOLMDhAUqcHDJfroLiYLg.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/A/Do/NyvNAlAZTv0eT7ehqOXgs9XLaD2fk7uMUFdmSj1YJldJqoKOkV6GvSw7Ecd99OkHThSAIttZeB3kRuTI9WtA3VDR9WMvtfnHYbdaAX0U8G2Gt2JxA5uPUKdRke8d.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/Y/6D/KcwjREBDMoKwkHexG65SNr4GNaVQTx2eQCQWZ7Zf7cz9CcSzUwLIxqYLX8Hwxn9PYXpmoxBrRPqQqffwHkdFZ9v9zF99zzYXDgLFy4F2f76aC3WWLauTZE7hGjYc.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/7/6/nv/vH83LXyl0gzNIzYP03uqnPH6iCthtEpDG3qBWZZAz1dmqEDZ8RVT5rSTBgu4ODeVDki9FBj8nzQXARcigYIvQiTbHoKvcA9v8kPQ273bWpscXGNFEhcA0fGbKUlV.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/n/Al/TS1ZHockYsBkzagfGsARDDAuG1vmEI6ciLJ4XEIwJ7piAQc0d7fwRJSgtxpLQsSfeV0fbw0JjwwD7D2Fdc9lGErZzaVZ8zfmotZSu5U9jKUwsJYWrxUApQl3TsOo.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/e/ph/3gVNTFRdNCRmrnvnPCkPIraMc1DlCcQCQk7X0yLfCDdfuaHRpD6xU8vOABqefyp0OfWf1XZe6w9FI1VkHSssYBKZ5LJ8OtlkDfRC7SgsN6REWHzeJScUsJS0Rz7C.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/j/t/pY/mCQSdYa1U8Mfs01rhk3pPTV5TykVPNxgjcLybkqsJSHrSQreDlAmhooUpmvlpyiG4Gv3NMjgFNGdgHkBzDmcP9Ggd4v3XiouYImSdWWDuTp94BWqi4bQSW10k347.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/b/co/yeP6zDu5bVuDu1ZFCCpsUy6oSp8hImx9N48pRyOia6ETWeAF7mZYIWd54G5zogkGjTUAZIQAKwRe7teCw0UvBgIhJB27RQ7snVojFnFNGQDiF8APqRxzJDCIQkka.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/c/qb/BkujWJlruTqPaHypbUyhBg4Cn8NP1CTAy0yjJutZayktfeTqoFNYB2I7jF4RZhmsA1DpUtpb7YmTNOg2n0mcfrxBRiUVddYVtsmJnIqGnvIqteI3Solz4bQ1f5GT.png)
![Sample image from Massachusetts Buildings Dataset](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/b/Xb/21pLA9K4owAFh64E9jogHeWJyAdzfU10ec2GHjKmJeOTCseZDtqs6Ub5dmZnuNI1ftDeXTZaXwomgnPvt6WwDQkZFEZ1k9wAXtfge6zaR2hZIyINedV0V3efdxAE.png)
Class balance #
There are 1 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ㅤ | Images ㅤ | Objects ㅤ | Count on image average | Area on image average |
---|---|---|---|---|
building➔ mask | 151 | 211791 | 1402.59 | 13.48% |
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
building mask | 211791 | 0.01% | 8.4% | 0% | 1px | 0.07% | 662px | 44.13% | 17px | 1.1% | 2px | 0.13% | 547px | 36.47% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/massachusetts-buildings/main/stats/classes_heatmaps.png)
Objects #
Table contains all 98727 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ㅤ | Class ㅤ | Image name click row to open | Image size height x width | Height ㅤ | Height ㅤ | Width ㅤ | Width ㅤ | Area ㅤ |
---|---|---|---|---|---|---|---|---|
1➔ | building mask | 23878945_15.png | 1500 x 1500 | 10px | 0.67% | 10px | 0.67% | 0% |
2➔ | building mask | 23878945_15.png | 1500 x 1500 | 22px | 1.47% | 26px | 1.73% | 0.02% |
3➔ | building mask | 23878945_15.png | 1500 x 1500 | 7px | 0.47% | 12px | 0.8% | 0% |
4➔ | building mask | 23878945_15.png | 1500 x 1500 | 8px | 0.53% | 7px | 0.47% | 0% |
5➔ | building mask | 23878945_15.png | 1500 x 1500 | 9px | 0.6% | 9px | 0.6% | 0% |
6➔ | building mask | 23878945_15.png | 1500 x 1500 | 17px | 1.13% | 16px | 1.07% | 0.01% |
7➔ | building mask | 23878945_15.png | 1500 x 1500 | 16px | 1.07% | 15px | 1% | 0.01% |
8➔ | building mask | 23878945_15.png | 1500 x 1500 | 9px | 0.6% | 8px | 0.53% | 0% |
9➔ | building mask | 23878945_15.png | 1500 x 1500 | 14px | 0.93% | 8px | 0.53% | 0% |
10➔ | building mask | 23878945_15.png | 1500 x 1500 | 17px | 1.13% | 14px | 0.93% | 0.01% |
License #
License is unknown for the Massachusetts Buildings dataset.
Citation #
If you make use of the Massachusetts Buildings data, please cite the following reference:
@phdthesis{MnihThesis,
author = {Volodymyr Mnih},
title = {Machine Learning for Aerial Image Labeling},
school = {University of Toronto},
year = {2013}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-massachusetts-buildings-dataset,
title = { Visualization Tools for Massachusetts Buildings Dataset Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/massachusetts-buildings } },
url = { https://datasetninja.com/massachusetts-buildings },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Please visit dataset homepage to download the data.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.