mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-30 10:47:34 +02:00
[pipelines] StereoPhotometry: Update template and add Publish
node
This commit is contained in:
parent
f0f5b205bf
commit
67d5235b09
2 changed files with 75 additions and 57 deletions
|
@ -1,57 +0,0 @@
|
||||||
{
|
|
||||||
"header": {
|
|
||||||
"pipelineVersion": "2.2",
|
|
||||||
"releaseVersion": "2023.1.0",
|
|
||||||
"fileVersion": "1.1",
|
|
||||||
"template": true,
|
|
||||||
"nodesVersions": {
|
|
||||||
"SphereDetection": "3.0",
|
|
||||||
"LightingCalibration": "3.0",
|
|
||||||
"CameraInit": "9.0",
|
|
||||||
"NormalIntegration": "3.0",
|
|
||||||
"PhotometricStereo": "3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"graph": {
|
|
||||||
"CameraInit_1": {
|
|
||||||
"nodeType": "CameraInit",
|
|
||||||
"position": [
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"inputs": {}
|
|
||||||
},
|
|
||||||
"LightingCalibration_1": {
|
|
||||||
"nodeType": "LightingCalibration",
|
|
||||||
"position": [
|
|
||||||
406,
|
|
||||||
-2
|
|
||||||
],
|
|
||||||
"inputs": {
|
|
||||||
"inputPath": "{SphereDetection_1.input_sfmdata_path}",
|
|
||||||
"inputJSON": "{SphereDetection_1.output_path}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"SphereDetection_1": {
|
|
||||||
"nodeType": "SphereDetection",
|
|
||||||
"position": [
|
|
||||||
204,
|
|
||||||
4
|
|
||||||
],
|
|
||||||
"inputs": {
|
|
||||||
"input_sfmdata_path": "{CameraInit_1.output}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"PhotometricStereo_1": {
|
|
||||||
"nodeType": "PhotometricStereo",
|
|
||||||
"position": [
|
|
||||||
591,
|
|
||||||
-2
|
|
||||||
],
|
|
||||||
"inputs": {
|
|
||||||
"inputPath": "{LightingCalibration_1.inputPath}",
|
|
||||||
"pathToJSONLightFile": "{LightingCalibration_1.outputFile}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
75
meshroom/pipelines/stereoPhotometry.mg
Normal file
75
meshroom/pipelines/stereoPhotometry.mg
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
{
|
||||||
|
"header": {
|
||||||
|
"pipelineVersion": "2.2",
|
||||||
|
"releaseVersion": "2023.2.0-develop",
|
||||||
|
"fileVersion": "1.1",
|
||||||
|
"template": true,
|
||||||
|
"nodesVersions": {
|
||||||
|
"SphereDetection": "1.0",
|
||||||
|
"LightingCalibration": "1.0",
|
||||||
|
"Publish": "1.2",
|
||||||
|
"CameraInit": "9.0",
|
||||||
|
"PhotometricStereo": "1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"graph": {
|
||||||
|
"CameraInit_1": {
|
||||||
|
"nodeType": "CameraInit",
|
||||||
|
"position": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"inputs": {}
|
||||||
|
},
|
||||||
|
"SphereDetection_1": {
|
||||||
|
"nodeType": "SphereDetection",
|
||||||
|
"position": [
|
||||||
|
200,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"inputs": {
|
||||||
|
"input": "{CameraInit_1.output}",
|
||||||
|
"autoDetect": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"LightingCalibration_1": {
|
||||||
|
"nodeType": "LightingCalibration",
|
||||||
|
"position": [
|
||||||
|
400,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"inputs": {
|
||||||
|
"inputPath": "{SphereDetection_1.input}",
|
||||||
|
"inputJSON": "{SphereDetection_1.output}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"PhotometricStereo_1": {
|
||||||
|
"nodeType": "PhotometricStereo",
|
||||||
|
"position": [
|
||||||
|
600,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"inputs": {
|
||||||
|
"inputPath": "{LightingCalibration_1.inputPath}",
|
||||||
|
"pathToJSONLightFile": "{LightingCalibration_1.outputFile}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Publish_1": {
|
||||||
|
"nodeType": "Publish",
|
||||||
|
"position": [
|
||||||
|
800,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"inputs": {
|
||||||
|
"inputFiles": [
|
||||||
|
"{PhotometricStereo_1.outputSfmData}",
|
||||||
|
"{PhotometricStereo_1.outputSfmDataNormal}",
|
||||||
|
"{PhotometricStereo_1.normals}",
|
||||||
|
"{PhotometricStereo_1.normalsWorld}",
|
||||||
|
"{PhotometricStereo_1.albedo}",
|
||||||
|
"{PhotometricStereo_1.outputSfmDataAlbedo}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue