CALCULATING TIME TO GO AND SIZE OF AN OBJECT BASED ON SCALE CORRELATION BETWEEN IMAGES FROM AN ELECTRO OPTICAL SENSOR
First Claim
1. A method for calculating a Time To Go, TTG, value between a vehicle and an intruding object, said method comprising:
- retrieving a first image of said intruding object at a first point of time, T0, and a second image of said intruding object at a second point of time, T1;
filtering said first image and said second image so that said first image and said second image become independent of absolute signal energy and so that edges become enhanced;
setting an X fractional pixel position, XFRAC, to zero and an Y fractional pixel position, YFRAC, to zero, where XFRAC denotes a horizontal displacement at sub pixel level and YFRAC a vertical displacement at sub pixel level;
selecting a scale factor, Si;
scaling said second image with said scale factor, Si, and resampling said scaled image to position XFRAC and YFRAC;
resulting in a resampled scaled image, RSiI;
calculating correlation values, CXPIX, YPIX, i, between said first image and said resampled scaled image, RSiI, for different horizontal displacements at pixel level, XPIX, and different vertical displacements at pixel level, YPIX, for said resampled scaled image RSiI;
finding a maximum correlation value at subpixel level, Ci, based on said correlation values, CXPIX, YPIX i, and updating XFRAC and YFRAC;
setting j=j+1 and scaling of the second image, calculation of correlation values, finding the maximum correlation value and setting of j to j=j+1 are repeated a first predetermined number of times;
setting i=i+1 and selecting the scale factor, scaling of the second image, calculation of correlation values, finding the maximum correlation value, setting of i to j=j+1, and setting of i to i=i+1 are repeated a second predetermined number of times;
finding a largest maximum correlation value, CMAX, among said maximum correlation values, Ci, and the scale factor Si, MAX associated with the largest maximum correlation value CMAX; and
calculating the Time To Go, TTG, based on said scale factor Si, MAX.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for calculating a time to go value between a vehicle and an intruding object. A first image of the intruding object at a first point of time retrieved. A second image of the intruding object at a second point of time is retrieved. The first image and the second image are filtered so that the first image and the second image become independent of absolute signal energy and so that edges become enhanced. An X fractional pixel position and a Y fractional pixel position are set to zero. The X fractional pixel position denotes a horizontal displacement at sub pixel level and the Y fractional pixel position denotes a vertical displacement at sub pixel level. A scale factor is selected. The second image is scaled with the scale factor and resampled to the X fractional pixel position and the Y fractional pixel position, which results in a resampled scaled image. Correlation values, are calculated between the first image and the resampled scaled image for different horizontal displacements at pixel level and different vertical displacements at pixel level for the resampled scaled image. A maximum correlation value at a subpixel level is found based on the correlation values. The X fractional pixel position and the Y fractional pixel position are also updated. j is set to j=j+1 and scaling of the second image, calculation of correlation values, finding the maximum correlation value and setting of j to j=j+1 are repeated a predetermined number of times. i is set to i=i+1 and selecting the scale factor, scaling of the second image, calculation of correlation values, finding the maximum correlation value, setting of j to j=j+1, and setting of i to i=i+1 are repeated a predetermined number of times. A largest maximum correlation value is found among the maximum correlation values and the scale factor associated with the largest maximum correlation value. The time to go is calculated based on the scale factor.
11 Citations
23 Claims
-
1. A method for calculating a Time To Go, TTG, value between a vehicle and an intruding object, said method comprising:
-
retrieving a first image of said intruding object at a first point of time, T0, and a second image of said intruding object at a second point of time, T1; filtering said first image and said second image so that said first image and said second image become independent of absolute signal energy and so that edges become enhanced; setting an X fractional pixel position, XFRAC, to zero and an Y fractional pixel position, YFRAC, to zero, where XFRAC denotes a horizontal displacement at sub pixel level and YFRAC a vertical displacement at sub pixel level;
selecting a scale factor, Si;scaling said second image with said scale factor, Si, and resampling said scaled image to position XFRAC and YFRAC;
resulting in a resampled scaled image, RSiI;calculating correlation values, CXPIX, YPIX, i, between said first image and said resampled scaled image, RSiI, for different horizontal displacements at pixel level, XPIX, and different vertical displacements at pixel level, YPIX, for said resampled scaled image RSiI; finding a maximum correlation value at subpixel level, Ci, based on said correlation values, CXPIX, YPIX i, and updating XFRAC and YFRAC; setting j=j+1 and scaling of the second image, calculation of correlation values, finding the maximum correlation value and setting of j to j=j+1 are repeated a first predetermined number of times; setting i=i+1 and selecting the scale factor, scaling of the second image, calculation of correlation values, finding the maximum correlation value, setting of i to j=j+1, and setting of i to i=i+1 are repeated a second predetermined number of times; finding a largest maximum correlation value, CMAX, among said maximum correlation values, Ci, and the scale factor Si, MAX associated with the largest maximum correlation value CMAX; and calculating the Time To Go, TTG, based on said scale factor Si, MAX. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer program product for use in a vehicle for calculating a Time To Go, TTG, between said vehicle and an intruding object, the computer program product comprising
a non-transitory computer readable medium, having thereon: - computer readable code which, when run in a processor of the vehicle causes the processing means to perform;
retrieving a first image of said intruding object at a first point of time, T0, and a second image of said intruding object at a second point of time, T1; filtering said first image and said second image so that said first image and said second image become independent of absolute signal energy and so that edges become enhanced; setting an X fractional pixel position, XFRAC, to zero and an Y fractional pixel position, YFRAC, to zero, where XFRAC denotes a horizontal displacement at sub pixel level and YFRAC a vertical displacement at sub pixel level;
selecting a scale factor, Si;scaling said second image with said scale factor, Si, and resampling said scaled image to position XFRAC and YFRAC;
resulting in a resampled scaled image, RSiI,;calculating correlation values, CXPIX, YPIX, i, between said first image and said resampled scaled image, RSiI, for different horizontal displacements at pixel level, XPIX, and different vertical displacements at pixel level, YPIX, for said resampled scaled image RSiI; finding a maximum correlation value at subpixel level, Ci, based on said correlation values, CXPIX, YPIX i, and updating XFRAC and YFRAC; setting j=j+1 and scaling of the second image, calculation of correlation values, finding the maximum correlation value and setting of j to j=j+1 are repeated a first predetermined number of times; setting i=i+1 and selecting the scale factor, scaling of the second images calculation of correlation values, finding the maximum correlation value, setting of j to j=j+1, and setting of i to i=i+1 are repeated a second predetermined number of times; finding a largest maximum correlation value, CMAX, among said maximum correlation values, Ci, and the scale factor Si, MAX associated with the largest maximum correlation value CMAX; and calculating the Time To Go, TTG, based on said scale factor Si, MAX. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
- computer readable code which, when run in a processor of the vehicle causes the processing means to perform;
Specification