From 7d6157ca69d37eed1febb40119d3b628ca2f7136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Wed, 6 Dec 2023 10:39:09 +0000 Subject: [PATCH] [pipelines] Nodal Tracking: Add image segmentation to the template --- meshroom/pipelines/nodalCameraTracking.mg | 37 +++++++++++++++++------ 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/meshroom/pipelines/nodalCameraTracking.mg b/meshroom/pipelines/nodalCameraTracking.mg index d06fd483f8..58b2ca17da 100644 --- a/meshroom/pipelines/nodalCameraTracking.mg +++ b/meshroom/pipelines/nodalCameraTracking.mg @@ -5,17 +5,18 @@ "fileVersion": "1.1", "template": true, "nodesVersions": { - "ScenePreview": "2.0", - "ExportAnimatedCamera": "2.0", - "FeatureMatching": "2.0", - "NodalSfM": "1.0", - "CameraInit": "9.0", "TracksBuilding": "1.0", + "ImageSegmentation": "1.0", "FeatureExtraction": "1.3", - "RelativePoseEstimating": "1.0", - "Publish": "1.3", + "ScenePreview": "2.0", "ImageMatching": "2.0", - "ConvertSfMFormat": "2.0" + "CameraInit": "9.0", + "NodalSfM": "1.0", + "ConvertSfMFormat": "2.0", + "Publish": "1.3", + "ExportAnimatedCamera": "2.0", + "FeatureMatching": "2.0", + "RelativePoseEstimating": "1.0" } }, "graph": { @@ -39,13 +40,14 @@ 0 ], "inputs": { - "input": "{CameraInit_1.output}" + "input": "{ImageSegmentation_1.input}", + "masksFolder": "{ImageSegmentation_1.output}" } }, "CameraInit_1": { "nodeType": "CameraInit", "position": [ - 0, + -200, 0 ], "inputs": {} @@ -138,6 +140,7 @@ "model": "{NodalSfM_1.output}", "undistortedImages": "{ExportAnimatedCamera_1.outputUndistorted}", "useMasks": false, + "masks": "{ImageSegmentation_1.output}", "pointCloudParams": { "particleSize": 0.001, "particleColor": "Red" @@ -156,6 +159,20 @@ "{ScenePreview_1.output}" ] } + }, + "ImageSegmentation_1": { + "nodeType": "ImageSegmentation", + "position": [ + 0, + 0 + ], + "inputs": { + "input": "{CameraInit_1.output}", + "maskInvert": true + }, + "internalInputs": { + "color": "#80766f" + } } } } \ No newline at end of file