MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / __call__

Method __call__

utils/transforms.py:42–44  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

40
41class FlipChannels(object):
42 def __call__(self, img):
43 img = np.array(img)[:, :, ::-1]
44 return Image.fromarray(img.astype(np.uint8))
45
46
47class RandomGaussianBlur(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected