(self, ips, snap, img, para = None)
| 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 | |
| 58 | class Match(Simple): |
| 59 | """Calculator Plugin derived from imagepy.core.engine.Simple """ |