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

Output color space in ACES or ACEScg #1169

Merged
merged 9 commits into from
Apr 27, 2022

Conversation

demoulinv
Copy link
Contributor

Description

Enable writing images in ACES and ACEScg color space in main_imageProcessing.

Features list

OCIO config file support added but cannot be selected by the end user. Default file set at installation.

Parameter sensorDatabase not anymore a required parameter in main_cameraInit.

Boost settings updated to enable error free compilation when using Boost through vcpkg on Windows.

Add Alembic dependancy in AliceVisionConfig.cmake.in.

Implementation remarks

OCIO config file accessed in io.cpp through the environment variable ALICEVISION_ROOT to be defined when using AliceVision.
The same variable is used in main_cameraInit.cpp to access cameraSensors.db if the file path is not given as a parameter.

Enum to string for EImageColorSpace in order to use them as parameter in main_imageProcessing.cpp

@demoulinv demoulinv changed the title Dev/feature output in ace scg color space Dev/feature output in ACES or ACEScg color space Apr 26, 2022
demoulinv and others added 7 commits April 26, 2022 14:56
* Update FindOpenImageIO.cmake adding OpenImageIO_Util library
* Update AliceVisionConfig.cmake.in adding Alembic dependancy
* Add config.ocio file and update cmake file for installation
* OCIO usage for output in ACES or ACEScg color space
…onfig.ocio and cameraSensors.db files.

In main_cameraInit.cpp, filepath to access cameraSensors.db becomes an optional parameter. If not specified, try to access the default file with filepath $ALICEVISION_ROOT/share/aliceVision/cameraSensors.db
src/CMakeLists.txt : Limit some Boost def to Windows.
Remove definition of config.ocio filepath in cmake file.
…not existing.

Update Docker files with new environment variable ALICEVISION_ROOT.
Code cleaning.
@demoulinv demoulinv force-pushed the dev/feature_OutputInACEScgColorSpace branch from 35ae71f to f0fd559 Compare April 26, 2022 13:05
Update environment variable definition ALICEVISION_ROOT
Bugfix in Docker ubuntu version
Avoid ACES or ACEScg conversion if NO_CONVERSION is specified for output color space.
@fabiencastan fabiencastan added this to the 2.5.0 milestone Apr 27, 2022
@fabiencastan fabiencastan merged commit 156c632 into develop Apr 27, 2022
@fabiencastan fabiencastan deleted the dev/feature_OutputInACEScgColorSpace branch April 27, 2022 15:22
@fabiencastan fabiencastan changed the title Dev/feature output in ACES or ACEScg color space Output color space in ACES or ACEScg Mar 20, 2023
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.

3 participants