From 708e06bca78ebc4e07765087feaa8f7ed6d1abe4 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Thu, 14 Mar 2024 12:16:04 -0400 Subject: [PATCH] add explicit cast for java compiler --- .../process/interestpointdetection/methods/dog/DoG.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/preibisch/mvrecon/process/interestpointdetection/methods/dog/DoG.java b/src/main/java/net/preibisch/mvrecon/process/interestpointdetection/methods/dog/DoG.java index 4d2abcc4..0f1b785c 100644 --- a/src/main/java/net/preibisch/mvrecon/process/interestpointdetection/methods/dog/DoG.java +++ b/src/main/java/net/preibisch/mvrecon/process/interestpointdetection/methods/dog/DoG.java @@ -30,6 +30,7 @@ import mpicbg.spim.data.sequence.ViewDescription; import mpicbg.spim.data.sequence.ViewId; import net.imglib2.FinalInterval; +import net.imglib2.RandomAccessible; import net.imglib2.RandomAccessibleInterval; import net.imglib2.realtransform.AffineTransform3D; import net.imglib2.type.NativeType; @@ -152,7 +153,7 @@ public static void addInterestPoints( final HashMap< ViewId, List< InterestPoint false ); List< InterestPoint > ips = DoGImgLib2.computeDoG( - Views.extendMirrorSingle( input.getA() ), + (RandomAccessible)Views.extendMirrorSingle( input.getA() ), null, // mask new FinalInterval( input.getA() ), dog.sigma,