Skip to content

Hw2 hybrid images

Hybrid Images

All the arguments are listed below (also set by default in hybrid.py by argparse):

img1 dog.jpg

img2 cat.jpg

low pass filter parameters (kernel size, sigma)

kernel size 13

sigma 7.0

high pass filter parameters (kernel size, sigma)

kernel size 8

sigma 4.1

mixin ratio 0.65

scale_factor 2

run the command below to get hybrid.png

python hybrid.py resources/dog.jpg resources/cat.jpg

Last update: March 26, 2023