We develop a class of compactly supported window functions V m so that each polynomial p(x) of degree m − 1 as well as p(x) modulated with an integer frequency has a locally finite representation in terms of the local cosine basis = {ψ kExplicit formulations for V m and its Fourier transform are derived. It is shown that these window functions are non-negative, have minimal support of length m, and maximal smoothness of order 2m − 2. Furthermore, we determine the exact Riesz bounds of . Smoothness and stability for these bases are superior as compared to other local cosine bases with similar properties in the literature. Consequently, the bases are particularly useful for applications in signal and image processing.