MATLAB Answers


How to find heart beating pattern?

Asked by Saman
on 1 Sep 2016
Latest activity Commented on by Image Analyst
on 1 Sep 2016
Hello, I have a 20 seconds video which has a beating heart of an animal (captured by microscope). I want to find beating pattern of this heart in terms of displacement vs. seconds (i.e. displacements per seconds). How can I do this? Thanks!


Sign in to comment.

1 Answer

Answer by Image Analyst
on 1 Sep 2016
 Accepted Answer

Segment the heart and measure it's area for each frame. Then find the peak displacement. Finding displacements per second means you need a time window over which you will count the number of displacements. You can find peaks with findpeaks(), and you can count them with conv(). Then divide by the width of the window in seconds to get the count per second.


Thanks! The other question I have is that how can I make this video to separate frames? It is a 20 seconds continuous video.

Sign in to comment.