segmentation_functions.py
def make_8UC3(mat, normalized=True):
    """Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels."""
    mat_uint8 = make_8UC(mat, normalized)
    mat_uint8 = np.stack((mat_uint8,)*3, axis = -1)
    return mat_uint8
Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels.
Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels.
Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels .
def make_8UC3(mat, normalized=True):
    mat_uint8 = make_8UC(mat, normalized)
    mat_uint8 = np.stack((mat_uint8,)*3, axis = -1)
    return mat_uint8
def make_8UC3 ( mat , normalized = True ) : mat_uint8 = make_8UC ( mat , normalized ) mat_uint8 = np . stack ( ( mat_uint8 , ) * 3 , axis = - 1 ) return mat_uint8
Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels.
Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels .
"""Convert the matrix to the equivalent matrix of the unsigned 8 bit integer datatype with 3 channels."""
mat
normalized