-
Notifications
You must be signed in to change notification settings - Fork 18
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
Renamed histEqual to histEqualize. #79
Conversation
Copy of input image slice with its histogram values equalized. | ||
*/ | ||
deprecated("Use dcv.imgproc.filter.histEqualize") | ||
Slice!(N, T*) histEqual(T, HistogramType, size_t N)(Slice!(N, T*) slice, HistogramType histogram, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alias histEqual = histEqualize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanted to do this, but how to inform the deprecation? Is it possible to deprecate alias?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Will do..
LGTM |
See also dcv/tests/performance-tests/source/performance/measure.d |
ah, tnx.. |
I forgot about this one in bilateralFilter sigma separation PR, so I smuggled it here. Hope you don't mind. (it was failing to compile the benchmark app) |
Working on #76
I left histEqual with deprecation message. Will leave the issue until 0.2.0 version comes, and until we remove the histEqual.
@9il seems ok?