US5444791A - Moving body recognition apparatus - Google Patents

Moving body recognition apparatus Download PDF

Info

Publication number
US5444791A
US5444791A US07/946,540 US94654092A US5444791A US 5444791 A US5444791 A US 5444791A US 94654092 A US94654092 A US 94654092A US 5444791 A US5444791 A US 5444791A
Authority
US
United States
Prior art keywords
feature point
movement
shape
point position
recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US07/946,540
Inventor
Hiroshi Kamada
Takashi Kubota
Morito Shiohara
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP3236466A external-priority patent/JP2873339B2/en
Priority claimed from JP3236464A external-priority patent/JP2873337B2/en
Priority claimed from JP3236467A external-priority patent/JPH0573682A/en
Priority claimed from JP30059191A external-priority patent/JP3028986B2/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Assigned to FUJITSU LIMITED reassignment FUJITSU LIMITED ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: KAMADA, HIROSHI, KUBOTA, TAKASHI, SHIOHARA, MORITO
Priority to US08/428,651 priority Critical patent/US5625702A/en
Priority to US08/429,483 priority patent/US5872858A/en
Priority to US08/428,731 priority patent/US5684886A/en
Publication of US5444791A publication Critical patent/US5444791A/en
Application granted granted Critical
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/757Matching configurations of points or features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition

Definitions

  • This invention relates to a moving body recognition apparatus.
  • a moving body recognition apparatus in many cases uses a TV camera as an image input unit receiving an image of an external object.
  • Image processing devices are used widely, e.g. for an FA (factory automation) inspection, an automatic monitoring device, and a visual sensor for an automatically operated vehicle, generally as devices capable of processing visual information as with a human being. There are potential demands for them and their research and development is actively conducted. Although an image processing device originally processed a still image as its object, recently it has put a greater emphasis on processing a moving image. Especially, those capable of recognizing a moving body have come to take a large share of all image processing devices.
  • a moving body recognition apparatus generally recognizes the shape of a moving body and its relative movement, when the image input unit of the moving body recognition apparatus is moving in relation to the object. That is, even if an object is not actually moving, when an image input unit of a moving body recognition apparatus moves, the moving body recognition apparatus recognizes the shape of the object standing still and the movement of the image input unit. For example, in a case of a visual sensor for an automatically operated vehicle, its image input unit is loaded on top of the vehicle, and the moving body recognition apparatus recognizes the environment in which the vehicle is running.
  • a moving body recognition apparatus must be compact and responsive. Compactness is critical, especially when a moving body recognition apparatus is loaded on a vehicle in its application to a visual sensor of an automatically operated vehicle. Responsiveness is crucial, because a realtime processing similar to a human vision is required.
  • a conventional moving body recognition device captures an object by two [2] image input units. By establishing the correspondences between the feature points of the objects in the two [2] images captured by the two [2] image input units, the shape of the object is captured at every certain instant in time for observation by applying a principle of a triangulation, and then the movement of the object is calculated.
  • FIG. 1 shows a concept of a conventional moving body recognition apparatus.
  • a first image input unit 2 and a second image input unit 3 input images of an object 1 to a moving image recognition unit 4.
  • the moving body recognition unit 4 detects feature points of an object 1 from the two [2] images. By matching a same feature point between the two [2] images, the position of a feature point is calculated by applying a principle of a triangulation.
  • a feature point refers to a point representing a particular part of the object 1. When there is a peak, an outline point or a pattern, a feature point may be a dot in a pattern or on a color boundary.
  • the moving body recognition unit 4 calculates the movement of a feature point and the object 1 from a shift of the feature point in a time series.
  • the moving body recognition apparatus outputs as a recognition result 5 the position and movement of a feature point and the movement of an object.
  • FIG. 2 shows a configuration of a conventional moving body recognition apparatus.
  • a first feature point extraction unit 6 extracts a feature point from an image inputted by the first image input unit 2 and supplies it to a feature point correspondence unit 8.
  • a second feature point extraction unit 7 extracts a feature point from an image inputted by the second image input unit 3 and supplies it to the feature point correspondence unit 8.
  • the feature point correspondence unit 8 matches the same feature points from among the feature points extracted from the first feature point extraction unit 6 and the second feature point extraction unit 7.
  • a feature point position calculation unit 9 obtains the positions of feature points by relating the positions of the matched feature points with the positions of the first image input unit 2 and the second image input unit 3, and stores the result in a feature point position storage unit 10.
  • the positions of feature points at plural instants in time for observation stored in the feature point position storage unit 10 are sent to an object movement calculation unit 11, which calculates the movement of an object and stores the result in an object movement storage unit 12.
  • a conventional moving body recognition apparatus as explained in the description of FIGS. 1 and 2 have the following problems.
  • the feature point corresponding unit 8 is required as shown in FIG. 2. Because the positions of two [2] image input units are different, they capture the object 1 differently. This makes it difficult to match feature points of the object 1. Hence, the feature point correspondence unit 8 requires a large workload for searching for corresponding feature points. (The closer the positions of two [2] image input units, the easier it is to make correspondences between feature points of an object, but the less accurate a recognition of the shape of an object becomes.)
  • processing in (b) is impossible when a feature point of an object captured by one [1] image input unit cannot be captured by the other, where no correspondence between those feature points can be made.
  • FIG. 3 shows an example in which a conventional moving body recognition apparatus fails to establish correspondences between feature points captured by different image input units.
  • the object 1 has two [2] feature points, for instance. However, there is a case in which both the first image input unit 2 and the second image input unit 3 can capture only one [1] of the two [2] feature points.
  • a prime object of this invention is to recognize a moving body by extracting a feature point from images at plural instants in time for observation inputted from a single image input unit.
  • this invention invokes a determination e.g. that the four [4] feature points are not on a single plane, and then a calculation of the actual positions of the four [4] feature points.
  • this invention also aims at more easily recognizing the movement of a moving body despite some restrictions.
  • This invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation at a constant rotating speed, from the already known position data of two [2] feature points each in images of the object captured from a direction perpendicular to the axis of rotation at three [3] instants in time for observation having equal time intervals.
  • this invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation, from the already known position data of three [3] feature points forming a right angle each in images of the object captured from a direction perpendicular to the axis of rotation at any two [2] instants in time for observation.
  • this invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation, from the already known position data of three [3] feature points each in images of the object captured from a direction perpendicular to the axis of rotation at any three [3] instants in time for observation.
  • this invention aims at most generally recognizing the movement of a moving body. It is to recognize the movement of an object moving three-dimensionally coupled with a rotation, from the already known position data of four [4] feature points each in images of the object captured at any three [3] instants in time for observation, after determining e.g. that the four [4] feature points are not on a single plane.
  • This invention configures a moving body recognition apparatus to comprise a single image input unit for capturing an image of an object, a feature point extraction unit for extracting feature points in an image outputted from the image input unit, and a feature point storage unit for storing the extracted feature points, thereby enabling the movement of a moving body to be recognized from the known position data of the feature points.
  • a feature of a first form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of two [2] feature points of the object each in the images captured at three [3] instants in time for observation having equal time intervals from a direction perpendicular to the axis of rotation, i.e. revolution, of the object moving on a single plane coupled with a rotation at a constant rate by using an output from the feature point position storage unit.
  • a feature of a second form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of three [3] feature points forming a right angle of the object each in the images captured at any two [2] instants in time for observation from a direction perpendicular to the axis of rotation, i.e. revolution, of an object moving on a single plane coupled with a rotation by using an output from the feature point position storage unit.
  • a feature of a third form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of three [3] feature points of the object each in the images captured at any three [3] instants in time for observation from a direction perpendicular to the axis of rotation, i.e. revolution, of an object moving on a single plane coupled with a rotation by using an output from the feature point position storage unit.
  • a feature of a fourth form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of four [4] feature points of the object each in the images captured at any three [3] instants in time for observation, by determining that the four [4] feature points do not exist on a single plane, that the axis of rotation, i.e.
  • revolution, of the object is not parallel to the direction of an orthogonal projection of the object between any two [2] of the three [3] instants in time for observation, and that a rotation of the object between any two [2] of the three [3] instants in time for observation is not a rotation by an angle of one hundred and eighty degrees [180°] around an axis parallel to a plane on which the orthogonal projection is made.
  • FIG. 1 shows a concept of a conventional moving body recognition apparatus
  • FIG. 2 shows a configuration of a conventional moving body recognition apparatus
  • FIG. 3 shows an example in which a conventional moving body recognition apparatus fails to establish correspondences between feature points captured by different image input units
  • FIG. 4 is a block diagram of a moving body recognition apparatus of this invention.
  • FIG. 5 shows a universal relation between an object and its observation plane in an image input unit pursuant to the first form of this invention
  • FIG. 6 shows a relation between an object and its observation plane pursuant to the first form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
  • FIG. 7 illustrates the orthogonal projections of feature points 0 and 1 shown in FIG. 6 on the XY plane at three [3] instants in time for observation pursuant to the first form of this invention
  • FIGS. 8A and 8B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the first form of this invention
  • FIG. 9 is an explanatory chart showing the concept of a moving body recognition apparatus of this invention.
  • FIG. 10 is a block diagram showing the global configuration of a moving body recognition apparatus of this invention.
  • FIG. 11 is a block diagram illustrating in detail the configuration of a feature point extraction unit 25 shown in FIG. 10;
  • FIG. 12 is a block diagram illustrating in detail the configuration of the shape/movement recognition unit 27 shown in FIG. 10;
  • FIG. 13 illustrates an embodiment of sensor connections for the known data input unit 31 shown in FIG. 12;
  • FIG. 14 is a first one of flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention
  • FIG. 15 is a second one of flowcharts showing in a three part series the whole processes of the
  • FIG. 16 is a third one of flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention.
  • FIG. 17 is a flowchart of an embodiment of recognition disablement process [1] pursuant to the first form of this invention.
  • FIG. 18 is a flowchart of the movement calculation unit 34 pursuant to the first form of this invention.
  • FIG. 19 is an explanatory chart for the method of selecting the appropriate one [1] of two [2] rotation matrices R and R -1 ;
  • FIG. 20 is a flowchart of the shape calculation unit 35 pursuant to the first form of this invention.
  • FIGS. 21A and 21B are explanatory charts for concave/convex data of an object
  • FIG. 22 is a flowchart of an embodiment of recognition disablement process [2] pursuant to the first form of this invention.
  • FIG. 23 shows a universal relation between an object and its observation plane in an image input unit pursuant to the second form of this invention
  • FIG. 24 shows a relation between an object and its observation plane pursuant to the second form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
  • FIG. 25 shows that edges forming a right angle in a single image cannot produce a set of definite solutions pursuant to the second form of this invention
  • FIG. 26 illustrates and orthogonal projections of feature points 0, 1 and 2 shown in FIG. 34 on the XY plane at two [2] instants in time for observation pursuant to the second form of this invention
  • FIG. 27 shows two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the second form of this invention
  • FIG. 28 illustrates the meaning of expression ⁇ 7 ⁇ for use in theorum 9
  • FIG. 29 illustrates a method for determining a value range for angle ⁇
  • FIG. 30 illustrates a method for determining a value range of angle ⁇
  • FIG. 31 illustrates a method for determining the sign of sin ⁇ , when m-n is odd
  • FIG. 32 illustrates a method for determining the sign of sin ⁇ , when m-n is even
  • FIG. 33 shows a relation among m, n and the sign of sin ⁇ , when m-n is even;
  • FIG. 37 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention.
  • FIG. 38 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention.
  • FIG. 39 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention.
  • FIG. 40 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the second form of this invention.
  • FIG. 41 is a flowchart of the movement calculation unit 34 pursuant to the second form of this invention.
  • FIG. 42 is a flowchart of an embodiment of determining sign of sin ⁇
  • FIG. 43 is a flowchart of the shape calculation unit 34 pursuant to the second form of this invention.
  • FIG. 44 is a flowchart of an embodiment of shape calculation process ⁇ 1 ⁇ ;
  • FIG. 45 is a flowchart of an embodiment of shape calculation process ⁇ 2 ⁇ ;
  • FIG. 46 is a flowchart of an embodiment of shape calculation process ⁇ 3 ⁇ ;
  • FIG. 47 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the second form of this invention.
  • FIG. 48 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 24 on the XY plane at three [3] instants in time for observation pursuant to the third form of this invention
  • FIGS. 49A and 49B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the third form of this invention
  • FIG. 50 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention.
  • FIG. 51 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention.
  • FIG. 52 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention.
  • FIG. 53 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the third form of this invention.
  • FIG. 54 is a flowchart of the movement calculation unit 34 pursuant to the third form of this invention.
  • FIG. 55 is a flowchart of the shape calculation unit 35 pursuant to the third form of this invention.
  • FIG. 56 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the third form of this invention.
  • FIG. 57 shows a universal relation between an object and its observation plane in an image input unit pursuant to the fourth form of this invention.
  • FIG. 58 shows a relation between an object and its observation plane pursuant to the fourth form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
  • FIG. 59 shows orthogonal projections of feature points on the XZ plane pursuant to the fourth form of this invention.
  • FIGS. 60A and 60B show two [2] sets of solutions forming mirror image transformations of each other with respect to the XZ plane on which an image is projected pursuant to the fourth form of this invention
  • FIG. 61 is a block diagram of a shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • FIG. 62 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • FIG. 63 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • FIG. 64 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • FIG. 65 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the fourth form of this invention.
  • FIG. 66 is a first one of flowcharts showing in a two part series the whole processes of the movement/shape calculation unit 39 pursuant to the fourth form of this invention.
  • FIG. 67 is a second one of flowcharts showing in a two part series the whole processes of the movement/shape calculation unit 39 pursuant to the fourth form of this invention.
  • FIG. 68 is a flowchart showing processes for calculating elements at intersections between the first and second rows and the first and second columns of a rotation matrix R comprising three [3] rows and three [3] columns;
  • FIG. 69 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the fourth form of this invention.
  • FIG. 70 is a block diagram of a computer system embodying a moving body recognition apparatus of this invention.
  • FIG. 71 shows an environment for an experimental program verification.
  • FIG. 4 is a block diagram of a moving body recognition apparatus of this invention.
  • the moving body recognition apparatus comprises a single image input unit 15 for capturing an image of an object, a feature point extraction unit 16 for extracting feature points in an image outputted from the image input unit 15, and a feature point storage unit 17 for storing the extracted feature points, thereby recognizing the movement of a moving body from the known position data of the feature points.
  • a shape/movement recognition unit 18 recognizes a shape and a movement of an object.
  • the shape/movement recognition unit 18 in a first form of this invention calculates the actual position and movement of the object in a three-dimensional space, e.g. moving on a single plane coupled with a rotation at a constant speed, from the known position data of two [2] feature points, e.g. the X coordinate value of a feature point of an object moving on the XY plane, each in images of the object captured at three [3] instants in time for observation having equal time intervals from a direction perpendicular to the axis of rotation.
  • the first form of this invention assumes, for example, that the direction of an axis of rotation is the same as the direction of the Z axis, that the direction of the movement of the rotating object is the same as the direction of the X axis, that an object moves on the XZ plane, and that the object is observed from the Y axis perpendicular to the image plane, i.e. the Xz plane. Because of the earlier described assumption of an orthogonal projection, a displacement in the X axis direction is the same as a displacement observed on the image plane, although a displacement in the direction of the Y axis is unknown.
  • the shape/movement recognition unit 18 calculates the angle of rotation around the origin of the other one [1] of the two [2] feature points.
  • the shape/movement recognition unit 18 in the first form of this invention obtains the X coordinate value of a first feature point from the position data of an input image, and then calculates the Y coordinate value of a second feature point after the first feature point moves to the origin and the angle of rotation around the origin of the object, thereby obtaining the actual positions and movements of the first and second feature points.
  • the image input unit 15, the feature point extraction unit 16, and the feature point storage unit 17 in a second form of this invention operate essentially the same manner as those in the first form of this invention.
  • the shape/movement recognition unit 18 in the second form of this invention calculates the actual positions and movements of three [3] feature points forming a right angle of an object in a three-dimensional space, from the known position data of three [3] feature points each in images captured at any two [2] instants in time for observation from the direction perpendicular to the axis of rotation of the object moving on a single plane coupled with a rotation.
  • the rotating speed of the object may not be constant and that object has three [3] feature points forming a right angle. Accordingly, the second form of this invention allows the actual positions and movements of feature points of an object to be calculated from the known position data of the three [3] feature points of the object at any two [2] instants in time for observation.
  • the second form of this invention uses the same coordinate system as that of the first form of this invention.
  • the displacement of a feature point in the direction of the X axis is the same as the displacement observed on the image plane, although the displacement in the direction of the Y axis is unknown.
  • the shape/movement recognition unit 18 in the second form of this invention calculates the Y coordinate values of the other two [2] feature points, the angle of rotation of the object around the origin from a first instant in time for observation to a second instant in time for observation, thereby obtaining the actual positions and movements of the three [3] feature points in the three-dimensional space.
  • the image input unit 15, the feature point extraction unit 16, and the feature point storage unit 17 in a third form of this invention operate essentially the same manner as those in the first form of this invention, whereas the shape/movement recognition unit 18 in a third form of this invention only operates differently from the shape/movement recognition unit 18 in the first form of this invention.
  • the shape/movement recognition unit 18 in the third form of this invention calculates the positions and movements of the feature points of an object in a three-dimensional space, from the known position data of three [3] feature points of an object each in images captured at three [3] instants in time for observation from a direction perpendicular to the axis of rotation of the object moving on a single plane coupled with a rotation.
  • the third form of this invention can be said to correspond to a more generic case in the third form of this invention, in which three [3]0 feature points of an object do not necessarily form a right angle and the known position data at three [3] instants in time for observation are used for recognizing a moving body.
  • the second form of this invention is premised on a right angle formed among three [3] feature points.
  • the second form of this invention can be applied to many cases. For instance, it is applicable to a case in which a TV camera attached to a self-propelled vehicle observes a sidewall along its right of way, because in many cases a sidewall stands straight, thus having a right angle. Not only a sidewall, but also many artificial buildings have their sides form right angles.
  • the third form of this invention can be applied to a case in which a TV camera observes such a building.
  • the third form of this invention assumes the same coordinate system as that used in the first form of this invention, where the direction of the movement of an object is the same as the direction of the X axis, the direction of the observation of an image is the same as the direction of the Y axis, and the direction of the axis of rotation of the object is the same as the direction of the Z axis.
  • a fourth form of this invention represents the most generic case for recognizing the movement of a moving body.
  • the shape/movement recognition unit 18 in the fourth form of this invention calculates from the known position data of four [4] feature points of an object moving with a rotation each in orthogonally projected images at captured any three [3] instants in time for observation, thereby obtaining the actual positions and movements of the four [4] feature points in the three-dimensional space.
  • the shape/movement recognition unit 18 determines that the four [4] feature points are not on a single plane, that the axis of rotation of an object is not parallel to the projecting direction of an orthogonal projection between any two [2] instants in time for observation of the three [3] instants in time for observation, and that the rotation of the object between any two [2] instants in time for observation of the three [3] instants in time for observation is not a rotation of one hundred and eighty degrees [180°] around an axis parallel to a plane on which an image is orthogonally projected.
  • the basic differences of the fourth form of this invention from the first, second and third forms of this invention are that the movement of an object is not restricted to a single plane, and that neither the relation between the axis of rotation and the direction of observing the object nor the rotating speed has any limitation.
  • the fourth form of this invention requires the known position data of the four [4] feature points of the object each in images captured at three [3] instants in time for observation selected arbitrarily.
  • the fourth form of this invention uses the same coordinate system as that of the first, second and third forms of this invention, where the direction of observing the object is the same as the direction of the Y axis.
  • the displacements in the directions of the X and Z axes are the same as the displacements observed on the image plane, although the displacement in the direction of the Y axis is unknown.
  • the shape/movement recognition unit 18 calculates the Y coordinate values of other three [3] feature points, the angle of rotation of the object around the origin from a first instant in time for observation to a second instant in time for observation, and the angle of rotation of the object around the origin from a first instant in time for observation to a third instant in time for observation, thereby obtaining the actual positions and movements of the four [4] feature points in the three-dimensional space.
  • This invention is based on a new theory, which this applicant originally submits and proves.
  • the new theory shows that the shape (positions of feature points) and movement of an object can be calculated under limited circumstances, as long as the feature points can be extracted at several instants in time for observation even if there is only one [1] image input unit.
  • the first form of this invention assumes that an object moves on a single plane coupled with a rotation around a predetermined axis of rotation and that an image input unit observes an object from a direction perpendicular to the axis of rotation of the object.
  • the first form of this invention can be applied to a lot of cases under such assumptions. For instance, as described earlier, it is applicable to a case in which the image input unit is attached to a self-propelled vehicle running along various objects such as a wayside wall along a highway, in which case an edge e.g. formed by the curb can be used as the feature points.
  • the image captured by the image input unit is approximated by an orthogonal projection.
  • An approximation by an orthogonal projection is pretty good especially when an image input unit can capture an object in a narrow scope, because the distance between the image input unit and the object is large.
  • this theory is premised on the object having a constant rotating speed.
  • the number of feature points to be in correspondence can be reduced to two [2]. That is, when two [2] feature points each in images captured at three [3] instants in time for observation having equal time intervals can establish correspondences, a moving body can be recognized. (This relates to theorem 1 to be described later.) A single feature point does not allow the shape of an object to be obtained. Also, three [3] images are necessary to confirm a status that the movement is constant. Hence, two [2] feature points and three [3] images are necessary premises.
  • FIG. 5 shows a universal relation between an object and its observation plane in an image input unit pursuant to the first form of this invention.
  • the direction of the Z axis on the image plane is defined as the direction of the axis of rotation of the object, and the X axis is set in a direction perpendicular to the Z axis. More specifically, the direction of the X axis is parallel to the direction of the movement of a feature point.
  • the origin on the image plane is by definition the point at which the X axis crosses the Z axis.
  • the Y axis is perpendicular to the image plane, and passes through the origin on the image plane. Because of an assumption of an orthogonal projection, the XYZ coordinate system can be displaced parallelly in any direction.
  • FIG. 6 shows a relation between an object and its observation plane pursuant to the first form of this invention, in which one [1] of feature points of the object is fixed at the origin of a three-dimensional coordinate system.
  • the displacement in the direction of the X axis is the same as the displacement observed on the image plane, although the displacement in the direction of the Y axis in unknown.
  • one [1] of the feature points i.e. a feature point 0, can be considered as fixed to the origin 0, as shown in FIG. 6.
  • FIG. 7 illustrates the orthogonal projections of feature points 0 and 1 shown in FIG. 6 on the XY plane at three [3] instants in time for observation pursuant to the first form of this invention.
  • a moving body recognition apparatus pursuant to the first form of this invention obtains an X axis value and a Y axis value from the known data of feature points of an input image, and calculates a Y axis value of another feature point after feature point 0 moves to an origin and an angle of rotation of the object around the origin.
  • Feature point 0 is a feature point of an object having moved to the origin 0.
  • Feature point 1 is a feature point other than feature point 0.
  • u1 is a two-dimensional vector representing a feature point 1 at a first instant in time for observation.
  • v1 is a two-dimensional vector representing a feature point 1 at a second instant in time for observation.
  • w1 is a two-dimensional vector representing a feature point 1 at a third instant in time for observation. ##EQU1##
  • a subscript 1 in the above vector expression e.g. in u1
  • a first vector component represents an x element
  • a second vector component represents a y element.
  • Rotation matrix R represents a rotation of an object around the origin from a first instant in time for observation to a second instant in time for observation.
  • u1, v1, w1 are two-dimensional vectors whose first elements are known.
  • R is a two-dimensional rotation matrix.
  • a next theorem 1 gives conditions for solving this problem.
  • Condition ⁇ 1 ⁇ means that the observation point mapped by v1 does not fall on the origin. That is, it means that two [2] feature points relative from an observation point do not fall on the second instant in time for observation.
  • Condition ⁇ 2 ⁇ may not be clearly understood. However, it is actually equivalent to a next condition ⁇ 3 ⁇ .
  • Condition ⁇ 2 ⁇ in theorem 1 is equivalent to condition ⁇ 3 ⁇ .
  • Condition ⁇ 3 ⁇ means that the angle of rotation of an object between a first instant in time for observation and a second instant in time for observation is neither zero degrees [0°] nor one hundred and eighty degrees [180°].
  • a next system 2.1 is used in a proof of theorem 3.
  • a subscript 1 represents the first row of a matrix.
  • a next theorem 3 presents an expression for calculating a set of solutions.
  • a next system 3.1 defines a relation between two [2] sets of solutions.
  • Theorem 3 and system 3.1 correspond to a fact that there are two [2] sets of solutions for the earlier described moving body recognition problem, i.e. a fact that the Y coordinate value of the other feature point is positive or negative, when feature point 0 in an orthogonally projected image falls on the origin. They also mean that the surface of an object seen from a TV camera as an image input unit forms a convex or a concave.
  • FIGS. 8A and 8B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the first form of this invention.
  • FIG. 8A shows a projection of a feature point shown in FIG. 6 to an XY plane.
  • FIG. 8A illustrates a case in which the surface of an object forms a convex.
  • FIG. 8B illustrates a case in which the surface of an object forms a concave, which is obtained by a mirror image transformation of the solution shown in FIG. 8A with respect to the X axis.
  • Expression ⁇ 1 ⁇ in theorem 1 and expression ⁇ 3 ⁇ in theorem 2 are necessary conditions for finalizing a solution.
  • the unknowns are ⁇ , u12 and v12. Since the number of unknowns are three [3], which is greater than the number of equations, no set of definite solutions can be obtained.
  • the unknowns are u12, v12 and w12. Since the number of unknowns are three [3], which is greater than the number of the equations, no set of definite solutions can be obtained.
  • FIG. 9 is an explanatory chart showing the concept of a moving body recognition apparatus of this invention.
  • An embodiment of the first form of this invention assumes that an image input unit 21, provided singularly, recognizes the movement of a moving body rotating around a single axis, e.g. the Z axis, by observing the moving body from a direction perpendicular to the axis of rotation.
  • the image input unit 21 captures images of an object 20, and transmits them to a moving body recognition unit 22.
  • the moving body recognition unit 22 extracts feature points of the object 20 from an image, and recognizes the shape and movement of an object from the positions of feature points at plural instants in time for observation.
  • the moving body recognition unit 22 outputs the result of recognizing the object 20, as a recognition result 23.
  • FIG. 10 is a block diagram showing the global configuration of a moving body recognition apparatus of this invention.
  • an image input unit 24 captures an input image and outputs it to a feature point extraction unit 25.
  • the feature point extraction unit 25 extracts feature points from the input image, and outputs the position data of the feature points in the input image.
  • the feature point storage unit 26 outputs to a shape/movement recognition unit 27 known its stored position data of the feature points at plural instants in time for observation.
  • the shape/movement recognition unit 27 calculates the positions of the plural feature points in an actual three-dimensional coordinate space and the movement of an object, and stores the result indicating the movement of an object in an object movement storage unit 28 and the result indicating the three dimensional positions of feature points in a feature point position storage unit 29.
  • FIG. 11 is a block diagram illustrating in detail the configuration of a feature point extraction unit 25 shown in FIG. 10.
  • the feature point extraction unit 25 comprises a space filter 25a and an edge point extraction unit 25b.
  • There are a number of methods for extracting a feature point e.g. by an edge and by a color.
  • the moving body recognition apparatus of this invention may use any one [1] of or any combination of feature point extraction systems, and is not restricted to use a particular method for extracting a feature point.
  • a typical method for extracting a feature point is to extract an edge point of an object.
  • the space filter 25a is applied to an input image for extracting an outline image, enabling the edge point extraction unit 25b to detect as feature point data a kink of an edge and an intersection. For instance, in recognizing an object on a single plane, the intersections between the horizon on an image plane and an edge in the vertical direction may be used as feature points.
  • the shape/movement recognition unit 27 uses the earlier described new theory for calculating the actual positions of feature points and the movement of an object.
  • FIG. 12 is a block diagram illustrating in detail the configuration of the shape/movement recognition unit 27 shown in FIG. 10.
  • the shape/movement recognition unit 27 comprises a known data input unit 31 for receiving known data about the movement of an object e.g. from a sensor, a feature point normalization position unit 32 for obtaining the relative positions of other feature points when one [1] of plural feature points moves to the origin of a three-dimensional coordinate space, i.e.
  • a shape/movement determination unit 33 for determining a recognition enablement or a recognition disablement of the movement of an object
  • a movement calculation unit 34 for calculating the angle of rotation around the axis of rotation of the object by using an output from the feature point normalization unit 32
  • a shape calculation unit 35 for obtaining unknown position data of feature points otther than the feature point on the origin
  • a feature point position reconstruction unit 36 for outputting the movement of the object the and the positions of feature points in the three-dimensional coordinate space respectively to the object movement storage unit 28 and the feature point position storage unit 29, by using outputs from the movement calculation unit 34 and the feature point position normalization unit 32.
  • FIG. 13 illustrates an embodiment of sensor connections for the known data input unit 31 shown in FIG. 12.
  • FIG. 13 shows two [2] connecting systems (1) and (2).
  • an external sensor 37 is connected directly to the known data input unit 31.
  • an external memory 38 is connected to the known data input unit 31 and the external sensor 37 is connected off-line to the external memory 38. That is, the external memory 38 stores data from the external sensor 37, the external memory disconnects itself from the external sensor 37.
  • the external sensor 37 may be a special electrical sensor, an optical sensor or an ultrasonic sensor for measuring an object. However, such a sensor is premised on a special relation between an object and the moving object recognition apparatus of this invention and is not a general purpose sensor almighty for any object.
  • the configuration of the moving body recognition apparatus illustrated in FIGS. 9 through 13 can be realized almost "as is” by a computer system.
  • the image input units 21 (shown in FIG. 9) and 24 (shown in FIG. 10) are realized by a TV camera, and the known data input unit 31 is connected with a keyboard and a sensor other than a TV camera, as described earlier.
  • the feature point storage unit 26, the object movement storage unit 28 and the feature point position storage unit 29 comprise a memory or a secondary storage apparatus such as a disk storage apparatus, and the feature point extraction unit 25 is realized by image processing hardware including the space filter 25a.
  • the shape/movement recognition unit 27 is realized by a generic CPU, and the recognition result 23 (shown in FIG. 9) corresponds to the movement of an object and the positions of feature points stored respectively in the object movement storage unit 28 and the feature point position storage unit 29.
  • FIGS. 14, 15 and 16 are flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention.
  • expression ⁇ 3 ⁇ ' is generally determined to be outstanding or not only after a calculation of rotation matrix R, because various sensors (not explained here) are attached to the moving body recognition apparatus of this invention, it is determined by signals from those sensors whether or not the rotation of an object from a first instant in time for observation to a second instant in time for observation is a rotation by zero degrees [0°] or one hundred and eighty degrees [180°].
  • the prime sign for expression ⁇ 3 ⁇ ' indicates that expression ⁇ 3 ⁇ used in theorem 2 is transformed on an equivalent basis.
  • step S41 the known data input unit 31 outputs a deactivation signal to the feature point normalization unit 32 and stores in the movement calculation unit 34 recognition disablement data, thereby invoking a recognition disablement process ⁇ 1 ⁇ .
  • FIG. 17 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the first form of this invention.
  • the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S42. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S43, thereby ending the process.
  • step S44 determines in step S44 whether or not the feature point storage unit 26 has stored the positions of two [2] feature points each in images captured at three [3] instants in time for observation.
  • the shape/movement recognition unit 27 repeats step S44 until it determines that the feature point storage unit 26 has stored the positions of two [2] feature points each in images captured at three [3] instants in time for observation.
  • the shape/movement recognition unit 27 determines affirmatively (YES) in step S44, the feature point storage unit 26 sends an activation signal to the feature point position normalization unit 32, thereby activating the feature point position normalization unit 32.
  • the feature point position normalization unit 32 receives the positions of two [2] feature points 0 and 1 stored in the feature point storage unit 26 by the feature point position normalization unit 32. Then, the first components u11 v11 and w11 of u11, v1 and w1 are obtained from the image coordinate values of feature point 1, which is different from feature point 0, which falls on the origin.
  • the shape/movement determination unit 33 determines in step S47 whether or not those first components u11, v11 and w11 satisfy expressions ⁇ 1 ⁇ and ⁇ 2 ⁇ . If at least either one [1] of them is not satisfied, the shape/movement determination unit 33 sends recognition disablement data to the movement calculation unit 34 in step S48, thereby invoking recognition disablement process ⁇ 1 ⁇ shown in FIG. 17.
  • step S40 the check of expression ⁇ 3 ⁇ in step S40 and the check of expression ⁇ 2 ⁇ in step S47 form a duplication.
  • a sensor can perform the check in step S40, such a duplication is instituted.
  • the shape/movement determination unit 33 determines a recognition disablement by using only the positions of feature points in an image.
  • the shape/movement determination unit 33 determines in step S47 that both expressions ⁇ 1 ⁇ and ⁇ 2 ⁇ are outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S49, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with theorem 3.
  • FIG. 18 is a flowchart of the movement calculation unit 34 pursuant to tile first form of this invention.
  • the movement calculation unit 34 calculates rotation matrix R in step S50, and determines in step S51 whether or not any of the calculation results satisfies the known data regarding the movement of an object inputted to the known data input unit 31. If rotation matrix R does not satisfy the known data, recognition disablement process ⁇ 1 ⁇ shown in FIG. 17 is invoked.
  • a sensor (not illustrated as part of the moving body recognition apparatus) inputs known data about the movement of an object. Assume here, for instance, that an object stands still on a single plane, and that a TV camera loaded on a running vehicle moves on the same single plane. Because the moving vehicle may slip, the movement of the TV camera cannot be determined precisely. However, the direction of the relative movement of the running vehicle as against the still body can be determined.
  • the relative movement of the still body is supplied as known data of the object via an external memory to the known data input unit 31.
  • the movement calculation unit 34 obtains rotation matrix R and its inverse rotation matrix R -1 , as two [2] sets of solutions , the constraint on the direction of a relative movement allows only one [1] set of solutions to be selected as the appropriate set of solutions.
  • FIG. 19 is an explanatory chart for the method of selecting the appropriate one [1] of two [2] rotation matrices R and R -1 .
  • FIG. 19 shows a case in which a vehicle loaded with a TV camera is observed straight from the above, and illustrates how to capture the image of a still object facing a direction perpendicular to the moving direction of a running vehicle. It is assumed that a sensor e.g. loaded on the running vehicle has already detected the moving direction of the running vehicle. If the running vehicle moves to the left, the TV camera observes that the object rotates clockwise, which means that it is sufficient to select, as the calculated rotation matrix, either R or R -1 that represents a clockwise rotation. If, on the other hand, the running vehicle moves to the right, as opposed to the direction shown in FIG. 19, the TV camera observes that the object rotates counterclockwise, in which case it is sufficient to select, as the calculated rotation matrix, either R and R -1 that represents a counterclockwise rotation.
  • the movement calculation unit 34 determines in step S51 that it can select rotation matrix R satisfying known data of the object inputted in known data input unit 31, the movement calculation unit 34 sends rotation matrix R as its result to the shape calculation unit 35 and the feature point position reconstruction unit 36.
  • FIG. 20 is a flowchart of the shape calculation unit 35 pursuant to the first form of this invention.
  • the shape calculation unit 35 obtains u12, v12 and w12 as the second components of two-dimensional vectors u1, v1 and w1 in step S53. Then, in step S54, the shape calculation unit 35 sends the second components u12, v12 and w12 to the feature point position reconstruction unit 36.
  • the feature point position reconstruction unit 36 executes its processes in step S55 shown in FIG. 16.
  • the feature point position reconstruction unit 36 selects the values matching the known data about the movement of the object inputted to the known data input unit 31. If no such values exist, a recognition disablement process ⁇ 2 ⁇ is invoked.
  • the TV camera loaded on a vehicle moves on a single plane. It is further assumed here that it is known already whether the surface shape of the still object observed from the TV camera is a convex or a concave.
  • a telegram pole has a convex surface.
  • the concave/convex data on an object are supplied as known data of the still object to the known data input unit e.g. via an external memory.
  • the shape calculation unit 35 obtains two [2] sets of solutions, which are mirror image transformations of each other with respect to the observation plane, the concave/convex data on the object enables only one [1] set of solutions to be selected as the appropriate set of solutions.
  • FIGS. 21A and 21B are explanatory charts for concave/convex data of an object.
  • FIG. 21A shows a case in which feature point 0 is closer to the TV camera than feature point 1
  • FIG. 2lB shows a case in which feature point 1 is closer to the TV camera than feature point 0.
  • the known data input unit 31 receives as the knowledge about the object either these relative distances "as is” or the results measured e.g. by an ultrasonic sensor.
  • FIG. 22 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the first form of this invention.
  • step S56 the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position storage unit 29, thereby ending the process.
  • the feature point position reconstruction unit 36 when the feature point position reconstruction unit 36 selects a set of solutions satisfying the known data in step S55, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 the values of elements of rotation matrix R in the selected set of solutions and the in-image coordinate values of feature point 0 in step S57, and in the feature point position storage unit 29 the second component values u12, v12 and w12 of the two-dimensional vectors u1, v1 and w1 also in the selected set of solutions and the in-image coordinate values of the two [2] feature points 0 and 1 stored in the feature point position normalization unit 32 in step S58, thereby ending the process.
  • the movement calculation unit 34 obtains two [2] sets of solutions simultaneously in step S50 (shown in FIG. 18) of calculating rotation matrix R.
  • the above embodiment can be reconfigured, such that the movement calculation unit 34 obtains only one [1] set of solutions in step S50.
  • the feature point position reconstruction unit 36 calculates inverse rotation matrix R -1 inverse to rotation matrix R, which is in the other set of solutions not selected. ##EQU23##
  • the first form of this invention enables the movement of an object moving on a single plane coupled with a rotation at a constant rotating speed to be recognized from the positions of two [2] feature points each in images captured at three [3] instants in time for observation having equal intervals. Also, as explained in the description of FIG. 15, the shape/movement determination unit 33 can immediately determine the recognition enablement or the recognition disablement from the in-image positions of feature points.
  • the second form corresponds to a special case of a first form of this invention, in which three [3] feature points of an object forms a right angle.
  • the positions and movements of feature points are calculated from the known position data at three [3] feature points at two [2] instants in time for observation.
  • the rotating direction, the moving direction and observing direction of an object in relation with the coordinate axes are essentially the same as those of the first form, and they are not explained again.
  • the general relation between an object and an observation plane is similar to what is shown in FIGS. 23 and 24.
  • feature point 0 of the three [3] feature points 0, 1 and 2 falls at the peak point of a right angle formed as the intersection between the line segment between feature point 1 and feature point 0 and the line segment between feature point 2 and feature point 0.
  • the second form of this invention allows a moving body to be recognized by making correspondences between three [3] feature points in two [2] images.
  • the one [1] of the feature points at the peak of the right angle is displaced to the origin of the coordinate axis, and the Y coordinate values of other two [2] feature points and the rotating angle of the object around the origin is calculated.
  • three [3] feature points form a right angle on the XY plane.
  • FIG. 25 shows that edges forming a right angle in a single image cannot produce a set of definite solutions pursuant to the second form of this invention.
  • the actual positions of feature points 1 and 2 are on a single straight line of the observed X coordinate values. If feature point 1 is arbitrarily is selected, one [1] position of feature point 2 satisfying the condition is determined. This is because the triangle formed by feature point 1, the origin (feature point 0) and feature point 2 is a right angled triangle. That is, there is an infinite number of combinations between feature points 0 and 1.
  • FIG. 26 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 25 on the XY plane at two [2] instants in time for observation pursuant to the second form of this invention.
  • FIG. 26 shows a status of the actual positions and movements of the feature points from the orthogonally projected points to the image axes of two [2] feature points other than the origin of an object captured at two [2] instants in time for observation.
  • Feature point 0 is a feature point of an object moved to the origin.
  • Feature points 1 and 2 are feature points on an object other than feature point 0.
  • u1 and u2 are two-dimensional vectors on the XY plane from the origin respectively to feature points 1 and 3 at a first point in time for observation.
  • v1 and v2 are two-dimensional vectors on the XY plane from the origin respectively to feature points 1 and 2 at a second point in time for observation. ##EQU25##
  • Rotation matrix R represents a two-dimensional rotation of the object on the XY plane around the origin from the first instant in time for observation to the second instant in time for observation, ##EQU26##
  • Lemma 1 describes two [2] sets of solutions, which form mirror image transformations of each other with respect to the observation plane as already explained in the description of the first form of this invention.
  • u2 is a solution obtained by rotating u1 by ⁇ /2.
  • u2 is a solution obtained by rotating u1 by - ⁇ /2.
  • FIG. 27 shows two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the second form of this invention.
  • FIG. 27 shows that there are cases in which Y coordinate values of other feature points are positive and negative, when feature point 0 in the orthogonally projected image falls on the origin. This corresponds to a case in which the surface of an object forms either a convex or a concave.
  • a recognition solution ⁇ 2> is a mirror image transformation of a recognition solution ⁇ 1>with respect to the X axis, where recognition solution ⁇ 2>is a solution to the problem in which u2 is obtained by rotating u1 by - ⁇ /2 and recognition solution ⁇ 1>is a solution to the problem in which u2 is a vector obtained by rotating u1 by ⁇ /2.
  • v2 is defined as: . . . (b) ##EQU30##
  • u2 is a vector obtained by rotating u1 by ⁇ /2.
  • R is a two-dimensional rotation matrix.
  • a next theorem 4 gives condition for solving the problem.
  • the condition of allowing the above movement structure recognition problem is v11 ⁇ u11 . . . ⁇ 4 ⁇ or v21 ⁇ u21 . . . ⁇ 5 ⁇ .
  • FIG. 28 illustrates the meaning of expression ⁇ 7 ⁇ for use in theorem 5.
  • a next theorem 5 gives reasoning of conditions ⁇ 4 ⁇ and ⁇ 5 ⁇ of theorem 4.
  • Conditions ⁇ 4 ⁇ and ⁇ 5 ⁇ are equivalent to next conditions ⁇ 6 ⁇ and ⁇ 7 ⁇ . ⁇ n ⁇ . . . ⁇ 6 ⁇ and ⁇ + ⁇ n ⁇ - ⁇ . . . ⁇ 7 ⁇ (where n is an integer.)
  • Condition ⁇ 7 ⁇ is equivalent to a next condition (8).
  • Condition (6) means that the object does not rotate by 0 (zero degrees [0°] ) or ⁇ (one hundred and eighty degrees [180°]).
  • FIG. 29 illustrates a method for determining a value range for angle ⁇ .
  • FIG. 30 illustrates a method for determining a value range for angle ⁇ .
  • Lemma 2 is for narrowing the value of angle ⁇ .
  • FIG. 31 illustrates a method for determining the sign of sin ⁇ , when m-n is odd.
  • FIG. 32 illustrates a method for determining the sign of sine, when m-n is even.
  • (1) is a set of solution when vector u2 is obtained by rotating vector u1 by ⁇ /2,
  • sets of solutions (1) and (2) are mirror image transformations of each other with respect to the X axis, as shown in FIG. 27. ##EQU35##
  • Expressions ⁇ 6 ⁇ and ⁇ 7 ⁇ in theorem 5 are conditions necessary for having a set of definite solutions.
  • formulae (3)' and (4)' can be transformed into formulae (3)" and (4)" by formulae (1) and (2), formulae (1), (2), (3) and (4) are equivalent to formulae (1), (2), (3)" and (4)".
  • (3)" and (4)" can be transformed into (3)” and (4)' by using (1) and (2). Combining them with (3) and (4),
  • (3)" and (4)" can be transformed into (3)' and (4)'. Combining them with (3) and (4),
  • n 2p+1, where p is an integer.
  • FIG. 31 is obtained.
  • FIG. 33 shows a relation among m, n and the sign of sin ⁇ , when m-n is even.
  • FIG. 33 shows the conditions for determining the sign of sin ⁇ , by listing the possible combinations of m and n for these three [3] cases.
  • FIG. 32 shows a method for determining the sign of sin ⁇ , when m-n is odd.
  • FIG. 32 is obtained as a summary of FIG. 33.
  • (b) When m-n 2, from (*), ⁇ /2 ⁇ 3 ⁇ /2. There are two [2] cases shown in FIG. 35.
  • the sign of (9) can be obtained from lemma 2.
  • FIGS. 37, 38 and 39 are flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention.
  • the shape/movement recognition unit 27 determines in step S60 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of expressions ⁇ 6 ⁇ ', ⁇ 7 ⁇ ' and ⁇ 8 ⁇ '.
  • a signal from a sensor allows the determination to be made.
  • the relations between expressions ⁇ 6 ⁇ ' through ⁇ 8 ⁇ ' and ⁇ 6 ⁇ through ⁇ 8 ⁇ are the same as those described earlier.
  • step S60 If the shape/movement recognition unit 27 determines in step S60 that the known data input unit 31 has received at least one [1] of expressions ⁇ 6 ⁇ ', ⁇ 7 ⁇ ' and ⁇ 8 ⁇ ', the known data input unit 31 outputs in step S61 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process ⁇ 1 ⁇ shown in FIG. 40.
  • the flow of recognition disablement process ⁇ 1 ⁇ pursuant to the second form of this invention shown in FIG. 40 is essentially the same as that shown in FIG. 17 pursuant to the first form of this invention.
  • FIG. 40 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the second form of this invention.
  • the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S62. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
  • step S60 determines in step S60 whether or not the known data input unit 31 has received none of ⁇ 6 ⁇ ', ⁇ 7 ⁇ ' and ⁇ 8 ⁇ '
  • the shape/movement recognition unit 27 determines in step S64 whether or not the feature point storage unit 26 has stored all data on the positions of three ⁇ 3 ⁇ feature points in each of the images captured at two ⁇ 2 ⁇ instants in time for observation.
  • the shape/movement recognition unit 27 repeats step S64 until it determines that the feature point storage unit 26 has stored the positions of three [3] feature points each in images captured at two [2] instants in time for observation.
  • the shape/movement recognition unit 27 determines in step S64 that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 sends an activation signal to the feature point position normalization unit 32 in step S65, thereby activating the feature point position normalization unit 32.
  • the shape/movement recognition unit 27 has the shape/movement determination unit 33 determine in step S67 whether or not these first components satisfy either expression ⁇ 4 ⁇ or expression ⁇ 5 ⁇ . If they satisfy neither expression ⁇ 4 ⁇ nor expression ⁇ 5 ⁇ , the shape/movement determination unit 33 sends recognition disablement data to the movement calculation unit 34 in step S68, thereby invoking recognition disablement process ⁇ 1 ⁇ shown in FIG. 40.
  • step S67 and the check in step S60 form a duplication.
  • the check in step S60 can be performed by a sensor, such a duplication is instituted.
  • no further calculation is performed, when the shape/movement determination unit 33 determines in step S67 a recognition disablement (leading to recognition disablement process ⁇ 1 ⁇ ) by using only the positions of the three [3] feature points each in images captured at two [2] instants in time for observation.
  • step S67 If the shape/movement determination unit 33 determines in step S67 that either expression ⁇ 4 ⁇ or expression ⁇ 5 ⁇ is outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S69, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with lemma 3 and theorem 6.
  • FIG. 41 is a flow-chart of the movement calculation unit 34 pursuant to the third form of this invention.
  • the movement calculation unit 34 calculates an integer n for determining the value range for 60 by using FIG. 29 in step S70, and an integer m for determining the value range for ⁇ by using FIG. 30 in step S71. Then, the movement calculation unit 34 executes a process for determining the sign of sin ⁇ 0 in step S102 or S105 shown in FIG. 42 before step S76.
  • FIG. 42 is a flowchart of an embodiment of determining the sign of sin ⁇ .
  • the movement calculation unit 34 determines in step S72 whether an integer m-n is odd or even. When the movement calculation unit 34 determines in step S72 that integer m-n is add, the movement calculation unit 34 obtains the value of an integer p in step S73, and determines in step S74 the sign of sin ⁇ by using FIG. 40 depending on whether integer p is odd or even. When the movement calculation unit 34 determines in step S72 that integer m-n is even, the movement calculation unit 34 determines in step S75 the sign of sin ⁇ by using FIG. 32.
  • the movement calculation unit 34 obtains all elements of rotation matrix R in step S76, and determines in step S77 whether or not rotation matrix R or its inverse rotation matrix R -1 satisfies the known data of an object inputted to the known data input unit 31.
  • recognition disablement process (1) shown in FIG. 40 is invoked.
  • the movement calculation unit 34 determines affirmatively (YES) in step S77, the movement calculation unit 34 sends data on angle ⁇ and rotation matrix R to the shape calculation unit 35 and the feature point position reconstruction unit 36 in step S78.
  • FIG. 43 is a flowchart of the shape calculation unit 35 pursuant to the second form of this invention.
  • the shape calculation unit 35 determines in step S80 whether or not both u11 and u21 have non-zero values. If the shape calculation unit 35 determines affirmatively (YES) in step S80, the shape calculation unit 35 invokes shape calculation process ⁇ 1 ⁇ shown in FIG. 44 before continuing on to step S94.
  • FIG. 44 is a flowchart of an embodiment of shape calculation process ⁇ 1 ⁇ .
  • the shape calculation unit 35 obtains the angle between two-dimensional vector u1 and the X axis, in step S81, and then the absolute values d1 and d2 of two-dimensional vectors u1 and u2, in step S82.
  • FIG. 45 is a flowchart of an embodiment of shape calculation process ⁇ 2 ⁇ .
  • the shape calculation unit 35 determines in step S84 whether or not u21 is smaller than zero [0]. If it determines affirmatively (YES) in step S114, the shape calculation unit 35 sets the value of angle ⁇ equal to ⁇ /2 in step S85. If it determines negatively (NO) in step S84, the shape calculation unit 35 sets the value of angle ⁇ equal to 3 ⁇ /2 in step S86. On completing either step S85 or step S86, the shape calculation unit 35 obtains the absolute values d1 and d2 in step S87.
  • step S83 if the shape calculation unit 35 determines negatively (NO) in step S83, the shape calculation unit 35 invokes shape calculation process ⁇ 3 ⁇ shown in FIG. 46 before continuing on to step S94.
  • FIG. 46 is a flowchart of an embodiment of shape calculation process ⁇ 3 ⁇ .
  • the shape calculation unit 35 determines in step S90 whether or not u11 is smaller than zero [0]. If it determines affirmatively (YES) in step S90, the shape calculation unit 35 sets the value of angle ⁇ equal to zero [0] in step S91. If it determines negatively (NO) in step S90, the shape calculation unit 35 sets the value of angle ⁇ equal to ⁇ in step S92. On completing either step S91 or step S92, the shape calculation unit 35 obtains the absolute values d1 and d2 in step S123.
  • the shape calculation unit 35 calculated the second components u11 and u21 of two-dimensional vectors u1 and u2 in step S94 and the second components v11 and v21 of two-dimensional vectors v1 and v2 in step S95. Then, the shape calculation unit 35 sends those second components to the feature point position reconstruction unit 36 in step S96.
  • step S97 shown in FIG. 39.
  • the feature point position reconstruction unit 36 identifies the transferred set of recognition solutions as a set of recognition solutions ⁇ 1> in step S97, obtains a set of recognition solutions ⁇ 2> in step S98, and determines in step S99 whether or not either one [1] of the sets of recognition solutions ⁇ 1> and ⁇ 2> satisfies the known data stored in the known data input unit 31.
  • the feature point position reconstruction unit 36 selects either recognition solution ⁇ 1> or recognition solution ⁇ 2> by concave/convex data of an object.
  • the shape calculation unit 35 invokes recognition disablement process ⁇ 2 ⁇ shown in FIG. 47, which is essentially the same as those pursuant to the first and second forms of this invention shown in FIGS. 22 and 33.
  • FIG. 47 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the second form of this invention.
  • step S101 the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position storage unit 29, thereby ending the process.
  • the feature point position reconstruction unit 36 determines in step S99 that either of the sets of recognition solutions ⁇ 1> and ⁇ 2> satisfies the known data stored in the known data input unit 31, the feature point position reconstruction unit 36 identifies it as a selected set of recognition solutions. Then, in step S102, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 rotation matrix R in the selected set of recognition solutions together with the in-image coordinate values of feature point 0 stored in the feature point position normalization unit 32.
  • the feature point position reconstruction unit 36 stores in the feature point position storage unit 29 the second components of the two-dimensional vectors in the selected set of recognition solutions together with the in-image coordinate values of feature points 0, 1 and 2 stored in the feature point position normalization unit 32, thereby completing its process.
  • the shape/movement recognition unit 27 ends its process.
  • set of recognition solutions ⁇ 1> is obtained first in the above embodiment, it goes without saying that there is another embodiment in which set of recognition solutions ⁇ 2> is obtained first, which requires only the X axis to have the opposite direction.
  • the second form of this invention allows the movement of an object moving on a single plane coupled with a rotation to be recognized from the positions of three [3] feature points forming a right angle each in images captured at two [2] instants in time for observation.
  • the shape/movement determination unit 33 can immediately determine the recognition enablement or recognition disablement of the moving body from the in-image positions of feature points.
  • FIG. 23 shows a universal relation between an object and its observation plane in an image input unit pursuant to the third form of this invention.
  • FIG. 24 shows a relation between an object and its observation plane pursuant to the third form of this invention, in which one [1] of feature points of the object is fixed at the origin of a three-dimensional coordinate system.
  • the third form of this invention is different from the first form of this invention, in that the actual position and movement of feature points in an object are obtained from the known position data of three [3] feature points of an object at any three [3] instants in time for observation, because the rotating speed of an object does not have to be constant and because the three [3] feature points do not form a right angle.
  • the movement and the rotation of an object and the relation between the direction of observing an object and the coordinate axes are the same as those in the first and second forms of this invention.
  • a system 7.1 clarifies the meaning of theorem 7.
  • a theorem 7 satisfies following propositions (1) and (2).
  • Proposition (1) Two [2] images produce no set of definite solutions, no matter how many feature points there are.
  • Proposition (2) Two [2] feature points produce no set of definite solutions, no matter how many images there are.
  • FIG. 48 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 24 on the XY plane at three [3] instants in time for observation pursuant to the third form of this invention.
  • a moving body recognition apparatus calculates and outputs an angle of rotation of an object around the origin and a Y coordinate value of a feature point when feature point 0 moves to the origin, in addition to the X and Z coordinate values of feature points in the input images.
  • Feature point 0 is a feature point of an object moved to origin 0.
  • Feature points 1 and 2 are feature points on the object other than feature point 0.
  • u1 and u2 are two-dimensional vectors respectively representing feature points 1 and 2 at a first instant in time for observation.
  • v1 and v2 are two-dimensional vectors respectively representing feature points 1 and 2 at a third instant in time for observation.
  • w1 and w2 are two-dimensional vectors respectively representing feature points 1 and 2 at a third instant in time for observation.
  • R is a rotation matrix representing a rotation of the object around the origin from the first instant in time for observation to the third instant in time for observation, which is expressed as: ##EQU45##
  • S is a rotation matrix representing a rotation of the object around the origin from the first instant in time for observation to the third instant in time for observation, which is expressed as: ##EQU46##
  • R and S are two-dimensional rotation matrices.
  • a next theorem 8 presents conditions for solving this problem.
  • Lemma 4 for use in proving theorems 9 and 10 is shown below.
  • Lemma 4 shows a relation between the two [2] two-dimensional rotation matrices R and S.
  • a next theorem 6 defines the meanings of conditions ⁇ 4 ⁇ , ⁇ 5 ⁇ and ⁇ 6 ⁇ .
  • Condition ⁇ 12 ⁇ means that the rotation of an object from a first instant in time for observation to a third instant in time for observation is neither zero degrees [0° ] nor one hundred and eighty degrees [180°].
  • Condition ⁇ 13 ⁇ means that the rotation of an object from a first instant in time for observation to a third instant in time for observation is neither zero degrees [0°] nor one hundred and eighty degrees [180°].
  • Condition ⁇ 15 ⁇ means that the three [3] feature points 0, 1 and 2 are not on a single straight line, i.e. that the three [3] feature points 0, 1 and 2 form a triangle.
  • a next theorem 10 presents formulae for calculating a set of definite solutions.
  • R1 and S1 can be obtained from components a11 and a12 of vector a1 and the next expressions.
  • Second components u12, v12 and W12 two-dimensional vectors ui, vi and wi, where i 1, 2 are calculated by the next expressions.
  • a next system 10.1 defines the correspondences between two [2] sets of solutions by theorem 10.
  • System 10.1 corresponds to a case in which there are two [2] sets of solutions for an earlier described problem of recognizing a moving body. This shows that there are two [2] sets of solutions respectively corresponding to cases in which the Y coordinate values of other feature points are positive and negative as shown in FIG. 49 when feature point 0 in an orthogonally projected image moves to the origin. They also correspond to the surfaces of an object observed from a TV camera as an image input unit being a convex and a concave.
  • FIGS. 49A and 49B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the third form of this invention.
  • FIG. 49A shows that feature points shown in FIG. 47 are projected over to the XY plane as a set of solutions, in which the surface of an object forms a convex
  • FIG. 49B shows the mirror image transformation of the set of solutions shown in FIG. 49A, in which the surface of an object forms a concave.
  • a next system 10.2 allows an easier calculation of r11 by theorem 10.
  • Expressions ⁇ 12 ⁇ , ⁇ 13 ⁇ , ⁇ 14 ⁇ and ⁇ 15 ⁇ in theorem 9 are conditions necessary for having a set of definite solutions.
  • R1 can be calculated.
  • FIGS. 50, 51 and 52 are flowcharts showing in a three part series the whole processes of the shape movement recognition unit 27 pursuant to the third form of this invention.
  • the shape/movement recognition unit 27 determines in step S60 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of the expressions (12)' through (15)', (1), (2) and (3).
  • a satisfaction of expression (12)' is determined only after the calculation of rotation matrix R.
  • the moving body recognition apparatus pursuant to the third form of this invention also has various sensors not explained in detail here, and determines whether the angle of rotation of the object from a first instant in time for observation to a second instant in time for observation is either zero degrees (0°] or one hundred and eighty degrees [180°].
  • the prime signs in (12)', (13)' and (14)' represent equivalent transformations of (12), (13) and (14) illustrated in the description of theorem 9.
  • step S110 determines in step S110 that the known data input unit 31 has received at least one [1] of expressions (12)'through (15)', (1), (2) and (3)
  • the known data input unit 31 outputs in step S111 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process ⁇ 1 ⁇ shown in FIG. 53.
  • the flow of recognition disablement process ⁇ 1 ⁇ for the third form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
  • FIG. 50 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the third form of this invention.
  • the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step Sl12. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
  • the shape/movement recognition unit 27 determines in step Si10 that the known data input unit 31 has received none of ⁇ 12 ⁇ ' through ⁇ 15 ⁇ ', (1), (2) and (3), the shape/movement recognition unit 27 the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process ⁇ 1 ⁇ shown in FIG. 53.
  • the flow of recognition disablement process ⁇ 1 ⁇ for the third form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
  • FIG. 50 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the third form of this invention.
  • the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S112. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
  • step S110 determines in step S110 that the known data input unit 31 has received none of ⁇ 12 ⁇ ' through ⁇ 15 ⁇ ', (1), (2) and (3)
  • the shape/movement recognition unit 27 determines in step S114 whether or not the feature point storage unit 26 has stored all data on the positions of three [3] feature points each in images captured at three [3] instants in time for observation.
  • the shape/movement recognition unit 27 repeats step S114 until it determines that the feature point storage unit 26 has stored the positions of three [3] feature points each in images captured at three [3] instants in time for observation.
  • the shape/movement recognition unit 27 determines positively (YES) that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 sends an activation signal to the feature point position normalization unit 32, thereby activating the feature point position normalization unit 32.
  • step S117 If the shape/movement determination unit 33 determines in step S117 that expressions ⁇ 9 ⁇ , ⁇ 10 ⁇ and ⁇ 11 ⁇ are all outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S119, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with theorem 10.
  • FIG. 54 is a flowchart of the movement calculation unit 34 pursuant to the third form of this invention.
  • the movement calculation unit 34 calculates a first row vector a1 in matrix a in step S120, rotation matrix R in step S121, and rotation matrix S in step S122. Then, the movement calculation unit 34 determines in step S123 whether or not at least one [1] of calculation results of rotation matrices R and S satisfies the known data regarding the movement of an object inputted to the known data input unit 31. In this determination in step S123, the movement calculation unit 34 selects the appropriate one [1] from the results of calculating rotation matrices R and S according to signals inputted from various sensors for detecting the movement of an object. If it determines in step S123 neither rotation matrix R nor rotation matrix S satisfies the known data, the movement calculation unit 34 invokes recognition disablement process ⁇ 1 ⁇ shown in FIG. 53.
  • step S123 If the movement calculation unit 34 determines in step S123 that there is a set of solutions that satisfies known data about the movement of an object, the movement calculation unit 34 sends the selected one [1] of the results of calculating rotation matrices R and S to the shape calculation unit 35 and the feature point position reconstruction unit 36 in step S124.
  • FIG. 55 is a flowchart of the shape calculation unit 35 pursuant to the third form of this invention.
  • the shape calculation unit 35 obtains the second row of a2 of matrix a in step S125. Based on the result obtained in step S125, the shape calculation unit 35 obtains u12 and u22 as the second components of two-dimensional vectors u1 and u2 in step S126, v12 and v22 as the second components of two-dimensional vectors v1 and v2 in step S127, w1 and w2 as the second components of two-dimensional vectors w1 and w2 in step S128.
  • step S129 the shape calculation unit 35 sends to the feature point position reconstruction unit 36 the values of second components u12, u22, V12, V22, W12 and w22 of those two-dimensional vectors u1, u2, v1, v2, w1 and w2.
  • the feature point position reconstruction unit 36 executes its processes from step S130, on completing the process of the shape calculation unit 35 shown in FIG. 51.
  • step S130 from the two-dimensional vectors u1, u2, v1, v2, w1 and w2, and rotation matrices R and S obtained as the result of calculating the shape and movement of an object, the feature point position reconstruction unit 36 selects the values matching the known data about the movement of the object inputted to the known data input unit 31. If it determines negatively (NO) in step S130 that such values exist, the feature point position reconstruction unit 36 invokes a recognition disablement process ⁇ 2 ⁇ shown in FIG. 56, which is essentially the same as that pursuant to the first form of this invention shown in FIG. 22.
  • FIG. 56 is a flowchart of an embodiment of recognition disablement process ⁇ 2 ⁇ pursuant to the third form of this invention.
  • step S131 the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position Storage unit 29, thereby ending the process.
  • the shape calculation unit 35 selects either one [1] from two [2] sets of solutions, which are mirror image transformations of each other, based on the concave/convex data shown in FIG. 21.
  • the feature point position reconstruction unit 36 when the feature point position reconstruction unit 36 can select a calculation result satisfying the known data in step S130, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 the values of elements of rotation matrices R and S in the selected set of solutions and the in-image coordinate values of feature point 0 in step S132, and in the feature point position storage unit 29 the values of the second components u22, U22, V12, V22, W12 and W22 0f those two-dimensional vectors u1, u2, v1, v2, w1 and w2 in the selected set of solutions together with the coordinate Values of the three [3] feature points each in three [3] images stored in the feature point position normalization unit 32 in step S133, thereby ending the process.
  • a rotation around the origin of an object from a first instant in time for observation to a second instant in time for observation which is represented by a rotation matrix R
  • a rotation around the origin of an object from a first instant in time for observation to a third instant in time for observation which is represented by a rotation matrix S.
  • these rotations can be equal, when an object maintains a steady rotating speed and equal time intervals spacing apart those instants in time for observation.
  • the movement calculation unit 34 may substitute the above calculation of rotation matrix R (in step S121 shown in FIG. 54) by [Expression 41]
  • the above embodiment allows two [2] sets of solutions to be calculated simultaneously when the movement calculation unit 34 calculates rotation matrix R in step S71.
  • the above embodiment can be reconfigured, such that the movement calculation unit 34 obtains only one [1] set of solutions in step S71.
  • the feature point position reconstruction unit 36 calculates a set of rotation matrices R -1 and S -1 , which are the inverse to the set of rotation matrices R and S, according to the next expressions. ##EQU88##
  • the third form of this invention allows the movement of an object from a positions of three [3] feature points each in images of an object moving on a single plane coupled with a rotation captured at two [2] instants in time for observation.
  • the shape/movement determination unit 33 can immediately determine whether or not a moving body can be recognized from the in-image positions of feature points.
  • FIG. 57 shows a universal relation between an object and its observation plane in an image input unit pursuant to the fourth form of this invention.
  • the fourth form of this invention is for recognizing a moving body in the most generic cases, in which the actual positions and movements of four [4] feature points of an object are calculated by determining, from known position data on the four [4] feature points each in orthogonally projected images captured at any three [3] instants in time for observation, that the four [4] feature points do not exist on the same plane, that the axis of rotation of an object is not parallel to the direction of the orthogonal projection between any two [2] instants in time for observation of the three [3] instants in time for observation, and that rotation of the object between any two [2] instants in time for observation is not a rotation of one hundred and eighty degrees [180°] around the axis parallel to the plane on which the images are orthogonally projected.
  • the fourth form of this invention an orthogonally projected image is used. Except the fact that the direction of observing an image is in the direction of the Y axis, the second form of this invention has no limitations on the rotation and movement of an object, unlike the first, second and third forms of this invention.
  • FIG. 58 shows a relation between an observation plane and an object whose feature point 0 is fixed to the origin pursuant to the fourth form of this
  • FIG. 59 shows orthogonal projections of feature points on the XZ plane pursuant to the fourth form of this invention.
  • FIGS. 58 and 59 show the angle of rotation of an object around the origin and the Y coordinate values of other three [3] feature points (e.g. feature points 1, 2 and 3) when one [1] feature point (e.g. feature point 0) moves to the origin.
  • the theory discusses a problem of reconstructing the structure (positions of feature points) and movement of an object from observations of four [4] feature points each in orthogonally projected images captured at three [3] instants in time for observation. As described earlier, one [1] feature point is fixed to the origin for a problem formulation.
  • FIG. 59 showing the relation between an object and the image axis illustrates a problem of obtaining the positions and rotations of three [3] triangles in a three-dimensional space from three [3] in-image triangles.
  • Feature points 1, 2 and 3 are feature points other than feature point 0, which falls on the origin.
  • u1, u2 and us represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a first instant in time for observation.
  • v1, v2 and v3 represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a second instant in time for observation.
  • w1, w2 and w3 represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a third instant in time for observation.
  • first, second and third components respectively represent X, Z and Y coordinate values, instead of X, Y and Z coordinate values.
  • Rotation matrix R represents a three-dimensional rotation of an object around the origin from the first instant in time for observation to the second instant in time for observation.
  • Rotation matrix S represents a three-dimensional rotation of an object around the origin from the first instant in time for observation to the third instant in time for observation.
  • Rotation matrices R and S are expressed as follows. ##EQU91##
  • 0(n) represents the entire class of orthogonal matrices.
  • S0(n) represents the entire class of n-dimensional rotation matrices.
  • A' is a matrix with the last row of A shed when A is a matrix having plural rows and plural columns, and a matrix with the last column (row) shed when A is a matrix having only one [1] row (column).
  • Rij is an n-1-dimensional matrix obtained by shedding the i-th row and j-th column when R is an n-dimensional matrix.
  • a next theorem 12 presents reasons of the conditions.
  • v1, v2 and v3 are linearly independent
  • w1, w2 and w3 are linearly independent.
  • a first step is to calculate ##EQU94##
  • a second step is to calculate ##EQU98##
  • ⁇ 1 ⁇ in second step is to calculate ##EQU100##
  • ⁇ 2 ⁇ in second step is to calculate ##EQU104##
  • a third step is to calculate the third component of u1, which is the third row of ##EQU105##
  • a fourth step is to calculate S' (1 ⁇ q ⁇ 2, q ⁇ p) ##EQU106##
  • a fifth step is to calculate R and S by next formulae.
  • a sixth step is to calculate the third components of vi and wi by next formulae.
  • a next system 13.1 defines the relation between two [2] sets of solutions.
  • I2 is a two-dimensional identity matrix
  • FIGS. 60A and 60B show two [2] sets of solutions forming mirror image transformations of each other with respect to the XZ plane on which an image is projected pursuant to the fourth form of this invention.
  • the movement/shape recognition problem degenerates into a problem in which the number of instants in time for observation is less than three [3] or the number of observations is less than four [4], when conditions are not satisfied.
  • ⁇ 16 ⁇ , ⁇ 17 ⁇ and ⁇ 18 ⁇ are equivalent to ⁇ 1> through ⁇ 6>.
  • u1, u2 and u3 are linearly independent. . . . ⁇ 2>
  • v1, v2 and v3 are linearly independent. . . . ⁇ 4>
  • w1, w2 and w3 are linearly independent. . . . ⁇ 6>
  • ⁇ 2>, ⁇ 4> and ⁇ 6> are equivalent to each other. . . . ⁇ 22 ⁇
  • Steps 1 through 6 below describe the procedure for deducting the remaining formulae for calculating ##EQU124##
  • ri is determined by deducting simultaneous linear equations only of ri, whose result is used for obtaining sp
  • Step 4 a1316 0 or a23 ⁇ 0
  • every set of solutions can be expressed as ( ⁇ r13, ⁇ r23).
  • Rotation matrix S corresponding to the negative signs is ##EQU156## (from lemma 1) ##EQU157##
  • the components of k-th column can be made to have values zero [0]. That is, by expressing the (n-2)-dimensional identity matrix as In-2, ##STR14##
  • the columns need to be swapped n-i-j times after converting the signs of j-th column.
  • R and S are n-dimensional rotation matrices where n ⁇ 2,
  • U is an (n-1)-dimensional orthogonal matrix.
  • ⁇ 16 ⁇ , ⁇ 17 ⁇ and ⁇ 18 ⁇ are equivalent to ⁇ 19 ⁇ through ⁇ 22 ⁇ .
  • the negation of ⁇ 24 ⁇ is a next external 1.
  • rotations (1) and (2) can be expressed by a rotation matrix (*).
  • Equation (a) is equivalent to an equation (b) [Expression 64] ##EQU181##
  • ##EQU184## represents a rotation around an axis expressed by a vector ##EQU185## on the plane formed by first and second axes.
  • rotation matrix (*) represents both rotations (1) and (2). Hence, conversely, rotations (1) and (2) are expressed as rotation matrix (*).
  • FIG. 61 is a block diagram of a shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • FIG. 12 is a block diagram of the shape/recognition unit 27 shown in FIG. 11
  • FIG. 61 is a block diagram of the shape/recognition unit 39 shown in FIG. 61.
  • FIGS. 62, 63 and 64 are flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention.
  • the shape/movement recognition unit 27 determines in step S140 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of the expressions ⁇ 19 ⁇ ' through ⁇ 22 ⁇ ', (1), (2) and (3).
  • a signal from a sensor allows the determination to be made.
  • the relations between expressions ⁇ 19 ⁇ ' through ⁇ 21 ⁇ ' and ⁇ 19 ⁇ through ⁇ 21 ⁇ are the same as those described earlier.
  • step S140 determines in step S140 that the known data input unit 31 has received at least one [1] of expressions ⁇ 19 ⁇ ' through ⁇ 22 ⁇ ', (1), (2) and (3)
  • the known data input unit 31 outputs in step S141 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process ⁇ 1 ⁇ shown in FIG. 64.
  • the flow of recognition disablement process ⁇ 1 ⁇ for the fourth form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
  • step S140 determines in step S140 that the known data input unit 31 has received none of ⁇ 19 ⁇ ' through ⁇ 22 ⁇ ', (1), (2) and (3), the shape/movement recognition unit 27 does not determine (NO) in step S144 that feature point storage unit 26 has stored all data on the positions of four [4] feature points each in images captured at three [3] instants in time for observation.
  • the shape/movement recognition unit 27 repeats step S144 until it determines that the feature point storage unit 26 has stored the positions of four [4] feature points each in images captured at three [3] instants in time for observation.
  • step S144 When the shape/movement recognition unit 27 determines (YES) in step S144 that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 has the feature point storage unit 26 send an activation signal to the feature point position normalization unit 32 in step S145 (shown in FIG. 63), thereby activating the feature point position normalization unit 32.
  • the feature point position normalization unit 32 obtains the X and Z coordinate values of feature points 1, 2 and 3 after a parallel displacement by subtracting the X and Z coordinate values of feature point 0 before the parallel displacement from the X and Z coordinate values of feature points 1, 2 and 3 before the parallel displacement.
  • the shape/movement recognition unit 27 has the shape/movement determination unit 33 determine in step S147 whether or not these first and second components stored by the feature point position normalization unit 32 satisfy all of expressions ⁇ 16 ⁇ , ⁇ 17 ⁇ and ⁇ 18 ⁇ . If the shape/movement determination unit 33 determines negatively (NO) in step S147, i.e. that they don't satisfy at least one [1] of expressions ⁇ 16 ⁇ , ⁇ 17 ⁇ and ⁇ 18 ⁇ , the shape/movement determination unit 33 sends recognition disablement data to the movement/shape calculation unit 39 in step S148, thereby invoking recognition disablement process ⁇ 1 ⁇ shown in FIG. 65.
  • FIG. 65 is a flowchart of an embodiment of recognition disablement process ⁇ 1 ⁇ pursuant to the fourth form of this invention.
  • the movement/shape calculation unit 39 sends recognition disablement data to the feature point position reconstruction unit 36 in step S142. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S143, thereby ending the process.

Abstract

A moving body recognition apparatus which recognizes a shape and movement of an object moving in relation to an image input unit by extracting feature points, e.g. a peak of the object and a boundary of color, each in said images captured at a plurality of instants in time for observation by the image input unit. The moving body recognition apparatus comprises an image input unit for capturing images of an object as a moving body having a rotation, a feature point extraction unit for extracting feature points from the images inputted by the image input unit, a feature point storage unit for storing known position data of the extracted feature points, and a shape/movement recognition unit for calculating the actual positions and movements of the feature points of the object in the images by using the known position data of the extracted feature points outputted from the feature point storage unit.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to a moving body recognition apparatus. A moving body recognition apparatus in many cases uses a TV camera as an image input unit receiving an image of an external object.
2. Description of the Related Arts
Image processing devices are used widely, e.g. for an FA (factory automation) inspection, an automatic monitoring device, and a visual sensor for an automatically operated vehicle, generally as devices capable of processing visual information as with a human being. There are potential demands for them and their research and development is actively conducted. Although an image processing device originally processed a still image as its object, recently it has put a greater emphasis on processing a moving image. Especially, those capable of recognizing a moving body have come to take a large share of all image processing devices.
A moving body recognition apparatus generally recognizes the shape of a moving body and its relative movement, when the image input unit of the moving body recognition apparatus is moving in relation to the object. That is, even if an object is not actually moving, when an image input unit of a moving body recognition apparatus moves, the moving body recognition apparatus recognizes the shape of the object standing still and the movement of the image input unit. For example, in a case of a visual sensor for an automatically operated vehicle, its image input unit is loaded on top of the vehicle, and the moving body recognition apparatus recognizes the environment in which the vehicle is running.
A moving body recognition apparatus must be compact and responsive. Compactness is critical, especially when a moving body recognition apparatus is loaded on a vehicle in its application to a visual sensor of an automatically operated vehicle. Responsiveness is crucial, because a realtime processing similar to a human vision is required.
A conventional moving body recognition device captures an object by two [2] image input units. By establishing the correspondences between the feature points of the objects in the two [2] images captured by the two [2] image input units, the shape of the object is captured at every certain instant in time for observation by applying a principle of a triangulation, and then the movement of the object is calculated.
FIG. 1 shows a concept of a conventional moving body recognition apparatus.
A first image input unit 2 and a second image input unit 3 input images of an object 1 to a moving image recognition unit 4. The moving body recognition unit 4 detects feature points of an object 1 from the two [2] images. By matching a same feature point between the two [2] images, the position of a feature point is calculated by applying a principle of a triangulation. Here, a feature point refers to a point representing a particular part of the object 1. When there is a peak, an outline point or a pattern, a feature point may be a dot in a pattern or on a color boundary. The moving body recognition unit 4 calculates the movement of a feature point and the object 1 from a shift of the feature point in a time series. The moving body recognition apparatus outputs as a recognition result 5 the position and movement of a feature point and the movement of an object.
FIG. 2 shows a configuration of a conventional moving body recognition apparatus.
A first feature point extraction unit 6 extracts a feature point from an image inputted by the first image input unit 2 and supplies it to a feature point correspondence unit 8. Likewise, a second feature point extraction unit 7 extracts a feature point from an image inputted by the second image input unit 3 and supplies it to the feature point correspondence unit 8. The feature point correspondence unit 8 matches the same feature points from among the feature points extracted from the first feature point extraction unit 6 and the second feature point extraction unit 7.
A feature point position calculation unit 9 obtains the positions of feature points by relating the positions of the matched feature points with the positions of the first image input unit 2 and the second image input unit 3, and stores the result in a feature point position storage unit 10. The positions of feature points at plural instants in time for observation stored in the feature point position storage unit 10 are sent to an object movement calculation unit 11, which calculates the movement of an object and stores the result in an object movement storage unit 12.
However, a conventional moving body recognition apparatus as explained in the description of FIGS. 1 and 2 have the following problems. (a) Because two [2] feature point extraction units need to individually extract feature points extracted from two [2] images captured respectively by two [2] image input units, the process load for extracting a feature point is twice as much as that by using a single TV camera. (b) An additional process of matching features from two [2] images captured differently is required. The feature point corresponding unit 8 is required as shown in FIG. 2. Because the positions of two [2] image input units are different, they capture the object 1 differently. This makes it difficult to match feature points of the object 1. Hence, the feature point correspondence unit 8 requires a large workload for searching for corresponding feature points. (The closer the positions of two [2] image input units, the easier it is to make correspondences between feature points of an object, but the less accurate a recognition of the shape of an object becomes.)
Typically, processing in (b) is impossible when a feature point of an object captured by one [1] image input unit cannot be captured by the other, where no correspondence between those feature points can be made.
FIG. 3 shows an example in which a conventional moving body recognition apparatus fails to establish correspondences between feature points captured by different image input units.
The object 1 has two [2] feature points, for instance. However, there is a case in which both the first image input unit 2 and the second image input unit 3 can capture only one [1] of the two [2] feature points.
SUMMARY OF THE INVENTION
A prime object of this invention is to recognize a moving body by extracting a feature point from images at plural instants in time for observation inputted from a single image input unit. In order to recognize the movement of an object most generally in a movement coupled with a revolution, i.e. a rotation, from the position data of the four [4] feature points of an object each in orthogonally protected images captured at any three [3] instants in time for observation, this invention invokes a determination e.g. that the four [4] feature points are not on a single plane, and then a calculation of the actual positions of the four [4] feature points. However, since the required processes are complicated in a. general case like this, this invention also aims at more easily recognizing the movement of a moving body despite some restrictions.
The above aims can be summarized as follows:
This invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation at a constant rotating speed, from the already known position data of two [2] feature points each in images of the object captured from a direction perpendicular to the axis of rotation at three [3] instants in time for observation having equal time intervals.
Also, this invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation, from the already known position data of three [3] feature points forming a right angle each in images of the object captured from a direction perpendicular to the axis of rotation at any two [2] instants in time for observation.
Further, this invention aims at recognizing the movement of an object moving on a single plane coupled with a rotation, from the already known position data of three [3] feature points each in images of the object captured from a direction perpendicular to the axis of rotation at any three [3] instants in time for observation.
Additionally, this invention aims at most generally recognizing the movement of a moving body. It is to recognize the movement of an object moving three-dimensionally coupled with a rotation, from the already known position data of four [4] feature points each in images of the object captured at any three [3] instants in time for observation, after determining e.g. that the four [4] feature points are not on a single plane.
This invention configures a moving body recognition apparatus to comprise a single image input unit for capturing an image of an object, a feature point extraction unit for extracting feature points in an image outputted from the image input unit, and a feature point storage unit for storing the extracted feature points, thereby enabling the movement of a moving body to be recognized from the known position data of the feature points.
A feature of a first form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of two [2] feature points of the object each in the images captured at three [3] instants in time for observation having equal time intervals from a direction perpendicular to the axis of rotation, i.e. revolution, of the object moving on a single plane coupled with a rotation at a constant rate by using an output from the feature point position storage unit.
A feature of a second form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of three [3] feature points forming a right angle of the object each in the images captured at any two [2] instants in time for observation from a direction perpendicular to the axis of rotation, i.e. revolution, of an object moving on a single plane coupled with a rotation by using an output from the feature point position storage unit.
A feature of a third form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of three [3] feature points of the object each in the images captured at any three [3] instants in time for observation from a direction perpendicular to the axis of rotation, i.e. revolution, of an object moving on a single plane coupled with a rotation by using an output from the feature point position storage unit.
A feature of a fourth form of this invention resides in a moving body recognition apparatus for recognizing a movement of a moving body by positions of feature points on the moving body, comprising: an image input unit for capturing images of the moving body as an object; a feature point extraction unit for extracting feature points in the images captured by the image input unit; a feature point position storage unit for storing known position data of extracted feature points; and a shape/movement recognition unit for calculating the actual positions and movements of feature points of the object from known position data of four [4] feature points of the object each in the images captured at any three [3] instants in time for observation, by determining that the four [4] feature points do not exist on a single plane, that the axis of rotation, i.e. revolution, of the object is not parallel to the direction of an orthogonal projection of the object between any two [2] of the three [3] instants in time for observation, and that a rotation of the object between any two [2] of the three [3] instants in time for observation is not a rotation by an angle of one hundred and eighty degrees [180°] around an axis parallel to a plane on which the orthogonal projection is made.
BRIEF DESCRIPTION OF THE DRAWINGS
One of skill in the art can easily understand additional features and objects of this invention from the description of the preferred embodiments and some of the attached drawings. In the drawings:
FIG. 1 (prior art) shows a concept of a conventional moving body recognition apparatus;
FIG. 2 (prior art) shows a configuration of a conventional moving body recognition apparatus;
FIG. 3 (prior art) shows an example in which a conventional moving body recognition apparatus fails to establish correspondences between feature points captured by different image input units;
FIG. 4 is a block diagram of a moving body recognition apparatus of this invention;
FIG. 5 shows a universal relation between an object and its observation plane in an image input unit pursuant to the first form of this invention;
FIG. 6 shows a relation between an object and its observation plane pursuant to the first form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
FIG. 7 illustrates the orthogonal projections of feature points 0 and 1 shown in FIG. 6 on the XY plane at three [3] instants in time for observation pursuant to the first form of this invention;
FIGS. 8A and 8B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the first form of this invention;
FIG. 9 is an explanatory chart showing the concept of a moving body recognition apparatus of this invention;
FIG. 10 is a block diagram showing the global configuration of a moving body recognition apparatus of this invention;
FIG. 11 is a block diagram illustrating in detail the configuration of a feature point extraction unit 25 shown in FIG. 10;
FIG. 12 is a block diagram illustrating in detail the configuration of the shape/movement recognition unit 27 shown in FIG. 10;
FIG. 13 illustrates an embodiment of sensor connections for the known data input unit 31 shown in FIG. 12;
FIG. 14 is a first one of flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention;
FIG. 15 is a second one of flowcharts showing in a three part series the whole processes of the
movement/shape recognition unit 27 pursuant to the first form of this invention;
FIG. 16 is a third one of flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention;
FIG. 17 is a flowchart of an embodiment of recognition disablement process [1] pursuant to the first form of this invention;
FIG. 18 is a flowchart of the movement calculation unit 34 pursuant to the first form of this invention;
FIG. 19 is an explanatory chart for the method of selecting the appropriate one [1] of two [2] rotation matrices R and R-1 ;
FIG. 20 is a flowchart of the shape calculation unit 35 pursuant to the first form of this invention;
FIGS. 21A and 21B are explanatory charts for concave/convex data of an object;
FIG. 22 is a flowchart of an embodiment of recognition disablement process [2] pursuant to the first form of this invention;
FIG. 23 shows a universal relation between an object and its observation plane in an image input unit pursuant to the second form of this invention;
FIG. 24 shows a relation between an object and its observation plane pursuant to the second form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
FIG. 25 shows that edges forming a right angle in a single image cannot produce a set of definite solutions pursuant to the second form of this invention;
FIG. 26 illustrates and orthogonal projections of feature points 0, 1 and 2 shown in FIG. 34 on the XY plane at two [2] instants in time for observation pursuant to the second form of this invention;
FIG. 27 shows two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the second form of this invention;
FIG. 28 illustrates the meaning of expression {7} for use in theorum 9;
FIG. 29 illustrates a method for determining a value range for angle α;
FIG. 30 illustrates a method for determining a value range of angle β;
FIG. 31 illustrates a method for determining the sign of sinθ, when m-n is odd;
FIG. 32 illustrates a method for determining the sign of sinθ, when m-n is even;
FIG. 33 shows a relation among m, n and the sign of sinθ, when m-n is even;
FIG. 34 illustrates a method for determining the sign of sinθ, when m-n=0;
FIGS. 35A and 35B illustrates a method for determining the sign of sinθ, when m-n=2;
FIG. 36 illustrates a method for determining the sign of sinθ, when m-n=-2;
FIG. 37 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention;
FIG. 38 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention;
FIG. 39 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention;
FIG. 40 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the second form of this invention;
FIG. 41 is a flowchart of the movement calculation unit 34 pursuant to the second form of this invention;
FIG. 42 is a flowchart of an embodiment of determining sign of sinθ;
FIG. 43 is a flowchart of the shape calculation unit 34 pursuant to the second form of this invention;
FIG. 44 is a flowchart of an embodiment of shape calculation process {1};
FIG. 45 is a flowchart of an embodiment of shape calculation process {2};
FIG. 46 is a flowchart of an embodiment of shape calculation process {3};
FIG. 47 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the second form of this invention;
FIG. 48 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 24 on the XY plane at three [3] instants in time for observation pursuant to the third form of this invention;
FIGS. 49A and 49B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the third form of this invention;
FIG. 50 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention;
FIG. 51 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention;
FIG. 52 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the third form of this invention;
FIG. 53 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the third form of this invention;
FIG. 54 is a flowchart of the movement calculation unit 34 pursuant to the third form of this invention;
FIG. 55 is a flowchart of the shape calculation unit 35 pursuant to the third form of this invention;
FIG. 56 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the third form of this invention;
FIG. 57 shows a universal relation between an object and its observation plane in an image input unit pursuant to the fourth form of this invention;
FIG. 58 shows a relation between an object and its observation plane pursuant to the fourth form of this invention, in which feature point 0 is fixed to the origin of a three-dimensional coordinate system;
FIG. 59 shows orthogonal projections of feature points on the XZ plane pursuant to the fourth form of this invention;
FIGS. 60A and 60B show two [2] sets of solutions forming mirror image transformations of each other with respect to the XZ plane on which an image is projected pursuant to the fourth form of this invention;
FIG. 61 is a block diagram of a shape/movement recognition unit 27 pursuant to the fourth form of this invention;
FIG. 62 is a first one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention;
FIG. 63 is a second one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention;
FIG. 64 is a third one of flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention;
FIG. 65 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the fourth form of this invention;
FIG. 66 is a first one of flowcharts showing in a two part series the whole processes of the movement/shape calculation unit 39 pursuant to the fourth form of this invention;
FIG. 67 is a second one of flowcharts showing in a two part series the whole processes of the movement/shape calculation unit 39 pursuant to the fourth form of this invention;
FIG. 68 is a flowchart showing processes for calculating elements at intersections between the first and second rows and the first and second columns of a rotation matrix R comprising three [3] rows and three [3] columns;
FIG. 69 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the fourth form of this invention;
FIG. 70 is a block diagram of a computer system embodying a moving body recognition apparatus of this invention; and
FIG. 71 shows an environment for an experimental program verification.
DESCRIPTION OF THE PREFERRED EMBODIMENT Overview of the Underlying Principles
FIG. 4 is a block diagram of a moving body recognition apparatus of this invention.
The moving body recognition apparatus comprises a single image input unit 15 for capturing an image of an object, a feature point extraction unit 16 for extracting feature points in an image outputted from the image input unit 15, and a feature point storage unit 17 for storing the extracted feature points, thereby recognizing the movement of a moving body from the known position data of the feature points.
Because first, second, third and fourth forms of this invention operate under similar principles, they are all explained by referring to FIG. 4.
A First Form
A shape/movement recognition unit 18 recognizes a shape and a movement of an object. The shape/movement recognition unit 18 in a first form of this invention calculates the actual position and movement of the object in a three-dimensional space, e.g. moving on a single plane coupled with a rotation at a constant speed, from the known position data of two [2] feature points, e.g. the X coordinate value of a feature point of an object moving on the XY plane, each in images of the object captured at three [3] instants in time for observation having equal time intervals from a direction perpendicular to the axis of rotation.
The first form of this invention assumes, for example, that the direction of an axis of rotation is the same as the direction of the Z axis, that the direction of the movement of the rotating object is the same as the direction of the X axis, that an object moves on the XZ plane, and that the object is observed from the Y axis perpendicular to the image plane, i.e. the Xz plane. Because of the earlier described assumption of an orthogonal projection, a displacement in the X axis direction is the same as a displacement observed on the image plane, although a displacement in the direction of the Y axis is unknown.
After one [1] of the two [2] feature points moves to the origin, the shape/movement recognition unit 18 calculates the angle of rotation around the origin of the other one [1] of the two [2] feature points.
That is, the shape/movement recognition unit 18 in the first form of this invention obtains the X coordinate value of a first feature point from the position data of an input image, and then calculates the Y coordinate value of a second feature point after the first feature point moves to the origin and the angle of rotation around the origin of the object, thereby obtaining the actual positions and movements of the first and second feature points.
A Second Form
The image input unit 15, the feature point extraction unit 16, and the feature point storage unit 17 in a second form of this invention operate essentially the same manner as those in the first form of this invention. However, the shape/movement recognition unit 18 in the second form of this invention calculates the actual positions and movements of three [3] feature points forming a right angle of an object in a three-dimensional space, from the known position data of three [3] feature points each in images captured at any two [2] instants in time for observation from the direction perpendicular to the axis of rotation of the object moving on a single plane coupled with a rotation.
The basic differences of the second form of this invention from the first form are that the rotating speed of the object may not be constant and that object has three [3] feature points forming a right angle. Accordingly, the second form of this invention allows the actual positions and movements of feature points of an object to be calculated from the known position data of the three [3] feature points of the object at any two [2] instants in time for observation.
The second form of this invention uses the same coordinate system as that of the first form of this invention. As in the first form of this invention, the displacement of a feature point in the direction of the X axis is the same as the displacement observed on the image plane, although the displacement in the direction of the Y axis is unknown.
Also, as with the shape/movement recognition unit 18 in the first form of this invention, after one [1] of the three [3] feature points at the right angle moves to the origin, the shape/movement recognition unit 18 in the second form of this invention calculates the Y coordinate values of the other two [2] feature points, the angle of rotation of the object around the origin from a first instant in time for observation to a second instant in time for observation, thereby obtaining the actual positions and movements of the three [3] feature points in the three-dimensional space.
A Third Form
As with the third form of this invention, the image input unit 15, the feature point extraction unit 16, and the feature point storage unit 17 in a third form of this invention operate essentially the same manner as those in the first form of this invention, whereas the shape/movement recognition unit 18 in a third form of this invention only operates differently from the shape/movement recognition unit 18 in the first form of this invention. The shape/movement recognition unit 18 in the third form of this invention calculates the positions and movements of the feature points of an object in a three-dimensional space, from the known position data of three [3] feature points of an object each in images captured at three [3] instants in time for observation from a direction perpendicular to the axis of rotation of the object moving on a single plane coupled with a rotation.
The third form of this invention can be said to correspond to a more generic case in the third form of this invention, in which three [3]0 feature points of an object do not necessarily form a right angle and the known position data at three [3] instants in time for observation are used for recognizing a moving body.
In other words, the second form of this invention is premised on a right angle formed among three [3] feature points. However, even with this premise, the second form of this invention can be applied to many cases. For instance, it is applicable to a case in which a TV camera attached to a self-propelled vehicle observes a sidewall along its right of way, because in many cases a sidewall stands straight, thus having a right angle. Not only a sidewall, but also many artificial buildings have their sides form right angles. Hence, the third form of this invention can be applied to a case in which a TV camera observes such a building.
The third form of this invention assumes the same coordinate system as that used in the first form of this invention, where the direction of the movement of an object is the same as the direction of the X axis, the direction of the observation of an image is the same as the direction of the Y axis, and the direction of the axis of rotation of the object is the same as the direction of the Z axis.
Of the three [3] feature points, one [1] moves to the origin, and the Y coordinate values of the other two [2] feature points and the angles of rotation of the object around the origin from a first instant in time for observation to second and third instants in time for observation are calculated, thereby obtaining the actual positions and movements of the three [3] feature points in the three-dimensional space.
A Fourth Form
A fourth form of this invention represents the most generic case for recognizing the movement of a moving body. The shape/movement recognition unit 18 in the fourth form of this invention calculates from the known position data of four [4] feature points of an object moving with a rotation each in orthogonally projected images at captured any three [3] instants in time for observation, thereby obtaining the actual positions and movements of the four [4] feature points in the three-dimensional space.
Also, before calculating the positions and movements of the four [4] feature points, in order to confirm that the positions and movements can in fact be calculated, the shape/movement recognition unit 18 determines that the four [4] feature points are not on a single plane, that the axis of rotation of an object is not parallel to the projecting direction of an orthogonal projection between any two [2] instants in time for observation of the three [3] instants in time for observation, and that the rotation of the object between any two [2] instants in time for observation of the three [3] instants in time for observation is not a rotation of one hundred and eighty degrees [180°] around an axis parallel to a plane on which an image is orthogonally projected.
The basic differences of the fourth form of this invention from the first, second and third forms of this invention are that the movement of an object is not restricted to a single plane, and that neither the relation between the axis of rotation and the direction of observing the object nor the rotating speed has any limitation.
Because of these differences, the fourth form of this invention requires the known position data of the four [4] feature points of the object each in images captured at three [3] instants in time for observation selected arbitrarily.
The fourth form of this invention uses the same coordinate system as that of the first, second and third forms of this invention, where the direction of observing the object is the same as the direction of the Y axis. As in other forms of this invention, because of the assumption of an orthogonal projection, the displacements in the directions of the X and Z axes are the same as the displacements observed on the image plane, although the displacement in the direction of the Y axis is unknown.
After moving any one [1] of the four [4] feature points to the origin, the shape/movement recognition unit 18 calculates the Y coordinate values of other three [3] feature points, the angle of rotation of the object around the origin from a first instant in time for observation to a second instant in time for observation, and the angle of rotation of the object around the origin from a first instant in time for observation to a third instant in time for observation, thereby obtaining the actual positions and movements of the four [4] feature points in the three-dimensional space.
Detailed Explanation of Actual Embodiments
This invention is based on a new theory, which this applicant originally submits and proves. The new theory shows that the shape (positions of feature points) and movement of an object can be calculated under limited circumstances, as long as the feature points can be extracted at several instants in time for observation even if there is only one [1] image input unit.
The First Form
First, the new theory on the first form of this invention is explained in detail.
The first form of this invention assumes that an object moves on a single plane coupled with a rotation around a predetermined axis of rotation and that an image input unit observes an object from a direction perpendicular to the axis of rotation of the object. The first form of this invention can be applied to a lot of cases under such assumptions. For instance, as described earlier, it is applicable to a case in which the image input unit is attached to a self-propelled vehicle running along various objects such as a wayside wall along a highway, in which case an edge e.g. formed by the curb can be used as the feature points.
Also, the image captured by the image input unit is approximated by an orthogonal projection. An approximation by an orthogonal projection is pretty good especially when an image input unit can capture an object in a narrow scope, because the distance between the image input unit and the object is large. In addition, this theory is premised on the object having a constant rotating speed.
Many a moving body is deemed to be standing still during a very short lapse of time. Therefore, an assumption that a movement is constant is natural. Besides, strictly speaking, a condition "The rotating speed of an object is constant." is sufficient for a condition "A movement is constant.", because parallel displacement components of a movement of an object can be easily obtained from the movements of feature points on an image plane.
When a rotating speed is constant, the number of feature points to be in correspondence can be reduced to two [2]. That is, when two [2] feature points each in images captured at three [3] instants in time for observation having equal time intervals can establish correspondences, a moving body can be recognized. (This relates to theorem 1 to be described later.) A single feature point does not allow the shape of an object to be obtained. Also, three [3] images are necessary to confirm a status that the movement is constant. Hence, two [2] feature points and three [3] images are necessary premises.
FIG. 5 shows a universal relation between an object and its observation plane in an image input unit pursuant to the first form of this invention.
The direction of the Z axis on the image plane is defined as the direction of the axis of rotation of the object, and the X axis is set in a direction perpendicular to the Z axis. More specifically, the direction of the X axis is parallel to the direction of the movement of a feature point. The origin on the image plane is by definition the point at which the X axis crosses the Z axis. The Y axis is perpendicular to the image plane, and passes through the origin on the image plane. Because of an assumption of an orthogonal projection, the XYZ coordinate system can be displaced parallelly in any direction.
FIG. 6 shows a relation between an object and its observation plane pursuant to the first form of this invention, in which one [1] of feature points of the object is fixed at the origin of a three-dimensional coordinate system.
Also, because of the assumption of an orthogonal projection, the displacement in the direction of the X axis is the same as the displacement observed on the image plane, although the displacement in the direction of the Y axis in unknown. As such, one [1] of the feature points, i.e. a feature point 0, can be considered as fixed to the origin 0, as shown in FIG. 6.
FIG. 7 illustrates the orthogonal projections of feature points 0 and 1 shown in FIG. 6 on the XY plane at three [3] instants in time for observation pursuant to the first form of this invention.
To obtain data on the shape and movement of an object, it is sufficient to calculate the displacement of a feature point having a correspondence, i.e. feature point 0, and the angle of rotation around the feature point. Because the displacement of feature point 0 can be obtained self-evidently, as described earlier, it is sufficient to calculate an angle of rotation around feature point 0.
A moving body recognition apparatus pursuant to the first form of this invention obtains an X axis value and a Y axis value from the known data of feature points of an input image, and calculates a Y axis value of another feature point after feature point 0 moves to an origin and an angle of rotation of the object around the origin.
The following is a description of the codes shown in FIG. 7.
Feature point 0 is a feature point of an object having moved to the origin 0.
Feature point 1 is a feature point other than feature point 0.
u1 is a two-dimensional vector representing a feature point 1 at a first instant in time for observation.
v1 is a two-dimensional vector representing a feature point 1 at a second instant in time for observation.
w1 is a two-dimensional vector representing a feature point 1 at a third instant in time for observation. ##EQU1##
Here, although a subscript 1 in the above vector expression, e.g. in u1, is not necessary, it is put here for maintaining consistency with explanations for other forms of this inventions. Also, a first vector component represents an x element, and a second vector component represents a y element.
Rotation matrix R represents a rotation of an object around the origin from a first instant in time for observation to a second instant in time for observation.
This is equal to the rotation of an object around the origin from a second instant in time for observation to a third instant in time for observation, due to an assumption of a constant rotating speed. ##EQU2##
They have the following relations, v1=R u1, w1=R2 u1 which represent
______________________________________                                    
A first        A second A third                                           
instant        instant  instant                                           
in time R      in time R                                                  
                        in time R                                         
for ob-        for ob-  for ob-                                           
servation      servation                                                  
                        servation                                         
u.sub.1 →                                                          
               v.sub.1 →                                           
                        w.sub.1                                           
______________________________________                                    
Accordingly, the problem can be formulated as follows: [Problem Of Recognizing A Body Moving On A Single Plane]
u1, v1, w1 are two-dimensional vectors whose first elements are known.
R is a two-dimensional rotation matrix.
v1=R u1, w1=R2 u1
Obtain from the above, R and second elements of u1, v1, w1.
A next theorem 1 gives conditions for solving this problem.
[Theorem 1]
The conditions for solving the above movement/structure recognition problem are v11≠0 . . . {1} v11=±u11 and w11=u11 are not outstanding concurrently. . . . {2}
These conditions comprise data solely on the observed X coordinate values.
Condition {1} means that the observation point mapped by v1 does not fall on the origin. That is, it means that two [2] feature points relative from an observation point do not fall on the second instant in time for observation.
Condition {2} may not be clearly understood. However, it is actually equivalent to a next condition {3}.
[Theorem 2]
Condition {2} in theorem 1 is equivalent to condition {3}.
θ≠n π (where n is an integer) . . . {3}
Condition {3} means that the angle of rotation of an object between a first instant in time for observation and a second instant in time for observation is neither zero degrees [0°] nor one hundred and eighty degrees [180°].
A next system 2.1 is used in a proof of theorem 3.
[System 2.1]
Expression 10]
θ≠n π (where n is an integer) . . . {3} ##EQU3## being regular
Here, a subscript 1 represents the first row of a matrix.
A next theorem 3 presents an expression for calculating a set of solutions.
[Theorem 3]
Under the conditions of theorem 1, the next set of definite solutions can be finalized. ##EQU4## and y component of a vector can be calculated by the following equations. ##EQU5##
A next system 3.1 defines a relation between two [2] sets of solutions.
[System 3.1]
Assuming one [1] set of solutions comprises R, u1, v1 and w1, the other set of solutions corresponding to it comprises: ##EQU6##
Theorem 3 and system 3.1 correspond to a fact that there are two [2] sets of solutions for the earlier described moving body recognition problem, i.e. a fact that the Y coordinate value of the other feature point is positive or negative, when feature point 0 in an orthogonally projected image falls on the origin. They also mean that the surface of an object seen from a TV camera as an image input unit forms a convex or a concave.
FIGS. 8A and 8B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the first form of this invention.
FIG. 8A shows a projection of a feature point shown in FIG. 6 to an XY plane. FIG. 8A illustrates a case in which the surface of an object forms a convex. FIG. 8B illustrates a case in which the surface of an object forms a concave, which is obtained by a mirror image transformation of the solution shown in FIG. 8A with respect to the X axis.
The proofs of theorems 1, 2 and 3 are illustrated in a sequence of a proposition 1, system 2.1, theorem 2 and theorem 3.
[Proposition 1]
Expression {1}in theorem 1 and expression {3}in theorem 2 are necessary conditions for finalizing a solution.
v11≠0 . . . {1}
θ≠n π (where n is an integer) . . . {3}
[Proof Of Proposition 1]
To reiterate the conditions,
v1=R u1, w1=R2 u1
(1) Proof that expression {1} is a necessary condition
By assuming that v11=0, it is shown that no set of definite solutions can be obtained. ##EQU7##
Therefore, an equation ##EQU8##
needs to be solved.
The unknowns are θ, u12 and v12. Since the number of unknowns are three [3], which is greater than the number of equations, no set of definite solutions can be obtained.
(2) Proof that expression {3} is a necessary condition
By assuming that θ=n π (where n is an integer), it is shown that no solution can be finalized.
Since cosθ =±1, and sinθ=0, R=±I.
It is necessary to solve conditions
v1 =±u1, w1 =u1 and equations
v12 =±u12, w12 =u12
The unknowns are u12, v12 and w12. Since the number of unknowns are three [3], which is greater than the number of the equations, no set of definite solutions can be obtained.
[End of Proof]
[Proof of system 2.1]
Expression 14]
The contraproposition of a proposition ##EQU9## is proved. ##EQU10## Therefore, ##EQU11## [End of Proof] [Proof of theorem 2]
[Expression 15]
The contraproposition of a proposition that v11=±u11 and w11=u11 θ=nπ is proved.
( =) Because cosθ=±1 and sinθ=0, R=±I, v1=±u1, w1=u1, v11=±u11 and w11=u11. ##EQU12##
v11 =cos (α+θ), w11 =cos (α+2θ)
(i) when v11=u11, w11, =u11 ##EQU13## θ=2n πor m π, when either (1) or (2) is positive. ##EQU14## when both (1) and (2) are negative.
(2) - (1): θ=2(m-n)π
(ii ) when w11=-u11, V11 =11 ##EQU15## when either (1) or (2) is positive θ=(2 n +1) π, mπwhen both (1) and (2) are negative ##EQU16## [End of Proof] [Proof of theorem 3]
[Expression 16]
From conditions v1 =R u1 and w1=R2 u1 ##EQU17##
By using the first component of (1), u11 =2cosθv11-w11
From a condition of theorem 1, since v11≠0
cos θ=(u11 +w11) / (2v11)
sin θ=+(1-cos2 θ)
By using the second component of (1) ##EQU18## From conditions ##EQU19## [Proof of system 3.1][Expression 17] ##EQU20## are mirror image transformations of R, u1, v1 and w1 with respect to the X axis, they satisfy the conditions for a set of solution. Therefore, they are in fact a set of solutions. Since there are two [2] sets of solutions according to theorem 3, it is known that the set of solutions other than the above is ##EQU21## [End of Proof] [Proof 2 of system 3.1]
[Expression 18]
If one solution is R, u1, v1 and w1 from theorem 3, it is known from the calculations that the other solution is ##EQU22## [End of Proof]
So far, a new theory for use in the first form of this invention has been explained in detail, by having the shape/movement recognition unit 18 shown in FIG. 4 apply the new theory to a body moving on a single plane coupled with a rotation having a constant speed of rotation, based on the extraction result in an image of two [2] feature points at three [3] instants in time for observation having equal time intervals, the actual positions and movements of those feature points in a three-dimensional space are calculated, thereby enabling the movement of a moving body to be recognized.
FIG. 9 is an explanatory chart showing the concept of a moving body recognition apparatus of this invention.
An embodiment of the first form of this invention assumes that an image input unit 21, provided singularly, recognizes the movement of a moving body rotating around a single axis, e.g. the Z axis, by observing the moving body from a direction perpendicular to the axis of rotation.
In FIG. 9, the image input unit 21 captures images of an object 20, and transmits them to a moving body recognition unit 22. The moving body recognition unit 22 extracts feature points of the object 20 from an image, and recognizes the shape and movement of an object from the positions of feature points at plural instants in time for observation. The moving body recognition unit 22 outputs the result of recognizing the object 20, as a recognition result 23.
FIG. 10 is a block diagram showing the global configuration of a moving body recognition apparatus of this invention.
In FIG. 10, an image input unit 24 captures an input image and outputs it to a feature point extraction unit 25. The feature point extraction unit 25 extracts feature points from the input image, and outputs the position data of the feature points in the input image. The feature point storage unit 26 outputs to a shape/movement recognition unit 27 known its stored position data of the feature points at plural instants in time for observation. The shape/movement recognition unit 27 calculates the positions of the plural feature points in an actual three-dimensional coordinate space and the movement of an object, and stores the result indicating the movement of an object in an object movement storage unit 28 and the result indicating the three dimensional positions of feature points in a feature point position storage unit 29.
FIG. 11 is a block diagram illustrating in detail the configuration of a feature point extraction unit 25 shown in FIG. 10.
In FIG. 11, the feature point extraction unit 25 comprises a space filter 25a and an edge point extraction unit 25b. There are a number of methods for extracting a feature point, e.g. by an edge and by a color. The moving body recognition apparatus of this invention may use any one [1] of or any combination of feature point extraction systems, and is not restricted to use a particular method for extracting a feature point.
A typical method for extracting a feature point is to extract an edge point of an object. As shown in FIG. 11, the space filter 25a is applied to an input image for extracting an outline image, enabling the edge point extraction unit 25b to detect as feature point data a kink of an edge and an intersection. For instance, in recognizing an object on a single plane, the intersections between the horizon on an image plane and an edge in the vertical direction may be used as feature points.
In FIG. 10, the shape/movement recognition unit 27 uses the earlier described new theory for calculating the actual positions of feature points and the movement of an object.
FIG. 12 is a block diagram illustrating in detail the configuration of the shape/movement recognition unit 27 shown in FIG. 10.
In FIG. 12, the shape/movement recognition unit 27 comprises a known data input unit 31 for receiving known data about the movement of an object e.g. from a sensor, a feature point normalization position unit 32 for obtaining the relative positions of other feature points when one [1] of plural feature points moves to the origin of a three-dimensional coordinate space, i.e. the normalized positions, a shape/movement determination unit 33 for determining a recognition enablement or a recognition disablement of the movement of an object, a movement calculation unit 34 for calculating the angle of rotation around the axis of rotation of the object by using an output from the feature point normalization unit 32, a shape calculation unit 35 for obtaining unknown position data of feature points otther than the feature point on the origin, and a feature point position reconstruction unit 36 for outputting the movement of the object the and the positions of feature points in the three-dimensional coordinate space respectively to the object movement storage unit 28 and the feature point position storage unit 29, by using outputs from the movement calculation unit 34 and the feature point position normalization unit 32.
FIG. 13 illustrates an embodiment of sensor connections for the known data input unit 31 shown in FIG. 12.
FIG. 13 shows two [2] connecting systems (1) and (2). In connecting system (1), an external sensor 37 is connected directly to the known data input unit 31. In connecting system (2), an external memory 38 is connected to the known data input unit 31 and the external sensor 37 is connected off-line to the external memory 38. That is, the external memory 38 stores data from the external sensor 37, the external memory disconnects itself from the external sensor 37. The external sensor 37 may be a special electrical sensor, an optical sensor or an ultrasonic sensor for measuring an object. However, such a sensor is premised on a special relation between an object and the moving object recognition apparatus of this invention and is not a general purpose sensor almighty for any object.
The configuration of the moving body recognition apparatus illustrated in FIGS. 9 through 13 can be realized almost "as is" by a computer system. First, the image input units 21 (shown in FIG. 9) and 24 (shown in FIG. 10) are realized by a TV camera, and the known data input unit 31 is connected with a keyboard and a sensor other than a TV camera, as described earlier. The feature point storage unit 26, the object movement storage unit 28 and the feature point position storage unit 29 comprise a memory or a secondary storage apparatus such as a disk storage apparatus, and the feature point extraction unit 25 is realized by image processing hardware including the space filter 25a. The shape/movement recognition unit 27 is realized by a generic CPU, and the recognition result 23 (shown in FIG. 9) corresponds to the movement of an object and the positions of feature points stored respectively in the object movement storage unit 28 and the feature point position storage unit 29.
FIGS. 14, 15 and 16 are flowcharts showing in a three part series the whole processes of the movement/shape recognition unit 27 pursuant to the first form of this invention.
In FIG. 14, on starting the process it is determined in step S40 whether or not the known data input unit 31 shown in FIG. 8 has received an expression {3}, i.e. θ=n π, where n is an integer. ttere, expression {3}' is generally determined to be outstanding or not only after a calculation of rotation matrix R, because various sensors (not explained here) are attached to the moving body recognition apparatus of this invention, it is determined by signals from those sensors whether or not the rotation of an object from a first instant in time for observation to a second instant in time for observation is a rotation by zero degrees [0°] or one hundred and eighty degrees [180°]. Here, the prime sign for expression {3}' indicates that expression {3} used in theorem 2 is transformed on an equivalent basis.
When the shape/movement recognition unit 21 determines in step S40 that the known data input unit 31 has received expression {3}', in step S41 the known data input unit 31 outputs a deactivation signal to the feature point normalization unit 32 and stores in the movement calculation unit 34 recognition disablement data, thereby invoking a recognition disablement process {1}.
FIG. 17 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the first form of this invention.
On start of recognition disablement process {1}, the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S42. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S43, thereby ending the process.
Returning to FIG. 14, when the shape/movement recognition unit 27 determines in step S40 that the known data input unit 31 has not received expression {3}' it determines in step S44 whether or not the feature point storage unit 26 has stored the positions of two [2] feature points each in images captured at three [3] instants in time for observation. The shape/movement recognition unit 27 repeats step S44 until it determines that the feature point storage unit 26 has stored the positions of two [2] feature points each in images captured at three [3] instants in time for observation. When the shape/movement recognition unit 27 determines affirmatively (YES) in step S44, the feature point storage unit 26 sends an activation signal to the feature point position normalization unit 32, thereby activating the feature point position normalization unit 32.
Continuing on to FIG. 15, in step S46, the feature point position normalization unit 32 receives the positions of two [2] feature points 0 and 1 stored in the feature point storage unit 26 by the feature point position normalization unit 32. Then, the first components u11 v11 and w11 of u11, v1 and w1 are obtained from the image coordinate values of feature point 1, which is different from feature point 0, which falls on the origin. The shape/movement determination unit 33 determines in step S47 whether or not those first components u11, v11 and w11 satisfy expressions {1} and {2}. If at least either one [1] of them is not satisfied, the shape/movement determination unit 33 sends recognition disablement data to the movement calculation unit 34 in step S48, thereby invoking recognition disablement process {1} shown in FIG. 17.
As already explained in the description of theorem 2, expression {2} is equivalent to expression {3}. Therefore, it can be said that the check of expression {3} in step S40 and the check of expression {2} in step S47 form a duplication. However, since a sensor can perform the check in step S40, such a duplication is instituted. Also, no further calculation is performed, when in step S47 the shape/movement determination unit 33 determines a recognition disablement by using only the positions of feature points in an image.
If the shape/movement determination unit 33 determines in step S47 that both expressions {1} and {2} are outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S49, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with theorem 3.
FIG. 18 is a flowchart of the movement calculation unit 34 pursuant to tile first form of this invention.
On starting the process, the movement calculation unit 34 calculates rotation matrix R in step S50, and determines in step S51 whether or not any of the calculation results satisfies the known data regarding the movement of an object inputted to the known data input unit 31. If rotation matrix R does not satisfy the known data, recognition disablement process {1} shown in FIG. 17 is invoked.
As described earlier, a sensor (not illustrated as part of the moving body recognition apparatus) inputs known data about the movement of an object. Assume here, for instance, that an object stands still on a single plane, and that a TV camera loaded on a running vehicle moves on the same single plane. Because the moving vehicle may slip, the movement of the TV camera cannot be determined precisely. However, the direction of the relative movement of the running vehicle as against the still body can be determined. The relative movement of the still body is supplied as known data of the object via an external memory to the known data input unit 31. The movement calculation unit 34 obtains rotation matrix R and its inverse rotation matrix R-1, as two [2] sets of solutions , the constraint on the direction of a relative movement allows only one [1] set of solutions to be selected as the appropriate set of solutions.
FIG. 19 is an explanatory chart for the method of selecting the appropriate one [1] of two [2] rotation matrices R and R-1.
More specifically, FIG. 19 shows a case in which a vehicle loaded with a TV camera is observed straight from the above, and illustrates how to capture the image of a still object facing a direction perpendicular to the moving direction of a running vehicle. It is assumed that a sensor e.g. loaded on the running vehicle has already detected the moving direction of the running vehicle. If the running vehicle moves to the left, the TV camera observes that the object rotates clockwise, which means that it is sufficient to select, as the calculated rotation matrix, either R or R-1 that represents a clockwise rotation. If, on the other hand, the running vehicle moves to the right, as opposed to the direction shown in FIG. 19, the TV camera observes that the object rotates counterclockwise, in which case it is sufficient to select, as the calculated rotation matrix, either R and R-1 that represents a counterclockwise rotation.
When the movement calculation unit 34 determines in step S51 that it can select rotation matrix R satisfying known data of the object inputted in known data input unit 31, the movement calculation unit 34 sends rotation matrix R as its result to the shape calculation unit 35 and the feature point position reconstruction unit 36.
FIG. 20 is a flowchart of the shape calculation unit 35 pursuant to the first form of this invention.
According to the first form of this invention shown in FIG. 20, on invoking the process, the shape calculation unit 35 obtains u12, v12 and w12 as the second components of two-dimensional vectors u1, v1 and w1 in step S53. Then, in step S54, the shape calculation unit 35 sends the second components u12, v12 and w12 to the feature point position reconstruction unit 36.
After the shape calculation unit 35 shown in FIG. 15 completes its processes, the feature point position reconstruction unit 36 executes its processes in step S55 shown in FIG. 16. Here, from the two-dimensional vectors u1, v1 and w1 and rotation matrix R, as the calculation result of the shape and movement of the object, the feature point position reconstruction unit 36 selects the values matching the known data about the movement of the object inputted to the known data input unit 31. If no such values exist, a recognition disablement process {2} is invoked.
Here, for explainin9 an example of known data, it is assumed that the TV camera loaded on a vehicle moves on a single plane. It is further assumed here that it is known already whether the surface shape of the still object observed from the TV camera is a convex or a concave. For instance, a telegram pole has a convex surface. The concave/convex data on an object are supplied as known data of the still object to the known data input unit e.g. via an external memory. Although the shape calculation unit 35 obtains two [2] sets of solutions, which are mirror image transformations of each other with respect to the observation plane, the concave/convex data on the object enables only one [1] set of solutions to be selected as the appropriate set of solutions.
FIGS. 21A and 21B are explanatory charts for concave/convex data of an object.
Because two [2] feature point are captured in the first form of this invention, if the relative distances of the two [2] feature points observed by a TV camera are known, either of the two [2] sets of solutions can be selected as the appropriate set of solutions.
FIG. 21A shows a case in which feature point 0 is closer to the TV camera than feature point 1, and FIG. 2lB shows a case in which feature point 1 is closer to the TV camera than feature point 0. The known data input unit 31 receives as the knowledge about the object either these relative distances "as is" or the results measured e.g. by an ultrasonic sensor.
FIG. 22 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the first form of this invention.
In step S56, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position storage unit 29, thereby ending the process.
Returning to FIG. 16, when the feature point position reconstruction unit 36 selects a set of solutions satisfying the known data in step S55, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 the values of elements of rotation matrix R in the selected set of solutions and the in-image coordinate values of feature point 0 in step S57, and in the feature point position storage unit 29 the second component values u12, v12 and w12 of the two-dimensional vectors u1, v1 and w1 also in the selected set of solutions and the in-image coordinate values of the two [2] feature points 0 and 1 stored in the feature point position normalization unit 32 in step S58, thereby ending the process.
In the above described embodiment, the movement calculation unit 34 obtains two [2] sets of solutions simultaneously in step S50 (shown in FIG. 18) of calculating rotation matrix R. However, the above embodiment can be reconfigured, such that the movement calculation unit 34 obtains only one [1] set of solutions in step S50.
In such an alternative embodiment, as an initial step, the feature point position reconstruction unit 36 calculates inverse rotation matrix R-1 inverse to rotation matrix R, which is in the other set of solutions not selected. ##EQU23##
Also, two-dimensional vectors u1', v1' and w1' in the other set of solutions which are the mirror image transformations of two-dimensional vectors u1, v1 and w1 in the selected set of solutions with respect to the X axis are calculated. ##EQU24##
This allows the feature point position reconstruction unit 36 to obtain two [2] sets of solutions.
As described above the first form of this invention enables the movement of an object moving on a single plane coupled with a rotation at a constant rotating speed to be recognized from the positions of two [2] feature points each in images captured at three [3] instants in time for observation having equal intervals. Also, as explained in the description of FIG. 15, the shape/movement determination unit 33 can immediately determine the recognition enablement or the recognition disablement from the in-image positions of feature points.
The Second Form
The following is a description of the second form of this invention. As described earlier, the second form corresponds to a special case of a first form of this invention, in which three [3] feature points of an object forms a right angle. In such a case, the positions and movements of feature points are calculated from the known position data at three [3] feature points at two [2] instants in time for observation.
The rotating direction, the moving direction and observing direction of an object in relation with the coordinate axes are essentially the same as those of the first form, and they are not explained again. The general relation between an object and an observation plane is similar to what is shown in FIGS. 23 and 24.
The only difference is that feature point 0 of the three [3] feature points 0, 1 and 2 falls at the peak point of a right angle formed as the intersection between the line segment between feature point 1 and feature point 0 and the line segment between feature point 2 and feature point 0.
Next, the new theory for the second form of this invention is explained below. As shown in theorem 8 described later, the second form of this invention allows a moving body to be recognized by making correspondences between three [3] feature points in two [2] images. Here, the one [1] of the feature points at the peak of the right angle is displaced to the origin of the coordinate axis, and the Y coordinate values of other two [2] feature points and the rotating angle of the object around the origin is calculated. By putting one [1] of the feature points on the origin, three [3] feature points form a right angle on the XY plane.
To observe the condition that edges form a right angle, three [3] feature points are necessary. Also, a single image cannot allow the shape of a moving body to be determined. Therefore, three [3] feature points and two [2] images are necessary conditions.
FIG. 25 shows that edges forming a right angle in a single image cannot produce a set of definite solutions pursuant to the second form of this invention.
The actual positions of feature points 1 and 2 are on a single straight line of the observed X coordinate values. If feature point 1 is arbitrarily is selected, one [1] position of feature point 2 satisfying the condition is determined. This is because the triangle formed by feature point 1, the origin (feature point 0) and feature point 2 is a right angled triangle. That is, there is an infinite number of combinations between feature points 0 and 1.
FIG. 26 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 25 on the XY plane at two [2] instants in time for observation pursuant to the second form of this invention.
More specifically, FIG. 26 shows a status of the actual positions and movements of the feature points from the orthogonally projected points to the image axes of two [2] feature points other than the origin of an object captured at two [2] instants in time for observation.
Signs used in FIG. 26 is explained.
Feature point 0 is a feature point of an object moved to the origin.
Feature points 1 and 2 are feature points on an object other than feature point 0.
u1 and u2 are two-dimensional vectors on the XY plane from the origin respectively to feature points 1 and 3 at a first point in time for observation.
v1 and v2 are two-dimensional vectors on the XY plane from the origin respectively to feature points 1 and 2 at a second point in time for observation. ##EQU25##
Rotation matrix R represents a two-dimensional rotation of the object on the XY plane around the origin from the first instant in time for observation to the second instant in time for observation, ##EQU26##
u2 represents a vector obtained by rotating u1 by π/2 or by -π/2. The solution of these two [2] cases have the relation of a lemma 1. Lemma 1 describes two [2] sets of solutions, which form mirror image transformations of each other with respect to the observation plane as already explained in the description of the first form of this invention.
[lemma 1]
The following solutions (1) and (2) are mirror image transformations of each other with respect to the X axis. (1) u2 is a solution obtained by rotating u1 by π/2. (2) u2 is a solution obtained by rotating u1 by -π/2.
FIG. 27 shows two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the second form of this invention.
FIG. 27 shows that there are cases in which Y coordinate values of other feature points are positive and negative, when feature point 0 in the orthogonally projected image falls on the origin. This corresponds to a case in which the surface of an object forms either a convex or a concave.
Therefore, in the second form of this invention, a recognition solution <2>is a mirror image transformation of a recognition solution <1>with respect to the X axis, where recognition solution <2>is a solution to the problem in which u2 is obtained by rotating u1 by -π/2 and recognition solution <1>is a solution to the problem in which u2 is a vector obtained by rotating u1 by π/2.
[Expression 13]
Therefore, when u1 is defined as: ##EQU27##
Then, u2 is defined as: . . . (a) ##EQU28## [Expression 14]
Also, when v1 is defined as: ##EQU29##
Then, v2 is defined as: . . . (b) ##EQU30##
By their relations can be stated as vi=R ui (where i=1, 2)
Therefore, the problem can be formulated as follows: [A Recognition Of An Object Having A Right Angle At An Edge On A Plane] ui (where i=1, 2) are two-dimensional vectors whose first components are known. u2 is a vector obtained by rotating u1 by π/2. R is a two-dimensional rotation matrix. vi (where i=1, 2) are two-dimensional vectors whose first components are known. vi=R ui (where i=1, 2)
At this time, obtain the second components of ui and vi (where i=1, 2) and R.
The second element of vi (where i=1, 2) can be obtained directly from R, ui and the relation vi=R ui. Accordingly, it is sufficient to obtain the second component of ui (where i=1, 2) and R. That is θ, d1, d2 and α.
A next theorem 4 gives condition for solving the problem.
[Theorem 4]
The condition of allowing the above movement structure recognition problem is v11≠±u11 . . . {4} or v21≠±u21 . . . {5}.
If the coordinate values to be observed from the X axis satisfy conditions {4} and {5}, it is determined that a unique set of solutions can be obtained.
FIG. 28 illustrates the meaning of expression {7} for use in theorem 5.
A next theorem 5 gives reasoning of conditions {4} and {5} of theorem 4.
[Theorem 5]
Conditions {4} and {5} are equivalent to next conditions {6} and {7}. θ≠n π. . . {6} and α+θ≠nπ-α. . . {7} (where n is an integer.)
Condition {7} is equivalent to a next condition (8). u11 v21+u21 v11≠O . . . {8}
Condition (6) means that the object does not rotate by 0 (zero degrees [0°] ) or π (one hundred and eighty degrees [180°]).
To make the meaning of condition {7} clearer, its negation α+θ=n π-α is considered. Since a shift of α+θ by 2π (three hundred and sixty degrees [360°]) does not produce any difference, a first case of α+θ=-α and a second case of α+θ=-α+π need only be considered, as shown in FIG. 28.
In the first case of α+θ=-α, feature point 1 moves symmetrically with rescpect to the X axis, and feature point 2 moves symmetrically with respect to the Y axis. The second case of α+θ=-α+π corresponds to a one hundred and eighty degree [180°] rotation of the first case of α+θ-α.
Condition (8) is used for theorem 6.
Described below is th deduction of formulae for calculating θ, d1, d2 and α. The ranges of values α and sinθ need to narrowed for a substantive numerical calculation.
FIG. 29 illustrates a method for determining a value range for angle α.
FIG. 30 illustrates a method for determining a value range for angle β.
Lemma 2 is for narrowing the value of angle α.
[Lemma 2]
Assuming u1 (where 1=1, 2) are two-dimensional vectors from the origin and u1 is a vector obtained by rotating u1, the angle of rotation α from the X axis has a value within a value range for π/2 according to the signs of the X coordinate values u11 and u21 of ui (where i=1, 2) as shown in FIG. 29.
By replacing u1 with v1 and α with β, the value of β=α+θ can be narrowed.
In lemma 3, the value of sine is narrowed by using the results of lemma 2.
[Lemma 3]
From FIGS. 29 and 30, a pair of integers m and n (=0, 1, 2, 3) that satisfies two [2] sets of inequalities, (π/2)m ≧β<(π/2)(m+1) and (π/2)n≧α<(π/2)(n+1) is selected.
FIG. 31 illustrates a method for determining the sign of sinθ, when m-n is odd.
FIG. 32 illustrates a method for determining the sign of sine, when m-n is even.
A comparison between the values of m and n and a comparison between the values of u11 and v11 allow the sign of sin♭ to be determined from cases (1) and (2) below. (1) When m-n is odd, an integer p is defined as p=(m-n-1)/2
The sign of sinθ is determined from FIG. 31. (2) When m-n is even, the sign of sinθ is determined from FIG. 32. When the equalities are outstanding in the above sets of inequalities for m and n, sinθ=0.
After being prepared by lemmas 2 and 3, theorem 6 for calculating the set of solutions is shown.
[Theorem 6 ]
Under condition of theorems 4 and 5, the solution is obtained as follows, when u2 is a vector obtained by rotating u1 by π/2.
The following equations allow θ, d1, d2 and α to be calculated. cosθ=(u11u21+v11v21)/(u11v21+u21v11) sinθ=±(1-cos2 θ)1/2 where the sign is determined by lemma 3. (1) When u11 o and u21≠0
tanα=(u11 cosθ-v11)/u11 sinθ. Combining with the value range for α obtained from lemma 2, the value of α can be uniquely determined. d1=u11/cosα d2=-u21/sinα(2) When u11=O ##EQU31## (3) When u21=0 ##EQU32##
As described in lemma 1, the set of solutions, in which u2 is a vector obtained by rotating u1 by -π/2, is obtained by a mirror image transformation of the solution by theorem 6 with respect to the X axis. System 6.1 describes this more concretely.
[System 6.1]
The set of solutions, in which vector u2 is obtained by rotating vector u1 by -π/2, is obtained as described in (1) and (2).
(1) Assuming that the set of solutions, when vector u2 in theorem 6 is obtained by rotating vector u1 by π/2 is R, ui and vi (where i=1, 2), the set of solutions, when vector u2 is obtained by rotating vector u1 by -π/2 is represented by the next formulae. ##EQU33## which represents inverse rotation matrix of R. ##EQU34## which represents the mirror image transformations of u1 and v1.
(2) Assuming that the set of solutions, when vector u2 in theorem 6 is obtained by rotating vector u1 by π/2, is θ, di, d2 and α, the set of solutions, when vector u2 is obtained by rotating vector u1 by -π/2, is -δ, d1, d2 and -α.
Proofs of lemmas 1, 2 and 3, theorems 4, 5 and 6, and system 6.1 are described below.
[Proof of Lemma 1]
Assuming that
(1) is a set of solution when vector u2 is obtained by rotating vector u1 by π/2,
(2) is a set of solution when vector u2 is obtained by rotating vector u1 by -π/2,
sets of solutions (1) and (2) are mirror image transformations of each other with respect to the X axis, as shown in FIG. 27. ##EQU35##
Since vectors v1 and v2 are obtained by rotating vectors u1 and u2 by angle θ, ##EQU36## components of vectors ui and vi (where i=1, 2) are known.
d1 cos α=u11 . . .                                   (1)
-d2 sin α=u21 . . .                                  (2)
d1 cos (α+θ)=v11 . . .                         (3)
-d2 sin (α+θ)=v21 . . .                        (4)
The values of the right sides of formulae (1) through (4) are already known.
The following are proofs of lemmas 2 and 3, as well as theorems 4, 5 and 6, in a sequence of proposition 2, theorem 5, lemmas 2 and 3, and theorem 6.
[Proposition 2]
Expressions {6} and {7} in theorem 5 are conditions necessary for having a set of definite solutions.
[Proof of Proposition 2]
To reiterate the conditions, vi=R ui and wi=S ui, where i=1, 2.
(1) Proof that expression {6} is necessary
By assuming that {6} is not outstanding, it is shown that there is no definite solution.
By substituting θ=n π into formulae (3) and (4),
±d1 cos α=v11 . . .                               (3)'
-+d2 sin α=v21 . . .                                 (4)'
where the signs are in the same order.
Since formulae (3)' and (4)' can be transformed into formulae (3)" and (4)" by formulae (1) and (2), formulae (1), (2), (3) and (4) are equivalent to formulae (1), (2), (3)" and (4)".
d1 cos α=u. . .                                      (1)
-d2 sin α=u21 . . .                                  (2)
v11=±u11 . . .                                          (3)
v21=±u21 . . .                                          (4)
where the signs are in the same order.
That is, the conditions are only formulae (1) and (2), whereas the unknowns are d1, d2 and a. Therefore, the solutions are indefinite.
(2) Proof that condition {7} is necessary
By assuming that {7} is not outstanding, it is shown that there is no definite solution.
By substituting (where n is an integer) into the left side of formulae (3) and (4),
d1 cos (α+θ)=±d1 cosα
-d2 sin (α+θ)=±d1 sinα
±d1 cosα=v11 . . .                                (3)'
±d2 sinα=v21 . . .                                (4)'
Therefore, formulae (1), (2), (3) and (4) are equivalent to formulae (1), (2), (3)" and (4)".
d1 cosα=u11 . . .                                    (1)
-d2 sinα=u21 . . .                                   (2)
v11=±u11 . . . (3)'
v21=-+u21 . . . (4)'
That is, the only remaining conditions are formulae (1) and (2), where the unknowns are d1, d2 and α. Therefore, the solutions are indefinite.
[End of Proof]
[Proof of theorem 5]
It is illustrated first that {4} or {5} is equivalent to {6} or {7}.
The contraproposition of this proposition is proved, which is as follows.
v11=±u11, v21=±u21 (in the same order )
θ=n π or α+θ=nπ-α
Therefore, ##EQU37##
(1) and (2) below will illustrate the above.
(3) will illustrate that {7} and {8} are equivalent.
(1) A proof that V11=±u11, v21=±u21 (in the same order) θ=nπ
(←) (3)" and (4)" can be deducted from proof (1) for proposition 2.
(→) The formula members in proof (1) of proposition 2 are used.
(3)" and (4)" can be transformed into (3)" and (4)' by using (1) and (2). Combining them with (3) and (4),
[Expression 21]
d1 cos (α+θ)=±d1 cosα
-d2 sin (α+θ)=±d2 sinα
That is, ##EQU38##
By using these formulae, sinθ is calculated as follows. ##EQU39##
Therefore, θ=nπ
(2) A proof that V11=±u11, v21=-=u21 (the same order) α+θ=nπ-α
(←) This has already been proved in proof (2) of proposition 2.
(→) The formula numbers in proof (1) of proposition 2 are used.
(3)" and (4)" can be transformed into (3)' and (4)'. Combining them with (3) and (4),
[Expression 22]
d1 cos (α+β)=±d1 cosα
=d2 sin (α+β)=±d2 sinα
That is, ##EQU40## (where n is an integer.)
(3) A proof that {7} and {8} are equivalent.
Substituting (1) through (4) into
u11v21+u21v11
=-d1 d2 {cos α sin (α+θ)+sinα cos (α+θ)}
=-d1 d2 sin (2α+θ)
α+θ=nπ-α (where n is an integer.)
2α+θ=nπ(wherein n is an integer.)
sin (2α+θ)=0
u11v21+u21v11=0
α+θ=nπ-α (where n is an integer) . . . {7} u11v21+u21v11≠0 . . . {8}
[End of Proof]
[Proof of lemma 2]
FIG. 29 summarizes the result of examining signs of u11 and u21, when the value of α is α=0, 0<α<π/2, α=π/2, π/2<α<π, α=π, π<α<3π/2, α=3π/2, 3π/2<α<2π.
[End of Proof]
[Proof of lemma 3]
(π/2)m≦β<(π/2)(m+1) and (π/2)n≦α<(π/2)(n+1)
where m and n are integers satisfying
0≦m≦3 and 0≦n≦3.
Because θ=β-α,
(π/2)(m-n)-π/2≦θ<(π/2)(m-n)+π/2 . . . (*)
(1) If m-n is odd, it can be transformed into
m-n=2p+1, where p is an integer.
That is, p=(m-n-1)/2.
Substituting this into (*), pπ<θ<(p+1)π.
Therefore, FIG. 31 is obtained.
(2) If m-n is even, because 0≦m≦3 and 0≦n≦3, --3≦m-n≦3. Since, m-n is even, there are only three [3] cases, which are m-n=0, 2 and -2.
FIG. 33 shows a relation among m, n and the sign of sinθ, when m-n is even.
More specifically, FIG. 33 shows the conditions for determining the sign of sinθ, by listing the possible combinations of m and n for these three [3] cases.
When u11 and v11 have an equality in the conditions shown in FIG. 33, the value of sinθ is zero [0].
As described earlier, FIG. 32 shows a method for determining the sign of sinθ, when m-n is odd. FIG. 32 is obtained as a summary of FIG. 33.
FIG. 34 illustrates a method for determining the sign of sinθ, when m-n=0.
The following is a description of the process for obtaining FIG. 33. Basically, depending on the values of m and n, the ranges of positions of u1 and v1 are drawn, thereby obtaining the inequalities between u11 and v11 capable of narrowing the value range for angle θ.
(a) When m-n=0, from (*), -π/2<θ<π/2. There are four [4] Gases shown in FIG. 34.
By comparing the value of u11 with the value of v11, the value of θ can be narrowed.
FIG. 35 illustrates a method for determining the sign of sinθ, when m-n=2. (b) When m-n=2, from (*), π/2<θ<3π/2. There are two [2] cases shown in FIG. 35.
By comparing the values of |u11| with the value of |v11|, the value of θ can be narrowed.
FIG. 36 illustrates a method for determining the sign of sinθ, when m-n=-2. (c) When m-n=-2, from (*), -3π/2<θe<-π/2. There are two [2] cases shown in FIG. 36.
By comparing the value of |u11| with the value of |v11|, the value of θ can be narrowed.
[End of Proof]
[Proof of theorem 6]
By a cross multiplication between (1) and (3),
u11cos(α+θ)=v11cosα. . .                 (5)
By a cross multiplication between (2) and (4),
u21sin(α+θ)=v21sinα. . .                 (6)
(1) When u11≠0 and u21<0
Since α is not integer times of π/2 from FIG. 29,
cosα≠0, sinα≠0
By expanding (5) and dividing both sides by cosα,
u21(cosθtanαsinθ)-v11 --u11tanαsinθ=v11--u11cosθ. . .         (5)'
By expanding (6) and dividing both sides by sinα,
u21 (cosβ+colα·sinθ)=v21 u21 cotα·sinθ=v21 -u21 cosθ. . .   (6)'
By multiplying both sides of (5)' by corresponding sides of (6)',
-u11u21 sin.sup.2 θ=(v11-u11 cosθ) (v21-u21 cosθ) (u11v21+u21v11) cosθ=u11u21+v11v21 . . .            (7)
Because u11v21+u21v11≠0 . . .                        (5)
cosθ=(u11u21+v11v21)/(u11v21+u21v11) . . .           (8)
sinθ=±(1-cos.sup.2 θ).sup.1/2. . .          (9)
The sign of (9) can be obtained from lemma 2.
Since sinθ≠0 from (5)' and {6}.
tanα(u11cosθ-v11)/u11sinθ
By combining the value range for α obtained from lemma 3, only one [1] value of α can be determined.
From (1), d1=u11/cosα. . .                           (10)
From (2), d2=-u21/sinα. . .                          (11)
(2) When u11=0
[Expression 23]
From lemma 2, α=π/2 (when u21<0)
3π/2 (when u21<0)
Substituting cosα=0, sinα=±1 into (1) through (4).
0=u11 . . .                                                (1)'
-+d2=u21 . . .                                             (2)'
-+d1 sin θ=v11 . . .                                 (3)'
-+d2 cos θ=v21 . . .                                 (4)'
That is, the left side of (7)=d1 d2 sinθ cosθ=the right side of (7)
Therefore, (7) is outstanding in this case, too. As well, (8) and (9) are outstanding.
Since sinθ≠0 in (3)' (from {6})
d1=|v11/sinθ|. . .                 (10)'
from (2)'d2=|u21|. . .                   (11)'
(3) When u21=0
[Expression 24]
From lemma 2, α=0 (when u11>0)
=π(when u11<0)
Substituting cosα=±1 and sinα=0 into (1) through (4),
±d1=u11 . . .                                           (1)'
0=u21 . . .                                                (2)'
±d1 cos θ=v11 . . .                               (3)'
+d2 sin θ=v21 . . .                                  (4)'
That is, the left side of (7)=-d1 d2 sinθ cosθ=the right side of (7).
Therefore, (7) is outstanding in this case, too. As well, (8) and (9) are outstanding.
From (1)", d1=|u11|. . .                 (10)"
In (4)", since sinθ≠0 (from {6})
d2=|v21/sinθ|. . .                 (11)"
[End of Proof]
So far, the new theory for use in the second form of this invention has been described in detail. By having the shape/movement recognition unit 18 shown in FIG. 4 apply the new theory to a recognition of an object moving on a single plane coupled with a rotation, based on the result of extracting three [3] feature points forming a right angle each in images captured at two [2] points in time for observation, it becomes possible to calculate the actual positions and movements of these feature points within a three-dimensional space and to recognize the movement of a moving body.
The concept of a moving body recognition apparatus in the second form of this invention is similar to that in the first form of this invention. Also, an embodiment of the second form of this invention and the detailed configuration of the shape/movement recognition unit 27 are similar to those of the first form of this invention, which are shown in FIGS. 9 through 13. Accordingly, their descriptions are omitted.
FIGS. 37, 38 and 39 are flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the second form of this invention.
In FIG. 37, when the processes start, the shape/movement recognition unit 27 determines in step S60 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of expressions {6}', {7}' and {8}'. As with the first form of this invention, a signal from a sensor allows the determination to be made. The relations between expressions {6}' through {8}' and {6} through {8} are the same as those described earlier.
If the shape/movement recognition unit 27 determines in step S60 that the known data input unit 31 has received at least one [1] of expressions {6}', {7}' and {8}', the known data input unit 31 outputs in step S61 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process {1} shown in FIG. 40. The flow of recognition disablement process {1} pursuant to the second form of this invention shown in FIG. 40 is essentially the same as that shown in FIG. 17 pursuant to the first form of this invention.
FIG. 40 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the second form of this invention.
On start of recognition disablement process (1), the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S62. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
Returning to FIG. 37, if the shape/movement recognition unit 27 determines in step S60 that the known data input unit 31 has received none of {6}', {7}' and {8}', the shape/movement recognition unit 27 determines in step S64 whether or not the feature point storage unit 26 has stored all data on the positions of three {3} feature points in each of the images captured at two {2} instants in time for observation. The shape/movement recognition unit 27 repeats step S64 until it determines that the feature point storage unit 26 has stored the positions of three [3] feature points each in images captured at two [2] instants in time for observation. When the shape/movement recognition unit 27 determines in step S64 that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 sends an activation signal to the feature point position normalization unit 32 in step S65, thereby activating the feature point position normalization unit 32.
Continuing on to FIG. 38, the feature point position normalization unit 32 stores in step S66 data on the positions of three [3] feature points 0, 1 and 2, which the feature point position normalization unit 32 stores in the feature point storage unit 26, and obtains first components of two-dimensional vectors ui and vi (where i=1, 2) as X coordinate values of feature points 1 and 2, which are different from feature point 0, after feature point 0 moves to the origin and the other feature points 1 and 2 are parallelly displaced. Therefore, the X coordinate values of feature points 1 and 2 after the displacement in parallel with feature point 0 are obtained by subtracting the X coordinate value of feature point 0 before the parallel displacement from the X coordinate values of feature points 1 and 2 before the parallel displacement.
Then, the shape/movement recognition unit 27 has the shape/movement determination unit 33 determine in step S67 whether or not these first components satisfy either expression {4} or expression {5}. If they satisfy neither expression {4} nor expression {5}, the shape/movement determination unit 33 sends recognition disablement data to the movement calculation unit 34 in step S68, thereby invoking recognition disablement process {1} shown in FIG. 40.
As explained in the description of theorem 5, expressions {4} and {5} are equivalent to expressions {6} and {7}. Therefore, it can be said that the check in step S67 and the check in step S60 form a duplication. However, since the check in step S60 can be performed by a sensor, such a duplication is instituted. Also, no further calculation is performed, when the shape/movement determination unit 33 determines in step S67 a recognition disablement (leading to recognition disablement process {1}) by using only the positions of the three [3] feature points each in images captured at two [2] instants in time for observation.
If the shape/movement determination unit 33 determines in step S67 that either expression {4} or expression {5} is outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S69, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with lemma 3 and theorem 6.
FIG. 41 is a flow-chart of the movement calculation unit 34 pursuant to the third form of this invention.
On start of its process, the movement calculation unit 34 calculates an integer n for determining the value range for 60 by using FIG. 29 in step S70, and an integer m for determining the value range for β by using FIG. 30 in step S71. Then, the movement calculation unit 34 executes a process for determining the sign of sinθ0 in step S102 or S105 shown in FIG. 42 before step S76.
FIG. 42 is a flowchart of an embodiment of determining the sign of sinθ.
After completing step S71 shown in FIG. 41, the movement calculation unit 34 determines in step S72 whether an integer m-n is odd or even. When the movement calculation unit 34 determines in step S72 that integer m-n is add, the movement calculation unit 34 obtains the value of an integer p in step S73, and determines in step S74 the sign of sinθ by using FIG. 40 depending on whether integer p is odd or even. When the movement calculation unit 34 determines in step S72 that integer m-n is even, the movement calculation unit 34 determines in step S75 the sign of sinθ by using FIG. 32.
Returning to FIG. 41, the movement calculation unit 34 obtains all elements of rotation matrix R in step S76, and determines in step S77 whether or not rotation matrix R or its inverse rotation matrix R-1 satisfies the known data of an object inputted to the known data input unit 31. When the movement calculation unit 34 determines negatively (NO) in step S77, recognition disablement process (1) shown in FIG. 40 is invoked. When the movement calculation unit 34 determines affirmatively (YES) in step S77, the movement calculation unit 34 sends data on angle α and rotation matrix R to the shape calculation unit 35 and the feature point position reconstruction unit 36 in step S78.
As with the second form of this invention, the selection of either one [1] of two [2] sets of solutions, e.g. a selection between a rotation matrix R and its inverse rotation matrix R-1 in the second form of this invention, is pari passu the description of FIG. 19 pursuant to the first form of this invention.
FIG. 43 is a flowchart of the shape calculation unit 35 pursuant to the second form of this invention.
On start of its process, the shape calculation unit 35 determines in step S80 whether or not both u11 and u21 have non-zero values. If the shape calculation unit 35 determines affirmatively (YES) in step S80, the shape calculation unit 35 invokes shape calculation process {1} shown in FIG. 44 before continuing on to step S94.
FIG. 44 is a flowchart of an embodiment of shape calculation process {1}.
The shape calculation unit 35 obtains the angle between two-dimensional vector u1 and the X axis, in step S81, and then the absolute values d1 and d2 of two-dimensional vectors u1 and u2, in step S82.
Returning to FIG. 43, if the shape calculation unit 35 determines negatively (NO) in step S80, the shape calculation unit 35 determines in step S83 whether or not u11=0. If the shape calculation unit 35 determines affirmatively (YES) in step S83, the shape calculation unit 35 invokes shape calculation process {2} shown in FIG. 54 before continuing on to step S94.
FIG. 45 is a flowchart of an embodiment of shape calculation process {2}.
The shape calculation unit 35 determines in step S84 whether or not u21 is smaller than zero [0]. If it determines affirmatively (YES) in step S114, the shape calculation unit 35 sets the value of angle α equal to π/2 in step S85. If it determines negatively (NO) in step S84, the shape calculation unit 35 sets the value of angle α equal to 3π/2 in step S86. On completing either step S85 or step S86, the shape calculation unit 35 obtains the absolute values d1 and d2 in step S87.
Returning in FIG. 43, if the shape calculation unit 35 determines negatively (NO) in step S83, the shape calculation unit 35 invokes shape calculation process {3} shown in FIG. 46 before continuing on to step S94.
FIG. 46 is a flowchart of an embodiment of shape calculation process {3}.
The shape calculation unit 35 determines in step S90 whether or not u11 is smaller than zero [0]. If it determines affirmatively (YES) in step S90, the shape calculation unit 35 sets the value of angle α equal to zero [0] in step S91. If it determines negatively (NO) in step S90, the shape calculation unit 35 sets the value of angle α equal to π in step S92. On completing either step S91 or step S92, the shape calculation unit 35 obtains the absolute values d1 and d2 in step S123.
Returning to FIG. 43, after completing shape calculation process {1}, {2} or {3}, the shape calculation unit 35 calculated the second components u11 and u21 of two-dimensional vectors u1 and u2 in step S94 and the second components v11 and v21 of two-dimensional vectors v1 and v2 in step S95. Then, the shape calculation unit 35 sends those second components to the feature point position reconstruction unit 36 in step S96.
Returning to FIG. 38, when the shape/movement recognition unit 27 completes the process of the shape calculation unit 35, the shape/movement recognition unit 47 continues on to step S97 shown in FIG. 39.
The feature point position reconstruction unit 36 identifies the transferred set of recognition solutions as a set of recognition solutions <1> in step S97, obtains a set of recognition solutions <2> in step S98, and determines in step S99 whether or not either one [1] of the sets of recognition solutions <1> and <2> satisfies the known data stored in the known data input unit 31. The feature point position reconstruction unit 36 selects either recognition solution <1> or recognition solution <2> by concave/convex data of an object.
If the feature point position reconstruction unit 36 determines in step S99 that neither set of recognition solutions <1> and <2> satisfies the known data stored in the known data input unit 31, the shape calculation unit 35 invokes recognition disablement process {2} shown in FIG. 47, which is essentially the same as those pursuant to the first and second forms of this invention shown in FIGS. 22 and 33.
FIG. 47 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the second form of this invention.
In step S101, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position storage unit 29, thereby ending the process.
Returning to FIG. 39, if the feature point position reconstruction unit 36 determines in step S99 that either of the sets of recognition solutions <1> and <2> satisfies the known data stored in the known data input unit 31, the feature point position reconstruction unit 36 identifies it as a selected set of recognition solutions. Then, in step S102, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 rotation matrix R in the selected set of recognition solutions together with the in-image coordinate values of feature point 0 stored in the feature point position normalization unit 32. Thereafter, in step S103, the feature point position reconstruction unit 36 stores in the feature point position storage unit 29 the second components of the two-dimensional vectors in the selected set of recognition solutions together with the in-image coordinate values of feature points 0, 1 and 2 stored in the feature point position normalization unit 32, thereby completing its process.
Thus, the shape/movement recognition unit 27 ends its process.
Although set of recognition solutions <1> is obtained first in the above embodiment, it goes without saying that there is another embodiment in which set of recognition solutions <2> is obtained first, which requires only the X axis to have the opposite direction.
As described above, the second form of this invention allows the movement of an object moving on a single plane coupled with a rotation to be recognized from the positions of three [3] feature points forming a right angle each in images captured at two [2] instants in time for observation.
Also, as explained in the description of FIG. 31, the shape/movement determination unit 33 can immediately determine the recognition enablement or recognition disablement of the moving body from the in-image positions of feature points.
The Third Form
FIG. 23 shows a universal relation between an object and its observation plane in an image input unit pursuant to the third form of this invention.
FIG. 24 shows a relation between an object and its observation plane pursuant to the third form of this invention, in which one [1] of feature points of the object is fixed at the origin of a three-dimensional coordinate system.
Embodiments of the third form of this invention are explained below. As described earlier, the third form of this invention is different from the first form of this invention, in that the actual position and movement of feature points in an object are obtained from the known position data of three [3] feature points of an object at any three [3] instants in time for observation, because the rotating speed of an object does not have to be constant and because the three [3] feature points do not form a right angle. The movement and the rotation of an object and the relation between the direction of observing an object and the coordinate axes are the same as those in the first and second forms of this invention.
The relations between an object and its observation plane pursuant to the third form of this invention are the same as those shown in FIGS. 23 and 24 pursuant to the first and second forms of this invention, except that the three [3] feature points do not form a right angle.
The assumption that images are obtained as orthogonally projected images observed from the direction of the Y axis is the same as that for the first form of this invention. Therefore, the displacement in the direction of the X axis is the same as that observed on the image plane. Therefore, as explained in the description of FIG. 24, after one [1] of the three [3] feature points, e.g. feature point 0, moves to the origin, the Y coordinate values of other two [2] feature points, e.g. feature points 1 and 2, the angle of rotation around the origin of the object from a first instant in time for observation to a third instant in time for observation and the angle of rotation around the origin of the object from the first instant in time for observation to a third instant in time for observation are calculated.
Described below in detail is the new theory used in the third form of this invention. It is necessary first to analyze the number of feature points and the number of images that must exist to establish correspondences. A theorem 7 gives the answer to the analysis.
[Theorem 7]
To be able to have a definite solution, it is necessary to establish correspondences of three [3] feature points each in three [3] images.
A system 7.1 clarifies the meaning of theorem 7.
[System 7.1]
A theorem 7 satisfies following propositions (1) and (2). Proposition (1) Two [2] images produce no set of definite solutions, no matter how many feature points there are. Proposition (2) Two [2] feature points produce no set of definite solutions, no matter how many images there are.
[Proof of theorem 7]
Assuming that m feature points each in n images have correspondences, the number of equations need to be greater than the number of unknowns. The following illustrates why conditions of m and n are m≧3 and n≧3.
As described later, assume that a feature point 0 moves to the origin.
Codes are defined as follows.
Vkj represents a vector from the origin to a j-th feature point in a k-th image, where k=1, . . . , n and j=1, . . . , m-1.
Rotation matrix Ri represents a rotation of an object from a first image to an i-th image, where i=2, . . . , n.
That is, a relation such as
______________________________________                                    
A first          R.sub.i                                                  
                       An i-th                                            
instant                instant                                            
in time                in time                                            
for ob-                for ob-                                            
servation              servation                                          
v.sub.ij         →                                                 
                       v.sub.ij                                           
______________________________________                                    
(where i=2, . . . , n and j=1, . . . , m-1) can be expressed as vij=Ri Vij (where k=1, . . . , n and j=1, . . . , m-1) . . . (1)
Since unknowns are θi, which is an angle of rotation represented by rotation matrix Ri, (where i=2, . . . , n,) and third components (i.e. Y components) of vectors Vkj, (where k=1 , . . . , n and j=1, . . . , m1,) the number of unknowns is (n-1)+n(m-1)=mn-1
Because two [2] linear equations are obtained from each combination of i and j in expression (1), the number of equations is 2(m-1)(n-1). The number of equations must not be less than the number of unknowns to have a set of definite solutions.
That is, the difference obtained by subtracting the number of unknowns from the number of equations must not be negative. Therefore, (the number of equations)-(the number of unknowns)=2(m-1)(n-1)-(mn-1)=(m-2)(n-2)-1≧0
This is transformed into (m-2)(n-2)≧1
Since both m and n are positive integers, m-2≧1 and n-2≧1. Hence, m≧3 and n≧3.
[End of Proof]
Although system 7.1 is a direct result of theorem 7, it can be directly proved. The direct proof is explained below.
[Proof of System 7.1]
(1) A proof that two [2] observations of n points produce no definite solution.
The relations between two-dimensional vectors for n-1 points other than the origin on a rigid body and a rotation represented by rotation matrix R are expressed as follows: ##STR1##
Conditional equations are transformed into ##EQU41##
That is, ##EQU42##
The unknowns are θ, yi and yi', where i=1, . . . and n-1.
Since the number of conditional equations is 2n-2 whereas the number of unknowns is 2n-1, there is no set of definite solutions.
(2) It is shown that n observations at two [2] points produce no set of definite solutions.
The relation between two-dimensional vectors of a single point other than the origin on a rigid body and a rotation are expressed as ##STR2##
Conditional equations are ##EQU43##
That is, ##EQU44##
The unknowns are θj, y1 and yj, where j=2, . . . n.
Since the number of equations is 2n-2 whereas the number of unknown variables is 2n-1, there is no set of definite solutions.
[End of Proof]
FIG. 48 illustrates the orthogonal projections of feature points 0, 1 and 2 shown in FIG. 24 on the XY plane at three [3] instants in time for observation pursuant to the third form of this invention.
To calculate the data on the shape and movement of an object, it is sufficient to calculate the displacement of feature point 0 to the origin and the angle of rotation around the origin. Since the displacement of feature point 0 can be easily obtained as described earlier, the angle of rotation around feature point 0 need only be calculated.
A moving body recognition apparatus pursuant to the third form of this invention calculates and outputs an angle of rotation of an object around the origin and a Y coordinate value of a feature point when feature point 0 moves to the origin, in addition to the X and Z coordinate values of feature points in the input images.
The following is a description of the codes shown in FIG. 48.
Feature point 0 is a feature point of an object moved to origin 0.
Feature points 1 and 2 are feature points on the object other than feature point 0.
u1 and u2 are two-dimensional vectors respectively representing feature points 1 and 2 at a first instant in time for observation.
v1 and v2 are two-dimensional vectors respectively representing feature points 1 and 2 at a third instant in time for observation.
w1 and w2 are two-dimensional vectors respectively representing feature points 1 and 2 at a third instant in time for observation.
R is a rotation matrix representing a rotation of the object around the origin from the first instant in time for observation to the third instant in time for observation, which is expressed as: ##EQU45##
S is a rotation matrix representing a rotation of the object around the origin from the first instant in time for observation to the third instant in time for observation, which is expressed as: ##EQU46##
These are related by the following expressions: vi=R ui and wi=S ui, where i=1, 2.
That is,
______________________________________                                    
A first  R     A second   A first                                         
                                 S     A third                            
instant        instant    instant      instant                            
in time        in time    in time      in time                            
for ob-        for ob-    for ob-      for ob-                            
servation      servation  servation    servation                          
u.sub.1  →                                                         
               v.sub.1    u.sub.1                                         
                                 →                                 
                                       w.sub.1                            
u.sub.2  →                                                         
               v.sub.2    u.sub.2                                         
                                 →                                 
                                       w.sub.2                            
______________________________________                                    
Therefore, the problem can be formulated as follows:
[A Problem Of Recognizing A Moving Body On A Single Plane]
ui, vi and wi are two-dimensional vectors whose first components are known, where i=1, 2.
R and S are two-dimensional rotation matrices.
vi=R ui and wi=S ui, where i=1, 2.
Assuming the above, obtain third components of ui, v1 and wi, where i=1, 2, and the rotation matrices R and S.
A next theorem 8 presents conditions for solving this problem.
[Theorem 8]
The conditions of determining a set of solutions for a problem of recognizing a moving body on a single plane are to let {9}, {10} and {11} be all satisfied. ##EQU47##
Here, that a square matrix is regular should be construed as follows:
a matrix being regular its inverse matrix existing the value of its determinant not being equal to zero [0]
Therefore, when determinants of matrices {9}, {10} and {11} are not all zero [0], the shape and movement of an object can be determined.
The proofs of theorems 8, 9 and 10 will be shown later in a batch.
A lemma 4 for use in proving theorems 9 and 10 is shown below. Lemma 4 shows a relation between the two [2] two-dimensional rotation matrices R and S.
[Expression 19] ##EQU48##
Here a sign indicates a necessary and sufficient condition. A next theorem 6 defines the meanings of conditions {4}, {5} and {6}.
[Theorem 9]
Conditions {9}, {10} and {11} in theorem 8 are equivalent to next conditions {12} through {15}.
[Expression 20]
R≠±I                                              {12}
S≠±I                                              {13}
R≠±S                                              {14}
[u1, u2] being regular [v1, v2] being regular [w1, w2] being regular . . . {15}
where ##EQU49## is an identity matrix.
Condition {12} means that the rotation of an object from a first instant in time for observation to a third instant in time for observation is neither zero degrees [0° ] nor one hundred and eighty degrees [180°].
Condition {13} means that the rotation of an object from a first instant in time for observation to a third instant in time for observation is neither zero degrees [0°] nor one hundred and eighty degrees [180°].
Condition {14} means that the rotation of an object from a third instant in time for observation to a third instant in time for observation is neither zero degrees [0°] nor one hundred and eighty degrees [180°]. (This is because condition {14} is equivalent to RS-1 =±I, where RS-1 represents a rotation of an object from the third instant in time for observation to the third instant in time for observation.)
Condition {15} means that the three [3] feature points 0, 1 and 2 are not on a single straight line, i.e. that the three [3] feature points 0, 1 and 2 form a triangle.
A next theorem 10 presents formulae for calculating a set of definite solutions.
[Theorem 10]
Conditions of theorem 8 produce the next set of definite solutions. ##EQU50## can be calculated by the following expression. [Expression 22]
Define first that: ##EQU51##
Calculate a1 according to: ##EQU52##
R1 and S1 can be obtained from components a11 and a12 of vector a1 and the next expressions.
R1=[(1+a11.sup.2 -a12.sup.2)/(2a11)±(1-r11.sup.2).sup.1/2 ]
S1=[(1-a11r11)/a12-a11r12/a12]
Since the values of elements of a first row matrix R1 have been calculated, the values of all elements of rotation matrix R are obtained.
The values of all elements of rotation matrix S are obtained similarly.
Second components u12, v12 and W12 two-dimensional vectors ui, vi and wi, where i=1, 2 are calculated by the next expressions.
[Expression 23]
According to the already calculated values of R1 and S1, a2 is calculated by the next expressions. ##EQU53##
The following expression allows the second component of ul, where i=1, 2, to be calculated. ##EQU54##
The next expressions allow the second components of vi and wi, where i=1, 2, to be calculated. vi2=R2 ui and wi2=S2 ui (i=1, 2)
[Expression 24]
Theorems 9 and 10 require the inverse rotation matrices of ##EQU55##
This is sequentially guaranteed by lemma 4 and theorem 8.
A next system 10.1 defines the correspondences between two [2] sets of solutions by theorem 10.
[System 10.1]
When one [1] set of the solutions is R, S, ui, vi and wi, where i=1, 2, the other set of solutions is [Expression 25] ##EQU56##
System 10.1 corresponds to a case in which there are two [2] sets of solutions for an earlier described problem of recognizing a moving body. This shows that there are two [2] sets of solutions respectively corresponding to cases in which the Y coordinate values of other feature points are positive and negative as shown in FIG. 49 when feature point 0 in an orthogonally projected image moves to the origin. They also correspond to the surfaces of an object observed from a TV camera as an image input unit being a convex and a concave.
FIGS. 49A and 49B show two [2] sets of solutions forming mirror image transformations of each other with respect to the X axis pursuant to the third form of this invention.
FIG. 49A shows that feature points shown in FIG. 47 are projected over to the XY plane as a set of solutions, in which the surface of an object forms a convex, whereas FIG. 49B shows the mirror image transformation of the set of solutions shown in FIG. 49A, in which the surface of an object forms a concave.
A next system 10.2 allows an easier calculation of r11 by theorem 10.
[System 10.2]
When it can be assumed that the rotation of a rigid body is constant, i.e. when S=R2, r11=a11/2.
The following are proofs of theorems 8, 9 and 10, in a sequence of proposition 3, lemma 4, theorem 9 and theorem 10.
[Proposition 3]
Expressions {12}, {13}, {14} and {15} in theorem 9 are conditions necessary for having a set of definite solutions.
Proof of Proposition 3]
To reiterate the conditions, vi=R ui and w1=S ui, where i=1, 2.
(1) Proof that condition {12} is necessary
By assuming that R=±I, it is shown that there is no set of definite solutions.
Condition vi=R ui is transformed into vi=±ui.
Thus, the only remaining condition is wi=S ui. As already explained in the description of proposition (1) in theorem 7, there is no set of definite solutions.
(2) Proof that condition {13} is necessary
This is exactly the same as the proof for {1}.
(3) Proof that condition {14} is necessary
Assuming that R=±S, it is shown that there is no set of definite solutions.
vi=R ui=±S ui=±wi Hence, condition vi=R ui is reduced to vi=±wi. Thus, the only remaining condition is wi=S ui.
As illustrated in the description of (1) in system 7.1, there is no set of definite solutions.
(4) Proof that condition {15} is necessary
Assuming that [u1, u2] is irregular, it is shown that there is no set of definite solutions.
Since u1 and u2 are linearly dependent on each other, α1 u1+α2 u2=0, where (α1, α2)≠0.
Because u1≠0 and u2≠0, α1≠0. and α2≠0, it is described that u2=αu1.
Condition v2=R u2 is reduced to v2 =αv1.
Condition w2=S u1 is reduced to w2=αw1.
Thus, all the conditions vi=R u i and wi=S ui where i=1, 2, are reduced to vi=R ui and wi=S ui.
As already explained in the description of (2) in system 7.1, there is no set of definite solutions.
(5) Proof that condition {15} is necessary
From conditions,
[Expression 26]
[v1, v2]=R [u1, u2] and [w1, w2]=S [u1, u2] Since R and S are regular, ##EQU57## [Expression 27] ##EQU58##
By using the next relation, ##EQU59## is calculated first. ##EQU60##
Also, ##EQU61##
The contraproposition of the above proposition is: ##EQU62## [End of Proof] [Proof 2 of lemma 4]
By proving the contraproposition, an original proposition is proved. ##EQU63## vectors R1 and S1 being linearly dependent with each other a certain number a satisfying r1=a S1 R1=±S1, (This is because the lengths of two-dimensional vectors R1 and S1 are both one [1], since R and S are both rotation matrices.) R =±S
This is because R1=±S1 R2=±R2 R=±S, which is due to the generic form of a two-dimensional rotation matrix, which is ##EQU64## [End of Proof] [Proof of Theorem 9]
To reiterate the conditions, vi=R ui and wi=S ui (where i=1, 2) . . . (*)
From (*), ui=S-1 wi and vi=R ui=R S-1 wi. ##EQU65## From (*), wi=SR-1 v1 and ui=R-1 vi
From (1) through (3), {9} through {11} are equivalent to next (4) through (9). ##EQU66##
From Lemma 1, (4), (6) and (8) are equivalent respectively to {12}, {14} and {13}. ##EQU67##
(7) is equal to {15}, and is equivalent to (5) and (9) as illustrated in the proof of proposition 3. Therefore, (4) through (9) are equivalent to {12} through {15}.
[Proof of theorem 10]
Expression 30] vi32 R ui and wi=S ui (where i=1, 2) ##EQU68##
From conditions of theroem 9, which is R≠±S . . . (14) and lemma 4, ##EQU69##
By combining condition {10} in theorem 8 and condition {15} in theorem 9, all the matrices in expression (1) are regular. ##EQU70##
Because parameters on the right side are known, a1 can be calculated. ##EQU71## By squaring both two expressions,
a12.sup.2 =1+a11.sup.2 -2 a11r11 a11r11 =(1+a11.sup.2 -a12.sup.2)/2 a11≠0                                               (8)
[Expression 33]
This is because defining from (3), ##EQU72## a12.sup.≠0 therefore, s12=0
S=±I This contradicts to the condition of theorem 9.
From (8), r11=(1+a11.sup.2 -a12.sup.2)/(2a11)              (9)
r12=±(1-r11.sup.2).sup.1/2                              (10)
from (9) and (10), R1 can be calculated.
a12≠0
[Expression 34 ]
This is because defining a12=0 from (3), ##EQU73##
a11 ≠0 therefore, r12=0
Hence, R=±1 This contradicts to condition of theorem 9.
From (6) and (7) s11=(1-a12                                (11)
s12=-a11r12/a12                                            (12)
From (11) and (12), S1 can be calculated.
[Expression 35]
A general expression of a two-dimentional matrix is, ##EQU74##
From R1, S1, the all elements of rotation matrises R and S can be calculated.
[Expression 36 ]
Also, ##EQU75## can be determined.
From (1), because ##EQU76## therefore, ##EQU77##
vi2=R2 u1, W12=S2u1 (i=1, 2)                               (14)
From (13), (14), second commponets of V Ui, Vi, Wi (i=1,2) are finalized.
[End of proof ]
Proof 1 of system 10.1 ]
From conditions Vi=Rui, Wi=Sui (i=1,2 ), ##EQU78## Since ##EQU79## are rotation matrises, the first compone of ##EQU80## are equal to Ui, Vi and Wi, the terms expression (1) form another set of solutions.
[End of proof][Proof 2 of system 10.1]
A next direct proof can be set forth from theorem 10.
[Expression 38]
That the other set of solutions corresponding to rotation matrises can be understood ##EQU81## from the general expression of a rotation matrix and an expression of theorem 10.
Matrix corresponding to ##EQU82## This is because ##EQU83## The other set of solution corresponding to ##EQU84## [Supplement to the proof of system 10.1]
[Expression 39]
For example, assuming ##EQU85## is the inverse of rotation matrix R.
[End of proof][Proof of System 10.2] ##EQU86##
[End of proof]
So far, the new theory for use in the third form of this invention has been described in detail. By applying this new theory to the shape/movement recognition unit 18 shown in FIG. 4 for its recognition of an object moving on a single plane coupled with a rotation, based on a result of extracting three [3] feature points each in images captured at three [3] instants in time for observation, the actual movements and positions of those feature points in a three-dimensional space are calculated, for enabling the movement of a moving body to be recognized.
The concept of a moving body recognition apparatus pursuant to the third form of this invention is similar to that pursuant to the first form of this invention. Also, an embodiment of the third form of this invention and the detailed configuration of the shape/movement recognition unit 27 are similar to those of the first form of this invention, which are shown in FIGS. 9 through 13. Accordingly, their descriptions are omitted.
FIGS. 50, 51 and 52 are flowcharts showing in a three part series the whole processes of the shape movement recognition unit 27 pursuant to the third form of this invention.
In FIG. 27, when the processes start, the shape/movement recognition unit 27 determines in step S60 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of the expressions (12)' through (15)', (1), (2) and (3). Here, generally, a satisfaction of expression (12)' is determined only after the calculation of rotation matrix R. However, the moving body recognition apparatus pursuant to the third form of this invention also has various sensors not explained in detail here, and determines whether the angle of rotation of the object from a first instant in time for observation to a second instant in time for observation is either zero degrees (0°] or one hundred and eighty degrees [180°]. Here, the prime signs in (12)', (13)' and (14)' represent equivalent transformations of (12), (13) and (14) illustrated in the description of theorem 9.
If the shape/movement recognition unit 27 determines in step S110 that the known data input unit 31 has received at least one [1] of expressions (12)'through (15)', (1), (2) and (3), the known data input unit 31 outputs in step S111 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process {1} shown in FIG. 53. The flow of recognition disablement process {1} for the third form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
FIG. 50 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the third form of this invention.
On start of recognition disablement process {2} the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step Sl12. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
If the shape/movement recognition unit 27 determines in step Si10 that the known data input unit 31 has received none of {12}' through {15}', (1), (2) and (3), the shape/movement recognition unit 27 the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process {1} shown in FIG. 53. The flow of recognition disablement process {1} for the third form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
FIG. 50 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the third form of this invention.
On start of recognition disablement process {1}, the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36 in step S112. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S63, thereby ending the process.
If the shape/movement recognition unit 27 determines in step S110 that the known data input unit 31 has received none of {12}' through {15}', (1), (2) and (3), the shape/movement recognition unit 27 determines in step S114 whether or not the feature point storage unit 26 has stored all data on the positions of three [3] feature points each in images captured at three [3] instants in time for observation. The shape/movement recognition unit 27 repeats step S114 until it determines that the feature point storage unit 26 has stored the positions of three [3] feature points each in images captured at three [3] instants in time for observation. When the shape/movement recognition unit 27 determines positively (YES) that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 sends an activation signal to the feature point position normalization unit 32, thereby activating the feature point position normalization unit 32.
In FIG. 51, the feature point position normalization unit 32 stores in step S116 data on the positions of the three [3] feature points 0, 1 and 2, which the feature point position normalization unit 32 stores in the feature point storage unit 26, and obtains first components u12, v12 and w12 of two-dimensional vectors u1, v1 and w1 (where i=1, 2) as X coordinate values of feature points 1 and 2, which are instituted. Also, no further calculation is performed, when the shape/movement determination unit 33 determines in step Sl17 a recognition disablement by using only the in-image positions of feature points.
If the shape/movement determination unit 33 determines in step S117 that expressions {9}, {10}and {11} are all outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S119, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with theorem 10.
FIG. 54 is a flowchart of the movement calculation unit 34 pursuant to the third form of this invention.
On start of its process, the movement calculation unit 34 calculates a first row vector a1 in matrix a in step S120, rotation matrix R in step S121, and rotation matrix S in step S122. Then, the movement calculation unit 34 determines in step S123 whether or not at least one [1] of calculation results of rotation matrices R and S satisfies the known data regarding the movement of an object inputted to the known data input unit 31. In this determination in step S123, the movement calculation unit 34 selects the appropriate one [1] from the results of calculating rotation matrices R and S according to signals inputted from various sensors for detecting the movement of an object. If it determines in step S123 neither rotation matrix R nor rotation matrix S satisfies the known data, the movement calculation unit 34 invokes recognition disablement process {1} shown in FIG. 53.
The selection of either one [1] of two [2] sets of solutions, e.g. a rotation matrix R and its inverse rotation matrix R-1, is pari passu the description of FIG. 19 pursuant to the first form of this invention.
If the movement calculation unit 34 determines in step S123 that there is a set of solutions that satisfies known data about the movement of an object, the movement calculation unit 34 sends the selected one [1] of the results of calculating rotation matrices R and S to the shape calculation unit 35 and the feature point position reconstruction unit 36 in step S124.
FIG. 55 is a flowchart of the shape calculation unit 35 pursuant to the third form of this invention.
On start of its process, the shape calculation unit 35 obtains the second row of a2 of matrix a in step S125. Based on the result obtained in step S125, the shape calculation unit 35 obtains u12 and u22 as the second components of two-dimensional vectors u1 and u2 in step S126, v12 and v22 as the second components of two-dimensional vectors v1 and v2 in step S127, w1 and w2 as the second components of two-dimensional vectors w1 and w2 in step S128. Then, in step S129 the shape calculation unit 35 sends to the feature point position reconstruction unit 36 the values of second components u12, u22, V12, V22, W12 and w22 of those two-dimensional vectors u1, u2, v1, v2, w1 and w2.
Returning to FIG. 52, the feature point position reconstruction unit 36 executes its processes from step S130, on completing the process of the shape calculation unit 35 shown in FIG. 51. In step S130, from the two-dimensional vectors u1, u2, v1, v2, w1 and w2, and rotation matrices R and S obtained as the result of calculating the shape and movement of an object, the feature point position reconstruction unit 36 selects the values matching the known data about the movement of the object inputted to the known data input unit 31. If it determines negatively (NO) in step S130 that such values exist, the feature point position reconstruction unit 36 invokes a recognition disablement process {2} shown in FIG. 56, which is essentially the same as that pursuant to the first form of this invention shown in FIG. 22.
FIG. 56 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the third form of this invention.
In step S131, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position Storage unit 29, thereby ending the process.
The shape calculation unit 35 selects either one [1] from two [2] sets of solutions, which are mirror image transformations of each other, based on the concave/convex data shown in FIG. 21.
Returning to FIG. 52, when the feature point position reconstruction unit 36 can select a calculation result satisfying the known data in step S130, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 the values of elements of rotation matrices R and S in the selected set of solutions and the in-image coordinate values of feature point 0 in step S132, and in the feature point position storage unit 29 the values of the second components u22, U22, V12, V22, W12 and W22 0f those two-dimensional vectors u1, u2, v1, v2, w1 and w2 in the selected set of solutions together with the coordinate Values of the three [3] feature points each in three [3] images stored in the feature point position normalization unit 32 in step S133, thereby ending the process.
The above described embodiment assumes that a rotation around the origin of an object from a first instant in time for observation to a second instant in time for observation, which is represented by a rotation matrix R, is different from a rotation around the origin of an object from a first instant in time for observation to a third instant in time for observation, which is represented by a rotation matrix S. However, these rotations can be equal, when an object maintains a steady rotating speed and equal time intervals spacing apart those instants in time for observation.
Under such a circumstance, when the known data input unit 31 receives data that the rotation of an object is constant, the movement calculation unit 34 may substitute the above calculation of rotation matrix R (in step S121 shown in FIG. 54) by [Expression 41]
R1=[r11 r12]=[a11/2±(1-r11.sup.2).sup.1/2 ]
for reducing the processing load.
Further in this case, the calculation in step S120, which is ##EQU87## is performed for obtaining only vector a1 of a partial matrix, thereby calculating rotation matrix S by using an equation S=R2 in lieu of going through step S72.
The above embodiment allows two [2] sets of solutions to be calculated simultaneously when the movement calculation unit 34 calculates rotation matrix R in step S71. However, the above embodiment can be reconfigured, such that the movement calculation unit 34 obtains only one [1] set of solutions in step S71.
In this alternative embodiment, the feature point position reconstruction unit 36 calculates a set of rotation matrices R-1 and S-1, which are the inverse to the set of rotation matrices R and S, according to the next expressions. ##EQU88##
Also, the other values of two-dimensional vectors ui', vi' and wi' (where i=1, 2), which are the mirror image transformations of ui, vi and wi (where i=1, 2) with respect to the X axis are calculated by the next expressions. ##EQU89##
This enables the feature point position reconstruction unit 36 to obtain two [2] sets of solutions.
As described above, the third form of this invention allows the movement of an object from a positions of three [3] feature points each in images of an object moving on a single plane coupled with a rotation captured at two [2] instants in time for observation. As described in the description of FIG. 51, the shape/movement determination unit 33 can immediately determine whether or not a moving body can be recognized from the in-image positions of feature points.
The Fourth Form
FIG. 57 shows a universal relation between an object and its observation plane in an image input unit pursuant to the fourth form of this invention.
Embodiments of the fourth form of this invention are explained below. As described earlier, the fourth form of this invention is for recognizing a moving body in the most generic cases, in which the actual positions and movements of four [4] feature points of an object are calculated by determining, from known position data on the four [4] feature points each in orthogonally projected images captured at any three [3] instants in time for observation, that the four [4] feature points do not exist on the same plane, that the axis of rotation of an object is not parallel to the direction of the orthogonal projection between any two [2] instants in time for observation of the three [3] instants in time for observation, and that rotation of the object between any two [2] instants in time for observation is not a rotation of one hundred and eighty degrees [180°] around the axis parallel to the plane on which the images are orthogonally projected.
As with the first, second and third forms of this invention, in the fourth form of this invention, an orthogonally projected image is used. Except the fact that the direction of observing an image is in the direction of the Y axis, the second form of this invention has no limitations on the rotation and movement of an object, unlike the first, second and third forms of this invention.
FIG. 58 shows a relation between an observation plane and an object whose feature point 0 is fixed to the origin pursuant to the fourth form of this
invention.
FIG. 59 shows orthogonal projections of feature points on the XZ plane pursuant to the fourth form of this invention.
The displacements of an object in the directions of the X and Z axes are the same as those observed on an image plane. FIGS. 58 and 59 show the angle of rotation of an object around the origin and the Y coordinate values of other three [3] feature points (e.g. feature points 1, 2 and 3) when one [1] feature point (e.g. feature point 0) moves to the origin.
A new theory for the fourth form of this invention is explained below. The theory discusses a problem of reconstructing the structure (positions of feature points) and movement of an object from observations of four [4] feature points each in orthogonally projected images captured at three [3] instants in time for observation. As described earlier, one [1] feature point is fixed to the origin for a problem formulation.
FIG. 59 showing the relation between an object and the image axis illustrates a problem of obtaining the positions and rotations of three [3] triangles in a three-dimensional space from three [3] in-image triangles.
Codes are defined as follows.
Feature points 1, 2 and 3 are feature points other than feature point 0, which falls on the origin.
u1, u2 and us represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a first instant in time for observation.
v1, v2 and v3 represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a second instant in time for observation.
w1, w2 and w3 represent three-dimensional vectors from the origin respectively to feature points 1, 2 and 3 at a third instant in time for observation. [Expression 10]
The vector expressions are as follows. ##EQU90##
It is assumed here that the first, second and third components respectively represent X, Z and Y coordinate values, instead of X, Y and Z coordinate values.
Rotation matrix R represents a three-dimensional rotation of an object around the origin from the first instant in time for observation to the second instant in time for observation.
Rotation matrix S represents a three-dimensional rotation of an object around the origin from the first instant in time for observation to the third instant in time for observation.
Rotation matrices R and S are expressed as follows. ##EQU91##
The reason why the Y coordinate values become third components of vectors here unlike a generic expression is because expansions of expressions are easier when the Y coordinate values become the third components of vectors, since it is the Y coordinate values that are unknown.
Accordingly, vector relations can be expressed as vi=R ui and wi=S ui (where i=1, 2, 3). That is,
______________________________________                                    
A first  R     A second   A first                                         
                                 S     A third                            
instant        instant    instant      instant                            
in time        in time    in time      in time                            
for ob-        for ob-    for ob-      for ob-                            
servation      servation  servation    servation                          
u.sub.1  →                                                         
               v.sub.1    u.sub.1                                         
                                 →                                 
                                       w.sub.1                            
u.sub.2  →                                                         
               v.sub.2    u.sub.2                                         
                                 →                                 
                                       w.sub.2                            
u.sub.3  →                                                         
               v.sub.3    u.sub.3                                         
                                 →                                 
                                       w.sub.3                            
______________________________________                                    
Codes of rotation matrices R and S are defined as follows.
0(n) represents the entire class of orthogonal matrices.
S0(n) represents the entire class of n-dimensional rotation matrices.
A' is a matrix with the last row of A shed when A is a matrix having plural rows and plural columns, and a matrix with the last column (row) shed when A is a matrix having only one [1] row (column).
Rij is an n-1-dimensional matrix obtained by shedding the i-th row and j-th column when R is an n-dimensional matrix.
Thus, the problem can be formulated as follows. [A Movement/Shape Recognition Problem]
Assuming that ui, vi and wi are three-dimensional vectors whose first and second components are known, where i=1, 2, 3,
R and S are three-dimensional rotation matrices, such that vi=R ui, and wi=S ui, where i=1, 2, 3, obtain the third components of ui, vi and wi, where i=1, 2, 3 and rotation matrices R and S. ##EQU92##
A next theorem 11 gives conditions for solving the problem. [Theorem 11] Next conditions {16}, {17} and {18} are necessary to prevent the above movement/shape recognition problem from degenerating in a sense of four [4] points and three [3] observations. ##EQU93##
A next theorem 12 presents reasons of the conditions.
[Theorem 12]
{16}, {17} and {18} in theorem 11 are equivalent to {19} through {22}. ##STR3## (where U is a two-dimensional orthogonal matrix.) ##STR4## (where U is a two-dimensional orthogonal matrix.) ##STR5## (where U is a two-dimensional orthogonal matrix.) {22} u1, u2 and u3 are linearly independent;
v1, v2 and v3 are linearly independent; and
w1, w2 and w3 are linearly independent.
The meaning of {19} is as follows. "Rotation matrix R does not represent a rotation around the Y axis, which is the third axis, or a rotation whose angle around the axis of rotation on the XZ plane is one hundred and eighty degrees [180°]."
The meaning of {20} is as follows. "Rotation matrix S does not represent a rotation around the Y axis, which is the third axis, or a rotation whose angle around an axis of rotation on the XZ plane is one hundred and eighty degrees [180°]."
The meaning of {21} is as follows. "There is neither any rotation around the Y axis, which is the third axis from the second instant in time for observation to the third instant in time for observation, nor any rotation whose angle around the axis of rotation on the XZ plane is one hundred and eighty degrees [180°]."
The meaning of {22} is as follows. "The object has a three-dimensional shape."
The meanings of {19}, {20} and {21} will be described later in proofs of proposition 5 and lemma 8.
A next theorem 13 describes the equations for calculating the solution. [Theorem 13]
Under conditions of theorems 11 and 12, a set of solutions is finalized according to next steps. [Expression 15]
A first step is to calculate ##EQU94##
When ##EQU95## is regular and ##EQU96##
Select a single value for p (1≦p≦2), such that ##EQU97## becomes regular. When a selection of p fails, an attempt is made to select p by rotating the XY coordinate system by other than integer times of ninety degrees [90°]. [Expression 16]
A second step is to calculate ##EQU98##
There is an h (1≦h≦2), such that ah3 ≠0.
The values of ai (1≦i≦2), β and Γ are determined by next expressions. ##EQU99##
{1} in second step is to calculate ##EQU100##
When a13 ≠0 and a23 ≠0, ##EQU101##
When a13=0 and a23 ≠0, ##EQU102##
When a13=0 and a23=0, ##EQU103##
[Expression 17]
{2} in second step is to calculate ##EQU104##
A third step is to calculate the third component of u1, which is the third row of ##EQU105##
A fourth step is to calculate S' (1≦q≦2, q≠p) ##EQU106##
A fifth step is to calculate R and S by next formulae.
r.sub.3J =(-1).sup.3+J det R.sub.3J, S.sub.3 =(-1).sup.3+J det S.sub.3J
A sixth step is to calculate the third components of vi and wi by next formulae.
V.sub.i3 =r.sub.3 ·U.sub.1, W.sub.i3 =S.sub.3 ·U.sub.1
A next system 13.1 defines the relation between two [2] sets of solutions.
[System 13.1]
When one [1] of the two [2] sets of solutions in theorem 13 is ##EQU107##
Then, the other set of solutions is ##EQU108##
where I2 is a two-dimensional identity matrix.
FIGS. 60A and 60B show two [2] sets of solutions forming mirror image transformations of each other with respect to the XZ plane on which an image is projected pursuant to the fourth form of this invention.
The proofs of the above theorems are presented in the sequence of proposition 4, theorem 12, theorem 13 and system 13.1.
[Proposition 4]
{19} through {22} in theorem 12 are necessary to prevent the above movement/shape recognition problem from degenerating in a sense of four [4] points and three [3] observations.
[Proof of Proposition 4]
It is shown that the movement/shape recognition problem degenerates into a problem in which the number of instants in time for observation is less than three [3] or the number of observations is less than four [4], when conditions are not satisfied.
[Expression 19] ##STR6## (where U is a two-dimensional orthogonal matrix.) ##STR7##
Since vi3 is unknown, there are no data for ui3. Therefore, this degenerates into a shape/movement recognition problem comprising only wi=S ui.
[Expression 20] ##STR8## (where U is a two-dimensional orthogonal matrix.)
As with the case of {19}, this degenerates into a shape/movement recognition problem comprising only Vi=R ui. ##STR9## (where U is a two-dimensional orthogonal matrix.) ##STR10##
Since wi3 and vi3 are unknown, there are no data for ui3. Therefore, this degenerates into a shape/movement recognition problem comprising only vi=R ui.
[Expression 21]{22} When u1, u2 and u3 are not linearly independent, the shape/movement recognition problem degenerates into: ui is a linear combination of u1, . . . , ui-1, ui+1, . . . , u3, for an existing i (where 1≦i≦3), and vi=R ui and wi=S ui (i=1, 2, 3) vi=R ui and wi=S ui (i=1, . . . , i=1, i-1, . . . , 3)
[End of Proof]
[Proof of Theorem 12]
[Expression 22] ##EQU109##
From wi=S ui=S R-1 vi and ui=R-1 vi, ##EQU110##
From ui=S-1 wi and vi=R ui=R S-1 wi, ##EQU111##
Therefore, {16}, {17} and {18} are equivalent to <1> through <6>. (This is because for a matrix product AB, rank AB≦ rank A, rank B.) ##EQU112## u1, u2 and u3 are linearly independent. . . . <2> ##EQU113## v1, v2 and v3 are linearly independent. . . . <4> ##EQU114## w1, w2 and w3 are linearly independent. . . . <6> ##EQU115## Therefore, <2>, <4> and <6> are equivalent to each other. . . . {22}
From lemma 6, <1>, <3> and <5> are equivalent to {21}, {20} and {19}. ##STR11## [Expression 24]
When ##EQU116## is regular, and ##EQU117## select one [1] value of p (1≦p≦2), such that ##EQU118## is regular.
When it cannot select one [1], select a value of p by rotating the XY coordinate system by other than integer times of ninety degrees [90° ]. Lemma 7 shows a value of p can be thus selected. ##EQU119##
By expressing ##EQU120##
The formulae for calculating ##EQU121## can be deducted from this. However, since the deductive process is long, it is shown at the end of the proof. (Refer to steps 1 through 6.)
Therefore, as can be calculated. ##EQU122##
Therefore, sq, such that 1≦q≦2 and q≠p, is obtained from ##EQU123##
Since R' and S' are obtained, R and S are obtained from lemma 5.
From conditional expressions,
v.sub.13 32 r.sub.2 ·u.sub.1, W.sub.13 =S.sub.3 ·U.sub.1
Therefore [V13 V23 V33 ], [W13 W23 W22 ] is also obtained.
Steps 1 through 6 below describe the procedure for deducting the remaining formulae for calculating ##EQU124##
First, ri is determined by deducting simultaneous linear equations only of ri, whose result is used for obtaining sp
[Expression 26]
By definition, ##EQU125##
The ij component is ##EQU126##
Here, when i=j, δ1J =1, and when i≠j, δ1J =0
By transforming (3), ##EQU127## [Expression 27] ##EQU128##
By squaring both sides of (3)', ##EQU129## When an addition is performed with respect to j, ##EQU130## That is, ##EQU131##
By replacing i with 1 and 2 in (3), for j, which is 1≦j≦3, ##EQU132## spj is eliminated by (the upper equation)×a23
-(the lower equation)×a13, ##EQU133##
Assuming 1≦i, h≦2, i≠h and 1≦j≦3,
From (5)
β1 rij+βh rhj=γJ βh rhj=γJ-βi rij ##EQU134## by further replacing j with k, [Expression 33]
Step 4 a1316 0 or a23≠0
If a13=0, (where 1≦i≦2)
[Expression 34]
The third column of ##EQU135##
Because sp3a33=1, a33≠0
Therefore, ##STR12##
This contradicts with the assumption. ##EQU136## When one set of the solutions is expressed as ##EQU137## Then the other set of solutions is expressed as ##EQU138##
To reiterate (4), (5) and (6), ##EQU139##
From columns 1 and 2 of (4) and (5), ##EQU140## can be calculated uniquely. ##EQU141## Expression 38]
When a13≠O and a23≠O,
From (7), ##EQU142##
is obtained uniquely. ##EQU143## From column 3 in (5), β1 r13+β2 r23=0 (because γa=0)
Because ##EQU144## From the relation of an inverse matrix, β2=0 <r13=0 When r13≠0, β2≠0,
From r23=-⊕1 r13/β2
The sign of r23 is determined.
Therefore, when one set of solutions for r13 and r23 is expressed as (r13, r23), every set of solutions can be expressed as (±r13, ±r23).
[Expression 39]
Step 6
For an i (1≦i≦2) such that ai3≠0, because ##EQU145## sp is obtained from r1 and r2.
The first half is obtained from (3)', while spj is obtained from rkj (k=1, 2) in the same row.
[Expression 40]
Especially when j=3, ##EQU146##
Therefore, ##EQU147## [End of Proof of Theorem 13] [A Proof of System 13.1]
[Expression 41]
From step 6, ##EQU148##
A set of solutions corresponding to the positive signs are expressed as ##EQU149## Then, R corresponding to the negative signs is ##EQU150## (from lemma 5)
Because by definition, ##EQU151## From the relation of an inverse matrix, ##EQU152## in case of the negative signs ##EQU153##
From a proof of theorem 13, ##EQU154##
In case of the negative signs, ##EQU155## has the signs in its n-th column inverted, S' has the signs in its third column inverted. As with the case of R,
Rotation matrix S corresponding to the negative signs is ##EQU156## (from lemma 1) ##EQU157##
In case of the negative signs, the first expression is ##EQU158##
Similarly, the second expression is ##EQU159##
Therefore, in case of the negative signs, ##EQU160## become ##EQU161##
[End of Proof]
The lemma used in the proof of the above theorem is proved below. [Lemma 5 ]
When n≧2,
[Expression 45]
In an n-dimensional rotation matrix (1)R, ##STR13##
When (n-1)-dimensionai matrix obtained by eliminating the i-th row and j-th column is expressed as Rij,
r.sub.1J =(-1).sup.1+J det R.sub.1J
[Proof]
For a regular matrix A, generally, (A+1) J1 =(det A) -1 (-1) 1+J det A1J
Substituting R into A, since R-1 =Rt
R.sub.ij =(-1).sup.1+J det R.sub.ij
[End of Proof]
[Proof 2]
A direct proof is presented.
After the case in which i, j=n is proved, the satisfaction of other cases are illustrated. (When i, j=n )
By applying the components of the k-th column to the n-th row of R, and by applying two-dimensional rotation to the components of n-th column, in sequence, the components of k-th column can be made to have values zero [0]. That is, by expressing the (n-2)-dimensional identity matrix as In-2, ##STR14##
By expressing (n-1)-dimensional matrix obtained by eliminating the n-th row and n-th column as Rn-1, ##STR15## (When i≠n and j≠n)
The matrix obtained by swapping the i-th row with the n-th row and the j-th column with the n-th column in rotation matrix R is ##STR16## Because this is a rotation matrix, ##STR17##
Because columns needs to be swapped n-1-j times or rows need to be swapped n-1-i times to transform the matrix in the matrix determinant on the right side into Rij,
(When i=n and j≠n)
A matrix obtained by swapping the j-th column and n-th column by changing the sings in the n-th column is ##STR18## Because this is a rotation matrix, ##EQU162##
To transform the matrix in the determinant on the
right side into Rnj, the columns need to be swapped n-i-j times after converting the signs of j-th column.
because r.sub.nj =(-1) .sup.1+n-1+J det R.sub.nj =(-1) .sup.N+J det R.sup.nj
(When i≠n and j=n )
This is proved as in the case (when i=n and j≠n)
[End of Proof]
[Lemma 6 ]
R and S are n-dimensional rotation matrices where n≧2,
[Expression 50]
By expressing ##EQU163##
The necessary and sufficient condition for ##EQU164## is that (n-1)-dimensional orthogonal matrix U exists,
which is expressed as ##EQU165## [Proof] (Necessity)
Because rank R'=n-1, S'=U R', where U is an (n-1)-dimensional square matrix. By expressing the i-th column of U as ui,
because (si, si)=1 and (ui, ui)=1 When i≠j,
because (si, sj)=0 and (ui, uj)=0
Therefore, U is an (n-1)-dimensional orthogonal matrix.
From lemma 5, ##EQU166##
This is self-evident from S'=U R'.
[End of Proof][Lemma 7]
Premised on conditions {16}, {17} and {18}in theorem 11, next propositions (1) and (2) are outstanding. Proposition (1) {23}and {24}are equivalent for p (=1 or 2). ##EQU167## Proposition (2) If the XY coordinate system is rotated by other than integer times of ninety degrees [90° ], a value of p (=1 or 2) satisfying {19} can be selected.
[Proof] ##EQU168## Because [u1, u2, u3] is regular, ##EQU169## is regular ##EQU170## is regular. At this time, ##EQU171## By defining this matrix as ##EQU172##
From a general formula for obtaining an inverse matrix, ##EQU173##
Therefore, {23} and {24} are equivalent. (2) It need only be shown that p (=1 or 2) satisfying {24} can be selected from (1).
As described in theorem 12, note that {16}, {17} and {18} are equivalent to {19} through {22}. What should be illustrated is that a value of p (=1, 2) can be selected, if the XY coordinate system is rotated other than by integer times of ninety degrees [90° ], when p (=1 or 2) satisfying {24} cannot be selected. The negation of {24} is a next external 1.
[External 1]
{25}
[Expression 55]
{25} For p such that 1≦p≦2, sp3=O or ##EQU174## is not regular.
{25} can be classified into next cases (10.1), (10.2) and (10.3). ##EQU175##
However, cases (10.1) and (10.2) contradict conditions {19} and {21}
In case (10.1), because S= ##STR19## this contradicts condition {19}.
In case (10.2), because sp (1≦p≦2) is a linear combination of r1 and r2, it intersects orthogonally with r3. That is, (sp, r3)=0 (1≦p≦2)
Since SR-1 =SRt, the p3 element of SR-1 is obtained as (sp, r3), which is zero [0].
Expression 56]
Because this is, ##STR20## it contradicts condition {21}.
Therefore, only case (10.3) remains.
Especially, when s13=0 and s23=0. Because this is not case (10.1), both of them cannot be zero [0].
It is shown that s13≠0 and s23≠0 can be achieved, if the XY coordinate system is rotated other than by integer times of ninety degrees [90 °].
[Expression 57]
Expressing w*=S* u* when a coordinate system in which w=S u is rotated around the Z axis by -⊖, since an object rotates around the Z axis by ⊖ in a relative sense, ##EQU176##
When only one of s13 and s23 is zero [0], by selecting ⊖ other than integer times of ninety degrees [90°], s13≠0 and s23≠0 can be achieved. Conditions {19} through {22} are outstanding even if an XY coordinate system is rotated.
Therefore, when p (=1 or 2) satisfying {24} cannot be selected, a rotation of an XY coordinate system by other than integer times of ninety degrees [90°]enables p satisfying {24} to be selected.
[End of Proof]
[Expression 58]
A next [NOTE] allows ##EQU177## in lemma 7 to be replaoed by (sp, r3)≠O, which is an easier expression.
[NOTE]
[Expression 59] ##EQU178## in condition {24}is equivalent to (sp r3)≠0. [Expression 60]
As a proof of lemma 7, its contraproposition is proved, which is ##EQU179## is not regular. (Sp, r3) ≠0. () Since sp is a linear combination of r1 and r2, it intersects orthogonally with r3). () If an expression sp=Σ bi ri (where bi is a constant) is substituted into (sp, r3)=0, b3=0. Since sp is a linear combination of r1 and r2, ##EQU180## is not regular. regular. [End of Proof]
Explained below is a proof of the representations in {19}, {20}and {21} by proving proposition 5 and lemma 8.
[Proposition 5]
[Expression 61]
Three-dimensional rotation ##STR21## (where U is a two-dimensional orthogonal matrix.) . . . (*) represents a rotation either (1) or (2).
(1) a rotation around a third axis
(2) a rotation around an axis on the plane formed by first and second axes, whose angle is one hundred and eighty degrees [180°]. Conversely, rotations (1) and (2) can be expressed by a rotation matrix (*).
[Proof]
Because det U=±1, rotation matrix (*) can be classified into (1) and (2). ##STR22## (where U is a two-dimensional rotation matrix.)
This represents a rotation around the third axis. ##STR23## (where U represents a two-dimensional orthogonal matrix, and det U=-1.)
It is shown below that this represents a rotation around an axis on the plane formed by first and second axes, whose angle is one hundred and eighty degrees [180°]. To obtain the axis of rotation of the matrix in question, an equation (a) ##STR24## is solved. Equation (a) is equivalent to an equation (b) [Expression 64] ##EQU181##
Since a set of solutions of (b) is ##EQU182## (where a is any real number.)
Since a set of solutions of (a) is ##EQU183## (where a is any real number.) [Expression 65]
Therefore, ##EQU184## represents a rotation around an axis expressed by a vector ##EQU185## on the plane formed by first and second axes.
Because ##EQU186## transfers a point ##EQU187## on the Z axis to a symmetrical point ##EQU188## the angle of rotation is one hundred and eighty degrees [180°].
As described above, rotation matrix (*) represents both rotations (1) and (2). Hence, conversely, rotations (1) and (2) are expressed as rotation matrix (*).
[End of Proof]
[Lemma 8]
When two-dimensional orthogonal matrix U is not a rotation matrix,
[Expression 66] ##EQU189##
The set of solution for a vector equation ##EQU190## is where a is any real number.)
That is, U is a mirror image transformation with respect to an axis expressed by a vector ##EQU191## [Proof] [Expression 67]
Because ##EQU192## (direct sum of sets), ##EQU193## (where S is a two-dimensional rotation matrix.)
Because rotation matrices S and R can be expressed as ##EQU194##
By transforming the expression in question,
[Expression 68] ##EQU195##
By applying the formula of a double angle, ##EQU196## satisfies (d) i.e. (c). Conversely, it is shown that (e) represents every solution of (c).
I. When θ≠0 or π, since sinθ ≠0, sinθ=2 sin(θ/2) cos (θ/2), sin(θ/2)≠0 and cos(θ/2)≠0.
Hence, (d) is reduced into ##EQU197##
Accordingly, (e) represents every solution of (c).
II. When θ=0, ##EQU198## is a solution of (c), which matches (e).
III. When θ=π, ##EQU199## [Expression 71] ##EQU200## is solution of (c), which matches (e).
[Expression 72]
Since (e) is a solution of (c), the axis of U is a vector ##EQU201##
Since U represents an orthogonal transformation, the length and angle remain unchanged.
[Expression 73]
Therefore, U represents a mirror image transformation with respect to axis expressed by a vector ##EQU202##
The final result can also be directly proved by showing
U=(a two-dimensional rotation of angle θ/2) (a mirror image transformation with respect to the first axis) (a two-dimensional rotation of [the angle of rotation- θ/2])
That is,
[Expression 74] ##EQU203## needs to be shown.
So far, the new theory for use in the fourth form of this invention has been discussed in detail. By having the shape/movement recognition unit 18 shown in FIG. 4 apply this new theory to an object moving with a rotation, based on the result of extracting four [4] feature points each in images captured at three [3] instants in time for observation, the actual positions and movements of those feature points in a three-dimensional space are calculated, thereby enabling the movement of a moving body to be recognized.
FIG. 61 is a block diagram of a shape/movement recognition unit 27 pursuant to the fourth form of this invention.
The concept of a moving body recognition apparatus in the fourth form of this invention is similar to that in the first form of this invention. Also, an embodiment of the fourth form of this invention and the detailed configuration of the shape/movement recognition unit 27 are similar to those of the first form of this invention, which are shown in FIGS. 9 through 13. Accordingly, their descriptions are omitted. The only difference is that the movement calculation unit 34 and the shape calculation unit 35 (illustrated in FIG. 12, which is a block diagram of the shape/recognition unit 27 shown in FIG. 11) are consolidated into a movement/shape calculation unit 39 shown in FIG. 61.
FIGS. 62, 63 and 64 are flowcharts showing in a three part series the whole processes of the shape/movement recognition unit 27 pursuant to the fourth form of this invention.
In FIG. 62, when the processes start, the shape/movement recognition unit 27 determines in step S140 whether or not the known data input unit 31 shown in FIG. 12 has received at least one [1] of the expressions {19}' through {22}', (1), (2) and (3). As with the first, second and third forms of this invention, a signal from a sensor allows the determination to be made. The relations between expressions {19}' through {21}' and {19} through {21} are the same as those described earlier.
If the shape/movement recognition unit 27 determines in step S140 that the known data input unit 31 has received at least one [1] of expressions {19}' through {22}', (1), (2) and (3), the known data input unit 31 outputs in step S141 a deactivation signal to the feature point position normalization unit 32, and stores recognition disablement data in the movement calculation unit 34, thereby invoking a recognition disablement process {1} shown in FIG. 64. As with the flow of recognition disablement process {1} for the second and third forms of this invention, the flow of recognition disablement process {1} for the fourth form of this invention is essentially the same as that shown in FIG. 17 for the first form of this invention.
If the shape/movement recognition unit 27 determines in step S140 that the known data input unit 31 has received none of {19}' through {22}', (1), (2) and (3), the shape/movement recognition unit 27 does not determine (NO) in step S144 that feature point storage unit 26 has stored all data on the positions of four [4] feature points each in images captured at three [3] instants in time for observation. The shape/movement recognition unit 27 repeats step S144 until it determines that the feature point storage unit 26 has stored the positions of four [4] feature points each in images captured at three [3] instants in time for observation. When the shape/movement recognition unit 27 determines (YES) in step S144 that the feature point storage unit 26 has stored all data, the shape/movement recognition unit 27 has the feature point storage unit 26 send an activation signal to the feature point position normalization unit 32 in step S145 (shown in FIG. 63), thereby activating the feature point position normalization unit 32.
Continuing on to FIG. 63, the feature point position normalization unit 32 stores in step S146 data on the in-image positions of four [4] feature points 0, 1, 2 and 3, which the feature point storage unit 26 has stored, and obtains first and second components of ui, vi and wi and wi (where i=1, 2, 3) as X and z coordinate values of feature points 1, 2 and 3, which are different from feature point 0, after feature point 0 moves to the origin and the other feature points 1, 2 and 3 are parallelly displaced. Therefore, the feature point position normalization unit 32 obtains the X and Z coordinate values of feature points 1, 2 and 3 after a parallel displacement by subtracting the X and Z coordinate values of feature point 0 before the parallel displacement from the X and Z coordinate values of feature points 1, 2 and 3 before the parallel displacement.
Then, the shape/movement recognition unit 27 has the shape/movement determination unit 33 determine in step S147 whether or not these first and second components stored by the feature point position normalization unit 32 satisfy all of expressions {16}, {17} and {18}. If the shape/movement determination unit 33 determines negatively (NO) in step S147, i.e. that they don't satisfy at least one [1] of expressions {16}, {17} and {18}, the shape/movement determination unit 33 sends recognition disablement data to the movement/shape calculation unit 39 in step S148, thereby invoking recognition disablement process {1} shown in FIG. 65. The flow of recognition disablement process {1} pursuant to the fourth form of this invention shown in FIG. 65 is essentially the same as that shown in FIGS. 17, 30 and 49 pursuant to the first, second and third forms of this invention, except that the movement/shape calculation unit 39, instead of the movement calculation unit 34 sends recognition disablement data to the feature point position reconstruction unit 36.
FIG. 65 is a flowchart of an embodiment of recognition disablement process {1} pursuant to the fourth form of this invention.
On start of recognition disablement process the movement/shape calculation unit 39 sends recognition disablement data to the feature point position reconstruction unit 36 in step S142. Then, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point storage unit 29 in step S143, thereby ending the process.
As explained in the description of theorem 12, expressions {16}, {17} and {18} are equivalent to expressions {19} through {22}. Therefore, it can be said that the check in step S147 and the check in step S140 form a duplication. However, since a sensor can perform the check in step S140, such a duplication is instituted. Also, no further calculation is performed, when the shape/movement determination unit 33 determines in step S147 a recognition disablement by using only the positions of feature points in an image.
If the shape/movement determination unit 33 determines positively (YES) in step S147 that expressions {16}, {17] and {18} are all outstanding, the shape/movement determination unit 33 activates the movement calculation unit 34 in step S149, thereby invoking respective processes of the movement calculation unit 34 and the shape calculation unit 35, in accordance with theorem 13.
As described earlier, a sensor performs a check in step S140, aside from a process of a moving body recognition apparatus pursuant to the fourth form of this invention. If the elements of R and S are known, the shape/movement recognition unit 27 can determine the receipt of expressions [{19}', {20}' and {21}' and calculate two-dimensional orthogonal matrix U.
As for expression {19}', ##EQU204##
That is, r13=r23=r31=r32=0 is a necessary and sufficient condition for ##STR25## (where U is a two-dimensional orthogonal matrix.)
At this time, ##EQU205##
Next, as for expression {20}', ##EQU206## [Expression 76]
That is, r13=r23=r31=r32=0 is a necessary and sufficient condition for ##STR26## (where U is a two-dimensional orthogonal matrix.) At this time, ##EQU207##
Next, as for expression {21}', ##STR27## (where U is a two-dimensional orthogonal matrix.) is equivalent to ##STR28## (where U is a two-dimensional orthogonal matrix.) By defining SR-1 =P ##EQU208##
That is, p13=p23=p31=p32=0 is a necessary and sufficient condition for ##STR29## (where U is a two-dimensional orthogonal matrix.) At this time, ##EQU209##
FIGS. 66 and 67 are flowcharts showing in a two part series the whole processes of the movement/shape calculation unit 39 pursuant to the fourth form of this invention.
On start of its process, the movement/shape calculation unit 39 selects in step S150 a value of p defined in expression {23}, as a first procedure. Then, as a second procedure, the movement/shape calculation unit 39 obtains in step S151 a value of h such that ah3 is not zero [0], and determines in step S152 values of α, β and Γ, for calculating the values of r11, r12, r21 and r22 among elements of rotation matrix R.
FIG. 68 is a flowchart showing processes for calculating elements at intersections between the first and second rows and the first and second columns of a rotation matrix R comprising three [3] rows and three [3] columns.
In step S158, the movement/shape calculation unit 39 determines in step S155 whether or not both a13 and a23 are zero [0]. If it determines in step S155 that both of them are not zero [0], the movement/shape calculation unit 39 calculates r11, r12, r21 and r22 in step S156. If it determines in step S155 that either a13 or a23 is zero [0], the movement/shape calculation unit 39 determines in step S157 whether or not a13 is zero [0]. If it determines a13=0 in step S157, the movement/shape calculation unit 39 calculates r11, r12, r21 and r22 in step S158. If it determines a13≠0 in step S157, the movement/shape calculation unit 39 calculates r11, r12, r21 and r22 in step S159.
Returning to FIG. 66, the movement/shape calculation unit 39 calculates r13 in step S160, on completing the calculation of r11, r12, r21 and r22 in step S156, S158 or S159 shown in FIG. 68. Then, the movement/shape calculation unit 39 determines in step S161 whether or not r13=0. If it determines r13≠0 in step S161, the movement/shape calculation unit 39 calculates r23 in step S162. If it determines r13=0 in step S161, the movement/shape calculation unit 39 calculates r23 in step S163. Thus, the movement/shape calculation unit 39 has completed calculating the values of the elements in the first and second rows in rotation matrix R.
Continuing on to FIG. 67, as the final process of the second procedure, the movement/shape calculation unit 39 calculates sp j. Then, as a third procedure, the movement/shape calculation unit 39 calculates as, which is a third row of matrix a in step S165, and the third component of a three-dimensional vector u1 in step S166.
As a fourth procedure, the movement/shape calculation unit 39 calculates sq in step S167, thereby completing the calculation of the first and second rows of rotation matrix S.
As a fifth procedure, the movement/shape calculation unit 39 calculates in step S168 the third row r3) of rotation matrix R and the third row s3 of rotation matrix S.
As a sixth procedure, the movement/shape calculation unit 39 calculates in step S169 third components of three-dimensional vectors vi and wi, and sends to the feature point position reconstruction unit 36 those calculation results, i.e. the values of rotation matrices R, S, and three-dimensional vectors ui, vi and wi (where i=1, 2, 3) representing three [3] feature points at three [3] instants in time for observation.
Returning to FIG. 64, the feature point position reconstruction unit 36 begins its processes from step S171, when the movement/shape calculation unit 39 completes its processes in step S170 shown in FIG. 67. In step S171, the feature point position reconstruction unit 36 selects the values matching the known data of an object inputted to the known data input unit 31 from the results of calculating the movement and shape of an object, i.e. from the values of rotation matrices R, S, and three-dimensional vectors ui, vi and wi (where i=1, 2, 3).
Also, the feature point position reconstruction unit 36 selects either rotation matrices R and S or their inverse rotation matrices, as well as either one [1] of two [2] sets of solutions, which are mirror image transformations of each other with respect to an observation plane, as with the first, second and third forms of this invention.
When it fails in selecting such values in step S171 due to their non-existences, the feature point position reconstruction unit 36 invokes a recognition disablement process {2} shown in FIG. 69, which is essentially the same as those pursuant to the first, second and third forms of this invention shown in FIGS. 22, 33 and 56.
FIG. 69 is a flowchart of an embodiment of recognition disablement process {2} pursuant to the fourth form of this invention.
In step S172, the feature point position reconstruction unit 36 stores the recognition disablement data in the object movement storage unit 28 and the feature point position storage unit 29, thereby ending the process.
Returning to FIG. 64, when it succeeds in selecting such values in step S171, the feature point position reconstruction unit 36 stores in the object movement storage unit 28 the values of selected rotation matrices R and S together with the in-image coordinate values of feature point 0 stored in feature point normalization unit 32 in step S173, and in the feature point position storage unit 29 the values of third components of the selected three-dimensional vectors ui, vi and wi (where i=1, 2, 3) and the in-image coordinate values of four [4] feature points stored in the feature point position storage unit 29 in step S174, thereby ending its processes.
Thus, the shape/movement recognition unit 27 completes its whole processes.
In the above embodiment, the movement/shape calculation unit 39 simultaneously calculates two [2] sets of solutions in obtaining inverse rotation matrix R-1, as shown in FIG. 65. However, it is also possible to structure another embodiment in which the movement/shape calculation unit 39 calculates only one [1] set of solutions according to the steps shown in FIG. 66.
The other embodiment is such that the feature point position reconstruction unit 36 calculates, as the other values of rotation matrices R and S, R-1 and S-1, which are inverse matrices of R and S, according to next formulae. ##EQU210##
The feature point position reconstruction unit 36 calculates by next formulae the other set of three-dimensional vectors ui', vi' and vi' (where i=1, 2, 3), as the mirror image transformations of the set of three-dimensional. vectors ui, vi and vi (where i=1, 2, 3) with respect to the XZ plane on which feature points are orthogonally projected. ##EQU211## (where i=1, 2, 3)
Accordingly, the feature point position reconstruction unit 36 can obtain two [2] sets of solutions.
As described above, the fourth form of this invention allows the moving body recognition apparatus to recognize the movement of an object moving with a rotation from four [4] feature points each in images captured at three [3] instants in time for observation. Also, as explained in the description of FIG. 63, the shape/movement determination unit 33 can immediately determine the enablement or disablement of recognizing a movement from the in-image positions of feature points.
FIG. 70 is a block diagram of a computer system embodying a moving body recognition apparatus of this invention.
As has already been described in the descriptions of FIGS. 9 through 13, a TV camera 180, image processing hardware including a space filter 181, a first memory 182 and a CPU 183 correspond respectively to the image input unit 24, the feature point extraction unit 25, the feature point storage unit 26 and the shape/movement recognition unit 27 shown in FIG. 10. The CPU 183 connects with a sensor 184 and the first memory 182. The sensor 184 comprises e.g. a keyboard for supplying known data to the known data input unit 31. The CPU 183 outputs a result of recognizing a moving body to a second memory 185 corresponding to the object movement storage unit 28 and the feature point position storage unit 29.
A moving body recognition apparatus having such a system configuration can have the TV camera 180 capture images of an object and the second memory 185 store the result of recognizing the movement of an object. The moving body recognition apparatus can be an automatic monitoring device, an visual sensing device for an automatically running vehicle, or an FA inspection device.
FIG. 71 shows an environment for an experimental program verification.
An experiment is performed to verify a program for processes of a moving body recognition apparatus of this invention by using as an input feature point correspondence data created internally in a computer. The program comprises two hundred and eighty [280] steps, and the average duration of execution is four point six milliseconds [4.6 ms]. This attests that the moving body recognition apparatus of this invention, even if it is a system based on a personal computer, can recognize a moving body at a rate faster than a video speed.
As described in detail above, this invention allows the shape and movement of an object to be recognized based on the feature points extracted from images of an object captured by a single image input unit. As such, compared with a prior art in which two [2] image input units are used, this invention enables the numbers of image input units and feature point extraction units to be slashed by half, thereby miniaturizing a moving body recognition apparatus. Also, because feature points of an object need not have correspondences, unlike the prior art of using two [2] image input units, this invention sheds the time required for establishing the correspondences, thereby having an advantage of reduced processing time.
This invention enables a single TV camera to recognize a moving body. A moving body recognition apparatus can be applied for use in various industries requiring a recognition of a moving body by an image processing, such as factory automations and various monitoring devices.
In addition, this invention is applicable not only to a visual recognition of an object but also to an acoustic recognition of an object, in which case a moving body recognition apparatus is configured mutatis mutandis e.g. by using an ultrasonic sensor as a sound input unit in lieu of a TV camera as an image input unit.

Claims (14)

What is claimed is:
1. A moving body recognition apparatus for recognizing a movement of a moving object by positions of features points in an image corresponding to said moving object, comprising:
image input means for capturing three images of said moving object at three instances in time at equal time intervals, said three images being observed from a direction perpendicular to an axis of rotation of said object moving on a single plane and said object having a rotation at a constant rate;
feature point extraction means for extracting two feature points each in said three images captured by said image input means, said feature point extraction means including space filter means for extracting an outline image from said three images captured by said image input means and edge point extraction means for extracting an edge point from said outline image;
feature point position storage means for storing known position data corresponding to said extracted two feature points and for storing said edge point as feature point data; and,
shape/movement recognition means for calculating actual positions of said extracted two feature points and a movement of said object from said known position data.
2. The moving body recognition apparatus according to claim 1, wherein:
said shape/movement recognition means processes said images of said object captured from said direction perpendicular to said axis of rotation as orthogonally projected images of said object.
3. The moving body recognition apparatus according to claim 2, further comprising:
feature point position storage means for storing the actual positions of said feature points outputted from said shape/movement recognition means; and
object movement storage means for storing the angle of rotation of an object outputted from said shape/movement recognition means.
4. The moving body recognition apparatus according to claim 3, wherein:
said image input means includes a television camera;
said feature point extraction means includes image processing hardware including a space filter;
said feature point position storage means includes a first memory;
said shape/movement recognition means includes a central processing unit;
said feature point position storage means includes a second memory and said object movement storage means includes said second memory; and
said moving body recognition apparatus further includes a sensor for outputting to said CPU known data regarding the shape and movement of said object.
5. The moving body recognition apparatus according to claim 3, wherein:
said image input means captures images of said object monitored by a visual device of an automatically running vehicle or an image of said object inspected in an inspection of factory automation (FA); and
said feature point position storage means and said object movement storage means store the results of recognizing the movements of said object being monitored or inspected.
6. The moving body recognition apparatus according to claim 3, wherein said shape/movement recognition means comprises:
known data input means for receiving from an external sensor known data including movements and positions of said feature points of said object;
feature point position normalization means for obtaining as normalized known position data the relative positions of one of said two feature points when the other one of said two feature points of said object in said images captured at each of said three instances in time for observation having equal time intervals falls on the origin of a three-dimensional coordinate space;
shape/movement determination means for determining an enablement or a disablement of recognizing said movements and positions of said feature points of said object by using an output from said feature point position normalization means;
movement calculation means, activated by a determination by said shape/movement determination means of an enablement of recognizing said movements and positions of said feature points of said object, for calculating an angle of rotation of said object around said origin by using an output from said feature point position normalization means;
shape calculation means for obtaining unknown position data other than said known position data of said two feature points of said object by using outputs from said movement calculation means and said feature point position normalization means; and
feature point position reconstruction means for outputting a movement of said object by combining an angle of rotation around said origin outputted from said movement calculation means with said position data of said other one feature point falling on said origin in said images outputted from said feature point position normalization means, and for outputting positions of feature points by combining said unknown position data outputted from said shape calculation means with said position data of said two feature points in said images outputted from said feature point position normalization means.
7. The moving body recognition apparatus according to claim 6, wherein an external memory means for temporarily storing said known data outputted from said external sensor on an offline basis is provided before an input to said known data input means.
8. The moving body recognition apparatus according to claim 6, wherein said shape/movement recognition means performs the following functions:
a first step of determining whether or not said known data input means has received θ=n π (where n is an integer), when the relations between two-dimensional vectors u1, v1 and w1 are expressed as:
v1=R u1 and w1=R.sup.2 u1,
where the X axis is the direction of a parallel displacement of said feature points, the Z axis is the direction parallel to the axis of rotation of said object and, the Y axis is a direction perpendicular to an image plane, which is the XZ plane, u1=[u11, u12]t, v1=[v11, v12]t, w1=[w11, w12]t) on the XY plane representing relative positions of feature point 1 )one [1] not falling on the origin of said two [2] feature points 0 and 1) from the origin on which feature point 0 falls respectively at said first, second and third instants in time for observation, and rotation matrix R ##EQU212## represents a two-dimensional rotation on the XY plane around the origin of an object from said first instant in time for observation to said second instant in time for observation;
a second step, invoked when said shape/movement recognition means determines positively in said first step, of executing recognition disablement process {1} after said known data input means outputs a deactivation signal to said feature point position normalization means and recognition disablement data to said movement calculation means;
a third step, invoked when said shape/movement recognition means determines negatively in said first step, of determining whether said feature point position storage means has stored positions of said two [2] feature points 0 and 1 each in said images at three [3] instants in time for observation, which is repeated until a positive determination is obtained;
a fourth step,-invoked when said shape/movement recognition means determines positively in said third step, of having said feature point position storage means send an activation signal to said feature point position normalization means, thereby activating said feature point position normalization means;
a fifth step of having feature point position normalization means store positions of said two [2] feature points 1 and 2 each in said images stored in said feature point position storage means and obtain first components of vectors u1, v1 and w1 as the X coordinate values by subtracting from the X coordinate values of feature point 1 in said images the X coordinate values of feature point 0 in said images, which falls on the origin of said XZ plane;
a sixth step of having said shape/movement determination means determine whether said first components of vectors u1, v1 and w1 obtained by said feature point position normalization means satisfy both of next two [2] conditions
v11≠0
v11=±u11 and w11=u11 are not outstanding concurrently;
a seventh step, invoked when said shape/movement determination means determines negatively in said sixth step, of having said shape/movement determination means output recognition disablement data to said movement calculation means, thereby executing a recognition disablement process {1};
an eighth step, invoked when said shape/movement determination means determines positively in said sixth step, of having said shape/movement determination means activate said movement calculation means for executing a process of said movement calculation means;
a ninth step of having shape calculation means execute its process;
a tenth step of having said feature point position reconstruction means determine whether or not there is a set of R, u1, v1 and w1 satisfying said known data regarding said movement and said shape of said object received by said known data input means;
an eleventh step, invoked when said feature point position reconstruction means determines negatively in said tenth step, of having said feature point position reconstruction means execute a recognition disablement process {2};
a twelfth step, invoked when said feature point position reconstruction means determines positively in said tenth step, of having said feature point position reconstruction means store in said object movement storage means rotation matrix R satisfying said known data and the coordinate values of feature point 0 in said images outputted from said feature point position normalization means; and
a thirteenth step of having said feature point position reconstruction means store in said feature point position storage means second components of u1, v1 and w1 satisfying said known data and coordinate values of feature points 0 and 1 in said images outputted from said feature point position normalization means, thereby ending the whole processes.
9. The moving body recognition apparatus according to claim 8, wherein said movement calculation means:
calculates said rotation matrix R by using expressions
cos θ=(u11+w11)/2v11
sin θ=±(1-cos.sup.2 θ).sup.1/2 ;
determines whether or not calculated rotation matrix R satisfies said known data of said object received by said known data input means;
invokes said recognition disablement process {1} when no rotation matrix R satisfies said known data; and
sends rotation matrix R satisfying said known data to said shape calculation means and said feature point position reconstruction means.
10. The moving body recognition apparatus according to claim 9, wherein said recognition disablement process {1} comprises:
a step of having said movement calculation means send to said feature point position reconstruction means recognition disablement data; and
a step of having said feature point position reconstruction means store said recognition disablement data in said object movement storage means and said feature point position storage means, for a process completion.
11. The moving body recognition apparatus according to claim 8, wherein said shape calculation means obtains said second components of vectors u1, v1 and w1 by using expressions
u12=1/sin θ[2cos.sup.2 θ-1 -cosθ][v11 w11].sup.t
v12=[sinθ cosθ][u11 u12].sup.t
w12=[sinθ cosθ][v11 v12].sup.t
12. The moving body recognition apparatus according to claim 8, wherein said recognition disablement process { 2} comprises:
a step of having said feature point position reconstruction means store recognition disablement data in said object movement storage means and said feature point position storage means, for a process completion.
13. The moving body recognition apparatus according to claim 8, wherein:
said movement calculation means
obtains said rotation matrix R by only one [1] of the two [2] values of sine having positive and negative signs calculated by using expressions cosθ=[u11+w11]/2v11 and sinθ=±(1--cos2 θ)1/2, and
sends said rotation matrix R thus obtained to said shape calculation means and said feature point position reconstruction means;
said shape calculation means
obtains said second components of vectors u1, v1 and w1 by using expressions
u12=1/sinθ [2cos.sup.2 θ-1 -cosθ][v11 w11].sup.t
v12=[sinθ cosθ][u11 u12].sup.t
w12=[sinθ cosθ][v11 v12].sup.t,
and
sends said second components to said feature point position reconstruction means; and
said feature point position reconstruction means
obtains inverse rotation matrix R-1, which is an inverse to rotation matrix R, and vectors u1', v1" and w1', which are mirror image transformations of vectors u1, v1 and w1 with respect to the X axis by using expressions ##EQU213##
14. A moving body recognition apparatus for recognizing a movement of a moving object by positions of feature points in images of said moving object, comprising:
image input means for capturing three images of said moving object at three instances in time at equal time intervals, said image input means located at a position perpendicular to the axis of rotation of said object moving on a single plane and said object having a rotation at a constant rate;
feature point extraction means for extracting two feature points each in said three images captured by said image input means, said feature point extraction means including space filter means for extractingan outline image from said three images captured by said image input means and edge point extraction means for extracting an edge point from said outline image;
feature point position storage means for storing known position data of said extracted two feature points and for storing said edge point as feature point data; and
movement recognition means for calculating the movement of said object from said known position data.
US07/946,540 1991-09-17 1992-09-17 Moving body recognition apparatus Expired - Lifetime US5444791A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US08/428,731 US5684886A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/429,483 US5872858A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,651 US5625702A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus

Applications Claiming Priority (10)

Application Number Priority Date Filing Date Title
JP3236465A JP2873338B2 (en) 1991-09-17 1991-09-17 Moving object recognition device
JP3-236465 1991-09-17
JP3236466A JP2873339B2 (en) 1991-09-17 1991-09-17 Moving object recognition device
JP3-236464 1991-09-17
JP3-236467 1991-09-17
JP3236467A JPH0573682A (en) 1991-09-17 1991-09-17 Moving object recognizing device
JP3-236466 1991-09-17
JP3236464A JP2873337B2 (en) 1991-09-17 1991-09-17 Moving object recognition device
JP3-300591 1991-11-15
JP30059191A JP3028986B2 (en) 1991-11-15 1991-11-15 Moving object recognition device

Related Child Applications (3)

Application Number Title Priority Date Filing Date
US08/428,731 Division US5684886A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/429,483 Division US5872858A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,651 Division US5625702A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus

Publications (1)

Publication Number Publication Date
US5444791A true US5444791A (en) 1995-08-22

Family

ID=27529968

Family Applications (4)

Application Number Title Priority Date Filing Date
US07/946,540 Expired - Lifetime US5444791A (en) 1991-09-17 1992-09-17 Moving body recognition apparatus
US08/429,483 Expired - Fee Related US5872858A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,731 Expired - Fee Related US5684886A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,651 Expired - Fee Related US5625702A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus

Family Applications After (3)

Application Number Title Priority Date Filing Date
US08/429,483 Expired - Fee Related US5872858A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,731 Expired - Fee Related US5684886A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus
US08/428,651 Expired - Fee Related US5625702A (en) 1991-09-17 1995-04-25 Moving body recognition apparatus

Country Status (5)

Country Link
US (4) US5444791A (en)
EP (4) EP0952551A3 (en)
JP (1) JP2873338B2 (en)
CA (1) CA2078503C (en)
DE (1) DE69231826T2 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5764283A (en) * 1995-12-29 1998-06-09 Lucent Technologies Inc. Method and apparatus for tracking moving objects in real time using contours of the objects and feature paths
US5864779A (en) * 1996-02-29 1999-01-26 Fujitsu Limited Strict recognizing apparatus using observation point
US20020181741A1 (en) * 2001-05-30 2002-12-05 Koichi Masukura Spatiotemporal locator processing method and apparatus
US6498628B2 (en) * 1998-10-13 2002-12-24 Sony Corporation Motion sensing interface
US20040267682A1 (en) * 2001-09-15 2004-12-30 Henrik Baur Model-based object classification and target recognition
KR100698976B1 (en) * 1996-11-26 2007-07-09 소니 가부시끼 가이샤 Information input method and information input device
US20070263916A1 (en) * 2003-11-28 2007-11-15 Koninklijke Philips Electronic, N.V. Three-Dimensional Reconstruction of an Object from Projection Photographs
US20080278576A1 (en) * 2007-05-10 2008-11-13 Honda Motor Co., Ltd. Object detection apparatus, object detection method and object detection program
US20090073117A1 (en) * 2007-09-19 2009-03-19 Shingo Tsurumi Image Processing Apparatus and Method, and Program Therefor
US20120263385A1 (en) * 2011-04-15 2012-10-18 Yahoo! Inc. Logo or image recognition
US20130315457A1 (en) * 2012-05-23 2013-11-28 International Business Machines Corporation Vessel Identification Using Shape and Motion Mapping for Coronary Angiogram Sequences
US20140086488A1 (en) * 2012-09-21 2014-03-27 Fujitsu Limited Image processing device and image processing method
US20140293012A1 (en) * 2013-04-02 2014-10-02 Htc Corporation Controlling method of detecting image-capturing gesture
US20140307101A1 (en) * 2013-04-16 2014-10-16 Tout, Inc. Method and apparatus for displaying and recording images using multiple image capturing devices integrated into a single mobile device
US10163222B2 (en) * 2016-02-10 2018-12-25 Canon Kabushiki Kaisha Image capturing apparatus, tracking device, control method, and storage medium
US11151630B2 (en) 2014-07-07 2021-10-19 Verizon Media Inc. On-line product related recommendations

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3244798B2 (en) * 1992-09-08 2002-01-07 株式会社東芝 Moving image processing device
KR100292138B1 (en) * 1993-07-12 2002-06-20 이데이 노부유끼 Transmitter and Receiver for Digital Video Signal
JP3054681B2 (en) * 1995-07-19 2000-06-19 工業技術院長 Image processing method
US5959673A (en) * 1995-10-05 1999-09-28 Microsoft Corporation Transform coding of dense motion vector fields for frame and object based video coding applications
US6705526B1 (en) 1995-12-18 2004-03-16 Metrologic Instruments, Inc. Automated method of and system for dimensioning objects transported through a work environment using contour tracing, vertice detection, corner point detection, and corner point reduction methods on two-dimensional range data maps captured by an amplitude modulated laser scanning beam
US20020014533A1 (en) 1995-12-18 2002-02-07 Xiaxun Zhu Automated object dimensioning system employing contour tracing, vertice detection, and forner point detection and reduction methods on 2-d range data maps
US6037988A (en) * 1996-03-22 2000-03-14 Microsoft Corp Method for generating sprites for object-based coding sytems using masks and rounding average
US7028899B2 (en) * 1999-06-07 2006-04-18 Metrologic Instruments, Inc. Method of speckle-noise pattern reduction and apparatus therefore based on reducing the temporal-coherence of the planar laser illumination beam before it illuminates the target object by applying temporal phase modulation techniques during the transmission of the plib towards the target
US6175652B1 (en) 1997-12-31 2001-01-16 Cognex Corporation Machine vision system for analyzing features based on multiple object images
US6400831B2 (en) 1998-04-02 2002-06-04 Microsoft Corporation Semantic video object segmentation and tracking
US6393147B2 (en) 1998-04-13 2002-05-21 Intel Corporation Color region based recognition of unidentified objects
US6175644B1 (en) * 1998-05-01 2001-01-16 Cognex Corporation Machine vision system for object feature analysis and validation based on multiple object images
US6201546B1 (en) 1998-05-29 2001-03-13 Point Cloud, Inc. Systems and methods for generating three dimensional, textured models
KR100305591B1 (en) 1998-07-22 2001-11-30 오길록 Video Retrieval Method Using Joint Point Based Motion Information
US6711278B1 (en) * 1998-09-10 2004-03-23 Microsoft Corporation Tracking semantic objects in vector image sequences
US6988660B2 (en) 1999-06-07 2006-01-24 Metrologic Instruments, Inc. Planar laser illumination and imaging (PLIIM) based camera system for producing high-resolution 3-D images of moving 3-D objects
JP2000357234A (en) * 1999-06-16 2000-12-26 Canon Inc Device and method for image processing
KR100356016B1 (en) 1999-12-21 2002-10-18 한국전자통신연구원 Automatic parcel volume capture system and volume capture method using parcel image recognition
US20020008758A1 (en) * 2000-03-10 2002-01-24 Broemmelsiek Raymond M. Method and apparatus for video surveillance with defined zones
US7483571B2 (en) 2000-10-30 2009-01-27 Peters Mark W Apparatus and method for the construction of spatial representations
WO2002103634A1 (en) * 2001-06-15 2002-12-27 Datacard Corporation Apparatus and method for machine vision
GB2378338A (en) 2001-07-31 2003-02-05 Hewlett Packard Co Automatic identification of features of interest within a video signal
US7344082B2 (en) * 2002-01-02 2008-03-18 Metrologic Instruments, Inc. Automated method of and system for dimensioning objects over a conveyor belt structure by applying contouring tracing, vertice detection, corner point detection, and corner point reduction methods to two-dimensional range data maps of the space above the conveyor belt captured by an amplitude modulated laser scanning beam
US7362374B2 (en) * 2002-08-30 2008-04-22 Altera Corporation Video interlacing using object motion estimation
US7504965B1 (en) 2005-08-05 2009-03-17 Elsag North America, Llc Portable covert license plate reader
JP2007096847A (en) * 2005-09-29 2007-04-12 Fujitsu Ltd Optical access network testing device
EP2011082B1 (en) * 2006-04-25 2014-06-11 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Device and method for generating a two-dimensional representation of any object section within an object
WO2008094892A2 (en) * 2007-01-29 2008-08-07 Vergence Media, Inc. Methodology to optimize and provide streaming object rotation using composite images
US20080221487A1 (en) * 2007-03-07 2008-09-11 Motek Bv Method for real time interactive visualization of muscle forces and joint torques in the human body
US8452458B2 (en) * 2007-05-03 2013-05-28 Motek Bv Method and system for real time interactive dynamic alignment of prosthetics
US8260567B1 (en) * 2008-09-19 2012-09-04 The United States Of America, As Represented By The Secretary Of The Navy System and method for angles-only position and velocity determination using closed-form triangulation
US8364442B2 (en) * 2009-02-17 2013-01-29 Schlumberger Technology Corporation Automated structural interpretation
US8582821B1 (en) * 2011-05-23 2013-11-12 A9.Com, Inc. Tracking objects between images
EP2740075A4 (en) * 2011-08-02 2014-12-31 Us Gov Sec Navy System and method for remote full field three-dimensional displacement and strain measurements

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739401A (en) * 1985-01-25 1988-04-19 Hughes Aircraft Company Target acquisition system and method
US5060064A (en) * 1988-04-29 1991-10-22 U.S. Philips Corporation Arrangement for interpolation images by motion estimation and compensation and a television standard converter system comprising such an arrangement
US5089887A (en) * 1988-09-23 1992-02-18 Thomson Consumer Electronics Method and device for the estimation of motion in a sequence of moving images
US5103305A (en) * 1989-09-27 1992-04-07 Kabushiki Kaisha Toshiba Moving object detecting system
US5173945A (en) * 1989-12-28 1992-12-22 Aerospatiale Societe Nationale Industrielle Process and apparatus for estimating the movement of a moving object

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5241608A (en) * 1988-11-25 1993-08-31 Eastman Kodak Company Method for estimating velocity vector fields from a time-varying image sequence
US5134472A (en) * 1989-02-08 1992-07-28 Kabushiki Kaisha Toshiba Moving object detection apparatus and method
JPH036780A (en) * 1989-06-05 1991-01-14 Nippon Telegr & Teleph Corp <Ntt> Processing system for extraction of three-dimensional position information
US5341439A (en) * 1989-09-21 1994-08-23 Hsu Shin Yi System for texture-based automatic detection of man-made objects in representations of sensed natural environmental scenes
US4980762A (en) * 1989-10-13 1990-12-25 Massachusetts Institute Of Technology Method and apparatus for image processing to obtain three dimensional motion and depth
US5257209A (en) * 1990-06-26 1993-10-26 Texas Instruments Incorporated Optical flow computation for moving sensors
JP3037383B2 (en) * 1990-09-03 2000-04-24 キヤノン株式会社 Image processing system and method
US5272530A (en) * 1991-11-01 1993-12-21 Aware, Inc. Method and apparatus for coding motion pictures utilizing motion compensation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4739401A (en) * 1985-01-25 1988-04-19 Hughes Aircraft Company Target acquisition system and method
US5060064A (en) * 1988-04-29 1991-10-22 U.S. Philips Corporation Arrangement for interpolation images by motion estimation and compensation and a television standard converter system comprising such an arrangement
US5089887A (en) * 1988-09-23 1992-02-18 Thomson Consumer Electronics Method and device for the estimation of motion in a sequence of moving images
US5103305A (en) * 1989-09-27 1992-04-07 Kabushiki Kaisha Toshiba Moving object detecting system
US5173945A (en) * 1989-12-28 1992-12-22 Aerospatiale Societe Nationale Industrielle Process and apparatus for estimating the movement of a moving object

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Biological Cybernetics, vol. 42, No. 3, 1982, Heidelberg DE, pp. 195 204, D:D: Hoffman et al. The Interpretation of Biological Motion . *
Biological Cybernetics, vol. 42, No. 3, 1982, Heidelberg DE, pp. 195-204, D:D: Hoffman et al. `The Interpretation of Biological Motion`.
IEEE Transactions on Pattern Analysis and Machine, vol. 12, No. 5, May 1990, New York US, pp. 417 434 XP168670, Hormoz Shariat et al., Motion Estimation With More Than Two Frames , p. 417, left column, line 23 line 26; table 1, p. 423, right column, paragraph E p. 424, left column, paragraph F. *
IEEE Transactions on Pattern Analysis and Machine, vol. 12, No. 5, May 1990, New York US, pp. 417-434 XP168670, Hormoz Shariat et al., `Motion Estimation With More Than Two Frames`, p. 417, left column, line 23-line 26; table 1, p. 423, right column, paragraph E-p. 424, left column, paragraph F.
Proceedings of the Conference on Computer Vision and Pattern Recognition, San Francisco (US) Jun. 19 23, 1985; IEEE Computer Society Press, Silver Spring (US), pp. 181 183, Hormoz Shariat, The Motion Problem: A Decomposition Based Solution . *
Proceedings of the Conference on Computer Vision and Pattern Recognition, San Francisco (US) Jun. 19-23, 1985; IEEE Computer Society Press, Silver Spring (US), pp. 181-183, Hormoz Shariat, `The Motion Problem: A Decomposition-Based Solution`.

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5764283A (en) * 1995-12-29 1998-06-09 Lucent Technologies Inc. Method and apparatus for tracking moving objects in real time using contours of the objects and feature paths
US5864779A (en) * 1996-02-29 1999-01-26 Fujitsu Limited Strict recognizing apparatus using observation point
KR100698976B1 (en) * 1996-11-26 2007-07-09 소니 가부시끼 가이샤 Information input method and information input device
US6498628B2 (en) * 1998-10-13 2002-12-24 Sony Corporation Motion sensing interface
US6501515B1 (en) * 1998-10-13 2002-12-31 Sony Corporation Remote control system
US20020181741A1 (en) * 2001-05-30 2002-12-05 Koichi Masukura Spatiotemporal locator processing method and apparatus
US7146022B2 (en) * 2001-05-30 2006-12-05 Kabushiki Kaisha Toshiba Spatiotemporal locator processing method and apparatus
US8005261B2 (en) * 2001-09-15 2011-08-23 Eads Deutschland Gmbh Model-based object classification and target recognition
US20040267682A1 (en) * 2001-09-15 2004-12-30 Henrik Baur Model-based object classification and target recognition
US20070263916A1 (en) * 2003-11-28 2007-11-15 Koninklijke Philips Electronic, N.V. Three-Dimensional Reconstruction of an Object from Projection Photographs
US8098919B2 (en) * 2003-11-28 2012-01-17 Koninklijke Philips Electronics N.V. Three-dimensional reconstruction of an object from projection photographs
US8300887B2 (en) * 2007-05-10 2012-10-30 Honda Motor Co., Ltd. Object detection apparatus, object detection method and object detection program
US20080278576A1 (en) * 2007-05-10 2008-11-13 Honda Motor Co., Ltd. Object detection apparatus, object detection method and object detection program
US8896535B2 (en) 2007-09-19 2014-11-25 Sony Corporation Image processing apparatus and method, and program therefor
US20090073117A1 (en) * 2007-09-19 2009-03-19 Shingo Tsurumi Image Processing Apparatus and Method, and Program Therefor
US8643598B2 (en) * 2007-09-19 2014-02-04 Sony Corporation Image processing apparatus and method, and program therefor
US20120263385A1 (en) * 2011-04-15 2012-10-18 Yahoo! Inc. Logo or image recognition
US9508021B2 (en) 2011-04-15 2016-11-29 Yahoo! Inc. Logo or image recognition
US8634654B2 (en) * 2011-04-15 2014-01-21 Yahoo! Inc. Logo or image recognition
US9053551B2 (en) * 2012-05-23 2015-06-09 International Business Machines Corporation Vessel identification using shape and motion mapping for coronary angiogram sequences
US9008393B2 (en) * 2012-05-23 2015-04-14 International Business Machines Corporation Vessel identification using shape and motion mapping for coronary angiogram sequences
US20130315458A1 (en) * 2012-05-23 2013-11-28 International Business Machines Corporation Vessel Identification Using Shape and Motion Mapping for Coronary Angiogram Sequences
US20130315457A1 (en) * 2012-05-23 2013-11-28 International Business Machines Corporation Vessel Identification Using Shape and Motion Mapping for Coronary Angiogram Sequences
US20140086488A1 (en) * 2012-09-21 2014-03-27 Fujitsu Limited Image processing device and image processing method
US9218537B2 (en) * 2012-09-21 2015-12-22 Fujitsu Limited Image processing device and image processing method
US20140293012A1 (en) * 2013-04-02 2014-10-02 Htc Corporation Controlling method of detecting image-capturing gesture
US9654763B2 (en) * 2013-04-02 2017-05-16 Htc Corporation Controlling method of detecting image-capturing gesture
US20140307101A1 (en) * 2013-04-16 2014-10-16 Tout, Inc. Method and apparatus for displaying and recording images using multiple image capturing devices integrated into a single mobile device
US9749541B2 (en) * 2013-04-16 2017-08-29 Tout Inc. Method and apparatus for displaying and recording images using multiple image capturing devices integrated into a single mobile device
US11151630B2 (en) 2014-07-07 2021-10-19 Verizon Media Inc. On-line product related recommendations
US10163222B2 (en) * 2016-02-10 2018-12-25 Canon Kabushiki Kaisha Image capturing apparatus, tracking device, control method, and storage medium

Also Published As

Publication number Publication date
EP0952551A2 (en) 1999-10-27
EP0533477A3 (en) 1994-08-17
JP2873338B2 (en) 1999-03-24
EP0950984A2 (en) 1999-10-20
CA2078503A1 (en) 1993-03-18
EP0533477B1 (en) 2001-05-16
JPH0573680A (en) 1993-03-26
US5872858A (en) 1999-02-16
EP0952550A3 (en) 2003-11-05
EP0533477A2 (en) 1993-03-24
EP0952550A2 (en) 1999-10-27
EP0952551A3 (en) 2003-02-26
US5684886A (en) 1997-11-04
DE69231826D1 (en) 2001-06-21
US5625702A (en) 1997-04-29
DE69231826T2 (en) 2001-09-06
EP0950984A3 (en) 2003-02-26
CA2078503C (en) 1996-08-13

Similar Documents

Publication Publication Date Title
US5444791A (en) Moving body recognition apparatus
EP2202672B1 (en) Information processing apparatus, information processing method, and computer program
JP4985516B2 (en) Information processing apparatus, information processing method, and computer program
Negre et al. Cluster-based loop closing detection for underwater slam in feature-poor regions
Bosse ATLAS: a framework for large scale automated mapping and localization
Wen et al. CAE-RLSM: Consistent and efficient redundant line segment merging for online feature map building
Yu et al. A deep-learning-based strategy for kidnapped robot problem in similar indoor environment
Lee et al. Multi-robot SLAM using ceiling vision
Hoffmann et al. Visual servoing with moments of sift features
Zingaretti et al. Vision and sonar sensor fusion for mobile robot localization in aliased environments
Chen et al. Inertial aided 3D LiDAR SLAM with hybrid geometric primitives in large-scale environments
Ahmed et al. Registration of noisy point clouds using virtual interest points
Andersson et al. On multi-robot map fusion by inter-robot observations
Dong et al. Bundle Adjustment-Based Sonar-Inertial Odometry for Underwater Navigation
Shames et al. On the use of convex optimization in sensor network localization and synchronization
Memon et al. Invariant Loop Closure Detection Using Step-Wise Learning With Controlling Embeddings of Landmarks
Alnounou et al. Occupancy grid map merging using feature maps
de Almeida et al. Applying lie groups approaches for rigid registration of point clouds
Muñoz Global pose estimation and tracking for RGB-D localization and 3D mapping
Liu et al. A VIO-based localization approach in GPS-denied environments for an unmanned surface vehicle
Meikle et al. Computer vision algorithms for autonomous mobile robot map building and path planning
Ayache et al. A geometric matcher for recognizing and positioning 3-D rigid objects
Curtis et al. Satellite Articulation Sensing using Computer Vision
Liu et al. IMU Preintegration for Visual-Inertial Odometry Pose Estimation
Greminger et al. A deformable object tracking algorithm robust to occlusions and spurious edges

Legal Events

Date Code Title Description
AS Assignment

Owner name: FUJITSU LIMITED, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNORS:KAMADA, HIROSHI;KUBOTA, TAKASHI;SHIOHARA, MORITO;REEL/FRAME:006362/0211

Effective date: 19920907

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12