[go: up one dir, main page]

JPH0773336B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH0773336B2
JPH0773336B2 JP60008916A JP891685A JPH0773336B2 JP H0773336 B2 JPH0773336 B2 JP H0773336B2 JP 60008916 A JP60008916 A JP 60008916A JP 891685 A JP891685 A JP 891685A JP H0773336 B2 JPH0773336 B2 JP H0773336B2
Authority
JP
Japan
Prior art keywords
pixel
image
image data
interest
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60008916A
Other languages
Japanese (ja)
Other versions
JPS61169084A (en
Inventor
宏 谷岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60008916A priority Critical patent/JPH0773336B2/en
Publication of JPS61169084A publication Critical patent/JPS61169084A/en
Priority to US08/073,982 priority patent/US5301039A/en
Publication of JPH0773336B2 publication Critical patent/JPH0773336B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明はデジタル複写機,フアクシミリ等に用いて好適
な画像の識別機能を備えた画像処理装置に関する。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus having an image identification function suitable for use in a digital copying machine, facsimile, or the like.

〔従来技術〕[Prior art]

この種の装置においては、注目画素近傍の濃度差を利用
して注目画素の画調(画像の性質あるいは特性)を識別
する装置、あるいは2値化画像を4×4程度の領域(ブ
ロツク)に分割し、そのブロツク内のドツト配列よりブ
ロツク毎に画調を識別する装置等が考えられる。しかし
ながら前者は、6ビツト程度の演算を行なわねばなら
ず、低コストでは実現出来ない。又、後者は1ビツト判
定の為に精度が悪いという欠点を有している。
In this type of device, a device for identifying the image tone (characteristic or characteristic of the image) of the pixel of interest by utilizing the density difference in the vicinity of the pixel of interest, or a binarized image in an area (block) of about 4 × 4. An apparatus or the like that divides and identifies the image tone for each block based on the dot arrangement in the block can be considered. However, the former has to perform a calculation of about 6 bits and cannot be realized at a low cost. Further, the latter has a drawback that the accuracy is poor because of the 1-bit judgment.

〔目的〕〔Purpose〕

本発明は以上の点に鑑みてなされたもので、比較的簡単
な構成で画像の特徴を精度良く識別することができる画
像処理装置を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide an image processing apparatus capable of accurately identifying image features with a relatively simple configuration.

〔実施例〕〔Example〕

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

第1図は注目画素Aを含む近傍4画素を示すものであ
り、第1図を用いて本実施例における画像の識別方法に
ついて説明する。本実施例においては量子化された6ビ
ツトの画像データの内上位2ビツトを用いて画素毎に画
調を識別する。注目画素Aと隣接する画素B,C,D,E中に
おいて最大濃度Lmaxと最小濃度Lminを求め濃度勾配ΔL
を算出する。そして (1)ΔL=Lmax−Lmin≧2の時 (ΔL=2又は3の時) ……注目画素は文字等の線画像のエッヂ部に属する。
FIG. 1 shows four neighboring pixels including the target pixel A. An image identifying method in this embodiment will be described with reference to FIG. In this embodiment, the image tone is identified for each pixel by using the upper 2 bits of the quantized image data of 6 bits. The maximum density Lmax and the minimum density Lmin are calculated in the pixels B, C, D and E adjacent to the target pixel A, and the density gradient ΔL
To calculate. (1) When ΔL = Lmax−Lmin ≧ 2 (when ΔL = 2 or 3) ... The pixel of interest belongs to the edge portion of a line image such as a character.

(2)ΔL=Lmax−Lmin<2の時 (ΔL=0又は1の時) ……注目画素は写真等の中間調領域に属する。(2) When ΔL = Lmax−Lmin <2 (when ΔL = 0 or 1) ... The pixel of interest belongs to the halftone region of a photograph or the like.

と判断し、注目画素が文字等のエッヂ部であると判断し
たときは注目画素を一定閾値で2値化し、写真等の中間
調画像であると判断したときは注目画素をディザ処理に
より2値化するものである。
If the pixel of interest is determined to be an edge portion such as a character, the pixel of interest is binarized with a fixed threshold value, and if it is determined to be a halftone image such as a photograph, the pixel of interest is binarized by dither processing. It will be transformed.

文字部はそのエッヂ部において、1次元方向に1〜2画
素でも鮮明に2値化すれば、例えその文字内部がディザ
処理(中間調処理)されたとしても再生文字の品位は格
段に向上する。但しそのエッヂ部は2次元的に2値化処
理されなければならない。
If the character part is sharply binarized even in one or two pixels in the one-dimensional direction in the edge part, the quality of the reproduced character is remarkably improved even if the inside of the character is dithered (halftone processing). . However, the edge portion must be binarized two-dimensionally.

本実施例においては上述の識別方法を用いることにより
文字部のエッヂ部を2次元的に識別し、高品位の文字を
再現するものである。
In this embodiment, the edge portion of the character portion is two-dimensionally identified by using the above-described identification method, and a high-quality character is reproduced.

第2図は画像データの2値化を行なうとともに上述の識
別を実行する画像処理装置の回路図の一例であり、ライ
ン上の数値は画像データのビツト数を示す。図中1は例
えばCCD等の固体撮像素子(センサー)1a及びセンサー1
aからの出力を6ビツトの画像データに量子化するA/D変
換器1bを有する原稿読取部である。尚、この原稿読取部
はラインセンサーを有し、原稿を電気的にライン方向
(主走査方向)に走査するとともに機械的にライン方向
と垂直方向(副走査方向)に走査して原稿全体を読取る
ものである。3は順次入力される6ビツトの画像データ
と所定の閾値(固定閾値)とを比較して2値化信号
“1",“0"を出力する単純2値化回路であり、第1図を
用いて更に説明するならば単純2値化回路3は主走査方
向Xに沿って順次2値化信号を出力するとともに、例え
ば第1のライン1の出力が終了すると続いて第2のラ
インl2の出力を開始する。4は順次入力される6ビツト
画像データと所定のディザマトリクスの各閾値とを比較
して中間調処理された2値化データを出力するディザ処
理回路であり、このディザ処理回路の動作と単純2値化
回路3の動作は並行して行なわれる。
FIG. 2 is an example of a circuit diagram of an image processing apparatus for binarizing image data and executing the above-mentioned discrimination, and the numerical value on the line indicates the bit number of the image data. In the figure, 1 is a solid-state image sensor (sensor) 1a and sensor 1 such as CCD.
An original reading unit having an A / D converter 1b for quantizing the output from a into 6-bit image data. The document reading unit has a line sensor to electrically scan the document in the line direction (main scanning direction) and mechanically scan the document in the direction perpendicular to the line direction (sub scanning direction) to read the entire document. It is a thing. Reference numeral 3 is a simple binarization circuit that compares the 6-bit image data sequentially input with a predetermined threshold value (fixed threshold value) and outputs binarized signals "1" and "0". To explain further, the simple binarization circuit 3 sequentially outputs binarization signals along the main scanning direction X, and, for example, when the output of the first line 1 is completed, the second line l2 Start output. Reference numeral 4 is a dither processing circuit that compares the 6-bit image data that is sequentially input with each threshold value of a predetermined dither matrix and outputs halftone-processed binarized data. The operation of the digitizing circuit 3 is performed in parallel.

7は単純2値化回路3から出力された2値化信号を副走
査方向に1ライン分遅延させる遅延用RAM、同様に8は
ディザ処理回路4から出力された2値化信号を1ライン
分遅延させる遅延用RAMである。又、15,16はデイレイド
フリツプフロツプ回路(D−F/F回路)でそれぞれ遅延
用RAM7,8からの2値化出力を主走査方向に1画素分づつ
遅延させる。
Reference numeral 7 is a delay RAM for delaying the binarized signal output from the simple binarization circuit 3 by one line in the sub-scanning direction. Similarly, 8 is the binarized signal output from the dither processing circuit 4 for one line. It is a delay RAM that delays. Reference numerals 15 and 16 denote delay flip-flop circuits (DF / F circuits) which delay the binarized outputs from the delay RAMs 7 and 8 by one pixel in the main scanning direction.

5,6は原稿読取部1から出力される6ビツトの画像デー
タの内上位2ビツトを入力し、副走査方向に1ライン分
づつ遅延させる遅延用RAM、9〜12はD〜F/F回路で遅延
用RAM5,6からの2ビツトの画像データを主走査方向に1
画素分づつ遅延させる。
Reference numerals 5 and 6 are delay RAMs for inputting the upper 2 bits of the 6-bit image data output from the document reading unit 1 and delaying them by one line in the sub-scanning direction. Reference numerals 9 to 12 are D to F / F circuits. 2 bit image data from the delay RAMs 5 and 6 in the main scanning direction
Delay by pixel.

本実施例においては遅延用RAM5,6、D−F/F回路9〜1
2、ROM13を用いて識別回路を構成し、注目画素毎に画調
の識別を行なっている。
In this embodiment, the delay RAMs 5 and 6 and the D-F / F circuits 9 to 1 are used.
2. A discrimination circuit is constructed by using the ROM 13 to discriminate image tone for each pixel of interest.

今、第1図に示す注目画素Aに隣接する画素DがD−F/
F回路9から出力されるとすれば、1ライン遅延されたR
AM5からは画素Eが、RAM5の出力を1画素分遅延させた
D−F/F回路10からは注目画素Aが、D−F/F回路10の出
力を更に1画素分遅延させたD−F/F回路12からは画素
Cが、又RAM5の出力を更にRAM6で1ライン遅延させ、RA
M6の出力を1画素分遅延させたD−F/F回路11からは画
素Bが出力される。上記構成により注目画素Aと隣接す
る画素B,C,D,Eの2ビツト濃度データは同時に検出する
ことが出来る。これらの各画素データA〜EはROM(メ
モリ)13の各アドレス端子A0〜A9に入力される。
Now, the pixel D adjacent to the target pixel A shown in FIG.
If it is output from the F circuit 9, R delayed by one line
The pixel E is delayed from the AM5 by the pixel E, the output of the RAM5 is delayed by one pixel, and the target pixel A is delayed from the D-F / F circuit 10, and the output of the D-F / F circuit 10 is further delayed by one pixel D-. From the F / F circuit 12, the pixel C and the output of RAM5 are further delayed by one line in RAM6, and RA
The pixel B is output from the D-F / F circuit 11 in which the output of M6 is delayed by one pixel. With the above configuration, the 2-bit density data of the pixel B, C, D and E adjacent to the pixel of interest A can be detected simultaneously. The pixel data A to E are input to the address terminals A0 to A9 of the ROM (memory) 13.

ROM13の内部にはあらかじめアドレスに応じて“0"又は
“1"の識別結果が格納されており、注目画素Aが文字等
のエッヂ部であるか、写真等の中間調画像であるかを判
定を行なうことが出来る様に構成されている。
An identification result of "0" or "1" is stored in advance in the ROM 13 according to the address, and it is determined whether the target pixel A is an edge portion such as a character or a halftone image such as a photograph. It is configured to be able to do.

つまりROM13は5画素A〜Eがそれぞれ2ビツト(0〜
3)内で変化する全ての場合に対応したアドレスを有し
ており、この全アドレスに対応して“0"又は“1"の識別
結果を記憶させておくものである。
That is, the ROM 13 has 2 bits (0 to 5 pixels) for each of 5 pixels A to E.
It has an address corresponding to all cases that change in 3), and stores the identification result of "0" or "1" corresponding to all the addresses.

従ってROM13内では前述のLmax−Lminの演算及びこの演
算結果に応じた画調の判定と同等の処理が行なわれる。
本実施例においては注目画素が文字等のエツヂ部である
と判断したときは識別結果“1"を出力し、中間調画像で
あると判断したときは識別結果“0"を出力する様構成し
ている。
Therefore, in the ROM 13, the same processing as the above-described calculation of Lmax-Lmin and the determination of the image tone according to the calculation result is performed.
In this embodiment, the discrimination result “1” is output when it is determined that the pixel of interest is an edge portion such as a character, and the discrimination result “0” is output when it is determined that it is a halftone image. ing.

ROM13の出力が“1"の時にはマルチプレクサ14のセレク
ト端子5に“1"が入力され、A端子入力、つまり一定閾
値で2値化された注目画素データが選択され、プリンタ
17に出力される。尚、プリンタ17はレーザビームプリン
タ等の2値プリンタであり、入力された2値データに応
じてドツトを形成し画像を記録する。一方ROM13の出力
が“0"の時にはB端子入力が選択され、ディザ処理され
た2値化信号が選択される。尚、遅延用RAM7,8及びD−
F/F回路15,16は識別結果と注目画素との出力タイミング
を合わせるために用いられる。
When the output of the ROM 13 is "1", "1" is input to the select terminal 5 of the multiplexer 14, and the A terminal input, that is, the pixel data of interest binarized by a certain threshold value is selected,
Output to 17. The printer 17 is a binary printer such as a laser beam printer, and forms dots according to the inputted binary data and records an image. On the other hand, when the output of the ROM 13 is "0", the B terminal input is selected and the dithered binarized signal is selected. In addition, delay RAM7,8 and D-
The F / F circuits 15 and 16 are used to match the output timings of the identification result and the target pixel.

以上説明した如き構成によりリアルタイムで1画素毎に
画調の識別を精度良く行なうとともに画像を2値化出来
るものである。本実施例においては6ビツトの画像デー
タ中上位2ビツトをアドレスとしてROMに直接入力し、R
OMから判定結果を出力する様構成したので、回路規模が
小さくて済み、上述の判別方法に限らず種々のアルゴリ
ズムを適用できるものである。
With the configuration as described above, the image tone can be accurately identified for each pixel in real time and the image can be binarized. In this embodiment, the upper 2 bits of the 6-bit image data are directly input to the ROM as an address, and R
Since the determination result is output from the OM, the circuit scale can be small, and various algorithms can be applied without being limited to the above-mentioned determination method.

例えば、注目画素が最大、あるいは最小濃度値である場
合、もし濃度差ΔLが2又は3であったとしても中間調
の部分であると判定しても良い。この様に最大,最小濃
度値の位置関係を加味することにより更に精度良く画像
を識別できる。
For example, when the pixel of interest has the maximum or minimum density value, even if the density difference ΔL is 2 or 3, it may be determined to be a halftone portion. By adding the positional relationship between the maximum and minimum density values in this manner, the image can be identified with higher accuracy.

他の実施例として注目画素Aに隣接する4画素を第1図
F〜Iで示される如く対角線上に設定してもよい。又使
用するROMの容量が充分大きければ第1図B〜Iで示さ
れる如く隣接する8画素を判定の為に用いても良い。
又、第3図に示される各画素の内、注目画素A及び隣接
画素B,D,J,Kを用いて注目画素の画調を識別する様にし
ても良い。又、単純2値化回路3,ディザ処理回路4はコ
ンパレータを用いずROM等で構成し、6ビツトの画像デ
ータをアドレスとして直接入力させ、処理結果を出力す
る様にしても良い。
As another embodiment, four pixels adjacent to the target pixel A may be set on a diagonal line as shown in FIGS. If the capacity of the ROM used is sufficiently large, eight adjacent pixels may be used for the determination as shown in FIGS.
Further, among the pixels shown in FIG. 3, the pixel of interest may be identified by using the pixel of interest A and the adjacent pixels B, D, J, and K. Further, the simple binarization circuit 3 and the dither processing circuit 4 may be constituted by a ROM or the like without using a comparator, and 6-bit image data may be directly input as an address and the processing result may be output.

〔効果〕〔effect〕

以上の様に本発明によれば、注目画素の画像データによ
って表される画像の特徴を識別するにあたり、注目画素
に隣接する複数画素の画像データを用い、しかもnビッ
ト(1<n)の画像データを用いるので、精度良く識別
することができ、さらに入力された画像データのビット
数mより少ないnビットの画像データを用いるので、比
較的簡単な構成で識別することができる。
As described above, according to the present invention, in identifying the feature of the image represented by the image data of the pixel of interest, image data of a plurality of pixels adjacent to the pixel of interest is used, and an image of n bits (1 <n) is used. Since data is used, identification can be performed with high accuracy, and since n-bit image data, which is smaller than the number m of bits of input image data, is used, identification can be performed with a relatively simple configuration.

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

第1図は本実施例における画像の識別方法を説明する為
の図、第2図は本実施例における画像処理装置を示す
図、第3図は他の識別方法を説明する為の図である。 ここで1は原稿読取部、3は単純2値化回路、4はディ
ザ処理回路、5〜8は遅延用RAM、9〜12,15,16はデイ
レイドフリツプフロツプ回路、13はROM、14はマルチプ
レクサ、17はプリンタである。
FIG. 1 is a diagram for explaining an image identifying method in the present embodiment, FIG. 2 is a diagram showing an image processing apparatus in the present embodiment, and FIG. 3 is a diagram for explaining another identifying method. . Here, 1 is a document reading unit, 3 is a simple binarization circuit, 4 is a dither processing circuit, 5-8 are delay RAMs, 9-12, 15, 16 are delayed flip-flop circuits, 13 is a ROM, 14 is a multiplexer and 17 is a printer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された画像データによって表される画
像の特徴に応じて該画像データを処理する画像処理装置
において、 mビットの画像データを画素毎に入力する入力手段と、 前記入力手段により入力されたmビットの画像データを
画素毎に中間レベルを含むnビット(1<n<m)に変
換し、注目画素のnビットの画像データ及び該注目画素
に隣接する複数画素のnビットの画像データに基づいて
前記注目画素の画像データによって表される画像の特徴
を識別する識別手段と、 前記識別手段による識別結果に応じて前記入力手段によ
り入力された注目画素のmビットの画像データを処理す
る処理手段とを有することを特徴とする画像処理装置。
1. An image processing apparatus for processing image data according to the characteristics of an image represented by the input image data, comprising: input means for inputting m-bit image data for each pixel; The input m-bit image data is converted into n bits (1 <n <m) including an intermediate level for each pixel, and the n-bit image data of the pixel of interest and the n-bit image of a plurality of pixels adjacent to the pixel of interest are converted. Identification means for identifying the feature of the image represented by the image data of the target pixel based on the image data; and m-bit image data of the target pixel input by the input means according to the identification result by the identification means. An image processing apparatus comprising: a processing unit for processing.
JP60008916A 1985-01-21 1985-01-21 Image processing device Expired - Lifetime JPH0773336B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60008916A JPH0773336B2 (en) 1985-01-21 1985-01-21 Image processing device
US08/073,982 US5301039A (en) 1985-01-21 1993-06-08 Image processing apparatus with pixel tone discrimination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60008916A JPH0773336B2 (en) 1985-01-21 1985-01-21 Image processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP8164466A Division JP2608397B2 (en) 1996-06-25 1996-06-25 Image processing device

Publications (2)

Publication Number Publication Date
JPS61169084A JPS61169084A (en) 1986-07-30
JPH0773336B2 true JPH0773336B2 (en) 1995-08-02

Family

ID=11705979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60008916A Expired - Lifetime JPH0773336B2 (en) 1985-01-21 1985-01-21 Image processing device

Country Status (1)

Country Link
JP (1) JPH0773336B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295570A (en) * 1988-05-23 1989-11-29 Mitsubishi Electric Corp Picture processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL8005650A (en) * 1980-10-14 1982-05-03 Philips Nv THREE-DIMENSIONAL TELEVISION IMAGE DISPLAY SYSTEM AND IMAGE RECORDING DEVICE AND IMAGE SUITABLE FOR THAT.
JPS59223073A (en) * 1983-06-01 1984-12-14 Canon Inc Picture processor

Also Published As

Publication number Publication date
JPS61169084A (en) 1986-07-30

Similar Documents

Publication Publication Date Title
US4786976A (en) Image processing apparatus
JPH045305B2 (en)
JPS6198069A (en) Image processor
NL9300684A (en) Method of halftoning digitized gray value images and image processing apparatus suitable for performing such a method.
JPS63279665A (en) Picture area discriminating device
US5351138A (en) Image area discriminating device
JPH0775397B2 (en) Image processing device
US5301039A (en) Image processing apparatus with pixel tone discrimination
US4698690A (en) Image signal processor
EP0382580B1 (en) Image processing apparatus
JPH0773336B2 (en) Image processing device
US5299030A (en) Image data processing method and apparatus with mixture of simple binarization and psuedo intermediate tone
JP2662515B2 (en) Image processing device
JP2608397B2 (en) Image processing device
JPS62107573A (en) Image processor
EP0404236A1 (en) Image segmentation method and device
US5278672A (en) Image signal processing apparatus
JPS61169083A (en) Image processing system
JPH05183737A (en) Picture processor
JPS61225975A (en) Conversion to binary signal
JPS6259512B2 (en)
JPS6080365A (en) Processor of pseudo medium gradation picture
KR930007979B1 (en) Halftone image representation
JP2629183B2 (en) Image area identification device
JPH0722335B2 (en) Image forming device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term