[go: up one dir, main page]

JPH04271572A - Facsimile code converter - Google Patents

Facsimile code converter

Info

Publication number
JPH04271572A
JPH04271572A JP3032590A JP3259091A JPH04271572A JP H04271572 A JPH04271572 A JP H04271572A JP 3032590 A JP3032590 A JP 3032590A JP 3259091 A JP3259091 A JP 3259091A JP H04271572 A JPH04271572 A JP H04271572A
Authority
JP
Japan
Prior art keywords
intermediate language
microcomputer
processing
image data
data
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
Application number
JP3032590A
Other languages
Japanese (ja)
Inventor
Sukeyuki Hirokawa
広川 祐之
Junji Mano
純司 真野
Masaharu Taniguchi
谷口 正治
Yoshifumi Imanaka
今中 良史
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3032590A priority Critical patent/JPH04271572A/en
Publication of JPH04271572A publication Critical patent/JPH04271572A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To reduce the cost of the converter by using hardware processing to convert a picture data into an intermediate language and using software processing to generate a coding data from the intermediate language. CONSTITUTION:An encoding arithmetic section 5 uses an address controller 4 so as to control a line memory 1 thereby checking the state of picture elements sequentially and when a change point is detected, an intermediate language is generated from the information. Upon the receipt of this informaition, register group 6 informs the detection of the change point to a microcomputer processing circuit 9. The circuit 9 references a coding table corresponding to the mode to generate a coding data from the intermediate language. Thus, the cost of the converter is reduced without need of a high speed microcomputer and a memory of large capacity.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像デ−タを、例えば
1次元MHコ−ド,2次元MRコ−ド,MMRコ−ド等
の符号化デ−タに変換するファクシミリ符号変換装置に
関するものである。
[Industrial Application Field] The present invention is a facsimile code conversion device for converting image data into coded data such as one-dimensional MH code, two-dimensional MR code, MMR code, etc. It is related to.

【0002】0002

【従来の技術】図6はソフトウエア処理によって実現さ
れている従来のファクシミリ符号変換装置のブロック図
であり、図において、11はマイクロコンピュ−タ、1
2はこのマイクロコンピュ−タ11のアドレス・デ−タ
等のシステムバス、13は前記マイクロコンピュ−タ1
1の実行命令が格納されているROM、14はデ−タ等
を格納するRAM、15はDMAコントロ−ラ、16は
ラインセンサからの画像デ−タが送られてくるシリアル
バス、17はシリアル・パラレル変換器である。
2. Description of the Related Art FIG. 6 is a block diagram of a conventional facsimile code conversion device realized by software processing. In the figure, 11 is a microcomputer;
2 is a system bus for the address, data, etc. of this microcomputer 11; 13 is a system bus for the microcomputer 1;
1 is a ROM that stores execution instructions, 14 is a RAM that stores data, etc., 15 is a DMA controller, 16 is a serial bus to which image data from the line sensor is sent, and 17 is a serial bus.・It is a parallel converter.

【0003】図7はハ−ドウエア処理によって実現され
ている従来のファクシミリ符号変換装置のブロック図で
あり、図において、21はラインセンサからの画像デ−
タであり、22はこの画像デ−タ21を転送する画像デ
−タバス、23は符号化を行うための演算部、24は演
算結果を格納するレジスタ群、25は符号化デ−タを転
送する符号バス、26は符号化デ−タである。
FIG. 7 is a block diagram of a conventional facsimile code conversion device realized by hardware processing.
22 is an image data bus for transferring this image data 21, 23 is an arithmetic unit for encoding, 24 is a register group for storing the operation results, and 25 is an image data bus for transferring encoded data. A code bus 26 is encoded data.

【0004】次に、動作について説明する。図6の構成
において、ラインセンサから読み取られた画像デ−タが
シリアルバス16を通してシリアル・パラレル変換器1
7へ入力され、ここで、シリアルデ−タが8ビット単位
のパラレルデ−タに変換される。次いで、DMAコント
ロ−ラ15がシステムバス12を制御し、このパラレル
デ−タがRAM14へ転送される。1ライン分の画像デ
−タがRAM14へ格納されると、システムバス12の
制御がマイクロコンピュ−タ11へ移行する。マイクロ
コンピュ−タ11はROM13に格納されているプログ
ラムのフロ−に従ってRAM14に格納されている画像
デ−タを順番に読み出し、変化点をチェックし、画像デ
−タに対応した符号化デ−タを作成していく。また、ハ
−ドウエア処理で実現する図7の構成においては、ライ
ンセンサから読み取られた画像デ−タ21が画像デ−タ
バス22を通して演算部23へ転送される。演算部23
は、入力された画像デ−タ21の変化点等を調べ、それ
に対応した符号化デ−タ26をレジスタ群24へ転送し
、符号バス25を通して出力される。
Next, the operation will be explained. In the configuration shown in FIG. 6, image data read from the line sensor is sent to the serial/parallel converter 1 via the serial bus 16.
7, where the serial data is converted into parallel data in units of 8 bits. Next, the DMA controller 15 controls the system bus 12, and this parallel data is transferred to the RAM 14. When one line of image data is stored in the RAM 14, control of the system bus 12 is transferred to the microcomputer 11. The microcomputer 11 sequentially reads the image data stored in the RAM 14 according to the flow of the program stored in the ROM 13, checks the change points, and converts the encoded data corresponding to the image data. will be created. Furthermore, in the configuration shown in FIG. 7 which is realized by hardware processing, image data 21 read from a line sensor is transferred to an arithmetic unit 23 via an image data bus 22. Arithmetic unit 23
checks the change points of the input image data 21, transfers the corresponding encoded data 26 to the register group 24, and outputs it through the code bus 25.

【0005】[0005]

【発明が解決しようとする課題】従来のファクシミリ符
号変換装置は、以上のように構成されているので、(1
)  ソフトウエアのみで処理をする図6のような場合
、マイクロコンンピユ−タ11の処理能力に依存する部
分が多く、高速処理が難しかったり、高価な高速のマイ
クロコンピュ−タが必要になるなどの問題点があった。 (2)  ハ−ドウエアのみで処理をする図7のような
場合、ハ−ドウエアで符号化デ−タ26を作成するため
、処理結果が高速で出力され、デ−タを格納するための
メモリが多く必要であり、処理を途中で止めることが難
しく、また、高価なハ−ドウエアが必要であるなどの問
題点があった。本発明は、上記のような問題点を解消す
るためになされたもので、安価でより小さな回路規模で
実現可能なファクシミリ符号変換装置を構成することを
目的とする。
[Problems to be Solved by the Invention] Since the conventional facsimile code conversion device is configured as described above, (1
) In a case like the one shown in FIG. 6 where processing is performed only by software, many parts depend on the processing capacity of the microcomputer 11, making high-speed processing difficult or requiring an expensive high-speed microcomputer. There were problems such as: (2) In the case shown in Fig. 7 where processing is performed only by hardware, the encoded data 26 is created by hardware, so the processing results are output at high speed, and the memory for storing the data is This method requires a large number of steps, it is difficult to stop the process midway, and it requires expensive hardware. The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to construct a facsimile code conversion device that can be realized at low cost and with a smaller circuit scale.

【0006】[0006]

【課題を解決するための手段】本発明に係るファクシミ
リ符号変換装置は、画像デ−タからハ−ドウエア処理に
よって中間言語を作成する中間言語作成回路と、この中
間言語をソフトウエア処理によって画像デ−タに変換す
るマイクロコンピュ−タ処理回路とで構成したものであ
る。
[Means for Solving the Problems] A facsimile code conversion device according to the present invention includes an intermediate language creation circuit that creates an intermediate language from image data through hardware processing, and an intermediate language creation circuit that creates an intermediate language from image data through software processing. - A microcomputer processing circuit that converts the data into a computer.

【0007】[0007]

【作用】本発明においては、符号化処理のうち、ランレ
ングス情報やMRモ−ド情報の検出および中間言語への
変換までが中間言語作成回路によるハ−ドウエア処理に
よって行われ、この中間言語から符号化デ−タの作成ま
でがマイクロコンピュ−タ処理回路によるソフトウエア
処理によって行われる。
[Operation] In the present invention, among the encoding processing, detection of run length information and MR mode information and conversion to an intermediate language are performed by hardware processing by an intermediate language creation circuit, and from this intermediate language The process up to the creation of encoded data is performed by software processing by a microcomputer processing circuit.

【0008】[0008]

【実施例】以下、本発明の一実施例を図について説明す
る。図1において、1は3ライン分のラインメモリであ
る。2はラインセンサからの画像デ−タが入力されるシ
リアルバス、3はラインセレクタで、ラインメモリ1の
うちの1つを選択し、これに画像デ−タを転送する。4
はアドレスコントロ−ラで、ラインメモリ1のアドレス
を制御する。5は符号化演算部、6は演算結果の中間言
語を格納するレジスタ群、7はマイクロコンピュ−タと
の接続を行うシステムバス、8はマイクロコンピュ−タ
への割込み信号、9はマイクロコンピュ−タ処理回路で
、中間言語をMHコ−ドおよびMRコ−ドに変換するた
めの符号化テ−ブルを記憶したROMを備えている。 10は中間言語作成回路である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a line memory for three lines. 2 is a serial bus into which image data from a line sensor is input; 3 is a line selector which selects one of the line memories 1 and transfers the image data thereto. 4
is an address controller which controls the address of the line memory 1. 5 is an encoding operation unit, 6 is a group of registers for storing the intermediate language of the operation result, 7 is a system bus for connection with the microcomputer, 8 is an interrupt signal to the microcomputer, and 9 is the microcomputer. The data processing circuit is equipped with a ROM that stores an encoding table for converting an intermediate language into MH code and MR code. 10 is an intermediate language creation circuit.

【0009】次に、動作について説明する。図示しない
イメ−ジセンサによって読み取られた画像デ−タは、シ
リアルバス2を介して中間言語作成回路10内に送られ
、ラインセレクタ3によって選択されたラインメモリ1
へ格納される。MR符号化の場合は、このラインメモリ
1のうちの1ラインを参照ラインとし、1ラインを符号
化ラインとして使用する。また、MH符号化の場合には
、単に1ラインを符号化ラインとして使用する。なお、
MR符号化の場合に用いる参照ラインとしては、符号化
ラインの直前の符号化で符号化ラインとして用いられた
ラインメモリ1を選択する必要がある。
Next, the operation will be explained. Image data read by an image sensor (not shown) is sent to an intermediate language creation circuit 10 via a serial bus 2, and is stored in a line memory 1 selected by a line selector 3.
is stored in In the case of MR encoding, one line of this line memory 1 is used as a reference line, and one line is used as an encoding line. Furthermore, in the case of MH encoding, one line is simply used as an encoding line. In addition,
As the reference line used in MR encoding, it is necessary to select the line memory 1 that was used as the encoding line in the encoding immediately before the encoding line.

【0010】まず、MHモ−ドの符号化について説明す
る。符号化演算部5はアドレスコントロ−ラ4によりラ
インメモリ1をコントロ−ルし、順番に画素の状態をチ
ェックし、変化点(画素が白から黒または黒から白へ変
化する点)を検出すると、この情報から例えば図2に示
すような黒2白4黒4を示す中間言語を作成する。具体
的には図3に示すように、メイクアップ符号の有無,色
指定,タ−ミネ−トランレングス(またはメイクアップ
ランレングス)を示す情報が作成されてレジスタ群6へ
転送される。レジスタ群6はこの情報を入手すると、特
定フラグをセットするか割込み信号8等を用いて変化点
を検出したことをマイクロコンピュ−タ処理回路9へ知
らせる。マイクロコンピュ−タ処理回路9は図4に示す
フロ−チャ−トにしたがって、モ−ド検出,モ−ド情報
のロ−ドを行い、そのモ−ドに対応する符号化テ−ブル
を参照し、図3に示したような2バイトの中間言語から
符号化デ−タを作成する。なお、MR水平モ−ドについ
てもMHモ−ドの符号化と同様であり、中間言語作成回
路10で図5に示すようなモ−ド判定結果およびVR 
,VL モ−ド時の相対距離を示す中間言語に変換され
た後、マイクロコンピュ−タ処理回路9によって符号化
デ−タの作成が行われる。なお、上記実施例では、中間
言語の一例を示しているだけで、他のフォ−マットでも
同様の効果を奏する。
First, MH mode encoding will be explained. The encoding operation unit 5 controls the line memory 1 by the address controller 4, checks the state of the pixels in order, and when a change point (the point where the pixel changes from white to black or from black to white) is detected, From this information, for example, an intermediate language representing black 2 white 4 black 4 as shown in FIG. 2 is created. Specifically, as shown in FIG. 3, information indicating the presence or absence of a makeup code, color designation, and termination run length (or makeup run length) is created and transferred to the register group 6. When the register group 6 obtains this information, it notifies the microcomputer processing circuit 9 that a change point has been detected by setting a specific flag or using an interrupt signal 8 or the like. The microcomputer processing circuit 9 detects the mode and loads the mode information according to the flowchart shown in FIG. 4, and refers to the encoding table corresponding to the mode. Then, encoded data is created from a 2-byte intermediate language as shown in FIG. Note that the MR horizontal mode is also similar to the MH mode encoding, and the intermediate language creation circuit 10 generates the mode determination result and VR as shown in FIG.
, VL mode, and then the microcomputer processing circuit 9 creates encoded data. Note that the above embodiment shows only an example of the intermediate language, and the same effect can be achieved with other formats.

【0011】[0011]

【発明の効果】以上説明したように、本発明は、画像デ
−タからハ−ドウエア処理によって中間言語を作成する
中間言語作成回路と、この中間言語をソフトウエア処理
によって画像デ−タに変換するマイクロコンピュ−タ処
理回路とで構成したので、高速マイクロコンピュ−タや
大容量のメモリを用いる必要がなくなり、装置を安価に
でき、また、高速処理も可能になるという効果がある。
As explained above, the present invention provides an intermediate language creation circuit that creates an intermediate language from image data through hardware processing, and a circuit that converts this intermediate language into image data through software processing. Since the device is constructed with a microcomputer processing circuit, there is no need to use a high-speed microcomputer or a large-capacity memory, and the device can be made inexpensive and can perform high-speed processing.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明のファクシミリ符号変換装置の一実施例
を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a facsimile code conversion apparatus of the present invention.

【図2】画像デ−タから符号化デ−タへの変換過程を示
す概念図である。
FIG. 2 is a conceptual diagram showing the process of converting image data to encoded data.

【図3】本発明で用いる中間言語の一例を示す図である
FIG. 3 is a diagram showing an example of an intermediate language used in the present invention.

【図4】本発明を実行するソフトウエアのフロ−チャ−
トの一例を示す図である。
[Figure 4] Flowchart of software that implements the present invention
FIG.

【図5】本発明で用いる中間言語の一例を示す図である
FIG. 5 is a diagram showing an example of an intermediate language used in the present invention.

【図6】従来のファクシミリ符号変換装置である。FIG. 6 shows a conventional facsimile code conversion device.

【図7】従来のファクシミリ符号変換装置である。FIG. 7 shows a conventional facsimile code conversion device.

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

1    ラインメモリ 2    シリアルバス 3    ラインセレクタ 4    アドレスコントロ−ラ 5    符号化演算部 6    レジスタ群 7    システムバス 8    割込み信号 9    マイクロコンピュ−タ処理回路10  中間
言語作成回路
1 Line memory 2 Serial bus 3 Line selector 4 Address controller 5 Encoding operation unit 6 Register group 7 System bus 8 Interrupt signal 9 Microcomputer processing circuit 10 Intermediate language creation circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画像デ−タからハ−ドウエア処理によって
中間言語を作成する中間言語作成回路と、この中間言語
をソフトウエア処理によって画像デ−タに変換するマイ
クロコンピュ−タ処理回路とで構成したことを特徴とす
るファクシミリ符号変換装置。
Claim 1: Consisting of an intermediate language creation circuit that creates an intermediate language from image data through hardware processing, and a microcomputer processing circuit that converts this intermediate language into image data through software processing. A facsimile code conversion device characterized by:
JP3032590A 1991-02-27 1991-02-27 Facsimile code converter Pending JPH04271572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3032590A JPH04271572A (en) 1991-02-27 1991-02-27 Facsimile code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3032590A JPH04271572A (en) 1991-02-27 1991-02-27 Facsimile code converter

Publications (1)

Publication Number Publication Date
JPH04271572A true JPH04271572A (en) 1992-09-28

Family

ID=12363080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3032590A Pending JPH04271572A (en) 1991-02-27 1991-02-27 Facsimile code converter

Country Status (1)

Country Link
JP (1) JPH04271572A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55606A (en) * 1978-05-15 1980-01-07 Ricoh Co Ltd Facsimile device
JPS5928763A (en) * 1982-08-09 1984-02-15 Matsushita Graphic Commun Syst Inc Detecting circuit of information on picture information encoding and decoding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55606A (en) * 1978-05-15 1980-01-07 Ricoh Co Ltd Facsimile device
JPS5928763A (en) * 1982-08-09 1984-02-15 Matsushita Graphic Commun Syst Inc Detecting circuit of information on picture information encoding and decoding

Similar Documents

Publication Publication Date Title
US4843632A (en) Compressed image expansion system
JPH0572790B2 (en)
JPH0220195B2 (en)
JPH04271572A (en) Facsimile code converter
JP3024850B2 (en) Image processing device
US20020024525A1 (en) Image encoding apparatus and method
JP3083493B2 (en) Image processing device
JPH04306069A (en) Facsimile decoding converter
JP2651517B2 (en) Image processing method
JPH04868A (en) Facsimile coding device
JP3302531B2 (en) Line conversion circuit of image processing device
JPS61107478A (en) Image data processing device
JPH0229834A (en) Image processing device
JP3092269B2 (en) Visual recognition device
JP2899284B2 (en) Image data encoding device
JP2003348338A (en) Information processing apparatus
JPH0278373A (en) Picture data transmission equipment
KR930000995B1 (en) Graphics processing unit
JPH02287493A (en) Image display system
JPH01251285A (en) Image processor
JPH01166241A (en) information processing equipment
JPH07262349A (en) Dither modulation method and circuit, dither table address generation method and circuit, and hard copy circuit using these
JPS61212967A (en) Mr encoding system
JPH04242373A (en) Picture processing unit
JPH0581420A (en) Data input/output system