color_swap.py
description
color swap from RGB to BGR
preparation
prepare target photo
usage
$ python color_swap.py sample.jpg
original image
processed image
color_gray.py
description
gray scale converter
preparation
prepare target photo
usage
$ python color_gray.py sample.jpg
original image
processed image
color_sepia.py
description
sepia color converter
preparation
prepare target photo
usage
$ python color_sepia.py sample.jpg
original image
processed image
extract_color.py
description
extract color
preparation
prepare target photo
usage
$ python extract_color.py sample.jpg h_min, h_max, s_th, v_th
example:
$ python extract_color.py 0002.jpg 10 40 10 50
original image
processed image
References
- Interface 2017/05
- http://venuschjp.blogspot.jp/2015/02/pythonopencv.html
- https://www.blog.umentu.work/python-opencv3で画素のrgb値を入れ替える/