.. (לתיקייה המכילה) | ||
Matlab Part - Zeroing the DC DFT-component | |
In subsection c you need to implement a notch filter for zeroing all the DFT-domain components that are deteriorated by the interference ("noise" of vertical lines). While the interference affects also the 0-index DFT-component (also called the DC component), you should not zero this specific component since it represents the mean graylevel of the entire image (if you zero it you'll get a restored image of "texture" over a black background -- which is not what we want). |
Matlab Part - Realness of Reconstructed Image | |
As mentioned in the question, you should use an image of size 512x512 pixels, and process it in the DFT domain. It is important to consider rows of 512 pixels as it is an integer multiplication of the periodic disturbance. However, since the image rows have even lengths, then the DFT representation cannot be completely conjugate-symmetric around the zero-index coefficient. Therefore, when you reconstruct the image after the DFT-domain processing you should ignore the imaginary part (in the image domain!) of the image. |