JP2005044237A - Mark sheet reader - Google Patents
Mark sheet reader Download PDFInfo
- Publication number
- JP2005044237A JP2005044237A JP2003279452A JP2003279452A JP2005044237A JP 2005044237 A JP2005044237 A JP 2005044237A JP 2003279452 A JP2003279452 A JP 2003279452A JP 2003279452 A JP2003279452 A JP 2003279452A JP 2005044237 A JP2005044237 A JP 2005044237A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- mark
- value
- image
- size
- 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.)
- Granted
Links
Images
Abstract
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
濃度処理部42では多値メモリに入力された各画素の濃度値から、読取マーク枠(矩形で囲まれる)内のマーク濃度値を算出する。算出方法には、マーク枠に囲まれた画素の中の最大濃度値をマーク濃度値とするものや、マーク枠内の各画素濃度を加算し、マーク枠内の画素数で割った平均値をマーク濃度値とする方法がある。
The
マーク判定部43では濃度処理部42で算出したマークの濃度値と、予め指定した濃度値(判定しきい値)を比較し、判定しきい値より大の場合はマーク有と判定し、以下の場合はマーク無しとする。(例えば、特許文献1参照。)。
The mark determination unit 43 compares the density value of the mark calculated by the
上述した従来技術では、一本棒マーク、○印、レ点等のマークとノイズ(紙面の汚れ、消し残し等)を区別することが困難な場合がある(図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 for 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 the first aspect of the present invention, in the mark sheet reading apparatus, an image input unit that inputs a plurality of image data, and a multi-value image memory that multi-values the plurality of image data and stores each of the multi-value image data. And binarizing the plurality of input image data with a predetermined binarization threshold value and storing the respective binarized image data, and the plurality of multi-valued images The maximum density value of the pixels in the data is set as a threshold value, and the multi-value image data including the maximum density value is selected as the reading target candidate image data. By comparing a plurality of binarized image data sizes corresponding to a plurality of read target candidate image data, the image data size is determined as the read target image data. And judging with at least the data relevant image data is the target image data reading.
本発明のマークシート読取装置は、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. Basically, as in the conventional technique, when an image is input (S1), density processing is performed (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 the mark sheet reading apparatus, an image input unit that inputs a plurality of image data, a multi-value image memory that multi-values the plurality of image data and stores each of the multi-value image data, and the plurality of input image data A binarized image memory for binarizing each of the binarized image data and storing each binarized image data, and the maximum density of pixels in the plurality of multilevel image data A value is set as a threshold value, multi-valued image data including the maximum density value is selected as reading target candidate image data, and further, a predetermined reading target image data size and the plurality of reading target candidate image data are set. When a plurality of corresponding binarized image data sizes are compared and the image data size is equal to or larger than the read target image data, Mark sheet reader and judging that the image data is the target image data reading.
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 true JP2005044237A (en) | 2005-02-17 |
JP4227859B2 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 |
---|---|
JP4227859B2 (en) | 2009-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4180497B2 (en) | Code type discrimination method and code boundary detection method | |
US5974199A (en) | Method for scanning and detecting multiple photographs and removing edge artifacts | |
US7751648B2 (en) | Image processing apparatus, image processing method, and computer program | |
US8254683B2 (en) | Code image processing method | |
JP2002133426A (en) | Ruled line extracting device for extracting ruled line from multiple image | |
EP0548571A1 (en) | System and method for bidirectional adaptive thresholding | |
US7151859B2 (en) | Method and system for correcting direction or orientation of document image | |
JP6144892B2 (en) | Image processing apparatus, image processing method, and program | |
JP4398498B2 (en) | Code boundary detection method | |
JP4749382B2 (en) | Two-dimensional code reading apparatus and method | |
JP4227859B2 (en) | Mark sheet reader | |
TW201727534A (en) | Barcode decoding method | |
JP5264956B2 (en) | Two-dimensional code reading apparatus and method | |
JP5427828B2 (en) | Two-dimensional code reading apparatus and method | |
JP4728297B2 (en) | Two-dimensional code reading apparatus and method | |
JPS63205783A (en) | Picture tone discriminating device | |
US7920737B2 (en) | Code image processing method and code image processing apparatus | |
JP2874592B2 (en) | Image processing device for distinguishing text / photo / dot area | |
JP4282467B2 (en) | Image area separation method | |
JP2005165949A (en) | Bar code reading method and bar code reading device | |
US20080225340A1 (en) | Image processing apparatus, image processing method, and computer program product | |
JP2002157552A (en) | Optical character reader | |
JP2859936B2 (en) | Image information processing device | |
JP3103387B2 (en) | Adaptive binarization method for gray image | |
JP2009124332A (en) | Image processor, image processing method and program |
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 |