Package net.imglib2.transform.integer

Examples of net.imglib2.transform.integer.SequentializeTransform.apply()


    source[ 2 ] = 0;
    source[ 3 ] = 0;
    expectedTarget[ 0 ] = source[ 0 ];
    expectedTarget[ 1 ] = source[ 1 ];
    expectedTarget[ 2 ] = 0;
    t.apply( source, target );
    assertArrayEquals( expectedTarget, target );

    source[ 0 ] = 0;
    source[ 1 ] = 0;
    source[ 2 ] = 0;
View Full Code Here


    source[ 2 ] = 0;
    source[ 3 ] = 1;
    expectedTarget[ 0 ] = source[ 0 ];
    expectedTarget[ 1 ] = source[ 1 ];
    expectedTarget[ 2 ] = 30;
    t.apply( source, target );
    assertArrayEquals( expectedTarget, target );

    source[ 0 ] = 9;
    source[ 1 ] = 4;
    source[ 2 ] = 2;
View Full Code Here

    source[ 2 ] = 2;
    source[ 3 ] = 3;
    expectedTarget[ 0 ] = source[ 0 ];
    expectedTarget[ 1 ] = source[ 1 ];
    expectedTarget[ 2 ] = 2 + 3 * 30;
    t.apply( source, target );
    assertArrayEquals( expectedTarget, target );
  }

  @Test
  public void test4Dto3DInverse()
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.