My question concerns signal segmentation.
My signal is the green one, which represents the distance from the first point to the rest of points. I would like to cut the trajectory into segments that each represents the current status of the person, is he currently making a move, or making a stop?
- the green line is the distance measures smoothed using savitzky golay.
- The second line in red represents the results I would like to have, when its =1 its a move, and when it is equal to 0 it is a stop in reality.As you can see, it is somehow easy to segment the trajectory using the trends, when it is increasing or decreasing, we should have a move. When it is constant, we should have a stop.
My question is, what are the methods that I can use and that can segment a signal using the trend change ?
Thank you