Package net.imglib2.transform.integer

Examples of net.imglib2.transform.integer.SlicingTransform


  // this is the constructor if you want it to be a variable
  public Unsigned12BitType( final long value )
  {
    this( (NativeImg<Unsigned12BitType, ? extends LongAccess>)null );
    dataAccess = new LongArray( 1 );
    set( value );
  }
View Full Code Here


  // this is the constructor if you want it to be a variable
  public Unsigned2BitType( final long value )
  {
    this( (NativeImg<Unsigned2BitType, ? extends LongAccess>)null );
    dataAccess = new LongArray( 1 );
    set( value );
  }
View Full Code Here

  }

  @Override
  public CellImg< T, LongArray, DefaultCell< LongArray > > createLongInstance( final long[] dimensions, final Fraction entitiesPerPixel )
  {
    return createInstance( new LongArray( 1 ), dimensions, entitiesPerPixel );
  }
View Full Code Here

  // this is the constructor if you want it to be a variable
  public Unsigned4BitType( final long value )
  {
    this( (NativeImg<Unsigned4BitType, ? extends LongAccess>)null );
    dataAccess = new LongArray( 1 );
    set( value );
  }
View Full Code Here

  }

  @Override
  public NativeImg< T, LongArray > createLongInstance( final long[] dimensions, final Fraction entitiesPerPixel )
  {
    return new PlanarImg< T, LongArray >( new LongArray( 1 ), dimensions, entitiesPerPixel );
  }
View Full Code Here

  // this is the constructor if you want it to be a variable
  public Unsigned128BitType( final long lower, final long upper )
  {
    this( (NativeImg<Unsigned128BitType, ? extends LongAccess>)null );
    dataAccess = new LongArray( 2 );
    set( lower, upper );
  }
View Full Code Here

 
  // this is the constructor if you want it to be a variable
  public Unsigned128BitType( final BigInteger value )
  {
    this ( (NativeImg<Unsigned128BitType, ? extends LongAccess>)null );
    dataAccess = new LongArray( 2 );
    set( value );
  }
View Full Code Here

  // this is the constructor if you want it to be a variable
  public UnsignedLongType( final long value )
  {
    img = null;
    dataAccess = new LongArray( 1 );
    set( value );
  }
View Full Code Here

      return ( ArrayImgAWTScreenImage ) container;
    }

    if ( ShortType.class.isAssignableFrom( type.getClass() ) )
    {
      final ShortArray array = new ShortArray( numElements( dims ) );
      final ArrayImgAWTScreenImage< ShortType, ShortArray > container = new ShortAWTScreenImage( new ShortType( array ), array, dims );
      container.setLinkedType( new ShortType( container ) );
      return ( ArrayImgAWTScreenImage ) container;
    }

    if ( UnsignedShortType.class.isAssignableFrom( type.getClass() ) )
    {
      final ShortArray array = new ShortArray( numElements( dims ) );
      final ArrayImgAWTScreenImage< UnsignedShortType, ShortArray > container = new UnsignedShortAWTScreenImage( new UnsignedShortType( array ), array, dims );
      container.setLinkedType( new UnsignedShortType( container ) );
      return ( ArrayImgAWTScreenImage ) container;
    }
View Full Code Here

  // this is the constructor if you want it to be a variable
  public GenericShortType( final short value )
  {
    img = null;
    dataAccess = new ShortArray( 1 );
    setValue( value );
  }
View Full Code Here

TOP

Related Classes of net.imglib2.transform.integer.SlicingTransform

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.