Skip to content

Instantly share code, notes, and snippets.

View TPeterW's full-sized avatar
💭
I'm always busy.

Tao Peter Wang TPeterW

💭
I'm always busy.
View GitHub Profile
@TPeterW
TPeterW / kurtosis.cpp
Last active February 28, 2018 08:29
C++ Kurtosis with correction for bias (using openCV Mat)
#include <cmath>
#include <opencv2/core.hpp>
using namespace cv;
using namespace std;
Mat_<float>
ft_kurtosis(cv::Mat_<float> timeseries, int numWindows, int windowLen)
{