Dataset Viewer
Auto-converted to Parquet Duplicate
height
int64
3.56k
3.56k
width
int64
3.56k
3.56k
fold
stringclasses
1 value
raster_name
stringclasses
3 values
location
stringclasses
1 value
image
imagewidth (px)
3.56k
3.56k
tile_name
stringlengths
69
79
annotations
dict
tile_metadata
dict
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_10662_23101_3555_3555_225.tif
{"bbox":[[2083.274467628449,2713.372895359993,129.26657291781157,144.10006564855576],[2285.901201622(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,372948.03665692307,0.0,-0.045,9927203.022751696,0.0,0.0,1(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_10662_24878_3555_3555_230.tif
{"bbox":[[2083.274467628449,936.372895359993,129.26657291781157,144.10006564855576],[2285.9012016225(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,372948.03665692307,0.0,-0.045,9927123.057751697,0.0,0.0,1(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_10662_26655_3555_3555_235.tif
{"bbox":[[1584.4968071606654,0.0,65.17426145647732,32.79731351137161],[1198.8229209287092,169.596597(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,372948.03665692307,0.0,-0.045,9927043.092751697,0.0,0.0,1(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_10662_5331_3555_3555_208.tif
{"bbox":[[2363.9778356608003,2110.154482126236,236.8022454958409,211.71333333849907],[3473.173232351(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,372948.03665692307,0.0,-0.045,9928002.672751697,0.0,0.0,1(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_10662_7108_3555_3555_213.tif
{"bbox":[[2363.9778356608003,333.15448212623596,236.8022454958409,211.71333333849907],[3473.17323235(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,372948.03665692307,0.0,-0.045,9927922.707751697,0.0,0.0,1(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_12439_23101_3555_3555_226.tif
{"bbox":[[306.2744676284492,2713.372895359993,129.26657291781157,144.10006564855576],[508.9012016225(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,373028.0016569231,0.0,-0.045,9927203.022751696,0.0,0.0,1.(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_12439_24878_3555_3555_231.tif
{"bbox":[[306.2744676284492,936.372895359993,129.26657291781157,144.10006564855576],[508.90120162256(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,373028.0016569231,0.0,-0.045,9927123.057751697,0.0,0.0,1.(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_12439_26655_3555_3555_236.tif
{"bbox":[[1366.2613836154342,0.0,59.71483814436942,43.38686043024063],[1995.5720683839172,0.0,228.85(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,373028.0016569231,0.0,-0.045,9927043.092751697,0.0,0.0,1.(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_12439_5331_3555_3555_209.tif
{"bbox":[[3079.6305333971977,1544.641582429409,184.644227177836,185.93796598911285],[3073.1038707336(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,373028.0016569231,0.0,-0.045,9928002.672751697,0.0,0.0,1.(...TRUNCATED)
3,555
3,555
train
20240613_tbsnewsite2_m3e_rgb
selvamask
20240613_tbsnewsite2_m3e_rgb_tile_train_gr0p045_12439_7108_3555_3555_214.tif
{"bbox":[[3073.103870733641,265.0324315726757,218.0872134771198,238.79603451490402],[3019.2102071903(...TRUNCATED)
{"crs":"EPSG:32718","transform":[0.045,0.0,373028.0016569231,0.0,-0.045,9927922.707751697,0.0,0.0,1.(...TRUNCATED)
End of preview. Expand in Data Studio

SelvaMask: Segmenting Trees in Tropical Forests and Beyond

BCI50ha Detectree2 SelvaMask (ours) Predictions (ours)
BCI50ha Detectree2 SelvaMask (ours) Predictions (ours)

Qualitative comparison between SelvaMask and other tree crown segmentation datasets.

Dataset Statistics

The table below details the annotated area (in hectares) and individual crown counts across geographic sites and splits.

Site Train Area (ha) Train Crowns Val Area (ha) Val Crowns Test Area (ha) Test Crowns
Panama 5.15 1499 1.53 570 2.93 783
Brazil 3.31 1590 0.92 568 1.16 716
Ecuador 7.20 1836 1.89 629 2.91 896
Total 15.7 4925 4.3 1767 7.0 2395

Tiling Strategy & Split Counts

You may notice that the absolute number of images (tiles) in the train split is lower than expected compared to the validation and test sets, despite the training set covering the largest area (15.7 ha). This is due to our tiling strategy:

  • Training: Tiles are extracted at 3555 × 3555 pixels with 50% overlap to maximize spatial context and support data augmentation.
  • Validation & Test: Tiles are generated at 1777 × 1777 pixels with 75% overlap for standardized evaluation.

Dataset Structure

The dataset consists of TIFF images (accessible via PIL) and COCO-formatted annotations.

Downloading the dataset

Run the following script to fetch and print the first row in the training split:

from datasets import load_dataset
import matplotlib.pyplot as plt

# Load in streaming mode to verify structure without full download
ds_stream = load_dataset("selvamask/SelvaMask", split="train", streaming=True)
sample = next(iter(ds_stream))

# Print metadata keys and structure
print("Available keys:", sample.keys())
print("Metadata summary:", {k: v for k, v in sample.items() if k != 'image'})

# Visualise the first tile
plt.imshow(sample["image"])
plt.axis("off")
plt.title(f"Sample: {sample['tile_name']}", fontsize=10)
plt.show()
Downloads last month
28