1. Field of the Invention
The present invention relates to an image processing apparatus capable of associating a subject at a high speed when a plurality of images are combined.
2. Description of the Related Art
The conventional image processing method is described below with reference to
For example, assume that the images as shown in
It is necessary to associate images with each other with high accuracy when a panoramic image is generated, the resolution of an image is enhanced, noise is to be reduced, etc. by combining a plurality of images. However, with increasing complexity of arithmetic operations on multi-pixel images to be processed after the improvement of performance of a digital camera etc., a high-speed processing method is demanded.
The following patent documents relate to the conventional image combining methods. The patent document 1 discloses a technique of matching images by a wavelet variable template matching method. The patent document 2 discloses a camera shake correcting method using low-resolution images. The patent document 3 discloses a technique of extracting and associating feature points of graphic data with each other at each hierarchical level corresponding to the resolution of a display device when the graphic data is displayed. The patent document 4 discloses a technique of an image reconstruction apparatus using the positions and shapes of feature points having different resolutions.
The present invention aims at providing an image processing apparatus capable of associating images with each other at a high-speed with high accuracy although the images are multi-pixel images.
The image processing apparatus according to the present invention combines two images by superposing one on the other, and includes: a reduced image generation device for generating reduced images from original images to be superposed one on the other; an expectation value map generation device for calculating a feature value using a predetermined operator filter for each pixel of an original image of an image to be superposed, dividing a feature value of each pixel into blocks corresponding to the resolution of the reduced image, and generating an expectation value map in which an expectation value of a feature value is registered; a feature point extraction device for extracting a feature point from the expectation value registered in the expectation value map; and a superposition device for superposing reduced images of original images to be superposed one on the other using the feature points, extracting a feature point in an original image corresponding to the feature point from a result of the superposition, and superposing the original images one on the other.
According to the present invention, an expectation value map is generated on the basis of an original image. Therefore, the map includes the information about the original image. The resolution of the expectation value map corresponds to a reduced image, and a feature point is extracted using the image. Therefore, the feature point of the reduced image can be extracted with the information about the original image maintained, and no feature point is lost between the original image and the reduced image. Although control is passed from a reduced image to an original image, the correspondence between the original image and the reduced image can be detected only by searching the surroundings of the original image corresponding to the feature point of the reduced image, thereby reducing the process load.
The basic configuration of a mode for embodying the present invention is described below with reference to
In the method (prior art 1) of extracting a feature point of a reduced image from an original image of high resolution, it is possible that a feature point extracted with high resolution (
The present mode for embodying the invention provides a device for guaranteeing the presence of a feature point in an original image and a reduced image. Practically, an expectation value map corresponding to the resolution for extraction of a feature point is generated from an image of higher resolution. Thus, the problem of a lower processing speed and reduced accuracy by a lost feature point due to the hierarchy of multi-pixel images can be solved.
With an increasing number of pixels in an image, the computational complexity increases in generating an expectation value map. Therefore, the mode for embodying the present invention provides a device for generating an expectation value map at a high speed. Practically, an expectation value map is generated in a limited characteristic portion in an image of low resolution. Thus, the problem of prolonged time in generating an expectation value map can be solved even for a multi-pixel image.
In addition, for example, when noise is corrected by superposing a plurality of images, the alignment between a plurality of high-accuracy images is required. By calculating the displacement from corresponding feature point information, the images can be aligned at a high speed. When an image partially includes a movement area and a feature point is extracted and traced in the area, the correspondence of the feature points in the movement area can be removed as correspondence error using RANSAC etc. However, when the amount of movement to be removed as a correspondence error is small, it is possible that the correspondence of a no-movement area is defined also as a correspondence error. When the amount of movement is large, there is the possibility that the correspondence of the movement area cannot be removed. Especially, in the case of low movement, it is difficult to remove a feature point on the boundary of the movement area. As a result, the displacement detection accuracy between the images is degraded by the effect of the decrease in number of associated feature points and the correspondence points in the movement areas that cannot be removed.
Therefore, the mode for embodying the present invention provides a device for detecting the displacement after removing the effect of the movement area. Practically, after calculating the displacement without considering the movement area, the movement area is detected and removed from a feature point extraction area, thereby calculating the displacement again. Thus, the problem of the degraded displacement calculation accuracy due to the partial movement of a subject can be solved.
When a movement area of a subject is detected and removed from a feature point extraction area, and a feature point on the boundary of the movement area cannot be removed, the displacement calculation accuracy is degraded. Then, the mode for embodying the present invention provides a device for correctly removing a feature point on the boundary of a movement area. Practically, an expanding process is performed on a detected movement area. Thus, the problem of the degraded displacement calculation accuracy can be solved.
Assume that a partial movement of a subject is detected when the displacement of a plurality of images is obtained. For example, when the subject is captured under a fluorescent light, there is the possibility of the difference in brightness level between the images by the flicker of the fluorescent light. In this case, it is difficult to detect the movement area of a subject although the differences in pixel value are compared between the images.
The mode for embodying the present invention provides a device for easily detecting a movement area. Practically, a process of matching the brightness levels between the images is added. Thus, a movement area can be easily detected when there is a difference in brightness level between the images.
With the above-mentioned configuration, a loss of a feature point or other problems can be solved by generating an expectation value map corresponding to the resolution for extraction of a feature point from an image of higher resolution, and the subjects of the images can be associated at a high speed although the image is a multi-pixel image.
In addition, by generating an expectation value map only relating to a characteristic portion of an image of low resolution, an expectation value map can be generated at a high speed for an image including a number of pixels, thereby furthermore enhancing the processing speed.
Furthermore, the degradation of the displacement calculation accuracy due to a partial movement of a subject can be avoided by calculating the displacement without considering a movement area, detecting a movement area and removing it from a feature point extraction area, and calculating the displacement again. Additionally, by the displacement calculation accuracy can be maintained by correctly removing the feature point on the boundary of the movement area.
Furthermore, although there are differences between the brightness levels of images, the partial movement area of a subject can be easily calculated, and the process can be performed at a high speed.
The correspondence between the images as shown by
First, reduced images (
First, a feature value is calculated by a Moravec operator. The Moravec operator is used as the operator in this case, but various other operator can be used. The feature value of each pixel is compared with the feature values of the eight surrounding pixel, and if it is not the maximum value, the feature value is set to 0. The feature value is divided into blocks of the same number as the pixels of the expectation value map, and the maximum value of each block is set as an expectation value. The values other than N higher expectation values are set to 0.
The problem of a lost feature point can be solved by extracting the feature point traced from the position exceeding an appropriate threshold in the obtained expectation value map.
With regard to the window shown in
Furthermore, if it is not a maximum value when it is compared with the feature points of the eight surrounding feature points, the result of the calculation using the point as 0 is defined as the output of the operator.
First, the process shown in
The original image shown in
Described below is the process shown in
In the expectation value calculating process shown in
It is not necessary to simultaneously generate the reduced images (
As shown in
As shown in the flowchart of
In the method of associating feature points shown in
In
It is easy to extract a movement area by superposing
When there is a difference in brightness level between the images shown in
Described below is the method of superposing image.
First, a feature point {Pi} is extracted from the image P, and the image Q is searched for a corresponding point {qi}. Next, a matrix satisfying qi=HPi is obtained for the n≧4 associated points {piqi}.
When image Q and image P are superposed, the pixel value of the point qi=Hpi on the image Q which corresponds to the point pi={xpi, ypi, 1}T on the image P is obtained by interpolation, and superposed on the image P.
However, pi and qi are represented by homogeneous coordinates such as pi={xpi, ypi, 1}T, qi={xqi, yqi, 1}T.
[Method of Obtaining a Matrix H]
(1) pi, qi are converted as follows.
(2) The matrix H satisfying qi=Hpi is obtained for H as follows.
(Ai is a Matrix of Two Rows by Nine Columns)
(A is a matrix of 2n rows by nine columns obtained by arranging Ai in the row direction)
(3) H=Tq−1HTp where Tp, Tq are represented by the following matrix.
Described below is a correspondence error point removing method (RANSAC for nomography).
The point (outlier) of t2≦derr2 in the process (4) below is removed as a correspondence error point.
(1) The associated points {piqi} are converted into {piqi}, Tp, Tq. Refer to the description above for the conversion method.
(2) Four points are extracted at random from {piqi}. However, when further three points are extracted from the four points, any combination to set the three points on the same line is to be eliminated.
(3) Homography:H is obtained from the four extracted points.
(4) The point represented by derr2=|pi−Hs−1qi|2+|qi−Hspi|2<t2 is set as an inlier.
(5) If the following equation is not satisfied for the iteration number of N: (2) to (4), and the number of n:inlier, control is returned to (2).
(6) The Homography:H is obtained again from all inliers in {piqi}.
(7) The Homography:H=Tq−1HT is obtained for {piqi}.
Next, the expanding process is described.
When the portion determined as a movement area is represented by white, the black point is regarded, and if there are no white points in the eight surrounding areas, leave the point as is (
Described below is a white portion before expansion.
Next, a histogram conversion is described.
When the image 2 is converted into the brightness level of the image 1, the following process is performed.
(1) A simple difference between the image 1 and the image 2 is obtained to extract an area below an appropriate threshold.
(2) In the area extracted in (1) above, a standard deviation S1, an average value y1, a standard deviation S2 of the pixel value of the image 2, and an average value v2 are obtained.
(3) The pixel value y of the image 2 is converted into Y in the following equation.
An apparatus according to the embodiment can be realized by a computer executing a program functioning as each unit of the image processing apparatus.
This application is a continuation of PCT application of PCT/JP2005/010523, which was filed on Jun. 8, 2005.
Number | Name | Date | Kind |
---|---|---|---|
6128416 | Oura | Oct 2000 | A |
6665440 | Zhang et al. | Dec 2003 | B1 |
6714689 | Yano et al. | Mar 2004 | B1 |
6795567 | Cham et al. | Sep 2004 | B1 |
7583835 | Leroux | Sep 2009 | B2 |
7773140 | Nakano et al. | Aug 2010 | B2 |
7860302 | Sato et al. | Dec 2010 | B2 |
20080152225 | Iwamoto | Jun 2008 | A1 |
20080187234 | Watanabe et al. | Aug 2008 | A1 |
Number | Date | Country |
---|---|---|
3-99379 | Apr 1991 | JP |
7-85246 | Mar 1995 | JP |
7-200778 | Aug 1995 | JP |
8-87585 | Apr 1996 | JP |
8-147473 | Jun 1996 | JP |
2652070 | May 1997 | JP |
10-83442 | Mar 1998 | JP |
2001-34756 | Feb 2001 | JP |
2004-343483 | Dec 2004 | JP |
Entry |
---|
Hsu et al, Multiresolution Feature-Based Image Registration, in Visual Communications and Image Processing 2000, Proceedings of SPIE vol. 4067 (2000),pp. 1490-1498, Perth, Australia, Jun. 20-23, 2000. |
Le Moigne et al, An Automated Parallel Image Registration Technique Based on the Correlation of Wavelet Features, IEEE Transactions on Geoscience and Remote Sensing, vol. 40, No. 8 Aug. 2002. |
L. Falkenhagen, “Hierarchical Block-Based Disparity Estimation Considering Neighbourhood Constraints”, International workshop on SNHC and 3D Imaging, Sep. 5-9, 1997, Rhodes, Greece. |
Bugeau, A.; Perez, P.; , “Detection and segmentation of moving objects in highly dynamic scenes,” Computer Vision and Pattern Recognition, 2007. CVPR '07. IEEE Conference on , vol., no., pp. 1-8, Jun. 17-22, 2007. |
Maintz J.B. et al., “Registration of SPECT and MR brain images using a fuzzy surface”, Proceedings of the SPIE, vol. 2710, Jan. 1, 1996, pp. 821-829. |
European Office Action dated May 19, 2010 and issued in corresponding European Patent Application 05 748 563.3. |
Hsu C-T et al., “Multiresolution Feature-Based Image Registration”, Proceedings of the SPIE—The International Society for Optical Engineering, vol. 4067, no. Part 01-03, Jun. 20, 2000, pp. 1490-1498. |
J-Y. Boughet, “Pyramidal Implementation of the Lucas Kanade Feature Tracker: Description of the algorithm” Intel Corporation, Microprocessor Research Labs, Technical Report, 1999, pp. 1-9. |
Hsu C-T et al., “Mosaics of video sequences with moving objects” Signal Processing, Image Communication, vol. 19, No. 1, Jan. 1, 2004, Elsevier Science Publishers, Amsterdam, NL, pp. 81-98. |
European Search Report mailed Jul. 21, 2009 and issued in corresponding European Patent Application 05748563.3. |
European Office Action issued on Sep. 29, 2009 in corresponding European Patent Application 05 748 563.3. |
International Search Report (PCT/ISA/210) mailed Jul. 12, 2005 in connection with the International Application PCT/JP2005/010523. |
Number | Date | Country | |
---|---|---|---|
20080232715 A1 | Sep 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2005/010523 | Jun 2005 | US |
Child | 11949463 | US |