Digital image processing techniques can be used to enhance images by modifying pixel values using filters. Filters are classified as either spatial or frequency domain filters, with non-linear filters being more effective at edge detection than linear filters. The median filter is a common non-linear filter that replaces pixel values with the median of neighboring pixels to reduce salt-and-pepper noise. Image restoration techniques aim to reduce noise and recover lost resolution, such as by using deconvolution in the frequency domain to undo the effects of blurring.