rajshekharM / Heart-beat-frequency-extracted-from-videos-

Based on extracting heart beat using Eulerian Video Magnification technique for amplifying temporal changes in video
MIT License
11 stars 3 forks source link

Averaging rgb pixel values? #2

Open Vivlian opened 4 years ago

Vivlian commented 4 years ago

Dear Rajshekhar,

I have a question regarding the code in the function freq_extract.m. In the code you are extracting the time course of rgb values for only one pixel. I wonder if the extracted heart rate gets more accurate when averaging over multiple pixels in order to reduce noise. So my question: is there a disadvantage of averaging over multiple pixels?

Kind regards!

rajshekharM commented 3 years ago

Hi,

It depends, most likely the signal/noise ratio should improve if a group of neighbouring pixels taken, rather than single - but at cost of computation time. Here priority was to minimize computation, with reasonable accuracy.