shoulder detection on a segmented image

746 views Asked by At

As an input I have a segmented image of the upper body, I'm trying to detect shoulders from this image. I minimized the region by a threshold calculated by simple known ratios between head size and shoulder width.

Now I have the shoulders region, performed edge detection on it. Now I need to find the points of shoulders. is there a fast way to detect the shoulder curves ?

I'm using Matlab.

This is my input image :

enter image description here

1

There are 1 answers

5
Henrik On

Bezier Curve is just a mathematical description of a curve, (linear interpolation, using control points). It is not a curvetracer.

If you need bezier curve descriptions, you would need to do a best fit between a bezier curve model, and the data. Before you get started, you should probably play around with bezier curves, to get a feeling of how they operate.

See here: http://www.mathworks.com/matlabcentral/fileexchange/33828-generalised-bezier-curve-matlab-code for a Bezier Curve render, in matlab. It displays the bezier curve, when you provide some control points.

There is a few methods to actually fit a bezier curve to a set of data, here is one for matlab (using the least squares method). http://www.mathworks.com/matlabcentral/fileexchange/15542-cubic-bezier-least-square-fitting

It will some times work nicely, and sometimes fail miserably, this is due to the least squares method, and the uniform parameterization used. It should work OK for your shoulder problem.

you need to extract the edge data, as data points, but that should be trivial