5050import org .scijava .ops .OpDependency ;
5151import org .scijava .ops .core .Op ;
5252import org .scijava .ops .function .Computers ;
53- import org .scijava .param .Mutable ;
5453import org .scijava .param .Parameter ;
5554import org .scijava .plugin .Plugin ;
5655import org .scijava .struct .ItemIO ;
7069@ Parameter (key = "psfSize" )
7170@ Parameter (key = "seed" )
7271@ Parameter (key = "executorService" )
73- @ Parameter (key = "output" , itemIO = ItemIO . BOTH )
72+ @ Parameter (key = "output" )
7473public class DefaultPValue <T extends RealType <T >, U extends RealType <U >> implements
7574 Computers .Arity7 <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, BiFunction <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, Double >, Integer , Dimensions , Long , ExecutorService , PValueResult > {
7675
@@ -197,7 +196,7 @@ private static <V> RandomAccessibleInterval<V> trim(final RandomAccessibleInterv
197196@ Parameter (key = "op" )
198197@ Parameter (key = "nrRandomizations" )
199198@ Parameter (key = "executorService" )
200- @ Parameter (key = "output" , itemIO = ItemIO . BOTH )
199+ @ Parameter (key = "output" )
201200class PValueSimpleWithRandomizations <T extends RealType <T >, U extends RealType <U >> implements
202201 Computers .Arity5 <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, BiFunction <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, Double >, Integer , ExecutorService , PValueResult > {
203202
@@ -207,7 +206,7 @@ class PValueSimpleWithRandomizations<T extends RealType<T>, U extends RealType<U
207206 @ Override
208207 public void compute (RandomAccessibleInterval <T > in1 , RandomAccessibleInterval <U > in2 ,
209208 BiFunction <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, Double > in3 , Integer in4 ,
210- ExecutorService in5 , @ Mutable PValueResult out ) {
209+ ExecutorService in5 , PValueResult out ) {
211210 Long defaultSeed = 0x27372034l ;
212211 pValueOp .compute (in1 , in2 , in3 , in4 , null , defaultSeed , in5 , out );
213212 }
@@ -219,7 +218,7 @@ public void compute(RandomAccessibleInterval<T> in1, RandomAccessibleInterval<U>
219218@ Parameter (key = "image2" )
220219@ Parameter (key = "op" )
221220@ Parameter (key = "executorService" )
222- @ Parameter (key = "output" , itemIO = ItemIO . BOTH )
221+ @ Parameter (key = "output" )
223222class PValueSimple <T extends RealType <T >, U extends RealType <U >> implements
224223 Computers .Arity4 <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, BiFunction <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, Double >, ExecutorService , PValueResult > {
225224
@@ -229,7 +228,7 @@ class PValueSimple<T extends RealType<T>, U extends RealType<U>> implements
229228 @ Override
230229 public void compute (RandomAccessibleInterval <T > in1 , RandomAccessibleInterval <U > in2 ,
231230 BiFunction <RandomAccessibleInterval <T >, RandomAccessibleInterval <U >, Double > in3 , ExecutorService in4 ,
232- @ Mutable PValueResult out ) {
231+ PValueResult out ) {
233232 Integer defaultNumberRandomizations = 100 ;
234233 pValueOp .compute (in1 , in2 , in3 , defaultNumberRandomizations , in4 , out );
235234 }
0 commit comments