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

Method run

imagepy/menus/Process/Features/corner_plgs.py:24–27  ·  view source on GitHub ↗
(self, ips, snap, img, para = None)

Source from the content-addressed store, hash-verified

22 view = [(float, 'cval', (0,10), 1, 'cval', 'value')]
23
24 def run(self, ips, snap, img, para = None):
25 cimg = feature.corner_kitchen_rosenfeld(img, mode='constant', cval=para['cval'])
26 pts = feature.corner_peaks(cimg, min_distance=1)
27 self.ips.roi = PointRoi([tuple(i[::-1]) for i in pts])
28
29class Moravec(Filter):
30 title = 'Moravec'

Callers

nothing calls this directly

Calls 1

PointRoiClass · 0.90

Tested by

no test coverage detected