how can I use my function as an interpolation method for imresize function in MATLAB?
I read MATLAB’s help about the way to use a custom function for interpolation method, but there was not any clear example. and I tried to write a code for ma
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is how you call the resizing function, for an image A that would want to resize to 64×52, with a special kernel “lanczos2”:
Here is one example of one interpolation kernel, which you would save as lanczos2.m
Note that this particular kernel is already implemented in imresize.m
I think that your issue had to do with the “@” which serves for referencing functions.