def __init__(self, imageDisplay):
Tool.__init__(self, imageDisplay)
pa = self.setParameterMenu()
self.createResultInDisplayParam(pa)
self.pConvMethod = pa.addChild({
'name': 'Method',
'type': 'list',
'value': 'Edge gradient',
'limits': ['Edge gradient', 'Sobel-H',
'Sobel-V', 'Laplace']})
self.pKsize = pa.addChild({
'name': 'kernel size',
'type': 'int',
'value': 3,
'limits': [3,15]})
评论列表
文章目录