search
尋找貓咪~QQ 地點 桃園市桃園區 Taoyuan , Taoyuan

OpenCV的60 種圖像效果,一篇文章搞定 – jashliao部落格

OpenCV的60 種圖像效果,一篇文章搞定


資料來源: https://mp.weixin.qq.com/s/zI9Io0h97A7tLl6icetJPg

https://github.com/dyh/opencv_tools


GITHUB: https://github.com/jash-git/Jash-good-idea-2020127-001/tree/master/OpenCV的60 種圖像效果,一篇文章搞定

image_color.py

    色度/色調
    飽和度
    純度/亮度
    固定飽和度s
    固定亮度v
    固定色度h + 固定飽和度s
    固定色度h + 固定亮度v
    固定飽和度s + 固定亮度v

image_transformation.py
    形態學濾波器腐蝕和膨脹圖像
    腐蝕3×3
    膨脹3×3 3次
    腐蝕7×7
    腐蝕3×3 3次
    形態學濾波器開啟和閉合圖像
    Close the image
    Open the image
    灰度圖像中應用形態學運算Gradient | Edge
    Apply threshold to obtain a binary image
    7×7 Black Top-hat Image
    Apply threshold to obtain a binary image
    Apply the black top-hat transform using a 7×7 structuring element    
    
image_filtering.py
    Blur the image with a mean filter
    Blur the image with a mean filter 9×9
    縮減採樣
    resizing with NN
    resizing with bilinear
    中值濾波
    定向濾波器
    Compute Sobel X derivative
    Compute Sobel Y derivative
    Compute norm of Sobel
    Compute Sobel X derivative (7×7)
    Apply threshold to Sobel norm (low threshold value)
    Apply threshold to Sobel norm (high threshold value)
    down-sample and up-sample the image
    down-sample and up-sample the image
    cv2.subtract
    cv2.subtract gauss15 – gauss05
    cv2.subtract gauss22 – gauss20

image_outline.py
    Canny Contours
    Canny Contours Gray
    Hough tranform for line detection
    Circles with HoughP
    Get the contours, Contours with RETR_LIST    
    
image_enhancement.py
    簡單白平衡
    灰度世界算法
    直方圖均衡化
    視網膜-大腦皮層(Retinex)增強算法
    Single Scale Retinex
    Multi Scale Retinex
    Multi Scale Retinex With Color Restoration
    自動白平衡AWB
    自動色彩均衡ACE    
    


PDF:



熱門推薦

本文由 jashliaoeuwordpress 提供 原文連結

寵物協尋 相信 終究能找到回家的路
寫了7763篇文章,獲得2次喜歡
留言回覆
回覆
精彩推薦