[photometricStereo] Add nodes for PS

This commit is contained in:
Jean Mélou 2022-07-20 16:37:49 +02:00 committed by Candice Bentéjac
parent cef8cf6fd8
commit 1f4976610c
3 changed files with 147 additions and 0 deletions

View file

@ -0,0 +1,53 @@
__version__ = "3.0"
from meshroom.core import desc
class PhotometricStereo(desc.CommandLineNode):
commandLine = 'aliceVision_photometricStereo {allParams}'
category = 'Photometry'
documentation = '''
TODO.
'''
inputs = [
desc.File(
name='inputPath',
label='SfmData',
description='Input file. Coulb be SfMData file or folder.',
value='',
uid=[0],
),
desc.File(
name='maskPath',
label='Mask folder path',
description='Mask folder path',
value='',
uid=[0],
),
desc.File(
name='pathToJSONLightFile',
label='Lights Folder',
description='Folder containing lighting information.',
value='',
uid=[0]
),
desc.IntParam(
name='HSOrder',
label='HS order',
description='Order of the spherical harmonics. ',
value=0,
range=(0, 2, 1),
uid=[0],
advanced=True,
)
]
outputs = [
desc.File(
name='outputPath',
label='Output path',
description='Path to the output folder',
value=desc.Node.internalFolder,
uid=[],
)
]