Coder Social home page Coder Social logo

imageprocessing's Introduction

100題影像處理練習

日文原文:画像処理100本ノック!!

英文翻譯:Image Processing 100 Questions

中文翻譯:图像处理 100 问!!

說明

此專案為個人練習tkinter、opencv、函式外部化用,因此不會有詳細解說,若想學習更多,請參考原作者的教學。

  1. 至functions資料夾創建所需功能的py檔案,內含同名的函式。
  2. 至主資料夾執行generate_init.py,產生一個init.py檔案,裡面包含所有函式的參考。
  3. 至主資料夾執行main.py,即可執行各題的程式碼。

目前更新

  • 第一題:通道轉換
    • 程式碼:Q1_Channle_Swapping.py
    • 說明:將BGR三通道的影像轉換成RGB三通道的影像。
  • 第二題:灰階化
    • 程式碼:Q2_Grayscale.py
    • 說明:將RGB三通道的影像轉換成灰階影像。灰階化公式 (Y = 0.2126R + 0.7152G + 0.0722B) 是基於人眼對不同顏色敏感度的加權,將彩色圖像轉換為灰度圖像,其中綠色影響最大,藍色最小,紅色居中。
  • 第三題:二值化
    • 程式碼:Q3_Binarization.py
    • 說明:將影像二值化,只有黑白兩色。
  • 第四題:大津二值化
    • 程式碼:Q4_Binarization_of_Otsu.py
    • 說明:大津二值化是一種自動決定閥值以把圖片上的物體和背景清晰分開的方法。
  • 第五題:色彩空間轉換
    • 程式碼:Q5_HSV_Conversion.py
    • 說明:將RGB三通道的影像轉換成HSV色彩空間的影像,反轉H色相(+180)後轉回RGB以顯示影像。
  • 第六題:Discretization of Color

imageprocessing's People

Contributors

bbyuu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.