JP2002077468A - Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon - Google Patents

Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon

Info

Publication number
JP2002077468A
JP2002077468A JP2000267689A JP2000267689A JP2002077468A JP 2002077468 A JP2002077468 A JP 2002077468A JP 2000267689 A JP2000267689 A JP 2000267689A JP 2000267689 A JP2000267689 A JP 2000267689A JP 2002077468 A JP2002077468 A JP 2002077468A
Authority
JP
Japan
Prior art keywords
image data
quality
check
quality check
scanner
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.)
Pending
Application number
JP2000267689A
Other languages
Japanese (ja)
Inventor
Jiyouji Minamihashi
丈二 南橋
Takashi Otani
隆 大谷
Takashi Kawamoto
隆志 河本
Yoshiyuki Kitagawa
禎之 北川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Nippon Telegraph and Telephone East Corp
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 Nippon Telegraph and Telephone Corp, Nippon Telegraph and Telephone West Corp, Nippon Telegraph and Telephone East Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000267689A priority Critical patent/JP2002077468A/en
Publication of JP2002077468A publication Critical patent/JP2002077468A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a quality checking method for image data which automatically checks the quality of one or more pieces of image data, according to parameters that a user set and a computer-readable recording medium. SOLUTION: Scanner image data, stored in a storage device 17, are image data read in by a scanner 14. A CPU part 15 checks the scanner image data 17a, according to an image data quality check program. Namely, an operator is urged to input set values by check items of a quality check on the scanner image data 17a through an input device 13. Then the quality of the scanner image data 17a is checked according to the inputted set values. Check results of scanner image data 17a, which do not pass the quality check, are outputted in a table form.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、スキャナ等によ
り図面等の電子化を行う場合に用いられる電子化された
画像データの品質チェック方法および品質チェックプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for checking the quality of digitized image data used when digitizing drawings and the like by using a scanner or the like, and a computer-readable recording medium storing a quality check program. It is.

【0002】[0002]

【従来の技術】従来、一つまたは複数の画像データの品
質チェックを行う場合、市販のアプリケーションによ
り、一枚ずつ画像データを画面に表示し、目視によって
品質チェックを行っていた。
2. Description of the Related Art Conventionally, when checking the quality of one or a plurality of image data, image data is displayed on a screen one by one using a commercially available application, and the quality is checked visually.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
の画像データの品質チェックは、一枚ずつ画面に表示
し、目視によりチェックを行う為、例えば大量の画像デ
ータの品質チェックを行う場合に、多くの時間と労力を
費やす必要があった。
As described above, the quality check of the conventional image data is performed by displaying the image data one by one on a screen and visually checking the image data. Had to spend a lot of time and effort.

【0004】この発明は、上述した事情を考慮してなさ
れたもので、作業者が設定した設定値を基に、一つ又は
複数の画像データの品質を自動でチェックする画像デー
タの品質チェック方法および品質チェックプログラムを
記録したコンピュータ読み取り可能な記録媒体を提供す
ることを目的とする。
The present invention has been made in consideration of the above-described circumstances, and has a method of automatically checking the quality of one or a plurality of image data based on a set value set by an operator. And a computer-readable recording medium on which a quality check program is recorded.

【0005】[0005]

【課題を解決するための手段】この発明は、上述した課
題を解決すべくなされたもので、請求項1に記載の発明
は、画像データの品質チェック方法において、品質チェ
ックしようとする一つもしくは複数の画像データを指定
する処理と、指定した前記画像データが所望の形式の画
像データであるかの品質チェックを行うチェック項目別
に設定値を入力する処理と、入力された設定値を基に、
画像データの品質チェックを行う処理と、所望の形式に
て保存されている画像データとそうでない画像データを
分別して保存する処理と、分別結果を表形式にして出力
する処理とを備えることを特徴とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and the invention according to claim 1 is a method for checking the quality of image data by using one or more quality check methods. A process of specifying a plurality of image data, a process of inputting a set value for each check item for performing a quality check whether the specified image data is image data of a desired format, and based on the input set value,
It is characterized by comprising a process of checking the quality of image data, a process of separating and storing image data stored in a desired format and image data that is not, and a process of outputting a classification result in a table format. And

【0006】また、請求項2に記載の発明は、請求項1
に記載の画像データの品質チェック方法において、上記
チェック項目は、画像の解像度であることを特徴とす
る。また、請求項3に記載の発明は、請求項1または請
求項2に記載の画像データの品質チェック方法におい
て、上記チェック項目は、前記電子図面の縦横の長さで
表わす電子図面サイズであることを特徴とする。また、
請求項4に記載の発明は、請求項1乃至請求項3のいず
れかに記載の画像データの品質チェック方法において、
上記チェック項目は、画像データの圧縮形式であること
を特徴とする。また、請求項5に記載の発明は、請求項
1乃至請求項4のいずれかに記載の画像データの品質チ
ェック方法において、上記チェック項目は、画像のアス
ペクト比であることを特徴とする。
[0006] The invention described in claim 2 is the invention according to claim 1.
In the method for checking the quality of image data, the check item is a resolution of the image. According to a third aspect of the present invention, in the image data quality checking method according to the first or second aspect, the check item is an electronic drawing size represented by the length and width of the electronic drawing. It is characterized by. Also,
According to a fourth aspect of the present invention, in the image data quality checking method according to any one of the first to third aspects,
The check item is a compression format of the image data. According to a fifth aspect of the present invention, in the image data quality checking method according to any one of the first to fourth aspects, the check item is an image aspect ratio.

【0007】また、請求項6に記載の発明は、請求項1
乃至請求項5のいずれかに記載の画像データの品質チェ
ック方法において、上記チェック項目は、画像データの
ファイルサイズであり、そのファイルサイズの設定値
は、一定数以上の画像データの統計処理を行い算出した
標準偏差を基に設定した設定値であることを特徴とす
る。また、請求項7に記載の発明は、請求項1乃至請求
項6のいずれかに記載の画像データの品質チェック方法
において、上記電子図面全体において、黒い画素の周り
すべてが白い画素である部分の黒い画素を、電子図面上
のゴミとして検出する処理を有することを特徴とする。
[0007] The invention according to claim 6 is the invention according to claim 1.
6. The image data quality check method according to claim 5, wherein the check item is a file size of the image data, and the set value of the file size is obtained by performing statistical processing of a certain number or more of image data. The set value is set based on the calculated standard deviation. According to a seventh aspect of the present invention, there is provided the image data quality checking method according to any one of the first to sixth aspects, wherein in the entire electronic drawing, black pixels are all white pixels around the black pixels. It is characterized by having a process of detecting a black pixel as dust on an electronic drawing.

【0008】また、請求項8に記載の発明は、請求項1
乃至請求項7のいずれかに記載の画像データの品質チェ
ック方法において、上記画像データの画像の濃淡情報を
検出する処理と、濃淡情報より、中間濃淡の領域が図面
全体に占める割合を算出する処理と、その割合が予め設
定した閾値を越えたか判定することにより電子図面のボ
ケを検出する処理とを有することを特徴とする。
[0008] The invention described in claim 8 is the first invention.
8. A method for detecting quality of image data according to any one of claims 7 to 7, wherein the processing of detecting the density information of the image of the image data and the processing of calculating the ratio of the area of the intermediate density to the entire drawing based on the density information. And a process for detecting whether or not the ratio exceeds a preset threshold value to detect blurring of the electronic drawing.

【0009】また、請求項9に記載の発明は、請求項1
乃至請求項8のいずれかに記載の画像データの品質チェ
ック方法を実現するための品質チェックプログラムを記
録した記録媒体である。
[0009] The invention according to claim 9 is the first invention.
A recording medium for recording a quality check program for realizing the image data quality check method according to any one of claims 8 to 10.

【0010】[0010]

【発明の実施の形態】以下、本発明における一実施形態
について図面を参照して説明する。図1は、本実施形態
の構成を示すブロック図である。この図において符号1
1は、コンピュータであり、例えばCRT(Catho
de Ray Tube)や液晶表示装置等である表示
装置12と、例えばキーボードやマウスである入力装置
13と、図面等を読み込み電子化する為のスキャナ14
が接続されている。次に、コンピュータ11内部の構成
を以下に説明する。CPU(中央処理装置)部15は、
コンピュータ11内部の制御を行う制御手段でる。画像
データ品質チェックプログラム16は、作業者に画質チ
ェック用のチェック項目別に設定値の入力を促し、その
設定値に基づいてスキャナ14より読み込まれた画像デ
ータの品質チェックを行い、使用可能画像データ(品質
チェックに合格の画像データ)と、使用不能画像データ
(品質チェックに不合格の画像データ)とに分別し、使
用不能画像データの不合格の内訳リストを出力するプロ
グラムである。記憶装置17には、スキャナ14で読み
込んだ図面の電子化データであるスキャナ画像データ1
7aや、画像データ品質チェックプログラム16により
分別された使用可能画像データ17bや、使用不能画像
データ17cが格納される。尚、図示していないが、ス
キャナ画像データ17aは図面の種類(例えば正面図、
側面図等)毎にディレクトリ別に格納されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the present embodiment. In FIG.
Reference numeral 1 denotes a computer, for example, a CRT (Catho)
de Ray Tube), a display device 12 such as a liquid crystal display device, an input device 13 such as a keyboard or a mouse, and a scanner 14 for reading and digitizing drawings and the like.
Is connected. Next, the configuration inside the computer 11 will be described below. The CPU (central processing unit) 15
This is control means for controlling the inside of the computer 11. The image data quality check program 16 prompts the operator to input a set value for each check item for image quality check, performs a quality check of the image data read by the scanner 14 based on the set value, and uses the usable image data ( This is a program that separates image data that passed the quality check) from unusable image data (image data that failed the quality check) and outputs a list of rejected unusable image data. The storage device 17 stores scanner image data 1 which is digitized data of a drawing read by the scanner 14.
7a, usable image data 17b separated by the image data quality check program 16, and unusable image data 17c are stored. Although not shown, the scanner image data 17a is a type of drawing (for example, a front view,
(For example, side view).

【0011】次に、上述した構成の実施形態の動作を図
2、図3に示すフロー図と図4、図5、図6、図7を使
って説明する。まず、スキャナ14により図面を種類別
に読み込み、図面種別のディレクトリの下にスキャナ画
像データ17aを格納する。ここで、スキャナ14で読
み込む図面(本実施形態で扱う図面)について図4を用
いて説明する。図面はA1、A2、A3等の一般的な用
紙サイズの規格に沿った大きさである用紙41の上に印
刷されており、その用紙の縁から2〜3cm内側に図面
枠42を備えることを特徴とする。また、図面の種類が
同じならば、用紙サイズも同一である。
Next, the operation of the embodiment having the above-described configuration will be described with reference to the flowcharts shown in FIGS. 2 and 3 and FIGS. 4, 5, 6, and 7. First, the drawings are read by the scanner 14 by type, and the scanner image data 17a is stored under the directory of the drawing type. Here, a drawing (a drawing handled in the present embodiment) read by the scanner 14 will be described with reference to FIG. The drawing is printed on a sheet 41 having a size conforming to a general sheet size standard such as A1, A2, A3, etc., and is provided with a drawing frame 42 2-3 cm inside from the edge of the sheet. Features. If the type of drawing is the same, the paper size is also the same.

【0012】次に、画像データの品質チェックを行う作
業者が入力装置13を操作することにより画像データ品
質チェックプログラム16を起動する、以後、CPU部
15が画像データ品質チェックプログラム16により以
下に示す処理を実行する。まず、これからチェックしよ
うとする、スキャナ14で読み込んだ一つもしくは複数
の図面のスキャナ画像データ17aを格納するディレク
トリを作業者に選択させる。次に、作業者が選択したス
キャナ画像データ17aに対して、品質チェックの設定
を行う。この時、元になった図面の種類別でディレクト
リを作成し画像データの種類(以下画像種とする)を分
別しているので、画像種別に設定値の設定をそれぞれ行
う。以下に具体的な設定例を示す、図5はCPU部15
が表示装置12へ表示する設定値入力表51の表示例で
ある。作業者はスキャナ画像データ17aの品質を確認
する為のチェック項目である”データ解像度”、”図面
サイズ”、”用紙サイズ”、”ファイル圧縮形式””ア
スペクト比”について、各々設定値の設定を設定欄5
2、53、54、55、57へ入力装置13より入力す
る。以上によりスキャナ画像データ17aのチェック用
設定値の設定を行う。(ステップS1)。尚、”ファイ
ルサイズ”においては、一定数以上のスキャナ画像デー
タ17aを統計処理し、標準偏差を求めた時点で設定欄
56にその標準偏差を考慮した設定値を入力する。
Next, an operator who checks the quality of the image data starts the image data quality check program 16 by operating the input device 13, and thereafter, the CPU unit 15 uses the image data quality check program 16 as follows. Execute the process. First, the operator selects a directory to store scanner image data 17a of one or a plurality of drawings read by the scanner 14 to be checked. Next, quality check is set for the scanner image data 17a selected by the operator. At this time, since a directory is created according to the type of the original drawing and the type of image data (hereinafter, referred to as an image type) is separated, setting values are set for the image types, respectively. A specific setting example is shown below.
Is a display example of the set value input table 51 displayed on the display device 12. The operator sets the setting values of “data resolution”, “drawing size”, “paper size”, “file compression format”, and “aspect ratio”, which are check items for checking the quality of the scanner image data 17a. Setting column 5
2, 53, 54, 55, and 57 are input from the input device 13. As described above, the check setting value of the scanner image data 17a is set. (Step S1). In the “file size”, a set value in consideration of the standard deviation is input to the setting column 56 at the time when the scanner image data 17a of a certain number or more is statistically processed and the standard deviation is obtained.

【0013】次に、CPU部15がチェックしようとす
るスキャナ画像データ17aが格納されたディレクトリ
の選択、及び、各々設定値の設定が正しく行われている
かどうかを判断し、正しく行われてなければ、「画像デ
ータのチェックは可能か?」(ステップS2)の”N
O”へ進み”YES”になるまで、ステップS2の判断
を繰り返す。そして、ステップS2の判断が”YES”
になったら、CPU部15が各々のスキャナ画像データ
17aにおいて、その画像データについての情報が格納
されているヘッダ部からヘッダ情報を取得する(ステッ
プS3)。尚、ヘッダ情報からは、データ解像度、用紙
サイズ、ファイル圧縮形式を得ることができる。次に、
CPU部15がステップS1で設定した設定値と、ステ
ップS3で取得したスキャナ画像データ17aのヘッダ
情報や図面の外枠データを抽出し算出した図面サイズや
アスペクト比とを比較しチェックする(ステップS
4)。次に、CPU部15が各設定値とそれに対応する
各データ値を比較し、その各データが設定値内に納まっ
ているかどうかで分別し、結果をCSV(Comma
Separated Value)形式等の表形式のフ
ァイルで出力し、同時に図7に示すCSV形式ファイル
表示画面71を表示装置12へ表示する((ステップS
5)。
Next, the CPU section 15 determines whether the directory in which the scanner image data 17a to be checked is stored and whether or not the setting of each setting value is correctly performed. "N" in "Can image data be checked?" (Step S2)
The process proceeds to “O” and repeats the determination in step S2 until “YES” is reached, and the determination in step S2 is “YES”.
Is reached, the CPU section 15 acquires header information from the header section in which information on the image data is stored in each of the scanner image data 17a (step S3). Note that the data resolution, paper size, and file compression format can be obtained from the header information. next,
The CPU unit 15 compares the set value set in step S1 with the drawing size and aspect ratio calculated by extracting the header information of the scanner image data 17a and the outer frame data of the drawing obtained in step S3 (step S3).
4). Next, the CPU unit 15 compares each set value with each data value corresponding to the set value, classifies whether each data is within the set value, and outputs the result as a CSV (Comma).
The file is output as a file in a table format such as a Separate Value format, and at the same time, a CSV format file display screen 71 shown in FIG. 7 is displayed on the display device 12 ((Step S
5).

【0014】ここで、ステップS4の処理について、フ
ロー図である図3を用いて詳細に説明する。ヘッダ情報
(ヘッダ情報にはファイル名称も含む)より得た情報よ
り、CPU部15がスキャナ画像データ17aの画像種
別を判別し、これからチェックしようとする画像種別に
間違いないかチェックする(S4a)。次に、図5の設
定値入力表51で示した以下の〜のチェック項目に
おいて、CPU部15がスキャナ画像データ17aの品
質チェックを行う。 スキャナ画像データ17aの解像度についての抽
出データと設定値を比較することで所望の解像度でスキ
ャナ14より読み込まれているかチェックを行う(ステ
ップS4b) スキャナ画像データ17a中から図4で示した図
面枠42に該当する枠を抽出し、それを図面サイズ(図
面の縦および横の長さ)として、抽出データと設定値を
比較することで所望の図面サイズの画像データであるか
のチェックを行う(ステップS4c)。 用紙サイズについて、スキャナ画像データ17a
からの抽出データと設定値を比較することで所望の用紙
サイズを指定しているかチェックを行う(ステップS4
d)。 ファイル圧縮形式について、スキャナ画像データ
17aからの抽出データと設定値を比較することで所望
のファイル圧縮形式を指定しているかチェックを行う
(ステップS4e)。 スキャナ読み込み時に用紙の入力方向が歪んでい
た場合、図6に示す様に、読み込まれたスキャナ画像デ
ータ17aを表示装置12に表示した場合の電子図面
は、図面枠61が傾いたものになる。この時、図6に示
すA:Bの比を傾いた図面枠61のアスペクト比とする
と、そのアスペクト比は正常な傾いていない図面枠61
のアスペクト比と違ったものになる。以上を利用して、
アスペクト比について、スキャナ画像データ17aより
抽出データと設定値とを比較することで所望のアスペク
ト比でスキャナ14より読み込まれているかチェックを
行う(ステップS4f)
Here, the processing in step S4 will be described in detail with reference to FIG. 3 which is a flowchart. The CPU unit 15 determines the image type of the scanner image data 17a from information obtained from the header information (the file name is also included in the header information) and checks whether there is no mistake in the image type to be checked (S4a). Next, the CPU unit 15 performs a quality check of the scanner image data 17a in the following check items shown in the setting value input table 51 of FIG. By comparing the set value with the extracted data on the resolution of the scanner image data 17a, it is checked whether the image is read by the scanner 14 at the desired resolution (step S4b). The drawing frame 42 shown in FIG. Is extracted, and is set as a drawing size (vertical and horizontal lengths of the drawing), and the extracted data is compared with a set value to check whether the image data is image data of a desired drawing size (step). S4c). Regarding the paper size, the scanner image data 17a
It is checked whether or not a desired paper size is designated by comparing the extracted data with the set value (step S4).
d). With respect to the file compression format, it is checked whether the desired file compression format is designated by comparing the set value with the data extracted from the scanner image data 17a (step S4e). When the input direction of the sheet is distorted when reading the scanner, as shown in FIG. 6, the electronic drawing when the read scanner image data 17a is displayed on the display device 12 has a tilted drawing frame 61. At this time, assuming that the ratio of A: B shown in FIG. 6 is the aspect ratio of the inclined drawing frame 61, the aspect ratio of the drawing frame 61 is not normal.
Will be different from the aspect ratio. Using the above,
As to the aspect ratio, it is checked whether the data is read by the scanner 14 at a desired aspect ratio by comparing the extracted data with the set value from the scanner image data 17a (step S4f).

【0015】次に、前記S4b〜S4eまでの処理を行
った画像データについて順次、CPU部15がファイル
サイズ(画像データのデータ容量)の統計処理を行い、
統計処理をした画像データの総数が一定数を越えた時点
で標準偏差を算出する。この標準偏差値を基に”ファイ
ルサイズ”の偏差の設定値を図5に示す設定値入力表5
1の設定欄56へ入力し設定する。設定された後は設定
値と実際の画像データのファイルサイズとを比較しチェ
ックを行う(ステップS4g)。以上のチェックの結果
で不合格であったスキャナ画像データ17aのファイル
名と、不合格だったチェック項目とその値を一覧とし
て、CVS形式のファイルを出力する。同時に図7に示
すCSV形式ファイル表示画面71が表示装置12に表
示される。
Next, the CPU unit 15 sequentially performs statistical processing of the file size (data capacity of image data) on the image data subjected to the processing of S4b to S4e.
The standard deviation is calculated when the total number of statistically processed image data exceeds a certain number. Based on this standard deviation value, the set value of the deviation of “file size” is set value input table 5 shown in FIG.
1 is set in the setting column 56. After the setting, the setting value is compared with the file size of the actual image data and a check is performed (step S4g). A file in the CVS format is output, listing the file names of the scanner image data 17a that failed as a result of the above check, the check items that failed, and their values. At the same time, a CSV format file display screen 71 shown in FIG.

【0016】次に、画像データのチェック作業を終了す
るか(ステップS6)の選択を行う。”NO”ならステ
ップS2へ戻り、別の画像種類のディレクトリを指定
し、そのディレクトリにあるスキャナ画像データ17a
について品質チェックを始める。”YES”なら終了と
する。
Next, a selection is made as to whether to end the image data check operation (step S6). If "NO", the process returns to the step S2, a directory of another image type is designated, and the scanner image data 17a in the directory is designated.
Start a quality check on. If “YES”, the process ends.

【0017】尚、フロー図中には図示していないが、上
記ステップS4の各ファイルの処理を行う時に、以下の
処理も行っている。例えば、スキャナ14で読み込む時
に図面にゴミが付着していた場合に、作成された画像デ
ータを表示装置12に表示した電子図面中において、元
図面にゴミの付着していた部分が黒点になることがあ
る。そういう場合に、図8に示す黒点と回りの画素の特
徴により、電子図面中の黒点の検出を行う。図8(a)
の様に、一つの黒い画素の周りを囲む9の画素がすべて
白い画素の場合は、黒点として検出をし、また、図8
(b)の様に、黒い画素が2つ以上連なっている場合
は、文字および線画とする。以上の判定を電子図面全体
に行うことで、黒点(電子図面上のゴミ)の検出を行
う。
Although not shown in the flowchart, the following processing is also performed when processing each file in step S4. For example, when dust is attached to the drawing when the image is read by the scanner 14, in the electronic drawing in which the created image data is displayed on the display device 12, the portion where the dust is attached to the original drawing becomes a black point. There is. In such a case, the black point in the electronic drawing is detected based on the characteristics of the black point and surrounding pixels shown in FIG. FIG. 8 (a)
When all nine pixels surrounding one black pixel are white pixels, as shown in FIG.
When two or more black pixels are continuous as shown in FIG. By performing the above determination on the entire electronic drawing, a black point (dust on the electronic drawing) is detected.

【0018】また更に、スキャナ14で読み込む図面が
白黒の2値で表わされた、すなわち濃淡が中間の値であ
るグレーの領域がない図面の場合、上記ステップS4の
各ファイルの処理を行う時に、画像データ中の濃淡を検
出することで、画像のボケをチェックすることができ
る。例えば元となる図面中の図9(a)に示す縦線にお
いて、スキャナ14の調子がおかしく、ボケた画像デー
タが作成された場合、その画像データを表示装置12に
表示した時の電子図面中の縦線は、図9(b)に示すボ
ケた縦線となる。図9(a)に示す元の図面の縦線に比
べて、図9(b)に示すボケた電子図面中の縦線の濃淡
は、ボケた部分が中間の濃淡の値となり、すなわち、画
像の濃淡の中で、中間濃淡である領域が増えてしまう。
以上より、中間濃淡の領域が全図面に占める割合を算出
し、その割合が一定値を越えたことで画像がボケている
ことを検出する。
Further, when the drawing read by the scanner 14 is a drawing represented by binary values of black and white, that is, a drawing having no gray area having an intermediate value of shading, the processing of each file in step S4 is performed. By detecting the shading in the image data, the blur of the image can be checked. For example, in the vertical line shown in FIG. 9A in the original drawing, when the scanner 14 is not properly operated and blurred image data is created, the image data in the electronic drawing when the image data is displayed on the display device 12 is displayed. Are vertical blurred lines shown in FIG. 9B. Compared with the vertical line in the original drawing shown in FIG. 9A, the density of the vertical line in the blurred electronic drawing shown in FIG. Among the shades, there is an increase in the area of intermediate shades.
As described above, the ratio of the area of the intermediate shade to the entire drawing is calculated, and it is detected that the image is blurred when the ratio exceeds a certain value.

【0019】また、図1における画像データ品質チェッ
クプログラム16をコンピュータ読み取り可能な記録媒
体に記録して、この記録媒体に記録されたプログラムを
コンピュータシステムに読み込ませ、実行することによ
り画像データ品質チェックプログラム16を立ち上げて
も良い。なお、ここでいう「コンピュータシステム」と
は、OSや周辺機器等のハードウェアを含むものとす
る。また、「コンピュータ読み取り可能な記録媒体」と
は、フロッピー(登録商標)ディスク、光磁気ディス
ク、ROM、CD−ROM等の可搬媒体、コンピュータ
システムに内蔵されるハードディスク等の記憶装置のこ
とをいう。さらに「コンピュータ読み取り可能な記録媒
体」とは、インターネット等のネットワークや電話回線
等の通信回線を介してプログラムが送信された場合のサ
ーバやクライアントとなるコンピュータシステム内部の
揮発メモリ(RAM)のように、一定時間プログラムを
保持しているものも含むものとする。
The image data quality check program 16 shown in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read and executed by a computer system. 16 may be started. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” means a portable medium such as a floppy (registered trademark) disk, a magneto-optical disk, a ROM, a CD-ROM, and a storage device such as a hard disk built in a computer system. . Further, the “computer-readable recording medium” refers to a volatile memory (RAM) inside a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. , For a certain period of time.

【0020】また、上記プログラムは、このプログラム
を記憶装置等に格納したコンピュータシステムから、伝
送媒体を介して、あるいは、伝送媒体中の伝送波により
他のコンピュータシステムに伝送されてもよい。ここ
で、プログラムを伝送する「伝送媒体」は、インターネ
ット等のネットワーク(通信網)や電話回線等の通信回
線(通信線)のように情報を伝送する機能を有する媒体
のことをいう。また、上記プログラムは、前述した機能
の一部を実現する為のものであっても良い。さらに、前
述した機能をコンピュータシステムに既に記録されてい
るプログラムとの組み合わせで実現できるもの、いわゆ
る差分ファイル(差分プログラム)であっても良い。以
上、この発明の実施形態について図面を参照して詳述し
てきたが、具体的な構成はこの実施形態に限られるもの
ではなく、この発明の要旨を逸脱しない範囲の設計等も
含まれる。
The above program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the "transmission medium" for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the above program may be a program for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient. As described above, the embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiments and includes a design and the like within a range not departing from the gist of the present invention.

【0021】[0021]

【発明の効果】以上説明したように請求項1に記載の発
明によれば、図面の電子化の為、スキャナにより読み込
まれた一つもしくは複数の画像データの品質チェック方
法において、品質チェックしようとする一つもしくは複
数の画像データを指定する処理と、指定した前記画像デ
ータが所望の形式の画像データであるかの品質チェック
を行うチェック項目別に設定値を入力する処理と、入力
された設定値を基に、画像データの品質チェックを行う
処理と、品質チェックで合格である画像データと不合格
である画像データを分別して保存する処理と、不合格で
ある品質チェックの結果を表形式にして出力する処理と
を有することにより、自動で大量の画像データのチェッ
クを行うことができ、従来の一つ一つを目視で確認して
いた場合と比較して、チェック処理のスピードが格段に
早くなり、目視の場合に起こりうる見落としによるミス
もなくなるという効果が得られる。
As described above, according to the first aspect of the present invention, in order to digitize a drawing, a quality check method for one or a plurality of image data read by a scanner is attempted. A process of specifying one or a plurality of image data to be processed, a process of inputting a set value for each check item for performing a quality check whether the specified image data is image data of a desired format, and a process of inputting the set value Based on the process of performing a quality check of the image data, the process of separating the image data that passed in the quality check and the image data that is rejected and saving, and the results of the quality check that is rejected in a table format Output processing, it is possible to automatically check a large amount of image data, compared to the conventional case where each was checked visually. , Speed of check processing is much faster, the effect is obtained that also eliminates mistakes due to an oversight can occur in the case of a visual.

【0022】また、請求項2に記載の発明によれば、上
記設定値は、画像の解像度であることにより、自動です
ばやく画像の解像度のチェックを行うことができる効果
が得られる。また、請求項3に記載の発明によれば、上
記画像データを基に表示装置に表示される電子図面にお
いて、上記設定値は、電子図面の縦横の長さで表わす電
子図面サイズであることにより、自動ですばやく画像の
大きさのチェックを行うことができる効果が得られる。
また、請求項4に記載の発明によれば、上記設定値は、
画像データの圧縮形式であることにより、自動ですばや
く画像の圧縮形式のチェックを行うことができる効果が
得られる。
According to the second aspect of the present invention, since the set value is the resolution of the image, the effect of automatically and quickly checking the resolution of the image can be obtained. According to the third aspect of the present invention, in the electronic drawing displayed on the display device based on the image data, the set value is an electronic drawing size represented by the length and width of the electronic drawing. Thus, the effect that the size of the image can be automatically and quickly checked can be obtained.
According to the invention described in claim 4, the set value is:
Since the compression format of the image data is used, an effect that the compression format of the image can be automatically and quickly checked can be obtained.

【0023】また、請求項5に記載の発明によれば、上
記設定値は、電子図面のアスペクト比であることによ
り、自動ですばやく画像が傾いた状態でスキャナより読
み込まれてしまったかどうかのチェックを行うことがで
きる効果が得られる。また、請求項6に記載の発明によ
れば、上記チェック項目は、画像データのファイルサイ
ズであり、そのファイルサイズの設定値は、一定数以上
の画像データの統計処理を行い算出した標準偏差を基に
設定した設定値であることにより、自動ですばやく画像
のファイルサイズのチェックを行い、他の画像ファイル
に比べて、明らかにファイルサイズの大きいものや小さ
いもの、すなわち、異常な画像データを検出することが
できる効果が得られる。
According to the fifth aspect of the present invention, since the set value is the aspect ratio of the electronic drawing, it is possible to automatically check whether the image has been read from the scanner in a state where the image is automatically tilted quickly. Is obtained. According to the invention described in claim 6, the check item is a file size of the image data, and the set value of the file size is a standard deviation calculated by performing statistical processing of a certain number or more of image data. Automatically and quickly checks the file size of the image by using the set values based on it, and detects clearly larger or smaller file sizes compared to other image files, that is, abnormal image data The effect that can be obtained is obtained.

【0024】また、請求項7に記載の発明によれば、ス
キャナで図面を読み込む時に、図面にゴミが付着してい
た為、電子図面にゴミの黒点がある場合、そのゴミの黒
点を検出する処理を有することにより、自動ですばやく
黒点を検出でき、さらに、ゴミによる黒点を自動補正し
たり、または、再度スキャナで図面を読み込ませたりし
て、黒点のない電子図面を得ることが可能となるので、
より高品質な画像データを得ることができるという効果
がある。また、請求項8に記載の発明によれば、電子図
面がボケた画像の場合に、画像データの画像の濃淡情報
を検出する処理と、濃淡情報より、中間濃淡の領域が図
面全体に占める割合を算出する処理と、その割合が予め
設定した閾値を越えたか判定することにより電子図面の
ボケを検出する処理とを有することにより、自動ですば
やく電子図面のボケを検出でき、更に、ボケた品質の悪
い画像データを、再度スキャナで読み込んだボケていな
い画像データに置き換える処理を行うことで、より高品
質な画像データを得ることができるという効果がある。
According to the seventh aspect of the present invention, when a drawing is read by a scanner, dust is attached to the drawing. If there is a black point of the dust in the electronic drawing, the black point of the dust is detected. By having the processing, it is possible to automatically detect a black point quickly and further, to automatically correct a black point due to dust, or to read a drawing again by a scanner to obtain an electronic drawing without black points. So
There is an effect that higher quality image data can be obtained. According to the invention described in claim 8, when the electronic drawing is a blurred image, the process of detecting the density information of the image of the image data and the ratio of the area of the intermediate density to the entire drawing based on the density information And the process of detecting the blur of the electronic drawing by determining whether the ratio exceeds a preset threshold value enables automatic detection of the blur of the electronic drawing quickly and further, the quality of the blur. By performing the process of replacing the poor image data with non-blurred image data read by the scanner again, there is an effect that higher quality image data can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態による画像データの品質
チェックシステムの全体構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of an image data quality check system according to an embodiment of the present invention.

【図2】 図1に示す画像データの品質チェックシステ
ムの動作を示すフロー図である。
FIG. 2 is a flowchart showing an operation of the image data quality check system shown in FIG. 1;

【図3】 図1に示す画像データの品質チェックシステ
ムの動作を示すフロー図である図2のステップS4の詳
細を示すフロー図である。
FIG. 3 is a flowchart showing the operation of the image data quality check system shown in FIG. 1; FIG. 3 is a flowchart showing details of step S4 in FIG. 2;

【図4】 図1に示す実施形態においてスキャナ14で
読み込む図面の特徴を示す図である。
FIG. 4 is a diagram showing features of the drawing read by the scanner 14 in the embodiment shown in FIG.

【図5】 図1に示す実施形態において表示装置12に
表示される設定値入力表の表示例を示す図である。
5 is a diagram showing a display example of a setting value input table displayed on the display device 12 in the embodiment shown in FIG.

【図6】 図1に示す実施形態において表示装置12に
表示される電子図面の表示例を示す図である。
FIG. 6 is a diagram showing a display example of an electronic drawing displayed on the display device 12 in the embodiment shown in FIG.

【図7】 図1に示す実施形態において表示装置12に
表示されるCVS形式ファイルの表示例を示す図であ
る。
FIG. 7 is a diagram showing a display example of a CVS format file displayed on the display device 12 in the embodiment shown in FIG.

【図8】 図1に示す実施形態において表示装置12に
表示される電子図面中の黒点とそうでない部分の特徴を
示す図である。
FIG. 8 is a diagram showing characteristics of black spots and other parts in the electronic drawing displayed on the display device 12 in the embodiment shown in FIG.

【図9】 図1に示す実施形態においてスキャナ14で
読み込む元になる図面と、表示装置12に表示される元
になる図面の電子図面がボケた場合の表示例および濃淡
を示す図である。
9 is a diagram showing a display example and shading when the electronic drawing of the drawing to be read by the scanner 14 and the drawing to be displayed on the display device 12 are blurred in the embodiment shown in FIG.

【符号の説明】[Explanation of symbols]

11 コンピュータ 12 表示装置 13 入力装置 14 スキャナ 15 CPU部 16 画像データ品質チェックプログラム 17 記憶装置 41 図面の用紙 42 図面枠 51 設定値入力表 52、53、54、55、56、57 設定欄 61 電子図面 62 図面枠 71 CSV形式ファイル表示画面 Reference Signs List 11 computer 12 display device 13 input device 14 scanner 15 CPU unit 16 image data quality check program 17 storage device 41 drawing paper 42 drawing frame 51 setting value input table 52, 53, 54, 55, 56, 57 setting column 61 electronic drawing 62 Drawing frame 71 CSV format file display screen

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大谷 隆 東京都新宿区西新宿三丁目19番2号 東日 本電信電話株式会社内 (72)発明者 河本 隆志 大阪府大阪市中央区馬場町3番15号 西日 本電信電話株式会社内 (72)発明者 北川 禎之 大阪府大阪市中央区馬場町3番15号 西日 本電信電話株式会社内 Fターム(参考) 5C062 AA01 AB02 AB17 AB24 AB41 AC02 AC05 AC61 AC67 AC72 AE04 AF00  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Takashi Otani 3-19-2 Nishi Shinjuku, Shinjuku-ku, Tokyo East Japan Nippon Telegraph and Telephone Corporation (72) Inventor Takashi Kawamoto 3 Babacho, Chuo-ku, Osaka-shi, Osaka No. 15 Nishi Nippon Telegraph and Telephone Corporation (72) Inventor Yoshiyuki Kitagawa 3-15 Babacho, Chuo-ku, Osaka-shi, Osaka F-term in Nishi Nippon Telegraph and Telephone Corporation (reference) 5C062 AA01 AB02 AB17 AB24 AB41 AC02 AC05 AC61 AC67 AC72 AE04 AF00

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 スキャナにより読み込まれた一つもしく
は複数の画像データの品質チェック方法において、 品質チェックしようとする一つもしくは複数の前記画像
データを指定する処理と、 指定した前記画像データが所望の形式の画像データであ
るかの品質チェックを行うチェック項目別に設定値を入
力する処理と、 入力された前記設定値を基に、前記画像データの品質チ
ェックを行う処理と、 前記品質チェックで合格である前記画像データと不合格
である前記画像データを分別して保存する処理と、 不合格である前記品質チェックの結果を表形式にして出
力する処理とを有することを特徴とする画像データの品
質チェック方法。
In a quality check method for one or a plurality of image data read by a scanner, a process of designating one or a plurality of image data to be quality-checked; A process of inputting a set value for each check item for performing a quality check of whether the image data is in a format, a process of performing a quality check of the image data based on the input set value, and a pass of the quality check. A quality check of image data characterized by comprising a process of separating and storing the certain image data and the failed image data, and a process of outputting a result of the failed quality check in a tabular form. Method.
【請求項2】 前記チェック項目は、画像の解像度であ
ることを特徴とする請求項1に記載の画像データの品質
チェック方法。
2. The method according to claim 1, wherein the check item is an image resolution.
【請求項3】 前記画像データを基に表示装置に表示さ
れる電子図面において、 前記チェック項目は、前記電子図面の縦横の長さで表わ
す電子図面サイズであることを特徴とする請求項1また
は請求項2に記載の画像データの品質チェック方法。
3. An electronic drawing displayed on a display device based on the image data, wherein the check item is an electronic drawing size represented by a vertical and horizontal length of the electronic drawing. 3. The quality check method for image data according to claim 2.
【請求項4】 前記チェック項目は、画像データの圧縮
形式であることを特徴とする請求項1乃至請求項3のい
ずれかに記載の画像データの品質チェック方法。
4. The image data quality checking method according to claim 1, wherein the check item is a compression format of the image data.
【請求項5】 前記チェック項目は、前記電子図面のア
スペクト比であることを特徴とする請求項1乃至請求項
4のいずれかに記載の画像データの品質チェック方法。
5. The image data quality checking method according to claim 1, wherein the check item is an aspect ratio of the electronic drawing.
【請求項6】 前記チェック項目は、前記画像データの
ファイルサイズであり、前記ファイルサイズの前記設定
値は、 一定数以上の前記画像データの統計処理を行い、算出し
た標準偏差を基に設定した設定値であることを特徴とす
る請求項1乃至請求項5のいずれかに記載の画像データ
の品質チェック方法。
6. The check item is a file size of the image data, and the set value of the file size is set based on a standard deviation calculated by performing statistical processing of the image data of a certain number or more. The image data quality check method according to claim 1, wherein the quality check value is a set value.
【請求項7】 前記電子図面全体において、黒い画素の
周りすべてが白い画素である部分の前記黒い画素を、前
記電子図面上のゴミとして検出する処理を有することを
特徴とする請求項1乃至請求項6のいずれかに記載の画
像データの品質チェック方法。
7. The electronic device according to claim 1, further comprising: a process of detecting, as dust on the electronic drawing, the black pixels in a portion in which all of the black pixels are white pixels around the black pixels. Item 7. The quality check method for image data according to any one of Items 6.
【請求項8】 前記画像データの画像の濃淡情報を検出
する処理と、 前記濃淡情報より、中間濃淡の領域が図面全体に占める
割合を算出する処理と、 前記割合が予め設定した閾値を越えたか判定することに
より前記電子図面のボケを検出する処理とを有すること
を特徴とする請求項1乃至請求項7のいずれかに記載の
画像データの品質チェック方法。
8. A process for detecting shading information of an image of the image data, a process for calculating a ratio of an intermediate shading region to the entire drawing based on the shading information, and determining whether the ratio exceeds a preset threshold. 8. The quality check method for image data according to claim 1, further comprising a process of detecting a blur of the electronic drawing by making a determination.
【請求項9】 請求項1乃至請求項8のいずれかに記載
の機能を実現するための品質チェックプログラムを記録
したコンピュータ読み取り可能な記録媒体。
9. A computer-readable recording medium on which a quality check program for realizing the function according to claim 1 is recorded.
JP2000267689A 2000-09-04 2000-09-04 Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon Pending JP2002077468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000267689A JP2002077468A (en) 2000-09-04 2000-09-04 Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000267689A JP2002077468A (en) 2000-09-04 2000-09-04 Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon

Publications (1)

Publication Number Publication Date
JP2002077468A true JP2002077468A (en) 2002-03-15

Family

ID=18754571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000267689A Pending JP2002077468A (en) 2000-09-04 2000-09-04 Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon

Country Status (1)

Country Link
JP (1) JP2002077468A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406183B2 (en) 2003-04-28 2008-07-29 International Business Machines Corporation System and method of sorting document images based on image quality
CN100409654C (en) * 2004-04-22 2008-08-06 富士施乐株式会社 Image reading apparatus
JP2008186451A (en) * 2007-01-29 2008-08-14 Toshiba Corp Document data management apparatus
JP2009181594A (en) * 2009-05-18 2009-08-13 Fuji Xerox Co Ltd Image reader
US7949155B2 (en) 2005-03-08 2011-05-24 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406183B2 (en) 2003-04-28 2008-07-29 International Business Machines Corporation System and method of sorting document images based on image quality
US7693305B2 (en) 2003-04-28 2010-04-06 International Business Machines Corporation System and method of sorting document images based on image quality
US7697728B2 (en) 2003-04-28 2010-04-13 International Business Machines Corporation System and method of sorting document images based on image quality
CN100409654C (en) * 2004-04-22 2008-08-06 富士施乐株式会社 Image reading apparatus
US7768676B2 (en) 2004-04-22 2010-08-03 Fuji Xerox Co., Ltd. Image reading apparatus
US7949155B2 (en) 2005-03-08 2011-05-24 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, and storage medium
JP2008186451A (en) * 2007-01-29 2008-08-14 Toshiba Corp Document data management apparatus
JP2010160811A (en) * 2007-01-29 2010-07-22 Toshiba Corp Document data management apparatus
JP2009181594A (en) * 2009-05-18 2009-08-13 Fuji Xerox Co Ltd Image reader

Similar Documents

Publication Publication Date Title
JP4382314B2 (en) Image processing method, apparatus, and program
US7652717B2 (en) White balance correction in digital camera images
US7515313B2 (en) Method and system for scanning with one-scan-and-done feature
EP1780674A2 (en) Image processing device and method for determination of image quality
JP4195800B2 (en) Image correction processing system and image correction processing program
CN107728892B (en) Picture display method, device, terminal and storage medium
US20160358313A1 (en) Systems and methods of automatic image sizing
JP2010033204A (en) Image reader, program, image management system, and image management method
CN110727810A (en) Image processing method, image processing device, electronic equipment and storage medium
JP2002077468A (en) Quality checking method for image data and computer- readable recording medium with quality check program recorded thereon
CN109710783B (en) Picture loading method and device, storage medium and server
WO2019149094A1 (en) Method for processing data
JP2007201752A (en) Program, device, system, and method for inputting image
JP2004318851A (en) Image processing method and apparatus, database, and program
JP2004289476A (en) Document filing apparatus
JP2016046701A (en) Image processing apparatus, image processing method and program
US7667876B2 (en) Generating a normalized image from an original image
JP6311347B2 (en) Information processing apparatus, information processing system, and program
US20040013317A1 (en) Image finder method and apparatus for pixography and other photo-related reproduction applications
US20150085327A1 (en) Method and apparatus for using an enlargement operation to reduce visually detected defects in an image
JP4086580B2 (en) Image processing apparatus, program, and method
JP4720633B2 (en) Image processing system and image processing program
JP3359377B2 (en) Background concentration detector
JP4162102B2 (en) Image processing method and apparatus
JP2000194857A (en) Image processor and image processing method