- GMDSD @ME
- eHealth @MR
- PubMEd @CA
- Recherche und Datenerfassung @alle
- Methoden Grafik erster Entwurf @CA
## Copyright (C) 2018 martin | |
## | |
## This program is free software; you can redistribute it and/or modify it | |
## under the terms of the GNU General Public License as published by | |
## the Free Software Foundation; either version 3 of the License, or | |
## (at your option) any later version. | |
## | |
## This program is distributed in the hope that it will be useful, | |
## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
% Matlab Snippets for SMB2 | |
% Close all figures, clear workspace | |
close all; clear all; clc; | |
% Load ECG and set sampling frequency | |
load e23; | |
f0 = 250; | |
signal = e23'; | |
t = 1/f0:1/f0:length(signal)/f0; |
% Matlab Task 11 SMB2 31.1.18 | |
% Task1Floating Window | |
clear; | |
load e23; | |
f0 = 250; | |
signal = e23; | |
t = 1/f0:1/f0:length(signal)/f0; |
#prepare gradcam | |
image = cv2.imread(args.image, 1) #1 color, 0 grayscale | |
""" | |
warning:: ensure slicing of imagepath is set to the right dimension, otherwise cam generation will fail. Probably with "NoneType" warning. | |
param: img_args_offset: set offset to image args | |
""" | |
#check image paths and enter offset | |
img_args_offset = 54 | |
print(args.image[img_args_offset:-4]) |