Blame view

stim/image/image_contour_detection.h 1.17 KB
15f80db6   Tianshu Cheng   add image_contour...
1
  
f186dbda   Tianshu Cheng   header file for b...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  //stim::image<float> gaussian_derivative_filter_odd(stim::image<float> image, int r, unsigned int sigma_n, float theta);
  //stim::image<float> func_mPb_theta(stim::image<float> img, float theta, int* r, float* alpha, int s);
  //stim::image<float> func_mPb(stim::image<float> img, unsigned int theta_n, int* r, float* alpha, int s);
  
  stim::image<float> Gd1(stim::image<float> image, int r, unsigned int sigma_n);
  stim::image<float> Gd2(stim::image<float> image, int r, unsigned int sigma_n);
  stim::image<float> Gd_odd(stim::image<float> image, int r, unsigned int sigma_n, float theta);
  stim::image<float> Gd_even(stim::image<float> image, int r, unsigned int sigma_n, float theta);
  stim::image<float> Gd_center(stim::image<float> image, int r, unsigned int sigma_n);
  
  stim::image<float> textons(stim::image<float> image, unsigned int theta_n);
  stim::image<float> kmeans(stim::image<float> textons, unsigned int K);
  stim::image<float> Pb(stim::image<float> image, int r, unsigned int sigma_n);
  stim::image<float> cPb(stim::image<float> img, int* r, float* alpha, int s);
  stim::image<float> tPb(stim::image<float> img, int* r, float* alpha, unsigned int theta_n, unsigned int bin_n, int s, unsigned int K);