-
Notifications
You must be signed in to change notification settings - Fork 164
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
Bicubic sampler in GIL #576
Comments
Has anyone resolved this issue? |
@Sayan-Chaudhuri If you don't see any related PR or commits or code then the answer is No. |
I was working on the testcases, haven't updated it here. will put in a pr soon |
Ok,I got it. |
@Scramjet911 Please, add the PR |
I have added a PR for this issue. Can someone look into it? |
You've marked it as WIP, means you are still working on it aka not ready for review. |
Oh sorry, I thought WIP meant that it hasn't been reviewed yet, changed it. |
See https://github.com/boostorg/gil/blob/develop/CONTRIBUTING.md#pull-requests
The issue with Draft is that
Similarly, marking with status/work-in-progress label requires such higher permissions. So, ad-hoc contributors can just stick |
Oh, I see. I added 'WIP:' because I wanted input on how I implemented it and if I should change the way I implemented it. |
Is your feature request related to a problem? Please describe.
In the current image resizing algorithms in GIL, there is nearest neighbour and bilinear sampler. But bicubic sampler is not available. Bicubic interpolation is also a very popular algorithm which might be needed useful for resizing.
Describe the solution you'd like
Implementing a bicubic sampler in sampler.hpp
C++ Example
So the way I have currently implemented it is using this as a reference, here
But there are issues with my implementation, I cannot figure out why image artifacts are being generated in the output image.
Describe alternatives you've considered
Another method for bicubic interpolation is using convolution like this
Additional context
Bicubic interpolation is a very popular technique for image interpolation because it is smoother than bilinear interpolation and nearest neighbour interpolation, though it requires higher computational power.
PR #588
Future milestones :
sampler.hpp
commentsThe text was updated successfully, but these errors were encountered: