Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Problems with makeresampler function using custom interpolation kernels

$
0
0
I'm currently expiriencing a weird problem with the built-in makeresampler function of the Image Processing Toolbox. I'm using it to geometrically transform an image and apply custom resamplers with the function handle to the specific interpolation kernel as the input argument (not a kernel in form of a matrix, which is another possibility).

I have been working with the function for a while now and it worked quite well. Recently I've also tried to use some "matrix kernels" (as described above) but now my function handle kernels won't work anymore. I haven't changed a single thing in the code of my existing kernels, but ever since I used the matrix as an input argument, all I get is a nearest-neighbor resampled image no matter what kernel I use! I do not get a warning or error.

Has anyone ever worked with the makeresampler function in combination with function handle interpolation kernels and has encoutered similar problems?

Viewing all articles
Browse latest Browse all 19628

Trending Articles