[nodes] SfMTransform: add align_ground mode

This commit is contained in:
Loïc Vital 2023-05-24 11:49:03 +02:00 committed by mugulmd
parent c1012ba4de
commit 87bed2ba8c

View file

@ -1,4 +1,4 @@
__version__ = "3.0"
__version__ = "3.1"
from meshroom.core import desc
@ -20,6 +20,7 @@ The transformation can be based on:
* 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 @@ The transformation can be based on:
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],
),