mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 21:16:29 +02:00
[panorama] new nodes for large memory use
This commit is contained in:
parent
2f67ef3b60
commit
b4c3950f40
2 changed files with 60 additions and 0 deletions
53
meshroom/nodes/aliceVision/PanoramaPostProcessing.py
Normal file
53
meshroom/nodes/aliceVision/PanoramaPostProcessing.py
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
__version__ = "1.0"
|
||||||
|
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
|
||||||
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
|
||||||
|
class PanoramaPostProcessing(desc.CommandLineNode):
|
||||||
|
commandLine = 'aliceVision_panoramaPostProcessing {allParams}'
|
||||||
|
cpu = desc.Level.NORMAL
|
||||||
|
ram = desc.Level.INTENSIVE
|
||||||
|
|
||||||
|
category = 'Panorama HDR'
|
||||||
|
documentation = '''
|
||||||
|
Post process the panorama
|
||||||
|
'''
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
desc.File(
|
||||||
|
name='inputPanorama',
|
||||||
|
label='Input Panorama',
|
||||||
|
description="Input Panorama.",
|
||||||
|
value='',
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.BoolParam(
|
||||||
|
name='fillHoles',
|
||||||
|
label='Use fill holes algorithm',
|
||||||
|
description='Fill the non attributed pixels with push pull algorithm.',
|
||||||
|
value=False,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name='verboseLevel',
|
||||||
|
label='Verbose Level',
|
||||||
|
description='Verbosity level (fatal, error, warning, info, debug, trace).',
|
||||||
|
value='info',
|
||||||
|
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[],
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
desc.File(
|
||||||
|
name='outputPanorama',
|
||||||
|
label='Output Folder',
|
||||||
|
description='',
|
||||||
|
value=desc.Node.internalFolder + 'panorama.exr',
|
||||||
|
uid=[],
|
||||||
|
),
|
||||||
|
]
|
|
@ -65,5 +65,12 @@ Estimate the seams lines between the inputs to provide an optimal compositing in
|
||||||
description='',
|
description='',
|
||||||
value=desc.Node.internalFolder + 'labels.exr',
|
value=desc.Node.internalFolder + 'labels.exr',
|
||||||
uid=[],
|
uid=[],
|
||||||
|
),
|
||||||
|
desc.File(
|
||||||
|
name='outputSfm',
|
||||||
|
label='Output SfMData File',
|
||||||
|
description='Path to the output sfmdata file',
|
||||||
|
value=desc.Node.internalFolder + 'panorama.sfm',
|
||||||
|
uid=[],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue