From 12dbce4c1e63086867a2fb3110429f13ec9aef84 Mon Sep 17 00:00:00 2001
From: ctrebeau <ctrebeau@pasteur.fr>
Date: Wed, 28 Oct 2020 16:38:05 +0100
Subject: [PATCH] code cleanup

---
 .../construction/SurfacesExtraction.java                   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
index c09640f6..7f52d087 100644
--- a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
+++ b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
@@ -23,7 +23,7 @@ import net.imglib2.type.logic.BitType;
 import net.imglib2.type.numeric.RealType;
 import net.imglib2.type.numeric.integer.UnsignedShortType;
 
-import java.util.TreeMap;
+
 import java.util.TreeSet;
 
 public class SurfacesExtraction
@@ -31,7 +31,6 @@ public class SurfacesExtraction
     private static int X;
     private static int Y;
     private static int Z;
-    public static int zCount;
     public static TreeSet<Integer> list;
 
     public static < T extends RealType< T > & NativeType< T > > void extract(
@@ -96,15 +95,11 @@ public class SurfacesExtraction
 
         /* Grid of local maximums*/
         Img< BitType > threshold = LocalOtsuClassification.find( input , percent);
-//        Img< BitType > threshold = LocalOtsu.find( maximums , percent);
         //ImageJFunctions.show( threshold, "Local threshold " );
 
         /* Maxima selection according to threshold*/
         maximums = Threshold.classification( maximums.copy(), maximums.factory(), threshold );
 
-//        maximums = IsolatedPixFilter.run( maximums.copy(), 1, 2, 4 );
-//        ImageJFunctions.show(m.copy(), "isolated pix 1 ");
-
         /* Dilatation of the resulting image*/
         Utils.gaussConvolution( maximums.copy(), maximums, new double[]{ sigma, sigma } );
 //        ImageJFunctions.show( maximums, "blurred maximums" );
-- 
GitLab