title: Java blur Image
body: <p>I am trying to blur the image</p>
  
  <pre><code>   int radius = 11;
      int size = radius * 2 + 1;
      float weight = 1.0f / (size * size);
      float[] data = new float[size * size];
  
      for (int i = 0; i &lt; data.length; i++) {
          data[i] = weight;
      }
  
      Kernel kernel = new Kernel(size, size, data);
      ConvolveOp op = new ConvolveOp(kernel, ConvolveOp.EDGE_NO_OP, null);
      //tbi is BufferedImage
      BufferedImage i = op.filter(tbi, null);
  </code></pre>
  
  <p>It will blur the image but not all portion of the image.</p>
  
  <p><img src="https://i.stack.imgur.com/gTs6O.jpg" alt="enter image description here"></p>
  
  <p>Where  I am missing so that it will blur complete  image. Without any path .</p>