필터 지우기
필터 지우기

How to unwrap the circle?

조회 수: 10 (최근 30일)
Umme Tania
Umme Tania 2013년 10월 9일
댓글: Image Analyst 2014년 1월 24일
  댓글 수: 3
Walter Roberson
Walter Roberson 2013년 10월 9일
I am not sure what you mean by "unwrap" ? Are you wanting to project from the circle to a rectangle, interpolating to form a rectangular image like from stretching a sheet?
Umme Tania
Umme Tania 2013년 10월 10일
yes

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

채택된 답변

Alex Taylor
Alex Taylor 2013년 10월 10일
편집: Alex Taylor 2013년 10월 11일
Use a polar transformation with the center of the transformation set to the center of the circle (roughly [161, 172]).
I like Peter Kovesi's implementation of the polar transformation:
a = imread('http://www.mathworks.com/matlabcentral/answers/uploaded_files/482/crop_image.jpg');
out = polartrans(a,500,500,161,172,'linear','valid');
imshow(out);
  댓글 수: 1
Umme Tania
Umme Tania 2013년 10월 11일
Thank you

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

추가 답변 (1개)

ramsha
ramsha 2014년 1월 24일
how to run this file ?
  댓글 수: 1
Image Analyst
Image Analyst 2014년 1월 24일
What file? Whatever file it is, can't you just click the green triangle? Or type the name of it into the command window?

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

Community Treasure Hunt

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

Start Hunting!

Translated by