MCPcopy Create free account
hub / github.com/geekcomputers/Python / posterize

Method posterize

ML/src/python/neuralforge/data/augmentation.py:52–54  ·  view source on GitHub ↗
(img, magnitude)

Source from the content-addressed store, hash-verified

50
51 @staticmethod
52 def posterize(img, magnitude):
53 magnitude = int(magnitude)
54 return ImageOps.posterize(img, magnitude)
55
56 @staticmethod
57 def solarize(img, magnitude):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected