A friend of mine has trouble with his program.
He was going to implement lanczosFilter
.
He compared his implementation of lanczosFilter
with the built-in imresize
function and found his results is buggy (See result.jpg).
Try to find the reason causing the result so ugly.
Have fun! Please visit my blog to find the answer.