Claims
- 1. A method of producing a background image from a plurality of images of a scene, said plurality of images acquired from a machine vision system with image acquisition means, said method comprising the steps of:
- a) selecting within each image of said plurality of images a subimage;
- b) acquiring a reference subimage corresponding to said subimage;
- c) designating said reference subimage as a background subimage if any object has passed between said reference subimage and said image acquisition means in subsequent images; and
- d) storing said background subimage in a corresponding position in said background image;
- wherein said steps of acquiring reference subimages and designating said reference subimage as a background subimage comprise the steps of:
- e) initializing a state table for said image, said state table having a first state for each subimage location corresponding to each said subimage after said step of initializing;
- f) storing a first subimage from a first subimage location in a reference buffer and assigning a second state to said first subimage location;
- g) comparing subsequent subimages in said first subimage location with said first subimage;
- h) assigning a third state to said first subimage location when a predetermined number of subsequent subimages are similar to said subimage stored in said reference buffer when said first subimage location is assigned said second state;
- i) assigning a fourth state to said first subimage location when said subsequent subimage is significantly different than said subimage stored in said reference buffer and said first subimage location is assigned said third state;
- j) designating said subimage stored in said reference buffer as said background subimage when said subsequent subimage is substantially similar to said subimage stored in said reference buffer and said first subimage location is assigned said fourth state; and
- k) repeating steps f) through j) for each subimage location and said subsequent subimages corresponding to said subimage location.
- 2. The method of producing a background image from a plurality of images of a scene according to claim 1, wherein a plurality of subimages are selected within each image.
- 3. The method of producing a background image from a plurality of images of a scene according to claim 1, further comprising the step of assigning said first state to said first subimage location if said first subimage location is assigned said fourth state for a predetermined time.
- 4. The method of producing a background image from a plurality of images of a scene according to claim 1, wherein each said subimage comprises a single pixel within said image.
- 5. The method of producing a background image from a plurality of images of a scene according to claim 1, wherein said predetermined number of subsequent subimages is zero.
- 6. A machine vision system for producing a background image from a plurality of images of a scene, said system comprising:
- a) image acquisition means for acquiring images from three-dimensional space;
- b) dividing means for dividing said images into subimages;
- c) memory means for storing said images, said subimages, reference subimages and said background image; and
- d) processor means for determining when any object passes between said reference subimages and said image acquisition means in subimages acquired subsequent to acquiring said reference subimage;
- wherein said processor means determines whether an object passes between said reference subimages and said image acquisition means by the steps of:
- e) initializing a state table for said image, said state table having a first state for each subimage location corresponding to each said subimage after said step of initializing;
- f) storing a first subimage from a first subimage location in a reference buffer and assigning a second state to said first subimage location;
- g) comparing subsequent subimages in said first subimage location with said first subimage;
- h) assigning a third state to said first subimage location when a predetermined number of subsequent subimages are similar to said subimage stored in said reference buffer when said first subimage location is assigned said second state;
- i) assigning a fourth state to said first subimage location when said subsequent subimage is significantly different than said subimage stored in said reference buffer and said first subimage location is assigned said third state;
- j) designating said subimage stored in said reference buffer as said background subimage when said subsequent subimage is substantially similar to said subimage stored in said reference buffer when said first subimage location is assigned said fourth state; and
- k) repeating steps f)-j) for each subimage location and said subsequent subimages corresponding to said subimage location.
- 7. The machine vision system for producing a background image from a plurality of images of a scene according to claim 6, further comprising a second processing means for comparing said background image with input images and subtracting background from said input images.
- 8. The machine vision system for producing a background image from a plurality of images of a scene according to claim 6, wherein said image acquisition means comprises a monocular vision device.
- 9. The machine vision system for producing a background image from a plurality of images of a scene according to claim 7, wherein said second processing means comprises:
- a) means for generating foreground weights based on the difference between said background image and said input images as weighted by a weighting curve; and
- b) multiplier means for multiplying said foreground weights with a measure of edge contrast of said input image.
- 10. The machine vision system for producing a background image from a plurality of images of a scene according to claim 9, wherein said means for generating foreground weights comprises a lookup table.
Parent Case Info
This is a division of application No. 08/163,422 filed Dec. 8, 1993 now abandoned.
US Referenced Citations (9)
Foreign Referenced Citations (1)
Number |
Date |
Country |
36 06 009 |
Aug 1987 |
DEX |
Divisions (1)
|
Number |
Date |
Country |
Parent |
163422 |
Dec 1993 |
|