Skip to the content.

index

color_swap.py

description

color swap from RGB to BGR

preparation

prepare target photo

usage

$ python color_swap.py sample.jpg

original image

image

processed image

image

color_gray.py

description

gray scale converter

preparation

prepare target photo

usage

$ python color_gray.py sample.jpg

original image

image

processed image

image

color_sepia.py

description

sepia color converter

preparation

prepare target photo

usage

$ python color_sepia.py sample.jpg

original image

image

processed image

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

image

processed image

image

References