Digital camera automatic focusing program based on image processing