net.imglib2.util.Util.printCoordinates()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(133)

本文整理了Java中net.imglib2.util.Util.printCoordinates()方法的一些代码示例,展示了Util.printCoordinates()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.printCoordinates()方法的具体详情如下:
包路径:net.imglib2.util.Util
类名称:Util
方法名:printCoordinates

Util.printCoordinates介绍

暂无

代码示例

代码示例来源:origin: net.imglib2/imglib2-algorithms-legacy

@Override
  public String toString()
  {
    if ( originalInvPCMPosition == null)
      return Util.printCoordinates( position ) + ", phaseCorrelationPeak = " + phaseCorrelationPeak + ", crossCorrelationPeak = " + crossCorrelationPeak;
    return Util.printCoordinates( position ) + " [" + Util.printCoordinates( originalInvPCMPosition ) + "], phaseCorrelationPeak = " + phaseCorrelationPeak + ", crossCorrelationPeak = " + crossCorrelationPeak; 
  }
}

代码示例来源:origin: net.imglib2/imglib2-algorithm

@Override
public String toString()
{
  return "CenteredRectangleShape, span = " + Util.printCoordinates( span );
}

代码示例来源:origin: net.imglib2/imglib2-algorithm

@Override
public String toString()
{
  return "PairOfPointsShape, offset = " + Util.printCoordinates( offset );
}

代码示例来源:origin: imglib/imglib2

@Override
  public String toString()
  {
    return getClass().getSimpleName()
        + "( dims = " + Util.printCoordinates( dimensions )
        + ", cellDims = " + Util.printCoordinates( cellDimensions ) + " )";
  }
}

代码示例来源:origin: net.imglib2/imglib2

@Override
  public String toString()
  {
    return getClass().getSimpleName()
        + "( dims = " + Util.printCoordinates( dimensions )
        + ", cellDims = " + Util.printCoordinates( cellDimensions ) + " )";
  }
}

代码示例来源:origin: net.imglib2/imglib2

@Override
  public String toString()
  {
    return Util.printCoordinates( position ) + " = " + get();
  }
}

代码示例来源:origin: imglib/imglib2

@Override
  public String toString()
  {
    return Util.printCoordinates( zeroMinPos ) + " = " + get();
  }
}

代码示例来源:origin: net.preibisch/multiview-reconstruction

public String rotationAxisName()
{
  final double[] r = rotationAxis();
  if ( r[ 0 ] == 1 && r[ 1 ] == 0 && r[ 2 ] == 0 )
    return "X-Axis";
  else if ( r[ 0 ] == 0 && r[ 1 ] == 1 && r[ 2 ] == 0 )
    return "Y-Axis";
  else if ( r[ 0 ] == 0 && r[ 0 ] == 1 && r[ 1 ] == 0 )
    return "Z-Axis";
  else
    return "Rotation Axis Vector: " + Util.printCoordinates( r );
}

代码示例来源:origin: imglib/imglib2

@Override
public String toString()
{
  return Util.printCoordinates( position ) + " = " + get();
}

代码示例来源:origin: net.preibisch/multiview-reconstruction

/**
 * Overwrites the toString method
 */
public String toString()
{
  String out = this.getClass().getName() + "[" +id + "] has position: " + Util.printCoordinates( basisPoint.getW() );
  
  for (int i = 0; i < neighbors.size(); i++)
    out += "\nneighbor " + (i+1) + " vector: " + Util.printCoordinates( basisPoint.getW() );
  
  return out;
}

代码示例来源:origin: net.imglib2/imglib2

@Override
public String toString()
{
  final int[] l = new int[ dimensions.length ];
  localize( l );
  return Util.printCoordinates( l );
}

代码示例来源:origin: net.imglib2/imglib2

@Override
  public String toString()
  {
    return Util.printCoordinates( zeroMinPos ) + " = " + get();
  }
}

代码示例来源:origin: net.imglib2/imglib2

@Override
  public String toString()
  {
    return Util.printCoordinates( position ) + " = " + get();
  }
}

代码示例来源:origin: net.imglib2/imglib2

@Override
public String toString()
{
  return Util.printCoordinates( position ) + " = " + get();
}

代码示例来源:origin: sc.fiji/Descriptor_based_registration

@Override
public String toString()
{
  return "DustParticle " + getID() + " l"+ Util.printCoordinates( getL() ) + "; w"+ Util.printCoordinates( getW() );		
}

代码示例来源:origin: net.imglib2/imglib2

@Override
public String toString()
{
  localize( tmp );
  return Util.printCoordinates( tmp ) + " = " + get();
}

代码示例来源:origin: net.imglib2/imglib2

@Override
public String toString()
{
  localize( tmp );
  return Util.printCoordinates( tmp ) + " = " + get();
}

代码示例来源:origin: imglib/imglib2

@Override
public String toString()
{
  localize( tmp );
  return Util.printCoordinates( tmp ) + " = " + get();
}

代码示例来源:origin: imglib/imglib2

@Override
public String toString()
{
  localize( tmp );
  return Util.printCoordinates( tmp ) + " = " + get();
}

代码示例来源:origin: sc.fiji/Descriptor_based_registration

public static String getStringForPoint( final Point p, final double r )
  {
    return Util.printCoordinates( p.getW() ) + " [" + Math.round( p.getL()[ 0 ] ) + ", " + Math.round( p.getL()[ 1 ] ) + ", " + Math.round( p.getL()[ 2 ] ) + "], r = " + r;
  }    
}

相关文章