本文整理了Java中net.imglib2.img.Img.max()
方法的一些代码示例,展示了Img.max()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Img.max()
方法的具体详情如下:
包路径:net.imglib2.img.Img
类名称:Img
方法名:max
暂无
代码示例来源:origin: net.imglib2/imglib2
@Override
public void max( final Positionable max )
{
counts.max( max );
}
代码示例来源:origin: imglib/imglib2
@Override
public void max( final Positionable max )
{
counts.max( max );
}
代码示例来源:origin: net.imglib2/imglib2
@Override
public void max( final long[] max )
{
counts.max( max );
}
代码示例来源:origin: net.imagej/imagej-common
@Override
public long max(final int d) {
return img.max(d);
}
代码示例来源:origin: net.imglib2/imglib2-script
@Override
public void max(Positionable max) {
img.max(max);
}
代码示例来源:origin: net.imglib2/imglib2
@Override
public long max( final int d )
{
return counts.max( d );
}
代码示例来源:origin: imglib/imglib2
@Override
public long max( final int d )
{
return counts.max( d );
}
代码示例来源:origin: imglib/imglib2
@Override
public void max( final long[] max )
{
counts.max( max );
}
代码示例来源:origin: net.imagej/imagej-common
@Override
public void max(final Positionable max) {
img.max(max);
}
代码示例来源:origin: net.imglib2/imglib2-meta
@Override
public long max(final int d) {
return img.max(d);
}
代码示例来源:origin: net.imglib2/imglib2-meta
@Override
public void max(final long[] max) {
img.max(max);
}
代码示例来源:origin: net.imagej/imagej-deprecated
@Override
public long max(final int d) {
return img.max(d);
}
代码示例来源:origin: net.imagej/imagej-deprecated
@Override
public void max(final long[] max) {
img.max(max);
}
代码示例来源:origin: net.imagej/imagej-deprecated
@Override
public void max(final Positionable max) {
img.max(max);
}
代码示例来源:origin: net.imglib2/imglib2-script
@Override
public long max(int d) {
return img.max(d);
}
代码示例来源:origin: net.imglib2/imglib2-script
@Override
public void max(long[] max) {
img.max(max);
}
代码示例来源:origin: net.imagej/imagej-common
@Override
public void max(final long[] max) {
img.max(max);
}
代码示例来源:origin: net.imglib2/imglib2-meta
@Override
public void max(final Positionable max) {
img.max(max);
}
代码示例来源:origin: net.imglib2/imglib2-ops
@Override
public Img< O > compute( IN input, Img< O > output )
{
final long[] min = new long[ output.numDimensions() ];
output.min( min );
final long[] max = new long[ output.numDimensions() ];
output.max( max );
for ( int i = 0; i < m_operations.length; i++ )
{
max[ max.length - 1 ] = i;
min[ min.length - 1 ] = i;
m_operations[ i ].compute( input, new ImgView< O >( SubsetViews.iterableSubsetView( output, new FinalInterval( min, max ) ), output.factory() ) );
}
return output;
}
代码示例来源:origin: imagej/imagej-ops
@Test
public void testIntervalRotateInterval() {
final Img<DoubleType> img = new ArrayImgFactory<DoubleType>().create(new int[] { 20, 10 }, new DoubleType());
final IntervalView<DoubleType> il2 = Views.rotate((RandomAccessibleInterval<DoubleType>) img, 1, 0);
final IntervalView<DoubleType> opr = ops.transform().rotateView((RandomAccessibleInterval<DoubleType>) img, 1, 0);
assertEquals(img.min(1), il2.min(0));
assertEquals(img.max(1), il2.max(0));
assertEquals(img.min(0), -il2.max(1));
assertEquals(img.max(0), -il2.min(1));
for (int i = 0; i < il2.numDimensions(); i++) {
assertEquals(il2.max(i), opr.max(i));
assertEquals(il2.min(i), opr.min(i));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!