def get_RGB_to_RGB_matrix(in_colorspace, out_colorspace, primaries_only=False):
    # Get colorspace in to XYZ matrix
    in_matrix = get_colorspace_matrix(in_colorspace, primaries_only)
    # Get XYZ to colorspace out matrix
    out_matrix = get_colorspace_matrix(out_colorspace, primaries_only, inv=True)
    # Return scalar product of the 2 matrices
    return numpy.dot(out_matrix, in_matrix)
Return RGB to RGB conversion matrix.
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/utils/colors_helper.py/get_RGB_to_RGB_matrix