Finding center line of an image

2 views (last 30 days)
NURUL AMIRA MHD RIZAL
NURUL AMIRA MHD RIZAL on 29 Apr 2018
I have this image after undergo canny edge detection using this function:
clear all; clc; a = imread('ddd.jpg'); b = rgb2gray(a); imshow(b); h = ones(7,7)/49; c = imfilter(b,h);
d = edge(c,'canny');
e = bwmorph(d, 'dilate') imshow(e)
Then, I want to find the center line of human body (human skeleton) of this filtered image. How am I supposed to do that? Is there any specific algorithm that I can use?
  3 Comments
NURUL AMIRA MHD RIZAL
NURUL AMIRA MHD RIZAL on 29 Apr 2018
actually this is the original image. I'm trying to get the human body skeleton.so that I can calculate the angle of certain parts of human joints.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!