# MCubeS

MCubeS: 500 images with segmentation polygons for 20 classes, including asphalt, concrete, metal and road marking. Based on MCubeS (Multimodal Material Segmentation). Import it into a Pictograph workspace to export COCO, YOLO or Pascal VOC, or train a model on it. Published on Pictograph by Pictograph Research.

## Overview

- Type: public computer vision dataset
- Images: 500
- Classes: 20
- Annotation types: polygon
- Tasks: Segmentation (https://pictograph.io/explore/task/segmentation)
- Owner: Pictograph Research
- License: MIT License (https://opensource.org/license/mit)
- Source: MCubeS (Multimodal Material Segmentation) (https://github.com/kyotovision-public/multimodal-material-segmentation), created by Kyoto University (Liang et al., CVPR 2022). Credit the original authors when you use this data.
- Stars: 1
- Page: https://pictograph.io/datasets/pictograph-research/mcubes
- Hugging Face: https://huggingface.co/datasets/pictograph/mcubes
- Export formats: Pictograph JSON, Darwin V7, COCO, YOLO, YOLO-OBB, YOLO-Pose, DOTA, Pascal VOC, CVAT, Datumaro, LabelMe, CSV

## Get this dataset

Import a copy into your Pictograph organization, then export it in any format above. Its 500 images fit the Free plan's 10,000. They count toward your organization's images and storage. Every step: https://pictograph.io/docs/guides/public-datasets

```python
from pictograph import Client

client = Client()  # reads PICTOGRAPH_API_KEY
copy = client.datasets.import_public(ref="pictograph-research/mcubes")
print(copy.dataset_name, copy.image_count)
```

```bash
pictograph datasets import-public pictograph-research/mcubes
```

Or download its Hugging Face copy, no Pictograph account needed: the images, with each one's labels in `metadata.jsonl` (none of the formats above): https://huggingface.co/datasets/pictograph/mcubes

## Classes

- asphalt
- concrete
- metal
- road marking
- fabric leather
- glass
- plaster
- plastic
- rubber
- sand
- gravel
- ceramic
- cobblestone
- brick
- grass
- wood
- leaf
- water
- human body
- sky

## About

# MCubeS

> A public material-segmentation dataset of 500 street scenes photographed in RGB, every pixel labeled as one of 20 materials: 500 images, 99,352 polygons.

**[Pictograph Research](/org/pictograph-research)** · [MIT](https://github.com/kyotovision-public/multimodal-material-segmentation/blob/main/LICENSE) · Public · Updated 2026-12-02

## Overview

MCubeS (Multimodal Material Segmentation, CVPR 2022) is Kyoto University's benchmark for telling what things are made of, pixel by pixel, from a road, pavement or sidewalk: asphalt from concrete, a leaf from grass, the metal, rubber and glass of a car. Materials that look alike in color differ in how they reflect polarized light and absorb near-infrared, so every scene was captured by a cart-mounted rig of two RGB-polarization cameras, a near-infrared camera and a LiDAR, and the labels drawn on the RGB view were carried to the others.

Here each of the 500 scenes is its RGB photo with the 20-material labels as polygons, in the authors' train, validation and test splits.

## At a glance

| Metric | Value |
| :--- | ---: |
| Images | 500 |
| Polygons | 99,352 |
| Materials | 20 (polygon) |
| Splits | train 302, validation 96, test 102 |
| Image size (px) | 1224 x 1024 |
| Annotation types | polygon |
| Visibility | Public |

## Images

The left RGB-polarization camera's color photos, 16-bit RGB PNGs stored byte for byte. The authors train on every modality with the leftmost 192 columns cropped, the part their near-infrared camera does not cover. The near-infrared images and the polarization measurements (angle and degree) are in the authors' release.

## Materials

The authors' 20 materials in their own order (their label ids 0 to 19).

| Material | Images | Polygons |
| :--- | ---: | ---: |
| asphalt | 395 | 2,503 |
| concrete | 499 | 16,773 |
| metal | 489 | 11,243 |
| road marking | 269 | 1,706 |
| fabric leather | 266 | 900 |
| glass | 445 | 15,251 |
| plaster | 149 | 1,507 |
| plastic | 342 | 2,517 |
| rubber | 367 | 4,545 |
| sand | 161 | 1,404 |
| gravel | 67 | 252 |
| ceramic | 301 | 2,116 |
| cobblestone | 151 | 525 |
| brick | 306 | 5,124 |
| grass | 371 | 2,855 |
| wood | 461 | 5,590 |
| leaf | 485 | 9,834 |
| water | 86 | 336 |
| human body | 199 | 518 |
| sky | 472 | 13,853 |
| **Total** | | **99,352** |

People's clothing is fabric leather and their skin and hair human body. Gravel, water, sand, cobblestone and plaster are rare: weigh them before training on them.

## Annotations

The authors labeled every pixel (8 images keep a few pixels unlabeled). Here each material's connected regions are polygons, with rings for their 45,252 holes. Each region's outline is simplified by at most 1 pixel, or half a pixel, or kept as traced, whichever keeps the region at IoU 0.95 or better against its own pixels of the authors' label map: every material of every image is at IoU 0.95 or better (0.984 on average), at about 199 polygons and 6,850 vertices an image (the exact trace took three times as many). Regions under 16 pixels (6,334 specks and slivers, 34,405 pixels, 0.005% of the labels) are left out, except for human body: people far away are that small. In each image the polygons are ordered by the area they enclose, largest first: drawing only their outer outlines in that order gives every labeled pixel its material.

## Splits

The authors' (their `list_folder`), each in its folder: 302 images in `/train`, 96 in `/validation`, 102 in `/test`.

## Use this dataset

```python
from pictograph import Client, Export, PublicDatasetImport

client = Client()  # reads PICTOGRAPH_API_KEY
copy: PublicDatasetImport = client.datasets.import_public(ref="pictograph-research/mcubes")
for image in client.images.iter(dataset=copy.dataset_name, directory="/train", max_total=5):
    print(image.filename, image.annotation_count)
export: Export = client.exports.create(
    dataset=copy.dataset_name, name="mcubes-coco", format="coco",
    include_images=True, timeout=3600,
)
client.exports.download(
    dataset=copy.dataset_name, export=export.name, output_path="mcubes-coco.zip",
)
```

- Import it into your own workspace with one click from its page.
- Pull it with the [Pictograph SDK](https://pictograph.io/docs/api-reference/datasets) (shown above) or the CLI.
- [Export](https://pictograph.io/docs/export-conversion) to COCO, YOLO, Darwin V7, Pascal VOC, and more.

## License

Released under the MIT License the authors publish with their code and data; keep this notice with every copy:

```text
MIT License

Copyright (c) 2022 Yupeng Liang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

## Source

The images and labels come from [MCubeS](https://github.com/kyotovision-public/multimodal-material-segmentation), created by Yupeng Liang, Ryosuke Wakaki, Shohei Nobuhara and Ko Nishino at Kyoto University (CVPR 2022) and released under the MIT License. Changed here: taken from [Dataset Ninja's copy](https://datasetninja.com/multimodal-material-segmentation), whose RGB images and labels are the authors' own (checked against the original release in every scene, pixel for pixel); the RGB images only; each material's regions as polygons, simplified by at most a pixel at IoU 0.95 or better, those under 16 pixels left out (human body excepted). The original release also holds the near-infrared and polarization data (angle and degree), the near-infrared validity masks and semantic labels in Cityscapes' classes. Please cite the paper when you use this data.

## Citation

```bibtex
@InProceedings{Liang_2022_CVPR,
  author = {Liang, Yupeng and Wakaki, Ryosuke and Nobuhara, Shohei and Nishino, Ko},
  title = {Multimodal Material Segmentation},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year = {2022},
  pages = {19800-19808}
}
```


---

Free to view. Sign in (free) to import this dataset, re-annotate it with SAM3, or export it; this link opens it in the app afterwards: https://app.pictograph.io/signup?next=%2Fexplore%2Fdatasets%2Fpictograph-research%2Fmcubes
