how can i morphing a circle?
Afficher commentaires plus anciens
The image of a circle to be transformed into an ellipse image using geometric effector. Develop code in MATLAB.
Réponse acceptée
Plus de réponses (2)
Sean de Wolski
le 11 Sep 2012
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
le 13 Sep 2012
0 votes
1 commentaire
Image Analyst
le 13 Sep 2012
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.
Catégories
En savoir plus sur Data Type Identification dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!