Instrumentation & Measurement Magazine 23-4 - 58

obtained, and the patch
with maximal energy was
selected as the final patch.
Next, a raw pulse signal,
over time, was generated
using the average on all the
points in the final patch.
The feature set was performed by windowing the
raw pulse signal. For this, a
window of 10-sec size was
shifted each second, and
the DFT was computed in
each window. In this way,
we have a DFT feature vector to characterize the beats
per minute (bpm) in each
second of the signal.

HR Estimation

Fig. 2. Block diagram of the video magnification method using the HT.

using the HT over the chrominance channel of the image sequence. It is carried out by a convolution, in each spatial
direction, of each frame of the video with the Hermite filters,
that are defined by the 1D Hermite polynomials multiplied by
a Gaussian window, obtaining filters of Gaussian derivatives
until an k-th order [12]. Second, an ideal band-pass temporal
filter is applied in DFT domain to isolate the motion components of interest (e.g., eliminating the tremor movements).
Third, the isolated motion components are multiplied by the
magnification factor α. Fourth, using the inverse HT, which
uses similar filters to those used in the decomposition, a reconstruction of the image sequence is carried out. Finally, the
magnified sequence is added to the original sequence.

ROI Detection and Feature Extraction
The next steps of the proposed method consist of extracting
the raw pulse signal from the video magnification result and
performing feature extraction. To extract the raw pulse signal, first, the resulting magnified sequence was divided into
patches of 10-by-10 pixels in each time instant. Then, in each
patch in a given time, its average chrominance was calculated.
Later, a temporal average of chrominance for each patch was
58	

A feed-forward NN is employed for estimating the
HR. In that sense, the NN
receives an input feature
vector of N elements representing the windowed
DFT of the extracted signal, and it estimates a real
value corresponding to the
HR estimation. The topology of the NN considers: an
input layer of N neurons,
then two hidden layers of
10 neurons each, and lastly
an output layer of one neuron. The activation function used in
the neurons at the hidden layers is the hyperbolic tangent sigmoid, and the one for the output layer is the linear function.
For training, we employed a custom dataset. In a nutshell,
it consists of a set of five video recordings (attempts) with 2
min length focusing on the wrist of five subjects, and the corresponding HR measurement in bpm. Using this dataset, we
extracted the DFT feature vectors. Then, for each subject, the
training set contains DFT feature vector samples from four
attempts as inputs and their corresponding HR samples as
outputs. To this end, we train the NN with the backpropagation method minimizing the error between the target and
estimated outputs. For testing, we employed the remaining
attempt of the dataset for each subject. Finally, the time-series
of the HR estimation is post-processed using a 3-size average
filter.

Description of the Dataset
We have used a personal contact pulse monitoring device to
measure the reference pulse signal in bpm while recording a
video with standard RGB camera at 30 frames per second (fps).
We have recorded five healthy subjects and five sessions per

IEEE Instrumentation & Measurement Magazine	

June 2020



Instrumentation & Measurement Magazine 23-4

Table of Contents for the Digital Edition of Instrumentation & Measurement Magazine 23-4

No label
Instrumentation & Measurement Magazine 23-4 - No label
Instrumentation & Measurement Magazine 23-4 - Cover2
Instrumentation & Measurement Magazine 23-4 - 1
Instrumentation & Measurement Magazine 23-4 - 2
Instrumentation & Measurement Magazine 23-4 - 3
Instrumentation & Measurement Magazine 23-4 - 4
Instrumentation & Measurement Magazine 23-4 - 5
Instrumentation & Measurement Magazine 23-4 - 6
Instrumentation & Measurement Magazine 23-4 - 7
Instrumentation & Measurement Magazine 23-4 - 8
Instrumentation & Measurement Magazine 23-4 - 9
Instrumentation & Measurement Magazine 23-4 - 10
Instrumentation & Measurement Magazine 23-4 - 11
Instrumentation & Measurement Magazine 23-4 - 12
Instrumentation & Measurement Magazine 23-4 - 13
Instrumentation & Measurement Magazine 23-4 - 14
Instrumentation & Measurement Magazine 23-4 - 15
Instrumentation & Measurement Magazine 23-4 - 16
Instrumentation & Measurement Magazine 23-4 - 17
Instrumentation & Measurement Magazine 23-4 - 18
Instrumentation & Measurement Magazine 23-4 - 19
Instrumentation & Measurement Magazine 23-4 - 20
Instrumentation & Measurement Magazine 23-4 - 21
Instrumentation & Measurement Magazine 23-4 - 22
Instrumentation & Measurement Magazine 23-4 - 23
Instrumentation & Measurement Magazine 23-4 - 24
Instrumentation & Measurement Magazine 23-4 - 25
Instrumentation & Measurement Magazine 23-4 - 26
Instrumentation & Measurement Magazine 23-4 - 27
Instrumentation & Measurement Magazine 23-4 - 28
Instrumentation & Measurement Magazine 23-4 - 29
Instrumentation & Measurement Magazine 23-4 - 30
Instrumentation & Measurement Magazine 23-4 - 31
Instrumentation & Measurement Magazine 23-4 - 32
Instrumentation & Measurement Magazine 23-4 - 33
Instrumentation & Measurement Magazine 23-4 - 34
Instrumentation & Measurement Magazine 23-4 - 35
Instrumentation & Measurement Magazine 23-4 - 36
Instrumentation & Measurement Magazine 23-4 - 37
Instrumentation & Measurement Magazine 23-4 - 38
Instrumentation & Measurement Magazine 23-4 - 39
Instrumentation & Measurement Magazine 23-4 - 40
Instrumentation & Measurement Magazine 23-4 - 41
Instrumentation & Measurement Magazine 23-4 - 42
Instrumentation & Measurement Magazine 23-4 - 43
Instrumentation & Measurement Magazine 23-4 - 44
Instrumentation & Measurement Magazine 23-4 - 45
Instrumentation & Measurement Magazine 23-4 - 46
Instrumentation & Measurement Magazine 23-4 - 47
Instrumentation & Measurement Magazine 23-4 - 48
Instrumentation & Measurement Magazine 23-4 - 49
Instrumentation & Measurement Magazine 23-4 - 50
Instrumentation & Measurement Magazine 23-4 - 51
Instrumentation & Measurement Magazine 23-4 - 52
Instrumentation & Measurement Magazine 23-4 - 53
Instrumentation & Measurement Magazine 23-4 - 54
Instrumentation & Measurement Magazine 23-4 - 55
Instrumentation & Measurement Magazine 23-4 - 56
Instrumentation & Measurement Magazine 23-4 - 57
Instrumentation & Measurement Magazine 23-4 - 58
Instrumentation & Measurement Magazine 23-4 - 59
Instrumentation & Measurement Magazine 23-4 - 60
Instrumentation & Measurement Magazine 23-4 - 61
Instrumentation & Measurement Magazine 23-4 - 62
Instrumentation & Measurement Magazine 23-4 - 63
Instrumentation & Measurement Magazine 23-4 - 64
Instrumentation & Measurement Magazine 23-4 - 65
Instrumentation & Measurement Magazine 23-4 - 66
Instrumentation & Measurement Magazine 23-4 - 67
Instrumentation & Measurement Magazine 23-4 - 68
Instrumentation & Measurement Magazine 23-4 - 69
Instrumentation & Measurement Magazine 23-4 - 70
Instrumentation & Measurement Magazine 23-4 - 71
Instrumentation & Measurement Magazine 23-4 - 72
Instrumentation & Measurement Magazine 23-4 - 73
Instrumentation & Measurement Magazine 23-4 - 74
Instrumentation & Measurement Magazine 23-4 - 75
Instrumentation & Measurement Magazine 23-4 - 76
Instrumentation & Measurement Magazine 23-4 - 77
Instrumentation & Measurement Magazine 23-4 - 78
Instrumentation & Measurement Magazine 23-4 - 79
Instrumentation & Measurement Magazine 23-4 - 80
Instrumentation & Measurement Magazine 23-4 - 81
Instrumentation & Measurement Magazine 23-4 - 82
Instrumentation & Measurement Magazine 23-4 - 83
Instrumentation & Measurement Magazine 23-4 - 84
Instrumentation & Measurement Magazine 23-4 - 85
Instrumentation & Measurement Magazine 23-4 - 86
Instrumentation & Measurement Magazine 23-4 - 87
Instrumentation & Measurement Magazine 23-4 - 88
Instrumentation & Measurement Magazine 23-4 - 89
Instrumentation & Measurement Magazine 23-4 - 90
Instrumentation & Measurement Magazine 23-4 - 91
Instrumentation & Measurement Magazine 23-4 - 92
Instrumentation & Measurement Magazine 23-4 - 93
Instrumentation & Measurement Magazine 23-4 - 94
Instrumentation & Measurement Magazine 23-4 - 95
Instrumentation & Measurement Magazine 23-4 - 96
Instrumentation & Measurement Magazine 23-4 - 97
Instrumentation & Measurement Magazine 23-4 - 98
Instrumentation & Measurement Magazine 23-4 - 99
Instrumentation & Measurement Magazine 23-4 - 100
Instrumentation & Measurement Magazine 23-4 - Cover3
Instrumentation & Measurement Magazine 23-4 - Cover4
https://www.nxtbook.com/allen/iamm/26-6
https://www.nxtbook.com/allen/iamm/26-5
https://www.nxtbook.com/allen/iamm/26-4
https://www.nxtbook.com/allen/iamm/26-3
https://www.nxtbook.com/allen/iamm/26-2
https://www.nxtbook.com/allen/iamm/26-1
https://www.nxtbook.com/allen/iamm/25-9
https://www.nxtbook.com/allen/iamm/25-8
https://www.nxtbook.com/allen/iamm/25-7
https://www.nxtbook.com/allen/iamm/25-6
https://www.nxtbook.com/allen/iamm/25-5
https://www.nxtbook.com/allen/iamm/25-4
https://www.nxtbook.com/allen/iamm/25-3
https://www.nxtbook.com/allen/iamm/instrumentation-measurement-magazine-25-2
https://www.nxtbook.com/allen/iamm/25-1
https://www.nxtbook.com/allen/iamm/24-9
https://www.nxtbook.com/allen/iamm/24-7
https://www.nxtbook.com/allen/iamm/24-8
https://www.nxtbook.com/allen/iamm/24-6
https://www.nxtbook.com/allen/iamm/24-5
https://www.nxtbook.com/allen/iamm/24-4
https://www.nxtbook.com/allen/iamm/24-3
https://www.nxtbook.com/allen/iamm/24-2
https://www.nxtbook.com/allen/iamm/24-1
https://www.nxtbook.com/allen/iamm/23-9
https://www.nxtbook.com/allen/iamm/23-8
https://www.nxtbook.com/allen/iamm/23-6
https://www.nxtbook.com/allen/iamm/23-5
https://www.nxtbook.com/allen/iamm/23-2
https://www.nxtbook.com/allen/iamm/23-3
https://www.nxtbook.com/allen/iamm/23-4
https://www.nxtbookmedia.com