mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 04:56:28 +02:00
Merge pull request #2159 from alicevision/dev/prepareDenseSceneExposureSelection
Camera exposure update
This commit is contained in:
commit
e69b47ce53
4 changed files with 4 additions and 4 deletions
|
@ -329,6 +329,6 @@ Calibrate LDR to HDR response curve from samples.
|
||||||
isoToAperture = math.sqrt(iso / refIso)
|
isoToAperture = math.sqrt(iso / refIso)
|
||||||
|
|
||||||
newFnumber = fnumber * isoToAperture
|
newFnumber = fnumber * isoToAperture
|
||||||
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
|
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)
|
||||||
|
|
||||||
return shutterSpeed * expIncrease
|
return shutterSpeed * expIncrease
|
||||||
|
|
|
@ -415,7 +415,7 @@ Merge LDR images into HDR images.
|
||||||
isoToAperture = math.sqrt(iso / refIso)
|
isoToAperture = math.sqrt(iso / refIso)
|
||||||
|
|
||||||
newFnumber = fnumber * isoToAperture
|
newFnumber = fnumber * isoToAperture
|
||||||
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
|
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)
|
||||||
|
|
||||||
return shutterSpeed * expIncrease
|
return shutterSpeed * expIncrease
|
||||||
|
|
||||||
|
|
|
@ -357,6 +357,6 @@ Sample pixels from Low range images for HDR creation.
|
||||||
isoToAperture = math.sqrt(iso / refIso)
|
isoToAperture = math.sqrt(iso / refIso)
|
||||||
|
|
||||||
newFnumber = fnumber * isoToAperture
|
newFnumber = fnumber * isoToAperture
|
||||||
expIncrease = (newFnumber / lRefFnumber) * (newFnumber / lRefFnumber)
|
expIncrease = (lRefFnumber / newFnumber) * (lRefFnumber / newFnumber)
|
||||||
|
|
||||||
return shutterSpeed * expIncrease
|
return shutterSpeed * expIncrease
|
||||||
|
|
|
@ -278,7 +278,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
||||||
name="correctEV",
|
name="correctEV",
|
||||||
label="Correct Exposure",
|
label="Correct Exposure",
|
||||||
description="Uniformize images exposure values.",
|
description="Uniformize images exposure values.",
|
||||||
value=False,
|
value=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.BoolParam(
|
desc.BoolParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue