diff --git a/tools/3dtrees_forestmamba/.shed.yml b/tools/3dtrees_forestmamba/.shed.yml new file mode 100644 index 0000000000..a22f79842a --- /dev/null +++ b/tools/3dtrees_forestmamba/.shed.yml @@ -0,0 +1,12 @@ +name: 3dtrees_forestmamba +owner: bgruening +description: Forest instance segmentation with ForestMamba. +homepage_url: https://github.com/3dTrees-earth/3Dtrees_ForestMamba +long_description: | + Performs forest instance segmentation on LAZ/LAS point clouds using the + ForestMamba model and writes prediction dimensions directly into an enriched + LAZ output. +remote_repository_url: https://github.com/bgruening/galaxytools/tree/master/tools/3dtrees_forestmamba +type: unrestricted +categories: +- "Geo Science" diff --git a/tools/3dtrees_forestmamba/forestmamba.xml b/tools/3dtrees_forestmamba/forestmamba.xml new file mode 100644 index 0000000000..dcdbf71729 --- /dev/null +++ b/tools/3dtrees_forestmamba/forestmamba.xml @@ -0,0 +1,112 @@ + + + Forest instance segmentation. + + + 1.0.0 + 0 + + + ghcr.io/3dtrees-earth/3dtrees_forestmamba:@TOOL_VERSION@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +This tool runs ForestMamba on one LAS/LAZ point cloud and writes a segmented +LAZ output with ForestMamba prediction dimensions. + +**Galaxy entrypoint** + +The container calls `/workspace/src/run.py`, which reads parameters, stages the +input into ForestMamba's ForAINetV2 test layout, runs preprocessing and +inference, and writes the final LAZ in streamed chunks. + +`WANDB_MODE=disabled` is set internally to prevent the upstream model code from +trying to send experiment logs to Weights & Biases during Galaxy jobs. + +**Parameters** + +- **Input LAZ/LAS point cloud**: the point cloud to segment. +- **Bluepoint iterations**: `0` runs the normal one-pass prediction. `2` enables + the dense-forest bluepoint flow: first pass, then an optional second pass on + points that remained unassigned. +- **Bluepoint score threshold**: optional model confidence threshold override + for bluepoint runs. Leave empty to use the model/config default. +- **Second pass threshold**: fraction of first-pass non-ground points with raw + `instance_pred == -1` required before the second bluepoint pass runs. The + default `0.01` means more than 1%. + +**Outputs** + +- Segmented LAZ with `PredSemantic_FM`, `PredInstance_FM`, and `PredScore_FM` + by default. +- JSON summary of the wrapper run. + +Valid ForestMamba instance IDs are preserved. Raw negative instance IDs are +written as `0` in the final LAZ. + + + + + + + @misc{3dtrees_forestmamba, title = {3Dtrees: ForestMamba}, author = {3Dtrees-Project}, year = {2026}} + + + diff --git a/tools/3dtrees_forestmamba/test-data/mikro.laz b/tools/3dtrees_forestmamba/test-data/mikro.laz new file mode 100644 index 0000000000..37743aacaf Binary files /dev/null and b/tools/3dtrees_forestmamba/test-data/mikro.laz differ