This document provides code solutions in Matlab for image processing homework assignments. It includes code to perform: 1. Basic grayscale transformations like negative, log, power-law, and piecewise linear on various images. 2. Histogram processing techniques like equalization and subtraction on images. 3. Smoothing and sharpening filters like averaging, median, Laplacian, and Sobel gradient filters to reduce noise and enhance edges. 4. Detailed explanations and examples are given for each transformation and filtering technique along with input and output images. The code utilizes various Matlab functions to perform the image processing tasks in a concise manner.