I'm doing an internship where I perform several experiments of rubbing moist cloth over a glass pane and record it with a high speed camera. My goal is to calculate the to and fro (vibratory) displacement of certain parts of the cloth through the duration of the video. So, I have to input the video, read and compare it frame to frame, select parts of the frames which has to and fro movements, follow these (there are several parts with folds in the cloth which vibrates) parts throughout the video and plot the displacement with time. From these displacements, I should find the frequency of vibration.I have to follow different points which vibrate (Like the red part in the picture I've attached) and get their displacements also. So, there are multiple parts of in a video to focus on. I'm an amateur to matlab and new to image and video processing. If anybody could help me out with codes to this or guide me on how to proceed using an alternative if present, I'd be very grateful.