Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problems with makeresampler function using custom interpolation kernels

Subject: Problems with makeresampler function using custom interpolation kernels

From: Julia M.

Date: 17 Jul, 2013 15:00:14

Message: 1 of 1

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?

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us