Local positioning apparatus for detecting a local position of an automobile on a road

Abstract: A local positioning apparatus (LP1) is provided for detecting a local position of an automobile (AM) advancing along a lane formed on a road in a direction (Z). A digital image data (Si) indicative of an advancing direction view (Vi) looked from the automobile (AM) in the advancing direction is applied to the local position apparatus (LP1). An edge extractor (1), a threshold generator (5), and a contour extractor (6) are provided for extracting a contour data (Scc) indicative of the lane (Lm) from the image signal (Si). A coordinate convertor (7) convert the contour data (Sc) into a plane view data indicating the dimensions of extracted contour (ScR, ScR', and ScL) correctly. A matching operator (9) matches a line or an arch matching each of the extracted contours (ScR, ScR', and ScL). A lane mark contour extractor (11) selectively extracts a pair of extracted contours (ScR, ScR', and ScL) corresponding to the lane (lm) on which the automobile (AM) is located.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local positioning apparatus for use in a local positioning system for providing local positioning data on location, velocity, and posture of an object on the local ground and particularly suitable for detecting of both the moving and stationary states of an automobile on the road. 2. Description of the Prior Art In Fig. 30, a conventional local positioning apparatus used in an automobile is shown. The conventional local positioning system LPP includes an edge extractor 1P, a threshold generator 3P, a contour extractor 5P, a matching operator 9P, and a lane mark contour extractor 11P, a region limiter 13P, a current position detector 15P, a curvature detector 17P, and a yaw angle detector 19P. The edge extractor 1 is connected to a digital imaging device 100 mounted on an automobile AM (Fig. 1) for obtaining a perspective view Vi of the object located in an advancing direction of the automobile AM. The edge extractor 1 receives the image signal Si indicating the advancing direction view Vi (Fig. 3) of the road surface wherein lane markings Lm1, Lm2, and Lm3 are applied. The edge extractor 1 extracts edge pixels from the signal Si produces an extracted edge pixel signal Sx' indicative of an extracted edge view Vx' including edge pixels of the lane makings Lm. The threshold generator 3P determines a threshold Eth' to extract the edge pixels around the contour of lane makings image from the edge pixel data signal Sx' according to a known method. The contour extractor 5 scans the signal Sx' with respect to the threshold Eth' to extract a line of each lane marking Lm, and produces an extracted lane marking signal Sc'. The matching operator 9P determines the straight or curved line matching the extracted lane contour line data Sc, and produces a matching signal Sm' including dimensional data of such matching lines. The lane mark contour extractor 11P extracts only the matching lines satisfying the possible dimensional features of lane marks on the road from the signal Sm' to produce an extracted lane signal Smc'. Based on the extracted lane signal Smc', the region limiter 13P determines a region around each of thus extracted lane marking lines having a predetermined area. Then, the region limiter 13P produces a region signal Sr' defining the regions. Based on the region signal Sr', the edge extractor 1 limits the area to scan around the detected lane markings. The current position detector 15P detects the position with respect to the road on which the automobile AM is currently located. The curvature detector 17P obtains the curvature of the lane. The yaw angle detector 19P detects the tilting angle of the automobile with respect to the lane. However, according to the perspective view, since the three-dimensional relationships are represented on a two-dimensional surface, the distant object is represented by the smaller size than the near object. The object's shape is distorted more according to the distance remote from the imaging device 100 or the automobile AM. Since the three-dimensional relationships are represented on a two-dimensional surface in the perspective view, the distant object is represented by the smaller size than the near object. In other words, an object in a position far from the automobile AM is expressed in a distorted shape more than that in a position nearby. Note that the images obtained by the signals Si, Sx', and Sc' do to express the actual (true) shape of the object such as a plan view. It is impossible to obtain a correct dimensional information of the object from the signal Sc' regardless the distance between the object and the imaging device 100. This clearly means that correct dimensional information of the road (lane) cannot be obtained, and much less the positional relationships between the automobile and the road. Note that all positioning operation such as matching, lane contour extraction, current position detection, curvature detection, and yaw angle detection are performed based on such incorrect dimensional information included in the signal Sc. Apparently, positioning operation by the conventional local positioning apparatus LPP is incorrect, unreliable, and hazardous. Another conventional local positioning apparatus is proposed in Japanese Laid-Open Patent Publication H3-139706. According to this conventional local positioning appratus, an image of two lane marks for guiding an automobile is taken by an imaging device. Two tangent lines having different length are drawn to those two lane marks for calculating a curvature of the lane marks. Based on this calculated curvature and a relationship between a curvature and an automobile conditions which are previously stored therein, the shifting distance in a lateral direction. However, sometimes the lane has a curvature too small to detect correctly. Furthermore, when an interval between two lane markings varies, the conventional local positioning apparatus cannot function properly. As a result, a local position of the automobile on a road cannot be detected. EP-A-0363339 discloses a navigation apparatus for a vehicle in an internal environment wherein a camera on the vehicle views a ceiling and the vehicles position is determined with respect to ceiling lights viewed by the camera. EP-A-0586857 discloses a vehicle lane position detection system having an image sensor mounted on the vehicle for identifying lane markers on the road ahead of the vehicle. US 5379353 discloses a picture processing device wherein picture data of a road from a camera mounted on a vehicle is processed for recognition of the contour of the road. SUMMARY OF THE INVENTION The object of the present invention is therefore to provide an improved local positioning apparatus which solves these problems. In order to achieve the aforementioned objective, a local positioning apparatus for detecting a local position of an object which can advance in a direction with respect to a lane on a local ground area based on a digital image signal representing a perspective view of said local ground area, said apparatus comprises a contour extraction means for extracting a contour of said lane from said digital image signal to produce a contour data; a conversion means for converting said contour data into a plane view system to indicate the dimensions of said extracted contour correctly to produce a coordinate converted data; and a feature detection means for detecting dimensional features of said extracted contour line based on said coordinate converted data to produce a dimensional data, the feature detection means including a matching means for matching either one of a straight line and an arc line with the extracted contour so as to produce matching data indicative of the matched line; and a current position detection means for detecting a current position of the object with respect to said lane based on said matching data. In order to achieve the aforementioned objective, a local positioning apparatus for detecting a local positioning apparatus for detecting a local position of an object which can advance in a direction with respect to a lane on a local ground area based on a digital image signal representing a perspective view of said local ground area, said apparatus comprises a contour extraction means for extracting a contour of said lane from said digital image signal to produce a contour data; a feature detection means for detecting dimensional features of said extracted contour line based on said contour data to produce a dimensional data, the feature detection means including an inclination matching means for obtaining inclinations of two neighboring pixels forming each of said contour and applying the Hough transformation to said inclinations to be matched by a linear equation; a quadratic polynomial matching means for applying a quadratic polynomial to said matched linear equation; and a contour line extraction means for selectively extracting two of said matched lines defining said lane to produce said dimensional data indicative of said selected two matched lines. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become clear from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings throughout which like parts are designated by like reference numerals, and in which: Fig. 1 is a block diagram showing a local positioning apparatus, according to a preferred embodiment of the present invention, incorporated in a local positioning system installed in an automobile, Fig. 2 is a block diagram showing the local positioning apparatus of Fig. 1 according to a preferred embodiment, Fig. 3 is a graph schematically showing an advancing direction view Vi obtained by the digital imaging device of Fig. 1, Fig. 4 is a graph schematically showing an edge pixel extracted view Vx indicating the edge pixels extracted from the view Vi of Fig. 3, Fig. 5 is a graph, similar to Fig. 4, in assistance of explaining an edge pixel extraction operation by an edge extractor of Fig. 2, Fig. 6 is a graph schematically showing a contour extracted view Vc indicating the contour pixels extracted from the view Vx of Fig. 4, Figs. 7A and 7B are graphs in assistance of explaining a coordinate conversion process according to the present invention, Fig. 8 is a graph showing a coordinate converted view Vcc indicating the contour pixels in the view Vc of Fig. 6 in a plane view, Fig. 9 is a graph showing typical patterns of curves of a linear contour line data obtained by the Hough transformation, Figs. 10A and 10B are graphs similar to Fig. 9, but showing typical patterns of curves of a nonlinear contour line data obtained by Hough transformation, Fig. 11 is a graph in assistance of explaining an arch matching operation by the matching operator of Fig. 2, Fig. 12 is a graph in assistance of explaining a region determining operation based on the matched lines obtained by the matching operator of Fig. 2, Fig. 13 is a graph in assistance of explaining the determination of a representative contour line by the region limiter of Fig. 2, Fig. 14 is a graph in assistance of explaining the determination of a scanning region width by the region limiter of Fig. 2, Fig. 15 is a graph showing the view V1 having the scanning regions obtained by the region limiter of Fig. 2 superimposed therein, Fig. 16 is a flow chart showing the operation blocks of the local positioning apparatus of Fig. 2, Fig. 17 is a flow chart showing details of the operation block #9 of Fig. 16, Fig. 18 is a flow chart showing details of the operation block #11 of Fig. 16, Fig. 19 is a block diagram showing an alternative of the local positioning apparatus of Fig. 2, Fig. 20 is a graph showing the advancing direction image view Vcc when the automobile is driving on a curved lane, Fig. 21 is a graph showing sets of dots each indicating an inclination of the extracted contour line, obtained by the inclination matching operator of Fig. 19, Fig. 22 is a graph in assistance of explaining a region determining operation based on the matched lines obtained by the matching operators of Fig. 19, Fig. 23 is a graph in assistance of explaining an operation of the current position detector of Fig. 19, Fig. 24 is a flow chart showing the operation blocks of the local positioning apparatus of Fig. 19, Fig. 25 is a flow chart showing details of the operation block #10 of Fig. 24, Fig. 26 is a block diagram showing an alternative of the local positioning apparatus of Fig. 19, Fig. 27 is a flow chart showing the operation blocks of the local positioning apparatus of Fig. 26, Fig. 28 is a block diagram showing an alternative of the local positioning apparatus of Fig. 27, Fig. 29 is a flow chart showing the operation blocks of the local positioning apparatus of Fig. 28, and Fig. 30 is a block diagram showing a conventional local positioning apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment Referring to Fig. 1, a local positioning apparatus according to a preferred embodiment of the present invention incorporated in a local positioning system LPS is shown. In this embodiment, the local position system LPS is installed in, for example, an automobile AM. The local positioning system LPS includes a local positioning apparatus LP, a digital imaging device 100, a moving speed detector 200, a global positioning apparatus (GPA) 300, an electric control unit (ECU) 400, and a navigation system 500. The digital imaging device 100 is preferably constructed by any suitable imaging device that can successively obtains the digital image data of an object represented by Ph x Pv pixel area (Fig. 3). "Ph" and "Pv" represent the numbers of pixels arranged in the horizontal direction and the vertical direction, respectively, of the image matrix, and directly determines the resolving power of the image data. The greater numbers Ph and Pv provide the higher resolving power, or the operation accuracy, resulting in the increased manufacturing cost. Therefore, these numbers Ph and Pv should be determined in accordance with the required resolving power and the cost, and are determined as 428 and 268 in this example. The digital imaging device 100 is preferably provided near the front end of the automobile AM for successively obtaining an image (still or moving pictures) of an advancing direction view, which is a perspective view looked over from the automobile AM, to produce an image signal Si in a form of digital data indicative of thus obtained image. Referring to Fig. 7B, a side view of automobile AM having the digital imaging device 100 on the front end portion thereof is shown schematically. The digital imaging device 100 is mounted in a manner tilting downward such that an optical axis Ax thereof crosses the horizontal plane (corresponding to the road surface on which the automobile moves) with a predetermined angle . Note that the optical axis Ax is in alignment with the advancing direction Z of the automobile AM. As a result, the perspective view in front of (viewed from) the automobile AM (imaging device 100) can be obtained. The imaging device 100 having an imaging angel wide enough to obtain the image of the position just under the front end of the automobile AM. Referring to Fig. 3, an image obtained by the digital imaging device 100 is shown. This image shows an advancing direction view Vi, viewed from the automobile AM, in the direction in which the automobile AM is moving. In this example, the automobile AM is driving on a left side lane LL defined by two white painted lane markings Lm1 and Lm2 on the road having two driving lanes. A right side lane is defined by two white painted lane markings Lm2 and Lm3. The bottom line of the view Vi shows the just under the front end of the automobile AM. Referring back to Fig. 1, the moving speed detector 200 is provided for detecting the moving velocity of the automobile AM, or the imaging device 100, to produce a vehicle speed signal Sv. A speedometer, for example, widely adopted in the automobile can be used for this purpose. The GPA 300 is provided for receiving global positioning signals from the navigational satellites to detecting global positioning data on location, velocity, and posture of an object on the earth to produce a global positioning signal Sg. For this purpose, so a usual apparatus for so called, Global positioning system is used. The local positioning apparatus LP is connected to the digital imaging device 100, the moving speed detector 200, and the GPA 300 for receiving the image signals Si, the vehicle speed signal Sv, and the global positioning signal Sg, respectively, therefrom. Based on these signals, the local positioning apparatus LP performs various calculations to detect the moving and stationary state of the automobile AM, and produces various signals as described later. The construction and operations of the local positioning apparatus LP will be described in detail with reference to Figs. 2, 19, 26, and 28 later. The ECU 400 is connected to the local positioning apparatus LP for receiving the ECU control signal Se therefrom. Based on this signal Se, the ECU controls the operation of the engine of the automobile AM. Since the ECU is well known to the personnel skilled in the automobile industries, the further explanation is omitted for the sake of brevity. The navigation apparatus 500 is connected to the local positioning apparatus LP for receiving the navigational signal Sn therefrom. Based on this signal Sn, the navigation system 9 performs various calculation to obtain the navigation data. For this purpose, a navigation apparatus commonly used for the automobile can be used. First Embodiment Referring to Fig. 2, an embodiment of the local positioning apparatus of Fig. 1 is shown. The local positioning apparatus LP1 includes an edge extractor 1, a threshold generator 3, a contour extractor 5, a coordinate converter 7, a matching operator 9, and a lane mark contour extractor 11, a region limiter 13, a current position detector 15, a curvature detector 17, and a yaw angle detector 19. The edge extractor 1 is connected to the digital imaging device 100 for receiving the image signal Si indicating the advancing direction view Vi therefrom to extract edge pixels at which the image density steeply changes. The edge extractor 1 applies a filtering process such as the Sobel filtering to not the entire but a predetermined area of the advancing direction view Vi to extract edge pixels for reducing the operation load to secured high speed filtering operation as follows. Referring to Fig. 3, the advancing direction view Vi subject to the filtering operation by the edge extractor 1 is shown. The view Vi is separated by a horizontal line Ls into two sections, top section St and bottom section Sb. This horizontal line Ls corresponds to a horizontal scanning line connecting pixels located on the A-th vertical position counted from the bottom line of the image Vi. This vertical A-th vertical position is preferably determined to correspond to the vertical position on which a vanishing point appears in the image Vi when the automobile AM is driving a flat road. In this example, the "A" is set to designate the pixels corresponding to the position about 50 m distant from the automobile AM, and is 162. The advancing direction view Vi having Ph x Pv pixels area, directly viewed by the imaging device 100, is divided into section St defined by Ph x (Pv-A) pixels and section Sb defined by Ph x A pixels. Just after starting the local positioning operation, the edge extraction (filtering) process is applied only to the bottom section Sb to extract edge pixels at which the image density changes steeply. Thus, the edge extractor 1 produces an extracted edge pixel signal Sx indicative of an extracted edge view Vx including edge pixels extracted from the section Sb (Ph x A pixels). Referring to Fig. 4, the extracted edge view Vx is shown. In this example, from the bottom portion St of the image Vi, the lane markings Lm1, Lm2, and Lm3 are extracted. Note that thus extracted edged pixels include the pixels mainly located around the contour of lane markings Lm1 and Lm2 together with the pixels (not shown in Fig. 4) on the other area of the section Sb. Referring back to Fig. 2, the threshold generator 3 is connected to the edge extractor 1 for receiving the edge pixel signal Sx therefrom. The threshold generator 3 determines a threshold Eth to extract the edge pixels around the contour of lane markings image from the edge pixel data signal Sx based on the density of edge pixels. The threshold Eth can be expressed by the following equation. Eth = C · Emax + (1 - C) · Emean wherein "Emax" and "Emean" represents a maximum density and an average density, respectively, of edge pixels on a predetermined horizontal scanning line within the bottom section Sb, and "c" is a constant greater than 0 and smaller than 1. Referring back to Fig. 2, the contour extractor 5 is connected to the edge pixel extractor 1 and the threshold generator 3 for receiving the edge pixel data signal Sx and the threshold Eth, respectively, therefrom. Based on these signals Sx and Eth, the contour extractor 5 scans within the bottom section Sb to extract a line of each lane marking image as follows. Referring to Fig. 5, the edge pixel extracted view Vx subject to the extracting operation by the contour extractor 5 is shown. The bottom section Sb of the view Vx is further separated by a vertical center line Lc into two sub sections SbL and SbR, as shown. The vertical center line Lc preferably extends vertically from a pixel located on the center Ph/2 of bottom line of the image Vx, but is not limited to the center position Ph/2. The extractor 5 compares the density of extracted edge pixel (Sx) on the horizontal scanning lines Lh with the threshold Eth in a centrifugal direction pixel by pixel, or moving away from the vertical center line Lc to the right and left sides, and from the horizontal line Ls (vanishing point) toward the bottom scanning line (automobile) pixel by pixel. Thus, a left contour extraction scanning line LhL extending within the left bottom section SbL toward the left side edge of the view Vx is obtaining. Similarly, a right contour extraction LhR scanning line extending within the right bottom section SbR toward the right side edge of the view Vx is obtained. This contour extracting operation can be applied along with the horizontal scanning lines Lh selected at a predetermined interval PLh to reduce the operation load and secure a high speed extraction operation. It is needless to say that PLh can be set to "zero," meaning that all horizontal scanning lines Lh are selected. The number K of scanning lines Lh can be expressed as |Pv / PLh|. The contour extractor 5 stores the first edged pixel Pe having the density greater than the threshold Eth as the contour pixel with respect to each of contour scanning lines LhR and LhL as a left side pixel PcL and a right side pixel PcR. However, when the object is not continued such that the right lane marking Lm2 is a separated center lane marking as shown in Fig. 5, the right side counter scanning lines LhR can reach the right side lane marking Lm3 over the right lane marking Lm2 passing through gaps between the separated portions thereof. As a result, the contour line ScR' corresponding to the inner contour of the right lane making of the right lane is extracted. Since the first edged pixel Pe detected with respect to each of contour scanning lines LhR and LhL, any other contour data than the contour of the target lane are obtained. After examining with respect to all contour scanning lines LhR and LhL, the extractor 5 produce a contour pixel data signal Sc indicative of a contour extracted view Vc. Referring to Fig. 6, thus obtained contour extracted view Vc is shown. As shown by dashed lines, only the inner side edges (ScL, ScR, and ScR') of contour lines of each lane markings Lm1, Lm2, and Lm3 are extracted. Note the contour edge ScR' of the right-sided lane LR which is a noise data for detecting the currently driving lane are shown in the right up corner of inner side edge ScR. The coordinate convertor 7 is connected to the contour extractor 5 for receiving the contour pixel data signal Sc therefrom. The coordinate convertor 7 converts the coordinate system of the contour extracted view Vc to obtain a bird's-eye view Vb of the extracted contour line. Before describing the coordinate conversion by the convertor 7, the difference between the contour extracted view Vc and the bird's-eye view is described briefly. The contour view Vc is extracted from the perspective views Vi and Vx. Since the three-dimensional relationships are represented on a two-dimensional surface, the distant object is represented by the smaller size than the near object. In other words, object's shape is distorted more according to the distance remote from the imaging device 100 or the automobile AM. With reference to Figs. 7A and 7B, the concept of coordinate conversion by the coordinate convertor 7 is described herebelow. In Fig. 7A, the coordinate system for the extracted contour view Vc is shown. The axis y-axis is vertical, the x-axis is horizontal, and point O is the original. In Fig. 7B, the coordinate system for the imaging device 100 mounted on the automobile Am is shown. The Z-axis is horizontal and in alignment with the advancing direction of the automobile AM. The X-axis is horizontal and perpendicular to the Z-axis. Note that the Z-axis extending perpendicular to Fig. 7B, but is not shown for the sake of brevity. Thus X-axis and Z-axis define a horizontal plane Pd substantially parallel to the surface of road or ground on which the automobile moves. The Y-axis is vertical and in alignment with the y-axis. The original point O is coinciding with the original point of the view Vc, and on the optical axis of the imaging device 100. The coordinate for the view Vc can be converted into the coordinate for bird's-eye view Vb by using the following equations. X = (x/F) (Z cos - Y sin) Z = Y (F cos + Y sin) Y = - H "F" represents a focal distance of an optical lens used in the imaging device 100. "" represents a tilting angle of the optical axis of the imaging device 100 with respect to the horizontal plane defined by the X- and Z- axes. "H" is a distance from the ground surface to the origin of the optical system of the imaging device 100. Both "" and "H" are preferably determined so that the advancing direction view Vi described with reference to Fig. 3 can be obtained by the imaging device 100. For example, "" and "H" set to 6° and 1.2m, respectively. By converting the distance in the view Vc in accordance with the above described equations (2), (3), and (4), a coordinate converted image signal Scc indicating a coordinate converted view Vcc wherein the object shapes are represented in a plan view wherein the distance in the horizontal direction is correctly represented regardless of the distance in the Z-axis direction from the imaging device 100. In a strict sense, thus obtained view Vcc is not a bird's-eye view, and is a plane view of the lane (road) projected on a plane parallel to the road. Therefore, the view Vcc always shows a flat surface even if the road (lane) is raised like a small hill. However, it is to be noted that such difference will not spoil the local positioning operation substantially, because the local positioning operation is performed with respect to a relatively near position such as 50 m far from the automobile, as described before. In such a near area, undulations of the road surface can be neglected. However, a bird's-eye view in a strict sense can be obtained by mounting the imaging device 100 on the automobile AM in a constant altitude that the optical axis Ax is kept parallel to the horizontal by utilizing a known altitude control device such as some gyroscopes. Referring to Fig. 8, the coordinate converted view Vcc is shown. Note that the lane markings Lm1, Lm2, and Lm3 are represented by the inner edge contour lines ScL, ScR, and ScR', respectively, as parallel lines. Furthermore, note that the signal Scc includes information of correct dimensions of the object, or the lanes LL and LL. Note that the image Vcc of Fig. 8 corresponds to the bottom section Sb of image Vc of Fig. 4. Referring back to Fig. 2, the matching operator 9 is connected to the coordinate converter 7 for receiving the coordinate converted image signal Scc therefrom. On receipt of the coordinate converted image signal Scc, the matching operator 9 performs a matching operation as follows. The Hough transformation process is applied to each of coordinate converted data of inner edge contour lines ScL, ScR, and ScR' in the data Scc separately based on the following equation. ρ = X cos + Z sin wherein "ρ" is a distance between the original O and a pixel of the contour data in the Z-X coordinate; and "" is an angle between the X-axis and the line extending between the original O and the pixel. From the equation (5), the following equation corresponding a line can be obtained. X = (ρ - Z sin) / cos As a result of Hough transformation of the contour line data in the coordinate converted contour data Scc, a group of curves is obtained in a parameter space with respect to each of extracted contour line data ScR and ScL. Referring to Figs. 9, 10A, and 10B, typical patterns of curves of the Hough transformed coordinate converted contour line data Scc (ScR and ScL) in the parameter space are shown. As best shown in Fig. 9, the curves of thus Hough transformed contour data cross each other at a single crossing point Cp in the parameter space when the contour line is linearly arranged on a straight line. However, when the contour line is not arranged on a straight line but a curved line, the curves never cross each other as shown in Fig. 10A or cross at plural points Cp1, Cp2, Cp3, Cp4, Cp5, and Cp6 (generalized as Cpn, "n" is an integer), as shown in Fig. 10B. Note that it is substantially impossible to draw the lane markings Lm having completely straight side lines on the road. Therefore, the contour lines ScR and ScL extracted from the image of lane markings Lm essentially include non-straight portion therein. In this view point, the curves are likely to cross at plural points Cpn. However, the principles described with reference to Figs. 9, 10A, and 10B are apparently effective with respect to the general portion of the contour lines ScR (ScR') and ScL. In other words, almost all the Hough transformed curves extracted from the straight lane cross at the same point. In consideration of these facts, the matching operator 9 detects a crossing frequency Fc of each crossing point Cpn at which curves cross each other to compare with a predetermined threshold Fth. Then, the matching operator 9 determines one of crossing point Cpn where the crossing frequency Fc is greater than the threshold Fc as the single crossing point Cp. In this case, it is judged that the contour line ScR or ScL is a straight line, meaning that the automobile AM is currently driving or stationed on a straight lane (road). Thus, a straight line ScRm or ScLm matching the inner side line of the line marking Lm (Lm1 and Lm2) can be obtained in the parameter space. Then, a line expressed by the equation (6) can be matched. When there is no crossing point Cpn where the crossing frequency Fc is greater than the threshold Fth, the matching operator 9 determines that all curves do not cross at a single crossing point. In this case, it is judge that the contour line ScR, ScR', or ScL is a curved line, meaning that the automobile is currently driving or stationed on a curved lane (road). The matching operator 9 further obtains the curved line corresponding to that of the inner side line of the line marking Lm by representing an arc, as described below. Referring to Fig. 11, a matching operation to obtaining an arc representing the curved lane is shown schematically. In the left portion of Fig. 11, the image view Vcc of Fig. 8 is shown in a reduced scale. The matching arc is obtained with respect to each of contour lines ScR, ScR' or ScL. For example, the arch ScRm matching the contour line ScR is obtained as follows. Every edge pixels on the contour line ScR is paired with other edge pixels thereon, and each of these pair of pixels is connected by a line corresponding to a chord of an arc joining these paired pixels. Therefore, when the number Ne ("Ne" is an integer) of edge pixels Pe are on the contour line ScR, there will be (Ne - 1)! of lines obtained. "(Ne - 1)!" represents the factorial of (Ne - 1). Next, a perpendicular at midpoint with respect to each of (Ne-1)! of chords are obtained. Thus, (Ne - 1)! of lines R (Ne) corresponding to the radius of a circle having those edge pixels Pe are obtained. A point P at which most of lines R (Ne) cross is determined as a center of this arc. This center point P is expressed as (a, b) in the X-Z coordinate system. Since the center point P is determined based on all chords extending between all edge pixels on the contour line ScR, the center P can be determined with high precision. Based on the center point P and radius length obtained with high precision, a function representing the arc ScRm matching the contour line ScR is obtained as expressed by the following equation. (X - a) 2 + (Z - b) 2 = R 2 This matching arc line ScRm can be obtained by utilizing other methods than the above described method such as the least squares method and the Hough transformation. Furthermore, it is also possible to determine the center P based on (Ne-1) of chords made by neighboring pixel pairs. Similarly, the matching operator 9 further obtains the straight line or arch ScLm and ScR'm matching the other contour line ScL and SCR', respectively. Thus, the dimensional data indicating the shape, length, arranging pattern of each lane contour line is obtained. Then, the matching operator 9 produces a matching signal Sm including such dimensional information data of matching straight line or arches ScRm, ScR'm, and ScLm. Referring back to Fig. 2, the lane mark contour extractor 11 is connected to the matching operator 9 for receiving the matching signal Sm therefrom. The lane mark contour extractor 11 includes the dimensional feature data indicating the lane markings Lm for possible lanes such as a length, a width, an interval of each separated portions, and arranging pattern thereof, the width of the automobile AM, and so on. Note that these dimensional feature data is effective regardless of number of lanes. The lane mark contour extractor 11 compares the dimensional features of the contour lines ScR, ScR', and ScL which are matched the straight line or curved line with the dimensional feature data stored therein. The operation of the lane mark contour extractor 11 will described bellow with reference to Fig. 8, because the view Vcc of Fig. 8 is substantially the same as the view Vm indicated by the matching signal Sm. However, the matching contour lines ScLm, ScRm, and ScR'm that are continual lines are represented by the contour line data ScL, ScR, and ScR', respectively. Until the second pixels, counting from the top toward the bottom of the view Vcc, the contour lines ScL (ScLm) and ScR (ScRm) are paired. The lane mark contour extractor 11 compares the distance between both lines ScL (ScLm) and ScR (ScRm) with an allowable range of a lane width in the dimensional feature data stored therein, and determines that both contour lines ScL (ScLm) and ScR (ScRm) are a true pair of contour lines defining a single lane. From the third to fifth pixels, the contour lines ScL (ScLm) and ScR' (ScR'm) are paired. The contour lines ScL (ScLm) and ScR' (ScR'm) correspond to the lane markings Lm1 and Lm3 defining two lane LL and LR, as described with reference to Fig. 3. Therefore, the lane mark contour extractor 11 determines that the lines ScL (ScLm) and ScR' (ScR'm) are not a true pair for a lane. However, it is to be noted that the contour line ScL (ScLm) is one of true pairs of contour lines defining a single lane. From the sixth to eleventh pixels, the counter lines ScL (ScLm) and ScR (ScRm) are determined as a true pair of lane markings in the same manner as for the first to second pixels. Furthermore, since the contour line ScL is matched with a single arch ScLm by the matching operator, it is judged as three (from the third to fifth) pixels are determined as the contour line of left side lane marking Lm1. However, the three pixels of contour line ScR' (ScR'm) are neglected. Thus, only a true pair of contour lines ScL (ScLm) and ScR (ScRm) are extracted from the matching signal Sm. Similarly, the contour lines ScRm and ScR'm are extracted from the signal Sm when the automobile AM, the imaging device 100, moves to the right-sided lane LR. It is apparent from the above, the lane mark contour extractor 11 can extract the true pair of counter lines of the lane on which the automobile AM (imaging device 100) currently moves or located regardless of the number of lanes. Then, the lane contour extractor produces an extracted lane contour signal Smc indicative of thus extracted lane contour view Vmc. However, when there is no contour line that satisfies the dimensional feature data stored therein, the lane mark contour extractor 11 produce an error signal See. This means that the local positioning operation faces to such difficulties that no lane marking Lm is applied on the road, or only one lane marking is applied over the viewing scope of the imaging device 100. In other words, no information useful for guiding the automobile AM along a road is detected. Note that the error signal See can include the information included the signal Smc. Referring to Fig. 12, the lane mark contour extracted view Vcm is shown. The extracted pair of lane mark contour lines ScLm and ScRm matched by the arches ScLm and ScRm are shown. The noise data such as the contour line ScR'm (ScR') of the neighboring lane LR in the view Vc are not included in the view Vcm. Thus, contour line data other than that of the lane on which the automobile AM (or the imaging device 100) is advancing can be removed from the image data Vcc (Vm) in Fig. 8. Referring back to Fig. 2, the region limiter 13 is connected to the lane mark contour extractor 11 for receiving the extracted lane contour signal Smc or the error signal See therefrom. The region limiter 13 is provided to limit the region in the advancing direction image Si (Vi) which the edge extractor 1 scans to extract the edge pixels Pe based on the extracted lane contour signal Smc. With reference to Fig. 13, the region limitation by the region limiter 13 is described. The region limiter 13 obtains crossing points of the extracted matching contour lines (straight or curve) ScRm and ScLm in Fig. 12 with corresponding horizontal scanning lines in the X-Z coordinate system. This can be performed in a manner similar to those described in Fig. 5, but is expressed in the x-z coordinate system. As best shown in Fig. 13, a plurality of crossing points are obtained with respect to the matching contour lines ScLm and ScRm. The region limiter 13 converts the X-Z coordinate system to the x-z coordinate system by the following equation, in order to express these crossing points in the perspective view Vi. x = FX / (Z cos + H sin) z = F (H cos + Z sin) / (Z cos - H sin) The parameters used in equations (7) and (8) are the same as those used in equations (2), (3), and (4). Thus, the plural crossing points on the matching lines ScLm and ScRm in X-Z plane of the view Vmc are converted to points (pixels) in the x-z plane corresponding to the advancing direction view Vi. Each of crossing points obtained from the matching line ScRm is joined to the neighboring point(s) to represent the contour line ScR by thus connected lines ScRr in the x-z plane (view Vi). Similarly, each of crossing points obtained from the matching line ScLm is joined to represent the contour line ScL by the connected lines ScLr. With reference to Fig. 14, an operation by the region limiter 13 is described below. In Fig. 14, a view Vr wherein the representative contour lines ScRr and ScLr are shown. Then, the region limiter 13 decide a scanning region RsR around thus obtained representative contour line ScRr. The scanning region RsR extends in the horizontal directions (right and left sides) along x-axis from the representative line ScRr by a predetermined length Wr. This length Wr is determined to be greater than the possible travel that the lane marking Lm1 will make in the x-direction of in the view Vi for one system cycle Cs, 33 ms for example, of the local positioning apparatus LP. Note that the travel of lane marking Lm1 in the view Vi is caused by the change of relationship between the imaging device 100 (automobile AM) and the lane markings Lm (road). The movement of the automobile AM in the X-direction, the curved lane (road), the tilting of the automobile with respect to the road surface, and the rolling of the automobile, for example, causes such altitude to change. In this embodiment, the length Wr is determined based on previously determined driving conditions such as the dimensional feature data stored in the lane mark contour extractor 11. However, it is also possible to determine the length Wr in consideration of the current state such as a moving speed of the imaging device 100 and a configuration of the lane. Similarly, the region limiter 13 obtains a representative contour line ScLr, and a scanning region RsL around the contour line ScLr. Then, the region limiter 13 produces a region data signal Sr including the data of thus obtained scanning regions RsR and RsL. Referring back to Fig. 2, the edge extractor 1 is further connected to the region limiter 13 for receiving the region signal Sr therefrom. Then, the edge extractor 2 superimposes the scanning regions RsR and RsL on the view Vi, as best shown in Fig. 15. Thereafter, the edge extraction (filtering) process is applied not to the bottom section Sb but only to these scanning regions RsR and RsL. Thus, the data amount to be scanned is further reduced than those in the just after the starting the local positioning operation, and is free from the noise that was removed by the lane mark contour extractor 11. However, when no information effective for guiding the automobile AM is detected by the lane contour line extractor 11, the matching operation 9 suppresses its operation on receipt of the error signal See. In this case, the edging extractor 1 performs edged extraction operation based on the image data Si without the region data signal Sr. Referring back to Fig. 2, the current position detector 15, the curvature detector 17, and the yaw angle detector 19 are connected to the lane mark contour detector 11 each for receiving the signals Smc or See therefrom. With reference to Fig. 12, the operation of the current position detector 15 is described herebelow. The current position detector 15 determines the positions on the matching lines ScLm and ScRm with the X-axis, where Z=0 as a left-side lane position HL and a right-side lane position HR, respectively, based on the signal Smc. Then, a center point between the both sides lane positions HL and HR as a lane center position HC that is expressed as (HC, 0) in the X-Z system. Since the imaging device 100 is positioned on the original point O of the X-Z coordinate system, the current position of the imaging device 100, or the automobile AM with respect to the lane (road) can be detected as being shifted from the center of the lane LM by the distance -HC. Then the current position detector 15 produces a position detection signal Shc indicative of that shift distance -HC. As apparent from the above, the current position of the imaging device 100 with respect the lane can be detected correctly regardless of the shapes, straight or curved, of the lane based on the signal Smc. Furthermore, it is needless to say that any other value than "zero" can be adapted as the value of Z. The curvature detector 17 obtains the curvature of the lane based on the equation (6) when the matching operator 9 matches a curved line to the lane contour lines based on the signal Smc. In this embodiment, the curvature radius of the matched arch line is detected as the curvature of the current lane when that matched arch has a radius greater than 600 m. Then, the curvature detector 17 produces a curvature detection signal Scu indicating thus detected radius. The yaw angle detector 19 detects the tilting angle α of the matched contour lines ScRm or ScLm with respect to the X-axis (Z=0) based on the signal Smc. Then, the yaw angel detector 19 produces a yaw angle signal Sy indicative this tilting angle α. Note that each of the current position detector 15, the curvature detector 17, and the yaw angle detector 19 suppresses its operation on receipt of the signal See for prevent positioning operation based on the wrong lane information. However, it is also possible to obtain the current position, the curvature, and yaw rate based on the signal See including the detected information. Referring to Fig. 16, the operation block of the local positioning apparatus LP1 is shown. First, the local positioning apparatus LP1 is turned, the digital imaging device 100 is also turned on to obtain the advancing direction image Vi to produce the digital image data Si. At block #1, the edge extractor 1 receives the image data Si from the imaging device 100. At block #3, the edge extractor 1 extracts the edge pixels from the image data Si to produce the extracted edge pixel signal Sx. At block #5, the threshold generator 3 determines the threshold Eth based on the density of edge pixels in the extracted edge pixel signal Sx. At block #7, the contour extractor 5 extracts a line of each lane marking image from the extracted edge signal Sx with respect to the threshold Eth. Then produces the contour pixel data signal Sc. At block #9, the coordinate convertor 7 converts the coordinate system to obtain a bird's-eye view of the contour extracted view Vc. Then, the coordinate convertor 7 produces the coordinate converted image signal Scc. At block #11, the matching operator 9 determines the formulas of the inner edge contour lines in the data Scc by matching an arch or a straight line by utilizing the Hough transformation of each pixel of contour data in signal Scc. Then, the matching operator 9 produces the matching signal Sm including such dimensional information data of matching straight line or arches. At block #13, the lane mark contour extractor 11 compares the dimensional features of the matched contour lines in the signal Scc with the dimensional feature data stored therein. The lane mark contour extractor 11 extracts the true pair of counter lines of the lane on which the automobile AM (imaging device 100) currently moves or located, and produces the extracted lane contour signal Smc or the error signal See. At block #15, it is judged whether the signal produced at block #13 is the error signal See, or not. When it is YES, the procedure returns to block #1. However, when it is NO, meaning that the extracted lane contour signal Smc is produced at block #13, the procedure advances to the next block #17. At block #17, the region limiter 13 the scanning regions around the lane markings Lm in the digital image data Vi based on the signal Sm, and produces the region signal Sr. At block #19, the current position detector 15 determines the current position with respect to the lane (road) based on the signal Smc. The signals Smc and Sr are transferred to the next block #21. At block #21, the curvature detector 17 obtains the curvature of the lane based on the signal Smc, and produces the curvature detection signal Scu. The signals Smc and Sr are transferred to the next block #23. At block #23, the yaw angle detector 19 detects the tilting angle α based on the signal Smc, and produces yaw angle signal Sy. Then, the region signal Sr is transferred to block #1, and the system cycle Cs starting from block #1 to block #23 repeats until the local positioning apparatus LP1 is turned off. Referring to Fig. 17, the details of the operation block #9 for coordinate conversion are shown. At step S1, "AY" and "0" are set to "y" and "i", respectively. "AY" is a predetermined number corresponding to the vertical position "A" of the scanning line Ls, and is 31 for example. At step S3, the coordinate conversion starts from the pixel Pe i=0 (y=AY,x) on the first horizontal scanning line Ls. At step S5, the coordinate "x" of the pixel Pe(AY,x) is obtained. At step S5, the coordinate for "Pe i (y,x)" is converted into the Y-Z coordinate based on the equations (2), (3), and (4). At step S7, "y" and "i" are incremented by "k" and "1", respectively. "k" is an integer and preferably divisor for "A". At step S9, it is judged whether "y" is smaller than "BY," meaning that the bottom line of the image Vc, or not. "BY" is a predetermined number corresponding to the vertical position of the image Vi, and is -130 for example. When "k" is not a divisor for "A," any value smaller than "k" by "1" can be set. When it is "YES," meaning that any of the extracted contour pixels Pe in the view Vcc are not applied with the coordinate conversion yet. Then, the procedure returns to step S3. However, when it is "NO," the procedure terminates. Thus, the view Vc in the signal Sc are is converted from the perspective view to the bird's-eye view in X-Z coordinate. Referring to Fig. 18, the details of the operation block #11 for matching operation are shown. At step S11, "0" is set to both "i" and "count_l." Thus, the pixel WLi(i=0) is determined to be applied with the Hough transformation. At step 513, it is judged whether pixel WLi is available? When it is "YES," meaning that WLi is available in the view Vc (signal Sc), the procedure advances to step S17. However, when it is "NO," the procedure advances to step S21. At step S15, "count_l " is incremented by "1". Then, the procedure advances to step S17. At step S17, WLi is Hough transformed to be a pixel in a (ρ, ) plane based on the equation (5). At step S19, it is judged whether all pixels were Hough transformed to the (ρ, ) plane, or not. When it is "NO," the procedure advances to step S21. At step S21, "i" is incremented by "1". Then, the procedure returns to step S13 for examining the next pixel Wli(i=1). However, at step S19, it is "YES," meaning that all pixels are converted. The procedure advances to step S23. At step S23, Max_1(ρ max ,  max ) at which the maximum number pixels are located in the (ρ, ) plane. At step S25, it is judged whether Max_l is greater than (count_l x β), or not. Note that "Max_l" and "(count_l x β)" correspond the previously described crossing frequency Fc and the threshold Fth, respectively. "β" is a positive number greater than zero but smaller than 1, and is preferably 0.4. It is judged "YES," meaning that the Hough transformed curves cross at the same point, the procedure advances to step S27. At step S27, a line expressed by the equation (6) can be obtained for matching the extracted contour line. The procedure terminates. However, at step S29, it is judged "NO," meaning that the Hough transformed curves do not cross at the same point. Then, the procedure advances to step S29. At step S29, an arch expressed by the equation (7) can be obtained for matching the extracted contour line. Then, the procedure terminates. Second Embodiment Referring to Fig. 19, an alternative of the local positioning apparatus LP1 of Fig. 2 is shown. The local positioning apparatus LP2 has a construction very similar to that of the first embodiment, however, the coordinate convertor 7 in Fig. 2 is removed from Fig. 19. As a result, it is to be noted that all operations in this embodiment are performed based on the signals bearing perspective view. Furthermore, the matching operator 9 is replaced by an inclination matching operator 9A and a quadratic polynomial matching operator 9B. The current position detector 15 is also replaced by a modified one. The inclination matching operator 9A is connected to the contour extractor 5 for receiving the contour extracted signal Sc therefrom. The inclination matching operator 9A applies an inclination matching operation to each pixel in the extracted contour lines in signal Sc individually. Before describing the inclination matching operation, the advancing direction views Vi and Vc when the automobile AM is driving on a curved road are described with reference to Fig. 20. When the road is making a curve in the right, the left side contour line ScL, located on the outside of the curve, looks like to extend linearly in the advancing direction from the bottom of the image Vi. Similarly, the right side contour line ScR, located on the inside of the curve, also looks like to extend linearly in the advancing direction but rapidly deviating to the curving direction (right side) from the middle portion thereof. These are common in the advancing direction view of the curved road, or lane. Based on this fact, the inclination matching operator 9A applies an inclination matching of the extracted contour lines ScR (ScR') and ScL in the signal Sc. First, an inclination angle of a line connection two pixels located on the neighboring two horizontal scanning lines (Lh) thereat are determined. Thus determined inclination angle is stored as an inclination (SLi_i+1) at a center between these neighboring two pixels. Therefore, no inclination angle is available with respect to any pixel having no pixel on the neighboring scanning line, such as the center marking Lm2 being separated in several portions (Fig. 4). Referring to Fig. 21, the inclinations obtained from the signal Sc corresponding to the view of Fig. 20 are shown. The dot sets SA in the left-bottom section and SD in the right-top section correspond to the inclinations with respect to the right contour lines ScR and the left contour line ScR, respectively. Thus, from the outer curved line (ScL in Fig. 20) seems like a straight line in the advancing direction view Vcc, the dot set SA along a line ascending with respect the x-axis is obtained. From the inner curved line (ScR in Fig. 20) making a curve from the middle portion thereof, the dot set SD along a line descending the x-axis is obtained. Note that "y'" is a differential of "y." Then, the inclination matching operator 9A applies the Hough transformation to each of dot sets SA and SD to apply a line expressed by the following equation of y' = 2 D x + E "y'" is a differential of "y," and therefore represents the variation of inclination of the following quadratic equation of y = D x 2 + E x + F "D", "E", and "F" constants. The value of "D" indicates the curving state and degree of the contour line. For example, when the extracted contour line corresponds to the outer curved line, "D" is greater than zero. Otherwise, "D" is equal to or less than zero. Therefore, according to the value of "D," one of the following different equations is selectively applied to the dot sets, as follows. When "D" > 0, the equation (11) is applied. When "D" ≤ 0, an equation (12) for a line, similar to the equation (10), induced utilizing the Hough transformation is applied. x' = 2 G y + H A quadratic polynomial similar to the equation (11), expressed by the following equation (13) is applied. x = 2 G y 2 + Hy + I "x'" is a differential of "x," and represents the variation of inclination of the quadratic polynomial (13). "G," "H," and "I" are constants. Thus, the inclination matching operation 9A converts the signal Sc that is simply a group of dots in the image Vc into a data indicating the inclination of each contour lines. Based on thus converted inclination information data, further information indicating the curving conditions. Then, the inclination matching operator 9A produces an inclination matching signal Sm1 indicative of that information obtained thereby. The quadratic polynomial matching operator 9B is connected to the inclination matching operator 9A for receiving the signal Sm1 therefrom. The quadratic polynomial matching operator 9B applies a quadratic polynomial to each of the extracted contour lines ScR (ScR') and ScL in signal Scl individually. When the signal Sm1 indicates that the equation (10) was applied, the quadratic polynomial matching operator 9B substitutes the values of x-y coordinate for the each contour pixel in Sc for "x" and "y" of the equation (11) to calculate the value of "F" successively. Among thus calculated values of "F," the value that appears most frequently is determined as the constant "F" of equation (11). However, when the signal Sm1 indicates that the equation (13) was applied, the quadratic polynomial matching operator 9B substitutes the values of x-y coordinate for the each contour pixel in Sc for "x" and "y" of the equation (14) to calculate the value of "I" successively. Among thus calculated values of "I," the value that appears most frequently is determined as the constant "I" of equation (14). Then, the quadratic polynomial matching operator 9A produces an inclination matching signal Sm2 indicative of that information obtained thereby. Note that when "D" is zero, the equation (11) becomes y = E x + F. Thus, the curving conditions of the lane can be determined by applying the quadratic polynomials regardless of whether the road is straight or curved. The modified current position detector 15A operates based on the signal Smc including the information of signals Sm1 and Sm2, as follows. Furthermore, note that the image of signal Smc is a perspective view but not a bird's-eye view. Referring to Fig. 23, the operation of the region limiter 13 in this embodiment is shown. The view Vr wherein the representative contour lines ScRr and ScLr that are obtained based on the equations (12) and (11) applied by the matching operators 9A and 9B. Furthermore, with reference to Fig. 23, the operation of the current position detector 15A is described herebelow. The current position detector 15A determines the positions on the matching lines ScLm and ScRm with the x-axis corresponding to the position where Z=0 as a left-side lane position PL and a right-side lane position PR, respectively. Since the view Smc is not a bird's-eye view in this embodiment, the x-axis position is obtained based on the following equation. y = F / tan  Then, a center point Pm between both sides lane positions PL and PR as a lane center position Pm corresponding to the center position HC (HC, 0) in the X-Z coordinate system in Fig. 12. Since the center position Pm in the view Vcm is in a proportional relationship with the position of HC in the X-axis. Therefore, the position Pm in z-axis is simply converted to the "HC" based on a previously determined constant. Therefore, the current position detector 15A produces a position detection signal Shc indicative the shift distance -HC with respect to the center line (x = 0). Referring to Fig. 24, a flow chart showing the operation blocks of the local positioning apparatus LP2 of Fig. 19 is shown. The operations in this embodiment are very similar to those shown in Fig. 16, but the operations block #9 for coordinate conversion is removed, the operation block #11 for matching operation is replaced by an inclination matching block #10 and a quadratic polynomial operation block #12. At block #10, the inclination matching operator 9A determines the inclination angle of each contour lines at every horizontal scanning lines. Furthermore, determined are the curving conditions of the lane markings Lm. Then, the inclination matching signal Sm1 including such dimensional information data is produced, as described in the above. At block #12, the quadratic polynomial matching operator 9B applying the quadratic polynomials to the inclination matching signal Sm1. Then, the operator 9B determines curving conditions of the lane, and produces the matching signal Sm2, as described in the above. Referring to Fig. 25, the details of the operation block #10 for inclination matching are shown. Herebelow, the inclination matching operation performed with respect to one of contour lines ScL and ScR (ScR'), because the operation is the same for each contour line. At step S41, "0" is set to "i." At step S43, it is judged whether both the i-th and (i+1)-th contour pixels are available in the signal Sc, or not. When it is "YES," the procedure advances to step S45. However, when it is "NO," the procedure advances to step S47. At step S45, the inclination angle SLi_i+1 of a line connecting the i-th and (i+1)-th contour pixels based on the following equation of SLi_i+1 = (y i - Y i+1 ) / (IL(y i ) - IL(y 1+1 )) "IL(y i )" represent the coordinate for the i-th extracted contour pixels. At step 547, it is judged whether "i" is less than (K - 1), or not. Note that "K" is an integer corresponding to the number of horizontal scanning lines Lh used for extracting the contour pixels Pe in the operation block #7. When it is "NO," there extracted contour pixel Pe not subject to the inclination obtaining process at step S45 remains. Then, the procedure advances to step S49. At step S49, "i" is incremented by "1", and then the procedure returns to step S43. However, at step S47, when it is "YES," meaning that inclinations have been obtained with respect to the all extracted contour pixels included in a single contour line. Then the procedure advances to step S51. At step S51, the inclination data (x, SLi_i+1) are applied with the Hough transformation of equation (5), which can be shown as ρ' = X cos' + SLi_i+1 sin'). Then a line expressed by the equation (10), y' = 2 D x + E, is matched. At step 553, it is judged whether "D" is equal to or less than zero, or not. It is "YES," meaning that the currently examining contour line corresponds to the inner curved line. Then, the procedure advances to step S55. At step S55, the equation (10), y' = 2 D x + E, is integrated to obtain the equation (11), y = D x 2 + E x + F. Then, substitute (x, SLi_i+1) for the equation (11) to determine "F," and the procedure terminates. Third Embodiment Referring to Fig. 26, an alternative of the local positioning apparatus LP2 of Fig. 19 is shown. The local positioning apparatus LP3 has a construction substantially the same as that of the second embodiment, wherein the yaw angle detector 19 in Fig. 19 is removed. However, the moving speed detector 200, the GPS receiver 300, the electric control unit (ECU), and the navigation apparatus 500 are connected to the local positioning apparatus LP3, as best shown in Fig. 26, for receiving the local positioning signals Smc, See, and Scu therefrom. Thus, an example of the local positioning system LPS in Fig. 1 are provided. The map memory 25 is provided for memorizing the geographical features of the road such as road maps, landmarks, and curved positions. The GPS receiver 300 is provided for receiving the GPS signals from the navigational satellites to obtain the global positioning data such as location, velocity, and altitude in the global view point. The GPS receiver 300 further detect the current local and global position of the automobile AM based on the global position data and the local positioning Smc accurately, and produces a local and global positioning signal Sg. The navigation apparatus 500 includes a curved position setter 21, a map memory 25, a driving safety estimator 27, and an alarm. The curved position setter 21 is connected to the curvature detector 17 and the GPS receiver for receiving the curvature detection signal Scu and the local and global positioning signal Sg, respectively, therefrom. The curved position setter 21 compares the detected radius indicated by the signal Scu with a predetermined curvature to produce a result signal having two levels. The result signal has a high level when the detected radius is greater than the predetermined curvature. The map memory 25 is connected to the curved position setter 21 for receiving the result signal, the curvature detection signal Scu, and the local and global positioning signal Sg therefrom. On receipt of high level result signal, the map memory 25 stores the current position (Sg) with respect to thus detected curvature (Scu). The driving safety estimator 27 is connected to the map memory 25, the moving speed detector 200, and the GPS receiver 300 for receiving the curvature (Scu) of curved road data, the current moving velocity Sv, and the local and global position data Sg, respectively, therefrom. Based on these information data, the driving safety estimator 27 judges whether the automobile AM can advance on the current curved road safely, or not. Then, it is judged "NO," meaning that the automobile AM will not able to drive the curved road safely, the safety estimator 27 produces a warning signal including such estimation information. The alarm 31 is connected to the driving safety estimator 27, and gives an alarm message to the driver on receipt of the warning signal therefrom. The ECU 400 is connected to the driving safety estimator 27 of the navigation system 500, and actuates a driving system such as an Engine to reduce the moving velocity of the automobile AM on receipt of the warning signal therefrom. Note that the local positioning apparatus LP3 according to this embodiment can be prepared to have a construction substantially the same as that of the first embodiment (LP2; Fig. 2) instead of that of the second embodiment (LP1; Fig. 19). Referring to Fig. 27, a flow chart showing the operation blocks of the local positioning apparatus LP3 of Fig. 26 is shown. The operations in this embodiment are very similar to those shown in Fig. 24, but operations block #25 for global position detection, #27 for curved position setting, #29 for driving safety estimation, #31 for alarming, and #33 for actuating ECU are added after the operation block #21. Note that the operation block #23 for yaw angle detection in Fig. 24 is removed in this embodiment. At block #25, the GPS receiver 300 detects the current local and global position. At block #27, the curved position setter 21 detects the position of a curved road having a curvature greater than the predetermined curvature data. At block #29, the driving safety estimator 27 judges whether the automobile AM can drive on the currently advancing curved road safety without reducing the moving speed, or not, based on the data obtained at the preceding blocks #25 and #27, as follows. Based on the current position data Sg, the estimator 27 judges whether any curved road ahead by a distance DD is recorded in the map memory 25, or not, wherein "DD" is a safety distance providing the driver with a time long enough to take necessary operations to reduce the moving speed to the safety level. Therefore, "DD" should be determined in consideration of the possible driving conditions such as moving speed, road condition, the vehicle weight, and so on. For example, "DD" is set to 300 m in this embodiment. With respect to such curved position, the driving safety is estimated based on the following inequality of R < V 2 / Cv wherein "R" is a radius of the curved road (Fig. 11), "V" is a moving velocity (Sv) of the automobile AM, and "Cv" is a constant determined in accordance with the driving ability of the automobile AM. When the inequality (16) is satisfied, the driving safety estimator 27 produces the warning signal. Note that the warning signal will be cancel immediately when it becomes that the inequality (15) is not satisfied as a result of the braking operation. At block #31, the alarm 31 gives an alarm on receipt of the actuating signal from the driving safety estimator 27. At block #33, the electric control unit (ECU) actuates a carburetor's throttle to close and/or shift down the automatic transmission gear box for reducing the moving speed of the automobile AM. Fourth Embodiment Referring to Fig. 28, an alternative of the local positioning apparatus LP3 of Fig. 26 is shown. The local positioning apparatus LP4 has a construction substantially the same as that of the third embodiment, wherein the moving speed detector 200 and the ECU 400 in Fig. 26 are removed, and the navigation apparatus 500 is replaced by a modified one 500R. The modified navigation apparatus 500R includes the curved position setter 21 and the map memory 25 that are the same as the navigation apparatus 500 of Fig. 26. The apparatus 500 further includes an image capture device 33 and a display 34. The image capture device 33 is connected to the imaging device 100 and the GPS receiver 300 for receiving the advancing direction view signal Si and the position signal Sg, respectively, therefrom. The image capture device 33 includes an image buffer memory such as a frame memory for storing the image data temporarily. According to the driver's instruction, the image capture device 33 captures one frame of image signal Si indicating the advancing direction view image Vi. The map memory 25 is further connected to the image capture device 33 for receiving thus captured one frame of image data Si (Vi) to record it on a suitable recording medium incorporated therein. For this purpose, an re-writable type of optical disk having a great storage capacity such as SD-ROM, PD, DVD-RAM, and so on can be used. The display 34 is connected to the image capture device 33 for receiving the stored image signal (Si) therefrom to shows the current advancing direction view image Vi through the image capture device 33. The display 34 is also connected to the map memory 25 to reproduce the advancing direction image Si or to display the geographical information stored in that medium. Note that the local positioning apparatus LP4 according to this embodiment can be prepared to have a construction substantially the same as that of the first embodiment (LP2; Fig. 2) instead of that of the third embodiment (LP3; Fig. 28). Referring to Fig. 29, a flow chart showing the operation blocks of the local positioning apparatus LP4 of Fig. 28 is shown. The operations in this embodiment are very similar to those shown in Fig. 27, but operations blocks #29, #31, and #33 are replaced by an operation block #35 for storing image and #37 for display. At block #35, the image capture device 33 captures the current view image Vi in a frame memory incorporated therein when it is operated by the driver. Then, the map memory 25 record the capturer image Vi to the recording medium. At block #37, the stored image Vi is shown in the display 34.

Claims: A local positioning apparatus (LP1) for detecting a local position of an object (AM: 100) which can advance in a direction (Z) with respect to a lane (Lm) on a local ground area based on a digital image signal (Si) representing a perspective view (Vi) of said local ground area, said apparatus (LP) comprising: a contour extraction means (1, 3, and 5) for extracting a contour (ScR, ScR', and ScL) of said lane (Lm) from said digital image signal (Si) to produce a contour data (Sc) characterised in that the apparatus further comprises: a conversion means (7) for converting said contour data (Sc) into a plane view system to indicate the dimensions of said extracted contour (ScR, ScR', and ScL) correctly to produce a coordinate converted data (Scc); a feature detection means (9 and 11) for detecting dimensional features of said extracted contour line (ScR, ScR', and ScL) based on said coordinate converted data (Scc) to produce a dimensional data (Sm and Smc), the feature detection means (9 and 11) including a matching means (9) for matching either one of a straight line (S27) and an arc line (S29) with the extracted contour (ScR, ScR' and ScL) so as to produce matching data (Sm) indicative of the matched line; and a current position detection means (15) for detecting a current position of the object with respect to said lane (Lm) based on said matching data (Smc and Smc). A local positioning apparatus (LP) as claimed in claim 1, wherein said dimensional data (Sm and Smc) indicates a portion of said lane (AM) extending in the advancing direction starting from a line in alignment with the front end of said object (AM). A local positioning apparatus (LP1) as claimed in claim 1, wherein said feature detecting means (9 and 11) comprises: a contour line extraction means (11) for selectively extracting two (ScRm and ScLm) of said matched lines (ScR, ScR', and ScLm) defining said lane (Lm) to produce said dimensional data (Sm and Smc) indicative of said selected two matched lines (ScRm and ScLm). A local positioning apparatus (LP) as claimed in claim 1, further comprising a first region limitation means (Ls) designating a first region (Sb: Ph x A) in said digital image signal (Si) to extract said contour (ScR, ScR', and ScL) therefrom. A local positioning apparatus (LP) as claimed in claim 4, further comprising a second region limitation means (13) for designating a second region (RsL and RsR) in said first region (Sb) only around said matched line (ScRm and ScLm) based on said dimensional data (Sm and Smc). A local positioning apparatus (LP1) as claimed in claim 3, wherein the current position detection means (15) detects a current position (-HC) based on said selected two matched lines (ScRm and ScLm). A local positioning apparatus (LP) as claimed in claim 6, further comprising a yaw angle detection means (19) for a tilting angle (α) of said lane (Lm) with respect to said advancing direction (Z) based on said dimensional data (Sm and Smc) to produce a yaw angle signal (Sy). A local positioning apparatus (LP1) as claimed in claim 3, wherein said matching means (9) applies the Hough transformation to said coordinate converted data (Scc) to determine whichever each of said extracted contour (ScR, ScR' and Sc) is matched by a line or an arc. A local positioning apparatus (LP1) as claimed in claim 8, wherein said matching means (9) determines said extracted contour (ScR, ScR', and ScL) is a straight line when a plurality of lines formed by said Hough transformed coordinate converted data (Scc) crosses at a point (Cp) with a frequency (Fc) greater than a predetermined frequency (Fth), and determines said extracted contour (ScR, ScR', and ScL) is an arc line. A local positioning apparatus (LP3) as claimed in claim 1, further comprising a curvature detection means (17) for detecting a curvature of said lane (Lm) with respect to the current position based on said dimension data (Smc and Smc). A local positioning apparatus (LP2) for detecting a local position of an object (AM: 100) which can advance in a direction (Z) with respect to a lane (Lm) on a local ground area based on a digital image signal (Si) representing a perspective view (Vi) of said local ground area, said apparatus (LP) comprising: a contour extraction means (1, 3, and 5) for extracting a contour (ScR, ScR', and ScL) of said lane (Lm) from said digital image signal (Si) to produce a contour data (Sc) characterised in that the apparatus further comprises: a feature detection means (9A, 9B, and 11) for detecting dimensional features of said extracted contour line (ScR, ScR' and ScL) based on said contour data (Sc) to produce a dimensional data (Sm1, Sm2, and Smc), the feature detection means (9A, 9B, and 11) including; an inclination matching means (9A: S41-S55) for obtaining inclinations (Sli_i+1) of two neighboring pixels forming each of said contour (ScR, ScR', and ScL), and applying the Hough transformation to said inclinations (Sli_i+1) to be matched by a linear equation (equations (10) and (12)) ; a quadratic polynomial matching means (9B) for applying a quadratic polynomial (equations (11) and (13)) to said matched linear equation (equations (10) and (12)); and a contour line extraction means (11) for selectively extracting two (ScRm and ScLm) of said matched lines (ScR, ScR', and ScLm) defining said lane (Lm) to produce said dimensional data (Sm2, Smc) indicative of said selected two matched lines (ScRm and ScLm). A local positioning apparatus (LP2) as claimed in claim 11, wherein said dimensional data (Sm and Smc) indicates a portion of said lane (AM) extending in the advancing direction starting from a line in alignment with the front end of said object (AM). A local positioning apparatus (LP2) as claimed in claim 11, further comprising a curvature detection means (17) for detecting a curvature of said lane (Lm) with respect to the current position based on said dimension data (Smc and Smc). A local positioning apparatus (LP2) as claimed in claim 11, further comprising a current position detection means (15) for detecting a current position (-HC) based on said selected two matched lines (ScRm and ScLm). A local positioning apparatus (LP2) as claimed in claim 14, further comprising a yaw angle detection means (19) for a tilting angle (α) of said lane (Lm) with respect to said advancing direction (Z) based on said dimensional data (Sm2 and Smc) to produce a yaw angle signal (Sy). A local positioning apparatus (LP) as claimed in claim 11, further comprising a first region limitation means (Ls) designating a first region (Sb: Ph x A) in said digital image signal (Si) to extract said contour (ScR,ScR' and ScL) therefrom. A local positioning apparatus (LP) as claimed in claim 16, further comprising a second region limitation means (13) for designating a second region (RsL and RsR) in said first region (Sb) only around said matched line (ScRm and ScLm) based on said dimensional data (Sm and Smc). A local positioning apparatus (LPS), as claimed in any one of claims 1 to 5, 8 or 9, or any one of claims 11 to 17 further comprising; a current position detection means (15A) for detecting a current position based on said digital image signal (Si) to produce a current position signal (Shc); a curvature detection means (17) for detecting a curvature of said lane (Lm) based on said digital image signal (Si) to produce a curvature signal (Scu); a navigation apparatus (500) for recording said detected curvature sand said detected current position in a map data stored therein based on said current position signal (Shc) and said curvature signal (Scu). A local positioning apparatus (LP3), as claimed in claim 18, further comprising: a moving speed detection means (200) for detecting a moving speed (Sv) thereof; a driving safety estimation means (27) for judging whether said moving speed (Sv) is too great to advance along a curved lane (Lm) having said detected curvature, or not based on detected curvature with respect to said detected current position. A local positioning apparatus (LP4), as claimed in any one of claims 18 or 19, further comprising an image capture means (33) for capturing said perspective view (Vi) in said digital image signal (Si) so that said navigation apparatus (500) can record said captured image (Vi) in said map data with respect to any of said detected curvature and said detected current position.

Inventors: IISAKA ATSUSHI, KANEKO MAMORU, YASUI NOBUHIKO, IISAKA, ATSUSHI, KANEKO, MAMORU, YASUI, NOBUHIKO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1996
Main classification: G01S5
IPC codes: G06T7, G06T5, G01S5