JP4227859B2 - Mark sheet reader - Google Patents
Mark sheet reader Download PDFInfo
- Publication number
- JP4227859B2 JP4227859B2 JP2003279452A JP2003279452A JP4227859B2 JP 4227859 B2 JP4227859 B2 JP 4227859B2 JP 2003279452 A JP2003279452 A JP 2003279452A JP 2003279452 A JP2003279452 A JP 2003279452A JP 4227859 B2 JP4227859 B2 JP 4227859B2
- Authority
- JP
- Japan
- Prior art keywords
- mark
- image data
- image
- binarized
- value
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、マークシート読取装置に関し、特にマークシートに記入されたマークの濃度からマークの有無を判定し、読取データを出力するマークシート読取装置に関する。 The present invention relates to a mark sheet reading apparatus, and more particularly to a mark sheet reading apparatus that determines the presence or absence of a mark from the density of a mark entered on a mark sheet and outputs read data.
従来のこの種のマークシート読取装置では、図4に示すように、画像入力部41と、濃度処理部42と、マーク判定部43により構成される。画像入力部41にて、実際の帳票イメージを多値メモリに格納する。多値メモリには濃度に応じた値が画素毎に入っている。図5にその例を示す。濃度値を0〜9の10段階とし、0に近いほど白く、9に近いほど黒を表している。 As shown in FIG. 4, the conventional mark sheet reading apparatus of this type includes an image input unit 41, a density processing unit 42, and a mark determination unit 43. The image input unit 41 stores the actual form image in the multi-value memory. The multi-value memory contains a value corresponding to the density for each pixel. An example is shown in FIG. The density value has 10 levels from 0 to 9, and the closer to 0, the whiter, and the closer to 9, the black.
濃度処理部42では多値メモリに入力された各画素の濃度値から、読取マーク枠(矩形で囲まれる)内のマーク濃度値を算出する。算出方法には、マーク枠に囲まれた画素の中の最大濃度値をマーク濃度値とするものや、マーク枠内の各画素濃度を加算し、マーク枠内の画素数で割った平均値をマーク濃度値とする方法がある。 The density processing unit 42 calculates the mark density value in the reading mark frame (enclosed by a rectangle) from the density value of each pixel input to the multilevel memory. For the calculation method, the maximum density value in the pixels surrounded by the mark frame is used as the mark density value, or each pixel density in the mark frame is added and the average value divided by the number of pixels in the mark frame is used. There is a method of setting the mark density value.
マーク判定部43では濃度処理部42で算出したマークの濃度値と、予め指定した濃度値(判定しきい値)を比較し、判定しきい値より大の場合はマーク有と判定し、以下の場合はマーク無しとする。(例えば、特許文献1参照。)。 The mark determination unit 43 compares the density value of the mark calculated by the density processing unit 42 with a predetermined density value (determination threshold value). If there is no mark. (For example, refer to Patent Document 1).
上述した従来技術では、一本棒マーク、○印、レ点等のマークとノイズ(紙面の汚れ、消し残し等)を区別することが困難な場合がある(図5 a)。例えば、マーク枠で囲まれた各画素の濃度値が図5a〜dのような場合、1本棒マーク(正常マーク)、紙面汚れ、消し残しのマーク濃度値を算出すると図6のようになる。 In the above-described prior art, it may be difficult to distinguish a mark such as a single bar mark, a circle mark, a check mark, and noise (stained paper, unerased paper, etc.) (FIG. 5a). For example, when the density value of each pixel surrounded by the mark frame is as shown in FIGS. 5a to 5d, the mark density value of one bar mark (normal mark), paper stain, and unerased is calculated as shown in FIG. .
最大濃度値をマーク濃度値とした場合、しきい値を8とすると消し残りはマーク無しと判定されるが、1本棒マーク、紙面汚れは共にマーク有りとなってしまう。 When the maximum density value is the mark density value, if the threshold value is set to 8, the remaining unerased is determined to have no mark, but both the single bar mark and the paper surface stain are marked.
また、平均濃度値をマーク濃度値とした場合、判定しきい値を2.0とすると紙面汚れはマーク無と判定されるが、1本棒マーク、消し残りは共にマーク有りと判定される。つまり何れの濃度算出方法でもマークとして読み取りたい1本棒マークと紙面汚れ、消し残りの区別はできないという問題点があった。 When the average density value is the mark density value, if the determination threshold value is 2.0, it is determined that there is no mark on the paper surface, but it is determined that both the single bar mark and the unerased mark are present. That is, there is a problem in that any density calculation method cannot distinguish between a single bar mark to be read as a mark, a paper surface stain, and an unerased portion.
本発明は上記問題に鑑みてなされたものであって、本発明は、1本棒マークやレ点マークなどと、帳票の汚れや消し残りを区別し、安定したマーク読取を実現可能なマークシート読取装置を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and the present invention distinguishes between a single bar mark, a check mark, etc., and a dirty or unerased form, thereby enabling stable mark reading. The purpose is to provide.
請求項1記載の発明は、マークシート読取装置において、マークシート上の複数のマーク画像を入力する画像入力部と、前記画像入力部から読み取られた前記複数のマーク画像の多値化イメージデータを格納する多値画像メモリと、前記多値化イメージデータを予め指定された二値化しきい値で二値化して二値化イメージデータを格納する二値化画像メモリとを有し、前記多値化イメージデータのマーク毎の画素の最大濃度値を予め設定されたしきい値と比較し、前記設定しきい値以上の最大濃度値を有するマークの多値化イメージデータをマーク有り判定候補のイメージデータとして選別し、前記マーク有り判定候補のイメージデータに対応する二値化イメージデータのマーク毎の画素のサイズを予め設定されたサイズと比較し、前記設定サイズ以上のサイズを有する二値化イメージデータのマーク有り判定候補のイメージデータをマーク有りと判定することを特徴とする。
According to a first aspect of the present invention, in the mark sheet reading apparatus, an image input unit that inputs a plurality of mark images on the mark sheet, and multi-valued image data of the plurality of mark images read from the image input unit are stored. comprising: a multi-valued image memory, and a binary image memory for storing the binarized image data by binarizing with prespecified binarization threshold said multilevel image data, the multi-level image The maximum density value of the pixel for each mark of the data is compared with a preset threshold value, and the multivalued image data of the mark having the maximum density value equal to or higher than the set threshold value is used as the image data of the mark presence determination candidate Sorting, comparing the pixel size for each mark of the binarized image data corresponding to the image data of the mark determination candidate, with a preset size, and the setting Wherein the determining that there is the mark image data of the mark there determination candidate binarized image data having a size greater than size.
本発明のマークシート読取装置は、1本マークやレ点等を安定に読み取るので、従来の塗りつぶしのマーク記入より記入者の負担を軽減することができる。 Since the mark sheet reading apparatus of the present invention stably reads a single mark, a check mark, etc., the burden on the writer can be reduced as compared with the conventional mark filling.
次に本発明を実施するための最良の形態について図面を参照して詳細に説明する。図1は本発明の実施形態のマークシート読取装置の構成を示すブロック図で、
画像入力部1と、多値画像メモリ2と、二値画像メモリ3と、CPU4とを備えている。
Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a mark sheet reading apparatus according to an embodiment of the present invention.
An
画像入力部1から実帳票のイメージデータを多値画像メモリ2と予め指定した二値化しきい値によって2値化された二値イメージを二値画像メモリ3に格納する。CPU1は、多値画像メモリ2及び二値画像メモリ3に格納された各々のイメージを画像処理してマーク有無を判定し、読み取ったデータを外部へ出力する。
A binary image obtained by binarizing the image data of the actual form from the
図2は、本実施形態の動作を示すフローチャート図である。基本的には従来技術と同様に、画像が入力されると(S1)、濃度処理を行う(S2)。そして、濃度値が一定値以上の場合(S3 YES)、マーク形状処理を行って(S4)、判定を行う(S5)。 FIG. 2 is a flowchart showing the operation of the present embodiment. As in the conventional technology Basically, an image is inputted (S1), it performs the concentration process (S2). If the density value is equal to or greater than a certain value (S3 YES), mark shape processing is performed (S4) and determination is performed (S5).
図3は、本実施形態の形状処理を説明する説明図である。図5のb〜dにて最大値をマークの濃度値とし、判定しきい値を8とした場合、「1本棒マーク」と「紙面汚れ」が形状処理の対象となる。このとき、2値化したしきい値を6とすると、2値化イメージは図3のa、bの様になる。 FIG. 3 is an explanatory diagram for explaining the shape processing of the present embodiment. When the maximum value is the mark density value and the determination threshold value is 8 in b to d of FIG. 5, “single bar mark” and “stain on the paper surface” are objects of shape processing. At this time, if the binarized threshold value is 6, the binarized image will be as shown in FIGS.
次に2値イメージの高さ(H)と幅(W)を求める。その結果、「1本棒マーク」はW=6、H=2となり、「紙面汚れ」はW=3、H=2となる。予めマークとして読み取りたいサイズを、高さHT=2、幅WT=5と指定する。 Next, the height (H) and width (W) of the binary image are obtained. As a result, “single bar mark” is W = 6 and H = 2, and “paper stain” is W = 3 and H = 2. A size to be read in advance as a mark is designated as height HT = 2 and width WT = 5.
マーク有りの条件をW≧WTかつH≧HTとすると、「1本棒マーク」だけがマーク有りとなる。 If the condition with a mark is W ≧ WT and H ≧ HT, only “one bar mark” has a mark.
1 画像入力部
2 多値画像メモリ
3 二値画像メモリ
4 CPU
5 外部機器
1
5 External equipment
Claims (1)
In a mark sheet reader, an image input unit for inputting a plurality of mark images on the mark sheet, and the multi-level image memory for storing multi-value image data of the plurality of mark images read from the image input unit, the multi A binarized image memory that binarizes the binarized image data with a binarization threshold value specified in advance and stores the binarized image data, and the maximum number of pixels for each mark of the multilevel image data The density value is compared with a preset threshold value, multi-valued image data of a mark having a maximum density value equal to or higher than the set threshold value is selected as image data of the mark presence determination candidate, and the mark presence determination candidate Compare the pixel size for each mark of the binarized image data corresponding to the image data with a preset size, and have a size larger than the set size. Mark sheet reader, characterized in that determining that there is the mark image data binarized mark image data there judgment candidates that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003279452A JP4227859B2 (en) | 2003-07-24 | 2003-07-24 | Mark sheet reader |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003279452A JP4227859B2 (en) | 2003-07-24 | 2003-07-24 | Mark sheet reader |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005044237A JP2005044237A (en) | 2005-02-17 |
JP4227859B2 true JP4227859B2 (en) | 2009-02-18 |
Family
ID=34265547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003279452A Expired - Fee Related JP4227859B2 (en) | 2003-07-24 | 2003-07-24 | Mark sheet reader |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4227859B2 (en) |
-
2003
- 2003-07-24 JP JP2003279452A patent/JP4227859B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005044237A (en) | 2005-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4180497B2 (en) | Code type discrimination method and code boundary detection method | |
JP3904840B2 (en) | Ruled line extraction device for extracting ruled lines from multi-valued images | |
JP4658848B2 (en) | Character string recognition method and character string recognition apparatus | |
JP4339925B2 (en) | Document image processing method, document image processing apparatus, document image processing program, and storage medium | |
US8467608B2 (en) | Method and apparatus for character string recognition | |
JP3640573B2 (en) | Bar code reading method and bar code reading system | |
KR20010015025A (en) | Character extracting method | |
JP5630689B2 (en) | Character recognition method and character recognition device | |
US8200016B2 (en) | Method and apparatus for character string recognition | |
JP4227859B2 (en) | Mark sheet reader | |
JP4398498B2 (en) | Code boundary detection method | |
TW201727534A (en) | Barcode decoding method | |
JP4749382B2 (en) | Two-dimensional code reading apparatus and method | |
JP2644041B2 (en) | Character recognition device | |
JP6144892B2 (en) | Image processing apparatus, image processing method, and program | |
CN105718839B (en) | Bar code decoding method and bar code decoding device | |
JP4244692B2 (en) | Character recognition device and character recognition program | |
US7920737B2 (en) | Code image processing method and code image processing apparatus | |
JP4282467B2 (en) | Image area separation method | |
JP2005165949A (en) | Bar code reading method and bar code reading device | |
JP2002157552A (en) | Optical character reader | |
US20080225340A1 (en) | Image processing apparatus, image processing method, and computer program product | |
CN112215783B (en) | Image noise point identification method, device, storage medium and equipment | |
JP2859936B2 (en) | Image information processing device | |
JP3052464B2 (en) | Contour point extraction method using multi-valued data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050401 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060615 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20070129 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080226 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080422 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20080618 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081111 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081201 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111205 Year of fee payment: 3 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111205 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121205 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |