title: How to create my own gauss kernel?
body: <p>can someone tell me how i can create my own gauss-kernel?
  In the paper <a href="http://www.cs.utoronto.ca/~strider/publications/SaliencyCVPR09.pdf" rel="nofollow">Frequency-tuned Salient Region Detection (Section 4.2)</a> they use a DoG-Bandpass filter. I don't know how to implement this in OpenCV/JavaCV.
  The Kernel for the DoG is called: 1/16[1; 4; 6; 4; 1]. Can someone explain how to set those kernels ?</p>
  
  <p>//EDIT:
  in time, i've set up my DoG Filter with:</p>
  
  <pre class="lang-java prettyprint-override"><code>double sigma_small = Math.PI/2.75; 
  double sigma_large = DOUBLE.POSITIVE_INFINITY; 
  IplImage gaussL= cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3);
  IplImage gaussS= cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3);
  cvSmooth(input, gaussL, CV_GAUSSIAN, kernel_size,kernel_size, sigma_small, sigma_small);
  cvSmooth(input, gaussS,CV_GAUSSIAN, kernel_size,kernel_size, sigma_large, sigma_large); //eq. to 0
  </code></pre>
  
  <p>But i thought it's the wrong kernel. Or i did something wrong.
  greetings,
  destiny</p>