From 87bed2ba8c91db2fe2af15bbf0f9a4c1a8e65ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Vital?= Date: Wed, 24 May 2023 11:49:03 +0200 Subject: [PATCH] [nodes] SfMTransform: add align_ground mode --- meshroom/nodes/aliceVision/SfMTransform.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meshroom/nodes/aliceVision/SfMTransform.py b/meshroom/nodes/aliceVision/SfMTransform.py index 7ae2d0f0a0..6ee8b3a872 100644 --- a/meshroom/nodes/aliceVision/SfMTransform.py +++ b/meshroom/nodes/aliceVision/SfMTransform.py @@ -1,4 +1,4 @@ -__version__ = "3.0" +__version__ = "3.1" from meshroom.core import desc @@ -20,6 +20,7 @@ class SfMTransform(desc.AVCommandLineNode): * from_single_camera: Use a specific camera as the origin of the coordinate system * from_markers: Align specific markers to custom coordinates * from_gps: Align with the gps positions from the image metadata + * align_ground: Detect ground level and align to it ''' @@ -37,16 +38,17 @@ class SfMTransform(desc.AVCommandLineNode): description="Transformation method:\n" " * transformation: Apply a given transformation\n" " * manual: Apply the gizmo transformation (show the transformed input)\n" - " * auto: Using X axis of all cameras as horizon. gps north and scale if available. cameras center mean is used as origin.\n" + " * auto: Using X axis of all cameras as horizon. gps north and scale if available. aligning on detected ground level.\n" " * auto_from_cameras: Use cameras\n" " * auto_from_cameras_x_axis: Use X axis of all cameras\n" " * auto_from_landmarks: Use landmarks\n" " * from_single_camera: Use a specific camera as the origin of the coordinate system\n" " * from_center_camera: Use the center camera as the origin of the coordinate system\n" " * from_markers: Align specific markers to custom coordinates\n" - " * from_gps: Align with the gps positions from the image metadata", + " * from_gps: Align with the gps positions from the image metadata\n" + " * align_ground: Detect ground level and align to it", value='auto', - values=['transformation', 'manual', 'auto', 'auto_from_cameras', 'auto_from_cameras_x_axis', 'auto_from_landmarks', 'from_single_camera', 'from_center_camera', 'from_markers', 'from_gps'], + values=['transformation', 'manual', 'auto', 'auto_from_cameras', 'auto_from_cameras_x_axis', 'auto_from_landmarks', 'from_single_camera', 'from_center_camera', 'from_markers', 'from_gps', 'align_ground'], exclusive=True, uid=[0], ),