Expand dataset card: provenance, depth stats, DA3 round-trip, citation
Browse files
README.md
CHANGED
|
@@ -20,13 +20,17 @@ size_categories:
|
|
| 20 |
|
| 21 |
A small, fast-to-download slice of the Structured3D synthetic indoor dataset,
|
| 22 |
converted to a uniform posed-RGB-D format for quick model test-runs. This is a
|
| 23 |
-
**subset**
|
| 24 |
-
|
| 25 |
-
|
| 26 |
|
| 27 |
These are photorealistic synthetic renders with **perfect dense ground-truth
|
| 28 |
depth** and exact camera poses — no reconstruction or pseudo-labelling involved.
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
## Contents
|
| 31 |
|
| 32 |
100 scenes, one `.tar` each under `structured3d/`. Each tar extracts to a scene
|
|
@@ -53,13 +57,31 @@ in the same order as `meta.json`'s `frame_ids` and the sorted `images/` files.
|
|
| 53 |
## Conventions
|
| 54 |
|
| 55 |
- **Coordinate frame:** OpenCV (x-right, y-down, z-forward). `extrinsics` is the
|
| 56 |
-
**world→camera (w2c)** matrix; invert it for camera→world.
|
|
|
|
| 57 |
- **Depth:** projective **z-depth in metres** (distance along the camera z-axis,
|
| 58 |
-
not Euclidean ray length). Decoded from the source 16-bit
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
| 60 |
- **Intrinsics:** **per-frame** pinhole `K`, reconstructed from each frame's
|
| 61 |
horizontal/vertical field of view (separate `fx`/`fy`, principal point centred).
|
| 62 |
-
Image size is 720×1280 (H×W).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
## Quick start
|
| 65 |
|
|
@@ -72,12 +94,31 @@ tarfile.open(p).extractall("structured3d/")
|
|
| 72 |
|
| 73 |
meta = json.load(open("structured3d/scene_00000/meta.json"))
|
| 74 |
depth = np.load("structured3d/scene_00000/depth.npy") # (N, 720, 1280)
|
|
|
|
| 75 |
K = np.load("structured3d/scene_00000/intrinsics.npy") # (N, 3, 3)
|
| 76 |
w2c = np.load("structured3d/scene_00000/extrinsics.npy") # (N, 4, 4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
```
|
| 78 |
|
| 79 |
-
## License
|
| 80 |
|
| 81 |
Built on [Structured3D](https://github.com/bertjiazheng/Structured3D), released for
|
| 82 |
**research use only** under its original data agreement; the same terms apply to
|
| 83 |
-
this derived subset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
A small, fast-to-download slice of the Structured3D synthetic indoor dataset,
|
| 22 |
converted to a uniform posed-RGB-D format for quick model test-runs. This is a
|
| 23 |
+
**subset**: **100 scenes** (randomly sampled, seed 0) from collection `00`, using
|
| 24 |
+
the pre-rendered **`full`** (furnished) perspective views. Across the 100 scenes
|
| 25 |
+
there are **2,198 frames** (3–49 per scene).
|
| 26 |
|
| 27 |
These are photorealistic synthetic renders with **perfect dense ground-truth
|
| 28 |
depth** and exact camera poses — no reconstruction or pseudo-labelling involved.
|
| 29 |
|
| 30 |
+
This subset is part of a family of uniformly-formatted posed-RGB-D test-run
|
| 31 |
+
datasets: see also `3dvlm-replica_subset`, `3dvlm-hm3d_subset`, and
|
| 32 |
+
`3dvlm-taskonomy_subset` (same on-disk layout and conventions).
|
| 33 |
+
|
| 34 |
## Contents
|
| 35 |
|
| 36 |
100 scenes, one `.tar` each under `structured3d/`. Each tar extracts to a scene
|
|
|
|
| 57 |
## Conventions
|
| 58 |
|
| 59 |
- **Coordinate frame:** OpenCV (x-right, y-down, z-forward). `extrinsics` is the
|
| 60 |
+
**world→camera (w2c)** matrix; invert it for camera→world. The translation is in
|
| 61 |
+
**metres** (the source millimetre world is rescaled on conversion).
|
| 62 |
- **Depth:** projective **z-depth in metres** (distance along the camera z-axis,
|
| 63 |
+
not Euclidean ray length). Decoded from the source 16-bit millimetre depth
|
| 64 |
+
(`÷1000`); the source is already planar z-buffer depth, so **no Euclidean→z
|
| 65 |
+
cosine correction is applied**. Invalid pixels (source value `0`) are zeroed —
|
| 66 |
+
use `valid_mask` to ignore them. Typical valid coverage is **≈99.5%**, with
|
| 67 |
+
depths in roughly the **0.05–7 m** range.
|
| 68 |
- **Intrinsics:** **per-frame** pinhole `K`, reconstructed from each frame's
|
| 69 |
horizontal/vertical field of view (separate `fx`/`fy`, principal point centred).
|
| 70 |
+
Image size is 720×1280 (H×W). The reconstructed `(K, w2c)` are verified to
|
| 71 |
+
round-trip through the project's ray-map (DA3) convention.
|
| 72 |
+
|
| 73 |
+
## Source & provenance
|
| 74 |
+
|
| 75 |
+
Built from the official **Structured3D perspective `full`** renders, collection
|
| 76 |
+
`00` (`Structured3D_perspective_full_00.zip`). Only three files per frame are used:
|
| 77 |
+
`rgb_rawlight.png` (the RGB modality in the full-perspective zip is
|
| 78 |
+
`rgb_rawlight.png`, **not** `rgb.png`), `depth.png`, and `camera_pose.txt`. Camera
|
| 79 |
+
poses come straight from `camera_pose.txt` (eye / view-dir / up / half-FOVs), built
|
| 80 |
+
into a right-handed look-at and converted to OpenCV `w2c`. No depth model or
|
| 81 |
+
pseudo-labelling is involved — depth and poses are the renderer's exact values.
|
| 82 |
+
|
| 83 |
+
There is no separate "full" mirror of this conversion; this 100-scene slice of
|
| 84 |
+
collection `00` is the published extent.
|
| 85 |
|
| 86 |
## Quick start
|
| 87 |
|
|
|
|
| 94 |
|
| 95 |
meta = json.load(open("structured3d/scene_00000/meta.json"))
|
| 96 |
depth = np.load("structured3d/scene_00000/depth.npy") # (N, 720, 1280)
|
| 97 |
+
mask = np.load("structured3d/scene_00000/valid_mask.npy") # (N, 720, 1280)
|
| 98 |
K = np.load("structured3d/scene_00000/intrinsics.npy") # (N, 3, 3)
|
| 99 |
w2c = np.load("structured3d/scene_00000/extrinsics.npy") # (N, 4, 4)
|
| 100 |
+
|
| 101 |
+
# Back-project frame 0 to a camera-frame point cloud (metres):
|
| 102 |
+
H, W = meta["image_size"]
|
| 103 |
+
fx, fy, cx, cy = K[0,0,0], K[0,1,1], K[0,0,2], K[0,1,2]
|
| 104 |
+
ys, xs = np.mgrid[0:H, 0:W]
|
| 105 |
+
z = depth[0]
|
| 106 |
+
X = (xs - cx) / fx * z
|
| 107 |
+
Y = (ys - cy) / fy * z
|
| 108 |
+
pts = np.stack([X, Y, z], -1)[mask[0]] # (M, 3) valid points
|
| 109 |
```
|
| 110 |
|
| 111 |
+
## License & citation
|
| 112 |
|
| 113 |
Built on [Structured3D](https://github.com/bertjiazheng/Structured3D), released for
|
| 114 |
**research use only** under its original data agreement; the same terms apply to
|
| 115 |
+
this derived subset. If you use this data, please cite the original paper:
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@inproceedings{Structured3D,
|
| 119 |
+
title = {Structured3D: A Large Photo-realistic Dataset for Structured 3D Modeling},
|
| 120 |
+
author = {Zheng, Jia and Zhang, Junfei and Li, Jing and Tang, Rui and Gao, Shenghua and Zhou, Zihan},
|
| 121 |
+
booktitle = {Proceedings of The European Conference on Computer Vision (ECCV)},
|
| 122 |
+
year = {2020}
|
| 123 |
+
}
|
| 124 |
+
```
|