本文整理汇总了Python中Control.imageOriginalViewGenerator方法的典型用法代码示例。如果您正苦于以下问题:Python Control.imageOriginalViewGenerator方法的具体用法?Python Control.imageOriginalViewGenerator怎么用?Python Control.imageOriginalViewGenerator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Control
的用法示例。
在下文中一共展示了Control.imageOriginalViewGenerator方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: createOriginalViewer
# 需要导入模块: import Control [as 别名]
# 或者: from Control import imageOriginalViewGenerator [as 别名]
def createOriginalViewer(imagesDirectory,htmlPath,Reducer,QLSA):
try:
os.mkdir(imagesDirectory)
except:
print "Error Creating folder"
# he maximum in the swimmer matrix is 39
return Control.imageOriginalViewGenerator(39.0,imagesDirectory,htmlPath,32,True,QLSA)
示例2: createOriginalViewer
# 需要导入模块: import Control [as 别名]
# 或者: from Control import imageOriginalViewGenerator [as 别名]
def createOriginalViewer(imagesDirectory,htmlPath,Reducer):
try:
os.mkdir(imagesDirectory)
except:
print "Error Creating folder"
# he maximum in the swimmer matrix is 39
return Control.imageOriginalViewGenerator(Reducer.reduction.data.max(),imagesDirectory,htmlPath,241)
示例3: createOriginalViewer
# 需要导入模块: import Control [as 别名]
# 或者: from Control import imageOriginalViewGenerator [as 别名]
def createOriginalViewer(imagesDirectory, htmlPath, Reducer, QLSA):
try:
os.mkdir(imagesDirectory)
except:
print "Error Creating folder"
return Control.imageOriginalViewGenerator(255, imagesDirectory, htmlPath, 19, True, QLSA)