dab_deconv_area.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:DAB_analyzer 作者: meklon 项目源码 文件源码
def calc_deconv_matrix(matrix_vector_dab_he):
    """
    Custom calculated matrix of lab's stains DAB + Hematoxylin
    The raw matrix was moved to the global scope before main() function as a constant
    """

    matrix_vector_dab_he[2, :] = np.cross(matrix_vector_dab_he[0, :], matrix_vector_dab_he[1, :])
    matrix_dh = linalg.inv(matrix_vector_dab_he)
    return matrix_dh
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号