OPTICAL MARK READING SYSTEM

Abstract: An optical mark reader for evaluating marks on docu­ ments uses a line scanning camera which generates signal information indicative of marks on a scanned document; a selectable memory containing several document formats to choose from causes signal information from the scanned document corresponding to the selected format to be trans­ mitted for evaluation.

Description: OPTICAL READING SYSTEM This invention relates generally to optical mark reading systems, and more particularly to an optical reading system which extracts in formation from marks entered on documents. In conventional optical reading systems employed to extract information from characters or marks appearing on a document, such as, a student test answer sheet, a reading head is employed which consists of a mechanical mask having a plurality of apertures or .windows and an array of phototransistors aligned with the mask apertures to generate information as to the presence or absence of a mark on a small area of the document cor-responding to a mask aperture. Each document vendor employs a unique format, or pattern of mark areas on the document, thus each document format requires a different reading head having a mechanical mask with an aperture pattern consistent with the mark area pattern of the particular document format. Typically, the apertures of a mechanical mask form a linear array with a corresponding linear array of phototransistors aligned with the apertures. A document to be read is conveyed beneath the reading head such that the linear array of phototransistors extracts information on a line-by-line basis frorn the moving document. In the application of such an optical reading system to a test answer sheet on which a student has entered an answer selection by filling in a designated mark area with a graphite pencil, the phototransistors would transmit a signal on the basis of the light reflected from the por tion of the scan document defined by the corresponding mask aperture. The mechanical aperture mask of the conventional reading head of an optical reading system limits the use of the optical reading system to extracting information from a document format corresponding to the mechanically fixed pattern of apertures in the associated mechanical mask. This approach to defining the format sensitivity of an optical reading system significantly limits the flexibility of an optical reading system for extracting information from a variety of document formats. The object of this invention is to provide an optical reader without the disadvantages of prior art arrangements. The invention in its broad form consists in an optical mark-reader apparatus for reading and evaluating marked information from a document line by line, compris ing: a line scan video camera means for scanning success ive lines of a document and developing an analog video output signal corresponding to any marked information present on each scan line; analog-to-di-gital converter means connected to said line scan video camera means to convert the analog video output signal into a digital signal; a plurality of selectable document formats, each format defining a specific pattern of document areas or locations; selector means for selecting one of said plur ality of selectable document formats; and digital informa tion processing means operatively connected to said sel ectable document formats and said analog-to-digital con ester means and responding to the selected document format to process those portions of the digital signal of a scan line which correspond to the pattern of document areas or locations defined by the -selected document for mat. In a preferred embodiment disclosed herein, the conventional mechanical mask apertures and associated array of phototransistors of prior art arrangements are replaced by a commercially available line scanning camera having an array of photosensitive elements, i.e. charge coupled devices, forming a linear detector, and a storage memory having a plurality of selectable stored stored document formats which function to "mask" the information extracted from -a document by the line scanning camera in accordance with a selected stored document format. The information obtained is like a black/white signature; the black/white signature of a scan line, or sweep, of the line scanning camera across a document produces an analog "video" output signal from the camera. This signal is connected to a digital converter which converts the analog signal into a multiplicity of digital levels, or thresholds, indicative of the white/gray/black levels of discrete portions or "pixels" (picture elements) of each document line scan, corresponding to each photosensitive element in the camera. This multilevel mark density discrimination is utilized to obtain electronic differentiation between a smudge, an inadvertent pencil mark, an erased answer, and a legitimate mark or character appearing on the document. The "masking" of each scanned line of a moving document in accordance with a specific document format is controlled by the selected stored program of a memory device such as a host computer or a series of programmable read-only-memories (PROM's). The selection of the setting of the optical reader for a particular stored document format to achieve the desired "masking" can be implemented by a simple mechanical selector switch, or can be controlled by an external computer which may also be used to evaluate the information appearing on the document corresponding to the selected document format. The selectable memory device used herein controls the inherently high resolution output capability of .a line scanning camera. While the selectable document format masks can be prograrrmed into an external computer or a host computer, the availability and state of the art of inexpensive programniable read-only-memories (PROMs) permits the use of such devices for the document format masking control means. Thus, the basic scanning system employing the line scanning camera can be adapted to read any given document format merely by introducing a different- programmable read-only-memory having a stored pattern corresponding to the particular document format to be read. The memory means containing the stored document formats operates in conjunction with a data totalizer to totalize data from the line scanning camera corresponding to the pixels within the designated mark areas of the document format to be read. Thus, a single optical reading system, including a plurality of selectably activated stored document formats, each representing a document format of a particular document, has the desired flexibility to be instantaneously adaptable for reading any given document format. A consequent advantage is that documents of widely varying formats can be scanned on an intermixed basis within a stack of documents to be fed into the optical reading system. This flexibility and capability is not available in the conventional optical reading systems. The line scanning camera, together with associ ated optics and light source, and in combination with selectable, stored document-format control and related processing logic, as described herein, achieves higher resolution, more flexible document reading than has herein tofore been possible. The invention will become more readily apparent from the following exemplary description to be studied in conjunction with the accompanying drawings in which: Figures 1 and 2 are Prior Art illustrations of the conventional mechanical-aperture-mask reading head employed in prior art optical reading systems; Figure 3 is a block diagram illustration of an embodiment of the invention employing selectable program mable read-only-memories (PRO'ls) for determining the document format of an optical reading system; Figure 4 is a block diagram schematic illustra tion of the embodiment of Figure 3; Figure 5 is an illustration of a document format including the scan interval associated with a scan mark and mark areas of a document row; ; Figures 6, 7 and 8 are detailed schematic imple mentations of the embodiment of Figs. 3 and 4; and Figure 9 is a modification to the schematic of Figure 4 to include a data reducer between the totalizer and the information processor. Referring to Figures 1 and 2 there is pictorially illustrated a Prior Art embodiment of an optical reading system S consisting of a reading head RH which views on a line by line basis the information on a moving document D illuminated by a light source L. The document D exhibits a document format having a vertical scan track ST of timing marks, or scan marks, SCM and a pattern of mark areas MA, as in a test scoring answer sheet, suitable for accepting a data mark DM typically produced by filling in a mark area MA with a graphite pencil. The reading head RH consists of a mechanical mask M having a linear array of apertures or windows W and a photodetecting device P associated with each window W. The photodetecting device P transmits an e]ectrical signal indicative of the light reflected from a mark-area portion of the document and passed by the corresponding window W to a signal processing circuit SP which functions to identify the presence or absence of a data mark DM in the mark areas MA viewed by the respective photodetectors P. A photodetector P associated with a window aligned with the scan track ST permits identification of the line or row of mark areas being viewed by the reading head RH at any given instant of time. The traditional reading head RH of Figures 1 and 2 is replaced in the inventive embodiment of an optical reading system 10 of Figure 3 by a line scanning camera Ls and digital processing system DP. The line scan camera 30 can be suitably implemented through the use of commercially available line scan camera systems such as the Fairchild model CCD1300 which consists of a 1024 element charge-coupled device line scan camera. The 1024 element charge-coupled device module of the line scan camera forms a line scan array which senses a line of optical informa-. tion corresponding to an illuminated line of the moving document D and produces an analog wave form which is proportional to the brightness of various areas of the image of the data or information present on a given line scan of the document D. The high density, i.e. 1024 elements of the line scan array of the camera 30 which corresponds to 100 or more sensing elements per scanning inch of an 8-1/2 inch wide document, effectively represents a continuous series of pixels (picture elements) for extracting optical information. Thus, each mark area MA is translated into a plurality of optical points as con trasted with the single discrete photodetecting device P of the Prior Art, thereby significantly increasing the resolution of the optical reading system 10 over that available from the Prior Art optical reading system illu- strated in Figures 1 and 2. Thus, the use of a line scan camera as described above, eliminates the Prior Art rc- quirement to mechanically specify a fixed location )f each mark area within a document format, but rather permits a document format designer to locate the mark areas at any desired location, because the high resolution of the line scanning camera permits many pixel points to be interro gated in a given sweep across the width of a document. The motion of the document in the cross-scan direction exposes successive sweeps, or lines, of th.e document to the line scanning camera JS. Thus, the horizontal sweep ing of the camera across the width of the document coupled with the vertical movement of the document perpendicular to the camera sweep line generates the equivalent of a -raster-scanning capability such as that present in CET displays. Assuming for the purpose of discussion that the scanning direction of the camera represents the horizontal and the direction of movement of the document D represents the vertical, the line sweeping action of the line scan ning camera LS in the horizontal direction will generate a pluraJty of optical scanning points, or pixels, and the notion of the document will expose successive vertical increments or lines of the mark areas MA of a document row of mark areas MA to additional scanning points, or pixels. Thus, as illustrated in Figure 5, a plurality of scanning points, pixels, define a mark area as contrasted with the single photodetector "scan point" of the prior art. This significantly increases the accuracy of detecting a data mark DM in a mark area MA. Typically, the line scanning camera generates a scanning sweep at a very high speed, i.e. 5 to 10 megahertz. The optical information derived at each pixel, or scan point, by the line scanning camera LS is transmitted as an analog signal to an analog signal processing circuit converter SC. The signal processing circuit SC functions in part to convert each analog signal representing a pixel into a two bit digital signal which establishes four levels of grey scale for each pixel. If additional grey scale resolution is required a digital signal of more than two bits can be generated. In the application of the system 10 for grading a student's test score in terms of the presence or absence of data marks DM in the mark areas MA of the document D, a first digital level could be defined as indicative of the absence of any mark, a second digital level has an indication of a low density-mark, a lightly made mark, smudge, or erasure, while a third digital level would correspond to a medium density mark and fourth digital level would indicate a high density mark corresponding to a mark area filled in heavily with a pencil. Similar multiple level discrimination techniques are commonly employed in stateof-the-art scanners; the only parameter that varies between manufacturers is the specific number of -den i;; levels employed. The high resolution capability associated with the multiple scanning points, or pixels, defining a given mark area MA permits, as stated hereinabove, a much finer level of relative mark-density resolution than is avail able in commercial optical reading systems. This is very important in reading documents used in student-test answer-sheet or election-ballot processing, since the individuals- will in most cases change their minds thus resulting in smudges and erasure. It is essential to establish a critical requirement for accurate discrimination between extraneous marks and the mark corresponding to an individual's answer or ballot selection. The digi tired outputs from the analog signal processing circut SC corresponding to the piscls are transmitted to a mark area totalizer MT which accepts and accumulates the digital levels for the predetermined mark areas ELA of a document row of the document D as dictated by the stored document format of one of the storage memory devices SM1, SM2, SMn of the storage memory SM, as selected by selector switch SW. Any digital level information transmitted from the signal processing circuit SC which does not correspond to the mark areas MA of the selected stored document format is discarded by the mark area totalizer MT. After the digital levels of all the pixels of a given document row have been accumulated in the mark area totalizer MT, this digital information is transmitted as a 12 bit digi tal word to an information processor IP. In the event the document D represents a student's test answer sheet, the evaluation performed is- the grading of the student's test answer sheet. The storage memory devices SM1, SM2, ... SMn of storage memory SM can be most appropriately implemented through the use of commercially available programmable read only memories (PROMs) such as the Harris PROM 1024 which is a trademark. Each PROM is programmed in accord ance with a specific document format corresponding to a two dimensional pattern of mark areas MA and scan marks SCM. The stored format represents an "electronic mask" having "apertures" located only at the positions of mark area locations and scan mark locations of a specific document format. The capability of the system 10 for extracting information from different document formats is limited only by the number of individually programmed storage memory devices that are made selectively available to the mark area totalizer MT through the selector switch SW. The format pattern recorded into a PROM establishes the horizontal or width dimension of each mark area MA and scan mark SCM, and further defines the number of scan lines determining the vertical dimension of the mark areas NA and scan marks SCM. In addition to the stored document format each PROM includes control words to implement a program operation. The term scan row as used hereafter corresponds to the total of all pixels, or scan points, of the two dimensional mark areas MA and scan marks SCN of a given horizontal row of the scanned document after a number of camera sweeps or scan lines as dictated by the selected storage memory device have been completed. In a test answer sheet evaluation the mark area totalizer MT functions to "weigh" the graphite present within the respective mark areas MA of the document D corresponding to the stored document format selected by selector switch SW. The scan line illumination of the moving document D is provided by a line light source 20. Numerous line light source systems are available for directing line illumination on the document D, and a choice of a suitable light source will be easy for one skilled in the art. The line light source 20 includes a commercially available elongated cylindrical incandescent lamp 21 positioned within an elongated cylindrical tubular light reflecting means 22 which produces a uniform light pattern through a light diffuser strip window 23. The light reflecting means 22 consist of a tubular glass member 23 having a light reflective coating 26 disposed on the outside surface area except for the surface area defined by the light diffuser strip window 23. The surface area of the tubular glass member 25 corresponding to the light diffuser strip window 23 is treated by a suitable process such as etch ing, sandblasting, etc. to impart the light diffusing characteristics to the window 23. The light reflective coating, which may be a metalized coating, concentrates the light emanating from the lamp 21 for transmission through the light diffuser window 23. A cylindrical rod lense (not shown) can be disposed between the light source 20 and the document D to further concentrate the line illumination output of the light source 20 onto the scan line SL portion of the document D which is scanned by the line scanning camera LS. Referring to Figure 4 there is schematically illustrated in block diagram a typical implementation of the signal processing circuit SC of Figure 3. The mark area totalizer MT is illustrated for the purpose of discussion, as consisting of a plurality of storage registers or storage counters 52. The timing and synchronizing of the mark area totalizer NT and the storage memory SM which is coupled by selector switch SW through a logic control circuit L to the mark area totalizer MT is accomplished by the clock control output of the line scanning camera LS. The number of storage counters SR is no less than the maximum number of the mark areas NA of any scan row of any of the stored document formats of the storage memory devices (SMl...SMn). In operation, an analog output developed by the sweep of the line scanning camera LS is converted by the signal processing circuit SC and transmitted to the mark area totalizer MT for storage in an appropriate storage counter SR. The output of a selected storage memory device indicative of a specific stored document format is synchronized with the sweep of the line scanning camera LS such that for any given scan point, or pixel, the selected stored document r,-.rmat directs whether the digital information corresponding to the pixel corresponds to a mark area MA of the specific. document format by permitting digital information corresponding to the mark areas to be accumulated in the mark area totalizer MT. Thus, with each successive sweep of the line scanning camera LS across the document, the digital information generated by the circuit SP corresponding to the pixels of the mark areas NA of the stored document format selected by selector switch SW are accumulated in the respective storage counters 52 of the mark area totalizer MT. At the conclusion of the scanning operation of a scan row of the document D, the digital counts at the respective mark areas MA of the scan row, as stored in the mark area totalizer MT, are transmitted for processing by the information processor IP, which may typically be a general purpose or host computer. Inasmuch as the number of data points transmitted by the mark area totalizer MT to the information processor IP typically far exceeds the resolutiondiscrimination necessary for accurate evaluation of the mark area information on a document, a range converter RC or data reduction scheme, as illustrated in Figure 9, can be employed to reduce the data points ultimately transmitted for processing by the information processor 1P. In the embodiment disclosed above, the definition, location, quantity and size of the mark areas MA of a document format are controlled by the stored document format of the selected storage memory device of the storage memory SM which is synchronized with the output sweep of the line scanning camera LS such that as each successive pixel readout is presented to the analog signal processing circuit. SC, the corresponding clock signal of the line scanning camera LS is synchronized with the readout of the selected storage memory SM1, etc. For instance, a binary 1 readout of -the selected storage memory device results in the storage of the corresponding digital information in a specific storage counter 52 as determined by the logic control circuit L. If, on the other hand, the output of the selected storage memory device of storage memory SM at the particular or pixel is a binary 0 the corresponding digital information from the circuit SC is not entered for storage in the mark area totalizer MT. Thus, a binary 1 output from a selected storage memory device (SMl-SMn) defines a mark area MA of the stored document format, while a binary 0 output defines an area of the document other than a mark area MA. Another very important function of the storage memory device SMl...SEln is the stored information within it which defines the locations on the stored document format corresponding to the scan marks SCM of the scan track ST which provide scan row registration and location information. The scan marks SCM function to define the location of the marly area rows of the document with respect to the scan line developed by the line scanning camera 30. A verification circuit, VR translates outputs from the analog signal processing circuit SC indicative of the presence or absence of a document. A comparator 43 in the circuit SC develops a signal indicating the presence or absence of a document under the camera LS. Assuming the use of a programmable read only memory (PROM) to implement the devices of the storage memory SM this information as well as the mark area document format is imprinted into the programmable read only memory. A PROM which could be an inexpensive type thus becomes the system intelligence for defining the mark areas MA and scan mark SCM of a specific document format. As a prelude to a description of a typical detailed implementation of the signal processing system SP as schematically depicted in Figures 6, 7 and 8, the following terms are defined: Scan Mark Look Window (SMLW) - a horizontal timing signal encompassing the Scan Mark measured in terms of pictures. Video Valid (VV) - a logic signal developed by the Fairchild line scanning camera indicating te -'resence C valid video information. ocan I...er;al (SI) - a vertical tiring signal, measured in terms of camera scan lines, generated in response to a Scan Mark of appropriate duration and appearing within prescribed time boundaries. The Scan Interval starts immediately on the same scan line following the detection of a valid Scan Mark. Its total duration is equal to the sum of Row Scan Delay, Row Scan Length, and Doodle Eliminator Dura Lion. Row Scan Delay (RSD) - the delay in terms of scan lines corresponding to the number of lines separating the Scan Mark and the line corresponding to the leading edge of a Row Scan. Row Scan (KS) - the time interval expressed in a number of camera scan lines comprising the Mark Areas of a row of Mark Areas. Doodle Eliminator (DE) - the time interval ex pressed in the number of camera scan lines extending from the trailing edge of the Row Scan to the trail ing edge of the Scan Interval. This time interval forms a protecLive region over which any erroneous mark or doodling on the document that may be associ ated with the genuine Scan Marks will be ignored. Mark Scan Interval (MSI) - is the number of pixels in a horizontal scan line of a mark area. The nomenclature identifying each circuit component of Figures 6-8 is conventional JEDEC designation identifying components which are commercially available from numerous sources such as Texas Instruments. Rcferring now to Figure 6, there is schematically illustrated three PROM's SM1, SM2, SM3, and SM4 comprising the storage memory SM wherein each of the individual PROM's is selectable by the storage memory select switch SW. A PROM addressing arrangement PA provides access to three types of data stored in the respective program of read only memories of the storage memory SM. The stored data includes Scan vlark parameters, 'ar' Area vertical parameters, and Mark Area horizontal parameters. The Scan maze parareters define the position and duration of the Scan Mark Look Window (Sl'lLi') of Figure 5 and also determine the maximum and minimum duration of the scan mark. The mark area vertical parameters determine the Row Scan Delay, the Row Scan Duration, and the Doodle Elimin ator Duration of Figure 5. The mark area horizontal parameter MSI deals with the horizontal locations and horizontal dimensions of the mark areas, defining their pattern along the scan line of the camera LS. A mark area registration signal is also provided to compensate for variations in the positioning of the document. Each programmable read only memory of the storage memory SM may be, for example, a 256x4 read onlymemory. The organization of the data stored each of .the programmable read only memories is such that the first sixteen address locations in each programmable read only memory contains the Scan Mark, Row Scan Delay, Row Scan, and Doodle Eliminator data which are collectively referred to as the programmable read only memory control words, while the remaining 240 address locations of each PROM contain only the data relating to the mark area pattern of a specific document format. Relating to the stored data to the scan opera tion of the camera, the control word information can be related to the "fly back" or- down time of the camera, while access to the mark area location information is maintained during the active time of the line scanning camera. A suitable programmable read only memory for implementing the storage memory SM is the Harris PROM 1024. During the down time, the PROM address generator PA which consists of binary counters BC1, BC2, and BC3 is clocked through addresses corresponding to the programma ble read only memory control word data. Appropriate control word loading wave forms SO-S9 are developed by the control word load signal circuit CW. During the active time of th line scan of the camera LS, the selected PROeí of the: stodge rer':y -e responds C the pre¯¯essL e count output fro:' the lRO."I address generator PA by producing four-bit data output RO, R1, R2, and R3 to define the mark areas MA of the document format of the selected PROM. The four-bit data output from the selected PROM is transmitted through the multiplex circuit MX as pixel scan enable signals PSE to the mark area totalizer MT to effect totalizing of pixel information appearing within the mark areas MA of the selected document format. While for the purposes of discussion, it can be assumed that the horizontal positioning of a document beneath the line scanning camera LC is consistently and accurately achieved, practically speaking the horizontal position of successive documents may vary. In order to accommodate for variations in positioning of the document, the position of the mark areas MA is referenced to the leading edge of a scan mark SM. This is accomplished by detecting the true displacement and corresponding pixel count between the start of the Scan Track Look Window as determined by the signal STLW developed by the Scan Track Look Window Circiut STL of Figure 7 and the leading edge of the scan mark SM of the specific document in question. The count obtained is the amount of correction by which the PROM 'address generator PA of Figure 6. is adjusted. The Horizontal Mark Area Correction Circuit iA of Figure 6, which consists of down counters DC1 and DC2, provide a compensating count to the PROM address generator PA which corresponds to the time interval between the leading edge of the Scan Track Look Window and the leading edge of the scan mark SM. The binary down counters DC1 and DC2 are enabled by thoe J/K flip-flop circuit FF1 having as an input the Scan Track Look Window signal STLW. The parameters describing the Scan Track Look Window of circuit STL of Figure 7 are the absolute starting location and duration, both expressed in terms of pixels. Loading signals SO, S1 and S2, as generated by the control word load circuit CW of Figure 6 are synchronous with the first three PROM addresses and this data is loaded and clocked into down counters DC2, DCe. arc through gate G1. When a down count value of zero is reached the J/K flip-flop FF2 generates a Scan Track Look Window signal STLW. While the generation of the Scan Track Look Window signal STLW is taking place, the scan mark SCM width is checked against predetermined maximum and minimum limits by the scan mark width validation circuit SMV. The maximum and minimum limits for the width of the scan mark SCM are expressed in a six-bit code, each located in the next three address locations of the PROM address. The maximum and minimum scan amrk width data is loaded via signals S3, S4 and S5 during the down time of the line scan camera into the down counters DC5, DC6, DC7, and DC8. If the duration of the scan mark SM is within predetermined limits, a Scan Interval SI signal is generated by flip-flop circuit FF3. The Row Scan Delay, Row Scan Length, and Doodle Eliminator duration are all expressed in terms of a fourbit code occupying PROM addresses 6, 7, and 8, respectively, measured in terms of line scans. This data is loaded into down counters DC9, DC10, and DCll during the down time of the line scanning camera LS by the load signals S6, S7, and S8. The down counter DC9 is in a disabled state until the Scan Interval SL is generated while down counter DC10 is disabled in response to signals RS and SI applied to gate G2. The clocking of the down counter DC9 during the active time of the line scanning camera starts with the nest scan line following the generation of the Scan Interval signal SI. When down counter DC9 reaches zero following a count corresponding to the Row Scan Delay, the flip-flop circuit FF4 changes state and produces a Row Scan signal RS which disables down counter DC9 and enables down counter DC10, the count content of which corresponds to the Row Scan Length. After a count of zero is reached in the down counter DC10, an output pulse CO terminates the Row Scan RS and enables the down counter DCl whose count content corresponds to the Doodle Eliminator duration. In a similar manner, when the count of zero is reached in the down counter DCll, an output signal End Scan Interval ESI is generated which terminates the Scan Interval SI of the flip-flop circuit FF3. The implementation of the Mark Area totalizer FIT is schkmatically illustrated in Figure 8 consists of a ERA}1 address generator RAG, a RAM storage RIMS, and an adder circuit ADD. The RAM address generator RAG consists of binary counters BCl and BC2 which are cleared to address zero at the beginning of a Kow Scan by the Beginning Row Scan signal BRS. The totalizing process accumulates the two-bit data corresponding to the analog output of the line scanning camera produced during line by line scanning of the mark areas of the document. The line content of each mark area is stored at a distinct address in the random access memory storage !S. As a document moves vertically, the mark area data corresponding to successive horizontal scan lines are added to the content of the previous scan line via the circuitry of the adder circuit ADD associated with the RAM elements RM1, RM2, and RM3 of the RAM storage RMS. When a Row Scan has been completed,. i.e. sufficient line scans of the mark areas of a scan row to cover the complete vertical dimension of the mark area, the random access memory storage RMS contains a twelve-bit binary code at distinct address locations corresponding to the mark areas MA of the scan row of the selected document format.. Each twelve-bit binary word corresponds to the sum of all of the pixel weights constituting R specific mark area. This stored informtion is then available for transmission to the informatipn processor ,cgrtuit 70, which, as indicated above, may consist of a host.computer. A computer handshake, i.e., the process whereby the computer is alerted to the fact that the information is available and the computer in turn indicates ie is ready to accept the information, can be accomplished by the computer handshake circuit C.(. The End of Row Scan signal ERS developed by the dot counter DOiC c figure - is gated through logic circuit it as a data ready signal to the information processor circuit 70. In response to a data request signal from the information processor circuit 70, the logic control circuit causes the twelve-bit words (D0-Dll) corresponding to the pixel weights of the re spective mark areas MA totalized in the random access memory storage RMS to be transferred to the information processor circuit 70. The range converter circuit RC depicted schematically in Figure 9 for reducing the 12 bit binary output word of the mark area totalizer MT to a four bit binary input to the information processor IP consists of a series-parallel combination of four bit by 256 word read only memories R1, R2 and R3. The read only memories R1, R2 and R3 can be implemented through the use of commercially available programmable read only memory devices such as the Harris Prom 1024A. Each of the read only memories has eight inputs. In the embodiment of Figure 1, the six most significant bits, 6 MSB, of the 12 bit binary word developed by the mark area totalizer are supplied as inputs to six of the eight inputs of the read only memory R1. The six least significant bits 6 I,SB, of the 12 bit word from the mark area totalizer MT are supplied as inputs to six of the eight inputs of the read only memory R2. The two remaining inputs of read only memory R1 accept 2 bits of range factors or compression factor, information via the logic circuit L from the selected storage element of the storage memory SM while the 2 remaining inputs of the read only memory R2 accept 2 bits of off-set factor information from the selected storage element via the logic circuit L. The 2 bit range factor input and the 2 bit offset factor input of the read only memories R1 and R2 respectively results in 4 possible range factor input signals (00, 01, 10, and 11) and 4 separate offset factor inputs (00, 01, 10, and 11). Thus the range factor inputs and offset factor inputs of read only memories R1 and R2 can select any one of 4 separately prxlarammed sections. of the respective read only memories '¯\1 a.d R2. The stored binary range factor information of the selected storage element determines which of the 4 programmed sections of the read only memory R1 will be selected for processing the sis most significant bits of the'12 bit output of the mark area totalizer MT. Similarly, the offset factor information stored in the selected storage element will determine which of the 4 programlnedd sections of the read only memory R2 will process the six least significant bits of the 12 bit output of the mark area totalizer -MT Th.e range factor input to the read only memory Rl provides- an upper limit range control associa-ted with the six most significant bits. The offset factor input to the read only memory R2 provides a variable lower limit zero offset control. Thus instead of the program of read only memory R2 responding to the lea,st significant bits from zero to some predetermined level, the offset factor input provides the capability of ignoring the lowest of the least-significant bits Thus. the zero offset capability at the lower end of the 12 bit output of the mark areatotalizer MT, and the upper range limit control of the 12 bit output permits processing of a preselected portion of the 12 bit binary output word of the mark- area totalizer MT. This compression technique provides a basis fdr ignoring. mark area coun.t values which are less than that -anticipated from a true data mark and employing the full resolution on mark area count values which correspond to a data mark. Uhus t.he read only memories R1 and R2 take the totalized output of the mark area totalizer MT and range this output such that the darkest anticipated data mark corresponds to the full scale range of the read only memory R3.. The 4 bit output of the read only memories R1 and R2 serves as the 8 input to the read only memory R3 which converts the 8 bit input into a a bit output in accordance with the programming of the read only memory R3. The 4 bit r)tpu.t of the read only memory R3 series as the input to the information processor IP. The read only memories 'R1, R2 and R3 can be- programmed in accordance with any one of several known compression function techniques, i.e., logarithmic, parabolic, linear, etc.

Claims: What we claim is.: 1. An optical mark-reader apparatus for reading and evaluating marked information from a document line by line, comprising: a line scan video camera .means for scanning successive lines of a document and developing an analog video output s-ignal corresponding to any marked information present on each scan line; analog-to-digital converter means connected to said line scan video camera means to convert the analog video output signal into a digital signal; a plurality of selectable document formats, each format defining a specific pattern- of document areas or locations; selector means for selecti-ng one of said plurality of selecta-ble document formats; and digital information processing means operatively connected to said selectable document fo.rmats and said analog-to-digital converter means and r-esponding to the selected document format to process those portions of the digi-tal signal o-f a scan line which correspond to the pattern of document areas or locations defined by the selected document format. An '.r. t t'ti'C" -'. tac r' - - - - in claim 1 including a storage memory means, said plural ity of selectable document formats be-ing stored. in said storage memory means, said selector means including means for sele-ctively obtaining access to the stored selectable document 'formats'. 3. An optical r.. m x reader apparatus as claimed in claim 1 including a plurality of programmable read only memories, each of said selectable document formats being stored in a programmabi e read only memory. 4. An optical mark reader apparatus as claimed in claim 1 wherein said digital information processing means includes digital totalizing means for totalizing digital information of the digital signal from the analog to digital converter means which corresponds to the pattern of document ait(.'s or locations defined by the selected document format, said digital totalizing means developing a multi-bit digital output signal indicative of information present in marked document areas or locations defined by the selected document format. 5. An optical mark reader apparatus as in claim 1, wherein said document is in the form of a student answer sheet or an election ballot sheet on which an individual's selections are marked, for e.g., in the form of graphite pencil marks, within defined mark areas of the document in accordance with an individual's marked selections, the document format including a predetermined pattern of mark areas and preprinted scan marks for system timing, wherein said digital totalizing means develops a multi-bit digital output signal indicative of the presence or absence of marks within the mark area pattern of the selected document format. 6. An optical mark reader apparatus as claimed in claim 5 further including means connected to said digital totalizing means for discriminating between mark area digital infonnation indicative- of a valid mark and that of an erroneous Mark. 7. Ar. optical mar' reader apparats a in claim ' çul-ther including linf lire light source source r illuminating the document scan line of the line scan video camera means, said line scan video camera means including a linear array of light responsive elements, said analog video output signal being indicative of the level of light reflected from the portions of the document corresponding to the light responsive elements. 8. An optical mark reader apparatus as in claim 1, wherein said selector means together with one of said plurality of selectable document formats forms an electronic mask defining a specific pattern of document areas or locations of interest. 9. An optical mark reader apparatus..as claimed in claim 8 wherein said means for generating an electronic mask is a programmable read only memory. 10. An optical mark reader apparatus -as in claim 9 wherein each said selectable document format includes preprinted scan marks for system timing.

Inventors: MCMILLIN, JOHN VYUYAN, SCHROEDER, DALE WILLIAM
Applicants: WESTINGHOUSE ELECTRIC CORPORATION
Application year: 1980
Main classification: G06K7
IPC codes: G06K7