55import net .imglib2 .algorithm .math .abstractions .Util ;
66import net .imglib2 .converter .Converter ;
77import net .imglib2 .img .array .ArrayImgFactory ;
8+ import net .imglib2 .type .NativeType ;
89import net .imglib2 .type .numeric .RealType ;
910import net .imglib2 .type .numeric .real .FloatType ;
1011
@@ -98,6 +99,16 @@ static public final < O extends RealType< O > > RandomAccessibleInterval< O > co
9899 return new Compute ( operation ).into ( target , converter );
99100 }
100101
102+ static public final < O extends NativeType < O > & RealType < O > > RandomAccessibleInterval < O > computeIntoImg ( final IFunction operation )
103+ {
104+ return compute ( operation ).intoImg ();
105+ }
106+
107+ static public final < O extends NativeType < O > & RealType < O > > RandomAccessibleInterval < O > computeIntoArrayImg ( final IFunction operation )
108+ {
109+ return compute ( operation ).intoArrayImg ();
110+ }
111+
101112 static public final Add add ( final Object o1 , final Object o2 )
102113 {
103114 return new Add ( o1 , o2 );
@@ -138,6 +149,26 @@ static public final Div div( final Object... obs )
138149 return new Div ( obs );
139150 }
140151
152+ static public final Pow pow ( final Object o1 , final Object o2 )
153+ {
154+ return new Pow ( o1 , o2 );
155+ }
156+
157+ static public final Pow power ( final Object ... obs )
158+ {
159+ return new Pow ( obs );
160+ }
161+
162+ static public final Pow power ( final Object o1 , final Object o2 )
163+ {
164+ return new Pow ( o1 , o2 );
165+ }
166+
167+ static public final Pow pow ( final Object ... obs )
168+ {
169+ return new Pow ( obs );
170+ }
171+
141172 static public final Max max ( final Object o1 , final Object o2 )
142173 {
143174 return new Max ( o1 , o2 );
@@ -178,6 +209,21 @@ static public final Min minimum( final Object... obs )
178209 return new Min ( obs );
179210 }
180211
212+ static public final Log log ( final Object o1 )
213+ {
214+ return new Log ( o1 );
215+ }
216+
217+ static public final Log logarithm ( final Object o1 )
218+ {
219+ return new Log ( o1 );
220+ }
221+
222+ static public final Exp exp ( final Object o1 )
223+ {
224+ return new Exp ( o1 );
225+ }
226+
181227 static public final Let let ( final String varName , final Object varValue , final Object body )
182228 {
183229 return new Let ( varName , varValue , body );
@@ -203,21 +249,41 @@ static public final Equal EQ( final Object o1, final Object o2 )
203249 return new Equal ( o1 , o2 );
204250 }
205251
252+ static public final Equal equal ( final Object o1 , final Object o2 )
253+ {
254+ return new Equal ( o1 , o2 );
255+ }
256+
206257 static public final NotEqual NEQ ( final Object o1 , final Object o2 )
207258 {
208259 return new NotEqual ( o1 , o2 );
209260 }
210261
262+ static public final NotEqual notEqual ( final Object o1 , final Object o2 )
263+ {
264+ return new NotEqual ( o1 , o2 );
265+ }
266+
211267 static public final LessThan LT ( final Object o1 , final Object o2 )
212268 {
213269 return new LessThan ( o1 , o2 );
214270 }
215271
272+ static public final LessThan lessThan ( final Object o1 , final Object o2 )
273+ {
274+ return new LessThan ( o1 , o2 );
275+ }
276+
216277 static public final GreaterThan GT ( final Object o1 , final Object o2 )
217278 {
218279 return new GreaterThan ( o1 , o2 );
219280 }
220281
282+ static public final GreaterThan greaterThan ( final Object o1 , final Object o2 )
283+ {
284+ return new GreaterThan ( o1 , o2 );
285+ }
286+
221287 static public final If IF ( final Object o1 , final Object o2 , final Object o3 )
222288 {
223289 return new If ( o1 , o2 , o3 );
0 commit comments