[go: up one dir, main page]

JP3294249B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3294249B2
JP3294249B2 JP26506894A JP26506894A JP3294249B2 JP 3294249 B2 JP3294249 B2 JP 3294249B2 JP 26506894 A JP26506894 A JP 26506894A JP 26506894 A JP26506894 A JP 26506894A JP 3294249 B2 JP3294249 B2 JP 3294249B2
Authority
JP
Japan
Prior art keywords
correction amount
resolution
edge
output
horizontal line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP26506894A
Other languages
Japanese (ja)
Other versions
JPH08125843A (en
Inventor
徳良 千葉
隆二 大本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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)

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 pattern edges 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 kind of prior art, for example, an image processing apparatus disclosed in Japanese Patent Application Laid-Open No. Hei 5-17767 is known. This conventional apparatus uses, for example, a laser beam printer to set the output image resolution to 300 dpi (dots / inch) and 6 dpi.
00 dpi, two interpolation logic circuits connected between the printer controller and the printer engine. One of the two interpolation logic circuits is selected by a signal for selecting the resolution of the printer engine. It is selectively activated. And
One of the two interpolation logic circuits receives a 300 × 300 dpi image from the printer controller and smoothes the edges of the pattern of the input image to 1200 × 300 dpi.
It has a function of converting to an output image of 300 dpi. Also, the other interpolation logic circuit doubles the resolution of the input image and smoothes the pattern edge to 1200
It has a function of converting to an output image of × 600 dpi.

【0003】[0003]

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

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

【0005】[0005]

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

【0006】[0006]

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

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

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

【0009】第1のエッジ補正量と第2のエッジ補正量
は、何れか一方が選択的に出力画像作成手段に入力され
る。出力画像作成手段は、入力したエッジ補正量を入力
画像に施すための処理を行う。従って、第1のエッジ補
正量が入力された場合は、第1の出力解像度の出力画像
が作成され、第2のエッジ補正量が入力された場合は、
第2の出力解像度の出力画像が作成される。
Either the first edge correction amount or 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, an output image with the first output resolution is created, and when the second edge correction amount is input,
An output image of the second output resolution 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 output resolution. Therefore, an increase in the amount of hardware due to an increase in the selectable resolutions is only for the resolution conversion means, so that the total amount of hardware can be reduced as compared with the prior art.

【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 converter corresponding to the resolution converter to the entire apparatus 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は、本発明を適用したレーザプリンタの
制御装置の一実施例のハードウェア構成を示す。
FIG. 1 shows a hardware configuration of an embodiment of a control device of 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 converts the bitmap data into actual image formation. This is output to the laser beam modulation circuit 5 for performing the operation.
Here, the resolution of the laser beam modulation circuit 5 (hereinafter referred to as output resolution) can be selected, for example, between two types of 300 dpi and 600 dpi, and a bit generated by the control device 1 in accordance with the selected output resolution. The resolution of the map data is also changed. One feature of the present invention is embodied in a configuration for changing the resolution of the bitmap data, specifically, a bitmap data generation circuit 27 described later.

【0014】この制御装置1は、印刷データを処理する
ための中央処理装置(CPU)11、主記憶やワークエ
リアや受信バッファ等として用いられるRAM13、C
PU11の動作プログラムを格納したROM15、印刷
データ内のキャラクタコードをキャラクタのビットマッ
プデータに変換するためのフォントデータを内蔵したキ
ャラクタジェネレータ17、及び、印刷データに基づい
て生成されたページ単位の画像のビットマップデータを
格納するページフレームバッファ19を備えている。C
PU11は、クロック信号発生回路21からのクロック
信号に同期して動作する。
The control device 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, and the like.
A ROM 15 storing an operation program of the PU 11, a character generator 17 containing font data for converting a character code in the print data into bitmap data of characters, and a page-based image 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
The data 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 × horizontal.
The vertical direction is 300 dpi.

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

【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, and is subjected to a process for smoothing the edge of the pattern (hereinafter, referred to as a smoothing process). Is converted to bitmap data. This final bitmap data is created at a resolution corresponding to the selected output resolution, as described above.
That is, when the output resolution is 300 dpi, the resolution of the final bitmap data is 1200 dpi × 300.
If the resolution is 600 dpi and the output resolution is 600 dpi, it is 1200 dpi × 600 dpi. Here, the reason why the horizontal resolution becomes 1200 dpi is a result of performing the smoothing process. That is, in the smoothing process, a dot having a width equivalent to one quarter of one pixel of the basic bitmap data is added or deleted to the step-shaped portion of the edge of the pattern, so that the edge is smoothly formed without a step. It is modified so that it can be seen.

【0018】さて、上記最終的なビットマップデータは
レーザビーム変調器5に出力されて、レーザビームをオ
ン/オフ変調する。また、CPU11は、ビットシフト
回路29及びアドレス回路31を介して、感光体ドラム
7の駆動を制御して、ビットマップデータの書込みに適
するように感光体ドラム1の回転を制御する。これによ
り、レーザビームが感光体ドラム7の表面に、最終的な
ビットマップデータに対応した静電潜像を描くことにな
る。
The final bitmap data is output to the laser beam modulator 5 to perform on / off modulation of the laser beam. Further, the CPU 11 controls the driving of the photosensitive drum 7 via the bit shift circuit 29 and the address circuit 31 to control the rotation of the photosensitive drum 1 so as to be suitable for writing 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に対して必要な制
御信号が送られる。それらの制御信号としては、例え
ば、レーザビームのオン/オフ変調周期に同期したビデ
オクロック信号、レーザビームの水平走査の周期に同期
した水平同期信号、及び、出力解像度を選択するための
解像度選択信号などがある。
The CPU 11 further includes an I / O control circuit 33
And various kinds of control signals to the bitmap data generation circuit 27. The laser beam modulation circuit 5 also sends necessary control signals to the bitmap data generation circuit 27. The control signals include, for example, a video clock signal synchronized with the on / off modulation cycle of the laser beam, a horizontal synchronization signal synchronized with the cycle of the horizontal scanning of the laser beam, and a resolution selection signal for selecting an output resolution. and so on.

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

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

【0022】図2において、図示しないページフレーム
バッファ19より、300dpi×300dpiの基本
的なビットマップデータが、ページの最上の水平ライン
の左端の画素からスタートして各水平ラインを左から右
へそして上の水平ラインから下の水平ラインへという順
序のラスタスキャン方式により、一定のタイミングで読
み出される。読み出された1本の水平ラインの各画素デ
ータは、ラッチ41を通じて、RAM43に書込まれ
る。
In FIG. 2, basic bitmap data of 300 dpi.times.300 dpi is supplied from a page frame buffer 19 (not shown), starting from the leftmost pixel of the top horizontal line of the page, and moving down each horizontal line from left to right. The data is read out at a fixed timing by the raster scan method in the order from the upper horizontal line to the lower horizontal line. The read pixel data of one horizontal line is written to 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 FIFOs each having a capacity to hold bit map data for one horizontal line.
This is equivalent to a configuration in which O memories are arranged in parallel, and data of one horizontal line from the latch 41 described above is written to the first FIFO memory. Data of eight horizontal lines from eight latches 45 to 59 described later are stored in RAM.
43 are written to the second to ninth FIFO memories, respectively. Therefore, the RAM 43 stores 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 out in synchronization. Pixel data at the same position on these nine horizontal lines is 9
The data are input to nine nine-stage shift registers 63 to 79 through the latches 45 to 61, respectively. The shift registers 63 to 79 sequentially shift the input pixel data of the horizontal line to the subsequent stages. Therefore, the shift registers 63 to 79 hold bitmap data of an area of 9 pixels × 9 pixels.
The nine-pixel area is shifted in the horizontal direction one pixel at a time at a fixed timing. When the horizontal shift reaches the end of the horizontal line, the area is shifted vertically 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 windows of 9 × 9 pixels created by the shift registers 63 to 79 (hereinafter, the above window is scanned). Window).

【0025】このスキャニングウィンドウ内の9画素×
9画素のビットマップデータは、横線エッジ演算部81
及び縦線エッジ演算部83に入力される。横線エッジ演
算部81は、入力した9画素×9画素のビットマップデ
ータの垂直方向の微分(=白黒変化)を演算することに
より、このスキャニングウィンドウ内に存在する黒パタ
ーンの横線(=水平方向成分)のエッジ(=輪郭)を検
出するものである。即ち、垂直方向の微分が立ち上がっ
た(=白から黒へ変化した)位置の黒画素を、横線の立
ち上がりエッジ(=上側エッジ)として、また、立ち下
がった(=黒から白へ変化した)位置の黒画素を、横線
の立ち下がりエッジ(=下側エッジ)として検出する。
In this scanning window, 9 pixels ×
The 9-pixel bitmap data is supplied to the horizontal line edge calculation unit 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, thereby obtaining the horizontal line (= horizontal component) of the black pattern existing in the scanning window. ) Is detected. That is, the black pixel at the position where the differential in the vertical direction has risen (= changed from white to black) is defined as the rising edge (= upper edge) of the horizontal line, and the position of the fall (= changed from black to white). Are detected as falling edges (= lower edges) of horizontal lines.

【0026】一方、縦線エッジ演算部83は、入力した
9画素×9画素のビットマップデータの水平方向の微分
を演算することにより、このスキャニングウィンドウ内
に存在する黒パターンの縦線(=垂直方向成分)のエッ
ジを検出するものである。即ち、水平方向の微分が立ち
上がった位置の黒画素を、縦線の立ち上がりエッジ(=
左側エッジ)として、また、立ち下がった位置の黒画素
を、縦線の立ち下がりエッジ(=右側エッジ)として検
出する。
On the other hand, the vertical line edge calculating section 83 calculates the horizontal differentiation of the input 9-pixel × 9-pixel bitmap data, thereby obtaining the vertical lines (= vertical lines) of the black pattern existing in the scanning window. (Direction component). That is, the black pixel at the position where the differential in the horizontal direction has risen is defined as the rising edge of the vertical line (=
A black pixel at a falling position is detected as a falling edge (= right edge) of a 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 calculating section 81 and the vertical line edge calculating section 83 are obtained by a horizontal line edge feature extracting calculating section 85 and a vertical line edge calculating section 87. Are 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 DX (hereinafter, referred to as a target pixel) located at the center of the scanning window. Focusing on whether there is, the rising edge and the falling edge are classified. That is, with respect to the rising edge (= upper edge), first, out of all the rising edges, a predetermined positional relationship (for example, a significant upper edge) with respect to the pixel of interest DX (for example,
Only the edges within the mask area shown in FIG. 3) are extracted,
The pixel constituting the extracted upper edge is the pixel of interest DX.
Data AU, BU, CU, DU, FU, GU characterizing the shape of the upper edge from the viewpoint of what pixel is located above or below and at what pixel is located leftward or rightward
Is calculated. Also, falling edge (= lower edge)
, First, only those edges that are substantially in a predetermined positional relationship (for example, in the mask area shown in FIG. 4) having a meaning of the lower edge with respect to the pixel of interest DX are extracted, and the extracted lower edge is extracted. Data AD, BD, CD, and CD that characterize the shape of the lower edge from the viewpoint of how many pixels the constituent pixels are located above or below the target pixel DX and at what position to the left or right. 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 characteristic data A of the upper edge
The meanings of the shape feature data AD, BD, CD, DD, FD, and GD of U, BU, CU, DU, FU, and GU and 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 left-right direction from
It is divided into C, D, F, and G pixel columns. Then, with respect to the upper edge, pixel columns A,
Each of the data AU, BU, CU, DU, FU, and GU (4-bit data) is formed according to a predetermined logical expression for extracting the shape feature of the upper edge in accordance with each of the monochrome patterns B, C, D, F, and G. I can decide. Also, for the lower edge,
Data AD, BD, CD, D according to a predetermined logical expression for extracting a lower edge shape characteristic according to each black-and-white pattern of pixel rows A, B, C, D, F, and 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 calculator 87 pays attention to the relative positions of the detected rising edge and falling edge of the vertical line with respect to the target pixel DX, respectively. The rising edge and the falling edge are classified. That is, with respect to the rising edge (= left edge), first, from among all the rising edges, a predetermined positional relationship having substantially the meaning of the left edge with respect to the pixel of interest DX (for example, in the mask area shown in FIG. 5). ) Is extracted, and from the viewpoint of the number of pixels above or below the pixel of interest DX and the number of pixels to the left or right of the pixel constituting the extracted left edge, Data AL, BL, CL, DL and 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) having the significance of the right edge with respect to the pixel of interest DX is extracted. The data AR characterizing the shape of the right edge from the viewpoint of the number of pixels above or below the pixel constituting the extracted right edge and the number of pixels to the left or right of the pixel of interest. , 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 characteristic data A of the left edge
The meanings of L, BL, CL, DL, EL and the right-side edge shape feature data AR, BR, CR, DR, ER will be supplementarily described as follows. That is, as shown in FIG. 5, the inside of 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, and EL according to a predetermined logical expression for extracting the shape feature of the left edge in accordance with the black and white pattern of each of pixel rows A, B, C, D, and E in the mask region of FIG.
(AL and CL are 4-bit data, BL and DL are 6
Bit data and EL are 2-bit data).
Also, for the right edge, the data AR, BR according to a predetermined logical expression for extracting the shape characteristic of the right edge in accordance with each black and white pattern of the pixel rows A, B, C, D, and 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 edge and the falling edge of the horizontal and vertical lines calculated by the edge feature extraction calculation units 85 and 87 are respectively an upper edge correction amount calculation unit 89 and a lower edge correction amount calculation. The input is input to the section 91, the left edge correction amount calculation section 93, and the right edge correction amount calculation section 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 calculator 89 calculates the characteristic data AU, BU, CU, DU, FU,
Based on the GU, a dot addition amount and a shaving amount for smoothing processing on the upper edge are calculated. In addition, the lower edge correction amount calculation unit 91 calculates the addition amount of the dot for smoothing processing on the lower edge based on the characteristic data AD, BD, CD, DD, FD, and GD of the lower edge of the horizontal line. Calculate the shaving amount. FIG. 6 shows an example of the calculation result of the dot addition amount and the shaving amount with respect to this horizontal line. When an 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. A dot of 1/4 size of one pixel (hereinafter, referred to as a 1/4 dot) is added to a step portion of the side edge,
For example, it is corrected so that the stepped portion looks smooth by being deleted.

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

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

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

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

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

【0039】本実施例における新規構成の一つは、解像
度変換部97によって、上述した出力解像度300dp
i用の横線補正量を出力解像度600dpi用の補正量
に変換するようにした点である。
One of the new constructions in this embodiment is that the output of the above-described output resolution of 300 dp
The point is that the horizontal line correction amount for i is converted to a correction amount for an output resolution of 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. Assuming that a correction amount for a horizontal line for an output resolution of 300 dpi as shown in the upper part of FIG. 8 is given, this is converted into a correction amount for an output resolution of 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. The 1/4 dot added at 300 dpi is invalid (= not added) in the upper line of the upper edge at 600 dpi, valid (= added) in the lower line of the upper edge, and in the upper line of the lower edge in 600 dpi. Effectiveness,
And is invalid on the lower line of the lower edge. Also, 3
The 1/4 dot deleted at 00 dpi is 600 dpi
Is valid (= deleted) in the upper line of the upper edge, invalid (= not deleted) in the lower line of the upper edge, invalid in the upper line of the lower edge, and valid in the lower line of the lower edge. .

【0041】解像度変換部97は、この法則に従って出
力解像度600dpi用の横線の付加量および削除量を
計算する。その基本的な論理を以下に示す。
The resolution conversion unit 97 calculates the amount of addition and deletion of the horizontal line for the output resolution of 600 dpi according to this rule. 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 , 600 dpi, 1 / dot addition, 1 / dot removal, and one-pixel complete 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 shaving of the upper edge, and 1/1 of the lower edge at 300 dpi.
This means 4-dot shaving and 1-pixel complete printing, respectively.
Further, LIN1 and LIN2 are line signals that mean an upper line and a lower line at 600 dpi, respectively. These line signals LIN1 and LIN2 are 600d
It is generated by a 1-bit counter 99 that counts the horizontal synchronization 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) indicates that the logic at 600 dpi is used only when adding 1/4 dots on the lower line of the upper edge at 300 dpi and when adding 1/4 dots on the upper line of the lower edge. This means that 1/4 dot addition is performed. Also, the logic of equation (2) indicates that 1/3 dot at 600 dpi is only used when deleting 1/4 dots in the upper line of the upper edge at 300 dpi and when deleting 1/4 dots in the lower line of the lower edge. This means that 4 dots are deleted. Further, the logic of the equation (3) is obtained by calculating 1/1 in the lower line of the upper edge when printing one pixel completely at 300 dpi.
1/4 of 4 dots deleted and upper line of lower edge
This means that one-pixel complete printing at 600 dpi is performed only at the time of dot deletion. According to this logic, the horizontal line correction amount for 300 dpi as shown in FIG.
Conversion to the horizontal line correction amount for 0 dpi is possible.

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

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

【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, the entire hardware amount can be reduced.

【図面の簡単な説明】[Brief description of the 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 features of vertical line edges.

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

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

【図8】300dpi用の横線補正量を600dpi用
の横線補正量に変換した一例を示す図。
FIG. 8 is a diagram illustrating an example in which a horizontal line correction amount for 300 dpi is converted into 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 Bitmap Data Generation Circuits 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 Operation Unit 83 Vertical Line Edge Operation Unit 85 Horizontal Line Edge Feature Extraction Operation Unit 87 Vertical Line Edge Feature Extraction Operation Unit 89 Upper edge correction amount calculator 91 Lower edge correction amount calculator 93 Left edge correction amount calculator 95 Right edge correction amount calculator 97 Resolution converter 99 1-bit counter 101 Selector 103 Output determination calculator

フロントページの続き (56)参考文献 特開 平5−177867(JP,A) 特開 平5−278263(JP,A) 特開 平5−131686(JP,A) 特開 平5−95477(JP,A) 特開 平5−95471(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/393 G06T 1/00 - 1/40 G06T 3/00 - 5/50 G06T 9/00 - 9/40 B41J 2/00 - 3/62 Continuation of front page (56) References JP-A-5-177867 (JP, A) JP-A-5-278263 (JP, A) JP-A-5-131686 (JP, A) JP-A-5-95477 (JP) , A) JP-A-5-95471 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/38-1/393 G06T 1/00-1/40 G06T 3/00 -5/50 G06T 9/00-9/40 B41J 2/00-3/62

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ある解像度の入力画像を、スムージング
処理された出力画像に変換するための画像処理装置にお
いて、 前記入力画像を受けて、スムージング処理された第1の
出力解像度を得るために前記入力画像に施すべき第1の
エッジ補正量を演算する補正量演算手段と、 前記第1のエッジ補正量を受けて、スムージング処理さ
れた第2の出力解像度の出力画像を得るために前記入力
画像に施すべき第2のエッジ補正量に変換する解像度変
換手段と、 前記第1の補正量及び前記第2の補正量の一方を選択的
に入力して、入力したエッジ補正量を前記入力画像に施
すための処理を行って、入力したエッジ補正量に対応す
る解像度の出力画像を作成する出力画像作成手段と、 を備えたことを特徴とする画像処理装置。
1. An image processing apparatus for converting an input image having a certain resolution into an output image subjected to a smoothing process, comprising:
A correction amount calculating means for calculating a first edge correction amount to be applied to the input image to obtain the output resolution, upon receipt of the first edge correction amount, a second output resolution of the output image that has been smoothed Resolution converting means for converting the input image into a second edge correction amount to be applied to the input image, and selectively inputting one of the first correction amount and the second correction amount and inputting the edge An image processing apparatus comprising: an output image creating unit that performs a process of applying a correction amount to the input image to create an output image having a resolution corresponding to the input edge correction amount.
【請求項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 calculating unit detects a horizontal edge and a vertical edge from the input image, and increases a horizontal resolution of the input image. In order to obtain the first output resolution, the first horizontal line correction amount and the vertical line correction amount to be respectively applied to the horizontal line edge and the vertical line edge are calculated by using the detected horizontal line edge and the detected horizontal line edge. Means for calculating based on the edge of the vertical line, wherein the resolution converting means increases the vertical resolution of the output image having the first output resolution, thereby increasing the second resolution.
Calculating a second horizontal line correction amount to be applied to the edge of the horizontal line based on the first horizontal line correction amount from the correction amount calculation means, in order to obtain an output image having an output resolution of An image creating means selectively receives one of the first and second horizontal line correction amounts and receives the vertical line correction amount, and calculates the first horizontal line correction amount and the vertical line correction amount to determine the first horizontal line correction amount and the vertical line correction amount. the image processing apparatus of generating an output image of the output resolution, to generate an output image of the second output resolution from said vertical line correction amount and the second horizontal line correction amount, characterized in that.
【請求項3】 請求項2記載の画像処理装置において、 前記第2の出力解像度の出力画像は、垂直方向の解像度
において前記第1の出力解像度よりも整数倍高く、その
ために、前記第1の出力解像度の出力画像の各水平ライ
ンに対応した複数本の水平ラインを有し、 前記解像度変換手段が、 前記第1の出力解像度の出力画像の各水平ライン毎に、
複数本の水平ラインを区別する信号を発生する手段と、 前記第1の出力解像度の出力画像の各水平ラインに関す
る前記第1の横線補正量を、前記複数本の水平ラインを
区別する信号に応じて、有効とするか無効とするかを選
択することにより、前記第2の横線補正量を得る手段と
を有する、 ことを特徴とする画像処理装置。
3. An image processing apparatus according to claim 2, wherein an output image of the second output resolution is an integer multiple greater than the first output resolution in vertical resolution, for which, the first A plurality of horizontal lines corresponding to each horizontal line of the output image of the output resolution, wherein the resolution conversion means comprises: for each horizontal line of the output image of the first output resolution,
Means for generating a signal for distinguishing a plurality of horizontal lines; and determining the first horizontal line correction amount for each horizontal line of the output image of the first output resolution according to the signal for distinguishing the plurality of horizontal lines. Means for obtaining the second horizontal line correction amount by selecting whether to enable or disable the image processing apparatus.
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 JPH08125843A (en) 1996-05-17
JP3294249B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5343311B2 (en) * 2006-10-24 2013-11-13 富士ゼロックス株式会社 Exposure apparatus and image forming apparatus

Also Published As

Publication number Publication date
JPH08125843A (en) 1996-05-17

Similar Documents

Publication Publication Date Title
JP3483946B2 (en) Font processing apparatus and font processing method
JP3572637B2 (en) Method and apparatus for edge smoothing of pixel image
US5282057A (en) Bit-map image resolution converter
US5696845A (en) Method for design and implementation of an image resolution enhancement system that employs statistically generated look-up tables
EP1429286A1 (en) Method of preparing bit map
US7119807B2 (en) Image processing apparatus and image processing method
US5852679A (en) Image processing apparatus and method
US5410615A (en) Bitmap image resolution converter compensating for write-white xerographic laser printing
US5724455A (en) Automated template design method for print enhancement
JP3142550B2 (en) Graphic processing unit
EP0708415A2 (en) Four-quadrant scaling of dot matrix data
US5539866A (en) Method and apparatus for accurately rendering half-bitted image pixels
JP4386216B2 (en) Color printing system and control method thereof
US5526474A (en) Image drawing with improved process for area ratio of pixel
JP2752439B2 (en) Image output method
JP3384115B2 (en) Image processing device
JP3294249B2 (en) Image processing device
JPH11298716A (en) Image processor
JP3085036B2 (en) Image output device
JPH0795392A (en) Smooting and scaling method of facsimile image
JP3952188B2 (en) Image interpolation apparatus, image interpolation method, and image interpolation program
JP2752821B2 (en) Image recording device
JPH04186486A (en) Image processor
JPH07250246A (en) Image forming device
JP2858443B2 (en) High density image forming method and its output 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