Shape feature extraction in Matlab

32 次查看(过去 30 天)
I would like to know how to extract shape features like area,perimeter ,eccentricity,symmetry distance in Matlab.Do i need to convert the colour image into grayscale for doing this calculation.Or is the calculation done in the pre-processed segmented image.

采纳的回答

Image Analyst
Image Analyst 2015-11-21
You need to first segment the image to get a binary image then you can call regionprops(). Whether you call rgb2gray() or just extract one of the RGB color channels, or use rgb2hsv() or rgb2lab(), or PCA or something else really depends on your image and what you need to find in it. Post your image(s) if you want more advice.
  6 个评论
Dileep Kumar Kothamasu
can someone attach the code for shape feature extraction?

请先登录,再进行评论。

更多回答(1 个)

junnie vix
junnie vix 2017-3-21
I am using SURF to extract shape in matlab. I don't have any idea how to start it. Any helpful guidance or reference?

Community Treasure Hunt

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

Start Hunting!

Translated by