How to implement Bicubic interpolation in an image?
39 次查看(过去 30 天)
显示 更早的评论
I have 256*256 dimension image and I want to make it 512*512 using bicubic interpolation. How to do it using csapi(x,y) or csapi(x,y,xx) function? What should be taken inplace of x & y here?
0 个评论
回答(2 个)
TheRealTonyStark
2019-10-13
编辑:TheRealTonyStark
2019-10-13
The resizing of image using bicubic interpolation method:
Example
J = imresize(I, 2, 'bicubic');%in your case
J: Resized image.
I: input image.
0.5: scaling factor
0 个评论
Image Analyst
2017-12-1
Simply use imresize():
resizedImage = imresize(originalImage, [512, 512]);
I never heard of the function csapi(). It does not show up in the help for my MATLAB.
4 个评论
TheRealTonyStark
2019-10-13
Increasing the size will create irreularities in the image. To smoothen that out we use spline fitting.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!