how to ellipse fitting to connected object?

1 次查看(过去 30 天)
how to ellipse fitting to connected object?

采纳的回答

Evan
Evan 2014-11-13
help regionprops
This allows you to return the orientation, major axis length, and minor axis length of binary data with regions that approximate ellipses.
The page also contains code for plotting your ellipse fits.
  3 个评论
Evan
Evan 2014-11-14
编辑:Evan 2014-11-14
Regionprops performs its operations for each connected region of true values, so it treats that cluster of three pigs as a single entity.
The way you do this likely depends on the range of scenarios that you expect from your images. I would suggest looking through the functions in the Image Processing Toolbox, particularly those that relate to Segmentation to see which ones might be useful.

请先登录,再进行评论。

更多回答(1 个)

Abo
Abo 2014-11-25
thank you. your answers are so helpful.

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by