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

Method run

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

Source from the content-addressed store, hash-verified

44 view = [(float, 'sigma', (0,10), 1, 'sigma', 'pix')]
45
46 def run(self, ips, snap, img, para = None):
47 cimg = feature.corner_shi_tomasi(img, sigma=para['sigma'])
48 pts = feature.corner_peaks(cimg, min_distance=1)
49 self.ips.roi = PointRoi([tuple(i[::-1]) for i in pts])
50
51plgs = [Harris, Kitchen, Moravec, Tomasi]

Callers

nothing calls this directly

Calls 1

PointRoiClass · 0.90

Tested by

no test coverage detected