(src)
return out
return np.array
        uint8
        [0, 255]
        BGR
        (H, W, C)
return np.array
        uint8
        [0, 255]
        BGR
        (H, W, C)
return np . array uint8 [ 0 255 ] BGR ( H W C )
def tensor2cvimg(src):
    '''return np.array
        uint8
        [0, 255]
        BGR
        (H, W, C)
    '''
    out = src.copy() * 255
    out = out.transpose((1, 2, 0)).astype(np.uint8)
    out = cv2.cvtColor(out, cv2.COLOR_RGB2BGR)

    return out
def tensor2cvimg ( src ) : out = src . copy ( ) * 255 out = out . transpose ( ( 1 , 2 , 0 ) ) . astype ( np . uint8 ) out = cv2 . cvtColor ( out , cv2 . COLOR_RGB2BGR ) return out