How to find heart beating pattern?

D
Delaney · Feb 1, 2021 · 1.9K views
Question
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!  
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 25, 2026

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.

Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!