final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final ImgFactory< R > factory, final R type, final ExecutorService service ) { return complexToReal( input, input, null, factory, type, service ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final ImgFactory< R > factory, final R type ) { return complexToReal( input, input, null, factory, type ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final ImgFactory< R > factory, final R type, final int numThreads ) { return complexToReal( input, input, null, factory, type, numThreads ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, final Interval inputInterval, final ImgFactory< R > factory, final R type, final int numThreads ) { return complexToReal( input, inputInterval, null, factory, type, numThreads ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, final Interval inputInterval, final ImgFactory< R > factory, final R type, final ExecutorService service ) { return complexToReal( input, inputInterval, null, factory, type, service ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, Interval inputInterval, final ImgFactory< R > factory, final R type ) { return complexToReal( input, inputInterval, null, factory, type ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final Interval outputDimensions, final ImgFactory< R > factory, final R type, final int numThreads ) { return complexToReal( input, input, outputDimensions, factory, type, numThreads ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final Interval outputDimensions, final ImgFactory< R > factory, final R type, final ExecutorService service ) { return complexToReal( input, input, outputDimensions, factory, type, service ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final Interval outputDimensions, final ImgFactory< R > factory, final R type ) { return complexToReal( input, input, outputDimensions, factory, type ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, final Interval inputInterval, final Interval outputDimensions, final ImgFactory< R > factory, final R type, final int numThreads ) { final ExecutorService service = Executors.newFixedThreadPool( numThreads ); final Img< R > ret = complexToReal( input, inputInterval, outputDimensions, factory, type, service ); service.shutdown(); return ret; }
final public static < C extends ComplexType< C >, R extends RealType< R > > void complexToReal( final RandomAccessibleInterval< C > input, final RandomAccessibleInterval< R > output, final int numThreads ) { final ExecutorService service = Executors.newFixedThreadPool( numThreads ); complexToReal( input, output, service ); service.shutdown(); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, final Interval inputInterval, final ImgFactory< R > factory, final R type ) { return complexToReal( input, inputInterval, null, factory, type, Runtime.getRuntime().availableProcessors() ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, final Interval inputInterval, final Interval outputDimensions, final ImgFactory< R > factory, final R type ) { return complexToReal( input, inputInterval, outputDimensions, factory, type, Runtime.getRuntime().availableProcessors() ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final Interval outputDimensions, final ImgFactory< R > factory, final R type ) { return complexToReal( input, input, outputDimensions, factory, type, Runtime.getRuntime().availableProcessors() ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > void complexToReal( final RandomAccessibleInterval< C > input, final RandomAccessibleInterval< R > output ) { complexToReal( input, output, Runtime.getRuntime().availableProcessors() ); }
final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessibleInterval< C > input, final ImgFactory< R > factory, final R type ) { return complexToReal( input, input, null, factory, type, Runtime.getRuntime().availableProcessors() ); }
/** * @deprecated Use * {@link #complexToReal(RandomAccessible, Interval,Interval, ImgFactory, ExecutorService)} * instead. */ @Deprecated final public static < C extends ComplexType< C >, R extends RealType< R > > Img< R > complexToReal( final RandomAccessible< C > input, Interval inputInterval, final Interval outputDimensions, final ImgFactory< R > factory, final R type, final ExecutorService service ) { return complexToReal( input, inputInterval, outputDimensions, factory.imgFactory( type ), service ); }