0

I have a binary Image with many connected components. I want to determine geometric properties of these components (like if it represents straight line, or its a curve etc). how it can be done?

thanks in advance.

crack_addict
  • 653
  • 2
  • 8
  • 13
  • you can compute the curvature to differentiate straight lines and curves. – chaohuang Jul 11 '12 at 02:38
  • @chaohuang do matlab has some inbuilt function for that? – crack_addict Jul 11 '12 at 03:27
  • There is no built-in function for your purpose, but [this](http://www.mathworks.com/matlabcentral/fileexchange/32696) may help. Also, see [here](http://stackoverflow.com/questions/11317579/surface-curvature-matlab-equivalent-in-python) and [here](http://www.mathworks.com/matlabcentral/newsreader/view_thread/152405) – chaohuang Jul 11 '12 at 03:59
  • 3
    @crack_addict: MATLAB has [`regionprops`](http://www.mathworks.com/help/toolbox/images/ref/regionprops.html): not for curvature, but it computes different measures that can be useful (eccentricity maybe) – Amro Jul 11 '12 at 13:53

0 Answers0