An Interpolation Algorithm for Real Time Processing of Digital Cameras