I use bilinear interpolation algrithm in my rotate function. the inner of the image is done well, but the edge is as worse as no interpolation. So how can I process the edge? could you give me a full algrthm description? Thank you!