1. An electronic apparatus capable of recognition of objects in an image, comprises: a recognition module for recognition of a sky portion, a vertical object portion and a ground portion in the image by dividing the image into a plurality of pixel sets by the electronic system, for calculating expected values of each pixel sets with a sky distribution function, a vertical object distribution function and a ground distribution function by the electronic system, the distribution probability of the sky distribution function decreases from the top of the image, the distribution probability of the ground distribution function decreases from the bottom of the image and the distribution probability of the vertical object portion decreases from an vision horizon line to upper side and to lower side of the image, and for comparing expected values of each pixel set in the sky distribution function, the vertical object distribution function and the ground distribution function to determine whether each pixel set belongs to a sky object, a vertical object or a ground object; and a three-dimension module for constructing three-dimension information of the image by reference the recognized result by the recognition module.