Shape feature extraction in Matlab

11 vues (au cours des 30 derniers jours)
Aswathy Gopan
Aswathy Gopan le 21 Nov 2015
Commenté : Image Analyst le 17 Mar 2018
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.

Réponse acceptée

Image Analyst
Image Analyst le 21 Nov 2015
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 commentaires
Dileep Kumar Kothamasu
Dileep Kumar Kothamasu le 17 Mar 2018
can someone attach the code for shape feature extraction?
Image Analyst
Image Analyst le 17 Mar 2018

Connectez-vous pour commenter.

Plus de réponses (1)

junnie vix
junnie vix le 21 Mar 2017
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