Method and apparatus for measuring position by image processing
First Claim
1. A method of measuring position by image processing in which an image of a light-emitting element arranged on an object whose position is to be measured is picked up by image pickup means, the position of the light-emitting element on the image picked up by the image pickup means is detected, and the relative position of the object with respect to the image pickup means is measured using the detected position of the light-emitting element, comprising:
- a luminance change step of alternately changing luminance of the light-emitting element in two levels with a prescribed period;
a frame processing step of successively acquiring images of four consecutive frames, an image of one frame being an image picked up by the image pickup means in a time of 1/4 of the period of the luminance change;
a difference processing step of acquiring from the four consecutive frames a first difference image of the first frame and the third frame and a second difference image of the second frame and the fourth frame;
a selection step of selecting a difference image of greatest lightness out of the first difference image and the second difference image; and
a position detection step of detecting pixels of lightness greater than a prescribed threshold value in the difference image selected in the selection step as the position of the light-emitting element.
1 Assignment
0 Petitions
Accused Products
Abstract
An object whose position is to be measured is provided with a light-emitting element, the luminance of the light-emitting element is varied in two levels (lit/extinguished) with a prescribed period, images of four consecutive frames are successively acquired, one frame being an image picked up in a time of 1/4 of the period of this variation of luminance, of the four consecutive frames, a first difference image of the first frame and third frame and a second difference image of the second frame and fourth frame are acquired, and, of the first difference image and second difference image, the difference image of greatest lightness is selected. This selected difference image is always the difference image between the image during the lit period of the light-emitting element and the image during the extinguished period. Pixels whose lightness is greater than a prescribed threshold value in this selected difference image is detected as the position of the light-emitting element, and the position relative to the object is thereby calculated.
-
Citations
4 Claims
-
1. A method of measuring position by image processing in which an image of a light-emitting element arranged on an object whose position is to be measured is picked up by image pickup means, the position of the light-emitting element on the image picked up by the image pickup means is detected, and the relative position of the object with respect to the image pickup means is measured using the detected position of the light-emitting element, comprising:
-
a luminance change step of alternately changing luminance of the light-emitting element in two levels with a prescribed period; a frame processing step of successively acquiring images of four consecutive frames, an image of one frame being an image picked up by the image pickup means in a time of 1/4 of the period of the luminance change; a difference processing step of acquiring from the four consecutive frames a first difference image of the first frame and the third frame and a second difference image of the second frame and the fourth frame; a selection step of selecting a difference image of greatest lightness out of the first difference image and the second difference image; and a position detection step of detecting pixels of lightness greater than a prescribed threshold value in the difference image selected in the selection step as the position of the light-emitting element. - View Dependent Claims (2)
-
-
3. An apparatus for measuring position by image processing in which an image of a light-emitting element arranged on an object whose position is to be measured is picked up by image pickup means, the position of the light-emitting element on the image picked up by the image pickup means is detected, and the relative position of the object with respect to the image pickup means is measured using the detected position of the light-emitting element, comprising:
-
luminance change means for alternately changing luminance of the light-emitting element in two levels with a prescribed period; frame processing means for successively acquiring images of four consecutive frames, an image of one frame being an image picked up by the image pickup means in a time of 1/4 of the period of the luminance change; difference processing means for acquiring from the four consecutive frames a first difference image of the first frame and the third frame and a second difference image of the second frame and the fourth frame; selection means for selecting a difference image of greatest lightness out of the first difference image and the second difference image; and position detection means for detecting pixels of lightness greater than a prescribed threshold value in the difference image selected by the selection means as the position of the light-emitting element. - View Dependent Claims (4)
-
Specification