# Image Processing Classwork 2022 ## 0. Read the code Suppose you have already familiarized yourself with the basics of image processing. Now, try to accomplish the following tasks using the Quick n' Dirty BMP provided by Chai Braudo. http://qdbmp.sourceforge.net First, you need to download the skeleton code and the library in GitHub and read helper functions availrable in the `qdbmp.h` file. ### 1. Salt-and-Pepper Noise Try to use a filter to improve an image severely corrupted by defective pixels. The image is saved in `noise.bmp`. ![](https://i.imgur.com/Jz0v3iy.png) ⬇️ ![](https://i.imgur.com/GdSvzk7.png) ### 2. Edge Detection Try to produce an image only showing its edges using sobel filter. You can use the `lenna.bmp` file. ![](https://i.imgur.com/r5Ma0PW.png) ⬇️ ![](https://i.imgur.com/rEjicuQ.png) ### Challenge: Use the scaled-up image `lenna_colored.bmp` to create a better edge detection without the new 2D array `imageOut`. (Try to use as minimal extra memory as possible) ![](https://i.imgur.com/SP5rxwD.png)