how can i morphing a circle?
이전 댓글 표시
The image of a circle to be transformed into an ellipse image using geometric effector. Develop code in MATLAB.
채택된 답변
추가 답변 (2개)
Sean de Wolski
2012년 9월 11일
C = bsxfun(@(x,y)hypot(x-50,y-50)<25,1:100,(1:100).'); %A circle
tform = [1 0 0;0.6 1 0;0 0 1]; %a transformation
tform = maketform('affine',tform); %create tform structure
C2 = imtransform(C,tform,'Size',size(C)); %transform
imshow(C2) %show
ioanna
2012년 9월 13일
0 개 추천
댓글 수: 1
Image Analyst
2012년 9월 13일
Whom are you talking to? You should put your follow up question as a comment to someone. You put it as an Answer to your own question, so basically you're asking yourself. To make something change gradually, you must change the input parameters gradually.
카테고리
도움말 센터 및 File Exchange에서 Data Type Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!