saliency.py 文件源码

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

项目:saliency 作者: shuuchen 项目源码 文件源码
def byConspicuity(image):
    """
        Creates the conspicuity map for the sub channel `blue-yellow conspicuity'.
        of the color channel.
    """
    def by(image):
        _,__,b,y = cv2.split(image)
        return cv2.absdiff(b,y)
    fs = features(image = image, channel = by)
    return sumNormalizedFeatures(fs)

#def sumNormalizedFeatures(features, levels=9, startSize=(640,480)):
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号