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

Method getimgs

imagepy/menus/Image/Stack/orthogonal_plg.py:35–37  ·  view source on GitHub ↗
(self, img, x, y)

Source from the content-addressed store, hash-verified

33 self.ips = None
34
35 def getimgs(self, img, x, y):
36 return img[:, :, int(x)].transpose((1,0,2)[:len(img.shape)-1]).copy(), \
37 img[:, int(y), :].copy()
38
39 def mouse_down(self, ips, x, y, btn, **key):
40 if ips==self.ips1:

Callers 2

mouse_downMethod · 0.95
mouse_moveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected