Skip to content

Commit

Permalink
[nodes] SfMTransform: add align_ground mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mugulmd committed Jun 1, 2023
1 parent c1012ba commit 87bed2b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions meshroom/nodes/aliceVision/SfMTransform.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.0"
__version__ = "3.1"

from meshroom.core import desc

Expand All @@ -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
'''

Expand All @@ -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],
),
Expand Down

0 comments on commit 87bed2b

Please sign in to comment.