# Patent

## Title
Focal length estimation for panoramic stitching

## Abstract

A focal length estimation technique is presented that estimates the focal length used to capture each of a pair of overlapping images taken by a camera rotating about its center. When it is known that the focal length is the same for both images, it is estimated using just two pairs of corresponding points between the images. When it is either unknown whether the focal lengths are the same or it is known that they vary, the focal length of each image is estimated using just three pairs of corresponding points between the images.

## Background
BACKGROUND
Image stitching is the process of combining data from multiple images to form a larger composite image or mosaic. This is possible when the amount of parallax between the images is small or zero, such as when the camera capturing the images is rotating about a point.
Recent successful approaches to image stitching have used feature based techniques to identify matching points between overlapping images, which are used to align the images. These methods typically employ random sampling algorithms such as RANSAC for robust estimation of the image geometry and to cope with noisy and outlier contaminated feature matches. The RANSAC step has an inner loop consisting of a fast solution for the parameters of interest, such as focal length, given a small number of correspondences. Since the probability of choosing a set of correct correspondences decreases rapidly as the sample size increases, solutions that use as few points as possible in the RANSAC loop are favorable. Currently the state of the art approaches use a 4 point linear solution for the homography in the RANSAC loop.
SUMMARY
It should also be noted that this Summary is provided to introduce a selection of concepts, in a simplified form, that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
The present technique estimates the focal length used to capture each of a pair of overlapping images depicting part of the same scene, which were taken by a camera rotating about its center. In one case, it is known that the focal length is the same for both images, and in another case it is either unknown whether the focal lengths are the same or it is known that they vary. In both cases, all intrinsic camera parameters except the focal length associated with the camera used to capture the images are known.
When it is known that the focal length is the same for each of the images in the pair, one embodiment of the present technique involves first identifying the location of just two pairs of corresponding points between the images. A polynomial equation that defines the relationship between the common focal length associated with the two images and the positional correspondence of the two pairs of corresponding points is established. The polynomial equation is then solved to determine the value of the shared focal length.
When it is not known whether the focal length is the same for each of the images in the pair, or it is known they vary, one embodiment of the present technique involves identifying the location of just three pairs of corresponding points between the images. A polynomial equation that defines the relationship between the focal length associated with each image and the positional correspondence of the three pairs of corresponding points is then established, and solved to determine the focal length associated with each image.
It is noted that while the foregoing limitations in existing panoramic stitching techniques requiring focal length estimation as described in the Background section can be resolved by a particular implementation of a focal length estimation technique according to the present invention, this is in no way limited to implementations that just solve any or all of the noted disadvantages. Rather, the present focal length estimation technique has a much wider application as will become evident from the descriptions to follow.
In addition to the just described benefits, other advantages of the present invention will become apparent from the detailed description which follows hereinafter when taken in conjunction with the drawing figures which accompany it.



DESCRIPTION OF THE DRAWINGS
The specific features, aspects, and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings where:
FIG. 1 is a diagram depicting a general purpose computing device constituting an exemplary system for implementing the present invention.
FIG. 2 is a flow diagram generally outlining one embodiment of a process for estimating the focal length used to capture each of a pair of images depicting part of the same scene in a case where it is known that the focal length is the same for both images, all intrinsic camera parameters except the focal length associated with a camera used to capture each image are known, and the rotation between the two images was about the camera center.
FIG. 3 is a flow diagram generally outlining one embodiment of a process for estimating the focal length used to capture each of a pair of images depicting part of the same scene in a case where the focal length may be different for each image, all intrinsic camera parameters except the focal length associated with a camera used to capture each image are known, and the rotation between the two images was about the camera center.



DETAILED DESCRIPTION
In the following description of embodiments of the present invention reference is made to the accompanying drawings which form a part hereof, and in which are shown, by way of illustration, specific embodiments in which the invention may be practiced. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
1.0 THE COMPUTING ENVIRONMENT
Before providing a description of embodiments of the present focal length estimation technique, a brief, general description of a suitable computing environment in which portions thereof may be implemented will be described. The present technique is operational with numerous general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
FIG. 1 illustrates an example of a suitable computing system environment. The computing system environment is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the present focal length estimation technique. Neither should the computing environment be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment. With reference to FIG. 1 an exemplary system for implementing the present technique includes a computing device, such as computing device 100. In its most basic configuration, computing device 100 typically includes at least one processing unit 102 and memory 104. Depending on the exact configuration and type of computing device, memory 104 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This most basic configuration is illustrated in FIG. 1 by dashed line 106. Additionally, device 100 may also have additional features/functionality. For example, device 100 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in FIG. 1 by removable storage 108 and non-removable storage 110. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Memory 104, removable storage 108 and non-removable storage 110 are all examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by device 100. Any such computer storage media may be part of device 100.
Device 100 may also contain communications connection(s) 112 that allow the device to communicate with other devices. Communications connection(s) 112 is an example of communication media. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. The term computer readable media as used herein includes both storage media and communication media.
Device 100 may also have input device(s) 114 such as keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 116 such as a display, speakers, printer, etc. may also be included. All these devices are well know in the art and need not be discussed at length here.
Device 100 can also include a camera 118 (such as a digital/electronic still or video camera, or film/photographic scanner), which is capable of capturing a sequence of images, as an input device. Further, multiple cameras 118 could be included as input devices. The images from the one or more cameras are input into the device 100 via an appropriate interface (not shown). However it is noted that image data can also be input into the device 100 from any computer-readable media as well, without requiring the use of a camera.
The present focal length estimation technique may be described in the general context of computer-executable instructions, such as program modules, being executed by a computing device. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The present technique may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The exemplary operating environment having now been discussed, the remaining parts of this description section will be devoted to a description of the program modules embodying the present focal length estimation technique.
2.0 THE FOCAL LENGTH ESTIMATION TECHNIQUE
The present technique estimates the focal length used to capture each image of a sequence of overlapping images (i.e., two or more) taken by a rotating camera. The focal length is estimated from point correspondences in overlapping regions of the images. This technique is an improvement over the previous approaches because it uses fewer points and is more robust. More particularly, the present technique requires only 2 pairs of point correspondences to estimate the focal length used to capture a pair of consecutive images, when it is known the focal length is the same for both images. In cases where it is not known if the focal lengths are the same, or if it is suspected they are different, the present technique requires only 3 pairs of point correspondences to estimate the focal length used to capture each of the pair of consecutive images. These are in contrast to the previous approaches that require a minimum of 4 point correspondences to estimate focal length.
In general, the present technique employs a polynomial model to estimate focal length, rather than the linear model used by previous approaches. Consider two cameras with coincident optical centers viewing a world point X, such that,

ũ1 ̃K1X  (1)

ũ2 ̃K2RX  (2)

where R is the rotation between the cameras, K1,K2 are upper triangular calibration matrices and ũ1, ũ2 are the projections of the 3D point X to images 1 and 2. By eliminating X, two constraints are found on the unknown parameters of R (3 parameters) and K1,K2 (up to 5 parameters each). The goal is to solve for focal length using the minimum number of correspondences possible.

In the past, a linear approach to the problem was taken. More particularly, from equations (1) and (2) it is possible to write,

ũ2 ̃H12ũ1  (3)

where

H12 ̃K2R K1−1.  (4)

Eliminating R gives,

H12ω*1H12T ̃ω*1  (5)

where

ω*1 ̃K1K1T.  (6)

The parameter ω*1 is known as the dual image of the absolute conic (DIAC). Linear algorithms proceed by computing a general 3×3 matrix H12 from 4 point correspondences. The symmetric system of Eq. (5) then gives 5 linear constraints on the elements of ω*1 and ω*2. K1 and K2 can be found by Cholesky decomposition of ω*1 and ω*2. Thus, the linear approach requires 4 point correspondences to be known.
However, instead of linearizing, the present technique employs a polynomial model to work directly with the sought after parameters K. Consider a pair of correspondences u11⇄u21, u12⇄u22 where,

ũ11 ̃KiRiXj  (7)

It is possible to eliminate Ri by considering the angle between X1 and X2, i.e.,




  
    
      
        
          
            
              cos
              2
            
            ⁢
            θ
          
          =
          
            
              
                (
                
                  
                    X
                    1
                    T
                  
                  ⁢
                  
                    X
                    2
                  
                
                )
              
              2
            
            
              
                
                  
                  
                    X
                    1
                  
                  
                
                2
              
              ⁢
              
                
                  
                  
                    X
                    2
                  
                  
                
                2
              
            
          
        
        ,
      
    
    
      
        (
        8
        )
      
    
  




Noting that this angle is preserved in both images, i.e.

cos2 θ1=cos2 θ2  (9)

and writing in terms of the camera parameters gives a polynomial expression,





  
    
      
        
          
            
              (
              
                
                  
                    u
                    ~
                  
                  11
                  T
                
                ⁢
                
                  ω
                  1
                
                ⁢
                
                  
                    u
                    ~
                  
                  12
                
              
              )
            
            2
          
          
            
              
                u
                ~
              
              11
              T
            
            ⁢
            
              ω
              1
            
            ⁢
            
              
                u
                ~
              
              11
            
            ⁢
            
              
                u
                ~
              
              12
              T
            
            ⁢
            
              ω
              1
            
            ⁢
            
              
                u
                ~
              
              12
            
          
        
        =
        
          
            
              (
              
                
                  
                    u
                    ~
                  
                  21
                  T
                
                ⁢
                
                  ω
                  2
                
                ⁢
                
                  
                    u
                    ~
                  
                  22
                
              
              )
            
            2
          
          
            
              
                u
                ~
              
              21
              T
            
            ⁢
            
              ω
              2
            
            ⁢
            
              
                u
                ~
              
              21
            
            ⁢
            
              
                u
                ~
              
              22
              T
            
            ⁢
            
              ω
              2
            
            ⁢
            
              
                u
                ~
              
              22
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




where ω1−1  ̃ω*1 ̃K1−1 K1−1. This gives a single nonlinear constraint on the unknown parameters of K1, K2, and is used as a building block for the polynomial solvers to be described next.

2.1 Estimating Focal Length Using 2 Pairs of Point Correspondences

A simple case arises when the focal length used to capture two consecutive overlapping images taken by a camera rotating about its center is unknown, but it is known that the focal length is the same for each image. This occurs frequently in practice, for example, when capturing a panorama without zooming. It is noted that all the other intrinsic camera parameters are already known for each image.
In one embodiment of the present technique, the common focal length between the two images is computed as generally shown in the process flow diagram of FIG. 2. The technique begins by identifying the location of just two pairs of corresponding points between the images (200). Each pair of corresponding points represents the same point in the scene as depicted in the two images. Next, a polynomial equation which defines the relationship between the focal length associated with the two images and the positional correspondence of the two pairs of corresponding points is established (202). The polynomial equation is then solved to determine the value of the shared focal length (204). It is noted that the use of just two pairs of corresponding points represents the minimal number of point pals needed to solve the equation.
In regard to identifying the location of pairs of corresponding points, in one embodiment this is accomplished using any appropriate feature detection technique, such as the Scale-Invariant Feature Transform (SIFT) method. In another embodiment, the corresponding point pairs can be identified manually, by a user specifying the location of matching points in each image.
In regard to establishing and solving the polynomial equation, the foregoing technique for estimating the common focal length using just 2 pairs of corresponding points between the images can be implemented as follows.
Substituting




  
    
      
        
          K
          i
        
        =
        
          [
          
            
              
                f
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                f
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                1
              
            
          
          ]
        
      
    
    
      
        (
        11
        )
      
    
  




in Eq. (10) gives





  
    
      
        
          
            
              (
              
                
                  a
                  12
                
                +
                
                  f
                  2
                
              
              )
            
            2
          
          
            
              (
              
                
                  a
                  1
                
                +
                
                  f
                  2
                
              
              )
            
            ⁢
            
              (
              
                
                  a
                  2
                
                +
                
                  f
                  2
                
              
              )
            
          
        
        =
        
          
            
              (
              
                
                  b
                  12
                
                +
                
                  f
                  2
                
              
              )
            
            2
          
          
            
              (
              
                
                  b
                  1
                
                +
                
                  f
                  2
                
              
              )
            
            ⁢
            
              (
              
                
                  b
                  2
                
                +
                
                  f
                  2
                
              
              )
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




where

a12=u11Tu12, a1=|u11|2, a2=|u12|2, b12=u21Tu22, b1=|u21|2, b2=|u22|2.  (13)

Eq. (12) is easily simplified to give a 3rd degree polynomial in f2 which can be solved in closed form.
2.2 Estimating Focal Length Using 3 Pairs of Point Correspondences
Another important practical case occurs when the focal length is unknown and potentially different between the two views. This might occur when capturing a panorama with variable zoom. Here again, the focal lengths of two consecutive overlapping images taken by a camera rotating about its center are to be determined, and it is assumed that all the other intrinsic camera parameters are already known for each image.
In one embodiment of the present technique, the focal length for each of the two images is computed as generally shown in the process flow diagram of FIG. 3. The technique begins by identifying the location of only three pairs of corresponding points between the images (300). This is accomplished as described previously for the common focal length case. A polynomial equation which defines the relationship between the focal length associated with each image and the positional correspondence of the three pairs of corresponding points is then established (302). This polynomial equation is then solved to determine the value of the focal length associated with each image (304).
In regard to establishing and solving the polynomial equations the foregoing technique for estimating the focal lengths of the two images using just 3 pairs of corresponding points can be implemented as follows.
Substituting




  
    
      
        
          K
          i
        
        =
        
          [
          
            
              
                
                  f
                  i
                
              
              
                0
              
              
                0
              
            
            
              
                0
              
              
                
                  f
                  i
                
              
              
                0
              
            
            
              
                0
              
              
                0
              
              
                1
              
            
          
          ]
        
      
    
    
      
        (
        14
        )
      
    
  




in Eq. (10) gives





  
    
      
        
          
            
              (
              
                
                  a
                  12
                
                +
                
                  f
                  1
                  2
                
              
              )
            
            2
          
          
            
              (
              
                
                  a
                  1
                
                +
                
                  f
                  1
                  2
                
              
              )
            
            ⁢
            
              (
              
                
                  a
                  2
                
                +
                
                  f
                  1
                  2
                
              
              )
            
          
        
        =
        
          
            
              (
              
                
                  b
                  12
                
                +
                
                  f
                  2
                  2
                
              
              )
            
            2
          
          
            
              (
              
                
                  b
                  1
                
                +
                
                  f
                  2
                  2
                
              
              )
            
            ⁢
            
              (
              
                
                  b
                  2
                
                +
                
                  f
                  2
                  2
                
              
              )
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




This can be simplified to give a biquadratic equation in f12 and f22. Writing this as a quadratic in f12 gives

pf14+qf12r=0  (16)

where

p=f22(b1+b2−2b12)+b1b2−b122,

q=f24(2a12−a1−a2)+f22(2a12(b1+b2)−2b12(a1+a2))+2a12b1b2−(a1+a2)b122,

r=f24(a122−a1a2)+f22(a122(b1+b2)−2a1a2b12)+a122b1b2−a1a2b122,  (17)

Note that p is 1st degree and q and r are second degree polynomials in f22. Taking 2 pairs of points gives the simultaneous equations

p1f14+q1f12+r1=0  (18)

p2f14+q2f12+r2=0  (19)

The common solutions of the polynomials are the roots of the resultant R




  
    
      
        R
        =
        
          det
          ⁡
          
            [
            
              
                
                  
                    p
                    1
                  
                
                
                  
                    q
                    1
                  
                
                
                  
                    r
                    1
                  
                
                
                  0
                
              
              
                
                  0
                
                
                  
                    p
                    1
                  
                
                
                  
                    q
                    1
                  
                
                
                  
                    r
                    1
                  
                
              
              
                
                  
                    p
                    2
                  
                
                
                  
                    q
                    2
                  
                
                
                  
                    r
                    2
                  
                
                
                  0
                
              
              
                
                  0
                
                
                  
                    p
                    2
                  
                
                
                  
                    q
                    2
                  
                
                
                  
                    r
                    2
                  
                
              
            
            ]
          
        
      
    
    
      
        (
        20
        )
      
    
  




This is a 7th degree polynomial in f22. The real roots of this polynomial may be found by a numeric technique. Only real positive roots are retained, and the value of f2 is found by taking a square root. f12 is then obtained by solving the quadratic Eq. (16). Only real positive roots are of interest, f1 is then found by taking a square root.
3.0 APPLICATIONS AND OTHER EMBODIMENTS
The present focal length estimation technique can be used to estimate the focal length of each pair of overlapping images captured by a camera rotated about its center as part of creating a panorama. More particularly, the focal lengths would be used stitch the images of the panorama together. Of course, if it known the focal length is the same for all the images, it need only be computed for a single consecutive pair of images using the foregoing 2 point pair embodiment and then employed for all the remaining images. However, if it is not known whether the focal length is the same for every image, or it is suspected that it varies, then the foregoing 3 point pair embodiment is used to compute the focal length for each image in the panorama.
It should also be noted that any or all of the aforementioned embodiments throughout the description may be used in any combination desired to form additional hybrid embodiments. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

## Claims

1. A computer-implemented process for estimating the focal length used to capture each of a pair of images depicting part of the same scene in a case where it is known that the focal length is the same for both images, all intrinsic camera parameters except the focal length associated with a camera used to capture each image are known, and a rotation between the two images was about the camera center, said process comprising using a computer to perform the following process actions:
identifying the locations of only two pairs of corresponding points between the images, wherein each pair of the corresponding points represents the same point in the scene as depicted in the two images;
establishing a polynomial equation which defines a relationship between the focal length associated with the two images and a positional correspondence of the identified two pairs of corresponding points; and
solving the polynomial equation to determine the value of a shared focal length associated with the pair of images, wherein the use of just two pairs of corresponding points represents the minimal number of point pairs needed to solve the equation.

2. The process of claim 1, wherein the process action of establishing a polynomial equation which defines the relationship between the focal length associated with the two images and the positional correspondence of the identified two pairs of corresponding points, comprises an action of establishing the polynomial equation as,




  
    
      
        
          (
          
            
              a
              12
            
            +
            
              f
              2
            
          
          )
        
        2
      
      
        
          (
          
            
              a
              1
            
            +
            
              f
              2
            
          
          )
        
        ⁢
        
          (
          
            
              a
              2
            
            +
            
              f
              2
            
          
          )
        
      
    
    =
    
      
        
          (
          
            
              b
              12
            
            +
            
              f
              2
            
          
          )
        
        2
      
      
        
          (
          
            
              b
              1
            
            +
            
              f
              2
            
          
          )
        
        ⁢
        
          (
          
            
              b
              2
            
            +
            
              f
              2
            
          
          )
        
      
    
  
  ,




wherein a12=u11Tu12, a1=|u11|2, a2=|u12|2, b12=u21Tu22, b1=|u21|2, b2=|u22|2, f is the focal length, u11 and u21 are the corresponding points in the first pair of corresponding points and u12 and u22 are the corresponding points in the second pair of corresponding points.

3. The process of claim 2, wherein the process action of solving the polynomial equation to determine the value of the shared focal length associated with the pair of images, comprises the actions of:
simplifying the established polynomial equation to give a third degree polynomial in f2; and
solve the simplified polynomial for f.

4. The process of claim 1, wherein at least one pair of corresponding points between the images is identified using a feature detection technique.

5. The process of claim 1, wherein at least one pair of corresponding points between the images is specified by a user.

6. The process of claim 1, wherein capturing each of the pair of images depicting part of the same scene in the case where it is known that the focal length is the same for both images and the rotation between the two images was about the camera center is accomplished as part of capturing overlapping images to create a panorama wherein the camera is rotated without zooming.

7. The process of claim 6, wherein the focal length computed for said pair of images is used as the focal length for all the other images captured as part of the creation of the panorama.

8. The process of claim 1, further comprising a process action of using the computed focal length in an image stitching operation to stitch the pair of images together.

9. A computer-implemented process for estimating the focal length used to capture each of a pair of images depicting part of the same scene in a case where it is not known that the focal length is the same for both images and all intrinsic camera parameters except the focal length associated with a camera used to capture each image are known, and a rotation between the two images was about the camera center, said process comprising using a computer to perform the following process actions:
identifying the locations of only three pairs of corresponding points between the images, wherein each pair of the corresponding points represents the same point in the scene as depicted in the two images;
establishing a polynomial equation which defines a relationship between the focal length associated with each image and a positional correspondence of the identified three pairs of corresponding points; and
solving the polynomial equation to determine the value of the focal length associated with each image.

10. The process of claim 9, wherein it is unknown whether the focal length used in capturing each image is the same or not.

11. The process of claim 9, wherein it is known that the focal length used in capturing each image was different.

12. The process of claim 9, wherein the process action of establishing a polynomial equation which defines the relationship between the focal length associated with each image and the positional correspondence of the identified three pairs of corresponding points, comprises the actions of:
establishing the polynomial equation as,





  
    
      
        
          (
          
            
              a
              12
            
            +
            
              f
              1
              2
            
          
          )
        
        2
      
      
        
          (
          
            
              a
              1
            
            +
            
              f
              1
              2
            
          
          )
        
        ⁢
        
          (
          
            
              a
              2
            
            +
            
              f
              1
              2
            
          
          )
        
      
    
    =
    
      
        
          (
          
            
              b
              12
            
            +
            
              f
              2
              2
            
          
          )
        
        2
      
      
        
          (
          
            
              b
              1
            
            +
            
              f
              2
              2
            
          
          )
        
        ⁢
        
          (
          
            
              b
              2
            
            +
            
              f
              2
              2
            
          
          )
        
      
    
  
  ;



simplifying the polynomial equation as a quadratic in f12 as, pf14+qf12=0, wherein,


p=f22(b1+b2−2b12)+b1b2−b122,



q=f24(2a12−a1−a2)+f22(2a12(b1+b2)−2b12(a1+a2))+2a12b1b2−(a1+a2)b122, and



r=f24(a122−a1a2)+f22(a122(b1+b2)−2a1a2b12)+a122b1b2−a1a2b122, and



wherein a12=u11Tu12, a1=|u11|2, a2=|u12|2, b12=u21Tu22, b1=|u21|2, b2=|u22|2, f1 is the focal length of the first image, f2 is the focal length of the second image, u11 and u21 are the corresponding points in a first pair of corresponding points, and u12 and u22 are the corresponding points in a second pair of corresponding points.

13. The process of claim 12, wherein the process action of solving the polynomial equation to determine the value of the focal length associated with each image, comprises the actions of:
employing a first pair of the three pairs of corresponding points to produce a first simultaneous equation p1f14+q1f12+r1=0;
employing a second pair of the three pairs of corresponding points which is different from the first pair to produce a second simultaneous equation p2f14+q2f12+r2=0; and
solving the simultaneous equations for f1 and f2.

14. The process of claim 13, wherein the process action of solving the simultaneous equations for f1 and f2, comprises the actions of:
forming a resultant R wherein,





  R
  =
  
    det
    ⁡
    
      [
      
        
          
            
              p
              1
            
          
          
            
              q
              1
            
          
          
            
              r
              1
            
          
          
            0
          
        
        
          
            0
          
          
            
              p
              1
            
          
          
            
              q
              1
            
          
          
            
              r
              1
            
          
        
        
          
            
              p
              2
            
          
          
            
              q
              2
            
          
          
            
              r
              2
            
          
          
            0
          
        
        
          
            0
          
          
            
              p
              2
            
          
          
            
              q
              2
            
          
          
            
              r
              2
            
          
        
      
      ]
    
  




which is a seventh degree polynomial in f22;
finding the roots of said seventh degree polynomial and computing f2; and
computing f1 using the equation pf14+qf12+r=0.

15. The process of claim 9, wherein at least one pair of corresponding points between the images is identified using a feature detection technique.

16. The process of claim 9, wherein at least one pair of corresponding points between the images is specified by a user.

17. The process of claim 9, wherein capturing each of the pair of images depicting part of the same scene in the case where the rotation between the two images was about the camera center is accomplished as part of capturing overlapping images to create a panorama wherein the camera is rotated with variable zooming.

18. The process of claim 17, wherein the identifying, establishing and solving actions are repeated for each pair of images captured as part of the creation of the panorama.

19. The process of claim 9, further comprising a process action of using the computed focal lengths in an image stitching operation to stitch the pair of images together.