|
Description  |
|
|
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a method and an apparatus for measuring
coordinates, and more particularly to a method and an apparatus for
measuring in a contact-less manner three-dimensional coordinates of a
measured point on the object, or three-dimensional coordinates of any
desirous measured point in the stereo images.
2. Description of the Prior Art
For example, there is conventionally known a contactless method of
measuring three-dimensional coordinates in which corresponding points
correspondent to each other are extracted from a pair of stereo
photographs and the three-dimensional coordinate values are calculated
based on the respective coordinate values of those corresponding points.
The above conventional method of measuring three-dimensional coordinates
requires skill and time in extraction of corresponding points from the
pair of stereo photographs, respectively. In particular, when the measured
object has complicated configuration and many measured points, an operator
is much fatigued and must resort to vary in efficient operations.
OBJECT OF THE INVENTION
It is an object of the present invention to provide a method and an
apparatus for measuring coordinates in which the measured point is
specified for input of only one image data, and corresponding points of
other image data are automatically determined through the correlation
processing, thereby permitting easier measurement without need of skill.
Another object of the present invention is to provide a method and an
apparatus for measuring coordinates in which, when an incorrect
corresponding point has been extracted with respect to the measured point
specified (hereinafter referred to as "mismatching"), the coordinates
measurement on that measured point is ceased to effectively prevent the
incorrect measurement due to mismatching.
SUMMARY OF THE INVENTION
According to the present invention, the above and other objects can be
accomplished by a coordinates measuring apparatus comprising; a detection
unit for deriving image information of the same point as first, second and
third information when viewed from at least three different directions; a
correlation unit for, letting a measured reference point to be said second
information, determining a first corresponding point correspondent to said
reference point by deriving the correlation between said first and second
information, and a second corresponding point correspondent to said
reference point by deriving the correlation between said second and third
information; computation means for computing first coordinates based on
said reference point and first corresponding point, and second coordinates
based on said reference point and second corresponding point; and decision
means for making a decision of mismatching when said first and second
coordinates are not substantially coincident with each other.
In a preferable aspect of the present invention, said detection unit is
composed of three optical systems adapted to form respective images of the
measured object as viewed from three different directions in overlapped
relation, and three image sensors arranged at respective focus points of
the images formed by said three optical systems.
In another aspect of the present invention, said second information is
derived as viewed from the direction between two directions in which said
first and third information are derived, respectively, and said
computation means is adapted to also compute third coordinates as measured
coordinates based on said first and second corresponding points.
In another aspect of the present invention, said detection unit has an
image sensor and detect said first, second and third information by said
image sensor based on at least three photographs taken with a parallax
therebetween.
In a further preferable aspect of the present invention, said image sensor
is arranged for each of said photographs in one to one correspondence.
According to another aspect of the present invention, the above and other
objects can be accomplished by a coordinates measuring method comprising:
a first step of deriving image information of the same point as first,
second and third information when viewed from at least three different
directions; a second step of letting a measured reference point to be said
second information; a third step of determining a first corresponding
point correspondent to said reference point by deriving the correlation
between said first and second information; a fourth step of determining
first coordinates based on said reference point and first corresponding
point; a fifth step of determining a second corresponding point
correspondent to said reference point by deriving the correlation between
said second and third information; a sixth step of determining second
coordinates based on said reference point and second corresponding point;
a seventh step of making a decision of mismatching when said first and
second coordinates are not substantially coincident with each other; and
an eighth step of determining measured coordinates based on any two among
said first corresponding point, second point, and reference point.
In another aspect of the present invention, said first step is carried out
by deriving the second information as viewed from the direction between
two directions in which said first and third information are derived,
respectively, and said eighth step is carried out by determining the
measured coordinates based on said first and second corresponding points.
The above and other objects and features of the invention will become
apparent from the following description of a preferred embodiment taking
reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 1 and 2 are views for explaining principles of the present invention,
FIG. 3 is a block diagram of a data reading system in a coordinates
measuring apparatus according to one embodiment of the present invention,
FIG. 4 is a block diagram of a processing output system,
FIG. 5 is a block diagram of a correlator,
FIG. 6 is a block diagram of a synthesizer in one embodiment,
FIG. 7 is a waveform view of the synthesizer of FIG. 6,
FIG. 8 is a flowchart for an arithmetic processing unit in one embodiment,
FIG. 9 is a view for explaining the shooting method of aerial photographs
used in another embodiment, and
FIGS. 10 and 11 are views for explaining the method of measuring the
coordinates by using the aerial photographs.
PRINCIPLE OF THE INVENTION
Principles of the present invention will now be described with reference to
the drawings. As shown in FIG. 1, an image of a measured point P.sub.1 is
projected by three object lenses OL.sub.1, OL.sub.2 and OL.sub.3 onto
linear image sensors LS.sub.1, LS.sub.2 and LD.sub.3, respectively. Let it
be assumed that an interval of adjacent constituent detection elements for
each of the linear image sensors LS.sub.1, LS.sub.2, LS.sub.3 is .beta., a
center-to-center interval between the object lenses OL.sub.1 and OL.sub.2
and between the object lenses OL.sub.2 and OL.sub.3 is L.sub.2, and an
interval between the object lenses OL.sub.1, OL.sub.2, OL.sub.3 and the
linear image sensors LS.sub.1, LS.sub.2, LD.sub.3 is f.
It is also assumed that coordinate values of the measured point P.sub.1 be
given by (X.sub.1, Z.sub.1) in a coordinate system O.sub.1 with the center
of the object lens OL.sub.1 defined as the origin, and coordinate values
of the measured point P.sub.1 be given by (X.sub.2, Z.sub.2) in a
coordinate system O.sub.2 with the center of the object lens OL.sub.2
defined as the origin. It is further assumed that, letting respective
constituent detection elements of each of the linear image sensors
LS.sub.1, LS.sub.2, LS.sub.3 to be designated at UP.sub.p1, US.sub.p2, . .
. beginning with the leftmost one, the respective constituent detection
elements US.sub.p1 of the linear image sensors LS.sub.1, LS.sub.2,
LS.sub.3 are spaced from the centers of the object lenses OL.sub.1,
OL.sub.2, OL.sub.3 by a distance L.sub.1 in the direction of X-axis.
The coordinate values (X.sub.1, Z.sub.1) can be drived from outputs
X.sub.p1, X.sub.p2 of the linear image sensors LS.sub.1, LS.sub.2 using
the above-defined symbols as follows:
##EQU1##
Likewise, the coordinate values (X.sub.2, Z.sub.2) can be derived from
outputs X.sub.p2, X.sub.p3 of the linear image sensors LS.sub.2, LS.sub.3.
##EQU2##
Subsequently, the coordinate values thus derived are subjected to
calculations to confirm whether or nor the following equations (5) and (6)
are met.
X.sub.1 =X.sub.2 +L.sub.2 (5)
Z.sub.1 =Z.sub.2 (6)
If the equations (5) and (6) are met, it is judged that the image data
given by the outputs X.sub.p1 and X.sub.p3 of the linear image sensors
LS.sub.1, LS.sub.3 represent correct corresponding points, respectively.
Coordinate values (X, Z) of the measured point P.sub.1 in the coordinate
system O.sub.1 with the center of the object lens OL.sub.1 defined as the
origin are derived from the outputs X.sub.p1, X.sub.p3 of the linear image
sensors LS.sub.1, LS.sub.3 as follows:
##EQU3##
Meanwhile, FIG. 2 shows a case of mismatching where a measured point
P.sub.2 is specified, but it locates in an occlusion as viewed from the
linear image sensor LS.sub.1. When some point P' is analogous to the
measured point P.sub.2 on the image data, the linear image sensor LS.sub.1
detect the point P' as a measured point, while the linear image sensor
LS.sub.2 detects the measured point P.sub.2 as a measured point.
Accordingly, a measured point P".sub.2 based on outputs X'.sub.p1,
X'.sub.p2 of the linear image sensors LS.sub.1, LS.sub.2 is given by
coordinates (X'.sub.1, Z'.sub.1) of a point at which an extension of the
straight line O.sub.1 P' crosses an extension of the straight line O.sub.2
P.sub.2. On the other hand, a measured point based on outputs X'.sub.p2,
X'.sub.p3 of the linear image sensors LS.sub.2, LS.sub.3 is given by
correctly specified coordinates (X'.sub.2, Z'.sub.2).
Accordingly, the equations (5) and (6) are not met as follows:
X'.sub.1 .noteq.X'.sub.2 +L.sub.2
Z'.sub.1 .noteq.Z'.sub.2
As a result, it is judged that mismatching occurs in this measurement.
DESCRIPTION OF THE PREFERRED EMBODIMENT
(Data Reading System)
As shown in FIG. 3, a data reading system 100 is composed of a detection
unit 10 comprising optical systems adapted to obtain respective optical
images of the measured object 3 and means adapted to detect those optical
images in a photoelectrical manner, a control system 20 for receiving and
processing the data from the detection unit 10, and a memory unit 30 for
storing the data processed by the control system 20.
First, x, y and z coordinates are determined as illustrated in FIG. 3
taking into account a configuration of the object 3. The detection unit 10
includes three object lenses OL.sub.1, OL.sub.2, OL.sub.3 arranged above
the object 3 side by side in the direction of x-axis, and three linear
image sensors LS.sub.1, LS.sub.2, LS.sub.3 arranged at respective focused
points of the object 3 by the object lenses OL.sub.1, OL.sub.2, OL.sub.3
with their detecting directions set in parallel to the direction of
x-axis. The sensors LS.sub.1, LS.sub.2, LS.sub.3 and object lenses
OL.sub.1, OL.sub.2, OL.sub.3 constitute detectors 101, 102 and 103,
respectively, which are movable as an integral unit by a pulse motor 107
in the direction of y-axis.
In the vicinity of the detectors 101, 102 and 103, there is disposed an
illumination unit 108 comprising an object lens 109, a pattern film 110
and a light source 111. When the object 3 has no patterns on its surface,
the illumination unit 108 is used for projecting on that surface grid,
stripe, or other random patterns representative of densities or periods.
The control system 20 includes first, second and third A/D converters 121,
122, 123 for respectively A/D-converting outputs of the sensors LS.sub.1,
LS.sub.2 and LS.sub.3 and then delivering the A/D-converted outputs to the
memory unit 30, a timing pulse generator 128 for generating timing pulses
used to establish the proper time relationship between the sensors
LS.sub.1, LS.sub.2, LS.sub.3 and the first to third A/D converters 121,
122, 23, and a control unit 130 for controlling the entire electric system
of the apparatus.
(Processing Output System)
As to a processing output system 200, as shown in FIG. 4, images of the
object 3 are alternately displayed on the screen of a monitor TV 254 by
using three image data (1), (2) and (3) stored in the memory unit 30,
those images are observed by a pair of separation spectacles 259 having a
shutter adapted to alternately open and close the left and right visual
fields for a three-dimensional view of the object image, and then x, y and
z coordinates of an arbitrary measured point on the object 3 are computed
and displayed.
As seen from FIG. 4, the processing output system 200 is constituted by a
memory unit 210 for storing the image data (1), (2) and (3) to form stereo
images, a measured point setting unit 220 for setting a measured point
based on the image data (2), a correlation unit 230 for deriving through
correlation processing respective corresponding points with respect to the
measured point based on the image data (1), (2) and (2), (3), a marker
unit 240 for adding the measured point mark data to the image data (2) in
accordance with the measured point set in the setting unit 220, and for
adding the corresponding point mark data to the image data (1), (3) in
accordance with the corresponding points derived in the correlation unit
230 so that the added results are output therefrom, an image forming unit
250 for forming images based on the image data (1), (3) delivered from the
marker unit 240 and including the corresponding mark data, and a display
unit 260 for displaying measured points based on the measured point mark
data and the corresponding point mark data. The processing output system
200 thus constituted is controlled by the control unit 130 which is
connected to an operation unit 4 for desirous control.
An image signal controller 252 in the image forming unit 250 serves to
output a horizontal synchronizing signal H, a vertical synchronizing
signal V and a blanking signal B to the monitor TV 254 while receiving an
output signal of an oscillator 251, composed of a counter by way of
example, as a clock signal, as well .as to output address data to image
memories VRAM(1) 213, VRAM(2) and VRAM(3) 215 in the memory unit 210
through an address data line ADV, the address data being used for
displaying the image data in the VRAM's 213, 215 at predetermined
positions on the monitor TV 254. When an inhibition signal is input to the
image signal controller 252 from the control unit 130 through a signal
line VCE, the image signal controller 252 ceases to output the address
data to the VRAM(1) 213, the VRAM(2) 214 and the VRAM(3) 215. Otherwise,
it repeatedly outputs the address data to the VRAM(1) 213, the VRAM(2) 214
and the VRAM(3) 215 at all times. Incidentally, the control unit 130 also
serves to input those desirous ones out of the image data stored in the
memory unit 30 to the VRAM(1) 213, the VRAM(2) 214 and the VRAM(3) 215
through key-in operations at the operation unit 4.
The output data of the VRAM(1) 213 and the VRAM(3) 215 are input to a
selector 256 of the image forming unit 250 through a marker(A) 242 and a
marker(B) 244, respectively. The vertical synchronizing signal V of the
image signal controller 252 is divided by half in its frequency through a
flip-flop 258 and then input to the selector 256, so that outputs from the
marker(A) 242 and the marker(B) 244 are alternately delivered to a
blanking unit 257 in a switched manner. Therefore, the monitor TV 254
alternately displays the object images based on the image data (1), (3)
with such switching operations of the selector 256.
The blanking unit 257 ceases to output the image data for a fly-back time
of the monitor TV 254 upon receiving the blanking signal B output from the
image signal controller 252, and otherwise it delivers an output of the
selector 256 to a D/A converter 258. The D/A converter 258 converts a
digital image data signal from the blanking unit 257 to an analog signal
and then delivers the latter to the monitor TV 254.
The pair of separation spectacles 259 used by an operator to observe the
monitor TV 254 are provided in left and right lens frames with optical
shutters formed of liquid crystals by way of example, and these left and
right optical shutters are alternately opened and closed with the output
of the flip-flop 258 in synchronous relation to the switched images on the
monitor TV 254, whereby the object images based on the image data (1), (3)
are respectively observed by left and right eyes of the operator to
provide him with a three-dimensional view of the object 3.
The measured point setting unit 220 is used for inputting the coordinates
X.sub.p2, Y.sub.p2 to set the measured point on the monitor TV 254, and an
output of a tablet or key-pad adapted to input the coordinates of the
measured point is applied to a setting unit 222. The setting unit 222
stores the thus-applied coordinates X.sub.p2, Y.sub.p2 of the measured
point and then delivers them to a comparator described later, and it also
adds the coordinate X.sub.p2 with window constants .+-..omega., that have
been previously input thereto and then delivers the resulting values
(X.sub.p2 +.omega.), (X.sub.p2 -.omega.) to a comparator 224.
A later-described correlator is adapted to extract from the image data (1),
(3) those data series which are analogous to the data series out of the
image data (2) substantially representing the measured point, and the
window constants (.+-..omega.) are used to restrict a length of the data
series in such extraction.
The comparator 224 receives the address data from the image signal
controller 252 and a pair of window constant signals (X.sub.p2 +.omega.),
(X.sub.p2 -.omega.) from the setting unit 222, and then generates an
output signal when the address data relating to the direction of x-axis is
between (X.sub.p2 +.omega.) and (X.sub.p2 -.omega.). A comparator 226
receives the address data from the image signal controller 252 and the
coordinate Y.sub.p2 from the setting unit 222, and then generates an
output signal when the address data relating to the direction of y-axis is
coincident with Y.sub.p2.
An AND circuit 232 in the correlation unit 230 generates an output upon
receiving output signals from both the comparator 224 and the comparator
226. A correlator(A) 34 receives at its terminal CL the output signal of
the oscillator 251 as a clock signal, and also receives at its terminal DA
the output data from the VRAM(2) 214 when the output signal of the AND
circuit 232 is input to its terminal A.
On the other hand, when the output signal of the comparator 226 is input to
its terminal B, the correlator(A) 234 receives at its terminal DB the
output data from the VRAM(1) 213. Stated differently, the correlator(A)
234 receives as correlation data both the image data in the row of
coordinate Y.sub.p2 stored in the VRAM(2) 213 and restricted to a range of
"X.sub.p2 .+-..omega.", and the image data in the row of coordinate
Y.sub.p2 stored in the VRAM(2) 214 and corresponding to a range of one
scan. The correlator(A) 234 functions to detect a part of the image data,
which is analogous to the image data in a range of (X.sub.p2 .+-..omega.)
applied to the terminal DA, out of the image data in a range of one scan
applied to the terminal DB, and then output a positional signal relating
to the position represented by the detected part, that is, the coordinate
X.sub.p1 of a corresponding point correspondent to the coordinate X.sub.0
and extracted based on the image data (1), to a comparator 236. Another
correlator(B) 235 operates in a like manner so that the coordinate
X.sub.p3 of a corresponding point correspondent to the coordinate X.sub.0
and extracted based on the image data (3) is output to another comparator
238.
The comparator 236 in the correlation unit 23 receives a signal of the data
X.sub.p1 applied thereto from the correlator(A) 234 and an address data
signal on the direction of x-axis applied thereto from the image signal
controller 252, and then generates an output when both the applied signals
are coincident with each other, the output being delivered to the
marker(A) 242 in the marker unit 240. Upon receipt of the output signals
from both the comparators 226 and 236, the marker(A) 242 replaces a part
of the output data from the VRAM(1) 213 by mark data before its delivery
therefrom. For example, when the maximum value of the image data is less
than "FF" in hexadecimal notation, the output data is delivered with its
part replaced by mark data set to "FF". In other words, the image data (1)
from the VRAM(1) 213 is delivered from the marker(A) 242 as image data (1)
including mark data (such as a symbol or bright point) indicative of the
measured point.
The comparator 238 receives a signal of the coordinate X.sub.p3 of a
corresponding point correspondent to the coordinate X.sub.p2 and applied
thereto from the correlator(B) 245 and an address data signal on the
direction of x-axis applied thereto from the image signal controller 252,
and then generates an output when both the applied signals are coincident
with each other, the output being delivered to the marker(B) 244. The
marker(B) 244 is connected with the comparators 226, 236 and, upon receipt
of the output signals from both the comparators 226, 236, replaces a part
of the output data from the VRAM(3) 215 by mark data before its delivery
therefrom. In other words, the image data (3) from the VRAM(3) 215 is
output from the marker(B) 244 as image data (3) including the mark data
indicative of a corresponding point.
The image data (1), (3) including mark data and delivered from the
markers(A) 243, (B) 244, respectively, are applied to the monitor TV 254
through the selector 256, blanking unit 257 and the D/A converter 258, so
that those image data are displayed as images of the object on the monitor
TV 252 which images are three-dimensionally observed by means of the pair
of separation spectacles 259. At this time, if the coordinates of the
measured point detected with outputs of the sensors LS.sub.1, LS.sub.2 are
different from the coordinates of the measured point detected with outputs
of the sensors LS.sub.2, LS.sub.3, i.e., if mismatching is occurred, those
measured points would be observed at significantly different levels as
compared with difference in level in the vicinity thereof.
The display unit 260 for calculating and displaying the coordinates (X, Y,
Z) of the measured point includes an arithmetic processing unit(Y) 262 and
another arithmetic processing unit(X, Z) 264. The arithmetic processing
unit(Y) 262 receives a signal of the coordinate Y.sub.p2 from the setting
unit 222 and then computes the value of Y=.alpha.. Y.sub.p2 +Y.sub.0,
where .alpha. denotes a pitch of the movement by a pulse motor 107 in the
direction of Y-axis and Y.sub.0 denotes a position of reference address
(e.g., x=0, y=0) of the VRAM(2) 214 in the direction of Y-axis with
respect to the origin arbitrarily defined on a table on which the object 3
is placed.
The arithmetic processing unit(X, Z) 264 determines the coordinates X, Z by
making use of the equations (1) to (8) as explained in the above section
3E "Principles of the Invention", based on both the coordinate signal
X.sub.p2 applied from the setting unit 222 and the coordinate signals
X.sub.p1, X.sub.p3 detected by the correlators 234, 235.
Operation of the arithmetic processing units 262, 264 will now be described
with reference to a flow-chart shown in FIG. 8. In step S1, the coordinate
X.sub.p2 of a measured point focused on the sensor LS.sub.2 is selected by
the measured point setting unit 220. In step S2, coordinate signals
X.sub.p1, X.sub.p3 detected by the sensors LS.sub.1, LS.sub.3 are taken
in. In step S3, the equations (1), (2) are computed based on the outputs
X.sub.p1, X.sub.p2 of the sensors LS.sub.1, LS.sub.2 to determine X.sub.1
=f.sub.1 (X.sub.p1, X.sub.p2) and Z.sub.1 =g.sub.1 (X.sub.p1, X.sub.p2).
In step S4, the equations (3), (4) are then computed based on the outputs
X.sub.p2, X.sub.p3 of the sensors LS.sub.2, LS.sub.3 to determine X.sub.2
=f.sub.1 (X.sub.p2, X.sub.p3) and Z.sub.2 =g.sub.1 (X.sub.p2, X.sub.p3).
In step S5, it is judged whether or not the equations (5), (6) are both
met. If yes, the program proceeds to step S6. In step S6, the equations
(7), (8) are computed based on the outputs X.sub.p1, X.sub.p3 of the
sensors LS.sub.1, LS.sub.3 to determine X=f.sub.2 (X.sub.p1, X.sub.p3) and
Z=g.sub.2 (X.sub.p1, X.sub.p3). In step S7, display signals of X, Z are
output to a display 266. It is judged in step S8 whether or not the
operation has been completed and, if no, the program returns to step S1.
If it is judged in step S5 that at least one of the equations (5), (6) is
not met, the program proceeds to step S9 where display signal of
mismatching is output to the display 266. After that, the program proceeds
to step S8.
(Correlator)
The correlators 234, 235 will be described below in detail. Principles of
the correlator depends on either an absolute difference method and a
correlative coefficient method. Description will now be made on the case
that the correlation is determined between a data group Ax.sub.pn and a
data group Bx.sub.pn. The absolute difference method is to determine
X.sub.p, which minimizes G.sub.1, while sequentially changing X.sub.p, in
the following equation.
##EQU4##
On the other hand, the correlation coefficient method is to determine
X.sub.p, at which G.sub.2 approaches nearest to "1", while sequentially
changing X.sub.p, in the following equation, where Ax.sub.p, Bx.sub.p,
denote the mean values.
##EQU5##
The constitution of the correlator 234 resorting to the absolute difference
method will now be described with reference to FIG. 5. A terminal A of the
correlator 234 to which is applied the output of the AND circuit 232 is
connected to an AND circuit 301 and a selector 304, whereas a terminal B
thereof to which is applied the output of the comparator 226 is connected
to a reset terminal RST of a counter(1) 307, AND circuit 308, RAM 305 and
an inverter 306. A terminal DA thereof to which is applied the output of
the VRAM(2) 214 is connected to the selector 304, and a terminal DB
thereof to which is applied the output of the VRAM(1) 213 is connected to
a RAM 305. A terminal CL thereof to which is applied the output of the
oscillator 251 is connected to a clock terminal CL of the counter(1) 307,
AND circuits 301, 302, RAM 305 and cumulative adders(1), (2) 314, 315.
An output terminal of the counter(1) 307 is connected to a counter(2) 309,
cumulative adder(1) 314, minimum value detector 317, cumulative adder(2)
315, adder(1) 310 and a comparator 320. An output terminal of the AND
circuit 308 is connected to the counter(2) 309. An output terminal of the
inverter 306 is connected to the AND circuit 302 and a delay element 322,
whereas outputs of the AND circuits 301, 302 are input to a shift register
303. An output of the selector 304 is applied to the shift register 303,
an output of which is applied to the selector 304 and a subtracter 312.
An output of the counter(2) 309 is applied to the adder(1) 310 and an
adder(2) 323, and an output of the adder(1) 310 is applied to the RAM 305
and a comparator (END) 11. An output of the comparator (END) 311 is
applied to the counter(2) 309 and an AND circuit 321, the AND circuit 321
receiving also an output of the delay element 322.
On the other hand, an output of the RAM 305 is applied to the cumulative
adder(1) 314 and the cumulative adder(2) 315 through the subtracter 312
and an absolute value calculator 313. Outputs of the cumulative adder(1)
314 and the cumulative adder(2) 315 are both applied to a synthesizer 316,
an output of which is applied to the minimum value detector 317. An output
of the AND circuit 321 is applied to a latch 319 and the minimum value
detector 317. Further, an output of the adder(2) 323 is applied to the
latch 319 through an address latch 318, the address latch 318 receiving an
output from the minimum value detector 317. An output of the latch 319
becomes an output of the correlator 234.
In the correlator 234 thus arranged, when the signal is applied from the
AND circuit 232 to the terminal A, the clock signal input at the terminal
CL is applied to the shift register 303 through the AND circuit 301, and
the output data from the VRAM(2) 214 input at the terminal DA are
sequentially applied to the shift register 303 through the selector 304.
The shift register 303 comprises (2.omega.+1) stages of shift registers
corresponding to the number of data (X.sub.p2 +.omega.), each stage
including register elements arranged in parallel in number equal to the
number of bits constituting each data, so that the data contents are
shifted in parallel. On the other hand, when no signals are applied from
the AND circuit 232 to the terminal A, the selector 304 is turned over to
supply the output data of the shift register 303 to the input of the same.
Accordingly, the selector 304 and the shift register 303 now constitutes a
ring register.
When the signal is applied from the comparator 226 to the terminal B, the
counter(1) 307 is brought into a reset state, the RAM 305 is brought into
a write state, and the counter(2) 309 is brought into a counting state
while receiving clock signals via the AND circuit 308. More specifically,
with the counted value of the counter(1) 307 equal to 0, the RAM 305
directly receives the content of the counter(2) 309 through the adder(1)
310 and then writes the data from the terminal DB in address positions in
accordance with the output of the counter(2) 309. The comparator (END) 211
compares the number of data n corresponding to a range of one scan, which
are processed for detection of a corresponding point, with the value from
the adder(1) 310. If there occurs a coincidence therebetween, the
counter(2) 309 is reset.
Incidentally, when the signal is applied from the comparator 226 to the
terminal B, the AND circuits 302, 321 are both brought into an inhibition
state due to the inverter 306, so that they generate no signals. At this
time, the delay element 322 prevents the AND circuit 321 from generating a
signal for a delay time given by the counter(2) 309, adder(1) 310 and the
| | |