Image device for generating depth images and related electronic device
An image device for generating depth images includes at least two image capturers and a rotating device. When the rotating device rotates the at least two image capturers, multiple images captured by the at least two image capturers are utilized to generate a depth image, wherein a view angle corresponding to the depth image is not less than a view angle of each image capturer of the at least two image capturers.
1. An electronic device for viewing a panoramic color and depth image, comprising:
a display; and
a processor reading an existed 360 degree panoramic color image and an existed 360 degree panoramic depth image, wherein the existed 360 degree panoramic color image corresponds to the existed 360 degree panoramic depth image, and the existed 360 degree panoramic color image and the existed 360 degree panoramic depth image are generated outside of the electronic device;
wherein when the electronic device is moved or rotated, the processor further converts a part of the existed 360 degree panoramic color image corresponding to a view angle corresponding to motion or rotation of the electronic device into a planar color image and a part of the existed 360 degree panoramic depth image corresponding to the view angle into a planar depth image according to the view angle, combines the planar color image with the planar depth image to generate a planar color and depth image corresponding to the view angle, and makes the display the planar color image according to the planar color and depth image.
2. The electronic device of claim 1 , further comprising:
an inertial sensor determining the view angle corresponding to the motion or the rotation of the electronic device according to the motion or the rotation of the electronic device.
3. The electronic device of claim 1 , wherein each depth value of the existed 360 degree panoramic depth image corresponds to a virtual optical center which the electronic device acts as, and each depth value of the planar depth image corresponds to a virtual optical plane where the electronic device is located.
4. The electronic device of claim 1 , wherein when the processor combines the planar color image with the planar depth image to generate the planar color and depth image, the processor converts the planar depth image into depth information corresponding to a virtual optical plane to make the planar color and depth image have the depth information.