illumination_correction.py 文件源码

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

项目:DeepProfiler 作者: jccaicedo 项目源码 文件源码
def compute_all(self, median_filter_size):
        disk_size = median_filter_size / 2  # From diameter to radius
        for ch in range(len(self.channels)):
            self.illum_corr_func[:, :, ch] = self.channel_function(self.stats["mean_image"][:, :, ch], disk_size)

    # TODO: Is image a uint16 or float32/64? What is its data type?
    # TODO: Update the test as appropriate.
    # Not being used? Not needed?
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号