Skip to content

Commit

Permalink
Merge pull request #2159 from alicevision/dev/prepareDenseSceneExposu…
Browse files Browse the repository at this point in the history
…reSelection

Camera exposure update
  • Loading branch information
cbentejac authored Aug 23, 2023
2 parents 7df64ec + dfa2c6b commit e69b47c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,6 @@ def getExposure(exp, refIso = 100.0, refFnumber = 1.0):
isoToAperture = math.sqrt(iso / refIso)

newFnumber = fnumber * isoToAperture
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)

return shutterSpeed * expIncrease
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def getExposure(exp, refIso = 100.0, refFnumber = 1.0):
isoToAperture = math.sqrt(iso / refIso)

newFnumber = fnumber * isoToAperture
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)

return shutterSpeed * expIncrease

Expand Down
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrSampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,6 @@ def getExposure(exp, refIso = 100.0, refFnumber = 1.0):
isoToAperture = math.sqrt(iso / refIso)

newFnumber = fnumber * isoToAperture
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)

return shutterSpeed * expIncrease
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/Texturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class Texturing(desc.AVCommandLineNode):
name="correctEV",
label="Correct Exposure",
description="Uniformize images exposure values.",
value=False,
value=True,
uid=[0],
),
desc.BoolParam(
Expand Down

0 comments on commit e69b47c

Please sign in to comment.