本文整理了Java中net.imglib2.util.Util.pow()
方法的一些代码示例,展示了Util.pow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.pow()
方法的具体详情如下:
包路径:net.imglib2.util.Util
类名称:Util
方法名:pow
暂无
代码示例来源:origin: net.imglib2/imglib2-algorithm
public LocalNeighborhood( final RandomAccessible< T > source, final Localizable center )
{
this.numDimensions = source.numDimensions();
this.center = new long[ numDimensions ];
center.localize( this.center );
this.size = Util.pow( 3, numDimensions ) - 1;
this.source = source;
}
代码示例来源:origin: net.imglib2/imglib2-algorithms
public LocalNeighborhood( final RandomAccessible< T > source, final Localizable center )
{
this.numDimensions = source.numDimensions();
this.center = new long[ numDimensions ];
center.localize( this.center );
this.size = Util.pow( 3, numDimensions ) - 1;
this.source = source;
}
代码示例来源:origin: net.imglib2/imglib2-algorithm
public LocalNeighborhood2( final RandomAccessible< T > source, final Localizable center )
{
this.numDimensions = source.numDimensions();
this.center = new long[ numDimensions ];
center.localize( this.center );
this.size = Util.pow( 3, numDimensions ) - 1;
this.source = source;
}
代码示例来源:origin: net.imglib2/imglib2-algorithms
public LocalNeighborhood2( final RandomAccessible< T > source, final Localizable center )
{
this.numDimensions = source.numDimensions();
this.center = new long[ numDimensions ];
center.localize( this.center );
this.size = Util.pow( 3, numDimensions ) - 1;
this.source = source;
}
代码示例来源:origin: net.preibisch/multiview-reconstruction
blockPixels = Util.pow( 256, 3 );
else if ( decon.blockSizeIndex == 1 )
blockPixels = Util.pow( 512, 3 );
else if ( decon.blockSizeIndex == 2 )
blockPixels = Util.pow( 768, 3 );
else if ( decon.blockSizeIndex == 3 )
blockPixels = Util.pow( 1024, 3 );
else if ( decon.blockSizeIndex == 4 )
return -1; // unknown
代码示例来源:origin: net.preibisch/multiview-simulation
if ( Math.round( randomValue * 10000 ) % Util.pow( 7*scale, numDimensions ) == 0 )
内容来源于网络,如有侵权,请联系作者删除!