JP4553297B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4553297B2
JP4553297B2 JP2004225653A JP2004225653A JP4553297B2 JP 4553297 B2 JP4553297 B2 JP 4553297B2 JP 2004225653 A JP2004225653 A JP 2004225653A JP 2004225653 A JP2004225653 A JP 2004225653A JP 4553297 B2 JP4553297 B2 JP 4553297B2
Authority
JP
Japan
Prior art keywords
background density
background
image
density
level
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
JP2004225653A
Other languages
Japanese (ja)
Other versions
JP2006048225A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004225653A priority Critical patent/JP4553297B2/en
Publication of JP2006048225A publication Critical patent/JP2006048225A/en
Application granted granted Critical
Publication of JP4553297B2 publication Critical patent/JP4553297B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Description

本発明は、画像処理装置に関し、特に、背景濃度が異なる原稿に対して、それぞれの背景にあわせて背景濃度を下げる画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus that lowers background density in accordance with each background of documents having different background densities.

一般に、原稿画像のコピーをとる際、その背景の濃度が高い原稿の場合、これを読み取ってそのまま出力させると、全体的に暗めの出力画像となるので、操作部において、コピー濃度を下げる等の操作が必要となる。しかし、新聞、雑誌等の切り貼り原稿のように、画像位置によって背景濃度の異なるような原稿の場合、原稿全体に一様な処理を行う方式では、背景を完全に除去することはできない。これを改善するために、以下のような方法が提案されている。   In general, when copying a document image, if the document has a high background density, if it is read and output as it is, an overall dark output image is obtained. Operation is required. However, in the case of a document whose background density differs depending on the image position, such as a cut-and-paste document such as a newspaper or magazine, the background cannot be completely removed by a method in which uniform processing is performed on the entire document. In order to improve this, the following methods have been proposed.

特許文献1に開示された画像データ処理装置は、1ライン上でも地肌レベル変動があるような、高レベル広範囲の地肌レベルを自動除去するものである。白地用紙に切貼りした青焼き部の文字、線画を、鮮明にコピーできるようにするものである。原稿画像の地肌バラエティに対応した最適地肌除去処理を選択可能とする。注目画像データと先行画像データに適用した地肌レベルの重み付け加算により、注目画像データ宛ての地肌レベルを算出し、地肌除去データを算出する。データが取りうる最大値を分子とし、地肌レベルを分母に含む分数で表しうる第1の比又は第2の比を地肌除去データに乗じて、コントラスト補正する。   The image data processing device disclosed in Patent Document 1 automatically removes a background level of a wide range of high levels where there is a background level fluctuation even on one line. This is to make it possible to clearly copy the characters and line drawings of the blue-printed part cut and pasted on white paper. It is possible to select an optimum background removal process corresponding to the background variety of the document image. The background level addressed to the target image data is calculated by weighted addition of the background level applied to the target image data and the preceding image data, and the background removal data is calculated. Contrast correction is performed by multiplying the background removal data by the first ratio or the second ratio, which can be expressed as a fraction including the background level in the denominator, with the maximum value that the data can take.

すなわち、この画像データ処理装置では、注目画像データとその先行画像データで決定される背景濃度レベルを、重み付け加算することにより、注目画像データに対応する背景濃度レベルを算出している。このようにすることにより、1ライン上でも背景濃度レベル変動があるような、背景濃度レベル変動が比較的広範囲に及ぶ画像の背景を、有効に除去することができる。
特開2002-84423号公報
That is, in this image data processing apparatus, the background density level corresponding to the target image data is calculated by weighting and adding the background density level determined by the target image data and the preceding image data. By doing so, it is possible to effectively remove the background of an image in which the background density level fluctuation is relatively wide, such as the background density level fluctuation even on one line.
JP 2002-84423 A

しかし、従来の方法では、以下のような問題がある。第1に、再現文字の濃度が薄くなるという問題がある。注目画像データとその先行画像データから背景濃度を求める際に、文字情報等を含んだまま平均化処理を行っている。そのため、文字情報が密集した画像領域においては、文字部分と背景部分が平均化される。その結果、文字部分の濃度に背景濃度が引きずられて背景濃度が高くなる。したがって、背景濃度を一定にすると、再現文字の濃度が薄くなってしまう。太文字や黒ベタなどのような、本来再現させるべき画像まで白飛びしてしまう。   However, the conventional method has the following problems. First, there is a problem that the density of reproduced characters is reduced. When obtaining the background density from the target image data and its preceding image data, the averaging process is performed while including character information and the like. For this reason, the character portion and the background portion are averaged in the image area where the character information is dense. As a result, the background density is increased by dragging the background density to the density of the character portion. Therefore, if the background density is made constant, the density of reproduced characters will become light. Images that should be reproduced, such as bold characters and black solids, will be overexposed.

第2に、大容量のメモリを必要とし、全体のハードウェア量が増大するという問題がある。注目画像データとその先行画像データから背景濃度を求めるためには、注目画像データに先行する画像データを蓄積する必要がある。この際に、1ライン分の画像データを記憶する必要がある。このため、大容量のメモリを必要とする。   Secondly, there is a problem that a large amount of memory is required and the total amount of hardware increases. In order to obtain the background density from the target image data and the preceding image data, it is necessary to store the image data preceding the target image data. At this time, it is necessary to store image data for one line. For this reason, a large capacity memory is required.

本発明の目的は、上記従来の問題を解決して、画像処理装置において、背景の濃度を下げて目的の画像を再現する際に、少ないハードウェア量で適切に目的画像を再現することである。白紙上にジアゾ原稿や新聞原稿を切り貼りしたような背景濃度が異なる原稿でも、背景濃度にあわせて背景濃度を下げて、ジアゾ原稿や新聞原稿上の画像を適切に再現できるようにする。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described conventional problems and to appropriately reproduce a target image with a small amount of hardware when reproducing a target image with a reduced background density in an image processing apparatus. . Even for a document having a different background density, such as a diazo document or newspaper document cut and pasted on a blank sheet, the background density is lowered according to the background density so that the image on the diazo document or newspaper document can be reproduced appropriately.

上記の課題を解決するために、本発明では、画像処理装置を、画像から背景以外の文字データ等の目的情報画像を検出する手段と、画像から前記目的情報画像を除外して画像の任意の画素ブロック毎に背景濃度レベルを算出する手段と、任意の画素ブロックで処理された背景濃度を隣接画素ブロック間で補正して背景濃度補正値を算出する背景濃度補正手段と、算出された背景濃度補正値を任意に設定可能な閾値と比較し、前記背景濃度補正値を前記閾値で飽和させる背景濃度飽和手段と、前記背景濃度レベルに基づいて画像から背景を除去して目的情報画像を再現する手段とを具備する構成とした。
このように構成したことにより、背景濃度が異なる原稿に対して、背景以外の文字データ等の情報を除外することにより、適切な背景濃度を算出でき、それぞれの背景にあわせて背景を除去した画像を再現することができる。
In order to solve the above-described problems, in the present invention, an image processing apparatus includes a unit that detects a target information image such as character data other than the background from an image, and an arbitrary image that excludes the target information image from the image Means for calculating a background density level for each pixel block ; background density correction means for correcting a background density processed in an arbitrary pixel block between adjacent pixel blocks to calculate a background density correction value; and a calculated background density Comparing a correction value with a threshold that can be arbitrarily set, background density saturation means for saturating the background density correction value with the threshold, and removing a background from the image based on the background density level to reproduce a target information image Means.
By configuring in this way, it is possible to calculate an appropriate background density by excluding information such as character data other than the background for documents having different background densities, and images in which the background is removed according to each background. Can be reproduced.

また、前記背景濃度補正手段で、画素ブロック毎の背景濃度レベルを、隣接画素ブロック間の背景濃度レベルの段差が小さくなるように背景濃度レベルを調整するようにした。このように構成したことにより、メモリなどのハードウェア量を少なくできる。
Further, in the background density correcting means, the background density level of each pixel block, and to adjust the background density level as a step of the background density level of the adjacent pixel blocks is reduced. With this configuration, the amount of hardware such as memory can be reduced.

背景の濃度レベルを算出する際に、背景以外の文字データ等の情報を除外することにより、適切な背景濃度が算出でき、文字の再現性が向上する。また、任意の画素ブロック毎に背景濃度レベルを算出することにより、メモリ使用量を低減できる。また、画素ブロック間で背景濃度レベルを調整して補正することにより、画素ブロック単位での濃度段差を減らして、滑らかな画像を再現できる。また、背景濃度レベルを一定の閾値濃度で飽和させることにより、黒ベタなどの画像の再現性が向上する。   In calculating the background density level, by excluding information such as character data other than the background, an appropriate background density can be calculated, and the reproducibility of characters is improved. Further, the memory usage can be reduced by calculating the background density level for each arbitrary pixel block. Further, by adjusting and correcting the background density level between the pixel blocks, the density step in the pixel block unit can be reduced and a smooth image can be reproduced. In addition, the saturation of the background density level with a certain threshold density improves the reproducibility of images such as black solids.

以下、本発明を実施するための最良の形態について、図1〜図5を参照しながら詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to FIGS.

本発明の実施例は、画像の任意の画素ブロック毎に、背景以外の文字データ等の目的画像を除外して、背景濃度レベルを算出し、隣接画素ブロック間で背景濃度レベルの段差が小さくなるように補正して、1画素単位の背景濃度を算出し、背景濃度を、任意に設定可能な閾値と比較し、閾値以上の背景濃度を閾値に置き換え、背景濃度が異なる原稿のそれぞれの背景にあわせて背景を除去して、一定濃度以上の文字データ等の目的画像を再現する画像処理装置である。   In the embodiment of the present invention, the background density level is calculated for each arbitrary pixel block of the image by excluding the target image such as character data other than the background, and the step of the background density level is reduced between adjacent pixel blocks. The background density in units of one pixel is calculated, the background density is compared with a threshold that can be arbitrarily set, the background density that is equal to or higher than the threshold is replaced with the threshold, and the background of each document having a different background density In addition, the image processing apparatus reproduces a target image such as character data having a certain density or more by removing the background.

図1は、本発明の実施例における画像処理装置の概要を示す概念図である。図1において、文字情報検出部1は、入力画像から文字情報などの目的情報画像を検出する手段である。平均化処理部2は、任意の画素ブロック毎に背景濃度の平均値を算出する手段である。背景濃度算出部3は、入力画像の背景濃度を算出する手段である。ライン遅延部4は、背景濃度データを1ライン分蓄積する装置である。背景濃度補正部5は、隣接ブロック間で背景濃度レベルの段差が小さくなるように補正する手段である。背景濃度飽和部6は、背景濃度が一定以上にならないようにする手段である。背景濃度除去部7は、背景を除去した画像を算出する手段である。コントラスト補正部8は、最終的な濃度補正の処理を行う手段である。   FIG. 1 is a conceptual diagram showing an outline of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, a character information detection unit 1 is means for detecting a target information image such as character information from an input image. The averaging processing unit 2 is a means for calculating an average value of background density for each arbitrary pixel block. The background density calculation unit 3 is a means for calculating the background density of the input image. The line delay unit 4 is a device that accumulates background density data for one line. The background density correction unit 5 is a means for correcting the background density level to be small between adjacent blocks. The background density saturation unit 6 is a means for preventing the background density from exceeding a certain level. The background density removing unit 7 is a means for calculating an image with the background removed. The contrast correction unit 8 is a means for performing final density correction processing.

図2は、本発明の実施例における画像処理装置のうちの、文字情報の検出処理装置の概念図である。図2において、平均値算出処理部9は、任意の画素ブロック単位の平均値を算出する手段である。エッジ強調処理部10は、入力画像データのエッジを強調する手段である。2値化処理部11は、エッジ強調結果を2値化処理する手段である。文字領域検出手段12は、画像変化が密集している領域を文字情報領域と判定する手段である。文字情報検出手段13は、文字部分を検出する手段である。図3は、背景以外の文字データ等の目的情報画像を除外する方法を示す説明図である。図4は、背景濃度補正処理の方法を説明する図である。図5は、本発明の実施例に適用できる画像処理装置の構成を示すブロック図である。   FIG. 2 is a conceptual diagram of a character information detection processing device in the image processing device according to the embodiment of the present invention. In FIG. 2, an average value calculation processing unit 9 is a means for calculating an average value in an arbitrary pixel block unit. The edge enhancement processing unit 10 is means for enhancing the edge of the input image data. The binarization processing unit 11 is means for binarizing the edge enhancement result. The character area detection means 12 is a means for determining an area where image changes are dense as a character information area. The character information detection means 13 is means for detecting a character part. FIG. 3 is an explanatory diagram showing a method of excluding a purpose information image such as character data other than the background. FIG. 4 is a diagram for explaining a background density correction processing method. FIG. 5 is a block diagram showing a configuration of an image processing apparatus applicable to the embodiment of the present invention.

上記のように構成された本発明の実施例における画像処理装置の動作を説明する。最初に、図1を参照しながら、動作の概要を説明する。文字情報検出部1では、入力画像(IDn)から文字情報(CHODn)の検出を行う。この文字情報(CHODn)は、平均化処理部2において、文字部を平均化処理の対象から除外するために用いられる。平均化処理部2では、文字情報(CHODn)及び入力画像(IDn)の任意の画素ブロック毎に、背景濃度の平均値(AVG)の算出を行う。背景濃度算出部3では、平均値(AVG)及び先行する背景濃度(JODn-1)を用いて、入力画像(IDn)の背景濃度(JODn)の算出を行う。ここで算出された背景濃度(JODn)は、次ラインの背景濃度算出時に、先行データ(JODn-1)として使用するため、ライン遅延部4で、ライン遅延処理を行う。 The operation of the image processing apparatus in the embodiment of the present invention configured as described above will be described. First, an outline of the operation will be described with reference to FIG. The character information detection unit 1 detects character information (CHOD n ) from the input image (ID n ). This character information (CHOD n ) is used by the averaging processing unit 2 to exclude the character part from the target of the averaging process. The averaging processing unit 2 calculates the average value (AVG) of the background density for each arbitrary pixel block of the character information (CHOD n ) and the input image (ID n ). Background concentration calculator 3, using the average value (AVG) and the preceding background density (JOD n-1), and calculates the background density (JOD n) of the input image (ID n). The background density (JOD n ) calculated here is used as preceding data (JOD n−1 ) when calculating the background density of the next line, so that the line delay unit 4 performs line delay processing.

背景濃度補正部5では、任意の画素ブロックで処理された背景濃度(JODn)を、隣接ブロック間で補正し、1画素毎の背景濃度補正値(JHODn)を算出する。背景濃度飽和部6では、背景濃度補正値(JHODn)を任意に設定可能な閾値(JTH)で飽和させ、背景濃度が一定濃度以上にならないように制限する。背景濃度除去部7では、ここまでに算出した背景濃度補正値(JHODn)を、入力画像(IDn)から減算し、背景を除去した画像(RODn)を算出する。コントラスト補正部8では、背景を除去した画像(RODn)に対して、濃度補正の処理を行い、背景の除去を行った目的画像(CODn)を得る。 The background density correction unit 5 corrects the background density (JOD n ) processed in an arbitrary pixel block between adjacent blocks, and calculates a background density correction value (JHOD n ) for each pixel. The background density saturation unit 6 saturates the background density correction value (JHOD n ) with an arbitrarily set threshold (JTH), and limits the background density so as not to exceed a certain density. The background density removal unit 7 subtracts the background density correction value (JHOD n ) calculated so far from the input image (ID n ) to calculate an image (ROD n ) from which the background has been removed. The contrast correction unit 8 performs density correction processing on the image (ROD n ) from which the background has been removed to obtain a target image (COD n ) from which the background has been removed.

次に、図2と図3を参照しながら、背景濃度の平均化方法について説明する。図2に、文字情報の検出処理装置の構成を示す。図3に、背景以外の文字データ等の目的情報画像を除外する方法を示す。背景濃度の平均化処理は、図1の文字情報検出部1と平均化処理部2により実行される。文字情報検出部1は、入力画像データ(IDn)について、注目画像データと、注目画像データ周辺の画像データより、文字情報を検出する処理装置である。平均化処理部2は、注目画像データを含む任意の画素単位の画像ブロックにおける平均化を行う処理装置である。 Next, a background density averaging method will be described with reference to FIGS. FIG. 2 shows the configuration of the character information detection processing apparatus. FIG. 3 shows a method of excluding the object information image such as character data other than the background. The background density averaging process is executed by the character information detection unit 1 and the averaging processing unit 2 of FIG. The character information detection unit 1 is a processing device that detects character information of input image data (ID n ) from attention image data and image data around the attention image data. The averaging processing unit 2 is a processing device that performs averaging on an image block in an arbitrary pixel unit including target image data.

まず、平均値算出処理部9により、入力画像データ(IDn)について、図3(a)に示すように、注目画素を含めた任意の画素ブロック単位の平均値(PAVG)を算出する。この例では、白地に黒字などのように、濃度の低い背景に、濃度の高い文字がある画像とする。この平均値算出処理部9は、図1の平均化処理部2とは異なる処理装置である。 First, as shown in FIG. 3A, the average value calculation processing unit 9 calculates an average value (PAVG) in arbitrary pixel block units including the target pixel for the input image data (ID n ). In this example, it is assumed that the image has a high density character on a low density background such as a black character on a white background. The average value calculation processing unit 9 is a processing device different from the averaging processing unit 2 in FIG.

次いで、エッジ強調処理部10により、入力画像データ(IDn)に対して、以下の式により、エッジ強調処理を施す。
A=(a,b,c,d,e)=(-1,-1,0, 1, 1) (フィルタ係数)
B=(IDn(x-2), IDn(x-1), IDn(x), IDn(x+1), IDn(x+2))
S=0.5 (フィルタ強度)
FODn(x)=(A・B)×S (内積)
={a・IDn(x-2)+b・IDn(x-1)+c・IDn(x)+d・IDn(x+1)+e・IDn(x+2)}×S
Next, the edge enhancement processing unit 10 performs edge enhancement processing on the input image data (ID n ) according to the following expression.
A = (a, b, c, d, e) = (-1, -1,0, 1, 1) (filter coefficient)
B = (ID n (x-2), ID n (x-1), ID n (x), ID n (x + 1), ID n (x + 2))
S = 0.5 (Filter strength)
FODn (x) = (A ・ B) × S (inner product)
= {A · ID n (x-2) + b · ID n (x-1) + c · ID n (x) + d · ID n (x + 1) + e · ID n (x + 2)} × S

次いで、2値化処理部11により、エッジ強調結果(FODn)を、図3(b)に示すように、任意に設定可能な閾値(ETH)と比較し、画像を2値化処理する。文字領域検出手段12により、この2値画像において画像変化が密集している領域を、文字情報領域と判定する。 Next, the binarization processing unit 11 compares the edge enhancement result (FOD n ) with an arbitrarily set threshold (ETH) as shown in FIG. 3B, and binarizes the image. The character region detection means 12 determines that a region where image changes are dense in the binary image is a character information region.

次いで、文字情報検出手段13により、図3(c)に示すように、文字情報領域と判定した入力画像IDn内において、IDn>PAVGとなった箇所を1、それ以外の箇所を0とし、この値を文字情報(CHODn)とする。この文字情報(CHODn)を用いて、図1の平均化処理部2において、平均値を算出する際に、文字情報画素を平均化処理から除外することにより、文字情報を含まない、適切な背景濃度を算出することが可能となる。 Next, as shown in FIG. 3C, the character information detection means 13 sets 1 as the location where ID n > PAVG in the input image ID n determined as the character information region, and 0 as the other location. This value is used as character information (CHOD n ). By using this character information (CHOD n ), when calculating the average value in the averaging processing unit 2 in FIG. 1, by excluding the character information pixels from the averaging processing, an appropriate character information is not included. The background density can be calculated.

次に、図1と図3と図4を参照しながら、背景濃度の補正方法を説明する。背景の除去処理は、図1の平均化処理部2と、背景濃度算出部3と、ライン遅延部4と、背景濃度補正部5により実行される。平均化処理部2は、入力画像(IDn)の任意の画素単位の画像ブロックにおける平均化により、平均値(AVG)を算出する処理装置である。背景濃度算出部3は、ブロック毎の平均値(AVG)および注目画像位置に先行する画素ブロック毎の背景濃度(JODn-1)より、背景濃度(JODn)の算出を行う処理装置である。ライン遅延部4は、注目画像データ位置の背景濃度(JODn)を1ライン分蓄積する装置である。背景濃度補正部5は、隣接する背景濃度(JODn)により背景濃度補正値(JHODn)を算出する装置である。 Next, a background density correction method will be described with reference to FIG. 1, FIG. 3, and FIG. The background removal processing is executed by the averaging processing unit 2, the background density calculation unit 3, the line delay unit 4, and the background density correction unit 5 shown in FIG. The averaging processing unit 2 is a processing device that calculates an average value (AVG) by averaging in an image block of an arbitrary pixel unit of the input image (ID n ). The background density calculation unit 3 is a processing device that calculates the background density (JOD n ) from the average value (AVG) for each block and the background density (JOD n−1 ) for each pixel block preceding the target image position. . The line delay unit 4 is a device that accumulates the background density (JOD n ) of the target image data position for one line. The background density correction unit 5 is a device that calculates a background density correction value (JHOD n ) based on the adjacent background density (JOD n ).

まず、平均化処理部2により、入力画像データ(IDn)を用い、図3(d)に示すように、任意の画素ブロックの単位で平均値(AVGn)を算出する。この際に、文字情報CHODn=1となる箇所は、平均化処理の対象から除外する。次いで、背景濃度算出部3により、注目画素を含めた位置のブロックの平均値(AVGn)と、注目画素の位置に先行するブロックの画像データJODn-1を用い、次の式により背景濃度(JODn)を算出する。
JODn=K・AVGn+(1−K)・JODn-1
First, the averaging processing unit 2, using the input image data (ID n), as shown in FIG. 3 (d), calculated average value in units of an arbitrary pixel block (AVG n). At this time, the portion where the character information CHOD n = 1 is excluded from the target of the averaging process. Next, the background density calculation unit 3 uses the average value (AVG n ) of the block at the position including the target pixel and the image data JOD n-1 of the block preceding the position of the target pixel, and uses the following formula to calculate the background density. Calculate (JOD n ).
JOD n = K ・ AVG n + (1-K) ・ JOD n-1

この式において、Kは注目画素を含む平均値(AVGn)に与える重み値であり、この値を調整することにより、画像対応の各画素あるいは数画素群単位のレベル変動以外の、変動周期が長い背景濃度変化のみに追従した背景濃度(JODn)が得られる。次いで、ライン遅延部4により、背景濃度(JODn)を1ライン遅延処理することで、次ラインの背景濃度算出処理に用いる。これらの処理においては、任意の画素ブロック単位で平均値(AVG)と背景濃度(JODn)を算出しているため、ライン遅延に用いるメモリなどのハードウェアが少なくてすむ。 In this equation, K is a weight value given to the average value (AVG n ) including the pixel of interest, and by adjusting this value, the fluctuation cycle other than the level fluctuation of each pixel corresponding to the image or several pixel groups can be obtained. A background density (JOD n ) that follows only a long background density change is obtained. Next, the line delay unit 4 uses the background density (JOD n ) for the background density calculation process for the next line by performing a one-line delay process. In these processes, the average value (AVG) and the background density (JOD n ) are calculated in arbitrary pixel block units, so hardware such as a memory used for line delay can be reduced.

しかし、この段階では、背景濃度(JODn)は、図4(a)に示すように、ブロック単位で矩形的な変化をしている。この状態のまま、次の背景除去処理を行うと、画像にブロック単位で段差が発生してしまう。そこで、図4(b)に示すような補正係数を用いて、背景濃度補正部5により、隣接する背景濃度との補正処理を行い、図4(c)に示すような滑らかな背景濃度(JHODn)を算出する。これにより、背景除去処理後の画像において、ブロック間の段差を低減することができる。 However, at this stage, the background density (JOD n ) changes rectangularly in units of blocks as shown in FIG. If the next background removal process is performed in this state, a step is generated in the image in units of blocks. Therefore, using the correction coefficient as shown in FIG. 4 (b), the background density correction unit 5 performs a correction process with the adjacent background density to obtain a smooth background density (JHOD as shown in FIG. 4 (c)). n ) is calculated. Thereby, the level | step difference between blocks can be reduced in the image after a background removal process.

次に、背景濃度を飽和させる方法について説明する。図1の背景濃度飽和部6により、背景濃度補正値(JHODn)に基づいて、背景濃度を任意の閾値(JTH)で飽和させる。背景濃度補正値(JHODn)を、任意に設定可能な背景濃度閾値(JTH)と比較する。JODn>JTHとなる場合、JODn=JTHと置き換える処理を行う。この処理を行うことで、背景濃度を一定の濃度に飽和させることになり、黒ベタ部の画像が白飛びすることを抑えることが可能である。背景濃度閾値(JTH)を調整することにより、背景除去処理後の画像において再現させたい背景濃度を調整することができる。 Next, a method for saturating the background density will be described. The background density saturation unit 6 in FIG. 1 saturates the background density with an arbitrary threshold (JTH) based on the background density correction value (JHOD n ). The background density correction value (JHOD n ) is compared with a background density threshold value (JTH) that can be arbitrarily set. When JOD n > JTH, JOD n = JTH is replaced. By performing this process, the background density is saturated to a constant density, and it is possible to suppress the black solid image from being over-exposed. By adjusting the background density threshold (JTH), the background density desired to be reproduced in the image after the background removal process can be adjusted.

図1に示した文字情報検出部1〜コントラスト補正部8における処理と、図2に示した平均値算出処理部9〜文字情報検出手段13における処理は、図5に示す汎用の画像処理装置により実行することができる。また、汎用のコンピュータとソフトウェアにより実行することも可能である。具体的な基本ハードウェアと基本ソフトウェアについては、周知の汎用のものを利用できるので、詳しい説明は省略する。   The processing in the character information detection unit 1 to the contrast correction unit 8 shown in FIG. 1 and the processing in the average value calculation processing unit 9 to the character information detection means 13 shown in FIG. 2 are performed by a general-purpose image processing apparatus shown in FIG. Can be executed. It can also be executed by a general-purpose computer and software. As specific basic hardware and basic software, well-known general-purpose items can be used, and detailed description thereof will be omitted.

上記のように、本発明の実施例では、画像処理装置を、画像の任意の画素ブロック毎に、背景以外の文字データ等の目的画像を除外して、背景濃度レベルを算出し、隣接画素ブロック間で背景濃度レベルの段差が小さくなるように補正して、1画素単位の背景濃度を算出し、背景濃度を、任意に設定可能な閾値と比較し、閾値以上の背景濃度を閾値に置き換え、背景濃度が異なる原稿のそれぞれの背景にあわせて背景を除去して、一定濃度以上の文字データ等の目的画像を再現する構成としたので、少ないメモリ量で目的画像を適切に再現することができる。   As described above, in the embodiment of the present invention, the image processing apparatus calculates the background density level by excluding the target image such as character data other than the background for each arbitrary pixel block of the image, and the adjacent pixel block. Corrected so that the step of the background density level is reduced between them, the background density of one pixel unit is calculated, the background density is compared with a threshold that can be arbitrarily set, and the background density higher than the threshold is replaced with the threshold, Since the background is removed according to the background of each document having a different background density and the target image such as character data having a certain density or more is reproduced, the target image can be appropriately reproduced with a small amount of memory. .

本発明の画像処理装置は、デジタル複写機、FAX、スキャナなどにおいて背景を除去するための手段として最適である。また、一般的な画像処理装置の一部の背景除去手段としても利用できる。   The image processing apparatus of the present invention is optimal as a means for removing the background in a digital copying machine, a FAX, a scanner or the like. It can also be used as some background removal means of a general image processing apparatus.

本発明の実施例における画像処理装置の概念図である。1 is a conceptual diagram of an image processing apparatus in an embodiment of the present invention. 本発明の実施例における画像処理装置のうちの、文字情報の検出処理装置の概念図である。It is a conceptual diagram of the detection processing apparatus of character information among the image processing apparatuses in the Example of this invention. 背景以外の文字データ等の情報を除外する方法を示す説明図である。It is explanatory drawing which shows the method of excluding information, such as character data other than a background. 背景濃度補正処理の方法を説明する図である。It is a figure explaining the method of a background density correction process. 本発明の実施例に用いることができる汎用の画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the general purpose image processing apparatus which can be used for the Example of this invention.

符号の説明Explanation of symbols

1・・・文字情報検出部、2・・・平均化処理部、3・・・背景濃度算出部、4・・・ライン遅延部、5・・・背景濃度補正部、6・・・背景濃度飽和部、7・・・背景濃度除去部、8・・・コントラスト補正部、9・・・平均値算出処理部、10・・・エッジ強調処理部、11・・・2値化処理部、12・・・文字領域検出手段、13・・・文字情報検出手段。 DESCRIPTION OF SYMBOLS 1 ... Character information detection part, 2 ... Averaging process part, 3 ... Background density calculation part, 4 ... Line delay part, 5 ... Background density correction part, 6 ... Background density Saturation unit, 7 ... background density removal unit, 8 ... contrast correction unit, 9 ... average value calculation processing unit, 10 ... edge enhancement processing unit, 11 ... binarization processing unit, 12 ... character area detecting means, 13 ... character information detecting means.

Claims (4)

画像から背景以外の文字データ等の目的情報画像を検出する手段と、
画像から前記目的情報画像を除外して画像の任意の画素ブロック毎に背景濃度レベルを算出する手段と、任意の画素ブロックで処理された背景濃度を隣接画素ブロック間で補正して背景濃度補正値を算出する背景濃度補正手段と、算出された背景濃度補正値を任意に設定可能な閾値と比較し、前記背景濃度補正値を前記閾値で飽和させる背景濃度飽和手段と、前記背景濃度レベルに基づいて画像から背景を除去して目的情報画像を再現する手段とを具備することを特徴とする画像処理装置。
Means for detecting a target information image such as character data other than the background from the image;
Means for calculating the background density level for each arbitrary pixel block of the image by excluding the target information image from the image, and correcting the background density processed by the arbitrary pixel block between adjacent pixel blocks, and a background density correction value A background density correction unit that calculates the background density correction value, a background density saturation unit that compares the calculated background density correction value with a threshold value that can be arbitrarily set, and saturates the background density correction value with the threshold value, and based on the background density level And a means for reproducing the target information image by removing the background from the image.
前記背景濃度補正手段は、前記画素ブロック毎の背景濃度レベルを、隣接画素ブロック間の背景濃度レベルの段差が小さくなるように前記背景濃度レベルを調整することを特徴とする請求項1記載の画像処理装置。 The background density correction means, the background density level of each pixel block, according to claim 1, wherein the benzalkonium adjust the background density level as a step of the background density level of the adjacent pixel blocks is reduced Image processing apparatus. 画像から背景以外の文字データ等の目的情報画像を検出する工程と、
画像から前記目的情報画像を除外して画像の任意の画素ブロック毎に背景濃度レベルを算出する工程と、
任意の画素ブロックで処理された背景濃度を隣接画素ブロック間で補正して背景濃度補正値を算出する背景濃度補正工程と、
算出された背景濃度補正値を任意に設定可能な閾値と比較し、前記背景濃度補正値を前記閾値で飽和させる背景濃度飽和工程と、
前記背景濃度レベルに基づいて画像から背景を除去して目的情報画像を再現する工程とを有することを特徴とする画像処理方法。
Detecting a target information image such as character data other than the background from the image;
Calculating a background density level by excluding the object information image from the image for each arbitrary pixel blocks of the image,
A background density correction step of calculating a background density correction value by correcting the background density processed in an arbitrary pixel block between adjacent pixel blocks;
A background density saturation step of comparing the calculated background density correction value with a threshold that can be arbitrarily set, and saturating the background density correction value with the threshold;
And a step of reproducing the target information image by removing the background from the image based on the background density level.
前記背景濃度補正工程は、前記画素ブロック毎の背景濃度レベルを、隣接画素ブロック間の背景濃度レベルの段差が小さくなるように前記背景濃度レベルを調整する補正処理を行うことを特徴とする請求項3記載の画像処理方法。
The background density correction step performs a correction process for adjusting the background density level of each pixel block so that a step of the background density level between adjacent pixel blocks becomes small. 3. The image processing method according to 3.
JP2004225653A 2004-08-02 2004-08-02 Image processing device Expired - Fee Related JP4553297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004225653A JP4553297B2 (en) 2004-08-02 2004-08-02 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004225653A JP4553297B2 (en) 2004-08-02 2004-08-02 Image processing device

Publications (2)

Publication Number Publication Date
JP2006048225A JP2006048225A (en) 2006-02-16
JP4553297B2 true JP4553297B2 (en) 2010-09-29

Family

ID=36026722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004225653A Expired - Fee Related JP4553297B2 (en) 2004-08-02 2004-08-02 Image processing device

Country Status (1)

Country Link
JP (1) JP4553297B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4632992B2 (en) * 2006-03-30 2011-02-16 株式会社デンソーアイティーラボラトリ Image correction method
JP4767306B2 (en) 2008-11-07 2011-09-07 株式会社エヌ・ティ・ティ・ドコモ Portable wireless communication terminal and wireless communication method
US8280111B2 (en) * 2010-02-17 2012-10-02 The Boeing Company Advanced background estimation technique and circuit for a hyper-spectral target detection method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11187266A (en) * 1997-12-19 1999-07-09 Toshiba Corp Image processor and image forming device
JPH11306324A (en) * 1998-04-24 1999-11-05 Minolta Co Ltd Picture processor
JP2000125134A (en) * 1998-10-14 2000-04-28 Fuji Xerox Co Ltd Image processor and image processing method
JP2001016447A (en) * 1999-06-30 2001-01-19 Minolta Co Ltd Picture processor, picture processing method and recording medium with picture processing program stored therein
JP2002084423A (en) * 2000-09-06 2002-03-22 Ricoh Co Ltd Image data processor, image reader and image forming device
JP2002247363A (en) * 2001-02-20 2002-08-30 Fuji Xerox Co Ltd Image processor
JP2003018409A (en) * 2001-07-05 2003-01-17 Minolta Co Ltd Image processor and image processing program
JP2003219419A (en) * 2002-01-18 2003-07-31 Fujitsu Ltd Image processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11187266A (en) * 1997-12-19 1999-07-09 Toshiba Corp Image processor and image forming device
JPH11306324A (en) * 1998-04-24 1999-11-05 Minolta Co Ltd Picture processor
JP2000125134A (en) * 1998-10-14 2000-04-28 Fuji Xerox Co Ltd Image processor and image processing method
JP2001016447A (en) * 1999-06-30 2001-01-19 Minolta Co Ltd Picture processor, picture processing method and recording medium with picture processing program stored therein
JP2002084423A (en) * 2000-09-06 2002-03-22 Ricoh Co Ltd Image data processor, image reader and image forming device
JP2002247363A (en) * 2001-02-20 2002-08-30 Fuji Xerox Co Ltd Image processor
JP2003018409A (en) * 2001-07-05 2003-01-17 Minolta Co Ltd Image processor and image processing program
JP2003219419A (en) * 2002-01-18 2003-07-31 Fujitsu Ltd Image processor

Also Published As

Publication number Publication date
JP2006048225A (en) 2006-02-16

Similar Documents

Publication Publication Date Title
JP5436624B2 (en) Image processing apparatus and control method thereof
JP4553297B2 (en) Image processing device
JP3271354B2 (en) Image processing device
JPH10283470A (en) Image processor, image processing method and recording medium
JP2004104635A (en) Image processing apparatus
JPH08272952A (en) Image processor
US6842267B1 (en) Image processing method
JP2006229728A (en) Image reader
JP2006094008A (en) Image processing apparatus
JPH11346311A (en) Gradation reproduction method
JP2637414B2 (en) Image processing method
JP3948599B2 (en) Image processing device
JP2002171410A (en) Image processing apparatus
JPH11150659A (en) Method for processing image
JPH04281671A (en) Picture processor
JP3974236B2 (en) Image processing apparatus and method
JP2006270656A (en) Apparatus and method for image processing
JP2000331174A (en) Edge processing method
JP3705414B2 (en) Binarization threshold determination method
JP2002290727A (en) Image processing method, its apparatus, its storage medium, and its program
JP3549475B2 (en) Image processing method
JPH05143728A (en) Image processor
JP2006245938A (en) Image processing apparatus
JP2006203815A (en) Image reading apparatus
JPH11275358A (en) Device and method for processing picture

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070524

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100624

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

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

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

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4553297

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees