Implement the ordered dither method using python
Create the threshold matrix following the rules from
professor’s slides P55
Use the 8x8 matrix in slides P56 as the index matrix
Input: a grayscale image
Output: a dithered image
(each pixel value would be either 0 or 255)
Implement in python 3
Do not copy/paste other’s code
Homework 1 – Image Dithering
1
Deadline: 2019/10/10 23:55
NO LATE SUBMISSION
Upload file: Your_Student_ID.py
Get the input image from the command line
Ex: python 0123456.py input_image.png
The output image should be saved in the folder same as
your python file.
Name your output image with Your_Student_ID
Ex: 0123456.png
Rules
2
Ordered Dither
3
Implementation of Ordered Dither via Thresholding
4
Clustered Dot Screens
5
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。