Commit 2337c1e
fix(exposure): convert colorspace on all read paths and guard EV metadata
Address review feedback:
- fileIO loadImage: move colorconvert out of the branch chain so the missing
and invalid EVComp paths also return the image in the requested colorspace,
instead of leaking a LINEAR image to the cache.
- main_prepareDenseScene: guard the EV computation as well, so a missing-exposure
-1 sentinel no longer writes NaN (log2 of a negative) into AliceVision:EV.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5ec5d75 commit 2337c1e
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | 441 | | |
| 442 | + | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments