Dithering
Ordered Dithering (Extracted from INFO 420 Partial 2010-2011)
Consider the 4×4×3 matrix i2 shown above. i2 is a sub image of lena, 4×4 pixels where each pixel has three values one for each primary RGB.
Consider the R channel of the image i2. Apply the ordered dithered using a dithering matrix 2x2.
Then write your own Matlab function my_ordither, which given an image a a dithering size, returns the dithered output image after the application of the ordered dithering of the requested size.