1414import org .scijava .ops .OpField ;
1515import org .scijava .ops .core .OpCollection ;
1616import org .scijava .ops .function .Computers ;
17- import org .scijava .ops .function .Computers ;
18- import org .scijava .ops .function .Functions ;
1917import org .scijava .ops .function .Functions ;
2018import org .scijava .ops .function .Inplaces ;
21- import org .scijava .ops .function .Inplaces ;
2219import org .scijava .plugin .Plugin ;
2320
2421@ Plugin (type = OpCollection .class )
2522public class Dilations <T extends RealType <T > & Comparable <T >, R extends RealType <R >> {
2623
24+ @ SuppressWarnings ("unchecked" )
2725 @ OpField (names = "morphology.dilate" , params = "source, strels, numThreads, result" )
28- public final Functions .Arity3 <Img <R >, List <Shape >, Integer , Img <R >> dilateImgList = Dilation :: dilate ;
26+ public final Functions .Arity3 <Img <R >, List <? extends Shape >, Integer , Img <R >> dilateImgList = ( in1 , in2 , in3 ) -> Dilation . dilate ( in1 , ( List < Shape >) in2 , in3 ) ;
2927
3028 @ OpField (names = "morphology.dilate" , params = "source, strel, numThreads, result" )
3129 public final Functions .Arity3 <Img <R >, Shape , Integer , Img <R >> dilateImgSingle = Dilation ::dilate ;
3230
31+ @ SuppressWarnings ("unchecked" )
3332 @ OpField (names = "morphology.dilate" , params = "source, strels, minValue, numThreads, result" )
34- public final Functions .Arity4 <Img <T >, List <Shape >, T , Integer , Img <T >> dilateImgListMinValue = Dilation :: dilate ;
33+ public final Functions .Arity4 <Img <T >, List <? extends Shape >, T , Integer , Img <T >> dilateImgListMinValue = ( in1 , in2 , in3 , in4 ) -> Dilation . dilate ( in1 , ( List < Shape >) in2 , in3 , in4 ) ;
3534
3635 @ OpField (names = "morphology.dilate" , params = "source, strel, minValue, numThreads, result" )
3736 public final Functions .Arity4 <Img <T >, Shape , T , Integer , Img <T >> dilateImgSingleMinValue = Dilation ::dilate ;
3837
38+ @ SuppressWarnings ("unchecked" )
3939 @ OpField (names = "morphology.dilate" , params = "source, strels, numThreads, target" )
40- public final Computers .Arity3 <RandomAccessible <R >, List <Shape >, Integer , IterableInterval <R >> dilateImgListComputer = (in1 ,
41- in2 , in3 , out ) -> Dilation .dilate (in1 , out , in2 , in3 );
40+ public final Computers .Arity3 <RandomAccessible <R >, List <? extends Shape >, Integer , IterableInterval <R >> dilateImgListComputer = (in1 ,
41+ in2 , in3 , out ) -> Dilation .dilate (in1 , out , ( List < Shape >) in2 , in3 );
4242
43+ @ SuppressWarnings ("unchecked" )
4344 @ OpField (names = "morphology.dilate" , params = "source, strels, minVal, numThreads, target" )
44- public final Computers .Arity4 <RandomAccessible <T >, List <Shape >, T , Integer , IterableInterval <T >> dilateImgListMinValComputer = (
45- in1 , in2 , in3 , in4 , out ) -> Dilation .dilate (in1 , out , in2 , in3 , in4 );
45+ public final Computers .Arity4 <RandomAccessible <T >, List <? extends Shape >, T , Integer , IterableInterval <T >> dilateImgListMinValComputer = (
46+ in1 , in2 , in3 , in4 , out ) -> Dilation .dilate (in1 , out , ( List < Shape >) in2 , in3 , in4 );
4647
4748 @ OpField (names = "morphology.dilate" , params = "source, strel, numThreads, target" )
4849 public final Computers .Arity3 <RandomAccessible <R >, Shape , Integer , IterableInterval <R >> dilateImgComputer = (in1 , in2 , in3 ,
@@ -52,23 +53,27 @@ public class Dilations<T extends RealType<T> & Comparable<T>, R extends RealType
5253 public final Computers .Arity4 <RandomAccessible <T >, Shape , T , Integer , IterableInterval <T >> dilateImgMinValComputer = (in1 ,
5354 in2 , in3 , in4 , out ) -> Dilation .dilate (in1 , out , in2 , in3 , in4 );
5455
56+ @ SuppressWarnings ("unchecked" )
5557 @ OpField (names = "morphology.dilate" , params = "source, strels, numThreads, result" )
56- public final Functions .Arity3 <Img <R >, List <Shape >, Integer , Img <R >> dilateFullImgList = Dilation :: dilateFull ;
58+ public final Functions .Arity3 <Img <R >, List <? extends Shape >, Integer , Img <R >> dilateFullImgList = ( in1 , in2 , in3 ) -> Dilation . dilateFull ( in1 , ( List < Shape >) in2 , in3 ) ;
5759
5860 @ OpField (names = "morphology.dilate" , params = "source, strel, numThreads, result" )
5961 public final Functions .Arity3 <Img <R >, Shape , Integer , Img <R >> dilateFullImgSingle = Dilation ::dilateFull ;
6062
63+ @ SuppressWarnings ("unchecked" )
6164 @ OpField (names = "morphology.dilate" , params = "source, strels, minValue, numThreads, result" )
62- public final Functions .Arity4 <Img <T >, List <Shape >, T , Integer , Img <T >> dilateFullImgListMinValue = Dilation :: dilateFull ;
65+ public final Functions .Arity4 <Img <T >, List <? extends Shape >, T , Integer , Img <T >> dilateFullImgListMinValue = ( in1 , in2 , in3 , in4 ) -> Dilation . dilateFull ( in1 , ( List < Shape >) in2 , in3 , in4 ) ;
6366
6467 @ OpField (names = "morphology.dilate" , params = "source, strel, minValue, numThreads, result" )
6568 public final Functions .Arity4 <Img <T >, Shape , T , Integer , Img <T >> dilateFullImgSingleMinValue = Dilation ::dilateFull ;
6669
70+ @ SuppressWarnings ("unchecked" )
6771 @ OpField (names = "morphology.dilate" , params = "source, interval, strels, numThreads" )
68- public final Inplaces .Arity4_1 <RandomAccessibleInterval <R >, Interval , List <Shape >, Integer > dilateImgListInPlace = Dilation :: dilateInPlace ;
72+ public final Inplaces .Arity4_1 <RandomAccessibleInterval <R >, Interval , List <? extends Shape >, Integer > dilateImgListInPlace = ( io , in2 , in3 , in4 ) -> Dilation . dilateInPlace ( io , in2 , ( List < Shape >) in3 , in4 ) ;
6973
74+ @ SuppressWarnings ("unchecked" )
7075 @ OpField (names = "morphology.dilate" , params = "source, interval, strels, minVal, numThreads" )
71- public final Inplaces .Arity5_1 <RandomAccessibleInterval <T >, Interval , List <Shape >, T , Integer > dilateImgListMinValInplace = Dilation :: dilateInPlace ;
76+ public final Inplaces .Arity5_1 <RandomAccessibleInterval <T >, Interval , List <? extends Shape >, T , Integer > dilateImgListMinValInplace = ( io , in2 , in3 , in4 , in5 ) -> Dilation . dilateInPlace ( io , in2 , ( List < Shape >) in3 , in4 , in5 ) ;
7277
7378 @ OpField (names = "morphology.dilate" , params = "source, interval, strel, numThreads" )
7479 public final Inplaces .Arity4_1 <RandomAccessibleInterval <R >, Interval , Shape , Integer > dilateImgSingleInPlace = Dilation ::dilateInPlace ;
0 commit comments