JPH0253989B2 - - Google Patents

Info

Publication number
JPH0253989B2
JPH0253989B2 JP56104187A JP10418781A JPH0253989B2 JP H0253989 B2 JPH0253989 B2 JP H0253989B2 JP 56104187 A JP56104187 A JP 56104187A JP 10418781 A JP10418781 A JP 10418781A JP H0253989 B2 JPH0253989 B2 JP H0253989B2
Authority
JP
Japan
Prior art keywords
counter
decoding
data
output
eol
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
JP56104187A
Other languages
Japanese (ja)
Other versions
JPS586671A (en
Inventor
Toshiaki Yamada
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP56104187A priority Critical patent/JPS586671A/en
Publication of JPS586671A publication Critical patent/JPS586671A/en
Publication of JPH0253989B2 publication Critical patent/JPH0253989B2/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/38Circuits or arrangements for blanking or otherwise eliminating unwanted parts of pictures

Description

【発明の詳細な説明】 本発明は、符号化データの中から特定部分のデ
ータのみの復号化を行なわせるデータの切出し機
能をもつた復号器に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a decoder having a data extraction function that allows decoding of only a specific portion of data from encoded data.

従来、例えば画像メモリに記憶されている符号
化データを読出して画像の一部だけを切出してデ
イスプレイに表示させたりプロツタで記録させた
りするような場合、符号化されたデータを復号器
により一度全て復号化させたうえで別途設けたデ
ータ切出し回路により必要とする特定部分のデー
タの切出しを行なわせるようにしており、そのた
め回路規模が大きくなるとともに、不必要な部分
におけるデータの復号化のための処理を行なわせ
ているのでその分データ処理に無駄な時間を要す
るものになつてしまつている。
Conventionally, for example, when reading coded data stored in an image memory and cutting out only a part of the image to display on a display or record on a plotter, a decoder reads all the coded data at once. After decoding, a separately provided data extraction circuit is used to extract the specific part of the data that is needed, which increases the circuit scale and increases the need for data decoding in unnecessary parts. Since the processing is performed, the data processing becomes a waste of time.

本発明はこのような点を考慮してなされたもの
で、符号化されたデータの復号化時に特定部分の
データの切出しをも同時に行なわせることができ
るようにした復号器を提供するものである。
The present invention has been made in consideration of these points, and provides a decoder that can simultaneously cut out a specific portion of data when decoding encoded data. .

以下、添付図面を参照して本発明の一実施例に
ついて詳述する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る復号器の基本的な構成例
を示すもので、外部の画像メモリなどから送られ
てくるモデフアイド・ホフマン法によつて符号化
された符号化信号をクロツクCLK1に同期して
読込んでそれに含まれるライン同期信号(EOL)
の検知、ターミネイテイングコード(TC)の検
知およびデータコードの検出を行なう復号化回路
1と、そのEOL検知信号aにより画素情報を白
レベルにし、TC検知信号bにより画素情報を白
から黒レベルに反転させるとともに、復号化しよ
うとしている符号に応じた画素の白、黒レベルの
状態信号cを復号化回路1に与える画素情報制御
回路2と、復号化回路1でデータコードが検出さ
れることによつて与えられる復号化の対象となる
復号データd(ランレングス情報とターミネイテ
イングコードTC/メークアツプコードMCの識
別情報とからなる)に応じてランレングスがセツ
トされ(このときTCならそのままの値がセツト
され、MCなら64倍の値がセツトされる)、クロ
ツクCLK2に応じてそのセツト値がカウントダ
ウンされてその内容が零になると出力eをクロツ
ク制御回路4に与えてそのクロツクCLK2の送
出を停止させるラン発生カウンタ3と、画素情報
制御回路2から出力される白または黒の画素情報
fをクロツク制御回路4から与えられるクロツク
CLK2に同期して読込んで一時集合的に蓄積さ
せ、その蓄積された復号化信号をクロツクCLK
3に同期して外部のデイスプレイまたはプロツタ
などへ送出する出力バツフア回路5とによつて構
成されている。
Figure 1 shows an example of the basic configuration of a decoder according to the present invention, in which a coded signal sent from an external image memory etc. and coded by the modified Hoffman method is synchronized with clock CLK1. and the line sync signal (EOL) it contains
A decoding circuit 1 detects terminating code (TC), detects data code, and changes the pixel information from white to black level using the EOL detection signal a and changes the pixel information from white to black level using the TC detection signal b. The data code is detected by the pixel information control circuit 2 and the decoding circuit 1, which inverts the pixel and provides the decoding circuit 1 with a state signal c of the white and black levels of the pixel corresponding to the code to be decoded. The run length is set according to the decoded data d to be decoded (consisting of run length information and identification information of the terminating code TC/makeup code MC) given by . (If it is a MC, a value multiplied by 64 is set.) The set value is counted down according to the clock CLK2, and when the content reaches zero, the output e is given to the clock control circuit 4 and the value of the clock CLK2 is A run generation counter 3 that stops sending out and a clock that receives white or black pixel information f output from the pixel information control circuit 2 from a clock control circuit 4.
The decoded signal is read in synchronization with CLK2 and temporarily accumulated, and the accumulated decoded signal is read in synchronization with clock CLK2.
3 and an output buffer circuit 5 which outputs data to an external display, plotter, etc. in synchronization with 3.

しかして、このように構成された復号器では、
外部から与えられる符号化信号が各1ライン分ご
とに白または黒画素のランレングスに応じて復号
化されることになる。
However, in a decoder configured in this way,
The encoded signal applied from the outside is decoded for each line according to the run length of white or black pixels.

このような復号器において、特に本発明にあつ
ては、第2図に示すように、復号化部にデータ
切出部を組込むことによつて構成されている。
すなわち、そのデータ切出部は、復号化部に
おける復号化回路1とラン発生カウンタ3との間
に設けられた復号情報(ランレングス情報)制御
回路6と、復号化回路1から出力されるEDL検
知信号aをカウントしながら適宜タイミングをも
つて復号情報制御回路6に制御指令を与える2つ
のEOLカウンタ7,8とによつて構成されてい
る。
In such a decoder, particularly in the present invention, as shown in FIG. 2, the decoder is constructed by incorporating a data extraction section into the decoding section.
That is, the data extraction section includes a decoding information (run length information) control circuit 6 provided between the decoding circuit 1 and the run generation counter 3 in the decoding section, and the EDL output from the decoding circuit 1. It is constituted by two EOL counters 7 and 8 that provide control commands to the decoding information control circuit 6 at appropriate timings while counting the detection signal a.

このデータ切出部におけるEOLカウンタ7
は、第3図に示すように原画像Aの中から特定画
像部Bのデータ切出しを行なわせる際に、その原
画像Aの始端から特定画像部Bの始端y1までの
距離l1に応じた任意の値が図示しないシステム
制御装置などを介してプリセツトされ、復号化回
路1から出力されるEOL検知信号aを読込んで
そのプリセツト値をカウントダウンしてその内容
が零になると出力gを復号情報制御回路6に与え
る。また、EOLカウンタ8は、特定画像部8の
始端y1から終端y2までの副走査方向の幅l2
に応じた任意の値が図示しないシステム制御装置
などを介してプリセツトされ、EOLカウンタ8
の内容が零になつたときに復号情報制御回路6か
ら与えられるスタート信号hに応じて復号化回路
1から出力されるEOL検知信号aを読込んでそ
のプリセツト値をカウントダウンし、その内容が
零になると出力iを復号情報制御回路6に与え
る。いま、例えば原画像Aの始端から特定画像部
Bの始端y1までの距離がl1mm、その特定画像部
Bの始端y1と終端y2との間の距離がl2mmでそ
の原画像Aを読取つたときの副走査密度が8ライ
ン/mmであるときには、EOLカウンタ7には8
×l1の値がプリセツトされ、EOLカウンタ8には
8×l2の値がプリセツトされることになる。ま
た、復号情報制御回路6は、EOLカウンタ7か
ら制御指令gが出されるまでは復号化回路1から
復号データdが送られてきてもその復号データd
をラン発生カウンタ3に与えることなくしや断
し、EOLカウンタ7から制御指令gが与えられ
るとはじめて復号データdをラン発生カウンタ3
に送出させる。復号情報制御回路6は制御指令g
を受取ると同時にEOLカウンタ8にスタート信
号hを与えてそのカウント動作を開始させ、その
カウント内容が零になつたときにEOLカウンタ
8から出される制御指令iに応じて再び復号デー
タdのラン発生カウンタ3への送出をしや断させ
る。したがつて、復号化回路1から出力される復
号データdは、EOLカウンタ8がそのプリセツ
ト値に達するまでのカウント動作を行なつている
間ラン発生カウンタ3に与えられることになる。
EOL counter 7 in this data extraction section
As shown in FIG. 3, when data of a specific image portion B is extracted from the original image A, an arbitrary value is determined according to the distance l1 from the starting edge of the original image A to the starting edge y1 of the specific image portion B. The value of is preset via a system control device (not shown), the EOL detection signal a outputted from the decoding circuit 1 is read, the preset value is counted down, and when the content reaches zero, the output g is sent to the decoding information control circuit. Give to 6. The EOL counter 8 also measures the width l2 in the sub-scanning direction from the starting edge y1 to the ending edge y2 of the specific image portion 8.
An arbitrary value corresponding to the EOL counter 8 is preset via a system control device (not shown), etc.
When the content becomes zero, the EOL detection signal a output from the decoding circuit 1 is read in response to the start signal h given from the decoding information control circuit 6, the preset value is counted down, and the preset value is counted down. Then, the output i is given to the decoding information control circuit 6. Now, for example, when the distance from the starting edge of original image A to the starting edge y1 of specific image part B is l1mm, and the distance between the starting edge y1 and ending edge y2 of that specific image part B is l2mm, and the original image A is read, When the sub-scanning density is 8 lines/mm, the EOL counter 7 has 8 lines/mm.
The value ×l1 is preset, and the EOL counter 8 is preset to the value 8×l2. Further, the decoding information control circuit 6 controls the decoding data d even if the decoding data d is sent from the decoding circuit 1 until the control command g is issued from the EOL counter 7.
is immediately cut off without giving it to the run generation counter 3, and only when the control command g is given from the EOL counter 7, the decoded data d is sent to the run generation counter 3.
to be sent to. The decoding information control circuit 6 receives the control command g
At the same time, a start signal h is given to the EOL counter 8 to start its counting operation, and when the count reaches zero, a run of decoded data d is generated again in response to a control command i issued from the EOL counter 8. Sending to counter 3 is stopped immediately. Therefore, the decoded data d output from the decoding circuit 1 is applied to the run generation counter 3 while the EOL counter 8 is counting until it reaches its preset value.

しかして、このように構成された本発明による
復号器では、例えばキーボードなどの入力手段に
より原画像A中におけるデータ切出しの対象とな
る特定画像部Bの始端y1および終端y2の位置
指定を任意に行なわせればシステム制御装置など
を介してEDLカウンタ7,8にそれぞれ所定の
値がプリセツトされ、各EOLカウンタ7,8の
出力に応じて復号情報制御回路6により特定画像
部Bのみの復号データd(ランレングス情報)が
切出されて復号化のための処理がなされ、その結
果出力バツフア回路5には特定画像部Bの復号化
されたデータのみが蓄積される。
Therefore, in the decoder according to the present invention configured as described above, the positions of the starting edge y1 and the ending edge y2 of the specific image portion B, which is the target of data extraction in the original image A, can be arbitrarily specified using input means such as a keyboard. If this is done, the EDL counters 7 and 8 are preset to predetermined values via the system control device, etc., and the decoded data d of only the specific image portion B is set by the decoding information control circuit 6 in accordance with the output of each EOL counter 7 and 8. (run length information) is cut out and processed for decoding, and as a result, only the decoded data of the specific image portion B is stored in the output buffer circuit 5.

なお、以上の説明では符号化信号としてモデフ
アイド・ホフマン法によつて符号化されたものを
復号化させる場合について述べたが、これは
EDLを含む符号体系を用いた他の符号化法によ
つて符号化された信号を復号化させる場合であつ
ても同様に実施できることはいうまでもない。ま
た、前記実施例のようにEOLカウンタ8に特定
画像部Bの幅l2に応じた値をプリセツトさせ、
そのカウント動作をEDLカウンタ7の出力に応
じて開始させるようにする代わりに、EDLカウ
ンタ8に原画像Aの始端から特定画像部Bの終端
y2までの距離l1+l2に応じた値をプリセツトさ
せておき、そのカウント動作をEDLカウンタ7
と同時に開始させ、復号情報制御回路6において
EOLカウンタ7の出力が生じてからEOLカウン
タ8の出力が生ずるまでの間の復号データdを有
効としてラン発生カウンタ3に与えるように制御
させるようにしてもよい。
In the above explanation, we have described the case where a coded signal encoded by the Modified-Hoffman method is decoded.
It goes without saying that the present invention can be similarly implemented even when decoding signals encoded by other encoding methods using encoding systems including EDL. Further, as in the above embodiment, the EOL counter 8 is preset to a value corresponding to the width l2 of the specific image portion B,
Instead of starting the counting operation in response to the output of the EDL counter 7, the EDL counter 8 is preset to a value corresponding to the distance l1+l2 from the starting edge of the original image A to the ending edge y2 of the specific image portion B. , the counting operation is performed by EDL counter 7.
At the same time, the decoding information control circuit 6 starts
The decoded data d from when the output of the EOL counter 7 is generated until the output of the EOL counter 8 is generated may be controlled so as to be valid and supplied to the run generation counter 3.

以上、本発明による復号器にあつては、EOL
を含む符号体系によつて符号化された信号をその
EOLの検知を行ないながら各1ラインごとに復
号化させるものにおいて、原画像中におけるデー
タ切出しの対象となる特定画像部の始端位置に応
じた任意の値がプリセツトされ、EOL検知信号
をカウントしてそれがプリセツト値に達した時点
で出力を生ずる第1のカウンタと、同じく特定画
像部の終端位置に応じた任意の値がプリセツトさ
れ、EOL検知信号をカウントしてそれがプリセ
ツト値に達した時点で出力を生ずる第2のカウン
タと、それら第1および第2の各カウンタの出力
に応じて復号化の対象となる画像情報の有効、無
効を決定する復号情報制御回路とを設け、その復
号情報制御回路によつて有効とされた画像情報の
みの復号化を行なわせるようにしたもので、復号
化時に特定画像部のデータの切出しをも同時に行
なわせることができ、また不必要な画像部のデー
タの復号化を行なわせないようにしているために
処理の高速化を有効に図ることができるという優
れた利点を有している。
As described above, in the decoder according to the present invention, EOL
A signal encoded by a coding system including
In a device that decodes each line while detecting EOL, an arbitrary value is preset according to the starting edge position of a specific image part from which data is to be extracted in the original image, and the EOL detection signal is counted. A first counter that generates an output when it reaches a preset value, and a first counter that is also preset to an arbitrary value depending on the end position of a specific image section, counts the EOL detection signal, and generates an output when it reaches the preset value. and a decoding information control circuit that determines validity or invalidity of image information to be decoded according to the outputs of the first and second counters, This system is designed to decode only the image information that has been validated by the control circuit, and it is also possible to simultaneously cut out the data of a specific image part at the time of decoding, and also to cut out unnecessary image parts. Since data is not decoded, it has the excellent advantage of effectively speeding up the processing.

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

第1図は本発明に係る復号器の基本的な一構成
例を示すブロツク図、第2図は本発明の一実施例
を示すブロツク構成図、第3図は原画像中におけ
るデータ切出しの対象となる特定画像部を示す図
である。 1…復号化回路、2…画像情報制御回路、3…
ラン発生カウンタ、4…クロツク制御回路、5…
出力バツフア回路、6…復号情報制御回路、7,
8…EDLカウンタ。
Fig. 1 is a block diagram showing a basic configuration example of a decoder according to the present invention, Fig. 2 is a block diagram showing an example of the present invention, and Fig. 3 is a target of data extraction in an original image. FIG. 3 is a diagram showing a specific image portion. 1...Decoding circuit, 2...Image information control circuit, 3...
Run generation counter, 4... Clock control circuit, 5...
output buffer circuit, 6... decoding information control circuit, 7,
8...EDL counter.

Claims (1)

【特許請求の範囲】[Claims] 1 ライン同期信号を含む符号体系によつて符号
化された信号をそのライン同期信号の検知を行な
いながら各1ラインごとに復号化させる復号器に
おいて、原画像中におけるデータ切出しの対象と
なる特定画像部の始端位置に応じた任意の値がプ
リセツトされ、EOL検知信号をカウントしてそ
れがプリセツト値に達した時点で出力を生ずる第
1のカウンタと、同じく特定画像部の終端位置に
応じた任意の値がプリセツトされ、EOL検知信
号をカウントしてそれがプリセツト値に達した時
点で出力を生ずる第2のカウンタと、それら第1
および第2の各カウンタの出力に応じて復号化の
対象となる画像情報の有効、無効を決定する復号
情報制御回路とを設け、その復号情報制御回路に
よつて有効とされた画像情報のみの復号化を行な
わせるようにしたことを特徴とする復号器。
1 In a decoder that decodes a signal encoded using a coding system including a line synchronization signal line by line while detecting the line synchronization signal, a specific image from which data is to be extracted from the original image is used. A first counter is preset to an arbitrary value according to the starting end position of a specific image section, and generates an output when the EOL detection signal is counted and reaches the preset value. a second counter that counts the EOL detection signal and produces an output when it reaches the preset value;
and a decoding information control circuit that determines whether the image information to be decoded is valid or invalid according to the output of each second counter, and only the image information that is validated by the decoding information control circuit is provided. A decoder characterized in that it performs decoding.
JP56104187A 1981-07-03 1981-07-03 Decoder Granted JPS586671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56104187A JPS586671A (en) 1981-07-03 1981-07-03 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56104187A JPS586671A (en) 1981-07-03 1981-07-03 Decoder

Publications (2)

Publication Number Publication Date
JPS586671A JPS586671A (en) 1983-01-14
JPH0253989B2 true JPH0253989B2 (en) 1990-11-20

Family

ID=14373982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56104187A Granted JPS586671A (en) 1981-07-03 1981-07-03 Decoder

Country Status (1)

Country Link
JP (1) JPS586671A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58202651A (en) * 1982-05-21 1983-11-25 Canon Inc Decoding device of modified huffman code
JPS61176291A (en) * 1985-01-31 1986-08-07 Canon Inc Picture processing system
JPH01248874A (en) * 1988-03-30 1989-10-04 Matsushita Graphic Commun Syst Inc Picture information processing method
JPH03292082A (en) * 1990-04-10 1991-12-24 Matsushita Electric Ind Co Ltd Picture segmentation device
JPH0630282A (en) * 1992-07-07 1994-02-04 Matsushita Electric Ind Co Ltd Image extending system

Also Published As

Publication number Publication date
JPS586671A (en) 1983-01-14

Similar Documents

Publication Publication Date Title
KR960006311A (en) Synchronous Restoration Method and Device for Variable Length Decoding Device
US4131915A (en) Facsimile signal transmission system
EP0765082A3 (en) Subtitle signal encoding/decoding
JP2636210B2 (en) Synchronous data receiving circuit
GB2160062A (en) Facsimile image encoding method
US4090222A (en) Facsimile signal reception system
JPH02199962A (en) Mark area recognition device
JPH0253989B2 (en)
EP0537804B1 (en) Speech recording apparatus with compression of soundless sections
GB1292682A (en) A coded communication system
EP0469716B1 (en) Image processing apparatus
JPS6122499B2 (en)
JPS6222303B2 (en)
JPS5859665A (en) Picture and writing transmission device
KR0128884B1 (en) Device for controlling the buffer in the motion picture processing system
JPS6156660B2 (en)
JP2641442B2 (en) Decryption device
JPS561660A (en) Reading method
JPS6233793B2 (en)
JPH02146868A (en) Picture reduction circuit
JPS61251276A (en) Picture data encoding system
JPS61169078A (en) Facsimile communication equipment
JPH0528026B2 (en)
JPH03125374A (en) Magnetic card reader
JPH05122537A (en) Two-dimensional encoder