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.

 Respuesta aceptada

Image Analyst
Image Analyst el 11 de Sept. de 2012

0 votos

See the FAQ: How do I create a circle? You can take the 4th example and make it do an ellipse by giving x and y different sized radii. Good luck.

Más respuestas (2)

Sean de Wolski
Sean de Wolski el 11 de Sept. de 2012

0 votos

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
ioanna el 13 de Sept. de 2012

0 votos

i think it must appears gradually. How can i do this???

1 comentario

Image Analyst
Image Analyst el 13 de Sept. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Type Identification en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by