SYSTEM AND METHOD FOR RECTIFIED MOSAICING OF IMAGES RECORDED BY A MOVING CAMERA

Abstract: A system is described for generating (Fig. 1) a rectified mosaic image from a plurality of individual images, the system comprising a quadrangular region defining module (105), a warping module and a mosaicing module. The quadrangular region defining module is configured to define in one individual image a quadrangular region in relation to two points on a vertical anchor in the one individual image and mappings of two points on a vertical anchor in at least one other individual image into the one individual image (100). The warping module is configured to warp the quadrangular region to a rectangular region. The mosaicing module configured to mosaic the quadrangular region to the mosaic image. The system further generates a mosaic from a plurality of panoramic images, the system comprising a motion determining module (123), a normalizing module, a strip selection module, and a mosaicing module.

Description: SYSTEM AND METHOD FOR RECTIFIED MOSAICING OF IMAGES RECORDED BY A MOVING CAMERA FIELD OF THE INVENTION The invention relates generally to the field of generating mosaic images and more particularly to generating a rectified mosaic image from a series of images recorded by a moving camera. BACKGROUND OF THE INVENTION In mosaicing of images, a number of overlapping images of a scene are initially recorded by a camera. Using information in the regions in which the images overlap, a single image is generated which has, for example, a wider field of view of the scene than might be possible otherwise. Typically, mosaic images are generated in connection with a plurality of individual images that are recorded by a camera that is rotated around a stationary optical axis. Such mosaic images provide a panoramic view around the optical axis. Additionally, mosaic images are generated from images recorded by, for example, an aerial camera, translating parallel to the scene and the optical axis is perpendicular both to the scene and to the direction of camera motion. Problems arise, however, in connection with mosaic images that are be made from images recorded by a camera whose optical axis is moved, that is, translated along a particular path and/or rotated around an axis, particularly when different parts of a scene are located at different distances from the camera. When different parts of a scene are located at different distances from the camera, from image to image they appear to move at different rates. That is, when the camera is moved from the location at which one image is recorded, to the location at which the next image is recorded, with objects in the scene that are close to the camera will move in the image more than objects that are farther from the camera. Similarly, when the camera is rotated from one angular orientation at which one image is recorded, to another angular orientation at which another image is recorded, objects in the scene whose viewing direction makes a larger angle to the rotation axis will move in the image more than objects whose viewing direction makes a smaller angle with the rotation axis. In both cases, when the images are mosaiced, when corresponding points are located in successive images and the images are aligned to form the mosaic therebetween, the images will be mosaiced at an incorrect angle with respect to each other, resulting in a curled mosaic image. Another problem can arise if, for example, the viewing direction of the camera is not pointed in a direction generally perpendicular to the direction of motion, but instead at an angle thereto. In that case, for example, assume that the camera moves to the right and that the camera is pointed somewhat in the direction of motion, the image contents will generally expand from frame to frame, as the camera gets closer to the objects in sight. When the second image is warped so that corresponding points will match the first image, the size of the second image will shrink, resulting in a mosaic that tapers from left to right. Similarly, when the camera is pointed backward from the direction of motion, the image contents generally shrink from frame to frame. When the second image is warped so that corresponding points will match the first image, the size of the second image will increase, resulting in a mosaic whose dimensions increase from left to right. SUMMARY OF THE INVENTION The invention provides a new and improved system and method for generating a rectified mosaic image from a series of images recorded by a moving camera. In brief summary, in one aspect the invention provides a system for generating a rectified mosaic image from a plurality of individual images, the system comprising a quadrangular region defining module, a warping module and a mosaicing module. The quadrangular region defining module is configured to define in one individual image a quadrangular region in relation to two points on a vertical anchor in the one individual image and mappings of two points on a vertical anchor in at least one other individual image into the one individual image. The warping module is configured to warp the quadrangular region to a rectangular region. The mosaicing module configured to mosaic the quadrangular region to the mosaic image. In another aspect, the invention provides a system for generating a mosaic from a plurality of panoramic images, the system comprising a motion determining module, a normalizing module, a strip selection module, and a mosaicing module. The motion determining module is configured to determine image motion between two panoramic images. The normalizing module is configured to normalize respective columns in the panoramic images in relation to the ratio of the image motion thereof to the image motion of a selected column, thereby to generate normalized panoramic images. The strip selection module is configured to select strips of the normalized panoramic images. The mosaicing module is configured to mosaic the selected strips together. BRIEF DESCRIPTION OF THE DRAWINGS This invention is pointed out with particularity in the appended claims. The above and further advantages of this invention may be better understood by referring to the following description taken in conjunction with the accompanying drawings, in which: FIG. 1 schematically depicts a system for generating a rectified mosaic image from a series of images recorded by a moving camera, constructed in accordance with the invention; FIG. 2 schematically depicts operations performed in connection with generating a mosaic image from a series of individual images; FIGS. 3 A through 3D are useful in describing a problem that can arise in connection with generating a mosaic image from a plurality of images of a scene using a moving camera; FIGS. 4 A through 4D are useful in describing a second problem that can arise in connection with generating a mosaic image from a plurality of images of a scene using a moving camera; FIG. 5 A through 5D are useful in describing a third problem that can arise in connection with generating a mosaic image from a plurality of images of a scene using a moving camera; FIGS. 6 and 7 are useful in connection with understanding one methodology used by the system depicted in FIG. 1 in connection with correcting the problem described in connection with FIGS. 5A through 6D; FIG. 8 is a flowchart depicting operations performed by the system in connection with the methodology described in connection with FIGS. 6 and 7; FIG. 9 is useful in connection with understanding a second methodology used by the system depicted in FIG. 1 in connection with correcting the problem described in connection with FIGS. 5 A through 6D; FIG. 10 is a flowchart depicting operations performed by the system in connection with the methodology described in connection with FIGS. 10; FIGS. 11 A through 11C are useful in connection with operations performed by the system in connection with generating a mosaic of panoramic images; and FIG. 12 is a flow chart depicting operations performed by the system in connection with generating mosaic panoramic images. DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT FIG. 1 schematically depicts a system 10 for generating a mosaic image from a series of images recorded by a moving camera, constructed in accordance with the invention. With reference to FIG. 1, system 10 includes a camera 11 that is mounted on a rig 12. The camera 11 may be any type of camera for recording images on any type of recording medium, including, for example, film, an electronic medium such as charge-coupled devices (CCD), or any other medium capable of recording images. The rig 12 facilitates pointing of the camera 11 at a scene 13 to facilitate recording of images thereof. The rig 12 includes a motion control 14 configured to move the camera 11. In moving the camera 11 , the motion control can translate the camera 11 , rotate it around its axis, or any combination thereof. In one embodiment, it will be assumed that the motion control 14 can translate the camera 11 along a path 16 and rotate the camera during translation. While the camera 11 is being moved, it can record images 20(1),..., 20(1) (generally identified by reference numeral 20(i)) of the scene 13 from a series of successive locations along the path 16. The individual images recorded at the successive locations are provided to an image processor 17 for processing into a unitary mosaic image, as will be generally described in connection with FIG. 2. Preferably the successive images 20(i) will overlap, which will facilitate generation of the mosaic image as described below. As noted above, the image processor 17 processes the series of individual images to generate a unitary mosaic image. Operations performed by the image processor 17 in connection with that operation will generally be described in connection with FIG. 2. With reference to FIG.2, the image processor 17 will initially receive two or more images 20(f). Thereafter the image processor 17 will process two individual images, for example, images 20(1) and 20(2) to find overlapping portions 21(1) and 21(2) of the scene generally toward the right and left sides of the respective images 20(1) and 20(2), respectively, and use those corresponding portions 21(1) and 21(2) to align the images 20(1) and 20(2). Given the alignment, portions 21(1) and 21(2) can be defined in images 20(1) and 20(2) such that they can be combined to form a portion of the mosaic image 22. Thereafter, similar operations can be performed in connection with the next image 20(3) in the series and the portion of the mosaic image 22 generated using images 20(1) and 20(2) to further extend the mosaic image 22. These operations can be performed in connection with the remaining images 20(4),..., until all of the images 20(i) have been used to generate the mosaic. Several problems arise in connection with generation of the mosaic image 21 as described above. One such problem will be described in connection with FIGS. 3A through 3D. As noted above, when the image processor 17 processes two successive individual images 20(1) and 20(2) to mosaic them together, or an individual image 20(i) (i>2) and the previously-generated mosaic image 22, it uses overlapping portions to align the respective images 20(1) and 20(2). The problem described in connection with FIGS. 3 A through 3D arises when features that are used to align the individual images do not have a uniform image motion. This problem can, for example, be described in connection with a planar surface that is tilted with respect to the camera 11 , so that, for example, the planar surface is parallel to the path 16 along which the camera is translated, but tilted so that the lower portion of the planar surface is closer to the camera 11 and the upper portion of the planar surface farther away from the camera 11. To provide information for aligning the successive individual images when the mosaic image is generated, the planar surface is provided with a series of equi-distant vertical lines. In that case, each of the individual images will appear as the image 30(i) depicted FIG. 3A, with the vertical lines appearing as slanted lines 31(1) through 31(S) (generally identified by reference numeral 31(s)). Since the lower part of the image 30(i) is of the portion of the planar surface that is closer to the camera 11, and the upper part of the image 30(i) is of the portion of the planar surface that is farther from the camera 11, the vertical lines on the planar surface will be recorded as the slanted lines 31 (s). The perspective due to the tilting of the planar surface causes the lines that are to the left of the center of the image 30(i) to be slanted toward the right and the lines that are to the right of the center to be slanted toward the left in the image 30(i). The distance between locations along the path 16 at which images 30(i), 30(i+l),... are recorded will be such as to allow the portions of the scene recorded in the images to overlap so that, for example, slanted line 31(S-1) in image 30(i+l) corresponds to slanted line 31(2) in image 30(i); otherwise stated, the image motion, or motion of objects in the successive images from image 30(i) to image 30(i+l), is such that line 31(S-1) in image 30(i) corresponds to line 31(2) in image 30(i-l). Conventionally, as described above, when amosaic image 34 is generated using images 30(i) as described above, strips 32(i) from the successive images 30(i) will be used as shown in FIG. 3B. Since line 31(S-1) in image 30(i) corresponds to line 31(2) in the successive image 30(i+l), conventionally in each image 30(i) the strip 33(i) obtained from the image 30(i) for use in the mosaic can be defined by lines 31(2) and 31(S-1) in the image 30(i). Accordingly, when the strips 33(i), 33 (i+1) obtained form the two images 30(i) and 30(i+l) would be aligned to form a mosaic as shown in FIG. 3B, with the resulting mosaic being curled. The strength of the curl is, in the case of a rotating camera, a function of the angle between the viewing direction and the rotation axis, and, in the case of a translating camera, a function of the angle with which the planar surface is tilted with respect to the image plane of the camera 11. As will be described below in greater detail, the problem described above in connection with FIGS. 3A and 3B can be corrected by rectifying the strips 33(i) as shown in FIG. 3C to provide successive rectangular strips 35(i), which, as shown in FIG. 3D, can be mosaiced together to provide a rectified mosaic image 36. Generally, the orientation of the planar surface relative to the image plane of the camera 11 is unknown, but the amount of distortion, if any, that is caused by the orientation can be determined from the optical flow, that is, the change of the position and orientation of respective vertical lines as between successive images. After the amount of distortion has been determined, the image processor 17 can process each of the individual images to correct for the distortion prior to integrating them into the mosaic. Another problem will be described in connection with FIGS . 4 A through 4D . In the situation to be described in connection with FIG. 4, the camera 11 is moving from left to right parallel to a vertical planar surface, and is tilted forward, that is, tilted to the right with respect to the planar surface. In that case, the planar surface is provided with lines running horizontally as well as vertically, and the camera is tilted with respect to the planar surface in such a manner that it points to the right. Accordingly, and with reference to FIG. 4 A, an image 50(i) recorded by the camera, the vertical lines 51(1), 51(2),... will remain vertical, but the horizontal lines 52(1), 52(2),... that are above the horizontal center of the image 50(i) will be angled in a downward direction from left to right, while horizontal lines 52(H), 52(H-1),... that are below the horizontal center of the image 50(i) will be angled in an upward direction from left to right. As is the case in connection with image 30(i) (FIG. 3A), line 51(S-1) in image 50(i) corresponds to line 51(2) in image 50(i+l). Thus, in mosaicing a strip 53(i) from an image 50(i), the strip can be defined by vertical lines 51(2) and 51(S-1) on the left and right sides, and, for example, by lines 52(1) and 52(H) at the top and the bottom, in each image 50(i), 50(i+l),.... It will be appreciated that, in matching a strip 53(i+l) from image 50(i+l) to the left edge of a strip 53(i) from the preceding image 50(i), the strip 53(i+l) will be warped so that the respective horizontal lines 52(1), 52(2),...,52(H-1), 52(H) along the left edge of the strip 53(i) will match the same lines 52(1), 52(2),..., 52(H-1), 52(H) along the right edge of the strip 53(i+l). Accordingly, the mosaic image 54 formed from successive strips will taper from left to right. As shown in FIG. 4C, the image processor 17 can rectify this distortion by rectifying each strip 53(i), 53(i+l),... to form rectangular strips 55(i), 55(i+l), with the rectification being such as to make the lines 52(1), 52(2),..., 52(H-1), 52(H) return to a horizontal orientation and mosaic the rectangular strips together to form the mosaic image 56 (FIG. 4D). A third problem, which generally is a combination of those described above in connection with FIGS. 3A through 3D and 4A through 4D, will be described in connection with FIGS. 5A through 5D. In the problem to be described in connection with FIGS. 5A through 5D, both the planar surface comprising the scene and the camera 11 recording images of the scene may be tilted. As with the planar surface described above in connection with FIGS. 4A through 4D, the planar surface in this case includes a plurality of vertical and horizontal lines. In that case, each image 60(i) as recorded by the camera will as shown in FIG. 5 A, with the region subsumed by the vertical lines 61(1),..., 61 (V) (generally identified by reference numeral 61 (v)) tapering vertically from bottom to top (as is the case in the example described above with reference to FIGS. 3 A through 3D), and the region subsumed by the horizontal lines 62(1),..., 62(H) (generally identified by reference numeral 62(h)) tapering horizontally from left to right. If the motion of camera 11 as between successive images 60(i), 60(i+l),... is such that the vertical line 61(V-1) in image 60(i) corresponds to the same line in the scene 12 as line 61(2) in image 60(i+l) when the image processor 17 mosaics strips from the successive images 60(i), 60(i+l),... it can select as the strip the region of each image bordered by vertical lines 61(1) and 61(2) and horizontal lines 62(1) and 62(H). In that case, if the strip 63(i) for the mosaic image 64 (reference FIG. 5B) is obtained from image 60(i), since the strip 63(i+l) from image 60(i+l) will be warped so that the length of its left edge corresponds to the length of the right edge of strip 63(i), that strip 63(i+l) will be proportionately smaller and disposed at a different angle than the strip 63 (i) in the mosaic image 64. Each subsequent strip 63(i+2),..., will also be proportionately smaller than, and disposed at a corresponding angle to, the previous strip 63(i+l ),..., and so the resulting mosaic image 64 will both be curved and taper from left to right. The image processor 17 can rectify this distortion by rectifying each strip 63 (i) both horizontally and vertically to form a rectangular strip 64(i) (reference FIG. 5C) prior to mosaicing it to the mosaic image 65 (reference FIG. 5D). Details of how the image processor 17 generally rectifies distortion using information from apparent motion in successive images will be described in connection with FIGS. 6 through 8. Generally, as will be appreciated from the above, each strip ..., 70(i-l), 70(i), 70(i+l),... in the mosaic image 71 is obtained from a respective strip ..., 72(i-l), 72(i), 72(i+l),... in successive images ..., 73(i-l), 73(i), 73(i+l),... recorded by the camera 11. To fully define the transformation to be used for the rectification, the image processor 17 will need to define the borders of each strip 70(i) in the mosaic image 71, the borders of the regions in the respective images 73(i) that will comprise for the respective strips 72(i) and the mapping transformation from the strip 72(i) to the strip 70(i). To accomplish that, the image motion between successive pairs of images 73(i-l), 73(i) and 73(i), 73(i+l) is determined. Generally, for image 73(i), the image processor 17 defines the region that is to comprise the strip 72(i) to satisfy three conditions, namely: (i) One border 74(i)(l) of the region should match the border 74(i-l) of the region of image 73(i-l) that is to comprise strip 72(i-l) in the preceding image 73(i-l), which will map to the border 75(i-l) between strips 70(i-l) and 70(i) in the mosaic image 71; (ii) The border 74(i)(2) of the region that is to comprise the strip 72(i), which will map to the border 75 (i) between strips 70(i) and 70(i+l) in the mosaic image 71 , is chosen such that the distance between the two borders 74(i)(l) and 74(i)(2) is proportional to the image motion at each border location; this will ensure that the mosaic image 71 is constructed linearly and not curved; and (iii) The top and bottom borders 76(i) and 77(i) of the region of image 73(i) that is to comprise strip 72(i) should pass through the top and bottom ends of some vertical column in the image 73(i), such as the vertical column at the center of the image 73(i); this will ensure that the strip 70(i) is not expanded or shrunk in the mosaic image 71. The rectangular strips ..., 70(i-l), 70(i), 70(i+l),... in the mosaic 71 have a uniform height to provide a mosaiced image 71 of uniform height and to avoid expanding or shrinking the mosaic image 71 vertically. However, the vertical location of the strip 70(i) in the mosaic image 71 changes according to the vertical motion or tilt of the camera 11. The width of the strip 70(i) is determined by the motion of the scene 12 from image to image. In the case images recorded of a scene comprising a planar surface, or images recorded by a tilted rotating camera, operations performed by the image processor 17 in one embodiment in generating the strip 70(i) to be used in generating the mosaic image 71 will be described in connection with FIG. 7 and the flowchart in FIG. 8. Generally, in the embodiment described in connection with FIGS. 7 and 8, the image processor 17 obtains the strip as defined one side of an vertical anchor. The vertical anchor is a vertical feature in the image that remains invariant under the transformation that warps a strip in the image to a strip in the mosaic. Only transformations that keep the anchor invariant will be considered for warping a strip in the image to a strip in the mosaic. The vertical anchor may be anywhere in the image 73(i), illustratively, the center, the left border, or other column; in the embodiment described in connection with FIGS. 7 and 8, the vertical anchor is selected to be the left border of the image 73(i), and that vertical anchor will also form the left border of the strip 70(i). Another embodiment, in which the strip is defined on two sides of a vertical anchor, will be described below in connection with FIGS. 10 and 11. With reference to FIGS. 7 and 8, the image processor 17 will initially locate the vertical anchor in the image 73(i) (step 100) and identify the points P k and Q k (where index "k" has the same value as index "i") at which the anchor intersects with the top and bottom borders of the image 73 (i) (step 101). Using the homography H k _1 between images 73(i+l) and 73(i), the image processor also maps the points P k+1 and Q k+1 in image 73(i+l) to image 73(i) as points P ~ k and Q ~ , respectively (step 102). It will be appreciated that points P k+I and Q k+1 comprise, respectively, the points at which the anchor in image 73(i+l), that is, the left border of the image 73(i), intersects the top and bottom of that image 73(1+1), and so P ~ k = H, 1 ^,) and Q ~ k Η k , (Q k+1 ). After the image processor 17 has located points P ~ k and Q ~ k , it identifies the line L k passing therethrough (step 103) and then identifies two points P' k and Q' k on the line such that the distance between them along the line L k is the same as the distance between points P ~ k and Q ~ k , and their centroid is in the middle row of the image (step 104). The image processor can determine the region of image 73(i) that is to be used as the strip 72(i) is the quadrilateral defined by points P' k , Q' k , Q k and P k (step 105) and warp the strip to rectangular form using a smooth (for example, bilinear) interpolation of the coordinates of those points, thereby to generate the strip 70(i) (step 106). It will be appreciated that the use of an interpolation is an approximation of the real transformation, which is unknown, but if the strip 72(i) is relatively narrow, the approximation will suffice. Thereafter, the image processor 17 can mosaic the strip 70(i) to the previously-generated mosaic image 71, if any (step 107). In addition, the image processor 17 will determine the vertical offset to be used for the next strip 70(i+l) (step 108). In that operation, the image processor will determine the vertical offset as Q k ~ is the image height. As noted above, a second embodiment, in which the strip is defined on two sides of a vertical anchor, is described in connection with FIGS. 9 and 10. The vertical anchor may be any column in the image 73(i); in one embodiment is selected to be the center column, since that will reduce lens distortion. In this embodiment, the image processor identifies two regions, approximately symmetric on opposing sides of the center column, both of which be warped to form respective portions of the strip 70(i) to be used in the mosaic image 71. With reference to FIGS . 9 and 10, the image processor 17 will initially identify the vertical anchor in the image 73(i) (step 120) and identify the points P k and Q k at which the anchor intersects with the top and bottom borders of the image 73(i) (step 121). Thereafter, the image processor 17 will determine a value for "d," the vertical offset between the point O k _, that comprises the center of the image 73(i-l), that is, the projection of point O k _, in image 73, that is, H k _ι(O k .,) (step 122), where H _, is the homography between image 73(i-l) and image 73(i), and identify two points P' k and Q' k which correspond to points P k and Q k shifted vertically by an amount corresponding to the value "d" (step 123). The image processor 17 will perform operations similar to steps 122 and 123 as between images 73 (i) and 73(i+l) using the homography H k therebetween (step 124). In addition, the image processor 17, using the homography H k _, , maps the points P k _, and Q k _, to image 73(i) as points H k _ ](?,_..,) and H k .,(Q k _,), respectively (step 125), and, using the homography H k _], maps points P' k+1 and Q' k+1 to image 73(i) as points H " ' k (P' k+ ι) and H ~ ' k (Q k+1 ) (step 126). The points H k .,(P k .,), P' k , Q' k , and H k .,(Q k .,) define a left quadrangular region 80(i)(L), and points P k , and Q k define a right quadrangular region 80(i)(R), a portion of each of which will be used in generating respective rectangular portions 81 (i)(L) and 81 (i)(R) that together will be used as the strip for the image 73(i) in the mosaic image 71. Essentially, it will be desired to use left quadrangular region 80(i)(L), along with the right quadrangular region 80(i-l)(R) associated with the previous image 74(i-l), in connection with a rectangular region 81(j) in the mosaic image 71. Similarly, it will be desired to use the right quadrangular region 80(i)(R), along with the left quadrangular region 80(i+l)(L) associated with the next image 73(i+l), in connection with the next rectangular region 81 (j+ 1 ) in the mosaic image 71. The size and shape of the respective rectangular regions is somewhat arbitrary. Since both images 73(i-l) and 73(i) are used to provide half of the image to be used in the rectangular region 81(j), it will be appreciated that the points H^P,,.,), P' k , Q' k , and H^O^) that define the left quadrangular region 80(i)(L) will also relate to the points defining the corners of the rectangular region 81 (j), and it will be necessary to find the points A : , and A 21 that relate to the mid-points of the top and bottom of the rectangular region 81(j), respectively. Accordingly, the portion of quadrangular region 80(i)(L) that will be used in connection with the left- hand portion of strip 70(i) is the quadrangular region 82(i) defined by points A π , P' k , Q' k , and A 2] . Similarly, points P k , H "1 k (P k+1 ), H "] k (Q k -ι) and Q k that define the right quadrangular region 80(i)(R) will also relate to the points defining the corners of the rectangular region 81(j+l), and it will be necessary to find the points A 12 and A 22 that relate to the mid-points of the top and bottom of the rectangular region 81(j+l), respectively. Accordingly, the portion of quadrangular region 80(i)(R) that will be used in connection with the left-hand portion of strip 70(i) is the quadrangular region 83(i) defined by points P k , A 12 A 22 and Q k . The rectangular regions 81(j) and 81(j+l) can both be defined by points UNWX, with points U and V defining the left and right top corners, respectively, and points W and X defining the right and left bottom corners, respectively. In that case the relationship between the left and right quadrangular regions 80(i)(L) and 80(i)(R) will be defined by respective homographies F L and F R . Accordingly, following step 126, the image processor 17 will identify the points A, , , A 2 , , A 12 and A 22 as (step 127), and warp the portion of the quadrangular region defined by points A π , P' k , Q' and A 2] to the right portion of the rectangular region 81 (j) and the portion of the quadrangular region defined by points A I2 , P k , Q k and A 22 to the left portion of the rectangular region 81(j+l) by a smooth (for example, bilinear) interpolation thereby to provide respective rectangular portions 70(i)(L) and 70(i)(R) of the strip 70(i) associated with image 73(i), with the rectangular portion 81(i)(R) being vertically offset from rectangular portion 81 (i)(L) by the value "d" determined in step 122 (step 128). In the system 10 as described above in connection with FIGS. 1 through 10, the camera 11 has been one that records images in a particular direction. As a further aspect of the invention, the image processor 17 can also generate a mosaic of a plurality of panoramic images. Typically, a panoramic image is generated from a plurality of images recorded from a number of angular orientations around a common axis, which images are mosaiced together to provide a single panoramic image of the scene surrounding the axis. The panoramic image so generated is typically the full 360 degree circle surrounding the axis, or a substantial part thereof. The images that are used in generating the panoramic image may be recorded by a single camera that is rotated around the axis to facilitate recording of the images from the requisite plurality of angular orientations, or by a plurality of cameras disposed at the requisite angular orientations. A panoramic image can also be obtained by a single camera with a very wide field of view, which may be provided by a very wide angle lens, a combination of lenses and mirrors, or other arrangements as will be apparent to those skilled in the art. The panoramic image may be cylindrical or alternatively it may be flat. In accordance with this aspect of the invention, the images are recorded to facilitate generation of a plurality of panoramic images recorded at successive locations along the axis, with the panoramic images overlapping such that the image processor 17 can mosaic them together along the direction of the axis. This aspect will be described in greater detail in connection with FIGS. 11 A through 12. With reference to FIG. 11 A, that FIG. schematically depicts a train tunnel 90 having left and right sides 91 and 92, a floor 93 and a ceiling 94. The left and right sides 91 and 92 and the floor are planar surfaces, and the ceiling 94 is arched. A pair of tracks 95 is disposed on the floor to facilitate traversal of the tunnel by a train (not shown). A panoramic camera 96, comprising, for example, a plurality of individual cameras disposed around a common axis 97, which extends generally parallel to the length of the tunnel, records images along the axis from a plurality of angular orientations. The camera 96 is moved along the axis 97 to facilitate recording of images from which a series of panoramic images along the axis 97 can be generated, which series can be processed as described below in connection with FIG. 13, and the processed panoramic images 100(1), 100(2),... mosaiced together to form a single mosaic panoramic image 100 (FIG. 11C). As noted above, the tunnel 90 comprises left and right sides 91 and 92, a floor 93 and a ceiling 94. In the following, it will be assumed that the surface of the ceiling 94 is cylindrical with an axis corresponding to the axis 97. In addition, it will be assumed that the distance from axis 97 to each of the left and right sides 91 and 92 and floor 93 is smallest at the center of the left and right sides and floor, and largest at the corners. In that case, the image motion, that is, the apparent motion of features and objects in the images as between panoramic images will be as depicted in the graph depicted FIG. 1 IB. With reference to FIG. 1 IB, since, for each of the left and right sides 91 and 92 and floor 93, the distance from the axis 97 thereto increases from the center to the two corners, the image motion decreases from the center to the two corners, as shown in left, bottom and right graph segments 101, 102 and 103 in FIG. 1 IB. On the other hand, since, for the ceiling 94, the distance from the axis is constant, the image motion will also be constant, as shown in the top graph segment 104 in FIG. 1 IB. If the internal parameters of the camera 96 are known it will be appreciated that the shape of the tunnel 90, to a scale factor, can readily be determined using the image motion. In addition, given certain other information, such as the distance from the axis 97 to the tracks 95, the scale factor can also be determined. The image processor 17, in generating a mosaic panoramic image 101 from the individual panoramic images 100(1), 100(2),..., will process the individual panoramic images to correct for the differences in the image motion. Operations performed by the image processor 17 in generating a mosaic panorama image 100 will be described in connection with the flow chart in FIG. 11. With reference to FIG. 12, after the image processor 17 has generated or otherwise obtained two successive panoramic images 100(i), 100(i+l) that are to be mosaiced together (step 150), for each column it determines the image motion between the two panoramic images (step 151). The image motion as determined by the image processor 17 may have a motion profile similar to that described above in connection with FIG. 13, with image motion of regions relatively close to the camera being relatively high and image motion of regions further away being relatively low. Thereafter, the image processor 17 normalizes respective columns in each panoramic image 100(i), 100(i+l) by stretching them in relation to the ratio of the image motion associated with that column to the image motion of a pre-selected column (step 152), each column comprising the series of picture elements in the direction parallel to the axis 97. The pre-selected column may be the column with the highest motion, or any other selected column in the panoramic image. Preferably, in performing step 152, the image processor 17 will leave at least one row or set of columns unchanged. If, for example, the image processor 17 does not normalize the columns of the portion of the panoramic image relating to the floor 91, in the resulting mosaic panoramic image the floor will appear to be flat and the ceiling 94 will appear to be curved. On the other hand, if the image processor 17 does not normalize the columns of the portion of the panoramic image relating to the ceiling 94, in the resulting mosaic panoramic image the ceiling will appear to be flat and the floor will appear to be curved. Similarly, if the image processor does not normalize the columns of the portion of the panoramic image relating to the left and/or right sides, in the mosaic panoramic image the left and/or right sides will appear to be flat and both the ceiling and floor will appear to be curved. After the image processor 17 has normalized the respective panoramic images 100(i), 100(i+l) (step 152), it will select parallel strips therein (step 153) and mosaic the parallel strips into the mosaic image 100 (step 154). The system 10 provides a number of advantages. In one aspect, the system provides an arrangement that can generate mosaic images of scenes including tilted surfaces using a translated camera that is pointed toward the scene generally sideways. In this aspect, the camera may be translated in a direction that is parallel to the tilted surface and pointed directly thereat, that is, perpendicular to the translation direction (reference FIGS. 3 A through 3D). Alternatively, and more generally, the camera may be pointed in a direction that is tilted with respect to the direction of motion (reference FIGS. 7 A through 10). In another aspect, the system 10 can generate a mosaic of panoramic images (reference FIGS . 11A through 12) and in connection therewith can determine the shapes of surfaces in the mosaic images. In connection with this aspect, although the system 10 was described as generating a mosaic of panoramic images of a train tunnel, it will be appreciated that the system can generate such a mosaic panoramic image of a variety of kinds of scenes, including but not limited to water or sewer pipes, corridors and hallways, and the like. It will be appreciated that a number of modifications may be made to the system 10 as described above. For example, it will be appreciated that, if the camera 11 is translated, it may be translated in any direction with respect to the scene 13. In addition, although the system 10 has been described as performing operations in connection with a scene 13 that has vertical and/or horizontal lines, it will be appreciated that the operations can be performed in connection with any pattern or set of points that appear along such lines. It will be appreciated that a system in accordance with the invention can be constructed in whole or in part from special purpose hardware or a general purpose computer system, or any combination thereof, any portion of which may be controlled by a suitable program. Any program may in whole or in part comprise part of or be stored on the system in a conventional manner, or it may in whole or in part be provided in to the system over a network or other mechanism for transferring information in a conventional manner. In addition, it will be appreciated that the system may be operated and/or otherwise controlled by means of information provided by an operator using operator input elements (not shown) which may be connected directly to the system or which may transfer the information to the system over a network or other mechanism for transferring information in a conventional manner. The foregoing description has been limited to a specific embodiment of this invention. It will be apparent, however, that various variations and modifications may be made to the invention, with the attainment of some or all of the advantages of the invention. It is the object of the appended claims to cover these and such other variations and modifications as come within the true spirit and scope of the invention. What is claimed as new and desired to be secured by Letters Patent of the United States is:

Claims: CLAIMS 1. A system for generating a mosaic image from a plurality of individual images comprising: A. a quadrangular region defining module configured to define in one individual image a quadrangular region in relation to two points on a vertical anchor in the one individual image and mappings of two points on a vertical anchor in at least one other individual image into said one individual image; B. a warping module configured to warp the quadrangular region to a rectangular region; and C. a mosaicing module configured to mosaic the quadrangular region to the mosaic image. 2. A system as defined in claim 1 in which said two points on said vertical anchor in said one individual image comprise points at which the vertical anchor intersects upper and lower borders of said one individual image. 3. A system as defined in claim 1 in which the warping module is configured to smoothly interpolate between said quadrangular region and said rectangular region. 4. A system as defined in claim 1 in which said quadrangular region defining module includes: A. a first vertical anchor point identifying module configured to identify two points on the vertical anchor in said one individual image; B. a second vertical anchor point identifying module configured to identify two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; C. a first line segment determining module configured to determine a line segment between the two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; and D. a second line segment determining module configured to determine a second line segment along a line defined by the first line segment, the second line segment being such that the distance between the end points corresponds to the distance between the end points of the first line segment and positioned along the line such that the centroid of the end points of the second line segment corresponds to the vertical center of the one image, the quadrangular region corresponding to the two points on the vertical anchor in said one individual image and the end points of said second line segment. 5. A system as defined in claim 4 further including a vertical offset value generating module configured to generate an offset value for use in the mosaicing step for a rectangular region generated for said other individual image. 6. A system as defined in claim 1 in which the quadrangular region defining module is configured to define two quadrangular regions on opposing sides of the vertical anchor, each in relation to mappings of two points on a vertical anchor in at least two other individual images into said one individual image. 7. A system as defined in claim 6 in which the quadrangular region defining module is configured to define a left quadrangular region in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image, and (ii) two points on the vertical anchor in said one individual image, shifted vertically in relation to a vertical offset between the center of the one individual image and the mapping of the center of the left individual image to the one individual image. 8. A system as defined in claim 6 in which the quadrangular region defining module is configured to define a right quadrangular region in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image and (ii) said two points on the vertical anchor in said one individual image. 9. A system of generating a mosaic from a plurality of panoramic images comprising: A. a motion determining module configured to determine image motion between two panoramic images; B . a normalizing module configured to normalize respective columns in said panoramic images in relation to the ratio of the image motion thereof to the image motion of a selected column, thereby to generate normalized panoramic images; C. a strip selection module configured to select strips of the normalized panoramic images; and D. a mosaicing module configured to mosaic the selected strips together. 10. A method of generating a mosaic image from a plurality of individual images comprising the steps of: A. a quadrangular region defining step in which, in one individual image a quadrangular region is defined in relation to two points on a vertical anchor in said one individual image and mappings of two points on a vertical anchor in at least one other individual image into said one individual image; B. a warping step in which the quadrangular region is warped to a rectangular region; and C. a mosaicing step in which the quadrangular region is mosaiced to the mosaic image. 11. A method as defined in claim 10 in which said two points on said vertical anchor in said one individual image comprise points at which the vertical anchor intersects upper and lower borders of said one individual image. 12. A method as defined in claim 10 in which the warping step includes the step of smoothly interpolating between said quadrangular region and said rectangular region. 13. A method as defined in claim 10 in which said quadrangular region defining step includes the steps of: A. identifying the two points on the vertical anchor in said one individual image; B. identifying two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; C. determining a line segment between the two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; and D. determining a second line segment along a line defined by the first line segment, the second line segment being such that the distance between the end points corresponds to the distance between the end points of the first line segment and positioned along the line such that the centroid of the end points of the second line segment corresponds to the vertical center of the one image, the quadrangular region corresponding to the two points on the vertical anchor in said one individual image and the end points of said second line segment. 14. A method as defined in claim 13 further including a vertical offset value generating step in which an offset value is generated for use in the mosaicing step for a rectangular region generated for said other individual image. 15. A method as defined in claim 10 in which the quadrangular region defining step includes the step of defining two quadrangular regions on opposing sides of the vertical anchor, each in relation to mappings of two points on a vertical anchor in at least two other individual images into said one individual image. 16. A method as defined in claim 15 in which the step of defining two quadrangular regions includes a left quadrangular defining step in which a left quadrangular region is defined in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image, and (ii) two points on the vertical anchor in said one individual image, shifted vertically in relation to a vertical offset between the center of the one individual image and the mapping of the center of the left individual image to the one individual image. 17. A method as defined in claim 16 in which the step of defining two quadrangular regions includes a right quadrangular defining step in which a right quadrangular region is defined in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image and (ii) said two points on the vertical anchor in said one individual image. 18. A method of generating a mosaic from a plurality of panoramic images comprising the steps of: A. a motion determining step in which image motion is determined between two panoramic images; B . a normalizing step in which respective columns in said panoramic images are normalized in relation to the ratio of the image motion thereof to the image motion of a selected column, thereby to generate normalized panoramic images; C. a strip selection step in which strips of the normalized panoramic images are selected; and D. a mosaicing step in which the selected strips are mosaiced together. 19. A computer program product for use with a computer to provide a system for generating a mosaic image from a plurality of individual images, the computer program product comprising a machine readable medium having encoded thereon: A. a quadrangular region defining module configured to enable the computer to define in one individual image a quadrangular region in relation to two points on a vertical anchor in said one individual image and mappings of two points on a vertical anchor in at least one other individual image into said one individual image; B. a warping module configured to enable the computer to warp the quadrangular region to a rectangular region; and C. a mosaicing module configured to enable the computer to mosaic the quadrangular region to the mosaic image. 20. A system as defined in claim 19 in which said two points on said vertical anchor in said one individual image comprise points at which the vertical anchor intersects upper and lower borders of said one individual image. 21. A system as defined in claim 19 in which the warping module is configured to enable the computer to smoothly interpolate between said quadrangular region and said rectangular region. 22. A system as defined in claim 19 in which said quadrangular region defining module includes: A. a first vertical anchor point identifying module configured to enable the computer to identify two points on the vertical anchor in said one individual image; B. a second vertical anchor point identifying module configured to enable the computer to identify two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; C. a first line segment determining module configured to enable the computer to determine a line segment between the two points in said one individual image at which the two points on the vertical anchor in said at least one other individual image map to said one individual image; and D. a second line segment determining module configured to enable the computer to determine a second line segment along a line defined by the first line segment, the second line segment being such that the distance between the end points corresponds to the distance between the end points of the first line segment and positioned along the line such that the centroid of the end points of the second line segment corresponds to the vertical center of the one image, the quadrangular region corresponding to the two points on the vertical anchor in said one individual image and the end points of said second line segment. 23. A system as defined in claim 22 further including a vertical offset value generating module configured to enable the computer to generate an offset value for use in the mosaicing step for a rectangular region generated for said other individual image. 24. A system as defined in claim 19 in which the quadrangular region defining module is configured to enable the computer to define two quadrangular regions on opposing sides of the vertical anchor, each in relation to mappings of two points on a vertical anchor in at least two other individual images into said one individual image. 25. A system as defined in claim 24 in which the quadrangular region defining module is configured to enable the computer to define a left quadrangular region in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image, and (ii) two points on the vertical anchor in said one individual image, shifted vertically in relation to a vertical offset between the center of the one individual image and the mapping of the center of the left individual image to the one individual image. 26. A system as defined in claim 25 in which the quadrangular region defining module is configured to enable the computer to define a right quadrangular region in relation to (i) mappings of the two points on the vertical anchor in a left individual image into said one individual image and (ii) said two points on the vertical anchor in said one individual image. 27. A system of generating a mosaic from a plurality of panoramic images comprising: A. a motion determining module configured to enable the computer to determine image motion between two panoramic images; B. a normalizing module configured to enable the computer to normalize respective columns in said panoramic images in relation to the ratio of the image motion thereof to the image motion of a selected column, thereby to generate normalized panoramic images; C. a strip selection module configured to enable the computer to select strips of the normalized panoramic images; and D. a mosaicing module configured to enable the computer to mosaic the selected strips together.

Inventors: ARORA CHETAN, MIYAZAWA TAKEO, PELEG SHMUEL, ZOMET ASSAF, ARORA, CHETAN, MIYAZAWA, TAKEO, PELEG, SHMUEL, ZOMET, ASSAF
Applicants: EMAKI INC, HEBREW UNIVERSITY OF JERUSALEM, EMAKI, INC.
Application year: 2000
Main classification: G06T
IPC codes: G06T3, G06T13, H04N1, H04N5, H04N7