MATLAB Auto Segmentation of Data Based on TimeStamps
2 views (last 30 days)
Show older comments
so I currently have a program that collected data continuously in the form of color images, depth map images and a csv with relevant data I want to capture. Each color and depth image has a timestamp in their filename. Each row in the csv has a timestamp also. These timestamps are not necessarily exactly the same, but they are probably pretty close depending on how fast my processor saves them (unfortunately I didn't exactly time synchronize).
My goal is to create a video from the color images and essentially be able to segment the relevant times where the data in the csv file is worth analyzing. I wanted to know if there could be an automatic way of doing this.
My current methodology and algorithm goes something like this:
- Create video from color images
- Watch video and throw a flag/press a button, or something that activates which segments of the video are valuable to analyze.
- Backtrack to find which image frames those correspond to and get the timestamps from the title
- go to the CSV file and find the timestamps within a certain threshold -(E.G. not perfectly time synchronized, but t = 28.54 for the found color image vs. t = 28.56 in the csv file would suffice -> threshold is around +/- 0.05)
- Repeat for all data.
I can do steps 1 and 4 assuming 2 and 3 works. Does anyone have any advice on how to go about executing 2) and 3)'s algorithms? Thank you very much
2 Comments
Image Analyst
on 7 Dec 2014
How would we, or you, know which of the numerous frames in the video are worth analyzing? You forgot to post any images, like a frame that is not worth analyzing, and one that is.
Answers (0)
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!