FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2008, 06:30 PM
omershad
Guest
 
Posts: n/a
Default Tracking the hand in occlusion

Hello All,
I want to use the kalman filter for the tracking of the hand in case o
occlusion. Hand can be moved freely in the environment and the occlusio
can be with the other hand or with the face. In case of occlusion, I hav
to predict the hand or face from the previous motion.
For the simple case, I am drawing a rectangle on the corners of the han
and face and want to predict the rectangle points(four points) in case o
occlusion. Is it possible to do that with Kalman filter? It is alway
prediction linearly and the results are not according to what I wan
because the motion can vary in any direction. I have tried that. However,
don't know exact process noise. For me the process noise can vary about
pixels or so because in case of two consective frame, motion can not var
more than 5 pixels.
The second thing is that should I go for the Extended Kalman Filter? I
works for non-linear ones. The thing which I have studied about EKF i
about the functions in the transition matrixes? Can someone help me in thi
problem. If you want some more information or the problem is not clear
please ask.
Omer


Reply With Quote
  #2 (permalink)  
Old 07-30-2008, 06:37 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

omershad wrote:
> Hello All,
> I want to use the kalman filter for the tracking of the hand in case of
> occlusion. Hand can be moved freely in the environment and the occlusion
> can be with the other hand or with the face. In case of occlusion, I have
> to predict the hand or face from the previous motion.
> For the simple case, I am drawing a rectangle on the corners of the hand
> and face and want to predict the rectangle points(four points) in case of
> occlusion. Is it possible to do that with Kalman filter? It is always
> prediction linearly and the results are not according to what I want
> because the motion can vary in any direction. I have tried that. However, I
> don't know exact process noise. For me the process noise can vary about 5
> pixels or so because in case of two consective frame, motion can not vary
> more than 5 pixels.
> The second thing is that should I go for the Extended Kalman Filter? It
> works for non-linear ones. The thing which I have studied about EKF is
> about the functions in the transition matrixes? Can someone help me in this
> problem. If you want some more information or the problem is not clear,
> please ask.


Have you considered using the position of the forearm as relevant
information?

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Reply With Quote
  #3 (permalink)  
Old 07-30-2008, 07:14 PM
omershad
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Hello,
I have got the position of the hand(x,y) and the velocity(vx,vy) which
can use for the prediction. Basically this is my state vecto
(position_x,position_y,velocity_x,velocity_y) and I want to find th
predict the position in the next frame.
Regards,
Omer

>omershad wrote:
>> Hello All,
>> I want to use the kalman filter for the tracking of the hand in cas

of
>> occlusion. Hand can be moved freely in the environment and th

occlusion
>> can be with the other hand or with the face. In case of occlusion,

have
>> to predict the hand or face from the previous motion.
>> For the simple case, I am drawing a rectangle on the corners of th

hand
>> and face and want to predict the rectangle points(four points) in cas

of
>> occlusion. Is it possible to do that with Kalman filter? It is always
>> prediction linearly and the results are not according to what I want
>> because the motion can vary in any direction. I have tried that

However, I
>> don't know exact process noise. For me the process noise can vary abou

5
>> pixels or so because in case of two consective frame, motion can no

vary
>> more than 5 pixels.
>> The second thing is that should I go for the Extended Kalman Filter

It
>> works for non-linear ones. The thing which I have studied about EKF is
>> about the functions in the transition matrixes? Can someone help me i

this
>> problem. If you want some more information or the problem is no

clear,
>> please ask.

>
>Have you considered using the position of the forearm as relevant
>information?
>
>Jerry
>--
>Engineering is the art of making what you want from things you can get.
>????????????????????????????????????????????????? ??????????????????????
>

Reply With Quote
  #4 (permalink)  
Old 07-31-2008, 02:34 AM
Tim Wescott
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

omershad wrote:
(top posting fixed)
>> omershad wrote:
>>> Hello All,
>>> I want to use the kalman filter for the tracking of the hand in case

> of
>>> occlusion. Hand can be moved freely in the environment and the

> occlusion
>>> can be with the other hand or with the face. In case of occlusion, I

> have
>>> to predict the hand or face from the previous motion.
>>> For the simple case, I am drawing a rectangle on the corners of the

> hand
>>> and face and want to predict the rectangle points(four points) in case

> of
>>> occlusion. Is it possible to do that with Kalman filter? It is always
>>> prediction linearly and the results are not according to what I want
>>> because the motion can vary in any direction. I have tried that.

> However, I
>>> don't know exact process noise. For me the process noise can vary about

> 5
>>> pixels or so because in case of two consective frame, motion can not

> vary
>>> more than 5 pixels.
>>> The second thing is that should I go for the Extended Kalman Filter?

> It
>>> works for non-linear ones. The thing which I have studied about EKF is
>>> about the functions in the transition matrixes? Can someone help me in

> this
>>> problem. If you want some more information or the problem is not

> clear,
>>> please ask.

>> Have you considered using the position of the forearm as relevant
>> information?
>>
>> Jerry
>> --
>> Engineering is the art of making what you want from things you can get.
>> ?????????????????????????????????????????????????? ?????????????????????

>
> Hello,
> I have got the position of the hand(x,y) and the velocity(vx,vy) which I
> can use for the prediction. Basically this is my state vector
> (position_x,position_y,velocity_x,velocity_y) and I want to find the
> predict the position in the next frame.
> Regards,
> Omer
>

Kalman filter performance can be very sensitive to the match between the
model used and the actual system that's generating the signal.

Jerry's suggestion of tracking the forearm position is probably based on
the notion that when you're waving your hand around (at least in the
lab) your elbow isn't going to move as much as your hand, so your hand
will tend to move in an arc whose radius is is approximately equal to
the length of your radius (I would have said 'ulna', but that wouldn't
be as humerus). Modeling the hand-arm system will help you model the
hand behavior more accurately.

Not only are you trying to model a nonlinear system (which would
indicate that you should consider an EKF), but you really can't
accurately model the whims of the human mind with a linear system
excited by Gaussian noise. So you may wish to use an H-infinity filter,
or some 'extended' version if there is such a thing. If this is more an
academic project than a real-world one a particle filter may be
interesting to try. My understanding of them is that they really aren't
ready for prime time yet, but that they are cool and have some distinct
performance advantages.

My current favorite resource on Kalman filtering is Dan Simon's "Optimal
State Estimation". I can't claim to be an expert, but I certainly
appreciate his approach.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
Reply With Quote
  #5 (permalink)  
Old 07-31-2008, 03:17 PM
Jim Thomas
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Tim Wescott wrote:
>
> Jerry's suggestion of tracking the forearm position is probably based on
> the notion that when you're waving your hand around (at least in the
> lab) your elbow isn't going to move as much as your hand, so your hand
> will tend to move in an arc whose radius is is approximately equal to
> the length of your radius (I would have said 'ulna', but that wouldn't
> be as humerus).


This is why I come to comp.dsp almost every day. Thanks!

--
Jim Thomas Principal Applications Engineer Bittware, Inc
[email protected] http://www.bittware.com (603) 226-0404 x536
Dyslexics of the world, UNTIE!
Reply With Quote
  #6 (permalink)  
Old 07-31-2008, 04:17 PM
Tim Wescott
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Jim Thomas wrote:
> Tim Wescott wrote:
>>
>> Jerry's suggestion of tracking the forearm position is probably based
>> on the notion that when you're waving your hand around (at least in
>> the lab) your elbow isn't going to move as much as your hand, so your
>> hand will tend to move in an arc whose radius is is approximately
>> equal to the length of your radius (I would have said 'ulna', but that
>> wouldn't be as humerus).

>
> This is why I come to comp.dsp almost every day. Thanks!
>

For the down-to-earth practical info, or for the bad puns?

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
Reply With Quote
  #7 (permalink)  
Old 07-31-2008, 04:28 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Tim Wescott wrote:
> Jim Thomas wrote:
>> Tim Wescott wrote:
>>>
>>> Jerry's suggestion of tracking the forearm position is probably based
>>> on the notion that when you're waving your hand around (at least in
>>> the lab) your elbow isn't going to move as much as your hand, so your
>>> hand will tend to move in an arc whose radius is is approximately
>>> equal to the length of your radius (I would have said 'ulna', but
>>> that wouldn't be as humerus).

>>
>> This is why I come to comp.dsp almost every day. Thanks!
>>

> For the down-to-earth practical info, or for the bad puns?


The only bad puns are the ones you didn't think of first.

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Reply With Quote
  #8 (permalink)  
Old 08-02-2008, 02:39 AM
omershad
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Hello,
I don't extract the forearm position as it is not always visible in th
images. I am extracting the hand, face with full sleeve shirt fo
simplicity. Can I make a mathematical model with Extended Kalman Filte
with the position, velocity, acceleration etc or these features are no
enough? Thanks for the suggestions. I will read about the H-Infinity filte
today.
Omer

>Tim Wescott wrote:
>> Jim Thomas wrote:
>>> Tim Wescott wrote:
>>>>
>>>> Jerry's suggestion of tracking the forearm position is probably base


>>>> on the notion that when you're waving your hand around (at least in
>>>> the lab) your elbow isn't going to move as much as your hand, so you


>>>> hand will tend to move in an arc whose radius is is approximately
>>>> equal to the length of your radius (I would have said 'ulna', but
>>>> that wouldn't be as humerus).
>>>
>>> This is why I come to comp.dsp almost every day. Thanks!
>>>

>> For the down-to-earth practical info, or for the bad puns?

>
>The only bad puns are the ones you didn't think of first.
>
>Jerry
>--
>Engineering is the art of making what you want from things you can get.
>ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï ¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿ ½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï ¿½ï¿½ï¿½ï¿½ï¿½
>

Reply With Quote
  #9 (permalink)  
Old 08-02-2008, 02:41 AM
omershad
Guest
 
Posts: n/a
Default Re: Tracking the hand in occlusion

Continuation of the previous one..
Basically, my system is extracting the features to recognize gesture an
postures of the hand and this is a problem which comes in case o
occlusion.
Omer

>Tim Wescott wrote:
>> Jim Thomas wrote:
>>> Tim Wescott wrote:
>>>>
>>>> Jerry's suggestion of tracking the forearm position is probably base


>>>> on the notion that when you're waving your hand around (at least in
>>>> the lab) your elbow isn't going to move as much as your hand, so you


>>>> hand will tend to move in an arc whose radius is is approximately
>>>> equal to the length of your radius (I would have said 'ulna', but
>>>> that wouldn't be as humerus).
>>>
>>> This is why I come to comp.dsp almost every day. Thanks!
>>>

>> For the down-to-earth practical info, or for the bad puns?

>
>The only bad puns are the ones you didn't think of first.
>
>Jerry
>--
>Engineering is the art of making what you want from things you can get.
>ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï ¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿ ½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï ¿½ï¿½ï¿½ï¿½ï¿½
>

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a concatention operator on the Left Hand Side of '='? Raban Verilog 6 05-26-2008 04:44 PM
Hand solder that FPGA on your prototype Tony Burch FPGA 5 12-01-2007 03:15 PM
FIR filter using only a hand calculator [email protected] DSP 1 05-24-2006 02:55 AM
The Hand-held Universal Translator is here! Country Loon DSP 4 10-09-2004 03:17 PM
Kalman filter tuning for hand tracking gutek DSP 6 04-28-2004 03:27 PM


All times are GMT +1. The time now is 03:20 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved