-
Notifications
You must be signed in to change notification settings - Fork 16
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
[MAINT] Fix image processing module. #123
Conversation
This is not an important feature and the support of this is way too clunky.
…into fix-image-processing-module Conflicts: src/DO/ImageProcessing/Deriche.hpp
This is not a particularly fast but it can be optimized later for particular cases in 2D.
Let's do the rest in other PRs... |
Vectord x( r->template cast<double>().cwiseProduct(f) ); | ||
convertColor(nI(*r), interpolate(I, x)); | ||
Vectord x( r.position().template cast<double>().cwiseProduct(f) ); | ||
convertColor(*r, interpolate(I, x)); | ||
} | ||
return nI; | ||
} |
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.
Modifications in these files are partly obsolete since there were done a long time ago. So check these very thoroughly.
@@ -226,7 +228,8 @@ namespace DO { | |||
|
|||
inline void operator()(HessianMatrix& H, const Coords& p) const | |||
{ | |||
ScalarIterator loc(scalar_field_.begin_range(p)); | |||
ScalarIterator loc(scalar_field_.begin_range()); | |||
loc += p; | |||
operator()(H, loc); | |||
} | |||
|
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.
Modifications in these files are partly obsolete since there were done a long time ago. So check these very thoroughly.
Let's not delay this PR otherwise the review is going to be hard. With the newly added unit tests, the |
Travis is happy. Merging. |
[MAINT] Fix image processing module.
Add unit tests for each submodules and fix everywhere if necessary:
[ ] Linear filtering[ ] DifferentialLet's not do everything at once and break down this boring maintenance task into smaller PRs.