Skip to content

marchputt/Play-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play with Python and a bit of image processing

This repository will contain the code produced during experimenting with python and image processing.

Get started

Install Jupyter notebook Please follow the official guideline

Install necessary libraries using pip.

pip install -r requirements.txt

Getting around this project

Pure python

The script contain example in using python is in the folder python-demo/.

Image processing

Go to img-proc/ and explore

Index

Reference book

Some of the example in this project is the Python version of examples in the MATLAB book "การประยุกต์ใช้ MATLAB สำหรับการประมวลภาพดิจิตอล".

The example number sorted by the book is listed here:

  • Chapter 1
  • Chapter 2
    • Example 2-1 Reading the image.
    • Example 2-2 (See Example 2-1) Showing the image. (NB)
    • Example 2-3 Arithmetic
    • Example 2-4 Read and show multiple images.
  • Chapter 3
    • Example 3-2 Read and play a video file.
  • Chapter 4
    • Example 4-1 Pixel-wise operation (write)
    • Example 4-2 Pixel-wise operation (read) (See example 4-1)
    • Example 4-3 Add color to the first quarter of the image
    • Example 4-4 Generate black image, then fill the first quarter with white color.
    • Example 4-5 Find the coordinate with specific color
    • Example 4-6 Generate one-layer and three-layer black-and-white image See "Pixel-wise can do anything" (NB)
    • Example 4-7 Add border (bounding box) to specific part of the image
  • Chapter 6
    • Example 6-1 (NB)
    • [Example 6-2&3](Adjust Example 6-1) (NB)
    • Example 6-4 Convert RGB image to grayscale image.
    • Example 6-5 Create vertical and horizontal histogram from B&W image.
  • Chapter 7

NB = Jupyter Notebook (more chapters to come in the future!)

About

Let's play with Python and a bit of image processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published