Optimal separable interpolation of color images with bayer array format