mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-24 06:26:29 +02:00
[nodes] add parallelization to LdrToHdrSampling/Merge and PanoramaWarping
This commit is contained in:
parent
a239005901
commit
dc6ac5d67a
6 changed files with 90 additions and 39 deletions
|
@ -91,14 +91,6 @@ class LdrToHdrCalibration(desc.CommandLineNode):
|
|||
range=(0, 10, 1),
|
||||
uid=[],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='byPass',
|
||||
label='bypass convert',
|
||||
description="Bypass HDR creation and use the medium bracket as the source for the next steps",
|
||||
value=False,
|
||||
uid=[0],
|
||||
advanced=True,
|
||||
),
|
||||
desc.IntParam(
|
||||
name='channelQuantizationPower',
|
||||
label='Channel Quantization Power',
|
||||
|
@ -108,6 +100,17 @@ class LdrToHdrCalibration(desc.CommandLineNode):
|
|||
uid=[0],
|
||||
advanced=True,
|
||||
),
|
||||
desc.IntParam(
|
||||
name='maxTotalPoints',
|
||||
label='Max Number of Points',
|
||||
description='Max number of points selected by the sampling strategy.\n''
|
||||
'This ensures that this sampling step will extract a number of pixels values\n'
|
||||
'that the calibration step can manage (in term of computation time and memory usage).',
|
||||
value=1000000,
|
||||
range=(8, 10000000, 1000),
|
||||
uid=[0],
|
||||
advanced=True,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='verboseLevel',
|
||||
label='Verbose Level',
|
||||
|
@ -145,9 +148,7 @@ class LdrToHdrCalibration(desc.CommandLineNode):
|
|||
if not cameraInitOutput:
|
||||
node.nbBrackets.value = 0
|
||||
return
|
||||
print("LdrToHdrCalib cameraInitOutput: " + str(cameraInitOutput))
|
||||
viewpoints = cameraInitOutput.node.viewpoints.value
|
||||
print("LdrToHdrCalib viewpoints: " + str(viewpoints))
|
||||
|
||||
# logging.info("[LDRToHDR] Update start: nb viewpoints:" + str(len(viewpoints)))
|
||||
inputs = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue