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

Class FlipChannels

utils/transforms.py:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
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