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

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

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%E7%9A%8460%20%E7%A8%AE%E5%9C%96%E5%83%8F%E6%95%88%E6%9E%9C%EF%BC%8C%E4%B8%80%E7%AF%87%E6%96%87%E7%AB%A0%E6%90%9E%E5%AE%9A

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:

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *