JPS63301677A - Change point detecting circuit - Google Patents

Change point detecting circuit

Info

Publication number
JPS63301677A
JPS63301677A JP13783587A JP13783587A JPS63301677A JP S63301677 A JPS63301677 A JP S63301677A JP 13783587 A JP13783587 A JP 13783587A JP 13783587 A JP13783587 A JP 13783587A JP S63301677 A JPS63301677 A JP S63301677A
Authority
JP
Japan
Prior art keywords
line
change point
bit
white
output
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
JP13783587A
Other languages
Japanese (ja)
Inventor
Hiroyuki Hasegawa
長谷川 広之
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP13783587A priority Critical patent/JPS63301677A/en
Publication of JPS63301677A publication Critical patent/JPS63301677A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect the change point of one line at high speed by storing successive white information to a block unit at the time of writing picture data to a line memory. CONSTITUTION:The titled circuit is provided with a line memory 1 for storing the picture data by one line, a decision circuit 2 for deciding whether the picture data is all white or not for n-bit unit at the time of writing to the memory 1 and outputting the one line as flag information for respective (n) bits and a m-bit register 3 for sequentially storing and outputting output information from the decision circuit 2. Further, the circuit is provided with an encoder circuit 4 for coding an m-bit output under priority and outputting a signal indicating a successive white bit length and a change point detecting means 5 for detecting the change point of the picture data of the one line by defining the successive white bit length designated by the output of the encoder circuit to be an initial value. Thereby, when a white is continued from the leading part of the one line, the change point can be detected on the way of the line to attain the high speed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ファクシミリ装置に関し、特に、7アクシミ
リ装置における画データの変化点検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a facsimile machine, and more particularly to a circuit for detecting a change point of image data in a 7-axis machine.

従来の技術 従来、ファクシミリの画データ変化点検出回路について
は、1ラインの先頭画素よりビットシリアル又はバイト
パラレルに順次変化点検出する方式のものが提案されて
いる。
2. Description of the Related Art Conventionally, facsimile image data change point detection circuits have been proposed that sequentially detect change points in bit serial or byte parallel starting from the first pixel of one line.

発明が解決しようとする問題点 しかしながら、従来技術によると、1ラインのほとんど
が白で占められるようなラインでも、1ラインの先頭か
ら順次変化点検出を行なっていくので、変化点検出の効
率が悪いという欠点があった。
Problems to be Solved by the Invention However, according to the prior art, changing points are sequentially detected from the beginning of one line even if most of the line is occupied by white, so the efficiency of changing point detection is low. It had the disadvantage of being bad.

本発明は従来の技術に内在する上記欠点を解消する為に
なされたものであり、従って本発明の目的は、lライン
の変化点検出処理を高速化することを可能とした新規な
変化点検出回路を提供することにある。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, an object of the present invention is to provide a novel change point detection method that makes it possible to speed up the process of detecting change points of the l line. The purpose is to provide circuits.

問題点を解決するための手段 上記目的を達成する為に、本発明に係る変化点検出回路
は、1ライン分の画データを記憶するラインメモリと、
該ラインメモリ中の画データについてnビット単位に全
白か否かをラインメモリへの書込時に判定しnビット毎
にフラグ情報として1ライン分出力する判定回路と、該
判定回路からの出力情報を順次記憶し出力するmビット
レジスタと、該mビットレジスタのmビット出力をプラ
イオリティエンコードし連続白ビット長を示す信号を出
力するエンコーダ回路と、該エンコーダ回路出力により
指定される連続白ビット長を初期値として1ライン分の
画データの変化点を検出する変化点検出手段とを備えて
構成される。
Means for Solving the Problems In order to achieve the above object, the change point detection circuit according to the present invention includes a line memory that stores image data for one line;
A determination circuit that determines whether or not the image data in the line memory is completely white in units of n bits when writing to the line memory, and outputs one line as flag information for every n bits, and output information from the determination circuit. an m-bit register that sequentially stores and outputs the m-bit register, an encoder circuit that priority-encodes the m-bit output of the m-bit register and outputs a signal indicating the continuous white bit length, and an encoder circuit that outputs a signal indicating the continuous white bit length specified by the encoder circuit output. A changing point detecting means for detecting a changing point of image data for one line as an initial value.

実殉例 次に本発明をその好ましい一実捲例について図面を参照
して詳細に説明する。
Practical Example Next, a preferred practical example of the present invention will be explained in detail with reference to the drawings.

w、1図〜第5図に本発明の一実捲例を示す。第1図は
本発明に係る変化点検出回路の一実捲例を示すブロック
構成図である。
Fig. 1 to Fig. 5 show an example of winding the present invention. FIG. 1 is a block diagram showing an example of a changing point detection circuit according to the present invention.

第1図を参照するに1本実施例では説明を簡略化する為
に、1ラインを1024ビツトにとり1判定ビット数n
を256ビツト、フラグを記憶するレジスタピット数m
を4ビツトとする。先ず、参照番号1は8ビツトパラレ
ル入出力可能ラインメモリであり1画データ入力時には
バイト単位にシーケンシャル書込可能で画データ出力時
にはアドレスによりランダム読出し可能な構造をもつ、
2はラインメモリ1に入力される画データ256ピツト
毎に全白か否かを判定しその結果を出力する判定回路、
3は判定回路2より出力されたデータを記憶するシリア
ル・イン・パラレルeアウト可能な4ビツトシフトレジ
スタ、4はシフトレジスタ3の出力ヲエンコードするエ
ンコーダ、5はエンコーダ4からの出力により変化点検
出のためのラインメモリへのトップアドレスを初期値と
して任意に設定できる変化点検出器をそれぞれ示す。1
11’、tバイトパラレル入力画信号、12Fi転送り
ロック、13はバイトパラレル出力画信号、 21は判
定結果出力1号、22はシフトクロック、31は4ビッ
トフラグ出力、41は3ビツトエンコード・出力、51
はラインメモリ1へのアドレス信号、52は変化点検出
結果出力信号をそれぞれ示す。
Referring to FIG. 1, in this embodiment, in order to simplify the explanation, one line is assumed to be 1024 bits, and the number of bits for one judgment is n.
is 256 bits, and the number of register pits for storing flags is m.
is 4 bits. First, reference number 1 is an 8-bit parallel input/output capable line memory, which has a structure that allows sequential writing in byte units when inputting one image data, and allows random reading by address when outputting image data.
2 is a determination circuit that determines whether or not each of the 256 pits of image data input to the line memory 1 is completely white, and outputs the result;
3 is a 4-bit shift register capable of serial-in-parallel output that stores the data output from the judgment circuit 2; 4 is an encoder that encodes the output of the shift register 3; and 5 detects a change point using the output from the encoder 4. The change point detectors that can arbitrarily set the top address to the line memory for the initial value are shown. 1
11', t byte parallel input image signal, 12 Fi transfer lock, 13 byte parallel output image signal, 21 judgment result output No. 1, 22 shift clock, 31 4-bit flag output, 41 3-bit encode/output , 51
52 indicates an address signal to the line memory 1, and 52 indicates a change point detection result output signal.

次に2本実施例の動作を第2図〜第5図を使用して説明
する。
Next, the operation of the two embodiments will be explained using FIGS. 2 to 5.

第2図はラインメモリに蓄積される1ライン分の画泗号
を示す図であり、1ラインを1024ビツトとし1判定
ビット数を256ビツトとしたので。
FIG. 2 shows the stroke code for one line stored in the line memory, where one line has 1024 bits and the number of bits for one determination is 256 bits.

256ビツトの4つのブロック81〜B4に分割するこ
とができる。ここで、Blが先頭ブロックを示している
。また1ライン中の白/黒ランの分布は先頭から、白5
20ビット、黒256ビツト、白248ビットとなって
いるとする。
It can be divided into four blocks 81 to B4 of 256 bits. Here, Bl indicates the first block. Also, the distribution of white/black runs in one line starts from the beginning with white 5
Assume that the number of pixels is 20 bits, black is 256 bits, and white is 248 bits.

第3図において1判定回路2はブロックB1の256ビ
ツトについて、転送りロック12に従いバイトパラレル
に画データを入力し、32バイト(256ビツト)につ
いて全白か否かをサーチする。ブロックB1については
32バイトが全白であるので。
In FIG. 3, the 1 determination circuit 2 inputs image data in byte parallel according to the transfer lock 12 for the 256 bits of block B1, and searches for 32 bytes (256 bits) to see if they are all white. For block B1, 32 bytes are all white.

判定結果21としてrLOJレベルは号を、シフトクロ
ック22として1パルスを出力し、その後1判定結果2
1を初期状態レベルrLOJに戻す。以下同様な動作が
ブロックB2の32バイトについて行なわれる。
As the judgment result 21, the rLOJ level is outputted, and one pulse is output as the shift clock 22, and then 1 judgment result 2 is output.
1 to the initial state level rLOJ. Similar operations are subsequently performed for the 32 bytes of block B2.

次にブロックB3に入ると、ブロックB3には黒画素が
含まれるので1判定回路2は画信号転送中にその転送画
虞号1バイト中に1ビツトでも黒画素が存在すると、た
だちに判定結果21としてrHIJレベル1号を出力し
、64バイトの転送が終了した時点でシフトクロックを
1パルス出方し、その後判定結果21をl’−LOJに
戻す。同様な動作がブロックB4の32バイトについて
行表われる。
Next, when block B3 is entered, since block B3 includes black pixels, the 1 judgment circuit 2 immediately outputs a judgment result 21 if there is even 1 bit of a black pixel in 1 byte of the transfer image signal during image signal transfer. When the transfer of 64 bytes is completed, one pulse of the shift clock is output, and then the determination result 21 is returned to l'-LOJ. A similar operation occurs for the 32 bytes of block B4.

第4図はシフトレジスタ3に判定結果21がシフトクロ
ック22により取り込まれた状態を示しており、 BF
lがブロックB1の、 BF2がブロックB2の、 B
F3がブロックB3のhBF4がブロックB4のそれぞ
れ全白か否かを示すフラグ情報を格納するレジスタに対
応し工いる。またレジスタ3はシリアル・インφパラレ
ル書アウト可能な4ビツトシフトレジスタ構造となって
おり、 BF4側より判定結果21が取込まれ、シフト
クロック入力毎に順次シフトを行ない、1ラインの判定
が完了した時点で、フラグ情報を4ビツトフラグ出カ3
1としてエンコーダ4に出力している。エンコーダ4は
FIG. 4 shows a state in which the judgment result 21 is taken into the shift register 3 by the shift clock 22, and BF
l is block B1, BF2 is block B2, B
F3 corresponds to a register that stores flag information indicating whether hBF4 of block B3 and block B4 are all white or not. In addition, register 3 has a 4-bit shift register structure that allows serial input/parallel write-out, and the judgment result 21 is taken in from the BF4 side and shifted sequentially for each shift clock input, completing the judgment of one line. At that point, the flag information is sent to the 4-bit flag output 3.
It is output to the encoder 4 as 1. Encoder 4 is.

4ビツトフラグ出力31を第5図に示すようにエンコー
ドし、3ビツトエンコード出力41を出力する。
The 4-bit flag output 31 is encoded as shown in FIG. 5, and a 3-bit encoded output 41 is output.

エンコード出力41は連続する全白ブロック数を示して
おり、その値はO〜4の間で変化し「000−]が0.
  「0OIJが1.  「010Jが2.「011」
が3.「100」が4をそれぞれ表わしている。本実抱
例の場合にはエンコード出力41はl’−010Jとな
っており。
The encoded output 41 indicates the number of consecutive all-white blocks, and its value changes between 0 and 4, with "000-" being 0.
"0OIJ is 1."010J is 2."011"
3. "100" represents 4. In the case of this example, the encoded output 41 is l'-010J.

連続全白ブロック数が2であることを示している。This indicates that the number of consecutive all-white blocks is 2.

変化点検出器5は、ラインメモリ1の中の1ライン分の
画データの変化点検出を行う時に、エンコード出力41
を確認し、連続全白ブロック数が2であるので変化点検
出をブロックB3の先頭1バイトから始めるようアドレ
ス信号51を出力するとともに、初期値として512ピ
ツトをセットする。
The change point detector 5 outputs an encoded output 41 when detecting a change point in one line of image data in the line memory 1.
is confirmed, and since the number of consecutive all-white blocks is 2, the address signal 51 is outputted to start the change point detection from the first byte of block B3, and 512 pits are set as the initial value.

変化点検出器5は、最初の黒画素を検出するまでに、更
に白8ビットを認識し、これを512ビツトに加えて変
化点検出結果として白520ビットを示す1号52を出
力する。以下は順次変化点を検出し。
The changing point detector 5 further recognizes 8 white bits before detecting the first black pixel, adds this to 512 bits, and outputs No. 1 52 indicating 520 white bits as the changing point detection result. The following changes are detected sequentially.

1ラインの最後までに黒256ビツト、白248ピット
をそれぞれ52により出力する。以上述べたよりに、1
ラインの先頭から白が連続している場合には変化点検出
をラインの途中から行うことができ。
By the end of one line, 256 black bits and 248 white pits are output by 52 each. As stated above, 1
If white is continuous from the beginning of the line, change point detection can be performed from the middle of the line.

高速化が可能である。It is possible to increase the speed.

発明の詳細 な説明したように1本発明によれば、ラインメモリへの
画データ書込時に、連続白情報をブロック単位に記憶し
ておき、後でラインメモリ中の画データを読出して変化
点を検出する際に連続臼カ示すれているブロックに対し
ては変化点検出を行う必要がなく、1ラインの変化点検
出処理を高速化できる効果が得られる。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, continuous white information is stored in block units when image data is written to the line memory, and the image data in the line memory is later read out to identify changing points. There is no need to perform change point detection for blocks in which consecutive milling points are shown when detecting the change point, and the effect of speeding up the change point detection process for one line can be obtained.

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

第1図は本発明の一実施例を示すブロックRI Fy。 図%@2図〜第5図は本発明による一実@列の動作説明
図である。 1・・・ラインメそり、2・・・判定回路、3・・・4
ビツトシフトレジスタ、4・・・エンコーダ、5・・・
変化点検出器 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部 第1N 1ライシ/+滓i成′ : 白520ヒ゛、ト、、@、
256ヒ゛ウド 、 白248こ゛1ト第2図 1シデータII       B+         
  82          83         
  B4第3図
FIG. 1 is a block RI Fy showing one embodiment of the present invention. Figures 2 to 5 are explanatory diagrams of the operation of a single column according to the present invention. 1... Line measurement, 2... Judgment circuit, 3... 4
Bit shift register, 4...Encoder, 5...
Changing Point Detector Patent Applicant NEC Corporation Representative Patent Attorney Yutabe Kumagai 1N 1 Raishi/+Silage: White 520H, To, @,
256 windows, 1 white 248 pieces Fig. 2 1 Sidata II B+
82 83
B4 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1ライン分の画データを記憶するラインメモリと、該ラ
インメモリ中の画データについてnビット単位に全白か
否かを該ラインメモリへの書込時に判定しnビット毎に
フラグ情報として1ライン分出力する判定回路と、該判
定回路からの出力情報を順次記憶し出力するmビットレ
ジスタと、該mビットレジスタのmビット出力をプライ
オリティエンコードし連続白ビット長を示す信号を出力
するエンコーダ回路と、該エンコーダ回路の出力により
指定される連続白ビット長を初期値として1ライン分の
画データの変化点を検出する変化点検出器とを有するこ
とを特徴とする変化点検出回路。
A line memory that stores image data for one line, and determines whether or not the image data in the line memory is completely white in units of n bits when writing to the line memory, and stores one line as flag information for each n bit. an m-bit register that sequentially stores and outputs the output information from the determination circuit; and an encoder circuit that priority-encodes the m-bit output of the m-bit register and outputs a signal indicating the continuous white bit length. , and a change point detector for detecting a change point in one line of image data using a continuous white bit length specified by the output of the encoder circuit as an initial value.
JP13783587A 1987-05-31 1987-05-31 Change point detecting circuit Pending JPS63301677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13783587A JPS63301677A (en) 1987-05-31 1987-05-31 Change point detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13783587A JPS63301677A (en) 1987-05-31 1987-05-31 Change point detecting circuit

Publications (1)

Publication Number Publication Date
JPS63301677A true JPS63301677A (en) 1988-12-08

Family

ID=15207940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13783587A Pending JPS63301677A (en) 1987-05-31 1987-05-31 Change point detecting circuit

Country Status (1)

Country Link
JP (1) JPS63301677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7633650B2 (en) * 2003-08-08 2009-12-15 Ricoh Company, Ltd. Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53128214A (en) * 1977-04-15 1978-11-09 Toshiba Corp Encoding transmission device for facsimile signal
JPS61125283A (en) * 1984-11-20 1986-06-12 Mitsubishi Electric Corp Decoding device of modified hafman code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53128214A (en) * 1977-04-15 1978-11-09 Toshiba Corp Encoding transmission device for facsimile signal
JPS61125283A (en) * 1984-11-20 1986-06-12 Mitsubishi Electric Corp Decoding device of modified hafman code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7633650B2 (en) * 2003-08-08 2009-12-15 Ricoh Company, Ltd. Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection

Similar Documents

Publication Publication Date Title
US4051457A (en) System for generating a character pattern
JPS59178077A (en) Method for compressing data of binary picture
US4955061A (en) Method and apparatus for processing an image signal
KR850002905A (en) Raster scanning digital display system
JPS60140980A (en) Method and device for encoding signal representing flow of digital data group
JPS63301677A (en) Change point detecting circuit
KR100529807B1 (en) How to convert a sequence of m-bit information words into a modulated signal, record carrier generation method, coding device, decoding device, recording device, reading device, signal and record carrier
JPS5888971A (en) Encoding system for picture signal
JPS6362151B2 (en)
JPS6329472B2 (en)
JP2687926B2 (en) Code decoder
JPS5856872B2 (en) Expanded character pattern encoder
JP2595900B2 (en) Change point coordinate detection device for binary image data
JPS6341271B2 (en)
JP2556047B2 (en) Image information coding device
JPH04270569A (en) Data compression system for picture processor
JP2774488B2 (en) Image code decoding device
JP2774489B2 (en) Image code decoding device
JPS61251275A (en) Processing circuit for picture signal
JPS60236369A (en) Picture signal coding system
JP3127029B2 (en) Image information encoding device
JP2757716B2 (en) Huffman code decoding circuit
JPS6128276A (en) Decoding circuit
JPH0418686A (en) Picture processing method
JPS6028371A (en) Data storage system