Skip to content

Commit

Permalink
Merge pull request #2543 from alicevision/dev/exportDistoTemplates
Browse files Browse the repository at this point in the history
[pipelines] Add distortion export for templates without calibration
  • Loading branch information
servantftechnicolor authored Sep 19, 2024
2 parents 03bd518 + ea0f674 commit 835a00c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
16 changes: 15 additions & 1 deletion meshroom/pipelines/cameraTrackingWithoutCalibration.mg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"DepthMap": "5.0",
"DepthMapFilter": "4.0",
"ExportAnimatedCamera": "2.0",
"ExportDistortion": "1.0",
"FeatureExtraction": "1.3",
"FeatureMatching": "2.0",
"ImageMatching": "2.0",
Expand Down Expand Up @@ -113,6 +114,19 @@
"color": "#80766f"
}
},
"ExportDistortion_1": {
"nodeType": "ExportDistortion",
"position": [
1800,
200
],
"inputs": {
"input": "{ExportAnimatedCamera_1.input}"
},
"internalInputs": {
"color": "#80766f"
}
},
"FeatureExtraction_1": {
"nodeType": "FeatureExtraction",
"position": [
Expand Down Expand Up @@ -341,7 +355,7 @@
"{ExportAnimatedCamera_1.output}",
"{Texturing_1.output}",
"{ScenePreview_1.output}",
""
"{ExportDistortion_1.output}"
]
}
},
Expand Down
17 changes: 16 additions & 1 deletion meshroom/pipelines/nodalCameraTrackingWithoutCalibration.mg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"CameraInit": "11.0",
"ConvertSfMFormat": "2.0",
"ExportAnimatedCamera": "2.0",
"ExportDistortion": "1.0",
"FeatureExtraction": "1.3",
"FeatureMatching": "2.0",
"ImageMatching": "2.0",
Expand Down Expand Up @@ -60,6 +61,19 @@
"color": "#80766f"
}
},
"ExportDistortion_1": {
"nodeType": "ExportDistortion",
"position": [
1600,
0
],
"inputs": {
"input": "{ExportAnimatedCamera_1.input}"
},
"internalInputs": {
"color": "#80766f"
}
},
"FeatureExtraction_1": {
"nodeType": "FeatureExtraction",
"position": [
Expand Down Expand Up @@ -145,7 +159,8 @@
"inputs": {
"inputFiles": [
"{ExportAnimatedCamera_1.output}",
"{ScenePreview_1.output}"
"{ScenePreview_1.output}",
"{ExportDistortion_1.output}"
]
}
},
Expand Down

0 comments on commit 835a00c

Please sign in to comment.