how does imresize work in matlab?
10 views (last 30 days)
Show older comments
how does matlab implement the command: imresize(<image>,<scaling factor>,'bicubic');
the other types of interpolations are easy to understand and implement. but in case of bicubic, when the scaling factor is less than 1, it does the anti-aliasing filter operation. how does this operation work?
0 Comments
Accepted Answer
Image Analyst
on 21 Jan 2013
2 points define a line, 3 define a quadratic, and 4 define a cubic. So if you have just the two adjacent pixels, you can do a bilinear interpolation, a bicubic interpolation uses two pixels on each side, in each direction. Same things as bilinear, just using 4 pixels instead of two to get the value of the pixel "in the middle". Not sure how it does antialiasing - perhaps it blurs it a little after the interpolation. Why do you ask?
More Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!