Shape feature extraction in Matlab

31 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Image Analyst
Image Analyst il 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 Commenti
Dileep Kumar Kothamasu
Dileep Kumar Kothamasu il 17 Mar 2018
can someone attach the code for shape feature extraction?

Accedi per commentare.

Più risposte (1)

junnie vix
junnie vix il 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