Patent Abstract:
A system is used to remotely control camera positioning. A transformation model is used. By in putting image coordinates of the monitored position form camera, the object coordinates is obtained and displayed on a digital map. By inputting object coordinates on a digital map, image coordinates for the camera is obtained. After transferring parameters for camera positioning, the camera is moved to a desired position for monitoring an area and taking a photo.

Full Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to camera positioning; more particularly, relates to transforming between image coordinates of a remote-control camera and object coordinates of a digital map by using a transformation module between the coordinates of the remote-control camera and the coordinates of the digital map. 
       DESCRIPTION OF THE RELATED ARTS 
       [0002]    A first prior art proclaimed in Taiwan is called “A method for a monitoring camera”, comprising steps of: (a) notifying a happening of an accident to a control center by an alarm; (b) transforming and transferring position coordinates of the accident from a database in the control room; (c) figuring out a relationship function to obtain polar position coordinates for camera controlling commands; (d) controlling a camera on a rotating platform; and (e) transferring an image of the position for the accident back to the control center. Thus, a control center is able to monitor a large are a by controlling cameras remotely. 
         [0003]    A second prior art, “A three-dimensional monitoring system controlled with a map”, is revealed in Taiwan for monitoring a selected target in a monitored area. The system comprises camera devices and a control device, where the camera devices are cameras distributed in the monitored area capable of taking picture at any angle by rotating; the control device comprises a system main frame and a display; the system main frame has a digital map set; and the digital map set provides at least one digital map shown on the display. When the control device receive a control command from the digital map to select a target, a rotating signal is transferred to control cameras to take photos at the target from different directions. Every image signal from camera is transferred back to form a three-dimensional image of the target shown on the display. 
         [0004]    Although the monitored area is watched out through the above prior arts, the general remote-control camera has no calibrated parameters of panning, tilting and zooming and so positioning faces some difficulties. Hence, the prior arts do not fulfill users&#39; requests on actual use. 
       SUMMARY OF THE INVENTION 
       [0005]    The purpose of the present invention is to transforming between image coordinates of a remote-control camera and object coordinates of a digital map by using a transformation module in between. 
         [0006]    To achieve the above purpose, the present invention is a system for camera positioning and methods thereof. The system for camera positioning comprises a camera device and a control device, where the camera device has a remote-control camera with parameters of panning, tilting and zooming; the control device comprises a control unit and a display unit; the control unit comprises an input/output (I/O) module, an image database module, a transformation module and a digital map module; the transformation module has a transformation function between image coordinates of the remote-control camera and object coordinates of a digital map in the digital map module; and the object coordinates of the digital map is obtained through inputting the image coordinates of the remote-control camera or, likewise, the image coordinates of the remote-control camera is obtained through inputting the object coordinates of the digital map. Accordingly, a novel system for camera positioning and methods thereof are obtained. 
     
     
       BRIEF DESCRIPTIONS OF THE DRAWINGS 
         [0007]    The present invention will be better understood from the following detailed description of the preferred embodiment according to the present invention, taken in conjunction with the accompanying drawings, in which 
           [0008]      FIG. 1  is the structural view showing the preferred embodiment according to the present invention; 
           [0009]      FIG. 2  is the flow view showing the method for positioning on the digital map; 
           [0010]      FIG. 3  is the flow view showing the method for positioning the remote-control camera; and 
           [0011]      FIG. 4  is the flow view showing a method for building a transformation function between the image coordinates of the remote-control camera and the object coordinates of the digital map. 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
       [0012]    The following description of the preferred embodiment is provided to understand the features and the structures of the present invention. 
         [0013]    Please refer to  FIG. 1 , which is a structural view showing a preferred embodiment according to the present invention. As shown in the figure, the present invention is a system for camera positioning and methods thereof. The system for camera positioning comprises a camera device  1  and a control device  2 , where the camera device  1  comprises a remote-control camera and the remote-control camera has parameters of panning, tilting and zooming. 
         [0014]    The control device  2  comprises a control unit  21  and a display unit  22 , where the control unit  21  comprises an input/output (I/O) module  211 , an image database module  212 , a transformation module  213  and a digital map module  214 ; the control unit  21  is a computer; the display unit  22  displays image data and digital map; and the display unit  22  is a liquid crystal display (LCD). 
         [0015]    Please refer to  FIG. 1  and  FIG. 2 , which are the structural view and a flow view showing a method for positioning on a digital map according to the present invention. As shown in the figures, the system for camera positioning has a method for positioning on a digital map, comprising the following steps: 
         [0016]    (a) Transferring an image signal to an I/O module  31 : The camera device  1  transfers an image signal to an I/O module  211  of a control device  2 ; and the I/O module  211  transforms the image signal into image data. 
         [0017]    (b) Storing image data and displaying image data on the display unit  32 : The image data is transferred to the image database module  212  to be stored; and the image data is transferred to the display unit  22  to be displayed. 
         [0018]    (c) Setting a monitored position and transferring image coordinates of the monitored position to a transformation module  33 : A monitored position is set in the image data; and image coordinates of the monitored position are transferred to a transformation module  213 . 
         [0019]    (d) Transforming the image coordinates into object coordinates  34 : The transformation module  213  transforms the image coordinates of the monitored position into object coordinates to be used in a digital map module  214 . 
         [0020]    (e) Displaying a digital map for the position  35 : The object coordinates of the monitored position is inputted to the digital map module  214  for positioning; and both the monitored position and a digital map are transferred to be displayed on the display unit  22 . 
         [0021]    Please refer to  FIG. 1  and  FIG. 3 , which are the structural view and a flow view showing a method for positioning a remote-control camera according to the present invention. As shown in the figures, the system for camera positioning has a method for positioning a remote-control camera, comprising the following steps: 
         [0022]    (f) Choosing a monitored area and displaying a digital map of the monitored area  41 : A monitored area is chosen from a digital map module  214 ; and a digital map of the monitored area is displayed on a display unit  22 . 
         [0023]    (g) Setting a monitored position  42 : A monitored position is set in the monitored area. 
         [0024]    (h) Transferring object coordinates to a transformation module to be transformed into image coordinates  43 : Object coordinates of the monitored position are transferred to a transformation module; and is transformed into image coordinates to be used by the camera. 
         [0025]    (i) Transferring image coordinates to an I/O module to be transformed into camera parameters  44 : The image coordinates of the monitored position are transferred to an I/O module  211  to be transformed into parameters of panning, tilting and zooming for a remote-control camera. 
         [0026]    (j) Taking photo at the monitored position  45 : The three parameters are transferred for positioning the remote-control camera so that a photo at the monitored position is taken with the remote-control camera. 
         [0027]    Please refer to  FIG. 4 , which is a flow view showing a method for building a transformation function between image coordinates of a remote-control camera and object coordinates of a digital map. As shown in the figure, no matter it is to position on an electronical map or to position a remote-control camera, a transformation function in a transformation module between image coordinates of the remote-control camera and object coordinates of the digital map is required. The transformation function are obtained through the following steps: 
         [0028]    (k) Building a parameter model  51 : A parameter model of panning, tilting and zooming for a remote-control camera is built through a bundle adjustment. 
         [0029]    (l) Obtaining orientation parameters of the remote-control camera and other parameters  52 : A plurality of control points of the remote-control camera is corresponding to a plurality of control points of the digital map separately and is obtained to figure out orientation parameters of the remote-control camera and calibration parameters of panning, tilting and zooming of the remote-control camera through a bundle adjustment based on a collinearity equation, where a great number of ray intersections are used to build a transformation model between the image coordinates of the remote-control camera and the object coordinates of the digital map. 
         [0030]    (m) Substituting orientation parameters and other calibration parameters in the transformation model  53 : The orientation parameters of the remote-control camera and the calibration parameters of panning, tilting and zooming of the remote-control camera obtained in the above step are substituted in the parameter model obtained in step (k) to build a transformation function between the image coordinates of the monitored position of the remote-control camera and the object coordinates of the digital map of the digital map module. The transformation function is obtained as follows: 
         [0000]    
       
         
           
             
               
                 
                   x 
                   a 
                 
                 - 
                 
                   x 
                   p 
                 
               
               = 
               
                 
                   - 
                   f 
                 
                  
                 
                   
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             1 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                            
                           
                             ( 
                             
                               X 
                               - 
                               
                                 X 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             1 
                              
                             
                                 
                             
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               2 
                             
                           
                            
                           
                             ( 
                             
                               Y 
                               - 
                               
                                 Y 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             1 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               3 
                             
                           
                            
                           
                             ( 
                             
                               Z 
                               - 
                               
                                 Z 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                   
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                            
                           
                             ( 
                             
                               X 
                               - 
                               
                                 X 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               2 
                             
                           
                            
                           
                             ( 
                             
                               Y 
                               - 
                               
                                 Y 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               3 
                             
                           
                            
                           
                             ( 
                             
                               Z 
                               - 
                               
                                 Z 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
             
             , 
             
               
 
             
              
             
               
                 
                   y 
                   a 
                 
                 - 
                 
                   y 
                   p 
                 
               
               = 
               
                 
                   - 
                   f 
                 
                  
                 
                   
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             2 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                            
                           
                             ( 
                             
                               X 
                               - 
                               
                                 X 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             2 
                              
                             
                                 
                             
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               2 
                             
                           
                            
                           
                             ( 
                             
                               Y 
                               - 
                               
                                 Y 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             2 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               3 
                             
                           
                            
                           
                             ( 
                             
                               Z 
                               - 
                               
                                 Z 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                   
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                            
                           
                             ( 
                             
                               X 
                               - 
                               
                                 X 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               2 
                             
                           
                            
                           
                             ( 
                             
                               Y 
                               - 
                               
                                 Y 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         3 
                       
                        
                       
                           
                       
                        
                       
                         
                           R 
                           
                             3 
                              
                             i 
                           
                         
                          
                         
                           
                             m 
                             
                               i 
                                
                               
                                   
                               
                                
                               3 
                             
                           
                            
                           
                             ( 
                             
                               Z 
                               - 
                               
                                 Z 
                                 c 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
             
           
         
       
     
         [0031]    where x a  and y a  are the image coordinates on an image plane of the remote-control camera; X, Y and Z are corresponding ground coordinates; X c , Y c  and Z c  are object coordinates of a perspective center; m 11 ˜m 33  forms a rotation parameter matrix of the remote-control camera including rotation angles to X-axis (ω), Y-axis (φ) and Z-axis (κ); f is a focal length on imaging; x p  and y p  are coordinates of a principle point which is an intersection point of an optical axis and the image plane; and R 11 ˜R 33  are an additional rotation parameter matrix made of parameters of panning, tilting and additional calibration parameters. 
         [0032]    To sum up, the present invention is a system for camera positioning and methods thereof, where a transformation function between image coordinates of a remote-control camera and object coordinates of a digital map is used and the object coordinates of the digital map is obtained through inputting the image coordinates of the remote-control camera or, likewise, the image coordinates of the remote-control camera is obtained through inputting the object coordinates of the digital map. Thus, a positioning function is obtained. 
         [0033]    The preferred embodiment herein disclosed is not intended to unnecessarily limit the scope of the invention. Therefore, simple modifications or variations belonging to the equivalent of the scope of the claims and the instructions disclosed herein for a patent are all within the scope of the present invention.

Technology Classification (CPC): 7