-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adsk contrib - Add a method to query whether a color space is linear (#…
…1703) * First iteration of isColorspaceLinear. Signed-off-by: Cedrik Fuoco <[email protected]> * - Comments. - Added a private getProcessor method that ignore caching. - Fix the algorithm for isColorspaceLinear. - Now testing R, G, B and neutral values. Signed-off-by: Cedrik Fuoco <[email protected]> * - Passing in the config reference instead of using this in the capture clause of the lambda function as this was causing issue on other platforms than Windows. - Remove unused variable in unit test. - other minors changes Signed-off-by: Cedrik Fuoco <[email protected]> * Removing a comment and removing the helper function as it is not needed. Signed-off-by: Cedrik Fuoco <[email protected]> * - Tweaking algorithm. Returns true at the end since the color space matches the desired reference space type, is not a data space, and has no transforms, so it is equivalent to the reference space and hence linear. - Added a color space in the test config to cover that. Signed-off-by: Cedrik Fuoco <[email protected]> * Adding python binding for isColorSpaceLinear and python unit test. Signed-off-by: Cedrik Fuoco <[email protected]> Signed-off-by: Cedrik Fuoco <[email protected]> Co-authored-by: Doug Walker <[email protected]>
- Loading branch information
1 parent
5dc32f9
commit 3ffcc3f
Showing
5 changed files
with
584 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.