JPH03219774A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH03219774A
JPH03219774A JP2090120A JP9012090A JPH03219774A JP H03219774 A JPH03219774 A JP H03219774A JP 2090120 A JP2090120 A JP 2090120A JP 9012090 A JP9012090 A JP 9012090A JP H03219774 A JPH03219774 A JP H03219774A
Authority
JP
Japan
Prior art keywords
area
processing
image
halftone
image signal
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
Application number
JP2090120A
Other languages
Japanese (ja)
Other versions
JP3093235B2 (en
Inventor
Satoshi Ouchi
敏 大内
Kaoru Imao
今尾 薫
Wasaku Yamada
山田 和作
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
Publication of JPH03219774A publication Critical patent/JPH03219774A/en
Application granted granted Critical
Publication of JP3093235B2 publication Critical patent/JP3093235B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an optical processing signal by selecting respectively an output signal of a photographic area processing section when an input picture is a photographic area, an output signal of a dot area processing section when an input picture is a dot area, and an output signal of a wire frame area processing section when an input picture is a wire frame area. CONSTITUTION:An area separation circuit 5 separates each picture element of an input picture into a wire frame area, a dot or a photograph and outputs the result of separation of each picture element to a picture signal selection circuit 6. The circuit 6 based on the result of area separation sent from the circuit 5 selects and outputs an output signal of a binarizing processing circuit 2 in the case of a wire frame, an output signal of a mean error minimum processing circuit 3 in the case of a dot area and an output signal of a dither processing circuit 4 in the case of a photographic area respectively. Thus, a picture signal applied with the optimum processing in response to each area of photograph, dot and wire frame in the input picture is outputted from the circuit 6. The picture signal outputted from the circuit 6 is used to reproduce the picture, then the gradation is emphasized as to the photograph, moire is eliminated and the gradation is emphasized as to the dot picture.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、写真、網点および線画の混在する画像をその
領域ごとに最適処理して再生するための画像処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device for optimally processing and reproducing an image containing a mixture of photographs, halftone dots, and line drawings for each region.

〔従来の技術〕[Conventional technology]

一般に、文書画像と呼ばれる画像には、連続階調の写真
、白黒ドツトの網点、文字や線などの線画が混在するの
が普通である。このような画像をディジタル式複写機や
ファクシミリなどで再生する場合、再生画の画質向上の
ためには ■ 線画については、線が切れぎれになることのないよ
うに鮮明に再生する ■ 写真については、滑らかさ(階調性)を重視して再
生する ■ 網点については、モアレを除去し、かつ階調性を重
視して再生する ことが望ましい。
In general, an image called a document image usually includes a mixture of continuous tone photographs, black and white dots, and line drawings such as characters and lines. When playing back such images using a digital copying machine or facsimile, in order to improve the quality of the reproduced image, ■ For line drawings, reproduce them clearly so that the lines are not cut off ■ For photographs: , Reproducing with emphasis on smoothness (gradation) ■ Regarding halftone dots, it is desirable to remove moiré and reproduce with emphasis on gradation.

上記目的を達成ための1つの方法として、例えば、次の
ような画像処理を施す方法がある。すなわち、 ■ 線画領域に対しては、エツジ強調後、二値化処理を
施す。
One method for achieving the above objective is, for example, to perform the following image processing. That is, (1) Binarization processing is applied to the line drawing area after edge enhancement.

■ 写真領域に対しては、組織的ディザ法の1つである
うずまき型のディザ処理を施す。
■ A spiral dithering process, which is one of systematic dithering methods, is applied to the photographic area.

■ 網点領域に対しては、平滑化処理後、■と同じうず
まき型のディザ処理を施す。
■ For the halftone dot area, after the smoothing process, perform the same spiral dither process as in ■.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上記の方法を実現するには、入力画像の全画
素を写真領域、網点領域および線画領域に分離する必要
がある。しかしながら、文字の分離に関しては、従来の
ほとんどが背景に何もない白地上の文字を対象としてお
り、網点上に存在する文字については正確に分離するこ
とは困難であった。このため、網点上に存在する文字に
ついては、上記適応的な処理が施されず、再生画像が不
鮮明になってしまうという問題があった。
By the way, in order to implement the above method, it is necessary to separate all the pixels of the input image into a photo area, a halftone area, and a line drawing area. However, with regard to character separation, most conventional methods target characters on a white background with nothing in the background, and it is difficult to accurately separate characters existing on halftone dots. Therefore, the adaptive processing described above is not applied to characters existing on the halftone dots, resulting in a problem that the reproduced image becomes unclear.

他方、前記のように入力画像を領域分離することなしに
画像処理を行う方法の1つとして、注目画素の画像情報
とディザ処理後の注目画素の画像情報の誤差分を周辺画
素へ配分することによりディザ処理を行ういわゆる平均
誤差最小法、またはこれに類似した誤差拡散法を利用す
る方法がある。
On the other hand, one method of performing image processing without segmenting the input image as described above is to distribute the error between the image information of the pixel of interest and the image information of the pixel of interest after dither processing to surrounding pixels. There is a method using the so-called minimum average error method, which performs dither processing, or an error diffusion method similar to this method.

この方法は、入力画像を領域分離することなしに一定レ
ベルの再生画像を得ることができる点に特徴を有し、網
点上の文字に関しては前記領域分離法よりも見やすくな
るが、一方、白地上に存在する文字、特に白地上の小さ
な文字については、鮮明さ(解像度)が不十分になると
いう問題があった。
This method is characterized in that a reproduced image of a certain level can be obtained without segmenting the input image, and the characters on the halftone dots are easier to see than the region separation method, but on the other hand, the white There has been a problem in that the sharpness (resolution) of characters on the ground, especially small characters on a white background, is insufficient.

また、前記した従来の領域分離法によるときは、網点に
ついては平滑化処理後にうずまき型のディザ処理を施し
ているが、線数の低い網点画像(例えば、65線や85
線)の場合、網点ドツト間が広いため、従来使用されて
いる3×3画素あるいは5×5画素程度の固定の平滑化
フィルタでは充分に平滑化されず、モアレを完全に除去
できない場合も生じるという問題もあった。
In addition, when using the conventional area separation method described above, the halftone dots are subjected to spiral dither processing after smoothing processing, but halftone dot images with a low number of lines (for example, 65 lines or 85 lines)
In the case of lines), the distance between the halftone dots is wide, so the fixed smoothing filter of about 3 x 3 pixels or 5 x 5 pixels, which is used conventionally, cannot sufficiently smooth the image, and it may not be possible to completely remove moiré. There were also problems that occurred.

本発明は上記事情に基づきなされたもので、その目的と
するところは、文字や線などの線画については白地上あ
るいは網点上を問わず鮮明に、写真については階調性を
重視し、また網点についてはモアレを除去するとともに
階調性を重視し、適応的に画像再生することのできる画
像処理装置を提供することである。さらにまた、高線数
の網点と低線数の網点とで適応的に処理を変え、網点の
線数にかかわらずモアレを除去することのできる画像処
理装置を提供することである。
The present invention has been made based on the above circumstances, and its purpose is to make line drawings such as characters and lines clear regardless of whether they are on a white background or halftone dots, and to emphasize gradation in photographs. Regarding halftone dots, it is an object of the present invention to provide an image processing device that can adaptively reproduce images by removing moiré and emphasizing gradation. Still another object of the present invention is to provide an image processing device that can adaptively change processing between halftone dots with a high number of lines and halftone dots with a low number of lines, and remove moiré regardless of the number of lines of the halftone dots.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の第一の画像処理装置
は、入力画像をディジタル多値画像信号に変換する手段
と、変換されたディジタル多値画像信号に組織的ディザ
処理を施す写真領域処理部と、変換されたディジタル多
値画像信号に平均誤差最小法または誤差拡散法によるデ
ィザ処理を施す網点領域処理部と、変換されたディジタ
ル多値画像信号に二値化処理を施す線!領域処理部と、
変換されたディジタル多値画像信号の所定の局所領域内
の画素情報に基づいて入力画像中の各画素を写真領域、
網点領域または線画領域のいずれかに分離する領域分離
部と、該領域分離部の分離結果に従って前記写真領域処
理部、網点領域処理部または線画領域処理部のいずれか
の処理信号を選択して出力する画像信号選択部とから構
成したものである。
In order to achieve the above object, a first image processing device of the present invention includes means for converting an input image into a digital multi-value image signal, and photographic area processing for performing systematic dither processing on the converted digital multi-value image signal. , a halftone area processing section that performs dither processing on the converted digital multi-value image signal using the minimum average error method or error diffusion method, and a line that performs binarization processing on the converted digital multi-value image signal! an area processing unit;
Based on pixel information within a predetermined local area of the converted digital multilevel image signal, each pixel in the input image is converted into a photo area,
an area separation unit that separates into either a halftone area or a line drawing area; and a processing signal of one of the photographic area processing unit, halftone area processing unit, or line drawing area processing unit is selected according to the separation result of the area separation unit. and an image signal selection section that outputs the image signal.

また、本発明の第二の画像処理装置は、入力画像を線画
領域と線画以外の絵柄領域の2つの領域に分離し、前記
第一の画像処理装置の構成をさらに簡素化したもので、
入力画像をディジタル多値画像信号に変換する手段と、
変換されたディジタル多値画像信号に平均誤差最小法ま
たは誤差拡散法によるディザ処理を施す絵柄領域処理部
と、変換されたディジタル多値画像信号に二値化処理を
施す線画領域処理部と、変換されたディジタル多値画像
信号の所定の局所領域内の画素情報に基づいて入力画像
中の各画素を線画領域とそれ以外の絵柄領域に分離する
領域分離部と、該領域分離部の分離結果に従って前記絵
柄領域処理部または線画領域処理部のいずれかの処理信
号を選択して出力する画像信号選択部とから構成したも
のである。
Further, a second image processing device of the present invention further simplifies the configuration of the first image processing device by separating the input image into two areas, a line drawing area and a pattern area other than line drawings,
means for converting an input image into a digital multivalued image signal;
a picture area processing section that performs dither processing using the minimum average error method or error diffusion method on the converted digital multi-value image signal; a line drawing area processing section that performs binarization processing on the converted digital multi-value image signal; an area separation unit that separates each pixel in the input image into a line drawing area and other picture areas based on pixel information in a predetermined local area of the digital multilevel image signal; and an image signal selection section that selects and outputs a processed signal from either the picture area processing section or the line drawing area processing section.

さらにまた、本発明の第三の画像処理装置は、高線数の
網点と低線数の網点とで処理内容を変えるようにしたも
ので、入力画像をディジタル多値画像信号に変換する画
像変換手段と、変換されたディジタル多値画像信号に二
値化処理を施す線画・低線数網点領域処理部と、変換さ
れたディジタル多値画像信号に組織的ディザ処理を施す
写真・高線数網点領域処理部と、変換されたディジタル
多値画像信号の所定の局所領域の画素情報に基づいて入
力画像中の各画素を写真領域、網点領域または線画領域
のいずれかに分離する領域分離部と、変換されたディジ
タル多値画像信号から入力画像中の網点部の網点線数を
判定する網点線数判定部と、該網点線数判定部の判定結
果と前記領域分離部の領域分離結果に基づいて選択すべ
き処理信号を決定する総合判定部と、該総合判定部の判
定結果に従って前記線画・低線数網点領域処理部または
写真・高線数網点領域処理部の処理信号のいずれかを選
択して出力する画像信号選択部とから構成したものであ
る。
Furthermore, the third image processing device of the present invention is configured to change the processing content between halftone dots with a high number of lines and halftone dots with a low number of lines, and converts an input image into a digital multivalued image signal. an image converting means, a line drawing/low line number halftone area processing unit that performs binarization processing on the converted digital multi-value image signal, and a photo/high-resolution image processing unit that performs systematic dither processing on the converted digital multi-value image signal. A line number halftone area processing unit separates each pixel in the input image into either a photo area, a halftone area, or a line drawing area based on pixel information of a predetermined local area of the converted digital multilevel image signal. an area separation unit, a dot number determination unit that determines the number of dots in a halftone area in an input image from the converted digital multivalued image signal, and a determination result of the dot number determination unit and the area separation unit. a comprehensive determination section that determines the processing signal to be selected based on the region separation result; and a comprehensive determination section that determines the processing signal to be selected based on the region separation result; and an image signal selection section that selects and outputs one of the processed signals.

なお、前記網点線数判定部としては、ディジタル多値画
像信号の所定の局所領域の画素情報に基づいて網点の山
ピークにあたる画素と谷ピークにあたる画素を検出し、
所定の小領域において山ピークにあたる画素と谷ピーク
にあたる画素の数をそれぞれ計数し、該二つの計数値の
うちの値の大きい方の計数値に基づいて網点の線数を判
定すればよい。
The halftone line number determining unit detects pixels corresponding to peaks and valley peaks of halftone dots based on pixel information of a predetermined local area of the digital multilevel image signal,
The number of pixels corresponding to a mountain peak and the number of pixels corresponding to a valley peak in a predetermined small area may be counted, and the number of halftone dots may be determined based on the larger of the two counts.

〔作 用〕[For production]

第一の画像処理装置の場合、入力画像の各画素は、領域
分離部において写真領域、網点領域および線画領域のい
ずれかに分離される。画像信号選択部は、この分離結果
に従って、入力画像が写真領域の場合には写真領域処理
部の出力信号を、網点領域の場合には網点領域処理部の
出力信号を、また線画領域の場合には線画領域処理部の
出力信号をそれぞれ選択して出力する。
In the case of the first image processing device, each pixel of the input image is separated into one of a photo area, a halftone area, and a line drawing area by the area separation unit. According to this separation result, the image signal selection section selects the output signal of the photo area processing section when the input image is a photo area, the output signal of the halftone area processing section when the input image is a halftone area, and the output signal of the halftone area processing section when the input image is a halftone area. In this case, the output signals of the line drawing area processing sections are selected and outputted.

したがって、画像中に写真、網点および線画が混在して
いても、写真、網点、線画の各領域に応じた最適な処理
信号を適応的に選択して出力することができ、文字や線
などの線画については鮮明に、写真については階調性を
重視し、さらに網点についてはモアレを除去するととも
に階調性を重視して画像再生することができる。しかも
、網点上の文字を網点として分離しても、平均誤差最小
法または誤差拡散法によりディザ処理された網点領域処
理部の出力信号が選択されるため、網点上の文字につい
ても一定レベルで鮮明化され、従来のように網点上の文
字が潰れてしまうようなことがなくなり、白地上あるい
は網点上を問わず鮮明に画像再生することができる。
Therefore, even if photographs, halftone dots, and line drawings are mixed in an image, it is possible to adaptively select and output the optimal processing signal according to each area of the photograph, halftone dots, and line drawings, and to output text and line drawings. It is possible to reproduce images with sharpness for line drawings such as images, emphasis on gradation for photographs, and removal of moiré and emphasis on gradation for halftone dots. Moreover, even if the characters on the halftone dots are separated as halftone dots, the output signal of the halftone area processing section that has been dithered using the minimum average error method or the error diffusion method is selected, so the characters on the halftone dots can also be separated. The image is sharpened to a certain level, and the characters on the halftone dots do not become blurred as in the past, and the image can be reproduced clearly regardless of whether it is on a white background or on the halftone dots.

第二の画像処理装置の場合、入力画像の各画素は、領域
分離部において線画領域とそれ以外の網点と写真からな
る絵柄領域の2つに分離される。
In the case of the second image processing device, each pixel of the input image is separated by the region separation unit into two regions: a line drawing region and a picture region consisting of other halftone dots and photographs.

画像信号選択部は、この分離結果に従って、入力画像が
線画領域の場合には線画領域処理部の処理信号を、また
絵柄領域の場合には絵柄領域処理部の処理信号をそれぞ
れ選択して出力する。この結果、絵柄領域すなわち網点
(網点上の文字も含む)と写真については、絵柄領域処
理部で平均誤差最小法または誤差拡散法により処理され
た画像信号が、また線画領域については、線画専用の線
画領域処理部で鮮明化された画像信号が選択して出力さ
れる。したがって、前記第一の画像処理装置に比べ、回
路構成をより簡素化しながら、画像領域に応じた最適な
画像再生を実現することができる。
According to this separation result, the image signal selection section selects and outputs the processed signal of the line drawing area processing section when the input image is a line drawing area, and the processing signal of the picture area processing section when the input image is a picture area. . As a result, for the picture area, that is, the halftone dots (including characters on the halftone dots) and the photograph, the image signal processed by the picture area processing section by the minimum average error method or the error diffusion method, and for the line drawing area, the image signal is processed by the line drawing An image signal sharpened by a dedicated line drawing area processing section is selected and output. Therefore, compared to the first image processing device, it is possible to achieve optimal image reproduction according to the image area while simplifying the circuit configuration.

第三の画像処理装置の場合、入力画像の各画素は領域分
離部において写真領域、網点領域および線画領域のいず
れかに分離されるとともに、入力画像中の網点の線数が
網点線数判定部において判定される。そして、総合判定
部においてこの領域分離結果と網点線数判定結果に基づ
いて選択すべき処理信号が決定され、線画と低線数の網
点については、線画・低線数網点領域処理部で処理され
た画像画像信号が、また写真と高線数の網点については
、写真・高線数網点領域処理部で処理された画像信号が
選択して出力される。したがって、高線数の網点と低線
数の網点とで適応的に処理を変え、網点の線数にかかわ
らずモアレを除去することができる。
In the case of the third image processing device, each pixel of the input image is separated into one of a photo area, a halftone dot area, and a line drawing area in the area separation unit, and the number of halftone dots in the input image is determined by the number of halftone dots. It is determined in the determination section. Then, the general judgment unit determines the processing signal to be selected based on the area separation result and the halftone dot number judgment result, and for line drawings and halftone dots with low line number, the line drawing/low line number halftone dot area processing unit determines the processing signal to be selected. The processed image signal is selectively outputted, and for photographs and high-line-number halftone dots, the image signal processed by the photograph/high-line-number halftone area processing section is selectively output. Therefore, processing can be adaptively changed between halftone dots with a high number of lines and halftone dots with a low number of lines, and moiré can be removed regardless of the number of lines of the halftone dots.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例につき説明する。 Embodiments of the present invention will be described below with reference to the drawings.

本発明の第1の実施例を第1図に示す。この第1実施例
は、前記した第一の画像処理装置に対応する。なお、説
明を簡単とするため、再生画がモノクロニ値画の場合を
例に採って述べる。再生画がカラーの場合は、原画像を
色分解して色補正した後の各色信号YMCのそれぞれに
対し、以下に述べる画像処理を並列に実行し、最後にそ
れぞれの結果を合成すればよい。
A first embodiment of the invention is shown in FIG. This first embodiment corresponds to the first image processing apparatus described above. In order to simplify the explanation, an example will be described in which the reproduced image is a monochrome value image. If the reproduced image is in color, the image processing described below may be performed in parallel on each of the color signals YMC after color separation and color correction of the original image, and finally, the respective results may be combined.

第1図中、入力画像信号は、原画像をディジタル多値画
像信号に変換する手段、例えば400dpi。
In FIG. 1, the input image signal is a means for converting an original image into a digital multivalued image signal, for example, 400 dpi.

64階調程度のスキャナを用いて原画像を読み込んだデ
ィジタル多値画像信号である。
This is a digital multivalued image signal obtained by reading an original image using a scanner with approximately 64 gradations.

鮮鋭処理回路1は、入力してくるディジタル多値画像信
号をエツジを強調する回路である。二値化処理回路2は
、鮮鋭処理回路lでエツジ強調された画像信号を所定の
闇値で二値化する回路である。この鮮鋭処理回路1と二
値化処理回路2によって線画領域処理部が構成されてい
る。なお、鮮鋭処理回路1としては、例えば、下記(1
)式のようなMTF補正用フィルタが使用される。
The sharpening processing circuit 1 is a circuit that enhances the edges of an input digital multivalued image signal. The binarization processing circuit 2 is a circuit that binarizes the image signal whose edges have been enhanced by the sharpening processing circuit 1 using a predetermined darkness value. The sharpening processing circuit 1 and the binarization processing circuit 2 constitute a line drawing area processing section. In addition, as the sharpening processing circuit 1, for example, the following (1
) is used as an MTF correction filter.

すなわち、第2図に示すように、入力画像信号を’X+
y、出力画像信号をgx+yとするとき、二値化のため
の闇値TX、Vを下記(2)式により定めるものである
That is, as shown in FIG.
y, and the output image signal is gx+y, the dark values TX and V for binarization are determined by the following equation (2).

平均誤差最小処理回路3は、入力してくるディジタル多
値画像信号に対して平均誤差最小法によるディザ処理を
施す回路である。この平均誤差最小処理回路3が網点領
域処理部を構成している。
The minimum average error processing circuit 3 is a circuit that performs dither processing using the minimum average error method on the input digital multivalued image signal. This average error minimum processing circuit 3 constitutes a halftone area processing section.

平均誤差最小法とは、原画像と二値化されたドツト画像
との濃度誤差が平均として最小となるように二値化のた
めの闇値を各画素位置毎に決定し、この闇値に従ってデ
ィジタル多値画像信号を二値化する方法である。
The minimum average error method is to determine the darkness value for each pixel position for binarization so that the density error between the original image and the binarized dot image is minimized on average, and then calculate the density value according to this darkness value. This is a method of binarizing a digital multivalued image signal.

(2) ここに、αア、1は重み付は係数、ek、L は入力画
像信号と出力画像信号の濃度誤差である。重み係数αヶ
、、は、例えば下記(3)式のようなマトリックスとし
て与えられており、現在注目している画素’XIFに近
い画素はど大きな重み付けがなされている。
(2) Here, αa, 1 is a weighting coefficient, and ek, L is a density error between the input image signal and the output image signal. The weighting coefficients .alpha., . . . are given, for example, as a matrix as shown in equation (3) below, and pixels close to the currently focused pixel 'XIF are given the greatest weighting.

但し、*は注目画素fX+V ディザ処理回路4は、写真に適したうずまき型ディザな
どの組織的ディザ処理を施す回路である。
However, * is the pixel of interest fX+V. The dither processing circuit 4 is a circuit that performs systematic dither processing such as spiral dither suitable for photography.

このディザ処理回路4が写真領域処理部を構成している
This dither processing circuit 4 constitutes a photographic area processing section.

領域分離回路5は、後述するように、ディジタル多値画
像信号の所定の局所領域内の画素情報に基づき入力画像
中の各画素を写真領域、網点領域および線画領域のいず
れかに領域分離する回路である。
As will be described later, the area separation circuit 5 separates each pixel in the input image into one of a photo area, a halftone area, and a line drawing area based on pixel information within a predetermined local area of the digital multilevel image signal. It is a circuit.

画像信号選択回路6は、領域分離回路5の分離結果に従
って二値化処理回路2、平均誤差最小処理回路3または
ディザ処理回路4のいずれかの出力信号を選択して出力
する回路である。
The image signal selection circuit 6 is a circuit that selects and outputs the output signal of either the binarization processing circuit 2, the average error minimum processing circuit 3, or the dither processing circuit 4 according to the separation result of the region separation circuit 5.

前記第1の実施例の動作を説明すると、ディジタル多値
画像信号は、領域分離回路5、鮮鋭処理回路1、平均誤
差最小処理回路3およびディザ処理回路4にそれぞれ入
力される。
To explain the operation of the first embodiment, a digital multivalued image signal is input to a region separation circuit 5, a sharpening processing circuit 1, an average error minimum processing circuit 3, and a dither processing circuit 4, respectively.

鮮鋭処理回路1に入力されたディジタル多値画像信号は
、鮮鋭処理回路lで工・ノジ強調された後、二値化処理
回路2で二値化処理され、入力画像中の文字や線などの
線画部分を鮮明化した画像信号として出力される。
The digital multi-level image signal input to the sharpening processing circuit 1 is subjected to edge and edge enhancement in the sharpening processing circuit 1, and then binarized in the binarization processing circuit 2 to remove characters, lines, etc. in the input image. It is output as an image signal with the line drawing portion sharpened.

また、平均誤差最小処理回路3に入力されたディジタル
多値画像信号は、前述した平均誤差最小法により二値化
され、入力画像中の網点および網点上の文字(線も含む
)についてモアレ除去し、かつ階調処理した画像信号と
して出力される。
The digital multilevel image signal input to the average error minimum processing circuit 3 is binarized by the above-mentioned average error minimum method, and moiré is generated for halftone dots in the input image and characters (including lines) on the halftone dots. It is output as an image signal that has been removed and subjected to gradation processing.

さらに、ディザ処理回路4に入力されたディジタル多値
画像信号は、写真に適したうずまき型ディザにより二値
化され、入力画像中の写真部分を疑僚階調化した画像信
号として出力される。
Further, the digital multi-valued image signal input to the dither processing circuit 4 is binarized by a spiral dither suitable for photographs, and is output as an image signal in which the photographic portion of the input image is converted into a gray scale.

一方、領域分離回路5は、後述するようにして入力画像
の各画素を線画領域、網点領域あるいは写真のいずれか
に分離し、各画素の分離結果を画像信号選択回路6へ出
力する。
On the other hand, the area separation circuit 5 separates each pixel of the input image into either a line drawing area, a halftone area, or a photograph, as will be described later, and outputs the separation result of each pixel to the image signal selection circuit 6.

画像信号選択回路6は、上記領域分離回路5から送られ
てくる領域分離結果に基づき、線画領域の場合には二値
化処理回路2の出力信号を、網点領域の場合には平均誤
差最小処理回路3の出力信号を、また、写真領域の場合
にはディザ処理回路4の出力信号をそれぞれ選択し、出
力する。
Based on the region separation results sent from the region separation circuit 5, the image signal selection circuit 6 selects the output signal of the binarization processing circuit 2 in the case of a line drawing region, and selects the minimum average error in the case of a halftone region. The output signal of the processing circuit 3 or, in the case of a photographic area, the output signal of the dither processing circuit 4 is selected and output.

したがって、画像信号選択回路6からは、入力画像中の
写真、網点、線画の各領域に応じた最適な処理を施され
た画像信号が出力される。この画像信号選択回路6から
出力される画像信号を用いて画像を再生すれば、白地上
の文字は勿論のこと、網点上に存在する文字についても
鮮明化され、また、写真については階調性を重視し、網
点についてはモアレを除去するとともに階調性を重視し
た画像が再生される。
Therefore, the image signal selection circuit 6 outputs an image signal that has been optimally processed according to each area of the photograph, halftone dot, and line drawing in the input image. If an image is reproduced using the image signal output from the image signal selection circuit 6, not only characters on a white background but also characters existing on halftone dots will be made clearer, and the gradation of photographs will be improved. With regard to halftone dots, moiré is removed and an image is reproduced with emphasis on gradation.

第1図中の領域分離回路5の具体的な構成例を第3図に
示す。図中、501は入力画像中の各画素を写真領域と
非写真領域に分離する写真領域分離回路、502は入力
画像中の各画素を網点領域と非網点領域に分離する網点
領域分離回路である。
A specific example of the configuration of the area separation circuit 5 in FIG. 1 is shown in FIG. In the figure, 501 is a photo area separation circuit that separates each pixel in the input image into a photo area and a non-photo area, and 502 is a halftone area separation circuit that separates each pixel in the input image into a halftone area and a non-halftone area. It is a circuit.

入力画像中の各画素を写真、網点、線画の3つの領域に
分離するには、上記2つの回路501゜502によって
、まず入力画像中の各画素を写真領域と網点領域に分離
する。そして、写真領域分離回路501で非写真領域と
判定された画像領域と、網点領域分離回路502で非網
点領域と判定された画像領域とのAND論理を採り、こ
のAND論理により非写真領域でかつ非網点領域と判定
された画像領域を線画領域とすればよい。
In order to separate each pixel in the input image into three areas: photo, halftone dot, and line drawing, the two circuits 501 and 502 first separate each pixel in the input image into the photo area and the halftone area. Then, an AND logic is applied between the image area determined to be a non-photo area by the photo area separation circuit 501 and the image area determined to be a non-halftone area by the halftone area separation circuit 502, and the non-photo area is An image area that is large and determined to be a non-halftone area may be set as a line drawing area.

第3図中の写真領域分離回路501としては、例えば特
開昭61−225974号の回路を利用することができ
る。また、網点領域分離回路5゜2としては、例えば第
4図に示すごとき回路を採用することができる。
As the photographic area separation circuit 501 in FIG. 3, for example, the circuit disclosed in Japanese Patent Application Laid-Open No. 61-225974 can be used. Further, as the halftone dot area separation circuit 5.2, for example, a circuit as shown in FIG. 4 can be adopted.

以下、第4図の網点領域分離回路502について説明す
る。
The halftone area separation circuit 502 shown in FIG. 4 will be explained below.

極点検出部503は、網点のドツトを形成する山または
谷の画素(以下「ピーク画素」)を検出する回路である
。例えば、山ピーク画素を検出する場合を例にとれば、
第5図に示す如き3×3画素サイズのマスクを用い、こ
のマスク内の中心画素Lcとその周囲画素L1〜L8と
の間に下記(4)(5)式が同時に成立するとき、中心
画素Lcを山ピーク画素として検出する。なお、谷ピー
ク画素を検出するには、(4)弐の不等号の向きを逆に
すればよい。
The pole detection unit 503 is a circuit that detects peak or valley pixels (hereinafter referred to as "peak pixels") that form halftone dots. For example, if we take the case of detecting mountain peak pixels,
Using a mask with a size of 3 x 3 pixels as shown in FIG. Lc is detected as a mountain peak pixel. Note that in order to detect the valley peak pixel, the direction of the second inequality sign (4) may be reversed.

但し、TI(1は闇値 網点候補領域検出部504は、上記極点検出部503で
検出した山と谷のピーク画素に基づいて網点候補領域と
なる画素を検出する。すなわち、例えば、第6図(al
に示すように、プロ・ツク単位で処理する場合には、注
目ブロック内の山と谷のピーク画素数を計数し、その合
計が予め定めた所定の闇値よりも大きいとき、当該注目
ブロック内の全画素(ハツチング画素)を網点候補領域
として検出する。また、第6図(b)に示すように、画
素単位で処理する場合には、注目ブロック内の山と谷の
ピーク画素の合計数が予め定めた所定の闇値よりも大き
いとき、当該注目ブロック内の注目画素(ハツチング画
素)を網点候補領域として検出する。
However, TI (1 is the dark value halftone dot candidate region detecting section 504 detects pixels that become the halftone dot candidate region based on the peak pixels of the peaks and valleys detected by the above-mentioned extreme point detecting section 503. Figure 6 (al
As shown in , when processing in units of blocks, the peak pixel counts of peaks and valleys in the block of interest are counted, and when the total is greater than a predetermined darkness value, the number of pixels in the block of interest is counted. All pixels (hatched pixels) are detected as a halftone dot candidate area. Further, as shown in FIG. 6(b), when processing is performed pixel by pixel, when the total number of peak pixels of peaks and valleys in the block of interest is larger than a predetermined darkness value, the block of interest A pixel of interest (hatched pixel) within the block is detected as a halftone dot candidate area.

網点領域判定部505は、上記網点候補領域検出部50
4の検出結果に基づいて各画素が網点領域であるか否か
を最終的に判定する。すなわち、第7図(a)に示すよ
うに、ブロンク単位で処理を行う場合には、注目ブロッ
クとその周囲の所定の複数ブロックにおける網点候補ブ
ロックの個数を計数し、この個数が予め定めた所定の数
よりも大きいとき、当該注目ブロック内の全画素(ハツ
チング画素)を網点領域と判定する。
The halftone dot area determination unit 505 includes the halftone dot candidate area detection unit 50.
Based on the detection result of step 4, it is finally determined whether each pixel is a halftone dot area or not. That is, as shown in FIG. 7(a), when processing is performed in units of broncs, the number of halftone dot candidate blocks in the block of interest and a predetermined plurality of blocks around it is counted, and this number is determined in advance. When the number is larger than a predetermined number, all pixels (hatched pixels) in the block of interest are determined to be a halftone dot area.

一方、第7図(b)に示すように、画素単位で処理を行
う場合には、注目の画素を含む所定範囲内の周囲画素に
おける網点候補画素の個数を計数し、この個数が予め定
めた所定の数よりも大きいとき、当該注目画素(ハツチ
ング画素)を網点領域と判定する。
On the other hand, as shown in FIG. 7(b), when processing is performed pixel by pixel, the number of halftone dot candidate pixels in surrounding pixels within a predetermined range including the pixel of interest is counted, and this number When the number is larger than a predetermined number, the pixel of interest (hatched pixel) is determined to be a halftone dot area.

上記した各処理を入力画像の全画素について実行するこ
とにより、全画素を網点領域と非網点領域に分離するこ
とができる。したがって、この第4図の網点領域分離回
路を利用して第3図の領域分離回路を構成すれば、入力
画像中の各画素を写真、網点、線画の3つの領域に分離
することができる。
By performing each of the above-described processes on all pixels of the input image, all pixels can be separated into halftone areas and non-halftone areas. Therefore, if the area separation circuit shown in FIG. 3 is constructed using the halftone area separation circuit shown in FIG. 4, each pixel in the input image can be separated into three areas: photo, halftone, and line drawing. can.

本発明の第2の実施例を第8図に示す。この第2実施例
は、前記した第二の画像処理装置に対応するもので、網
点と写真を1つにまとめて絵柄領域とし、入力画像をこ
の絵柄領域と線画領域の2つに領域分離して処理するこ
とにより、前記第1の実施例の回路構成をより簡素化し
たものである。
A second embodiment of the invention is shown in FIG. This second embodiment corresponds to the second image processing device described above, in which the halftone dots and the photograph are combined into one picture area, and the input image is divided into two areas: this picture area and the line drawing area. By performing this processing, the circuit configuration of the first embodiment is further simplified.

第8図において、網点と写真からなる絵柄領域を処理す
るための絵柄領域処理部としては、第1図で用いた平均
誤差最小処理回路3を利用している。前述したように、
平均誤差最小法または誤差拡散法によるときは、白地上
の文字(線も含む)を除く、写真、網点および網点上の
文字などに対して一定のレベルで再生画像を得ることが
できる。
In FIG. 8, the average error minimum processing circuit 3 used in FIG. 1 is used as a picture area processing section for processing a picture area consisting of halftone dots and photographs. As previously mentioned,
When using the minimum average error method or the error diffusion method, it is possible to obtain reproduced images at a constant level for photographs, halftone dots, characters on halftone dots, etc., excluding characters on a white background (including lines).

したがって、入力画像中の網点と写真を1つにまとめて
絵柄領域とし、この絵柄領域を平均誤差最小処理回路3
において一括処理しても、第1実施例と同様の処理効果
を得ることができる。
Therefore, the halftone dots and the photograph in the input image are combined into one picture area, and this picture area is used by the average error minimum processing circuit 3.
Even if the processing is performed all at once, the same processing effect as in the first embodiment can be obtained.

第8図例の場合、領域分離回路5′としては、入力画像
の全画素を線画領域と絵柄領域の2つに分離する必要が
あるが、これを実現するには第9図の如き回路を採用す
ればよい。第9図の領域分離回路は、第3図の領域分離
回路5と同一の回路構成において、写真領域分離回路5
01の写真領域判定出力と網点領域分離回路502の網
点領域判定出力とのOR論理をとり、この論理結果(=
写真領域十網点領域)を絵柄領域として判定するように
したものである。
In the case of the example shown in FIG. 8, the area separation circuit 5' needs to separate all pixels of the input image into two areas, a line drawing area and a picture area, but to realize this, a circuit as shown in FIG. Just adopt it. The area separation circuit of FIG. 9 has the same circuit configuration as the area separation circuit 5 of FIG.
The photographic area judgment output of 01 and the halftone area judgment output of the halftone area separation circuit 502 are ORed, and this logical result (=
The photographic area (10 halftone dot area) is determined as a picture area.

画像信号選択回路6は、前記領域分離回路5の分離結果
に従い、分離結果が線画領域の場合には二値化処理回路
2の出力信号を、また判定結果が絵柄領域の場合には平
均誤差最小処理回路3の出力信号をそれぞれ選択して出
力する。したがって、線画と絵柄の2つの領域に応じた
最適な再生画像を得ることができる。
According to the separation result of the area separation circuit 5, the image signal selection circuit 6 selects the output signal of the binarization processing circuit 2 when the separation result is a line drawing area, and selects the minimum average error when the judgment result is a picture area. The output signals of the processing circuit 3 are selected and outputted. Therefore, it is possible to obtain optimal reproduced images according to the two areas of line drawing and picture.

なお、前記した第1図および第8図の実施例では、網点
領域処理部と絵柄領域処理部として、平均誤差最小法を
利用したが、これに代えて誤差拡散法を利用してもよい
ものである。
In the embodiments shown in FIGS. 1 and 8, the minimum average error method is used in the halftone area processing section and the pattern area processing section, but an error diffusion method may be used instead. It is something.

本発明の第3の実施例を第10図に示す。この第3実施
例は、前記した第三の画像処理装置に対応するもので、
文字などの線画と低線数の網点(例えば、85線以下)
を1つにまとめて線画・低線数網点領域とし、また、写
真と高線数の網点(例えば、lOO線以上)を1つにま
とめて写真・高線数網点領域とし、入力画像をこの2つ
の領域に分離して処理することにより、網点の線数にか
かわらずモアレを除去できるようにしたものである。
A third embodiment of the invention is shown in FIG. This third embodiment corresponds to the third image processing device described above,
Line drawings such as characters and halftone dots with a low number of lines (e.g. 85 lines or less)
are combined into one line drawing/low line number halftone dot area, and a photograph and high line number halftone dots (for example, 100 lines or more) are combined into one as a photograph/high line number halftone dot area, and input. By separating the image into these two areas and processing them, moiré can be removed regardless of the number of halftone dots.

第10図において、領域分離回路5は、入力画像中の全
画素を線画、写真および網点の3つの領域に分離する回
路である。領域分離回路5としては、第1図で用いた領
域分離回路5を利用することができる。
In FIG. 10, a region separation circuit 5 is a circuit that separates all pixels in an input image into three regions: line drawing, photograph, and halftone dot. As the region separation circuit 5, the region separation circuit 5 used in FIG. 1 can be used.

線画・低線数網点領域処理部は、文字などの線画領域と
低線数の網点領域に適した画像処理を施すための回路で
あって、!!#鋭処理部1と二値化処理部2とから構成
されている。鮮鋭処理部1と二値化処理部2としては、
第1図で用いた鮮鋭処理回路lと二値化処理回路2を利
用することができる。
The line drawing/low line number halftone area processing section is a circuit for performing image processing suitable for line drawing areas such as characters and low line number halftone dot areas, and! ! #It is composed of a sharp processing section 1 and a binarization processing section 2. As the sharpening processing section 1 and the binarization processing section 2,
The sharpening processing circuit 1 and the binarization processing circuit 2 used in FIG. 1 can be used.

写真・高線数網点領域処理部は、写真領域と高線数の網
点領域に適した画像処理を施すための回路であって、平
滑処理回路7とうずまき型ディザなどの組織的なディザ
処理回路8から構成されている。平滑処理回路7として
は、例えば網点を100線以上と85線以下に分離して
処理する場合には、例えば下記(6)式のような平滑化
フィルタが用いられる。
The photo/high line count halftone area processing unit is a circuit for performing image processing suitable for photo areas and high line count halftone area, and includes a smoothing processing circuit 7 and systematic dithering such as spiral dither. It is composed of a processing circuit 8. As the smoothing processing circuit 7, for example, when processing halftone dots by dividing them into 100 lines or more and 85 lines or less, a smoothing filter such as the following equation (6) is used.

この平滑化処理回路7における平滑化フィルタは、分離
処理する網点の線数に応じて使い分ければよいのであっ
て、例えば65線を境に網点を分離処理するする場合に
は、下記(7)式のような平滑化フィルタを用いればよ
い。また、(61、(71式などの平滑化フィルタを複
数用意しておき、処理に応じて適応的に選択するように
してもよい。
The smoothing filter in the smoothing processing circuit 7 can be used depending on the number of halftone dots to be separated. For example, when separating halftone dots at 65 lines, the following ( 7) A smoothing filter as shown in equation 7 may be used. Alternatively, a plurality of smoothing filters such as formulas (61 and (71) may be prepared and selected adaptively depending on the processing.

網点線数判定回路9は、後述するように、入力画像中に
含まれる網点部分について、例えばその線数が100線
以上であるか、85線以下であるかを判定する回路であ
る。
As will be described later, the halftone dot number determination circuit 9 is a circuit that determines whether the number of halftone dots included in the input image is, for example, 100 or more or 85 or less.

総合判定部10は、網点線数判定部9の判定結果と領域
分離部5の領域分離結果に基づいて、下記■〜■の判定
条件に従って選択すべき処理信号を決定する回路である
。すなわち、 ■ 領域分離回路5から線画領域信号が出力されたとき ■ N域分離回路5から網点領域信号が出力され、かつ
網点線数判定回路9が当該網点領域は低い線数の網点(
85線以下)であると判定したとき には、画像信号選択回路6に対して線画・低線数網点領
域処理部の処理信号を選択するように指示し、また ■ 領域分離回路5から写真領域定信号が出力されたと
き ■ 領域分離回路5から網点領域信号が出力され、かつ
網点線数判定回路9が当該網点領域は高い線数の網点(
100線以上)であると判定したとき には、画像信号選択回路6に対して写真・高線数網点領
域処理部の処理信号を選択するように指示する。
The comprehensive determination section 10 is a circuit that determines the processing signal to be selected according to the determination conditions (1) to (4) below, based on the determination result of the halftone line number determination section 9 and the area separation result of the area separation section 5. That is, ■ When a line drawing area signal is output from the area separation circuit 5 ■ A halftone dot area signal is output from the N area separation circuit 5, and the halftone line number determination circuit 9 determines that the halftone area is a halftone dot with a low line count. (
85 lines or less), it instructs the image signal selection circuit 6 to select the processing signal of the line drawing/low line number halftone area processing section, and When the signal is output ■ A halftone dot region signal is output from the region separation circuit 5, and the halftone dot number determination circuit 9 determines that the halftone dot region has a high number of dots (
100 lines or more), it instructs the image signal selection circuit 6 to select the processing signal of the photo/high line number halftone area processing section.

前記第3の実施例の動作を説明すると、ディジタル多値
画像信号は、領域分離回路5、網点線数判定回路9、鮮
鋭処理回路1および平滑処理回路7のそれぞれ入力され
る。
To explain the operation of the third embodiment, a digital multivalued image signal is input to each of the area separation circuit 5, the halftone line number determination circuit 9, the sharpening processing circuit 1, and the smoothing processing circuit 7.

鮮鋭処理回路lに入力されたディジタル多値画像信号は
、鮮鋭処理回路1でエツジ強調された後、二値化処理回
路2で二値化処理され、線画領域および85線以下の低
線数の網点領域に適した画像処理を施された画像信号と
して出力される。
The digital multivalued image signal input to the sharpening processing circuit 1 is edge-enhanced by the sharpening processing circuit 1, and then binarized by the binarization processing circuit 2 to remove the line drawing area and the low line count of 85 lines or less. It is output as an image signal that has been subjected to image processing suitable for the halftone area.

また、平滑処理回路7に入力されたディジタル多値画像
信号は、平滑処理回路7において前記(6)弐で示すよ
うな平滑化フィルタで平滑化された後、ディザ処理回路
8でうずまき型ディザなどの組織的なディザ処理を施さ
れ、写真領域および100線以上の高線数の網点領域に
適した画像処理を施された画像信号として出力される。
Further, the digital multi-level image signal inputted to the smoothing processing circuit 7 is smoothed by a smoothing filter as shown in (6) 2 above in the smoothing processing circuit 7, and then processed by a dither processing circuit 8 using a spiral dither etc. The signal is then systematically dithered and output as an image signal that has been subjected to image processing suitable for photographic areas and halftone dot areas with a high number of lines of 100 lines or more.

一方、領域分離回路5は、入力画像中の各画素を線画領
域、網点領域および写真領域のいずれかに分離し、その
分離結果を総合判定部10へ送る。
On the other hand, the region separation circuit 5 separates each pixel in the input image into a line drawing region, a halftone dot region, or a photographic region, and sends the separation result to the comprehensive determination section 10.

また、網点線数判定回路9は、後述するようにして、入
力画像中の網点部分の線数を100線以上であるか、あ
るいは85線以下であるか判定し、その判定結果を総合
判定部10へ送る。
Further, as will be described later, the halftone line number determination circuit 9 determines whether the number of lines in the halftone dot portion in the input image is 100 or more or 85 or less, and uses the determination result for comprehensive judgment. Send to Department 10.

総合判定部10は、前記判定条件■〜■に従って画像領
域の判定を行い、その判定信号を画像信号選択回路6へ
送る。画像信号選択回路6は、総合判定部10の判定信
号に基づき、線画領域および85線以下の低線数の網点
領域の場合には、二値化処理回路2の出力する画像信号
を選択し、また、写真領域および100線以上の高線数
の網点領域の場合には、ディザ処理回路8の出力する画
像信号を選択して出力する。したがって、この第3の実
施例による場合、固定されたサイズの小さい平滑化フィ
ルタのためにモアレの発生するおそれのあった低線数の
網点画像は、線画・低線数網点領域処理部において画像
処理されるため、従来のように線数の低い網点部分にモ
アレを生じるおそれがなくなる。
The comprehensive determination section 10 determines the image area according to the determination conditions (1) to (4), and sends the determination signal to the image signal selection circuit 6. The image signal selection circuit 6 selects the image signal output from the binarization processing circuit 2 in the case of a line drawing area and a halftone dot area with a low line count of 85 lines or less based on the judgment signal of the comprehensive judgment unit 10. In the case of a photographic area and a halftone area with a high number of lines of 100 lines or more, the image signal output from the dither processing circuit 8 is selected and output. Therefore, in the case of this third embodiment, the line drawing/low line number halftone dot image that is likely to cause moiré due to the small fixed size smoothing filter is processed by the line drawing/low line number halftone dot area processing unit. Since the image is processed in the image processing step, there is no risk of moiré occurring in halftone dot areas with a low number of lines, unlike in the conventional method.

第10図中の網点線数判定回路9の具体的な構成例を第
11図に示す。
A specific example of the configuration of the halftone dot number determination circuit 9 in FIG. 10 is shown in FIG.

第11図の網点線数判定回路9は、原理的には第4図の
網点領域分離回路502と同一の回路であって、極点検
出部901は、例えば第5図の3×3画素サイズのマス
クを用い、下記T8) 、 (91式が同時に成立する
とき、その中心画素を山ピーク画素として検出するもの
でる。なお、谷ピーク画素を検出するには、(8)式の
不等号の向きを逆にすればよい。
The halftone line number determination circuit 9 in FIG. 11 is, in principle, the same circuit as the halftone area separation circuit 502 in FIG. When the following T8) and (91 formulas hold true at the same time, the center pixel is detected as a peak pixel.In order to detect a valley peak pixel, the direction of the inequality sign in formula (8) is used to detect the valley peak pixel. You can reverse it.

但し、T112は闇値 極点画素密度算出部902は、前記極点検出部901に
おける山と谷のピーク画素の検出結果に基づき、所定の
小ブロック、例えば16X16画素サイズの小ブロツク
内において山ピーク画素の数P1と谷ピーク画素の数P
2を計数し、山ピーク画素と谷ピーク画素の数をそれぞ
れ求める。
However, at T112, the dark value extreme point pixel density calculation unit 902 calculates the peak pixel density within a predetermined small block, for example, a small block of 16×16 pixel size, based on the detection results of peak and valley peak pixels in the extreme point detection unit 901. The number P1 and the number P of valley peak pixels
2 to find the number of peak pixels and the number of valley peak pixels, respectively.

網点線数判定部903は、前記極点画素密度算出部90
2で求めた2つの計数値P、、P、のうちの大きい方の
値を、予め用意した所定の閾値T113と比較し、P<
TH3のとき、当該小ブロック(あるいは当該小ブロッ
クの代表面素)を低い線数の網点(前記例では85線以
下の網点)であると判定し、また、P≧T113のとき
、当8亥小フ゛ロック(あるいは当該小ブロックの代表
面素)を高い線数のの網点(前記例では100線以上の
網点)であると判定する。
The halftone dot number determination unit 903 includes the pole pixel density calculation unit 90
The larger value of the two count values P, , P, obtained in step 2 is compared with a predetermined threshold value T113 prepared in advance, and P<
When TH3, the small block (or the representative surface element of the small block) is determined to be a halftone dot with a low number of lines (in the above example, a halftone dot with 85 lines or less), and when P≧T113, the corresponding The 8-small block (or the representative surface element of the small block) is determined to be a halftone dot with a high number of lines (in the above example, a halftone dot with 100 lines or more).

なお、極点画素密度算出部902におけるピーク画素数
算出のための小ブロックのサイズと、網点線数判定部9
03における判定のための闇値TH3の値を変えれば、
任意の線数位置で網点を分離判定することができる。
Note that the size of the small block for calculating the peak pixel number in the pole pixel density calculation unit 902 and the halftone line number determination unit 9
If you change the value of darkness value TH3 for judgment in 03,
Halftone dots can be separated and determined at any line number position.

第11図に例示した網点線数判定回路は、所定の局所領
域からなる小ブロックごとに網点線数の判定を行うもの
であるが、さらに、複数の小ブロックの判定結果を利用
して複数の小ブロックの集合から大局的に網点線数を判
定するように構成することもできる。例えば、前記16
X16画素サイズの小ブロックの判定結果を16X16
ブロツク集め、この16X16個のブロック全体で多数
決を採り、網点の線数を判定するようにすればよい。
The halftone dot number determination circuit illustrated in FIG. 11 determines the number of halftone dots for each small block consisting of a predetermined local area. It is also possible to configure the system to globally determine the number of dots from a set of small blocks. For example, the above 16
Judgment result of small block of x16 pixel size is 16x16
The number of halftone dots can be determined by collecting blocks and taking a majority vote among the 16×16 blocks.

〔発明の効果〕〔Effect of the invention〕

以上述べたところから明らかなように、請求項(1)記
載の画像処理装置によるときは、写真、網点および線画
の混在する画像を再生する際に、線画に対しては、白地
上の文字(線を含む)は勿論のこと、網点上の文字につ
いても鮮明に、写真画像に対しては階調性を重視し、ま
た、網点画像に対してはモアレを除去するとともに階調
性を重視して、適応的に画像再生することができる。
As is clear from the above description, when the image processing apparatus according to claim (1) is used, when reproducing an image containing a mixture of photographs, halftone dots, and line drawings, text on a white background is (including lines), as well as letters on halftone dots, we emphasize gradation for photographic images, and remove moiré and gradation for halftone images. It is possible to adaptively reproduce images with emphasis on

また、請求項(2)記載の画像処理装置によるときは、
回路構成をより簡素化しながら、画像領域にに応じた最
適な処理を適応的に実現することができる。
Furthermore, when using the image processing apparatus according to claim (2),
It is possible to adaptively realize optimal processing according to the image area while further simplifying the circuit configuration.

さらに、請求項(3)および(4)記載の画像処理装置
によるときは、写真、網点およびNIA画の混在する画
像を再生する際に、入力画像を線両頭域および低線数の
網点領域と、写真領域および高線数の網点領域に分離し
、それぞれの領域に適した画像処理を施すようにしたの
で、固定されたサイズの小さい平滑化フィルタのために
モアレの発生するおそれのあった低線数の網点画像につ
いてもモアレの発生を防止することができ、より高画質
の画像再生を実現することができる。
Furthermore, when the image processing apparatus according to claims (3) and (4) is used, when reproducing an image containing a mixture of photographs, halftone dots, and NIA images, the input image is converted into double-headed lines and halftone dots with a low number of lines. This method separates the area into photographic areas and high-line dot areas, and performs image processing appropriate for each area. It is possible to prevent the occurrence of moire even in halftone images with a low number of lines, and it is possible to realize higher quality image reproduction.

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

第1図は本発明の第1の実施例のブロック図、第2図は
平均誤差最小法によるディザ処理の説明図、 第3図は第1実施例のための領域分離回路の具体例を示
すブロック図、 第4図は網点領域分離回路の具体例を示ブロック図、 第5図はピーク画素検出の説明図、 第6図は網点候補領域検出の説明図、 第7図は網点領域判定の説明図、 第8図は本発明の第2の実施例のブロック図、第9図は
第2実施例のための領域分離回路の具体例を示すブロッ
ク図である。 第10図は本発明の第3の実施例のブロック図、第11
図は第2実施例のための網点数判定回路の具体例を示す
ブロック図である。 1・・・鮮鋭処理回路 2・・・二値化処理回路 3・・・平均誤差最小処理回路 4・・・ディザ処理回路 5.5′・・・領域分離回路 6・・・画像信号選択回路 7・・・平滑処理回路 8・・・ディザ処理回路 9・・・網点線数判定回路 10・・・総合判定部 「−一711(!1701フーーゴーー過目フロ・ソ2
−−r−旧目7′ロノフニ矩ll 壺 fbl主槃年惟マメ(イず3鳴令 老圏妃滌づめギ]足 第 図 イ゛)ト
FIG. 1 is a block diagram of the first embodiment of the present invention, FIG. 2 is an explanatory diagram of dither processing using the minimum average error method, and FIG. 3 is a specific example of the area separation circuit for the first embodiment. Block diagram: Fig. 4 is a block diagram showing a specific example of the halftone dot area separation circuit; Fig. 5 is an explanatory diagram of peak pixel detection; Fig. 6 is an explanatory diagram of halftone candidate area detection; Fig. 7 is a halftone dot FIG. 8 is a block diagram of a second embodiment of the present invention, and FIG. 9 is a block diagram showing a specific example of a region separation circuit for the second embodiment. FIG. 10 is a block diagram of the third embodiment of the present invention;
The figure is a block diagram showing a specific example of the halftone dot number determination circuit for the second embodiment. 1... Sharpening processing circuit 2... Binarization processing circuit 3... Average error minimum processing circuit 4... Dither processing circuit 5.5'... Area separation circuit 6... Image signal selection circuit 7... Smoothing processing circuit 8... Dithering processing circuit 9... Halftone line number judgment circuit 10... Comprehensive judgment section "-1711 (!1701 Huu-go-Over-mesh Flo-So 2
--r-Old eye 7' Ronofuni rectangle ll pot fbl lord's birthday bean

Claims (4)

【特許請求の範囲】[Claims] (1)写真、網点および線画の混在する画像を再生する
装置において、 入力画像をディジタル多値画像信号に変換する手段と、 変換されたディジタル多値画像信号に組織的ディザ処理
を施す写真領域処理部と、 変換されたディジタル多値画像信号に平均誤差最小法ま
たは誤差拡散法によるディザ処理を施す網点領域処理部
と、 変換されたディジタル多値画像信号に二値化処理を施す
線画領域処理部と、 変換されたディジタル多値画像信号の所定の局所領域内
の画素情報に基づいて入力画像中の各画素を写真領域、
網点領域または線画領域のいずれかに分離する領域分離
部と、 該領域分離部の分離結果に従って前記写真領域処理部、
網点領域処理部または線画領域処理部のいずれかの処理
信号を選択して出力する画像信号選択部とからなること を特徴とする画像処理装置。
(1) In a device that reproduces an image containing a mixture of photographs, halftone dots, and line drawings, means for converting an input image into a digital multi-value image signal, and a photo area for performing systematic dither processing on the converted digital multi-value image signal. a processing section, a halftone area processing section that performs dither processing on the converted digital multi-value image signal using the minimum average error method or an error diffusion method, and a line drawing area that performs binarization processing on the converted digital multi-value image signal. a processing unit; converting each pixel in the input image into a photographic area, based on pixel information within a predetermined local area of the converted digital multilevel image signal;
an area separation unit that separates into either a halftone area or a line drawing area; and the photographic area processing unit according to the separation result of the area separation unit;
An image processing device comprising: an image signal selection unit that selects and outputs a processed signal from either a halftone area processing unit or a line drawing area processing unit.
(2)写真、網点および線画の混在する画像を再生する
装置において、 入力画像をディジタル多値画像信号に変換する手段と、 変換されたディジタル多値画像信号に平均誤差最小法ま
たは誤差拡散法によるディザ処理を施す絵柄領域処理部
と、 変換されたディジタル多値画像信号に二値化処理を施す
線画領域処理部と、 変換されたディジタル多値画像信号の所定の局所領域内
の画素情報に基づいて入力画像中の各画素を線画領域と
それ以外の絵柄領域に分離する領域分離部と、 該領域分離部の分離結果に従って前記絵柄領域処理部ま
たは線画領域処理部のいずれかの処理信号を選択して出
力する画像信号選択部とからなること を特徴とする画像処理装置。
(2) In a device that reproduces an image containing a mixture of photographs, halftone dots, and line drawings, means for converting an input image into a digital multi-value image signal, and applying a minimum average error method or an error diffusion method to the converted digital multi-value image signal. a picture area processing unit that performs dither processing on the converted digital multi-value image signal; a line drawing area processing unit that performs binarization processing on the converted digital multi-value image signal; an area separation unit that separates each pixel in the input image into a line drawing area and other picture areas based on the separation result of the area separation unit; and a processing signal of either the picture area processing unit or the line drawing area processing unit according to the separation result of the area separation unit. An image processing device comprising: an image signal selection unit that selects and outputs an image signal.
(3)写真、網点および線画部の混在する画像を再生す
る装置において、 入力画像をディジタル多値画像信号に変換する画像変換
手段と、 変換されたディジタル多値画像信号に二値化処理を施す
線画・低線数網点領域処理部と、変換されたディジタル
多値画像信号に組織的ディザ処理を施す写真・高線数網
点領域処理部と、 変換されたディジタル多値画像信号の所定の局所領域の
画素情報に基づいて入力画像中の各画素を写真領域、網
点領域または線画領域のいずれかに分離する領域分離部
と、 変換されたディジタル多値画像信号から入力画像中の網
点部の網点線数を判定する網点線数判定部と、 該網点線数判定部の判定結果と前記領域分離部の領域分
離結果に基づいて選択すべき処理信号を決定する総合判
定部と、 該総合判定部の判定結果に従って前記線画・低線数網点
領域処理部または写真・高線数網点領域処理部の処理信
号のいずれかを選択して出力する画像信号選択部とから
なること を特徴とする画像処理装置。
(3) A device that reproduces an image containing a mixture of photographs, halftone dots, and line drawings, which includes an image conversion means for converting an input image into a digital multivalued image signal, and a binarization process for the converted digital multivalued image signal. a line drawing/low line number halftone dot area processing section for performing systematic dither processing on the converted digital multilevel image signal; an area separation unit that separates each pixel in the input image into a photo area, a halftone dot area, or a line drawing area based on pixel information of a local area; a dot number determining unit that determines the number of dots in the dot area; a comprehensive determining unit that determines a processed signal to be selected based on the determination result of the dot number determining unit and the area separation result of the area separation unit; and an image signal selection section that selects and outputs either the processing signal of the line drawing/low line number halftone dot area processing section or the photograph/high line number halftone dot area processing section according to the judgment result of the comprehensive judgment section. An image processing device characterized by:
(4)請求項(3)記載の画像処理装置において、網点
線数判定部は、 ディジタル多値画像信号の所定の局所領域の画素情報に
基づいて網点の山ピークにあたる画素と谷ピークにあた
る画素を検出し、所定の小領域において山ピークにあた
る画素と谷ピークにあたる画素の数をそれぞれ計数し、
該二つの計数値のうちの値の大きい方の計数値に基づい
て網点の線数を判定すること を特徴とする画像処理装置。
(4) In the image processing device according to claim (3), the halftone dot number determination section determines pixels corresponding to the peaks and valleys of the halftone dots based on pixel information of a predetermined local area of the digital multilevel image signal. , and count the number of pixels corresponding to the mountain peak and the number of pixels corresponding to the valley peak in a predetermined small area, respectively.
An image processing apparatus characterized in that the number of halftone dots is determined based on the larger of the two counted values.
JP02090120A 1989-11-30 1990-04-06 Image processing method and apparatus Expired - Lifetime JP3093235B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP30888589 1989-11-30
JP1-308885 1989-11-30

Publications (2)

Publication Number Publication Date
JPH03219774A true JPH03219774A (en) 1991-09-27
JP3093235B2 JP3093235B2 (en) 2000-10-03

Family

ID=17986435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02090120A Expired - Lifetime JP3093235B2 (en) 1989-11-30 1990-04-06 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3093235B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04356869A (en) * 1991-01-30 1992-12-10 Mitsubishi Electric Corp Image processor

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4118886B2 (en) 2005-01-21 2008-07-16 シャープ株式会社 Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4137890B2 (en) 2005-01-21 2008-08-20 シャープ株式会社 Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04356869A (en) * 1991-01-30 1992-12-10 Mitsubishi Electric Corp Image processor

Also Published As

Publication number Publication date
JP3093235B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
JP3100383B2 (en) Character region separation method and apparatus
JP3142279B2 (en) Halftone dot area separation device
JPH03219774A (en) Picture processor
JPH04248766A (en) Image area separation system
JP2972172B2 (en) Halftone area detection method
JP2521745B2 (en) Image processing device
JPH09212642A (en) Image processor
JP2962742B2 (en) Image processing device
JP2772396B2 (en) Image signal processing device
JPH05292312A (en) Dot area separator
JP3007102B2 (en) Image processing device
JP2702133B2 (en) Image processing method
JPS6180969A (en) Picture signal processor
JPH01137378A (en) Picture processing system
JP2507927B2 (en) Image processing device
JP2778669B2 (en) Halftone area detection method
JP3245586B2 (en) Pole pixel detection device
JP2777380B2 (en) Halftone area detection method
JPH04270561A (en) Picture processor
JPH02186876A (en) Picture processor
JPS6180964A (en) Picture signal processing method
JP3146516B2 (en) Image processing device
JPH02292956A (en) Separating method for dot area
JPH11136513A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070728

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080728

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 10