mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-12 16:46:53 +02:00
[multiview] do not allow fisheye4 camera model in the HDRI context
This commit is contained in:
parent
7d99ba4b59
commit
aa7fed41b5
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ def hdriPipeline(graph):
|
||||||
list of Node: the created nodes
|
list of Node: the created nodes
|
||||||
"""
|
"""
|
||||||
cameraInit = graph.addNewNode('CameraInit')
|
cameraInit = graph.addNewNode('CameraInit')
|
||||||
|
try:
|
||||||
|
# fisheye4 does not work well in the ParoramaEstimation, so here we avoid to use it.
|
||||||
|
cameraInit.attribute('allowedCameraModels').value.remove("fisheye4")
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
|
||||||
ldr2hdr = graph.addNewNode('LDRToHDR',
|
ldr2hdr = graph.addNewNode('LDRToHDR',
|
||||||
input=cameraInit.output)
|
input=cameraInit.output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue