JPS6366113B2 - - Google Patents

Info

Publication number
JPS6366113B2
JPS6366113B2 JP5742080A JP5742080A JPS6366113B2 JP S6366113 B2 JPS6366113 B2 JP S6366113B2 JP 5742080 A JP5742080 A JP 5742080A JP 5742080 A JP5742080 A JP 5742080A JP S6366113 B2 JPS6366113 B2 JP S6366113B2
Authority
JP
Japan
Prior art keywords
image signal
pixels
compression
input
signal
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
Application number
JP5742080A
Other languages
Japanese (ja)
Other versions
JPS56154875A (en
Inventor
Takao Oomachi
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 JP5742080A priority Critical patent/JPS56154875A/en
Publication of JPS56154875A publication Critical patent/JPS56154875A/en
Publication of JPS6366113B2 publication Critical patent/JPS6366113B2/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
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • H04N1/415Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information in which the picture-elements are subdivided or grouped into fixed one-dimensional or two-dimensional blocks

Landscapes

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

Description

【発明の詳細な説明】 本発明はどのような1ラインの長さ(1走査線
内の画素数)を有する画像信号(白画素と黒画素
よりなる2値画像、多値画像、あるいはカラー画
像)に対しても圧縮処理を行なう事ができる画像
信号圧縮装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is applicable to image signals having any line length (number of pixels in one scanning line) (binary image consisting of white pixels and black pixels, multivalue image, or color image). The present invention relates to an image signal compression device that can also perform compression processing on images.

画像圧縮装置にはフアクシミリのように画像入
力装置(スキヤナー等)と一体化している形のも
のと、画像処理システムの中でコンピユータとつ
ながつている形のものなどがある。従来のフアク
シミリのように画像入力装置の一走査線の長さが
固定のものに対しては、その中に組み込まれてい
る画像圧縮装置の圧縮ブロツク長(圧縮装置が圧
縮符号化を施す1ブロツク又は1ラインの画素
数)も固定で問題はなかつた。しかし画像入力装
置の一走査線の長さを可変にでき、文書や図面の
サイズに従つて入力画像信号の1ブロツク画素数
(1ラインの画素数あるいは1ラインの中の一部
をとり出した場合の画素数)を変えられるように
した場合には、画像圧縮装置も圧縮ブロツク長が
可変になるものが必要となる。一方画像処理シス
テムなどは取り扱う画像の大きさが一定ではな
く、またある画像の一部分だけを取り出して圧縮
を施す事も行なわれる。よつてこのようなシステ
ムにつながる画像圧縮装置としては圧縮ブロツク
長が可変であり、任意の1ブロツク画素数を有す
る画像を圧縮できる事が要求される。しかしこの
圧縮ブロツク長を入力画像信号の1ブロツク画素
数に合わせて可変長とした場合、圧縮装置の構成
が複雑になる。
Image compression devices include those that are integrated with an image input device (such as a scanner), such as a facsimile, and those that are connected to a computer in an image processing system. For image input devices that have a fixed length of one scanning line, such as a conventional facsimile, the compression block length of the image compression device built into the device (the length of one block that the compression device compresses and encodes) (or the number of pixels per line) was also fixed and there was no problem. However, the length of one scanning line of an image input device can be made variable, and the number of pixels in one block of the input image signal (the number of pixels in one line or a part of one line can be extracted) depending on the size of the document or drawing. If it is possible to change the number of pixels in the image, the image compression device will also need to have a variable compression block length. On the other hand, in image processing systems, the size of images handled is not constant, and only a portion of a certain image is extracted and compressed. Therefore, an image compression apparatus connected to such a system is required to have a variable compression block length and be capable of compressing an image having an arbitrary number of pixels per block. However, if the compression block length is made variable according to the number of pixels in one block of the input image signal, the configuration of the compression device becomes complicated.

本発明の目的は、任意の1ブロツク画素数を有
する入力画像信号に対する圧縮処理を固定の圧縮
ブロツク長をもつ簡単な構成で、かつ入力画像信
号の1ブロツク画素数に合わせて圧縮ブロツク長
を可変にした場合とほとんど同じ圧縮効率をもつ
画像信号圧縮装置を提供する事にある。
An object of the present invention is to perform compression processing on an input image signal having an arbitrary number of pixels in one block with a simple configuration having a fixed compression block length, and to make the compression block length variable according to the number of pixels in one block of the input image signal. It is an object of the present invention to provide an image signal compression device that has almost the same compression efficiency as the image signal compression device.

本発明の画像信号圧縮装置は、1ブロツクL画
素の入力画像信号に対し、画素数が圧縮ブロツク
長M(但しL≦Mとする)に一致するように(M
−L)個の画素を付加する画素信号付加手段と、
前記画素信号付加手段から出力されるM個の画素
を圧縮し圧縮符号化データを出力する圧縮手段か
ら構成される。
The image signal compression device of the present invention compresses an input image signal of L pixels per block so that the number of pixels matches the compression block length M (L≦M).
- pixel signal adding means for adding L) pixels;
It is comprised of a compression means for compressing M pixels outputted from the pixel signal adding means and outputting compressed encoded data.

以下本発明について実施例を示す図面を参照し
て説明する。まず画像信号圧縮装置について説明
を行なう。
The present invention will be described below with reference to drawings showing embodiments. First, the image signal compression device will be explained.

第1図は本発明の画像信号圧縮装置の基本構成
を示すブロツク図である。入力画像信号1は画像
入力装置や画像処理システム等から出力される1
ブロツクL画素の画像信号である。Lは例えば
A4サイズを8本/mmでスキヤンしたフアクシミ
リの場合は1728になる。画素信号付加部2では入
力画像信号1に対して、画素数が圧縮部4の圧縮
ブロツク長M(例えば2048)に一致するように
(M−L)個の画素を付加し、合計M画素の画像
信号3を圧縮部4へ送る。但し、M≧Lとする。
圧縮部4は圧縮ブロツク長に一致したM画素の画
像信号3に対して圧縮処理を施し、圧縮符号化デ
ータ5を出力する。この基本構成に対して、画素
信号付加部2の構成例が多種考えられるので以下
にその実施例を示す。
FIG. 1 is a block diagram showing the basic configuration of an image signal compression apparatus according to the present invention. Input image signal 1 is output from an image input device, image processing system, etc.
This is an image signal of block L pixels. For example, L is
In the case of a facsimile scanned at A4 size at 8 lines/mm, it will be 1728. The pixel signal addition section 2 adds (ML) pixels to the input image signal 1 so that the number of pixels matches the compression block length M (for example, 2048) of the compression section 4, and adds a total of M pixels. The image signal 3 is sent to the compression section 4. However, M≧L.
The compression unit 4 performs compression processing on the image signal 3 of M pixels that matches the compression block length, and outputs compressed encoded data 5. With respect to this basic configuration, various configuration examples of the pixel signal adding section 2 can be considered, and examples thereof will be shown below.

はじめに入力画像信号が複数ブロツク連続して
入力する場合を除き、1つのブロツクのみ入力す
る場合を考え、2つの実施例を説明する。
First, two embodiments will be described by considering the case where only one block of the input image signal is input, excluding the case where a plurality of blocks of input image signals are input consecutively.

第2図は本発明の画像信号圧縮装置の第1の実
施例を示すブロツク図である。構成は計数部6、
クロツク発生部7、オアー回路8、画信号ゲート
9、圧縮部4からなり、信号として入力画像信号
1、画信号クロツク10、M画素の画像信号3、
圧縮符号化データ5がある。次に動作を説明す
る。入力画像信号1は1ブロツク分L画素の信号
で画信号ゲート9を通して圧縮部4へ送られ、画
信号クロツク10は入力画像信号1に同期したク
ロツクでありオアー回路8を通して圧縮部4へ送
られる。画信号ゲート9は入力画像信号1が圧縮
部4へ送られている間は開いている。計数部6で
は画信号クロツク10のクロツク数を計数しLに
達つした時点でクロツク発生部7と画信号ゲート
9へ制御信号を送る。クロツク発生部7ではこの
制御信号を受けとると、圧縮部4の圧縮ブロツク
長Mと入力画像信号1の画素数Lとの差(M−
L)個のクロツクを発生する。この(M−L)個
のクロツクはオアー回路8を通して圧縮部4へ送
られるので、圧縮部へは画信号クロツクと合わせ
てM個のクロツクが送られる。画信号ゲート9は
計数部6から制御信号を受け取るとゲートを閉じ
て、圧縮部4へは固定値を送出する。その結果圧
縮部4へ送られるM画素の画像信号3は、最初の
L画素は入力画像信号1であり、残りの(M−
L)画素は固定値となる。圧縮部4は圧縮ブロツ
ク長に一致したM画素の画像信号3に対し圧縮処
理を施し圧縮符号化データ5を出力する。画信号
ゲート9の出力する固定値は圧縮部4における圧
縮効率が高くなるように選ぶ。入力画像信号1が
フアクシミリ信号のように白・黒の2値信号の場
合には固定値を白にした方がよい。これは一般に
フアクシミリ信号の場合1ラインの最後は白にな
る事が多く、圧縮部4における圧縮符号化方式と
してランレングス符号化を用いた場合には最後の
白ランの長さが少し長くなるだけでランの個数は
変わらない。そのため圧縮符号化効率は、圧縮ブ
ロツク長を可変にし入力画像信号1のブロツク画
素数Lと同じにした場合と比べてほとんど変わら
なくなる。もしランレングス符号化で圧縮ブロツ
クの最後のランを省いて、符号化しない方式の場
合には圧縮ブロツク長を可変にした時とまつたく
同じ圧縮符号化効率が得られる。また本実施例に
おいては計数部6においてL画素の計数を行う事
により入力画像信号の終了を検知しているが、1
ブロツクに対する同期信号(位相信号)を受けと
り、それによつて終了を検知する事もできる。
FIG. 2 is a block diagram showing a first embodiment of the image signal compression apparatus of the present invention. The composition is counting part 6,
It consists of a clock generation section 7, an OR circuit 8, an image signal gate 9, and a compression section 4, and receives as signals an input image signal 1, an image signal clock 10, an image signal 3 of M pixels,
There is compressed encoded data 5. Next, the operation will be explained. The input image signal 1 is a signal of L pixels for one block and is sent to the compression section 4 through the image signal gate 9, and the image signal clock 10 is a clock synchronized with the input image signal 1 and is sent to the compression section 4 through the OR circuit 8. . The image signal gate 9 is open while the input image signal 1 is being sent to the compression section 4. The counting section 6 counts the number of clocks of the picture signal clock 10, and when it reaches L, sends a control signal to the clock generating section 7 and the picture signal gate 9. When the clock generating section 7 receives this control signal, it calculates the difference (M-) between the compression block length M of the compression section 4 and the number of pixels L of the input image signal 1.
L) clocks are generated. These (ML) clocks are sent to the compression unit 4 through the OR circuit 8, so M clocks are sent to the compression unit together with the image signal clock. When the image signal gate 9 receives the control signal from the counting section 6, it closes the gate and sends a fixed value to the compression section 4. As a result, in the image signal 3 of M pixels sent to the compression unit 4, the first L pixels are the input image signal 1, and the remaining (M-
L) Pixel has a fixed value. The compression unit 4 performs compression processing on the image signal 3 of M pixels matching the compression block length and outputs compressed encoded data 5. The fixed value output by the image signal gate 9 is selected so that the compression efficiency in the compression section 4 is high. If the input image signal 1 is a binary signal of white and black, such as a facsimile signal, it is better to set the fixed value to white. Generally speaking, in the case of facsimile signals, the end of one line is often white, and when run-length encoding is used as the compression encoding method in the compression unit 4, the length of the final white run becomes slightly longer. The number of runs does not change. Therefore, the compression coding efficiency remains almost unchanged compared to the case where the compression block length is made variable and the number of block pixels L of the input image signal 1 is made the same. If the last run of a compressed block is omitted in run-length encoding and is not encoded, exactly the same compression encoding efficiency as when the compression block length is made variable can be obtained. Furthermore, in this embodiment, the end of the input image signal is detected by counting L pixels in the counting section 6;
It is also possible to receive a synchronization signal (phase signal) for a block and thereby detect the end.

第3図は本発明の画像信号圧縮装置の第2の実
施例を示すブロツク図である。この実施例も画像
信号が1ブロツクのみ入力する場合を考えてい
る。構成は入力バツフア11、計数部6、画信号
ゲート9、圧縮部4からなり、信号として入力画
像信号1、画信号クロツク10、M画素の画像信
号3、読み出しクロツク12、圧縮符号化データ
5がある。次に動作を説明する。1ブロツクL画
素の入力画像信号1は画信号クロツク10によつ
て入力バツフア11に書き込まれる。入力画像信
号1をL画素全部入力バツフア11に書き込み終
わると、圧縮部4はM個の読み出しクロツク12
を入力バツフア11に送り入力画像信号をはじめ
から読み出す。計数部6は読み出しクロツク12
を計数し、その数がLになつた時点で画信号ゲー
ト9に制御信号を送る。画信号ゲート9は入力画
像信号が圧縮部4へ送られている間は開いている
が、計数部6から制御信号を受けると閉じて圧縮
部4へ固定値を送る。その結果M画素の画像信号
3は、はじめのL画素は入力画像信号であり、残
りの(M−L)画素は固定値になる。圧縮部4で
はM画素の画像信号3に対し圧縮処理を施し、圧
縮符号化データ5を出力する。
FIG. 3 is a block diagram showing a second embodiment of the image signal compression apparatus of the present invention. This embodiment also considers the case where only one block of image signals is input. The configuration consists of an input buffer 11, a counting section 6, an image signal gate 9, and a compression section 4, and the signals include an input image signal 1, an image signal clock 10, an image signal 3 of M pixels, a readout clock 12, and compressed encoded data 5. be. Next, the operation will be explained. An input image signal 1 of one block of L pixels is written into an input buffer 11 by an image signal clock 10. When all L pixels of the input image signal 1 have been written into the input buffer 11, the compression unit 4 outputs M readout clocks 12.
is sent to the input buffer 11 and the input image signal is read from the beginning. The counting section 6 is connected to the readout clock 12.
is counted, and when the number reaches L, a control signal is sent to the image signal gate 9. The image signal gate 9 is open while the input image signal is being sent to the compression section 4, but when it receives a control signal from the counting section 6, it closes and sends a fixed value to the compression section 4. As a result, in the image signal 3 of M pixels, the first L pixels are input image signals, and the remaining (ML) pixels have fixed values. The compression unit 4 performs compression processing on the image signal 3 of M pixels and outputs compressed encoded data 5.

以上、入力画像信号として1つのブロツクのみ
入力する場合について実施例を2つ説明したが、
次に画像信号が複数ブロツク入力する場合につい
て説明する。複数ブロツクの信号が入力する場
合、1つのブロツクの画像信号が入力されてから
次のブロツクの信号が入力されるまでの間に(M
−L)画素の信号を付加し圧縮処理を施すのに十
分な時間間隔があいている時には、前記の第1お
よび第2の実施例を用いても圧縮を行う事はでき
るが、そのような時間間隔がない場合には第1お
よび第2の実施例を用いる事はできない。以下画
像信号がNブロツク連続して入力する場合に対す
る画像信号圧縮装置の実施例を説明する。
Two embodiments have been described above regarding the case where only one block is input as the input image signal.
Next, a case where multiple blocks of image signals are input will be described. When multiple blocks of signals are input, the period from when the image signal of one block is input until the signal of the next block is input (M
-L) When there is a sufficient time interval to add pixel signals and perform compression processing, compression can be performed using the first and second embodiments described above, but such If there is no time interval, the first and second embodiments cannot be used. An embodiment of the image signal compression apparatus for the case where N blocks of image signals are input continuously will be described below.

第4図は本発明の画像信号圧縮装置の第3の実
施例を示すブロツク図である。構成は入力バツフ
ア11、アドレスコントローラ13、計数部6、
画信号ゲート9、圧縮部4からなり、信号として
入力画像信号1、画信号クロツク10、M画素の
画像信号3、読み出しクロツク12、圧縮符号化
データ5がある。
FIG. 4 is a block diagram showing a third embodiment of the image signal compression apparatus of the present invention. The configuration includes an input buffer 11, an address controller 13, a counting section 6,
It consists of an image signal gate 9 and a compression section 4, and has an input image signal 1, an image signal clock 10, an image signal 3 of M pixels, a readout clock 12, and compressed encoded data 5 as signals.

次に動作を説明する。1ブロツクL画素の入力
画像信号がNブロツク連続して入力すると、この
信号は、画信号クロツク10によつて入力バツフ
ア11の初期アドレス(例えばアドレス0)から
書き込まれる。計数部6では画信号クロツク10
を計数し計数値がLに達つするごとにアドレスコ
ントローラ13に制御信号を送る。アドレスコン
トローラ13は制御信号を受けとると、圧縮ブロ
ツク長MとLの差(M−L)だけ入力バツフア1
1の書き込みアドレスをとばさせる。その結果入
力バツフア11へはL画素の入力画像信号が書き
込まれるごとにアドレスが(M−L)だけとび、
その次からまた入力画素信号が書き込まれる。第
5図に入力バツフア11の画像信号記憶領域の一
例を示す。なお、斜線にて示す部分は画像信号が
記憶されている領域を示すものである。Nブロツ
クの入力画像信号1がすべて入力バツフア11に
書き込まれた後、圧縮部4は読み出しクロツク1
2をM個づつNブロツク分入力バツフア11へ送
り、入力バツフア11の初期アドレスから画像信
号を読み出す。この時点では計数部6は読み出し
クロツク12をM個単位で繰り返し計数し、計数
値がLを越えてからMになるまでの(M−L)個
のクロツクを計数している間は画信号ゲート9に
制御信号を送る。画信号ゲート9では計数部6か
ら制御信号を受けとつている間だけゲートを閉じ
圧縮部4へ固定値の信号を送るが、その時以外は
ゲートを開く。その結果画信号ゲート9は入力バ
ツフア11に書き込んだ1ブロツクL画素の画像
信号を読み出している間は、信号をそのまま圧縮
部4へ送つているが、入力バツフア11への画像
信号書き込み時にとばした(M−L)個のアドレ
スの内容を読み出している間は固定値を圧縮部4
へ送るという動作を繰り返す。よつてM画素の画
像信号3はそれぞれL画素の入力画像信号と(M
−L)画素の固定値信号で構成され、圧縮部4は
この信号をNブロツク分圧縮し圧縮符号化データ
5を出力する。
Next, the operation will be explained. When an input image signal of one block of L pixels is inputted for N blocks consecutively, this signal is written into the input buffer 11 from the initial address (for example, address 0) by the image signal clock 10. In the counting section 6, the image signal clock 10
is counted, and a control signal is sent to the address controller 13 every time the counted value reaches L. When the address controller 13 receives the control signal, the address controller 13 inputs the input buffer 1 by the difference (ML) between the compression block lengths M and L.
1 write address is skipped. As a result, each time an input image signal of L pixels is written to the input buffer 11, the address jumps by (ML).
Next, the input pixel signal is written again. FIG. 5 shows an example of the image signal storage area of the input buffer 11. Note that the shaded area indicates the area where the image signal is stored. After all N blocks of input image signals 1 are written to the input buffer 11, the compression unit 4 outputs the readout clock 1.
2 is sent to the input buffer 11 in N blocks at a time, and the image signal is read from the initial address of the input buffer 11. At this point, the counting unit 6 repeatedly counts the readout clocks 12 in units of M, and while counting (ML) clocks from when the count value exceeds L until it reaches M, the image signal gate is Send a control signal to 9. The image signal gate 9 closes only while receiving a control signal from the counting section 6 and sends a fixed value signal to the compression section 4, but opens at other times. As a result, while the image signal gate 9 is reading out the image signal of one block of L pixels written to the input buffer 11, the signal is sent as is to the compression unit 4, but when the image signal is written to the input buffer 11, it is skipped. While reading the contents of (ML) addresses, the fixed value is stored in the compressor 4.
Repeat the process of sending to. Therefore, the image signal 3 of M pixels is the input image signal of L pixels and (M
-L) It is composed of a fixed value signal of pixels, and the compression unit 4 compresses this signal by N blocks and outputs compressed encoded data 5.

なお本実施例では入力バツフア11に対してN
ブロツク分のデータの書き込みと読み出しを分け
て行なつているが、書き込みと読み出しのアドレ
スカウンターを別にし、タイミングスロツトを分
けて並行して動作できる様にすれば、圧縮処理を
入力バツフア11への画像信号の書き込みから遅
れてスタートする事により、画像信号の入力と圧
縮処理を同時に行う事もできる。ただしこの場合
は計数部6を画信号クロツク10の計数部と読出
しクロツク12の計数部に分ける必要がある。
Note that in this embodiment, N for the input buffer 11 is
Writing and reading of data for a block are performed separately, but if the address counters for writing and reading are separated and the timing slots are separated so that they can operate in parallel, the compression process can be transferred to the input buffer 11. By starting with a delay from the writing of the image signal, it is possible to input the image signal and perform compression processing at the same time. However, in this case, it is necessary to divide the counting section 6 into a counting section for the image signal clock 10 and a counting section for the readout clock 12.

第6図は本発明の画像信号圧縮装置の第4の実
施例を示すブロツク図である。本実施例も入力画
像信号がNブロツク連続して入力する場合を考え
ている。構成は入力バツフア11、計数部6、画
信号ゲート9、クロツクゲート14、圧縮部4か
らなり、信号として入力画像信号1、画信号クロ
ツク10、M画素の画像信号3、読み出しクロツ
ク12、圧縮符号化データ5がある。
FIG. 6 is a block diagram showing a fourth embodiment of the image signal compression apparatus of the present invention. This embodiment also considers the case where N blocks of input image signals are input continuously. The configuration consists of an input buffer 11, a counting section 6, an image signal gate 9, a clock gate 14, and a compression section 4, and the signals include an input image signal 1, an image signal clock 10, an image signal 3 of M pixels, a readout clock 12, and compression encoding. There is data 5.

1ブロツクL画素の入力画像信号1がNブロツ
ク分入力すると、画信号クロツク10によつて入
力バツフア11の初期アドレス(例えばアドレス
0)からの連続したアドレス領域に入力画像信号
1がすべて書き込まれる。入力バツフア11の画
像信号記憶領域の一例を第7図に示す。入力バツ
フア11にNブロツク分の入力画像信号が書き込
まれると、圧縮部4は読み出しクロツク12をM
個づつNブロツク分入力バツフア11へ送り、入
力バツフア11の初期アドレスから画像信号を読
み出す。計数部6は読み出しクロツク12をM個
単位で繰り返し計数し、計数値がLを越えてから
Mになるまでの(M−L)個のクロツクを計数し
ている間はクロツクゲート14と画信号ゲート9
に制御信号を送る。クロツクゲート14では計数
部6から制御信号が送られている間のみゲートを
閉じ、読み出しクロツク12を入力バツフア11
へ送らない。画信号ゲート9は計数部6から制御
信号が送られている間のみゲートを閉じ、圧縮部
4へ固定値の信号を送る。その結果圧縮部4から
M個の読み出しクロツクが出力されると、はじめ
のL個に対しては入力バツフア11のアドレスは
順番に増加し、蓄積された入力画像信号が圧縮部
4へ送られるが、残りの(M−L)個に対しては
入力バツフア11のアドレスは変化せず、圧縮部
4へは固定値の信号が送られる。よつてM画素の
画像信号13はそれぞれL画素の画像信号と(M
−L)画素の固定値信号で構成され、圧縮部4は
この信号をNブロツク分圧縮し、圧縮付号化デー
タ5を出力する。
When the input image signal 1 of one block of L pixels is input for N blocks, the input image signal 1 is all written into the continuous address area from the initial address (for example, address 0) of the input buffer 11 by the image signal clock 10. An example of the image signal storage area of the input buffer 11 is shown in FIG. When N blocks of input image signals are written to the input buffer 11, the compression unit 4 changes the read clock 12 to M.
The image signal is sent to the input buffer 11 in N blocks at a time, and the image signal is read out from the initial address of the input buffer 11. The counting section 6 repeatedly counts the readout clocks 12 in units of M, and while counting (ML) clocks from when the count value exceeds L until it reaches M, the clock gate 14 and the image signal gate are 9
send a control signal to. The clock gate 14 closes only while the control signal is being sent from the counter 6, and the read clock 12 is connected to the input buffer 11.
I don't send it to. The image signal gate 9 closes only while the control signal is being sent from the counting section 6, and sends a fixed value signal to the compression section 4. As a result, when M read clocks are output from the compression section 4, the addresses of the input buffer 11 increase in order for the first L clocks, and the accumulated input image signals are sent to the compression section 4. , for the remaining (ML) addresses, the addresses of the input buffer 11 do not change, and fixed value signals are sent to the compression unit 4. Therefore, the image signal 13 of M pixels is the image signal of L pixels and (M
-L) consists of a fixed value signal of pixels, and the compression unit 4 compresses this signal by N blocks and outputs compressed encoded data 5.

本実施例においても、第3の実施例と同様に画
像信号の入力と圧縮処理を並行して行わせる事も
できる。
In this embodiment as well, as in the third embodiment, image signal input and compression processing can be performed in parallel.

以上説明した画像信号圧縮装置の各実施例で
は、圧縮部へ送られるM画素の画像信号は、L画
素の画像信号の次に(M−L)画素の固定値信号
を付加した形になつているが、この(M−L)画
素の付加位置は対応する画像信号伸張装置との間
で規約を設けておけば、任意に選ぶ事もできる。
In each of the embodiments of the image signal compression device described above, the image signal of M pixels sent to the compression section is in the form of the image signal of L pixels, followed by the fixed value signal of (ML) pixels. However, the position at which the (ML) pixel is added can be arbitrarily selected if a convention is established with the corresponding image signal expansion device.

次に画像信号伸張装置に関して説明を行なう。 Next, the image signal expansion device will be explained.

第8図は本発明の画像信号圧縮装置に対応する
画像信号伸張装置の基本構成を示すブロツク図で
ある。圧縮符号化データ20は1ブロツクL画素
の画像信号に対し本発明の画像信号圧縮装置によ
り圧縮処理を施した圧縮ブロツク長Mの符号化デ
ータである。伸張部21では圧縮符号化データ2
0を入力し、伸張処理を施した後M画素の伸張信
号22を出力する。信号抽出部23ではこのM画
素の中から圧縮を施す前の1ブロツクL画素の出
力画像信号24を抽出する。この基本構成に対し
て、信号抽出部の構成例がいくつか考えられるの
で、以下にその実施例を示す。
FIG. 8 is a block diagram showing the basic configuration of an image signal expansion device corresponding to the image signal compression device of the present invention. The compressed encoded data 20 is encoded data of compressed block length M, which is obtained by performing compression processing on an image signal of one block of L pixels by the image signal compression apparatus of the present invention. In the decompression unit 21, compressed encoded data 2
0 is input, and after decompression processing is performed, an expanded signal 22 of M pixels is output. The signal extraction unit 23 extracts an output image signal 24 of one block of L pixels before compression from among the M pixels. With respect to this basic configuration, several configuration examples of the signal extraction section can be considered, and examples thereof will be shown below.

はじめに1ブロツク分のみの圧縮符号化データ
20を入力しL画素の出力画像信号を送出する場
合を考える。
First, consider the case where only one block of compressed encoded data 20 is input and an output image signal of L pixels is sent out.

第9図は画像信号伸張装置の第1の実施例を示
すブロツク図である。構成は伸張部21、出力バ
ツフア25、アドレスコントローラ26からな
り、信号としては圧縮符号化データ20、伸張信
号22、書き込みクロツク27、出力画像信号2
4、画信号クロツク28がある。
FIG. 9 is a block diagram showing a first embodiment of the image signal expansion device. The configuration consists of an expansion section 21, an output buffer 25, and an address controller 26, and the signals include compressed encoded data 20, expansion signal 22, write clock 27, and output image signal 2.
4. There is an image signal clock 28.

次に動作を説明する。伸張部21では圧縮符号
化データ20を入力し伸張処理を施した後圧縮ブ
ロツク長Mに等しい画素数の伸張信号22を出力
する。このM画素の伸張信号22はL画素の画像
信号と(M−L)画素の固定値信号からなり伸張
部から出力される書き込みクロツク27により出
力バツフア25に書き込まれる。この書き込みが
終了するとアドレスコントローラ26によつて出
力バツフア25に蓄積されているM画素の信号の
中で実際の1ブロツクL画素の画像信号が記憶さ
れている初期アドレスに出力バツフア25のアド
レスが設定される。この初期アドレスは画像信号
圧縮装置との間の規約により定められるが、アド
レス0とすると装置構成が簡単になる。この初期
アドレス設定が完了した後画信号クロツク28が
L画素分入力すると、出力バツフア25の初期ア
ドレスから1ブロツク分L画素の伸張した出力画
像信号24が読み出される。
Next, the operation will be explained. The decompression unit 21 inputs compressed encoded data 20, performs decompression processing, and then outputs a decompressed signal 22 having the number of pixels equal to the compressed block length M. This expanded signal 22 for M pixels is composed of an image signal for L pixels and a fixed value signal for (ML) pixels, and is written into the output buffer 25 by a write clock 27 output from the expansion section. When this writing is completed, the address controller 26 sets the address of the output buffer 25 to the initial address where one actual block of L pixel image signals is stored among the M pixel signals stored in the output buffer 25. be done. This initial address is determined by the agreement with the image signal compression device, but setting the address to 0 simplifies the device configuration. After this initial address setting is completed, when the image signal clock 28 is input for L pixels, the output image signal 24 expanded by one block of L pixels from the initial address of the output buffer 25 is read out.

次に圧縮符号化データがNブロツク分続けて入
力する場合について説明する。この場合1つのブ
ロツクに対する圧縮符号化データが入力してから
次のブロツクに対する圧縮符号化データが入力さ
れるまでの間に1ブロツクに対する伸張処理とL
画素の出力画像信号を抽出して送出すのに十分な
時間々隔があいている時には前記の第1の実施例
を用いても伸張を行う事はできるが、そのような
時間々隔がない場合には以下に述べる実施例を用
いなければならない。
Next, a case will be explained in which N blocks of compressed encoded data are continuously input. In this case, the decompression processing for one block and the L
When there is a sufficient time interval for extracting and transmitting the output image signals of the pixels, decompression can be performed using the first embodiment, but when there is no such time interval. In this case, the embodiment described below must be used.

第10図は画像信号伸張装置の第2の実施例を
示すブロツク図である。構成は伸張部21、出力
バツフア25、アドレスコントローラ26、計数
部29からなり、信号としては圧縮符号化データ
20、伸張信号22、書き込みクロツク27、出
力画像信号24、画信号クロツク28がある。次
に動作を説明する。圧縮符号化データ20がNブ
ロツク分入力すると、伸張部21は各ブロツクに
対して伸張処理を施しNブロツク分の伸張信号2
2を書き込みクロツク27によつて出力バツフア
25のアドレス0から連続したアドレスに書き込
む。M画素の伸張信号22の内最初のL画素が画
像信号で、残りの(M−L)画素が固定値信号の
場合、出力バツフア25内の画像信号記憶領域は
第5図と等しくなる。Nブロツク分の伸張処理が
施された後、出力バツフア25のアドレスは0に
戻され出力バツフア25に対して画信号クロツク
28が入力すると出力画像信号24が順次読み出
されていく。計数部29は画信号クロツク28を
計数し、L個カウントするごとにアドレスコント
ローラ26にアドレス制御信号を送る。アドレス
コントローラ26ではアドレス制御信号を計数部
27から受け取るごとに出力バツフアのアドレス
を(M−L)だけ飛ばして次の画像信号の蓄積さ
れているアドレスに設定する。この操作によりL
画素の画像信号が読み出された後(M−L)画素
の画像信号以外のデータを読みとばし、次の画像
信号の部分を読み出す事になり、最終的にNブロ
ツク分の画像信号のみが出力画像信号24として
送出される事になる。
FIG. 10 is a block diagram showing a second embodiment of the image signal expansion device. The configuration includes an expansion section 21, an output buffer 25, an address controller 26, and a counting section 29, and the signals include compressed encoded data 20, expansion signal 22, write clock 27, output image signal 24, and image signal clock 28. Next, the operation will be explained. When N blocks of compressed encoded data 20 are input, the decompression unit 21 performs decompression processing on each block and generates N blocks of decompressed signals 2.
2 is written to successive addresses of the output buffer 25 from address 0 by the write clock 27. When the first L pixels of the expanded signal 22 of M pixels are image signals and the remaining (ML) pixels are fixed value signals, the image signal storage area in the output buffer 25 is equal to that shown in FIG. After N blocks of expansion processing have been performed, the address of the output buffer 25 is returned to 0, and when the image signal clock 28 is input to the output buffer 25, the output image signals 24 are sequentially read out. The counting section 29 counts the image signal clock 28 and sends an address control signal to the address controller 26 every time L clocks are counted. Each time the address controller 26 receives an address control signal from the counting section 27, the address of the output buffer is skipped by (ML) and set to the address where the next image signal is stored. With this operation, L
After the image signal of the pixel is read out (M-L), data other than the image signal of the pixel is read out, and the next image signal part is read out, and finally only the image signal of N blocks is output. It will be sent out as an image signal 24.

第11図は画像信号伸張装置の第3の実施例を
示すブロツク図である。構成は伸張部21、計数
部29、クロツクゲート30、出力バツフア25
からなり、信号としては圧縮符号化データ20、
伸張信号22、書き込みクロツク27、出力画像
信号24、画信号クロツク28がある。圧縮符号
化データ20はNブロツク分連続して入力する。
伸張部21では圧縮符号化データ20に対し圧縮
ブロツクごとに伸張処理を施し、M画素分の伸張
信号22と書き込みクロツク23を送出し出力バ
ツフアのアドレス0から伸張信号22を書き込
む。この伸張信号22の内はじめのL画素が画像
信号であるとする。計数部29では書き込みクロ
ツク27を計数し計数値がLからMになるまでの
(M−L)個のクロツク間隔だけクロツクゲート
30にゲート制御信号を送る操作を繰り返す。ク
ロツクゲート30では通常は書き込みクロツク2
7をそのまま出力バツフアに送るが、計数部29
からゲート制御信号が送られている間はクロツク
を止め出力バツフア25に送らなくする。この結
果出力バツフア25には、はじめの有効なL画素
の画像信号は書き込まれるが残りの(M−L)画
素は書き込まれずNブロツク分の伸張処理が伸張
部21において終了した時点で、出力バツフアの
画像信号記憶領域は第7図と同様に連続した形に
なる。出力バツフアのアドレスが0に戻された後
画信号クロツク28が入力すると、Nブロツク分
の出力画像信号25が連続して読み出され送出さ
れる。
FIG. 11 is a block diagram showing a third embodiment of the image signal expansion device. The configuration includes an expansion section 21, a counting section 29, a clock gate 30, and an output buffer 25.
The signals include compressed encoded data 20,
There are an expansion signal 22, a write clock 27, an output image signal 24, and an image signal clock 28. N blocks of compressed encoded data 20 are input continuously.
The decompression unit 21 performs decompression processing on the compressed encoded data 20 for each compressed block, sends out the decompression signal 22 for M pixels and the write clock 23, and writes the decompression signal 22 from address 0 of the output buffer. It is assumed that the first L pixels of this expanded signal 22 are image signals. The counter 29 counts the write clock 27 and repeats the operation of sending a gate control signal to the clock gate 30 for (ML) clock intervals until the count value changes from L to M. In clock gate 30, write clock 2 is normally
7 is sent as is to the output buffer, but the counter 29
While the gate control signal is being sent from the gate control signal, the clock is stopped and no signal is sent to the output buffer 25. As a result, the image signals of the first valid L pixels are written to the output buffer 25, but the remaining (ML) pixels are not written, and when the expansion process for N blocks is completed in the expansion section 21, the output buffer 25 is written. The image signal storage area is in a continuous form as in FIG. When the image signal clock 28 is input after the address of the output buffer is reset to 0, N blocks of output image signals 25 are successively read out and sent out.

以上説明した第2、第3の画像信号伸張装置の
実施例ではM画素の伸張信号の内はじめのL画素
が有効な画像信号である場合を示したが、このL
画素の画像信号がM画素の伸張データの中で他の
位置にある場合にも、計数部の計数初期点を変更
する事により容易に有効な画像信号のみを取り出
す事ができる。
In the embodiments of the second and third image signal decompression devices described above, the first L pixels of the M pixel decompression signals are valid image signals.
Even when the image signal of a pixel is located at another position in the expanded data of M pixels, only the effective image signal can be easily extracted by changing the initial point of counting of the counting section.

以上構成および動作を説明した画像信号圧縮装
置を用いる事により任意の1ブロツク画素数を有
する画像信号に対する圧縮処理が固定の圧縮ブロ
ツク長をもつ簡単な構成で可能になり、かつ画像
信号の1ブロツク画素数に合わせて圧縮ブロツク
長を可変にした場合とほとんど同じ圧縮効率が実
現できるという効果を有する。
By using the image signal compression device whose configuration and operation have been explained above, it is possible to compress an image signal having an arbitrary number of pixels per block with a simple configuration having a fixed compression block length, and to compress an image signal having an arbitrary number of pixels per block. This has the effect of achieving almost the same compression efficiency as when the compression block length is made variable according to the number of pixels.

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

第1図は本発明の画像信号圧縮装置の基本構成
を示すブロツク図であり、第2図、第3図、第4
図、第6図はそれぞれ本発明の画像信号圧縮装置
の第1、第2、第3、第4の実施例を示すブロツ
ク図である。第5図と第7図はそれぞれ第3およ
び第4の実施例における入力バツフアの内容を示
す図である。第8図は本発明の画像信号圧縮装置
に対応する内画像信号伸張装置の基本構成を示す
ブロツク図であり、第9図、第10図、第11図
は画像信号伸張装置の第1、第2、第3の実施例
を示すブロツク図である。図中の番号はそれぞれ
次のものを示している。 1……入力画像信号、2……画素信号付加部、
3……M画素の画像信号、4……圧縮部、5……
出力圧縮符号化データ、6……圧縮装置の計数
部、7……クロツク発生部、8……オアー回路、
9……画信号ゲート、10……圧縮装置の画信号
クロツク、11……入力バツフア、12……読み
出しクロツク、13……圧縮装置のアドレスコン
トローラ、14……圧縮装置のクロツクゲート、
20……入力圧縮符号化データ、21……伸張
部、22……伸張信号、23……信号抽出部、2
4……出力画像信号、25……出力バツフア、2
6……伸張装置のアドレスコントローラ、27…
…書き込みクロツク、28……伸張装置の画信号
クロツク、29……伸張装置の計数部、30……
伸張装置のクロツクゲート。
FIG. 1 is a block diagram showing the basic configuration of the image signal compression device of the present invention, and FIGS.
6 are block diagrams showing first, second, third and fourth embodiments of the image signal compression apparatus of the present invention, respectively. FIG. 5 and FIG. 7 are diagrams showing the contents of the input buffer in the third and fourth embodiments, respectively. FIG. 8 is a block diagram showing the basic configuration of an inner image signal expansion device corresponding to the image signal compression device of the present invention, and FIGS. 2 is a block diagram showing a third embodiment. The numbers in the figure indicate the following, respectively. 1... Input image signal, 2... Pixel signal addition section,
3...M pixel image signal, 4...Compression section, 5...
Output compression encoded data, 6... Counting section of compression device, 7... Clock generation section, 8... OR circuit,
9...Picture signal gate, 10...Picture signal clock of the compression device, 11...Input buffer, 12...Reading clock, 13...Address controller of the compression device, 14...Clock gate of the compression device,
20... Input compressed encoded data, 21... Expansion section, 22... Expanded signal, 23... Signal extraction section, 2
4... Output image signal, 25... Output buffer, 2
6...address controller of decompression device, 27...
...Write clock, 28...Picture signal clock of the decompression device, 29...Counter of the decompression device, 30...
Stretcher clock gate.

Claims (1)

【特許請求の範囲】[Claims] 1 任意の1ライン画素数Lを有する入力画像信
号をデータ圧縮する画像信号圧縮装置において、
前記任意の1ライン画素数Lの入力画像信号に対
し固定の1ライン画素数M(但しL≦Mとする)
に画素数が一致するように(M−L)個の固定レ
ベル値の画素を付加する画素信号付加手段と、前
記画素信号付加手段から出力される1ラインM画
素の画像信号を圧縮し圧縮符号化データを出力す
る圧縮手段とを備えたことを特徴とする画像信号
圧縮装置。
1. In an image signal compression device that data compresses an input image signal having an arbitrary number of pixels per line L,
A fixed number of pixels in one line M (provided that L≦M) for the above-mentioned arbitrary input image signal with the number of pixels in one line L
a pixel signal addition means for adding (M-L) fixed level value pixels so that the number of pixels matches, and a compression code for compressing the image signal of one line M pixels output from the pixel signal addition means. 1. An image signal compression device comprising: compression means for outputting converted data.
JP5742080A 1980-04-30 1980-04-30 Compression device for picture signal Granted JPS56154875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5742080A JPS56154875A (en) 1980-04-30 1980-04-30 Compression device for picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5742080A JPS56154875A (en) 1980-04-30 1980-04-30 Compression device for picture signal

Publications (2)

Publication Number Publication Date
JPS56154875A JPS56154875A (en) 1981-11-30
JPS6366113B2 true JPS6366113B2 (en) 1988-12-19

Family

ID=13055151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5742080A Granted JPS56154875A (en) 1980-04-30 1980-04-30 Compression device for picture signal

Country Status (1)

Country Link
JP (1) JPS56154875A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10813863B2 (en) 2018-03-29 2020-10-27 The Procter & Gamble Company Oral care compositions for promoting gum health
US10813864B2 (en) 2018-03-29 2020-10-27 The Procter & Gamble Company Oral care compositions for promoting gum health
US10905642B2 (en) 2018-03-29 2021-02-02 The Procter & Gamble Company Oral care compositions for promoting gum health

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10813863B2 (en) 2018-03-29 2020-10-27 The Procter & Gamble Company Oral care compositions for promoting gum health
US10813864B2 (en) 2018-03-29 2020-10-27 The Procter & Gamble Company Oral care compositions for promoting gum health
US10905642B2 (en) 2018-03-29 2021-02-02 The Procter & Gamble Company Oral care compositions for promoting gum health
US10973746B2 (en) 2018-03-29 2021-04-13 The Procter & Gamble Company Oral care compositions for promoting gum health
US10973745B2 (en) 2018-03-29 2021-04-13 The Procter & Gamble Company Oral care compositions for promoting gum health
US10980728B2 (en) 2018-03-29 2021-04-20 The Procter & Gamble Company Oral care compositions for promoting gum health

Also Published As

Publication number Publication date
JPS56154875A (en) 1981-11-30

Similar Documents

Publication Publication Date Title
US4791680A (en) Image data converter
US5504823A (en) Image data partitioning circuit for parallel image decoding system
EP0040025A1 (en) Real time data compression/decompression scheme for facsimile transmission system
US4622585A (en) Compression/decompression system for transmitting and receiving compressed picture information arranged in rows and columns of pixels
JPH05207460A (en) Multiplex transmitter and its system for picture signal
US5095374A (en) Method and apparatus for lossless compression and decompression of image data
US4259693A (en) Device for compressing binary signals
JPH06274612A (en) Image processor
JPS6366113B2 (en)
JPH088647B2 (en) Run-length coding method and apparatus
US6020835A (en) Code decoding apparatus
JP3179588B2 (en) Data encoding apparatus and method
JPS6410153B2 (en)
JP2003189109A (en) Image processor and image processing method, and computer program
JPH10341437A (en) Image processing method and device therefor
EP1233375B1 (en) Image data encoding apparatus and method
KR900007566B1 (en) Picture data converting device
JP2833362B2 (en) Image signal expansion device
KR100571242B1 (en) Camera video compression method
JPS5947914B2 (en) Color image encoding processing method
JPS6132867B2 (en)
JPH06133173A (en) Picture data processing unit
JPS5992674A (en) Encoding circuit
JP2937455B2 (en) Image data compression device and image data decompression device
CN117333559A (en) Image compression method, device, electronic equipment and storage medium