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

Method contrast

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

Source from the content-addressed store, hash-verified

63
64 @staticmethod
65 def contrast(img, magnitude):
66 return ImageEnhance.Contrast(img).enhance(magnitude)
67
68 @staticmethod
69 def brightness(img, magnitude):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected