how does imresize work in matlab?

조회 수: 4 (최근 30일)
Utkarsh Deshmukh
Utkarsh Deshmukh 2013년 1월 21일
how does matlab implement the command: imresize(<image>,<scaling factor>,'bicubic');
the other types of interpolations are easy to understand and implement. but in case of bicubic, when the scaling factor is less than 1, it does the anti-aliasing filter operation. how does this operation work?

채택된 답변

Image Analyst
Image Analyst 2013년 1월 21일
2 points define a line, 3 define a quadratic, and 4 define a cubic. So if you have just the two adjacent pixels, you can do a bilinear interpolation, a bicubic interpolation uses two pixels on each side, in each direction. Same things as bilinear, just using 4 pixels instead of two to get the value of the pixel "in the middle". Not sure how it does antialiasing - perhaps it blurs it a little after the interpolation. Why do you ask?
  댓글 수: 2
Utkarsh Deshmukh
Utkarsh Deshmukh 2013년 1월 21일
Thank You sir, I was really trying to understand the process of resizing. For the part of antialiasing, can i use simple gaussian filter? i am unable to understand how to get the kernel for the anti-aliasing filter.
Utkarsh Deshmukh
Utkarsh Deshmukh 2013년 1월 21일
also sir, i wanted to know when does it do the antialiasing? before the interpolation or after the interpolation?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by