public void addIllumination(int id, double[] shift) { AffineTransform3D t = new AffineTransform3D(); t.translate( shift ); illumTransforms.put( id, t.copy() ); }
public void addChannel(int id, double[] shift) { AffineTransform3D t = new AffineTransform3D(); t.translate( shift ); channelTransforms.put( id, t.copy()); }
public void addTimepoint(int id, double[] shift) { AffineTransform3D t = new AffineTransform3D(); t.translate( shift ); tpTransforms.put( id, t.copy()); }
public void addTile(int id, double[] shift) { AffineTransform3D t = new AffineTransform3D(); t.translate( shift ); tileTransforms.put( id, t.copy().inverse() ); }
atr.translate( translation ); final ViewTransform vtT = new ViewTransformAffine("translation" , atr.copy() ); viewRegistration.preconcatenateTransform( vtT ); centerTr.translate( center ); final ViewTransform centerVt = new ViewTransformAffine("center angle" , centerTr.copy() ); viewRegistration.preconcatenateTransform( centerVt );
tr0.translate( new double[] {0.0, 0.0, 0.0} ); tr0 = tr0.copy(); new ViewRegistration( 0, 0, tr0 ); tr1.translate( new double[] {0.0, 300.0, 0.0} ); tr1 = tr1.copy(); new ViewRegistration( 0, 1, tr1 ); tr2.translate( new double[] {300.0, 300.0, 0.0} ); tr2 = tr2.copy(); new ViewRegistration( 0, 2, tr2 );