How to implement Bicubic interpolation in an image?
Mostrar comentarios más antiguos
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?
Respuestas (2)
TheRealTonyStark
el 13 de Oct. de 2019
Editada: TheRealTonyStark
el 13 de Oct. de 2019
1 voto
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
Image Analyst
el 1 de Dic. de 2017
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 comentarios
Nidhi Soni
el 1 de Dic. de 2017
Image Analyst
el 1 de Dic. de 2017
What's your definition of "enhance"? Merely resizing an image will not increase the resolution or make details any easier to see/resolve.
Nidhi Soni
el 1 de Dic. de 2017
TheRealTonyStark
el 13 de Oct. de 2019
Increasing the size will create irreularities in the image. To smoothen that out we use spline fitting.
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!