title: I want to display a blurred image in imageJ. Why doesn't this work?
body: <p>I'm very very new to imageJ but know a little Java.</p>
  
  <p>Essentially I want to open a file from an OpenDialog display the image, then blur the image and display the resulting blurred image. My program compiles, however the two images look the same. Can anybody help? How do I make the program display a blurred and unblurred image?</p>
  
  <pre><code>import ij.*;
  import ij.io.*;
  import ij.process.*;
  import ij.gui.*;
  import java.awt.*;
  import ij.plugin.*;
  import java.util.*;
  import java.io.*;
  
  
  public class opens_ implements PlugIn {
  
      ImagePlus imp;
  
      public void run(String arg){
      OpenDialog od = new OpenDialog("Open.....", arg);
      Opener op = new Opener();
      String directory = od.getDirectory();
      String filename = od.getFileName();
      if (filename==null) return ;
      imp =  op.openImage(directory, filename);
      imp.show(); 
  
      ImageProcessor improc = imp.getProcessor();
      improc.smooth();
  
      ImagePlus alter = new ImagePlus("alter", improc) ;
      alter.show();
  
  
      }
  
  }
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Bateman</p>