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
JPH0220034B2 - - Google Patents
[go: Go Back, main page]

JPH0220034B2 - - Google Patents

Info

Publication number
JPH0220034B2
JPH0220034B2 JP58050231A JP5023183A JPH0220034B2 JP H0220034 B2 JPH0220034 B2 JP H0220034B2 JP 58050231 A JP58050231 A JP 58050231A JP 5023183 A JP5023183 A JP 5023183A JP H0220034 B2 JPH0220034 B2 JP H0220034B2
Authority
JP
Japan
Prior art keywords
change point
address counter
signal
address
value
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 - Lifetime
Application number
JP58050231A
Other languages
Japanese (ja)
Other versions
JPS59175283A (en
Inventor
Kazuyuki Sumita
Yasuharu Tomita
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP58050231A priority Critical patent/JPS59175283A/en
Publication of JPS59175283A publication Critical patent/JPS59175283A/en
Publication of JPH0220034B2 publication Critical patent/JPH0220034B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 本発明は、フアクシミリ符号化回路に関し、特
に、画情報をMR(モデイフアイドリード)方式
等の2次元符号化を行うフアクシミリ装置の符号
化回路において、入力バツフアに2ライン相当の
ラインメモリを有し、符号化ラインの書込み用ラ
インメモリのアドレス値を参照ラインの読み出し
用ラインメモリのアドレスカウンタにロードする
ことによつて、参照ラインの変化点の検出の高速
化を計り、高速動作が可能な2次元符号化回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a facsimile encoding circuit, and in particular, to an encoding circuit for a facsimile device that performs two-dimensional encoding of image information using the MR (Modified Read) method, etc. It has a line memory equivalent to a line, and by loading the address value of the line memory for writing the encoded line into the address counter of the line memory for reading the reference line, it is possible to speed up the detection of changing points on the reference line. The present invention relates to a two-dimensional encoding circuit capable of high-speed operation.

従来、上述したような、高速動作を目的とした
2次元符号化回路は、ハードウエア構成となつて
いるのが一般的であり、高速動作を実現できても
実装規模の増大により消費電力、放熱等の問題を
生じ、回路自体の汎用性が低い等の欠点を有して
いる。このような問題には、マイクロプロセツサ
によるフアームウエアを用いることで対処できる
が、処理速度が遅く本来の目的を達し得ない。
Conventionally, two-dimensional encoding circuits aimed at high-speed operation as mentioned above have generally been configured in hardware, and even if high-speed operation can be achieved, power consumption and heat dissipation will suffer due to increased implementation scale. The circuit itself has drawbacks such as low versatility. Such problems can be addressed by using firmware based on a microprocessor, but the processing speed is slow and the original purpose cannot be achieved.

本発明では、上記技術に着目しており、符号化
プロセスの大部分を超高速マイクロプログラムシ
ーケンサを用いることで上述したハードウエア構
成の符号化回路の欠点を大幅に改善し、かつ高速
処理の可能な符号化回路を実現している。
The present invention focuses on the above technology, and by using an ultra-high-speed microprogram sequencer for most of the encoding process, it can significantly improve the drawbacks of the encoding circuit with the above-mentioned hardware configuration and enable high-speed processing. This realizes a highly efficient encoding circuit.

第1図にMR(モデイフアイドリード)方式に
よる従来のハードウエア構成の高速符号化回路の
ブロツク構成を示す。
FIG. 1 shows the block configuration of a high-speed encoding circuit with a conventional hardware configuration based on the MR (Modified Read) method.

第1図中の11は符号化器の読み出しクロツク
によつて制御可能なメモリ装置又はCCDスキヤ
ナを表わす。12,13は1走査線分の情報を蓄
えるラインメモリである。これらはモード制御回
路31からの制御信号(R/W)でセレクタ1
7、セレクタ18、セレクタ19、セレクタ20
によつて読み出しアドレスカウンタ(RAC)2
1と書き込みアドレスカウンタ(WAC)22が
切りかえられ、一方には符号化ラインの画情報が
入力され、他方から参照ラインの画情報が読み出
される。14は、メモリ或いはスキヤナ11から
の画情報を1画素づつ受けとり、その色が1つ前
の画素の色と異なつているか否かを判定する符号
化ライン(現ライン)の変化点検出回路である。
又、15はラインメモリ12又はラインメモリ1
3に記憶された参照ラインの画情報をセレクタ1
8を通して受けとり、その画情報中の画素の変化
点を検出する参照ラインの変化点検出回路であ
る。16は読み出しアドレスカウンタ21のアド
レス値を反転させる反転ゲート、24はメモリ或
いはスキヤナ11の読み出しクロツクを符号化ラ
インの変化点検出時又は同ラインの有効画素数読
み出し終了時(1走査終了時)に禁止するAND
ゲート、26は読み出しアドレスカウンタ21の
動作を参照ラインの変化点検出時又は参照ライン
の有効画素数読み出し終了時に禁止するORゲー
トをそれぞれ示す。23は、書込みアドレスカウ
ンタ22のアドレス値と読み出しアドレスカウン
タ21のアドレス値の反転値との差を算出するた
めの加算器であり、加算器23の出力は、比較器
27に入力され、この比較器27において加算器
23の出力値が4以上であるか、1以上である
か、0であるか、−1以下であるか、−4以下であ
るかが判定され、その判定結果はモード制御回路
31に出力される。28は読み出しアドレスカウ
ンタ21のアドレス値と書き込みアドレスカウン
タ22のアドレス値を切り変えるセレクタ、29
は相対アドレス値を算出するためのアドレスラツ
チ、30は反転器、32は相対アドレス値を算出
する加算器をそれぞれ示す。
Reference numeral 11 in FIG. 1 represents a memory device or CCD scanner that can be controlled by the readout clock of the encoder. Line memories 12 and 13 store information for one scanning line. These are control signals (R/W) from the mode control circuit 31 to the selector 1.
7, selector 18, selector 19, selector 20
Read Address Counter (RAC) 2
1 and the write address counter (WAC) 22, the image information of the encoded line is inputted to one side, and the image information of the reference line is read out from the other side. Reference numeral 14 denotes a change point detection circuit for a coding line (current line) that receives image information from the memory or scanner 11 pixel by pixel and determines whether the color is different from the color of the previous pixel. .
Also, 15 is line memory 12 or line memory 1
Selector 1 selects the image information of the reference line stored in 3.
This is a reference line change point detection circuit that receives the information through the reference line 8 and detects the change point of pixels in the image information. 16 is an inversion gate that inverts the address value of the read address counter 21; 24 is the read clock of the memory or scanner 11 when detecting a change point in the encoded line or when reading out the number of effective pixels on the same line is completed (at the end of one scan); Forbidden AND
Gate 26 indicates an OR gate that inhibits the operation of the read address counter 21 when detecting a change point on the reference line or when reading out the number of effective pixels on the reference line is completed. 23 is an adder for calculating the difference between the address value of the write address counter 22 and the inverted value of the address value of the read address counter 21, and the output of the adder 23 is input to the comparator 27, The device 27 judges whether the output value of the adder 23 is 4 or more, 1 or more, 0, -1 or less, or -4 or less, and the judgment result is used for mode control. It is output to the circuit 31. 28 is a selector for switching between the address value of the read address counter 21 and the address value of the write address counter 22; 29;
3 shows an address latch for calculating a relative address value, 30 an inverter, and 32 an adder for calculating a relative address value.

31は、相対アドレス値からMR(モデイフア
イドリード)符号化方式の垂直、水平、パスの各
モード及びEOLを判定し、符号送出制御回路3
3に対して符号化要求を行うために、各種の制御
信号を発生するモード制御回路である。38は読
み出しアドレス値から有効参照ライン終了を検出
する回路、39は書き込みアドレス値から有効符
号化ライン終了を検出する回路をそれぞれ示す。
34はモード制御回路31から出力される符号化
モード2bit(パスモード、垂直モード、水平モー
ド、EOLを表わす)と垂直モード時の相対アド
レス4bit、水平モード時の相対アドレス上位6bit
及び下位6bitの3種の信号を、符号送出制御回路
33から出力される2bit信号(ランレングス
(RL)/符号化モード、ランレングス時のメイク
アツプ/ターミネイト(M/T))によつて切り
かえるセレクタである。35はモード符号(V、
H、P、EOL)、ランレングス符号及び各符号長
を発生させるROM、36はROM35で割り当
てた符号のパラレルシリアル変換を行うシフトレ
ジスタをそれぞれ示す。37は、ROM35で割
り当てた可変長符号の符号長を計測するカウンタ
であり、シフトレジスタ36がシリアルデータの
送出を完了したことを符号送出制御回路33に通
知する。33はモード符号(V、P、H)、EOL
符号及びランレングス符号を送出するための各種
の制御パルスを発生する符号送出制御回路であ
る。
31 determines the vertical, horizontal, and pass modes and EOL of the MR (Modified Read) encoding method from the relative address value, and the code transmission control circuit 3
This is a mode control circuit that generates various control signals in order to make an encoding request to 3. Reference numeral 38 indicates a circuit for detecting the end of a valid reference line from a read address value, and reference numeral 39 indicates a circuit for detecting an end of a valid encoding line from a write address value.
34 is the encoding mode 2 bits (representing pass mode, vertical mode, horizontal mode, and EOL) output from the mode control circuit 31, the relative address 4 bits in vertical mode, and the upper 6 bits of the relative address in horizontal mode.
and a selector that switches the lower 6 bits of the three types of signals according to the 2-bit signal (run length (RL)/encoding mode, make-up/termination (M/T) during run length) output from the code transmission control circuit 33. It is. 35 is the mode code (V,
H, P, EOL), a ROM that generates a run-length code and each code length, and 36 a shift register that performs parallel-to-serial conversion of the code assigned by the ROM 35. A counter 37 measures the code length of the variable length code allocated by the ROM 35, and notifies the code sending control circuit 33 that the shift register 36 has completed sending out serial data. 33 is mode code (V, P, H), EOL
This is a code sending control circuit that generates various control pulses for sending codes and run-length codes.

第1図のブロツク図中のモード制御回路31の
動作フローは、第2図に示すように、1ラインの
始めに読み出しアドレスカウンタ21と書込みア
ドレスカウンタ22のアドレスを0に設定するの
と同時に、符号化ライン変化点検出回路14、参
照ライン変化点検出回路15に基準画素として白
画素を設定する。次に、符号送出制御回路33へ
EOLを示すモード信号を出し、符号送出要求を
“ON”にし、符号送出応答信号が“ON”になる
のを待つ。同信号が“ON”になると、符号化ラ
イン変化点要求及び参照ライン変化点要求信号を
“ON”にし、書込みアドレスカウンタ22及び
読み出しアドレスカウンタ21を動作させ、メモ
リ11から画情報を読み出す。符号化ライン上の
変化点が検出されると、符号化ライン変化点検出
回路14は検出信号を“ON”にして、モード制
御回路31に通知すると共に、書き込みアドレス
カウンタ22の動作及びメモリ11の読み出しを
中止する。又、参照ライン変化点検出回路15も
同様に、変化点を検出すると、検出信号を
“ON”にし、モード制御回路31に通知すると
共に、読み出しアドレスカウンタ21の動作を止
める。ここで、変化点が検出される前に1ライン
が終了した場合には、その時点で変化点が検出さ
れたとして次の動作へ移行する。
As shown in FIG. 2, the operation flow of the mode control circuit 31 in the block diagram of FIG. 1 is as follows: At the beginning of one line, the addresses of the read address counter 21 and write address counter 22 are set to 0, A white pixel is set as a reference pixel in the encoding line change point detection circuit 14 and the reference line change point detection circuit 15. Next, to the code sending control circuit 33
It issues a mode signal indicating EOL, turns the code sending request “ON”, and waits for the code sending response signal to turn “ON”. When this signal turns "ON", the encoded line change point request signal and the reference line change point request signal are turned "ON", the write address counter 22 and the read address counter 21 are operated, and image information is read out from the memory 11. When a change point on the encoded line is detected, the encoded line change point detection circuit 14 turns the detection signal “ON” and notifies the mode control circuit 31, and also controls the operation of the write address counter 22 and the memory 11. Cancel reading. Similarly, when the reference line change point detection circuit 15 detects a change point, it turns the detection signal "ON", notifies the mode control circuit 31, and stops the operation of the read address counter 21. Here, if one line ends before the changing point is detected, it is assumed that the changing point has been detected at that point and the process moves to the next operation.

モード制御回路31は、符号化ライン、参照ラ
インの2つの変化点検出信号がともに“ON”の
状態になつた時点で比較器27の出力信号を調
べ、 (1) +3より大きい場合(第2a図状態) 参照ライン変化点要求信号を“ON”にして
参照ラインの変化点検出信号が“ON”になつ
た時点で、さらに比較器27の出力信号を調
べ、 (イ) 比較回路27の出力が0より大きいとき
(第2a図の状態) パスモードと判定し、符号送出制御回路3
3に対してパスモードを表わす信号を出力
し、符号送出要求信号を出力し、符号送出制
御回路33からの符号送出応答が“ON”に
なるのを待つ。符号送出応答が“ON”にな
つた時点で、次の符号化に備えてセレクタ2
8を読み出し、アドレス側に切り変えて読み
出しアドレス値をラツチ回路29にラツチす
る。ここで、モード制御回路31は参照ライ
ン変化点要求信号を“ON”にして第2a図
の状態へもどる。
The mode control circuit 31 checks the output signal of the comparator 27 at the time when the two change point detection signals of the encoded line and the reference line are both in the "ON" state, and (1) if it is larger than +3 (second a When the reference line change point request signal is turned “ON” and the reference line change point detection signal is turned “ON”, the output signal of the comparator 27 is further checked, and (a) the output of the comparison circuit 27 is is larger than 0 (state shown in Figure 2a), it is determined to be pass mode, and the code transmission control circuit 3
3, outputs a signal indicating the pass mode, outputs a code sending request signal, and waits for the code sending response from the code sending control circuit 33 to turn "ON". When the code sending response becomes “ON”, selector 2 is activated in preparation for the next encoding.
8 is read out, switched to the address side, and the read address value is latched in the latch circuit 29. Here, the mode control circuit 31 turns the reference line change point request signal "ON" and returns to the state shown in FIG. 2a.

(ロ) 比較回路27の出力信号が0以下のとき
(第2a図の状態) 水平モードと判定し、符号送出要求信号を
“ON”にし、符号送出制御回路33からの
符号送出応答が“ON”になるのを待つ。符
号送出制御回路33は、水平モード符号の送
出及び0 1のランレングス符号のデータロー
ドが完了すると、符号送出応答を“ON”に
する。これを受けたモード制御回路31はセ
レクタ28で書き込みアドレスを選択し、こ
れをアドレスラツチ29にラツチする。次
に、符号化ライン変化点要求信号を“ON”
にしてメモリ11の読み出し及び書き込みア
ドレスカウンタ22を動作させ、符号化ライ
ン変化点検出回路14からの変化点検出信号
が“ON”になるのを待つ。この信号が
“ON”になるとモード制御回路31は、符
号送出制御回路33に対して符号送出要求信
号を“ON”にし、a1、a2のランレングスの
符号化を要求する。符号送出応答信号が
“ON”になると、次の符号化に備えて書き
込みアドレスをアドレスラツチ29にラツチ
し、第2a図状態へ移行する。
(b) When the output signal of the comparator circuit 27 is 0 or less (the state shown in Figure 2a), it is determined that the mode is horizontal, the code sending request signal is turned “ON”, and the code sending response from the code sending control circuit 33 is “ON”. ” Wait for it to become. The code sending control circuit 33 turns the code sending response "ON" when sending the horizontal mode code and loading data of the 0 to 1 run length code is completed. Upon receiving this, the mode control circuit 31 selects the write address using the selector 28 and latches it in the address latch 29. Next, turn the encoding line change point request signal “ON”
Then, the read/write address counter 22 of the memory 11 is operated, and it waits for the change point detection signal from the encoded line change point detection circuit 14 to turn "ON". When this signal turns "ON", the mode control circuit 31 turns a code sending request signal "ON" to the code sending control circuit 33, requesting encoding of the run lengths a 1 and a 2 . When the code sending response signal turns "ON", the write address is latched in the address latch 29 in preparation for the next encoding, and the state shifts to the state shown in FIG. 2a.

次に、モード制御回路31は比較回路27
の出力信号を調べ、 (a) 0以下の場合(第2a図状態) 第2a図状態へ移行する。
Next, the mode control circuit 31
Check the output signal of (a) If it is less than 0 (state in Figure 2a), move to the state in Figure 2a.

(b) 0より大きい場合(第2a図状態) 読み出しアドレスカウンタ21に書き込
みアドレスカウンタ22の値をロードする
と同時に、参照ライン変化点検出回路15
に符号化ライン変化点検出回路14から基
準色をロードし、参照ラインの変化点の検
出準備をし、第2a図状態へ移行する。
(b) When larger than 0 (state in FIG. 2a) At the same time as loading the value of the write address counter 22 into the read address counter 21, the reference line change point detection circuit 15
The reference color is loaded from the encoded line change point detection circuit 14, preparations are made to detect the change point of the reference line, and the state shifts to the state of FIG. 2a.

ここで、読み出しアドレスカウンタ21
に書き込みアドレス22のアドレス値をロ
ードすることにより、処理時間は大きく短
縮されている。
Here, the read address counter 21
By loading the address value of the write address 22 into , the processing time is greatly reduced.

(2) 比較回路27の出力信号が3以下かつ−3以
上のとき(第2a図状態) 垂直モードと判定してモード制御回路31
は、符号送出制御回路33に対して垂直モード
信号を送り、符号送出要求信号を“ON”にし
て応答を待つ。符号送出応答信号が“ON”に
なると、次の符号化に備えてセレクタ28で書
き込みアドレスカウンタ22を選択し、アドレ
スラツチ29にラツチし、第2a図状態へ移
行する。
(2) When the output signal of the comparator circuit 27 is 3 or less and -3 or more (state in Fig. 2a), it is determined that the mode is vertical mode, and the mode control circuit 31
sends a vertical mode signal to the code sending control circuit 33, turns on the code sending request signal, and waits for a response. When the code sending response signal becomes "ON", the selector 28 selects the write address counter 22 in preparation for the next encoding, latches it in the address latch 29, and shifts to the state of FIG. 2a.

(3) 比較回路27の出力信号が−3よりも小さい
時(第2a図状態) モード制御回路31は、水平モードだと判定
し、符号送出制御回路33に対して水平モード
信号を送り、符号送出要求信号を“ON”にし
て符号送出制御回路33からの応答を待つ。符
号送出制御回路33は、水平モード符号の送出
及びa0a1のランレングス符号のデータロードを
完了すると、符号送出応答信号を“ON”にす
る。これを受けると、次の符号化に備えてセレ
クタ28で書き込みアドレスを選択し、アドレ
スラツチ29にラツチする。次に、符号化ライ
ン変化点要求信号を“ON”にしてメモリ11
の読み出し及び書き込みアドレスカウンタの動
作を開始させ、符号化ライン変化点検出信号が
“ON”になるのを待つ。同信号が“ON”にな
ると、モード制御回路31は、符号送出制御回
路33に対して符号送出要求信号を“ON”に
し、a1a2のランレングスの符号化を符号送出制
御回路33に要求し、同回路からの符号送出応
答信号が“ON”になるのを待つ。符号送出応
答信号が“ON”になると、次の符号化に備え
て書き込みアドレスをアドレスラツチ29にラ
ツチする(第2a図状態) 次に、モード制御回路31は、比較回路27
の出力信号を調べ、 (イ) 0より大きいとき、 読み出しアドレスカウンタ21に書き込み
アドレスカウンタ22のアドレス値をロード
すると同時に、参照ライン変化点検出回路1
5に符号化ライン変化点検出回路14から基
準色をロードし、参照ライン上の次の変化点
の検出に備えて第2a図状態に移行する。
(3) When the output signal of the comparison circuit 27 is smaller than -3 (state in Fig. 2a), the mode control circuit 31 determines that it is the horizontal mode, sends a horizontal mode signal to the code sending control circuit 33, and sends the code The transmission request signal is turned "ON" and a response from the code transmission control circuit 33 is awaited. When the code sending control circuit 33 completes sending the horizontal mode code and loading data of the a 0 a 1 run length code, it turns the code sending response signal "ON". When this is received, the write address is selected by the selector 28 and latched into the address latch 29 in preparation for the next encoding. Next, turn the encoding line change point request signal “ON” and the memory 11
Starts the operation of the read and write address counters and waits for the encoded line change point detection signal to turn "ON". When this signal turns “ON”, the mode control circuit 31 turns the code sending request signal “ON” to the code sending control circuit 33, and causes the code sending control circuit 33 to encode the run length of a 1 a 2 . request and wait for the code transmission response signal from the same circuit to turn “ON”. When the code sending response signal turns "ON", the write address is latched into the address latch 29 in preparation for the next encoding (state in FIG. 2a).
(b) If it is larger than 0, load the address value of the write address counter 22 into the read address counter 21 and at the same time load the address value of the reference line change point detection circuit 1.
5, the reference color is loaded from the encoded line change point detection circuit 14, and the state shifts to the state of FIG. 2a in preparation for detection of the next change point on the reference line.

(ロ) 0以下の場合 符号化ライン変化点要求信号を“ON”に
して第2a図へ移行する。
(b) When the value is 0 or less: Turn the encoded line change point request signal “ON” and proceed to Figure 2a.

以上に説明した2次元符号化回路は、処理速度
が速く、従来、ハードウエアを用いて回路を構成
しなければその特徴を生かすことはできなかつ
た。一方、ハードウエアで回路を構成すると、実
装規模の増大により消費電力、放熱対策の問題が
生じ、又、回路自体の汎用性が低い等の欠点を有
している。
The two-dimensional encoding circuit described above has a high processing speed, and in the past, its characteristics could not be utilized unless the circuit was constructed using hardware. On the other hand, when a circuit is constructed using hardware, problems such as power consumption and heat dissipation measures arise due to an increase in the scale of implementation, and the circuit itself has drawbacks such as low versatility.

本発明は従来の技術に内在する上記諸欠点を解
消する為になされたものであり、従つて本発明の
目的は、符号化プロセスの大部分を超高速マイク
ロプログラムシーケンサを用いることによつて、
上述した高速処理二次元符号化回路の高速性を損
わずに、実装規模を縮小でき、消費電力が小さく
かつ放熱対策が容易であり、しかも汎用性の高い
新規な符号化回路をフアームウエアによつて実現
することにある。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the prior art, and an object of the present invention is to perform most of the encoding process by using an ultra-high-speed microprogram sequencer.
A new encoding circuit that can reduce the implementation scale without sacrificing the high-speed performance of the high-speed processing two-dimensional encoding circuit mentioned above, consumes less power, has easy heat dissipation measures, and is highly versatile has been incorporated into the firmware. The goal is to realize it.

上記目的を達成する為に、本発明に係る符号化
回路は、画情報をモデイフアイドリード方式等の
2次元符号化する回路において、1画素毎の画信
号読出し要求信号に応じて走査画信号を1画素ず
つ出力することができる画情報源と、1ライン分
の画情報を書き込み可能なラインメモリと、前記
画情報源からの画信号を選択的に前記2本のライ
ンメモリのいずれかに書き込むように切り換える
入力信号セレクタと、前記2本のラインメモリの
一方に選択的に接続される読み出しアドレスカウ
ンタと、他方のラインメモリに接続される書き込
みアドレスカウンタと、前記読み出しアドレスカ
ウンタと書き込みアドレスカウンタの出力を前記
2本のラインメモリに対して切り換えて接続可能
なアドレスセレクタと、前記画情報源からの出力
画素の変化点を検出する現ライン変化点検出回路
と、前記読み出しアドレスカウンタに接続された
ラインメモリの出力画素の変化点を検出する参照
ライン変化点検出回路と、該2つの変化点検出回
路からの変化点検出信号と前記読み出しアドレス
カウンタと前記書き込みアドレスカウンタのアド
レス値を入力としあらかじめ定められた処理を記
憶する記憶手段と、該記憶手段に記憶されている
処理手順に従つて動作する演算処理回路とを含む
符号化制御回路を具備して構成され、該符号化制
御回路は前記2つの変化点検出信号の両方が活性
化される毎に前記読み出しアドレスカウンタの値
と前記書き込みアドレスカウンタの値の差を演算
し演算結果に基づいて送出すべき符号を確定し送
出することを特徴としている。
In order to achieve the above object, an encoding circuit according to the present invention provides a circuit for two-dimensionally encoding image information using a modified read method, etc., in which a scanning image signal is output in response to an image signal readout request signal for each pixel. an image information source that can output one pixel at a time, a line memory that can write one line of image information, and an image signal from the image information source selectively stored in either of the two line memories. an input signal selector for switching to write, a read address counter selectively connected to one of the two line memories, a write address counter connected to the other line memory, and the read address counter and the write address counter. an address selector that can be connected to switch the output of the line memory to the two line memories, a current line change point detection circuit that detects a change point of output pixels from the image information source, and a current line change point detection circuit that is connected to the read address counter. A reference line change point detection circuit detects the change point of the output pixel of the line memory, and the change point detection signals from the two change point detection circuits and the address values of the read address counter and the write address counter are inputted in advance. The encoding control circuit includes a storage means for storing predetermined processing and an arithmetic processing circuit that operates according to the processing procedure stored in the storage means, and the encoding control circuit Each time both of the two change point detection signals are activated, the difference between the read address counter value and the write address counter value is calculated, and a code to be sent is determined and sent based on the calculation result. It is said that

次に本発明をその好ましい一実施例について図
面を参照しながら具体的に説明する。
Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

本発明の一実施例を第3図に示す。第3図によ
りわかるように、第1図の破線で囲まれた部分を
高速で動作するマイクロプログラムシステムで構
成している。
An embodiment of the present invention is shown in FIG. As can be seen from FIG. 3, the portion surrounded by the broken line in FIG. 1 is comprised of a microprogram system that operates at high speed.

このマイクロプログラムシステムは、大きく分
けてマイクロインストラクシヨン制御部と、デー
タ操作部から構成される。マイクロインストラク
シヨン制御部は、第3図中の42のシーケンサと
43のマイクロプログラムROMで構成され、こ
こでは次のサイクルで実行されるマイクロインス
トラクシヨンの制御を行う。シーケンサ42は、
44のパイプラインレジスタに格納されているマ
イクロインストラクシヨンによつて制御され、4
3のマイクロプログラムROMのアドレス制御を
行う。43のマイクロプログラムROMは、マイ
クロインストラクシヨンのシーケンスを格納して
いるメモリであり、42のシーケンサの制御によ
つてマイクロプログラムROM43から読み出さ
れたマイクロインストラクシヨンは次のクロツク
信号の立ち上がり時に次のパイプラインレジスタ
44に書き込まれて実行される。このようなパイ
プラインレジスタ構成にすることによつて、マイ
クロインストラクシヨンのフエツチサイクルとエ
グゼキユーシヨンサイクルを同時に実行すること
ができ、システム動作を高速化することができ
る。
This microprogram system is broadly divided into a microinstruction control section and a data manipulation section. The microinstruction control unit is composed of a sequencer 42 and a microprogram ROM 43 in FIG. 3, and controls the microinstruction to be executed in the next cycle. The sequencer 42 is
Controlled by microinstructions stored in 44 pipeline registers, 4
Controls the address of the microprogram ROM in step 3. The microprogram ROM 43 is a memory that stores a sequence of microinstructions, and the microinstructions read from the microprogram ROM 43 under the control of the sequencer 42 are read out at the next rising edge of the clock signal. It is written to the next pipeline register 44 and executed. With such a pipeline register configuration, the fetch cycle and execution cycle of a microinstruction can be executed simultaneously, thereby speeding up system operation.

45のデータ操作部(演算器)は、パイプライ
ンレジスタ44に格納されているマイクロインス
トラクシヨンとアドレス信号によつて制御され、
データバス及びデータレジスタを通じて転送され
たデータを内部レジスタに格納し、演算処理を行
つて結果を出力する。
The data manipulation unit (operation unit) 45 is controlled by microinstructions and address signals stored in the pipeline register 44.
The data transferred through the data bus and data register is stored in an internal register, arithmetic processing is performed, and the result is output.

51は、符号化ライン変化点検出、参照ライン
変化点検出、参照ライン終了、符号化ライン終了
及び符号送出応答の各信号のラツチ回路であり、
シーケンサ42は、40のセレクタを通じてデー
タ演算処理を行つていないときには常にこれらの
信号を監視し、信号を見つけると1クロツクの間
にその信号に対するシーケンスが格納されている
マイクロプログラムROM43の先頭番地のアド
レスを出力してシーケンスの実行に移る。52
は、データ操作部45からのフラツグのラツチ回
路であり、シーケンサ42は、データ操作中には
セレクタ41を通してこれを監視し、フラツグに
応じてシーケンスコントロールを行う。46は、
参照ラインの変化点が検出された時に、読み出し
アドレスカウンタ21のアドレス値をCPUにと
りこむための入力ポート、47は、符号化ライン
の変化点が検出されたときに書き込みアドレスカ
ウンタ22のアドレス値をCPUにとりこむため
の入力ポートをそれぞれ示す。
51 is a latch circuit for each signal of encoding line change point detection, reference line change point detection, reference line end, encoding line end, and code sending response;
The sequencer 42 always monitors these signals when it is not performing data arithmetic processing through the selectors 40, and when it finds a signal, it reads the starting address of the microprogram ROM 43 in which the sequence for that signal is stored within one clock. Outputs the address and begins executing the sequence. 52
is a latch circuit for a flag from the data manipulation unit 45, which the sequencer 42 monitors through the selector 41 during data manipulation, and performs sequence control in accordance with the flag. 46 is
An input port 47 inputs the address value of the read address counter 21 into the CPU when a change point of the reference line is detected, and inputs the address value of the write address counter 22 when a change point of the encoded line is detected. The input ports for input to the CPU are shown.

48は演算結果、符号送出要求、黒画素か或い
は白画素モード(EOL信号、垂直モード、水平
モード、パスモード)を33の符号送出制御回路
へ出力するための出力ポート、49はランレング
スをセレクタ34へ出力するための出力ポート、
50は符号化ライン変化点要求、参照ライン変化
点要求、セレクタ17,18,19,20への読
み書き選択信号、読み書きアドレスカウンタへの
クリア信号、参照ラインアドレスカウンタのアド
レスロード信号の出力ポートをそれぞれ示す。
48 is an output port for outputting the calculation result, code sending request, black pixel or white pixel mode (EOL signal, vertical mode, horizontal mode, pass mode) to the code sending control circuit 33, and 49 is a run length selector. Output port for outputting to 34,
50 is an output port for an encoding line change point request, a reference line change point request, a read/write selection signal to the selectors 17, 18, 19, and 20, a clear signal to the read/write address counter, and an address load signal of the reference line address counter, respectively. show.

第3図のブロツク図中のマイクロプログラムシ
ーケンサ(シーケンサ42、マイクロプログラム
ROM43、パイプラインレジスタ44及び演算
器45からなる)の動作フローは、第4図に示す
ように、1ラインの始めに、読み出しアドレスカ
ウンタ21と書き込みアドレスカウンタ22のア
ドレスを0にすると同時に、符号化ライン変化点
検出回路14、参照ライン変化点検出回路15に
基準画素として白画素を設定する。次に出力ポー
ト48より符号送出制御回路33へEOLを示す
モード信号と符号送出要求を“ON”にし、符号
送出応答信号が“ON”になるのを待つ。同信号
が“ON”になると、符号化ライン変化点要求信
号及び参照ライン変化点要求信号を“ON”に
し、書き込みアドレスカウンタ22及び読み出し
アドレスカウンタ21を動作させ、メモリ11よ
り画情報を読み出す。符号化ライン上の変化点が
検出されると、符号化ライン変化点検出回路14
は検出信号を“ON”にして書き込みアドレスカ
ウンタ22の動作及びメモリ11の読み出しを中
止する。又、参照ライン変化点検出回路15も同
様に変化点を検出すると、検出信号を“ON”に
し、読み出しアドレスカウンタ21の動作を止め
る。ここで、変化点が検出される前に1ラインが
終了した場合には、その時点で変化点が検出され
たとして次の動作へ移行する。
The microprogram sequencer (sequencer 42, microprogram
As shown in FIG. 4, the operation flow of the ROM 43, pipeline register 44, and arithmetic unit 45 is as shown in FIG. A white pixel is set as a reference pixel in the conversion line change point detection circuit 14 and the reference line change point detection circuit 15. Next, the mode signal indicating EOL and the code sending request are turned "ON" from the output port 48 to the code sending control circuit 33, and it waits for the code sending response signal to be turned "ON". When this signal turns "ON", the encoded line change point request signal and the reference line change point request signal are turned "ON", the write address counter 22 and the read address counter 21 are operated, and image information is read from the memory 11. When a change point on the encoded line is detected, the encoded line change point detection circuit 14
turns the detection signal “ON” and stops the operation of the write address counter 22 and the readout of the memory 11. Similarly, when the reference line change point detection circuit 15 detects a change point, it turns the detection signal "ON" and stops the operation of the read address counter 21. Here, if one line ends before the changing point is detected, it is assumed that the changing point has been detected at that point and the process moves to the next operation.

マイクロプログラムシーケンサは、セレクタ4
0でラツチ51を監視しており、符号化ライン及
び参照ラインの2つの変化点検出信号が“ON”
になつているのをみつけると、出力ポート50の
符号化ライン変化点要求及び参照ライン変化点要
求を“OFF”にし、入力ポート46,47から
読み出しアドレスカウンタ21の値(b1)及び書
き込みアドレスカウンタ22の値(a1)をとり込
み、演算器45で相対アドレスa1−b1を計算し、 (1) +3より大きい場合(第4a図状態) 参照ライン変化点要求信号を“ON”にして
参照ラインの変化点検出信号が“ON”になつ
た時点で演算器45にそのアドレス値(b2)を
入力ポート46からとり込み、相対アドレスa1
−b2の演算器出力をみて、 (イ) a1−b2>0のとき(第4a図状態) パスモードと判定し、符号化制御回路33
に対して出力ポート48からパスモードを表
す信号及び符号送出要求信号を出力し、符号
送出制御回路33からの符号送出応答が
“ON”になるのを待つ。同信号が“ON”に
なつた時点で読み出しアドレスカウンタ21
の値をa0として演算器内のレジスタに格納
し、マイクロプログラムシーケンサは参照ラ
イン変化点要求信号を“ON”にして出力ポ
ート50より出力して第4a図状態へ戻
る。
The micro program sequencer is selector 4.
0, the latch 51 is monitored, and the two change point detection signals of the encoded line and reference line are “ON”.
When it is found that the output port 50 has changed, the encoded line change point request and the reference line change point request are turned OFF, and the read address counter 21 value (b 1 ) and the write address are read from the input ports 46 and 47. Take in the value (a 1 ) of the counter 22, calculate the relative address a 1 - b 1 with the arithmetic unit 45, and (1) If it is greater than +3 (state in Figure 4a), turn the reference line change point request signal “ON”. When the change point detection signal of the reference line becomes "ON", the address value (b 2 ) is taken into the arithmetic unit 45 from the input port 46, and the relative address a 1
Looking at the arithmetic unit output of -b 2 , (a) When a 1 -b 2 > 0 (state in Figure 4a), it is determined to be pass mode, and the encoding control circuit 33
It outputs a signal representing the pass mode and a code transmission request signal from the output port 48, and waits for the code transmission response from the code transmission control circuit 33 to turn "ON". When the signal becomes “ON”, the read address counter 21
The value of a0 is stored in the register in the arithmetic unit, and the microprogram sequencer turns the reference line change point request signal "ON" and outputs it from the output port 50, returning to the state of FIG. 4a.

(ロ) a1−b2≦0のとき(第4a図の状態) 水平モードと判定し、符号送出制御回路3
3へ水平モードを表わす信号及び符号送出要
求信号を出力ポート48から出力し、かつ
a0a1のランレングスを表わす信号(即ちa1
a0を演算器45で演算した結果)を出力ポー
ト49からセレクタ34へ出力する。なお1
ラインのはじめにおいてはa0=0として演算
器45内のレジスタが初期化されている。符
号化制御回路33は水平モード符号の送出及
0 1のランレングスに相当する符号の送出
が完了すると、符号送出応答を“ON”す
る。これを受けたマイクロプログラムシーケ
ンサは、セレクタ19で書き込みアドレスを
選択し、入力ポート47から演算器45内の
レジスタにa1のアドレス値を格納し、符号化
ライン変化点要求信号を“ON”にして、変
化点検出信号が“ON”になるのを監視す
る。同信号が“ON”になると、マイクロプ
ログラムシーケンサはそのときの書き込みア
ドレスカウンタ22の値a2を入力ポート47
から取り込み、演算器45で2 1のランレン
グスを計算し、符号送出制御回路33に対し
て符号送出要求信号を出力ポート48から出
力し、出力ポート49から2 1のランレング
ス符号を表わす信号をセレクタ34へ出力し
て、符号送出応答が“ON”になるのを待
つ。符号送出応答が“ON”になると第4a
図の状態へ移行し、演算器45でa2−b1
値を計算し、これが (a) 0以下の場合(第4a図状態) 第4a図状態へ移行する。
(b) When a 1 - b 2 ≦0 (state shown in Figure 4a) It is determined that the mode is horizontal, and the code transmission control circuit 3
3 outputs a signal indicating the horizontal mode and a code transmission request signal from the output port 48, and
A signal representing the run length of a 0 a 1 (i.e. a 1
The result of calculating a 0 by the calculating unit 45) is output from the output port 49 to the selector 34. Note 1
At the beginning of the line, the register in the arithmetic unit 45 is initialized with a 0 =0. When the encoding control circuit 33 completes sending out the horizontal mode code and sending out the code corresponding to the run length of 0 to 1 , it turns on the code sending response. Upon receiving this, the microprogram sequencer selects the write address with the selector 19, stores the address value of a1 from the input port 47 into the register in the arithmetic unit 45, and turns the encoding line change point request signal "ON". and monitor the change point detection signal turning “ON”. When this signal turns “ON”, the microprogram sequencer inputs the value a2 of the write address counter 22 at that time to the input port 47.
The calculation unit 45 calculates a run length of 2 1 , outputs a code transmission request signal to the code transmission control circuit 33 from the output port 48, and outputs a signal representing the 2 1 run length code from the output port 49. It outputs it to the selector 34 and waits for the code sending response to become "ON". When the code sending response becomes “ON”, the 4th a
The state shifts to the state shown in the figure, and the arithmetic unit 45 calculates the value of a 2 -b 1. If the value is (a) less than or equal to 0 (state in FIG. 4a), the state shifts to the state in FIG. 4a.

(b) 0より大きい場合(第4a図状態) 読み出しアドレスカウンタ21に書き込
みアドレスカウンタ22の値を出力ポート
50から参照アドレスロードを出力して、
ロードし、同時に参照ライン変化点検出回
路15、符号化ライン変化点検出回路14
へ出力ポート50から基準色をロードして
変化点の検出を準備し第2a図状態へ移
行する。
(b) When larger than 0 (state in Figure 4a) Write the value of the address counter 22 to the read address counter 21 and output the reference address load from the output port 50,
At the same time, the reference line change point detection circuit 15 and the encoded line change point detection circuit 14
A reference color is loaded from the output port 50 to prepare for detecting a change point, and the state shifts to the state of FIG. 2a.

(2) 演算器45の出力信号が3以下かつ−3以上
のとき(第4a図状態) 垂直モードと判定し、マイクロプログラムシ
ーケンサは、符号送出制御回路33に対して、
垂直モード信号を出力ポート48から、垂直モ
ードランレングスを出力ポート49からそれぞ
れ符号送出制御回路33、セレクタ34へ出力
し、符号送出要求信号を“ON”にしてその応
答を待つ。同応答が“ON”になると、次の符
号化に備えて演算器45内でa1を次の符号化時
のa0と定義してレジスタ内に格納し、第4a図
状態へ移行する。
(2) When the output signal of the arithmetic unit 45 is 3 or less and -3 or more (state in FIG. 4a), the vertical mode is determined, and the microprogram sequencer tells the code sending control circuit 33 to
The vertical mode signal is outputted from the output port 48, and the vertical mode run length is outputted from the output port 49 to the code sending control circuit 33 and the selector 34, respectively, and the code sending request signal is turned "ON" to wait for a response. When the response becomes "ON", in preparation for the next encoding, a 1 is defined in the arithmetic unit 45 as a 0 at the time of the next encoding and stored in the register, and the state shifts to the state shown in FIG. 4a.

(3) 演算器45の出力信号が−3より小さい時
(第4a図状態) マイクロプログラムシーケンサは、水平モー
ドであると判定し、出力ポート48から符号送
出制御回路33へ、水平モード信号及び符号送
出信号を“ON”にして出力し、出力ポート4
9からセレクタ34へ0 1のランレングスを出
力し、符号送出応答信号が“ON”になるのを
監視する。同信号を見つけると、マイクロプロ
グラムシーケンサは、a1のアドレス値を演算器
45内のレジスタに格納し、符号化ライン変化
点要求信号を“ON”して出力ポート50より
出力し、メモリ11の読み出し及び書き込みア
ドレスカウンタ22の動作を開始させ、符号化
ライン変化点検出信号が“ON”になるのを監
視する。同信号が“ON”になるのを見つける
と、マイクロプログラムシーケンサは、書き込
みアドレスカウンタ22の動きを止め、入力ポ
ート47よりアドレス値a2をとりこみ、2 1
ランレングスを演算器45で計算し、その結果
を出力ポート49から出力すると同時に、符号
送出要求を“ON”にして符号送出応答が
“ON”になるのを監視する。同信号が“ON”
になるのを見つけると、a2−b1の演算を演算器
45で行い、その結果が、 (イ) 0より大きいとき(第4a図状態) 読み出しアドレスカウンタ21に書き込み
アドレスカウンタ22のアドレス値をロード
すると同時に、参照ライン変化点検出回路1
5、符号化ライン変化点検出回路14に基準
色をロードし、参照ライン上の次の変化点の
検出に備え、第4a図状態に移行する。
(3) When the output signal of the arithmetic unit 45 is smaller than -3 (state in FIG. 4a), the microprogram sequencer determines that it is in the horizontal mode, and sends the horizontal mode signal and code from the output port 48 to the code sending control circuit 33. Turn the sending signal “ON” and output it to output port 4.
9 outputs a run length of 0 to 1 to the selector 34, and monitors until the code sending response signal turns "ON". When the microprogram sequencer finds the same signal, it stores the address value of a 1 in the register in the arithmetic unit 45, turns on the encoding line change point request signal, outputs it from the output port 50, and stores the address value of a 1 in the memory 11. The operation of the read/write address counter 22 is started, and it is monitored that the encoded line change point detection signal becomes "ON". When the microprogram sequencer detects that this signal is turned "ON," it stops the write address counter 22, takes in the address value a2 from the input port 47, and calculates the run length of 21 using the arithmetic unit 45. , outputs the result from the output port 49, and simultaneously turns on the code sending request and monitors until the code sending response turns on. The same signal is “ON”
When it is found that , a 2 - b 1 is calculated by the arithmetic unit 45, and the result is (a) If it is larger than 0 (state in Figure 4a), the address value of the write address counter 22 is written to the read address counter 21. At the same time, the reference line change point detection circuit 1
5. Load the reference color into the encoded line change point detection circuit 14, and shift to the state of FIG. 4a in preparation for detection of the next change point on the reference line.

(ロ) 0以下の場合(第4a図状態) 符号化ラインの変化点要求信号を“ON”
にして出力ポート50より出力して第2a図
へ移行する。
(b) When the value is 0 or less (state in Figure 4a), turn the encoding line change point request signal “ON”
The signal is then output from the output port 50 and the process moves to FIG. 2a.

本発明は以上の如く構成され、作用するもので
あり、本発明によれば、符号化のプロセスの制御
部分にマイクロプログラムプロセツサを用いたこ
とによつて、ハードウエアの数量を減すことがで
き、実装に伴う諸問題或いはコスト的な面におい
ても有利なものになつている。又、変化点検出回
路をハードウエアで構成し、参照ラインのアドレ
スカウンタへ符号化ラインのアドレスカウンタの
アドレス値を直接ロードできるような構成をとる
ことによつて、変化点の検出過程の高速化に大き
な効果を上げている。更に、符号化プロセツサの
構成において、変化点検出過程の種々の状態を入
力信号として受け、その信号に応じて次のクロツ
クで必要処理を実行できるようにし、書き込みア
ドレスカウンタのアドレス値及び読み出しアドレ
スカウンタのアドレス値を直接演算器へ入力でき
るようにしたことで従来のマイクロプロセツサを
用いた符号化回路に比べて極めて高速なものを構
成することができた。
The present invention is constructed and operates as described above.According to the present invention, by using a microprogram processor for the control portion of the encoding process, the amount of hardware can be reduced. This makes it advantageous in terms of implementation problems and costs. In addition, by configuring the change point detection circuit with hardware and adopting a configuration that allows the address value of the encoded line address counter to be directly loaded into the reference line address counter, the change point detection process can be speeded up. has had a great effect on Furthermore, in the configuration of the encoding processor, various states of the change point detection process are received as input signals, and necessary processing is executed in the next clock according to the signals, and the address value of the write address counter and the read address counter are By making it possible to directly input the address value to the arithmetic unit, it was possible to construct an encoding circuit that is much faster than a conventional encoding circuit using a microprocessor.

以上本発明をその良好な一実施例について説明
したが、それは単なる例示的なものであり、ここ
で説明された実施例によつてのみ本願発明が限定
されるものではなく、その範囲内におけるすべて
の変形、変更を含むことは勿論である。
Although the present invention has been described above with reference to one preferred embodiment thereof, this is merely an example, and the present invention is not limited only to the embodiment described herein, and all within the scope thereof. Of course, it includes modifications and changes.

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

第1図は従来の回路例を示すブロツク図、第2
a図〜第2c図は第1図に示した従来の回路の動
作フローを示す図、第3図は本発明の一実施例を
示すブロツク構成図、第4a図〜第4c図は第3
図に示した本発明に係るマイクロプログラムシー
ケンサの動作流れ図である。 11……メモリ、12,13……ラインメモ
リ、14……符号化ライン変化点検出回路、15
……参照ライン変化点検出回路、16……反転
器、17,18,19,20,28,34,4
0,41……セレクタ、21……読み出しアドレ
スカウンタ、22……書き込みアドレスカウン
タ、23,32……加算器、24……ANDゲー
ト、25,26……ORゲート、27……比較
器、29……アドレスラツチ、30……反転器、
31……モード制御回路、33……符号送出制御
回路、35……ROM、36……シフトレジス
タ、37……カウンタ、38……参照ライン終了
検出器、39……符号化ライン終了検出器、42
……シーケンサ、43……マイクロプログラム
ROM、44……パイプラインレジスタ、45…
…演算器、46,47……入力ポート、48,4
9,50……出力ポート、51,52……ラツチ
回路。
Figure 1 is a block diagram showing an example of a conventional circuit, Figure 2 is a block diagram showing an example of a conventional circuit.
Figures a to 2c are diagrams showing the operation flow of the conventional circuit shown in Figure 1, Figure 3 is a block configuration diagram showing an embodiment of the present invention, and Figures 4a to 4c are diagrams showing the operation flow of the conventional circuit shown in Figure 1.
3 is an operation flowchart of the microprogram sequencer according to the present invention shown in the figure. 11...Memory, 12, 13...Line memory, 14...Encoding line change point detection circuit, 15
... Reference line change point detection circuit, 16 ... Inverter, 17, 18, 19, 20, 28, 34, 4
0, 41... Selector, 21... Read address counter, 22... Write address counter, 23, 32... Adder, 24... AND gate, 25, 26... OR gate, 27... Comparator, 29 ... Address latch, 30 ... Inverter,
31...Mode control circuit, 33...Code transmission control circuit, 35...ROM, 36...Shift register, 37...Counter, 38...Reference line end detector, 39...Encoding line end detector, 42
...Sequencer, 43...Microprogram
ROM, 44...Pipeline register, 45...
...Arithmetic unit, 46, 47...Input port, 48, 4
9, 50...output port, 51, 52...latch circuit.

Claims (1)

【特許請求の範囲】 1 画情報をモデイフアイドリード方式等の2次
元符号化する回路において、1画素毎の画信号読
み出し要求信号に応じて走査画信号を1画素ずつ
出力することができる画情報源と、1ライン分の
画情報を書き込み可能な2本のラインメモリと、
前記画情報源からの画信号を選択的に前記2本の
ラインメモリのいずれかに書き込むように切り換
える入力信号セレクタと、前記2本のラインメモ
リの一方に選択的に接続される書き込みアドレス
カウンタと、他方のラインメモリに選択的に接続
され且つプリセツト値入力端子をアドレスのビツ
ト順位に対応して前記書き込みアドレスカウンタ
の出力に接続することによりアドレスロード信号
によつて前記書き込みアドレスカウンタの値をロ
ードすることを可能とした読み出しアドレスカウ
ンタと、該読み出しアドレスカウンタと前記書き
込みアドレスカウンタの出力を前記2本のライン
メモリに対して切り換えて接続可能なアドレスセ
レクタと、前記画情報源からの出力画素の変化点
を検出する現ライン変化点検出回路と、前記読み
出しアドレスカウンタに接続されたラインメモリ
の出力画素の変化点を検出する参照ライン変化点
検出回路と、実行すべき処理を指定するインスト
ラクシヨンを格納するマイクロプログラムROM
と該マイクロプログラムROMの出力を1サイク
ル毎に格納するパイプラインレジスタと該レジス
タの出力によつて制御され次のサイクルにおいて
実行すべき処理インストラクシヨンのアドレスを
前記マイクロプログラムROMに出力するシーケ
ンサと前記変化点検出信号を入力とするセレクタ
とを有し該セレクタは前記パイプラインレジスタ
に格納された前記インストラクシヨンによつて複
数の入力から1つを選択して前記シーケンサにコ
ンデイシヨン信号を出力し前記シーケンサは該コ
ンデイシヨン信号に応じて次の前記マイクロプロ
グラムROMへのアドレスを決定するマイクロプ
ログラムシステムからなる符号化制御回路とを有
し、該符号化制御回路は前記2つの変化点検出信
号の両方が活性化される毎に前記読み出しアドレ
スカウンタの値と前記書き込みアドレスカウンタ
の値の差を演算し演算結果に基いて送出すべき符
号を確定し送出することを特徴としたフアクシミ
リの符号化回路。 2 前記符号化制御回路は、前記2つの変化点検
出信号によつて起動され、実行される前記読み出
しアドレスカウンタのアドレス値と前記書き込み
アドレスカウンタのアドレス値の差を求める演算
の結果、前記書き込みアドレスカウンタの値が前
記読み出しアドレスカウンタの値よりも大きいと
きに前記アドレスロード信号を出力して、前記読
み出しアドレスカウンタに前記書き込みアドレス
カウンタのアドレス値をロードすることを更に特
徴とする特許請求の範囲第1項記載のフアクシミ
リの符号化回路。
[Scope of Claims] 1. In a circuit that two-dimensionally encodes image information using a modified read method, etc., a pixel capable of outputting a scanning image signal pixel by pixel in response to a pixel-by-pixel image signal readout request signal. An information source, two line memories into which one line of image information can be written,
an input signal selector for switching to selectively write an image signal from the image information source into either of the two line memories; and a write address counter selectively connected to one of the two line memories. , is selectively connected to the other line memory, and loads the value of the write address counter by an address load signal by connecting a preset value input terminal to the output of the write address counter corresponding to the bit order of the address. an address selector capable of switching and connecting the outputs of the read address counter and the write address counter to the two line memories; A current line change point detection circuit that detects a change point, a reference line change point detection circuit that detects a change point of an output pixel of the line memory connected to the read address counter, and an instruction that specifies a process to be executed. Microprogram ROM that stores
a pipeline register that stores the output of the microprogram ROM every cycle; and a sequencer that is controlled by the output of the register and outputs the address of a processing instruction to be executed in the next cycle to the microprogram ROM. a selector that receives the change point detection signal as an input, and the selector selects one from a plurality of inputs according to the instruction stored in the pipeline register and outputs a condition signal to the sequencer. The sequencer includes an encoding control circuit comprising a microprogram system that determines the next address to the microprogram ROM according to the condition signal, and the encoding control circuit receives both of the two change point detection signals. 1. A facsimile encoding circuit characterized in that each time a facsimile is activated, the difference between the value of the read address counter and the value of the write address counter is calculated, and a code to be sent is determined and sent based on the calculation result. 2. The encoding control circuit is activated by the two change point detection signals, and as a result of an operation for calculating the difference between the address value of the read address counter and the address value of the write address counter, the write address is determined. Claim 1, further characterized in that the address load signal is output when the value of the counter is larger than the value of the read address counter, and the address value of the write address counter is loaded into the read address counter. The facsimile encoding circuit according to item 1.
JP58050231A 1983-03-24 1983-03-24 Coding circuit of facsimile Granted JPS59175283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58050231A JPS59175283A (en) 1983-03-24 1983-03-24 Coding circuit of facsimile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58050231A JPS59175283A (en) 1983-03-24 1983-03-24 Coding circuit of facsimile

Publications (2)

Publication Number Publication Date
JPS59175283A JPS59175283A (en) 1984-10-04
JPH0220034B2 true JPH0220034B2 (en) 1990-05-07

Family

ID=12853241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58050231A Granted JPS59175283A (en) 1983-03-24 1983-03-24 Coding circuit of facsimile

Country Status (1)

Country Link
JP (1) JPS59175283A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60256274A (en) * 1984-06-01 1985-12-17 Hitachi Ltd 2D compression encoding device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5464920A (en) * 1977-11-02 1979-05-25 Toshiba Corp Encoding system for picture information
JPS55128967A (en) * 1979-03-28 1980-10-06 Ricoh Co Ltd Encoding device
JPS57181272A (en) * 1982-04-28 1982-11-08 Hitachi Ltd Binary picture decoding

Also Published As

Publication number Publication date
JPS59175283A (en) 1984-10-04

Similar Documents

Publication Publication Date Title
US4107648A (en) Scan encoding of two dimensional pictorial entities
KR100248452B1 (en) Integrated circuit for processing digital signal
US4597016A (en) Encoding/decoding system
KR100273629B1 (en) Moving vector evaluation method and apparatus
JP2924964B2 (en) Image information encoding device, image information decoding device, and image information encoding / decoding device
JPH0134500B2 (en)
JPH0220195B2 (en)
JPH0220034B2 (en)
US6380987B1 (en) Motion vector detection circuit enabling high-speed search of motion vector
US6614937B1 (en) Compression circuit for quickly processing two-dimensional image data
US20010028319A1 (en) Apparatus for and method of converting sampling frequency of digital signals
US7432988B2 (en) Address generation for video processing
US7606996B2 (en) Array type operation device
JP2624843B2 (en) Encoding device
US5479165A (en) Two-dimensional coding apparatus
JPS6282769A (en) Coding device
JP3156853B2 (en) Decoding device and encoding / decoding device
JPS6116377A (en) Memory scanner
JPS6281881A (en) encoding device
JP5488609B2 (en) Single instruction multiple data (SIMD) processor having multiple processing elements interconnected by a ring bus
JPH02257292A (en) Address generator for picture memory
JPS6341272B2 (en)
JPH08139939A (en) Compander
JPH04271572A (en) Facsimile code converter
JPS58168388A (en) Encoding circuit of facsimile