JP2761249B2 - Pixel density conversion pulse generator - Google Patents

Pixel density conversion pulse generator

Info

Publication number
JP2761249B2
JP2761249B2 JP1194703A JP19470389A JP2761249B2 JP 2761249 B2 JP2761249 B2 JP 2761249B2 JP 1194703 A JP1194703 A JP 1194703A JP 19470389 A JP19470389 A JP 19470389A JP 2761249 B2 JP2761249 B2 JP 2761249B2
Authority
JP
Japan
Prior art keywords
output
register
pulse
conversion rate
addition result
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
JP1194703A
Other languages
Japanese (ja)
Other versions
JPH0358284A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1194703A priority Critical patent/JP2761249B2/en
Publication of JPH0358284A publication Critical patent/JPH0358284A/en
Application granted granted Critical
Publication of JP2761249B2 publication Critical patent/JP2761249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [概要] 画素密度変換パルスを生成する画素密度変換パルス生
成装置に関し、 汎用性をもち、かつ画素密度変換用として用いられる
メモリの容量が少なくて済む画素密度変換パルス生成装
置を提供することを目的とし、 変換率の逆数を設定する変換率設定手段と、段階的に
行なわれる加算操作の1つ前の段階の加算結果を格納す
る加算結果格納手段と、前記変換率設定手段の出力と前
記加算結果格納手段の出力を加算する加算手段と、該加
算手段の加算結果から前記段階における次段の画素デー
タに対応したパルスを間引くか、通常のままにするか、
または所定の期間を設けて配され、前記画素データの1
つに対応した複数のパルスを出力するかを判別する判別
手段と、を備えるよう構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] A pixel density conversion pulse generation apparatus for generating a pixel density conversion pulse, which has versatility and requires a small capacity of a memory used for pixel density conversion. Conversion rate setting means for setting a reciprocal of a conversion rate; addition result storage means for storing an addition result of a stage immediately before an addition operation performed stepwise; Adding means for adding the output of the setting means and the output of the adding result storing means, and decimating a pulse corresponding to the pixel data of the next stage in the step from the addition result of the adding means, or leaving it as normal,
Alternatively, a predetermined period is provided, and one of the pixel data
And determining means for determining whether or not to output a plurality of pulses corresponding to each of them.

[産業上の利用分野] 本発明は、画素密度変換パルスを生成する画素密度変
換パルス生成装置に関する。
The present invention relates to a pixel density conversion pulse generation device that generates a pixel density conversion pulse.

近年のコンピュータシステムの高速化に伴い、画像を
ディジタル処理して扱う分野が増えている。このディジ
タル処理において、一つの原画データを種々のメディア
に出力するために、原画データを縮小拡大することが要
求されている。このため、任意の縮小・拡大で画素密度
変換パルスを発生する必要がある。
With the recent increase in the speed of computer systems, the field of digitally processing and handling images has been increasing. In this digital processing, it is required to reduce and enlarge the original image data in order to output one original image data to various media. Therefore, it is necessary to generate a pixel density conversion pulse at any reduction / enlargement.

[従来の技術] 原画をラインセンサ、例えばCCD(Charge−Coupled D
evice)で読取り、画素信号を得る場合について説明す
ると、周知のように原画からの光像がCCDの複数の受光
素子に投影された光像の光強度に応じた電荷量に変換さ
れ、複数の受光素子に対応した複数ビット(ドット)の
画素信号が得られる。
[Prior Art] An original image is converted to a line sensor, for example, a CCD (Charge-Coupled D).
evice) to obtain a pixel signal. As is well known, a light image from an original image is converted into a charge amount corresponding to the light intensity of a light image projected on a plurality of light receiving elements of a CCD, and a plurality of A pixel signal of a plurality of bits (dots) corresponding to the light receiving element is obtained.

CCDの各受光素子に蓄えられている電荷は転送クロッ
クにより順次転送されてCCDから出力される。
The electric charges stored in each light receiving element of the CCD are sequentially transferred by a transfer clock and output from the CCD.

従来の画素密度変換パルス生成装置としては、例えば
第5図に示すようなものがある。
As a conventional pixel density conversion pulse generation device, there is one shown in FIG. 5, for example.

第5図において、31は前述のCCDの転送クロックが入
力するカウンタ、32はカウンタ31のカウンタ値とシステ
ムからのデータ、つまり変換率の間引きパルス又は拡大
パルスのパターンデータをセレクトするセレクタ、33は
セレクタ32でセレクトした出力値が入力するRAM、34はR
AM33の出力と転送クロックが入力するオア回路である。
RAM33内には必要と思われる変換率の間引きパルスまた
は拡大パルスのパターン例えば第6図(B)に示すを設
定したテーブルが格納されている。このパターンは前述
の如くシステムから与えられる。
In FIG. 5, reference numeral 31 denotes a counter to which the above-described CCD transfer clock is input, 32 denotes a selector for selecting the counter value of the counter 31 and data from the system, that is, a selector for selecting pattern data of a thinning-out pulse or an enlarging pulse of a conversion rate, and 33 denotes a selector. RAM to which the output value selected by selector 32 is input, 34 is R
This is an OR circuit to which the output of AM33 and the transfer clock are input.
The RAM 33 stores a table in which a pattern of a thinning pulse or an enlarging pulse which is considered to be necessary, for example, a pattern shown in FIG. 6B is set. This pattern is provided by the system as described above.

この装置の出力を第6図に示す。第6図において、A
は入力する転送クロック、BはRAM33の出力を示し、こ
の例では3クロック目にパルスを出力する。Cは間引き
後の転送クロック、Dは拡大時の転送クロックを示す。
図示しないCCDの各受光素子に蓄えられている電荷は転
送クロックAの立上りで転送されるが、カウンタ31はこ
の転送クロックAの立上りで計数を行ない、その計数値
はセレクタ32を介してRAM33に入力される。RAM33はカウ
ンタ31の計数値(第6図Bに○で囲んだ数字)に応じた
レベルの信号を出力する。RAM33の出力は、オア回路34
を介して出力され、例えば図示しないプリンタに供給さ
れる。プリンタではオア回路34から出力される第6図C,
Dのパルスの立上がりで1ドットの印字を行なう。
The output of this device is shown in FIG. In FIG. 6, A
Indicates a transfer clock to be input, and B indicates an output of the RAM 33. In this example, a pulse is output at the third clock. C indicates a transfer clock after thinning, and D indicates a transfer clock at the time of enlargement.
The charge stored in each light receiving element of the CCD (not shown) is transferred at the rising edge of the transfer clock A. Is entered. The RAM 33 outputs a signal of a level corresponding to the count value of the counter 31 (the number circled in FIG. 6B). The output of RAM 33 is OR circuit 34
And supplied to, for example, a printer (not shown). In the printer, FIG. 6C output from the OR circuit 34,
One dot printing is performed at the rise of the D pulse.

従って、第6図Cのパルスにより印字を行なう場合
は、同図Pの画素信号の内、カウンタ31の計数値が
「4」のときの画素信号は印字されないため、画素信
号に対応する画素の間引きが行なわれたことになる。
Accordingly, when printing is performed using the pulse shown in FIG. 6C, the pixel signal when the count value of the counter 31 is "4" is not printed out of the pixel signals shown in FIG. This means that thinning has been performed.

また、第6図Dのパルスにより印字を行なう場合は、
同図Pの画素信号の内、カウンタ31の計数値が「3」の
ときの画素信号は2回、つまり2ドット分印字される
ため画素信号に対応する画素は2ドット印字され、拡
大印字されたことになる。
When printing is performed by the pulse shown in FIG. 6D,
Of the pixel signals shown in FIG. 7A, when the count value of the counter 31 is "3", the pixel signal is printed twice, that is, two dots are printed. Therefore, the pixel corresponding to the pixel signal is printed in two dots and enlarged. It will be.

[発明が解決しようとする課題] しかしながら、このような従来の画素密度変換パルス
生成装置にあっては、予め必要と思われる変換率の間引
きパルス又は拡大パルスのパターンを設定し、そのテー
ブルを参照することにより間引きパルスまたは拡大パル
スを発生するようになっているため、変換率の自由度が
小さく、汎用性がないという問題点があった。一方、汎
用性を持たせようとすると、多くの画素密度変換パルス
発生パターンを予め登録しなければならないため、メモ
リ容量を多く必要とし、コストが上昇するという問題点
があった。
[Problems to be Solved by the Invention] However, in such a conventional pixel-density conversion pulse generation device, a pattern of a thinning-out pulse or an expansion pulse that is considered to be necessary is set in advance, and the table is referred to. By doing so, a thinning-out pulse or an expanded pulse is generated, so that there is a problem that the degree of freedom of the conversion rate is small and there is no versatility. On the other hand, in order to provide versatility, a large number of pixel density conversion pulse generation patterns must be registered in advance, so that a large memory capacity is required and the cost is increased.

本発明は、このような従来の問題点に鑑みてなされた
ものであって、汎用性をもち、かつメモリ容量が少なく
て済む画素密度変換パルス生成装置を提供することを目
的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of such conventional problems, and has as its object to provide a pixel density conversion pulse generator having versatility and requiring a small memory capacity.

[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means for Solving the Problems] FIG. 1 is an explanatory view of the principle of the present invention.

第1図において、1は変換率の逆数を設定する変換率
設定手段、2は段階的に行なわれる加算操作の1つ前の
段階(前段)の加算結果を格納する加算結果格納手段、
7は前記変換率設定手段1の出力と前記加算結果格納手
段2の出力を加算する加算手段、8は該加算手段7の加
算結果から前記段階における次段階の画素データに対応
したパルスを間引くか、通常のままにするか、または所
定の期間を設けて配され、画素データに対応した複数の
パルスを出力するかを判別する判別手段である。
In FIG. 1, 1 is a conversion rate setting means for setting a reciprocal of a conversion rate, 2 is an addition result storage means for storing an addition result of a step (previous stage) immediately before a stepwise addition operation,
7 is an addition means for adding the output of the conversion rate setting means 1 and the output of the addition result storage means 2, and 8 is a function for thinning out the pulse corresponding to the pixel data of the next stage in the stage from the addition result of the addition unit 7. , Is a determination means for determining whether to output a plurality of pulses corresponding to pixel data, which are arranged as usual or provided with a predetermined period.

[作用] 本発明においては、変換率の逆数を足し込んでゆき、
その加算結果により、次段のパルスを間引くか、複数の
パルスを出力する(拡大)か、通常通りにするかを判別
する。
[Action] In the present invention, the reciprocal of the conversion rate is added,
Based on the result of the addition, it is determined whether the pulse of the next stage is thinned out, a plurality of pulses are output (enlarged), or the normal operation is performed.

例えば4/5に縮小の場合は、画素データに対応したパ
ルスである、CCDの転送クロックを5回に1回のマスク
すればよい。その際に、縮小率の逆数(この場合1.25)
を足し込んでゆくと、4回足すと小数部が繰り上がる。
この時、次の段の転送クロックをマスクすれば、5回に
1回マスクすることになる。拡大も同様に、変換率の逆
数を足し込んでゆくことにより、変換パルスを発生す
る。
For example, in the case of reduction to 4/5, the CCD transfer clock, which is a pulse corresponding to pixel data, may be masked once every five times. At that time, the reciprocal of the reduction ratio (1.25 in this case)
And add four times to raise the decimal part.
At this time, if the transfer clock of the next stage is masked, it is masked once every five times. Similarly, enlargement generates a conversion pulse by adding the reciprocal of the conversion rate.

したがって、単に変換率(変換率の逆数)を変えるだ
けで、異なる変換率に応じた変換パルスを発生させるこ
とが可能となり、縮小、拡大の自由度を大幅に向上させ
ることができ、その結果、装置の汎用性を高めることが
できる。
Therefore, by simply changing the conversion rate (the reciprocal of the conversion rate), it is possible to generate a conversion pulse corresponding to a different conversion rate, and it is possible to greatly improve the degree of freedom of reduction and enlargement, and as a result, The versatility of the device can be improved.

また、汎用性を持たせるようにしても、変換パルスに
対応したパターン情報は必要でないのでメモリ容量を増
加する必要がなくコストも安価ですむ。
Further, even if the versatility is given, the pattern information corresponding to the converted pulse is not required, so that the memory capacity does not need to be increased and the cost can be reduced.

[実施例] 以下、本発明の実施例を図面に基づいて説明する。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.

第2図〜第4図は本発明の一実施例を示す図である。 2 to 4 are views showing an embodiment of the present invention.

まず、構成を説明すると、1は変換率の逆数の整数部
を設定するためのレジスタ(変換率設定手段)であり、
ここでは整数が設定される。この整数はマイクロプロセ
ッサからのシステムデータとして与えられる。2は初期
値「0」がセットされ、段階的に行なわれる加算操作の
1つ前の段階の加算結果が格納されるレジスタ(加算結
果格納手段)であり、ここでは整数部が格納される。3
はアンド(AND)ゲート3a〜3f、オア(OR)ゲート3g,3
h,3k、インバータI1〜I3を有するセレクタであり、レジ
スタ9の出力の制御により、前述の加算操作の当該段階
でこの段階に対応する画素信号[第6図Pの(i=1,
2,・・・)信号]の間引時にはレジスタ2の出力を選択
し、間引時以外にはレジスタ1の出力を選択する。4は
“−1"が格納されるレジスタ、5は“0"が格納されるレ
ジスタであり、セレクタ6はレジスタ9の出力の制御に
より、セレクタ3と同様に間引時にはレジスタ4の出力
を選択し、間引時以外はレジスタ5の出力を選択する。
セレクタ6は、ANDゲート6a〜6f、ORゲート6g,6h,6k、
インバータI4〜I6を有する。1−1〜1−3,2−1〜2
−3,4−1〜4−3,5−1〜5−3は各々3ビットレジス
タの各ビットの信号である。7は加算器(加算手段)で
あり、加算器7はセレクタ3の出力、セレクタ6の出力
および加算器16の小数部よりの繰り上がり信号10を加算
する。8は判別部(判別手段)であり、段階的に行なわ
れる加算操作の加算結果により次の段階(次段)のパル
スを間引くか、そのままにする(通常)か、または拡大
のためのパルスを発生させる(拡大)かを判別する。
First, the configuration will be described. Reference numeral 1 denotes a register (conversion rate setting means) for setting an integer part of a reciprocal of a conversion rate.
Here, an integer is set. This integer is provided as system data from the microprocessor. Reference numeral 2 denotes a register (addition result storage means) in which an initial value "0" is set and in which the addition result of the stage immediately before the stepwise addition operation is stored, an integer portion is stored here. 3
Are AND gates 3a-3f, OR gates 3g, 3
h, 3k, and a selector having inverters I 1 to I 3 , and by controlling the output of the register 9, the pixel signal corresponding to this stage of the above-described addition operation [(i = 1, 1 in FIG. 6P)
2,... Signal), the output of the register 2 is selected, and other than the thinning, the output of the register 1 is selected. 4 is a register storing “−1”, 5 is a register storing “0”, and the selector 6 controls the output of the register 9 to select the output of the register 4 at the time of thinning like the selector 3 Then, the output of the register 5 is selected except at the time of thinning.
The selector 6 includes AND gates 6a to 6f, OR gates 6g, 6h, 6k,
An inverter I 4 ~I 6. 1-1-1-3,2-1-2
-3,4-1 to 4-3 and 5-1 to 5-3 are signals of each bit of the 3-bit register. Reference numeral 7 denotes an adder (addition means). The adder 7 adds the output of the selector 3, the output of the selector 6, and the carry signal 10 from the decimal part of the adder 16. Reference numeral 8 denotes a discriminating unit (discriminating means) for thinning out the pulse of the next stage (next stage), keeping the pulse as it is (normal), or generating a pulse for enlargement according to the addition result of the adding operation performed stepwise. It is determined whether to generate (enlarge).

すなわち、判別部8は、第4図に示すように、インバ
ー18、オア回路19、およびノア回路20,21により構成さ
れ、加算結果が2以上のとき、間引き信号を、加算結果
が1〜2未満のとき、通常信号を、加算結果が0〜1未
満のとき、拡大信号を、それぞれ出力する。これら判別
部8の出力は、それぞれレジスタ9の各ビット9a〜9cに
「0」又は「1」として保持され、レジスタ9の値、つ
まり次段の選択信号によって間引パルス、通常パルス、
拡大パルスがそれぞれ出力される。レジスタ9にはラッ
チ用として転送クロックが入力される。レジスタ9の初
期値は9a=0,9b=1,9c=0である。なお、レジスタ9か
らの選択信号はセレクタ3,6,15にも入力する。
That is, as shown in FIG. 4, the discriminating unit 8 includes an invar 18, an OR circuit 19, and NOR circuits 20 and 21. When the addition result is 2 or more, the thinning signal is output. When the sum is less than 0, a normal signal is output, and when the addition result is 0 to less than 1, an enlarged signal is output. The outputs of these discriminating units 8 are held as "0" or "1" in the respective bits 9a to 9c of the register 9, and the values of the register 9, that is, the thinning pulse, the normal pulse,
Each of the enlarged pulses is output. A transfer clock is input to the register 9 for latching. The initial value of the register 9 is 9a = 0, 9b = 1, 9c = 0. Note that the selection signal from the register 9 is also input to the selectors 3, 6, and 15.

レジスタ9a〜9cの各ビットの値はANDゲート9d〜9fの
一方の入力端子に入力され、ANDゲート9d〜9fの他方の
入力端子には各々H(ハイ)レベルの電圧V、転送クロ
ック、第6図Eに示す転送クロックの2倍の周波数のク
ロック信号が入力される。ANDゲート9d〜9fの出力はオ
ア(OR)ゲート9gを介してフリップフロップ9hのクロッ
ク端子に入力される。フリップフロップ9hのデータ端子
には第6図Pの画素信号が入力される。9kは第6図Eに
示すように転送クロックの2倍の周波数のクロック信号
を発生する信号源である。
The value of each bit of the registers 9a to 9c is input to one input terminal of each of the AND gates 9d to 9f, and the other input terminal of each of the AND gates 9d to 9f has an H (high) level voltage V, a transfer clock, 6 A clock signal having a frequency twice the frequency of the transfer clock shown in FIG. The outputs of the AND gates 9d to 9f are input to the clock terminal of the flip-flop 9h via the OR (OR) gate 9g. The pixel signal shown in FIG. 6P is input to the data terminal of the flip-flop 9h. 9k is a signal source for generating a clock signal having a frequency twice as high as the transfer clock as shown in FIG. 6E.

次に、繰り上がり信号10を発生させる小数部を第3図
に基づいて説明する。
Next, a decimal part for generating the carry signal 10 will be described with reference to FIG.

11はマイクロプロセッサからのシステムデータとして
の変換率の逆数の小数が設定されるレジスタ、12はマイ
クロプロセッサDからのシステムデータとして変換率の
逆数の2倍値の小数部が設定されるレジスタ、13は“0"
が設定されるレジスタである。セレクタ15は通常時には
レジスタ11の出力を、拡大時にはレジスタ12の出力を、
間引時にはレジスタ13の出力を、それぞれ選択する。17
は加算器16で得られる前段の加算結果の小数部を格納す
るレジスタであり、ラッチ用として転送クロックが入力
されている。加算器16はセレクタ15の出力およびレジス
タ17の出力を加算して繰り上がり信号10を前記加算器7
に出力する。
11 is a register in which the reciprocal of the conversion rate is set as system data from the microprocessor, 12 is a register in which a double part of the reciprocal of the conversion rate is set as system data from the microprocessor D, 13 is 0"
Is a register in which is set. The selector 15 normally outputs the output of the register 11 during normal operation,
At the time of thinning, the output of the register 13 is selected. 17
Is a register for storing the fractional part of the addition result of the previous stage obtained by the adder 16, and a transfer clock is input for latching. The adder 16 adds the output of the selector 15 and the output of the register 17 and outputs a carry signal 10 to the adder 7.
Output to

セレクタ15は10ビットレジスタの第1〜第10ビットの
信号11−1〜11−10、10ビットのレジスタ12の第1〜第
10ビットの信号12−1〜12−10、3ビットレジスタ9の
各ビットの信号9a〜9cを受けるANDゲート151〜1530およ
びこれらANDゲート151〜1530の出力を受けるORゲート15
a〜15jを有する。
The selector 15 is configured to output the first to tenth bit signals 11-1 to 11-10 of the 10-bit register and the first to
AND gates 15 1 to 15 for receiving a 10 signal 9a~9c of each bit of the bit signal 12-1~12-10,3 bit register 9 30 and OR gate 15 which receives the outputs of the AND gates 15 1 to 15 30
a to 15j.

次に、動作を説明する。 Next, the operation will be described.

まず、縮小の場合を第1表に基づいて説明する。 First, the case of reduction will be described based on Table 1.

縮小率を、例えば4/5としたい場合は、レジスタ1に
“1"を、レジスタ11に“0.25"を、レジスタ12に“0.5"
を、それぞれ設定する。
If the reduction rate is to be 4/5, for example, “1” is set in the register 1, “0.25” is set in the register 11, and “0.5” is set in the register 12.
Are set respectively.

第1表の一番左の項は転送クロックが何クロック目で
あるかを示している。
The leftmost term in Table 1 shows the number of the transfer clock.

前段判別…レジスタ9の前段の判別値を示す。この項
の状態により、セレクタ3,6,15のセレクタの出力値が決
まる。
Preceding-stage discrimination: Indicates the discrimination value of the preceding stage of the register 9. The output values of the selectors 3, 6, and 15 are determined by the state of this item.

セレクタ15の出力…レジスタ9の値が間引の場合、レ
ジスタ13を、それ以外の場合、レジスタ11を選択する。
The output of the selector 15... When the value of the register 9 is thinned out, the register 13 is selected. Otherwise, the register 11 is selected.

前段の演算結果…加算器16の前段の値を示す。Calculation result at the preceding stage: The value at the preceding stage of the adder 16

加算結果…とを加算器16で加算したものである。The addition result is added by the adder 16.

繰上…加算器16の整数部である。これはセレクタ3,6
の出力とともに加算器7で加算される。
Repetition: The integer part of the adder 16. This is selector 3,6
Is added by the adder 7 together with the output.

前段の演算結果…レジスタ2に格納されている加算器
7の前段の加算結果を示す。
Operation result at the previous stage: The result of the addition at the previous stage of the adder 7 stored in the register 2 is shown.

セレクタ3の出力…レジスタ9の値が間引の場合レジ
スタ2を、それ以外の場合、レジスタ1を選択して、レ
ジスタ2または1の値を出力する。
Output of the selector 3... If the value of the register 9 is thinned out, the register 2 is selected. Otherwise, the register 1 is selected and the value of the register 2 or 1 is output.

セレクタ4の出力…レジスタ9の値が間引の場合レジ
スタ4を、それ以外の場合レジスタ5を選択して、レジ
スタ4またはレジスタ5の値を出力する。
Output of the selector 4... If the value of the register 9 is thinned out, the register 4 is selected. Otherwise, the register 5 is selected, and the value of the register 4 or 5 is output.

加算器7の加算結果…,,の加算結果を示す。The addition result of the adder 7 is shown.

判別…加算器7の出力が2以上の場合間引き、1〜2
未満の場合通常、0〜1未満の場合拡大であると判別部
8で判別する。
Discrimination: thinning out when the output of the adder 7 is 2 or more, 1-2
If the value is smaller than 0, the discriminating unit 8 determines that the image is enlarged when the value is smaller than 0 to 1.

パルス(ORゲート9gの出力パルス)…転送クロック1つ
に対して出力するパルス数を示し、“1"は通常のパルス
(つまり転送パルス)を、“2"は通常の2倍の周波数の
パルスを、“0"は転送パルス(クロック)をマスクして
間引くことを示す。
Pulse (output pulse of OR gate 9g): Indicates the number of pulses output for one transfer clock, where "1" is a normal pulse (that is, transfer pulse) and "2" is a pulse having twice the frequency of a normal pulse “0” indicates that the transfer pulse (clock) is masked and thinned out.

第1表の4クロック目および9クロック目がそれぞ
れ、間引き処理の部分で、次のパルスが“0"になってお
り、結果的にパルスの項を見ると、5回に1回がマスク
されている。
The fourth and ninth clocks in Table 1 are each a part of the thinning processing, and the next pulse is "0". As a result, when looking at the term of the pulse, once every five times is masked. ing.

したがって、縮小率は4/5になる。 Therefore, the reduction ratio is 4/5.

次に、拡大の場合を第2表に基づいて説明する。第2
表は拡大率4/3の場合の各レジスタの動きを示す。レジ
スタ1には“0"を、レジスタ11には、“0.75"を、レジ
スタ12には“0.50"を、それぞれ設定する。各レジスタ
9,17,2の各出力、セレクタ15,3,6の各出力、加算器16,7
の各出力、繰り上がり信号10、判別部8の出力およびパ
ルスは第2表の通りである。
Next, the case of enlargement will be described based on Table 2. Second
The table shows the operation of each register when the enlargement ratio is 4/3. “0” is set in the register 1, “0.75” is set in the register 11, and “0.50” is set in the register 12. Each register
Each output of 9,17,2, each output of selectors 15,3,6, adders 16,7
, The carry signal 10, the output of the discriminator 8 and the pulses are as shown in Table 2.

第2表の2クロック目、5クロック目及び8クロック
目がそれぞれ、拡大処理の部分で、パルスが“2"になっ
ており、結果的にパルスの項を見ると、3回に一回の割
合で基準クロックの2倍の周波数のクロックを出力して
おり、結果的に基準クロックの4/3倍の個数のパルスを
出力している。
The second clock, the fifth clock, and the eighth clock in Table 2 each have a pulse of "2" in the enlargement processing part. A clock having a frequency twice as high as the reference clock is output at a rate, and as a result, 4/3 times as many pulses as the reference clock are output.

したがって、拡大率は4/3になる。 Therefore, the magnification is 4/3.

なお、レジスタ1,2、および11,12に、変換率により定
まる数値を格納し、前述の如き加算および判別操作を行
なうことにより、任意の縮小率に対応した変換パルスお
よび1〜2の範囲の拡大率に対応した変換パルスを生成
することができ、縮小・拡大の自由度を大幅に高めるこ
とができる。したがって、汎用性が大きい。また、汎用
性を持たせてもメモリ容量を増大する必要がない。
The values determined by the conversion rates are stored in the registers 1 and 2 and the conversion pulses corresponding to the arbitrary reduction rate and the range of 1 to 2 are obtained by performing the addition and discrimination operations as described above. A conversion pulse corresponding to the enlargement ratio can be generated, and the degree of freedom in reduction and enlargement can be greatly increased. Therefore, versatility is large. In addition, it is not necessary to increase the memory capacity even if the versatility is provided.

[発明の効果] 以上説明してきたように、本発明によれば、変換率の
逆数を加算して、その加算結果により、次段のパルスを
間引くか、拡大するか、または通常のままにするか判別
して、変換率に対応した変換パルスを生成するため、メ
モリとしては、変換率を決定するための数値および加算
操作に必要な数値を格納できる容量を備えていれば済
み、メモリ容量を増加させる必要がなく、また変換率は
変換率の逆数を設定するだけで済み、縮小・拡大の自由
度を大幅に高めることができる。その結果、装置の汎用
性を向上させることができる。
[Effects of the Invention] As described above, according to the present invention, the reciprocal of the conversion rate is added, and the next stage pulse is thinned out, expanded, or remains normal depending on the addition result. In order to generate a conversion pulse corresponding to the conversion rate, it is sufficient if the memory has a capacity capable of storing a numerical value for determining the conversion rate and a numerical value necessary for the addition operation. There is no need to increase the conversion rate, and the conversion rate need only be set to the reciprocal of the conversion rate, so that the degree of freedom in reduction and enlargement can be greatly increased. As a result, the versatility of the device can be improved.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例を示す整数部のブロック図、 第3図は小数部のブロック図、 第4図は判別部の構成図、 第5図は従来例を示す図、 第6図は各信号を示す図である。 図中、 1…レジスタ(変換率の逆数設定手段)、2…レジスタ
(加算結果格納手段)、3…セレクタ、4…レジスタ、
5…レジスタ、6…セレクタ、7…加算器(加算手
段)、8…判別部(判別手段)、9…レジスタ、10…繰
り上がり信号、11〜14…レジスタ、15…セレクタ、16…
加算器、17…レジスタ、18…インバータ、19…オア回
路、20,21…ノア回路。
FIG. 1 is a view for explaining the principle of the present invention, FIG. 2 is a block diagram of an integer part showing one embodiment of the present invention, FIG. 3 is a block diagram of a decimal part, FIG. FIG. 5 is a diagram showing a conventional example, and FIG. 6 is a diagram showing each signal. In the figure, 1 ... register (means for setting the reciprocal of the conversion ratio), 2 ... register (addition result storage means), 3 ... selector, 4 ... register,
5 register, 6 selector, 7 adder (adding means), 8 discriminator (discriminating means), 9 register, 10 carry signal, 11-14 register, 15 selector, 16 ...
Adders, 17 registers, 18 inverters, 19 OR circuits, 20, 21 NOR circuits.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 15/66 355──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 15/66 355

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】変換率の逆数を設定する変換率設定手段
(1)と、段階的に行なわれる加算操作の1つ前の段階
の加算結果を格納する加算結果格納手段(2)と、 前記変換率設定手段(1)の出力と前記加算結果格納手
段(2)の出力を加算する加算手段(7)と、該加算手
段(7)の加算結果から前記段階における次段の画素デ
ータに対応したパルスを間引くか、通常のままにする
か、または所定の期間を設けて配され、前記画素データ
の1つに対応した複数のパルスを出力するかを判別する
判別手段(8)と、を備えたことを特徴とする画素密度
変換パルス生成装置。
A conversion rate setting means for setting a reciprocal of a conversion rate; an addition result storage means for storing an addition result obtained immediately before an addition operation performed stepwise; An adding means (7) for adding the output of the conversion rate setting means (1) and the output of the addition result storing means (2), and corresponding to the pixel data of the next stage in the stage based on the addition result of the adding means (7) Determining means (8) for determining whether to thin out the selected pulses, to keep them as normal, or to provide a predetermined period and output a plurality of pulses corresponding to one of the pixel data. A pixel density conversion pulse generation device, comprising:
JP1194703A 1989-07-27 1989-07-27 Pixel density conversion pulse generator Expired - Fee Related JP2761249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1194703A JP2761249B2 (en) 1989-07-27 1989-07-27 Pixel density conversion pulse generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1194703A JP2761249B2 (en) 1989-07-27 1989-07-27 Pixel density conversion pulse generator

Publications (2)

Publication Number Publication Date
JPH0358284A JPH0358284A (en) 1991-03-13
JP2761249B2 true JP2761249B2 (en) 1998-06-04

Family

ID=16328860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1194703A Expired - Fee Related JP2761249B2 (en) 1989-07-27 1989-07-27 Pixel density conversion pulse generator

Country Status (1)

Country Link
JP (1) JP2761249B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4069899B2 (en) 2004-05-10 2008-04-02 船井電機株式会社 Digital composite image forming device

Also Published As

Publication number Publication date
JPH0358284A (en) 1991-03-13

Similar Documents

Publication Publication Date Title
US4503469A (en) Picture image enlarging/reducing system
JP3025425B2 (en) Binary image processor
JP2761249B2 (en) Pixel density conversion pulse generator
US5517584A (en) Method and apparatus for high-speed implementation of scaling, dithering, and data remapping operations with a single processor
JP2825395B2 (en) Parallel processing apparatus and method
JPH03284054A (en) Picture density converter
JP2567695B2 (en) Image data enlargement / reduction circuit
JP2840706B2 (en) Image processing method
JP3332180B2 (en) Image vertical enlargement device
JP2655621B2 (en) Management information output device
JP2772652B2 (en) Image reduction processor
JP2621260B2 (en) Image scaling device
JPH0618435B2 (en) Image processing device
JP2577797B2 (en) Pixel density conversion circuit
JP2974498B2 (en) Printing equipment
RU2246762C1 (en) Device for recognizing objects
JPH0762867B2 (en) Halftone image screen number conversion device
JP2794060B2 (en) Imaging device
JP2914400B2 (en) Management information output device
JPH03229375A (en) Conversion system for picture element density of picture data
JPS6054075A (en) Picture enlarging and reducing circuit
JPH02237224A (en) Parallel/serial conversion circuit
JPH052643A (en) Picture processor
JPH0636028A (en) Histogram generating device
EP0404394A2 (en) Image processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees