Skip to content

Commit 76f4644

Browse files
authored
Update DeconWithGrid.groovy
Was looking at the groovy example scripts and noticed this one didn't work. Looks like RichardsonLucyF changed to RicahdrsonLucyC at some point
1 parent 8873254 commit 76f4644

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/resources/script_templates/Deconvolution/DeconWithGrid.groovy

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import net.imglib2.type.numeric.real.FloatType;
77
import net.imagej.ops.Op
88
import net.imglib2.outofbounds.OutOfBoundsConstantValueFactory
9-
import net.imagej.ops.deconvolve.RichardsonLucyF
9+
import net.imagej.ops.deconvolve.RichardsonLucyC
1010
import net.imglib2.util.Util
1111

1212
// create the sample image
@@ -30,17 +30,17 @@ convolved_big = ops.filter().convolve(base, kernel_big)
3030
ui.show(convolved_small);
3131
ui.show(convolved_big);
3232

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)
3434

3535
// 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);
3737

3838
// 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 );
4040

4141
// 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)
4343

4444
ui.show("RL",base_deconvolved_big)
4545
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

Comments
 (0)