Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today


Asked by Duke Watson on 2 Jun 2012
Latest activity Commented on by Image Analyst on 3 Nov 2013

hey i am a new in matlab. After background subtraction, i want ot track a human being. can anyone tell me the simple and efficient algorithm and also the inbuilt function if any during the algorithm implementation so that it work fast where i can easily implement it .?

1 Comment

Walter Roberson on 2 Jun 2012

Duplicate is at

Duke Watson


3 Answers

Answer by Image Analyst on 2 Jun 2012

Did you search the Mathworks web site for the numerous pages on tracking?


Image Analyst
Answer by Walter Roberson on 2 Jun 2012

Your original question at still exists and is waiting for your response. Please edit that question to reflect any updated information and then delete this question.

1 Comment

Image Analyst on 3 Nov 2013

For some reason, it's not there anymore. I thought posters couldn't delete a question once there were answers.

Walter Roberson
Answer by Prasad Kalane on 3 Nov 2013

procedure is as follows (for stationary camera/background)

>> after background Subtraction, hold on this image

>> calculate & plot the centroid of segmented image (for example with '*')

>> then show image

>> do same procedure for all frames

NOTE : After background subtraction remove noise by some Morphological tool.


Prasad Kalane

Contact us