mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 10:21:59 +02:00
remove limits on brackets detection
This commit is contained in:
parent
a12674ede3
commit
4650e838e9
3 changed files with 3 additions and 18 deletions
|
@ -267,9 +267,4 @@ Calibrate LDR to HDR response curve from samples.
|
|||
else:
|
||||
bestTuple = bracketSizes.most_common(1)[0]
|
||||
bestBracketSize = bestTuple[0]
|
||||
bestCount = bestTuple[1]
|
||||
total = bestBracketSize * bestCount
|
||||
if total >= len(inputs) - 2:
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
else:
|
||||
node.nbBrackets.value = 0
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
|
|
|
@ -353,12 +353,7 @@ Merge LDR images into HDR images.
|
|||
else:
|
||||
bestTuple = bracketSizes.most_common(1)[0]
|
||||
bestBracketSize = bestTuple[0]
|
||||
bestCount = bestTuple[1]
|
||||
total = bestBracketSize * bestCount
|
||||
if total >= len(inputs) - 2:
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
else:
|
||||
node.nbBrackets.value = 0
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
|
||||
def processChunk(self, chunk):
|
||||
# Trick to avoid sending --nbBrackets to the command line when the bracket detection is automatic.
|
||||
|
|
|
@ -288,9 +288,4 @@ Sample pixels from Low range images for HDR creation.
|
|||
else:
|
||||
bestTuple = bracketSizes.most_common(1)[0]
|
||||
bestBracketSize = bestTuple[0]
|
||||
bestCount = bestTuple[1]
|
||||
total = bestBracketSize * bestCount
|
||||
if total >= len(inputs) - 2:
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
else:
|
||||
node.nbBrackets.value = 0
|
||||
node.nbBrackets.value = bestBracketSize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue