How Can I Measure Arm Trajectory Using 2D Pixel Coordinates?

Click For Summary

Discussion Overview

The discussion revolves around measuring the trajectory of arm movement using 2D pixel coordinates obtained from video captures. Participants explore how to analyze these coordinates over time to determine whether the arm's motion is straight or curved, considering the limitations of the data available.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant expresses uncertainty about the physics involved, suggesting the problem may be more related to image processing than physics.
  • Another participant proposes fitting a curve to the data points and defining tolerances for distinguishing between straight and curved motion.
  • There is a suggestion to plot the x,y coordinates of the hand to visualize the trajectory and determine its nature over time.
  • Concerns are raised about the sampling of data points, with one participant noting the potential issue of irregular sampling or missing data.
  • One participant questions whether 3D motion is necessary, suggesting that 3D coordinates would be needed for accurate calculations, while another clarifies that the motion is projected onto 2D.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to analyze the trajectory, with differing views on the necessity of 3D data and the methods for defining straight versus curved motion.

Contextual Notes

Limitations include the reliance on 2D data from video captures, potential irregular sampling of data points, and the need for clear definitions of terms like "trajectory of the arm" and "towards the person."

msn009
Messages
53
Reaction score
6
I am not sure in which section this question should belong so I am placing it here for now. I have no experience in physics and body motion so appreciate some patience with my question.

the information i have are pixel coordinates of the head, shoulder, elbow, hand, knee, hips and leg of 2 people facing each other at every point.
this information is collected along a timeframe upto miliseconds so I have about 30 frames that has these coordinate information. Now I need to find a way to measure the trajectory of the arm when it is curving or moving straight ahead towards the person opposite. in the end the a single value result is expected to determine whether the trajectory was a curve or a straight move.

How can I use the points I have to compute this trajectory or perhaps references i can use to aid the thinking process?
 
Technology news on Phys.org
Welcome to the PF. :smile:

Do you have a view from the top as well as the side view? Or only the side view?
 
Hi msn, :welcome:

Not sure where the physics is in this one ? Looks more like image processing to me. All you want is one single number (curvature?), so you'll have to do a lot of distilling.

You forgot to define 'trajectory of the arm' in terms used before. Idem 'towards the person'.
 
Hi,
I have the video captures from the top but these points are translated into pixel points in a file. so i have the x and y pixel points for all these joints for each frame.
yes it is somewhat image processing but i have these values saved as points in an excel file. i understand that it might not be purely physics but i see the need to be able to understand the body motion to be able to know how best to compute these trajectories.
 
msn009 said:
how best to compute these trajectories.
It seems like you need to fit a curve to each set of datapoints, and have some definition (tolerances) for what you consider "straight" versus "curved" motion...

https://en.wikipedia.org/wiki/Curve_fitting
 
so in this case, can i just use the x,y co-ordinates of the hand and try to plot a function that will show whether it is a curved or straight line over time? basically i need use the trajectory of these points to form the definition of whether it is a straight or curved motion
 
  • Like
Likes   Reactions: berkeman
msn009 said:
so in this case, can i just use the x,y co-ordinates of the hand and try to plot a function that will show whether it is a curved or straight line over time? basically i need use the trajectory of these points to form the definition of whether it is a straight or curved motion
Yes, I think so. At least that's where I would start. Is one of the issues that you don't have data that is regularly sampled, or are missing some datapoints?
 
berkeman said:
Yes, I think so. At least that's where I would start. Is one of the issues that you don't have data that is regularly sampled, or are missing some datapoints?
yes, that would be a possibility but at this point i will only compute for those that has values in it.
 
You're describing 2D coordinates, but don't you have 3D motion and therefore need 3D coordinates?

If you have 2D images, I think you need 2 sets of them, with known offsets, to calculate the locations of the points in 3D space. Once you have x,y,z locations of the subject points, then it is just trigonometry calculations to find angles. E.G. if the pivot is at 0,0,0 and the other end of the arm at 1000,0,0 and a certain time later is at 707,707,0 it has rotated 45 degrees about the z axis.
 
  • #10
these are 3D motion projected onto 2D so I only have the x,y coordinates for each joint.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
1K
Replies
7
Views
2K
Replies
1
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 20 ·
Replies
20
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K