本文整理汇总了Java中mpicbg.spim.data.generic.sequence.BasicSetupImgLoader类的典型用法代码示例。如果您正苦于以下问题:Java BasicSetupImgLoader类的具体用法?Java BasicSetupImgLoader怎么用?Java BasicSetupImgLoader使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BasicSetupImgLoader类属于mpicbg.spim.data.generic.sequence包,在下文中一共展示了BasicSetupImgLoader类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSetupImgLoader
import mpicbg.spim.data.generic.sequence.BasicSetupImgLoader; //导入依赖的package包/类
@Override
public BasicSetupImgLoader< T > getSetupImgLoader( int setupId )
{
return new BasicSetupImgLoader< T >()
{
@Override
public RandomAccessibleInterval< T > getImage( int timepointId,
ImgLoaderHint... hints )
{
return ConstantUtils.constantRandomAccessibleInterval( type,
dim.length, new FinalInterval( dim ) );
}
@Override
public T getImageType()
{
return type;
}
};
}
示例2: SetupAggregator
import mpicbg.spim.data.generic.sequence.BasicSetupImgLoader; //导入依赖的package包/类
/**
* Create an empty aggregator.
*/
public SetupAggregator()
{
timepoints = null;
registrations = new ArrayList<>();
setups = new ArrayList<>();
setupImgLoaders = new ArrayList<>();
perSetupMipmapInfo = new HashMap<>();
imgLoader = new BasicImgLoader()
{
@Override
public BasicSetupImgLoader< ? > getSetupImgLoader( final int setupId )
{
return setupImgLoaders.get( setupId );
}
};
}
示例3: getSetupImgLoader
import mpicbg.spim.data.generic.sequence.BasicSetupImgLoader; //导入依赖的package包/类
@Override
public BasicSetupImgLoader< ? > getSetupImgLoader( final int setupId )
{
return setupIdToSetupImgLoader.get( setupId );
}
示例4: SetupImgLoader
import mpicbg.spim.data.generic.sequence.BasicSetupImgLoader; //导入依赖的package包/类
protected SetupImgLoader( final BasicSetupImgLoader< S > loader )
{
this.loader = loader;
}