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

Method run

imagepy/menus/Image/Adjust/histogram_plgs.py:52–56  ·  view source on GitHub ↗
(self, ips, snap, img, para = None)

Source from the content-addressed store, hash-verified

50 note = ['8-bit', 'rgb', 'auto_snap']
51
52 def run(self, ips, snap, img, para = None):
53 temp = np.ones(256)
54 hist = np.histogram(img, np.arange(257))[0]
55 ahist = like(temp, hist)
56 img[:] = ahist[img]
57
58class Match(Simple):
59 """Calculator Plugin derived from imagepy.core.engine.Simple """

Callers

nothing calls this directly

Calls 2

likeFunction · 0.85
histogramMethod · 0.80

Tested by

no test coverage detected