|
37 | 37 | import java.util.concurrent.ExecutorService; |
38 | 38 | import java.util.concurrent.Executors; |
39 | 39 |
|
40 | | -import net.imagej.space.LinearSpace; |
41 | 40 | import net.imglib2.Interval; |
42 | 41 | import net.imglib2.Point; |
43 | 42 | import net.imglib2.RandomAccessible; |
@@ -78,16 +77,6 @@ public static enum ExtremaType |
78 | 77 | **/ |
79 | 78 | private ExecutorService executorService; |
80 | 79 |
|
81 | | - public < I extends RandomAccessibleInterval< T > & LinearSpace< ? > > DogDetection( |
82 | | - final I input, |
83 | | - final double sigmaSmaller, |
84 | | - final double sigmaLarger, |
85 | | - final ExtremaType extremaType, |
86 | | - final double minPeakValue ) |
87 | | - { |
88 | | - this( Views.extendMirrorSingle( input ), input, getcalib( input ), sigmaSmaller, sigmaLarger, extremaType, minPeakValue, true ); |
89 | | - } |
90 | | - |
91 | 80 | public DogDetection( |
92 | 81 | final RandomAccessibleInterval< T > input, |
93 | 82 | final double[] calibration, |
@@ -314,14 +303,6 @@ public void setExecutorService( final ExecutorService service ) |
314 | 303 | this.executorService = service; |
315 | 304 | } |
316 | 305 |
|
317 | | - private static double[] getcalib( final LinearSpace< ? > calib ) |
318 | | - { |
319 | | - final double[] c = new double[ calib.numDimensions() ]; |
320 | | - for ( int d = 0; d < c.length; ++d ) |
321 | | - c[ d ] = calib.axis( d ).scale(); |
322 | | - return c; |
323 | | - } |
324 | | - |
325 | 306 | private static class DogComputationType< F extends RealType< F > & NativeType< F > > |
326 | 307 | { |
327 | 308 | private final F type; |
|
0 commit comments