Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAW advanced processing #1368

Merged
merged 14 commits into from
Mar 9, 2023
Merged

RAW advanced processing #1368

merged 14 commits into from
Mar 9, 2023

Conversation

demoulinv
Copy link
Contributor

Description

Expose some parameters dedicated to raw decoding and DCP color profile application.

Features list

libraw parameters: highlight Mode, demosaicking algo
White Balancing: Before (libraw) or after (AV) demosaicking
DCP parameter: apply Color Matrix only
Enable reading of images containing raw data in a non raw format (exr)
Add option to select the output color space of a RS panorama in panorama post processing node.

Implementation remarks

Update rawInterpretation "None" by adding parameters
Remove White Balancing if done by libRaw in DCP ColorMatrixOnly mode
Code cleaning
For both libraw raw interpretation (w/wo white balancing) consider camera color matrix when reading dng files.
Align handling of raw color interpretation case of dcpMetadata, whether the imageProcessing node uses a view from an sfmData or an input image file.
Add AliceVision:ColorSpace in view metadata.
Force workingColorSpace to 'no_conversion' if applyDCPMetadata option is enabled.
Add output color space option.
Code factorization for dcp loading from map of metadata
Change from AHD to DHT as demosaicing algo
Change from LibRawNoWhiteBalancing to DcpLinearProcessing as default raw color interpretation in imageProcessing.
Adjust output color to 'Linear' space when working color space is 'sRGB'.
Set back AHD as default demosaicing algo.
@fabiencastan fabiencastan merged commit f99c95d into develop Mar 9, 2023
@fabiencastan fabiencastan deleted the dev/rawAdvancedProcessing branch March 9, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants