diff --git a/2.cpp b/2.cpp new file mode 100644 index 0000000..9510875 --- /dev/null +++ b/2.cpp @@ -0,0 +1,45 @@ +#include +#include +void applyGaussianBlur(float src[5][5], float dst[5][5], int h, int w,float kx[3],float ky[3]){ + float buf[3][3]={0}; + #define IDX(n)((n)%3) + for(int i=0;i<2;++i){ + for(int j=1;j