USPatent applicationPatented

Image connecting method, image connecting apparatus, and storage medium storing an image connecting program

Granted 21 May 2002 · 1 office action

Current assignee: Sony Corporation · originally Sony Group Corporation

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Takashi Totsuka, Kyoko Nakamura, Mitsuharu Ohki · Examiner: Jeffery Brier · AU 2672 · TC 2600

Application· this page
9249566
filed 9 Feb 1999
Publication
Not published
not published
Patent
US 6,392,659
granted 21 May 2002

Life of the application

7 dated events
⤢ drag to zoom2000200220042006200820102012201420162018ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

The invention provides an image connecting method, an image connecting apparatus, and a storage medium on which an image connecting program is stored, for connecting a first image and a second image such that particular connecting areas are determined for the first image and the second image and the first and second images in the connecting areas are combined together thereby connecting the first and second images into a single image including no unnatural parts. The first image and the second image are decomposed into frequency components. The connecting area is determined for each frequency component such that the connecting area becomes narrower with the increase in the frequency of the frequency component, and the first and second images are combined in the connecting area for each frequency component. After that, particular partial images in the first and second images are designated. The designated partial images are extracted from the first or second image, and extracted partial images are overwritten on the connecting part.

Description

9 parts
›BACKGROUND OF THE INVENTION · 1 of 2

1. Field of the Invention

The present invention relates to an image connecting method, an image connecting apparatus, and a storage medium on which an image connecting program is stored, for connecting first and second images to each other in such a manner that a particular connecting area is determined for the first and second images and the first and second images are combined together in the connecting area.

2. Description of the Related Art

When first and second signals are given, for example, as shown in FIG. 13, one known technique of creating a third signal which smoothly connects the former two signals is to calculate the weighted sum. A specific method of connecting signals based on this weighting addition is disclosed for example in a paper entitled “A Multiresolusion Spline With Application to Image Mosaics” (Peter J. Burt, ACM Transaction on Graphics, Vol. 2, No. 4, October, 1983, pp. 217-236).

In the signal connecting technique disclosed in the paper cited above, first and second signals are connected in a particular area which is variable depending on frequency components. More specifically, the first and second signals are connected in a narrow connection area for high-frequency components, while the first and second signals are connected in a wide connection area for low-frequency components. Furthermore, in this technique disclosed in the above paper, weighted sums are calculated for respective frequency components to connect the first and second signals.

The method of connecting first and second signal at a particular frequency (for example ω)) according to this technique is described below with reference to FIG. 14 .

In FIG. 14, A(t) denotes a function representing a frequency component of the first signal at frequency ω. B(t) denotes a function representing a frequency component of the second signal at frequency ω. The components of the first and second signals at frequency ω are connected to each other in the connecting range of t=−T to T. As described above, the connecting range varies depending on the frequency ω.

A third signal, via which the frequency component A(t) of the first signal at frequency ω and the frequency component B(t) of the second signal at frequency ω are connected, is determined over the connecting range such that the third signal has a frequency component C(t) given by the following equation:

C ( t )={1−α( t )}× A ( t )+ a ( t )× B ( t )

where α(t) is a monotonically increasing function which has a value 0 at t=−T and 1 at t=T. Herein, C(t) is defined within the connecting range from t=−T to T.

The overall signal D(t) resulting from the connection of the components at frequency ω becomes as follows:

D(t)=A (t) for t≦−T,

D(t)=C (t) for −T<t<T, and

D(t)=B (t) for T<t.

The method of connecting the first and second signals has been described above for the particular component at frequency ω. In the technique disclosed in the above-cited paper, a similar calculation is performed for all frequency components and resultant signals are all added together to obtain a final result representing a connected signal.

In this signal connecting technique, as can be seen from the above discussion, DC components (components at an extremely low frequency) are connected to each other via a gradually varying signal in a wide connecting range thereby preventing a conspicuous abrupt change which would appear if the connection were performed in a narrow connecting range. On the other hand, high-frequency components are connected to each other in a narrow connecting range via a signal efficiently generated from the original first and second signals A(t) and B(t).

Although the signal connecting method has been described above with reference to an one-dimensional signal, this signal connecting method can also be applied to a two-dimensional signal such as an image signal.

The above-described signal connecting method is discussed further for the case where the signal connecting method described above is used to connect images including a large number of parts having extremely different aspect ratios, as is the case in an image of hairs.

For example, let us assume that a first image 101 including a plurality of hairs as shown in FIG. 15A and a second image 102 including, as shown in FIG. 15B, a plurality of hairs different from those of the first image 101 are connected to each other such that these two images are overlapped in a particular connecting area and a third image 103 is generated as shown in FIG. 15 C.

In this connecting process, the first image 101 and the second image 102 are decomposed into frequency components and connecting ranges are determined for the respective frequency components. For high-frequency components, a narrow connecting range is set near the center within the maximum connecting range and the weighted sum of the frequency components is calculated over this narrow range so that the first and second images 101 and 102 are connected to each other via the signal given by the resultant weighted sum. For low-frequency components, a connecting range occupying a wider range within the maximum connecting range is set and the weighted sum of the frequency components is calculated over this wide connecting range so that the first and second images 101 and 102 are connected to each other via the signal given by the resultant weighted sum.

The resultant frequency components are all added together so as to create a third image 103 which is an overall image in which the first image 101 and the second image 102 are combined. Although only two ranges, that is, a “narrow connecting range” for a high-frequency component and a “wide connecting range” for a low-frequency component are shown in FIG. 15C, various ranges for middle frequency components are set in addition to the above two ranges, in a practical connecting process.

Now, let us assume that the plurality of hairs in the first image 101 include one conspicuous hair 104 . Herein, the “conspicuous hair” refers to such a hair having a conspicuous edge caused by peculiar illumination or reflection of light. Such a conspicuous hair 104 includes a lot of high-frequency components.

›BACKGROUND OF THE INVENTION · 2 of 2

For the conspicuous hair 104 , the connection between the first image 101 and the second image 102 is performed in a narrow range because it includes a lot of high-frequency components. As a result, in the resultant combined third image 103 , the conspicuous hair 104 disappears near the center of the connecting range as shown in FIG. 15 C.

Herein, let us assume that the plurality of hairs in the second image 102 also include one conspicuous hair 105 . This conspicuous hair 105 also include a lot of high-frequency components.

Also for the conspicuous hair 105 including such a lot of high-frequency components, the first image 101 and the second image 102 are connected to each other in a narrow range, and thus the conspicuous hair 105 in the resultant combined third image 103 disappears near the connecting range as shown in FIG. 15 C.

Thus, in the resultant third image 103 obtained by connecting the two images of hairs overlapped in the particular range, conspicuous hairs such as a hair 104 extending from the left disappear near the center and conspicuous hairs such as a hair 105 extending from the right also disappear near the center. As a result, the third image 103 becomes unnatural in that there is no hair extending across the central area.

As described above, when a conspicuous object such as a hair is included in both images to be connected, if the two images are connected to each other according to the above signal connecting technique, the resultant image becomes unnatural in that the conspicuous object disappears near the center of the connecting area.

Now, let us assume that the first image 101 is a blurred image of hairs and that the second image 102 is a high-density image of hairs. If these two images are connected into a third image 103 , the third image 103 becomes unnatural in that the left-side part is a blurred image and the right-side part is a high-resolution image.

As described above, if two signals having different resolutions are connected to each other using the above-described conventional signal connecting technique, the resultant image becomes unnatural.

Another problem is that there is no available storage medium storing a processing program used by a computer to perform a signal connecting process.

In view of the above, it is an object of the present invention to provide an image connecting method, an image connecting apparatus, and a storage medium on which an image connecting program is stored, for connecting first and second images to each other in such a manner that a particular connecting area is determined for the first and second images and the first and second images are combined together in the connecting area into a natural image including no unnatural parts.

›SUMMARY OF THE INVENTION

According to an aspect of the present invention, there is provided a method of connecting first and second images to each other, the method comprising: a connection step in which particular connecting areas are determined for the first image and the second image and then the first and second images in the connecting areas are combined together thereby connecting the first and second images to each other; a selection step for selecting a partial image of the first image; and an overwrite step for extracting the selected partial image from the first image and overwriting the extracted partial image on a connecting part produced in the connection step.

According to another aspect of the present invention, there is provided an image connecting apparatus for connecting a first image and a second image to each other, the apparatus comprising: connection means by which particular connecting areas are determined for the first image and the second image and then the first and second images in the connecting areas are combined together thereby connecting the first and second images to each other; selection means for selecting a partial image of the first image; and overwrite means for extracting the selected partial image from the first image and overwriting the extracted partial image on the connecting part produced by the connection means.

According to still another aspect of the present invention, there is provided an information providing medium for providing an image connecting program for connecting a first image and a second image to each other, the image connecting program comprising: a connection process in which particular connecting areas are determined for the first image and said second image and then said first and second images in the connecting areas are combined together thereby connecting the first and second images to each other; a selection process for selecting a partial image of the first image; and an overwrite process for extracting the selected partial image from the first image and overwriting the extracted partial image on the connecting part produced in the connection process.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A, 1 B, 1 C and 1 D illustrate first and second images to be connected according to an image connecting method of an embodiment of the invention, and also illustrates third and fourth images produced by the image connecting method;

FIG. 2 illustrates first and second signals to be connected according to the image connecting method;

FIGS. 3A and 3B illustrate a particular frequency component of the first signal and that of the second signal and also illustrates a particular frequency component of a third signal via which the first and second signals are connected;

FIG. 4 is a block diagram of an image connecting apparatus for performing an image connecting process according to a processing program which is based on the image connecting method of the invention and which is stored in a memory;

FIG. 5 is a flowchart illustrating the process performed by the image connecting apparatus;

FIG. 6 illustrates an image of a first person photographed on a street, wherein the image of the first person is to be connected according to the image connecting method of the invention;

FIG. 7 illustrates a photographed image of a second person, to be connected according to the image connecting method of the invention;

FIG. 8 illustrates an image produced by removing a face part of the image from the image of the first person, photographed on the street, to be connected according to the image connecting method of the invention;

FIG. 9 illustrates an image produced by removing all parts other than the face from the photographed image of the second person to be connected according to the image connecting method of the invention;

FIG. 10 illustrates an image produced by combining the image of the face of the second person with the image of the first person photographed on the street;

FIG. 11 is a flowchart illustrating an overwrite process in the image connecting process according to the image connecting method of the invention;

FIG. 12 illustrates an image associated with the overwrite process;

FIG. 13 illustrates first and second signals to be connected according to a conventional signal connecting method and also illustrates a third signal via which the first and second signals are connected;

FIG. 14 illustrates a particular frequency component of the first signal and that of the second signal to be connected according to the conventional signal connecting method and also illustrates a particular frequency component of the third signal via which the first and second signals are connected; and

FIGS. 15A, 15 B, and 15 C illustrate an image which is produced according to the conventional signal connecting method but which includes an unnatural part.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 5

The image connecting method according to the present invention is described in further detail below with reference to preferred embodiments in conjunction with the accompanying drawings.

In a preferred embodiment, by way of example, two images including parts with extremely different aspect ratios, such as images of hairs, are connected to each other according to the image connecting method of the invention. More specifically, a particular connecting area is defined for a first image 1 including a plurality of hairs shown in FIG. 1 A and also for a second image 2 , shown in FIG. 1B, including a plurality of hairs different from those of the first image 1 , and the first image 1 and the second image 2 are connected to each other by combining them in the connecting area.

In this image connecting method, the first image 1 and the second image 2 are connected by performing the following two processes: a first process or a connecting image generation process; and a second process or an overwrite process, which will be described in detail later. Furthermore, in this image connecting method, a filtering process is performed as required before the connecting image generation process.

The first process, that is, the connecting image generation process is described first.

In this connecting image generation process, the first image 1 and the second image 2 are connected to each other using the above-described technique disclosed in “A Multiresolusion Spline With Application to Image Mosaics” (Peter J. Burt, ACM Transaction on Graphics, Vol. 2, No. 4, October 1983, pp. 217-236).

That is, in this connecting image generation process, the first image 1 and the second image 2 are decomposed into frequency components, and different connecting areas are defined for respective frequencies. For high-frequency components, a narrow connecting range is set near the center within the maximum connecting range and the weighted sum of the frequency components is calculated over this narrow range so that the first and second images are connected to each other via the signal given by the resultant weighted sum. For low-frequency components, a connecting range occupying a wider range within the maximum connecting range is set and the weighted sum of the frequency components is calculated over this wide connecting range so that the first and second images are connected to each other via the signal given by the resultant weighted sum.

The resultant frequency components are all added together so as to create a third image 3 which is an overall image in which the first image 1 and the second image 2 are combined.

In the third image generated by the above-described connecting image generation process, conspicuous hairs including large amounts of high-frequency components disappear near the center of the connecting area as shown in FIG. 1 C.

In the connecting image generation process, two-dimensional signals may be decomposed into one-dimensional signals, and the resultant one-dimensional signals may be processed according to the signal connecting method described below so as to create a third image 3 in which the first image 1 and the second image 2 are combined.

In FIG. 2, F(t) and G(t) denote first and second signals, respectively, which are to be connected into a third image 3 according to the signal connecting method. The first signal F(t) is defined in the range t≦T and the second signal G(t) is defined in the range −T≦t.

Therefore, the first signal F(t) and the second signal G(t) have an overlapping range −T<t<T. Herein, the overlapping range corresponds to the above-described connecting range for connecting the first image 1 and the second image 2 .

A third signal H(t) defined in the range −T<t<T is created according to the signal connecting method. Thus, the overall combined signal produced according to this signal connecting method is given by:

F(t) for t≦−T,

H(t) for −T<t<T, and

G(t) for T≦t.

Herein, the third signal H(t) is created as follows.

First, a Fourier transform is performed on the first signal F(t) so as to determine frequency components thereof. That is, the frequency component of the first signal F(t) at frequency ω is given by A ω ,(t)=P ω ×cos(ω×t+θ ω ) wherein P ω is the amplitude of the component at frequency ω of the first signal F(t) and θ ω is the phase of that component. If A ω (t) is added together for all ω, then the first signal F(t) is obtained.

Similarly, frequency components of the second signal G(t) are determined by means of Fourier transform. That is, the frequency component of the second signal G(t) at frequency ω is given by B ω (t)=Q ω ×cos(ω×t+φ ω ) wherein Q ω is the amplitude of the component at frequency o of the second signal G(t) and φ ω is the phase of that component. If B ω (t) is added together for all ω, then the second signal G(t) is obtained.

After that, a connecting range is determined for each frequency ω. The connecting range for the DC component and the component at the lowest frequency (ω 1 ) is determined as from −T to T. For the other components (at frequency ω), the connecting range is given by the range from −T×ω 1 /ω to T×ω 1 /ω. As can be seen, in this signal connecting method, the connecting range varies depending on the frequency component.

Subsequently, a function C ω corresponding to each frequency component (ω) is determined from the frequency components of the first and second signals obtained by means of the Fourier transform.

For ω=0 (that is, for the DC component), the function C ω (t) is given by:

[DC component of F ( t )]×{1−β( t/T )}+[DC component of G ( t )]×β( t/T )

where β(y) is a monotonically increasing function having a value of 0 at y=−1 and 1 at y=1. A specific example of β(y) is β(y)=0.5×(y+1) or β(y)=[(y ⅓ )/2]+0.5.

The function C ω for the other frequency components (ω) other than the DC component is given as follows.

First, a function U(ω) defined as U(ω)=T×ω 1 /ω is introduced. Herein, another proper function which decreases with ω may also be employed as U(ω).

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 5

Then, the function C ω (t) is given by:

C ω ( t )= A ω ( t ) for − T<t≦−U (ω),

C ω ( t )= B ω ( t ) for U (ω)≦ t<T , and

C ω ( t )=[ P ω ×{1−β( t/U (ω))}+ Q ω β( t/U (ω))]×cos(Ω× t +δ) for − U (ω)< t<U (ω)

where Ω and δ are parameters which vary depending on ω and which satisfy the following two equations:

cos{Ω×(− U (ω))+δ}=cos{ω×(− U (ω))+θ ω }

and

cos(Ω× U (ω)+δ)=cos(ω× U (ω))+φ ω )

There are a plurality of combinations of Ω and δ which satisfy the above two equations, because trigonometric functions are periodic functions with a period of 2π. Herein, a value of Ω closest to ω is employed.

The functions A ω (t), B ω (t), and C ω (t) are shown in FIGS. 3A, 3 B an 3 C, wherein the functions shown in FIG. 3A are for ω≈0 (that is, AC components) and the functions shown in FIG. 3B are for ω=0 (that is, DC component).

After determining the function C ω (t) for the respective frequency components, the sum of C ω (t) for all ω is determined. The result gives the third signal H(t).

According to the procedure described above, the third signal H(t) can be generated.

The function C ω (t) is smoothly connected to A ω (t) at t=−T. The function C ω (t) is also connected smoothly to B ω (t) at t=T.

At any point in the connecting rage (from −U(ω)) to U(ω), the function C ω (t) has a frequency Ω (with a value close to ω) and has an amplitude with a value between P ω and Q ω .

Therefore, the function C ω (t) can be produced such that the amplitude does not become 0 at any point.

Furthermore, the connecting range (from −U(ω) to U(ω)) becomes narrow with the increasing frequency.

As described above, in the connecting image generation process, that is the first process of the image connecting method according to the present embodiment, the third image 3 , in which the first image 1 and the second image 2 are combined, may be generated using the signal connecting method described above.

Now, the second process, that is, the overwrite process, is described below.

At a first step of this overwrite process, one or more conspicuous hairs in the original first image 1 shown in FIG. 1A are designated. Herein, these are referred to as first partial data 6 and 7 . Similarly, one or more conspicuous hairs in the original second image 2 shown in FIG. 1B are designated. These are referred to as second partial data 8 and 9 .

More specifically, if the user finds out conspicuous hairs in the first image 1 or the second image 2 displayed, the user designates those hairs with a mouse or the like.

The first partial data 6 and 7 and the second partial data 8 and 9 are extracted from the first image 1 and the second image 2 , respectively, by means of image processing. The extracted data are then overwritten on the third image 3 , shown in FIG. 1C, which has been generated in the first process or the connecting image generation process. Thus, via the overwrite process, the third image 3 becomes a fourth image 4 which includes, as shown in FIG. 1D, the conspicuous hairs written on the basis of the first data 6 and 7 and the second partial data 8 and 9 at locations where they disappear in the third image 3 .

According to the image connecting method of the present embodiment, as described above, the connecting image generation process and the overwrite process are performed so as to obtain a naturally connected image without generating an unnatural part such as a conspicuous object disappearing near the center of the connecting area even when conspicuous objects such as conspicuous hairs are included in the original first image 1 and the second image 2 which are connected to each other.

Now, the filtering process is described above.

As described earlier, the filtering process is performed as required before the connecting image generation process.

Herein, let us assume that the second image 2 has a higher resolution than the first image 1 . If a fourth image 4 is generated from such first and second images 1 and 2 by means of the connecting image generation process and the overwrite process described above, then the resultant fourth image includes a low-resolution part on the left side (corresponding to the first image 1 ) and a high-resolution part on the right side (corresponding to the second image 2 ). As a result, the fourth image 4 becomes unnatural. To avoid the above problem, the filtering process is performed as required.

In the filtering process, the first image 1 is subjected to the Fourier transform so as to determine the frequency band of the first image 1 . Then the second image 2 is passed through a lowpass filter which passes only the frequency components within the frequency band determined above. Herein, the resultant signal obtained by passing the second image through the filter is referred to as a fifth image. This fifth image has a frequency band equal to that of the first image 1 . That is, the fifth image is equal in resolution to the first image.

After that, a fourth image 4 is generated from the first image 1 and the fifth image 5 by means of the connecting image generation process and the overwrite process described above. Thus, according to the image connecting method of the present embodiment, it is possible to generate an image having the same resolution for the left and right sides of the combined image and including no unnatural parts.

Although in the specific example described above, the filtering process is performed before the connecting image generation process, the filtering process may also be performed on the entire fourth image 4 after the overwrite process.

An image connecting apparatus, which performs processes according to a processing program based on the above-described image connecting method, is now described below.

FIG. 4 is a block diagram illustrating the construction of an image connecting apparatus for performing the above-described processes.

The image connecting apparatus 10 includes a processing circuit 11 , a program memory 12 for storing a processing program used by the processing circuit 11 , a data memory 13 for storing data used in the process, a frame memory 14 for storing image signals to be connected and also a resultant image signal obtained by the connecting process, an image display device 15 for displaying the image signal stored in the frame memory 14 , an input device 16 including a mouse and a keyboard, an input/output terminal 17 via which the image signals to be connected are input and the resultant combined signal is output, and a bus 18 for connecting various circuits so that the program and the data are transmitted among the circuits.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 3 of 5

The image connecting apparatus 10 connects the first image 2 and the second image 2 by performing the process shown in the flowchart of FIG. 5 .

First, two images (the first image 1 and the second image 2 ) to be connected are input to the image connecting apparatus via the input/output terminal 17 . The input image signals are stored in the data memory 13 .

When the two image signals are input to the data memory 13 , a user designates, via the input device 16 , in step S 1 , whether the filtering process should be performed or not. When the filtering process is required, the process goes to step S 2 . Otherwise, the process goes to step S 3 .

In the following step S 2 , the first image signal 1 and the second image signal 2 stored in the data memory 13 are supplied to the processing circuit 11 . The processing circuit 11 performs a Fourier transform on the first image signal 1 and determines the maximum frequency of the first image signal 1 . After that, the second image signal 2 is passed through the lowpass filter which can pass only the frequency components lower than the maximum frequency determined above. The resultant signal is stored, as a new second image signal 2 , into the data memory 13 . Then the process goes to step S 3 .

In step S 3 , the first image signal 1 and the second image signal 2 stored in the data memory 13 are supplied to the processing circuit 11 . The processing circuit 11 generates a third image signal 3 by performing the first process, that is, the connecting image generation process.

In the following step S 4 , the input first image 1 and second image 2 and also the third image 3 generated in step S 3 are displayed on the image display device 15 so that the operator can see them. That is, the first image signal 1 , the second image signal 2 , and the third image signal 3 stored in the data memory are copied into the frame memory 14 and displayed on the image display device 15 .

In the next step S 5 , the operator designates a part to be overwritten while monitoring the image displayed. The information about the position of the designated part is supplied to the processing circuit 11 via the input device 16 . At the same time, the first image signal 1 , the second image signal 2 , and the third image signal 3 stored in the data memory 13 are also supplied to the processing circuit 11 . The processing circuit 11 extracts the partial data (first partial data 6 , 7 or second partial data 8 , 9 ) corresponding to the position of the designated part from first image signal 1 or the second image signal 2 . The processing circuit 11 then overwrites the extracted partial data on the third image signal 3 thereby generating a fourth image signal 4 . The fourth image signal 4 obtained via the overwrite process is stored into the data memory 13 .

Finally, in step S 6 , the fourth image signal 4 stored in the data memory 13 is output via the input/output terminal 17 . Thus the entire process is complete.

By performing the above-described steps S 1 to S 6 , the image connecting apparatus 10 can generate a combined image in a natural fashion with no parts disappearing near the center of the connecting area even when the original first image 1 and the second image 2 connected to each other include an object having a conspicuous edge such as a conspicuous hair.

A processing program corresponding to steps S 1 to S 6 described above may be stored on a storage medium and a computer may perform the signal connecting process according to the program stored on the storage medium.

Examples of applications of the image connecting method according to the above-described embodiment are described below.

Herein, let us assume that a photographed image 40 of a second person is combined into an image 30 of a first person photographed on a street. The process of combining such images is described below with reference to FIGS. 6 to 10 .

As shown in FIG. 6, the photographed image 30 includes a first image of a person 31 and a background 32 including a building. The first image of the person 31 includes a hair image 33 and a face image 34 . On the other hand, the photographed image 40 includes, as shown in FIG. 7, an image of a person 41 including a hair image 42 and a face image 43 .

In the case where the first image of the person 31 is replaced with the second image of the person 41 , the face image 34 of the first image of the person 31 is first removed from the photographed image 30 . FIG. 8 shows the resultant image 50 consisting of the background 32 and an outer part 33 - 1 of the hair image 33 of the first image of the person 31 . At the same time, an outer part of the hair image 43 is removed from the second image of the person 41 so as to obtain a resultant image 60 including, as shown in FIG. 9, the face image 43 and the remaining inner part of the hair image 42 - 1 . In FIGS. 8 and 9, the removed parts are denoted by diagonally shaded areas. The part to be removed is designated, for example, by a user. In the above removal process, the designation of the part to be removed is performed such that there is an overlapping area between the outer part 33 - 1 of the hair image of the remaining photographed image 50 and the inner part 42 - 1 of the hair image of the remaining photographed image 60 .

The remaining photographed image 50 shown in FIG. 8 and the remaining photographed image 60 shown in FIG. 9 are connected to each other in the overlapping area using the image connecting method according to the embodiment of the invention.

In the above process, the partly-removed image 50 shown in FIG. 8 is employed as the first image 1 , the partly-removed image 60 shown in FIG. 9 is employed as the second image, the overlapping area between the remaining part shown in FIG. 8 and the remaining part shown in FIG. 9 is employed as a connecting area, and the connection is performed according to the image connecting method described above.

FIG. 10 shows a resultant image 70 obtained by combining the photographed image 30 of the first person on the street and the photographed image 40 of the second person.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 4 of 5

In the image connecting method according to the present invention, as described above, the connecting image generation process is performed as the first process such that the first image 1 and the second image 2 are decomposed into frequency components and then the images are connected for each frequency component. This may be accomplished according to the method disclosed in the above-described paper by Peter J. Burt or according to the method described above with reference to FIGS. 2 and 3A and 3 B.

In the subsequent second process, the overwrite process is performed on the third image 3 produced in the first process. In this overwrite process, for example, a conspicuous hair is designated by the operator, and the designated hair is overwritten on the third image 3 . Thus, a fourth image 4 is finally obtained.

In the above-described image connecting method according to the present embodiment, a conspicuous hair for example is overwritten so as to obtain a natural image. That is, in the overwrite process, the image of the conspicuous hair is combined with the third image 3 . In this process, the data representing the conspicuous hair in the first image 1 or the second image is completely overwritten on the third image 3 and the original data corresponding to the conscious hair in the original third image 3 is discarded. The data of the other parts in the third image 3 remains unchanged. In this overwrite process, there is a possibility that the boundary between the overwritten part and the other parts becomes conspicuous and thus the overwritten hair becomes particularly conspicuous. That is, there is a possibility that the overwritten part does not match the third image 3 . The poor matching between the overwritten part and the third image 3 can be improved to obtain a more natural image, by improving the second process as follows.

That is, in step S 5 shown in FIG. 5, the overwrite process is performed in the manner as described in the flowchart of FIG. 11 .

In the overwrite process shown in the flowchart of FIG. 11, at first step SS 1 , as in the overwrite process described earlier, the operator designates a particular part to be overwritten while monitoring the image displayed. For example, the operator designates a conspicuous hair X in the displayed first image 1 as shown in FIG. 12 . In FIG. 12, to provide an easier understanding, one hair X is drawn in an enlarged fashion. Although only one hair is designated herein for simplicity of illustration, the process described herein may also be employed when a plurality of hairs are designated.

In the next step SS 2 , α values for the edge of the hair designated in step SS 1 are set to 0.5.

In the following step SS 3 , α values for those points which are located outside the hair X and which are one pixel apart from the edge of the hair x are set to 0.25 and α values for points farther apart are set to 0.

Furthermore, in step SS 4 , α values for those points which are located inside the hair X and which are one pixel apart from the edge of the hair X are set to 0.75 and α values for points farther apart are set to 1.

In steps SS 2 to SS 4 described above, α values for the hair X designated in step SS 1 , that is the part to be overwritten, are set depending on the points in the image, as shown in FIG. 12 .

In step SS 5 , for each point of the image, the following value is calculated: [(data at that point of the first image 1 )×α]+[(data at that point of the third image 3 )×(1×α). The calculation result is employed as the data at that point for the fourth image 4 .

Thus, the improved overwrite process is performed.

In the overwrite process in step S 5 shown in FIG. 5, some part of the third image is completely overwritten while the other parts of the third image are not overwritten at all.

In contrast, in the overwrite process shown in the flowchart of FIG. 11, the data, in the fourth image 4 , at pixels along the edge of the hair X designated by the user as the part to be overwritten is determined by calculating the weighted sum of the data at the corresponding pixels of the third image 3 and the data at the corresponding pixels of the first image 2 wherein a is employed as the weighting factor. That is, the third image 3 and the first image 1 are combined by means of a soft key. In this case, the third image 3 is connected to the first image via the gradually varying boundary part so that the boundary part becomes inconspicuous. Thus, the resultant fourth image 4 obtained via the above overwrite process has a smooth boundary between the overwritten part and the other part and includes no unnatural part.

Although in the above description, the conspicuous hair in the first image 1 is dealt with, a conspicuous hair in the second image 2 may also be processed in a similar manner.

Furthermore, in the above description, the transition area in which a has a value between 0 and 1 is defined as such an area one pixel apart from the boundary. Alternatively, the transition area may also be defined as an area a greater number of pixels apart from the boundary. The number of pixels which define the transition area may be designated by the operator during the process. This makes it possible to produce a fourth image 4 in more natural fashion, which is obtained as a result of the overwrite process.

Although in the above description, the image of hair is dealt with, the present invention may also be applied to any other image. In particular, the present invention is useful to connect photographed images including a large number of parts having extremely different aspect ratios.

As described above, the present invention has various advantages. That is, in the image connecting method, the image connecting apparatus, and the storage medium on which the image connecting program is stored, according to the present invention, a particular partial image is extracted from the first or second image and the extracted partial image is overwritten on the image produced by connecting the first and second images to each other.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 5 of 5

Even when an object having a conspicuous edge is included in the two images connected to each other, the two images can be connected into a single image in a natural fashion without producing an unnatural part such as a conspicuous object which disappears near the center of the connecting area.

Claims as granted

21 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

7 codes
IPC · International Patent Classification
Section G — Physics
  • G06T3/00
  • G06T11/60
Section H — Electricity
  • H04N1/387
  • H04N1/40
  • H04N5/265
USPC · US Patent Classification
345/630345/634

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 1999Jul 1999Jan 2000Jul 2000Jan 2001Jul 2001Jan 2002Jul 2002USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
3.3 y
1,197 days filing → grant
Office actions
1
non-final + final
Responses
2
no RCE
Examiner
Jeffery Brier
art unit 2672 · TC 2600
Citations: 23 back · 4 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2000200220042006200820102012201420162018Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock