JP2003333336A - Image processing apparatus, image processing method, and image forming apparatus - Google Patents

Image processing apparatus, image processing method, and image forming apparatus

Info

Publication number
JP2003333336A
JP2003333336A JP2002137096A JP2002137096A JP2003333336A JP 2003333336 A JP2003333336 A JP 2003333336A JP 2002137096 A JP2002137096 A JP 2002137096A JP 2002137096 A JP2002137096 A JP 2002137096A JP 2003333336 A JP2003333336 A JP 2003333336A
Authority
JP
Japan
Prior art keywords
image
thinning
density
column
rectangular block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002137096A
Other languages
Japanese (ja)
Inventor
Takayuki Endo
貴之 遠藤
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 JP2002137096A priority Critical patent/JP2003333336A/en
Publication of JP2003333336A publication Critical patent/JP2003333336A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus with a simple configuration for performing thinning processing with high accuracy and outputting an image with high image quality. <P>SOLUTION: A rectangular block forming section 41 forms an optional rectangular block 53 including a target pixel 52 of received image data. A thinning discrimination processing section 42 compares the density of the target pixel 52 with a predetermined threshold value TH, calculates a density average of each column of the rectangular block 53 when the density of the target pixel 52 is greater than the threshold value TH, compares the density average with that of an adjacent column, and discriminates the target pixel 52 as an object of the thinning processing when the density average of each column is sequentially decreasing or increasing. A thinning processing section 4 applies thinning processing to the target pixel 52 being a discriminated thinning processing object so as to prevent the image quality from being deteriorated due to excessive correction. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタル画像
において縦太線を抽出する画像処理装置と画像処理方法
及び画像形成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and an image forming apparatus for extracting vertical thick lines in a digital image.

【0002】[0002]

【従来の技術】[Prior art]

【従来の技術】一般的にディジタル方式の複写機やファ
クシミリ及びスキャナ等においては、読み取った原稿の
画像は文字部分の線が元の原稿よりも太く読み取られる
ため、例えば特開平7−129766号公報に示すよう
に、入力され白黒2値化された入力画像に対してあらか
じめ用意されたマトリクス状のマスクパターンとのマッ
チングを繰り返して細線化処理を施し、元の原稿に近い
すっきりとした画像を得るようにしている。また、OC
R(Optical Character Reader)における認識率を高める
ために前処理として細線化処理は有効である。
2. Description of the Related Art Generally, in a digital copying machine, a facsimile, a scanner or the like, an image of a read document has a character portion line which is thicker than that of the original document. As shown in FIG. 5, the input and black-and-white binarized input image is subjected to thinning processing by repeating matching with a matrix-shaped mask pattern prepared in advance to obtain a neat image close to the original document. I am trying. Also, OC
The thinning process is effective as a pre-process for increasing the recognition rate in R (Optical Character Reader).

【0003】[0003]

【発明が解決しようとする課題】しかしながら読み取っ
た画像をパターンマッチングで細線化処理する場合、マ
トリクスの大きさが大きくなるにしたがって、より多く
のパターンを用意する必要があり、処理速度も落ちてし
まうため、高速な処理を可能とするハードウェアが必要
になるという短所がある。
However, when the read image is subjected to thinning processing by pattern matching, it is necessary to prepare more patterns as the size of the matrix becomes larger, and the processing speed also decreases. Therefore, there is a disadvantage that hardware that enables high-speed processing is required.

【0004】また、図7に示すように、縦線画像60を
有する原稿61を読み取った原画像62に対して濃度補
正をして細線化処理を行い細線化画像63を得る場合、
細線化処理を必要とする部分としては、図中でrow[3]
からrow[6]の範囲及びrow[10]からrow[13]の範
囲であり、row[7]からrow[9]の範囲について補正
処理を行うと、補正が過度になり、画質を劣化させてし
まう。そこで、細線化処理を必要とする領域を縦線画像
の両端部となるようにすることが望まれる。
Further, as shown in FIG. 7, when an original image 62 obtained by reading an original 61 having a vertical line image 60 is subjected to density correction and thinning processing is performed to obtain a thinned image 63,
In the figure, row [3] is the part that requires thinning processing.
To row [6] range and row [10] to row [13] range. If the correction process is performed for the range from row [7] to row [9], the correction becomes excessive and the image quality deteriorates. Will end up. Therefore, it is desired that the regions that require the thinning process be located at both ends of the vertical line image.

【0005】この発明はかかる短所を改善し、簡易な回
路構成で精度の高い細線化処理を行い、より高画質な画
像を出力することができる画像処理装置と画像処理方法
及び画像形成装置を提供することを目的とするものであ
る。
The present invention provides an image processing apparatus, an image processing method, and an image forming apparatus which are capable of outputting such a high-quality image by improving the above drawbacks and performing a highly accurate thinning process with a simple circuit structure. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】この発明に係る画像処理
装置は、矩形ブロック形成手段と細線化判定処理手段及
び細線化処理手段とを有し、矩形ブロック形成手段は、
入力された画像データに対する注目画素を含む任意の矩
形ブロックを形成し、細線化判定処理手段は、前記注目
画素の濃度をあらかじめ定めた閾値で比較し、注目画素
の濃度が閾値より大きいときに、前記矩形ブロック形成
手段で形成した矩形ブロックの各列の濃度平均値を算出
し、算出した各列毎に隣接する列の濃度平均値と比較
し、各列の濃度平均値が順次減少又は増加しているとき
に、注目画素を細線化処理の候補と判定し、細線化処理
手段は、前記細線化判定処理手段で判定した細線化処理
の候補の注目画素に対して細線化処理を行い、過度な補
正をして画質が劣化することを防ぐ。
An image processing apparatus according to the present invention has rectangular block forming means, thinning determination processing means and thinning processing means, and the rectangular block forming means is
An arbitrary rectangular block including the target pixel for the input image data is formed, the thinning determination processing means compares the densities of the target pixels with a predetermined threshold value, and when the density of the target pixel is larger than the threshold value, The density average value of each column of the rectangular block formed by the rectangular block forming means is calculated and compared with the density average value of the adjacent column for each calculated column, and the density average value of each column is gradually decreased or increased. When the target pixel is determined to be a candidate for thinning processing, the thinning processing means performs thinning processing on the target pixel of the thinning processing candidate determined by the thinning determination processing means, and To prevent the image quality from deteriorating.

【0007】また、注目画素の濃度と比較する閾値を原
稿の種類に応じて任意に変更し、誤判定を防ぐ。
Further, the threshold value to be compared with the density of the pixel of interest is arbitrarily changed according to the type of the document to prevent erroneous determination.

【0008】この発明に係る画像処理方法は、入力され
た画像データに対する注目画素を含む任意の矩形ブロッ
クを形成し、前記注目画素の濃度をあらかじめ定めた閾
値で比較し、注目画素の濃度が閾値より大きいときに、
前記矩形ブロックの各列の濃度平均値を算出し、算出し
た各列毎に隣接する列の濃度平均値と比較し、各列の濃
度平均値が順次減少又は増加しているときに、注目画素
を細線化処理の候補と判定し、判定した細線化処理の候
補の注目画素に対して細線化処理を行うことを特徴とす
る。
In the image processing method according to the present invention, an arbitrary rectangular block including a target pixel for the input image data is formed, the densities of the target pixels are compared with a predetermined threshold value, and the density of the target pixel is the threshold value. When greater than
The density average value of each column of the rectangular block is calculated and compared with the density average value of the adjacent column for each calculated column, and when the density average value of each column is gradually decreasing or increasing, the pixel of interest Is determined as a candidate for thinning processing, and the thinning processing is performed on the pixel of interest of the determined candidate for thinning processing.

【0009】この発明の画像形成装置は、前記画像処理
装置を有し、高画質な画像を安定して出力することを特
徴とする。
An image forming apparatus of the present invention is characterized by including the image processing apparatus and stably outputting a high quality image.

【0010】[0010]

【発明の実施の形態】図1はこの発明のデジタル複写機
の構成図である。図に示すように、デジタル複写機1は
複写機本体2と原稿自動送り装置(以下、ADFとい
う)3と自動仕分け装置4とを有する。複写機本体2は
原稿読取ユニット5と書込ユニット6とエンジン部7と
給紙ユニット8を有する。原稿読取ユニット5は光源と
複数のミラーを有するキャリッジ9とレンズ10とCC
D11及びバッファ12を有し、ADF3で送られた原
稿を走査して読み取る。書込ユニット6はレーザ光源や
ポリゴンミラー等を有し、画像情報を含むレーザビーム
13をエンジン部7に出射する。エンジン部7は、画像
形成ユニット14と1次転写ユニット15と2次転写ユ
ニット16及び定着ユニット17を有する。画像形成ユ
ニット14は、感光体18の周囲に配置された帯電チャ
ージャ19と書込ユニット5からのレーザビーム13の
照射部とシアン(C),マゼンタ(M),イエロー
(Y),ブラック(K)からなる回転式のカラー現像部
20及びドラムクリーニング部21を有し、帯電チャー
ジャ19で帯電した感光体18上にレーザビーム13で
静電潜像を形成し、形成した静電潜像をカラー現像部2
0で可視化してトナー像を形成する。1次転写ユニット
15は中間転写ベルト22と1次転写部23とテンショ
ンローラ24と2次転写ローラ25とクリーニング部2
6及び基準位置センサ27を有し、感光体18に形成さ
れたトナー像を中間転写ベルト22に1次転写する。中
間転写ベルト22は、このデジタル複写機1における最
大転写紙サイズであるA3よりも大きく形成されてお
り、使用する転写紙がA4サイズ以下の場合には、2面
分のトナー像を保持することができる。この中間転写ベ
ルト22は感光体18上のトナー像を1次転写するとき
以外は図示しない接離機構によって感光体18表面から
離れ、中間転写ベルト22に画像を1次転写するときだ
け感光体18表面に圧接される。2次転写ユニット16
は中間転写ベルト22に転写されたトナー像を記録紙に
2次転写する。定着ユニット17は記録紙に転写された
トナー像を熱と圧力で定着する。給紙ユニット8は複数
の給紙カセット28a〜28cと手差トレイ29を有
し、記録紙を2次転写ユニット16に送る。
1 is a block diagram of a digital copying machine according to the present invention. As shown in the figure, the digital copying machine 1 has a copying machine main body 2, an automatic document feeder (hereinafter referred to as ADF) 3, and an automatic sorting device 4. The copying machine main body 2 has a document reading unit 5, a writing unit 6, an engine unit 7, and a paper feeding unit 8. The document reading unit 5 includes a carriage 9 having a light source and a plurality of mirrors, a lens 10 and a CC.
It has a D11 and a buffer 12, and scans and reads the document sent by the ADF3. The writing unit 6 has a laser light source, a polygon mirror, etc., and emits a laser beam 13 containing image information to the engine unit 7. The engine unit 7 includes an image forming unit 14, a primary transfer unit 15, a secondary transfer unit 16 and a fixing unit 17. The image forming unit 14 includes an electrification charger 19 arranged around the photoconductor 18 and an irradiation portion of the laser beam 13 from the writing unit 5, and cyan (C), magenta (M), yellow (Y), black (K). ), A rotary type color developing unit 20 and a drum cleaning unit 21. The electrostatic latent image is formed by the laser beam 13 on the photoconductor 18 charged by the charging charger 19 and the formed electrostatic latent image is colored. Development unit 2
Visualize at 0 to form a toner image. The primary transfer unit 15 includes an intermediate transfer belt 22, a primary transfer section 23, a tension roller 24, a secondary transfer roller 25, and a cleaning section 2.
6 and a reference position sensor 27, the toner image formed on the photoconductor 18 is primarily transferred to the intermediate transfer belt 22. The intermediate transfer belt 22 is formed to be larger than A3 which is the maximum transfer paper size in the digital copying machine 1. When the transfer paper to be used is A4 size or smaller, it must hold toner images for two surfaces. You can The intermediate transfer belt 22 is separated from the surface of the photosensitive member 18 by a contacting / separating mechanism (not shown) except when the toner image on the photosensitive member 18 is primarily transferred, and the photosensitive member 18 is only transferred when the image is primarily transferred to the intermediate transfer belt 22. Pressed against the surface. Secondary transfer unit 16
Secondarily transfers the toner image transferred onto the intermediate transfer belt 22 onto the recording paper. The fixing unit 17 fixes the toner image transferred onto the recording paper with heat and pressure. The paper feeding unit 8 has a plurality of paper feeding cassettes 28 a to 28 c and a manual tray 29, and sends the recording paper to the secondary transfer unit 16.

【0011】ADF3は読み取る原稿を原稿読取ユニッ
ト5に送り、原稿読取ユニット5で読み取った原稿を回
収する。自動仕分け装置4は複数段の仕分けビン30a
〜30nを有し、画像が形成された記録紙を仕分けして
排出する。
The ADF 3 sends the document to be read to the document reading unit 5 and collects the document read by the document reading unit 5. The automatic sorting device 4 has a plurality of sorting bins 30a.
The recording paper on which an image is formed is sorted and discharged.

【0012】このデジタル複写機1で原稿読取ユニット
5で読み取った原稿の画像形成サイクルが始まると、形
成する画像が1色の場合は、読み取った原稿の画像デー
タにより感光体18にトナー像を形成し、形成されたト
ナー像を中間転写ベルト22に1次転写する。2次転写
ユニット16は中間転写ベルト22に転写されたトナー
像の先端に合わせて給紙された記録紙にトナー像を2次
転写する。トナー像を転写した記録紙は定着ユニット1
7に送られ加熱,加圧して定着される。トナー像が定着
された記録紙は自動仕分け装置4に排出される。また、
中間転写ベルト22に残留しているトナーはクリーニン
グ部26で回収する。
When the image forming cycle of the original read by the original reading unit 5 in the digital copying machine 1 starts, if the image to be formed is one color, a toner image is formed on the photoconductor 18 by the image data of the read original. Then, the formed toner image is primarily transferred to the intermediate transfer belt 22. The secondary transfer unit 16 secondarily transfers the toner image onto the recording paper fed in conformity with the tip of the toner image transferred onto the intermediate transfer belt 22. The recording paper on which the toner image is transferred is the fixing unit 1
It is sent to No. 7 and heated and pressurized to be fixed. The recording paper on which the toner image is fixed is discharged to the automatic sorting device 4. Also,
The toner remaining on the intermediate transfer belt 22 is collected by the cleaning unit 26.

【0013】形成する画像が2色以上の場合は、中間転
写ベルト22に設けた基準マークを基準位置センサ27
で検出したことを基準にして原稿読取ユニッ5で原稿を
読み取り、読み取った画像データを画像メモリに格納
し、この画像データにより感光体18に第1色目のトナ
ー像を形成し、感光体18に形成したトナー像を中間転
写ベルト22に1次転写する。引き続いて画像メモリに
格納された画像データにより感光体18に第2色目のト
ナー像を形成し、感光体18に形成したトナー像を中間
転写ベルト22に1次転写する。この感光体18に対す
る画像形成と中間転写ベルト22に対する1次転写を各
色毎に繰り返す。すなわち、2色の画像を形成する場合
には中間転写ベルト22を2回転し、フルカラーの画像
を形成する場合には中間転写ベルト22を4回転して、
各回転毎に感光体18に形成されたトナー像を中間転写
ベルト22に1次転写して各色の画像を位置ずれなしに
重ね合わせる。所定の色のトナー像を中間転写ベルト2
2に転写したら、中間転写ベルト22に転写されたトナ
ー像の先端に合わせて給紙された記録紙にトナー像を2
次転写し、定着ユニット17で加熱,加圧して定着す
る。
When the image to be formed has two or more colors, the reference mark provided on the intermediate transfer belt 22 is used as the reference position sensor 27.
The document is read by the document reading unit 5 on the basis of the detection by the above, the read image data is stored in the image memory, and the toner image of the first color is formed on the photoconductor 18 by the image data, and the photoconductor 18 is formed. The formed toner image is primarily transferred onto the intermediate transfer belt 22. Subsequently, a second-color toner image is formed on the photoconductor 18 by the image data stored in the image memory, and the toner image formed on the photoconductor 18 is primarily transferred to the intermediate transfer belt 22. Image formation on the photoconductor 18 and primary transfer on the intermediate transfer belt 22 are repeated for each color. That is, the intermediate transfer belt 22 is rotated twice when forming a two-color image, and the intermediate transfer belt 22 is rotated four times when forming a full-color image.
The toner image formed on the photoconductor 18 is primary-transferred to the intermediate transfer belt 22 for each rotation, and the images of the respective colors are superposed without displacement. The toner image of a predetermined color is transferred onto the intermediate transfer belt 2
2 is transferred onto the intermediate transfer belt 22, the toner image is transferred onto the recording paper fed in line with the front end of the toner image transferred onto the intermediate transfer belt 22.
Next transfer is performed, and the fixing unit 17 heats and pressurizes to fix.

【0014】また、基準サイズ例えばA4サイズで縦向
きの原稿の画像のトナー像を2面分同時に中間転写ベル
ト22に転写する2面取りモードのときは、1面目のト
ナー像を中間転写ベルト22に転写してから中間転写ベ
ルト22の周長と原稿サイズで定まる所定のタイミング
をおいて2面目のトナー像を中間転写ベルト22に転写
する。フルカラーの画像を形成する場合には中間転写ベ
ルト22を4回転して、各回転毎に感光体18に形成さ
れたトナー像を中間転写ベルト22に1次転写して各色
の画像を位置ずれなしに重ね合わせる。所定の色のトナ
ー像を中間転写ベルト22に転写したら、中間転写ベル
ト22に転写された各トナー像の先端に合わせて給紙さ
れた記録紙にトナー像を2次転写し、定着ユニット17
で加熱,加圧して定着して、画像が形成された2枚の記
録紙を連続的に排出する。このようにして画像形成効率
を高めることができる。
Further, in the two-sided chamfering mode in which the toner images of the vertically oriented original image of the standard size, eg, A4 size, are simultaneously transferred onto the intermediate transfer belt 22, the toner image on the first surface is transferred onto the intermediate transfer belt 22. After the transfer, the toner image on the second surface is transferred to the intermediate transfer belt 22 at a predetermined timing determined by the circumference of the intermediate transfer belt 22 and the document size. When forming a full-color image, the intermediate transfer belt 22 is rotated four times, and the toner image formed on the photoconductor 18 is primarily transferred to the intermediate transfer belt 22 for each rotation, and the image of each color is not displaced. Overlaid on. After the toner image of a predetermined color is transferred to the intermediate transfer belt 22, the toner image is secondarily transferred to the recording paper fed in accordance with the leading end of each toner image transferred to the intermediate transfer belt 22, and the fixing unit 17
Then, the two recording papers on which the image is formed are continuously discharged by heating, pressurizing and fixing. In this way, the image forming efficiency can be improved.

【0015】このデジタル複写機1の原稿読取ユニット
5で読み取った画像を処理する前処理部40には、図2
のブロック図に示すように、矩形ブロック形成部41と
細線化判定部42と細線化処理部43及び画像出力部4
4を有する。矩形ブロック形成部41は、図3に示すよ
うに、読み取った画像50のなかから例えば5ライン分
の画像データ51を抽出して、細線化が必要か否かを判
定しようとしている注目画素52を含む例えば5×5の
矩形ブロック(ウィンドウ)53を作成する。ここでで作
成する矩形ブロック53は5×5ブロックに限らず、大
きさと形状はそれ以外であっても構わない。細線化判定
処理部42は矩形ブロック形成部41で作成した矩形ブ
ロック43により細線化が必要であるか否かを判定す
る。細線化処理部43は細線化判定処理部42の判定結
果により細線化処理を行う。画像出力部44は細線化処
理した画像データ等を出力する。
The preprocessing section 40 for processing the image read by the document reading unit 5 of the digital copying machine 1 has a configuration shown in FIG.
As shown in the block diagram of FIG. 4, the rectangular block forming unit 41, the thinning determination unit 42, the thinning processing unit 43, and the image output unit 4
Have 4. As shown in FIG. 3, the rectangular block forming unit 41 extracts the image data 51 of, for example, 5 lines from the read image 50, and selects the pixel 52 of interest which is about to be determined whether thinning is necessary. A 5 × 5 rectangular block (window) 53 including, for example, is created. The rectangular block 53 created here is not limited to the 5 × 5 block, and the size and shape may be other than that. The thinning determination processing unit 42 determines whether or not thinning is required by the rectangular block 43 created by the rectangular block forming unit 41. The thinning processing unit 43 performs thinning processing according to the determination result of the thinning determination processing unit 42. The image output unit 44 outputs the image data subjected to the thinning processing.

【0016】この原稿読取ユニット5で読み取った画像
を前処理部40で処理するときの動作を図4のフローチ
ャートを参照して説明する。
The operation when the image read by the document reading unit 5 is processed by the preprocessing section 40 will be described with reference to the flowchart of FIG.

【0017】原稿読取ユニット5で原稿の画像を読み取
り前処理部40に入力すると(ステップS1)、矩形ブ
ロック形成部41は、図3に示すように、読み取った画
像50のなかから5ライン分の画像データ51を抽出し
て注目画素52を含む5×5の矩形ブロック53を作成
する(ステップS2)。細線化判定処理部42は矩形ブ
ロック形成部41で作成した矩形ブロック43の注目画
素52の画素値とあらかじめ設定された閾値THと比較
し、注目画素52の画素値が閾値THより大きい場合、
細線化処理候補として判定フラグを「YES」とし、そ
れ以外については判定フラグを「NO」にする。この判
定に使用する閾値THは、例えば濃い原稿や淡い原稿等
読み取る原稿の種類に応じて任意に変更することがで
き、ユーザが閾値THを直接変更して誤判定を防ぎ、所
望の画像を得るようにする。そして、判定フラグが「Y
ES」の場合、5×5の矩形ブロック53の第1列から
第5列の各列の画素値の濃度平均値ave[n]、(n=
1〜5)を算出し(ステップS4)、算出した各列の濃
度平均値ave[n]を比較する。この比較の結果、次の
条件を満たすとき、注目画素52は細線化処理の候補と
して判定フラグを「YES」とし、それ以外については
判定フラグを「NO」にする(ステップS5,S6)。 判定条件1;ave[1]>ave[2]>ave[3]>ave[4]>ave[5] 判定条件2;ave[1]<ave[2]<ave[3]<ave[4]<ave[5]
When the image of the original is input to the reading preprocessing section 40 by the original reading unit 5 (step S1), the rectangular block forming section 41, as shown in FIG. The image data 51 is extracted to create a 5 × 5 rectangular block 53 including the target pixel 52 (step S2). The thinning determination processing unit 42 compares the pixel value of the target pixel 52 of the rectangular block 43 created by the rectangular block formation unit 41 with a preset threshold TH, and when the pixel value of the target pixel 52 is larger than the threshold TH,
The determination flag is set to “YES” as a thinning process candidate, and the determination flags are set to “NO” in other cases. The threshold TH used for this determination can be arbitrarily changed according to the type of the original to be read such as a dark original or a light original, and the user can directly change the threshold TH to prevent erroneous determination and obtain a desired image. To do so. Then, the determination flag is "Y
In the case of “ES”, the density average value ave [n] of pixel values of the first column to the fifth column of the 5 × 5 rectangular block 53, (n =
1 to 5) are calculated (step S4), and the calculated average density values ave [n] of the respective columns are compared. When the following conditions are satisfied as a result of this comparison, the target pixel 52 sets the determination flag to “YES” as a candidate for the thinning process, and otherwise sets the determination flag to “NO” (steps S5 and S6). Judgment condition 1; ave [1]> ave [2]> ave [3]> ave [4]> ave [5] Judgment condition 2; ave [1] <ave [2] <ave [3] <ave [4 ] <Ave [5]

【0018】図5(a)は判定条件1に該当する一例を
示し、各列の濃度平均値は右下がりに減少し、縦線画像
の右端部を検出することとなり、図5(b)は判定条件
2に該当する一例を示し、各列の濃度平均値は左下がり
に減少し、縦線画像の左端部を検出することとなる。ま
た、図6は、判定条件1と判定条件2を満たさない場合
の一例を示し、各列の濃度平均値は山形に変化し、縦線
画像の中央部を示している。このように細線化処理の候
補を判定することにより、図6に示す縦線画像の中央部
を細線化処理から除くことができ、過度な補正をして画
質が劣化することを防ぐことができる。
FIG. 5A shows an example corresponding to the judgment condition 1. The density average value of each column decreases to the lower right, and the right end of the vertical line image is detected, and FIG. 5B shows An example corresponding to the determination condition 2 is shown, in which the density average value of each column decreases to the lower left, and the left end of the vertical line image is detected. Further, FIG. 6 shows an example in which the judgment conditions 1 and 2 are not satisfied, and the density average value of each column changes into a mountain shape, and shows the central portion of the vertical line image. By thus determining the candidates for the thinning process, the central portion of the vertical line image shown in FIG. 6 can be excluded from the thinning process, and it is possible to prevent deterioration of the image quality due to excessive correction. .

【0019】細線化処理部43は細線化判定処理部42
で判定した細線化処理候補の注目画素52の画素値から
一定の値を減算したり、例えば画素値×0.75等のように
注目画素52の画素値に一定値を乗算して細線化処理を
行う(ステップS7)。この処理を読み取った全ての画
像に対して行い(ステップS8,S2〜S7)、画像出
力部44から、細線化処理の候補は細線化処理した画像
データを出力し、細線化処理の候補に該当しない部分は
入力画素データをそのまま出力する。
The thinning processing unit 43 is a thinning determination processing unit 42.
The thinning processing is performed by subtracting a constant value from the pixel value of the target pixel 52 of the thinning processing candidate determined in step S3, or by multiplying the pixel value of the target pixel 52 by a constant value such as pixel value × 0.75. (Step S7). This processing is performed for all the read images (steps S8, S2 to S7), and the thinning processing candidate outputs the thinning processing image data from the image output unit 44 and corresponds to the thinning processing candidate. The input pixel data is output as it is to the portion that does not.

【0020】[0020]

【発明の効果】この発明は以上説明したように、入力さ
れた画像データに対する注目画素を含む任意の矩形ブロ
ックを形成し、前記注目画素の濃度をあらかじめ定めた
閾値で比較し、注目画素の濃度が閾値より大きいとき
に、前記矩形ブロックの各列の濃度平均値を算出し、算
出した各列毎に隣接する列の濃度平均値と比較し、各列
の濃度平均値が順次減少又は増加しているときに、注目
画素を細線化処理の候補と判定し、判定した細線化処理
の候補の注目画素に対して細線化処理を行うことによ
り、簡易な構成で精度の高い細線化処理を行うこと画で
きるとともに、過度な補正をして画質が劣化することを
防いで、より高画質な画像を出力することができる。
As described above, the present invention forms an arbitrary rectangular block including a target pixel for input image data, compares the densities of the target pixels with a predetermined threshold value, and determines the density of the target pixel. Is larger than a threshold value, the density average value of each column of the rectangular block is calculated, and each calculated column is compared with the density average value of the adjacent column, and the density average value of each column is gradually decreased or increased. When the target pixel is determined to be a candidate for thinning processing and the target pixel of the determined candidate for thinning processing is subjected to the thinning processing, the thinning processing with high accuracy is performed with a simple configuration. It is possible to prevent the deterioration of the image quality due to excessive correction and to output a higher quality image.

【0021】また、矩形ブロックの各列の隣接する列の
濃度平均値とを比較して細線化処理の候補を判定するこ
とにより、隣接する画像データの相関性を利用した処理
を行うことができ、細線化処理の候補を安定して判定す
ることができる。
Further, by comparing the density average value of adjacent columns of each rectangular block to determine a candidate for thinning processing, processing utilizing the correlation between adjacent image data can be performed. , It is possible to stably determine candidates for thinning processing.

【0022】さらに、注目画素の濃度と比較する閾値を
原稿の種類に応じて任意に変更し、誤判定を防いで原稿
画像の特性に応じた細線化処理を行い、高画質な画像を
出力することができる。
Further, the threshold value to be compared with the density of the pixel of interest is arbitrarily changed according to the type of the original document to prevent misjudgment, perform thinning processing according to the characteristics of the original image, and output a high quality image. be able to.

【0023】また、この画像処理装置を使用することに
より画像形成装置から高画質な画像を安定して出力する
ことができる。
Further, by using this image processing apparatus, a high quality image can be stably output from the image forming apparatus.

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

【図1】この発明のデジタル複写機の構成図である。FIG. 1 is a block diagram of a digital copying machine of the present invention.

【図2】読み取った画像を処理する前処理部の構成を示
すブロック図である。
FIG. 2 is a block diagram showing a configuration of a pre-processing unit that processes a read image.

【図3】矩形ブロックを示す模式図である。FIG. 3 is a schematic diagram showing a rectangular block.

【図4】細線化処理の候補の判定処理を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a determination process of a thinning process candidate.

【図5】細線化処理の候補の各列の濃度平均値の変化を
示す模式図である。
FIG. 5 is a schematic diagram showing a change in density average value of each row of candidates for thinning processing.

【図6】細線化処理の候補に該当しない各列の濃度平均
値の変化を示す模式図である。
FIG. 6 is a schematic diagram showing changes in the density average value of each column that does not correspond to a candidate for thinning processing.

【図7】原画像と細線化処理画像及び各列の濃度変化を
示す模式図である。
FIG. 7 is a schematic diagram showing an original image, a thinning-processed image, and a density change in each column.

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

1;デジタル複写機、2;複写機本体、3;ADF、
4;自動仕分け装置、5;原稿読取ユニット、6;書込
ユニット、7;エンジン部、8;給紙ユニット、40;
前処理部、41;矩形ブロック形成部、42;細線化判
定処理部、43;細線化処理部、44;画像出力部。4
4を有する。
1; digital copier, 2; copier body, 3; ADF,
4; automatic sorting device, 5; original reading unit, 6; writing unit, 7; engine section, 8; paper feeding unit, 40;
Pre-processing unit, 41; rectangular block forming unit, 42; thinning determination processing unit, 43; thinning processing unit, 44; image output unit. Four
Have 4.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 矩形ブロック形成手段と細線化判定処理
手段及び細線化処理手段とを有し、 矩形ブロック形成手段は、入力された画像データに対す
る注目画素を含む任意の矩形ブロックを形成し、 細線化判定処理手段は、前記注目画素の濃度をあらかじ
め定めた閾値で比較し、注目画素の濃度が閾値より大き
いときに、前記矩形ブロック形成手段で形成した矩形ブ
ロックの各列の濃度平均値を算出し、算出した各列毎に
隣接する列の濃度平均値と比較し、各列の濃度平均値が
順次減少又は増加しているときに、注目画素を細線化処
理の候補と判定し、 細線化処理手段は、前記細線化判定処理手段で判定した
細線化処理の候補の注目画素に対して細線化処理を行う
ことを特徴とする画像処理装置。
1. A rectangular block forming means, a thinning determination processing means, and a thinning processing means, wherein the rectangular block forming means forms an arbitrary rectangular block including a target pixel for input image data, The conversion determination processing means compares the densities of the target pixel with a predetermined threshold value, and when the density of the target pixel is higher than the threshold value, calculates the average density value of each column of the rectangular block formed by the rectangular block forming means. Then, each calculated column is compared with the density average value of the adjacent column, and when the density average value of each column is gradually decreasing or increasing, the pixel of interest is determined as a candidate for thinning processing, and thinning is performed. An image processing apparatus, wherein the processing means performs the thinning processing on the target pixel of the thinning processing candidate determined by the thinning determination processing means.
【請求項2】 前記注目画素の濃度と比較する閾値を原
稿の種類に応じて任意に変更できる請求項1記載の画像
処理装置。
2. The image processing apparatus according to claim 1, wherein the threshold value to be compared with the density of the pixel of interest can be arbitrarily changed according to the type of document.
【請求項3】 入力された画像データに対する注目画素
を含む任意の矩形ブロックを形成し、前記注目画素の濃
度をあらかじめ定めた閾値で比較し、注目画素の濃度が
閾値より大きいときに、前記矩形ブロックの各列の濃度
平均値を算出し、算出した各列毎に隣接する列の濃度平
均値と比較し、各列の濃度平均値が順次減少又は増加し
ているときに、注目画素を細線化処理の候補と判定し、
判定した細線化処理の候補の注目画素に対して細線化処
理を行うことを特徴とする画像処理方法。
3. An arbitrary rectangular block including a pixel of interest for the input image data is formed, the density of the pixel of interest is compared with a predetermined threshold, and when the density of the pixel of interest is larger than the threshold, the rectangle The density average value of each column of the block is calculated and compared with the density average value of the adjacent column for each calculated column, and when the density average value of each column is gradually decreasing or increasing, the pixel of interest is indicated by a thin line. Determined as a candidate for
An image processing method, wherein thinning processing is performed on a target pixel of interest that has been determined as a thinning processing candidate.
【請求項4】 請求項1又は2に記載の画像処理装置を
有することを特徴とする画像形成装置。
4. An image forming apparatus comprising the image processing apparatus according to claim 1.
JP2002137096A 2002-05-13 2002-05-13 Image processing apparatus, image processing method, and image forming apparatus Pending JP2003333336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002137096A JP2003333336A (en) 2002-05-13 2002-05-13 Image processing apparatus, image processing method, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002137096A JP2003333336A (en) 2002-05-13 2002-05-13 Image processing apparatus, image processing method, and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2003333336A true JP2003333336A (en) 2003-11-21

Family

ID=29698943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002137096A Pending JP2003333336A (en) 2002-05-13 2002-05-13 Image processing apparatus, image processing method, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2003333336A (en)

Similar Documents

Publication Publication Date Title
JP2688055B2 (en) Image forming device
US5379093A (en) Image processing machine capable of inhibiting copying of valuable papers
US6965695B2 (en) Method and system for processing character edge area data
EP0794653B1 (en) Image-forming apparatus
JP3358027B2 (en) Color image forming equipment
JPH11194664A (en) Device and method for forming image device and method for processing image and image forming device
JPH0562011A (en) Image processor
JP3377302B2 (en) Color image forming equipment
JP2754591B2 (en) Color copier and image forming method
JP2017096835A (en) Image inspection device and image forming system
JP3330392B2 (en) Color image forming equipment
JP2003338930A (en) Image processing method, image processing apparatus, and image forming apparatus
JP2749866B2 (en) Image forming device
JP3826119B2 (en) Color image processing device
JP2003333336A (en) Image processing apparatus, image processing method, and image forming apparatus
JP2896702B2 (en) Image reading device and image forming device
JPS62170A (en) Digital color image processor
JP4170247B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, program, and recording medium recording the program
JP3231047B2 (en) Digital color image forming device
JPS63263974A (en) Image processor
JP3961090B2 (en) Image processing apparatus having smoothing processing function
JP3666979B2 (en) Image processing method and apparatus, and method of creating reference image data used in the method or apparatus
JPH0723224A (en) Copying machine
JPS6342574A (en) Digital color copying machine
JPH10210314A (en) Digital image-processing unit