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

ColorTwist operator cleanup #1532

Merged
merged 4 commits into from
Dec 5, 2019
Merged

ColorTwist operator cleanup #1532

merged 4 commits into from
Dec 5, 2019

Conversation

szalpal
Copy link
Member

@szalpal szalpal commented Dec 2, 2019

ColorTwist operator has been deprecated. This PR handles deprecation.

What happened in this PR?

  • Added deprecation warning to the runtime
  • Added deprecation warning to the schema for ColorTwist operator
  • Replaced ColorTwist operators in all examples and docs with BrightnessContrast / Hsv operators

For the sake of the grace period, ColorTwist and related operators will be removed in 0.20 (#1533 )

Note: The Brightness operator slightly changed its modus operandi and now it has additive change coefficient instead of multiplicative. That's why I needed to adapt the test values.

@szalpal
Copy link
Member Author

szalpal commented Dec 2, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1014768]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1014768]: BUILD FAILED

Signed-off-by: Michał Szołucha <mszolucha@nvidia.com>
@szalpal
Copy link
Member Author

szalpal commented Dec 3, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1015259]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1015259]: BUILD FAILED

Signed-off-by: Michał Szołucha <mszolucha@nvidia.com>
@szalpal
Copy link
Member Author

szalpal commented Dec 3, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1015675]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1015675]: BUILD PASSED

@szalpal szalpal requested a review from a team December 3, 2019 17:02
@szalpal szalpal merged commit a22ecb2 into NVIDIA:master Dec 5, 2019
@szalpal szalpal deleted the color_manipulation_cleaning branch January 24, 2020 15:43
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.

None yet

4 participants