JP4177417B2 - Dropout color identification processing program, method and apparatus - Google Patents

Dropout color identification processing program, method and apparatus Download PDF

Info

Publication number
JP4177417B2
JP4177417B2 JP2007024950A JP2007024950A JP4177417B2 JP 4177417 B2 JP4177417 B2 JP 4177417B2 JP 2007024950 A JP2007024950 A JP 2007024950A JP 2007024950 A JP2007024950 A JP 2007024950A JP 4177417 B2 JP4177417 B2 JP 4177417B2
Authority
JP
Japan
Prior art keywords
plane
image
dropout
binary
color
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
Application number
JP2007024950A
Other languages
Japanese (ja)
Other versions
JP2007115288A (en
Inventor
保直 伊崎
英夫 鎌田
俊司 坂根
克美 井出
一正 小松
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.)
Fujitsu Ltd
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Frontech Ltd
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 Fujitsu Ltd, Fujitsu Frontech Ltd filed Critical Fujitsu Ltd
Priority to JP2007024950A priority Critical patent/JP4177417B2/en
Publication of JP2007115288A publication Critical patent/JP2007115288A/en
Application granted granted Critical
Publication of JP4177417B2 publication Critical patent/JP4177417B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Description

本発明は,ドロップアウトカラー識別処理プログラム,方法,および装置に関する。本発明は,特に,OCR用ドロップアウト処理において,帳票別にドロップアウトカラーが相違するような業務での利用が可能である。   The present invention relates to a dropout color identification processing program, method, and apparatus. In particular, the present invention can be used in operations where the dropout color differs for each form in the OCR dropout process.

帳票データの読み取り処理において,帳票上に予め印刷もしくは印字されている罫線や文字の色のうち特定の色(ドロップアウトカラー)の部分をイメージスキャナ等で読み取った時に画像として現れないようにするドロップアウト処理を行う。   A drop that prevents a particular color (dropout color) from appearing as an image when scanning a form data in a ruled line or character color printed or printed in advance on a form. Perform out processing.

従来のドロップアウト処理では,ドロップアウトカラー読み取り専用イメージリーダを使用し,そのイメージリーダの光源特性に合わせて帳票のドロップアウトカラー1色を選定しなければならなかった。   In the conventional dropout processing, a dropout color read-only image reader is used, and one dropout color of the form must be selected in accordance with the light source characteristics of the image reader.

したがって,例えば,赤色系ドロップアウトカラーの入金票と青色系ドロップアウトカラーの出金票などドロップアウトカラーが相違する複数の帳票をまとめてドロップアウト処理する場合には,予め赤系と青系の2つの光源を備えたイメージリーダを用い,処理対象の帳票のドロップアウトカラーに合わせて読み取り光源を切り替えて処理をしていた。   Therefore, for example, when a plurality of forms having different dropout colors such as a red dropout color receipt slip and a blue dropout color withdrawal slip are to be subjected to a dropout process in advance, red and blue Using an image reader with two light sources, processing was performed by switching the reading light source according to the dropout color of the form to be processed.

従来のドロップアウト処理では帳票を読み取る際に,あらかじめドロップアウトカラーが判別されている必要があったため,帳票別にドロップアウトカラーが相違する,または,別色のドロップアウトカラーが混在する伝票を共に処理するのは不可能であった。   In conventional dropout processing, when the form was read, the dropout color had to be determined in advance, so the slips with different dropout colors for each form or mixed with different dropout colors were processed together. It was impossible to do.

本発明は,処理対象の帳票のドロップアウトカラーを自動的に識別して,識別したドロップアウトカラーをもとにドロップアウト処理を行うことができることを目的とする。   An object of the present invention is to automatically identify a dropout color of a form to be processed and perform a dropout process based on the identified dropout color.

また,本発明は,複数のドロップアウトカラーが使用されている帳票のそれぞれのドロップアウトカラーを領域を指定することなく自動的に識別してドロップアウト処理を行うことができることを目的とする。   It is another object of the present invention to perform dropout processing by automatically identifying each dropout color of a form in which a plurality of dropout colors are used without designating an area.

本発明によれば,ドロップアウトカラーに依存しない処理を行うことができ,また,あらかじめドロップアウトカラーを識別しておく必要がなくまたドロップアウトカラーが混在した帳票においても処理が可能である。   According to the present invention, it is possible to perform processing that does not depend on the dropout color, and it is not necessary to identify the dropout color in advance, and processing can be performed on a form in which dropout colors are mixed.

上記の目的を達成するため,本発明にかかるプログラムは,帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理と,前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理と,前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理と,前記輝度信号2値化イメージと,前記各プレーン2値化イメージのそれぞれとについて,画素ごとに合成処理して各プレーンの2値合成イメージを生成する合成処理と,前記各プレーン2値合成イメージそれぞれの画素頻度を算出し,前記画素頻度を用いて前記各プレーン2値合成イメージのもととなる前記プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理とを,コンピュータに実行させるものである。   In order to achieve the above object, a program according to the present invention includes a plane acquisition process for separately generating an RGB plane image from form image data to acquire an R plane, a G plane, and a B plane, and the form. A luminance signal image is generated from the image and further binarized to generate a luminance signal binarized image, and the respective dynamic determination threshold values acquired in the plane acquisition processing are obtained. , Based on the determination threshold, each plane is binarized to generate each plane binarized image, the luminance signal binarized image, and each plane binary For each pixel, a combining process for generating a binary combined image of each plane by combining each pixel, and each plane 2 Calculating a pixel frequency of each composite image, and causing a computer to execute a dropout plane selection process of selecting a dropout plane from the plane that is the basis of each plane binary composite image using the pixel frequency It is.

本発明は,コンピュータを以下のように動作させる。本発明が実行されるコンピュータは,帳票イメージデータから,RGB系の各一系の色成分を除去したプレーンイメージであって,R系色成分を除去したRプレーン,G系色成分を除去したGプレーン,B系色成分を除去したBプレーンを生成する。そして,前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,各プレーンの濃度特性から所定の式にもとづいて判別しきい値を算出し,このしきい値をもとに,Rプレーン,Gプレーン,Bプレーンの各プレーンをそれぞれ2値化し,各プレーンの2値化イメージを生成する。また,帳票イメージデータから輝度信号イメージを生成し,前記輝度信号イメージを2値化し,輝度信号2値化イメージを生成する。   The present invention operates a computer as follows. The computer in which the present invention is executed is a plane image obtained by removing each RGB system color component from the form image data, and is obtained by removing the R system color component and the G system color component. A B plane from which the plane and B color components are removed is generated. Then, a density characteristic is obtained for each plane of the R plane, the G plane, and the B plane, and a discrimination threshold value is calculated based on a predetermined formula from the density characteristics of each plane. Based on this threshold value, Each plane of the R plane, the G plane, and the B plane is binarized, and a binarized image of each plane is generated. Further, a luminance signal image is generated from the form image data, the luminance signal image is binarized, and a luminance signal binarized image is generated.

さらに,前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれとについて,対応する画素を合成処理し,前記各R/G/Bプレーンの2値合成イメージを生成する。そして,各プレーンの2値合成イメージそれぞれにおいて,画素頻度(黒画素頻度)を算出する。算出された画素頻度をもとに,前記R/G/Bプレーン2値合成イメージの中から異なる画素頻度の傾向を示す2値合成イメージを1つ選択し,選択された2値合成イメージに対応するプレーンで除去された色系をドロップアウトカラーとして特定する。   Further, the corresponding pixels of the luminance signal binarized image and the binarized image of each plane are combined to generate a binary combined image of each R / G / B plane. Then, the pixel frequency (black pixel frequency) is calculated for each binary composite image of each plane. Based on the calculated pixel frequency, one binary composite image showing a tendency of different pixel frequencies is selected from the R / G / B plane binary composite image and corresponds to the selected binary composite image. The color system removed by the plane to be identified is specified as the dropout color.

これによって,帳票のドロップアウトされるべき部分にカラー印刷の濃淡が有る場合でも,ドロップアウト処理の性能低下を生ずることなく,精度よくドロップアウト処理を行うことが可能となる。   As a result, even when the portion to be dropped out of the form has shades of color printing, the dropout processing can be performed accurately without causing a drop in the performance of the dropout processing.

なお,本発明に関連する発明として,帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理と,前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記濃度特性から前記各プレーンごとの判別しきい値を自動的に算出するしきい値算出処理と,前記判定しきい値を用いて前記各プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理とを,コンピュータに実行させるプログラムがある。   As an invention related to the present invention, plane acquisition processing for separately generating and generating R, G, and B planes from RGB image plane images from form image data, the R plane, G plane, Threshold value calculation processing for obtaining density characteristics for each plane of the B plane, and automatically calculating a discrimination threshold value for each plane from the density characteristics, and using the determination threshold value, from each plane There is a program that causes a computer to execute dropout plane selection processing for selecting a dropout plane.

さらに,本発明に関連する発明として,帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理手段と,前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理手段と,前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理手段と,前記輝度信号2値化イメージと,前記各プレーン2値化イメージの一のプレーン2値イメージとを,画素ごとに合成処理して第一の2値合成イメージを生成する第一の合成処理手段と,前記第一の2値合成イメージと,前記各プレーン2値化イメージのうち前記第一の合成処理手段で処理されない一のプレーン2値イメージとを,画素ごとに合成処理して第二の2値合成イメージを生成する第二の合成処理手段とを備える処理装置がある。   Further, as an invention related to the present invention, plane acquisition processing means for separately generating and generating R, G, and B planes from RGB image plane images from the report image data, and luminance signals from the report image Luminance signal binarization processing means for generating an image and binarizing to generate a luminance signal binarized image; and determining each of the dynamic determination threshold values acquired in the plane acquisition processing; A plane binarization processing means for binarizing each plane based on a threshold value to generate each plane binarized image, the luminance signal binarized image, and each plane binarized image First plane processing unit for generating a first binary composite image by combining each plane binary image with each pixel, A binary composite image and a single binary image that is not processed by the first composite processing means among the plane binary images are combined for each pixel to generate a second binary composite image. And a second synthesizing processing means.

本発明は,ドロップアウト処理対象の帳票のイメージデータをRGB系のそれぞれのプレーンイメージおよび輝度信号イメージ(以下Y信号イメージという)に分離した後に,以下のいずれかの方法でドロップアウトカラーを識別することができる。   In the present invention, after the image data of a form to be dropped out is separated into RGB plane images and luminance signal images (hereinafter referred to as Y signal images), the dropout color is identified by one of the following methods. be able to.

a)各プレーンのヒストグラムによりドロップアウトプレーンを識別し,そのドロップアウトプレーンのカラーをドロップアウトカラーとする。   a) The dropout plane is identified from the histogram of each plane, and the color of the dropout plane is set as the dropout color.

b)Y信号と各プレーンとの合成画像から算出した黒画素頻度によりドロップアウトプレーンを識別し,そのドロップアウトプレーンのカラーをドロップアウトカラーとする。   b) The dropout plane is identified by the black pixel frequency calculated from the composite image of the Y signal and each plane, and the color of the dropout plane is set as the dropout color.

c)Y信号と各プレーンとをXOR演算してドロップアウトプレーンを識別し,そのドロップアウトプレーンのカラーをドロップアウトカラーとする。   c) An XOR operation is performed on the Y signal and each plane to identify the dropout plane, and the color of the dropout plane is set as the dropout color.

そして,帳票ごとに識別したドロップアウトカラーを用いた処理,すなわちドロップアウトプレーンを用いた合成処理により精度の高いドロップアウト処理を行うことができる。   A highly accurate dropout process can be performed by a process using the dropout color identified for each form, that is, a composition process using a dropout plane.

また,これらのa)〜c)の処理を繰り返しもしくは組み合わせることにより,複数のドロップアウトカラーが混在する帳票のイメージデータに対しても光源の交換を行わずに精度の高いドロップアウト処理を行うことができる。   In addition, by repeating or combining the processes a) to c), a highly accurate dropout process can be performed on a form image data in which a plurality of dropout colors are mixed without exchanging the light source. Can do.

なお,本発明の各手段または機能または要素をコンピュータにより実現するプログラムは,コンピュータが読み取り可能な,可搬媒体メモリ,半導体メモリ,ハードディスクなどの適当な記録媒体に格納することができ,これらの記録媒体に記録して提供され,または,通信インタフェースを介して種々の通信網を利用した送受信により提供される。   Note that a program for realizing each means, function, or element of the present invention by a computer can be stored in an appropriate recording medium such as a portable medium memory, a semiconductor memory, or a hard disk that can be read by the computer. It is provided by being recorded on a medium, or provided by transmission / reception using various communication networks via a communication interface.

本発明では,取得した帳票のイメージから分離生成したRGB系の各一系の色成分を除去したプレーンを生成し,所定のしきい値によって2値化した2値化プレーンの画素頻度の傾向から,異なる画素頻度傾向を持つものをドロップアウトカラーとして特定し,帳票のイメージから生成した輝度信号2値化イメージと合成することによってドロップアウト処理を行う。   In the present invention, a plane in which each RGB system color component separated and generated from the acquired form image is removed and generated from the tendency of the pixel frequency of the binarized plane binarized by a predetermined threshold value is used. , A pixel having a different pixel frequency tendency is specified as a dropout color, and a dropout process is performed by synthesizing it with a luminance signal binarized image generated from a form image.

これにより,従来のように予め定められたドロップアウトカラー用の専用光源を備える必要がなく,またドロップアウトカラーの印刷の濃淡によるドロップアウト処理の性能低下を生ずることなく,精度よくドロップアウト処理を行うことが可能となる。   As a result, it is not necessary to provide a dedicated light source for a predetermined dropout color as in the prior art, and the dropout process can be performed accurately without causing a drop in the performance of the dropout process due to the shade of the printout of the dropout color. Can be done.

また,本発明では,帳票のイメージから分離生成したRGB系の各プレーンの2値イメージと輝度信号の2値イメージを合成するドロップアウト処理を各系のプレーンで組み合わせて行うことができる。これにより,複数のドロップアウトカラーが使用されている帳票に対しても,ドロップアウトカラー別の領域を判定することなくドロップアウト処理ができる。   Further, according to the present invention, dropout processing for combining the binary image of each RGB system plane generated separately from the image of the form and the binary image of the luminance signal can be performed by combining each system plane. As a result, it is possible to perform dropout processing for a form in which a plurality of dropout colors are used without determining areas for each dropout color.

特に,異なるマルチドロップアウトカラーの帳票上の領域位置等を処理前に記憶することなく,かつ,一時にドロップアウト処理を行えるため,種々のマルチドロップアウトカラーの帳票が混在するような場合でも,精度よくかつ簡易にドロップアウト処理を行うことが可能となる。   In particular, it is possible to perform dropout processing at one time without storing the area position etc. on the different multidropout color forms before processing, so even when various multidropout color forms are mixed, It becomes possible to perform dropout processing accurately and easily.

以下に,本発明の実施の形態を,その関連発明とともに説明する。
〔第1の実施の形態〕
図1に,第1の実施の形態における本発明にかかる装置の構成例を示す。
Hereinafter, embodiments of the present invention will be described together with related inventions.
[First Embodiment]
FIG. 1 shows a configuration example of an apparatus according to the present invention in the first embodiment.

ドロップアウト処理装置100は,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,ヒストグラム演算部105と,判定しきい値算出部106と,ドロップアウトプレーン選択部107と,ドロップアウトプレーン2値化処理部108と,輝度信号生成部109と,輝度信号2値化処理部110と,2値化画像合成処理部111と,カスレ補正処理部112とを備える。   The dropout processing apparatus 100 includes an image acquisition unit 101, a shadow correction processing unit 102, an RGB plane division unit 103, an image storage unit 104, a histogram calculation unit 105, a determination threshold value calculation unit 106, a dropout A plane selection unit 107, a dropout plane binarization processing unit 108, a luminance signal generation unit 109, a luminance signal binarization processing unit 110, a binarized image composition processing unit 111, and a blur correction processing unit 112; Is provided.

イメージ取得部101は,帳票2のカラーイメージデータ(帳票イメージ)を取得する手段である。ここで,イメージ取得部101は2次元カラーCCDであるが,カラーイメージデータを取得できる手段であれば,これに限られない。   The image acquisition unit 101 is means for acquiring the color image data (form image) of the form 2. Here, the image acquisition unit 101 is a two-dimensional color CCD. However, the image acquisition unit 101 is not limited to this as long as it can acquire color image data.

影補正処理部102は,イメージ取得部101で取り込んだ帳票イメージで生じた影などの不要な部分をシェーディングなどの既知の技術により補正する手段である。   The shadow correction processing unit 102 is a unit that corrects an unnecessary part such as a shadow generated in the form image captured by the image acquisition unit 101 by a known technique such as shading.

RGBプレーン分割部103は,帳票イメージから,RGB系の各プレーンイメージ(Rプレーン,Gプレーン,Bプレーン)を分離生成する手段である。Rプレーンとは,R(赤)系色を除去したイメージデータであり,Gプレーンとは,G(緑)系色を除去したイメージデータであり,Bプレーンとは,B(青)系色を除去したイメージデータである。なおRGBプレーン分割部103は,必要であれば,R/G/Bの各プレーンの解像度を揃える補正処理を行う。   The RGB plane division unit 103 is a means for separating and generating RGB plane images (R plane, G plane, B plane) from the form image. The R plane is image data from which R (red) colors are removed, the G plane is image data from which G (green) colors are removed, and the B plane is B (blue) colors. It is the removed image data. Note that the RGB plane division unit 103 performs correction processing for aligning the resolutions of the R / G / B planes, if necessary.

画像記憶部104は,RGBプレーン分割部103で分離生成された各プレーンを記憶する領域である。   The image storage unit 104 is an area for storing each plane separated and generated by the RGB plane division unit 103.

ヒストグラム演算部105は,RGBプレーン分割部103で生成されたプレーンごとに濃度値ヒストグラムを生成し,そのヒストグラムを数値化する手段である。   The histogram calculation unit 105 is a unit that generates a density value histogram for each plane generated by the RGB plane division unit 103 and digitizes the histogram.

判定しきい値算出部106は,ヒストグラム演算部105で演算されたヒストグラムの数値をもとに,R/G/Bプレーンごとのしきい値を算出する手段である。判定しきい値算出部106は,後述する自動判別しきい値法を用いる。[参考文献:大津展之,判別および最小2乗基準に基づく自動しきい値選定法,電子情報通信学会論文誌,J63-D,vol.4,pp.349-356(1986)]   The determination threshold value calculation unit 106 is a unit that calculates a threshold value for each R / G / B plane based on the numerical value of the histogram calculated by the histogram calculation unit 105. The determination threshold value calculation unit 106 uses an automatic determination threshold value method described later. [References: Noriyuki Otsu, Automatic threshold selection method based on discrimination and least-square criterion, IEICE Transactions, J63-D, vol.4, pp.349-356 (1986)]

ドロップアウトプレーン選択部107は,判定しきい値算出部106の処理結果をもとに,R/G/Bの3つのプレーンからドロップアウトプレーンを選択する手段である。例えば,ドロップアウトカラーと同色系のプレーンでは,ドロップアウトカラーの枠線などの部分の濃度値は背景色の濃度値と近くなり,ドロップアウトカラーと同色系ではない他の2つのプレーンに比べて判定しきい値算出部106で算出されたしきい値が著しく異なる値となるので,異なるしきい値を示すプレーンをドロップアウトプレーンとする。   The dropout plane selection unit 107 is means for selecting a dropout plane from the three R / G / B planes based on the processing result of the determination threshold value calculation unit 106. For example, in a plane of the same color system as the dropout color, the density value of the portion such as the border of the dropout color is close to the density value of the background color, compared to the other two planes that are not the same color system as the dropout color. Since the threshold values calculated by the judgment threshold value calculation unit 106 are remarkably different values, planes indicating different threshold values are set as dropout planes.

ドロップアウトプレーン2値化処理部108は,ドロップアウトプレーン選択部107からの判定結果を受け取り,ドロップアウトプレーンを2値化する手段である。ドロップアウトプレーンではドロップアウトカラーが除去されているため,2値化処理により,黒色の手書き文字やガイド文字などのドロップアウトカラー以外の部分が情報とされる。   The dropout plane binarization processing unit 108 is a unit that receives the determination result from the dropout plane selection unit 107 and binarizes the dropout plane. Since the dropout color is removed from the dropout plane, the binarization process makes information other than the dropout color such as black handwritten characters and guide characters.

輝度信号生成部109は,R,G,Bの各プレーンからY信号イメージを生成する手段である。なお,Y信号イメージは,イメージ取得部101で取得した帳票2のイメージから直接生成してもよい。   The luminance signal generation unit 109 is a unit that generates a Y signal image from each of the R, G, and B planes. The Y signal image may be generated directly from the image of the form 2 acquired by the image acquisition unit 101.

輝度信号2値化処理部110は,Y信号イメージを2値化する手段である。輝度信号2値化処理部110は,情報の欠落を抑えるために,局所領域に対してしきい値を設定していく局所2値化処理法を行う。輝度信号2値化処理部110は,背景部以外をすべて情報として2値化する。   The luminance signal binarization processing unit 110 is means for binarizing the Y signal image. The luminance signal binarization processing unit 110 performs a local binarization processing method in which a threshold value is set for a local region in order to suppress missing information. The luminance signal binarization processing unit 110 binarizes everything except the background portion as information.

2値化画像合成処理部111は,ドロップアウトプレーン2値化処理部108が出力したドロップアウトプレーン2値化イメージと,輝度信号2値化処理部110が出力したY信号2値化イメージとを,AND演算により合成する手段である。合成処理により,ドロップアウトカラーの部分を除去した画像イメージを出力することができる。   The binarized image composition processing unit 111 outputs the dropout plane binarized image output from the dropout plane binarization processing unit 108 and the Y signal binarized image output from the luminance signal binarization processing unit 110. , And a means for combining by AND operation. By combining processing, it is possible to output an image from which the dropout color portion is removed.

カスレ補正処理部112は,2値化画像合成処理部111が出力した2値合成イメージに対し手書き文字などの情報部分のカスレ補正や白抜け補完などを行う手段である。   The blur correction processing unit 112 is a unit that performs blur correction of an information part such as a handwritten character or blank complement for the binary composite image output from the binarized image synthesis processing unit 111.

以下に,本形態における発明の処理を詳細に説明する。   Hereinafter, the processing of the invention in this embodiment will be described in detail.

図2に,イメージ取得部101で取り込んだ帳票2のイメージの一部を示す。ドロップアウト処理装置100が読み込む帳票2は,白地の背景に赤色のドロップアウトカラーで枠線が印刷され手書きの文字が書かれたものである。   FIG. 2 shows a part of the form 2 image captured by the image acquisition unit 101. The form 2 read by the dropout processing apparatus 100 is one in which handwritten characters are written by printing a border line with a red dropout color on a white background.

イメージ取得部101(カラーCCD)は,帳票2を撮像し取得した帳票2のイメージを影補正処理部102へ渡す。影補正処理部102は,既知のシェーディング技術などにより帳票2のイメージを影補正する。そして,RGBプレーン分割部103は,補正済の帳票2のイメージから,Rプレーン,Gプレーン,Bプレーンを分離生成し,これらを画像記憶部104へ格納する。   The image acquisition unit 101 (color CCD) captures the form 2 and passes the acquired image of the form 2 to the shadow correction processing unit 102. The shadow correction processing unit 102 performs shadow correction on the image of the form 2 using a known shading technique or the like. Then, the RGB plane division unit 103 separates and generates the R plane, the G plane, and the B plane from the corrected form 2 image, and stores these in the image storage unit 104.

ヒストグラム演算部105は,Rプレーン,Gプレーン,Bプレーンそれぞれのヒストグラムを生成し,生成したヒストグラムを演算して数値をテーブル(図示しない)に記憶する。   The histogram calculation unit 105 generates a histogram for each of the R plane, the G plane, and the B plane, calculates the generated histogram, and stores numerical values in a table (not shown).

図3に,各プレーンのヒストグラムの例を示す。図3(A)はRプレーンのヒストグラム例,図3(B)はGプレーンのヒストグラム例,図3(C)はBプレーンのヒストグラム例である。本形態では,帳票2が赤系ドロップアウトカラー帳票であるので,Rプレーンではドロップが生じているため,図3(A)に示すRプレーンのヒストグラムにおいてドロップアウトカラーの部分は背景部分と同一な濃度値となる。一方,図3(B)および(C)に示すように,BプレーンもしくはGプレーンのヒストグラムでは,赤系のドロップアウトカラーが浮き出る形となるので,背景部の波形に谷間ができる。   FIG. 3 shows an example of the histogram of each plane. 3A shows an example of a histogram for the R plane, FIG. 3B shows an example of a histogram for the G plane, and FIG. 3C shows an example of a histogram for the B plane. In this embodiment, since the form 2 is a red-type dropout color form, a drop occurs in the R plane. Therefore, the dropout color portion is the same as the background portion in the histogram of the R plane shown in FIG. Concentration value. On the other hand, as shown in FIGS. 3B and 3C, in the histogram of the B plane or the G plane, a red-type dropout color appears, so that a valley is formed in the waveform of the background portion.

本形態の帳票2のようにドロップアウトカラーが単一色(赤系のみ)である場合に,ドロップアウトカラーのプレーンとドロップアウトカラーではないプレーンとの間で,背景の白領域に対する波形が相違する。   When the dropout color is a single color (only red) as in the form 2 of this embodiment, the waveform for the white region of the background is different between the dropout color plane and the non-dropout color plane. .

そこで,判定しきい値算出部106は,各プレーンについて,ヒストグラムの波形が相違する部分を識別判定するために自動判別しきい値法を利用して,ドロップアウトプレーンを判別する。   Therefore, the determination threshold value calculation unit 106 determines a dropout plane by using an automatic determination threshold value method for identifying and determining a portion where the waveform of the histogram is different for each plane.

自動判別しきい値法とは,濃淡画像を対象領域と背景に分離する2値化のため適切なしきい値を選ぶ方法である。自動判別しきい値法では,以下のようにしきい値を求める。   The automatic discrimination threshold method is a method of selecting an appropriate threshold for binarization that separates a grayscale image into a target region and a background. In the automatic discrimination threshold method, the threshold value is obtained as follows.

まず,プレーンごとの全体画素数N=N0+N1+N2+N3…N255とし,正規化ヒストグラムを求める。すなわち各濃度レベルniに対して,下記の式で
pi=ni/N (ni:各濃度の分布,N:全体の画素数)
正規化ヒストグラムpiを求める。そして,正規化ヒストグラムpiから,下記の式で平均輝度レベルμtを求める。
First, a normalized histogram is obtained by setting the total number of pixels for each plane as N = N0 + N1 + N2 + N3... N255. That is, for each density level ni, pi = ni / N (ni: distribution of each density, N: total number of pixels)
A normalized histogram pi is obtained. Then, the average luminance level μt is obtained from the normalized histogram pi by the following formula.

μt=Σi pi (i:0から255まで)
(i:濃度分布,pi:正規化ヒストグラム)
次に,pi,μtから,以下の式で正規化ヒストグラムの累計量kまでを求める。
μt = Σi pi (i: 0 to 255)
(I: concentration distribution, pi: normalized histogram)
Next, from pi, μt, a cumulative histogram k is obtained from the following equation.

ω(k)=Σpi(i:0からkまで)
m(k)=Σi pi(i:0からkまで)
次に,正規化ヒストグラムの累計ω(k),m(k)から,以下の式でクラス間分散を求める。
ω (k) = Σpi (i: from 0 to k)
m (k) = Σi pi (i: from 0 to k)
Next, the interclass variance is obtained from the cumulative histograms ω (k) and m (k) of the normalized histogram by the following formula.

σb=ω(I)(1.0−ω(I))
σ(I)=((μtω(I)2 −m(I)))/σb(I)
そして,σ(I)の値が0〜255濃度分布のなかで一番大きいものを判別しきい値として取り出す。
σb = ω (I) (1.0−ω (I))
σ (I) = ((μtω (I) 2 −m (I))) / σb (I)
Then, the largest value in the concentration distribution of 0 to 255 in σ (I) is taken out as a discrimination threshold value.

自動判別しきい値法により算出すると,Rプレーンのしきい値Rs=187,Gプレーンのしきい値Gs=152およびBプレーンのしきい値Bs=152となり,ドロップアウトしているRプレーンのしきい値Rsが最高で,BプレーンおよびGプレーンとのしきい値Bs,Gsよりも大きくなる。   When calculated by the automatic discrimination threshold method, the R plane threshold Rs = 187, the G plane threshold Gs = 152, and the B plane threshold Bs = 152. The threshold value Rs is the highest and is larger than the threshold values Bs and Gs for the B plane and the G plane.

このように,ある程度の高い階調レベルで谷間ができていればドロップアウトカラーと推定できるので,1つのプレーンのヒストグラムに谷間が存在せず,かつ他のプレーンのヒストグラムには谷間があるような場合には,谷間のない高いしきい値のプレーンをドロップアウトプレーンと識別できる。   In this way, if a valley is formed at a certain high gradation level, it can be estimated as a dropout color. Therefore, there is no valley in the histogram of one plane, and there is a valley in the histogram of another plane. In some cases, a high threshold plane without a valley can be identified as a dropout plane.

そこで,ドロップアウトプレーン選択部107は,他の2つのプレーンより高いしきい値のRプレーンをドロップアウトプレーンとして選択し,判定結果をドロップアウトプレーン2値化処理部108へ通知する。   Therefore, the dropout plane selection unit 107 selects an R plane having a higher threshold than the other two planes as a dropout plane, and notifies the dropout plane binarization processing unit 108 of the determination result.

ドロップアウトプレーン2値化処理部108では,判定しきい値算出部106で算出されたしきい値をもとにドロップアウトプレーン(Rプレーン)を2値化してドロップアウトプレーン(Rプレーン)2値イメージを生成する。図4に,ドロップアウトプレーン2値イメージの例を示す。   The dropout plane binarization processing unit 108 binarizes the dropout plane (R plane) on the basis of the threshold value calculated by the determination threshold value calculation unit 106 to provide a binary value for the dropout plane (R plane). Generate an image. FIG. 4 shows an example of the binary image of the dropout plane.

輝度信号生成部109は,R/G/Bの各プレーンからY信号イメージを生成する。そして,輝度信号2値化処理部110は,Y信号イメージを局所2値化法により2値化する。   The luminance signal generation unit 109 generates a Y signal image from each R / G / B plane. The luminance signal binarization processing unit 110 binarizes the Y signal image by the local binarization method.

局所2値化処理法として,Niblack法2値化処理を行う。Niblack法とは,求めたい画素に対して周辺の情報(3×3,7×7など)を設定して1画素ずつしきい値を求めていく2値化方法である。   Niblack method binarization processing is performed as a local binarization processing method. The Niblack method is a binarization method in which peripheral information (3 × 3, 7 × 7, etc.) is set for a pixel to be obtained and a threshold value is obtained for each pixel.

まず,背景分離処理として,矩形フィルタ(フィルタの大きさは任意)を設定し,フィルタ内の濃度分散値から背景部か情報部を判別する。そして,背景分離しきい値(σmin )を設定し,フィルタ内の計算結果がσmin 以上であれば情報があると判定する。背景分離しきい値σmin =100とすると,
計算式 σmin <g2=E2−(E×E)
(E:フィルタ内濃度平均,E2:フィルタ内濃度2乗平均)
であれば,背景ではないと判断する。そして,しきい値の算出処理として,分散値が分散しきい値(σmin )以上であれば注目画素kとなる濃度のしきい値を求め白画素か黒画素かを判定する。[参考文献:W.Niblack, "An Introduction to Digital Image Processing",pp.115-116, Englewood Cliffs, N.J.:Prentice Hall(1986)]
本形態では,例えばOCR向け手書き文字認識画像等のイメージを生成するため,輝度信号2値化処理部110として7×7のフィルタを用いる。手書き文字のストローク幅は3ドット程度であるので7×7のフィルタが望ましいからである。
First, as background separation processing, a rectangular filter (filter size is arbitrary) is set, and the background portion or the information portion is discriminated from the density dispersion value in the filter. Then, a background separation threshold (σmin) is set, and if the calculation result in the filter is greater than or equal to σmin, it is determined that there is information. Assuming that the background separation threshold σmin = 100,
Formula σmin <g2 = E2− (E × E)
(E: Average density in filter, E2: Average density in filter)
If so, it is determined that it is not background. Then, as a threshold value calculation process, if the variance value is equal to or greater than the variance threshold value (σmin), a threshold value of density for the pixel of interest k is obtained to determine whether it is a white pixel or a black pixel. [Reference: W. Niblack, "An Introduction to Digital Image Processing", pp. 115-116, Englewood Cliffs, NJ: Prentice Hall (1986)]
In this embodiment, for example, a 7 × 7 filter is used as the luminance signal binarization processing unit 110 in order to generate an image such as a handwritten character recognition image for OCR. This is because the stroke width of handwritten characters is about 3 dots, so a 7 × 7 filter is desirable.

図5に,7×7フィルタによる局所2値化処理例を示す。まず,しきい値を求めたい注目画素kに対して上下左右3画素ずつ矩形領域を設定する。7×7フィルタでは,注目画素kが背景(フィルタ内も背景のみ)であれば,以下の背景分離しきい値σmin で落としてしまう。   FIG. 5 shows an example of local binarization processing using a 7 × 7 filter. First, a rectangular region is set for each pixel of interest k for which a threshold value is to be obtained, three pixels in the vertical and horizontal directions. In the 7 × 7 filter, if the pixel of interest k is the background (in the filter and only the background), it is dropped with the following background separation threshold σmin.

背景分離しきい値σmin =100(本形態例)
σmin <g2= E2−(E×E)
E:フィルタ内濃度平均,E2:フィルタ内濃度2乗
また,濃度絶対値を見ていないので7×7フィルタ内に情報部(文字ストロークなど)がすべて被ってしまった場合にも背景と見なされてしまうが,濃度値の判定で文字ストローク部分内は黒補完を行うことができる。
Background separation threshold σmin = 100 (example of this embodiment)
σmin <g2 = E2- (E × E)
E: Density within filter, E2: Squared density within filter Also, since the absolute value of density is not observed, it is also considered as a background when the information part (character stroke, etc.) is completely covered in the 7x7 filter. However, it is possible to perform black interpolation in the character stroke portion by determining the density value.

7×7フィルタ内に情報部(文字ストローク)と背景とが入っている場合には,σmin しきい値より大となる。そして,求まった√g2に対して係数(−0.1)を乗算する。求まったしきい値に対してアンダーぎみにすることにより,文字周辺のノイズを抑えるような効果が得られる。そして,以下の注目画素kのしきい値Sを求めることになる。   When the information part (character stroke) and the background are included in the 7 × 7 filter, it becomes larger than the σmin threshold value. Then, the obtained √g2 is multiplied by a coefficient (−0.1). The effect of suppressing noise around the character can be obtained by setting the under threshold to the obtained threshold. Then, the following threshold value S of the target pixel k is obtained.

注目画素kのしきい値S=E+(−0.1)×√g2
注目画素kが,求まったしきい値以下の濃度であれば黒画素となり,以上であれば白画素となる。
Threshold value S of the target pixel k = E + (− 0.1) × √g2
If the pixel of interest k has a density equal to or lower than the obtained threshold value, it becomes a black pixel, and if it is higher, it becomes a white pixel.

輝度信号2値化処理部110は,局所2値化処理を行う範囲である輝度信号の中間濃度レベルを推定するために,ドロップアウトプレーン2値化処理部108で使用する自動判別しきい値法を適用する。図6(A)に示すように,輝度信号全体イメージについて自動判別しきい値法でダイナミックな2階調分離しきい値を求め,そのしきい値を中心として低い濃度(黒となる濃度)方向と高い濃度(白となる濃度)方向に対して,以下の式により比率を設定し,中間濃度レベル部分推定エリアを算出する。   The luminance signal binarization processing unit 110 is an automatic discrimination threshold method used in the dropout plane binarization processing unit 108 in order to estimate an intermediate density level of the luminance signal that is a range in which local binarization processing is performed. Apply. As shown in FIG. 6A, a dynamic two-tone separation threshold value is obtained for the entire luminance signal image by the automatic discrimination threshold method, and the direction of low density (density for black) is centered on the threshold value. For the higher density (white density) direction, the ratio is set by the following formula to calculate the intermediate density level partial estimation area.

中間濃度レベル範囲の係数a=0.10〜0.90,
中間濃度レベル範囲の係数b=0.10〜0.90,
黒領域の濃度平均b_ave
=濃度分布0〜濃度分布otの濃度平均
白領域の濃度平均w_ave
=濃度分布ot+1〜濃度分布255の濃度平均
中間濃度レベルの下限bt
=((1.0−a)×ot)+(a×b_ave)
中間濃度レベルの上限wt
=((1.0−b)×ot)+(b×w_ave)
前記の推定エリア(bt〜wt)のみ局所2値化法による2値化を行い,それ以外のb_aveエリアは黒,w_aveエリアは白とする。これにより大幅な高速処理が可能である。係数a,bの比率は局所2値化の部分が多くなるが,比率を大きくし過ぎると,手書き文字を2値化する場合には無駄な処理となってしまう。
Intermediate density level range coefficient a = 0.10 to 0.90,
Intermediate density level range coefficient b = 0.10 to 0.90,
Black area density average b_ave
= Density average of density distribution 0 to density distribution ot Density average of white area w_ave
= Concentration average of density distribution ot + 1 to density distribution 255 Lower limit bt of intermediate density level
= ((1.0-a) * ot) + (a * b_ave)
Upper limit of intermediate concentration level wt
= ((1.0-b) * ot) + (b * w_ave)
Only the estimated area (bt to wt) is binarized by the local binarization method, and the other b_ave areas are black and the w_ave areas are white. As a result, significant high-speed processing is possible. The ratio of the coefficients a and b has a lot of local binarization. However, if the ratio is increased too much, it becomes useless processing when binarizing a handwritten character.

本形態では,係数a=0.35,係数b=0.62とすることで,すなわち全体の5〜8%の範囲を局所2値化処理することにより,100の範囲で局所2値化を行った場合と同等レベルの結果を得ることができた。なお,帳票中の文字記入数により最適となる比率は変動するので,係数は適宜設定する。   In this embodiment, the local binarization is performed in the range of 100 by setting the coefficient a = 0.35 and the coefficient b = 0.62, that is, by performing the local binarization processing on the entire range of 5 to 8%. We were able to obtain the same level of results as we did. Since the optimum ratio varies depending on the number of characters entered in the form, the coefficient is set as appropriate.

図6(B)に,局所2値化処理方法によるY信号2値イメージの例を示す。Y信号2値イメージは,背景以外のすべてが情報部(黒画素)とされる。   FIG. 6B shows an example of a Y signal binary image by the local binarization processing method. In the Y signal binary image, everything except the background is used as an information portion (black pixel).

その後,2値化画像合成処理部111は,ドロップアウトプレーン(Rプレーン)2値イメージとY信号2値イメージとをAND演算により合成処理し,新たなYR2値イメージを生成する。   After that, the binarized image composition processing unit 111 performs composition processing on the dropout plane (R plane) binary image and the Y signal binary image by AND operation to generate a new YR binary image.

図7にYR2値イメージの例を示す。Y信号2値イメージの赤系ドロップアウトカラー情報は2値化されて情報となっているが,ドロップアウトプレーン(Rプレーン)2値イメージでは赤系ドロップアウトカラーは除去されて情報となっていないので,AND演算で合成されるイメージにおいても赤系の特性のドロップアウトカラーは除去される。   FIG. 7 shows an example of a YR binary image. The red dropout color information of the Y signal binary image is binarized and becomes information, but in the dropout plane (R plane) binary image, the red dropout color is removed and is not information. Therefore, the dropout color having red characteristics is also removed from the image synthesized by the AND operation.

その後,カスレ補正処理部112は,前記の2値化画像合成処理部111の処理の際に手書き文字やガイドなどの情報部にカスレが生じてしまうことがあるため,これらのカスレなどに対して補正処理を行う。   Thereafter, the blur correction processing unit 112 may cause a blur in an information unit such as a handwritten character or a guide during the processing of the binary image synthesis processing unit 111. Perform correction processing.

2値化画像合成処理部111でのAND演算では,ドロップアウトプレーン2値イメージとY信号2値イメージとのどちらのイメージにおいても2値化された情報として出ていなければ,合成イメージ上で情報として出力されない。そのため一方において情報部として出力されていない部分がカスレを生じさせる。カスレの要因として,情報とする階調レベルが高い(背景部分の階調と近い)ことが考えられる。   In the AND operation in the binarized image composition processing unit 111, if neither the dropout plane binary image nor the Y signal binary image is output as binarized information, the information is displayed on the composite image. Is not output as. For this reason, a portion that is not output as an information portion on one side causes blurring. As a cause of blurring, it can be considered that the gradation level used as information is high (close to the gradation of the background portion).

カスレ補正処理部112は,以下のいずれかの補正処理を行う。   The blur correction processing unit 112 performs one of the following correction processes.

(A)Y信号イメージの第1のカスレ補正処理
カスレ部分の階調が背景レベルの階調と近い場合においては,輝度信号2値化処理部110の局所2値化法において背景として処理されてしまうことがある。局所的2値化法では,前処理として背景分離処理を行ない,情報が存在している箇所のみ2値化しきい値を求める。輝度信号2値化処理部110は,この背景分離処理において,帳票2のイメージに局所的にフィルタをして背景レベルの階調分散を求め,あるしきい値以上(濃度変動)がないと背景部分(白)と判断してしまう。
(A) First blur correction process of Y signal image When the gradation of the blur part is close to the gradation of the background level, it is processed as the background in the local binarization method of the luminance signal binarization processing unit 110. It may end up. In the local binarization method, background separation processing is performed as preprocessing, and a binarization threshold value is obtained only at locations where information exists. In this background separation processing, the luminance signal binarization processing unit 110 locally filters the image of the form 2 to obtain a background level gradation variance, and if there is no threshold value (density fluctuation), the background It will be judged as a part (white).

そこで,カスレ補正処理部112は,輝度信号2値化処理部110の背景分離しきい値を低くする補正を行うことにより,カスレを改善する。   Therefore, the blur correction processing unit 112 improves the blur by performing correction that lowers the background separation threshold of the luminance signal binarization processing unit 110.

図8に,カスレ補正処理部112による補正処理の有無による結果例を示す。図8(A)は,輝度信号2値化処理部110で算出した背景分離しきい値による2値化イメージ部分の例である。図8(B)は,カスレ補正処理部112によって低めに設定した背景分離のしきい値を用いて輝度信号2値化処理部110で2値化した2値化イメージ部分の例である。図8(B)のイメージでは,図8(A)に比べてカスレが改善しているのがわかる。   FIG. 8 shows a result example based on the presence or absence of correction processing by the blur correction processing unit 112. FIG. 8A shows an example of a binarized image portion based on the background separation threshold calculated by the luminance signal binarization processing unit 110. FIG. 8B shows an example of a binarized image portion binarized by the luminance signal binarization processing unit 110 using the background separation threshold set lower by the blur correction processing unit 112. In the image of FIG. 8B, it can be seen that the blur is improved compared to FIG. 8A.

(B)Y信号イメージの第2のカスレ補正処理
輝度信号2値化処理部110では,局所的2値化法の処理を,ある程度の範囲に限定して行っている。図9に示すように,Y信号イメージのヒストグラムから所定の階調範囲(bt〜wt)を求めて,この範囲内のみで処理を行い処理の効率化を図っている。したがって,手書き文字などの情報部が,この階調範囲から外れている場合にもやはりカスレが生じてしまう。すなわち,図9の範囲btより上の階調に対して情報部が存在している場合には,処理のロジック上無条件にその情報を白と判定してしまう。
(B) Second blur correction process of Y signal image In the luminance signal binarization processing unit 110, the local binarization process is limited to a certain range. As shown in FIG. 9, a predetermined gradation range (bt to wt) is obtained from the histogram of the Y signal image, and processing is performed only within this range to improve the processing efficiency. Therefore, even when an information part such as a handwritten character is out of this gradation range, blurring still occurs. In other words, if there is an information part for a gradation above the range bt in FIG. 9, the information is unconditionally determined to be white in terms of processing logic.

そこで,カスレ補正処理部112は,輝度信号2値化処理部110が局所2値化の対象とする階調範囲(bt〜wt)を広げるように係数a,bの値を補正することによりカスレを改善する。   Therefore, the blur correction processing unit 112 corrects the blur by correcting the values of the coefficients a and b so that the luminance signal binarization processing unit 110 expands the gradation range (bt to wt) that is the target of local binarization. To improve.

図10に,カスレ補正処理部112による補正処理の有無による結果例を示す。図10(A)は,輝度信号2値化処理部110で算出した階調範囲で処理した2値化イメージ部分の例である。図10(B)は,カスレ補正処理部112によって拡張した階調範囲で処理した2値化イメージ部分の例である。図10(B)のイメージでは,図10(A)に比べてカスレが改善しているのかがわかる。   FIG. 10 shows a result example based on the presence or absence of correction processing by the blur correction processing unit 112. FIG. 10A shows an example of a binarized image portion processed in the gradation range calculated by the luminance signal binarization processing unit 110. FIG. 10B is an example of a binarized image portion processed in the gradation range expanded by the blur correction processing unit 112. In the image of FIG. 10B, it can be seen whether the blur is improved as compared with FIG.

(C)ドロップアウトプレーンイメージのカスレ補正処理
以上のようなカスレ補正処理によりY信号2値イメージでカスレのない画像を生成しても,合成させるもう一方のイメージ,ドロップアウトプレーン2値イメージで情報が出ていなければ,カスレが生じることになる。よって,ドロップアウトプレーン2値イメージについても情報が出るような設定とするカスレ補正をおこなわなければならない。
(C) Blur correction processing of dropout plane image Even if an image without blur is generated from the Y signal binary image by the above blur correction processing, the other image to be synthesized, information by the dropout plane binary image If it does not appear, a blur will occur. Therefore, the blur correction must be performed so that information is also output for the binary image of the dropout plane.

ドロップアウトカラー2値イメージはドロップアウトカラー以外の情報が出ているだけでよいので,ドロップアウトプレーン2値化処理部108は背景ノイズがでない程度に2値化ができればよい。また,判定しきい値算出部106は,自動判別しきい値法を使用するために,やや薄くなるしきい値が求まる傾向にある。   Since the dropout color binary image only needs to output information other than the dropout color, the dropout plane binarization processing unit 108 only needs to be able to binarize to the extent that there is no background noise. In addition, the determination threshold value calculation unit 106 tends to obtain a threshold value that becomes slightly thinner because the automatic determination threshold value method is used.

そこで,ドロップアウトプレーンにある程度の濃さを求めるために,すなわち2値化画像合成処理部111がY信号2値イメージより太目にドロップアウトプレーンを2値化するために,カスレ補正処理部112は,判定しきい値算出部106で実際算出したしきい値に対するオフセットにより,しきい値を補正する。   Therefore, in order to obtain a certain degree of darkness in the dropout plane, that is, in order for the binarized image composition processing unit 111 to binarize the dropout plane more widely than the Y signal binary image, the blur correction processing unit 112 The threshold value is corrected by the offset with respect to the threshold value actually calculated by the determination threshold value calculation unit 106.

カスレ補正処理部112は,判定しきい値算出部106で算出したしきい値に対して,任意の値(好ましくは30〜40%)で比率を大きくする。本形態では,判定しきい値算出部106が算出したしきい値より,1.35倍することにより最適値になることが評価結果から得られている。カスレ補正処理部112は,図11に示すように,判定しきい値算出部106で算出したしきい値127より,1.35倍でしきい値171にする。図12にカスレ補正処理の有無による出力イメージ例を示す。図12(A)は,判定しきい値の補正を行わない場合の画像イメージ例であり,図12(B)は,判定しきい値を1.35倍にする補正を行った画像イメージ例である。   The blur correction processing unit 112 increases the ratio by an arbitrary value (preferably 30 to 40%) with respect to the threshold value calculated by the determination threshold value calculation unit 106. In this embodiment, it is obtained from the evaluation result that the optimum value is obtained by multiplying the threshold calculated by the determination threshold calculation unit 106 by 1.35. As shown in FIG. 11, the blur correction processing unit 112 sets the threshold value 171 by 1.35 times the threshold value 127 calculated by the determination threshold value calculation unit 106. FIG. 12 shows an example of an output image depending on whether or not the blur correction process is performed. FIG. 12A is an example of an image when the determination threshold is not corrected, and FIG. 12B is an example of an image that is corrected to increase the determination threshold by 1.35 times. is there.

前記A)〜C)のカスレ補正処理を単独でもしくは組みあわせて施すことにより,2値化画像合成処理部111で合成処理を行う際に発生するカスレを回避することができる。そして,カスレ補正処理部112は,図12(B)に示すような画像イメージ3を出力する。   By performing the blur correction processes A) to C) alone or in combination, blurring that occurs when the binarized image synthesis processing unit 111 performs the synthesis process can be avoided. Then, the blur correction processing unit 112 outputs an image 3 as shown in FIG.

図13に,第1の実施の形態におけるドロップアウトプレーンの選択処理の処理フローを示す。選択処理の前に,RGBプレーン分割部103によりR/G/Bの各プレーンが分離生成されているとする。   FIG. 13 shows a process flow of the dropout plane selection process in the first embodiment. It is assumed that R / G / B planes are separately generated by the RGB plane dividing unit 103 before the selection process.

まず,ヒストグラム演算部105は,R,G,Bのプレーンごとにヒストグラムを取得して数値化し,数値をテーブルに格納する(ステップS1)。そして判定しきい値算出部106は,数値化したヒストグラムを引数として各プレーンの自動しきい値Rs,Gs,Bsをそれぞれ算出する(ステップS2)。ドロップアウトプレーン選択部107は,以下の処理でドロップアウトプレーンを選択する。すなわち,しきい値RsがGsより大きく(ステップS3),かつRsがBsより大きければ(ステップS4),Rプレーンをドロップアウトプレーンとして選択する(ステップS5)。   First, the histogram calculation unit 105 acquires and digitizes a histogram for each of R, G, and B planes, and stores the numerical value in a table (step S1). Then, the determination threshold value calculation unit 106 calculates the automatic threshold values Rs, Gs, and Bs of each plane using the digitized histogram as an argument (step S2). The dropout plane selection unit 107 selects a dropout plane by the following process. That is, if the threshold value Rs is larger than Gs (step S3) and Rs is larger than Bs (step S4), the R plane is selected as a dropout plane (step S5).

また,しきい値RsがGsより大きくなく(ステップS3),かつGsがBsより大きければ(ステップS6),Gプレーンをドロップアウトプレーンとして選択する(ステップS7)。   If the threshold value Rs is not larger than Gs (step S3) and Gs is larger than Bs (step S6), the G plane is selected as a dropout plane (step S7).

また,しきい値RsがGsより大きくなく(ステップS3),さらにRsがBsより大きくないか(ステップS4),もしくは,GsがBsより大きくなければ(ステップS6),Bプレーンをドロップアウトプレーンとして選択する(ステップS8)。   Further, if the threshold value Rs is not larger than Gs (step S3) and further Rs is not larger than Bs (step S4), or if Gs is not larger than Bs (step S6), the B plane is set as a dropout plane. Select (step S8).

〔第2の実施の形態〕
第2の実施の形態において,ドロップアウト処理装置200は,Y信号イメージと各プレーンイメージの合成画像から,黒画素頻度を算出してドロップアウトプレーンを識別する。そして,識別したドロップアウトプレーンを用いて手書き文字等の画像イメージ3を出力する。
[Second Embodiment]
In the second embodiment, the dropout processing device 200 identifies the dropout plane by calculating the black pixel frequency from the composite image of the Y signal image and each plane image. Then, an image image 3 such as a handwritten character is output using the identified dropout plane.

図14に,第2の実施の形態における本発明にかかる装置の構成例を示す。   FIG. 14 shows a configuration example of an apparatus according to the present invention in the second embodiment.

ドロップアウト処理装置200は,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,輝度信号生成部109と,輝度信号2値化処理部110と,R,G,Bプレーンごとのプレーンしきい値算出部201,202,203と,R,G,Bプレーンごとの2値化処理部204,205,206と,3つのAND演算部207,208,209と,黒画素頻度算出部210と,2値化画像合成処理部211と,カスレ補正処理部212とを備える。   The dropout processing device 200 includes an image acquisition unit 101, a shadow correction processing unit 102, an RGB plane division unit 103, an image storage unit 104, a luminance signal generation unit 109, a luminance signal binarization processing unit 110, Plane threshold value calculation units 201, 202, 203 for each of the R, G, B planes, binarization processing units 204, 205, 206 for each of the R, G, B planes, and three AND operation units 207, 208, 209, a black pixel frequency calculation unit 210, a binarized image composition processing unit 211, and a blur correction processing unit 212.

ドロップアウト処理装置200の各処理部のうち,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,輝度信号生成部109と,輝度信号2値化処理部110とは,図1のドロップアウト処理装置100を構成する同一番号が付与された各処理部と同一の処理を行う。   Among the processing units of the dropout processing device 200, the image acquisition unit 101, the shadow correction processing unit 102, the RGB plane division unit 103, the image storage unit 104, the luminance signal generation unit 109, and the luminance signal binarization. The processing unit 110 performs the same processing as each processing unit to which the same number constituting the dropout processing apparatus 100 of FIG. 1 is assigned.

Rプレーンしきい値算出部201は,前記の自動判別しきい値法を用いてRプレーンイメージのしきい値を算出する手段である。Gプレーンしきい値算出部202およびBプレーンしきい値算出部203は,Rプレーンしきい値算出部201と同様に,GプレーンおよびBプレーンのダイナミックなしきい値をそれぞれ算出する手段である。   The R plane threshold value calculation unit 201 is means for calculating the threshold value of the R plane image using the automatic discrimination threshold method. Similar to the R-plane threshold value calculation unit 201, the G-plane threshold value calculation unit 202 and the B-plane threshold value calculation unit 203 are means for calculating dynamic threshold values for the G plane and the B plane, respectively.

Rプレーン2値化処理部204は,Rプレーンしきい値算出部201が算出したしきい値をもとにRプレーンを2値化してRプレーン2値イメージを出力する手段である。Gプレーン2値化処理部205およびBプレーン2値化処理部206も,Rプレーン2値化処理部204と同様に,GプレーンおよびBプレーンのプレーンしきい値算出部202,203が算出したしきい値をもとにGプレーンおよびBプレーンをそれぞれ2値化する手段である。   The R plane binarization processing unit 204 is a unit that binarizes the R plane based on the threshold value calculated by the R plane threshold value calculation unit 201 and outputs an R plane binary image. Similarly to the R plane binarization processing unit 204, the G plane binarization processing unit 205 and the B plane binarization processing unit 206 are calculated by the plane threshold calculation units 202 and 203 for the G plane and the B plane. This is a means for binarizing the G plane and B plane based on the threshold value.

AND演算部207は,Rプレーン2値イメージとY信号2値イメージとをAND演算で合成処理する手段である。同様に,AND演算部208は,Gプレーン2値イメージとY信号2値イメージとをAND演算で合成処理する手段であり,AND演算部209はBプレーン2値イメージとY信号2値イメージとをAND演算で合成処理する手段である。   The AND operation unit 207 is a means for combining the R plane binary image and the Y signal binary image by AND operation. Similarly, the AND operation unit 208 is a means for combining the G plane binary image and the Y signal binary image by AND operation, and the AND operation unit 209 performs the B plane binary image and the Y signal binary image. It is a means for performing composition processing by AND operation.

黒画素頻度算出部210は,AND演算部207,208,209がそれぞれ合成した合成2値イメージの黒画素頻度を算出し,その黒画素頻度をもとにドロップアウトプレーンを選択する手段である。   The black pixel frequency calculation unit 210 is a unit that calculates the black pixel frequency of the combined binary image synthesized by the AND operation units 207, 208, and 209, and selects a dropout plane based on the black pixel frequency.

2値化画像合成処理部211は,選択されたドロップアウトプレーンとY信号2値イメージとをAND演算により合成処理する手段である。   The binarized image synthesis processing unit 211 is a means for synthesizing the selected dropout plane and the Y signal binary image by an AND operation.

カスレ補正処理部212は,2値化画像合成処理部211で合成された2値化合成イメージに対しカスレ補正を行う手段である。   The blur correction processing unit 212 is a unit that performs blur correction on the binarized composite image synthesized by the binarized image synthesis processing unit 211.

本形態における処理を説明する。イメージ取得部101からRGBプレーン分割部103までの処理ならびに輝度信号生成部109および輝度信号2値化処理部110の処理は,第1の実施の形態と同様である。   Processing in this embodiment will be described. The processing from the image acquisition unit 101 to the RGB plane division unit 103 and the processing of the luminance signal generation unit 109 and the luminance signal binarization processing unit 110 are the same as those in the first embodiment.

R/G/Bプレーンごとのプレーンしきい値算出部201,202,203は,それぞれ,第1の実施の形態における判定しきい値算出部106とほぼ同様に,各プレーンのダイナミックなしきい値を自動判別しきい値法を用いて算出する。   The plane threshold value calculation units 201, 202, and 203 for each R / G / B plane each set the dynamic threshold value of each plane in substantially the same manner as the determination threshold value calculation unit 106 in the first embodiment. Calculate using the automatic discrimination threshold method.

その後,R/G/Bプレーンごとのプレーン2値化処理部204,205,206は,それぞれ,第1の実施の形態におけるドロップアウト2値化処理部108とほぼ同様に,各プレーンごとに算出されたしきい値をもとに各プレーンを2値化する。   Thereafter, the plane binarization processing units 204, 205, and 206 for each R / G / B plane are calculated for each plane in substantially the same manner as the dropout binarization processing unit 108 in the first embodiment. Each plane is binarized based on the threshold value.

次に,AND演算部207は,Rプレーン2値イメージとY信号2値イメージとをAND演算で合成処理し,新たなYR2値イメージを生成する。AND演算部208およびAND演算部209は,同様に,プレーン2値イメージとY信号2値イメージとをAND演算で合成処理し,それぞれYG2値イメージ,YB2値イメージを生成する。   Next, the AND operation unit 207 combines the R plane binary image and the Y signal binary image by an AND operation to generate a new YR binary image. Similarly, the AND operation unit 208 and the AND operation unit 209 combine the plain binary image and the Y signal binary image by an AND operation to generate a YG binary image and a YB binary image, respectively.

図15に,AND演算部207,208,209で合成処理して生成されたイメージの例を示す。合成処理により,Y信号2値イメージと各プレーンの2値イメージとの双方で情報(黒)となっている部分のみが合成された新たな2値イメージの情報となっていることがわかる。   FIG. 15 shows an example of an image generated by combining processing by the AND operation units 207, 208, and 209. It can be seen that by combining processing, only information (black) in both the Y signal binary image and the binary image of each plane is information of a new binary image synthesized.

図15(A)にY信号2値イメージとRプレーン2値イメージとが合成されたYR2値イメージ例を,図15(B)にGプレーン2値イメージとY信号2値イメージとが合成されたYG2値イメージ例を,図15(C)にBプレーン2値イメージとY信号2値イメージとが合成されたYB2値イメージ例を示す。   FIG. 15A shows an example of a YR binary image obtained by combining a Y signal binary image and an R plane binary image, and FIG. 15B shows a combination of a G plane binary image and a Y signal binary image. FIG. 15C shows an example of a YG binary image in which a B plane binary image and a Y signal binary image are combined.

次に,黒画素頻度算出部210は,合成されたYR2値イメージ,YG2値イメージ,YB2値イメージのそれぞれの情報量である黒画素頻度を調べる。   Next, the black pixel frequency calculation unit 210 checks the black pixel frequency which is the information amount of each of the synthesized YR binary image, YG binary image, and YB binary image.

ドロップアウトしたプレーンをもとにした合成イメージとそうでない合成イメージとでは黒画素頻度が相違しているはずであり,ドロップアウトしたプレーンをもとにする合成イメージは他の合成イメージと比較して黒画素頻度が低いはずである。   The black image frequency should be different between the composite image based on the dropped-out plane and the composite image that is not, and the composite image based on the dropped-out plane is compared with other composite images. The black pixel frequency should be low.

図15(A)のYR2値イメージでは,赤系のドロップアウトカラーがすべて消えるために,文字およびガイドなどの情報(黒画素)のみが残る。そして,黒画素頻度算出部210が算出したYR2値イメージの黒画素頻度YRPは11.823%となる。また,図15(B)のYGプレーン2値イメージでは,ドロップアウトカラー部分が残りドロップアウトカラーの文字枠までが情報として出力される。よって,黒画素頻度YGPは高くなり,13.653%となる。また,図15(C)のYB2値イメージでは,YG2値イメージと同様に黒画素頻度YBPは高くなり,13.787%となる。   In the YR binary image shown in FIG. 15A, all red dropout colors disappear, so only information (black pixels) such as characters and guides remains. The black pixel frequency YRP of the YR binary image calculated by the black pixel frequency calculation unit 210 is 11.823%. Further, in the YG plane binary image of FIG. 15B, the dropout color portion remains and the character frame of the dropout color is output as information. Therefore, the black pixel frequency YGP is increased to 13.653%. Further, in the YB binary image of FIG. 15C, the black pixel frequency YBP is increased to 13.787% as in the YG binary image.

さらに,帳票2の全体画素数3,115,580画素とすると,図5の各2値イメージの場合に,YR2値イメージとYG2値イメージとの黒画素頻度の差は1.830%(約57,015画素)となり,YR2値イメージとYB2値イメージとの黒画素頻度の差は1.964%(約61,189画素)となる。一方,ドロップアウトしていないYG2値イメージとYB2値イメージとの黒画素頻度の差は,0.134%(約4,174画素)となり,約0.1%(約3000画素)の差しか認められない。   Further, assuming that the total number of pixels of the form 2 is 3,115,580 pixels, in the case of each binary image in FIG. 5, the difference in black pixel frequency between the YR binary image and the YG binary image is 1.830% (about 57 , 015 pixels), and the difference in black pixel frequency between the YR binary image and the YB binary image is 1.964% (about 61,189 pixels). On the other hand, the difference in the black pixel frequency between the YG binary image and the YB binary image that are not dropped out is 0.134% (approximately 4,174 pixels), and only 0.1% (approximately 3000 pixels) is recognized. I can't.

以上のように,ドロップアウトしているプレーンとドロップアウトしていないプレーンとでは合成された2値イメージでの黒画素頻度が相違してくる。また,ドロップアウトしないプレーンで合成された2値イメージ同士の黒画素頻度がほぼ同一である。   As described above, the black pixel frequency in the synthesized binary image differs between the plane that is dropped out and the plane that is not dropped out. Further, the black pixel frequencies of the binary images synthesized on the plane that does not drop out are substantially the same.

したがって,他の2つのプレーンから合成された2値イメージの黒画素頻度と値が異なる2値イメージのもととなるプレーンがドロップアウトしたプレーンであると判定できるため,黒画素頻度算出部210は,最も黒画素頻度の低い2値イメージのもととなっているRプレーンをドロップアウトプレーンと判定する。   Accordingly, the black pixel frequency calculation unit 210 can determine that the plane that is the source of the binary image that differs in value from the black pixel frequency of the binary image synthesized from the other two planes is a dropped-out plane. The R plane that is the basis of the binary image with the lowest black pixel frequency is determined as the dropout plane.

2値化画像合成処理部211では,黒画素頻度算出部210からの判定結果を受け取って,第1の実施の形態の2値化画像合成処理部111と同様に,Rプレーン2値イメージとY信号2値イメージとをAND演算により合成する。   The binarized image composition processing unit 211 receives the determination result from the black pixel frequency calculation unit 210, and, similarly to the binarized image composition processing unit 111 of the first embodiment, the R-plane binary image and the Y image The signal binary image is combined with an AND operation.

また,カスレ補正処理部212は,第1の実施の形態のカスレ補正処理部112と同様に,前記の補正処理のいずれか1つまたはいくつかを組み合わせた補正処理を行なう。   In addition, the blur correction processing unit 212 performs correction processing combining any one or several of the correction processes, similar to the blur correction processing unit 112 of the first embodiment.

図16に,第2の実施の形態におけるドロップアウトプレーンの選択処理の処理フローを示す。図13に示す処理フローと同様に,選択処理の前にR/G/Bの各プレーンが分離生成されているとする。   FIG. 16 shows a processing flow of dropout plane selection processing in the second embodiment. Similarly to the processing flow shown in FIG. 13, it is assumed that R / G / B planes are generated separately before the selection processing.

まず,輝度信号画像2値化処理部110は,輝度信号生成部109が生成したY信号イメージを局所2値化する(ステップS11)。そしてステップS12からステップS15の処理を,R/G/Bの各プレーンについてそれぞれ行う。   First, the luminance signal image binarization processing unit 110 locally binarizes the Y signal image generated by the luminance signal generation unit 109 (step S11). Then, the processing from step S12 to step S15 is performed for each plane of R / G / B.

まず,各プレーンのプレーンしきい値算出部201,202,203は,プレーンごとにヒストグラムを取得して数値化し(ステップS12)数値化したヒストグラムを引数にして自動しきい値(Rs,Gs,Bs)を算出し(ステップS13),各プレーンのプレーン2値化処理部204,205,206は,その自動しきい値によりプレーンそれぞれを2値化する(ステップS14)。そして,AND演算部207,208,209は,Y信号2値イメージとそれぞれのプレーン2値イメージとをAND演算して合成2値イメージを生成する(ステップS15)。   First, the plane threshold value calculation unit 201, 202, 203 for each plane acquires and digitizes a histogram for each plane (step S12), and uses the digitized histogram as an argument as an automatic threshold value (Rs, Gs, Bs). ) Is calculated (step S13), and the plane binarization processing units 204, 205, and 206 of each plane binarize each plane based on the automatic threshold value (step S14). Then, the AND operation units 207, 208, and 209 perform an AND operation on the Y signal binary image and each plane binary image to generate a composite binary image (step S15).

そして,黒画素頻度算出部210は,合成した各2値イメージの黒画素頻度YRP,YGP,YBPを算出する(ステップS16)。   Then, the black pixel frequency calculation unit 210 calculates the black pixel frequencies YRP, YGP, and YBP of each synthesized binary image (step S16).

YR2値プレーンの黒画素頻度YRP
=(YR2値の黒画素数÷全体の画素数)×100
YG2値プレーンの黒画素頻度YGP
=(YG2値の黒画素数÷全体の画素数)×100
YB2値プレーンの黒画素頻度YBP
=(YB2値の黒画素数÷全体の画素数)×100
さらに,以下の処理で,ドロップアウトプレーンを選択する。すなわち,YRPがYGPより小さく(ステップS17),かつYRPがYGPより小さい場合には(ステップS18),ドロップアウトプレーンとしてRプレーンを選択する(ステップS19)。
YR binary plane black pixel frequency YRP
= (Number of black pixels in YR binary value ÷ total number of pixels) × 100
YG binary plane black pixel frequency YGP
= (Number of black pixels of YG binary value ÷ total number of pixels) × 100
Black pixel frequency YBP of YB binary plane
= (Number of black pixels in YB binary value ÷ total number of pixels) × 100
In addition, the dropout plane is selected by the following processing. That is, when YRP is smaller than YGP (step S17) and YRP is smaller than YGP (step S18), the R plane is selected as the dropout plane (step S19).

また,YRPがYGPより小さくなく(ステップS17),かつYGPがYBPより小さければ(ステップS20),ドロップアウトプレーンとしてGプレーンを選択する(ステップS21)。   If YRP is not smaller than YGP (step S17) and YGP is smaller than YBP (step S20), the G plane is selected as the dropout plane (step S21).

また,YRPがYGPより小さく(ステップS17),さらにYRPがYGPより小さくないか(ステップS18),もしくは,YGPがYBPより小さくなければ(ステップS20),ドロップアウトプレーンとしてBプレーンを選択する(ステップS22)。   If YRP is smaller than YGP (step S17) and YRP is not smaller than YGP (step S18), or if YGP is not smaller than YBP (step S20), the B plane is selected as the dropout plane (step S20). S22).

〔第3の実施の形態〕
第3の実施の形態では,ドロップアウト処理装置300は,Y信号イメージとRGB各プレーンイメージにXOR演算を行いドロップアウトカラーの残存部分を抽出することによりドロップアウトプレーンを識別する。そして,識別したドロップアウトプレーンを用いて手書き文字等の画像イメージ3を出力する。
[Third Embodiment]
In the third embodiment, the dropout processing device 300 identifies a dropout plane by performing an XOR operation on the Y signal image and each RGB plane image and extracting a remaining portion of the dropout color. Then, an image image 3 such as a handwritten character is output using the identified dropout plane.

図17に,第3の実施の形態における本発明にかかる装置の構成例を示す。   FIG. 17 shows a configuration example of an apparatus according to the present invention in the third embodiment.

ドロップアウト処理装置300は,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,輝度信号生成部109と,輝度信号2値化処理部110と,R,G,Bプレーンごとのプレーンしきい値算出部201,202,203と,R,G,Bプレーンごとの2値化処理部204,205,206と,3つのXOR演算部301,302,303と,黒画素頻度算出部304と,2値化画像合成処理部305と,カスレ補正処理部306とを備える。   The dropout processing device 300 includes an image acquisition unit 101, a shadow correction processing unit 102, an RGB plane division unit 103, an image storage unit 104, a luminance signal generation unit 109, a luminance signal binarization processing unit 110, Plane threshold value calculation units 201, 202, and 203 for each of the R, G, and B planes, binarization processing units 204, 205, and 206 for each of the R, G, and B planes, and three XOR operation units 301, 302, 303, a black pixel frequency calculation unit 304, a binarized image composition processing unit 305, and a blur correction processing unit 306.

ドロップアウト処理装置00の各処理部のうち,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,輝度信号生成部109と,輝度信号2値化処理部110とは,図1のドロップアウト処理装置100を構成する同一番号が付与された各処理部と同一の処理を行い,R,G,Bプレーンごとのプレーンしきい値算出部201,202,203と,R,G,Bプレーンごとの2値化処理部204,205,206とは,図1のドロップアウト処理装置200を構成する同一番号が付与された各処理部と同一の処理を行う。 Among the processes of the dropout processing device 3 00, an image acquisition unit 101, a shadow correction processing unit 102, an RGB plane dividing unit 103, an image storage unit 104, a luminance signal generation unit 109, the luminance signal binary The processing unit 110 performs the same processing as each processing unit assigned the same number that constitutes the dropout processing device 100 of FIG. and 202, 203, R, G, and binarization processing unit 204, 205, and 206 for each B plane, the same as the processing units of the same number is applied which constitutes a drop-out processing unit 200 of FIG. 1 4 Process.

XOR演算部301は,Rプレーン2値イメージと輝度信号2値化処理部110で生成されたY信号2値イメージとをXOR演算により合成処理する手段である。同様に,XOR演算部302は,Gプレーン2値イメージとY信号2値イメージとをXOR演算により合成処理する手段であり,XOR演算部303はBプレーン2値イメージとY信号2値イメージとをXOR演算により合成処理する手段である。   The XOR operation unit 301 is a unit that synthesizes the R-plane binary image and the Y signal binary image generated by the luminance signal binarization processing unit 110 by an XOR operation. Similarly, the XOR operation unit 302 is a means for combining the G plane binary image and the Y signal binary image by XOR operation, and the XOR operation unit 303 combines the B plane binary image and the Y signal binary image. This is a means for synthesizing by XOR operation.

黒画素頻度算出部304は,XOR演算部301,302,303がそれぞれ合成処理した合成2値イメージのドロップアウトカラーの残数頻度を算出し,その残数頻度をもとにドロップアウトプレーンを選択する手段である。   The black pixel frequency calculation unit 304 calculates the dropout color remaining frequency of the composite binary image synthesized by the XOR operation units 301, 302, and 303, and selects a dropout plane based on the remaining frequency. It is means to do.

2値化画像合成処理部305は,選択されたドロップアウトプレーンとY信号2値イメージとをAND演算により合成処理する手段である。   The binarized image composition processing unit 305 is means for performing composition processing on the selected dropout plane and the Y signal binary image by AND operation.

カスレ補正処理部306は,2値化画像合成処理部305で合成された2値化合成イメージに対しカスレ補正を行う手段である。   The blur correction processing unit 306 is means for performing blur correction on the binarized composite image synthesized by the binarized image synthesis processing unit 305.

本形態における処理を説明する。   Processing in this embodiment will be described.

イメージ取得部101からRGBプレーン分割部103までの処理,ならびに輝度信号生成部109および輝度信号2値化処理部110の処理は,第1の実施の形態における処理と同様である。   The processing from the image acquisition unit 101 to the RGB plane division unit 103 and the processing of the luminance signal generation unit 109 and the luminance signal binarization processing unit 110 are the same as those in the first embodiment.

また,R/G/Bプレーンごとのプレーンしきい値算出部201,202,203は,局所的2値化法を使用して各プレーンごとのダイナミックなしきい値を求める。そして,プレーン2値化処理部204,205,206は,R/G/Bのそれぞれのプレーンに対して求めたしきい値により2値化処理する。   Also, the plane threshold value calculation units 201, 202, and 203 for each R / G / B plane obtain a dynamic threshold value for each plane using a local binarization method. Then, the plane binarization processing units 204, 205, and 206 perform binarization processing using threshold values obtained for the respective R / G / B planes.

次に,XOR演算部301は,Rプレーン2値イメージとY信号2値イメージとをXOR演算による合成処理を行ない,新たなYRX2値イメージを生成する。同様に,XOR演算部302はGプレーン2値イメージとY信号2値イメージとを合成処理してYGX2値イメージを生成し,XOR演算部303はBプレーン2値イメージとY信号2値イメージとを合成処理してYBX2値イメージを生成する。図18に,各XOR演算部301,302,303により合成処理された2値イメージの例を示す。図18(A)はYRX2値イメージ例を,図18(B)はYGX2値イメージ例を,18(C)はYBX2値イメージ例を示す。   Next, the XOR operation unit 301 performs composition processing by XOR operation on the R plane binary image and the Y signal binary image to generate a new YRX binary image. Similarly, the XOR operation unit 302 combines the G plane binary image and the Y signal binary image to generate a YGX binary image, and the XOR operation unit 303 generates the B plane binary image and the Y signal binary image. A YBX binary image is generated by combining the images. FIG. 18 shows an example of a binary image synthesized by the XOR operation units 301, 302, and 303. 18A shows a YRX binary image example, FIG. 18B shows a YGX binary image example, and FIG. 18C shows a YBX binary image example.

その後,黒画素頻度算出部304は,XOR演算部301,302,303で処理された各2値イメージのドロップアウトカラー(黒画素)の残数頻度を調べる。   Thereafter, the black pixel frequency calculation unit 304 checks the remaining frequency of the dropout color (black pixel) of each binary image processed by the XOR operation units 301, 302, and 303.

通常,Y信号2値イメージはすべての情報が2値化されて出ているので,ドロップアウトしているプレーンの2値イメージとXOR演算することにより,ドロップアウトカラーの部分が情報(黒画素)として出てくるため,ドロップアウトカラーの部分が浮き上がるイメージが生成されることになる。   Usually, since all information is binarized in the Y signal binary image, XOR operation is performed with the binary image of the plane that is being dropped out, so that the dropout color portion is information (black pixels). As a result, an image in which the dropout color part is raised is generated.

したがって,黒画素頻度算出部304は,YRX2値イメージ,YGX2値イメージ,YBX2値イメージの3つのイメージのうち,最も情報数が多い,すなわちドロップアウトカラーの部分の残数頻度が最も多い2値イメージのもととなるプレーンイメージをドロップアウトプレーンとして選択する。   Therefore, the black pixel frequency calculation unit 304 has the highest number of information among the three images of the YRX binary image, the YGX binary image, and the YBX binary image, that is, the binary image having the highest remaining frequency of the dropout color portion. Select the base image as the dropout plane.

図18(A)のYRX2値イメージの残数頻度YRXPは5.943%(カスレ補正処理後で6.014%)となり,図18(B)に示すYGX2値イメージの残数頻度は4.424%(カスレ補正処理後で3.577%)となり,図18(C)のYBX2値イメージの残数頻度YBXPは4.404%(カスレ補正処理後で4.219%)となった。   The remaining frequency YRXP of the YRX binary image in FIG. 18A is 5.943% (6.014% after the blur correction process), and the remaining frequency of the YGX binary image shown in FIG. 18B is 4.424. % (3.577% after blur correction processing), and the remaining number frequency YBXP of the YBX binary image in FIG. 18C was 4.404% (4.219% after blur correction processing).

また,残数頻度の相違率をみると,YRX2値イメージとYGX2値イメージでは1.519%であり,YRX2値イメージとYBX2値イメージでは1.539%であった。一方YGX2値イメージとYBX2値イメージとの残数頻度の相違率は,0.020%であった。   Further, the difference rate of the remaining number frequency was 1.519% for the YRX binary image and the YGX binary image, and 1.539% for the YRX binary image and the YBX binary image. On the other hand, the difference rate of the remaining frequency between the YGX binary image and the YBX binary image was 0.020%.

ドロップアウトしているプレーンをもとに合成処理した2値プレーンは,XORビット演算結果,ドロップアウトカラー分の情報量(黒画素数)が多くなる。したがって,黒画素頻度算出部304は,相違率のしきい値と他のプレーンとの相違率の広がりを設定することによりドロップアウトプレーンを識別することが可能である。本形態では,黒画素頻度算出部304は,ドロップアウトプレーンとしてRプレーンを識別する。   In the binary plane synthesized based on the plane that is dropped out, the amount of information (number of black pixels) corresponding to the dropout color increases as a result of the XOR bit operation. Therefore, the black pixel frequency calculation unit 304 can identify the dropout plane by setting the difference rate threshold value and the spread of the difference rate between other planes. In this embodiment, the black pixel frequency calculation unit 304 identifies the R plane as a dropout plane.

図19に,第3の実施の形態におけるドロップアウトプレーンの選択処理の処理フローを示す。図13に示す処理フローと同様に,選択処理の前にR/G/Bの各プレーンが分離生成されているとする。   FIG. 19 shows a processing flow of dropout plane selection processing in the third embodiment. Similarly to the processing flow shown in FIG. 13, it is assumed that R / G / B planes are generated separately before the selection processing.

また,ステップS31からステップS34までの処理は,図16に示す処理フローのステップS11からステップS14までの処理と同様であるので,説明を省略する。   The processing from step S31 to step S34 is the same as the processing from step S11 to step S14 in the processing flow shown in FIG.

XOR演算部301,302,303は,Y信号2値イメージとそれぞれのプレーン2値イメージとをXOR演算して合成2値イメージを生成する(ステップS35)。   The XOR operation units 301, 302, and 303 generate a composite binary image by performing an XOR operation on the Y signal binary image and each plane binary image (step S35).

そして,黒画素頻度算出部304は,合成した各2値イメージのドロップアウトカラー部分の残数頻度YRXP,YGXP,YBXPを算出する(ステップS36)。   Then, the black pixel frequency calculation unit 304 calculates the remaining frequency YRXP, YGXP, YBXP of the dropout color portion of each synthesized binary image (step S36).

YR2値プレーンの残数頻度YRXP
=(YR2値の黒画素数÷全体の画素数)×100
YG2値プレーンの残数頻度YGXP
=(YG2値の黒画素数÷全体の画素数)×100
YB2値プレーンの残数頻度YBXP
=(YB2値の黒画素数÷全体の画素数)×100
さらに,以下の処理で,ドロップアウトプレーンを選択する。すなわち,YRXPがYGXPより大きく(ステップS37),かつYRXPがYGXPより大きい場合には(ステップS38),ドロップアウトプレーンとしてRプレーンを選択する(ステップS39)。
YR X Binary Plane Remaining Frequency YRXP
= (YR X binary black pixel number / total number of pixels) × 100
YG X Binary Plane Remaining Frequency YGXP
= (YG X binary black pixel number / total number of pixels) × 100
Remaining number frequency YBXP of YB X 2 value plane
= (YB X binary black pixel number / total number of pixels) × 100
In addition, the dropout plane is selected by the following processing. That is, when YRXP is larger than YGXP (step S37) and YRXP is larger than YGXP (step S38), the R plane is selected as the dropout plane (step S39).

また,YRXPがYGXPより大きくなく(ステップS37),かつYGXPがYBXPより大きければ(ステップS40),ドロップアウトプレーンとしてGプレーンを選択する(ステップS41)。   If YRXP is not larger than YGXP (step S37) and YGXP is larger than YBXP (step S40), the G plane is selected as the dropout plane (step S41).

また,YRXPがYGXPより大きく(ステップS37),さらにYRXPがYGXPより大きくないか(ステップS38),もしくは,YGXPがYBXPより大きくなければ(ステップS40),ドロップアウトプレーンとしてBプレーンを選択する(ステップS42)。   If YRXP is larger than YGXP (step S37) and YRXP is not larger than YGXP (step S38), or if YGXP is not larger than YBXP (step S40), the B plane is selected as the dropout plane (step S40). S42).

〔第4の実施の形態〕
前記の第1〜第3の実施の形態のドロップアウト処理装置において,読み取った帳票のドロップアウトカラーが識別できない場合が生じる。例えば,RGBの各プレーンのヒストグラムの背景部分とドロップアウトカラーとの谷間が存在していない場合や,ドロップアウトカラーの印刷頻度が低い場合には,ドロップアウトカラーが判定できない場合がある。また,複数のドロップアウトカラーが存在する帳票についても,ドロップアウトカラーが判定できない。
[Fourth Embodiment]
In the dropout processing apparatuses of the first to third embodiments, the dropout color of the read form may not be identified. For example, the dropout color may not be determined when there is no valley between the background portion of the histogram of each RGB plane and the dropout color or when the printout frequency of the dropout color is low. Also, the dropout color cannot be determined for a form having a plurality of dropout colors.

第4の実施の形態では,ドロップアウト処理装置400は,前記の実施の形態で説明したドロップアウトカラーを識別する種々の方法を組み合わせて,ドロップアウトカラーの色系を識別できない帳票や複数のドロップアウトカラーが混在している帳票の場合に,1つの帳票2のイメージに対して複数のドロップアウトカラーによるドロップアウト処理を行って所望される画像イメージ3もしくは画像イメージ4を出力する。   In the fourth embodiment, the dropout processing device 400 combines a variety of methods for identifying the dropout color described in the above embodiments to combine a form or a plurality of drops that cannot identify the color system of the dropout color. In the case of a form in which outcolors are mixed, a desired image image 3 or 4 is output by performing dropout processing with a plurality of dropout colors on the image of one form 2.

図20に,本形態での処理の対象とする帳票2のイメージの一部を示す。本形態で処理する帳票2は,青系ドロップアウトカラーで印鑑枠が印刷され,赤系ドロップアウトカラーで記入文字枠が印刷され,黒色の手書き文字がかかれた帳票であり,複数のドロップアウトカラーが混在する帳票である。   FIG. 20 shows a part of the image of the form 2 to be processed in this embodiment. Form 2 processed in this embodiment is a form in which a seal frame is printed with a blue dropout color, an entry character frame is printed with a red dropout color, and black handwritten characters are written. Is a mixed form.

図21に,第4の実施の形態における本発明にかかる装置の構成例を示す。   FIG. 21 shows a configuration example of an apparatus according to the present invention in the fourth embodiment.

ドロップアウト処理装置400は,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,ヒストグラム演算部105と,判定しきい値算出部106と,ドロップアウトプレーン選択部107と,ドロップアウトプレーン2値化部108と,輝度信号生成部109と,輝度信号2値化処理部110と,2値化画像合成処理部111と,カスレ補正処理部112と,R,G,Bプレーンごとのプレーンしきい値算出部201,202,203と,R,G,Bプレーンごとの2値化処理部204,205,206と,YR合成演算部401と,YG合成演算部402と,YB合成演算部403と,カスレ補正処理部404とを備える。   The dropout processing device 400 includes an image acquisition unit 101, a shadow correction processing unit 102, an RGB plane division unit 103, an image storage unit 104, a histogram calculation unit 105, a determination threshold value calculation unit 106, a dropout A plane selection unit 107, a dropout plane binarization unit 108, a luminance signal generation unit 109, a luminance signal binarization processing unit 110, a binary image composition processing unit 111, a blur correction processing unit 112, Plane threshold value calculation units 201, 202, and 203 for each of the R, G, and B planes, binarization processing units 204, 205, and 206 for each of the R, G, and B planes, a YR composition calculation unit 401, and a YG composition A calculation unit 402, a YB composition calculation unit 403, and a blur correction processing unit 404 are provided.

ドロップアウト処理装置400の各処理部のうち,イメージ取得部101と,影補正処理部102と,RGBプレーン分割部103と,画像記憶部104と,ヒストグラム演算部105と,判定しきい値算出部106と,ドロップアウトプレーン選択部107と,ドロップアウトプレーン2値化部108と,輝度信号生成部109と,輝度信号2値化処理部110と,2値化画像合成処理部111と,カスレ補正処理部112とは,図1のドロップアウト処理装置100を構成する同一番号が付与された各処理部とほぼ同一の処理を行い,R,G,Bプレーンごとのプレーンしきい値算出部201,202,203と,R,G,Bプレーンごとの2値化処理部204,205,206とは,図14のドロップアウト処理装置200を構成する同一番号が付与された各処理部とほぼ同一の処理を行う。   Among the processing units of the dropout processing device 400, the image acquisition unit 101, the shadow correction processing unit 102, the RGB plane division unit 103, the image storage unit 104, the histogram calculation unit 105, and the determination threshold value calculation unit. 106, a dropout plane selection unit 107, a dropout plane binarization unit 108, a luminance signal generation unit 109, a luminance signal binarization processing unit 110, a binary image composition processing unit 111, and a blur correction. The processing unit 112 performs substantially the same processing as each processing unit to which the same number that constitutes the dropout processing apparatus 100 of FIG. 1 is assigned, and a plane threshold value calculation unit 201 for each of the R, G, and B planes, 202 and 203 and the binarization processing units 204, 205, and 206 for each of the R, G, and B planes constitute the dropout processing device 200 of FIG. Perform substantially the same processing as the processing unit to which an ID is assigned.

YR合成演算部401は,Y信号2値イメージもしくは他の合成演算部402,403で合成された2値イメージと,Rプレーン2値イメージとをAND演算により合成処理し,新たな2値合成イメージを生成する手段である。   The YR synthesis operation unit 401 performs synthesis processing on the Y image binary image or the binary image synthesized by the other synthesis operation units 402 and 403 and the R plane binary image by AND operation, and creates a new binary synthesis image. Is a means for generating

YG合成演算部402は,Y信号2値イメージもしくは他の合成演算部401,403で合成された2値イメージと,Gプレーン2値イメージとをAND演算により合成処理し,新たな2値合成イメージを生成する手段である。   The YG synthesis calculation unit 402 performs a synthesis process on the Y image binary image or the binary image synthesized by the other synthesis calculation units 401 and 403 and the G plane binary image by an AND operation to obtain a new binary synthesis image. Is a means for generating

YB合成演算部403は,Y信号2値イメージもしくは他の合成演算部401,402で合成された2値イメージと,Bプレーン2値イメージとをAND演算により合成処理し,新たな2値合成イメージを生成する手段である。   The YB synthesis operation unit 403 performs an AND operation on the Y signal binary image or the binary image synthesized by the other synthesis operation units 401 and 402 and the B plane binary image, and performs a new binary synthesis image. Is a means for generating

これらの合成演算部401,402,403のうち,2つの合成演算部を組み合わせて処理を行うようにしてもよく,または,3 つの合成演算部すべてで処理を行うようにしてもよい。処理順序は,どの合成演算部から処理を行ってもよく,同一の結果となる。   Of these combination calculation units 401, 402, and 403, two combination calculation units may be combined for processing, or all three combination calculation units may be processed. As for the processing order, processing may be performed from any synthesis operation unit, and the same result is obtained.

ドロップアウトプレーン選択部107は,判定しきい値算出部106が算出したしきい値をもとにドロップアウトプレーンが判定できたときは,その判定結果をドロップアウトプレーン2値化処理部108へ通知する。一方,ドロップアウトプレーンが判定できなかったときは,R/G/Bの各プレーンのプレーンしきい値算出部201,202,202に処理を渡す。この場合に,全てのプレーンしきい値算出部を起動するようにしてもよく,また,予め定めた所定のプレーンしきい値算出部のみを起動するようにしてもよく,また,所定の順序でプレーンしきい値算出部を1つずつ起動するようにしてもよい。   When the dropout plane can be determined based on the threshold calculated by the determination threshold calculation unit 106, the dropout plane selection unit 107 notifies the determination result to the dropout plane binarization processing unit 108. To do. On the other hand, when the dropout plane cannot be determined, the process is passed to the plane threshold value calculation units 201, 202, and 202 of each plane of R / G / B. In this case, all the plane threshold value calculation units may be activated, or only a predetermined plane threshold value calculation unit may be activated, or in a predetermined order. You may make it start a plane threshold value calculation part one by one.

輝度信号2値化処理部110は,前記説明のとおり,輝度信号生成部109で生成したY信号イメージに対して局所的2値化法を用いて,Y信号イメージがドロップアウトカラーを含めてすべての情報を出すように最適な2値化を行う。図22(A)にY信号2値イメージの例を示す。   As described above, the luminance signal binarization processing unit 110 uses the local binarization method for the Y signal image generated by the luminance signal generation unit 109 so that all Y signal images including the dropout color are included. The optimal binarization is performed so as to output the information. FIG. 22A shows an example of a Y signal binary image.

本形態において,図21に示す帳票2のイメージの赤系および青系のドロップアウトカラーを処理する例を説明する。   In this embodiment, an example of processing the red and blue dropout colors of the image of the form 2 shown in FIG. 21 will be described.

Rプレーンしきい値算出部201は,ドロップアウトプレーン選択部107の通知を受けて,自動判別しきい値法を用いてRプレーンのしきい値を算出する。そして,Rプレーン2値化処理部204は,算出されたしきい値を用いて,単純2値化処理もしくは局所的2値化法による最適2値化処理のいずれかの処理を行い,図22(B)に示すRプレーン2値イメージを生成する。   The R plane threshold value calculation unit 201 receives the notification from the dropout plane selection unit 107 and calculates the threshold value of the R plane using the automatic discrimination threshold method. Then, the R-plane binarization processing unit 204 performs either a simple binarization process or an optimal binarization process by a local binarization method using the calculated threshold value. An R-plane binary image shown in (B) is generated.

そして,YR合成演算部401は,図22(A)のY信号2値イメージと図22(B)のRプレーン2値イメージとをAND演算で合成処理し,新たにYR2値イメージを生成する。   Then, the YR synthesis calculation unit 401 combines the Y signal binary image of FIG. 22A and the R plane binary image of FIG. 22B by AND operation to newly generate a YR binary image.

図22(C)にYR2値イメージの例を示す。Y信号2値イメージの赤系ドロップアウトカラーの部分は2値化されて情報として出ているが,Rプレーン2値イメージでは赤系ドロップアウトカラーの部分が情報として出ていないので,AND演算処理により赤色の特性のドロップアウトカラーの部分は情報として出ずに消去される。   FIG. 22C shows an example of a YR binary image. The red system dropout color part of the Y signal binary image is binarized and output as information, but the red system dropout color part is not output as information in the R plane binary image, so AND operation processing As a result, the red color dropout color portion is erased without being output as information.

そして,Bプレーンしきい値算出部203は,ドロップアウトプレーン選択部107の通知を受けて,自動判別しきい値法を用いてBプレーンのしきい値を算出する。そして,Bプレーン2値化処理部206は,算出されたしきい値を用いて,単純2値化処理もしくは局所的2値化法による最適2値化処理のいずれかの処理を行い,図22(D)に示すBプレーン2値イメージを生成する。   The B plane threshold value calculation unit 203 receives the notification from the dropout plane selection unit 107 and calculates a threshold value for the B plane using the automatic discrimination threshold method. Then, the B plane binarization processing unit 206 performs either a simple binarization process or an optimal binarization process by a local binarization method using the calculated threshold value, and FIG. A B plane binary image shown in (D) is generated.

その後,YB合成演算部403は,YR合成演算部401で生成したYR2値イメージとBプレーン2値イメージとをAND演算で合成処理し,新たにYRB2値イメージを生成する。   After that, the YB composition calculation unit 403 combines the YR binary image generated by the YR composition calculation unit 401 and the B plane binary image by AND operation to newly generate a YRB binary image.

図22(E)にYRB2値イメージの例を示す。YRB2値イメージではすでに赤系ドロップアウトカラーの部分は消去されているが,青系ドロップアウトカラーの部分は2値化されて情報として出ている。一方,Bプレーン2値イメージでは青系ドロップアウトカラーの部分は情報として出ていないので,AND演算処理により青色の特性のドロップアウトカラーも情報として出ずに消去される。   FIG. 22E shows an example of a YRB binary image. In the YRB binary image, the red dropout color portion is already deleted, but the blue dropout color portion is binarized and output as information. On the other hand, in the B plane binary image, the blue dropout color portion is not output as information, and therefore, the blue characteristic dropout color is deleted without being output as information by the AND operation processing.

よって,この時点で,赤色の特性と青色の特性の異なる2色のドロップアウトカラーの部分が消去されたことになる。   Therefore, at this point, the two dropout color portions having different red characteristics and blue characteristics are erased.

なお,ドロップアウトカラー色の種別が判明しない場合には,さらにYG合成演算部402により,YRB2値イメージにGプレーン2値イメージをマスク処理(合成処理)することで,緑色の特性(G系)のドロップアウトカラーの部分も消去することができる。   If the type of the dropout color is not known, the YG composition calculation unit 402 further masks (combines) the G-plane binary image with the YRB binary image, thereby obtaining a green characteristic (G system). The dropout color part of can also be erased.

以上,本発明をその実施の形態により説明したが,本発明はその主旨の範囲において種々の変形が可能である。   As mentioned above, although this invention was demonstrated by the embodiment, this invention can be variously deformed in the range of the main point.

例えば,本発明の実施の形態では,本発明にかかるドロップアウト処理装置100,200,300,400は帳票2からカラーイメージを読み取るイメージ取得部101および影補正処理部102を備える構成について説明したが,ドロップアウト処理装置100,200,300,400は,帳票2の代わりに帳票のカラーイメージデータを種々のメディア等もしくは伝送路を介して入力するようにしてもよい。この場合に,イメージ取得部101および影補正処理部102は不要である。   For example, in the embodiment of the present invention, the configuration in which the dropout processing devices 100, 200, 300, and 400 according to the present invention include the image acquisition unit 101 that reads a color image from the form 2 and the shadow correction processing unit 102 has been described. The dropout processing devices 100, 200, 300, and 400 may input the color image data of the form instead of the form 2 via various media or transmission paths. In this case, the image acquisition unit 101 and the shadow correction processing unit 102 are unnecessary.

また,本発明にかかる装置を構成する種々イメージを2値化する各処理部は,2値化法として大局的2値化法と局所的2値化法とを組み合わせて2値化処理するようにしてもよい。   In addition, each processing unit that binarizes various images constituting the apparatus according to the present invention performs binarization processing by combining a global binarization method and a local binarization method as a binarization method. It may be.

また,カスレ補正処理部112,212,306,404は,出力する画像イメージの品質を保証するものであり,不要な場合もある。   Also, the blur correction processing units 112, 212, 306, and 404 guarantee the quality of the output image and may be unnecessary.

また,本発明にかかるドロップアウト処理装置100,200,300,400は,帳票2の読み取り装置内に組み込まれて実施されることも可能である。   Further, the dropout processing apparatuses 100, 200, 300, and 400 according to the present invention can be implemented by being incorporated in a form 2 reading apparatus.

本発明の形態および実施例の特徴を列記すると以下のとおりである。   The features of the embodiments and examples of the present invention are listed as follows.

(付記1) 帳票のドロップアウト処理で用いるドロップアウトカラーを識別する処理をコンピュータに実行させるプログラムであって,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記濃度特性から前記各プレーンごとの判別しきい値を自動的に算出するしきい値算出処理と,
前記判定しきい値を用いて前記各プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
(Supplementary note 1) A program for causing a computer to execute a process of identifying a dropout color used in a form dropout process,
A plane acquisition process for separately generating and generating R, G, and B planes for each RGB system from the form image data;
A threshold value calculation process for obtaining density characteristics for each of the R plane, G plane, and B plane, and automatically calculating a discrimination threshold value for each plane from the density characteristics;
Dropout plane selection processing for selecting a dropout plane from each of the planes using the determination threshold,
A dropout color identification processing program which is executed by a computer.

(付記2) 帳票のドロップアウト処理で用いるドロップアウトカラーを識別する処理をコンピュータに実行させるプログラムであって,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理と,
前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理と,
前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理と,
前記輝度信号2値化イメージと,前記各プレーン2値化イメージのそれぞれとについて,画素ごとに合成処理して各プレーンの2値合成イメージを生成する合成処理と,
前記各プレーン2値合成イメージそれぞれの画素頻度を算出し,前記画素頻度を用いて前記各プレーン2値合成イメージのもととなる前記プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
(Supplementary note 2) A program for causing a computer to execute a process for identifying a dropout color used in a form dropout process,
A plane acquisition process for separately generating and generating R, G, and B planes for each RGB system from the form image data;
A luminance signal binarization process for generating a luminance signal image from the form image and further binarizing to generate a luminance signal binary image;
Plane 2 for obtaining each of the dynamic determination threshold values acquired in the plane acquisition process, and binarizing each plane based on the determination threshold value to generate each plane binarized image Valuation processing,
A combining process for generating a binary combined image of each plane by combining the luminance signal binarized image and each of the plane binarized images for each pixel;
A pixel frequency of each of the plane binary composite images, and a dropout plane selection process for selecting a dropout plane from the plane that is the basis of each plane binary composite image using the pixel frequencies.
A dropout color identification processing program which is executed by a computer.

(付記3)付記2記載のドロップアウトカラー識別処理プログラムにおいて,
前記合成処理では,画素ごとにAND演算を行い,前記各プレーン2値合成イメージを生成する処理と,
前記ドロップアウトプレーン識別処理では,前記各プレーン2値合成イメージの黒画素頻度を算出し,前記黒画素頻度が最小であるプレーン合成2値イメージのもととなるプレーンをドロップアウトプレーンとして選択する処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
(Appendix 3) In the dropout color identification processing program described in Appendix 2,
In the synthesis process, an AND operation is performed for each pixel to generate each plane binary synthesized image;
In the dropout plane identification process, the black pixel frequency of each plane binary composite image is calculated, and the plane that is the basis of the plane composite binary image having the minimum black pixel frequency is selected as the dropout plane. And
A dropout color identification processing program which is executed by a computer.

(付記4)付記2記載のドロップアウトカラー識別処理プログラムにおいて,
前記合成処理では,画素ごとにXOR演算を行い,前記各プレーン2値合成イメージを生成する処理と,
前記ドロップアウトプレーン識別処理では,前記各プレーン2値合成イメージの黒画素の相違度を算出し,前記相違度が最大であるプレーン2値合成イメージのもととなるプレーンをドロップアウトプレーンとして選択する処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
(Appendix 4) In the dropout color identification processing program described in Appendix 2,
In the synthesis process, an XOR operation is performed for each pixel to generate each plane binary synthesized image;
In the dropout plane identification process, the black pixel dissimilarity of each plane binary composite image is calculated, and the plane that is the basis of the plane binary composite image having the maximum dissimilarity is selected as the dropout plane. Processing,
A dropout color identification processing program which is executed by a computer.

(付記5) 帳票のドロップアウト処理で用いるドロップアウトカラーを識別する処理方法において,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理過程と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記濃度特性から前記各プレーンごとの判別しきい値を自動的に算出するしきい値算出処理過程と,
前記判定しきい値を用いて前記各プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理過程とを備える
ことを特徴とするドロップアウトカラー識別処理方法。
(Supplementary Note 5) In the processing method for identifying the dropout color used in the form dropout process,
A plane acquisition process for acquiring R planes, G planes, and B planes by separating and generating plane images of each RGB system from the form image data;
A threshold value calculation process for obtaining density characteristics for each of the R plane, G plane, and B plane, and automatically calculating a discrimination threshold value for each plane from the density characteristics;
A dropout color identification processing method comprising: a dropout plane selection processing step of selecting a dropout plane from each of the planes using the determination threshold value.

(付記6) 帳票のドロップアウト処理で用いるドロップアウトカラーを識別するドロップアウトカラー識別処理方法において,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理過程と,
前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理過程と,
前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理過程と,
前記輝度信号2値化イメージと,前記各プレーン2値化イメージのそれぞれとについて,画素ごとに合成処理して各プレーンの2値合成イメージを生成する合成処理過程と,
前記各プレーン2値合成イメージそれぞれの画素頻度を算出し,前記画素頻度を用いて前記各プレーン2値合成イメージのもととなる前記プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理過程とを備える
ことを特徴とするドロップアウトカラー識別処理方法。
(Supplementary Note 6) In the dropout color identification processing method for identifying the dropout color used in the form dropout process,
A plane acquisition process for acquiring R planes, G planes, and B planes by separating and generating plane images of each RGB system from the form image data;
A luminance signal binarization process for generating a luminance signal image from the form image and binarizing to generate a luminance signal binary image;
Plane 2 for obtaining each of the dynamic determination threshold values acquired in the plane acquisition process, and binarizing each plane based on the determination threshold value to generate each plane binarized image Valuation process,
A combining process for generating a binary combined image of each plane by combining the luminance signal binarized image and each of the plane binarized images for each pixel;
Calculating a pixel frequency of each plane binary composite image, and using the pixel frequency to select a dropout plane from the plane that is the basis of each plane binary composite image; A dropout color identification processing method characterized by comprising:

(付記7) 帳票から識別したドロップアウトカラーによりドロップアウト処理を行うドロップアウト処理装置であって,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理手段と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記濃度特性から前記各プレーンごとの判別しきい値を自動的に算出するしきい値算出処理手段と,
前記判定しきい値を用いて前記各プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理手段とを備える
ことを特徴とするドロップアウト処理装置。
(Supplementary note 7) A dropout processing device that performs a dropout process using a dropout color identified from a form,
Plane acquisition processing means for separately generating and generating R, G, and B planes of RGB system plane images from the form image data;
Threshold value calculation processing means for obtaining density characteristics for each of the R plane, G plane, and B plane, and automatically calculating a discrimination threshold value for each plane from the density characteristics;
Dropout plane selection processing means for selecting a dropout plane from each of the planes using the determination threshold value.

(付記8) 帳票から識別したドロップアウトカラーによりドロップアウト処理を行うドロップアウト処理装置であって,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理手段と,
前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理手段と,
前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理手段と,
前記輝度信号2値化イメージと,前記各プレーン2値化イメージのそれぞれとについて,画素ごとに合成処理して各プレーンの2値合成イメージを生成する合成処理手段と,
前記各プレーン2値合成イメージそれぞれの画素頻度を算出し,前記画素頻度を用いて前記各プレーン2値合成イメージのもととなる前記プレーンからドロップアウトプレーンを選択するドロップアウトプレーン選択処理手段とを備える
ことを特徴とするドロップアウト処理装置。
(Supplementary Note 8) A dropout processing device that performs dropout processing with a dropout color identified from a form,
Plane acquisition processing means for separately generating and generating R, G, and B planes of RGB system plane images from the form image data;
Luminance signal binarization processing means for generating a luminance signal image from the form image and further binarizing to generate a luminance signal binary image;
Plane 2 for obtaining each of the dynamic determination threshold values acquired in the plane acquisition process, and binarizing each plane based on the determination threshold value to generate each plane binarized image Value processing means;
Combining processing means for generating a binary combined image of each plane by combining the luminance signal binarized image and each of the plane binarized images for each pixel;
Drop-out plane selection processing means for calculating a pixel frequency of each of the plane binary composite images and selecting a drop-out plane from the plane that is the basis of each of the plane binary composite images using the pixel frequency; A dropout processing device comprising: a dropout processing device;

(付記9) 帳票から識別したドロップアウトカラーによりドロップアウト処理を行うドロップアウト処理装置であって,
帳票イメージデータからRGB系の各系のプレーンイメージを分離生成してRプレーン,Gプレーン,Bプレーンを取得するプレーン取得処理手段と,
前記帳票イメージから輝度信号イメージを生成し,さらに2値化して輝度信号2値化イメージを生成する輝度信号2値化処理手段と,
前記プレーン取得処理で取得した前記各それぞれのダイナミックな判定しきい値を求め,前記判定しきい値をもとに,前記各プレーンをそれぞれ2値化して各プレーン2値化イメージを生成するプレーン2値化処理手段と,
前記輝度信号2値化イメージと,前記各プレーン2値化イメージの一のプレーン2値イメージとを,画素ごとに合成処理して第一の2値合成イメージを生成する第一の合成処理手段と,
前記第一の2値合成イメージと,前記各プレーン2値化イメージのうち前記第一の合成処理手段で処理されない一のプレーン2値イメージとを,画素ごとに合成処理して第二の2値合成イメージを生成する第二の合成処理手段とを備える
ことを特徴とするドロップアウト処理装置。
(Supplementary Note 9) A dropout processing apparatus that performs dropout processing with a dropout color identified from a form,
Plane acquisition processing means for separately generating and generating R, G, and B planes of RGB system plane images from the form image data;
Luminance signal binarization processing means for generating a luminance signal image from the form image and further binarizing to generate a luminance signal binary image;
Plane 2 for obtaining each of the dynamic determination threshold values acquired in the plane acquisition process, and binarizing each plane based on the determination threshold value to generate each plane binarized image Value processing means;
First combining processing means for combining the luminance signal binarized image and one plane binary image of each plane binarized image for each pixel to generate a first binary combined image; ,
The first binary composite image and one plane binary image that is not processed by the first composite processing means among the plane binary images are combined for each pixel to generate a second binary image. A dropout processing apparatus comprising: a second combining processing unit that generates a combined image.

第1の実施の形態における本発明にかかる装置の構成例を示す図である。It is a figure which shows the structural example of the apparatus concerning 1st Embodiment concerning this invention. 第1の実施の形態における帳票2のイメージの一部を示す図である。It is a figure which shows a part of image of the form 2 in 1st Embodiment. Rプレーン,Gプレーン,Bプレーンの各ヒストグラム例を示す図である。It is a figure which shows each histogram example of R plane, G plane, and B plane. ドロップアウトプレーン2値イメージの例を示す図である。It is a figure which shows the example of a dropout plane binary image. 7×7フィルタの例を示す図である。It is a figure which shows the example of a 7x7 filter. Y信号イメージの2値化処理を説明するための図およびY信号2値イメージの例を示す図である。It is a figure for demonstrating the binarization process of Y signal image, and a figure which shows the example of a Y signal binary image. YR2値イメージの例を示す図である。It is a figure which shows the example of a YR binary image. カスレ補正処理の有無による結果例を示す図である。It is a figure which shows the example of a result by the presence or absence of a blurring correction process. 局所2値化処理に対するカスレ補正処理の説明のための図である。It is a figure for demonstrating the blur correction process with respect to a local binarization process. カスレ補正処理の有無による結果例を示す図である。It is a figure which shows the example of a result by the presence or absence of a blurring correction process. 自動判別しきい値法による2値化処理に対するカスレ補正処理の説明のための図である。It is a figure for demonstrating the blur correction process with respect to the binarization process by an automatic discrimination threshold method. カスレ補正処理の有無による結果例を示す図である。It is a figure which shows the example of a result by the presence or absence of a blurring correction process. 第1の実施の形態におけるドロップアウトプレーンの選択処理の処理フロー例を示す図である。It is a figure which shows the example of a processing flow of the selection process of the dropout plane in 1st Embodiment. 第2の実施の形態における本発明にかかる装置の構成例を示す図である。It is a figure which shows the structural example of the apparatus concerning this invention in 2nd Embodiment. AND演算処理により合成された2値イメージの例を示す図である。It is a figure which shows the example of the binary image synthesize | combined by AND operation processing. 第2の実施の形態におけるドロップアウトプレーンの選択処理の処理フロー例を示す図である。It is a figure which shows the example of a processing flow of the selection process of the dropout plane in 2nd Embodiment. 第3の実施の形態における本発明にかかる装置の構成例を示す図である。It is a figure which shows the structural example of the apparatus concerning this invention in 3rd Embodiment. XOR演算処理により合成された2値イメージの例を示す図である。It is a figure which shows the example of the binary image synthesize | combined by the XOR operation process. 第3の実施の形態におけるドロップアウトプレーンの選択処理の処理フロー例を示す図である。It is a figure which shows the example of a processing flow of the selection process of the dropout plane in 3rd Embodiment. 第4の実施の形態における帳票2のイメージの一部を示す図である。It is a figure which shows a part of image of the form 2 in 4th Embodiment. 第4の実施の形態における本発明にかかる装置の構成例を示す図である。It is a figure which shows the structural example of the apparatus concerning this invention in 4th Embodiment. 複数のAND演算の合成処理を説明するための図である。It is a figure for demonstrating the synthetic | combination process of a several AND operation.

符号の説明Explanation of symbols

2 帳票
3,4 画像イメージ
100,200,300,400 ドロップアウト処理装置
101 イメージ取得部
102 影補正処理部
103 RGBプレーン分割部
104 画像記憶部
105 ヒストグラム演算部
106 判定しきい値算出部
107 ドロップアウトプレーン選択部
108 ドロップアウトプレーン2値化処理部
109 輝度信号生成部
110 輝度信号2値化処理部
111 2値化画像合成処理部
112,212,306,404 カスレ補正処理部
201 Rプレーンしきい値算出部
202 Gプレーンしきい値算出部
203 Bプレーンしきい値算出部
204 Rプレーン2値化処理部
205 Gプレーン2値化処理部
206 Bプレーン2値化処理部
207,208,209 AND演算部
210,304, 黒画素頻度算出部
211,305 2値化画像合成処理部
301,302,303 XOR演算部
401 YR合成演算部
402 YG合成演算部
403 YB合成演算部
2 Form 3, 4 Image image 100, 200, 300, 400 Dropout processing device 101 Image acquisition unit 102 Shadow correction processing unit 103 RGB plane division unit 104 Image storage unit 105 Histogram calculation unit 106 Determination threshold value calculation unit 107 Dropout Plane selection unit 108 Dropout plane binarization processing unit 109 Luminance signal generation unit 110 Luminance signal binarization processing unit 111 Binary image synthesis processing unit 112, 212, 306, 404 Scratch correction processing unit 201 R plane threshold Calculation unit 202 G plane threshold value calculation unit 203 B plane threshold value calculation unit 204 R plane binarization processing unit 205 G plane binarization processing unit 206 B plane binarization processing unit 207, 208, 209 AND operation unit 210, 304, black pixel frequency calculation unit 211,305 Binary image composition processing unit 301,302,303 XOR operation unit 401 YR composition operation unit 402 YG composition operation unit 403 YB composition operation unit

Claims (5)

帳票のドロップアウト処理で用いるドロップアウトカラーを識別する処理をコンピュータに実行させるプログラムであって,
帳票イメージデータから,RGB系の各一系の色成分を除去したプレーンイメージであって,R系色成分を除去したRプレーン,G系色成分を除去したGプレーン,B系色成分を除去したBプレーンを生成するプレーン取得処理と,
前記帳票イメージデータから輝度信号イメージを生成し,前記輝度信号イメージを2値化して輝度信号2値化イメージを生成する輝度信号2値化処理と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記各プレーンの濃度特性から所定の式にもとづいて判別しきい値を算出するしきい値算出処理と,
前記判定しきい値をもとに前記Rプレーン,Gプレーン,Bプレーンの各プレーンをそれぞれ2値化し,前記各プレーンの2値化イメージを生成するプレーン2値化処理と,
前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれとについて,対応する画素を合成処理し,前記各プレーンの2値合成イメージを生成する合成処理と,
前記各プレーンの2値合成イメージそれぞれにおいて,画素頻度を算出し,前記画素頻度をもとに,前記プレーンの中から異なる画素頻度の傾向を示す2値合成イメージを選択し,前記選択された2値合成イメージに対応するプレーンで除去された色系をドロップアウトカラーとして特定するドロップアウトプレーン選択処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
A program that causes a computer to execute a process of identifying a dropout color used in a form dropout process,
A plain image obtained by removing each RGB system color component from the form image data, the R plane from which the R system color component has been removed, the G plane from which the G system color component has been removed, and the B system color component. A plane acquisition process for generating a B plane;
A luminance signal binarization process for generating a luminance signal image from the form image data and binarizing the luminance signal image to generate a luminance signal binary image;
A threshold value calculation process for obtaining a density characteristic for each plane of the R plane, the G plane, and the B plane, and calculating a discrimination threshold value based on a predetermined formula from the density characteristic of each plane;
A plane binarization process for binarizing each of the R plane, the G plane, and the B plane based on the determination threshold, and generating a binarized image of each plane;
For the luminance signal binarized image and each binarized image of each plane, a corresponding pixel is combined, and a combining process for generating a binary combined image of each plane;
In each binary composite image of each plane, a pixel frequency is calculated, and based on the pixel frequency, a binary composite image showing a tendency of different pixel frequencies is selected from the plane, and the selected 2 Dropout plane selection processing for specifying a color system removed by a plane corresponding to a value composite image as a dropout color;
A dropout color identification processing program which is executed by a computer.
請求項1記載のドロップアウトカラー識別処理プログラムにおいて,
前記合成処理では,前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれにおいて,画素ごとにAND演算を行い,前記各プレーンの2値合成イメージを生成する処理を,
前記ドロップアウトプレーン選択処理では,前記各プレーンの2値合成イメージの黒画素頻度を算出し,前記黒画素頻度が最小である2値合成イメージのもととなったプレーンで除去された色系をドロップアウトカラーとして特定する処理を,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
In the dropout color identification processing program according to claim 1,
In the synthesis process, an AND operation is performed for each pixel in each of the luminance signal binarized image and the binarized image of each plane to generate a binary synthesized image of each plane.
In the dropout plane selection process, the black pixel frequency of the binary composite image of each plane is calculated, and the color system removed by the plane that is the basis of the binary composite image having the minimum black pixel frequency is calculated. The process identified as a dropout color
A dropout color identification processing program which is executed by a computer.
請求項1記載のドロップアウトカラー識別処理プログラムにおいて,
前記合成処理では,前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれにおいて,画素ごとにXOR演算を行い,前記各プレーンの2値合成イメージを生成する処理を,
前記ドロップアウトプレーン選択処理では,前記各プレーンの2値合成イメージの黒画素の残数頻度を算出し,前記残数頻度が最大である2値合成イメージのもととなるプレーンで除去された色系をドロップアウトカラーとして特定する処理とを,
コンピュータに実行させる
ことを特徴とするドロップアウトカラー識別処理プログラム。
In the dropout color identification processing program according to claim 1,
In the synthesis process, a process of performing an XOR operation for each pixel in the luminance signal binarized image and the binarized image of each plane to generate a binary synthesized image of each plane,
In the drop-out plane selection process, the calculated remaining number how often the black pixels of the binary composite image for each plane, the remaining number how often is removed by plane as the original binary composite image which is the maximum The process of identifying the selected color system as a dropout color,
A dropout color identification processing program which is executed by a computer.
コンピュータが,帳票のドロップアウト処理で用いるドロップアウトカラーを識別するドロップアウトカラー識別処理方法であって,
帳票イメージデータから,RGB系の各一系の色成分を除去したプレーンイメージであって,R系色成分を除去したRプレーン,G系色成分を除去したGプレーン,B系色成分を除去したBプレーンを生成するプレーン取得処理過程と,
前記帳票イメージデータから輝度信号イメージを生成し,前記輝度信号イメージを2値化して輝度信号2値化イメージを生成する輝度信号2値化処理過程と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記各プレーンの濃度特性から所定の式にもとづいて判別しきい値を算出するしきい値算出処理過程と,
前記判定しきい値をもとに前記Rプレーン,Gプレーン,Bプレーンの各プレーンをそれぞれ2値化し,前記各プレーンの2値化イメージを生成するプレーン2値化処理過程と,
前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれとについて,対応する画素を合成処理し,前記各プレーンの2値合成イメージを生成する合成処理過程と,
前記各プレーンの2値合成イメージそれぞれにおいて,画素頻度を算出し,前記画素頻度をもとに,前記プレーンの中から異なる画素頻度の傾向を示す2値合成イメージを選択し,前記選択された2値合成イメージに対応するプレーンで除去された色系をドロップアウトカラーとして特定するドロップアウトプレーン選択処理過程とを備える
ことを特徴とするドロップアウトカラー識別処理方法。
A dropout color identification processing method for identifying a dropout color to be used in a form dropout process by a computer,
A plain image obtained by removing each RGB system color component from the form image data, the R plane from which the R system color component has been removed, the G plane from which the G system color component has been removed, and the B system color component. A plane acquisition process for generating a B plane;
A luminance signal binarization process for generating a luminance signal image from the form image data and binarizing the luminance signal image to generate a luminance signal binary image;
A threshold value calculation process for obtaining density characteristics for each of the R plane, G plane, and B plane, and calculating a discrimination threshold from the density characteristics of each plane based on a predetermined formula;
A plane binarization process for binarizing each of the R plane, G plane, and B plane based on the determination threshold, and generating a binarized image of each plane;
For the luminance signal binarized image and each of the binarized images of each plane, a corresponding pixel is combined to generate a binary combined image of each plane;
In each binary composite image of each plane, a pixel frequency is calculated, and based on the pixel frequency, a binary composite image showing a tendency of different pixel frequencies is selected from the plane, and the selected 2 A dropout color identification processing method comprising: a dropout plane selection processing step of specifying a color system removed by a plane corresponding to a value composite image as a dropout color.
帳票のドロップアウト処理で用いるドロップアウトカラーを識別する処理を実行するドロップアウトカラー識別処理装置であって,
帳票イメージデータから,RGB系の各一系の色成分を除去したプレーンイメージであって,R系色成分を除去したRプレーン,G系色成分を除去したGプレーン,B系色成分を除去したBプレーンを生成するプレーン取得処理手段と,
前記帳票イメージデータから輝度信号イメージを生成し,前記輝度信号イメージを2値化して輝度信号2値化イメージを生成する輝度信号2値化処理手段と,
前記Rプレーン,Gプレーン,Bプレーンの各プレーンごとに濃度特性を求め,前記各プレーンの濃度特性から所定の式にもとづいて判別しきい値を算出するしきい値算出処理手段と,
前記判定しきい値をもとに前記Rプレーン,Gプレーン,Bプレーンの各プレーンをそれぞれ2値化し,前記各プレーンの2値化イメージを生成するプレーン2値化処理手段と,
前記輝度信号2値化イメージと前記各プレーンの2値化イメージそれぞれとについて,対応する画素を合成処理し,前記各プレーンの2値合成イメージを生成する合成処理手段と,
前記各プレーンの2値合成イメージそれぞれにおいて,画素頻度を算出し,前記画素頻度をもとに,前記プレーンの中から異なる画素頻度の傾向を示す2値合成イメージを選択し,前記選択された2値合成イメージに対応するプレーンで除去された色系をドロップアウトカラーとして特定するドロップアウトプレーン選択処理手段とを備える
ことを特徴とするドロップアウトカラー識別処理装置。
A dropout color identification processing device for executing a process for identifying a dropout color used in a form dropout process,
A plain image obtained by removing each RGB system color component from the form image data, the R plane from which the R system color component has been removed, the G plane from which the G system color component has been removed, and the B system color component. Plane acquisition processing means for generating a B plane;
Luminance signal binarization processing means for generating a luminance signal image from the form image data and binarizing the luminance signal image to generate a luminance signal binary image;
Threshold calculation processing means for calculating density characteristics for each of the R plane, G plane, and B plane, and calculating a discrimination threshold value based on a predetermined formula from the density characteristics of each plane;
Plane binarization processing means for binarizing each of the R plane, G plane, and B plane based on the determination threshold, and generating a binarized image of each plane;
Synthesis processing means for synthesizing corresponding pixels of the luminance signal binarized image and the binarized image of each plane to generate a binary synthesized image of each plane;
In each binary composite image of each plane, a pixel frequency is calculated, and based on the pixel frequency, a binary composite image showing a tendency of different pixel frequencies is selected from the plane, and the selected 2 A dropout color identification processing device comprising: dropout plane selection processing means for specifying, as a dropout color, a color system removed by a plane corresponding to a value composite image.
JP2007024950A 2007-02-05 2007-02-05 Dropout color identification processing program, method and apparatus Expired - Fee Related JP4177417B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007024950A JP4177417B2 (en) 2007-02-05 2007-02-05 Dropout color identification processing program, method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007024950A JP4177417B2 (en) 2007-02-05 2007-02-05 Dropout color identification processing program, method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001396235A Division JP3949954B2 (en) 2001-12-27 2001-12-27 Dropout color identification processing program, method, and apparatus

Publications (2)

Publication Number Publication Date
JP2007115288A JP2007115288A (en) 2007-05-10
JP4177417B2 true JP4177417B2 (en) 2008-11-05

Family

ID=38097340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007024950A Expired - Fee Related JP4177417B2 (en) 2007-02-05 2007-02-05 Dropout color identification processing program, method and apparatus

Country Status (1)

Country Link
JP (1) JP4177417B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6171727B2 (en) * 2013-08-23 2017-08-02 ブラザー工業株式会社 Image processing device, sheet, computer program

Also Published As

Publication number Publication date
JP2007115288A (en) 2007-05-10

Similar Documents

Publication Publication Date Title
EP2063390B1 (en) Image processing device and its program
US7965894B2 (en) Method for detecting alterations in printed document using image comparison analyses
US20050018903A1 (en) Method and apparatus for image processing and computer product
US8611658B2 (en) Image processing apparatus and image processing method
CN102956029B (en) Image processing apparatus and image processing method
JP6939449B2 (en) Image processing equipment, image processing method and image processing program
JPH1084475A (en) Image area discrimination method and image-processing unit
US20110128586A1 (en) Image processing apparatus, image processing method, and storage medium
JP2006217058A (en) Image processing apparatus, image processing method, program, and recording medium
JP4087280B2 (en) Image processing apparatus, image processing method, and image processing system
JP4177417B2 (en) Dropout color identification processing program, method and apparatus
JP6370080B2 (en) Image processing apparatus, image processing method, and program.
JP4441300B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
JP3949954B2 (en) Dropout color identification processing program, method, and apparatus
JP7030425B2 (en) Image processing device, image processing method, program
JP2003219180A (en) Image processing method, image processing device, recording medium capable of reading computer and computer program
US11570331B2 (en) Image processing apparatus, image processing method, and storage medium
JP3435334B2 (en) Apparatus and method for extracting character area in video and recording medium
JP2015088910A (en) Image processing device
JP4008715B2 (en) Form reading device and form reading processing program
JPH09238256A (en) Image processing method and image processing unit
JP4631371B2 (en) Image processing device
JP4163211B2 (en) Image processing method and image processing apparatus
JP4165599B2 (en) Image processing device
JP2007149118A (en) Form reading device and program for form reading processing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080707

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080707

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080707

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: 20080819

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: 20080821

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees