JPH08125843A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08125843A
JPH08125843A JP6265068A JP26506894A JPH08125843A JP H08125843 A JPH08125843 A JP H08125843A JP 6265068 A JP6265068 A JP 6265068A JP 26506894 A JP26506894 A JP 26506894A JP H08125843 A JPH08125843 A JP H08125843A
Authority
JP
Japan
Prior art keywords
resolution
correction amount
edge
image
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.)
Granted
Application number
JP6265068A
Other languages
Japanese (ja)
Other versions
JP3294249B2 (en
Inventor
Noriyoshi Chiba
徳良 千葉
Ryuji Omoto
隆二 大本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP26506894A priority Critical patent/JP3294249B2/en
Publication of JPH08125843A publication Critical patent/JPH08125843A/en
Application granted granted Critical
Publication of JP3294249B2 publication Critical patent/JP3294249B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE: To provide an image processor with which an entire hardware amount is reduced by making most of a hardware into a single common circuit not depending on resolution. CONSTITUTION: An input image is fetched into shift registers 63 to 79 and arithmetic parts 81-95 calculate the correcting amount of dot addition/erasure for performing smoothing processing to the edges of lateral lines and longitudinal lines in the input image. While output resolution 300dpi is selected, that image is transmitted to an output deciding arithmetic part 103 as it is, and the output image of horizontal 1200dpi x vertical 300dpi is provided. While output resolution 600dpi is selected, among the correcting amounts for output resolution 300dpi, the correcting amount on the longitudinal lines is transmitted to the output deciding arithmetic part 103 as it is but the correcting amount on the lateral lines is inputted to a resolution converting part 97 and converted to the correcting amount for output resolution 600dpi, and the output image of horizontal 1200dpi × vertical 600dpi is provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ある解像度の入力画像
を、パターンのエッジがスムーズ化された複数の異なる
解像度の出力画像に変換するための画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for converting an input image having a certain resolution into a plurality of output images having different resolutions in which edges of a pattern are smoothed.

【0002】[0002]

【従来の技術】この種の従来技術として、例えば特開平
5−177867号の画像処理装置が知られている。こ
の従来装置は、例えばレーザビームプリンタにおいて出
力画像の解像度を300dpi(ドット/インチ)と6
00dpiとに切り換えるために用いられるもので、プ
リンタコントローラとプリンタエンジンとの間に接続さ
れた2つの補間論理回路を備え、プリンタエンジンの解
像度を選択する信号によって、この2つの補間論理回路
の一方が選択的に作動するようになっている。そして、
その2つの補間論理回路の一方は、プリンタコントロー
ラから300×300dpiの画像を入力して、その入
力画像のパターンのエッジをスムーズ化して1200×
300dpiの出力画像に変換する機能を有する。ま
た、他方の補間論理回路は、同入力画像の解像度を2倍
にすると共にパターンエッジをスムーズ化して1200
×600dpiの出力画像に変換する機能を有する。
2. Description of the Related Art As this type of conventional technique, for example, an image processing apparatus disclosed in Japanese Patent Laid-Open No. 177867/1993 is known. This conventional device has a resolution of an output image of 300 dpi (dot / inch) and 6 in a laser beam printer, for example.
It is used for switching to 00 dpi, and includes two interpolation logic circuits connected between the printer controller and the printer engine, and one of the two interpolation logic circuits is selected by a signal for selecting the resolution of the printer engine. It is designed to work selectively. And
One of the two interpolation logic circuits inputs a 300 × 300 dpi image from the printer controller and smoothes the edges of the pattern of the input image to 1200 ×
It has a function of converting to an output image of 300 dpi. The other interpolation logic circuit doubles the resolution of the same input image and smooths the pattern edge to 1200
It has a function of converting to an output image of × 600 dpi.

【0003】[0003]

【発明が解決しようとする課題】この従来装置の一つの
問題は、選択できる解像度の種類数に対応した個数の補
間論理回路が必要であるため、ハードウェア量が多くな
り、コストが高くなる点である。
One of the problems of this conventional apparatus is that the number of interpolation logic circuits corresponding to the number of types of resolutions that can be selected is required, so that the amount of hardware increases and the cost increases. Is.

【0004】従って、本発明の目的は、ある解像度の入
力画像を複数の異なる解像度の出力画像に変換するため
の画像処理装置において、そのハードウェアの大部分を
解像度に依存しない単一の共通回路とすることにより、
全体のハードウェア量を小さくすることにある。
Therefore, an object of the present invention is to provide an image processing apparatus for converting an input image of a certain resolution into an output image of a plurality of different resolutions, and most of the hardware thereof is a single common circuit independent of the resolution. By
The goal is to reduce the total amount of hardware.

【0005】[0005]

【課題を解決するための手段】本発明は、ある解像度の
入力画像をスムージング処理された複数の異なる解像度
の出力画像に変換するための画像処理装置において、入
力画像を受けて、スムージング処理された第1の解像度
の出力画像を得るために入力画像に施すべき第1のエッ
ジ補正量を演算する補正量演算手段と、この第1のエッ
ジ補正量を受けて、スムージング処理された第2の解像
度の出力画像を得るために入力画像に施すべき第2のエ
ッジ補正量に変換する解像度変換手段と、第1のエッジ
補正量及び第2のエッジ補正量の一方を選択的に入力し
て、入力したエッジ補正量を入力画像に施すための処理
を行って対応する解像度の出力画像を作成する出力画像
作成手段とを備えたことを特徴とする。
According to the present invention, in an image processing apparatus for converting an input image of a certain resolution into a plurality of smoothed output images of different resolutions, the input image is received and smoothed. A correction amount calculation means for calculating a first edge correction amount to be applied to the input image to obtain an output image of the first resolution, and a second resolution smoothed by receiving the first edge correction amount. Resolution conversion means for converting into a second edge correction amount to be applied to the input image to obtain the output image, and one of the first edge correction amount and the second edge correction amount is selectively input and input. And an output image creating means for creating an output image having a corresponding resolution by performing a process for applying the edge correction amount to the input image.

【0006】[0006]

【作用】本発明の画像処理装置は、第1の解像度と第2
の解像度の少なくとも2種類の解像度の出力画像を選択
的に出力することができる。この装置は、補正量演算手
段と、解像度変換手段と、出力画像作成手段の3つの構
成要素を備える。
The image processing apparatus of the present invention has the first resolution and the second resolution.
It is possible to selectively output an output image having at least two types of resolutions. This apparatus includes three components, a correction amount calculation means, a resolution conversion means, and an output image creation means.

【0007】補正量演算手段は、入力画像を第1の解像
度の出力画像に変換するためのスムージング処理を行う
もので、入力画像のパターンのエッジをスムーズ化する
ための第1のエッジ補正量を計算する。
The correction amount calculation means performs a smoothing process for converting an input image into an output image having a first resolution, and calculates a first edge correction amount for smoothing edges of a pattern of the input image. calculate.

【0008】一方、解像度変換手段は、第1のエッジ補
正量を入力し、これを、第2の解像度の出力画像を得る
ための第2のエッジ補正量に変換する。
On the other hand, the resolution conversion means inputs the first edge correction amount and converts it into a second edge correction amount for obtaining an output image of the second resolution.

【0009】第1のエッジ補正量と第2のエッジ補正量
は、何れか一方が選択的に出力画像作成手段に入力され
る。出力画像作成手段は、入力したエッジ補正量を入力
画像に施すための処理を行う。従って、第1のエッジ補
正量が入力された場合は、第1の解像度の出力画像が作
成され、第2のエッジ補正量が入力された場合は、第2
の解像度の出力画像が作成される。
One of the first edge correction amount and the second edge correction amount is selectively input to the output image creating means. The output image creating means performs a process for applying the input edge correction amount to the input image. Therefore, when the first edge correction amount is input, the output image of the first resolution is created, and when the second edge correction amount is input, the second edge correction amount is input.
An output image with a resolution of is created.

【0010】この装置においては、補正量演算手段と出
力画像作成手段とは、第1及び第2の出力解像度を通じ
て共通に使用される。解像度変換手段だけが第2の解像
度に専用に使用される。従って、選択できる解像度が増
えることによるハードウェア量の増加は、解像度変換手
段の分だけであるため、全体のハードウェア量は従来技
術に比較して少なくて済む。
In this apparatus, the correction amount calculating means and the output image creating means are commonly used through the first and second output resolutions. Only the resolution conversion means is dedicated to the second resolution. Therefore, the increase in the amount of hardware due to the increase in the selectable resolution is only for the resolution converting means, and therefore the total amount of hardware is smaller than that in the conventional technique.

【0011】好適な実施例は、出力解像度として300
dpiと600dpiが選択できるが、上記解像度変換
手段に相当する解像度変換部の装置全体に占める割合は
非常に小さい。そのため、この実施例装置のハードウェ
ア量は、従来の300dpiしか出力しない装置のハー
ドウェア量と大差がない。
The preferred embodiment has an output resolution of 300.
Although dpi and 600 dpi can be selected, the ratio of the resolution conversion unit corresponding to the above-mentioned resolution conversion unit in the entire device is very small. Therefore, the hardware amount of the device of this embodiment is not much different from the hardware amount of the conventional device which outputs only 300 dpi.

【0012】[0012]

【実施例】図1は、本発明を適用したレーザプリンタの
制御装置の一実施例のハードウェア構成を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a hardware configuration of an embodiment of a control device for a laser printer to which the present invention is applied.

【0013】この制御装置1は、パーソナルコンピュー
タのような外部装置3から印刷データを受信し、この印
刷データに基づいて出力画像のビットマップデータを作
成し、このビットマップデータを実際の画像形成を行う
ためのレーザビーム変調回路5に出力するものである。
ここで、レーザビーム変調回路5の解像度(以下、出力
解像度という)は例えば300dpiと600dpiの
2種類の間で選択可能であり、選択された出力解像度に
対応して、制御装置1の作成するビットマップデータの
解像度も変更されるように構成されている。本発明の一
つの特徴は、そのビットマップデータの解像度変更のた
めの構成、具体的には後述するビットマップデータ発生
回路27において具現化されている。
The control device 1 receives print data from an external device 3 such as a personal computer, creates bitmap data of an output image based on the print data, and uses the bitmap data for actual image formation. It outputs to the laser beam modulation circuit 5 for performing.
Here, the resolution of the laser beam modulation circuit 5 (hereinafter referred to as output resolution) can be selected from, for example, two types of 300 dpi and 600 dpi, and a bit created by the control device 1 corresponding to the selected output resolution. The map data resolution is also changed. One feature of the present invention is embodied in a configuration for changing the resolution of the bitmap data, specifically in a bitmap data generation circuit 27 described later.

【0014】この制御装置1は、印刷データを処理する
ための中央処理装置(CPU)11、主記憶やワークエ
リアや受信バッファ等として用いられるRAM13、C
PU11の動作プログラムを格納したROM15、印刷
データ内のキャラクタコードをキャラクタのビットマッ
プデータに変換するためのフォントデータを内蔵したキ
ャラクタジェネレータ17、及び、印刷データに基づい
て生成されたページ単位の画像のビットマップデータを
格納するページフレームバッファ19を備えている。C
PU11は、クロック信号発生回路21からのクロック
信号に同期して動作する。
The control unit 1 includes a central processing unit (CPU) 11 for processing print data, a RAM 13 used as a main memory, a work area, a reception buffer, etc.
The ROM 15 that stores the operation program of the PU 11, the character generator 17 that incorporates the font data for converting the character code in the print data into the bit map data of the character, and the image of the page unit generated based on the print data A page frame buffer 19 for storing bitmap data is provided. C
The PU 11 operates in synchronization with the clock signal from the clock signal generation circuit 21.

【0015】外部装置3から受信された印刷データは、
インターフェイス回路23を介してバス25に取り込ま
れ、CPU11により処理されて、レーザビームを変調
するための基本的なビットマップデータに変換され、ペ
ージフレームバッファ19に格納される。この基本的な
ビットマップデータの解像度は水平方向300dpi×
垂直方向300dpiである。
The print data received from the external device 3 is
It is taken into the bus 25 via the interface circuit 23, processed by the CPU 11, converted into basic bitmap data for modulating the laser beam, and stored in the page frame buffer 19. The resolution of this basic bitmap data is 300 dpi in the horizontal direction.
The vertical direction is 300 dpi.

【0016】尚、以下の説明では解像度を例えば「12
00dpi×300dpi」のように表現するが、ここ
で「×」の前の数字は水平方向の解像度、後の数字は垂
直方向の解像度を示すこととする。
In the following description, the resolution is, for example, "12".
It is expressed as “00 dpi × 300 dpi”, where the number before “x” indicates the horizontal resolution and the number after the “×” indicates the vertical resolution.

【0017】この300dpi×300dpiの基本的
なビットマップデータは、ビットマップデータ発生回路
27に読み込まれ、ここでパターンのエッジをスムーズ
化するための処理(以下、スムージング処理)を受け
て、最終的なビットマップデータに変換される。この最
終的なビットマップデータは、既に述べたように、選択
されている出力解像度に対応した解像度で作成される。
即ち、出力解像度が300dpiの場合には、最終的な
ビットマップデータの解像度は1200dpi×300
dpiであり、出力解像度が600dpiの場合、それ
は1200dpi×600dpiである。ここで、水平
方向の解像度が1200dpiとなるのは、スムージン
グ処理を行った結果である。即ち、スムージング処理は
基本的なビットマップデータの1画素の4分の1に相当
する横幅をもつドットを、パターンのエッジの段差形状
の部分に追加又は削除することにより、エッジが段差な
く滑らかに見えるように修正するものである。
The basic bitmap data of 300 dpi × 300 dpi is read into the bitmap data generating circuit 27, where it is subjected to processing for smoothing the edges of the pattern (hereinafter referred to as smoothing processing) and finally. Is converted to simple bitmap data. This final bitmap data is created at the resolution corresponding to the selected output resolution, as described above.
That is, when the output resolution is 300 dpi, the final bitmap data resolution is 1200 dpi × 300.
If the output resolution is 600 dpi and the output resolution is 600 dpi, it is 1200 dpi × 600 dpi. The horizontal resolution of 1200 dpi is the result of the smoothing process. That is, in the smoothing process, a dot having a width corresponding to one-fourth of one pixel of basic bitmap data is added to or deleted from the step-shaped portion of the edge of the pattern to smooth the edge without any step. It is to be modified so that it can be seen.

【0018】さて、上記最終的なビットマップデータは
レーザビーム変調器5に出力されて、レーザビームをオ
ン/オフ変調する。また、CPU11は、ビットシフト
回路29及びアドレス回路31を介して、感光体ドラム
7の駆動を制御して、ビットマップデータの書込みに適
するように感光体ドラム1の回転を制御する。これによ
り、レーザビームが感光体ドラム7の表面に、最終的な
ビットマップデータに対応した静電潜像を描くことにな
る。
The final bit map data is output to the laser beam modulator 5 to modulate the laser beam on / off. Further, the CPU 11 controls the drive of the photosensitive drum 7 via the bit shift circuit 29 and the address circuit 31, and controls the rotation of the photosensitive drum 1 so as to be suitable for writing the bitmap data. As a result, the laser beam draws an electrostatic latent image corresponding to the final bitmap data on the surface of the photosensitive drum 7.

【0019】更に、CPU11は、I/O制御回路33
を介してビットマップデータ発生回路27に対して各種
の制御信号を送る。また、レーザビーム変調回路5から
も、ビットマップデータ発生回路27に対して必要な制
御信号が送られる。それらの制御信号としては、例え
ば、レーザビームのオン/オフ変調周期に同期したビデ
オクロック信号、レーザビームの水平走査の周期に同期
した水平同期信号、及び、出力解像度を選択するための
解像度選択信号などがある。
Further, the CPU 11 has an I / O control circuit 33.
Various control signals are sent to the bit map data generating circuit 27 via. Further, the laser beam modulation circuit 5 also sends necessary control signals to the bitmap data generation circuit 27. The control signals are, for example, a video clock signal synchronized with a laser beam on / off modulation period, a horizontal synchronization signal synchronized with a laser beam horizontal scanning period, and a resolution selection signal for selecting an output resolution. and so on.

【0020】以上の構成のうち、本発明の一つの特徴を
具現化したものであるビットマップデータ発生回路27
について、以下に詳細に説明する。
Of the above-mentioned constitutions, one feature of the present invention is embodied, and the bit map data generating circuit 27.
Will be described in detail below.

【0021】図2は、ビットマップデータ発生回路27
の内部の構成を示す。
FIG. 2 shows a bit map data generating circuit 27.
The internal configuration of is shown.

【0022】図2において、図示しないページフレーム
バッファ19より、300dpi×300dpiの基本
的なビットマップデータが、ページの最上の水平ライン
の左端の画素からスタートして各水平ラインを左から右
へそして上の水平ラインから下の水平ラインへという順
序のラスタスキャン方式により、一定のタイミングで読
み出される。読み出された1本の水平ラインの各画素デ
ータは、ラッチ41を通じて、RAM43に書込まれ
る。
In FIG. 2, from a page frame buffer 19 (not shown), basic bitmap data of 300 dpi × 300 dpi starts from the pixel at the left end of the top horizontal line of the page, and moves each horizontal line from left to right. It is read out at a fixed timing by the raster scan method in which the upper horizontal line is moved to the lower horizontal line. Each read pixel data of one horizontal line is written in the RAM 43 through the latch 41.

【0023】RAM43は、1水平ライン分のビットマ
ップデータを保持できる容量を各々持った9本のFIF
Oメモリを並列させたのと等価な構成であって、上述し
たラッチ41からの1水平ラインのデータは第1本目の
FIFOメモリに書込まれる。また、後述する8つのラ
ッチ45〜59からの8水平ラインのデータは、RAM
43の2本目から9本目のFIFOメモリにそれぞれ書
込まれる。従って、RAM43には、連続する9本の水
平ライン分のビットマップデータが記憶されていること
になる。
The RAM 43 has nine FIFs each having a capacity capable of holding bitmap data for one horizontal line.
The configuration is equivalent to the parallel arrangement of O memories, and the data of one horizontal line from the above-mentioned latch 41 is written in the first FIFO memory. In addition, data of 8 horizontal lines from 8 latches 45 to 59 described later is stored in the RAM.
They are written in the second to ninth FIFO memories 43, respectively. Therefore, the RAM 43 stores the bitmap data for nine consecutive horizontal lines.

【0024】このRAM43からは、記憶されている9
本の水平ライン中の最も先に読み込まれた同一水平位置
に位置する9つの画素のデータが同期して読み出され
る。これら9水平ラインの同一位置の画素データは、9
個のラッチ45〜61を通じて、9本の9段シフトレジ
スタ63〜79にそれぞれ入力される。シフトレジスタ
63〜79は、各々に入力された水平ラインの画素デー
タを順次後段へシフトしていく。従って、シフトレジス
タ63〜79には9画素×9画素の領域のビットマップ
データが保持されることになり、しかも、その9画素×
9画素の領域は、一定のタイミングで1画素づつ水平方
向にシフトされ、その水平シフトが水平ラインの終端に
達すると1水平ライン分だけ垂直方向にシフトして、再
び同様の水平シフトを繰り返す。換言すれば、ページフ
レームバッファに格納された300dpi×300dp
iの基本的なビットマップデータの1ページが、シフト
レジスタ63〜79が作る9画素×9画素サイズのウィ
ンドウによって水平方向及び垂直方向にくまなくスキャ
ンされることになる(以下、上記ウィンドウをスキャニ
ングウィンドウという)。
From the RAM 43, the stored 9
The data of the nine pixels located at the same horizontal position that is read first in the horizontal line of the book is read in synchronization. The pixel data at the same position on these 9 horizontal lines is 9
It is input to nine nine-stage shift registers 63 to 79 through the individual latches 45 to 61, respectively. The shift registers 63 to 79 sequentially shift the pixel data of the horizontal line input to each to the subsequent stage. Therefore, the shift register 63 to 79 holds the bitmap data of the area of 9 pixels × 9 pixels, and further, the 9 pixels × 9 pixels
The area of 9 pixels is horizontally shifted by one pixel at a constant timing, and when the horizontal shift reaches the end of the horizontal line, the area is vertically shifted by one horizontal line and the same horizontal shift is repeated again. In other words, 300 dpi × 300 dpi stored in the page frame buffer
One page of the basic bitmap data of i is scanned in the horizontal and vertical directions by a window of 9 pixels × 9 pixels made by the shift registers 63 to 79 (hereinafter, the above window is scanned). Windows).

【0025】このスキャニングウィンドウ内の9画素×
9画素のビットマップデータは、横線エッジ演算部81
及び縦線エッジ演算部83に入力される。横線エッジ演
算部81は、入力した9画素×9画素のビットマップデ
ータの垂直方向の微分(=白黒変化)を演算することに
より、このスキャニングウィンドウ内に存在する黒パタ
ーンの横線(=水平方向成分)のエッジ(=輪郭)を検
出するものである。即ち、垂直方向の微分が立ち上がっ
た(=白から黒へ変化した)位置の黒画素を、横線の立
ち上がりエッジ(=上側エッジ)として、また、立ち下
がった(=黒から白へ変化した)位置の黒画素を、横線
の立ち下がりエッジ(=下側エッジ)として検出する。
9 pixels in this scanning window ×
The 9-pixel bitmap data is stored in the horizontal edge calculator 81.
And the vertical line edge calculation unit 83. The horizontal line edge calculation unit 81 calculates the vertical differentiation (= black-and-white change) of the input 9 pixel × 9 pixel bitmap data to obtain the horizontal line (= horizontal component of the black pattern) present in this scanning window. ) Edge (= contour) is detected. That is, the black pixel at the position where the vertical differential rises (= changes from white to black) is used as the rising edge (= upper edge) of the horizontal line and the position where it falls (= changes from black to white). The black pixel of is detected as the falling edge (= lower edge) of the horizontal line.

【0026】一方、縦線エッジ演算部83は、入力した
9画素×9画素のビットマップデータの水平方向の微分
を演算することにより、このスキャニングウィンドウ内
に存在する黒パターンの縦線(=垂直方向成分)のエッ
ジを検出するものである。即ち、水平方向の微分が立ち
上がった位置の黒画素を、縦線の立ち上がりエッジ(=
左側エッジ)として、また、立ち下がった位置の黒画素
を、縦線の立ち下がりエッジ(=右側エッジ)として検
出する。
On the other hand, the vertical line edge calculation unit 83 calculates the differential in the horizontal direction of the input 9 pixel × 9 pixel bitmap data to obtain a vertical line (= vertical line) of the black pattern existing in this scanning window. The edge of the (directional component) is detected. That is, the black pixel at the position where the differential in the horizontal direction has risen is represented by the rising edge of the vertical line (=
The black pixel at the falling position is detected as the falling edge (= right edge) of the vertical line.

【0027】横線エッジ演算部81及び縦線エッジ演算
部83により検出された横線及び縦線の立ち上がりエッ
ジ及び立ち下がりエッジを示すデータは、横線エッジ特
徴抽出演算部85及び縦線エッジ特徴演算部87にぞれ
ぞれ入力される。
The data indicating the rising edge and the falling edge of the horizontal line and the vertical line detected by the horizontal line edge calculation unit 81 and the vertical line edge calculation unit 83 are the horizontal line edge feature extraction calculation unit 85 and the vertical line edge feature calculation unit 87. It is input respectively.

【0028】横線エッジ特徴演算部85は、検出された
横線の立ち上がりエッジ及び立ち下がりエッジがそれぞ
れ、スキャニングウィンドウの中心に位置する画素(以
下、注目画素という)DXに対してどのような相対位置
にあるかという点に着目して、その立ち上がりエッジ及
び立ち下がりエッジを分類するものである。即ち、立ち
上がりエッジ(=上側エッジ)に関しては、まず、全て
の立ち上がりエッジの中から、注目画素DXに対して実
質的に上側エッジの意義をもつ所定位置関係(例えば、
図3に示すマスク領域内)にあるエッジだけを抽出し、
その抽出した上側エッジを構成する画素が注目画素DX
から上方又は下方に何画素目で左方又は右方に何画素目
に位置するかという観点から、その上側エッジの形状を
特徴付けたデータAU、BU、CU、DU、FU、GU
を計算する。また、立ち下がりエッジ(=下側エッジ)
についても、まず、注目画素DXに対して実質的に下側
エッジの意義をもつ所定位置関係(例えば、図4に示す
マスク領域内)にあるエッジだけを抽出し、その抽出し
た下側エッジを構成する画素が注目画素DXから上方又
は下方に何画素目で左方又は右方に何画素目に位置する
かという観点から、その下側エッジの形状を特徴付けた
データAD、BD、CD、DD、FD、GDを計算す
る。
The horizontal line edge feature calculation unit 85 determines the relative positions of the detected rising edge and falling edge of the horizontal line with respect to the pixel (hereinafter referred to as the target pixel) DX located at the center of the scanning window. Focusing on whether or not there is any, the rising edge and the falling edge are classified. That is, regarding the rising edge (= upper edge), first, from among all the rising edges, a predetermined positional relationship (for example, a position substantially having the meaning of the upper edge with respect to the target pixel DX) is given.
Only the edges in the mask area shown in FIG. 3) are extracted,
The pixel forming the extracted upper edge is the target pixel DX.
From the viewpoint of the number of pixels above or below and the number of pixels to the left or right, the data AU, BU, CU, DU, FU, GU characterizing the shape of the upper edge of the data.
Is calculated. Also, falling edge (= lower edge)
Also, first, only the edge having a predetermined positional relationship (for example, in the mask area shown in FIG. 4) substantially having the meaning of the lower edge with respect to the pixel of interest DX is extracted, and the extracted lower edge is extracted. Data AD, BD, and CD characterizing the shape of the lower edge of the pixel from the viewpoint of the number of pixels above or below the pixel of interest DX to be positioned and to the left or right of which pixel. Calculate DD, FD, GD.

【0029】ここで、上側エッジの形状特徴データA
U、BU、CU、DU、FU、GU及び下側エッジの形
状特徴データAD、BD、CD、DD、FD、GDの意
味について補足説明すれば次の通りである。即ち、図3
及び図4に示すように、マスク領域内は、注目画素DX
から左右方向への画素個数(距離)に応じてA、B、
C、D、F、Gの画素列に区分されている。そして、上
側エッジに関しては、図3のマスク領域内の画素列A、
B、C、D、F、Gの各々の白黒パターンに応じて、上
側エッジの形状特徴抽出用の所定論理式に従ってデータ
AU、BU、CU、DU、FU、GUの各々(4ビット
データ)が決められる。また、下側エッジについても、
図4のマスク領域内の画素列A、B、C、D、F、Gの
各々の白黒パターンに応じて、下側エッジの形状特徴抽
出用の所定論理式に従ってデータAD、BD、CD、D
D、FD、GDの各々(4ビットデータ)が決められ
る。
Here, the shape feature data A of the upper edge
The meanings of U, BU, CU, DU, FU, GU and the shape feature data AD, BD, CD, DD, FD, GD of the lower edge will be supplementarily described as follows. That is, FIG.
As shown in FIG. 4 and FIG.
A, B, depending on the number of pixels (distance) in the horizontal direction from
It is divided into C, D, F, and G pixel columns. Then, regarding the upper edge, the pixel row A in the mask area of FIG.
Each of the data AU, BU, CU, DU, FU, and GU (4 bit data) is generated according to a predetermined logical expression for shape feature extraction of the upper edge according to each black-and-white pattern of B, C, D, F, G. Can be decided Also for the lower edge,
Data AD, BD, CD, D according to a predetermined logical expression for shape feature extraction of the lower edge according to the black-and-white pattern of each of the pixel rows A, B, C, D, F, G in the mask area of FIG.
Each of D, FD and GD (4 bit data) is determined.

【0030】一方、縦線エッジ特徴演算部87は、検出
された縦線の立ち上がりエッジ及び立ち下がりエッジが
それぞれ、注目画素DXに対してどのような相対位置に
あるかという点に着目して、その立ち上がりエッジ及び
立ち下がりエッジを分類するものである。即ち、立ち上
がりエッジ(=左側エッジ)に関しては、まず、全ての
立ち上がりエッジの中から、注目画素DXに対して実質
的に左側エッジの意義をもつ所定位置関係(例えば、図
5に示すマスク領域内)にあるエッジだけを抽出し、そ
の抽出した左側エッジを構成する画素が注目画素DXか
ら上方又は下方に何画素目で左方又は右方に何画素目に
位置するかという観点から、その左側エッジの形状を特
徴付けたデータAL、BL、CL、DL、ELを計算す
る。また、立ち下がりエッジ(=右側エッジ)について
も、まず注目画素DXに対して実質的に右側エッジの意
義をもつ所定位置関係(例えば、図5に示すマスク領域
内)にあるエッジだけを抽出し、その抽出した右側エッ
ジを構成する画素が注目画素から上方又は下方に何画素
目で左方又は右方に何画素目に位置するかという観点か
ら、その右側エッジの形状を特徴付けたデータAR、B
R、CR、DR、ERを計算する。
On the other hand, the vertical line edge feature calculation unit 87 pays attention to the relative positions of the rising edge and the falling edge of the detected vertical line with respect to the target pixel DX. The rising edge and the falling edge are classified. That is, regarding the rising edge (= left side edge), first, from among all the rising edges, a predetermined positional relationship substantially having the meaning of a left side edge with respect to the target pixel DX (for example, in the mask area shown in FIG. 5). ), The left side is extracted from the viewpoint that the pixels forming the extracted left side edge are positioned above or below the pixel of interest DX and at which pixel to the left or right. Data AL, BL, CL, DL, EL characterizing the shape of the edge are calculated. As for the falling edge (= right edge), first, only the edge having a predetermined positional relationship (for example, in the mask area shown in FIG. 5) substantially having the meaning of the right edge with respect to the target pixel DX is extracted. , The data AR that characterizes the shape of the extracted right edge from the viewpoint of which pixel is located above or below the pixel of interest and which pixel is located to the left or to the right. , B
Calculate R, CR, DR, ER.

【0031】ここで、左側エッジの形状特徴データA
L、BL、CL、DL、EL及び右側エッジの形状特徴
データAR、BR、CR、DR、ERの意味について補
足説明すれば次の通りである。即ち、図5に示すよう
に、マスク領域内は、注目画素DXから上下方向への画
素個数(距離)に応じてA、B、C、D、Eの画素行に
区分されている。そして、左側エッジに関しては、図5
のマスク領域内の画素行A、B、C、D、Eの各々の白
黒パターンに応じて、左側エッジの形状特徴抽出用の所
定論理式に従ってデータAL、BL、CL、DL、EL
の各々(ALとCLは4ビットデータ、BLとDLは6
ビットデータ、ELは2ビットデータ)が決められる。
また、右側エッジについても、図5のマスク領域内の画
素行A、B、C、D、Eの各々の白黒パターンに応じ
て、右側エッジの形状特徴抽出用の所定論理式に従って
データAR、BR、CR、DR、ERの各々(ARとC
Rは4ビットデータ、BRとDRは6ビットデータ、E
Rは2ビットデータ)が決められる。
Here, the shape feature data A of the left edge
The meanings of L, BL, CL, DL, EL and the shape feature data AR, BR, CR, DR, ER of the right edge will be supplementarily described as follows. That is, as shown in FIG. 5, the mask area is divided into A, B, C, D, and E pixel rows according to the number of pixels (distance) in the vertical direction from the target pixel DX. As for the left edge, FIG.
Data AL, BL, CL, DL, EL according to a predetermined logical expression for shape feature extraction of the left edge in accordance with the black-and-white pattern of each of the pixel rows A, B, C, D, E in the mask area of
Each (AL and CL are 4-bit data, BL and DL are 6
Bit data and EL are 2-bit data).
As for the right side edge, the data AR, BR are also calculated according to a predetermined logical expression for extracting the shape feature of the right side edge in accordance with the black and white pattern of each of the pixel rows A, B, C, D, E in the mask area of FIG. , CR, DR, ER (AR and C
R is 4-bit data, BR and DR are 6-bit data, E
R is 2-bit data.

【0032】これらエッジ特徴抽出演算部85、87に
より計算された横線及び縦線の立ち上がりエッジ及び立
ち下がりエッジの形状を特徴付けるデータは、それぞ
れ、上側エッジ補正量演算部89、下側エッジ補正量演
算部91、左側エッジ補正量演算部93及び右側エッジ
補正量演算部95に入力される。
The data characterizing the shapes of the rising edges and the falling edges of the horizontal lines and the vertical lines calculated by the edge feature extraction calculation units 85 and 87 are the upper edge correction amount calculation unit 89 and the lower edge correction amount calculation, respectively. It is input to the unit 91, the left edge correction amount calculation unit 93, and the right edge correction amount calculation unit 95.

【0033】上側エッジ補正量演算部89は、横線の上
側エッジの特徴データAU、BU、CU、DU、FU、
GUに基づいて、その上側エッジに対するスムージング
処理のためのドットの付加量及び削り量を計算する。ま
た、下側エッジ補正量演算部91は、横線の下側エッジ
の特徴データAD、BD、CD、DD、FD、GDに基
づいて、その下側エッジに対するスムージング処理のた
めのドットの付加量及び削り量を計算する。図6は、こ
の横線に対するドットの付加量及び削り量の計算結果の
一例を示したもので、図中上部に示すような元の横線パ
ターンが与えられた場合、この元パターンの上側エッジ
及び下側エッジの段差部分に、1画素の1/4サイズの
ドット(以下、1/4ドットという)が付加されたり、
削除されたりして、段差部分が滑らかに見えるように補
正される。
The upper edge correction amount calculation unit 89 calculates the characteristic data AU, BU, CU, DU, FU of the upper edge of the horizontal line.
Based on the GU, the dot addition amount and the shaving amount for the smoothing process for the upper edge are calculated. Further, the lower edge correction amount calculation unit 91, based on the feature data AD, BD, CD, DD, FD, and GD of the lower edge of the horizontal line, adds the dot addition amount and the dot addition amount for smoothing processing to the lower edge. Calculate the shaving amount. FIG. 6 shows an example of the calculation result of the dot addition amount and the shaving amount for this horizontal line. When the original horizontal line pattern as shown in the upper part of the figure is given, the upper edge and the lower edge of this original pattern are given. Dots of 1/4 size of one pixel (hereinafter referred to as 1/4 dot) are added to the step portion of the side edge,
When it is deleted, the step is corrected so that it looks smooth.

【0034】一方、左側エッジ補正量演算部93は、縦
線の左側エッジの特徴データAL、BL、CL、DL、
ELに基づいて、その左側エッジに対するスムージング
処理のためのドットの補正量を計算する。また、右側エ
ッジ補正量演算部95は、縦線の右側エッジの特徴デー
タAR、BR、CR、DR、ERに基づいて、その右側
エッジに対するスムージング処理のためのドットの補正
量を計算する。図7は、この縦線に対する補正量の計算
結果の一例を示したもので、図中左部に示すような元の
縦線パターンが与えられた場合、この元パターンを構成
する画素の位置を左右に1/4ドット単位でシフトする
ように、左側エッジ及び右側エッジに対する補正が行わ
れて、元パターンの段差が滑らかに見えるように補正さ
れる。
On the other hand, the left-side edge correction amount calculation unit 93 calculates the characteristic data AL, BL, CL, DL of the left-side edge of the vertical line.
Based on EL, the dot correction amount for the smoothing process for the left edge is calculated. Further, the right edge correction amount calculation unit 95 calculates the dot correction amount for the smoothing process on the right edge based on the feature data AR, BR, CR, DR, ER of the right edge of the vertical line. FIG. 7 shows an example of the calculation result of the correction amount for this vertical line. When the original vertical line pattern as shown in the left part of the figure is given, the positions of the pixels forming this original pattern are determined. The left edge and the right edge are corrected so as to be shifted in the unit of 1/4 dot to the left and right, and the step of the original pattern is corrected so that it looks smooth.

【0035】以上のようにして計算された横線及び縦線
のエッジに対する補正量は、図6及び図7からも明らか
なように、300dpi×300dpiの基本的なビッ
トマップデータを1200dpi×300dpiの最終
的なビットマップデータに変換するためのもの、つまり
出力解像度が300dpiの場合のスムージング処理の
ための補正量である。
As is clear from FIGS. 6 and 7, the correction amounts for the edges of the horizontal and vertical lines calculated as described above are obtained by converting the basic bitmap data of 300 dpi × 300 dpi to the final bitmap of 1200 dpi × 300 dpi. It is a correction amount for converting into a typical bitmap data, that is, a correction amount for smoothing processing when the output resolution is 300 dpi.

【0036】尚、この出力解像度300dpi用の補正
量を計算するための上述したエッジ演算部81、83、
エッジ特徴抽出演算部85、87及び補正量演算部89
〜95の具体的処理内容については、特開平5−649
23号に詳細に開示されている(特に、同公報の図46
に対応する説明を参照)。同公報ではソフトウェアによ
る処理として説明されているが、その処理内容はNOT
やANDを組合せた単純な論理演算であり、本実施例で
はこれをハードロジック回路によって実現している。
It should be noted that the above-mentioned edge calculators 81 and 83 for calculating the correction amount for the output resolution of 300 dpi,
Edge feature extraction calculation units 85 and 87 and correction amount calculation unit 89
Japanese Patent Laid-Open No. 5-6495
No. 23 (see, in particular, FIG. 46 of the publication).
See the description corresponding to). Although the publication describes the processing by software, the content of the processing is NOT.
This is a simple logical operation in which AND and AND are combined, and this is realized by a hard logic circuit in this embodiment.

【0037】さて、上記構成により演算された出力解像
度300dpi用の補正量のうち、縦線に関する補正量
はそのまま出力決定演算部103に入力される。一方、
横線に関する付加量及び削り量は、一方で後述する解像
度変換部97に入力され、他方で解像度変換部97の出
力データと共にセレクタ101に入力される。ここで、
解像度変換部97は、横線に関する出力解像度300d
pi用の付加量及び削り量を、600dpi用のそれに
変換するものである。そして、セレクタ101は、解像
度選択信号を受けて、出力解像度300dpiが選択さ
れている場合は、上記300dpi用の横線補正量を出
力決定演算部103に送り、出力解像度600dpiが
選択されている場合は、解像度変換部97からの出力解
像度600dpi用の横線補正量を出力決定演算部10
3に送る。
Now, of the correction amounts for the output resolution 300 dpi calculated by the above configuration, the correction amount for the vertical line is directly input to the output determination calculation unit 103. on the other hand,
The addition amount and the shaving amount regarding the horizontal line are input to the resolution conversion unit 97, which will be described later, on the one hand, and to the selector 101 together with the output data of the resolution conversion unit 97 on the other hand. here,
The resolution conversion unit 97 has an output resolution of 300d regarding horizontal lines.
The addition amount and the shaving amount for pi are converted into those for 600 dpi. When the output resolution 300 dpi is selected, the selector 101 sends the horizontal line correction amount for 300 dpi to the output determination calculation unit 103 when the output resolution 300 dpi is selected, and when the output resolution 600 dpi is selected, , The horizontal line correction amount for the output resolution 600 dpi from the resolution conversion unit 97 is output determination calculation unit 10
Send to 3.

【0038】出力決定演算部103は、入力された横線
補正量及び縦線補正量に基づいて、スムージング処理さ
れた最終的なビットマップデータを作成する。この出力
決定演算部103の具体的処理内容も、前掲の特開平5
−64923号に詳細に開示されている。
The output determination calculation section 103 creates final smoothed bitmap data based on the input horizontal line correction amount and vertical line correction amount. The specific processing contents of the output determination calculation unit 103 are also described in the above-mentioned Japanese Patent Laid-Open No.
It is disclosed in detail in No. 64923.

【0039】本実施例における新規構成の一つは、解像
度変換部97によって、上述した出力解像度300dp
i用の横線補正量を出力解像度600dpi用の補正量
に変換するようにした点である。
One of the new configurations in the present embodiment is that the resolution conversion unit 97 causes the above-mentioned output resolution of 300 dp.
The point is that the horizontal line correction amount for i is converted into the correction amount for output resolution 600 dpi.

【0040】図8は、その変換の一例を示している。図
8の上部に示すような出力解像度300dpi用の横線
に関する補正量が与えられたとすると、これは図8の下
部に示すような出力解像度600dpi用の補正量に変
換される。この変換の法則は以下の通りである。即ち、
図8に示すように、300dpiにおける1本の水平ラ
インは、600dpiでは上下2本の水平ラインに分け
られる。そして、300dpiで付加された1/4ドッ
トは、600dpiにおいては、上側エッジの上ライン
では無効(=付加しない)、上側エッジの下ラインでは
有効(=付加する)、下側エッジの上ラインでは有効、
及び下側エッジの下ラインでは無効とされる。また、3
00dpiで削除された1/4ドットは、600dpi
においては、上側エッジの上ラインでは有効(=削除す
る)、上側エッジの下ラインでは無効(=削除しな
い)、下側エッジの上ラインでは無効、及び下側エッジ
の下ラインでは有効とされる。
FIG. 8 shows an example of the conversion. If a correction amount for the horizontal line for output resolution 300 dpi as shown in the upper part of FIG. 8 is given, this is converted into a correction amount for output resolution 600 dpi as shown in the lower part of FIG. The law of this conversion is as follows. That is,
As shown in FIG. 8, one horizontal line at 300 dpi is divided into two upper and lower horizontal lines at 600 dpi. Then, the 1/4 dot added at 300 dpi is invalid (= not added) in the upper line of the upper edge, valid (= added) in the lower line of the upper edge, and in the upper line of the lower edge at 600 dpi. Effectiveness,
And, it is invalid in the lower line of the lower edge. Also, 3
The 1/4 dot deleted at 00 dpi is 600 dpi.
, The upper line of the upper edge is valid (= delete), the lower line of the upper edge is invalid (= not deleted), the upper line of the lower edge is invalid, and the lower line of the lower edge is valid. .

【0041】解像度変換部97は、この法則に従って出
力解像度600dpi用の横線の付加量および削除量を
計算する。その基本的な論理を以下に示す。
The resolution conversion unit 97 calculates the addition amount and the deletion amount of the horizontal line for the output resolution of 600 dpi according to this law. The basic logic is shown below.

【0042】 ADD=addU・LIN2+addD・LIN1 (1) DEL=delU・LIN1+delD・LIN2 (2) PIC=pic+delU・LIN2+delD・LIN1(3) ここに、ADD、DEL及びPICは、600dpiで
の1/4ドット付加、1/4ドット削り及び1画素完全
印字をそれぞれ意味する。また、addU、addD、d
elU、delD及びpicは、300dpiでの上側エ
ッジの1/4ドット付加、下側エッジの1/4ドット付
加、上側エッジの1/4ドット削り、下側エッジの1/
4ドット削り及び1画素完全印字をそれぞれ意味する。
また、LIN1及びLIN2は、600dpiにおける
上ライン及び下ラインをそれぞれ意味するライン信号で
ある。このライン信号LIN1、LIN2は、600d
pi時の水平同期信号を数える1ビットカウンタ99に
よって生成される。
ADD = addU.LIN2 + addD.LIN1 (1) DEL = delU.LIN1 + delD.LIN2 (2) PIC = pic + delU.LIN2 + delD.LIN1 (3) where ADD, DEL and PIC are , 1/4 dot addition at 600 dpi, 1/4 dot shaving, and 1 pixel perfect printing, respectively. Also, addU, addD, d
elU, delD, and pic are 1/4 dot addition of the upper edge, 1/4 dot addition of the lower edge, 1/4 dot scraping of the upper edge, and 1 / of the lower edge at 300 dpi.
4 dot scraping and 1 pixel complete printing are meant respectively.
Further, LIN1 and LIN2 are line signals that mean an upper line and a lower line at 600 dpi, respectively. The line signals LIN1 and LIN2 are 600d
It is generated by a 1-bit counter 99 which counts the horizontal synchronizing signal at pi.

【0043】上記(1)式の論理は、300dpiにおけ
る上側エッジの下ラインでの1/4ドット付加のときと
下側エッジの上ラインでの1/4ドット付加のときにだ
け、600dpiでの1/4ドット付加を行うことを意
味する。また、(2)式の論理は、300dpiにおける
上側エッジの上ラインでの1/4ドット削除のときと下
側エッジの下ラインでの1/4ドット削除のときにだ
け、600dpiでの1/4ドット削除を行うことを意
味する。また、(3)式の論理は、300dpiにおける
1画素完全印字のときと上側エッジの下ラインでの1/
4ドット削除のときと下側エッジの上ラインでの1/4
ドット削除のときにだけ、600dpiでの1画素完全
印字を行うことを意味する。この論理に従えば、図8に
例示したような、300dpi用の横線補正量から60
0dpi用の横線補正量への変換が可能である。
The logic of the above equation (1) is that at 300 dpi, only when 1/4 dots are added on the lower line of the upper edge and when 1/4 dots are added on the upper line of the lower edge, 600 dpi is applied. This means that 1/4 dot addition is performed. Further, the logic of the equation (2) is 1/600 at 600 dpi only when 1/4 dot is deleted on the upper line of the upper edge and at 1/4 dot on the lower line of the lower edge at 300 dpi. This means that 4 dots are deleted. Further, the logic of the equation (3) is 1 / when the one pixel is completely printed at 300 dpi and the lower line of the upper edge.
1/4 when deleting 4 dots and on the upper line of the lower edge
This means that 1-pixel complete printing at 600 dpi is performed only when dots are deleted. According to this logic, the horizontal line correction amount for 300 dpi as shown in FIG.
Conversion to a horizontal line correction amount for 0 dpi is possible.

【0044】尚、解像度変換部97に入力される300
dpi用の1/4ドット付加量及び削除量のデータに
は、単に付加するか削除するかを意味する情報だけでな
く、付加又は削除する1/4ドットの画素内での位置及
び個数を表す情報も含まれている。この位置と個数の情
報は上に説明した基本的論理では考慮されていないが、
解像度変換部97での実際の論理演算ではこれも考慮す
る。即ち、例えば図8の例のように、300dpiでの
付加又は削除ドットの個数と位置は、600dpiで
も、その付加又は削除が有効な画素において、そのまま
反映される。
Incidentally, 300 input to the resolution conversion unit 97
The 1 / 4-dot addition amount and deletion amount data for dpi indicates not only information indicating simply addition or deletion but also the position and number of 1/4 dots to be added or deleted in the pixel. Information is also included. This position and number information is not considered in the basic logic described above,
This is also taken into consideration in the actual logical operation in the resolution conversion unit 97. That is, for example, as in the example of FIG. 8, the number and position of addition or deletion dots at 300 dpi are reflected as they are at pixels where addition or deletion is effective even at 600 dpi.

【0045】以上のように、解像度変換部97により出
力解像度300dpi用の横線補正量から出力解像度6
00dpi用の横線補正量に変換することにより、出力
解像度300dpi用のハード資源を利用して出力解像
度600dpiにも対応できるため、従来の解像度に応
じて完全に別個の補正回路を設けていた構成に比較して
全体のハードウェア量が大幅に減少する。
As described above, the resolution conversion unit 97 converts the horizontal line correction amount for the output resolution 300 dpi to the output resolution 6
By converting to the horizontal line correction amount for 00 dpi, it is possible to support output resolution of 600 dpi by utilizing the hardware resource for output resolution of 300 dpi. Therefore, the configuration is such that a separate correction circuit is provided according to the conventional resolution. The total amount of hardware is greatly reduced in comparison.

【0046】[0046]

【発明の効果】以上説明したように、本発明によれば、
ある解像度の入力画像を複数の異なる解像度の出力画像
に変換するための画像処理装置において、全体のハード
ウェア量を削減することができる。
As described above, according to the present invention,
In an image processing apparatus for converting an input image having a certain resolution into output images having a plurality of different resolutions, it is possible to reduce the total amount of hardware.

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

【図1】本発明を適用したレーザプリンタの制御回路の
一実施例のハード構成を示すブロック図。
FIG. 1 is a block diagram showing a hardware configuration of an embodiment of a control circuit of a laser printer to which the present invention is applied.

【図2】ビットマップデータ発生回路の詳細なハード構
成を示すブロック図。
FIG. 2 is a block diagram showing a detailed hardware configuration of a bitmap data generation circuit.

【図3】横線の上側エッジの特徴を抽出する際に用いる
領域マスクの一例を示す図。
FIG. 3 is a diagram showing an example of a region mask used when extracting a feature of an upper edge of a horizontal line.

【図4】横線の下側エッジの特徴を抽出する際に用いる
領域マスクの一例を示す図。
FIG. 4 is a diagram showing an example of a region mask used when extracting a feature of a lower edge of a horizontal line.

【図5】縦線のエッジの特徴を抽出する際に用いる領域
マスクの一例を示す図。
FIG. 5 is a diagram showing an example of a region mask used when extracting a feature of an edge of a vertical line.

【図6】横線補正の一例を示す図。FIG. 6 is a diagram showing an example of horizontal line correction.

【図7】縦線補正の一例を示す図。FIG. 7 is a diagram showing an example of vertical line correction.

【図8】300dpi用の横線補正量を600dpi用
の横線補正量に変換した一例を示す図。
FIG. 8 is a diagram showing an example in which a horizontal line correction amount for 300 dpi is converted to a horizontal line correction amount for 600 dpi.

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

27 ビットマップデータ発生回路 41、45、47、49、51、53、55、57、5
9、61 ラッチ 43 RAM 63、65、67、69、71、73、75、79 シ
フトレジスタ 81 横線エッジ演算部 83 縦線エッジ演算部 85 横線エッジ特徴抽出演算部 87 縦線エッジ特徴抽出演算部 89 上側エッジ補正量演算部 91 下側エッジ補正量演算部 93 左側エッジ補正量演算部 95 右側エッジ補正量演算部 97 解像度変換部 99 1ビットカウンタ 101 セレクタ 103 出力決定演算部
27 Bit map data generation circuit 41, 45, 47, 49, 51, 53, 55, 57, 5
9, 61 Latch 43 RAM 63, 65, 67, 69, 71, 73, 75, 79 Shift register 81 Horizontal line edge calculation unit 83 Vertical line edge calculation unit 85 Horizontal line edge feature extraction calculation unit 87 Vertical line edge feature extraction calculation unit 89 Upper edge correction amount calculation unit 91 Lower edge correction amount calculation unit 93 Left edge correction amount calculation unit 95 Right edge correction amount calculation unit 97 Resolution conversion unit 99 1-bit counter 101 Selector 103 Output determination calculation unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ある解像度の入力画像を、スムージング
処理された複数の異なる解像度の出力画像に変換するた
めの画像処理装置において、 前記入力画像を受けて、スムージング処理された第1の
解像度の出力画像を得るために前記入力画像に施すべき
第1のエッジ補正量を演算する補正量演算手段と、 前記第1のエッジ補正量を受けて、スムージング処理さ
れた第2の解像度の出力画像を得るために前記入力画像
に施すべき第2のエッジ補正量に変換する解像度変換手
段と、 前記第1の補正量及び前記第2の補正量の一方を選択的
に入力して、入力したエッジ補正量を前記入力画像に施
すための処理を行って対応する解像度の出力画像を作成
する出力画像作成手段と、を備えたことを特徴とする画
像処理装置。
1. An image processing device for converting an input image of a certain resolution into a plurality of smoothed output images of different resolutions, wherein the input image is received and an output of a smoothed first resolution is received. A correction amount calculation means for calculating a first edge correction amount to be applied to the input image to obtain an image, and an output image of a second resolution that has been smoothed by receiving the first edge correction amount. A resolution conversion means for converting into a second edge correction amount to be applied to the input image in order to selectively input one of the first correction amount and the second correction amount, and input the edge correction amount. And an output image creating unit that creates an output image of a corresponding resolution by performing a process for applying the above-mentioned input image to the image processing apparatus.
【請求項2】 請求項1記載の画像処理装置において、 前記補正量演算手段が、 前記入力画像から横線のエッジ及び縦線のエッジを検出
する手段と、 前記入力画像の水平方向の解像度を高めることにより前
記第1の解像度の出力画像を得るための、前記横線のエ
ッジ及び前記縦線のエッジに対してそれぞれ施すべき第
1の横線補正量及び縦線補正量を、前記検出された横線
及び縦線のエッジに基づいて演算する手段とを有し、 前記解像度変換手段が、前記第1の出力画像の垂直方向
の解像度を高めることにより前記第2の解像度の出力画
像を得るための、前記横線のエッジに対して施すべき第
2の横線補正量を、前記補正量演算手段からの前記第1
の横線補正量に基づいて演算し、 前記出力画像作成手段が、前記第1及び第2の横線補正
量の一方を選択的に受けると共に前記縦線補正量を受け
て、前記第1の横線補正量と前記縦線補正量とから前記
第1の解像度の出力画像を作成し、前記第2の横線補正
量と前記縦線補正量とから前記第2の解像度の出力画像
を作成する、ことを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the correction amount calculation means detects a horizontal line edge and a vertical line edge from the input image, and increases the horizontal resolution of the input image. To obtain the output image of the first resolution, the first horizontal line correction amount and the vertical line correction amount to be applied to the horizontal line edge and the vertical line edge, respectively. Calculating means based on the edge of a vertical line, wherein the resolution converting means obtains the output image of the second resolution by increasing the vertical resolution of the first output image, The second horizontal line correction amount to be applied to the edge of the horizontal line is the first horizontal line from the correction amount calculation means.
Is calculated based on the horizontal line correction amount, and the output image creating means selectively receives one of the first and second horizontal line correction amounts and receives the vertical line correction amount to obtain the first horizontal line correction amount. An output image of the first resolution is created from the amount and the vertical line correction amount, and an output image of the second resolution is created from the second horizontal line correction amount and the vertical line correction amount. A characteristic image processing device.
【請求項3】 請求項2記載の画像処理装置において、 前記第2の解像度の出力画像は、垂直方向の解像度にお
いて前記第1の解像度よりも整数倍高く、そのために、
前記第1の解像度の出力画像の各水平ラインに対応した
複数本の水平ラインを有し、 前記解像度変換手段が、 前記第1の解像度の出力画像の各水平ライン毎に、前記
複数本の水平ラインを区別する信号を発生する手段と、 前記第1の解像度の出力画像の各水平ラインに関する前
記第1の横線補正量を、前記複数本の水平ラインを区別
する信号に応じて、有効とするか無効とするかを選択す
ることにより、前記第2の横線補正量を得る手段とを有
する、ことを特徴とする画像処理装置。
3. The image processing device according to claim 2, wherein the output image of the second resolution is an integral multiple higher than the first resolution in the vertical resolution, and therefore,
A plurality of horizontal lines corresponding to the respective horizontal lines of the output image of the first resolution, wherein the resolution conversion means has a plurality of horizontal lines for each horizontal line of the output image of the first resolution. A means for generating a signal for distinguishing lines and the first horizontal line correction amount for each horizontal line of the output image of the first resolution are made effective according to the signal for distinguishing the plurality of horizontal lines. An image processing apparatus comprising: means for obtaining the second horizontal line correction amount by selecting whether to invalidate or to invalidate.
JP26506894A 1994-10-28 1994-10-28 Image processing device Expired - Lifetime JP3294249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26506894A JP3294249B2 (en) 1994-10-28 1994-10-28 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26506894A JP3294249B2 (en) 1994-10-28 1994-10-28 Image processing device

Publications (2)

Publication Number Publication Date
JPH08125843A true JPH08125843A (en) 1996-05-17
JP3294249B2 JP3294249B2 (en) 2002-06-24

Family

ID=17412151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26506894A Expired - Lifetime JP3294249B2 (en) 1994-10-28 1994-10-28 Image processing device

Country Status (1)

Country Link
JP (1) JP3294249B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008105221A (en) * 2006-10-24 2008-05-08 Fuji Xerox Co Ltd Exposure system and image forming system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008105221A (en) * 2006-10-24 2008-05-08 Fuji Xerox Co Ltd Exposure system and image forming system

Also Published As

Publication number Publication date
JP3294249B2 (en) 2002-06-24

Similar Documents

Publication Publication Date Title
JP3375158B2 (en) Image data processing method and apparatus
JP3572637B2 (en) Method and apparatus for edge smoothing of pixel image
JPH08331372A (en) Method for performing nonintegral resolution change of imagesignal
JPH056438A (en) Method of correcting image displayed by printer or display unit and device for correcting output from printer or display unit generating digitized image by dot matrix format
US5410615A (en) Bitmap image resolution converter compensating for write-white xerographic laser printing
JP4501791B2 (en) Image processing method and image processing program
JP4386216B2 (en) Color printing system and control method thereof
EP0572956B1 (en) Image output device and image control method for smoothing image or increasing image resolution by use of same
JP3471426B2 (en) Image data processing device
EP0488118B1 (en) Image recording apparatus for high quality images
JPH11298716A (en) Image processor
JP3294249B2 (en) Image processing device
JPH0795392A (en) Smooting and scaling method of facsimile image
US5790764A (en) Image output device and image control method for smoothing image or increasing image resolution by use of same
JPH07334672A (en) Picture processor
JP2019121870A (en) Image processing apparatus, control method of the same, and program
JPH07250246A (en) Image forming device
JP2752821B2 (en) Image recording device
JPH10336454A (en) Image data processor
JP4122533B2 (en) Image forming apparatus
JP3530284B2 (en) Image data processing device
JP4124900B2 (en) Color printer and control method thereof
JP3509353B2 (en) Image data processing device
JPH0661960B2 (en) Dot interpolation control device
JPH0581437A (en) Picture processing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080405

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090405

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090405

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100405

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110405

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110405

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120405

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130405

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130405

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140405

Year of fee payment: 12

EXPY Cancellation because of completion of term