Real-time implementation of single-shot passive auto focus on DM350 digital camera processor