The aim is to create a program that allows you to enter a matrix of values representing 4 shades of color (white, light gray, dark gray and black) and which displays the corresponding image and then that displays the image with a contrast enhancement.
Here's precisely what the program should do:
•"entering a matrix NxN mapping (we determine in constant N to 10) with only integer values between 0 and 3;
• Display of the corresponding image (display of square feet of shades (white, light gray, dark gray, black) ;
• Calculation of the brightness of the image (average of the values contained in the matrix); "change the contents of the matrix by accentuating the contrasts;
• Display of the new image.
Page 5-10 is the assignment!! Only Page 5-10. Duty1 is done.
This should only take you 1 hour(SO BID ACCORDINGLY!)
The Assignment is In English, but If you're french or know the language I also have a French .Pdf