JPH05191642A - Picture output device - Google Patents

Picture output device

Info

Publication number
JPH05191642A
JPH05191642A JP4021868A JP2186892A JPH05191642A JP H05191642 A JPH05191642 A JP H05191642A JP 4021868 A JP4021868 A JP 4021868A JP 2186892 A JP2186892 A JP 2186892A JP H05191642 A JPH05191642 A JP H05191642A
Authority
JP
Japan
Prior art keywords
processing
pixel
image quality
image data
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4021868A
Other languages
Japanese (ja)
Inventor
Yoshiaki Haniyu
嘉昭 羽生
Takashi Sato
隆 佐藤
Hitomi Kumazaki
ひとみ 熊崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP4021868A priority Critical patent/JPH05191642A/en
Publication of JPH05191642A publication Critical patent/JPH05191642A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To improve the picture quality of image data such as character data or line drawing data and the picture quality of image data such as pattern data. CONSTITUTION:This device is provided with a latch means 207a latching plural picture elements, a 1st picture quality improvement processing means 207b comparing plural picture elements with a comparison pattern and converting binary image data of a noted picture element into multi-value image data when they are coincident and outputting the binary image data as they are when noncoincident, a 2nd picture quality improvement processing means 207d receiving plural picture elements and converting the binary image data of the noted picture element into the multi-value image data through the use of spatial filtering processing and outputting the converted data, an area discrimination means 207e discriminating whether plural picture elements are resident in a character/line drawing area or in a pattern area, and a selection output means 207f outputting selectively the processing result of the 1st picture quality improvement processing means 207b or that of the 2nd picture quality improvement processing means 207d based on the result of the discrimination by the area discrimination means 207e.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリンタ,ファクシミリ
装置等の画像出力装置に関し,より詳細には,出力画像
の印字品質の向上を図った画像出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image output device such as a printer or a facsimile device, and more particularly to an image output device for improving print quality of an output image.

【0002】[0002]

【従来の技術】近年,2値のイメージデータを多値化
し,レーザビームを用いて印字する画像出力装置が開発
されており,例えば,特開平2−112966号公報に
開示されている装置がある。この装置は,ビットパター
ン・イメージの画像データ(2値のイメージデータ)を
入力して,着目画素の周辺m×n領域と予め蓄えられた
m×n領域の比較パターンとをパターンマッチング処理
で比較し,一致した場合に着目画素の2値画像を多値画
像に変換して印字するものである。これにより,出力画
像の画質向上を図ることができる。
2. Description of the Related Art In recent years, an image output device for converting binary image data into multiple values and printing by using a laser beam has been developed. For example, there is a device disclosed in Japanese Patent Laid-Open No. 2-112966. .. This device inputs image data of a bit pattern image (binary image data) and compares the peripheral m × n region of the pixel of interest with a comparison pattern of the m × n region stored in advance by pattern matching processing. Then, when they match, the binary image of the pixel of interest is converted into a multi-valued image and printed. As a result, the quality of the output image can be improved.

【0003】[0003]

【発明が解決しようとする課題】しかしながら,従来の
2値のイメージデータを多値化し,レーザビームを用い
て印字する画像出力装置によれば,パターンマッチング
処理で使用するm×n領域の比較パターンは,実際には
文字,線画等の連続したパターンのみであるため,スキ
ャナー等で読み取られた絵柄等のイメージデータに対し
ては画質の向上を望めないという問題点があった。
However, according to the conventional image output apparatus which multi-values binary image data and prints it by using the laser beam, the comparison pattern of the m × n area used in the pattern matching process is obtained. In reality, since there are only continuous patterns such as characters and line drawings, there is a problem in that the image quality cannot be improved for image data such as pictures read by a scanner or the like.

【0004】また,絵柄等のイメージデータに対して画
質の向上を図れるように,m×n領域の全てのパターン
を格納すると,2mnビットのメモリ容量が必要となるた
め,コストの上昇を招くという問題点や,比較パターン
の数が増えるため,処理速度が低下するという問題点が
発生する。
Further, if all the patterns in the m × n area are stored so that the image quality of image data such as a picture can be improved, a memory capacity of 2 mn bits is required, resulting in an increase in cost. However, since the number of comparison patterns increases, the processing speed decreases.

【0005】本発明は上記に鑑みてなされてものであっ
て,文字,線画等のイメージデータの画質向上ととも
に,絵柄等のイメージデータの画質向上を図ることを目
的とする。
The present invention has been made in view of the above, and it is an object of the present invention to improve the image quality of image data such as characters and line drawings and the image quality of image data such as patterns.

【0006】また,本発明は上記に鑑みてなされてもの
であって,コストの上昇及び処理速度の低下を招くこと
なく,絵柄等のイメージデータの画質向上を図ることを
目的とする。
Further, the present invention has been made in view of the above, and it is an object of the present invention to improve the image quality of image data such as a pattern without causing an increase in cost and a decrease in processing speed.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を達
成するために,着目画素に隣接する複数画素を保持する
保持手段と,保持手段で保持した複数画素と予め記憶し
てある比較パターンとをパターンマッチング処理で比較
し,比較パターンと一致した場合,着目画素の2値のイ
メージデータを多値のイメージデータに変換し,一致し
ない場合,2値のイメージデータをそのまま出力する第
1の画質向上処理手段と,保持手段で保持した複数画素
を入力し,空間フィルタリング処理を用いて着目画素の
2値のイメージデータを多値のイメージデータに変換し
て出力する第2の画質向上処理手段と,保持手段で保持
した複数画素が文字・線画領域であるか,或いは,絵柄
領域であるかを判定する領域判定手段と,領域判定手段
の判定結果に基づいて,第1の画質向上処理手段或いは
第2の画質向上処理手段の処理結果を選択的に出力する
選択出力手段とを備えた画像出力装置を提供するもので
ある。
In order to achieve the above object, the present invention provides a holding means for holding a plurality of pixels adjacent to a target pixel, and a comparison pattern stored in advance with the plurality of pixels held by the holding means. Are compared in a pattern matching process, and if they match the comparison pattern, the binary image data of the pixel of interest are converted into multi-valued image data, and if they do not match, the binary image data is output as it is. Second image quality improvement processing means for inputting image quality improvement processing means and a plurality of pixels held by the holding means, converting binary image data of a pixel of interest into multivalued image data using spatial filtering processing, and outputting the multivalued image data Based on the determination result of the area determination means and the area determination means for determining whether the plurality of pixels held by the holding means is a character / line drawing area or a pattern area. Te, there is provided an image output device that includes a selection output means for outputting the processing result of the first image quality enhancement means or the second image quality enhancement means selectively.

【0008】また,本発明は上記の目的を達成するため
に,文字,線画の多い原稿であることを示す第1の処理
モード,写真,網点等の絵柄の多い原稿であることを示
す第2のモード,及び,文字,線画,写真,網点等が混
在する原稿であることを示す第3の処理モードの3つの
処理モードを択一的に指定するための指定手段と,原画
像である2値のイメージデータを記憶する記憶手段と,
指定手段で指定された処理モードに基づいて複数の画質
向上処理の中から最適な画質向上処理を選択し,2値の
イメージデータに対して最適な画質向上処理を実行し,
2値或いは多値のイメージデータを出力する画質向上処
理手段と,画質向上処理手段を介して入力した2値或い
は多値のイメージデータに基づいて,レーザ書込みを行
う多値レーザ書込み手段とを備えた画像出力装置を提供
するものである。
In order to achieve the above object, the present invention shows a first processing mode indicating that the original has many characters and line drawings, and that the original has many pictures such as photographs and halftone dots. The second mode and the designation means for selectively designating the three processing modes of the third processing mode indicating that the original is a mixture of characters, line drawings, photographs, halftone dots, etc. Storage means for storing certain binary image data,
The optimum image quality improving process is selected from a plurality of image quality improving processes based on the processing mode specified by the specifying means, and the optimum image quality improving process is executed on the binary image data.
Image quality improvement processing means for outputting binary or multi-valued image data, and multi-valued laser writing means for performing laser writing based on the binary or multi-valued image data input via the image quality improvement processing means. And an image output device.

【0009】また,本発明は上記の目的を達成するため
に,文字,線画の多い原稿であることを示す第1の処理
モード,写真,及び,網点等の絵柄の多い原稿であるこ
とを示す第2のモードの2つの処理モードを択一的に指
定するための指定手段と,原画像である2値のイメージ
データを記憶する記憶手段と,着目画素に隣接する複数
画素を保持する保持手段と,保持手段で保持した複数画
素と予め記憶してある比較パターンとをパターンマッチ
ング処理で比較し,比較パターンと一致した場合,着目
画素の2値のイメージデータを多値のイメージデータに
変換し,一致しない場合,2値のイメージデータをその
まま出力する第1の画質向上処理手段と,保持手段で保
持した複数画素を入力し,空間フィルタリング処理を用
いて着目画素の2値のイメージデータを多値のイメージ
データに変換して出力する第2の画質向上処理手段と,
指定手段で指定された処理モードに基づいて,第1の画
質向上処理手段或いは第2の画質向上処理手段の処理結
果を選択的に出力する選択出力手段と,選択出力手段を
介して入力した2値或いは多値のイメージデータに基づ
いて,レーザ書込みを行う多値レーザ書込み手段とを備
えた画像出力装置を提供するものである。
Further, in order to achieve the above object, the present invention provides a document having a large number of characters such as a first processing mode indicating that the document has many characters and line drawings, a photograph, and halftone dots. Designating means for selectively designating two processing modes of the second mode shown, storage means for storing binary image data which is an original image, and holding for holding a plurality of pixels adjacent to the pixel of interest Means and a plurality of pixels held by the holding means and a comparison pattern stored in advance are compared by a pattern matching process, and if they match the comparison pattern, the binary image data of the pixel of interest is converted into multivalued image data. However, if they do not match, the first image quality improvement processing unit that outputs the binary image data as it is and a plurality of pixels held by the holding unit are input, and two pixels of the target pixel are input using the spatial filtering process. A second image quality enhancement means for converting the multivalued image data to image data of,
Based on the processing mode designated by the designating means, a selection output means for selectively outputting the processing result of the first image quality improvement processing means or the second image quality improvement processing means, and 2 inputted via the selection output means. An image output device provided with a multi-valued laser writing means for performing laser writing on the basis of value or multi-valued image data.

【0010】尚,前述した構成において,前記選択出力
手段は,第1の処理モードの場合,第1の画質向上処理
手段の処理結果を選択出力することが望ましい。
In the above-mentioned structure, it is desirable that the selection output means selectively outputs the processing result of the first image quality improvement processing means in the first processing mode.

【0011】また,前記選択出力手段は,第2の処理モ
ードの場合,第2の画質向上処理手段の処理結果を選択
出力することが望ましい。
In the second processing mode, it is desirable that the selection output means selectively outputs the processing result of the second image quality improvement processing means.

【0012】また,前述した構成に加えて,保持手段で
保持した複数画素に対して,その領域が文字・線画領域
であるか,或いは,絵柄領域であるかを判定する領域判
定手段を備え,指定手段は,文字,線画,写真,網点等
が混在する原稿であることを示す第3の処理モードの指
定が可能であり,且つ,選択出力手段は,第3の処理モ
ードの場合,領域判定手段の判定結果に基づいて,第1
の画質向上処理手段或いは第2の画質向上処理手段の処
理結果を選択的に出力することが望ましい。
In addition to the above-mentioned structure, the plurality of pixels held by the holding means are provided with area judging means for judging whether the area is a character / line drawing area or a pattern area. The designating means is capable of designating a third processing mode indicating that the original is a mixture of characters, line drawings, photographs, halftone dots, etc., and the selecting and outputting means is a region in the case of the third processing mode. Based on the determination result of the determination means, the first
It is desirable to selectively output the processing result of the image quality improvement processing means or the second image quality improvement processing means.

【0013】また,前記領域判定手段は,着目画素に隣
接する複数画素の縦方向及び横方向の白・黒画素の連続
性を検出し,その結果を所望の大きさに膨張処理する白
黒画素連続性検出手段と,着目画素に隣接する複数画素
の白画素の塊を検出し,その結果を所望の大きさに膨張
処理する白地検出手段とを備え,白黒画素連続性検出手
段の膨張処理結果,白地検出手段の膨張処理結果,及
び,第1の画質向上処理手段におけるパターンマッチン
グ処理の比較結果に基づいて,その着目画素の領域が文
字・線画領域であるか,或いは,絵柄領域であるかを判
定することが望ましい。
Further, the area determination means detects the continuity of white and black pixels in the vertical and horizontal directions of a plurality of pixels adjacent to the pixel of interest, and expands the result to a desired size to continue the black and white pixel continuation. And a white background detecting means for detecting a cluster of white pixels of a plurality of pixels adjacent to the pixel of interest and expanding the result to a desired size. The expansion processing result of the black and white pixel continuity detecting means, Based on the expansion processing result of the white background detecting means and the comparison result of the pattern matching processing in the first image quality improving processing means, whether the area of the pixel of interest is a character / line drawing area or a pattern area is determined. It is desirable to judge.

【0014】また,前記領域判定手段は,着目画素が白
地検出手段で検出された画素であり,且つ,着目画素に
対する第1の画質向上処理手段のパターンマッチング処
理の比較結果が一致の場合,その着目画素の領域が文字
・線画領域であると判定し,選択出力手段は,領域判定
手段の判定結果が文字・線画領域の場合に第1の画質向
上処理手段の処理結果を出力することが望ましい。
Further, when the target pixel is a pixel detected by the white background detecting means and the comparison result of the pattern matching processing of the first image quality improving processing means with respect to the target pixel is coincident, the area determining means determines that It is desirable that the area of the pixel of interest is determined to be a character / line drawing area, and the selection output means outputs the processing result of the first image quality improvement processing means when the determination result of the area determination means is the character / line drawing area. ..

【0015】また,前記領域判定手段は,着目画素が白
地検出手段で検出され,且つ,白黒画素連続性検出手段
で検出された画素である場合,その着目画素の領域が文
字・線画領域であると判定し,選択出力手段は,領域判
定手段の判定結果が文字・線画領域の場合に第1の画質
向上処理手段の処理結果を出力することが望ましい。
In the area determining means, when the pixel of interest is a pixel detected by the white background detecting means and detected by the black and white pixel continuity detecting means, the area of the pixel of interest is a character / line drawing area. It is desirable that the selection output means outputs the processing result of the first image quality improvement processing means when the determination result of the area determination means is a character / line drawing area.

【0016】また,前記領域判定手段は,着目画素が白
地検出手段で検出されず,白黒画素連続性検出手段で検
出された画素であり,且つ,第1の画質向上処理手段の
パターンマッチング処理の比較結果が一致しない場合,
その着目画素の領域が絵柄領域であると判定し,選択出
力手段は,領域判定手段の判定結果が絵柄領域の場合に
第2の画質向上処理手段の処理結果を出力することが望
ましい。
The area determining means is a pixel in which the target pixel is not detected by the white background detecting means but is detected by the black and white pixel continuity detecting means, and the pattern matching processing of the first image quality improving processing means is performed. If the comparison results do not match,
It is desirable that the area of the pixel of interest is determined to be the picture area, and the selection output means outputs the processing result of the second image quality improvement processing means when the judgment result of the area judgment means is the picture area.

【0017】[0017]

【作用】本発明の画像出力装置において,選択出力手段
は,領域判定手段の判定結果に基づいて,第1の画質向
上処理手段或いは第2の画質向上処理手段の処理結果を
選択的に出力する。これにより複数の画質向上処理の中
から最適な画質向上処理を選択し,2値のイメージデー
タに対して最適な画質向上処理を実行する。
In the image output apparatus of the present invention, the selective output means selectively outputs the processing result of the first image quality improvement processing means or the second image quality improvement processing means based on the determination result of the area determination means. .. As a result, the optimum image quality improving process is selected from the plurality of image quality improving processes, and the optimum image quality improving process is executed for the binary image data.

【0018】また,本発明の画像出力装置において,指
定手段を介して,原稿の種類に基づいて,該当する処理
モードを指定すると,画質向上処理手段は,指定手段で
指定された処理モードに基づいて複数の画質向上処理の
中から最適な画質向上処理を選択し,2値のイメージデ
ータに対して最適な画質向上処理を実行する。
Further, in the image output apparatus of the present invention, when the corresponding processing mode is designated based on the type of the original document via the designating means, the image quality improving processing means is based on the processing mode designated by the designating means. The optimum image quality improvement process is selected from a plurality of image quality improvement processes, and the optimal image quality improvement process is executed for the binary image data.

【0019】[0019]

【実施例】以下,本発明の画像出力装置を適用したレー
ザプリンタを一実施例として,図面を参照して詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A laser printer to which an image output device of the present invention is applied will be described below in detail with reference to the drawings.

【0020】図1は,本実施例のレーザプリンタ(画像
出力装置)200のシステム構成を示す。先ず,ホスト
コンピュータ100上の既存のアプリケーション・ソフ
トウェアによって作成された文書(原稿)が,汎用の通
信装置(例えば,セントロニクス,RS232C等)に
よってレーザプリンタ200に送られてくる。
FIG. 1 shows the system configuration of a laser printer (image output device) 200 of this embodiment. First, a document (original) created by existing application software on the host computer 100 is sent to the laser printer 200 by a general-purpose communication device (for example, Centronics, RS232C, etc.).

【0021】レーザプリンタ200は,図示の如く,ホ
ストコンピュータ100からのデータを受信する受信装
置201と,各種制御プログラムに従って装置全体の制
御を行うCPU202と,CPU202で使用する各種
制御プログラムを格納したROM203と,制御プログ
ラム上で使用するデータを一時的に格納及び読み出しす
るためのRAM204と,ベクトル・フォントを格納し
たフォントROM205と,1ページ分の画像データ
(ここでは,画素単位のデータ)を格納するためのペー
ジメモリ206と,ページメモリ206内の画像データ
に対して画質向上処理を行う画質向上装置207と,画
質向上装置207から出力された画像データに応じてレ
ーザ駆動を行う多値レーザ書込み部208と,感光体ド
ラム,現像装置等からなる電子写真プロセス部209
と,文字,線画の多い原稿であることを示す第1の処理
モード,写真,網点等の絵柄の多い原稿であることを示
す第2のモード,及び,文字,線画,写真,網点等が混
在する原稿であることを示す第3の処理モードの3つの
処理モードを択一的に指定するための操作パネル210
と,操作パネル210とのデータ通信を行うためのI/
O装置211と,内部システム・バス212とから構成
される。
As shown in the figure, the laser printer 200 includes a receiving device 201 that receives data from the host computer 100, a CPU 202 that controls the entire device according to various control programs, and a ROM 203 that stores various control programs used by the CPU 202. And a RAM 204 for temporarily storing and reading data used on the control program, a font ROM 205 storing vector fonts, and image data for one page (here, pixel unit data). Page memory 206 for performing image quality improvement, an image quality improving device 207 that performs image quality improving processing on image data in the page memory 206, and a multi-value laser writing unit that performs laser driving in accordance with image data output from the image quality improving device 207. 208, photosensitive drum, developing device, etc. Electrophotographic processing section 209 made
And a first processing mode indicating that the original has many characters and line drawings, a second mode indicating that the original has many pictures such as photographs and halftone dots, and characters, line drawings, photographs and halftone dots, etc. Operation panel 210 for selectively designating three processing modes of the third processing mode indicating that the originals are mixed with each other.
And an I / I for performing data communication with the operation panel 210.
It is composed of an O device 211 and an internal system bus 212.

【0022】図2は,画質向上装置207の内部ブロッ
ク図を示し,図示の如く,FIFOバッファ207a
と,スムージング処理部207bと,比較パターン部2
07cと,フィルター処理部207dと,像域分離部2
07eと,セレクタ207fとから構成される。
FIG. 2 shows an internal block diagram of the image quality improving device 207, and as shown in the figure, the FIFO buffer 207a.
, Smoothing processing unit 207b, and comparison pattern unit 2
07c, a filter processing unit 207d, and an image area separation unit 2
07e and a selector 207f.

【0023】FIFOバッファ207aは,ページメモ
リ206の2値のイメージデータをnライン分格納する
ためのライン・バッファである。nライン分のデータの
内,着目画素を中心とするm(dot)×n(lin
e)領域のデータを次段のスムージング処理部207
b,フィルター処理部207d,像域分離部207eへ
送り出す。
The FIFO buffer 207a is a line buffer for storing n lines of binary image data in the page memory 206. Of n lines of data, m (dot) × n (lin with the pixel of interest as the center
e) The data in the area is processed by the smoothing processing unit 207 in the next stage.
b, the filter processing unit 207d, and the image area separation unit 207e.

【0024】スムージング処理部207bは,AND,
OR等のロジック回路や,PLD回路,或いは,ROM
等で構成されたLUT(ルック・アップ・テーブル)機
能を有し,予め比較パターン部207cに格納されてい
るm(dot)×n(line)領域の比較パターンと
FIFOバッファ207aの出力(m×n領域)とを比
較し,一致した場合に,その着目画素の2値の画素デー
タを所望の多値の画素データに変換し,一致しない場合
に原画像データをそのまま出力する。換言すれば,パタ
ーンマッチング処理によって比較パターンと一致した場
合,着目画素の2値のイメージデータを多値のイメージ
データに変換し,一致しない場合,2値のイメージデー
タをそのまま出力する。尚,比較パターン部207cに
は,パターンマッチング処理で使用するm×n領域の文
字,線画等の連続したパターンが比較パターンとして複
数格納されている。
The smoothing processing unit 207b uses AND,
Logic circuit such as OR, PLD circuit, or ROM
Has a LUT (look-up table) function configured by, for example, the comparison pattern of the m (dot) × n (line) area stored in the comparison pattern unit 207c in advance and the output (m ×) of the FIFO buffer 207a. (n region), and when they match, the binary pixel data of the pixel of interest is converted into desired multivalued pixel data, and when they do not match, the original image data is output as it is. In other words, when the pattern matching process matches the comparison pattern, the binary image data of the pixel of interest is converted into multi-valued image data, and when they do not match, the binary image data is output as it is. It should be noted that the comparison pattern portion 207c stores a plurality of continuous patterns such as characters and line drawings in m × n regions used in the pattern matching process as comparison patterns.

【0025】フィルター処理部207dは,FIFOバ
ッファ207aから出力される着目画素を中心としたm
(dot)×n(line)領域のデータ(複数画素)
に対して平滑化フィルタリング処理を施し,所望の多値
のデータに変換して出力する。
The filter processing unit 207d has a pixel value m centering on the pixel of interest output from the FIFO buffer 207a.
Data in (dot) × n (line) area (plural pixels)
Is subjected to smoothing filtering processing, converted into desired multi-valued data and output.

【0026】詳細は後述するが像域分離部207eは,
FIFOバッファ207aから出力される着目画素を中
心としたm(dot)×n(line)領域が文字・線
画領域であるか,或いは,絵柄領域であるかを判定し,
該判定結果に加えて,スムージング処理部207bにお
けるパターンマッチング処理の結果が一致したか否かの
情報と,操作パネル210を介して指定された処理モー
ドとに基づいて,セレクタ207fへ選択信号を出力す
る。
As will be described in detail later, the image area separation unit 207e is
It is determined whether the m (dot) × n (line) area centered on the pixel of interest output from the FIFO buffer 207a is a character / line drawing area or a pattern area,
In addition to the determination result, a selection signal is output to the selector 207f based on information as to whether the results of the pattern matching processing in the smoothing processing unit 207b match and the processing mode designated via the operation panel 210. To do.

【0027】セレクタ207fは,像域分離部207e
からの選択信号に応じて,スムージング処理部207b
の処理結果,或いは,フィルター処理部207dの処理
結果の何れか一方を多値レーザ書込み部208に出力す
る。
The selector 207f is an image area separation unit 207e.
Smoothing processing unit 207b according to the selection signal from
Either the processing result of (1) or the processing result of the filter processing unit 207d is output to the multilevel laser writing unit 208.

【0028】以上の構成において,各部の動作を具体的
に説明する。CPU202は,ROM203に格納され
ている制御プログラムを実行し,ホストコンピュータ1
00から1ページ分の文書を受信装置201を介してR
AM204に格納し,文字コードであればフォントRO
M205を用いて2値のイメージデータに変換し,ペー
ジメモリ206の所定の位置に格納する。
The operation of each unit in the above configuration will be specifically described. The CPU 202 executes the control program stored in the ROM 203, and the host computer 1
A document for one page from 00 is read via the receiving device 201
Stored in AM204, if the character code is font RO
It is converted into binary image data using M205 and stored in a predetermined position of the page memory 206.

【0029】画質向上装置207は,予めオペレータが
操作パネル210を介して指定した処理モードに従っ
て,ページメモリ206内の2値のイメージデータに対
して後述する画質向上処理を施して,多値レーザ書込み
部208に送信する。
The image quality improving device 207 performs an image quality improving process, which will be described later, on the binary image data in the page memory 206 in accordance with a processing mode designated by the operator through the operation panel 210 in advance, and multilevel laser writing is performed. It is transmitted to the unit 208.

【0030】画質向上装置207は,先ず,ページメモ
リ206からnライン分の2値のイメージデータを入力
してFIFOバッファ207aに格納する。FIFOバ
ッファ207aは,nライン分のデータの内,着目画素
を中心とするm(dot)×n(line)領域のデー
タを次段のスムージング処理部207b,フィルター処
理部207d,像域分離部207eへ送り出す。
The image quality improving device 207 first inputs binary image data for n lines from the page memory 206 and stores it in the FIFO buffer 207a. The FIFO buffer 207a converts the data of the m (dot) × n (line) area centering on the pixel of interest from the data of n lines to the smoothing processing unit 207b, the filter processing unit 207d, and the image area separation unit 207e of the next stage. Send to.

【0031】ここで,例えば,m×n領域を7×7領域
とし,図3(a),(c)で示すような7×7の比較パ
ターンが比較パターン部207cに予め複数パターン格
納されており,スムージング処理部207bは,図3
(a),(c)の比較パターンに対して着目画素(図中
の格子状の画素)をそれぞれ図3(b),(d)の多値
イメージデータに変換するとする。
Here, for example, the m × n area is defined as a 7 × 7 area, and a plurality of 7 × 7 comparison patterns as shown in FIGS. 3A and 3C are stored in advance in the comparison pattern portion 207c. The smoothing processing unit 207b is shown in FIG.
It is assumed that the pixels of interest (lattice-shaped pixels in the drawing) for the comparison patterns of (a) and (c) are converted into the multivalued image data of FIGS. 3 (b) and (d), respectively.

【0032】この場合,例えば,図4(a)及び図5
(a)のイメージデータがFIFOバッファ207aか
ら送り出されたとすると,スムージング処理部207b
の処理結果は,それぞれ図4(b)及び図5(b)のよ
うになる。図4ではa,b,c,d,e,fで示す画素
が多値のイメージデータに変換され,斜線,文字等で発
生する階段状のギザギザ(ジャギー)が視覚的に滑らか
になる。
In this case, for example, FIG. 4 (a) and FIG.
Assuming that the image data of (a) is sent from the FIFO buffer 207a, the smoothing processing unit 207b
The processing results of are as shown in FIG. 4 (b) and FIG. 5 (b), respectively. In FIG. 4, the pixels indicated by a, b, c, d, e, and f are converted into multivalued image data, and the stair-like jaggedness (jaggies) generated by diagonal lines, characters, etc. becomes visually smooth.

【0033】一方,図5(a)に示すような絵柄のイメ
ージデータは,比較パターン部207c内に格納されて
いる比較パターンと一致しないので,原画像がそのまま
出力される。ところが,図5(a)のイメージデータ
は,もともと50%の一様な灰色データが組織的ディザ
法等の階調処理によって面積濃度変調されたデータであ
ったと考えられ,この観点から判断すると,スムージン
グ処理部207bは絵柄のイメージデータに対して画質
向上処理を施していないことになる。
On the other hand, since the image data of the pattern as shown in FIG. 5A does not match the comparison pattern stored in the comparison pattern section 207c, the original image is output as it is. However, in the image data of FIG. 5 (a), it is considered that 50% of uniform gray data was originally area density modulated by gradation processing such as systematic dither method. Judging from this viewpoint, The smoothing processing unit 207b does not perform the image quality improving process on the image data of the pattern.

【0034】尚,当然のことながら絵柄のイメージデー
タに対して画質向上処理を施すことができるような比較
パターンを比較ターン部207c内に格納しておけば良
いが,このような絵柄のイメージデータに対する比較パ
ターンデータは,図3(a),(c)で示した連続パタ
ーンも含めて,2mn通り存在するので,メモリ容量が膨
大となりコスト的な問題から実用的でない。従って,ス
ムージング処理部207bは,連続した比較パターンの
み格納しており,文字,線画等のイメージデータのみに
対して画質向上処理を施している。
As a matter of course, it is only necessary to store in the comparison turn section 207c a comparison pattern capable of performing the image quality improving process on the image data of the pattern. Since there are 2 mn patterns of comparison pattern data including the continuous patterns shown in FIGS. 3A and 3C, the memory capacity becomes huge and it is not practical from the viewpoint of cost. Therefore, the smoothing processing unit 207b stores only continuous comparison patterns and performs image quality improvement processing only on image data such as characters and line drawings.

【0035】また,本実施例では,比較パターンと一致
した着目画素に対しては,その一致した旨の情報(一致
情報)をスムージング処理部207bから像域分離部2
07eへ通知するようにしている。
Further, in the present embodiment, for the pixel of interest that coincides with the comparison pattern, the information indicating the coincidence (coincidence information) is sent from the smoothing processing unit 207b to the image area separation unit 2
07e is notified.

【0036】フィルター処理部207dは,スムージン
グ処理部207bと同様に着目画素を中心とするm(d
ot)×n(line)領域のデータを入力し,着目画
素に対して平滑化フィルタリング処理を施す。例えば,
n=m=3として,図6に示す平滑化フィルタリング処
理を実行すると,図7(a)のイメージデータが図7
(b)に,図8(a)のイメージデータが図8(b)に
それぞれ変換される。
Like the smoothing processing unit 207b, the filter processing unit 207d has m (d) centered on the pixel of interest.
Data in the (ot) × n (line) area is input, and smoothing filtering processing is performed on the pixel of interest. For example,
When the smoothing filtering process shown in FIG. 6 is executed with n = m = 3, the image data of FIG.
The image data of FIG. 8A is converted into FIG. 8B, and the image data of FIG.

【0037】フィルター処理部207dにおける文字,
線画等のイメージデータの処理結果をみると,図7から
明らかなようにジャギー除去の効果はあるものの線巾が
太ってしまい,視覚的にボケた画像となる。一方,絵柄
等のイメージデータに対しては,図8から明らかなよう
にもとの絵柄を忠実に再現した結果となり画質が向上す
る。
Characters in the filter processing unit 207d,
As can be seen from FIG. 7, the result of processing the image data such as the line drawing has the effect of removing the jaggies, but the line width becomes thick, resulting in a visually blurred image. On the other hand, with respect to image data such as a picture, the original picture is reproduced faithfully as shown in FIG. 8, and the image quality is improved.

【0038】以上の結果から,文字,線画等のイメージ
データに対してはスムージング処理部207bの画質向
上処理が適しており,絵柄等のイメージデータに対して
はフィルター処理部207dの画質向上処理が適してい
ることがわかる。
From the above results, the image quality improving process of the smoothing processing unit 207b is suitable for image data such as characters and line drawings, and the image quality improving process of the filter processing unit 207d is suitable for image data such as pictures. It turns out to be suitable.

【0039】従って,本実施例では,スムージング処理
部207bとフィルター処理部207dと像域分離部2
07eを並列処理して,操作パネル210を介して入力
した処理モード及び像域分離部207eの処理結果に基
づいて,セレクタ207fの出力を選択することによ
り,最適な画質向上処理の結果を出力するようにしてい
る。
Therefore, in this embodiment, the smoothing processing section 207b, the filter processing section 207d, and the image area separating section 2
07e are processed in parallel, and the output of the selector 207f is selected based on the processing mode input through the operation panel 210 and the processing result of the image area separation unit 207e, thereby outputting the optimum image quality improvement processing result. I am trying.

【0040】操作パネル210を介して指定する処理モ
ードは, FC・MODE : 原稿が殆ど文字,線画の場合に指
定する第1の処理モード FI・MODE : 原稿が殆ど写真,網点等の絵柄の
場合に指定する第2の処理モード FCI・MODE: 原稿に文字,線画,写真,網点等
が混在している場合に指定する第3の処理モード の3つのモードである。
The processing mode designated through the operation panel 210 is FC / MODE: the first processing mode designated when the manuscript is almost a character or a line drawing FI / MODE: the manuscript is almost a picture or a pattern such as a halftone dot Second processing mode designated in case of FCI / MODE: There are three modes of third processing mode designated when characters, line drawings, photographs, halftone dots and the like are mixed in the original.

【0041】次に,図9及び図10を参照して,像域分
離部207eの構成及び動作について説明する。像域分
離部207eは,図9に示すように,着目画素に隣接す
る複数画素の縦方向及び横方向の白・黒画素の連続性を
検出する画素の連続性検出部501と,画素の連続性検
出部501の検出結果を所望の大きさに膨張処理する膨
張処理部502と,着目画素に隣接する複数画素の白画
素の塊(白地)を検出する白地検出部503と,白地検
出部503の検出結果を所望の大きさに膨張処理する膨
張処理部504と,膨張処理部502及び膨張処理部5
04の膨張処理結果と,スムージング処理部207bか
らの一致情報とに基づいて,着目画素の領域が文字・線
画領域であるか,或いは,絵柄領域であるかを判定する
総合判定部505とからなる。
Next, the configuration and operation of the image area separation unit 207e will be described with reference to FIGS. As shown in FIG. 9, the image area separation unit 207e includes a pixel continuity detection unit 501 that detects the continuity of white and black pixels in the vertical and horizontal directions of a plurality of pixels adjacent to the pixel of interest, and pixel continuity detection unit 501. A dilation processing unit 502 that dilates the detection result of the nature detection unit 501 to a desired size, a white background detection unit 503 that detects a group of white pixels (white background) of a plurality of pixels adjacent to the pixel of interest, and a white background detection unit 503. Expansion processing unit 504 for expanding the detection result of the image to a desired size, expansion processing unit 502, and expansion processing unit 5
A comprehensive determination unit 505 that determines whether the region of the pixel of interest is a character / line image region or a pattern region based on the expansion processing result of 04 and the matching information from the smoothing processing unit 207b. ..

【0042】尚,説明を簡単にするために,像域分離の
対象となるm×n領域を,図10に示すようにm=n=
5とする。また,図中のa〜yの各画素は,黒画素の時
に「1」,白画素の時に「0」の値を持つものとする。
In order to simplify the description, the m × n region to be image-area-separated is m = n =, as shown in FIG.
Set to 5. Further, each of the pixels a to y in the figure has a value of "1" when it is a black pixel and has a value of "0" when it is a white pixel.

【0043】画素の連続性検出部501は,m×n領域
(ここでは,5×5領域)内で横方向及び縦方向の黒及
び白画素の連続性を,例えば,図11に示すような論理
で検出する。図中における出力Aは,隣接画素8個のう
ち縦方向に黒画素が3つ連続し,且つ,縦方向に白画素
が3つ連続している時に「1」となる。また,出力Bは
隣接画素8個のうち横方向に黒画素が3つ連続し,且
つ,横方向に白画素が3つ連続している時「1」とな
る。
The pixel continuity detecting section 501 indicates the continuity of black and white pixels in the horizontal and vertical directions within the m × n region (here, 5 × 5 region) as shown in FIG. Detect by logic. The output A in the figure is "1" when three black pixels are continuous in the vertical direction and three white pixels are continuous in the vertical direction among the eight adjacent pixels. The output B is “1” when three black pixels are continuous in the horizontal direction and three white pixels are continuous in the horizontal direction among the eight adjacent pixels.

【0044】同様に出力Cと出力DのAND出力は,隣
接画素24個のうち縦方向に黒画素が5つ連続し,且
つ,縦方向に白画素が5つ連続している時「1」とな
る。また,出力Eと出力FのAND出力は,隣接画素2
4個のうち横方向に黒画素が5つ連続し,且つ,横方向
に白画素が5つ連続している時「1」となる。
Similarly, the AND output of the output C and the output D is "1" when five black pixels are continuous in the vertical direction and five white pixels are continuous in the vertical direction among the 24 adjacent pixels. Becomes The AND output of output E and output F is
It becomes “1” when five black pixels are continuous in the horizontal direction and four white pixels are continuous in the horizontal direction among the four.

【0045】また,出力Cと出力EのAND出力は,隣
接画素24個のうち縦方向に黒画素が5つ連続し,且
つ,横方向に黒画素が5つ連続している時「1」とな
る。従ってこれらの出力のOR出力Gは,上記条件に1
つでも該当した時に,その着目画素を線画とみなし,
「1」を出力する。
Further, the AND output of the output C and the output E is "1" when five black pixels are continuous in the vertical direction and five black pixels are continuous in the horizontal direction among the 24 adjacent pixels. Becomes Therefore, the OR output G of these outputs is 1 in the above condition.
When any one of them is applicable, the pixel of interest is regarded as a line drawing,
Outputs "1".

【0046】画素の連続性検出部501がこのように動
作することにより,例えば,図12の(a),(b),
(c),(d)の着目画素(5×5領域の中心画素)は
文字・線画画素とみなされ,(e),(f),(g)の
着目画素は絵柄画素とみなされる。
The pixel continuity detecting section 501 operates in this way, so that, for example, (a), (b) of FIG.
The target pixel (center pixel of the 5 × 5 area) of (c) and (d) is regarded as a character / line drawing pixel, and the target pixels of (e), (f), and (g) are regarded as pattern pixels.

【0047】膨張処理部502は,例えば,着目画素の
隣接画素に対して,連続性検出部501の検出結果を調
べ,文字・線画画素である画素がn個以上存在したら,
着目画素を文字・線画画素としてみなすように処理す
る。例えば,図13(a)のイメージデータに対して,
画素の連続性検出部501の処理結果は,同図(b)の
ようになり,着目画素は文字・線画画素とはみなされな
いが,膨張処理部502で処理することにより,隣接し
た画素が3つの文字・線画画素とみなされるので,最終
的に着目画素を文字・線画画素としてみなす(但し,n
=3の場合)。
The expansion processing unit 502 checks the detection result of the continuity detection unit 501 with respect to the pixel adjacent to the pixel of interest, and if there are n or more pixels that are character / line drawing pixels,
Processing is performed so that the pixel of interest is regarded as a character / line drawing pixel. For example, for the image data of FIG.
The processing result of the pixel continuity detecting unit 501 is as shown in FIG. 7B, and the pixel of interest is not regarded as a character / line-drawing pixel, but by processing with the dilation processing unit 502, adjacent pixels are 3 Since it is regarded as one character / line drawing pixel, the pixel of interest is finally regarded as a character / line drawing pixel (however, n
= 3).

【0048】通常,文字・線画画素には白画素の塊(白
地)が隣接して存在するので,白地検出部503におい
て,着目画素が白地の一部であるか否かを検出する。具
体的には,図14(a)〜(c)に示すような白画素の
かたまったパターンと比較する。これらは,対象とする
文書の解像度に合わせて最適なものを選ぶようにする。
Usually, since a group of white pixels (white background) exists adjacent to the character / line drawing pixels, the white background detecting section 503 detects whether or not the pixel of interest is a part of the white background. Specifically, it is compared with a pattern in which white pixels are gathered as shown in FIGS. Try to select the most suitable one according to the resolution of the target document.

【0049】膨張処理部504は,例えば,図15に示
すように,着目画素に隣接する32×5の領域に1つで
も白地検出部503で白地と検出された画素があれば,
着目画素を白地領域とみなす。
The expansion processing unit 504, for example, as shown in FIG. 15, if at least one pixel in the 32 × 5 area adjacent to the pixel of interest is detected as a white background by the white background detection unit 503,
The pixel of interest is regarded as a white background area.

【0050】総合判定部505は,操作パネル210で
指定された処理モードと,膨張処理部502,504の
処理結果と,スムージング処理部207bの一致情報に
基づいて,セレクタ207fに対して選択信号を出力す
る。
The comprehensive judgment unit 505 sends a selection signal to the selector 207f based on the processing mode designated on the operation panel 210, the processing results of the expansion processing units 502 and 504, and the matching information of the smoothing processing unit 207b. Output.

【0051】先ず,FC・MODE(第1の処理モー
ド)が指定されている場合には,膨張処理部502,5
04の処理結果や,スムージング処理部207bの一致
情報に関係なく,無条件でスムージング処理部207b
の処理結果を選択出力するようにセレクタ207fを切
り換える。
First, when FC / MODE (first processing mode) is specified, the expansion processing units 502, 5
The smoothing processing unit 207b is unconditionally irrespective of the processing result of 04 and the matching information of the smoothing processing unit 207b.
The selector 207f is switched so as to selectively output the processing result of.

【0052】次に,FI・MODE(第2の処理モー
ド)が指定されている場合には,膨張処理部502,5
04の処理結果や,スムージング処理部207bの一致
情報に関係なく,無条件でフィルター処理部207dの
処理結果を選択出力するようにセレクタ207fを切り
換える。
Next, when FI.MODE (second processing mode) is designated, the expansion processing units 502, 5
The selector 207f is switched so as to unconditionally select and output the processing result of the filter processing unit 207d regardless of the processing result of 04 or the matching information of the smoothing processing unit 207b.

【0053】一方,FCI・MODE(第3の処理モー
ド)が指定されている場合には,比較パターンと一致し
た画素に対してはスムージング処理部207bの処理結
果を選択する。また,白地画素(膨張処理部504の処
理結果を参照)であり,且つ,文字・線画画素と判定さ
れた画素(膨張処理部502の処理結果を参照)の場合
もスムージング処理部207bの処理結果を選択する。
そして,それ以外の場合,換言すれば,比較パターンと
一致せず,且つ,白地画素且つ文字・線画画素と判定さ
れなかった画素に対しては,フィルター処理部207d
の処理結果を選択する。
On the other hand, when FCI.MODE (third processing mode) is designated, the processing result of the smoothing processing unit 207b is selected for the pixel that matches the comparison pattern. Further, in the case of a white background pixel (see the processing result of the expansion processing unit 504) and a pixel determined to be a character / line drawing pixel (see the processing result of the expansion processing unit 502), the processing result of the smoothing processing unit 207b is also obtained. Select.
In other cases, in other words, for the pixels that do not match the comparison pattern, and are not determined as white background pixels and character / line drawing pixels, the filter processing unit 207d
Select the processing result of.

【0054】前述したように本実施例では,2つの画質
向上処理手段(スムージング処理部207b,フィルタ
ー処理部207d)を備えているため,操作パネル21
0を介して原稿の種類(文字,線画の多い原稿,絵柄等
の多い原稿,文字,線画,絵柄等が混在する原稿等)を
指定することにより,原稿の種類に応じた最適な画質向
上処理を選択することができる。
As described above, in this embodiment, since the two image quality improving processing means (smoothing processing section 207b and filter processing section 207d) are provided, the operation panel 21
By specifying the type of original (Original with many characters, line drawings, originals with many pictures, originals with mixed characters, line drawings, pictures, etc.) via 0, the optimum image quality improvement processing according to the original type Can be selected.

【0055】また,文字,線画,絵柄等が混在する原稿
に対しても,像域分離部207eで分離して,それぞれ
の領域に対して最適な画質向上処理を施すことができ
る。尚,本実施例では,原稿の種類に応じて3つの処理
モードを指定するようにしたが,処理モードを指定する
ことなく,像域分離部207eの判定のみで最適な画質
向上処理を選択するようにしても,従来と比較して画質
の向上を図ることができるのは勿論である。但し,現在
のところ像域の分離が不完全であるため,像域分離部2
07eのみで判定するより,本実施例のように処理モー
ドを指定する方がより画質の向上を図ることができる。
Further, even in the case of a document in which characters, line drawings, pictures, etc. are mixed, the image area separating section 207e can separate the originals, and the optimum image quality improving processing can be applied to the respective areas. In this embodiment, the three processing modes are specified according to the type of the original, but the optimum image quality improvement processing is selected only by the judgment of the image area separation unit 207e without specifying the processing mode. Even in this case, it goes without saying that the image quality can be improved as compared with the conventional case. However, since the separation of the image area is incomplete at present, the image area separation unit 2
It is possible to further improve the image quality by designating the processing mode as in the present embodiment, as compared with the case of determining only by 07e.

【0056】また,本実施例では,レーザプリンタを例
として説明したが,特にこれに限定するものではなく,
高精細CRT等の画像出力装置に適用しても同様の効果
を得ることができるのは明らかである。
In the present embodiment, the laser printer has been described as an example, but the present invention is not limited to this.
It is obvious that the same effect can be obtained even when applied to an image output device such as a high definition CRT.

【0057】[0057]

【発明の効果】以上説明したように,本発明の画像出力
装置は,着目画素に隣接する複数画素を保持する保持手
段と,保持手段で保持した複数画素と予め記憶してある
比較パターンとをパターンマッチング処理で比較し,比
較パターンと一致した場合,着目画素の2値のイメージ
データを多値のイメージデータに変換し,一致しない場
合,2値のイメージデータをそのまま出力する第1の画
質向上処理手段と,保持手段で保持した複数画素を入力
し,空間フィルタリング処理を用いて着目画素の2値の
イメージデータを多値のイメージデータに変換して出力
する第2の画質向上処理手段と,保持手段で保持した複
数画素が文字・線画領域であるか,或いは,絵柄領域で
あるかを判定する領域判定手段と,領域判定手段の判定
結果に基づいて,第1の画質向上処理手段或いは第2の
画質向上処理手段の処理結果を選択的に出力する選択出
力手段とを備えたため,文字,線画等のイメージデータ
の画質向上とともに,絵柄等のイメージデータの画質向
上を図ることができる。また,コストの上昇及び処理速
度の低下を招くことなく,絵柄等のイメージデータの画
質向上を図ることができる。
As described above, the image output apparatus of the present invention includes the holding means for holding a plurality of pixels adjacent to the pixel of interest, the plurality of pixels held by the holding means, and the comparison pattern stored in advance. Compared by pattern matching processing, if it matches the comparison pattern, the binary image data of the pixel of interest is converted into multi-valued image data, and if it does not match, the binary image data is output as it is. Processing means and second image quality improvement processing means for inputting a plurality of pixels held by the holding means, converting binary image data of a pixel of interest into multivalued image data by using spatial filtering processing, and outputting the multivalued image data; Based on the region determination unit that determines whether the plurality of pixels held by the holding unit is a character / line drawing region or a pattern region, and the determination result of the region determination unit, Since the image quality improving processing means of 1 or the selective output means for selectively outputting the processing result of the second image quality improving processing means is provided, the image quality of image data such as characters and line drawings is improved, and the image quality of image data such as patterns is improved. It is possible to improve. In addition, it is possible to improve the image quality of image data such as a picture without increasing the cost and reducing the processing speed.

【0058】また,本発明の画像出力装置は,文字,線
画の多い原稿であることを示す第1の処理モード,写
真,網点等の絵柄の多い原稿であることを示す第2のモ
ード,及び,文字,線画,写真,網点等が混在する原稿
であることを示す第3の処理モードの3つの処理モード
を択一的に指定するための指定手段と,原画像である2
値のイメージデータを記憶する記憶手段と,指定手段で
指定された処理モードに基づいて複数の画質向上処理の
中から最適な画質向上処理を選択し,2値のイメージデ
ータに対して最適な画質向上処理を実行し,2値或いは
多値のイメージデータを出力する画質向上処理手段と,
画質向上処理手段を介して入力した2値或いは多値のイ
メージデータに基づいて,レーザ書込みを行う多値レー
ザ書込み手段とを備えたため,文字,線画等のイメージ
データの画質向上とともに,絵柄等のイメージデータの
画質向上を図ることができる。また,コストの上昇及び
処理速度の低下を招くことなく,絵柄等のイメージデー
タの画質向上を図ることができる。
The image output apparatus of the present invention has a first processing mode indicating that the original has many characters and line drawings, and a second mode indicating that the original has many pictures such as photographs and halftone dots. Also, a designation means for selectively designating the three processing modes of the third processing mode, which indicates that the original includes a mixture of characters, line drawings, photographs, halftone dots, etc., and the original image 2
Optimal image quality improvement processing is selected from a plurality of image quality improvement processings based on the storage means for storing the value image data and the processing mode designated by the designating means, and the optimum image quality for the binary image data. Image quality improvement processing means for executing improvement processing and outputting binary or multi-valued image data;
Since the multi-valued laser writing means for performing laser writing on the basis of the binary or multi-valued image data inputted through the image quality improvement processing means is provided, the image quality of the image data such as characters and line drawings is improved, and the pattern etc. The image quality of image data can be improved. In addition, it is possible to improve the image quality of image data such as a picture without increasing the cost and reducing the processing speed.

【0059】また,本発明の画像出力装置は,文字,線
画の多い原稿であることを示す第1の処理モード,写
真,及び,網点等の絵柄の多い原稿であることを示す第
2のモードの2つの処理モードを択一的に指定するため
の指定手段と,原画像である2値のイメージデータを記
憶する記憶手段と,着目画素に隣接する複数画素を保持
する保持手段と,保持手段で保持した複数画素と予め記
憶してある比較パターンとをパターンマッチング処理で
比較し,比較パターンと一致した場合,着目画素の2値
のイメージデータを多値のイメージデータに変換し,一
致しない場合,2値のイメージデータをそのまま出力す
る第1の画質向上処理手段と,保持手段で保持した複数
画素を入力し,空間フィルタリング処理を用いて着目画
素の2値のイメージデータを多値のイメージデータに変
換して出力する第2の画質向上処理手段と,指定手段で
指定された処理モードに基づいて,第1の画質向上処理
手段或いは第2の画質向上処理手段の処理結果を選択的
に出力する選択出力手段と,選択出力手段を介して入力
した2値或いは多値のイメージデータに基づいて,レー
ザ書込みを行う多値レーザ書込み手段とを備えたため,
文字,線画等のイメージデータの画質向上とともに,絵
柄等のイメージデータの画質向上を図ることができる。
また,コストの上昇及び処理速度の低下を招くことな
く,絵柄等のイメージデータの画質向上を図ることがで
きる。
Further, the image output apparatus of the present invention has the first processing mode indicating that the original has many characters and line drawings, the photograph, and the second processing mode indicating that the original has many pictures such as halftone dots. Designation means for selectively designating two processing modes of modes, storage means for storing binary image data which is an original image, holding means for holding a plurality of pixels adjacent to the pixel of interest, and holding The plurality of pixels held by the means and the previously stored comparison pattern are compared by a pattern matching process, and if they match the comparison pattern, the binary image data of the pixel of interest is converted into multi-valued image data and does not match. In this case, the first image quality improvement processing means for outputting the binary image data as it is and a plurality of pixels held by the holding means are input, and the binary image of the pixel of interest is subjected to the spatial filtering processing. Second image quality improvement processing means for converting the data into multi-valued image data and outputting it, and the first image quality improvement processing means or the second image quality improvement processing means based on the processing mode designated by the designating means. Since the selective output means for selectively outputting the processing result of 1) and the multi-value laser writing means for performing laser writing based on the binary or multi-valued image data inputted through the selective output means are provided,
In addition to improving the image quality of image data such as characters and line drawings, it is possible to improve the image quality of image data such as pictures.
In addition, it is possible to improve the image quality of image data such as a picture without increasing the cost and reducing the processing speed.

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

【図1】本実施例のレーザプリンタ(画像出力装置)の
システム構成を示す説明図である。
FIG. 1 is an explanatory diagram showing a system configuration of a laser printer (image output device) of this embodiment.

【図2】画質向上装置の内部ブロック図を示す説明図で
ある。
FIG. 2 is an explanatory diagram showing an internal block diagram of an image quality improving device.

【図3】スムージング処理部の動作を示すための説明図
である。
FIG. 3 is an explanatory diagram illustrating an operation of a smoothing processing unit.

【図4】スムージング処理部の動作を示すための説明図
である。
FIG. 4 is an explanatory diagram showing an operation of a smoothing processing unit.

【図5】スムージング処理部の動作を示すための説明図
である。
FIG. 5 is an explanatory diagram illustrating an operation of a smoothing processing unit.

【図6】フィルター処理部の動作を示すための説明図で
ある。
FIG. 6 is an explanatory diagram showing an operation of a filter processing unit.

【図7】フィルター処理部の動作を示すための説明図で
ある。
FIG. 7 is an explanatory diagram showing an operation of a filter processing unit.

【図8】フィルター処理部の動作を示すための説明図で
ある。
FIG. 8 is an explanatory diagram illustrating an operation of a filter processing unit.

【図9】画質向上装置の構成及び動作を示すための説明
図である。
FIG. 9 is an explanatory diagram showing the configuration and operation of the image quality improving apparatus.

【図10】画質向上装置の動作を示すための説明図であ
る。
FIG. 10 is an explanatory diagram illustrating an operation of the image quality improving device.

【図11】画素の連続性検出部の論理を示すための説明
図である。
FIG. 11 is an explanatory diagram showing the logic of a pixel continuity detection unit.

【図12】画素の連続性検出部の具体的動作例を示す説
明図である。
FIG. 12 is an explanatory diagram showing a specific operation example of a pixel continuity detection unit.

【図13】画素の連続性検出部及び膨張処理部の処理結
果を示すための説明図である。
FIG. 13 is an explanatory diagram showing processing results of a pixel continuity detection unit and an expansion processing unit.

【図14】白地検出部の具体的動作例を示す説明図であ
る。
FIG. 14 is an explanatory diagram illustrating a specific operation example of a white background detection unit.

【図15】膨張処理部の処理結果を示すための説明図で
ある。
FIG. 15 is an explanatory diagram showing a processing result of an expansion processing unit.

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

100 ホストコンピュータ 200 レーザプリンタ 201 受信装置 202 C
PU 203 ROM 204 R
AM 205 フォントROM 206 ペ
ージメモリ 207 画質向上装置 207a
FIFOバッファ 207b スムージング処理部 207c
比較パターン部 207d フィルター処理部 207e
像域分離部 207f セレクタ 208 レーザ書込み部 209 電
子写真プロセス部 210 操作パネル 211 I
/O装置 212 内部システム・バス 501 画素の連続性検出部 502 膨
張処理部 503 白地検出部 504 膨
張処理部 505 総合判定部
100 Host Computer 200 Laser Printer 201 Receiver 202 C
PU 203 ROM 204 R
AM 205 Font ROM 206 Page memory 207 Image quality improving device 207a
FIFO buffer 207b Smoothing processing unit 207c
Comparison pattern section 207d Filter processing section 207e
Image area separation unit 207f Selector 208 Laser writing unit 209 Electrophotographic process unit 210 Operation panel 211 I
/ O device 212 Internal system bus 501 Pixel continuity detection unit 502 Expansion processing unit 503 White background detection unit 504 Expansion processing unit 505 Overall determination unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/68 9191−5L 15/70 450 9071−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/68 9191-5L 15/70 450 9071-5L

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 着目画素に隣接する複数画素を保持する
保持手段と,前記保持手段で保持した複数画素と予め記
憶してある比較パターンとをパターンマッチング処理で
比較し,比較パターンと一致した場合,着目画素の2値
のイメージデータを多値のイメージデータに変換し,一
致しない場合,2値のイメージデータをそのまま出力す
る第1の画質向上処理手段と,前記保持手段で保持した
複数画素を入力し,空間フィルタリング処理を用いて着
目画素の2値のイメージデータを多値のイメージデータ
に変換して出力する第2の画質向上処理手段と,前記保
持手段で保持した複数画素が文字・線画領域であるか,
或いは,絵柄領域であるかを判定する領域判定手段と,
前記領域判定手段の判定結果に基づいて,前記第1の画
質向上処理手段或いは第2の画質向上処理手段の処理結
果を選択的に出力する選択出力手段とを備えたことを特
徴とする画像出力装置。
1. A holding means for holding a plurality of pixels adjacent to a pixel of interest, a plurality of pixels held by the holding means and a comparison pattern stored in advance are compared by a pattern matching process, and when the comparison patterns match. , A first image quality improving processing means for converting binary image data of a pixel of interest into multi-valued image data and outputting the binary image data as it is when they do not match, and a plurality of pixels held by the holding means. Second image quality improvement processing means for inputting and converting binary image data of a pixel of interest into multi-valued image data using spatial filtering processing, and a plurality of pixels held by the holding means are character / line drawing. A region,
Alternatively, area determining means for determining whether the area is a picture area,
An image output, comprising: a selection output unit that selectively outputs the processing result of the first image quality improvement processing unit or the second image quality improvement processing unit based on the determination result of the area determination unit. apparatus.
【請求項2】 文字,線画の多い原稿であることを示す
第1の処理モード,写真,網点等の絵柄の多い原稿であ
ることを示す第2のモード,及び,文字,線画,写真,
網点等が混在する原稿であることを示す第3の処理モー
ドの3つの処理モードを択一的に指定するための指定手
段と,原画像である2値のイメージデータを記憶する記
憶手段と,前記指定手段で指定された処理モードに基づ
いて複数の画質向上処理の中から最適な画質向上処理を
選択し,前記2値のイメージデータに対して最適な画質
向上処理を実行し,2値或いは多値のイメージデータを
出力する画質向上処理手段と,前記画質向上処理手段を
介して入力した2値或いは多値のイメージデータに基づ
いて,レーザ書込みを行う多値レーザ書込み手段とを備
えたことを特徴とする画像出力装置。
2. A first processing mode indicating that the original has many characters and line drawings, a second mode indicating that the original has many pictures such as photographs and halftone dots, and characters, line drawings, photographs,
Designating means for selectively designating the three processing modes of the third processing mode indicating that the original has halftone dots and the like, and storage means for storing binary image data which is an original image. , An optimum image quality improving process is selected from a plurality of image quality improving processes based on the processing mode specified by the specifying means, and the optimum image quality improving process is executed on the binary image data to obtain a binary value. Alternatively, an image quality improvement processing means for outputting multivalued image data and a multivalued laser writing means for performing laser writing on the basis of the binary or multivalued image data input via the image quality improvement processing means are provided. An image output device characterized by the above.
【請求項3】 文字,線画の多い原稿であることを示す
第1の処理モード,写真,及び,網点等の絵柄の多い原
稿であることを示す第2のモードの2つの処理モードを
択一的に指定するための指定手段と,原画像である2値
のイメージデータを記憶する記憶手段と,着目画素に隣
接する複数画素を保持する保持手段と,前記保持手段で
保持した複数画素と予め記憶してある比較パターンとを
パターンマッチング処理で比較し,比較パターンと一致
した場合,着目画素の2値のイメージデータを多値のイ
メージデータに変換し,一致しない場合,2値のイメー
ジデータをそのまま出力する第1の画質向上処理手段
と,前記保持手段で保持した複数画素を入力し,空間フ
ィルタリング処理を用いて着目画素の2値のイメージデ
ータを多値のイメージデータに変換して出力する第2の
画質向上処理手段と,前記指定手段で指定された処理モ
ードに基づいて,前記第1の画質向上処理手段或いは第
2の画質向上処理手段の処理結果を選択的に出力する選
択出力手段と,前記選択出力手段を介して入力した2値
或いは多値のイメージデータに基づいて,レーザ書込み
を行う多値レーザ書込み手段とを備えたことを特徴とす
る画像出力装置。
3. Two processing modes are selected: a first processing mode indicating that the original has many characters and line drawings, a photograph, and a second mode indicating that the original has many pictures such as halftone dots. A designating means for designating a single image, a storage means for storing binary image data which is an original image, a holding means for holding a plurality of pixels adjacent to a target pixel, and a plurality of pixels held by the holding means A comparison pattern stored in advance is compared by a pattern matching process. If the comparison pattern matches, the binary image data of the pixel of interest is converted into multi-valued image data, and if it does not match, the binary image data Is input to the first image quality improving processing means and a plurality of pixels held by the holding means are input, and binary image data of the target pixel is converted into a multivalued image by using spatial filtering processing. The processing result of the first image quality improving processing means or the second image quality improving processing means is selected based on the second image quality improving processing means for converting the data and outputting the data, and the processing mode specified by the specifying means. Image output including selective output means for selectively outputting and multivalued laser writing means for performing laser writing based on binary or multivalued image data input through the selective output means. apparatus.
【請求項4】 前記選択出力手段は,第1の処理モード
の場合,第1の画質向上処理手段の処理結果を選択出力
することを特徴とする請求項3記載の画像出力装置。
4. The image output device according to claim 3, wherein the selection output means selectively outputs the processing result of the first image quality improvement processing means in the first processing mode.
【請求項5】 前記選択出力手段は,第2の処理モード
の場合,第2の画質向上処理手段の処理結果を選択出力
することを特徴とする請求項3記載の画像出力装置。
5. The image output apparatus according to claim 3, wherein the selection output means selectively outputs the processing result of the second image quality improvement processing means in the second processing mode.
【請求項6】 前記保持手段で保持した複数画素に対し
て,その領域が文字・線画領域であるか,或いは,絵柄
領域であるかを判定する領域判定手段を備え,前記指定
手段は,文字,線画,写真,網点等が混在する原稿であ
ることを示す第3の処理モードの指定が可能であり,且
つ,前記選択出力手段は,第3の処理モードの場合,前
記領域判定手段の判定結果に基づいて,前記第1の画質
向上処理手段或いは第2の画質向上処理手段の処理結果
を選択的に出力することを特徴とする請求項3記載の画
像出力装置。
6. An area determination means for determining whether the area of a plurality of pixels held by the holding means is a character / line drawing area or a pattern area, and the designating means is a character , A line drawing, a photograph, a halftone dot, and the like can be designated as a third processing mode indicating that the original is present, and the selection output means, in the case of the third processing mode, of the area determination means. 4. The image output device according to claim 3, wherein the processing result of the first image quality improvement processing means or the second image quality improvement processing means is selectively output based on the determination result.
【請求項7】 前記領域判定手段は,着目画素に隣接す
る複数画素の縦方向及び横方向の白・黒画素の連続性を
検出し,その結果を所望の大きさに膨張処理する白黒画
素連続性検出手段と,着目画素に隣接する複数画素の白
画素の塊を検出し,その結果を所望の大きさに膨張処理
する白地検出手段とを備え,前記白黒画素連続性検出手
段の膨張処理結果,白地検出手段の膨張処理結果,及
び,第1の画質向上処理手段におけるパターンマッチン
グ処理の比較結果に基づいて,その着目画素の領域が文
字・線画領域であるか,或いは,絵柄領域であるかを判
定することを特徴とする請求項6記載の画像出力装置。
7. The black-and-white pixel continuation for detecting the continuity of white and black pixels in the vertical and horizontal directions of a plurality of pixels adjacent to the pixel of interest and expanding the result to a desired size. And a white background detecting means for detecting a group of white pixels of a plurality of pixels adjacent to the pixel of interest and expanding the result to a desired size. The expansion processing result of the black and white pixel continuity detecting means Whether the area of the pixel of interest is a character / line drawing area or a pattern area based on the expansion processing result of the white background detection means and the comparison result of the pattern matching processing in the first image quality improvement processing means. The image output device according to claim 6, wherein
【請求項8】 前記領域判定手段は,着目画素が前記白
地検出手段で検出された画素であり,且つ,着目画素に
対する前記第1の画質向上処理手段のパターンマッチン
グ処理の比較結果が一致の場合,その着目画素の領域が
文字・線画領域であると判定し,前記選択出力手段は,
前記領域判定手段の判定結果が文字・線画領域の場合に
前記第1の画質向上処理手段の処理結果を出力すること
を特徴とする請求項7記載の画像出力装置。
8. The area determination unit is a case where the pixel of interest is a pixel detected by the white background detection unit, and the comparison result of the pattern matching process of the first image quality improvement processing unit with respect to the pixel of interest is a match. , The area of the pixel of interest is determined to be a character / line drawing area, and the selection output means
8. The image output apparatus according to claim 7, wherein the processing result of the first image quality improvement processing means is output when the determination result of the area determination means is a character / line drawing area.
【請求項9】 前記領域判定手段は,着目画素が前記白
地検出手段で検出され,且つ,白黒画素連続性検出手段
で検出された画素である場合,その着目画素の領域が文
字・線画領域であると判定し,前記選択出力手段は,前
記領域判定手段の判定結果が文字・線画領域の場合に前
記第1の画質向上処理手段の処理結果を出力することを
特徴とする請求項7記載の画像出力装置。
9. When the pixel of interest is a pixel detected by the white background detecting unit and detected by the black and white pixel continuity detecting unit, the region determining unit determines that the region of the pixel of interest is a character / line drawing region. 8. The selection output means determines that there is, and outputs the processing result of the first image quality improvement processing means when the determination result of the area determination means is a character / line drawing area. Image output device.
【請求項10】 前記領域判定手段は,着目画素が前記
白地検出手段で検出されず,白黒画素連続性検出手段で
検出された画素であり,且つ,前記第1の画質向上処理
手段のパターンマッチング処理の比較結果が一致しない
場合,その着目画素の領域が絵柄領域であると判定し,
前記選択出力手段は,前記領域判定手段の判定結果が絵
柄領域の場合に前記第2の画質向上処理手段の処理結果
を出力することを特徴とする請求項7記載の画像出力装
置。
10. The area determining means is a pixel in which a target pixel is not detected by the white background detecting means but is detected by the black and white pixel continuity detecting means, and the pattern matching of the first image quality improving processing means is performed. If the comparison results of the processes do not match, it is determined that the area of the pixel of interest is the pattern area,
The image output apparatus according to claim 7, wherein the selection output unit outputs the processing result of the second image quality improvement processing unit when the determination result of the region determination unit is a pattern region.
JP4021868A 1992-01-10 1992-01-10 Picture output device Pending JPH05191642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4021868A JPH05191642A (en) 1992-01-10 1992-01-10 Picture output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4021868A JPH05191642A (en) 1992-01-10 1992-01-10 Picture output device

Publications (1)

Publication Number Publication Date
JPH05191642A true JPH05191642A (en) 1993-07-30

Family

ID=12067110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4021868A Pending JPH05191642A (en) 1992-01-10 1992-01-10 Picture output device

Country Status (1)

Country Link
JP (1) JPH05191642A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181873A (en) * 1994-12-21 1996-07-12 Ricoh Co Ltd Image forming device
JP2006093771A (en) * 2004-09-21 2006-04-06 Fuji Xerox Co Ltd Image processor, image output device, image processing method, image outputting method, image processing program, and image outputting program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181873A (en) * 1994-12-21 1996-07-12 Ricoh Co Ltd Image forming device
JP2006093771A (en) * 2004-09-21 2006-04-06 Fuji Xerox Co Ltd Image processor, image output device, image processing method, image outputting method, image processing program, and image outputting program

Similar Documents

Publication Publication Date Title
EP0933723B1 (en) Printing apparatus
US6266153B1 (en) Image forming device having a reduced toner consumption mode
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
EP0808490B1 (en) Enhancement of image resolution and contrast
JP2002185800A (en) Adaptive image enhancement filter and method for generating enhanced image data
JPH11154226A (en) Method and device for improving resolution
JPS632397B2 (en)
JP3810826B2 (en) Half-bit pixel rendering method and half-bit pixel rendering apparatus
US5697712A (en) Image processing method and apparatus
JP3463645B2 (en) Image processing apparatus and method, and computer-readable recording medium recording image processing program
US6661921B2 (en) Image process apparatus, image process method and storage medium
US5812695A (en) Automatic typing of raster images using density slicing
JPH1070654A (en) Image processor
EP1077572B1 (en) Image forming apparatus selectively applying a smoothing operation to image data
JPH05191642A (en) Picture output device
JPH09218959A (en) Image processor
JPH09167222A (en) Image processor
JPH04186486A (en) Image processor
US7324230B2 (en) Image forming apparatus and image forming method for forming color and monochromatic images
JPH10145587A (en) Image data processor
JP4330685B2 (en) Printing device
JP3452202B2 (en) Image processing method
JPH10145588A (en) Image data processor
JPH11275364A (en) Image forming device
JPH01229636A (en) Image processor