i want to select elliptical region of various sizes by varying a and b in an image.Can anyone please suggest the algorithm by using imcrop.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
anmol maharana
am 25 Jul. 2017
Kommentiert: anmol maharana
am 27 Jul. 2017
I want to develop a program in which an image is taken as input. Then elliptical regions are selected by varying a and b.
2 Kommentare
John D'Errico
am 25 Jul. 2017
Bearbeitet: John D'Errico
am 25 Jul. 2017
Why would imcrop be the tool to use here, allowing you to crop an elliptical region? imcrop uses a rectangular crop. There are no alternatives in imcrop to let you use a general elliptical region. You will need to write your own crop tool.
But first, you need to decide what it means to crop an image to an elliptical region, since this makes no sense at all. A cropped image is still an image. An image is a rectangular array of pixels. So an elliptical region means you MUST decide what happens to the pixels that lie outside of the ellipse. Until you do that, cropping to an ellipse makes no sense.
Akzeptierte Antwort
Image Analyst
am 25 Jul. 2017
See my attached ellipse demos. Probably mask_multiple_ellipses.m is what you want.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!