MCPcopy Create free account
hub / github.com/PaddlePaddle/EasyData / apply_sp_noise

Method apply_sp_noise

deploy/python/dataaug/utils/noiser.py:68–87  ·  view source on GitHub ↗

Salt and pepper noise. Replaces random pixels with 0 or 255.

(self, img)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected