Anti-Aliasing Filter for matlab imresize
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, I am doing a project on computer graphics and have been asked to implement the matlab's imresize function in C++, using bicubic interpolation.
As you know, if the scale factor is less than one,we need a anti-aliasing filter while interpolation. However I have no experience in filter design and at the moment I'm still relatively new to matlab and the image processing toolbox. I've tried using the fspecial gaussian filter but it doesnt seem to have muxh effect. Can you give me any tips on how to produce an appropriate filter in matlab, or point me to relevant information.
Any help is appeciated,
many thanks,
Xifei WU 2011.6.14
3 Commenti
David Young
il 14 Giu 2011
I'm sorry, but I don't know about the internal operation of imresize. I guess with some effort it would be possible to work out the anitaliasing method by applying imresize to simple examples.
Risposte (2)
Jan
il 14 Giu 2011
You can look inside the IMRESIZE function itself. All necessary methods are implemented there.
Yoav
il 17 Lug 2011
What does the function imresizemex do? (I don't care about the specific implementation, just to understand how to output is defined by the input). Thanks in advance, Yoav
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!