Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 4.23 KB

README.md

File metadata and controls

88 lines (62 loc) · 4.23 KB

Image processing

GitHub last commit python

Labolatory assignments related to image processing using python3.9+ (due to the use of typing methods supported from version 3.9). The tasks contain solutions to a variety of challanges, including the use of self-written interpolation algorithms, conversion of an image into a CFA (bayer, X-TRANS), image scaling or rotation and denoising.

Table of contents

Solutions

Examples

All scripts are configurable through the use of flags to check which options can be used to execute script, simply use the help flag.

$ python3.9 script-name.py -h

lab-01 (rolling shutter effect simulation)
$ python3.9 rshutter.py -b 5 -l 3 --save

lab-02 (demosaicing)
$ python3.9 demosaicing.py --image ./image.bmp --bayer --nearest --save

lab-03 (scaling and rotating raster images)
$ python3.9 scale-and-rotate.py --image ./image.jpg --shrink 0.65 --rotate 65 --nearest --save

lab-04 (denoising images)
$ python3.9 denoising.py --image ./image.jpg --noise-image ./noise-leopard.jph --box --size 7 --save

lab-05 (orthogonal basis)
$ python3.9 orthogonal-basis.py --image ./lenna.png --fourier --hpf --size 80

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Feel free to contact: @raczuu1 - [email protected]

Project link: https://github.com/raczu/image-processing

(back to top)