发明名称 Method for generating translation image and portable electronic apparatus thereof
摘要 A method for generating a translation image includes first and second lenses capturing first and second images toward an object respectively, an image processing device calculating a depth of field of a pixel in the first image relative to the first lens according to a first vertical viewing angle between the pixel in the first image and the first lens, a second vertical viewing angle between a corresponding pixel in the second image and the second lens, and a distance between the first and second lenses, the image processing device calculating a horizontal viewing angle between the pixel in the first image and the first lens according to the depth of field, coordinates of the pixel in the first image, and the distance, and the image processing device generating a translation image according to the coordinates of the pixel, the depth of field, the distance, and the horizontal viewing angle.
申请公布号 US9615074(B2) 申请公布日期 2017.04.04
申请号 US201414173784 申请日期 2014.02.05
申请人 Wistron Corporation 发明人 Chang Yao-Tsung
分类号 H04N13/00;H04N13/02 主分类号 H04N13/00
代理机构 代理人 Hsu Winston;Margo Scott
主权项 1. A method for generating a translation image, the method being applied to display of stereoscopic images on a portable electronic apparatus and comprising: a first lens of the portable electronic apparatus capturing a first image toward an object; a second lens of the portable electronic apparatus capturing a second image toward the object, the first image and the second image having different viewing angles, and the second lens being fixed at a position not arranged horizontally with the first lens; an image processing device of the portable electronic apparatus calculating a depth of field of each pixel in the first image relative to the first lens according to a first vertical viewing angle between each pixel in the first image and the first lens, a second vertical viewing angle between a corresponding pixel in the second image and the second lens, and a distance between the first lens and the second lens; the image processing device of the portable electronic apparatus calculating a horizontal viewing angle between each pixel in the first image and the first lens according to the depth of field of each pixel in the first image relative to the first lens, coordinates of each pixel in the first image, and the distance; an accelerometer detecting an oblique angle between an oblique arrangement direction of the first lens and the second lens relative to a horizontal surface when the first lens and the second lens are arranged obliquely; the image processing device calculating the first vertical viewing angle and the second vertical viewing angle according to the oblique angle by coordinate transformation; and the image processing device of the portable electronic apparatus generating a translation image to be an image captured by the second lens, which is fixed relative to the first lens, regarding as being arranged horizontally with the first lens and being spaced apart from the first lens at the distance along a horizontal direction according to the coordinates of each pixel in the first image, the depth of field of each pixel in the first image relative to the first lens, the distance, and the horizontal viewing angle, wherein the depth of field conforms to the following equation: the depth of field=(the distance)/[tan(the second vertical viewing angle)−tan(the first vertical viewing angle)].
地址 New Taipei TW