/**
 * Simple test of SimpleITK's java wrapping
 */

import org.itk.simple.*;

class SimpleGaussian {
  
  public static void main(String argv[]) {
    
    // do some simple operations
    System.out.println("SimpleITK says 'Hello World' from Java");
    
    if ( argv.length < 3 ) {
      System.out.println("Usage: java SimpleGaussian <input> <sigma> <output>");
      return;
    }

    ImageFileReader reader = new ImageFileReader();
    reader.SetFileName(argv[0]);
    SmartPointerImage img = reader.Execute();
    
    RecursiveGaussianImageFilter filt = new RecursiveGaussianImageFilter();
    SmartPointerImage blurredImg = filt.Execute(img);
    
    ImageFileWriter writer = new ImageFileWriter();
    writer.SetFileName(argv[1]);
    writer.Execute(blurredImg);
    
  }
  
}

@@ -95,18 +95,16 @@
 ssian %7B%0A
-  
 %0A  publi
@@ -139,20 +139,16 @@
 gv%5B%5D) %7B%0A
-    
 %0A    // 
@@ -239,20 +239,16 @@
 Java%22);%0A
-    
 %0A    if 
@@ -434,17 +434,17 @@
  reader.
-S
+s
 etFileNa
@@ -491,17 +491,17 @@
  reader.
-E
+e
 xecute()
@@ -502,20 +502,16 @@
 cute();%0A
-    
 %0A    Rec
@@ -619,17 +619,17 @@
  = filt.
-E
+e
 xecute(i
@@ -633,20 +633,16 @@
 e(img);%0A
-    
 %0A    Ima
@@ -697,17 +697,17 @@
  writer.
-S
+s
 etFileNa
@@ -734,9 +734,9 @@
 ter.
-E
+e
 xecu
@@ -755,18 +755,12 @@
 g);%0A
-    
 %0A  %7D%0A
-  
 %0A%7D%0A

Remove trailing blanks.