Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vinothini Selvaraju
Camera based vital signs estimation
Commits
b526d98f
Commit
b526d98f
authored
Jan 26, 2022
by
Vinothini Selvaraju
Browse files
Sliding window technique
parent
0f0cd4c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
overlap_window_signal.m
View file @
b526d98f
function
signal
=
overlap_window_signal
(
x
,
fs
,
window_length
,
overlap_length
)
% Extract the signal with overlapping window
Nw
=
window_length
*
fs
;
% window length (60 sec*10 fps)
Nh
=
overlap_length
*
fs
;
% 10 sec shift (10 frames per sec)
signal
=
buffer
(
x
,
Nw
,
Nw
-
Nh
,
'nodelay'
);
% face signal
end
\ No newline at end of file
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment