Topic: OpenCV is a very powerful tool for computer vision and image
processing tasks. It provides various functions that allow us to perform easily useful simple or more advanced tasks.

Exercise: Create the image shown Figure 1 using OpenCV and numpy.
The dimensions of the image are:

  • The whole image has dimensions of 288 X 288.
  • Each tile has dimensions of 32 X 32.

Display the image to the user and calculate the image histogram. After that, calculate the histogram of the convoluted image with the kernel:

 f= \begin{bmatrix} 0.25 & 0.25\\ 0.25 & 0.25 \end{bmatrix}.


 Image for exercise.

Lecture for better understanding: https://icarus.csd.auth.gr/digital-image-processing/

————————————————————————————————————–——–

For the solutions to the exercises, please contact koroniioanna@csd.auth.gr