Final Exam 1

Exercise 1

Considering that we have a 4 bit image with 10x10 resolution that generated using this expresion

\(𝐼(𝑥, 𝑦) = (𝑥 ∗ 𝑦)𝑚𝑜𝑑16\)

and \(x,y € [0,10]\)

  1. Generate the image I

  2. give the right interval that values can be on pixels

  3. Calculate the storage size of I

  4. Propose the good way to implement this transformation on the image - using Algorithms-

    • horizontal mirroring on the image matrix I

    • Increase the brightness of the image matrix I by adding 5 to each pixel value

    • Flip the image matrix I to the right (rotate by 90 degrees clockwise)

    • Change the image matrix I to a binary image. Set a threshold of 8, where all pixel values greater than or equal to 8 become 1, and the rest become 0.