JP3725255B2 - Digital image processing device - Google Patents

Digital image processing device Download PDF

Info

Publication number
JP3725255B2
JP3725255B2 JP21937096A JP21937096A JP3725255B2 JP 3725255 B2 JP3725255 B2 JP 3725255B2 JP 21937096 A JP21937096 A JP 21937096A JP 21937096 A JP21937096 A JP 21937096A JP 3725255 B2 JP3725255 B2 JP 3725255B2
Authority
JP
Japan
Prior art keywords
background color
pixel
edge
edge region
digital image
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 - Lifetime
Application number
JP21937096A
Other languages
Japanese (ja)
Other versions
JPH1051631A (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 JP21937096A priority Critical patent/JP3725255B2/en
Publication of JPH1051631A publication Critical patent/JPH1051631A/en
Application granted granted Critical
Publication of JP3725255B2 publication Critical patent/JP3725255B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子写真複写機、スキャナ装置、ファクシミリ等のデジタル画像処理装置に係わり、特に画像を文字領域と絵柄領域を分離してそれぞれの領域に適切な処理を施すデジタル画像処理装置に関するものである。
【0002】
【従来の技術】
デジタル複写機、あるいは、ファクシミリ等のデジタル画像処理装置において、従来から少ないハード量で、入力画像を文字領域と絵柄領域(写真、網点部等)に分離し、文字領域に対してはMTF補正等の解像度を重視した処理を施し、絵柄領域に対してはディザ処理や誤差拡散法等の階調性を重視した処理を施して、分離された文字領域と絵柄領域に適した画像処理を行っていた(特開平4−248766号公報)。さらに、前記の方法では文字の太い部分の文字領域が絵柄領域として検出され、階調性を重視した処理が施されるので、その問題点を改善したものもある(特開平4−248766号公報)。
【0003】
【発明が解決しようとする課題】
しかしながら、前記の従来の技術では、文字領域に対しては解像度を重視した処理が施されるが、文字の存在する領域は白地背景に限られていた。しかし、近年の印刷技術の発展に伴いカラー原稿が増加してきており、文字や写真(絵柄)の混在しているカタログも当然カラー化しているものが多くなってきた。さらに、カラー、白黒に限らずハッチング等により背景色を付けた上に文字情報を掲載されたものも多くなってきている。それらの背景色上の文字、ハッチング領域上の文字等は前記従来技術では、絵柄領域と判定され階調性を重視した処理がなされるため、背景色上の文字の再現性が悪く、重要な文字情報が損なわれると云う不具合を生じていた。
そこで、本発明は、背景色を有し且つエッジ領域にある画像かを検出する背景色エッジ検出手段を備えることによって、背景色上の文字、ハッチング領域上の文字等を文字領域と判定し、解像度を重視した処理を施すようにし、これによって背景色上の文字の再現性を著しく向上させ、重要な文字情報が損なわれるのを防止することができるデジタル画像処理装置を提供することを目的としている。
【0004】
【課題を解決するための手段】
第1の請求項を達成するために、入力画像中の注目画素が文字領域にあるか、絵柄領域にあるかを判断して、処理する像域分離処理手段と、前記像域分離処理手段の検出結果に基づいて、解像度を優先する解像度優先処理手段か、階調性を優先する階調性優先処理手段かの一方を選択する選択手段を有するデジタル画像処理装置において、前記像域分離処理手段は、注目画素に対する背景色の有無を検出し、前記注目画素がエッジ領域にあるか否かを検出して、背景色を有し且つエッジ領域を検出した場合、前記選択手段により前記解像度優先処理手段を選択することにより達成される。
第2の請求項を達成するために、前記第1の請求項を達成するためのデジタル画像処理装置において、前記像域分離処理手段は、注目画素に対する白地背景の有無を検出し、前記注目画素がエッジ領域にあるか否かを検出して、白地背景を有し且つエッジ領域にある画素かを検出する白地背景エッジ検出手段と、前記背景色エッジ検出手段と、を備えたことにより達成される。
第3の請求項を達成するために、前記第1の請求項、または第2の請求項を達成するためのデジタル画像処理装置において、前記背景色エッジ検出手段が、注目画素に対する背景色の有無を検出する際、背景色の有無を判断する閾値を変更可能な背景色閾値変更手段を備えたことにより達成される。
第4の請求項を達成するために、前記第1の請求項、または第2の請求項を達成するためのデジタル画像処理装置において、前記背景色エッジ検出手段が、注目画素がエッジ領域にあるか否かを検出する際、エッジ領域と判断する閾値を変更可能なエッジ領域閾値変更手段を備えたことにより達成される。
【0005】
上記の構成により、請求項1の発明は、像域分離処理手段に背景色エッジ検出手段を備え、背景色を検出し、背景色上の注目画素がエッジ領域にあるか否かが検出できるので、背景色上の注目画素を文字領域として処理すべきか、絵柄領域として処理すべきかを正しく判断させる。
請求項2の発明は、前記請求項1のように構成されたデジタル画像処理装置の発明において、像域分離処理手段は、注目画素が白地背景上のエッジ領域にあるか否かを検出できる白地背景エッジ検出手段と、注目画素が背景色上のエッジ領域にあるか否かを検出できる前記背景色エッジ検出手段とを備えているので、注目画素が白地背景上にあっても、背景色上にあっても、文字領域として処理すべきか、絵柄領域として処理すべきかを正しく判断させる。
請求項3の発明は、前記請求項1、または請求項2のように構成されたデジタル画像処理装置の発明に加えて、背景色の有無を検出する際、背景色閾値変更手段によって背景色の有無を判断する閾値を変更可能であるので、原稿に適した閾値を決めて背景色の有無を検出させる。
請求項4の発明は、前記請求項1、または請求項2のように構成されたデジタル画像処理装置の発明に加えて、注目画素が背景色上のエッジ領域にあるか否かを検出する際、エッジ領域閾値変更手段によってエッジ領域と判断する閾値を変更可能であるので、原稿に適した閾値を決めてエッジ領域にあるか否かを検出させる。
【0006】
【発明の実施の形態】
次に、本発明の実施の形態を添付図面に基づいて詳細に説明する。図1は、本発明のデジタル画像処理装置の主要部を示すブロック図である。図1において、スキャナ装置20は、図示しないCCD等の光電変換素子を有する読み取り部を持っていて、原稿を読み取って画像に応じた濃淡信号を出力する。その濃淡信号は、例えば6ビットのデジタル信号に変換されて出力される。像域分離処理部1は、背景色エッジ検出部5、白地背景エッジ検出部6、および、判定部9から構成されていて、画素毎の判定結果を出力する。本発明のデジタル画像処理装置は、更に、MTF補正回路11と固定閾値2値化回路12からなる解像度優先処理部2と、平滑化回路13とディザ処理回路14からなる階調性優先処理部3が設けられている。また、選択回路4は、前記像域分離処理部1の判定結果に従って、解像度優先処理される画素か、階調性優先処理される画素かを選択してプリンタ21に出力する。
上記像域分離処理部1の白地背景エッジ検出部6は、回路的には主に、注目画素に対する白地背景の有無を検出する回路と、注目画素がエッジ領域であるか否かを検出する回路から成り立っている。そして、白地背景の有が検出され、且つ、エッジ領域を検出すると、判定部9は出力信号「1」を出力し、解像度優先処理を選択させる。上記以外の時は、判定部9は出力信号「0」を出力し、階調性優先処理を選択させる。白地背景上のエッジ領域の検出は、既に公知なので説明を省略する。
同様に、像域分離処理部1の背景色エッジ検出部5は、注目画素に対する背景色の有無を検出する回路と、注目画素がエッジ領域であるか否かを検出する回路から成り立っている。そして、背景色の有が検出され、且つ、エッジ領域を検出すると、判定部9は出力信号「1」を出力し、解像度優先処理を選択させる。上記以外の時は、判定部9は出力信号「0」を出力し、階調性優先処理を選択させる。
【0007】
図2は、上記の目的を達成する背景色エッジ検出部5の詳細な回路構成である。スキャナ装置20からの画像信号出力は、平滑化回路31により図3で示されたフィルタ処理を掛けることにより均一化処理が行なわれる。その後、比較回路32によって、画像信号の濃度レベルが所定の濃度レベルの閾値と比較される。平滑化処理後の注目画素の濃度レベルをAとすると、注目画素が背景色上にあると判断されるためには、あらかじめ定められたαなる値より大きいことが必要である。また、現実には、注目画素の濃度レベルに上限があり、あまり濃度レベルが大きい場合には、背景色と扱わない。即ち、上限値をβとすると、
β≧A≧α ………… (1)
なる関係式が成立すれば注目画素は背景色上にあると判断され、比較回路32から背景色上エッジ判定回路35に出力「1」が伝達される。上記の関係式(1)が成立しない場合には、背景色上エッジ判定回路35に出力「0」が伝達される。
また、注目画素がエッジ領域にあるか否かを検出するには、エッジアクティブ検出回路33によって注目画素に対する左右の画素の関連が調べられる。図4に示す3×1の空間フィルタにて、注目画素の隣接画素同士の濃度変化量と予め決められている閾値を比較する。注目画素の濃度をBとし、左右の隣接画素の濃度をA、Cとし、閾値の濃度をγとすると、
|A−C|≧γ ………… (2)
なる関係式が成立すれば注目画素をエッジアクティブ画素として「1」を次段の膨張回路34に出力する。また、(2)以外の場合は「0」を膨張回路34に出力する。
【0008】
次に、膨張回路34では、例えば図5に示すように5×1のマスクを用いた膨張処理を行う。即ち、注目画素をcとして、隣接する画素aからeまでのマスク内に1画素でもエッジアクティブ画素があれば、注目画素cをエッジ画素として次段の背景色上エッジ判定回路35に「1」を出力する。エッジアクティブ画素がない場合は「0」を出力する。このような膨張処理は、文字の輪郭周辺全体の線領域をエッジ領域とする補正処理である。
さらに、背景色上エッジ判定回路35は、上述した比較回路32、および、膨張回路34からの出力を受けて、下記のような処理を行う。
▲1▼ 比較回路32が「1」を出力し、注目画素が背景色上にあると判断された場合で、且つ、膨張回路34の判定結果「1」を出力し、前記注目画素がエッジ画素として判断された場合に、前記注目画素を背景色上のエッジ領域画素として、背景色上エッジ判定回路35から「1」を出力する。
▲2▼ 注目画素が上の の条件を満たさない時、背景色上のエッジ領域画素ではないとして、背景色上エッジ判定回路35は「0」を出力する。
【0009】
従って、図1に戻って、上記の過程のようにして、背景色上のエッジ領域画素を背景色エッジ検出部5によって確実に捕らえることが出来、前記選択回路4に解像度優先処理させるように判定部9から働きかける。その結果、背景色を有する注目画素でも文字領域として処理されて、エッジのシャープな見易い文字として認識されることになる。
また、図1のように、背景色エッジ検出部5と白地背景エッジ検出部6を備えているので、エッジ領域が白地背景上にあっても、背景色上にあっても正しく文字のエッジ領域を検出できて、解像度を優先する処理を施すことができる。
また、図6は図1に対して背景色閾値変更部7、または、エッジ領域閾値変更部8が付加された構成となっている。付加された部分以外の動作および機能等は、図1に示されたものと同等であるので、説明を省略し、付加された背景色閾値変更部7とエッジ領域閾値変更部8について説明する。背景色閾値変更部7は、図示していない操作部や外部装置等の指示を受けて、前記背景色エッジ検出部5の背景色の有無を判断する閾値を変更する。即ち、背景色閾値変更部7は、前記背景色エッジ検出部5が注目画素に対する背景色の有無を検出する際、前記(1)式における閾値αを変更出来るようになっている。従って、背景の濃淡やハッチング等の状態により、閾値αを適宜変更させて、背景色の有無をより精度良く検出可能にさせることができる。
【0010】
また、エッジ領域閾値変更部8は、図示していない操作部や外部装置等の指示信号を受けて、前記(2)式における閾値γを変更出来るようになっている。従って、一般には、背景色の濃度が高い場合は注目画素の左右の隣接画素の濃度変化が減少傾向にあるため、閾値γを低めの方向に変更し、背景色の濃度が高い場合は注目画素の左右の隣接画素の濃度変化が増大傾向にあるため、閾値γを高めの方向に変更することにより、より精度良くエッジ領域を検出できて、解像度を優先する処理を施すことができる。
【0011】
【発明の効果】
請求項1の発明によれば、背景色エッジ検出手段により背景色上にある注目画素のエッジ領域が検出できて、背景色上の文字、ハッチング領域上の文字等のエッジ領域が正しく判定され、解像度を重視した処理を施されるようになったので、背景色上の文字の再現性を著しく向上させ、重要な文字情報が損なわれることを防止したデジタル画像処理装置を提供することが出来るようになった。
【0012】
請求項2の発明によれば、前記請求項1のデジタル画像処理装置の発明に加えて、白地背景エッジ検出手段も備えていて、注目画素のエッジ領域が白地背景上にあっても、背景色上にあっても正しく判定され、解像度を重視した処理を施されるようになったので、原稿の種類に関わらず常に文字の再現性を著しく向上させ、重要な文字情報が損なわれることを防止したデジタル画像処理装置を提供することが出来るようになった。
【0013】
請求項3の発明によれば、前記請求項1、または請求項2のデジタル画像処理装置の発明に加えて、背景色閾値変更手段によって背景色の有無を判断する閾値を変更することが可能になって、背景色の濃淡やハッチング等の状態を考慮して閾値を選ぶことができるようになったので、背景色の有無を正しく検出可能にさせたデジタル画像処理装置を提供することが出来るようになった。
【0014】
請求項4の発明によれば、前記請求項1、または請求項2のデジタル画像処理装置の発明に加えて、エッジ領域閾値変更手段によって、背景色の濃度が高い場合は注目画素の左右の隣接画素の濃度変化が減少傾向にあるため、閾値を低めの方向に変更し、背景色の濃度が高い場合は注目画素の左右の隣接画素の濃度変化が増大傾向にあるため、閾値を高めの方向に変更することが出来るようになったので、エッジ領域を正しく検出可能にさせたデジタル画像処理装置を提供することが出来るようになった。
【図面の簡単な説明】
【図1】本発明のデジタル画像処理装置の要部のブロック図である。
【図2】本発明の背景色エッジ検出部の詳細なブロック図である。
【図3】本発明の背景色エッジ検出部の平滑化処理に用いるフィルタ例を説明する説明図である。
【図4】本発明の背景色エッジ検出部がエッジ領域を検出する際に注目する画素の例を説明する説明図である。
【図5】本発明の背景色エッジ検出部がエッジ領域を検出する際の膨張処理に使用するマスクの例を説明する説明図である。
【図6】本発明の閾値変更部を備えたデジタル画像処理装置の要部のブロック図である。
【符号の説明】
1 像域分離処理部(像域分離処理手段)
2 解像度優先処理部(解像度優先処理手段)
3 階調性優先処理部(階調性優先処理手段)
4 選択部(選択手段)
5 背景色エッジ検出部(背景色エッジ検出手段)
6 白地背景エッジ検出部(白地背景エッジ検出手段)
7 背景色閾値変更部(背景色閾値変更手段)
8 エッジ領域閾値変更部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital image processing apparatus such as an electrophotographic copying machine, a scanner device, and a facsimile, and more particularly to a digital image processing apparatus that separates an image from a character area and a picture area and performs appropriate processing on each area. is there.
[0002]
[Prior art]
In a digital image processing apparatus such as a digital copying machine or a facsimile, an input image is separated into a character area and a picture area (photograph, halftone dot, etc.) with a small amount of hardware, and MTF correction is performed on the character area. The image area is processed with an emphasis on resolution, and the image area is processed with an emphasis on gradation such as dithering and error diffusion to perform image processing suitable for the separated character area and the image area. (JP-A-4-248766). Further, in the above-described method, a character area of a thick part of the character is detected as a picture area, and processing with an emphasis on gradation is performed, so that some problems have been improved (Japanese Patent Laid-Open No. Hei 4-248766). ).
[0003]
[Problems to be solved by the invention]
However, in the above-described conventional technology, the character area is processed with an emphasis on resolution, but the area where the character exists is limited to a white background. However, with the recent development of printing technology, color manuscripts have increased, and catalogs containing text and photographs (pictures) are naturally becoming more and more colored. Furthermore, not only color and black-and-white, but also a large number of text information posted with a background color by hatching or the like. The characters on the background color, the characters on the hatching area, etc. are determined as the picture area in the conventional technology, and processing with an emphasis on gradation is performed. There was a problem that character information was damaged.
Therefore, the present invention determines a character on the background color, a character on the hatching region, etc. as a character region by providing a background color edge detection means for detecting whether the image has a background color and is in the edge region. An object of the present invention is to provide a digital image processing apparatus that performs processing with an emphasis on resolution, thereby significantly improving the reproducibility of characters on the background color and preventing the loss of important character information. Yes.
[0004]
[Means for Solving the Problems]
In order to achieve the first claim, an image area separation processing means for processing by determining whether a pixel of interest in an input image is in a character area or a picture area, and the image area separation processing means In the digital image processing apparatus having selection means for selecting either resolution priority processing means for prioritizing resolution or gradation priority processing means for prioritizing gradation based on a detection result, the image area separation processing means Detects the presence or absence of a background color for the pixel of interest, detects whether or not the pixel of interest is in an edge region, and has a background color and detects an edge region, the resolution priority processing is performed by the selection unit This is achieved by selecting means .
In order to achieve the second claim, in the digital image processing apparatus for achieving the first claim, the image area separation processing unit detects the presence or absence of a white background with respect to the target pixel, and the target pixel. This is achieved by including a white background edge detecting means for detecting whether or not the pixel is in the edge area and detecting whether the pixel has a white background and is in the edge area, and the background color edge detecting means. The
In order to achieve the third claim, in the digital image processing apparatus for achieving the first claim or the second claim, the background color edge detection means includes a background color for the pixel of interest. This is achieved by providing a background color threshold value changing means capable of changing the threshold value for determining the presence or absence of the background color.
In order to achieve the fourth aspect, in the digital image processing apparatus for achieving the first aspect or the second aspect, the background color edge detecting means has the pixel of interest in the edge region. This is achieved by providing an edge region threshold value changing means capable of changing a threshold value for determining an edge region when detecting whether or not.
[0005]
With the above configuration, the invention according to claim 1 includes the background color edge detection means in the image area separation processing means, detects the background color, and can detect whether or not the pixel of interest on the background color is in the edge area. Then, it is determined correctly whether the pixel of interest on the background color should be processed as a character area or a pattern area.
According to a second aspect of the present invention, in the digital image processing apparatus configured as in the first aspect, the image area separation processing unit can detect whether or not the pixel of interest is in an edge area on a white background. Since the background edge detection means and the background color edge detection means capable of detecting whether or not the pixel of interest is in the edge region on the background color are provided, even if the pixel of interest is on a white background, Even in this case, it is determined correctly whether it should be processed as a character area or a pattern area.
According to a third aspect of the present invention, in addition to the invention of the digital image processing apparatus configured as in the first or second aspect, the background color threshold value changing means detects the background color when detecting the presence or absence of the background color. Since the threshold for determining the presence / absence can be changed, a threshold suitable for the original is determined to detect the presence / absence of the background color.
According to a fourth aspect of the invention, in addition to the invention of the digital image processing apparatus configured as in the first or second aspect, when detecting whether or not the target pixel is in an edge region on the background color. Since the threshold value for determining the edge area can be changed by the edge area threshold value changing means, a threshold value suitable for the document is determined to detect whether or not the edge area exists.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing the main part of the digital image processing apparatus of the present invention. In FIG. 1, a scanner device 20 has a reading unit having a photoelectric conversion element such as a CCD (not shown), reads a document, and outputs a grayscale signal corresponding to an image. The gray signal is converted into, for example, a 6-bit digital signal and output. The image area separation processing unit 1 includes a background color edge detection unit 5, a white background / edge detection unit 6, and a determination unit 9, and outputs a determination result for each pixel. The digital image processing apparatus according to the present invention further includes a resolution priority processing unit 2 including an MTF correction circuit 11 and a fixed threshold binarization circuit 12, and a tone priority processing unit 3 including a smoothing circuit 13 and a dither processing circuit 14. Is provided. The selection circuit 4 selects a pixel subjected to resolution priority processing or a pixel subjected to gradation priority processing according to the determination result of the image area separation processing unit 1 and outputs the selected pixel to the printer 21.
The white background / edge detection unit 6 of the image area separation processing unit 1 mainly includes a circuit for detecting the presence / absence of a white background for the target pixel and a circuit for detecting whether the target pixel is an edge region. It consists of When the presence of a white background is detected and an edge region is detected, the determination unit 9 outputs an output signal “1” to select resolution priority processing. In cases other than the above, the determination unit 9 outputs the output signal “0” to select the gradation priority processing. Since the detection of the edge region on the white background is already known, the description thereof is omitted.
Similarly, the background color edge detection unit 5 of the image area separation processing unit 1 includes a circuit that detects the presence or absence of a background color for the pixel of interest and a circuit that detects whether or not the pixel of interest is an edge region. When the presence of the background color is detected and the edge region is detected, the determination unit 9 outputs the output signal “1” and selects the resolution priority process. In cases other than the above, the determination unit 9 outputs the output signal “0” to select the gradation priority processing.
[0007]
FIG. 2 is a detailed circuit configuration of the background color edge detection unit 5 that achieves the above object. The image signal output from the scanner device 20 is subjected to a uniforming process by applying the filtering process shown in FIG. Thereafter, the comparison circuit 32 compares the density level of the image signal with a threshold of a predetermined density level. If the density level of the target pixel after the smoothing process is A, it is necessary to be larger than a predetermined value α in order to determine that the target pixel is on the background color. In reality, there is an upper limit to the density level of the pixel of interest, and when the density level is too high, it is not treated as a background color. That is, if the upper limit value is β,
β ≧ A ≧ α (1)
If the following relational expression is satisfied, it is determined that the pixel of interest is on the background color, and the output “1” is transmitted from the comparison circuit 32 to the edge determination circuit 35 on the background color. If the above relational expression (1) is not satisfied, the output “0” is transmitted to the background color upper edge determination circuit 35.
Further, in order to detect whether or not the target pixel is in the edge region, the edge active detection circuit 33 examines the relationship between the left and right pixels with respect to the target pixel. With the 3 × 1 spatial filter shown in FIG. 4, the density change amount between adjacent pixels of the target pixel is compared with a predetermined threshold value. If the density of the pixel of interest is B, the density of adjacent pixels on the left and right is A and C, and the density of the threshold is γ,
| A-C | ≧ γ (2)
If the following relational expression is satisfied, “1” is output to the expansion circuit 34 at the next stage with the target pixel as the edge active pixel. In cases other than (2), “0” is output to the expansion circuit 34.
[0008]
Next, in the expansion circuit 34, for example, as shown in FIG. 5, expansion processing using a 5 × 1 mask is performed. That is, if the pixel of interest is c, and there is even one edge active pixel in the mask from adjacent pixels a to e, “1” is input to the background color upper edge determination circuit 35 using the pixel of interest c as an edge pixel. Is output. When there is no edge active pixel, “0” is output. Such an expansion process is a correction process in which a line area around the entire outline of a character is used as an edge area.
Further, the background color upper edge determination circuit 35 receives the outputs from the comparison circuit 32 and the expansion circuit 34 described above, and performs the following processing.
(1) When the comparison circuit 32 outputs “1” and it is determined that the target pixel is on the background color, and the determination result “1” of the expansion circuit 34 is output, the target pixel is an edge pixel. If the target pixel is determined to be “1”, the background color edge determination circuit 35 outputs “1” as the edge region pixel on the background color.
{Circle around (2)} When the target pixel does not satisfy the above condition, the background color upper edge determination circuit 35 outputs “0” as not being an edge region pixel on the background color.
[0009]
Therefore, referring back to FIG. 1, the edge region pixels on the background color can be reliably captured by the background color edge detection unit 5 and the selection circuit 4 is determined to perform resolution priority processing as described above. Work from part 9. As a result, the target pixel having the background color is also processed as a character region and recognized as an easy-to-see character with sharp edges.
Further, as shown in FIG. 1, since the background color edge detection unit 5 and the white background / edge detection unit 6 are provided, the edge region of the character is correct regardless of whether the edge region is on the white background or the background color. Can be detected, and processing that prioritizes resolution can be performed.
6 has a configuration in which a background color threshold value changing unit 7 or an edge region threshold value changing unit 8 is added to FIG. Since operations and functions other than the added portion are the same as those shown in FIG. 1, description thereof will be omitted, and the added background color threshold value changing unit 7 and edge region threshold value changing unit 8 will be described. The background color threshold value changing unit 7 changes the threshold value for determining the presence or absence of the background color of the background color edge detecting unit 5 in response to an instruction from an operation unit or an external device (not shown). That is, the background color threshold value changing unit 7 can change the threshold value α in the equation (1) when the background color edge detecting unit 5 detects the presence or absence of the background color for the target pixel. Therefore, it is possible to detect the presence or absence of the background color more accurately by appropriately changing the threshold value α according to the background density, hatching, or the like.
[0010]
The edge region threshold value changing unit 8 can change the threshold value γ in the equation (2) in response to an instruction signal from an operation unit or an external device (not shown). Therefore, in general, when the density of the background color is high, the density change of the adjacent pixels on the left and right of the target pixel tends to decrease. Therefore, the threshold γ is changed to a lower direction, and when the background color density is high, the target pixel Therefore, by changing the threshold value γ in a higher direction, it is possible to detect the edge region with higher accuracy and perform a process that gives priority to the resolution.
[0011]
【The invention's effect】
According to the invention of claim 1, the edge region of the target pixel on the background color can be detected by the background color edge detection means, and the edge region of the character on the background color, the character on the hatching region, etc. is correctly determined, Since processing with an emphasis on resolution has been performed, it is possible to provide a digital image processing apparatus that significantly improves the reproducibility of characters on the background color and prevents the loss of important character information. Became.
[0012]
According to the second aspect of the present invention, in addition to the digital image processing apparatus of the first aspect, a white background / edge detection unit is also provided. Even if the edge region of the target pixel is on the white background, the background color Even if it is on the top, it is correctly judged and processing with an emphasis on resolution is performed, so that the reproducibility of characters is always remarkably improved regardless of the type of document, and important character information is prevented from being damaged. It has become possible to provide a digital image processing apparatus.
[0013]
According to the invention of claim 3, in addition to the invention of the digital image processing apparatus of claim 1 or 2, it is possible to change the threshold for determining the presence or absence of the background color by the background color threshold changing means. Thus, the threshold value can be selected in consideration of the background color shading, hatching, etc., so that a digital image processing apparatus that can correctly detect the presence or absence of the background color can be provided. Became.
[0014]
According to the fourth aspect of the invention, in addition to the digital image processing apparatus of the first or second aspect, the edge region threshold value changing means allows the left and right adjacent to the target pixel when the background color density is high. Since the density change of the pixel tends to decrease, the threshold value is changed to a lower direction, and when the density of the background color is high, the density change of the adjacent pixels on the left and right of the target pixel tends to increase. Therefore, it is possible to provide a digital image processing apparatus in which the edge region can be correctly detected.
[Brief description of the drawings]
FIG. 1 is a block diagram of a main part of a digital image processing apparatus according to the present invention.
FIG. 2 is a detailed block diagram of a background color edge detection unit of the present invention.
FIG. 3 is an explanatory diagram illustrating an example of a filter used for smoothing processing of a background color edge detection unit according to the present invention.
FIG. 4 is an explanatory diagram illustrating an example of a pixel of interest when a background color edge detection unit of the present invention detects an edge region.
FIG. 5 is an explanatory diagram illustrating an example of a mask used for expansion processing when the background color edge detection unit of the present invention detects an edge region;
FIG. 6 is a block diagram of a main part of a digital image processing apparatus including a threshold value changing unit according to the present invention.
[Explanation of symbols]
1 Image area separation processing unit (image area separation processing means)
2 Resolution priority processing unit (resolution priority processing means)
3 Gradation priority processing unit (gradation priority processing means)
4 selection part (selection means)
5. Background color edge detection unit (background color edge detection means)
6 White background background edge detector (white background edge detection means)
7 Background color threshold value changing unit (background color threshold value changing means)
8 Edge region threshold value changing unit

Claims (4)

入力画像中の注目画素が文字領域にあるか、絵柄領域にあるかを判断して、処理する像域分離処理手段と、前記像域分離処理手段の検出結果に基づいて、解像度を優先する解像度優先処理手段か、階調性を優先する階調性優先処理手段かの一方を選択する選択手段を有するデジタル画像処理装置において、前記像域分離処理手段は、注目画素に対する背景色の有無を検出し、前記注目画素がエッジ領域にあるか否かを検出して、背景色を有し且つエッジ領域を検出した場合、前記選択手段により前記解像度優先処理手段を選択することを特徴とするデジタル画像処理装置。A resolution that prioritizes resolution based on the image area separation processing means to be processed by determining whether the pixel of interest in the input image is in the character area or the pattern area, and the detection result of the image area separation processing means In a digital image processing apparatus having a selection means for selecting either a priority processing means or a gradation priority processing means for giving priority to gradation, the image area separation processing means detects the presence or absence of a background color for the pixel of interest. And detecting whether or not the pixel of interest is in an edge region, and having the background color and detecting the edge region , the selection unit selects the resolution priority processing unit. Processing equipment. 請求項1記載のデジタル画像処理装置において、前記像域分離処理手段は、注目画素に対する白地背景の有無を検出し、前記注目画素がエッジ領域にあるか否かを検出して、白地背景を有し且つエッジ領域にある画素かを検出する白地背景エッジ検出手段と、前記背景色エッジ検出手段と、を備えたことを特徴とするデジタル画像処理装置。  2. The digital image processing apparatus according to claim 1, wherein the image area separation processing unit detects the presence or absence of a white background with respect to the target pixel, detects whether or not the target pixel is in an edge region, and has a white background. And a background image edge detecting unit for detecting whether the pixel is in an edge region and the background color edge detecting unit. 請求項1、または、請求項2記載のデジタル画像処理装置において、前記背景色エッジ検出手段が、注目画素に対する背景色の有無を検出する際、背景色の有無を判断する閾値を変更可能な背景色閾値変更手段を備えたことを特徴とするデジタル画像処理装置。  3. The digital image processing apparatus according to claim 1, wherein when the background color edge detecting unit detects the presence / absence of a background color with respect to the pixel of interest, a threshold for determining the presence / absence of the background color can be changed. A digital image processing apparatus comprising color threshold value changing means. 請求項1、または、請求項2記載のデジタル画像処理装置において、前記背景色エッジ検出手段が、注目画素がエッジ領域にあるか否かを検出する際、エッジ領域と判断する閾値を変更可能なエッジ領域閾値変更手段を備えたことを特徴とするデジタル画像処理装置。  3. The digital image processing apparatus according to claim 1, wherein when the background color edge detecting unit detects whether or not the target pixel is in the edge region, a threshold value for determining the edge region can be changed. A digital image processing apparatus comprising an edge region threshold value changing unit.
JP21937096A 1996-08-01 1996-08-01 Digital image processing device Expired - Lifetime JP3725255B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21937096A JP3725255B2 (en) 1996-08-01 1996-08-01 Digital image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21937096A JP3725255B2 (en) 1996-08-01 1996-08-01 Digital image processing device

Publications (2)

Publication Number Publication Date
JPH1051631A JPH1051631A (en) 1998-02-20
JP3725255B2 true JP3725255B2 (en) 2005-12-07

Family

ID=16734360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21937096A Expired - Lifetime JP3725255B2 (en) 1996-08-01 1996-08-01 Digital image processing device

Country Status (1)

Country Link
JP (1) JP3725255B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4968902B2 (en) * 2006-11-07 2012-07-04 キヤノン株式会社 Image processing method and image processing apparatus
JP6303458B2 (en) * 2013-12-05 2018-04-04 コニカミノルタ株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JPH1051631A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
US5392137A (en) Image processing apparatus in which filtering is selected for input image characteristics
JPH0793554A (en) Automatic improved image degmentation method for color document
JPH0435167A (en) Line picture separation system
JP3725255B2 (en) Digital image processing device
JPH03230683A (en) Copying machine
EP0435658A2 (en) Image scanner
JP3137702B2 (en) Image processing device
JP3267681B2 (en) Image processing device
JP2001285631A (en) Area discrimination method and device
JPH04281671A (en) Picture processor
JPH05344330A (en) Picture area discriminating device
JPH0662251A (en) Image processor
JP3691175B2 (en) Image processing method
JPH08340447A (en) Image processor with through prevention function
JPH0832802A (en) Image processing unit
JP2000151997A (en) Original type discrimination device and image processor
JP2000115529A (en) Picture reproducing device
JPH01302962A (en) Picture processing device
JPH05136999A (en) Edge emphasis processing device for picture information
JPH08294007A (en) Image processing unit
JPS63180264A (en) Image processor
JPH05130407A (en) Picture processor
JPH0388568A (en) Image processor
JPS6340468A (en) Picture processor
JPH01229636A (en) Image processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050921

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110930

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120930

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130930

Year of fee payment: 8

EXPY Cancellation because of completion of term