IE51045B1 - Video inspection system - Google Patents

Video inspection system

Info

Publication number
IE51045B1
IE51045B1 IE95481A IE95481A IE51045B1 IE 51045 B1 IE51045 B1 IE 51045B1 IE 95481 A IE95481 A IE 95481A IE 95481 A IE95481 A IE 95481A IE 51045 B1 IE51045 B1 IE 51045B1
Authority
IE
Ireland
Prior art keywords
inspection system
memory
camera
data
interface
Prior art date
Application number
IE95481A
Other versions
IE810954L (en
Original Assignee
Chesebrough Ponds
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
Application filed by Chesebrough Ponds filed Critical Chesebrough Ponds
Priority to IE95481A priority Critical patent/IE51045B1/en
Publication of IE810954L publication Critical patent/IE810954L/en
Publication of IE51045B1 publication Critical patent/IE51045B1/en

Links

Description

The present invention relates to a video inspection system and, more particularly, to a real time’video inspection system having sixteen levels of grey shade resolution.
It is known to employ closed circuit television for process control. For example, U.S. Patent No. 3,243,509 discloses a system which employs a TV camera to detect the phase boundary between the solid and liquid phases of a semiconductor rod in a zone melting process. In U.S. Patent No.4,064,534 a TV camera is employed as part of a quality control system in the manu· facture of glass bottles, the outline of the finished bottle being compared with that of a reference bottle.
In U.S. Patent No.4,135,204 a TV camera is used to con15 trol the growth of a thermometer end opening blister in a heated hollow glass rod by monitoring and iteratively controlling the growth of the edges of the blister using edge detection techniques.
These prior art systems are directed to situations where the parameter of interest is an edge or boundary which may be compared with a pre-existing reference. There are many applications, however, where edge or β bondary detection is totally inadequate. These applications include, for example, pattern recognition and area measurement.
The present invention overcomes the limitations of the prior art systems and comprises a high speed, real time video inspection system having sixteen levels of grey shade resolution which is suitable for both pattern recognition and area measurement applications. The video inspection system of the present invention is small, powerful, fast, relatively inexpensive and very reliable.
In an illustrative embodiment the present invention is employed .in a quality control application to compare labels on bottles coming off a high speed fill line with a reference label to determine whether the bottles bear the correct labels and whether the copy on the labels has been smudged or otherwise damaged. In a preferred · mode of operation the difference, if any, between the reference label and the label being inspected is displayed on a TV monitor for viewing by an operator. The advantages of this application are readily apparent since now it is possible to have 1001 quality control inspection without incurring large labor expenditures.
The present invention employs a solid state TV camera utilizing, for example, a 244 by 236 array of elements, each of the 57,584 elements constituting a pixel or elemental part of the overall picture. The unstructured digital data from the TV camera goes to an interface which has a direct memory SI 045 access (DMA) channel. The interface/DMA takes the real time video information and structures the date, using sixteen grey shade levels, and combines four pixels into each word. In addition to the TV camera and inter5 face/DMA, the present invention employs a RAM memory, a processor, a computer (with an associated control terminal) and graphics imaging circuitry (with an associates TV monitor). The interface/ DMA, RAM memory, processor, computer and graphics imaging circuitry are all interconnected by means of multibus which carries data, control and address signals. The interface/DMA synchronizes the TV camera with the multibus and transfers the TV image in real time to any desired location in the RAM memory. Once the image is in the RAM memory, IS processing occurs on two levels. The computer provides the supervisory tasks for serial communication, memory management input/output processing, data azquisition and display whereas the processor is used for high speed array processing of the data in the RAM memory. The system software is located in the computer.
As already noted, the video’inspection system of the present invention is readily adaptable to numerous applications involving pattern recognition and area measurement. Applications involving pattern recognition include the inspection of completed printed circuit boards, the detection of flaws in manufactured items, intruder detection, the analysis of fingerprints, the detection of foreign objects in containers before they are filled and as part of aircraft landing or collision S avoidance systems. Applications involving area measurement include the measurement of machined parts, the measurement of heart wall thickness, the semi-automated analysis of X-rays and the precision area measurement of irregular objects. With the addition of positioning information, the video inspection system of the present invention can also be used to generate visual sensory signals for robotics.
The video inspection system of the present invention is so versatile because it can acquire and process the full range of data available from the sensor. Moreover by using standard optical components with the TV camera the images available for analysis extend from the micro scale to the macro scale, from images of microelectronic circuitry to images of planetary bodies or star fields.
In addition, standard optical filtering techniques may also be employed to enhance or otherwise alter the frequency response of the system and to develop, for example, specific color sensitivities.
Since the solid state TV camergis sensitive to the entire visible spectra and beyond, the video inspection system of the present invention may be applied to any task where the visible spectrum is involved. For example, secondary emissions of X-rays via fluoroscopy may be analyzed. Spectral analysis and colorimetry are also possible. Photographs of events can also be analyzed in a variety of ways. In short, the applications for the video inspection system of the present invention are limited only by the resolution of the sensor and the ability to develop appropriate imaje pro10 cessing software.
The foregoing and further features of the invention may be more readily understood from the following description of a preferred embodiment thereof, by way o± example, with reference to the accompanying drawings, in which:Fig.l is a functional block diagram of a preferred embodiment of a video inspection system.
Fig. 2 is a functional block diagram of the interface/DMA of Fig.l; Figs. 3A through 3C comprise a schematic diagram of the interface/DMA of Fig.2; Fig.4 is a functional block diagram of the RAM memory of Fig.l; Figs. SA through 5C comprise a schematic diagram 25 of one page” of the memory of Fig.4; 51Ο4ς Figs. 6A and 6B comprise a functional block diagram of the processor of Fig.l; and Figs. 7A through 7H comprise program flow diagrams for the embodiment of Fig.l.
The video inspection system of the present invention is shown in Fig.l and comprises a TV earner 10, an interface/DMA 20, a RAM memory 30, a processor 40, a computer SO, an operator control terminal 60, graphics imaging circuitry 70 and a TV monitor 80. The interface/DMA, RAM memory, processor, computer and graphics imaging circuitry are all linked by multibus 90.
TV camera 10 ia a solid state camera such as the General Electric Co. TN 2S00 CID [charge injection device) which has a planar, two axis array of image elements comprising 244 vertical elements by 248 horizontal elements. In the preferred embodiment only 236 of the 248 rows are used. This produces 57,584 picture elements of pixels per frame, each pixel measuring 36 x 46 micrometers. Full frame readout takes 30 milli20 seconds and each pixel has sixteen levels of grey shade resolution (which requires 4 bits). Thus, digital data is produced by the TV camera at a rate of 57,584 pixels x 30 milliseconds = 7,gg megabits/sec. pixel Interface/DMA 20 is shown in Fig.2 in the form of a functional block diagram and is shown schematically in Fig.3. Interface/DMA performs two separate functions.
It accumulates four 4-bit pixels into one 16-bit (2 byte) word and performs the direct memory address to RAM memory 30. It also performs all the synchronization between the video data and multibus 90. Interface/DMA 20 is capable of addressing up to 1 megabyte of storage, transferring up to 128 thousand bytes in a single transfer burst, and can operate at up to 10 megabyte per second transfer rates. The minimum transfer rate is 2 megabytes per second. Thus, interface/DMA 20 is able to process the full resolution and sensitivity of the sensor.
High speed static RAM memory 30 is shown in functional block diagram form in Fig.4 and schematically in Fig.5.
RAM memory 30 has a one megabyte address space so that it can receive :.n real time the full output from TV camera 10. RAM memory 30 has a worst case storage cycle time of 100 nanoseconds and is able to read/write either 8 or 16 bits per cycle anywhere in the one megabyte address space.
High performance bus oriented processor 40 is shown in functional block diagram form in Fig.6 and schematically in Fig.7. Processor 40 is designed to access program code and data fron multibus 90 and execute the program at an eight to ten megahertz clock rate. Processor 40 performs high speed computation on the data in memory 30. 510 45 System computer SO may be an Intel SBC 86/12 microcomputer which is based on the Intel 8086 16-bit microprocessor. Once the image has been stored in memory 30, the bulk of the processing is carried out with computer S SO. As noted earlier, computer SO provides the supervisory tasks for serial communication, memory management input/output processing, data acquisition and display. Resident in computer 50 are those program codes necessary to perform a variety of video processing functions in10 eluding pattern recognition and non-contact measurement. The software is stored in EPROM’s forming a part of computer 50. Figs. 7A through 7H comprise program flow charts for an application of the video inspection system of the present invention involving label inspection.
IS Operator control terminal 60 is shown in Fig.l and permits the operator to communicate with computer 50. Operator control terminal 60 may be any standard RS232C terminal such as a Data General Dasher terminal. Operator control terminal 60 comprises a keyboard and a CRT or a keyboard printer. Operator control terminal 60 communicates with computer SO and permits, for example, parametric changes to be made to the software.
Graphics imaging circuitry 70 interfaces with multibus 90 and puts data into a format suitable for display on TV monitor 80. In the preferred embodiment, graphics ίο imaging circuitry 70 produces a composite video grey scale output. Graphics imaging circuitry 70 may be a model RGB-256 single board 16 color/grey CRT controller manufactured by Matrox Electronic Systems Ltd.
Montreal, Quebec, Canada. The RGB-256 graphics imaging circuitry is compatible with the standard Intel SBC bus system. TV monitor 80 may be any standard television monitor.
Multibus 90 interfaces with various bus elements, i.e. masters, slaves and intelligent-slaves. A bus master is any module which has the ability to control the bus. The master exercises this control by acquiring the bus through bus exchange logic and then generating command signals, address signals and memory addresses.
Many modules may be bus masters. The most basic type of bus master includes the Intel MD-800 CPU module which includes a processor and bus exchange logic. More complex masters include the Intel SBC 80/20, the Intel SBC 30/50 and the Intel 86/12 microcomputers. 2C AnctheT type of module which can interface to the multibus is the bus slave. Bus slaves decpde the address lines and act upon the command signals from the bus masters. The bus slaves are incapable of controlling the multibus. Examples of bus slaves include input/ output registers and memories.
The third type of module that can interface to the multibus is the intelligent slave. The intelligent slave has all the attributes of a slave module in that it decodes addresses and acts upon commands from master modules. However, the intelligent slave contains a microprocessor which is programmed with software or firmware and is used to control the on-board memory and the input/output but not the multibus.
In terms of bus elements, interface/DMA 20, RAM 10 memory 30 and graphics imaging circuitry 70 are slave modules whereas processor 40 is an intelligent slave module and computer SO is a master module.
As shown in Fig.1, the signalson multibus .90 comprise data lines, control lines and address and inhibit lines. The data lines comprise sixteen bidirectional data lines, DATO/through DATF/ in hexadecimal notation. The control lines comprise clocks, commands, acknowledge and initialize. The clocks are constant clock (CCLK/) and bus clock (BCLK/). The commands comprise memory read (MRDC/), input/output write (IOWC/) and input/ output read (IORC/). The acknowledge command is transfer acknowledge (XACK/) while the initialize command is initialize (INIT/). The address lines comprise ADRO/ through ADR13/ (0.9, A-F, 10-13) while the inhibit lines comprise INHI/ and INH2/. Byte control is BHEN/.
Referring to Fig. 2, all DMA control words are accepted on the trailing edge of CCLK/. Commands are implemented or data' loaded 30 nanoseconds after address recognition. Start DMA is implemented on the next leading edge of BCLK/. An XACK/ is generated by the DMA four CCLK/ pulses following address recognition.
TV Camera 10 can be operated in either the 122 sequential mode or the 244 sequential mode. In the 122 sequential mode only 122 lines of 236 pixels each is utilized. In the 244 sequential mode, which is the highest resolution mode of the camera, 244 lines of 236 pixels each are employed. The mode of camera operation is indicated by an appropriate output from camera mode logic 216. In the preferred embodiment the IS 244 sequential mode is employed.
Interface/DMA utilizes three timing signals from the camera. These are vertical sync, sync blanking and 5x clock. These three signals are shown in Fig.2 as inputs to camera sync timing 204. Sync blanking is a logic signal which goes high when valid data is presented at DAT 4 through DAT 7. The vertical sync pulse occurs at the beginning of each data field, two fields forming one frame. In the 244 sequential mode the vertical sync pulse occurs every 33.32 milliseconds. The Sx clock is 22.5 megahertz and a new 4-bit pixel is 510 45 presented on lines DAT 4 through DAT 7 every 5 clock pulses (every 222 nanoseconds). Thus, a 16 bit (2 byte) word is transferred every 888 nanoseconds and there' are 62 word transfers per line.
Interface/DMA 20 is shown in Fig.2 in functional block diagram form as comprising input buffer 201, register file 202, timing logic 203, camera sync timing . 204, nibble count logic 205, read/write equalization 206, read word logic 207, write word logic 208, write timing logic 209, transfer length register 210, address register 211, interrupt encode logic 212, address decode logic 213, bus driver 214, output buffer 215 and camera mode logic 216. Interface/DMA 20 is also shown schematically in Fig.3. Although unnecessary for a full understanding of the present invention, the relationship between the functional block diagram of Fig.2 and the schematic diagram of Fig.3 is set forth below. It will be understood by those skilled in the art that since interface/DMA is constructed from multifunctional in20 tegrated circuit chips, each of which may contain a number of separate circuits, a given chip in Fig. 3 may form part of several different functional blocks in Fig.2.
Buffer 20.1 comprises U14 and U15. Register file 202 comprises U7 through U10. Timing logic 203 comprises U2, U20 and U22. Camera sync timing 204 comprises Ul and U2. Nibble count logic 20S comprises Ul, U3, U4 and Ull. Read/write equalization 206 comprises US, U6 and U70 through U72. Read word logic 207 comprises US whereas write word logic 208 comprises U6. Write timing logic 209 comprises U13, U18 through U21, US5, U56 and U100. Transfer length register 210 comprises U32 through U35. Address register 211 comprises U27 through U31.
Interrupt encode logic 212 comprises U41 and U16.
Address decode logic 213 comprises U38 through U41; U53 and U54. Address bus driver 214 comprises U45 through U48. Data buffer 215 comprises U49 through US2.
Interface/DMA 20 is treated as an input/output (I/O) IS device by computer 50. The base address is switch selectable from 0000H to 0090H. In operation IOWC/ is buffered and decoded by address decode logic 213. The DMA block responds to each properly decoded address in its instruction set with an XACK/ to computer 50.
Computer SO responds to the XACK/ by releasing the IOWC/ and the DMA block is then in condition to operate on another IOWC/.
The instruction set for the DMA block comprises the following four I/O write commands. (1) Reset Interrupt (RST INT) - The reset interrupt command is produced by address decode logic 213 in response to an IOWC/ to address 00' χ ΌΗ from computer 50 via multibus 90. No data is needed to produce a reset interrupt command.
S (2) Transfer length load (XFER LNTH LD) - The transfer length load command is produced by address decode logic 213 in response to an IOWC/ at address 00' χ '2H from computer 50 and is presented to both transfer length register 210 and address register 211.
The transfer length load command causes the number of words to be transferred to be read into transfer length register 210. (3) Starting Address Load (STADR LD) - The starting address load command is produced by address decode logic IS 213 in response to an IOWC/ at address 00' χ '4H from computer 50. The starting address load command causes the high order 16 bits of the 20 bit starting address to be read into the address 00' χ '4H. This address is then shifted left 4 bits so that all starting addresses will be on even 16 byte boundaries. (4) Start Transfer (GO) - The start transfer command is produced by address decode logic 213 in response to an IOWC/ at address 00' χ '6H. The start transfer command goes to timing logic 203 where an enable signal is produced which enables inter£ace/-DMA 20. On the appropriate edge of the bus clock pulse, which is received by timing logic 203 from multibus 90, a BUSY/ signal is produced by timing logic 203 and interface/ DMA 20 begins data transfer on the next vertical sync pulse from camera 10.
The interface block captures the four most significant bits of data' from TV camera 10 and organizes them into 16 bit (2 byte) words. When a word has been formed a MWTC/ is sent to RAM memory 30 and data is transferred to memory 30 on multibus 90. Upon receiving an XACK/ from RAM memory 30, the interface removes the address and data' from multibus 90, decrements transfer length register 210 and increments address register 211 twice. The interface also keeps track of how many nibbles (pixels) it has received from TV camera 10 in any horizontal line. At the end of each line the number of nibbles received from the camera is checked and, if necessary, extra transfers made to memory 30 so that words-out equals words-in for each line. In the preferred embodiment the interface block transfers a 16 bit word into RAM memory 30 in 180 nanoseconds. This includes'all housekeeping functions on registers and timing functions required by multibus compatible circuits.
The rising edge of the vertical sync pulse, which occurs once each field, is taken as t = o. If an enable signal is presented by timing logic 203 at camera sync timing 204, then transfer begins. Four bits of data are loaded into one of the 4 by 4 registers comprising register file 202. As pointed out earlier, register file 202 comprises registers U7 through U10. The first pixel (four bits) is loaded, for example, in level 0 of register U7. The second, third and fourth pixels are loaded in level 0 of registers U8, U9 and U10, respectively. The fifth, sixth, seventh and eighth pixels are loaded in level 1 of registers U7, U8 and U9 and U10 respectively. Read work logic 207 (counter U5) controls which word location will be loaded and is incremented after every fourth nibble (pixel).
When data transfer commences, the zero levels of registers U7, U8, U9 and U10 are read out in parallel to form the first 16 bit (2 byte) word. The second word is transferred by reading out in parallel level 1 from registers U7 through U10. The high data transfer rates · are Obtained by sequentially loading data into one level of registers U7 through U10 while simultaneously reading data out in parallel from another level of all four registers.
When the fourth nibble has been loaded into register file 202, a XFER REQ signal is generated within write timing logic 209 (U13, pin 5) and used to enable address bus driver 214. After a suitable delay, an MWTC/ is asserted on multibus 90 by write timing logic209.
When RAM memory 30 has accepted the data an XACK/ signal is asserted on the bus and decoded by write timing logic 209 which causes removal of the address and data from the bus as well as the MWTC/. Transfer length register 210 is decremented and address register 211 is bumped twice to conform with the word transfer mode of operation.
At the end of each horizontal line if there are no words left in register file 202, counters U5 and U6 of read/write equalization 206 will be equal. If the counters are unequal, successive transfers will be made until the counters are equal. At that point, no more transfers will be made for that line. Transfer of data will continue until a zero length signal is generated by transfer length register 210. At that time bus control is relinquished and the interface block disabled. Computer 50 issues a RST INT command and reclaims control of the bus.
Referring to Fig.4, RAM memory 30 comprises control bus hardware 301, read/write buffers 302, memory array 303, address decode logic 304 and address block select jumpers 305. Memory array 303 preferably comprises a series of 64 pages, each page having 16K 8-bit bytes of storage. Control bus hardware 301 synchronizes between the bus and memory array 303. Address decode logic 304 determines whether the address on the bus corresponds to one in memory array 303. Address block select jumpers 305 determine the base address for each page (16K byte block) of address space in memory array 303. Read/write buffers 302 buffer data between memory array 303 and the bus in response to an enable signal produced by address decode logic 304.
Referring briefly to Fig. 5, which is a schematic diagram of one page of RAM memory 30, U53 through U58 are read/write buffers whereas U2 through U9, U10 through U17, U20 through U27 and U28 through U35 comprise 32 Intel 2147-3 4K by 1 bit logic chips providing for 16K 8-bit bytes of storage.
Referring to Fig. 6, bus oriented processor 40 comprises microprocessor (CPU) 401 which is preferably an Intel 8086 16-bit microprocessor. Processor 40 also comprises clock generator 402, status decoded 403, address latch 404, bus arbiter 405, address bus driver 406, data bus driver 407, bus command decoder 408, interrupt jumpers 409, programmable interrupt controller (PIC) 410, remote I/O decoder 411, mailbox register file 412, interrupt control register 413, local I/O address decoder 414, memory address decoder 415, data buffer 416, high speed RAM memory ,- 5104S 417 and high speed PROM memory 418.
Bus oriented processor 40 is itself a complete computer in the sense that it has an LSI microprocessor central processing unit, memory, interrupt priority resolution circuitry and bus arbitration. Processor 40 resides on the multibus and acts as an asynchronous computing resource. In multibus terminology, processor 40 is an intelligent slave. The configuration of processor 40 permits microprocessor 401 to operate on pro10 gram code and data at its maximum computing speed. In addition computer 50, which in multibus terminology is a master module, can address processor 40 and down-load and/or up-load program code and/or data for asynchronous processing by bus oriented processor 40. The central com15 ponent of processor 40 which permits this type of operation is the mailbox register file 412.' The implementation of a significant portion of the design of processor 40 is identical to the implementation of the Intel SBC 86/12 which, as previously noted, also employs an Intel 8086 16-bit microprocessor. Accordingly, only those areas will be described where there exist significant departures from standard design.
CPU 401 normally operates at an 8 megahertz clock frequency, although it can be made to operate at up to megahertz. All timing functions operate at the full51045 clock frequency without any wait states.
The memory of processor 40 has been organized into two separate address spaces. Addresses zero to 4O9S. comprise very high speed static random accesss memory 417 which may, for example, comprise Intel 2147-3 devices. Addresses 1,019,904 to 1,024,000 comprise high speed EPROM memory 418 which may, for example, comprise Intel 2716-1 devices. Memory address decoder 415 forces on board accesss for the two above-identified groups of addresses and forces bus access for all other addresses. Communication for initialization and normal operation of processor 40 is accomplished by means of dual ported mailbox register file 412 which responds to I/O commands, through jumper selectable addresses, from computer 50 as well as I/O commands from CPU 401. Thus, computerto-computer communications are accomplished through mailbox register file 412 which may, for exa'mple, comprise four 74LS170 4 by 4 register files.
Programmed I/O is also decoded as on-board or off20 board addresses. However, the on-board I/O device address are jumper selectable so as to avoid I/O address conflicts with other devices. Processor 40 comprises three I/O devices, viz; programmable interrupt controller 410; interrupt control register 413; and mailbox register file 412. Each I/O device is allocated a block of four addresses, each address being an even offset from a base address. For example, if the base address for programmable interrupt controller 410 were hexadecimal 40, then the succeeding addresses would be 42, 44, 46 and 48 in hexadecimal.
All I/O accessess not directed on-board are directed to the multibus. All bus oriented memory and I/O accesses are directed through normal bus arbitration. It should be noted, however, that CPU 401 may, under firmware con10 trol, lock the bus once it has completed arbitration and perform subsequent accesses without suffering any additional arbitration. This permits the fullest throughput performance to and from the bus, when necessary.
Processor 40 can also be made to operate as a slave processor. Under these conditions, upon initial power up and/or a hardware RESET, the firmware resident in processor 40 performs the initial configuration of programmable interrupt controller 410 and initialization of the memory, registers and stack pointer. The firmware then halts processor 40. Computer 50 on the multibus addresses mailbox register file 412 and loads a 16-bit vector into the mailbox register. Once the vector is loaded, an interrupt is generated to CPU 401. The firmware resident in processor 40 exits the HALT state and performs an I/O read to the mailbox register file. The 16-bit vector address is read and used as the most significant 16 bits in a 20-bit off-board memory address. This memory location is the first word in a processor control block (PCB). The firmware resident in processor 40 then accesses the PCB and reads and operates on processor control words (PCWs) contained within this PCB.
The PCWs direct processor 40 to perform one of the following three functions: (1) Send Status - form and place a processor status 10 word (PSW) in a designated location in memory. (2) Move Words - move words of program and/or data either from the memory of processor 40 to off-board memory (e.g. RAM memory 30) or vice versa. (3) Execute - execute program code starting at a 15 designated address.
The PCB contains a list of PCWs in a chain. Each PCW may be followed by appropriate data words. Once a PCW has been decoded and executed, an interrupt response will be sent, if so coded. The interrupt response is generated by interrupt control register 413. CPU 401 sets the appropriate interrupt level into interrupt control register 413 and this level is coupled to the multibus by means of an I/O write command to the interrupt control register.
This scheme of commanding processor 40 and utilizing the parallel interrupt mechanism permits high performance, asynchronous computation with a minimum of supervision and maximum flexibility. In operation, image processing algorithms are down-loaded into RAM memory 417 of pro5 cessor 40. These algorithms are executed on picel data stored in RAM memory 30 and provided to processor 40 via multibus 90. Thus, processor 40 performs high speed, asynchronous array processing of data stored in memory array 303 (Fig.4).
The program flow charts for an application of the present invention to label inspection are shown in Figs. 7A through 7H. First a master label is placed before TV camera 10. The output from the TV camera is then structured by interface/DMA 20 and stored in RAM memory 30.
Next the master label is displayed on TV monitor 80 using graphics imaging circuitry 70. Alternatively, the' master label could be displayed by a printer at operator control terminal 60. The particular inspection algorithm • . to be employed is then selected by the operator. The algorithm may, for example, involve an area calculation.
Alternatively, the algorithm may involve a weighted line computation. The operator next sets the window (portion of the 244 x 236 array to be inspected) and merit (threshhold) to be employed for the particular· inspection operation.
The system is now set to inspect labels on, for example, bottles as they come off a high speed fill line. As in the case of the master label, the subject label is imaged by TV camera 10 and the output from the TV camera is structured hy interface/DMA 20 and stored in RAM memory 30. The window is selected and a high speed image processing routine employed using bus oriented processor 40. The routine selected may, for example, involve area or weighted line calculations.
In both routines corresponding pixels from the master and subject labels stored in RAM memory 30 are selected and transferred to processor 40 where the absolute value of the difference in intensity is computed. From this value is substracted the selected noise offset, which compensates for background interference.
In the case of the weighted line routine, the weighted differences are accumulated across a given line. The result of the accumulation is then compared with the merit or threshhold chosen for this window.
If the accumulated result is greater than the merit, then an error is indicated. Assuming no error, successive lines of pixels are processed until the window has been completed at which time the system is ready to inspect the next subject label or the next window for this label.
In the case o£ the area routine, all non-zero differences for the shole window are accumulated and compared with the merit for the window. It will be appreciated that the merit for the area routine will normally be different from (greater than) the merit for the weighted line routine. If the accumulated differences for the window are greater than the merit for that window, an error is indicated. If not, the system is ready to process the next label or the next window for this label.
In both the area and weighted line routines the differences between corresponding pixels may be presented to an operator by a printer at terminal 6C or on TV monitor 80 so that, in the event of an error indication, the operator can see the cause of the error and, depending on its severity, accept or reject the label.

Claims (6)

CLAIMS:
1. A digital video inspection system comprising: a solid state digital TV camera having a two-axis array comprising over fifty thousand picture elements, each element 5 having at least sixteen levels of gray scale resolution, said TV camera producing digital data at a rate of at least seven megabits per second: a random access memory; an interface connected between said TV camera and said random access memory, said interface comprising means for ye 10 ceiving and temporarily storing data groups comprising at least the four most significant bits of data corresponding to-each digital video picture element and for forming said data groups into words, said interface further comprising means for performing a direct memory access 15 transfer of said words to said memory, means for monitoring the number of data groups received from said TV camera and the number of data groups transferred to said memory during a predetermined period of time, and means for ensuring that the number of data groups received from said 20 TV camera equals the number of data groups transferred to said memory during said predetermined period of time; a digital computer connected to said interface and said random access memory for controlling the operation of said system and a terminal connected to said computer 25 and adapted to permit an operator to communicate with said computer. 5ί 045
2. A digital video inspection system as claimed in claim 1 further comprising graphics imaging circuitry connected to said computer and a TV monitor connected to said graphics imaging circuitry for displaying-information 5 produced by said video inspection system.
3. A digital video inspection system as claimed in Claim 1 or 2 wherein said means for receiving and temporarily storing said data groups and for forming said data groups into words comprises a first-in, first10 out register file, said register file comprising at least four registers, each register comprising at least four storage levels, each level comprising means for storing at least four bits.
4. A digital'video inspection system as claimed in 15 Claim 3 whersin said interface further comprises means for reading successive data groups into one level of successive ores of said registers and for simultaneously reading a word from another level of said registers.
5. A digital video inspection system as claimed in 20 any preceding claim wherein said interface comprises means for transferring data to said random access memory at rates of on the order of ten million 8-bit bytes per second.
6. A video inspection system substantially as here25 inbefore .described with reference to the accompanying drawings.
IE95481A 1981-04-29 1981-04-29 Video inspection system IE51045B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
IE95481A IE51045B1 (en) 1981-04-29 1981-04-29 Video inspection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
IE95481A IE51045B1 (en) 1981-04-29 1981-04-29 Video inspection system

Publications (2)

Publication Number Publication Date
IE810954L IE810954L (en) 1982-10-29
IE51045B1 true IE51045B1 (en) 1986-09-17

Family

ID=11020202

Family Applications (1)

Application Number Title Priority Date Filing Date
IE95481A IE51045B1 (en) 1981-04-29 1981-04-29 Video inspection system

Country Status (1)

Country Link
IE (1) IE51045B1 (en)

Also Published As

Publication number Publication date
IE810954L (en) 1982-10-29

Similar Documents

Publication Publication Date Title
US4344146A (en) Video inspection system
US4445185A (en) Video inspection system
US4606065A (en) Image processing-system
US5588067A (en) Motion detection and image acquisition apparatus and method of detecting the motion of and acquiring an image of an object
US4309691A (en) Step-oriented pipeline data processing system
EP0150910A2 (en) Digital image frame processor
EP0549736B1 (en) Image reading system
JPS628072B2 (en)
JP2001311692A (en) Apparatus and method for visual inspection
US6920180B1 (en) Image processing inspection apparatus
US5321772A (en) Digital image processor
IE51045B1 (en) Video inspection system
WO1998022909A1 (en) Pipeline processor for medical and biological image analysis
CN113284116A (en) Real-time image analysis type red wine semi-finished product motion detection system
JPH03291507A (en) Inspection instrument for cylindrical body
EP0380090B1 (en) Image processing system
JP4445621B2 (en) Method and apparatus for accessing shared memory in multiprocessor type processing apparatus
RU215288U1 (en) Processor module for multifunction displays
EP0321070B1 (en) Data/image acquisition system
Drayer et al. A high performance Micro Channel interface for real-time industrial image processing applications
WO1999003063A1 (en) Method and device for acquiring and processing images
Chambers TIPS: a transputer based real-time vision system
Kinoshita Compact real-time image processor for moving object tracking
CN114418971A (en) Fault detection method and device, electronic equipment and storage medium
Vinz et al. Computer vision for real-time orbital operations. Center directors discretionary fund

Legal Events

Date Code Title Description
MM4A Patent lapsed