Category archives for DIP

Matlab – simple half-toning example

Hi 🙂 Let’s Map each pixel from the source image (grayscale) to 4 pixels in the destination image (binary), such that each destination pixel is “lighted” with white (1), based on a different thresholding: [0-50] – do nothing [51-101] – light #3 [102-152] – light #2 [153-203] – light #4 [204-255] – light #1   […]