Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3339215B2 - Thinned clock generation circuit - Google Patents
[go: Go Back, main page]

JP3339215B2 - Thinned clock generation circuit - Google Patents

Thinned clock generation circuit

Info

Publication number
JP3339215B2
JP3339215B2 JP27923794A JP27923794A JP3339215B2 JP 3339215 B2 JP3339215 B2 JP 3339215B2 JP 27923794 A JP27923794 A JP 27923794A JP 27923794 A JP27923794 A JP 27923794A JP 3339215 B2 JP3339215 B2 JP 3339215B2
Authority
JP
Japan
Prior art keywords
clock signal
thinning
value
thinned
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27923794A
Other languages
Japanese (ja)
Other versions
JPH08139914A (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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP27923794A priority Critical patent/JP3339215B2/en
Publication of JPH08139914A publication Critical patent/JPH08139914A/en
Application granted granted Critical
Publication of JP3339215B2 publication Critical patent/JP3339215B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • 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 a thinning clock generation circuit for generating a thinning clock for thinning out pixels in image data when, for example, a copying machine reduces read image data and records it on recording paper. It is about.

【0002】[0002]

【従来の技術】 例えば複写機において、原稿上の読取
画データを主走査方向に縮小して記録紙上に記録する場
合には、読取画データ中の各ラインデータを構成する画
素データを縮小率に応じて間引いて、その間引いた画素
データを記録紙上に記録しないようにしている。
2. Description of the Related Art For example, in a copying machine, when reading image data on a document is reduced in the main scanning direction and recorded on recording paper, pixel data constituting each line data in the reading image data is reduced at a reduction rate. The pixel data is decimated accordingly so as not to be recorded on the recording paper.

【0003】例えば、原稿上の読取画データがページメ
モリに一旦記憶されてから記録部に転送されるような場
合には、ページメモリ内の読取画データがラインデータ
毎、図4に示すような読み出し用のクロック信号CLK
に同期して1画素分ずつ順次読み出されて、記録部に転
送される。そして、その転送画データは、前記クロック
信号CLKを基に間引きクロック生成回路にて作成され
る書き込み用の間引きクロック信号SCLKに同期し
て、1画素分ずつ記録部に順次入力される。
For example, in a case where read image data on a document is temporarily stored in a page memory and then transferred to a recording unit, the read image data in the page memory is read line by line as shown in FIG. Clock signal CLK for reading
Are sequentially read out one pixel at a time in synchronization with. Then, the transfer image data is sequentially input to the recording unit one pixel at a time in synchronization with the thinning-out clock signal SCLK for writing created by the thinning-out clock generation circuit based on the clock signal CLK.

【0004】この書き込み用の間引きクロック信号SC
LKは、前記読み出し用のクロック信号CLKのパルス
を所定間隔おきで間引いてなるものであり、その間引か
れたパルスに同期して転送されてくる画素データは、記
録部への入力を許容されずに間引かれる。そして、この
ように、ページメモリから転送されてくる画素データを
間引きクロック信号SCLKにより間引いた状態で記録
部に入力することにより、読取画データを主走査方向に
縮小して記録することができる。
[0004] The thinned clock signal SC for writing is
LK is obtained by thinning out the pulses of the read clock signal CLK at predetermined intervals. Pixel data transferred in synchronization with the thinned out pulses is not allowed to be input to the recording unit. Is thinned out. Then, by inputting the pixel data transferred from the page memory to the recording unit in a state where the pixel data is thinned out by the thinning clock signal SCLK, the read image data can be reduced and printed in the main scanning direction.

【0005】そして、従来では、上記のような間引きク
ロック信号SCLKを作成するために、次のような間引
きクロック生成回路が用いられていた。この従来の間引
きクロック生成回路は、図4に示すような間引き用のパ
ターンデータと、読み出し用のクロック信号CLKとに
基づき、間引きクロック信号SCLKを作成して出力す
るものである。間引き用のパターンデータは、複数の縮
小率にそれぞれ対応して予めメモリに格納されている。
そして、間引きクロック生成回路は、指定された縮小率
に対応するパターンデータをメモリから読み出し、その
読み出したパターンデータとクロック信号CLKとが共
にHレベルとなるときにのみHレベルとなる信号を、間
引きクロック信号SCLKとして出力する。
Conventionally, the following thinning clock generation circuit has been used to generate the above thinning clock signal SCLK. This conventional thinning clock generation circuit generates and outputs a thinning clock signal SCLK based on a pattern data for thinning as shown in FIG. 4 and a clock signal CLK for reading. The pattern data for thinning is stored in the memory in advance corresponding to each of the plurality of reduction ratios.
Then, the thinning clock generation circuit reads the pattern data corresponding to the designated reduction ratio from the memory, and thins out a signal which becomes H level only when both the read pattern data and the clock signal CLK become H level. Output as clock signal SCLK.

【0006】例えば図4は、B4サイズの原稿の読取画
データをA4サイズの記録紙に記録可能なように縮小す
る例を示しており、この場合の縮小率は27/32(=
1728/2048)となる。そして、このような縮小
率が設定された場合には、クロック信号CLKの32個
分のパルスのうち5個分のパルスに対応してLレベルと
なるパターンデータが読み出される。従って、このパタ
ーンデータとクロック信号CLKとに基づき、クロック
信号CLKの32個分のパルスのうち5個分のパルスが
間引かれて、間引きクロック信号SCLKとして出力さ
れる。
For example, FIG. 4 shows an example in which read image data of a B4 size document is reduced so that it can be recorded on A4 size recording paper. In this case, the reduction ratio is 27/32 (=
1728/2048). When such a reduction ratio is set, pattern data of L level is read out corresponding to five pulses of the 32 pulses of the clock signal CLK. Therefore, based on the pattern data and the clock signal CLK, five pulses of the 32 pulses of the clock signal CLK are thinned out and output as the thinned clock signal SCLK.

【0007】又、従来、間引きクロック生成回路とし
て、カウンタによるカウント値に基づき、入力されるク
ロック信号CLKの所定のパルスを間引いて、間引きク
ロック信号SCLKとして出力するデコーダを用いたも
のもある。尚、カウンタはクロック信号CLKに同期し
てカウント動作を行うものである。例えば、前述のよう
に、縮小率として27/32が設定された場合には、3
2進カウンタを使用する。そして、デコーダにより、そ
のカウンタのカウント値が「6,13,19,26,3
2」となったときのクロック信号CLKのパルスを間引
いて、間引きクロック信号SCLKとして出力するよう
にしている。
Conventionally, as a thinned-out clock generation circuit, there is a circuit using a decoder which thins out a predetermined pulse of an input clock signal CLK based on a count value of a counter and outputs the thinned clock signal SCLK. The counter performs a counting operation in synchronization with the clock signal CLK. For example, as described above, when 27/32 is set as the reduction ratio, 3
Use a binary counter. Then, the count value of the counter is set to “6, 13, 19, 26, 3” by the decoder.
In this case, the pulses of the clock signal CLK at the time of "2" are thinned out and output as the thinned clock signal SCLK.

【0008】[0008]

【発明が解決しようとする課題】 ところが、前記従来
技術において、前者のものでは、複数の縮小率にそれぞ
れ対応して、複数の間引き用のパターンデータをメモリ
に格納しておく必要がある。このため、多数の縮小率が
ある場合には、多数のパターンデータを格納しておくた
めのメモリとして、大容量のものが必要になるという問
題があった。又、後者のものでは、複数の各縮小率に応
じた間引きクロック信号SCLKを、1つのカウンタや
デコーダだけで作成することができない。このため、縮
小率が多くなれば複数のカウンタやデコーダを設ける必
要が生じ、回路構成が複雑になるという問題があった。
このように、従来では、多数の縮小率に対応できるよう
にするためには、メモリの大容量化や構成の複雑化を招
くことになり、製作コストが上昇するものであった。
However, in the prior art, in the former case, it is necessary to store a plurality of thinning-out pattern data in a memory corresponding to a plurality of reduction ratios. For this reason, when there are many reduction ratios, there is a problem that a large-capacity memory is required for storing a large number of pattern data. In the latter case, the thinned-out clock signal SCLK corresponding to each of the plurality of reduction rates cannot be generated by only one counter or decoder. For this reason, if the reduction ratio increases, it becomes necessary to provide a plurality of counters and decoders, and there has been a problem that the circuit configuration becomes complicated.
As described above, conventionally, in order to be able to cope with a large number of reduction ratios, the capacity of the memory has to be increased and the configuration has been complicated, and the manufacturing cost has been increased.

【0009】本発明は上記問題点を解消するためになさ
れたものであって、その目的は、任意の縮小率に対応し
た間引きクロック信号を容易に作成することができ、し
かも間引き用のパターンデータを記憶しておくメモリを
設ける必要がないとともに、構成が簡単な間引きクロッ
ク生成回路を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to make it possible to easily create a thinned-out clock signal corresponding to an arbitrary reduction ratio, and to further obtain pattern data for thinning-out. It is an object of the present invention to provide a thinned-out clock generation circuit which does not need to be provided with a memory for storing the clock, and has a simple configuration.

【0010】[0010]

【課題を解決するための手段】 上記の目的を達成する
ために、請求項1の発明では、縮小率の値をn/mとし
た場合、クロック信号のパルスに同期してm−nずつ加
算を行うとともに、その加算結果がn以上になったとき
加算結果からnを減算する演算手段と、その減算時にク
ロック信号のパルスを間引いて間引きクロックとして出
力する間引き手段とを設けたものである。
In order to achieve the above object, according to the first aspect of the present invention, when the value of the reduction ratio is n / m, mn is added in synchronization with the pulse of the clock signal. , And a calculating means for subtracting n from the addition result when the addition result becomes n or more, and a thinning means for thinning out the pulse of the clock signal at the time of the subtraction and outputting it as a thinning clock.

【0011】請求項2の発明では、前記演算手段は、ク
ロック信号のパルスに同期して、自身の出力値にm−n
を加算して新たな出力値として出力し、前記間引き手段
は、演算手段からの出力値がn以上になったときにクロ
ック信号の次のパルスを間引くとともに演算手段に対し
て減算指令を行い、演算手段は、その減算指令に基づき
クロック信号の次のパルスに同期して出力値からnを減
算するものである。
According to the second aspect of the present invention, the calculating means adds mn to its output value in synchronization with the pulse of the clock signal.
Is added as a new output value, and the thinning-out means thins out the next pulse of the clock signal when the output value from the arithmetic means becomes n or more, and issues a subtraction instruction to the arithmetic means, The calculating means subtracts n from the output value in synchronization with the next pulse of the clock signal based on the subtraction command.

【0012】請求項3の発明では、前記演算手段は、初
期値の入力に基づき、その初期値を最初の出力値として
加算動作を行うものである。
According to a third aspect of the present invention, based on the input of the initial value, the calculating means performs the adding operation using the initial value as the first output value.

【0013】[0013]

【作用】 従って、請求項1の発明によれば、縮小率の
値がn/mの場合、演算手段は、クロック信号のパルス
に同期してm−nずつ加算を行うとともに、その加算結
果がn以上になったときに、加算結果からnを減算す
る。そして、間引き手段は、その減算時にクロック信号
のパルスを間引いて間引きクロックとして出力する。例
えば、縮小率の値が3/5の場合、演算手段では、クロ
ック信号のパルスに同期して、その演算結果が「2・4
・2・4・2…」と変化する。そして、間引き手段で
は、演算手段による減算時、すなわち演算結果が4から
2に減算されるときにクロック信号のパルスが間引かれ
る。その結果、間引きクロックとして、クロック信号の
5個分のパルスのうち2個分のパルスが間引かれたもの
が出力される。
Therefore, according to the first aspect of the present invention, when the value of the reduction ratio is n / m, the calculating means adds mn at a time in synchronization with the pulse of the clock signal, and the addition result is When it becomes n or more, n is subtracted from the addition result. The thinning means thins out the pulse of the clock signal at the time of the subtraction and outputs the thinned clock. For example, when the value of the reduction ratio is 3/5, the calculation unit synchronizes with the pulse of the clock signal and outputs the calculation result as “2.4”.
・ 2 ・ 4 ・ 2 ... 」. In the thinning means, the pulses of the clock signal are thinned out at the time of the subtraction by the arithmetic means, that is, when the operation result is subtracted from 4 to 2. As a result, a thinned clock in which two pulses out of five pulses of the clock signal are thinned out is output.

【0014】請求項2の発明によれば、演算手段では、
クロック信号のパルスに同期して、自身の出力値にm−
nが加算されて新たな出力値として出力される。又、間
引き手段では、演算手段からの出力値がn以上になった
ときに、クロック信号の次のパルスが間引かれるととも
に、演算手段に対して減算指令が行われる。そして、演
算手段では、その減算指令に基づき、クロック信号の次
のパルスに同期して、出力値からnが減算される。
According to the second aspect of the present invention, the arithmetic means includes:
In synchronization with the pulse of the clock signal, the output value of
n is added and output as a new output value. In the thinning means, when the output value from the arithmetic means becomes n or more, the next pulse of the clock signal is thinned and a subtraction instruction is issued to the arithmetic means. Then, the arithmetic means subtracts n from the output value in synchronization with the next pulse of the clock signal based on the subtraction command.

【0015】請求項3の発明によれば、演算手段に入力
する初期値を変更することにより、クロック信号の間引
くべきパルス位置を任意にずらすことができる。
According to the third aspect of the present invention, the pulse position to be thinned out can be arbitrarily shifted by changing the initial value input to the arithmetic means.

【0016】[0016]

【実施例】 以下、本発明を複写機に具体化した一実施
例を図面に基づいて説明する。図2に示すように、CP
U(中央処理装置)1には、装置全体の動作を制御する
ためのプログラム等を記憶したROM(リードオンリメ
モリ)2、及び各種情報を一時的に記憶するためのRA
M(ランダムアクセスメモリ)3が接続されている。読
取部4は、装置の図示しない読取面にセットされた原稿
上の画像を読み取る。ページメモリ5は、読取部4で読
み取られた原稿1ページ分の画データを一時的に記憶す
る。記録部6は、ページメモリ5から1ライン毎転送さ
れてくる原稿1ページ分の画データに基づいて、記録紙
上に印字を行う。間引きクロック生成回路7は、記録部
6に対して間引きクロック信号SCLKを出力すること
により、ページメモリ5から転送されるラインデータ中
の所定の画素データを間引いて記録部6へ入力させる。
An embodiment in which the present invention is embodied in a copying machine will be described below with reference to the drawings. As shown in FIG.
A U (central processing unit) 1 has a ROM (read only memory) 2 storing a program and the like for controlling the operation of the entire apparatus, and an RA for temporarily storing various information.
M (random access memory) 3 is connected. The reading unit 4 reads an image on a document set on a reading surface (not shown) of the apparatus. The page memory 5 temporarily stores image data for one page of the document read by the reading unit 4. The recording unit 6 prints on recording paper based on the image data of one page of the document transferred line by line from the page memory 5. The thinning clock generation circuit 7 thins out predetermined pixel data in the line data transferred from the page memory 5 and outputs the thinned clock signal SCLK to the recording unit 6 by outputting the thinning clock signal SCLK to the recording unit 6.

【0017】操作部8は、コピー動作を開始させるため
のスタートキー、縮小率設定キー8a及び初期値設定キ
ー8b等の各種操作キーを備えている。縮小率設定キー
8aは画データの縮小率を入力設定するためのものであ
る。尚、本実施例では、縮小率の値をn/mと表すこと
とし、その分母の値mと分子の値nとの差(m−n)の
値をdとする。又、分母の値mは縮小前の画データの大
きさ、分子の値nは縮小後の画データの大きさを表す値
である。初期値設定キー8bは、後述する初期値Kを入
力設定するためのものである。
The operation unit 8 includes various operation keys such as a start key for starting a copying operation, a reduction ratio setting key 8a, and an initial value setting key 8b. A reduction ratio setting key 8a is used to input and set a reduction ratio of image data. In the present embodiment, the value of the reduction ratio is expressed as n / m, and the value of the difference (mn) between the value m of the denominator and the value n of the numerator is d. The value m of the denominator is a value representing the size of the image data before reduction, and the value n of the numerator is a value representing the size of the image data after reduction. The initial value setting key 8b is used to input and set an initial value K described later.

【0018】そして、読取部4で読み取られた原稿1ペ
ージ分の画データがページメモリ5に一旦記憶される
と、CPU1は、ページメモリ5に対してクロック信号
CLKを読み出し信号として出力する。すると、ページ
メモリ5内の画データがラインデータ毎、クロック信号
CLKに同期して1画素分ずつ順次読み出されて、記録
部6に転送される。又、同時に、CPU1は、間引きク
ロック生成回路7に対してクロック信号CLKを出力す
る。すると、間引きクロック生成回路7は、前記縮小率
設定キー8a及び初期値設定キー8bにより入力設定さ
れた縮小率の値n/m及び初期値Kに基づき、クロック
信号CLKのパルスを所定間隔おきで間引いて間引きク
ロック信号SCLKを作成し、同クロック信号SCLK
を書き込み信号として記録部6に出力する。その結果、
クロック信号CLKに同期して1画素分ずつページメモ
リ5から転送されてくる画データのうち、間引きクロッ
ク信号SCLKの間引かれたパルスに対応する画素デー
タは、記録部6への入力を許容されずに間引かれる。
Once the image data for one page of the document read by the reading section 4 is once stored in the page memory 5, the CPU 1 outputs the clock signal CLK to the page memory 5 as a read signal. Then, the image data in the page memory 5 is sequentially read for each pixel, one line at a time in synchronization with the clock signal CLK, and transferred to the recording unit 6. At the same time, the CPU 1 outputs the clock signal CLK to the thinning clock generation circuit 7. Then, the thinning clock generation circuit 7 generates pulses of the clock signal CLK at predetermined intervals based on the value n / m and the initial value K of the reduction ratio input and set by the reduction ratio setting key 8a and the initial value setting key 8b. A thinned clock signal SCLK is created by thinning out the clock signal SCLK.
Is output to the recording unit 6 as a write signal. as a result,
Of the image data transferred from the page memory 5 one pixel at a time in synchronization with the clock signal CLK, pixel data corresponding to the thinned pulse of the thinned clock signal SCLK is allowed to be input to the recording unit 6. It is thinned out.

【0019】ここで、前記間引きクロック生成回路7の
構成を詳細に説明する。図1に示すように、演算手段と
しての演算回路9には、前記CPU1より縮小率n/m
に関連した値d,nが入力される。即ち、縮小率設定キ
ー8aにより縮小率の値n/mが入力設定されると、C
PU1は、その設定された縮小率の値n/mから求めら
れる値d,nを演算回路9に出力する。又、この演算回
路9には、前記初期値設定キー8bにより入力設定され
た初期値KがCPU1を介して入力される。そして、ペ
ージメモリ5内の画データがラインデータ毎記録部6に
転送開始される度に、演算回路9は、この初期値Kを最
初の出力値OUT1として出力する。又、演算回路9に
は、この自身の出力値OUT1がフィードバック入力さ
れるとともに、後述する比較回路10からの出力信号O
UT2が入力される。
Here, the configuration of the thinned clock generation circuit 7 will be described in detail. As shown in FIG. 1, an arithmetic circuit 9 as arithmetic means has a reduction rate of n / m
Are input as d and n. That is, when the value of the reduction ratio n / m is input and set by the reduction ratio setting key 8a, C
The PU 1 outputs values d and n obtained from the set reduction ratio value n / m to the arithmetic circuit 9. Further, an initial value K input and set by the initial value setting key 8b is input to the arithmetic circuit 9 via the CPU 1. Then, every time the image data in the page memory 5 starts to be transferred to the line data recording unit 6, the arithmetic circuit 9 outputs this initial value K as the first output value OUT1. The output value OUT1 of its own is fed back to the arithmetic circuit 9, and an output signal O from a comparison circuit 10 described later is input to the arithmetic circuit 9.
UT2 is input.

【0020】そして、演算回路9は、比較回路10から
入力される出力信号OUT2がLレベルである場合に
は、CPU1より入力されるクロック信号CLKの立ち
上がりに同期して、値dと出力値OUT1とを加算し、
その加算結果を新たな出力値OUT1として出力する。
又、演算回路9は、入力される出力信号OUT2がHレ
ベルである場合には、前記クロック信号CLKの立ち上
がりに同期して、出力値OUT1から値nを減算し、そ
の減算結果を新たな出力値OUT1として出力する。
When the output signal OUT2 input from the comparison circuit 10 is at L level, the arithmetic circuit 9 synchronizes the value d and the output value OUT1 with the rising edge of the clock signal CLK input from the CPU 1. And
The result of the addition is output as a new output value OUT1.
When the input output signal OUT2 is at the H level, the arithmetic circuit 9 subtracts the value n from the output value OUT1 in synchronization with the rise of the clock signal CLK, and outputs the result of the subtraction as a new output. Output as value OUT1.

【0021】比較回路10には、前記演算回路9からの
出力値OUT1と前記CPU1からの値nとが入力され
る。そして、比較回路10は、CPU1より入力される
クロック信号CLKの立ち下がりに同期して、出力値O
UT1と値nとを比較する。このとき、比較回路10
は、出力値OUT1が値nより小さい場合にはLレベル
の出力信号OUT2を出力するとともに、出力値OUT
1が値n以上の場合には減算指令としてのHレベルの出
力信号OUT2を出力する。
The output value OUT1 from the arithmetic circuit 9 and the value n from the CPU 1 are input to the comparison circuit 10. The comparison circuit 10 outputs the output value O in synchronization with the fall of the clock signal CLK input from the CPU 1.
UT1 is compared with the value n. At this time, the comparison circuit 10
Outputs an L-level output signal OUT2 when the output value OUT1 is smaller than the value n, and outputs the output value OUT
When 1 is equal to or greater than the value n, the output signal OUT2 at H level as a subtraction command is output.

【0022】AND回路11には、前記比較回路10か
らの出力信号OUT2とクロック信号CLKとが入力さ
れる。そして、AND回路11は、出力信号OUT2が
Lレベルで且つクロック信号CLKがHレベルであると
きにのみHレベルとなる信号を、間引きクロック信号S
CLKとして出力する。本実施例では、比較回路10及
びAND回路11により、間引き手段が構成されてい
る。
The output signal OUT2 from the comparison circuit 10 and the clock signal CLK are input to the AND circuit 11. The AND circuit 11 converts the signal which becomes H level only when the output signal OUT2 is at L level and the clock signal CLK is at H level into the thinned clock signal S.
CLK is output. In the present embodiment, the comparison circuit 10 and the AND circuit 11 constitute a thinning unit.

【0023】次に、前記のように構成された複写機の作
用を図3のタイムチャートに基づいて説明する。さて、
原稿上の画像を縮小して記録紙上に記録する場合には、
先ず操作部8の縮小率設定キー8aを操作して縮小率の
値n/mを入力設定するとともに、初期値設定キー8b
を操作して初期値Kを入力設定する。この状態でコピー
動作が開始されると、読取部4により装置の読取面にセ
ットされた原稿上の画像が読み取られて、その読取画デ
ータがページメモリ5に記憶される。
Next, the operation of the copying machine configured as described above will be described with reference to the time chart of FIG. Now,
If you want to reduce the image on the original and record it on paper,
First, the user operates the reduction ratio setting key 8a of the operation unit 8 to input and set the value of the reduction ratio n / m.
Is operated to input and set the initial value K. When the copying operation is started in this state, the image on the document set on the reading surface of the apparatus is read by the reading unit 4, and the read image data is stored in the page memory 5.

【0024】ここで、例えば前記縮小率設定キー8aに
より縮小率の値n/mとして「13/16」が入力設定
され、初期値設定キー8bにより初期値Kとして「0」
が設定されたとする。この場合、間引きクロック生成回
路7の演算回路9には、値nとして「13」、値dとし
て「3(=16−13)」、初期値Kとして「0」が入
力されるので、先ず演算回路9からの出力値OUT1は
初期値Kの「0」となる。尚、この動作開始時における
比較回路10からの出力信号OUT2はLレベルとなっ
ている。
Here, for example, "13/16" is input and set as the reduction ratio value n / m by the reduction ratio setting key 8a, and "0" is set as the initial value K by the initial value setting key 8b.
Is set. In this case, “13” is input as the value n, “3 (= 16−13)” as the value d, and “0” as the initial value K to the arithmetic circuit 9 of the thinning clock generation circuit 7. The output value OUT1 from the circuit 9 becomes the initial value K “0”. Note that the output signal OUT2 from the comparison circuit 10 at the start of this operation is at the L level.

【0025】この状態で、CPU1からのクロック信号
CLKが演算回路9に入力されると、演算回路9におい
ては、そのクロック信号CLKの立ち上がりに同期し
て、先ず自身の出力値OUT1の「0」と値dの「3」
とが加算され、新たな出力値OUT1として「3」が出
力される。そして、その出力値OUT1の「3」が比較
回路10に入力されると、比較回路10においては、ク
ロック信号CLKの立ち下がりに同期して、出力値OU
T1の「3」と値nの「13」とが比較される。このと
き、出力値OUT1が値nより小さいので、比較回路1
0からの出力信号OUT2はLレベルとなる。従って、
演算回路9では、クロック信号CLKの次の立ち上がり
に同期して、自身の出力値OUT1の「3」と値dの
「3」とが加算され、新たな出力値OUT1として
「6」が出力される。
In this state, when the clock signal CLK from the CPU 1 is input to the arithmetic circuit 9, the arithmetic circuit 9 first outputs "0" of its own output value OUT1 in synchronization with the rise of the clock signal CLK. "3" with the value d
Are added, and “3” is output as a new output value OUT1. When "3" of the output value OUT1 is input to the comparison circuit 10, the comparison circuit 10 outputs the output value OU in synchronization with the fall of the clock signal CLK.
"3" of T1 is compared with "13" of the value n. At this time, since the output value OUT1 is smaller than the value n, the comparison circuit 1
The output signal OUT2 from 0 goes low. Therefore,
The arithmetic circuit 9 adds “3” of its own output value OUT1 and “3” of the value d in synchronization with the next rising of the clock signal CLK, and outputs “6” as a new output value OUT1. You.

【0026】このように、演算回路9からの出力値OU
T1が値nより小さい場合には、比較回路10からの出
力信号OUT2がLレベルに保持されるので、AND回
路11から出力される間引きクロック信号SCLKには
クロック信号CLKのパルスがそのまま表れる。又、演
算回路9においては、比較回路10からの出力信号OU
T2がLレベルとなっている間は、クロック信号CLK
の立ち上がり毎に、出力値OUT1に値dの「3」が加
算されて、その加算結果が新たな出力値OUT1として
出力される。
As described above, the output value OU from the arithmetic circuit 9
When T1 is smaller than the value n, the output signal OUT2 from the comparison circuit 10 is held at the L level, so that the pulse of the clock signal CLK appears as it is in the thinned clock signal SCLK output from the AND circuit 11. In the arithmetic circuit 9, the output signal OU from the comparison circuit 10 is output.
While T2 is at the L level, the clock signal CLK
Is added to the output value OUT1, and the result of the addition is output as a new output value OUT1.

【0027】そして、その加算動作が進行して、演算回
路9からの出力値OUT1が「15」になると、比較回
路10においては、クロック信号CLKの立ち下がりに
同期して出力信号OUT2がHレベルとなる。すると、
演算回路9においては、クロック信号CLKの次の立ち
上がりに同期して、出力値OU1の「15」から値nの
「13」が減算され、新たな出力値OUT1として
「2」が出力される。その結果、比較回路10において
は、クロック信号CLKの次の立ち下がりに同期して出
力信号OUT2がLレベルとなる。
When the addition operation proceeds and the output value OUT1 from the arithmetic circuit 9 becomes "15", the output signal OUT2 of the comparison circuit 10 becomes H level in synchronization with the fall of the clock signal CLK. Becomes Then
In the arithmetic circuit 9, in synchronization with the next rising of the clock signal CLK, "13" of the value n is subtracted from "15" of the output value OU1, and "2" is output as a new output value OUT1. As a result, in the comparison circuit 10, the output signal OUT2 becomes L level in synchronization with the next falling of the clock signal CLK.

【0028】又、前述のように、比較回路10からの出
力信号OUT2がHレベルになっている間、演算回路9
においてはクロック信号CLKの立ち上がりに同期して
減算動作が行われる。しかし、出力信号OUT2がHレ
ベルになっているので、AND回路11から出力される
間引きクロック信号SCLKには、その減算時における
クロック信号CLKの立ち上がりパルスが表れない。つ
まり、AND回路11から出力される間引きクロック信
号SCLKは、演算回路9の減算時におけるクロック信
号CLKの立ち上がりパルスが間引かれたものとなる。
As described above, while the output signal OUT2 from the comparison circuit 10 is at the H level, the operation circuit 9
In, the subtraction operation is performed in synchronization with the rise of the clock signal CLK. However, since the output signal OUT2 is at the H level, the rising pulse of the clock signal CLK at the time of the subtraction does not appear in the thinned clock signal SCLK output from the AND circuit 11. That is, the thinned-out clock signal SCLK output from the AND circuit 11 is obtained by thinning out the rising pulse of the clock signal CLK at the time of the subtraction of the arithmetic circuit 9.

【0029】このようにして、演算回路9による演算動
作及び比較回路11による比較動作が順次進行すると、
図3に示すように、クロック信号CLKの16個分のパ
ルスのうち破線で示す3個分のパルスが間引かれた間引
きクロック信号SCLKが作成されることになる。その
結果、ページメモリ5内の1ライン分の画データがクロ
ック信号CLKに同期して1画素分ずつ順次記録部6に
転送されるとともに、その転送画データが間引きクロッ
ク信号SCLKに同期して、1画素分ずつ記録部6に順
次入力されるとき、破線で示す間引かれたパルスに同期
して転送されてくる画素データは、記録部6への入力を
許容されずに間引かれる。
As described above, when the arithmetic operation by the arithmetic circuit 9 and the comparison operation by the comparison circuit 11 sequentially progress,
As shown in FIG. 3, a thinned clock signal SCLK in which three pulses indicated by a broken line among the 16 pulses of the clock signal CLK are thinned is generated. As a result, the image data for one line in the page memory 5 is sequentially transferred to the recording unit 6 by one pixel in synchronization with the clock signal CLK, and the transferred image data is synchronized with the thinned clock signal SCLK, When one pixel at a time is sequentially input to the recording unit 6, pixel data transferred in synchronization with the thinned pulse indicated by the broken line is thinned out without being allowed to be input to the recording unit 6.

【0030】つまり、ページメモリ5内の1ライン分の
画データが記録部6に入力されるとき、16個分の画素
データのうち3個分の画素データが極力均等に間引かれ
た状態で入力される。従って、その入力画データに基づ
き記録部6により記録紙上に印字が行われると、その記
録紙上の画像は、原稿上の画像と比較して主走査方向に
おいて13/16に縮小される。
That is, when one line of image data in the page memory 5 is input to the recording unit 6, three pixel data out of 16 pixel data are thinned out as uniformly as possible. Is entered. Therefore, when printing is performed on the recording paper by the recording unit 6 based on the input image data, the image on the recording paper is reduced to 13/16 in the main scanning direction as compared with the image on the document.

【0031】尚、前述の説明では、主走査方向における
縮小動作しか説明しなかったが、副走査方向についても
主走査方向と同一の縮小率で縮小動作を行うことができ
る。この場合には、主走査方向と同一の縮小率になるよ
うに、画データ中のラインデータを極力均等な割合で間
引くようにすればよい。このとき、1つのラインデータ
をクロック信号CLKの1パルス分に対応させれば、前
記主走査方向の場合と同様にして縮小動作を行うことが
できる。
In the above description, only the reduction operation in the main scanning direction has been described. However, the reduction operation can be performed in the sub-scanning direction at the same reduction ratio as in the main scanning direction. In this case, the line data in the image data may be thinned out as uniformly as possible so that the reduction ratio becomes the same as that in the main scanning direction. At this time, if one line data corresponds to one pulse of the clock signal CLK, the reduction operation can be performed in the same manner as in the main scanning direction.

【0032】以上のように、本実施例では、縮小率の値
n/mを入力設定するだけで、その設定値に基づき、ク
ロック信号CLKのパルスが所定間隔おきで間引かれ
て、設定された縮小率に対応した間引きクロック信号S
CLKが作成される。このため、任意の縮小率に対応し
た間引きクロック信号SCLKを容易に作成することが
できる。しかも、この場合、前記従来とは異なり、間引
き用のパターンデータを記憶しておくためのメモリを設
けるという必要がないとともに、複数の各縮小率に応じ
て回路構成を変えるという必要もない。このため、多数
の縮小率に対応できるようにするために、メモリの大容
量化や構成の複雑化を招くといった問題が発生すること
がなく、製作コストの低減を図ることができる。
As described above, in this embodiment, only by inputting and setting the value of the reduction ratio n / m, the pulses of the clock signal CLK are thinned out at predetermined intervals and set based on the set value. Clock signal S corresponding to the reduced rate
CLK is created. Therefore, a thinned clock signal SCLK corresponding to an arbitrary reduction rate can be easily created. Moreover, in this case, unlike the conventional case, there is no need to provide a memory for storing the pattern data for thinning, and it is not necessary to change the circuit configuration in accordance with each of a plurality of reduction ratios. For this reason, in order to be able to cope with a large number of reduction ratios, problems such as an increase in the capacity of the memory and an increase in the complexity of the configuration do not occur, and the manufacturing cost can be reduced.

【0033】又、本実施例では、初期値設定キー8bに
より入力設定する初期値Kを変更することにより、クロ
ック信号CLKの間引くべきパルス位置を任意にずらし
て、間引く画素データを変えることができる。例えば、
初期値Kを「3」に設定すれば、前記図3に示す例と比
較して、クロック信号CLK中の間引かれるパルスが1
周期分ずれることになり、その結果、間引かれる画素デ
ータも1個分ずれることになる。このため、使用者は画
像の縮小記録に際して、どの箇所の画素データを間引く
べきかを、初期値Kの変更により任意に変更設定するこ
とができ、最適な縮小画像を得ることができる。
In this embodiment, by changing the initial value K input and set by the initial value setting key 8b, the pulse position to be thinned out of the clock signal CLK can be arbitrarily shifted to change the pixel data to be thinned out. . For example,
If the initial value K is set to “3”, compared to the example shown in FIG.
As a result, the pixel data to be thinned out is shifted by one. For this reason, the user can arbitrarily change and set which pixel data should be thinned out by changing the initial value K at the time of image reduction recording, and an optimal reduced image can be obtained.

【0034】尚、この発明は前記実施例に限定されるも
のではなく、各部の構成を例えば以下のように変更して
具体化してもよい。 (1)本発明を複写機以外に、ファクシミリ装置やプリ
ンタ等で具体化すること。例えば、ファクシミリ装置に
具体化した場合には、原稿上の読取画データを縮小して
送信したり、或いは受信画データを縮小して記録紙上に
記録したりする場合の何れにも適用できる。
The present invention is not limited to the above embodiment, but may be embodied by changing the configuration of each part as follows. (1) The present invention is embodied in a facsimile apparatus, a printer, or the like in addition to a copying machine. For example, when the present invention is embodied in a facsimile apparatus, the present invention can be applied to both cases in which read image data on a document is reduced and transmitted, or received image data is reduced and recorded on recording paper.

【0035】(2)前記実施例では、間引きクロック信
号SCLKを記録部6に対する画データの書き込み信号
として用いることにより画像縮小を行うようにしていた
が、この間引きクロック信号SCLKを画像縮小処理の
タイミングをとるためのタイミング信号として用いるこ
とにより画像縮小を行うようにしてもよい。
(2) In the above-described embodiment, image reduction is performed by using the thinned clock signal SCLK as a signal for writing image data to the recording unit 6. However, this thinned clock signal SCLK is used as the timing of image reduction processing. May be used as a timing signal for reducing the image.

【0036】(3)間引きクロック信号SCLKを画像
拡大処理のために用いること。例えば、前記実施例のよ
うにページメモリ5内の画データを記録部6に転送する
場合において、間引きクロック信号SCLKをページメ
モリ5に対する読み出し信号として用いるとともに、ク
ロック信号CLKを記録部6に対する画データの書き込
み信号として用いれば、画像拡大を行うことができる。
又、この画像拡大において、間引きクロック信号SCL
Kを画像拡大処理のタイミングをとるためのタイミング
信号として用いてもよい。
(3) Using the thinned clock signal SCLK for image enlargement processing. For example, when the image data in the page memory 5 is transferred to the recording unit 6 as in the above-described embodiment, the thinned clock signal SCLK is used as a read signal for the page memory 5 and the clock signal CLK is used for the image data for the recording unit 6. , The image can be enlarged.
In this image enlargement, the thinning clock signal SCL
K may be used as a timing signal for timing image enlargement processing.

【0037】[0037]

【発明の効果】 以上詳述したように、請求項1及び請
求項2の発明によれば、任意の縮小率に対応した間引き
クロック信号を容易に作成することができ、しかも間引
き用のパターンデータを記憶しておくメモリを設ける必
要がないとともに、構成が簡単であるという優れた効果
を発揮する。
As described in detail above, according to the first and second aspects of the present invention, it is possible to easily create a thinned-out clock signal corresponding to an arbitrary reduction ratio, and to obtain pattern data for thinning-out. It is not necessary to provide a memory for storing the information, and the excellent effect that the configuration is simple is exhibited.

【0038】請求項3の発明によれば、初期値の変更に
より、クロック信号の間引くべきパルス位置を任意にず
らすことができる。
According to the third aspect of the present invention, the pulse position to be thinned out can be arbitrarily shifted by changing the initial value.

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

【図1】 本発明を具体化した一実施例を示す回路構成
図。
FIG. 1 is a circuit configuration diagram showing an embodiment embodying the present invention.

【図2】 複写機を示すブロック回路図。FIG. 2 is a block circuit diagram showing a copying machine.

【図3】 間引きクロック生成回路の動作を示すタイム
チャート。
FIG. 3 is a time chart illustrating an operation of the thinned clock generation circuit.

【図4】 従来技術を説明するためのタイムチャート。FIG. 4 is a time chart for explaining a conventional technique.

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

7…間引きクロック生成回路、8a…縮小率設定キー、
8b…初期値設定キー、9…演算手段としての演算回
路、10…間引き手段を構成する比較回路、11…間引
き手段を構成するAND回路。
7: thinning clock generation circuit, 8a: reduction ratio setting key,
8b: Initial value setting key, 9: Arithmetic circuit as arithmetic means, 10: Comparison circuit forming thinning means, 11: AND circuit forming thinning means.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画データの縮小に際して画データ中の画
素を間引くための間引きクロックを生成する回路であっ
て、縮小率の値をn/mとした場合、クロック信号のパ
ルスに同期してm−nずつ加算を行うとともに、その加
算結果がn以上になったとき加算結果からnを減算する
演算手段と、その減算時にクロック信号のパルスを間引
いて間引きクロックとして出力する間引き手段とを設け
た間引きクロック生成回路。
1. A circuit for generating a thinning clock for thinning out pixels in image data when the image data is reduced, wherein when a value of a reduction ratio is n / m, m is synchronized with a pulse of a clock signal. A calculation means for performing addition by -n and subtracting n from the addition result when the addition result is equal to or more than n, and a thinning means for thinning out a pulse of a clock signal at the time of the subtraction and outputting it as a thinning clock are provided. Thinned clock generation circuit.
【請求項2】 前記演算手段は、クロック信号のパルス
に同期して、自身の出力値にm−nを加算して新たな出
力値として出力し、前記間引き手段は、演算手段からの
出力値がn以上になったときにクロック信号の次のパル
スを間引くとともに演算手段に対して減算指令を行い、
演算手段は、その減算指令に基づきクロック信号の次の
パルスに同期して出力値からnを減算する請求項1に記
載の間引きクロック生成回路。
2. The arithmetic means adds mn to its own output value and outputs a new output value in synchronization with a pulse of a clock signal, and the thinning means outputs an output value from the arithmetic means. When n becomes equal to or more than n, the next pulse of the clock signal is thinned out and a subtraction command is issued to the arithmetic means,
2. The thinning clock generation circuit according to claim 1, wherein the calculating means subtracts n from the output value in synchronization with a next pulse of the clock signal based on the subtraction command.
【請求項3】 前記演算手段は、初期値の入力に基づ
き、その初期値を最初の出力値として演算動作を行う請
求項2に記載の間引きクロック生成回路。
3. The thinning clock generation circuit according to claim 2, wherein said calculating means performs a calculating operation based on the input of the initial value and using the initial value as an initial output value.
JP27923794A 1994-11-14 1994-11-14 Thinned clock generation circuit Expired - Fee Related JP3339215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27923794A JP3339215B2 (en) 1994-11-14 1994-11-14 Thinned clock generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27923794A JP3339215B2 (en) 1994-11-14 1994-11-14 Thinned clock generation circuit

Publications (2)

Publication Number Publication Date
JPH08139914A JPH08139914A (en) 1996-05-31
JP3339215B2 true JP3339215B2 (en) 2002-10-28

Family

ID=17608356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27923794A Expired - Fee Related JP3339215B2 (en) 1994-11-14 1994-11-14 Thinned clock generation circuit

Country Status (1)

Country Link
JP (1) JP3339215B2 (en)

Also Published As

Publication number Publication date
JPH08139914A (en) 1996-05-31

Similar Documents

Publication Publication Date Title
US5381522A (en) Image processing apparatus and method
JP3183691B2 (en) Image synthesis device
JP3339215B2 (en) Thinned clock generation circuit
JPH04252562A (en) Picture processing unit
JPS6019358A (en) Picture overlay printer
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JPS61121572A (en) Digital copying device
JP3233970B2 (en) Image processing method and apparatus
JP2003032495A (en) Smoothing method and smoothing circuit
JP3502885B2 (en) Image enlargement / reduction method and clock generation circuit used therefor
JP3165750B2 (en) Printing equipment
JPS6089169A (en) Picture information reduction processing method
JP3982776B2 (en) Digital copier with facsimile function
JP3553979B2 (en) Image recording device
JPH03270473A (en) Facsimile equipment
JP2955301B2 (en) Image processing method
JP2001268354A (en) Clock generating circuit
EP0680197A2 (en) Color image forming apparatus
JPS58187069A (en) Copying machine
JPH0379364A (en) Recorder
JPH05276357A (en) Facsimile equipment
JPS62230260A (en) Picture reproducing device
JPS61157153A (en) Picture processing system
JPH0825746A (en) Printing processor
JPH04301470A (en) Image processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20110816

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120816

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees