how to create a movie by matlab that you can add pause button on it and use ginput to get information

1 view (last 30 days)
I am design a program to track hip, ankle,knee, toe , iliac crest that 5 points. I paint 5 pionts with certain color and creat a blob to detect 5 points
hblob = vision.BlobAnalysis('AreaOutputPort', false, ...
'CentroidOutputPort', true, ...
'BoundingBoxOutputPort', true', ...
'MinimumBlobArea', 20, ...
'MaximumBlobArea', 3000, ...
'MaximumCount', 10); true
it can detect 5 points successfully. But the order for matlab to detect points is from left to right. Whichever point is the most left will be considered as point1. in some frame point1 is hip. in some frames point 1 is ankle which make data mess up. Is there any way to solve this problem. My solution is in next frames try to track the most close point to this points, so that all the hip data can be put in one array, however it sometimes still lose detection or track wrong points. so I want to make it can be modify manully. is there any function that I can use to add pause button in a video and use ginput function to get position information. I tried implay to play video. But when the video is playing, matlab have no idea which frame implay is playing. Can anyone help me with this

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!