Examples of UnsignedIntType


Examples of net.imglib2.type.numeric.integer.UnsignedIntType

    }

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

    if ( FloatType.class.isAssignableFrom( type.getClass() ) )
    {
View Full Code Here

Examples of net.imglib2.type.numeric.integer.UnsignedIntType

   * Create an {@link ArrayImg}<{@link UnsignedIntType}, {@link IntArray}>.
   */
  @SuppressWarnings( "unchecked" )
  final static public ArrayImg< UnsignedIntType, IntArray > unsignedInts( final long... dim )
  {
    return ( ArrayImg< UnsignedIntType, IntArray > ) new ArrayImgFactory< UnsignedIntType >().create( dim, new UnsignedIntType() );
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.UnsignedIntType

   */
  final public static ArrayImg< UnsignedIntType, IntArray > unsignedInts( final int[] array, final long... dim )
  {
    final IntArray access = new IntArray( array );
    final ArrayImg< UnsignedIntType, IntArray > img = new ArrayImg< UnsignedIntType, IntArray >( access, dim, new Fraction() );
    final UnsignedIntType t = new UnsignedIntType( img );   
    img.setLinkedType( t );
    return img;
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.UnsignedIntType

   * Create an {@link PlanarImg}<{@link UnsignedIntType}, {@link IntArray}>.
   */
  @SuppressWarnings( "unchecked" )
  final static public PlanarImg< UnsignedIntType, IntArray > unsignedInts( final long... dim )
  {
    return ( PlanarImg< UnsignedIntType, IntArray > ) new PlanarImgFactory< UnsignedIntType >().create( dim, new UnsignedIntType() );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.