how we can amplify an image with nearest neighbour interpolation

2 views (last 30 days)
how we can amplify an image with nearest neighbour interpolation

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 30 Sep 2014
Amplify?? you mean resize? if that's what you mean here is the code
IResized= imresize(I,scale,'nearest');
  6 Comments
Image Analyst
Image Analyst on 2 Oct 2014
OK, that's fine. I agree with everything you said. I've never heard of "C0 Interpolation" but if that's standard terminology in some sub-field of image processing, that's fine.
Mohammad Abouali
Mohammad Abouali on 3 Oct 2014
Actually I made a mistake it is C-1. It is one order lower than the polynomial being used. It means continuity. C0 means the curves touches at the boundary( Which in nearest neighbor clearly doesn't). C1 means the first derivative is also continuous and so on.
Go down to parametric continuity.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!