Skip to content

Commit 647c47d

Browse files
committed
Remove imagej-commons dependency
Skip depreciation as discussed in #43
1 parent 5420e63 commit 647c47d

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,6 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
219219
<artifactId>imglib2-realtransform</artifactId>
220220
</dependency>
221221

222-
<!-- ImageJ dependencies -->
223-
<dependency>
224-
<groupId>net.imagej</groupId>
225-
<artifactId>imagej-common</artifactId>
226-
</dependency>
227-
228222
<!-- Third-party dependencies -->
229223
<dependency>
230224
<groupId>gov.nist.math</groupId>

src/main/java/net/imglib2/algorithm/dog/DogDetection.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import java.util.concurrent.ExecutorService;
3838
import java.util.concurrent.Executors;
3939

40-
import net.imagej.space.LinearSpace;
4140
import net.imglib2.Interval;
4241
import net.imglib2.Point;
4342
import net.imglib2.RandomAccessible;
@@ -78,16 +77,6 @@ public static enum ExtremaType
7877
**/
7978
private ExecutorService executorService;
8079

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-
9180
public DogDetection(
9281
final RandomAccessibleInterval< T > input,
9382
final double[] calibration,
@@ -314,14 +303,6 @@ public void setExecutorService( final ExecutorService service )
314303
this.executorService = service;
315304
}
316305

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-
325306
private static class DogComputationType< F extends RealType< F > & NativeType< F > >
326307
{
327308
private final F type;

0 commit comments

Comments
 (0)