Package net.imglib2.meta

Examples of net.imglib2.meta.TypedAxis


  @Override
  public NativeImg< ComplexFloatType, ? extends FloatAccess > createSuitableNativeImg( final NativeImgFactory< ComplexFloatType > storageFactory, final long dim[] )
  {
    // create the container
    final NativeImg<ComplexFloatType, ? extends FloatAccess> container = storageFactory.createFloatInstance( dim, new Fraction( 2, 1 ) );

    // create a Type that is linked to the container
    final ComplexFloatType linkedType = new ComplexFloatType( container );

    // pass it to the NativeContainer
View Full Code Here


  {
    return new ComplexFloatType( getRealFloat(), getImaginaryFloat() );
  }

  @Override
  public Fraction getEntitiesPerPixel() { return new Fraction( 2, 1 ); }
View Full Code Here

  @Override
  public NativeImg<UnsignedLongType, ? extends LongAccess> createSuitableNativeImg( final NativeImgFactory<UnsignedLongType> storageFactory, final long dim[] )
  {
    // create the container
    final NativeImg<UnsignedLongType, ? extends LongAccess> container = storageFactory.createLongInstance( dim, new Fraction() );

    // create a Type that is linked to the container
    final UnsignedLongType linkedType = new UnsignedLongType( container );

    // pass it to the NativeContainer
View Full Code Here

    return 64;
  }

  @Override
  public Fraction getEntitiesPerPixel() {
    return new Fraction();
  }
View Full Code Here

  @Override
  public NativeImg< ComplexDoubleType, ? extends DoubleAccess > createSuitableNativeImg( final NativeImgFactory< ComplexDoubleType > storageFactory, final long dim[] )
  {
    // create the container
    final NativeImg<ComplexDoubleType, ? extends DoubleAccess> container = storageFactory.createDoubleInstance( dim, new Fraction( 2, 1 ) );

    // create a Type that is linked to the container
    final ComplexDoubleType linkedType = new ComplexDoubleType( container );

    // pass it to the NativeContainer
View Full Code Here

  {
    return new ComplexDoubleType( getRealFloat(), getImaginaryFloat() );
  }

  @Override
  public Fraction getEntitiesPerPixel() { return new Fraction( 2, 1 ); }
View Full Code Here

  @Override
  public NativeImg< DoubleType, ? extends DoubleAccess > createSuitableNativeImg( final NativeImgFactory< DoubleType > storageFactory, final long dim[] )
  {
    // create the container
    final NativeImg<DoubleType, ? extends DoubleAccess> container = storageFactory.createDoubleInstance( dim, new Fraction() );
   
    // create a Type that is linked to the container
    final DoubleType linkedType = new DoubleType( container );

    // pass it to the NativeContainer
View Full Code Here

  }

  @Override
  public Fraction getEntitiesPerPixel()
  {
    return new Fraction();
  }
View Full Code Here

  @Override
  public NativeImg< FloatType, ? extends FloatAccess > createSuitableNativeImg( final NativeImgFactory< FloatType > storageFactory, final long dim[] )
  {
    // create the container
    final NativeImg<FloatType, ? extends FloatAccess> container = storageFactory.createFloatInstance( dim, new Fraction() );
   
    // create a Type that is linked to the container
    final FloatType linkedType = new FloatType( container );

    // pass it to the NativeContainer
View Full Code Here

  {
    return new FloatType( get() );
  }

  @Override
  public Fraction getEntitiesPerPixel() { return new Fraction(); }
View Full Code Here

TOP

Related Classes of net.imglib2.meta.TypedAxis

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.