MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / Solarize

Function Solarize

PATH/core/data/transforms/pedattr_transforms.py:149–151  ·  view source on GitHub ↗
(img, v)

Source from the content-addressed store, hash-verified

147
148
149def Solarize(img, v): # [0, 256]
150 assert 0 <= v <= 256
151 return PIL.ImageOps.solarize(img, v)
152
153
154def SolarizeAdd(img, addition=0, threshold=128):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected