JPH1155514A - Image processing unit and image processing method - Google Patents

Image processing unit and image processing method

Info

Publication number
JPH1155514A
JPH1155514A JP9203409A JP20340997A JPH1155514A JP H1155514 A JPH1155514 A JP H1155514A JP 9203409 A JP9203409 A JP 9203409A JP 20340997 A JP20340997 A JP 20340997A JP H1155514 A JPH1155514 A JP H1155514A
Authority
JP
Japan
Prior art keywords
signal
data
image processing
image data
clock
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.)
Withdrawn
Application number
JP9203409A
Other languages
Japanese (ja)
Inventor
Katsuhiko Yanagawa
勝彦 柳川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP9203409A priority Critical patent/JPH1155514A/en
Publication of JPH1155514A publication Critical patent/JPH1155514A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the image processing unit by which gradation expression in an output image is improved and to provide its image processing method. SOLUTION: A clock 4×VCLK whose period is a multiple of a period of a video block is counted for a period by 3 pixels of input image data 112, an OR circuit 103 generates a signal in a timing different from each pixel for a period by 3 pixels depending on a count and a signal 117 is produced by interleaving the clock 4×VCLK depending on the generated signal and multi- value data 113 in 3-bit obtained from the input image data 112 are converted into serial data 119 denoting density data according to the signal 117.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、1ピクセ
ルを面積階調により表現する画像処理装置及び画像処理
方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and an image processing method for expressing, for example, one pixel by area gradation.

【0002】[0002]

【従来の技術】従来、印刷装置等の多値画像データを扱
う画像処理装置には、1ピクセルを面積階調により表現
するために4分割し、ビデオ信号として出力する多値デ
ータ処理回路がある。例えば、図5に示すように、多値
データ変換デコーダ3にて1ピクセルの多値データPX
DATA[1:0]をデコードし、それにより得られる
データPDEC[3:0]をパラレル・シリアル変換回
路4にて1ピクセルの4倍の周波数のビデオクロック
(4×VCLK)信号に従ってシリアルデータに変換さ
れたビデオ信号にすることにより、当該1ピクセルに相
当するビデオ信号Videoとして出力する多値データ
処理回路がある。
2. Description of the Related Art Conventionally, an image processing apparatus such as a printing apparatus which handles multi-valued image data has a multi-valued data processing circuit which divides one pixel into four parts in order to express it by area gradation and outputs it as video signals. . For example, as shown in FIG. 5, the multi-valued data conversion decoder 3 outputs one pixel of multi-valued data PX.
DATA [1: 0] is decoded, and the resulting data PDEC [3: 0] is converted into serial data by the parallel / serial conversion circuit 4 in accordance with a video clock (4 × VCLK) signal having a frequency four times as high as one pixel. There is a multi-value data processing circuit that outputs a converted video signal as a video signal Video corresponding to the one pixel.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ような構成の回路において、例えば、多値データが2ビ
ットの場合は、表現可能な階調数は4通りであり、1ピ
クセルを面積階調表現するために4分割した場合には、
表現可能な階調数は5階調となる。従って、両者の階調
表現は1対1の対応とはならず、多値データが01b,
10b(但し、bは2進数を示す。以下同様)のときは、
面積階調表現によっては正確な濃度値の表現ができな
い。このため、01b,10bを表現する場合には、止む
を得ず異なる濃度(階調)値にて表現している。
However, in the circuit having the above configuration, for example, when the multi-valued data is 2 bits, the number of gradations that can be expressed is four, and one pixel has an area gradation. If you divide it into four to represent it,
The number of gradations that can be expressed is five. Therefore, the two gradation expressions do not have a one-to-one correspondence, and the multi-value data is 01b,
10b (where b is a binary number; the same applies hereinafter)
An accurate density value cannot be expressed by the area gradation expression. For this reason, when expressing 01b and 10b, they are unavoidably expressed with different density (gradation) values.

【0004】そこで、本出願は、出力画像の階調表現の
向上が可能な画像処理装置及びその画像処理方法の提供
を目的とする。
Accordingly, an object of the present application is to provide an image processing apparatus and an image processing method capable of improving the gradation expression of an output image.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の画像処理装置は以下の構成を特徴とする。
In order to achieve the above object, an image processing apparatus according to the present invention has the following configuration.

【0006】即ち、ビデオクロックに同期して入力され
た入力画像データを処理する画像処理装置であって、前
記ビデオクロックのN倍のクロックを、前記入力画像デ
ータのMピクセル分の期間カウントするカウント手段
と、そのカウント手段のカウント値に応じて、前記Mピ
クセル分の期間内で1ピクセル毎に異なるタイミングで
信号を発生させる信号発生手段と、その信号発生手段が
発生させた信号に応じて、前記N倍のクロックを間引く
間引き手段と、前記入力画像データから得られるMビッ
トの多値データを、前記間引き手段から得られる信号に
従って、濃度データを表わすシリアルデータに変換する
変換手段と、を備えることを特徴とする。
That is, an image processing apparatus for processing input image data input in synchronization with a video clock, wherein a count N times the video clock is counted for a period of M pixels of the input image data Means, a signal generating means for generating a signal at a different timing for each pixel within the period of the M pixels according to a count value of the counting means, and a signal generated by the signal generating means, Thinning means for thinning out the N-times clock; and converting means for converting M-bit multi-value data obtained from the input image data into serial data representing density data in accordance with a signal obtained from the thinning means. It is characterized by the following.

【0007】または、ビデオクロックに同期して入力さ
れた入力画像データを処理する画像処理装置であって、
前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントするカウント手段
と、そのカウント手段のカウント値に応じて、前記Mピ
クセル分の期間内で1ピクセル毎に異なるタイミングで
信号を発生させる信号発生手段と、その信号発生手段が
発生させた信号に応じて、前記入力画像データから得ら
れるMビットの多値データを、濃度データを表わすシリ
アルデータに変換する変換手段と、を備えることを特徴
とする。
[0007] An image processing apparatus for processing input image data input in synchronization with a video clock,
Counting means for counting a clock N times the video clock for a period of M pixels of the input image data, and different timings for each pixel within the period of the M pixels in accordance with the count value of the counting means A signal generating means for generating a signal in accordance with the signal, and converting means for converting M-bit multi-valued data obtained from the input image data into serial data representing density data in accordance with the signal generated by the signal generating means. , Is provided.

【0008】また、上記の目的を達成するため、本発明
の画像処理方法は以下の構成を特徴とする。
In order to achieve the above object, an image processing method according to the present invention has the following configuration.

【0009】即ち、ビデオクロックに同期して入力され
た入力画像データを処理する画像処理方法であって、前
記ビデオクロックのN倍のクロックを、前記入力画像デ
ータのMピクセル分の期間カウントし、そのカウントし
たカウント値に応じて、前記Mピクセル分の期間内で1
ピクセル毎に異なるタイミングで第1の信号を発生さ
せ、その発生させた第1の信号に応じて、前記N倍のク
ロックを間引くことにより第2の信号を生成し、その第
2の信号に従って、前記入力画像データから得られるM
ビットの多値データを、濃度データを表わすシリアルデ
ータに変換することを特徴とする。
That is, an image processing method for processing input image data input in synchronization with a video clock, wherein a clock N times the video clock is counted for a period of M pixels of the input image data, According to the counted value, 1 within the period of the M pixels.
A first signal is generated at a different timing for each pixel, a second signal is generated by thinning out the N times clock according to the generated first signal, and a second signal is generated according to the second signal. M obtained from the input image data
It is characterized in that multi-bit data is converted into serial data representing density data.

【0010】または、ビデオクロックに同期して入力さ
れた入力画像データを処理する画像処理方法であって、
前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントし、そのカウント
したカウント値に応じて、前記Mピクセル分の期間内で
1ピクセル毎に異なるタイミングで信号を発生させ、そ
の発生させた信号に応じて、前記入力画像データから得
られるMビットの多値データを、濃度データを表わすシ
リアルデータに変換することを特徴とする。
Alternatively, there is provided an image processing method for processing input image data input in synchronization with a video clock,
A clock N times the video clock is counted for a period corresponding to M pixels of the input image data, and a signal is generated at a different timing for each pixel within the period corresponding to the M pixels according to the counted value. And converting the M-bit multi-value data obtained from the input image data into serial data representing density data in accordance with the generated signal.

【0011】[0011]

【発明の実施の形態】以下、本発明に係る画像処理装置
の実施形態を図面を参照して説明する。尚、以下に説明
する各実施形態では、本発明を、代表的な画像処理装置
であるレーザビームプリンタが備えるレーザドライバ回
路内の多値データ処理回路に適用するが、これに限られ
るものではないことは言うまでもない。また、多値デー
タ処理回路において、多値データを2ビットとし、1ピ
クセルの多値データを4分割する形態の多値データ処理
回路に本発明を適用するが、これに限られるものではな
いことは言うまでもない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an image processing apparatus according to the present invention will be described below with reference to the drawings. In each of the embodiments described below, the present invention is applied to a multi-value data processing circuit in a laser driver circuit provided in a laser beam printer as a typical image processing apparatus, but is not limited thereto. Needless to say. Also, the present invention is applied to a multi-valued data processing circuit in which multi-valued data is 2 bits and multi-valued data of one pixel is divided into four, but the present invention is not limited to this. Needless to say.

【0012】<第1の実施形態>図1は、本発明の第1
の実施形態としての画像処理装置の多値データ処理回路
のブロック構成図である。
<First Embodiment> FIG. 1 shows a first embodiment of the present invention.
FIG. 3 is a block diagram illustrating a multi-value data processing circuit of the image processing apparatus according to the first embodiment.

【0013】図中、101はカウンタ、102はデコー
ダ、103はOR回路、104はインバータ、105は
フリップフロップ回路、106及び107はAND回
路、108は多値データ変換デコーダ、そして、109
はパラレル・シリアル変換回路である。
In the figure, 101 is a counter, 102 is a decoder, 103 is an OR circuit, 104 is an inverter, 105 is a flip-flop circuit, 106 and 107 are AND circuits, 108 is a multi-level data conversion decoder, and 109
Is a parallel-serial conversion circuit.

【0014】また、111は1ピクセルの4倍の周波数
のビデオクロック(4×VCLK)信号、112は2b
itの多値画像データ(PXDATA[1:0])信
号、113はデコード後の画素データ(PDEC[2:
0])、114はカウントデータ(CNT[3:
0])、117は変調された3倍のビデオクロック(3
×VCLK)信号、118は多値データ変換デコーダか
らの画素データをロードするロード信号(LOAD)、
そして、119はビデオ信号(Video)を示す。
Reference numeral 111 denotes a video clock (4 × VCLK) signal having a frequency four times as high as one pixel, and 112 denotes 2b
It is multi-valued image data (PXDATA [1: 0]) signal, and 113 is decoded pixel data (PDEC [2:
0]) and 114 are count data (CNT [3:
0]) 117 is a modulated video clock (3 times)
× VCLK) signal, a load signal (LOAD) 118 for loading pixel data from the multi-level data conversion decoder,
Reference numeral 119 denotes a video signal (Video).

【0015】次に、上記の構成を備える図1の多値デー
タ処理回路における動作を図2を参照して説明する。
Next, the operation of the multi-level data processing circuit of FIG. 1 having the above configuration will be described with reference to FIG.

【0016】図2は、本発明の第1の実施形態としての
多値データ処理回路の動作を示すタイミングチャートで
ある。
FIG. 2 is a timing chart showing the operation of the multilevel data processing circuit according to the first embodiment of the present invention.

【0017】カウンタ101は、4×VCLK信号11
1を常時0hからBh(以下、hは16進数を表わす)ま
で繰り返しカウントする。
The counter 101 has a 4 × VCLK signal 11
1 is constantly counted from 0h to Bh (h represents a hexadecimal number).

【0018】カウンタ101の出力CNT[3:0]
(114)は、デコーダ102でデコードされ、カウン
タ値がそれぞれ2h,5h,8h,Bhのときに信号(DE
C2,DEC5,DEC8,DECB)を出力する。D
EC2,DEC5,DEC8の信号は、OR回路103
にて論理和が採られ、フリップフロップ105にて4×
VCLKの立ち下がりのタイミングにてサンプリングさ
れる。
Output CNT [3: 0] of counter 101
(114) is decoded by the decoder 102, and when the counter value is 2h, 5h, 8h, Bh, respectively, the signal (DE)
C2, DEC5, DEC8, and DECB). D
The signals of EC2, DEC5, and DEC8 are output from the OR circuit 103.
The OR is taken, and the flip-flop 105 outputs 4 ×
It is sampled at the falling timing of VCLK.

【0019】更に、フリップフロップ105の反転出力
116と4×VCLK信号とは、AND回路106にて
論理積が採られ、3×VCLK信号117が生成され
る。従って、4×VCLK信号を、カウンタ101によ
るカウント値が2h,5h,8hの時に、AND回路10
6による論理積演算によって間引くことにより、3×V
CLK信号117が生成される。また、DECB信号1
15は、カウンタ101をクリアする。
Further, a logical product of the inverted output 116 of the flip-flop 105 and the 4 × VCLK signal is taken by the AND circuit 106 to generate a 3 × VCLK signal 117. Therefore, when the count value of the 4 × VCLK signal is 2h, 5h, 8h by the counter 101, the AND circuit 10
3 × V by thinning out by AND operation with 6
A CLK signal 117 is generated. Also, the DECB signal 1
15 clears the counter 101.

【0020】多値データ変換デコーダ108は、2bi
tの多値画像データ112を3bitの画素データ11
3に変換する。具体的に、2bitの多値画像データ0
0b、01b、10b、11bは、3bitの画素デー
タ113として、それぞれ000b、001b、110
b、111bに変換される。即ち、多値画像データの値
が大きくなるに従って、“1”が立つビットが増えてい
く。
The multi-valued data conversion decoder 108 has 2 bi
t multi-valued image data 112 is converted to 3-bit pixel data 11
Convert to 3. Specifically, 2-bit multivalued image data 0
0b, 01b, 10b, and 11b are 000b, 001b, and 110 as 3-bit pixel data 113, respectively.
b, 111b. That is, as the value of the multi-valued image data increases, the number of bits where “1” is set increases.

【0021】また、カウンタ101の出力のうちの下位
2bitを、AND回路107にて論理積を採り、ロー
ド信号118を生成する。これにより、AND回路10
7は、カウンタ101による4カウントおきに、ロード
信号118を発生する。
The AND circuit 107 calculates the logical product of the lower two bits of the output of the counter 101 to generate a load signal 118. Thereby, the AND circuit 10
7 generates a load signal 118 every four counts by the counter 101.

【0022】最後に、パラレル・シリアル変換回路10
9は、多値データ変換デコーダ108からの3bitの
画素データ113を、ロード信号118の発生タイミン
グでロードし、順次、3×VCLK信号117に従って
シフトしながらシリアル変換し、ビデオ信号119とし
て出力する。
Finally, the parallel / serial conversion circuit 10
9 loads the 3-bit pixel data 113 from the multi-level data conversion decoder 108 at the generation timing of the load signal 118, sequentially converts the 3-bit pixel data 113 while shifting it according to the 3 × VCLK signal 117, and outputs it as a video signal 119.

【0023】このような動作を行う多値データ処理回路
において、入力された2bitの多値画像データ112
が3ピクセル以上連続して01bのときは、ビデオ信号
119の示す濃度値は、1/4,1/4,2/4,1/
4,1/4,2/4,・・・・・となるので、これらの
値の平均値を算出すると、 (1/4+1/4+2/4+・・・)÷3≒1/3 となり、適切な濃度値により階調表現ができる。
In the multi-valued data processing circuit that performs such an operation, the input 2-bit multi-valued image data 112
Is 01b for three or more pixels consecutively, the density value indicated by the video signal 119 is 1/4, 1/4, 2/4, 1 /
4, 1/4, 2/4,..., The average value of these values is calculated as (1/4 + 1/4 + 2/4 +...) ÷ 3 ≒ 1/3. Tone expression can be performed by using an appropriate density value.

【0024】また、2bitの多値画像データが3ピク
セル以上連続して10bのときは、ビデオ信号119の
値は、3/4,3/4,2/4,3/4,3/4,2/
4,・・・・・となるので、これらの値の平均値を算出
すると、 (3/4+3/4+2/4+・・・)÷3≒2/3 となり、適切な濃度値により階調表現ができる。
When the 2-bit multi-valued image data is 10 bits continuously for three or more pixels, the value of the video signal 119 is 3/4, 3/4, 2/4, 3/4, 3/4, 2 /
,..., The average value of these values is calculated as (3/4 + 3/4 + 2/4 +...) ≒ 3 階 調 2/3. it can.

【0025】以上、説明したように、本実施形態のよれ
ば、2bitの多値画像データが01b,10bの場合
であっても、その多値画像データが3ピクセル以上連続
する場合には、平均すれば適切な濃度値を得られるた
め、当該多値データ処理回路から出力するビデオ信号
(Video)の表わす出力画像の品位を向上させるこ
とが可能となる。
As described above, according to the present embodiment, even when the 2-bit multi-valued image data is 01b and 10b, if the multi-valued image data continues for three or more pixels, the average Then, since an appropriate density value can be obtained, the quality of an output image represented by a video signal (Video) output from the multi-value data processing circuit can be improved.

【0026】<第2の実施形態>前述した第1の実施形
態では、出力画像の品位を向上すべく、パラレル・シリ
アル変換回路109に入力するクロックを操作した。本
実施形態では、クロックではなく、入力する画素データ
を操作して出力画像の品位を向上する。以下、第1の実
施形態と異なる構成を中心に説明する。主な違いは、パ
ラレル・シリアル変換回路309内に、もう1段セレク
タを追加したところである。
<Second Embodiment> In the first embodiment described above, the clock input to the parallel / serial conversion circuit 109 was manipulated in order to improve the quality of the output image. In the present embodiment, the quality of the output image is improved by operating the input pixel data instead of the clock. Hereinafter, the configuration different from the first embodiment will be mainly described. The main difference is that another one-stage selector is added in the parallel / serial conversion circuit 309.

【0027】図3は、本発明の第2の実施形態としての
画像処理装置の多値データ処理回路のブロック構成図で
ある。
FIG. 3 is a block diagram of a multi-value data processing circuit of an image processing apparatus according to a second embodiment of the present invention.

【0028】図中、301はカウンタ、302はデコー
ダ、303はOR回路、307はAND回路、308は
多値データ変換デコーダ、そして、309は変形パラレ
ル・シリアル変換回路である。
In the figure, 301 is a counter, 302 is a decoder, 303 is an OR circuit, 307 is an AND circuit, 308 is a multi-level data conversion decoder, and 309 is a modified parallel-serial conversion circuit.

【0029】また、311は1ピクセルの4倍の周波数
のビデオクロック(4×VCLK)信号、312は2b
itの多値画像データ(PXDATA[1:0])、3
13はデコード後の画素データ(PDEC[2:
0])、314はカウンタ301のカウントデータ(C
NT[3:0])、318はロード信号(LOAD)、
320は操作信号(OPS)、そして、319はビデオ
信号(Video)である。
Reference numeral 311 denotes a video clock (4 × VCLK) signal having a frequency four times the frequency of one pixel, and reference numeral 312 denotes 2b
it multi-value image data (PXDATA [1: 0]), 3
13 is the decoded pixel data (PDEC [2:
0]) and 314 are count data (C
NT [3: 0]), 318 is a load signal (LOAD),
320 is an operation signal (OPS), and 319 is a video signal (Video).

【0030】次に、上記の構成を備える図3の多値デー
タ処理回路における動作を図4を参照して説明する。
Next, the operation of the multi-level data processing circuit of FIG. 3 having the above configuration will be described with reference to FIG.

【0031】図4は、本発明の第2の実施形態としての
多値データ処理回路の動作を示すタイミングチャートで
ある。
FIG. 4 is a timing chart showing the operation of the multilevel data processing circuit according to the second embodiment of the present invention.

【0032】カウンタ301は、4×VCLK信号31
1を常時0hからBhまで繰り返しカウントする。
The counter 301 has a 4 × VCLK signal 31
1 is always repeated from 0h to Bh.

【0033】デコーダ302は、カウンタ301の出力
CNT[3:0]をデコードし、カウンタ値がそれぞれ
2h,5h,8h,Bhのときに信号(DEC2,DEC
5,DEC8,DECB)を出力する。DEC2,DE
C5,DEC8の信号は、OR回路303にて論理和が
採られ操作信号(OPS)320となる。また、DEC
B信号315は、カウンタ301をクリアする。従っ
て、カウンタ301のカウント値が2h,5h,8hの時
に、OR回路303は、操作信号(OPS)320を発
生する。
The decoder 302 decodes the output CNT [3: 0] of the counter 301 and outputs signals (DEC2, DEC2, DEC2,
5, DEC8, DECB). DEC2, DE
The OR of the signals of C5 and DEC8 is taken by the OR circuit 303 to become an operation signal (OPS) 320. Also, DEC
The B signal 315 clears the counter 301. Therefore, when the count value of the counter 301 is 2h, 5h, 8h, the OR circuit 303 generates the operation signal (OPS) 320.

【0034】また、多値データ変換デコーダ308は、
2bitの多値画像データ312を3bitの画素デー
タ313に変換する。具体的には、2bitの多値画像
データ00b、01b、10b、11b(但し、bは2
進数を示す。以下同様)が、3bitの画素データ11
3として、それぞれ000b、001b、110b、1
11bに変換される。即ち、多値画像データの値が大き
くなるに従って、“1”が立つビットが増えていく。
Further, the multi-level data conversion decoder 308
The multi-bit image data 312 of 2 bits is converted into the pixel data 313 of 3 bits. Specifically, 2-bit multi-value image data 00b, 01b, 10b, and 11b (where b is 2
Indicates a base number. The same applies to the following) but 3-bit pixel data 11
3 as 000b, 001b, 110b, 1
11b. That is, as the value of the multi-valued image data increases, the number of bits where “1” is set increases.

【0035】また、カウンタ301の出力のうちの下位
2bitをAND回路307にて論理積を採りロード信
号318を生成する。これにより、AND回路307
は、4カウントおきにロード信号318を発生する。
The lower 2 bits of the output of the counter 301 are ANDed by an AND circuit 307 to generate a load signal 318. Thereby, the AND circuit 307
Generates a load signal 318 every four counts.

【0036】最後に、パラレル・シリアル変換回路30
9にて3bitの画素データ313をロード信号318
の発生タイミングでロードし、順次、4×VCLK信号
311に従ってシフトしながらシリアル変換し、ビデオ
信号319として出力する。但し、ビデオ信号319の
出力の際、操作信号(OPS)320が発生していると
きはシフトせずにデータを出力する。
Finally, the parallel / serial conversion circuit 30
9 to load the 3-bit pixel data 313 into the load signal 318
, And serially converted while sequentially shifting according to the 4 × VCLK signal 311, and output as a video signal 319. However, when the operation signal (OPS) 320 is generated when the video signal 319 is output, the data is output without shifting.

【0037】このような動作を行う多値データ処理回路
において、入力された2bitの多値画像データが01
bのとき、ビデオ信号119の値は、1/4,1/4,
2/4,1/4,1/4,2/4,・・・・・となるの
で、これらの値の平均値を算出すると、 (1/4+1/4+2/4+・・・)÷3≒1/3 となり、適切な濃度値により階調表現ができる。
In the multi-valued data processing circuit performing such an operation, the input 2-bit multi-valued image data is 01
In the case of b, the value of the video signal 119 is 1/4, 1/4,
2/4, 1/4, 1/4, 2/4,..., The average of these values is calculated as: (1/4 + 1/4 + 2/4 +...) {3} 1/3, and gradation can be expressed by an appropriate density value.

【0038】また、2bitの多値画像データが3ピク
セル以上連続して10bのときは、ビデオ信号119の
値は、3/4,3/4,2/4,3/4,3/4,2/
4,・・・・・となるので、これらの値の平均値を算出
すると、 (3/4+3/4+2/4+・・・)÷3≒2/3 となり、適切な濃度値により階調表現ができる。
When the 2-bit multivalued image data is 10b consecutively for three or more pixels, the value of the video signal 119 is 3/4, 3/4, 2/4, 3/4, 3/4, 2 /
,..., The average value of these values is calculated as (3/4 + 3/4 + 2/4 +...) ≒ 3 階 調 2/3. it can.

【0039】以上、説明したように、本実施形態におい
ても2bitの多値画像データが01b,10bの場合
に、その多値画像データが3ピクセル以上連続する場合
には、平均すれば適切な濃度値を得られるため、当該多
値データ処理回路から出力するビデオ信号(Vide
o)の表わす出力画像の品位を向上させることが可能と
なる。
As described above, also in the present embodiment, when the 2-bit multi-valued image data is 01b and 10b and the multi-valued image data is continuous for 3 pixels or more, an appropriate density is obtained by averaging. Since the value can be obtained, the video signal (Video) output from the multi-level data processing circuit is obtained.
It is possible to improve the quality of the output image represented by o).

【0040】<他の実施形態>上述した第1の実施形態
では、カウンタ101のカウント値が2h,5h,8hの
時に4×VCLK信号を間引いたが、これに限られるも
のではなく、連続する3ピクセル間において間引く位置
が異なっていればよいので、例えば、カウント値が(2
h,4h,9h)、(1h,6h,8h)、または(1h,4
h,Ah)等としてもよい。
<Other Embodiments> In the above-described first embodiment, the 4 × VCLK signal is thinned out when the count value of the counter 101 is 2h, 5h, and 8h. However, the present invention is not limited to this. Since it is sufficient that the positions to be decimated are different between three pixels, for example, the count value is (2
h, 4h, 9h), (1h, 6h, 8h), or (1h, 4
h, Ah), etc.

【0041】また、第2の実施形態では、カウンタ30
1のカウント値が2h,5h,8hの時にデータを操作し
たが、これに限られるものではなく、連続する3ピクセ
ル間において操作する位置が違っていればよいので、例
えば、カウント値が(2h,4h,9h)、(1h,6h,
8h)、または(1h,4h,Ah)等としてもよい。
In the second embodiment, the counter 30
The data was operated when the count value of 1 was 2h, 5h, and 8h. However, the present invention is not limited to this. For example, the operation position may be different between three consecutive pixels. , 4h, 9h), (1h, 6h,
8h) or (1h, 4h, Ah).

【0042】また、上記の第1尾及び第2の実施形態で
は、多値データ変換デコーダの出力値を、00b→00
0b、01b→001b、10b→110b、11b→
111bとなる構成としたがこれに限定されるものでな
いことは言うまでもない。
In the first and second embodiments, the output value of the multi-level data conversion decoder is changed from 00b → 00
0b, 01b → 001b, 10b → 110b, 11b →
Although the configuration is 111b, it is needless to say that the configuration is not limited to this.

【0043】尚、本発明は、複数の機器(例えばホスト
コンピュータ,インタフェイス機器,リーダ,プリンタ
等)から構成されるシステムに適用しても、一つの機器
からなる装置(例えば、複写機,ファクシミリ装置等)
に適用してもよい。
Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine, a facsimile, etc.) comprising one device Equipment)
May be applied.

【0044】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0045】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0046】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROM等
を用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, magnetic tape, non-volatile memory card, ROM, etc. can be used.

【0047】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)等が実際の処理の一部または全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0048】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書込まれた後、そのプログラムコードの指示に基
づき、その機能拡張ボードや機能拡張ユニットに備わる
CPU等が実際の処理の一部または全部を行い、その処
理によって前述した実施形態の機能が実現される場合も
含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that a CPU or the like provided in the function expansion board or the function expansion unit performs a part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0049】[0049]

【発明の効果】以上説明したように、本発明によれば、
出力画像の階調表現の向上が可能な画像処理装置及びそ
の画像処理方法の提供が実現する。
As described above, according to the present invention,
An image processing apparatus and an image processing method capable of improving the gradation expression of an output image are provided.

【0050】[0050]

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

【図1】本発明の第1の実施形態としての画像処理装置
の多値データ処理回路のブロック構成図である。
FIG. 1 is a block diagram of a multi-value data processing circuit of an image processing apparatus according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態としての多値データ処
理回路の動作を示すタイミングチャートである。
FIG. 2 is a timing chart showing an operation of the multi-level data processing circuit according to the first embodiment of the present invention.

【図3】本発明の第2の実施形態としての画像処理装置
の多値データ処理回路のブロック構成図である。
FIG. 3 is a block diagram of a multi-value data processing circuit of an image processing apparatus according to a second embodiment of the present invention.

【図4】本発明の第2の実施形態としての多値データ処
理回路の動作を示すタイミングチャートである。
FIG. 4 is a timing chart illustrating an operation of a multi-level data processing circuit according to a second embodiment of the present invention.

【図5】従来例としての多値データ処理回路を表わすブ
ロック図である。
FIG. 5 is a block diagram showing a multi-value data processing circuit as a conventional example.

【図6】従来例としての多値データの変換例を示す図で
ある。
FIG. 6 is a diagram showing a conversion example of multi-value data as a conventional example.

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

101,301 カウンタ 102,302 デコーダ 103,303 OR回路 104 インバータ 105 フリップフロップ 106,107,307 AND回路 108,308 多値データ変換デコーダ 109,309 パラレル・シリアル変換回路 101, 301 Counter 102, 302 Decoder 103, 303 OR circuit 104 Inverter 105 Flip-flop 106, 107, 307 AND circuit 108, 308 Multi-level data conversion decoder 109, 309 Parallel / serial conversion circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ビデオクロックに同期して入力された入
力画像データを処理する画像処理装置であって、 前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントするカウント手段
と、 そのカウント手段のカウント値に応じて、前記Mピクセ
ル分の期間内で1ピクセル毎に異なるタイミングで信号
を発生させる信号発生手段と、 その信号発生手段が発生させた信号に応じて、前記N倍
のクロックを間引く間引き手段と、 前記入力画像データから得られるMビットの多値データ
を、前記間引き手段から得られる信号に従って、濃度デ
ータを表わすシリアルデータに変換する変換手段と、を
備えることを特徴とする画像処理装置。
1. An image processing apparatus for processing input image data input in synchronization with a video clock, wherein a count for counting a clock N times the video clock for a period of M pixels of the input image data Means, a signal generating means for generating a signal at a different timing for each pixel within a period of the M pixels according to a count value of the counting means, and a signal generated by the signal generating means, Thinning means for thinning out the N-times clock; and converting means for converting M-bit multi-valued data obtained from the input image data into serial data representing density data in accordance with a signal obtained from the thinning means. An image processing apparatus characterized by the above-mentioned.
【請求項2】 ビデオクロックに同期して入力された入
力画像データを処理する画像処理装置であって、 前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントするカウント手段
と、 そのカウント手段のカウント値に応じて、前記Mピクセ
ル分の期間内で1ピクセル毎に異なるタイミングで信号
を発生させる信号発生手段と、 その信号発生手段が発生させた信号に応じて、前記入力
画像データから得られるMビットの多値データを、濃度
データを表わすシリアルデータに変換する変換手段と、
を備えることを特徴とする画像処理装置。
2. An image processing apparatus for processing input image data input in synchronization with a video clock, wherein a count that counts a clock N times the video clock for a period of M pixels of the input image data. Means, a signal generating means for generating a signal at a different timing for each pixel within a period of the M pixels according to a count value of the counting means, and a signal generated by the signal generating means, Conversion means for converting M-bit multi-value data obtained from the input image data into serial data representing density data;
An image processing apparatus comprising:
【請求項3】 更に、(M−1)ビットの前記入力画像
データをMビットにデコードするデコード手段を備える
ことを特徴とする請求項1または請求項2記載の画像処
理装置。
3. The image processing apparatus according to claim 1, further comprising decoding means for decoding the (M-1) -bit input image data into M bits.
【請求項4】 前記信号発生手段は、前記カウント手段
によるカウント値が予めM種類設定した所定値の何れか
になる度に信号を発生させるデコーダであることを特徴
とする請求項1または請求項2記載の画像処理装置。
4. The signal generating means according to claim 1, wherein said signal generating means is a decoder for generating a signal each time the count value of said counting means reaches one of M types of predetermined values. 3. The image processing device according to 2.
【請求項5】 前記変換手段は、前記Mビットの多値デ
ータをシリアル変換することにより、濃度に略比例する
パルス幅を有する信号を生成することを特徴とする請求
項1または請求項2記載の画像処理装置。
5. The apparatus according to claim 1, wherein the conversion means generates a signal having a pulse width substantially proportional to a density by serially converting the M-bit multi-value data. Image processing device.
【請求項6】 ビデオクロックに同期して入力された入
力画像データを処理する画像処理方法であって、 前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントし、 そのカウントしたカウント値に応じて、前記Mピクセル
分の期間内で1ピクセル毎に異なるタイミングで第1の
信号を発生させ、 その発生させた第1の信号に応じて、前記N倍のクロッ
クを間引くことにより第2の信号を生成し、 その第2の信号に従って、前記入力画像データから得ら
れるMビットの多値データを、濃度データを表わすシリ
アルデータに変換することを特徴とする画像処理方法。
6. An image processing method for processing input image data input in synchronization with a video clock, comprising: counting a clock N times the video clock for a period of M pixels of the input image data; According to the counted value, a first signal is generated at a different timing for each pixel within the period of the M pixels, and the N times clock is generated according to the generated first signal. An image processing method comprising: generating a second signal by thinning out; and converting M-bit multi-valued data obtained from the input image data into serial data representing density data according to the second signal. .
【請求項7】 ビデオクロックに同期して入力された入
力画像データを処理する画像処理方法であって、 前記ビデオクロックのN倍のクロックを、前記入力画像
データのMピクセル分の期間カウントし、 そのカウントしたカウント値に応じて、前記Mピクセル
分の期間内で1ピクセル毎に異なるタイミングで信号を
発生させ、 その発生させた信号に応じて、前記入力画像データから
得られるMビットの多値データを、濃度データを表わす
シリアルデータに変換することを特徴とする画像処理方
法。
7. An image processing method for processing input image data input in synchronization with a video clock, comprising: counting a clock N times the video clock for a period of M pixels of the input image data; In accordance with the counted value, a signal is generated at a different timing for each pixel within the period of the M pixels, and according to the generated signal, an M-bit multi-value obtained from the input image data is generated. An image processing method comprising converting data into serial data representing density data.
JP9203409A 1997-07-29 1997-07-29 Image processing unit and image processing method Withdrawn JPH1155514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9203409A JPH1155514A (en) 1997-07-29 1997-07-29 Image processing unit and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9203409A JPH1155514A (en) 1997-07-29 1997-07-29 Image processing unit and image processing method

Publications (1)

Publication Number Publication Date
JPH1155514A true JPH1155514A (en) 1999-02-26

Family

ID=16473597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9203409A Withdrawn JPH1155514A (en) 1997-07-29 1997-07-29 Image processing unit and image processing method

Country Status (1)

Country Link
JP (1) JPH1155514A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11118887B2 (en) 2019-01-14 2021-09-14 Stanley Black & Decker, Inc. Self-retracting tape rule
US11525656B2 (en) 2019-01-14 2022-12-13 Stanley Black & Decker, Inc. Self-retracting tape rule

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11118887B2 (en) 2019-01-14 2021-09-14 Stanley Black & Decker, Inc. Self-retracting tape rule
US11525656B2 (en) 2019-01-14 2022-12-13 Stanley Black & Decker, Inc. Self-retracting tape rule

Similar Documents

Publication Publication Date Title
US4387364A (en) Method and apparatus for reducing DC components in a digital information signal
GB2070384A (en) Driving equipment for multi-gradation level reproduction
JPH0969951A (en) Encoding method and decoding method
US4456905A (en) Method and apparatus for encoding binary data
JPH0326947B2 (en)
JPS5937774A (en) Method and device for encoding picture signal
US5089819A (en) Parallel-to-serial signal converting apparatus and image displaying system using the same
JPH04261264A (en) Pulse width modulator
JPH1155514A (en) Image processing unit and image processing method
JPH06253134A (en) Picture processing device
US5619227A (en) Picture data processing device with preferential selection among a plurality of sources
JPH078004B2 (en) Image forming device
US6044053A (en) Dc-balance-value calculation circuit and recording signal generator using the same
US5510788A (en) Data conversion apparatus
JPS63169691A (en) Liquid crystal driving
JPS62287773A (en) Writing device driving circuit
JP3373874B2 (en) Image processing device
JPH058621B2 (en)
JPS6250978A (en) Image processing device
JPH1198343A (en) Image processor and image processing method
JP3326890B2 (en) Pulse width modulation circuit
JP2942282B2 (en) Digital image processing equipment
JPH0730746A (en) Image processor
JPH10166657A (en) Dither pattern generating unit
JPH02210964A (en) Picture processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041005