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 で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!