LouisGeist commited on
Commit
708c74d
·
verified ·
1 Parent(s): 4b2e324

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -9
README.md CHANGED
@@ -20,7 +20,7 @@ configs:
20
  # MALiBU3D
21
 
22
  Large-scale **training-ready** airborne LiDAR point clouds over France, with
23
- land-cover labels, natural-habitat ids, canopy-height (`elevation`), RGB, and
24
  road-network graphs. Built on
25
  [IGNF/FLAIR-HUB](https://huggingface.co/datasets/IGNF/FLAIR-HUB) 100 m tiles
26
  plus IGN LiDAR HD. Former working name: Flair3D.
@@ -73,7 +73,7 @@ Each `{roi}.zip` (flat, no wrapping `{roi}/` folder):
73
  {tile_id}/segment.npy uint8 (N,) land cover, Void=15
74
  {tile_id}/strength.npy float32 (N,) LiDAR intensity ~[0, 1]
75
  {tile_id}/elevation.npy float32 (N,) z − DTM (optional)
76
- {tile_id}/natural_habitat.npy uint8 (N,) CarHab ids (optional)
77
  {tile_id}/forest_2d.npy uint8 (1, H, W)
78
  {deptcode}_{roi}_ROADS_graph.gpkg optional, EPSG:2154
79
  ```
@@ -106,14 +106,22 @@ global (`labels.json`).
106
 
107
  See `labels.json`. Land cover (`segment.npy`): 15 train classes + Void=15.
108
 
109
- Natural habitat (`natural_habitat.npy`): 44 CarHab ids, Void=43. Four ecological
110
- axes are **LUTs** in `labels.json` (lossy). Remap with:
 
 
 
 
 
 
 
111
 
112
  ```python
113
  import json, numpy as np
114
  labels = json.load(open("labels.json"))
115
- lut = np.array(labels["natural_habitat"]["axes"]["by_moisture_regime"]["lut"])
116
- axis = lut[raw_ids] # raw_ids = natural_habitat.npy
 
117
  ```
118
 
119
  ## `forest_2d` → points
@@ -149,6 +157,6 @@ Derived semantic labels and graphs are produced by this project.
149
 
150
  ## Loader notes
151
 
152
- On-disk `segment` / `natural_habitat` are **uint8**. Cast if a loader asserts
153
- another integer dtype. Per-point `forest.npy`, `land_use.npy`, and `network.npy`
154
- are absent.
 
20
  # MALiBU3D
21
 
22
  Large-scale **training-ready** airborne LiDAR point clouds over France, with
23
+ land-cover labels, natural-habitat axes, canopy-height (`elevation`), RGB, and
24
  road-network graphs. Built on
25
  [IGNF/FLAIR-HUB](https://huggingface.co/datasets/IGNF/FLAIR-HUB) 100 m tiles
26
  plus IGN LiDAR HD. Former working name: Flair3D.
 
73
  {tile_id}/segment.npy uint8 (N,) land cover, Void=15
74
  {tile_id}/strength.npy float32 (N,) LiDAR intensity ~[0, 1]
75
  {tile_id}/elevation.npy float32 (N,) z − DTM (optional)
76
+ {tile_id}/natural_habitat.npy uint8 (N, 4) ecological axes (optional)
77
  {tile_id}/forest_2d.npy uint8 (1, H, W)
78
  {deptcode}_{roi}_ROADS_graph.gpkg optional, EPSG:2154
79
  ```
 
106
 
107
  See `labels.json`. Land cover (`segment.npy`): 15 train classes + Void=15.
108
 
109
+ Natural habitat (`natural_habitat.npy`): **`(N, 4)` uint8**, already remapped
110
+ from CarHab. Column order is `labels.json` `natural_habitat.columns`:
111
+
112
+ | col | key | classes | Void |
113
+ | --- | --- | --- | --- |
114
+ | 0 | `nathab_habitat_type` | Open, Forest, Mineral, Aquatic | 4 |
115
+ | 1 | `nathab_moisture_regime` | Humide, Mesique, Sec | 3 |
116
+ | 2 | `nathab_soil_chemistry` | Acidic, Alkaline | 2 |
117
+ | 3 | `nathab_bioclimatic_zone` | Temperate, Mediterranean, Alpine | 3 |
118
 
119
  ```python
120
  import json, numpy as np
121
  labels = json.load(open("labels.json"))
122
+ nh = np.load("natural_habitat.npy") # (N, 4)
123
+ moisture = nh[:, 1] # Void = 3
124
+ # Pointcept: no LUT. Assign column i to task labels["natural_habitat"]["columns"][i].
125
  ```
126
 
127
  ## `forest_2d` → points
 
157
 
158
  ## Loader notes
159
 
160
+ On-disk `segment` is **uint8** `(N,)`. `natural_habitat` is **uint8** `(N, 4)`.
161
+ Cast if a loader asserts another integer dtype. Per-point `forest.npy`,
162
+ `land_use.npy`, and `network.npy` are absent.