6
6
import net.imglib2.type.numeric.real.FloatType ;
7
7
import net.imagej.ops.Op
8
8
import net.imglib2.outofbounds.OutOfBoundsConstantValueFactory
9
- import net.imagej.ops.deconvolve.RichardsonLucyF
9
+ import net.imagej.ops.deconvolve.RichardsonLucyC
10
10
import net.imglib2.util.Util
11
11
12
12
// create the sample image
@@ -30,17 +30,17 @@ convolved_big = ops.filter().convolve(base, kernel_big)
30
30
ui. show(convolved_small);
31
31
ui. show(convolved_big);
32
32
33
- base_deconvolved = ops. run(RichardsonLucyF . class, convolved_small, kernel_small, null , new OutOfBoundsConstantValueFactory<> (Util . getTypeFromInterval(kernel_small). createVariable()), 10 )
33
+ base_deconvolved = ops. run(RichardsonLucyC . class, convolved_small, kernel_small, null , new OutOfBoundsConstantValueFactory<> (Util . getTypeFromInterval(kernel_small). createVariable()), 10 )
34
34
35
35
// 50 iterations richardson lucy
36
- base_deconvolved_big = ops. run(RichardsonLucyF . class, convolved_big, kernel_big, 50 );
36
+ base_deconvolved_big = ops. run(RichardsonLucyC . class, convolved_big, kernel_big, 50 );
37
37
38
38
// 50 iterations non-circulant richardson lucy
39
- base_deconvolved_big_noncirc = ops. run(RichardsonLucyF . class, convolved_big, kernel_big, null , null ,null , null , null ,50 ,true ,false );
39
+ base_deconvolved_big_noncirc = ops. run(RichardsonLucyC . class, convolved_big, kernel_big, null , null ,null , null , null ,50 ,true ,false );
40
40
41
41
// 50 iterations non-circulant accelerated richardson lucy
42
- base_deconvolved_big_acc_noncirc = ops. run(RichardsonLucyF . class, convolved_big, kernel_big, null , null ,null , null , null , 50 , true , true )
42
+ base_deconvolved_big_acc_noncirc = ops. run(RichardsonLucyC . class, convolved_big, kernel_big, null , null ,null , null , null , 50 , true , true )
43
43
44
44
ui. show(" RL" ,base_deconvolved_big)
45
45
ui. show(" RLNon-Circ" ,base_deconvolved_big_noncirc)
46
- ui. show(" RL Acc/Non-Circ" ,base_deconvolved_big_acc_noncirc)
46
+ ui. show(" RL Acc/Non-Circ" ,base_deconvolved_big_acc_noncirc)
0 commit comments