measurement of body height with image processing on matlab. need help

shadow_son
@shadow-son-NagNfn Oct 21, 2024

hello everybody. i'm the new member in this forum.
i wanna ask something about image processing.
i got a project on my college. i want to measurement of human height seen from the photograph. but i'm still confused to applied my concept to matlab.
here my concept :
1. distance of camera to human body is 2 meters. so i put a constansta a = 2 (scaling)
2. i want to use edge detection. so, my concept,, i put a position of foot locate on y = 0. so, with edge detection, i will search position of head (thats for y1), if i get ordinate of head,, so i will substract that with y (position of foot) so i get a height on that photo (h1 = y1 - y). after that, i use a geometric so i will getting real the height of human body.
that's my concept,,
my question :
How to use an edge detection on matlab, so i can get the ordinate of head (y1)? i'm still confused..
thanks for your respons..

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • silverscorpion

    @silverscorpion-iJKtdQ Dec 29, 2009

    Well, for more complex ways, you can go for face recognition. You first recognize a face from the given
    photo. And the top edge of the face is obviously the top edge of the person who is standing.

    But that much complex coding is not actually required. You just take the photograph with a uniform colored
    background, preferably with the test subject wearing contrasting colors. Like may be, blue background and
    the person wearing red or something.

    This way, when you detect the edges of the picture, you'll probably get an outline of the person standing. Then
    you get the maximum ordinate value where the pixel value is non zero. That's the top point of the head.. That's all.

    you've asked how to use edge detection in matlab. That's very simple. There are a couple of inbuilt functions for that.
    You can search for them in matlab help. Practice it in some test images and your'e good to go.. Hope I answered your question.