-
Notifications
You must be signed in to change notification settings - Fork 22
Fix artifacts on bicubic interpolation #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
base: main
Are you sure you want to change the base?
Conversation
jodygarnett
left a comment
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.
I am going to have to ask a more experienced member of the JAI-Ext team to review.
| public final class InterpolationBicubic extends InterpolationTable { | ||
|
|
||
| private static final int PRECISION_BITS = 8; | ||
| private static final int PRECISION_BITS = 12; |
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.
| float_fracy = fracy; | ||
| frac_xx = float_fracx * (1.0F - float_fracx); | ||
| frac_yy = float_fracx * (1.0F - float_fracy); | ||
| frac_yy = float_fracy * (1.0F - float_fracy); |
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.
As the codebases have diverged and I do not see a similar fix in place.
jodygarnett
left a comment
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.
Revisit this change after JAI-Ext merged, check if still required.
No description provided.