I hope this question is not too simple, I just started learning digital image processing. The 1D binomial filter of size 2 is defined by $B_2 = \frac{1}{4}\begin{bmatrix}1 & 2 & 1\end{bmatrix}$. The DFT should be $\frac{1}{2} + \frac{1}{2}\cos(\omega)$, but I have some trouble deriving this solution. I found it here.
My calculations:
$$X_k = \sum_{n=0}^{N-1} x_n e^{-\frac{2\pi i}{N}nk} = \frac{1}{4} + \frac{2}{4}e^{-\frac{2\pi i}{3}1k} + \frac{1}{4}e^{-\frac{2\pi i}{3}2k}$$ Then I took the real part $Re(X_k)$, and found after simplifying $\cos^2(\frac{\pi k}{3})\cos(\frac{2\pi k}{3})$, which is incorrect. Only if I use two times the second element in $B_2$, I get the same result.
I'm also trying to understand the reason for applying the DFT in this case. My line of thought is: By taking the Laplace/z-transform of the impulse response, one obtains the system's transfer function. Because we are only interested in the steady-state response, we can ignore the imaginary part and calculate instead the fourier transform. Since the input $B_2$ is real, the real part of the DFT is enough. Is this correct?