MCPcopy Create free account
hub / github.com/Image-Py/imagepy / run

Method run

imagepy/menus/Process/Hydrology/hydrology_plgs.py:44–47  ·  view source on GitHub ↗
(self, ips, snap, img, para = None)

Source from the content-addressed store, hash-verified

42 view = [(int, 'tol', (0,100), 0, 'tolerance', 'value')]
43
44 def run(self, ips, snap, img, para = None):
45 pts = find_maximum(self.ips.img, para['tol'])
46 self.ips.roi = PointRoi([tuple(i) for i in pts[:,::-1]])
47 self.ips.update()
48
49class FindMin(Filter):
50 title = 'Find Minimum'

Callers

nothing calls this directly

Calls 3

find_maximumFunction · 0.90
PointRoiClass · 0.90
updateMethod · 0.45

Tested by

no test coverage detected