필터 지우기
필터 지우기

How can I find old point in old image before resampling?

조회 수: 2 (최근 30일)
bkshn
bkshn 2013년 11월 25일
편집: Image Analyst 2013년 11월 26일
Hello I have an image and I did resampling on it
( NI = imresample([0.5,0.5],I,[1,1],'linear');)
can I find old pixel in first image from resampled image? in fact I want to know what was the pixel NI(1,1) in image I?

답변 (1개)

Image Analyst
Image Analyst 2013년 11월 25일
imresample is not in base MATLAB or the Image Processing Toolbox. It's a pretty good bet though that the (1,1) pixel has the same value in both images. Of course it is trivial to check that:
difference = abs(double(oldImage(1,1)) - double(newImage(1,1)))
It probably doesn't move.
  댓글 수: 4
bkshn
bkshn 2013년 11월 26일
편집: Image Analyst 2013년 11월 26일
and send email to its author , but he didn't answer. anyway thanks for your answer
Image Analyst
Image Analyst 2013년 11월 26일
편집: Image Analyst 2013년 11월 26일
Maybe you should use imresize() instead. Would that do what you need to do, or is there something special about imresample? Not from what I can see. It appears to be only for those unfortunate souls who do now have the Image Processing Toolbox.

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

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by