JPH07254982A - Coexisting image processor - Google Patents
Coexisting image processorInfo
- Publication number
- JPH07254982A JPH07254982A JP6046845A JP4684594A JPH07254982A JP H07254982 A JPH07254982 A JP H07254982A JP 6046845 A JP6046845 A JP 6046845A JP 4684594 A JP4684594 A JP 4684594A JP H07254982 A JPH07254982 A JP H07254982A
- Authority
- JP
- Japan
- Prior art keywords
- area
- image
- blocks
- image processing
- areas
- 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.)
- Granted
Links
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、デジタル複写機やファ
クシミリ等のデジタル画像形成装置の画像処理装置にお
いて、特に文字、絵柄(網点、写真)が混在する原稿画
像の境界に対して親和性のあるデジタル画像を再生する
混在画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus of a digital image forming apparatus such as a digital copying machine or a facsimile machine, and is particularly compatible with a boundary of an original image in which characters and pictures (dots and photographs) are mixed. The present invention relates to a mixed image processing device for reproducing a certain digital image.
【0002】[0002]
【従来の技術】原稿画像の再生の条件として高い解像度
と階調度とが要求されることは知られている。文字の
他、絵柄(網点、写真)が含まれる混在画像の場合、上
記両方の品質を維持するためには、各画像種類にあった
ディザマトリクスが適用されて画像の再生処理が行われ
る。2. Description of the Related Art It is known that high resolution and gradation are required as conditions for reproducing an original image. In the case of a mixed image including pictures (dots and photographs) in addition to characters, a dither matrix suitable for each image type is applied and image reproduction processing is performed in order to maintain both of the above qualities.
【0003】従来、かかる文字や絵柄の画像種類を識別
する技術が種々提案されている。特開平2−10368
5号公報には、所定数の画素を有するブロック内の情報
に基づいて、すなわち白画素に基づいて計測した領域数
と黒画素に基づいて計測した領域数との内で大きい方の
領域数を当該ブロックの領域数とし、あるいは当該ブロ
ックの平均濃度に、白画素に基づいて計測した領域数と
黒画素に基づいて計測した領域数とを加味して、その内
の一方をこのブロックの領域数として、網点領域を分離
するようにしたものが記載されている。特開平2−16
2477号公報には、注目画素データがその近傍画素デ
ータとの関係で画素濃度が特定方向に急激に変化してい
るかどうかによって、文字領域か写真領域かを判定する
ようにしたものが記載されている。特開平3−2081
84号公報には、入力画像データの各画素毎に3×3の
マトリクス上で分散処理を施すとともに、2×2のメッ
シュに区切ってこのメッシュ毎に写真領域か文字領域か
をエッジ処理等によって分類するようにしたものが記載
されている。Conventionally, various techniques for identifying the image type of such characters and pictures have been proposed. JP-A-2-10368
In Japanese Patent Laid-Open No. 5 (1994), the larger number of regions is measured based on information in a block having a predetermined number of pixels, that is, the number of regions measured based on white pixels and the number of regions measured based on black pixels. The number of regions of this block is taken as the number of regions of this block, or the average density of this block is added to the number of regions measured based on white pixels and the number of regions measured based on black pixels. , A method in which halftone dot areas are separated is described. Japanese Patent Laid-Open No. 2-16
Japanese Patent No. 2477 discloses that the pixel area of interest is determined to be a character area or a photograph area depending on whether or not the pixel density of the pixel data of interest is rapidly changing in a specific direction. There is. JP-A-3-2081
In Japanese Patent Laid-Open No. 84, the dispersion processing is performed on each pixel of the input image data on a 3 × 3 matrix, and the mesh is divided into 2 × 2 meshes, and each mesh is subjected to edge processing such as a photograph area or a character area. Those that are classified are listed.
【0004】また、文字/網点/写真が混在する原稿を再
生する場合に、網点ドットのピーク情報を利用する網点
領域検出と、黒画像と白画像の連続性を利用するエッジ
領域検出とからなり、両者の組合せにより文字領域と絵
柄領域とを分離するアルゴリズムが知られている(「文
字/絵柄(網点,写真)混在画像の像域分離方式」、電
子情報通信学会論文誌 D−II Vol.J75-D-II No.1, P39
〜47, 1992年1月)。Further, when reproducing a document in which characters / dots / photos are mixed, halftone dot area detection utilizing peak information of halftone dot dots and edge area detection utilizing continuity of black and white images. An algorithm that separates a character area from a picture area by combining the two is known ("Image area separation method for mixed text / picture (halftone dot, photograph) image", IEICE Transactions D −II Vol.J75-D-II No.1, P39
~ 47, January 1992).
【0005】[0005]
【発明が解決しようとする課題】上記従来技術は、いず
れも、混在画像に対して各ブロックを文字領域、網点領
域及び写真領域のいずれかに振り分ける方式であり、従
って各振り分けられた領域に好適な画像再生処理が施さ
れ、品質の高い再生画像を提供し得るものであるが、全
ての領域を一律に上記3種類の内のいずれかに振り分け
るものであるため、振り分け条件が緩和されることは否
めず、このため、異なる種類の領域との境界での再生画
像に歪が発生したり、また、画像取込中に発生したノイ
ズ等により、あるいは振り分け処理時の誤判定等が原因
して、同一種類で囲まれた領域内に散点的に異種の領域
が誤って孤立的に生じたりするという虞れがあり、常に
高画質を提供することは困難である。The above-mentioned prior arts are all methods of allocating each block to a character area, a halftone dot area, or a photographic area in a mixed image, and therefore, to each of the allocated areas. Although suitable image reproduction processing is performed and a reproduced image of high quality can be provided, since all areas are uniformly distributed to any one of the above-mentioned three types, the distribution condition is relaxed. It cannot be denied that, because of this, distortion occurs in the reproduced image at the boundary between different types of areas, noise caused during image capture, or erroneous determination during sorting processing. Therefore, there is a risk that different types of regions may be accidentally isolated in a region surrounded by the same type, and it is difficult to always provide high image quality.
【0006】本発明は、上記に鑑みてなされたもので、
文字、網点、写真が混在する原画像を所定のブロック毎
に文字領域、網点領域、写真領域及び上記いずれの領域
にも属さない中間領域に振り分けるとともに、この中間
領域を近隣のブロックの領域種別に応じて細分類するこ
とで、異種画像の境界での画像歪の発生を防ぎ乃至は同
種画像内の孤立誤りを修正して高品質の画像の再生を可
能にする混在画像処理装置を提供することを目的とす
る。The present invention has been made in view of the above,
The original image in which characters, halftone dots, and photographs are mixed is assigned to each predetermined block as a character region, a halftone dot region, a photograph region, and an intermediate region that does not belong to any of the above regions, and this intermediate region is a region of neighboring blocks. Provide a mixed image processing device capable of preventing image distortion at the boundary of different types of images or correcting isolated errors in images of the same type to reproduce high-quality images by finely classifying according to types The purpose is to do.
【0007】[0007]
【課題を解決するための手段】本発明は、分類された画
像の種類に応じたディザマトリクスを用いて混在画像処
理を施す混在画像処理装置であって、文字、網点、写真
が混在する原画像を画素単位で取り込む画像入力部と、
入力画像に対してi行×j列(i,jはいずれも2以上
の整数)画素のブロック毎に文字領域、網点領域、写真
領域及び上記いずれの領域にも分類されない中間領域に
振り分ける分類手段と、上記中間領域を行方向と列方向
のいずれか一方の方向に対して近隣のブロックの領域種
別に応じて細分類する細分類手段とを備えたものである
(請求項1)。SUMMARY OF THE INVENTION The present invention is a mixed image processing apparatus for performing mixed image processing using a dither matrix corresponding to the type of classified images, and is an original in which characters, halftone dots, and photographs are mixed. An image input unit that captures images in pixel units,
Classification of the input image for each block of i rows x j columns (i and j are integers of 2 or more) pixels into a character area, a halftone dot area, a photograph area, and an intermediate area that is not classified into any of the above areas. And a sub-classifying means for sub-classifying the intermediate area in either the row direction or the column direction according to the area type of a neighboring block (claim 1).
【0008】また、上記細分類手段は、両隣りとなるブ
ロックの領域種別に応じて細分類を行うものである(請
求項2)。Further, the sub-classification means performs sub-classification according to the area types of the blocks that are adjacent to each other (claim 2).
【0009】また、上記細分類手段は、両隣りとなるブ
ロックの領域種別が同種の場合には当該ブロックの種別
と同一の種別に分類するものである(請求項3)。Further, the sub-classifying means classifies into the same type as the type of the block when the area types of the blocks adjacent to each other are the same type (claim 3).
【0010】また、本発明は、両隣りとなるブロックが
網点領域と写真領域である中間領域に対しては、i行×
j列のディザマトリクスを適用するディザマトリクス処
理手段を備えたものである(請求項4)。Further, according to the present invention, for the intermediate area where the blocks on both sides are the halftone dot area and the photograph area, i rows ×
A dither matrix processing means for applying a j-column dither matrix is provided (claim 4).
【0011】また、本発明は、両隣りとなるブロックの
一方のみが文字領域である中間領域に対しては、両隣り
を結ぶ方向に上記i(またはj)より小さい整数kから
なるディザマトリクスを適用する小ディザマトリクス処
理手段を備えてなり(請求項5)、しかも、上記整数k
は1であってもよい(請求項6)。Further, according to the present invention, for an intermediate area in which only one of the blocks on both sides is a character area, a dither matrix consisting of an integer k smaller than the above i (or j) is connected in the direction connecting both sides. A small dither matrix processing means to be applied is provided (Claim 5), and the integer k.
May be 1 (claim 6).
【0012】[0012]
【作用】請求項1記載の発明によれば、文字、網点、写
真が混在する原画像が光学的読取手段等を介して画素単
位で取り込まれる。画素数N行×M列(N>>i,M>
>j)の入力画像に対してi行×j列(i,jはいずれ
も2以上の整数)画素のブロックの単位で領域振り分け
が行われる。すなわち、文字領域、網点領域、写真領域
及び上記いずれの領域にも属さない中間領域への振り分
けが行われ、更に、中間領域に対しては行方向と列方向
のいずれか一方の方向に対して近隣のブロックの領域種
別に応じて、近隣の画像と自然さのある連続性(画像歪
のない)を持たせるべく細分類される。そして、分類
(細分類も含む)された画像の種類に応じたディザマト
リクスが採用され、全体として親和性のある画像処理が
施される。According to the first aspect of the invention, the original image in which characters, halftone dots, and photographs are mixed is captured in pixel units via the optical reading means or the like. Number of pixels N rows x M columns (N >> i, M>
Areas are allocated to the input image of> j) in units of blocks of i rows × j columns (i and j are integers of 2 or more) pixels. That is, the character area, the halftone dot area, the photograph area, and the intermediate area that does not belong to any of the above areas are sorted, and further, for the intermediate area, either in the row direction or the column direction. According to the area type of the neighboring blocks, the images are subdivided so as to have a natural continuity (no image distortion) with the neighboring images. Then, a dither matrix corresponding to the type of the classified (including subclassified) images is adopted, and image processing with affinity is performed as a whole.
【0013】請求項2記載の発明によれば、細分類は行
方向と列方向のいずれか一方の方向に両隣りのブロック
の領域種別に応じて行われる。すなわち、両隣りのブロ
ックの領域種別が文字と文字、網点と網点、写真と写真
の場合、また、文字と網点、文字と写真、網点と写真で
ある場合の、計6種類の細分類が行われる。なお、少な
くとも両隣りのブロックが文字と網点、文字と写真、網
点と写真である場合についての中間領域種別を行ってお
けば異種画像に対して自然さのある連続性を有する画像
が再生される。According to the second aspect of the present invention, the sub-classification is performed according to the area type of the blocks which are adjacent to each other in either the row direction or the column direction. That is, when the area types of the blocks on both sides are character and character, halftone dot and halftone dot, photo and photo, and character and halftone dot, character and photo, halftone dot and photo, there are a total of six types. Subclassification is performed. It should be noted that if at least the blocks on both sides are characters and halftone dots, characters and photos, and halftone dots and photos, an intermediate area classification is performed to reproduce an image with natural continuity for different types of images. To be done.
【0014】請求項3記載の発明によれば、両隣りのブ
ロックの領域種別が同種の場合には当該ブロックの種別
と同一の種別に細分類され、孤立誤りが修正される。According to the third aspect of the invention, when the area types of the blocks on both sides are the same type, the blocks are sub-classified into the same type as the type of the block, and the isolated error is corrected.
【0015】請求項4記載の発明によれば、両隣りのブ
ロックが網点領域と写真領域とである中間領域に対して
は、i×jのディザマトリクスを適用するようにして網
点と写真との境界の親和性を図っている。According to the fourth aspect of the invention, the i × j dither matrix is applied to the intermediate area in which the blocks on both sides are the halftone area and the photographic area, and the halftone dot and the photographic area are applied. We are aiming for an affinity with the boundary with.
【0016】請求項5記載の発明によれば、両隣りのブ
ロックの一方のみが文字領域である中間領域に対して
は、両隣りを結ぶ方向に上記i(またはj)より小さい
整数kからなるディザマトリクスを適用するようにして
文字と網点との境界、あるいは文字と写真との境界の親
和性を図っている。例えばi,j=4の場合、k=2と
すると、2行×4列(両隣りが行方向の場合)、あるい
は4行×2列(両隣りが列方向の場合)のディザマトリ
クスを、それぞれ2個用いることとなる。According to the fifth aspect of the invention, for the intermediate area in which only one of the blocks on both sides is a character area, an integer k smaller than the above i (or j) is formed in the direction connecting both adjacent blocks. By applying a dither matrix, the boundary between the character and the halftone dot or the boundary between the character and the photograph is made compatible. For example, in the case of i, j = 4, if k = 2, a dither matrix of 2 rows × 4 columns (when both sides are in the row direction) or 4 rows × 2 columns (when both sides are in the column direction) is Two will be used for each.
【0017】請求項6記載の発明によれば、上記整数k
が1であるので、1行×j列をi個、あるいはi行×1
列のディザマトリクスをj個用いることとなる。According to the invention described in claim 6, the integer k is set.
Is 1, so i is 1 row × j column, or i row × 1
J column dither matrices will be used.
【0018】[0018]
【実施例】図1は、本発明に係る混在画像処理装置の全
体ブロック図である。1は原稿に文字、絵柄(網点、写
真)などが混在した、いわゆる混在原稿を読み取って記
憶する画像入力部で、画像読取手段11、画素メモリ1
2及び入力ラインバッファ13からなる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is an overall block diagram of a mixed image processing apparatus according to the present invention. Reference numeral 1 denotes an image input unit for reading and storing a so-called mixed document in which characters, patterns (dots, photographs), etc. are mixed in the document, and the image reading unit 11 and the pixel memory 1 are provided.
2 and an input line buffer 13.
【0019】画像読取手段11は、例えば光学的読取素
子が少なくともライン状あるいはマトリクス状に配列さ
れてなるイメージスキャナ等ならなり、原稿に対して相
対走査可能になされているものである。この入力部1
は、例えば400DPI(ドット/インチ)程度の分解
能を有するとともに、各画素を多値、例えば2のa乗
(a=2以上の整数、例えばa=8)レベルで読み取り
可能なものである。The image reading means 11 is, for example, an image scanner or the like in which optical reading elements are arranged in at least a line or a matrix, and is capable of relative scanning with respect to a document. This input section 1
Has a resolution of, for example, about 400 DPI (dots / inch), and is capable of reading each pixel at multiple levels, for example, at a power of 2 (a = 2 or more integer, for example, a = 8) level.
【0020】画素メモリ12は画像読取手段11で読み
取られた原稿画像の各画素データを記憶するもので、N
(行)×M(列)のアドレスを有する。この画素メモリ
12への画像データの書き込みは、制御回路2からの書
込アドレスにより、画像読取手段11の原稿走査に同期
して行われ、従って、原稿がそのままの状態で、画像の
みが電子化されて記憶されるようになっている。入力ラ
インバッファ13は画素メモリ12から出力されてくる
1行ずつの画素データを3行分蓄積し、この状態で3行
分の画素データを列方向に同期させて、後述のブロック
メモリ31及び領域別処理回路43へ出力するものであ
る。なお、画像入力部1としては、既に読み取られ、一
旦フロッピーディスク等の記録媒体に保管記憶されてい
る画像データを本装置の画素メモリ12に、あるいは入
力ラインバッファ13に出力可能にするようにしたもの
も含まれる。The pixel memory 12 stores each pixel data of the original image read by the image reading means 11, and N
It has an address of (row) × M (column). The writing of the image data to the pixel memory 12 is performed in synchronization with the scanning of the document by the image reading means 11 by the write address from the control circuit 2. Therefore, only the image is digitized with the document as it is. It is designed to be remembered. The input line buffer 13 stores the pixel data for each row output from the pixel memory 12 for three rows, and in this state, the pixel data for three rows is synchronized in the column direction, and the block memory 31 and the area described later are stored. It is output to the separate processing circuit 43. The image input unit 1 is adapted to output image data that has already been read and temporarily stored and stored in a recording medium such as a floppy disk to the pixel memory 12 of the present apparatus or to the input line buffer 13. Things are also included.
【0021】3は画像入力部1からの画素データに基づ
いて領域の振り分けを行う領域分類部で、ブロックメモ
リ31、濃度値演算回路32、エッジ量演算回路33、
変化量演算回路34、領域判定回路35、判定結果記憶
回路36及び中間領域再判定回路37から構成されてい
る。この領域分類部3により、後述するように文字領
域、網点領域、写真領域及びこれらのいずれにも属さな
い不定の中間領域への振り分けが行われる。このよう
に、中間領域を持たせることで、文字領域、網点領域及
び写真領域の各判定基準を厳格にすることが可能とな
り、分類誤りを低減することができる。Reference numeral 3 denotes an area classification unit for allocating areas based on pixel data from the image input unit 1, which includes a block memory 31, a density value calculation circuit 32, an edge amount calculation circuit 33,
The change amount calculation circuit 34, the area determination circuit 35, the determination result storage circuit 36, and the intermediate area redetermination circuit 37 are included. As will be described later, the area classification unit 3 sorts into a character area, a halftone dot area, a photographic area, and an indeterminate intermediate area that does not belong to any of these areas. In this way, by providing the intermediate area, it becomes possible to make each judgment criterion of the character area, the halftone dot area, and the photograph area strict, and it is possible to reduce the classification error.
【0022】ブロックメモリ31は入力ラインバッファ
13からの3行分の画素データを記憶するもので、3行
×3列のアドレスを有する。The block memory 31 stores the pixel data for three rows from the input line buffer 13 and has an address of 3 rows × 3 columns.
【0023】制御回路2は、上記画素メモリ12に対し
て画素データの書込アドレスの発生と読出アドレスの発
生の他、領域分類部3及び中間調処理部4に所要の動作
タイミング信号を出力するものである。The control circuit 2 generates a write address and a read address of pixel data to the pixel memory 12, and outputs a required operation timing signal to the area classification section 3 and the halftone processing section 4. It is a thing.
【0024】濃度値演算回路32、エッジ量演算回路3
3及び変化量演算回路34は領域分類のための所定の濃
度分布統計処理演算を施し、その演算結果を領域判定回
路35へ導くものである。領域判定回路35は入力され
た各回路32〜34からの演算結果に基づいて各ブロッ
クに対し文字領域、網点領域、写真領域及び中間領域へ
の振り分け判定を行うもので、判定結果は判定結果記憶
回路36に一時的に記憶される。中間領域再判定回路3
7は、上記領域判定回路35で中間領域として判定され
た領域に対して、更に細分類を施すためのものである。Concentration value calculation circuit 32, edge amount calculation circuit 3
3 and the change amount calculation circuit 34 perform a predetermined density distribution statistical processing calculation for area classification, and lead the calculation result to the area determination circuit 35. The area determination circuit 35 determines whether each block is divided into a character area, a halftone dot area, a photograph area, and an intermediate area based on the input calculation results from the respective circuits 32 to 34. The determination result is the determination result. It is temporarily stored in the storage circuit 36. Intermediate area re-determination circuit 3
Reference numeral 7 is for further subclassifying the area determined as the intermediate area by the area determination circuit 35.
【0025】以下、図2を用いて領域分類処理について
説明する。図2に示すように、画素メモリ12内には画
素データとして、S(1,1)〜S(N,M)が取り込
まれている。そして、分類は所定の大きさのブロック単
位で行われる。本実施例では、説明の便宜上、ブロック
として、正方形の3行×3列が採用されている。なお、
このブロックの大きさは、i行×i列(i=2以上の整
数、i<<N,M)が採用可能であり、例えばi=6と
かi=9であってもよい。iの値としては、使用するシ
ステムに敵したものを採用するのが好ましい。The area classification process will be described below with reference to FIG. As shown in FIG. 2, S (1,1) to S (N, M) are stored in the pixel memory 12 as pixel data. Then, the classification is performed in block units of a predetermined size. In this embodiment, for the sake of convenience of description, squares of 3 rows × 3 columns are adopted. In addition,
The size of this block can be i rows × i columns (i = 2 or more integer, i << N, M), and may be i = 6 or i = 9, for example. As the value of i, it is preferable to adopt a value suitable for the system used.
【0026】制御回路2は画素メモリ12内の画素デー
タSを入力ラインバッファ13を介して3行×3列分ず
つブロックメモリ31へ読み出すべく読出アドレスを発
生し、画素メモリ11に導く。例えば最初のブロックに
関して説明すると、ブロックメモリ31には、S(1,
1),S(1,2),S(1,3),S(2,1),S
(2,3),S(2,3),S(3,1),S(3,
2),S(3,3)なる画素データが取り込まれ、次
に、S(1,4),S(1,5),S(1,6),S
(2,4),S(2,5),S(2,6),S(3,
4),S(3,5),S(3,6)なる画素データが取
り込まれ、最後に、S(N−2,M−2),S(N−
2,M−1),S(N−2,M),S(N−1,M−
2),S(N−1,M−1),S(N−1,M),S
(N,M−2),S(N,M−1),S(N,M)なる
画素データが取り込まれる。但し、N,Mは3の倍数と
する。ブロックメモリ31は3×3の9個の画素データ
が入力される毎にこれを入力時と同じ順番で順次、濃度
値演算回路32、エッジ量演算回路33及び変化量演算
回路34に読み出す。そして、それぞれの回路32〜3
4で、後述の条件式に基づく濃度分布統計処理のための
演算が実行される。The control circuit 2 generates a read address for reading the pixel data S in the pixel memory 12 into the block memory 31 through the input line buffer 13 by 3 rows × 3 columns, and leads the read address to the pixel memory 11. For example, regarding the first block, the block memory 31 stores S (1,
1), S (1, 2), S (1, 3), S (2, 1), S
(2,3), S (2,3), S (3,1), S (3,3
2), pixel data of S (3, 3) are captured, and then S (1, 4), S (1, 5), S (1, 6), S
(2,4), S (2,5), S (2,6), S (3
4), S (3,5) and S (3,6) are taken in, and finally, S (N-2, M-2) and S (N-
2, M-1), S (N-2, M), S (N-1, M-)
2), S (N-1, M-1), S (N-1, M), S
Pixel data of (N, M-2), S (N, M-1), S (N, M) are captured. However, N and M are multiples of three. Every time 9 × 3 × 9 pieces of pixel data are input, the block memory 31 sequentially reads them out to the density value calculation circuit 32, the edge amount calculation circuit 33, and the change amount calculation circuit 34 in the same order as at the time of input. Then, the respective circuits 32 to 3
In 4, the calculation for the concentration distribution statistical processing based on the conditional expression described later is executed.
【0027】今、あるブロック内の画素S(n,m)に
対して、濃度最大値をMax、濃度最小値をMin、濃度の平
均値をZZと表わすとともに、濃度閾値としてTH1〜TH8の
8個の値を、判定閾値としてKH,KV,HL,LL,KDの4個
が準備されているものとする。Now, for a pixel S (n, m) in a certain block, the maximum density value is represented by Max, the minimum density value is represented by Min, the average density value is represented by ZZ, and a density threshold value of TH1 to TH8 is 8 It is assumed that four values KH, KV, HL, LL, and KD are prepared as the determination threshold values.
【0028】先ず、濃度値演算回路32、変化量演算回
路34により、 z+=S[n][m] …(1) の演算が実行されて、ブロック内の濃度が積算的に加算
される。次いで、 ZZ=z/n×m …(2) によりブロック内の濃度の平均値が算出される。一方、 MM=Max−Min …(3) により濃度変化量が算出され、領域判定回路35で、 if(MM>TH1) …(4) なる条件式(4)が実行される。条件を充足すると、後述
するようにエッジ量演算回路33による演算結果が利用
され、一方、条件を充足しなければ、濃度値演算回路3
2による演算結果が利用される。First, the density value calculation circuit 32 and the change amount calculation circuit 34 execute the calculation of z + = S [n] [m] (1) to cumulatively add the densities in the block. Next, the average value of the densities in the block is calculated by ZZ = z / n × m (2) On the other hand, the density change amount is calculated by MM = Max-Min (3), and the area determination circuit 35 executes the conditional expression (4) if (MM> TH1) (4). If the condition is satisfied, the calculation result by the edge amount calculation circuit 33 is used as described later, while if the condition is not satisfied, the density value calculation circuit 3 is used.
The calculation result of 2 is used.
【0029】エッジ量演算回路33は、先ず、領域内の
画素に対して、 if(abs(S[n][m]−S[n][m+1])>MM/TH2) …(5) を実行し、式(5)の条件を充足するときだけ、値Khに1
を積算的に加算し、 if(abs(S[n][m]−S[n+1][m])>MM/TH2) …(6) を実行し、式(6)の条件を充足するときだけ、値Kvに1
を積算的に加算する。The edge amount calculation circuit 33 first determines if (abs (S [n] [m] -S [n] [m + 1])> MM / TH2) (5) for the pixels in the area. ) Is executed and the value Kh is set to 1 only when the condition of Expression (5) is satisfied.
Is cumulatively added, and if (abs (S [n] [m] -S [n + 1] [m])> MM / TH2) ... (6) is executed, the condition of expression (6) is satisfied. Value Kv is 1 only when
Is cumulatively added.
【0030】また、 if(S[n][m]>TH3) …(7) を実行し、式(7)を充足するときだけ、値Hlに1を積算
的に加算して黒画素数を求めるとともに、 if(S[n][m]<TH4) …(8) を実行し、式(8)を充足するときだけ、値Llに1を積算
的に加算して白画素数を求め、更に Kd=abs(Kh−Kv) …(9) 求める。そして、領域判定回路35は上記式(5)〜(9)の
結果を用いて、 if(Kh>KH and Kv>KV and Kd>KD) …(10) を実行し、式(10)を充足すると網点領域と分類する。一
方、式(10)を充足しなければ、 if(Hl>HL or Ll>LL) …(11) を実行し、式(11)を充足すると線文として文字領域と分
類する。一方、式(11)を充足しなければ中間領域と分類
する。Further, if (S [n] [m]> TH3) (7) is executed, and only when the formula (7) is satisfied, 1 is cumulatively added to the value Hl to determine the number of black pixels. Along with the calculation, if (S [n] [m] <TH4) (8) is executed, and only when the formula (8) is satisfied, 1 is cumulatively added to the value Ll to obtain the number of white pixels, Further, Kd = abs (Kh-Kv) (9) is calculated. Then, the area determination circuit 35 executes if (Kh> KH and Kv> KV and Kd> KD) (10) using the results of the above equations (5) to (9) to satisfy the equation (10). Then, it is classified as a halftone dot area. On the other hand, if expression (10) is not satisfied, if (Hl> HL or Ll> LL) (11) is executed, and if expression (11) is satisfied, it is classified as a character area as a line sentence. On the other hand, if the formula (11) is not satisfied, it is classified as the intermediate region.
【0031】一方、濃度値演算回路32で求められた濃
度最大値Max、平均値ZZを用いて、 if(Max>TH6 and ZZ>TH7) …(12) を実行し、式(12)を充足すると黒文として文字領域と分
類する。一方、式(12)を充足しなければ、 if(ZZ<TH8) …(13) を実行し、式(13)を充足すると白文として文字領域と分
類する。そして、式(13)も充足しなければ写真領域
と分類する。Meanwhile, if (Max> TH6 and ZZ> TH7) (12) is executed using the density maximum value Max and the average value ZZ obtained by the density value calculation circuit 32, the expression (12) is satisfied. Then, the text area is classified as a black text. On the other hand, if expression (12) is not satisfied, if (ZZ <TH8) (13) is executed, and if expression (13) is satisfied, it is classified as a white area as a character area. Then, if the expression (13) is not satisfied, it is classified as a photograph area.
【0032】このようにして、領域判定回路35は各ブ
ロックに対し、順次、その領域種別の分類を行い、その
結果が判定結果記憶回路36に取り込まれる。なお、文
字領域を線文、黒文、白文のように振り分けたので、同
じ文字領域であっても、それぞれの種類に対して好適な
閾値が設定された再生用ディザマトリクスを適用するこ
とが可能となり、それぞれの特質に合った画像再生が可
能となる。In this way, the area determination circuit 35 sequentially classifies each block into the area type, and the result is stored in the determination result storage circuit 36. In addition, since the character areas are divided into line sentences, black sentences, and white sentences, it is possible to apply a reproduction dither matrix having a suitable threshold value for each type, even in the same character region. Therefore, it is possible to reproduce an image that matches each characteristic.
【0033】また、中間領域と分類されたブロックにつ
いては、中間領域判定回路37により、更に細分類のた
めの条件式が実行される。すなわち、中間領域判定回路
37は、領域判定回路35で判定された領域種別の内、
中間領域と分類されたブロックに対して、孤立点の除去
処理と境界領域処理とを施す。孤立点除去処理は、k番
目のブロックの分類種別をB(k)で表わすとき、 if(B(k)=中間領域) and if(B(k-1)=B(k+1)) then(B(k)=B(k-1)) …(14) により行う。但し、k番目の両隣りとなるk-1番目とk+1
番目とは、この実施例では列方向である。従って、中間
領域再判定回路37には、判定結果記憶回路36から少
なくともk番目の両隣りとなるk-1番目とk+1番目の判定
結果が同時的に導かれている。なお、中間領域の種別判
定をk-1番目とk+1番目以外の、例えば更にその両外側の
ブロックk-2番目とk+2番目の判定結果も加味してより精
度向上を図る場合には、それらの判定結果も同時的に中
間領域再判定回路37に導かれるようになっている。For the blocks classified as the intermediate area, the intermediate area determination circuit 37 executes a conditional expression for further classification. That is, the intermediate area determination circuit 37 determines whether the area type determined by the area determination circuit 35
The block classified as the intermediate region is subjected to isolated point removal processing and boundary area processing. In the isolated point removal processing, when the classification type of the k-th block is represented by B (k), if (B (k) = intermediate region) and if (B (k-1) = B (k + 1)) then (B (k) = B (k-1))… (14). However, k-1 and k + 1 that are on both sides of kth
The number is the column direction in this embodiment. Therefore, the intermediate region re-determination circuit 37 is simultaneously guided from the determination result storage circuit 36 at least the k-th and k + 1-th adjacent k-1 and k + 1-th determination results. In addition, when the type determination of the intermediate area is other than the k-1th and k + 1th, for example, when further improving the accuracy by considering the determination results of the blocks k-2th and k + 2nd on both sides thereof, Are also guided to the intermediate area re-determination circuit 37 at the same time.
【0034】また、境界領域処理は式(14)を充足しない
とき、B(k-1)とB(k+1)の種類によって以下のように再分
類する。すなわち、B(k-1):B(k+1)が、文字:網点(以
下、文/網という)の場合、網点:写真(以下、網/写
という)の場合、写真:文字(以下、写/文という)の
場合である。なお、ブロックk-2番目とk+2番目の判定結
果を加味すると、上記孤立誤りの修正の場合と同様に精
度向上が図れる。When the boundary region processing does not satisfy the equation (14), it is reclassified as follows according to the types of B (k-1) and B (k + 1). That is, if B (k-1): B (k + 1) is character: halftone dot (hereinafter referred to as sentence / halftone), halftone dot: photograph (hereinafter referred to as halftone / copy), photograph: character This is the case (hereinafter referred to as a copy / sentence). When the determination results of the k-2nd block and the k + 2nd block are taken into consideration, the accuracy can be improved as in the case of the correction of the isolated error.
【0035】なお、本実施例にように、列方向のブロッ
クに対して中間領域判定を行うものでは、領域判定回路
35がB(1),……,B(M/3)だけ判定処理を実行した時点
で、中間領域再判定回路37による再判定処理が開始さ
れるようにしてある。あるいは、中間領域の再判定に必
要な列方向後方の隣接ブロックの領域判定が終了した時
点で、逐次中間領域判定を行うようにすれば、処理速度
の高速化を図ることもできる。In the case of performing the intermediate area determination for the blocks in the column direction as in the present embodiment, the area determination circuit 35 performs the determination processing only for B (1), ..., B (M / 3). The re-determination process by the intermediate area re-determination circuit 37 is started at the time of execution. Alternatively, the processing speed can be increased by sequentially performing the intermediate area determination at the time when the area determination of the adjacent block in the column direction, which is necessary for re-determining the intermediate area, is completed.
【0036】図3は、領域種別の判定動作を説明するフ
ローチャートである。先ず、判定対象のブロックの画素
データがブロックメモリ31に取り込まれ、演算回路3
2〜34によって濃度分布統計処理(式(1)〜式(13))
が施される(ステップS2,S4)。この処理に基づい
て領域判定が行われ(ステップS6)、文字領域、網点
領域、写真領域及びその他の中間領域にそれぞれ分類さ
れて、判定結果記憶回路36に記憶される(ステップS
8〜S14)。次いで、中間領域に分類されたブロック
に対しては、更に中間領域再判定回路37により列方向
の周辺ブロックの領域種別に応じて文/網領域、網/写領
域、写/文領域、あるいは孤立点再処理かの細分類が施
される(ステップS16,S18)。そして、文/網領
域、網/写領域あるいは写/文領と判定され(ステップS
20〜S24)、また、孤立点再処理であれば上記式(1
4)が実行される(ステップS26)。FIG. 3 is a flow chart for explaining the area type determination operation. First, the pixel data of the block to be determined is loaded into the block memory 31, and the arithmetic circuit 3
Statistical processing of concentration distribution according to 2-34 (formula (1) -formula (13))
Is performed (steps S2 and S4). Region determination is performed based on this processing (step S6), and the regions are classified into a character region, a halftone dot region, a photograph region, and other intermediate regions, and stored in the determination result storage circuit 36 (step S).
8 to S14). Next, for the blocks classified into the intermediate area, the intermediate area re-determination circuit 37 further determines the sentence / mesh area, halftone / copy area, copy / sentence area, or isolated area according to the area type of the peripheral block in the column direction. A subclassification of point reprocessing is performed (steps S16 and S18). Then, it is determined as a sentence / halftone area, halftone / copy area or copy / text area (step S
20 to S24), and if it is an isolated point reprocessing, the above equation (1
4) is executed (step S26).
【0037】また、中間領域種別を、その行方向に隣接
するブロックとの関係で判定する場合には、原稿の全ブ
ロックに対して領域判定回路35の判定処理が終了した
後に行うようにすればよい。この場合、後述するように
画像再生は列方向に行われるから、中間領域種別を含め
た判定結果を一時的に保存するメモリが必要となる。こ
のためのメモリとしては、上記判定結果記憶回路36に
相当するものを用い、再生時にそこから直接、中間調処
理部4へ順次列方向に各ブロックの判定結果を出力すれ
ばよい。Further, when the intermediate area type is determined based on the relationship with the blocks adjacent in the row direction, it may be performed after the determination processing of the area determination circuit 35 is completed for all the blocks of the document. Good. In this case, since the image reproduction is performed in the column direction as described later, a memory for temporarily storing the determination result including the intermediate area type is required. As a memory for this purpose, a memory corresponding to the judgment result storage circuit 36 may be used, and the judgment result of each block may be directly output from the judgment result storage circuit 36 to the halftone processing unit 4 in the column direction in sequence.
【0038】この場合の領域種別の判定動作を図4のフ
ローチャートを用いて説明する。The operation for determining the area type in this case will be described with reference to the flowchart of FIG.
【0039】先ず、判定対象のブロックの画素データが
ブロックメモリ31に取り込まれ、演算回路32〜34
によって、濃度分布統計処理(式(1)〜式(13))が施さ
れる(ステップS32,S34)。この処理に基づいて
領域判定が行われ(ステップS36)、文字領域、網点
領域、写真領域及びその他の中間領域にそれぞれ分類さ
れて、判定結果記憶回路36に記憶される(ステップS
38〜S44)。次いで、中間領域に分類されたブロッ
クに対しては、更に中間領域再判定回路37により行方
向の周辺ブロックの領域種別に応じて文/網領域、網/写
領域、写/文領域、あるいは孤立点再処理かの細分類が
施される(ステップS46,S48)。そして、文/網
領域、網/写領域あるいは写/文領と判定され(ステップ
S50〜S54)、また、孤立点再処理であれば上記式
(14)を行方向に置き換えて実行される(ステップS5
6)。First, the pixel data of the block to be judged is fetched into the block memory 31, and the arithmetic circuits 32 to 34.
Thus, the concentration distribution statistical processing (Equations (1) to (13)) is performed (steps S32 and S34). Region determination is performed based on this processing (step S36), and the regions are classified into a character region, a halftone dot region, a photograph region, and other intermediate regions, and stored in the determination result storage circuit 36 (step S36).
38-S44). Next, for the blocks classified into the intermediate area, the intermediate area re-determination circuit 37 further determines, depending on the area type of the peripheral block in the row direction, the sentence / halftone area, halftone / copy area, copy / sentence area, or isolated area. A subclassification of point reprocessing is performed (steps S46 and S48). Then, it is determined to be a sentence / halftone area, halftone / copy area or copy / text area (steps S50 to S54), and if it is an isolated point reprocessing, the above formula
It is executed by replacing (14) in the row direction (step S5).
6).
【0040】中間調処理部4は領域別処理パターン発生
回路41、処理パターン選択器42及び領域別処理回路
43からなる。The halftone processing section 4 comprises an area-specific processing pattern generating circuit 41, a processing pattern selector 42 and an area-specific processing circuit 43.
【0041】領域別処理パターン発生回路41は、文
字、網点、写真領域のための各パターンの他、中間領域
のための文/網、網/写、写/文の各パターンが所定の
ディザマトリクスの形式で予め書き込まれてなるパター
ンROMと、各パターンのディザマトリクスを構成する
各ドットに対して付与された濃度を決定するための閾値
を記憶する閾値ROMを有してなり、処理パターン選択
器42によって選択されたディザマトリクスのパターン
とこれに該当する閾値データとを出力するものである。The area-specific processing pattern generation circuit 41 uses predetermined dither patterns for each pattern for characters, halftone dots, and photographic areas, and for sentence / mesh, halftone / copy, and copy / sentence for intermediate areas. It has a pattern ROM pre-written in the form of a matrix and a threshold ROM for storing a threshold value for determining the density given to each dot forming the dither matrix of each pattern. The pattern of the dither matrix selected by the device 42 and the threshold data corresponding thereto are output.
【0042】上記各パターンは、文字領域に対しては1
×1のディザマトリクスで、網点、写真領域に対しては
3×3のディザマトリクスで構成されており、また、文
/網、写/文の各領域に対しては3×1のディザマトリ
クスで、網/写領域に対しては3×3のディザマトリク
スで構成されている。Each of the above patterns is 1 for the character area.
It is a dither matrix of × 1 and is composed of a 3 × 3 dither matrix for halftone dots and photo areas, and a 3 × 1 dither matrix for each area of sentence / mesh and copy / sentence. Thus, the halftone / image area is composed of a 3 × 3 dither matrix.
【0043】文/網、写/文の各領域を3×1のディザ
マトリクスのパターンとしたのは、両隣りの一方が文字
領域であり、この文字領域を網点領域や写真領域と親和
させるためには、3×1のディザマトリクスで階調処理
を図るとともに、これを3列分出力させることで領域の
境界を不自然さなく連続させることができることを考慮
したことによる。The sentence / mesh and copy / sentence areas are defined as a 3 × 1 dither matrix pattern. One of the two adjacent areas is a character area, and this character area is made compatible with the halftone dot area and the photograph area. In order to do so, it is considered that the boundary between regions can be made continuous without unnaturalness by performing gradation processing with a 3 × 1 dither matrix and outputting this for three columns.
【0044】図5、図6は、中間処理のパターンを示す
ものである。図5は列方向に対して親和させる場合で、
(a)は両隣りが文字領域と網点領域の場合の3×1の
文/網パターン、(b)は両隣りが網点領域と写真領域
の場合の3×3の網/写パターン、(c)は両隣りが写
真領域と文字領域の場合の3×1の写/文パターンを示
している。図6は行方向に親和させる場合で、(a)は
両隣りが文字領域と網点領域の場合の1×3の文/網パ
ターン、(b)は両隣りが網点領域と写真領域の場合の
3×3の網/写パターン、(c)は両隣りが写真領域と
文字領域の場合の1×3の写/文パターンを示してい
る。5 and 6 show intermediate processing patterns. FIG. 5 shows a case where the columns are aligned with each other.
(A) is a 3 × 1 sentence / halftone pattern when both sides are a text area and a halftone area, and (b) is a 3 × 3 halftone / printing pattern when both sides are a halftone area and a photographic area. (C) shows a 3 × 1 copy / sentence pattern when both sides are a photograph area and a character area. 6A and 6B show a case where the lines are aligned with each other, where FIG. 6A shows a 1 × 3 sentence / halftone pattern when both sides are a text area and a halftone area, and FIG. In the case of 3 * 3 halftone / printing pattern, (c) shows a 1 * 3 copy / sentence pattern when both sides are a photograph area and a character area.
【0045】なお、ディザマトリクスを構成する各ドッ
トの閾値が1個の場合、例えば256の濃度階調に対し
て値128と設定されているとすると、入力ラインバッ
ファ13からの画素データの入力濃度が128以上であ
れば黒として出力し、127以下であれば白として出力
することとなる。一方、この閾値は複数個設定されてい
てもよく、この場合には入力濃度と各閾値との大小論理
によって、それぞれ該当する濃度値が対応するドットに
取り込まれ、その閾値の数に応じた数の濃度階調信号を
各ドットに対して出力可能なレーザ等の出力手段を用い
て出力させればよい。If the threshold value of each dot forming the dither matrix is 1, and the value 128 is set for 256 density gradations, the input density of the pixel data from the input line buffer 13 is assumed. Is 128 or more, it is output as black, and 127 or less is output as white. On the other hand, a plurality of thresholds may be set, and in this case, the corresponding density value is captured in the corresponding dot by the magnitude logic of the input density and each threshold, and the number corresponding to the number of thresholds is taken. The density gradation signal may be output to each dot by using an output device such as a laser.
【0046】領域別処理回路43は、入力ラインバッフ
ァ13から3行×3列ずつ出力される画素データに対し
て、判定された領域種別に応じて領域別処理パターン発
生回路41から選択して出力されたパターンで置き換え
を行うものである。例えば3行×3列の画素データが文
字領域のものであれば、文字領域のための1×1のディ
ザマトリクスが閾値とともに出力され、9個の画素デー
タの各濃度値と対応比較されて2値、あるいは多値のデ
ータに置き換えられる。3行×3列の画素データが網
点、あるいは写真領域のものであれば、網点、あるいは
写真領域のための3×3のディザマトリクスが各ドット
の閾値とともに出力され、9個の画素データのそれぞれ
とドット毎に濃度値を比較されて2値、あるいは多値の
データに置き換えられる。また、3行×3列の画素デー
タが、ある中間領域のものであれば、該当する中間領域
のための3×1のディザマトリクス(文/網、写/文領
域の場合)が3回、あるいは3×3のディザマトリクス
(網/写領域の場合)が1回、各ドットの閾値とともに
出力され、9個の画素データのそれぞれとディザマトリ
クス単位で、ドット毎に濃度値を比較されて2値、ある
いは多値(閾値が複数個設定されている場合)のデータ
に置き換えられる。なお、行方向で中間領域の種別を判
定する場合には、図5に対する図6のように、上記3×
1のディザマトリクスは1×3のディザマトリクスとな
る。The region-specific processing circuit 43 selects the pixel data output from the input line buffer 13 in units of 3 rows × 3 columns from the region-based processing pattern generation circuit 41 according to the determined region type and outputs the selected pixel data. The replacement is performed with the pattern. For example, if the pixel data of 3 rows × 3 columns is for the character area, the 1 × 1 dither matrix for the character area is output together with the threshold value, and the density values of the 9 pixel data are compared and compared. Replaced by multi-valued data. If the pixel data of 3 rows × 3 columns is a halftone dot or a photograph area, a 3 × 3 dither matrix for the halftone dot or photograph area is output together with the threshold value of each dot, and 9 pixel data And the density value for each dot is compared and replaced with binary or multi-valued data. Further, if the pixel data of 3 rows × 3 columns is for a certain intermediate area, the 3 × 1 dither matrix (in the case of sentence / mesh, copy / sentence area) for the corresponding intermediate area is three times, Alternatively, a 3 × 3 dither matrix (in case of halftone / image area) is output once together with the threshold value of each dot, and the density value is compared for each dot in units of dither matrix with each of the 9 pixel data, and then 2 Value or multivalued (when multiple thresholds are set) data is replaced. When determining the type of the intermediate area in the row direction, as shown in FIG.
The 1 dither matrix is a 1 × 3 dither matrix.
【0047】画像出力部5は再生用の画像に置き換えら
れた画像をハードコピー等させるためのもので、出力ラ
インバッファ51と画像出力手段52とからなる。出力
ラインバッファ51は3×3ずつで置き換えられた画素
データを列方向分だけ一時的に記憶するもので、出力側
には1行分ずつの画素データを列方向に順次シリアルに
出力するようになされている。画像出力手段52は、レ
ーザ発光素子と面走査用のポリゴンミラーから構成され
ており、ラインバッファ51から出力される1行分の画
素データを所定電位に帯電されている感光体に時系列的
に出力し、この感光体面上に再生画像としての静電潜像
を形成するものである。なお、この静電潜像は、図略の
給紙手段により静電潜像の形成動作と同期して給送され
る転写紙に転写されることでハードコピーが得られるよ
うになされている。The image output section 5 is for making a hard copy of the image replaced with the image for reproduction, and comprises an output line buffer 51 and an image output means 52. The output line buffer 51 temporarily stores the pixel data replaced by 3 × 3 for each column direction, and the pixel data for each row is sequentially output serially in the column direction on the output side. Has been done. The image output unit 52 is composed of a laser light emitting element and a polygon mirror for surface scanning, and the pixel data for one row output from the line buffer 51 is time-sequentially applied to the photoconductor charged to a predetermined potential. The image is output and an electrostatic latent image as a reproduced image is formed on the surface of the photoconductor. The electrostatic latent image is transferred to a transfer sheet fed in synchronism with the electrostatic latent image forming operation by a sheet feeding means (not shown) so that a hard copy can be obtained.
【0048】なお、本実施例では、ブロックをi行×i
列の正方形状としたが、これに限定されず、i行×j列
の長方形状としたものでもよい。そして、そのブロック
形状に応じて中間領域のディザマトリクスのパターンを
設定すればよい。In this embodiment, the block is i rows × i.
Although the column has a square shape, the present invention is not limited to this, and may have a rectangular shape of i rows × j columns. Then, the pattern of the dither matrix in the intermediate area may be set according to the block shape.
【0049】[0049]
【発明の効果】請求項1記載の本発明によれば、入力画
像に対してi行×j列のブロック毎に文字領域、網点領
域、写真領域及び上記いずれの領域にも該当しない中間
領域に振り分ける分類手段と、更に、上記中間領域を行
方向と列方向のいずれか一方の方向に対して近隣のブロ
ックの領域種別に応じて細分類する細分類手段とを備え
たので、近隣ブロックの画像と自然な連続性を有する画
像歪のない画像が再生でき、全体として親和性のある高
品質の画像再生が可能となる。According to the present invention described in claim 1, a character area, a halftone dot area, a photograph area and an intermediate area which does not correspond to any of the above areas for each block of i rows × j columns with respect to an input image. And a sub-classification means for sub-classifying the intermediate area according to the area type of a neighboring block in one of the row direction and the column direction. It is possible to reproduce an image having natural continuity with the image and having no image distortion, and it is possible to reproduce a high-quality image having affinity as a whole.
【0050】請求項2記載の発明によれば、両隣りのブ
ロックの領域種別に応じて細分類を行うようにすれば、
細分類手段の構成が簡素化可能となる。According to the second aspect of the invention, if the sub-classification is performed according to the area type of the blocks on both sides,
The configuration of the fine classification means can be simplified.
【0051】請求項3記載の発明によれば、両隣りのブ
ロックの領域種別が同種の場合には当該ブロックの種別
と同一の種別に分類するので、孤立誤りを修正でき、孤
立点を除去し得る。According to the third aspect of the present invention, when the area types of the blocks on both sides are the same type, the blocks are classified into the same type as the block type. Therefore, the isolated error can be corrected and the isolated points can be removed. obtain.
【0052】請求項4記載の発明によれば、両隣りのブ
ロックが網点領域と写真領域とである中間領域に対して
は、i×jのディザマトリクスを適用するディザマトリ
クス処理手段を備えたので、網点と写真との境界の親和
性を好適に図れる。According to the fourth aspect of the invention, the dither matrix processing means for applying the i × j dither matrix to the intermediate area in which the blocks on both sides are the halftone dot area and the photographic area is provided. Therefore, the affinity of the boundary between the halftone dot and the photograph can be suitably achieved.
【0053】請求項5記載の発明によれば、両隣りのブ
ロックの一方のみが文字領域である中間領域に対して
は、両隣りを結ぶ方向に上記i(またはj)より小さい
整数kからなるディザマトリクスを適用する小ディザマ
トリクス処理手段を備えたので、文字と網点との境界、
あるいは文字と写真との境界の親和性を好適に図れる。According to the fifth aspect of the invention, for the intermediate area in which only one of the blocks on both sides is a character area, an integer k smaller than the above i (or j) is formed in the direction connecting both sides. Since the small dither matrix processing means for applying the dither matrix is provided, the boundary between the character and the halftone dot,
Alternatively, the affinity of the boundary between the character and the photograph can be suitably achieved.
【0054】請求項6記載の発明によれば、両隣りのブ
ロックの一方のみが文字領域である中間領域に対して
は、ディザマトリクスを1行(あるいは1列)にしたの
で、文字との親和性が一層図れる。According to the sixth aspect of the invention, the dither matrix has one row (or one column) for the intermediate area in which only one of the blocks on both sides is the character area. The sex can be further enhanced.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明に係る混在画像処理装置の全体ブロック
図である。FIG. 1 is an overall block diagram of a mixed image processing apparatus according to the present invention.
【図2】画素メモリ内の画素データS(1,1)〜S
(N,M)とアドレスとの関係を示す図である。FIG. 2 is pixel data S (1,1) to S in a pixel memory.
It is a figure which shows the relationship between (N, M) and an address.
【図3】領域種別の列方向に対する判定動作を説明する
フローチャートである。FIG. 3 is a flowchart illustrating an operation of determining a region type in a column direction.
【図4】領域種別の行方向に対する判定動作を説明する
フローチャートである。FIG. 4 is a flowchart illustrating an operation of determining a region type in a row direction.
【図5】列方向に対して親和させる場合の中間領域のパ
ターン図で、(a)は両隣りが文字領域と網点領域の場
合の3×1の文/網パターン、(b)は両隣りが網点領
域と写真領域の場合の3×3の網/写パターン、(c)
は両隣りが写真領域と文字領域の場合の3×1の写/文
パターンを示している。5A and 5B are pattern diagrams of an intermediate area in the case of making them compatible with each other in the column direction. FIG. 5A is a 3 × 1 sentence / halftone pattern when both sides are a character area and a halftone area, and FIG. 3 × 3 halftone / printing pattern when adjacent to halftone dot area and photo area, (c)
Shows a 3 × 1 copy / sentence pattern when both sides are a photograph area and a character area.
【図6】行方向に親和させる場合の中間領域のパターン
図で、(a)は両隣りが文字領域と網点領域の場合の1
×3の文/網パターン、(b)は両隣りが網点領域と写
真領域の場合の3×3の網/写パターン、(c)は両隣
りが写真領域と文字領域の場合の1×3の写/文パター
ンを示している。FIG. 6 is a pattern diagram of an intermediate area in the case of matching in the row direction, (a) shows 1 when both sides are a character area and a halftone dot area.
3 × 3 sentence / mesh pattern, (b) 3 × 3 mesh / copy pattern when both sides are a dot area and a photo area, (c) 1 × when both sides are a photo area and a character area 3 shows a copy / sentence pattern of No. 3.
1 画像入力部 11 画像取込手段 12 画素メモリ 13 入力ラインバッファ 2 制御回路 3 領域分類部 31 ブロックメモリ 32 濃度値演算回路 33 エッジ量演算回路 34 変化量演算回路 35 領域判定回路 36 判定結果記憶回路 37 中間領域再判定回路 4 中間調処理部 41 領域別処理パターン発生回路 42 処理パターン選択器 43 領域別処理回路 5 画像出力部 51 出力ラインバッファ 52 画像出力手段 DESCRIPTION OF SYMBOLS 1 image input section 11 image capturing means 12 pixel memory 13 input line buffer 2 control circuit 3 area classification section 31 block memory 32 density value calculation circuit 33 edge amount calculation circuit 34 change amount calculation circuit 35 area determination circuit 36 determination result storage circuit 37 Intermediate Area Re-Determination Circuit 4 Halftone Processing Section 41 Area-Specific Processing Pattern Generation Circuit 42 Processing Pattern Selector 43 Area-Specific Processing Circuit 5 Image Output Section 51 Output Line Buffer 52 Image Output Means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 7459−5L G06F 15/70 330 E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location 7459-5L G06F 15/70 330 E
Claims (6)
トリクスを用いて混在画像処理を施す混在画像処理装置
であって、文字、網点、写真が混在する原画像を画素単
位で取り込む画像入力部と、入力画像に対してi行×j
列(i,jはいずれも2以上の整数)画素のブロック毎
に文字領域、網点領域、写真領域及び上記いずれの領域
にも分類されない中間領域に振り分ける分類手段と、上
記中間領域を行方向と列方向のいずれか一方の方向に対
して近隣のブロックの領域種別に応じて細分類する細分
類手段とを備えたことを特徴とする混在画像処理装置。1. A mixed image processing apparatus for performing mixed image processing using a dither matrix according to the type of classified images, which is an image input for fetching an original image in which characters, halftone dots, and photographs are mixed in pixel units. Parts and i rows xj for the input image
Classification means for allocating each block of pixels of column (i and j are integers of 2 or more) to a character area, a halftone dot area, a photograph area and an intermediate area not classified into any of the above areas, and the intermediate area in the row direction. And a sub-classification unit for sub-classifying according to the area type of a neighboring block in one of the column direction and the column direction.
クの領域種別に応じて細分類を行うものであることを特
徴とする請求項1記載の混在画像処理装置。2. The mixed image processing apparatus according to claim 1, wherein the sub-classification unit performs sub-classification in accordance with the area types of blocks that are adjacent to each other.
クの領域種別が同種の場合には当該ブロックの種別と同
一の種別に分類するものであることを特徴とする請求項
1又は2記載の混在画像処理装置。3. The subclassifying means, when the area types of the blocks that are adjacent to each other are of the same type, classifies the blocks into the same type as the type of the block. Mixed image processing device.
像処理装置において、両隣りとなるブロックが網点領域
と写真領域である中間領域に対しては、i行×j列のデ
ィザマトリクスを適用するディザマトリクス処理手段を
備えたことを特徴とする混在画像処理装置。4. The mixed image processing apparatus according to claim 1, wherein the blocks adjacent to each other are an i-row × j-column dither for an intermediate area in which a halftone dot area and a photographic area are present. A mixed image processing apparatus comprising a dither matrix processing means for applying a matrix.
像処理装置において、両隣りとなるブロックの一方のみ
が文字領域である中間領域に対しては、両隣りを結ぶ方
向に上記i(またはj)より小さい整数kからなるディ
ザマトリクスを適用する小ディザマトリクス処理手段を
備えたことを特徴とする混在画像処理装置。5. The mixed image processing apparatus according to any one of claims 1 to 4, wherein, for an intermediate area in which only one of both adjacent blocks is a character area, the i in the direction connecting both adjacent (Or j) A mixed image processing device comprising a small dither matrix processing means for applying a dither matrix having an integer k smaller than (or j).
請求項5記載の混在画像処理装置。6. The mixed image processing apparatus according to claim 5, wherein the integer k is 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP04684594A JP3188804B2 (en) | 1994-01-27 | 1994-03-17 | Mixed image processing device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP745394 | 1994-01-27 | ||
JP6-7453 | 1994-01-27 | ||
JP04684594A JP3188804B2 (en) | 1994-01-27 | 1994-03-17 | Mixed image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07254982A true JPH07254982A (en) | 1995-10-03 |
JP3188804B2 JP3188804B2 (en) | 2001-07-16 |
Family
ID=26341750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP04684594A Expired - Fee Related JP3188804B2 (en) | 1994-01-27 | 1994-03-17 | Mixed image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3188804B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002015128A1 (en) * | 2000-08-18 | 2002-02-21 | Amcor Limited | System for creating an artwork |
JP2010136232A (en) * | 2008-12-08 | 2010-06-17 | Casio Electronics Co Ltd | Printing apparatus |
JP2016012767A (en) * | 2014-06-27 | 2016-01-21 | 京セラドキュメントソリューションズ株式会社 | Image processing device |
JP2017117019A (en) * | 2015-12-21 | 2017-06-29 | キヤノン株式会社 | Image processing device, image processing method, and program |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
PT10396T (en) | 2009-02-05 | 2009-08-05 | Gurgis Gamil Azer Geris | MOBILE PHONE WITH ACCESSORIES AND STORAGE ACCESSORIES FOR ACCESSING OBJECTS WITH AUTOMATIC SYSTEM |
-
1994
- 1994-03-17 JP JP04684594A patent/JP3188804B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002015128A1 (en) * | 2000-08-18 | 2002-02-21 | Amcor Limited | System for creating an artwork |
US7427995B2 (en) | 2000-08-18 | 2008-09-23 | Amcor Limited | System for creating an artwork |
JP2010136232A (en) * | 2008-12-08 | 2010-06-17 | Casio Electronics Co Ltd | Printing apparatus |
JP2016012767A (en) * | 2014-06-27 | 2016-01-21 | 京セラドキュメントソリューションズ株式会社 | Image processing device |
JP2017117019A (en) * | 2015-12-21 | 2017-06-29 | キヤノン株式会社 | Image processing device, image processing method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP3188804B2 (en) | 2001-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3097785B2 (en) | Image processing device | |
US6424742B2 (en) | Image processing apparatus for discriminating image field of original document plural times and method therefor | |
EP0713329B1 (en) | Method and apparatus for automatic image segmentation using template matching filters | |
US4924509A (en) | Image processing apparatus | |
US4786976A (en) | Image processing apparatus | |
US6625312B1 (en) | Document classification using segmentation tag statistics | |
US4996602A (en) | Image-processing apparatus | |
JP3188804B2 (en) | Mixed image processing device | |
JPH06290300A (en) | Image area identifying device | |
EP1241868B1 (en) | Image processing apparatus | |
JPH0818785A (en) | Image output device | |
JPH0550187B2 (en) | ||
JP3353078B2 (en) | Image processing apparatus and method | |
JPH07242027A (en) | Printer | |
JPH10112800A (en) | Image processor | |
JP3434373B2 (en) | Halftone area determination device | |
JP3003133B2 (en) | Image outline extraction device | |
JP3358133B2 (en) | Image processing device | |
CA2154100C (en) | Image halftoning system | |
JPS60136476A (en) | Picture processor | |
JP2608404B2 (en) | Image processing device | |
JP2913867B2 (en) | Color image processing method | |
JP3382247B2 (en) | Image processing system | |
JPS6180970A (en) | Picture signal processor | |
JPH11136513A (en) | Picture processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |