Abstract:
A detective adjusting apparatus for a stereoscopic image and a related method is disclosed in the present invention. The apparatus includes an image capturing device, an image processing device, a stereoscopic display and an image analyzing/displaying device. The present invention utilizes the method to calculate an angle between eyes&#39; position and a central position according to the face position, to determine the stereoscopic image by analyzing parameters of the stereoscopic image and the stereoscopic display, and to display the continuous stereoscopic image having at least two viewpoints, so the a viewer can watch the stereoscopic image clearly. The present invention is applied to an optical grating or an auto-stereoscopic screen made by lens.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to a stereoscopic displaying method, and more particularly, to a detective adjusting apparatus for a stereoscopic image and a related method. 
         [0003]    2. Description of the Prior Art 
         [0004]    As development of stereoscopic displaying technology, an interaction between the displaying content and a viewer is paid much attention. A conventional method is utilizing a camera to capture an image, finding out a position of the viewer&#39;s face by a sample matching method, and calculating a movement of the image according to the face position for switching the image content. 
         [0005]    However, the conventional sample matching method has drawbacks of large error, low sensitivity and slow response. The conventional method for adjusting image&#39;s position is utilized to a two-viewpoint panel, and is not suitable to present panel technology, which results in an intermittent error when applying to a multi-viewpoint panel. 
         [0006]    A stereoscopic displaying method, a tracking stereoscopic display and a method for an image processing device disclosed in CN application No. 201010229920.2 is applied to the two-viewpoint panel, the viewer watches the same image from different view angles. 
       SUMMARY OF THE INVENTION 
       [0007]    The present invention provides a detective adjusting apparatus and a related method. The present invention is applied to an optical grating or an auto-stereoscopic screen made by lens having two-viewpoint or multi-viewpoint functions, so as to generate a continuous stereoscopic image. 
         [0008]    According to the claimed invention, a detective adjusting apparatus includes an image capturing device, an image processing device, a stereoscopic display and an image analyzing/displaying device. The image capturing device is for capturing an image. The image processing device is for processing the image provided from the image capturing device and for detecting a position of a face on the image according to a face characteristic. The stereoscopic display is for displaying a stereoscopic image. The image analyzing/displaying device is for calculating data of the image according to parameters of an angle of face position, the stereoscopic image and the stereoscopic display, and further for transmitting the data to the stereoscopic display. The image capturing device is electrically connected to the image processing device via a video cable. The image processing device is electrically connected to the image analyzing/displaying device via a datum cable. An input end and an out end of the image analyzing/displaying device are electrically connected to the two-viewpoint stereoscopic image and the stereoscopic display. 
         [0009]    According to the claimed invention, the image capturing device is a single-image capturing device or a two-viewpoint image capturing device. 
         [0010]    According to the claimed invention, the stereoscopic display includes an optical grating or an auto-stereoscopic screen made by lens. 
         [0011]    According to the claimed invention, a method of executing a detective adjusting apparatus is disclosed. The method includes an image processing device analyzing an image provided from an image capturing device to find to a position of eyes according to a face recognition algorithm, the image processing device calculating an angle between positions of the eyes according to the position of the eyes and a central point of a stereoscopic display, an image analyzing/displaying device setting parameters of an stereoscopic image and the stereoscopic display, and the image analyzing/displaying device analyzing the parameters of the angle between the positions of the eyes, the stereoscopic image and the stereoscopic display, so as to adjust content of the image according to a variation of the face&#39;s position for outputting the successive stereoscopic image. The stereoscopic image parameter comprises an amount of the image&#39;s viewpoint, the stereoscopic display parameter comprises an amount of the stereoscopic display&#39;s viewpoint and a pixel mapping table. 
         [0012]    According to the claimed invention, the face recognition algorithm comprises an adaboost algorithm, an ANN algorithm and a SVM algorithm. 
         [0013]    According to the claimed invention, the pixel mapping table is not modified by the image analyzing/displaying device, the image analyzing/displaying device re-allots pixels to switch the stereoscopic image. 
         [0014]    The present invention utilizes the above-mentioned method to calculate an angle between eyes&#39; position and a central position according to the face position, to determine a stereoscopic image by analyzing parameters of the stereoscopic image and the stereoscopic display, and to display the continuous stereoscopic image having at least two viewpoints, so the a viewer can watch the stereoscopic image clearly. 
         [0015]    These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0016]      FIG. 1  is a diagram of a detective adjusting apparatus according to an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0017]    As shown in  FIG. 1 , the present invention includes an image capturing device  1 , an image processing device  2 , an image analyzing/displaying device  3  and a stereoscopic display  4 . The image capturing device  1  is for capturing an image. The image processing device  2  is for processing the image provided from the image capturing device  1  and for detecting a position of a face on the image according to a face characteristic. The stereoscopic display  4  is for displaying a stereoscopic image. The image analyzing/displaying device  3  is for calculating data of the image according to parameters of an angle of face position, the stereoscopic image and the stereoscopic display, and further for transmitting the data to the stereoscopic display  4 . 
         [0018]    The image capturing device  1  is electrically connected to the image processing device  2  via a video cable. The image processing device  2  is electrically connected to the image analyzing/displaying device  3  via a datum cable. An input end and an out end of the image analyzing/displaying device  3  are electrically connected to the two-viewpoint stereoscopic image(or a two-view image or a two view-angle image) and the stereoscopic display  4 . 
         [0019]    The image processing device  2  utilizes an adaboost algorithm to find out positions of human eyes by the image provided from the image capturing device  1 , and further calculates an angle θ 1  between the eye&#39;s position and a central position of the stereoscopic display  4 . 
         [0020]    The image analyzing/displaying device  3  sets two parameters. One is a stereoscopic image parameter P 1  the stereoscopic image parameter P 1  includes an amount of the image&#39;s viewpoint. The other is a stereoscopic display parameter. The stereoscopic display parameter includes basic information of the stereoscopic display  4 , such as a viewpoint amount P 2  of the stereoscopic display and a pixel mapping P 3 . The pixel mapping P 3  includes data of pixel&#39;s view angle. 
         [0021]    Calculation of the image analyzing/displaying device  3  by the parameters of the stereoscopic image and the stereoscopic display includes following steps. 
         [0022]    Step  1 : P 1 =2, P 2 =2. 
         [0023]    P 1 =2 indicates that an amount of the image&#39;s viewpoint equals two. No matter what position the viewer stands, the viewer can watch the same image. P 2 =2 indicates that the stereoscopic image is a 2-view image, which includes a left view angle and a right view angle. In the above-mentioned condition, the image analyzing/displaying device  3  can obtain a value A 1  by multiplying the angle θ 1  by a weight. The angle θ 1  is provided from the image processing device  2 . As the value A 1  is even, the left view angle image of the two-view image can be transmitted to a left view angle image position according to the pixel mapping P 3 , and the right view angle image of the two-view image can be transmitted to a right view angle image position according to the pixel mapping P 3 . As the value A 1  is odd, the left view angle image of the two-view image can be transmitted to the right view angle image position according to the pixel mapping P 3 , and the right view angle image of the two-view image can be transmitted to the left view angle image position according to the pixel mapping P 3 . 
         [0024]    Step  2 : P 1 &gt;2, P 2 =2. 
         [0025]    P 1 &gt;2 indicates that the amount of the image&#39;s viewpoint is greater than two. The viewer can watch different images at different positions, and an amount of the image&#39;s viewpoint is P 1 . Each image is N x , 1≦X≦P 1 , and X is an integer. P 2 =2 indicates that the stereoscopic image is the 2-view image, which includes the left view and the right view. In the above-mentioned condition, the image analyzing/displaying device  3  can obtain a value A 2  by multiplying the angle θ 1  by a weight. The angle θ 1  is provided from the image processing device  2 . A view angle θ 2  of the stereoscopic image divided by (P 1 −1) equals a value θ 3 . The value θ 3  indicates two continuous images (N X−1 , N X ), such as (N 1 , N 2 ), and an interval between the two continuous images is the value θ 3 . Across the value θ 3  to the value θ 3 +1, the image is switched to next image (N X−1+1 , N X+1 ), such as (N 1 , N 2 ) between zero and the value θ 3 . When the view angle equals the angle θ 3 +1, the image can be switched to (N 1+1 , N 2+1 ). According to the angle θ 3 , as the value A 2  is even, the left view angle image N X−1  of the two-view image can be transmitted to the left view angle image position according to the pixel mapping P 3 , and the right view angle image N X  of the two-view image can be transmitted to the right view angle image position according to the pixel mapping P 3 . As the value A 2  is odd, the left view angle image N X−1  of the two-view image can be transmitted to the right view angle image position according to the pixel mapping P 3 , and the right view angle image N X  of the two-view image can be transmitted to the left view angle image position according to the pixel mapping P 3 . 
         [0026]    Step  3 : P 1 =2, P 2 &gt;2. 
         [0027]    P 1 =2 indicates that the amount of image&#39;s viewpoint equals two. No matter what position the viewer stands, the viewer can watch the same image. P 2 &gt;2 indicates that an amount of viewpoint of the stereoscopic image is P 2 , which is greater than two. All even view angle can be set as the same image, and all odd view angle can be set as the same image. In the above-mentioned condition, the image analyzing/displaying device  3  can obtain a value A 3  by multiplying the angle θ 1  by a weight. The angle θ 1  is provided from the image processing device  2 . As the value A 3  is even, the left view angle image of the two-view image can be transmitted to an odd view angle image position according to the pixel mapping P 3 , and the right view angle image of the two-view image can be transmitted to an even view angle image position according to the pixel mapping P 3 . As the value A 3  is odd, the left view angle image of the two-view image can be transmitted to the even view angle image position according to the pixel mapping P 3 , and the right view angle image of the two-view image can be transmitted to the odd view angle image position according to the pixel mapping P 3 . 
         [0028]    Step  4 : P 1 &gt;2, P 2 &gt;2. 
         [0029]    P 1 &gt;2 indicates that the amount of image&#39;s viewpoint is greater than two. The viewer can watch different images at different positions, and an amount of image&#39;s viewpoint is P 1 . Each image is N x , 1≦X≦P 1 , and X is an integer. P 2 &gt;2 indicates that that an amount of viewpoint of the stereoscopic image is P 2 , which is greater than two. All even view angle can be set as the same image, and all odd view angle can be set as the same image. In the above-mentioned condition, the image analyzing/displaying device  3  can obtain a value A 4  by multiplying the angle θ 1  by a weight. The angle θ 1  is provided from the image processing device  2 . A view angle θ 2  of the stereoscopic image divided by (P 1 −1) equals a value θ 3 . The value θ 3  indicates two continuous images (N X−1 , N X ), such as (N 1 , N 2 ), and an interval between the two continuous images is the value θ 3 . Across the value θ 3  to the value θ 3 +1, the image is switched to next image (N X−1+1 , N X+1 ), such as (N 1 , N 2 ) between zero and the value θ 3 . When the viewpoint equals the angle θ 3 +1, the image can be switched to (N 1+1 , N 2+1 ). According to the angle θ 3 , as the value A 4  is even, the left view angle image N X−1  of the two-view image can be transmitted to the odd view angle image position according to the pixel mapping P 3 , and the right view angle image N X  of the two-view image can be transmitted to the even view angle image position according to the pixel mapping P 3 . As the value A 4  is odd, the left view angle image N X−1  of the two-view image can be transmitted to the even view angle image position according to the pixel mapping P 3 , and the right view angle image N X  of the two-view image can be transmitted to the odd view angle image position according to the pixel mapping P 3 . 
         [0030]    Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.