Visual Cryptography with color/gray
usage:
python color.py/gray.py xxx.xxxOverlap the two generated images would get the original image.
algorithm:
- Read the input image in CMYK color space.
- Split it to C, M, Y channels.
- Generate halftone images.
- For every channel, generate two secret images.
- Combine three channels respectively.
- Overlap the two images and get the result.
references: https://www.sciencedirect.com/science/article/pii/S0031320302002583