US 6,226,396 B1Grant
Object extraction method and system
Issue Date:2001-05-01
•18 Claims
•8 Drawing Sheets
Abstract
In an image processing system having a primary image pickup device and a plurality of reference image pickup devices, a feature region consisting of a plurality of feature segments each defined by a pair of feature points is extracted from a primary image. Subsequently, a correspondence point candidate of each of the feature points is extracted from each of the reference images. Based on the feature points and the correspondence point candidate of each of the feature points for each of the reference images, three-dimensional coordinates corresponding to the feature points are calculated, and the feature region is extracted as a target object from the primary image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the reference images.
Metadata
Assignee
- NEC Corporation
Inventor
- Atsushi Marugame
Application Information
Application Number:US 09/127,446
Filing Date:1998-07-31
Priority Date:1997-07-31
Art Unit:7
Classifications
IPC:
G06K 900
Field of Search:
382151382154382190382192382193382195382199382201382203382206382291345139345418345419345425356 12364559
Patent Drawings (8 sheets)
Description
BACKGROUND OF THE INVENTION
[0002] 1. Field of the Invention
[0003] The present invention generally relates to an image data processing system, and in particular to method and system which extracts a target object from an image.
[0004] 2. Description of the Related Art
[0005] There have been proposed several object extraction techniques, for instance, using necessary information which is previously registered, using well-known focusing technology, and using plural image pick-up devices which are arranged in predetermined positional relationship.
[0006] According to the technique using the prepared necessary information, when no information can be prepared, the target object cannot be extracted. Further, an expensive distance-measuring device is needed to measure a distance from the principal point in the object side to a part of the object. Furthermore, a distance from the principal point in the image side to the image can be measured using auto-focusing mechanism, but the auto-focusing cannot always operate stably depending on illumination conditions, resulting in reduced reliable measurement.
[0007] According to the technique using the focusing technology, an image pickup device images a target object while varying the focal length. Therefore, it is necessary to place the target object within the focal depth.
[0008] The technique using plural image pickup devices has been disclosed in Japanese Patent Unexamined Publication No. 10-98646. According to this conventional technique, the target object can be extracted using the three-dimensional coordinates of the contour of the target object. The three-dimensional coordinates of the target object are obtained on the principal of triangulation by using two-dimensional feature points and their point correspondence between the images which are obtained by two image pickup devices, respectively. The technique can provide stable operation without the need of information regarding the target object and with little influence of illumination conditions.
[0009] However, the precision of target extraction largely depends on a threshold used to discriminate between the target object and the background and it is difficult to properly determine such a threshold. According the Publication (No. 10-98646), the threshold is determined through human eyes and further the system is not designed to extract two or more target objects but a single object.
SUMMARY OF THE INVENTION
[0010] An object of the present invention is to provide object extraction system and method which can extract a target object from an image with precision and stability.
[0011] Another object of the present invention is to provide object extraction system and method which can determine a threshold used to discriminate between a target object and its background of an image.
[0012] Still another object of the present invention is to provide object extraction system and method which can extract a plurality of target objects from an image.
[0013] According to an aspect of the present invention, a first image (e.g. a primary image) and a plurality of second images (e.g. reference images) are generated through a first image pickup device and a plurality of second image pickup devices, respectively, and then a feature region is extracted from the first image, the feature region consisting of a plurality of feature segments each defined by a pair of adjoining feature points. Subsequently, a correspondence point candidate of each of the feature points is extracted from each of the second images. Based on the feature points and the correspondence point candidate of each of the feature points for each of the second images, three-dimensional coordinates corresponding to the feature points are calculated, and the feature region is extracted as a target object from the first image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the second images.
[0014] The feature region may be extracted according to the following steps: determining point correspondence between the first image and each of the second images using the three-dimensional coordinates for each of the second images; calculating a length difference between a distance of adjoining feature points in the first image and that of their corresponding points in each of the second images; calculating disparities between the feature points in the first image and their corresponding points in the second images; and then extracting the feature region as the target object from the first image when both the length segment length difference and the disparity fall into a segment length difference range and a disparity range, respectively.
[0015] According to another aspect of the present invention, the feature region may be extracted according to the following steps: generating the segment length difference range depending on a first distribution of the number of points included in the feature region with respect to the length segment length difference (length difference distribution); generating the disparity range depending on a second distribution of the number of points included in the feature region with respect to the disparity (disparity distribution); and then extracting the feature region as the target object from the first image when both the length difference and the disparity fall into the segment length difference range and the disparity range, respectively.
[0016] The feature region may be extracted as the target object from the first image in at least one of the respective cases where the length difference falls into the segment length difference range and where the disparity falls into the disparity range.
[0017] The length difference range may be a range where the length difference distribution is larger than a first predetermined threshold level. The disparity range may be a range where the disparity distribution is larger than a second predetermined threshold level. In the case where a plurality of ranges where the disparity distribution is larger than the second predetermined threshold level are detected, a range corresponding to a maximum disparity may be determined to be the disparity range.
BRIEF DESCRIPTION OF THE DRAWINGS
[0018] FIG. 1 is a block diagram showing an image data processing system employing a target object extraction system according to a first embodiment of the present invention;
[0019] FIG. 2 is a block diagram showing a target object extraction system according to the first embodiment;
[0020] FIG. 3 is a schematic diagram showing an example of the positional relationship of the image data processing system, the target object and its background;
[0021] FIG. 4 is a schematic diagram showing a primary image obtained by a primary image pickup device of the image data processing system;
[0022] FIG. 5A is a schematic diagram showing the primary image for explanation of correspondence operation performed by the image data processing system;
[0023] FIG. 5B is a schematic diagram showing reference images for explanation of correspondence operation performed by the image data processing system;
[0024] FIG. 6A is a schematic diagram showing the primary image for explanation of the block matching operation performed by the image data processing system;
[0025] FIG. 6B is a schematic diagram showing reference images for explanation of the block matching operation performed by the image data processing system;
[0026] FIG. 7 is a block diagram showing a target object extraction system according to a second embodiment of the present invention;
[0027] FIG. 8A is a diagram showing a histogram of length variations in the primary and left reference images for explanation of a left-side length variation threshold in the second embodiment;
[0028] FIG. 8B is a diagram showing a histogram of length variations in the primary and right reference images for explanation of a right-side length variation threshold in the second embodiment;
[0029] FIG. 9A is a diagram showing a histogram of disparity variations in the primary and left reference images for explanation of a left-side disparity threshold in the second embodiment; and
[0030] FIG. 9B is a diagram showing a histogram of disparity variations in the primary and right reference images for explanation of a right-side disparity variation threshold in the second embodiment.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] Referring to FIG. 1, the image data processing system is provided with three image pickup devices 101-103 whose positional orientations are calibrated with a shape-known object, for example, a horizontal plane where the image pickup device 101 is positioned between the image pickup devices 102 and 103. The image pickup device 101 produces a primary image data SCand the image pickup devices 102 and 103 produce reference image data SLand SR, respectively. The image pickup devices 101-103 may be implemented with a CCD (charge coupled device) camera. The primary image data SCis stored onto a primary image memory 104 and the reference image data SLand SRare stored onto reference image memories 105 and 106, respectively.
[0032] Primary image data DCis output from the primary image memory 104 to a feature segment extractor 107. Left and right reference image data DLand DRare output to correspondence point candidate extractor 108 and 109, respectively. The feature segment extractor 107 extracts a feature segment between a pair of adjoining feature points PC1and PC2on each horizontal line of the primary image to produce feature segment data PC. The extracted feature segments are numbered and stored. In the case where a plurality of feature segments are found on a horizontal line, those feature segments are numbered from left to right and stored.
[0033] The correspondence point candidate extractor 108 inputs the left reference image data DLfrom the left reference image memory 105 and the feature segment data PCto produce the left correspondence point candidate data CLwhich includes correspondence points CL1and CL2on the left image corresponding to the feature points PC1and PC2.
[0034] The correspondence point candidate extractor 109 inputs the right reference image data DRfrom the right reference image memory 106 and the feature segment data PCto produce the right correspondence point candidate data CRwhich includes correspondence points CR1and CR2on the right image corresponding to the feature points PC1and PC2. The details will be described later (see FIGS. 4, 5A, 5B, 6A, and 6B).
[0035] The image data processing system is further provided with left and right three-dimensional coordinate calculators 110 and 111. The left three-dimensional coordinate calculator 110 inputs the feature segment data PCand the correspondence point candidate data CLto calculate the three-dimensional coordinate data CTLfor the correspondence point candidates on the left image using the positional relationship of the image pickup devices 101-103 based on the well-known principal of triangulation. Similarly, the right three-dimensional coordinate calculator 111 inputs the feature segment data PCand the correspondence point candidate data CRto calculate the three-dimensional coordinate data CTRof the object for the correspondence point candidates on the right image using the positional relationship of the image pickup devices 101-103 based on the well-known principal of triangulation.
[0036] In this manner, the left and right three-dimensional coordinate data CTLand CTRare generated and labeled with the correspondence point candidate data CRand CR, respectively. The respective three-dimensional coordinate data CTLand CTRlabeled with CRand CRtogether with the feature segment data PCare output to a target object discriminator 112. As described later, the target object discriminator 112 discriminates between the target object and its background. According to the target object discrimination, an image processor 113 processes the primary image data DC.
[0037] Referring to FIG. 2, the target object discriminator 112 includes a correspondence point determination section 201, a distance comparison section, a disparity calculation section and a decision section.
[0038] The correspondence point determination section 201 inputs the left and right three-dimensional coordinate data CTLand CTTRto produce correspondence point data PLon the left image and correspondence point data PRon the right image. More specifically, the correspondence point determination section 201 calculates all possible distances between the counterparts of the left and right three-dimensional coordinate data CTLand CTR. From the calculated distances, a pair of points having the minimum distance are selected as the correspondence points, as will be described later.
[0039] The segment length comparison section compares a distance between the adjoining feature points to that of the determined correspondence points. The distance comparison section is comprised of segment length calculators 202-204, difference calculators 205 and 206, and a decision section 207. The segment length calculator 202 inputs the feature segment data PCto calculate a distance between the feature points on each horizontal line. The segment length calculator 203 inputs the correspondence point data PLto calculate a distance between the correspondence points of the adjoining feature points on the left reference image. The segment length calculator 204 inputs the correspondence point data PRto calculate a distance between the correspondence points of the adjoining feature points on the right reference image. The difference calculator 205 inputs the respective outputs of the segment length calculators 202 and 203 to produce a left segment length difference DLLbetween a distance of the adjoining feature points and that of the correspondence points of the left reference image. Similarly, the difference calculator 206 inputs the respective outputs of the segment length calculators 202 and 204 to produce a right segment length difference DLRbetween the distance of the adjoining feature points and that of the correspondence points of the right reference image. The decision section 207 decides whether the left segment length difference DLLand the right segment length difference DLRfall into permissible ranges of ΔEDLand ΔEDR, respectively.
[0040] The disparity calculation section is comprised of disparity calculators 208 and 209 and a decision section 210. The disparity calculator 208 inputs the feature segment data PCand the correspondence point data PLto calculate left disparity XL. The disparity calculator 209 inputs the feature segment data PCand the correspondence point data PRto calculate right disparity XR. The decision section 210 decides whether the left and right disparity XLand WRfall into permissible ranges of ΔEXTand ΔEXR, respectively.
[0041] The respective decision sections 207 and 210 output decision results to a selector 211 which selects feature points for object discrimination from the feature segment data PCdepending on the decision results. More specifically, in the case where both segment length difference and disparity fall into the permissible ranges, the selector 211 selects the corresponding feature points as the object discrimination data.
Correspondence Point Candidate Extraction
[0042] For simplicity, consider a situation as shown in FIG. 3. A target object 302 is placed in front of the background 301 and the image input section consisting of the image pickup devices 101-103 is pointed at the target object 302.
[0043] As shown in FIGS. 4 and 5A, assuming that the primary image memory 104 stores a primary image consisting of N horizontal lines where the target object 302 is indicated by feature region 401 on the primary image and the left and right feature points of each feature segment are indicated by reference numeral 401L and 401R. In this figure, only a feature segment on the second horizontal line HL1is shown.
[0044] As shown in FIG. 5B, epipolar lines 501L and 501R are obtained respectively on the left and right reference images using the well-known algorithm in the case where the positional relationship of the image pickup devices 101-103 is previously defined. The horizontal line may be used as an epipolar line in the case where the image pickup devices 101-103 are properly arranged. In the case where the positional relationship of the image pickup devices 101-103 is not defined, they can be calculated from the image of a predetermined pattern as described in the Publication (No. 10-98646).
[0045] When the respective epipolar lines 501L and 501R have been determined on the left and right reference images, a search is made on the epipolar lines 501L and 501R for correspondence point candidates of the feature points 401L and 401R on the primary image, respectively. In this case, to simplify the calculation for searching for correspondence point candidates, one-side block matching method is employed, which will be described hereinafter.
[0046] Consider that a correspondence point candidate of a feature point is found on an epipolar line. If the feature point is located in the left side of the primary image, then the correspondence point candidate extractor performs the right-side block matching operation. Contrarily, if the feature point is located in the right side of the primary image, then the correspondence point candidate extractor performs the left-side block matching operation.
[0047] As shown in FIGS. 6A and 6B, when the correspondence point candidate 502L of the feature point 401L is found on the epipolar line 501L, the respective blocks 601L and 602L in the right sides of the feature point 401L and the correspondence point 502L are taken to be subjected to the right-side block matching. More specifically, the correspondence point candidate extractor 108 calculates a block error of color and luminance between the blocks 601L and 602L.
[0048] Similarly, when the correspondence point candidate 502R of the feature point 401R is found on the epipolar line 501R, the respective blocks 601R and 602R in the left sides of the feature point 401R and the correspondence point 502R are taken to be subjected to the left-side block matching. More specifically, the correspondence point candidate extractor 109 calculates a block error of color and luminance between the blocks 601R and 602R.
[0049] Subsequently, the respective correspondence point candidate extractors 108 and 109 determine whether the calculated block error is smaller than a predetermined threshold. If the calculated block error is not smaller than the predetermined threshold, control goes back to the corresponding point searching step. If the calculated block error is smaller than the predetermined threshold, the point found on the epipolar line is determined to be a correspondence point candidate.
Three-Dimensional Coordinate Calculation
[0050] As described before, the three-dimensional coordinate calculator 110 calculates the three-dimensional coordinate data CTLfor the left reference image based on the well-known principal of triangulation. The three-dimensional coordinate data CTLincludes first and second candidates CTL1and CTL2corresponding to the adjoining feature points PC1and PC2, respectively. More specifically, when receiving the feature points PC1and PC2forming the feature segment on the primary image and the correspondence point candidates CL1and CL2on the left reference image, the three-dimensional coordinate calculator 110 uses the principal of triangulation and the positional relationship of the image pickup devices 101-103 to calculate the three-dimensional coordinates of the first and second candidates CTL1=(XL1M, YL1M, ZL1M) and CTL2=(XL2M, YL2M, ZL2M) (M=1, 2, . . . ) for the feature points PC1and PC2, respectively.
[0051] Similarly, the three-dimensional coordinate calculator 111 calculates the right three-dimensional coordinate data CTRbased on the well-known principal of triangulation. More specifically, when receiving the feature points PC1and PC2on the primary image and the correspondence point candidates CR1and CR2on the right reference image, the three-dimensional coordinate calculator 111 uses the principal of triangulation and the positional relationship of the image pickup devices 101-103 to calculate the three-dimensional coordinates of the first and second candidates CTR1=(XR1N, YR1N, ZR1N) and CTR2=(XR2N, YR2N, ZR2N) (N=1, 2, . . . ) for the feature points PC1and PC2, respectively.
[0052] In this manner, the left three-dimensional coordinate data CTLincluding point candidates CTL1and CTL2and the right three-dimensional coordinate data CTRincluding point candidates CTR1and CTR2are obtained based on the primary image and the left and right reference images, and using these three-dimensional coordinates, the correspondence point determination section 201 determines the correspondence point coordinates.
Correspondence Point Determination
[0053] The correspondence point determination section 201 inputs the first and second three-dimensional coordinate data CTLand CTR, that is, CTL1=(XL1M, YL1M, ZL1M), CTL2=(XL2M, YL2M, ZL2M) and CTR1=(XR1N, YR1N, ZR1N) and CTR2=(XR2N, YR2N, ZR2N) to calculate a distance between the corresponding points of the left and right three-dimensional coordinate data CTLand CTR. Then a pair of points having the minimum distance is selected from the calculated distances.
[0054] More specifically, a first distance dMN1is calculated for each of all the combinations of the coordinates CTL1=(XL1M, YL1M, ZL1M) and CTR1=(XR1N, YR1N, ZR1N) by the following equation:
[0055] dMN2=(XL1M−XR1N)2+(YL1M−YR1N)2+(ZL1M−ZR1N)2.
[0056] Alternatively, the following equation may be used:
[0057] dMN=|XL1M−XR1N|+|YL1M−YR1N|+|ZL1M−ZR1N|.
[0058] Further more specifically, the first distance dMN1is obtained for each of all the combinations of the coordinates CTL1=(XL1M, YL1M, ZL1M) and CTR1=(XR1N, YR1N, ZR1N) as shown in the following table as an example.
[0059] Subsequently, the correspondence point determination section 201 selects the minimum distance dIJ1and produces the correspondence point PL1=(XL1I1, YL1I1, ZL1I1) and PR1=(XR1J1, YR1J1, ZR1J1) for the minimum distance dIJ1.
[0060] Similarly, a second distance dMN2is calculated for each of all the combinations of the coordinates CTL2=(XL2M, YL2M, ZL2M) and CTR2=(XR2N, YR2N, ZR2N) and the minimum distance dIJ2is selected to produce the correspondence point PL2=(XL2I2, YL2I2, ZL2I2) and PR2=(XR2J2, YR2J2, ZR2J2).
[0061] In this manner, the correspondence points PL1=(XL1I1, YL1I1, ZL1I1) and PL2=(XL2I2, YL2I2, ZL2I2) on the left reference image and the correspondence points PR1=(XR1J1, YR1J1, ZR1J1) and PR2=(XR2J2, YR2J2, ZR2J2) on the right reference image are obtained. The correspondence points PL1and PL2are output as correspondence point data PLto the segment length calculator 203 and the disparity calculator 208. The correspondence points PR1and PR2are output as correspondence point data PRto the segment length calculator 204 and the disparity calculator 209.
Segment Length Difference Check
[0062] The segment length calculator 202 calculates a length of the feature segment data PC. The segment length calculator 203 inputs the corresponding segment data PLand calculates its length. Similarly, the segment length calculator 204 inputs the correspondence point data PRand calculate its length.
[0063] The difference calculator 205 inputs the respective outputs of the segment length calculators 202 and 203 to produce a left segment length difference DLLbetween a length of a segment in the primary image and that of the corresponding segment on the left reference image. Similarly, the difference calculator 206 inputs the respective outputs of the segment length calculators 202 and 204 to produce a right segment length difference DLRbetween a length of a segment in the primary image and that of the corresponding segment on the right reference image. The decision section 207 decides whether the left segment length difference DLLand the right segment length difference DLRfall into permissible ranges of ΔEDLand ΔEDR, respectively.
Disparity Check
[0064] The disparity calculator 208 inputs the feature segment data PCand the respective correspondence points on the left reference image corresponding to the left three-dimensional coordinates PL1=(XL1I1, YL1I1, ZL1I1) and PL2=(XL2I2, YL2I2, ZL2I2) and calculates left disparity XL. The disparity calculator 209 inputs the feature segment data PCand the respective correspondence points on the right reference image corresponding to the right three-dimensional coordinates PR1=(XR1J1, YR1J1, ZR1J1) and PR2=(XR2J2, YR2J2, ZR2J2) and calculates right disparity XR. The decision section 210 decides whether the left and right disparities XLand XRfall into permissible ranges of ΔEXLand ΔEXR, respectively.
Decision and Selection
[0065] If the left segment length difference DLLand the right segment length difference DLRfall into permissible ranges of ΔEDLand ΔEDR, respectively, then the decision section 207 decides that the feature segment data PCis included in the feature region 401 as shown in FIG. 4. Further, if the left and right disparities XLand XRfall into permissible ranges of ΔEXLand ΔEXR, respectively, then the decision section 210 decides that the feature segment data PCis included in the feature region 401. The selector 211 selects feature points for object discrimination from the feature segment data PCdepending on whether the decision results of the decision sections 207 and 210 are both acceptable.
[0066] Therefore, in the case where the respective segment length differences DLLand DLRfall into permissible ranges of ΔEXLand ΔEXRand at the same time the respective disparities XLand XRfall into permissible ranges of ΔEXLand ΔEXR, the corresponding feature segment is selected as the object discrimination data. In other words, it is determined that the corresponding feature segment is included in the target object on the primary image.
[0067] The corresponding feature segment may be also selected as the object discrimination data when the respective segment length differences DLLand DLRfall into permissible ranges of ΔEXLand ΔEXRor when the respective disparities XLand XRfall into permissible ranges of ΔEXLand ΔEXR.
[0068] As described above, the object determination is performed and used to extract the feature region 401, that is, the target object from the primary image data DC. The left and right three-dimensional coordinate data CTLand CTRof the correspondence point candidates are obtained using a single primary image and two reference images based on the principal of triangulation. Thereafter, all the possible distances between the counterparts of first and second coordinates of the left and right three-dimensional coordinate data CTLand CTRand then from the calculated distances a pair of points having the minimum distance are selected as the correspondence points for each reference image. Therefore, the object determination is performed without the need of preparing information regarding the object.
[0069] Since redundant information can be obtained from the primary image and two reference images, the object determination is stably and reliably performed even in the case of variations of illumination conditions. Further, since detection of a feature segment starts the object determination, a plurality of objects can be extracted easily. Furthermore, since at least one of the segment length difference check and the disparity check determines whether the correspondence point determination is acceptable, the object determination is performed with precision.
Second Embodiment
[0070] In the target object discriminator 112, the permissible ranges of ΔEDLand ΔEDRfor segment length difference check and the permissible ranges of ΔEXLand ΔEXRfor disparity check may be generated with adaptive threshold. The details will be described hereinafter.
[0071] Referring to FIG. 7, there is shown a target object discriminator 112 according to the second embodiment of the present invention, where circuit blocks similar to those previously described with reference to FIG. 2 are denoted by the same reference numerals and the descriptions of the circuit blocks are omitted.
[0072] The segment length check section is comprised of the segment length calculators 202-204 and the difference calculators 205 and 206 and is further comprised of a histogram generator 701, a threshold determination section 702 and a decision section 703. The difference calculator 205 produces the left segment length difference DLLbetween a length of a segment in the primary image and that of the corresponding segment in the left reference image. Similarly, the difference calculator 206 produces the right segment length difference DLRbetween a length of a segment in the primary image and that of the corresponding segment in the right reference image.
[0073] The histogram generator 701 inputs the left segment length difference DLLand the right segment length difference DLRfrom the difference calculators 205 and 206 and generates left histogram HDLand right histogram HDRof feature region 401 on the primary image with respect to segment length difference. Based on the respective histograms HDLand HDR, the threshold determination section 702 generates left threshold date EDLincluding upper limit EDL-Uand lower limit EDL-Land right threshold data EDRincluding upper limit EDR-Uand lower limit EDR-L. The decision section 703 decides whether the left segment length difference DLLand the right segment length difference DLRfall into the permissible ranges of ΔEDLand ΔEDRwhich are defined by the left threshold data EDLand the right threshold data EDR, respectively.
[0074] The disparity calculation section is comprised of a histogram generator 704, a threshold determination section 705 and a decision section 706 in addition to the disparity calculators 208 and 209. The disparity calculator 208 and 209 calculate the left disparity XLand the right disparity XR.
[0075] The disparity histogram generator 703 inputs the left disparity XLand the right disparity XRfrom the disparity calculators 208 and 209 and generates left disparity histogram HXLand right disparity histogram HXR. Based on the respective disparity histograms HXLand HXR, the threshold determination section 705 generates left disparity threshold date EXLincluding upper limit EEL-Uand lower limit EXL-Land right disparity threshold data EXRincluding upper limit EXR-Uand lower limit EXR-L. The decision section 706 decides whether the left disparity XLand the right disparity XRfall into the permissible ranges of ΔEXLand ΔEXRwhich are defined by the left disparity threshold date EXLand the right disparity threshold data EXR, respectively.
Segment Length Difference Threshold Determination
[0076] As shown in FIGS. 8A and 8B, the histogram generator 701 counts the number of points included in each feature segment with respect to the segment length difference DLLto produce the left histogram HDLand counts the number of points included in each feature segment with respect to the segment length difference DLRto produce the right histogram HDR.
[0077] The threshold determination section 702 analyzes the left histogram HDLto search for a range of the segment length difference DLLwhere the maximum number of points appear and the number of points is much larger than other ranges. Such a range may be determined by searching for the maximum number of points and comparison with a threshold level.
[0078] Referring to FIG. 8A, the range where the number of points is greater than the threshold level (e.g. 1000 or 1500) is sandwiched between two segment length difference values 801L and 802L which are determined as the upper and lower limits. For example, the number of points in a range from −1 to 4 is greater than a threshold level of 1000. Therefore, the threshold determination section 702 generates left threshold data EDLincluding the upper limit EDL-U=−1 and the lower limit EDL-L=4.
[0079] Referring to FIG. 8B, similarly, the range where the number of points is greater than the threshold level (e.g. 1000 or 1500) is sandwiched between two segment length difference values 801R and 802R which are determined as the upper and lower limits. For example, the number of points in a range of −2 to 3 is greater than a threshold level of 1000. Therefore, the threshold determination section 702 generates right threshold data EDRincluding the upper limit EDR-U=−2 and the lower limit EDR-L=3.
Disparity Threshold Determination
[0080] As shown in FIGS. 9A and 9B, the disparity histogram generator 704 counts the number of points included in each feature segment with respect to the left disparity XLto produce the left disparity histogram HXLand counts the number of points included in each feature segment with respect to the right disparity XRto produce the right disparity histogram HXR.
[0081] The threshold determination section 705 searches the left disparity histogram HXLfor the local maximum number of points and takes two values around the value indicating the local maximum number of points as the upper and lower limits.
[0082] Referring to FIG. 9A, the local maximum number of points appears in the range from 20 to 30 which are determined as the upper limit 901L and the lower limit 902L, respectively. Therefore, the threshold determination section 705 generates left disparity threshold data EXLincluding the upper limit EXL-U=20 and the lower limit EXL-L=30.
[0083] Referring to FIG. 8B, the local maximum number of points appears in the range of 0 to 10 and the range from 30 and 40. In this case, one of the two ranges having the maximum disparity is selected because the closer the object is, the larger the disparity is. In general, in the case where a plurality of ranges having the maximum number of points are found, the threshold determination section 705 selects one of them which has the maximum disparity. In this figure, two values 30 and 40 sandwiching the selected range are determined as the upper limit 901R and the lower limit 902R, respectively.
[0084] It should be noted that the above functions may be implemented by software program running on a data processor. In this case, the feature segment extractor 107, the candidate extraction section, the coordinate calculation section, the target object discriminator 112 and the image processor 113 may be implemented with a program-controlled processor using corresponding programs stored in a read-only memory (not shown).
Claims
What is claimed is:
1. An object extraction method comprising the steps of:
a) generating a first image and a plurality of second images through a first image pickup device and a plurality of second image pickup devices, respectively;
b) extracting a feature region from the first image, the feature region consisting of a plurality of feature segments each defined by a pair of feature points;
c) extracting a correspondence point candidate of each of the feature points from each of the second images;
d) calculating three-dimensional coordinates corresponding to the feature points based on the feature points based on the feature points and the correspondence point candidate of each of the feature points for each of the second images; and
e) extracting the feature region as a target object from the first image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the second images, wherein step e) comprises:
e-1) determining feature point correspondences between the first image and each of the second images using the three-dimensional coordinates for each of the second images;
e-2) calculating a segment length difference between the first image and each of the second images by using segment correspondence;
e-3) calculating a disparity of feature points between the first image and each of the second images; and
e-4) extracting the feature region as the target object from the first image when both the segment length difference and the disparity fall into a predetermined length difference range and a predetermined disparity range, respectively.
2. The object extraction method according to claim 1, wherein the step e-1) comprises the steps of:
calculating possible distances between counterparts of three-dimensional coordinates over the second images;
selecting a minimum distance from the possible distances; and
determining a pair of three-dimensional coordinates providing the minimum distance among point correspondence between the first image and each of the second images.
3. The object extraction method according to claim 1, wherein the step e-4) comprises the steps of:
generating the predetermined length difference range depending on a first distribution of the number of points included in the feature region with respect to the segment length difference;
generating the predetermined disparity range depending on a second distribution of the number of points included in the feature region with respect to the disparity; and
extracting the feature region as the target object from the first image when both the length difference and the disparity fall into the predetermined segment length difference range and the predetermined disparity range, respectively.
4. The object extraction method according to claim 3, wherein the predetermined length difference range is a range where the first distribution is larger than a first predetermined threshold level.
5. The object extraction method according to claim 3, wherein the predetermined disparity range is a range where the second distribution is larger than a second predetermined threshold level.
6. The object extraction method according to claim 5, wherein, when a plurality of ranges where the second distribution is larger than a second predetermined threshold level, a range corresponding to a maximum disparity is determined to be the predetermined disparity range.
7. An object extraction system comprising:
a first image pickup device for generating a first image of a space;
a plurality of second image pickup devices for generating second images of the space, respectively;
a first extractor for extracting a feature region from the first image, the feature region consisting of a plurality of a feature segments each defined by a pair of adjoining feature points;
a second extractor for extracting a correspondence point candidate of each of the feature points from each of the second images;
a three-dimensional coordinate calculator for calculating three-dimensional coordinates corresponding to the feature points based on the feature points and the correspondence point candidate of each of the feature points for each of the second images; and
a third extractor for extracting the feature region as a target object from the first image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the second images, wherein the third extractor comprises:
a correspondence point determiner for determining first and second correspondence points of the feature points using feature point correspondences between the first image and each of the second images;
a segment length difference calculator for calculating a segment length difference between a first distance calculated between the feature points and a second distance calculated between the first image and each of the second images by using segment correspondence;
a disparity calculator for calculating a disparity of feature points between the first image and each of the second images; and
a selector for selecting the feature region as the target object from the first image when both the segment length difference and the disparity fall into a predetermined length difference range and a predetermined disparity range respectively.
8. The object extraction system according to claim 7, wherein the correspondence point determiner calculates possible distance between counterparts of three-dimensional coordinates over the second images, selects a minimum distance from the possible distances, and determines a pair of three-dimensional coordinates providing the minimum distance to be the first and second correspondence points, respectively.
9. An object extraction system comprising:
a first image pickup device for generating a first image of a space;
a plurality of second image pickup devices for generating second images of the space, respectively;
a first extractor for extracting a feature region from the first image, the feature region consisting of a plurality of feature segments each defined by a pair of feature points;
a second extractor for extracting a correspondence point candidate of each of the feature points from each of the second images;
a three-dimensional coordinate calculator for calculating three-dimensional coordinates corresponding to the feature points based on the feature points and the correspondence point candidate of each of the feature points for each of the second images;
a correspondence point determiner for determining first and second correspondence points of the feature points using the three-dimensional coordinates for each of the second images;
a segment length difference calculator for calculating a segment length difference between the first image and each of the second images by using segment correspondence;
e-3) a disparity calculator for calculating a disparity of feature points between the first image and each of the second images;
a first range generator for generating a segment length difference range depending on a first distribution of the number of points included in the feature region with respect to the segment length difference;
a second range generator for generating a disparity range depending on a second distribution of the number of points included in the feature region with respect to the disparity; and
a third extractor for selecting the feature region as a target object from the first image when both the segment length difference and the disparity fall into the segment length difference range and a disparity range, respectively.
10. The object extraction system according to claim 9, wherein the first range generator comprises:
a first histogram generator for generating the first distribution; and
a first determiner for determining the segment length difference range to be a range where the first distribution is larger than a first predetermined threshold level.
11. The object extraction system according to claim 10, wherein the second range generator comprises:
a second histogram generator for generating the second distribution; and
a second determiner for determining the disparity range to be a range where the second distribution is larger than a second predetermined threshold level.
12. The object extraction system according to claim 11, wherein, when a plurality of ranges where the second the second distribution is larger than a second predetermined threshold level, the second range generator determines a range corresponding to a maximum disparity to be the disparity range.
13. A program memory storing a program for performing an object extraction, the program comprising the steps of;
a) storing a first image and a plurality of second images onto image memories, wherein the first image is received from a first image pickup device and the second images is received from a plurality of second image pickup devices, respectively;
b) extracting a feature region from the first image, the feature region consisting of a plurality of feature segments each defined by a pair of adjoining feature points;
c) extracting a correspondence point candidate of each of the feature points from each of the second images;
d) calculating three-dimensional coordinates corresponding to the feature points based on the feature points and the correspondence point candidate of each of the feature points of each of the second images; and
e) extracting the feature region as a target object from the first image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the second images, wherein step e) comprises:
e-1) determining feature point correspondences between the first image and each of the second images using the three-dimensional coordinates for each of the second images;
e-2) calculating a segment length difference between the first image and each of the second images by using segment correspondence;
e-3) calculating a disparity of feature points between the first image and each of the second images; and
e-4) extracting the feature region as the target object from the first image when both the segment length difference and the disparity fall into a segment length difference range and the disparity range, respectively.
14. The program memory according to claim 13, wherein the step e-1) comprises the steps of:
calculating possible distances between counterparts of three-dimensional coordinates over the second images;
selecting a minimum distance from the possible distances; and
determining a pair of three-dimensional coordinates providing the minimum distance to be the first and second correspondence points, respectively.
15. The program memory according to claim 13, wherein the step e-4) comprises the steps of:
generating the segment length difference range depending on a first distribution of the number of points included in the feature region with respect to the segment length difference;
generating the disparity range depending on a second distribution of the number of points included in the feature region with respect to the disparity; and
extracting the feature region as the target object from the first image when both the segment length difference and the disparity fall into the segment length difference range and the disparity range, respectively.
16. The program memory according to claim 15, wherein the segment length difference range is a range where the first distribution is larger than a first predetermined threshold level, and the disparity range is an range where the second distribution is larger than a second predetermined threshold level.
17. The program memory according to claim 16, wherein, when a plurality of ranges where the second the second distribution is larger than a second predetermined threshold level, a range corresponding to a maximum disparity is determined to be the disparity range.
18. An object extraction method comprising the steps of:
a) generating a first image and a plurality of second images through a first image pickup device and a plurality of second image pickup devices, respectively;
b) extracting a feature region from the first image, the feature region consisting of a plurality of feature segments each defined by a pair of feature points;
c) extracting a correspondence point candidate of each of the feature points from each of the second images;
d) calculating three-dimensional coordinates corresponding to the feature points based on the feature points and the correspondence point candidate of each of the feature points for each of the second images; and
e) extracting the feature region as a target object from the first image based on the feature points and the three-dimensional coordinates corresponding to the feature points for each of the second images, wherein step e) comprises:
e-1) determining feature point correspondences between the first image and each of the second images using the three-dimensional coordinates for each of the second images;
e-2) calculating a segment length difference between the first image and each of the second images by using segment correspondence; and
e-3) extracting the feature region as the target object from the first image when the segment length difference falls into a predetermined length difference range.
Patent Citations (8)
Non-Patent Literature (1)
- Dmitry Novik, “Streo Images Data Compression & Digital Stereo Compatible TV”, SPIE Proceedings, Visual Information Processing V, vol. 2753 pp. 1-10, 1996.Examiner