JPH0338970A - Mh encoder - Google Patents
Mh encoderInfo
- Publication number
- JPH0338970A JPH0338970A JP17457589A JP17457589A JPH0338970A JP H0338970 A JPH0338970 A JP H0338970A JP 17457589 A JP17457589 A JP 17457589A JP 17457589 A JP17457589 A JP 17457589A JP H0338970 A JPH0338970 A JP H0338970A
- Authority
- JP
- Japan
- Prior art keywords
- linear density
- image data
- picture data
- host computer
- shift
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はMH符号器に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an MH encoder.
一般に、MH符号器は、lラインの二値画像データのラ
イン長を検出してMF(符号を出力する。Generally, an MH encoder detects the line length of l-line binary image data and outputs an MF (code).
前記二値画像データは、スキャナなどの装置から読込ま
れた画像が、決められた解像度でメモリ−ヒの画像バッ
ファにビット単位で展開されることが多い。In the binary image data, an image read from a device such as a scanner is often developed bit by bit into an image buffer in a memory at a predetermined resolution.
また1MH符号器は、これを組込んだ圧縮伸長コントロ
ーラとして、FAXの分野に広く応用されている。この
場合、送信側の装置と受信側の装置とで、扱える画像の
解像度、すなわち画像データの線密度が異なることがあ
る。例えば、送信側の装置の解像度が400dpi(ド
ツト/インチ)で受信側の解像度が200dpiの場合
には、送信側では画像データの解像度を200dpiに
変換してから送信する必要がある。Further, the 1MH encoder is widely applied in the field of FAX as a compression/expansion controller incorporating the 1MH encoder. In this case, the resolution of images that can be handled, that is, the linear density of image data, may differ between the transmitting-side device and the receiving-side device. For example, if the resolution of the transmitting side device is 400 dpi (dots per inch) and the resolution of the receiving side is 200 dpi, the transmitting side needs to convert the resolution of the image data to 200 dpi before transmitting it.
従来、このような場合、この種のM I−(符号器にお
いては、外部の′#1像バッファから読込まれた194
7分の二値画像データをそのまま人力としており、この
ため、線密度は、読込まれた二Ifi画像データそのも
のにより一義的に決められている。Conventionally, in such cases, this kind of M I- (in encoders, 194
The 7/7 binary image data is directly input manually, and therefore the linear density is uniquely determined by the read 2 Ifi image data itself.
従って、」上述のように、解像度の変換にeない、この
線密度を変換するためには、二値lIm像データ自身の
線密度を、予めホスt〜・コンビ1−夕のラフ1〜ウエ
アに変換しておく=j31Jがある。Therefore, as mentioned above, in order to convert this linear density, which is not involved in resolution conversion, the linear density of the binary lIm image data itself must be set in advance to There is = j31J, which is converted to .
上述した従来のMH符号器においては、上述のように、
1i!密度を変換するために、二値画像データ自身の線
密度を、予めホスト・コンピュータのソフトウェアに変
換しておかなければならず、このため、ホスト・コンピ
ュータのソフトウェアに多大の負担をかけているという
欠点がある。In the conventional MH encoder described above, as described above,
1i! In order to convert the density, the linear density of the binary image data itself must be converted into the host computer software in advance, which places a large burden on the host computer software. There are drawbacks.
本発明のM H符号器は、M)(符号を発生するMl]
符号器において、主走査方向にlラインの画像データを
入力するテンポラリレジスタと、前記テンポラリレジス
タからの出力データを人力し、前記出力データのビット
数を変更して出力する第1の手段と、所定のクロックを
カウントして、所定の開始信号ならびに終了信号を出力
する第2の手段と、前記第1の手段の出力データを入力
し、07f記開始信号ならびに終了信号を介して、前記
クロックにより、前記出力データをlビットずつシフト
して出力する第3の手段と、訂記第3の手段から出力さ
れるデータを入力して、MH符号を発生する第4の手段
と、を備えて構成される。The M H encoder of the present invention M) (Ml which generates a code)
In the encoder, a temporary register for inputting l-line image data in the main scanning direction, a first means for manually inputting output data from the temporary register, changing the number of bits of the output data, and outputting the same; a second means for counting the clock of 07f and outputting a predetermined start signal and end signal, and inputting the output data of the first means, and using the clock through the start signal and end signal of 07f, A third means for shifting and outputting the output data by l bits, and a fourth means for generating an MH code by inputting the data output from the third means for correction. Ru.
次に、本発明について図面を参照して説明する。第1図
は本発明の第1の実1@例のブロック図である。第1図
に示されるように、本実施例は、テンポラリレジスタ1
と、シフトレジスタ2と。Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of a first practical example of the present invention. As shown in FIG. 1, in this embodiment, temporary register 1
and shift register 2.
カウンタ3と、MH符号発生器4と、を陥えて構成され
る。It is constructed by including a counter 3 and an MH code generator 4.
本実施例は、原画像データに対して、l/2の線密度を
有する画像データに対応するM I−1符号を発生させ
る例であり、ビット数の変更は、単純な間引きにより行
われる。This embodiment is an example in which an MI-1 code corresponding to image data having a linear density of 1/2 is generated for original image data, and the number of bits is changed by simple thinning.
第1図において、テ〉′ガラリレジスタ1は、主走査方
向に1ラインの画像データを入力するレジスタを形成し
ており、テンポラリレジスタ1に入力される画像データ
は、lビットおきに、そのままシフトレジスタ2に入力
される。シフトレジスタ2に入力された画像データは、
シフトパルス103の入力タイミングによりlビットず
つデータがシフトされてMH符号発生器4に送られる。In FIG. 1, the te>'garry register 1 forms a register into which one line of image data is input in the main scanning direction, and the image data input to the temporary register 1 is shifted as is every l bit. Input to register 2. The image data input to shift register 2 is
The data is shifted l bits at a time according to the input timing of the shift pulse 103 and sent to the MH code generator 4.
シフトレジスタ2における前記画像データのシフトは、
カウンタ3から出力される開始信号101により始まり
、終了信号102によって終了する。すなわち、シフト
回数は、線密度変換後の1947分のビ・ソト数と一致
している。The shift of the image data in the shift register 2 is as follows:
It starts with the start signal 101 output from the counter 3 and ends with the end signal 102. That is, the number of shifts matches the Bi-Soto number for 1947 minutes after linear density conversion.
なお、開始信号101および終了信号102は、上述の
ように、それぞれ、シフトレジスタ2がシフトパルス1
03のクロック入力により画像データをシフトする開始
と終了のタイミングを与える信号であり、カウンタ3に
おいて、シフトパルス103のクロックがカウントされ
て生成され、レジスタ2に供給されている。カウンタ3
におけるカウント数は、シフトレジスタ2のビット数と
一致しており、M H符号発生器4においては、シフト
レジスタ2から出力される画像データの入力に対応して
、所定のM H符号104が生成されて出力される。Note that the start signal 101 and the end signal 102 are respectively used when the shift register 2 receives the shift pulse 1.
This is a signal that gives the start and end timing of shifting the image data by the clock input of 03, and is generated by counting the clock of shift pulse 103 in the counter 3, and is supplied to the register 2. counter 3
The count number matches the bit number of the shift register 2, and the M H code generator 4 generates a predetermined M H code 104 in response to the input of the image data output from the shift register 2. and output.
このようにして、l/4ン分の二画像データについて、
原画像データに対して、l/2のi密度を有する画像デ
ータに対応するMH符号を発生させることができる。上
記MH符号化は、■ライン単位の処理が無理なので、上
述の動作を繰返して行うことにより、1ペ一ジ分の二値
画像データの符号化が実行される。In this way, for two image data of 1/4 inch,
An MH code corresponding to image data having an i density of 1/2 can be generated for the original image data. In the above-mentioned MH encoding, it is impossible to perform line-by-line processing, so by repeating the above-mentioned operations, one page's worth of binary image data is encoded.
次に、本発明の第2の実施例について説明する。第2図
は、本発明の第2の実施例のブロック図である。第2図
に示されるように、本実/i′!例は、テンポラリレジ
スタ1と、シフトレジスタ2と、カウンタ3と、MH符
号発生器4と、複数のOR回路5と、を備えて構成され
る。Next, a second embodiment of the present invention will be described. FIG. 2 is a block diagram of a second embodiment of the invention. As shown in FIG. 2, Honjitsu/i′! The example includes a temporary register 1, a shift register 2, a counter 3, an MH code generator 4, and a plurality of OR circuits 5.
第2図において、テンポラリレジスタ1に入力される二
値画像データの内、隣接する2ビ1.トのデータはOR
回路5において論理和がとられ、その結果がシフトレジ
スタ2に入力される。本実施例は、テンポラリレジスタ
1からシフトレジスタ2に対するデータ入力方法が異な
る他は、構成要素ならびに動作ともに第1の実m例の場
合と同様である。In FIG. 2, among the binary image data input to the temporary register 1, two adjacent bits 1. The data of
The logical sum is performed in the circuit 5 and the result is input to the shift register 2. This embodiment is similar to the first example in terms of components and operation, except that the method of inputting data from the temporary register 1 to the shift register 2 is different.
前記第1の実施例においては、MH符号化される二値画
像データが、原画像データに対して単純なビット間引き
により作られるので、ラン長がlの黒データは消去され
てしまうことが起こり得るが、本実施例の場合において
は、ラン長が1の黒データでも消えることがない。In the first embodiment, since the binary image data to be MH encoded is created by simple bit thinning of the original image data, black data with a run length of l may be erased. However, in the case of this embodiment, even black data with a run length of 1 does not disappear.
以上、詳細に説明したように1本発明は、入力される二
値画像データに対応する!!!密度変換機能を内臓する
ことにより、線密度変換のために、二値画像データ自身
の線密度を、予めホストコピユータのソフトウェアによ
り変換しておく必要がなくなり、ホストコンピュータの
ソフトウェアに対する多大な負担を軽減することができ
るという効果がある。As explained above in detail, the present invention corresponds to input binary image data! ! ! By having a built-in density conversion function, it is no longer necessary to convert the linear density of the binary image data itself using the host computer's software in advance for linear density conversion, which saves a large burden on the host computer's software. It has the effect of being able to reduce
第1図および第2図は、それぞれ本発明の第1および第
2のの実施例のブロック図である。
図において、1・・・・・・テンポラリレジスタ、2・
・・・・・シフトレジスタ、3・・−・・・カウンタ、
4・・・・・・M I−1符号発生器、5・・・・・・
OR回路。1 and 2 are block diagrams of first and second embodiments of the present invention, respectively. In the figure, 1...temporary register, 2...
...Shift register, 3...Counter,
4...M I-1 code generator, 5...
OR circuit.
Claims (1)
リレジスタと、 前記テンポラリレジスタからの出力データを入力し、前
記出力データのビット数を変更して出力する第1の手段
と、 所定のクロックをカウントして、所定の開始信号ならび
に終了信号を出力する第2の手段と、前記第1の手段の
出力データを入力し、前記開始信号ならびに終了信号を
介して、前記クロックにより、前記出力データを1ビッ
トずつシフトして出力する第3の手段と、 前記第3の手段から出力されるデータを入力して、MH
符号を発生する第4の手段と、 を備えることを特徴とするMH符号器。[Claims] An MH encoder that generates an MH code includes: a temporary register into which one line of image data is input in the main scanning direction; and an output data from the temporary register is input, and the number of bits of the output data is determined. a first means for counting a predetermined clock and outputting a predetermined start signal and an end signal; and a second means for inputting the output data of the first means and outputting the start signal. and a third means for shifting and outputting the output data one bit at a time according to the clock; and inputting the data output from the third means,
An MH encoder comprising: fourth means for generating a code;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17457589A JPH0338970A (en) | 1989-07-05 | 1989-07-05 | Mh encoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17457589A JPH0338970A (en) | 1989-07-05 | 1989-07-05 | Mh encoder |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0338970A true JPH0338970A (en) | 1991-02-20 |
Family
ID=15980956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17457589A Pending JPH0338970A (en) | 1989-07-05 | 1989-07-05 | Mh encoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0338970A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6710809B1 (en) | 1999-02-26 | 2004-03-23 | Minolta Co., Ltd. | Battery-driven electric equipment |
-
1989
- 1989-07-05 JP JP17457589A patent/JPH0338970A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6710809B1 (en) | 1999-02-26 | 2004-03-23 | Minolta Co., Ltd. | Battery-driven electric equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05284367A (en) | Image coding device | |
| JP3148103B2 (en) | Image forming device | |
| US4800440A (en) | Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes | |
| US3830963A (en) | System for data compression by dual word coding having photosensitive memory and associated scanning mechanism | |
| JPH0338970A (en) | Mh encoder | |
| JPS646589B2 (en) | ||
| JP3301849B2 (en) | Image communication apparatus and image processing method thereof | |
| JPS5923967A (en) | Facsimile reader | |
| JPS61198872A (en) | Picture input device | |
| JPS6132867B2 (en) | ||
| JPS6218169A (en) | Imaging device | |
| JPH0670137A (en) | Fax machine | |
| JPS6231257A (en) | Two-dimensional encoding device for picture signal | |
| KR940002819B1 (en) | Image magnification processing circuit | |
| JPH03136575A (en) | Facsimile coder | |
| JPH01278176A (en) | Picture signal encoding circuit | |
| GB2222739A (en) | Image data compression system and facsimile machine employing the image data compression system | |
| JPS62199171A (en) | Dither picture encoding method | |
| JPS63117562A (en) | Image data coding system | |
| JP2002354251A (en) | Image forming device | |
| JP2002209094A (en) | Image forming apparatus | |
| JPH0289664A (en) | Image processing device | |
| JPS5888970A (en) | Facsimile data compressor | |
| JPH02240773A (en) | Picture processor | |
| JPH04307867A (en) | Picture processor and method therefor |