$30
(This assignment can be done in teams of maximum 2 students – Please include a text files with your names and IDs in the submission) Submit the Assignment to: dmet10012022@gmail.com
Implement a function that can increase the contrast of a colored image using morphological operators. One way to achieve this goal is to use the following expression to increase the contrast of image I:
IIncContrast = +I a(I −I B)−b •(I B I− )
where I is the original image, B is the structuring element, a and b are constants, indicates opening and
• indicates closing.
Apply your function to the image “Suez Canal.png”.