JPH0345018A - Method and apparatus for compressing digital signal group - Google Patents

Method and apparatus for compressing digital signal group

Info

Publication number
JPH0345018A
JPH0345018A JP1180713A JP18071389A JPH0345018A JP H0345018 A JPH0345018 A JP H0345018A JP 1180713 A JP1180713 A JP 1180713A JP 18071389 A JP18071389 A JP 18071389A JP H0345018 A JPH0345018 A JP H0345018A
Authority
JP
Japan
Prior art keywords
digital signal
compression
signal group
change
degree
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.)
Granted
Application number
JP1180713A
Other languages
Japanese (ja)
Other versions
JP2620374B2 (en
Inventor
Yoshihiro Saito
斉藤 祐弘
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.)
Alps Alpine Co Ltd
Original Assignee
Alps 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP18071389A priority Critical patent/JP2620374B2/en
Publication of JPH0345018A publication Critical patent/JPH0345018A/en
Application granted granted Critical
Publication of JP2620374B2 publication Critical patent/JP2620374B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To attain efficient compression in a few compression period by making a length of measuring direction of each compression period unequal corresponding to the degree of a change in a value of an original digital signal group whose value changes in one measuring direction. CONSTITUTION:The apparatus is provided with a change degree arithmetic means 12 calculating the degree of the change in the measuring direction of an original digital signal group whose value changes to one measuring direction, and a compression period length decision means 13 obtaining the measuring direction length of the compression period in response to the degree of a change in the picture data obtained by the arithmetic means. Then the change degree arithmetic means 12 obtains the degree of the change of the original digital signal group in the measuring direction, and the compression period length decision means 13 decides the length of the compression period in response to the degree of change. Thus, each compression digital signal is generated based on each compression period where the measuring direction length is made unequal corresponding to the change degree of the value of the original digital signal group and the compression digital signal group with high compression efficiency corresponding to the change in the value of the original digital signal group with excellent response is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1つの測値方向に対して値が変化する原ディジ
タル信号群を信号数がより少ない圧縮ディジタル信号群
に圧縮するディジタル信号群圧縮方法および装置にll
Qする。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is a digital signal group compression method that compresses an original digital signal group whose value changes with respect to one measurement direction into a compressed digital signal group with a smaller number of signals. Method and Apparatus
Q.

(従来の技術) 一般に、任意の変化量を1つの測値方向に対して値が変
化する原ディジタル信号群に変換し、この原ディジタル
信号群を更に利用する場合の効率向上を図るために、値
の変化の傾向は原ディジタル信号群に対応するが信号数
は原ディジタル信号群の信号数より少ない圧縮ディジタ
ル信号群に圧縮変換することが行なわれている。
(Prior Art) In general, in order to convert an arbitrary amount of change into a group of original digital signals whose values change with respect to one measurement direction, and to improve efficiency when further utilizing this group of original digital signals, Compression conversion is performed into a compressed digital signal group in which the tendency of value changes corresponds to the original digital signal group, but the number of signals is smaller than the number of signals in the original digital signal group.

このようなディジタル信@群を圧縮する例としては、例
えば第10図に示すように、任意の画像1を用紙3に再
生画像1aとしてプリントする場合が挙げられる。
An example of compressing such a digital signal group is when an arbitrary image 1 is printed on paper 3 as a reproduced image 1a, as shown in FIG. 10, for example.

更に説明すると、第10図は、最左部に示した画像1と
文字2とをwI集して最右部に示すように用紙3上に再
生画像1aおよび再生文字2aとしてプリントする場合
を示している。一方の文字2は、キーボード等の文字デ
ータ入力装置4によってディジタル信号化されてホスト
コンピュータ6へ文字データとして入力される。他方の
画像1は、イメージスキャナ等の画像データ入力装置5
によって画像データとして読取られてホストコンビ1−
タロへ入力される。この画像1から読取られる画像デー
タは、画像1の濃淡をその走査線の走査方向に沿って単
位画素毎に測定したディジタル信号の集合からなる原デ
ィジタル信号とされる。この原ディジタル信号をそのま
ま画像1のプリント用に用いると、あまりにも情報量と
して多く、ホストコンピュータ6やプリンタ7のCPU
等の制御装置に大きな負担をかけ、これらを必要以上に
高性能に形成しなければならず、t!4価なものとなっ
てしまう。
To explain further, FIG. 10 shows a case where the image 1 and the characters 2 shown on the leftmost part are collected together and printed as the reproduced image 1a and the reproduced characters 2a on the paper 3 as shown in the rightmost part. ing. One character 2 is converted into a digital signal by a character data input device 4 such as a keyboard, and is inputted to the host computer 6 as character data. The other image 1 is obtained by an image data input device 5 such as an image scanner.
is read as image data by the host combination 1-
Input to Taro. The image data read from this image 1 is an original digital signal consisting of a set of digital signals obtained by measuring the shading of the image 1 for each unit pixel along the scanning direction of the scanning line. If this original digital signal is used as it is for printing image 1, the amount of information will be too large, and the CPU of the host computer 6 and printer 7 will need to use it.
This places a heavy burden on control devices such as t! It becomes a tetravalent substance.

そこで、従来から原ディジタル信号の変化に応じて変化
しながらしかも信号数の少ない圧縮ディジタル信号を作
成し、この圧縮ディジタル信号を用いて、ホストコンピ
ュータ6による画像1と文字2との編集処理等を行なう
ようになっている。
Therefore, conventionally, a compressed digital signal that changes according to the change in the original digital signal and has a small number of signals has been created, and this compressed digital signal is used to perform the editing process of image 1 and character 2 by the host computer 6. It is supposed to be done.

このホストコンピュータ6によって作成された印字デー
タはプリンタ7へ送給され、このプリンタ7は受けた印
字データに基づいて用紙3に再生画像1aおよび再生文
字2aをプリントする。
The print data created by the host computer 6 is sent to the printer 7, and the printer 7 prints the reproduced image 1a and reproduced characters 2a on the paper 3 based on the received print data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来の原ディジタル信号群を圧縮する方
式には次のような問題点があった。
However, conventional methods for compressing original digital signals have the following problems.

すなわち、画像データ入力装置5による画像1の濃淡の
読取りは、第10図に示す画°像1をX方向に走査しな
がら測定することをX方向に繰返ずことにより行なわれ
る。
That is, the reading of the shading of the image 1 by the image data input device 5 is carried out by repeatedly measuring the image 1 shown in FIG. 10 while scanning it in the X direction.

第11図は画像データ入力装置5により画像1をX方向
に走査することによって得られたー走査線に沿った画像
1の濃度の濃淡度合からなる1iUii像データを示し
ている。この画像データは、画像1のX方向の各画素単
位に測定した濃度のrI!4調値をディジタル信号値と
し、これらのディジタル信号埴を折線グラフとして表示
したものであり、X方向に鎧が変化する原ディジタル信
号群の一種となる。この画像データを圧縮する場合に、
第11図に示すように、画像1のX方向の全走査方向範
囲をX方向に多数の均等幅の圧縮区間によって均等分割
し、各圧縮区間毎に分割された原ディジタル信号群を1
つの圧縮ディジタル信号となるように圧縮している。
FIG. 11 shows 1iUii image data obtained by scanning the image 1 in the X direction by the image data input device 5 and consisting of the degree of density of the image 1 along the scanning line. This image data is the density rI! measured for each pixel in the X direction of image 1! The four tone values are used as digital signal values, and these digital signal values are displayed as a line graph, which is a type of original digital signal group whose armor changes in the X direction. When compressing this image data,
As shown in FIG. 11, the entire scanning range of image 1 in the X direction is equally divided into a large number of compressed sections of equal width in the X direction, and the original digital signal group divided for each compressed section is divided into one
The signal is compressed into two compressed digital signals.

ところが、第11図に示す画像データのように、原ディ
ジタル信号群には、その値が激しく変化する高周波成分
領域と、ゆるやかに変化する低周波成分領域を含むこと
が多い。高周波成分をその変化に対応して応答性よく変
化するように圧縮するためには、均等分割する圧縮区間
の測値方向長さすなわちX方向の長さを短くしなければ
ならない。
However, as in the image data shown in FIG. 11, the original digital signal group often includes a high frequency component region whose value changes rapidly and a low frequency component region whose value changes slowly. In order to compress the high frequency component so that it changes responsively in response to the change, the length in the measurement direction, that is, the length in the X direction, of the compression section to be equally divided must be shortened.

しかしながら、圧縮区間のX方向長さを小さくすると、
低周波成分領域において必要以上に多くの圧縮ディジタ
ル信号を作成してしまい、全体として余剰なデータを含
み圧縮効率の悪いものとなり、結局ホストコンピュータ
6およびプリンタ7におけるその後の各種の制御処理に
大きな負担をかけることとなる。このようなことから、
前記した従来方式においては、全走査範囲の均等分割数
すなわち圧縮区間の測値方向長さをなかなか適正値に決
定することができなかった。
However, if the length of the compression section in the X direction is reduced,
This creates more compressed digital signals than necessary in the low frequency component region, resulting in a signal that contains redundant data and poor compression efficiency, which ultimately places a heavy burden on subsequent various control processes in the host computer 6 and printer 7. will be multiplied by . From such a thing,
In the conventional method described above, it is difficult to determine the number of equal divisions of the entire scanning range, that is, the length of the compression section in the measurement direction to an appropriate value.

本発明はこれらの点に鑑みてなされたものであり、1つ
の測値方向に値が変化する原ディジタル信号群をその変
化に応答性よく対応して変化する圧縮ディジタル信号群
となるように、しかも、少ない圧縮区間で効率よく圧縮
させることのできるディジタル信号群圧縮方法および装
置を提供することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to convert a group of original digital signals whose values change in one measurement direction into a group of compressed digital signals whose values change responsively to the changes. Moreover, it is an object of the present invention to provide a digital signal group compression method and apparatus that can efficiently compress a group of digital signals in a small number of compression sections.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するため、本発明のディジタル信号群圧
縮方法は、1つの測値方向に対して値が変化する原ディ
ジタル信号群を、前記1tll値方向に複数に分割され
た圧縮区間を用いて圧縮するディジタル信号群圧縮方法
において、前記原ディジタル信号群の値の変化度合に対
応して前記各圧縮区間の測値方向長さを不均等としたこ
とを特徴とする特 また、前記目的を達成するため、本発明のディジタル信
号群圧線装置は、1つの測値方向に対して値が変化する
環ディジタル信号群の前記測値方向の値の変化度合を求
める変化度合演算手段と、この変化度合演算手段によっ
て得られた環ディジタル信号群の変化度合に応じて圧縮
区間の前記測値方向の長さを求める圧縮区間長さ決定手
段とを有するようにして形成したことを特徴とする。
In order to achieve the above object, the digital signal group compression method of the present invention compresses an original digital signal group whose value changes with respect to one measurement direction using compression sections divided into a plurality of sections in the 1tll value direction. In a digital signal group compression method, the length of each compression section in the measurement direction is made unequal in accordance with the degree of change in the value of the original digital signal group. Therefore, the digital signal group pressure line device of the present invention includes a change degree calculation means for calculating the change degree of the value in the measurement direction of the ring digital signal group whose value changes with respect to one measurement direction, and The apparatus is characterized in that it has a compression section length determining means for determining the length of the compression section in the measured value direction in accordance with the degree of change in the ring digital signal group obtained by the degree calculation means.

〔作 用〕[For production]

本発明によれば、本発明gi置を本発明方法に従って動
作させることにより、環ディジタル信号群を効率よく圧
縮させた圧縮ディジタル信号群を得ることができる。
According to the present invention, by operating the gi device of the present invention in accordance with the method of the present invention, it is possible to obtain a compressed digital signal group in which a ring digital signal group is efficiently compressed.

すなわち、変化度合演算手段により環ディジタル信号群
の測値方向の値の変化度合が求められ、圧縮区間長さ決
定手段によりこの変化度合に応じた圧縮区間の長さが決
定される。これによりm*方向長さを環ディジタル信号
群の値の変化度合に対応して不均等とした各圧縮区間に
基づいて各圧縮ディジタル信号を作成し、環ディジタル
信号群の値の変化に応答性よく対応した圧縮効率の良い
圧縮ディジタル信@群が得られる。
That is, the degree of change calculating means calculates the degree of change in the value of the ring digital signal group in the measurement direction, and the compression section length determining means determines the length of the compression section according to this degree of change. As a result, each compressed digital signal is created based on each compression section whose length in the m* direction is made unequal according to the degree of change in the value of the ring digital signal group, and the length is made responsive to changes in the value of the ring digital signal group. Compressed digital signals with good compression efficiency can be obtained.

〔実施例〕〔Example〕

以下、本発明の実施例を第1図から第9図について説明
する。
Embodiments of the present invention will be described below with reference to FIGS. 1 to 9.

本実施例は環ディジタル信号群として、第1図および第
2図に示すように、従来と同様に画像1の濃淡度合から
なる画像データを対象としている。
In this embodiment, as the ring digital signal group, as shown in FIGS. 1 and 2, image data consisting of the gradation of image 1 is targeted, as in the conventional case.

第1図は本発明のディジタル信号圧縮手段11を概略示
している。
FIG. 1 schematically shows a digital signal compression means 11 of the present invention.

本実施例のディジタル信号圧縮手段11は、1つの測値
方向に対して値が変化する環ディジタル信号群のm線方
向の値の変化度合すなわち画像1の濃度のW4調値から
なる画像データのX方向の変化度合を演算する変化度合
演算手段12と、この変化度合演算手段12によって得
られた画像データの変化度合に応じて圧縮区間の測値方
向長さすなわちX方向長さを求める圧縮区間長さ決定手
段13を有する。また、この圧縮区間長さ決定手段13
によって決定された圧縮区間を用いて所定の方式に従い
、原ディジタル信号を1つの圧縮ディジタル信号とする
信号圧縮手段14や、これらの各手段を関連動作させる
CPU15を有している。
The digital signal compression means 11 of this embodiment converts image data consisting of the degree of change in the value in the m-line direction of a ring digital signal group whose value changes with respect to one measurement direction, that is, the W4 tone value of the density of the image 1. A change degree calculation means 12 for calculating the degree of change in the X direction, and a compression section for calculating the measured length of the compression section, that is, the length in the X direction, according to the degree of change in the image data obtained by the change degree calculation means 12. It has length determining means 13. Moreover, this compression section length determining means 13
It has a signal compression means 14 which converts an original digital signal into one compressed digital signal according to a predetermined method using the compression interval determined by , and a CPU 15 which operates these means in conjunction with each other.

次に、本実施例の作用を説明する。Next, the operation of this embodiment will be explained.

本実施例においては、第3図に示すように、画像データ
の全走査方向範囲を、区間長さすなわちX方向長さの異
なる不均等な圧縮区間に分割し、各圧縮区間を用いて環
ディジタル信号群を1つの圧縮ディジタル信号にそれぞ
れ変換するものである。
In this embodiment, as shown in FIG. This converts each signal group into one compressed digital signal.

この動作を第4図の概略フローヂャートについて説明す
ると、圧縮処理動作がスタートされると、先ずステップ
5T11に示すように、画像データ入力装置5によって
画像1のあるX方向の濃度の検出走査が行なわれて、画
像データの読取りすなわち環ディジタル信号群の読取り
が行なわれる。次に、ステップ5T12に示すように、
変化度合演算手段12および圧縮区間長さ決定手段13
により圧縮区間が設定される。すなわち、変化度合演算
手段12により環ディジタル信号群の値の変化度合を演
算し、圧縮区間長さ決定手段13によりその変化度合に
応じて圧縮区間の長さを決定する。
To explain this operation with reference to the schematic flowchart of FIG. 4, when the compression processing operation is started, first, as shown in step 5T11, the image data input device 5 performs density detection scanning in a certain X direction of the image 1. Then, the image data is read, that is, the ring digital signal group is read. Next, as shown in step 5T12,
Change degree calculation means 12 and compression section length determination means 13
The compression interval is set by That is, the degree of change calculating means 12 calculates the degree of change in the value of the ring digital signal group, and the compression interval length determining means 13 determines the length of the compression interval in accordance with the degree of change.

次に、ステップ5T13において、信号圧縮手段14に
より圧縮区間を用いて所定の方式に従い、圧縮ディジタ
ル信号群を作成する。
Next, in step 5T13, the signal compressing means 14 creates a compressed digital signal group using the compression section according to a predetermined method.

前記ステップ5112における圧縮区間の設定には種々
の方式が挙げられるが、°第3図に示す画像データのよ
うに、高周波成分領域を含む環ディジタル信号群に対し
ては、値の変化度合が激しい部分の圧縮区間の長さを短
かくし、値の変化度合がゆるやかな部分の圧縮区間の長
さを長くした方が、環ディジタル信号群の値の変化に応
答性よく対応した圧縮ディジタル信号群を得ることがで
きる。
Various methods can be used to set the compression interval in step 5112, but for a ring digital signal group including a high frequency component region, such as the image data shown in FIG. It is better to shorten the length of the compression interval for the part and increase the length of the compression interval for the part where the degree of change in value is gradual. Obtainable.

また、ステップST1□における圧縮区間の設定を具体
的に行なうためには、第3図にX軸上黒丸をもって示す
各圧縮区間の始点および終点となる区間点を決定するこ
とにより円滑かつ適正に行なうことができる。
In addition, in order to concretely set the compression intervals in step ST1□, it can be done smoothly and appropriately by determining the interval points that are the start and end points of each compression interval, which are indicated by black circles on the X-axis in Fig. 3. be able to.

この区間点の選択は、例えば第5図に示すフロ−チャー
トに従って変化度合演粋手段12および圧縮区間長さ決
定手段13により行なうとよい。
Selection of this interval point is preferably carried out by the change degree summation means 12 and the compression interval length determining means 13 according to the flowchart shown in FIG. 5, for example.

すなわち、ステップ5121において第3図の画像デー
タ中より値の変化度合の激しい箇所の画素位置すなわち
画素のX座標を区間点候補として複数選出する。次に、
ステップ5122において、前記のようにして選出され
た複数の区間点候補集合より、所定数の区間点候補に絞
り込む。次に、ステップ5123において、前記のよう
にして絞り込んだ区間点候補が所定の最小画素数以上離
間しているものに絞り込む。次に、ステップ5124に
おいて、前記のステップ5T23の絞り込みにより削減
した数に相当する数の新たな区間点候補を補充して、前
記所定数の区間点候補を求める。次に、ステップ5T2
5において、所定値を超える単調性による区間点の追加
が行なわれる。すなわち、X座標の増加に伴って、階調
値が増加若しくは減少するだけの単調な区間において、
その区間の始点と終点との階調値の差の絶対値が所定値
以上となる前記始点および終点を区間点候補として追加
し、これらの総ての区間点候補を区間点として圧縮区間
を決定する。
That is, in step 5121, a plurality of pixel positions, ie, pixel X coordinates, at locations where the degree of change in value is large in the image data of FIG. 3 are selected as interval point candidates. next,
In step 5122, the plurality of interval point candidate sets selected as described above are narrowed down to a predetermined number of interval point candidates. Next, in step 5123, the interval point candidates narrowed down as described above are narrowed down to those separated by a predetermined minimum number of pixels or more. Next, in step 5124, a number of new interval point candidates corresponding to the number reduced by the narrowing down in step 5T23 is added to obtain the predetermined number of interval point candidates. Next, step 5T2
5, addition of interval points with monotonicity exceeding a predetermined value is performed. In other words, in a monotonous section where the gradation value only increases or decreases as the X coordinate increases,
The start point and end point where the absolute value of the difference in gradation values between the start point and end point of the section is greater than or equal to a predetermined value are added as section point candidates, and a compression section is determined using all these section point candidates as section points. do.

この第5図のフローチャートを更に具体化した例が第6
図のフローチャートである。
A more specific example of the flowchart in Figure 5 is shown in Figure 6.
2 is a flow chart of the figure.

この第6図について更に説明すると、ステップ5T31
において複数の区間点候補を選択する。この選択は画像
データの変化度合の激しい箇所を選出するものであるが
、その選出方法としては、例えば次の(1)、(2)の
条件を満たす画素を選出するとよい。
To further explain this FIG. 6, step 5T31
A plurality of interval point candidates are selected in . This selection is to select a location where the degree of change in image data is large, and as a selection method, it is preferable to select pixels that satisfy the following conditions (1) and (2), for example.

今、第3図に示す画素データの階調値をg(X)なる関
数とし、X方向のiの位置の画素の階調をq  とし、
D””(i+1)  ’(i)とした場(i)    
 (i) 合に、 (1)  D(、、)−D   <0 (i) (2)  wax(l D(i−1)  l  l D
   l ) >Cただし、Cは定数(既定1!I) からなる条件を共に満たす箇所。
Now, let the gradation value of the pixel data shown in FIG. 3 be a function g(X), and let the gradation of the pixel at position i in the X direction be q,
D""(i+1) '(i) If (i)
(i) If (1) D(,,)-D <0 (i) (2) wax(l D(i-1) l l D
l) >C, where C is a constant (default 1!I) A location that both satisfies the following conditions.

この(1)、(2)の条件は、X座標が(i)の画素部
分のディジタル信号が、そこから単位1i!ii素だけ
前後の各画素部分との間の信号の変化量が正、負に変化
し、しかも各変化量の絶対値の積が既定数C以上である
という変化量の激しさの度合を超えていることを条件と
したものである。
Conditions (1) and (2) mean that the digital signal of the pixel portion whose X coordinate is (i) is transmitted in units of 1i! The degree of change in the signal between the previous and subsequent pixel portions changes positively or negatively by ii elements, and the product of the absolute values of each change exceeds a predetermined number C or more. This is subject to the condition that the

次に、ステップ5132において、前記ステップ5T3
1で選出された各区間点候補について、次式%式%) () の演算値の大きいものから順番を付与する。この場合、
演算航が等しい複数の区間点候補が存在し、その中から
選出する必要が有づる場合には、例えば画素のX座標値
の小さい方から順に選ぶこととする。
Next, in step 5132, the step 5T3
For each interval point candidate selected in step 1, the following formula % formula %) () is assigned an order starting from the largest calculated value. in this case,
If there is a plurality of interval point candidates with the same calculation distance and it is necessary to select one from among them, for example, they are selected in order from the one with the smallest X coordinate value of the pixel.

次に、ステップ5133において、区間点候補集合の中
から、所定数(例えば、30)の上位の区間点を選出す
る。
Next, in step 5133, a predetermined number (for example, 30) of high-ranking section points are selected from the set of section point candidates.

次に、ステップ5T34において、選出された30の区
間点候補が、相互の間隔が所定の最少画素数内に入るか
否かの近傍条件の判断が行なわれる。区間点候補が近傍
に位置する場合にはYESと判断されてステップS13
.に進行し、近傍に無い場合にはNOと判断されて後述
するステップ5138へ進行する。
Next, in step 5T34, it is determined whether or not the interval between the 30 selected section point candidates falls within a predetermined minimum number of pixels as a neighborhood condition. If the section point candidate is located nearby, YES is determined and the process proceeds to step S13.
.. If there is no one nearby, the determination is NO and the process proceeds to step 5138, which will be described later.

次に、ステップ5T35において、互いに近傍点とされ
た2つの区間点候補から一方を削除し、他方を区間点候
補として残す。この場合、今X座標がiとjの点の区間
点候補が互いに近傍となったとして、 ” (i−1)・” (i) ’ ” ” (j−1)
 ” D(j)とを比較して大きい値の方を残し、他方
を削除する。
Next, in step 5T35, one of the two interval point candidates that are considered to be neighboring points is deleted, and the other is left as an interval point candidate. In this case, assuming that the interval point candidates whose X coordinates are i and j are now close to each other, `` (i-1)・'' (i) ''''' (j-1)
” Compare D(j), keep the larger value, and delete the other.

次に、ステップST  において、現在までに選6 出されている区間点候補の全数がステップ5133に定
めた所定数(本実施例では30)であるが否か判断され
、YESの場合には後述するステップ5T38へ進行し
、Noの場合にはステップs千37へ進行する。
Next, in step ST, it is determined whether the total number of interval point candidates that have been selected so far is the predetermined number (30 in this embodiment) set in step 5133, and if YES, as will be described later. If the answer is No, the process advances to step s137.

このステップ5T37においては、前記所定数(30)
に不足する分の数の新たな区間点候補を既に選出されて
いる区間点候補と近傍関係にないものを、ステップ5T
32と同様にして上から順に選出して加え、ステ・ツブ
5T36に戻る。
In this step 5T37, the predetermined number (30)
Step 5T
Select and add them in order from the top in the same manner as in Step 32, and return to Step 5T36.

このステップ5T36およびST3□の操作はステップ
5136の判断がYESとなるまで繰返えされる。
The operations in step 5T36 and ST3□ are repeated until the determination in step 5136 becomes YES.

次に、ステップ5138において、所定値を超えるll
調性の判断が行なわれる。この判断は、階調値が増加若
しくは減少だけしている単調な区間においても、その始
点と終点との階調値の差が所定値より大きい場合には、
その単調な区間についても原ディジタル信号群を圧縮し
てより適正な圧縮ディジタル信号群を得るためのもので
ある。更に、第7図(a)(b)について説明すると、
今X座標iからnまでの間が各座標の階調値が常に増加
若しくは減少だけする(同図では増加だけしている)単
調な区間であり、その始点iと終点nとにおける各wA
ill値の差の絶対値19(。) ’mが所定値例えば
50より大きいか否かが判断される。
Next, in step 5138, ll exceeds a predetermined value.
A tonality judgment is made. This judgment can be made even in a monotonous section where the gradation values only increase or decrease, if the difference in the gradation values between the starting point and the ending point is larger than a predetermined value.
The purpose is to compress the original digital signal group even in the monotonous section to obtain a more appropriate compressed digital signal group. Furthermore, to explain FIGS. 7(a) and (b),
The area from X coordinate i to n is a monotonous section in which the gradation value of each coordinate always increases or decreases (in the figure, it only increases), and each wA at the starting point i and ending point n
It is determined whether the absolute value 19(.)'m of the difference between ill values is larger than a predetermined value, for example 50.

このステップ5T38の判断がNOの場合には区間点選
出動作が終了され、YESの場合にはステップ5139
へ進行する。
If the determination at step 5T38 is NO, the section point selection operation is completed, and if the determination is YES, step 5139
Proceed to.

このステップ5139においては、前記ステップ5T3
8において、単調な区間における始点と終点−Q   
Iが50 との階調値差の絶対値1a(。)(i)以上である場合
の当該始点および終点を区間点として追加する。これに
より、ステップ5136により決定された区間点とステ
ップ5T39により追加された区間点との総和が区間点
とされて、区間点選出動作が終了する。
In this step 5139, the step 5T3
8, the starting point and ending point −Q in a monotone interval
When I is greater than or equal to the absolute value 1a(.)(i) of the tone value difference from 50, the corresponding starting point and ending point are added as section points. As a result, the sum of the section points determined in step 5136 and the section points added in step 5T39 is set as the section point, and the section point selection operation ends.

このようにして区間点を決定することにより、第3図お
よび第7図に示すように、各区間点の間からなる圧縮区
間が決定される。この圧縮区間は、高周波成分領域にお
いて区間長さが短かくなり、低周波成分領域において区
間長さが長くなるようにして設定されるとともに、始点
および終点の階調値差の絶対値が所定値を超えた単調な
区間も圧縮区間とされる。
By determining the interval points in this manner, a compression interval between each interval point is determined, as shown in FIGS. 3 and 7. This compression section is set such that the section length is short in the high frequency component region and long in the low frequency component region, and the absolute value of the tone value difference between the start point and the end point is set to a predetermined value. A monotonous section exceeding 2 is also considered a compressed section.

その後、第4図に示すステップ5T13において、各圧
縮区間を用いて圧縮ディジタル13号が求められ、全体
として一走査方向についての圧縮ディジタル信号群が求
められる。
Thereafter, in step 5T13 shown in FIG. 4, a compressed digital signal No. 13 is obtained using each compression section, and a compressed digital signal group in one scanning direction is obtained as a whole.

この圧縮処理動作をy方向の全画素について繰返えすこ
とにより、画像1全体の画像データが作成される。
By repeating this compression processing operation for all pixels in the y direction, image data for the entire image 1 is created.

このようにして求められた圧縮ディジタル信号群はホス
トコンピュータ6へ送給され、文字データ入力装置4を
通してホストコンピュータ6へ送給されて来た文字2の
文字データとの編集等を行なう印字信号の作成処理に供
され、プリンタ7により用紙3へ再生画像1aとしてプ
リントされる。
The compressed digital signal group obtained in this way is sent to the host computer 6, and the print signal is edited with the character data of the character 2 sent to the host computer 6 through the character data input device 4. The image is subjected to creation processing and printed on paper 3 by printer 7 as reproduced image 1a.

このプリントされた再生画像1aの画質は、原画像1の
画質とほぼ同等の高品質のものとなる。
The image quality of this printed reproduced image 1a is of a high quality almost equivalent to that of the original image 1.

これは、ディジタル信号圧縮手段11の変化度合演算手
段12および圧縮区間長・さ決定手段13により決定さ
れた区間長さを有する不均一な圧縮区間に基づいて、信
号圧縮手段14により作成された圧縮ディジタル信号群
をX方向になめらかに変化するように結んだ再生圧縮デ
ィジタル信号が、画像データからなる原ディジタル信号
群とほぼ同等に変化するものであるからである。また、
圧縮ディジタル信号群は原ディジタル信号群に比較して
、その情報量すなわちデータ量としては圧縮されて大き
く低減させられているため、ホストコンピュータ6やプ
リンタ7にかける負担も少なくなり、これにより高速デ
ータ処理を可能とさせることもできる。
This is a compressed signal created by the signal compression means 14 based on a non-uniform compression interval having the interval length determined by the change degree calculating means 12 and the compression interval length determining means 13 of the digital signal compression means 11. This is because the reproduced compressed digital signal, which is a group of digital signals connected so as to change smoothly in the X direction, changes almost in the same way as the original digital signal group consisting of image data. Also,
Compared to the original digital signal group, the compressed digital signal group has a significantly reduced amount of information, that is, the amount of data, so the burden placed on the host computer 6 and printer 7 is reduced, which allows for high-speed data processing. It is also possible to enable processing.

次に、同一の原ディジタル信号群に対して本実施例方法
と従来方法とによって圧縮処理をして得られた、各圧縮
ディジタル信号群および各圧縮ディジタル信号をX方向
になめらかに変化するように結んだ再生圧縮ディジタル
信号群を、第8図および第9図をもって比較する。第8
図は本実施例方法による結果を示し、第9図は従来方法
による結果を示している。両図とも実線で示す圧縮対象
となる画像データは、256画素(1目盛2画素分ある
)からなり全走査方向範囲の各画素について画像1のa
度の階調をディジタル信8値で表わしたものである。
Next, each compressed digital signal group and each compressed digital signal obtained by compressing the same original digital signal group by the method of this embodiment and the conventional method are changed smoothly in the X direction. The connected reproduced compressed digital signal groups will be compared using FIGS. 8 and 9. 8th
The figure shows the results obtained by the method of this embodiment, and FIG. 9 shows the results obtained by the conventional method. The image data to be compressed, shown by solid lines in both figures, consists of 256 pixels (one scale has two pixels), and for each pixel in the entire scanning direction range, the a of image 1 is
The gradation of degrees is expressed in 8-value digital signals.

そして、本実施例方法においては、第8図に示すように
、全走査方向範囲を所定長さ範囲内であり、かつ、区間
長さが異なる合計49の圧縮区間(区間点をX軸上にお
いて黒丸または白丸で示す)に不均一に分割し、その圧
縮区間を用いて圧縮ディジタル信号を作成している。こ
の圧縮区間長さは、高周波成分領域では短くとる必要が
あり、階調値の変動が非常に大きい場合には、その区間
長さが“O″の場合もあり得る。(区間長さが“0”と
なった時には同−X座標〈測値方向〉上に区間点が重複
して存在していると見なす。)本実施例では、第8図に
示すように9個の区間点が重複して存在する状態となっ
ており(白丸で示す点)、したがって、全部で49の圧
縮区間に分けられている。第8図の破線はこれらの各圧
縮ディジタル信号を再生した状態の再生圧縮ディジタル
信号を結んだ再生圧縮ディジタル信号群を示している。
In the method of this embodiment, as shown in FIG. 8, a total of 49 compression sections (with section points on the (indicated by black or white circles), and the compressed sections are used to create a compressed digital signal. The compression section length needs to be short in the high frequency component region, and if the variation in tone values is very large, the section length may be "O". (When the section length becomes "0", it is assumed that there are overlapped section points on the same -X coordinate (measurement direction).) In this example, as shown in FIG. There are overlapping interval points (points indicated by white circles), and therefore the compression interval is divided into a total of 49 compression intervals. The broken lines in FIG. 8 indicate a group of reproduced compressed digital signals that connect the reproduced compressed digital signals obtained by reproducing each of these compressed digital signals.

なお、第8図において、画像データ(実線)と再生圧縮
ディジタル信号(破線〉とが重複する場合には、原ディ
ジタル信号群である画像データを優先して図示しである
In FIG. 8, when the image data (solid line) and the reproduced compressed digital signal (broken line) overlap, the image data that is the original digital signal group is given priority.

また、従来方法においては、第9図に示すように、全走
査方向範囲を区間長さが均一な合計81の圧縮区間(区
間点をX軸上で黒丸で示す)に均等分割し、圧縮ディジ
タル信号群を作成している。
In addition, in the conventional method, as shown in FIG. Creating a signal group.

第9図の破線はこれらの圧縮ディジタル信号群を再生し
た状態の再生圧縮ディジタル信号を結んだ再生圧縮ディ
ジタル信号群を示している。
The broken lines in FIG. 9 indicate a reproduced compressed digital signal group that connects the reproduced compressed digital signals obtained by reproducing these compressed digital signal groups.

これらの第8図および第9図を比較して判るように、本
実施例方法によれば、従来方法の圧縮区間数の約172
の数の圧縮区間をもって原ディジタル信号を圧縮してお
きながら、得られた再生圧縮ディジタル信号群は圧縮区
間数の多い従来例のものに優るとも劣らぬものとなり、
原ディジタル信号群の値の変化に応答性良く対応したも
のとなる。従って、本実施例によれば、極めて効率よく
原ディジタル信号群を圧縮することができる。
As can be seen by comparing FIG. 8 and FIG. 9, according to the method of this embodiment, the number of compression sections is reduced to approximately 172, which is the number of compression sections of the conventional method.
Although the original digital signal is compressed with the number of compression sections, the obtained reproduced compressed digital signal group is as good as that of the conventional example with a large number of compression sections,
This corresponds to changes in the values of the original digital signal group with good responsiveness. Therefore, according to this embodiment, the original digital signal group can be compressed extremely efficiently.

なお、前記実施例においては圧縮対象を画像1の各画素
の濃淡度合からなる原ディジタル信号群としたが、1つ
のillll1m方向に値が変化するディジタル信号群
であれば、何でも圧縮対象とすることができる。
In the above embodiment, the compression target is the original digital signal group consisting of the gray level of each pixel of the image 1, but any digital signal group whose value changes in one illll1m direction can be compressed. I can do it.

また、圧縮区間の測値方向の長さの決定方法としては、
前記各実施例以外の方法を採用するようにしてもよい。
In addition, as a method for determining the length of the compression section in the measurement direction,
Methods other than those in each of the above embodiments may be adopted.

例えば、第6図のステップ5T39の後に、それまでに
決定された区間の長さが所定長の範囲内か否かを判断し
、所定長以上の区間については、同区間を前記所定長以
下に分割する区間点を更に追加してもよい。
For example, after step 5T39 in FIG. 6, it is determined whether the length of the section determined up to that point is within a predetermined length, and if the length is longer than the predetermined length, the length of the section is reduced to less than the predetermined length. You may further add interval points for division.

更に、本発明の方法および装置は前記各実施例に限定さ
れるものではなく、必要に応じて種々に変更することが
できる。
Furthermore, the method and apparatus of the present invention are not limited to the above embodiments, and can be modified in various ways as necessary.

〔発明の効果〕〔Effect of the invention〕

このように本発明のディジタル信号群圧縮方法および装
置は構成され作用するものであるから、1つの11方向
に値が変化する原ディジタル信号群をその変化に応答性
よく対応して変化する圧縮ディジタル信号群に圧縮する
ことができ、しかも、少ない数の圧縮区間をもって効率
よく圧縮させることができ、その後の信号処理等を簡単
にしかも高速で行なうことができる等の効果を奏する。
Since the digital signal group compression method and apparatus of the present invention are constructed and operate in this manner, the original digital signal group whose value changes in one of the 11 directions can be compressed into a compressed digital signal group whose value changes in a responsive manner to the change. It can be compressed into a signal group, and can be efficiently compressed using a small number of compression sections, and subsequent signal processing can be performed simply and at high speed.

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

第1図から第7図は本発明のディジタル信号群圧縮方法
および装置の一実施例を示し、第1図は本発明装置を概
略示するブロック図、第2図は本発明装置を画像処理並
びに画像再生を行なうプリンタに利用した場合を示すブ
ロック図、第3図は本発明方法による圧縮区間の選出の
例を一走査線に沿った画像の濃淡の階調からなる画像デ
ータに適用した場合を示す線図、第4図から第6図はそ
れぞれ本発明方法による圧縮処理の状態を示すフローチ
ャート図、第7図(a)は単調な区間を示す第3図同様
の図、第7図(b)は同図(a)の破線部の拡大図、第
8図は本発明方法の適用の具体例を示す第3図と同様の
図、第9図は本発明との比較のための従来例を示す第8
図と同様の図、第10図および第11図はそれぞれ従来
例を示す第2図および第3図と同様の図である。 11・・・ディジタル信号群圧線装置、12・・・変化
度合演算手段、13・・・圧縮区間長さ決定手段、14
・・・信号圧縮手段、15・・・cpu。
1 to 7 show an embodiment of the digital signal group compression method and device of the present invention, FIG. 1 is a block diagram schematically showing the device of the present invention, and FIG. 2 shows the device of the present invention for image processing and FIG. 3 is a block diagram showing the case where the method is used in a printer that reproduces images. FIGS. 4 to 6 are flowcharts showing the state of compression processing according to the method of the present invention, FIG. 7(a) is a diagram similar to FIG. 3 showing a monotonous section, and FIG. 7(b) ) is an enlarged view of the broken line part in FIG. 8th showing
10 and 11 are similar views to FIGS. 2 and 3, respectively, showing the conventional example. 11... Digital signal group pressure line device, 12... Change degree calculating means, 13... Compression section length determining means, 14
...signal compression means, 15...cpu.

Claims (1)

【特許請求の範囲】 1)1つの測値方向に対して値が変化する原ディジタル
信号群を、前記測値方向に複数に分割された圧縮区間を
用いて圧縮するディジタル信号群圧縮方法において、前
記原ディジタル信号群の値の変化度合に対応して前記各
圧縮区間の測値方向長さを不均等としたことを特徴とす
るディジタル信号群圧縮方法。 2)1つの測値方向に対して値が変化する原ディジタル
信号群の前記測値方向の値の変化度合を求める変化度合
演算手段と、この変化度合演算手段によつて得られた原
ディジタル信号群の変化度合に応じて圧縮区間の前記測
値方向の長さを求める圧縮区間長さ決定手段とを有する
ディジタル信号群圧縮装置。
[Claims] 1) A digital signal group compression method in which an original digital signal group whose value changes with respect to one measurement direction is compressed using compression sections divided into a plurality of compression sections in the measurement direction, A digital signal group compression method, characterized in that the lengths of the compression sections in the measurement direction are made unequal in accordance with the degree of change in the values of the original digital signal group. 2) change degree calculation means for calculating the change degree of the value in the measurement direction of the original digital signal group whose value changes with respect to one measurement direction, and the original digital signal obtained by the change degree calculation means A digital signal group compression apparatus comprising compression section length determining means for determining the length of the compression section in the measurement direction according to the degree of change in the group.
JP18071389A 1989-07-13 1989-07-13 Digital signal group compression method and apparatus Expired - Lifetime JP2620374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18071389A JP2620374B2 (en) 1989-07-13 1989-07-13 Digital signal group compression method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18071389A JP2620374B2 (en) 1989-07-13 1989-07-13 Digital signal group compression method and apparatus

Publications (2)

Publication Number Publication Date
JPH0345018A true JPH0345018A (en) 1991-02-26
JP2620374B2 JP2620374B2 (en) 1997-06-11

Family

ID=16088016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18071389A Expired - Lifetime JP2620374B2 (en) 1989-07-13 1989-07-13 Digital signal group compression method and apparatus

Country Status (1)

Country Link
JP (1) JP2620374B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015144450A (en) * 2010-03-15 2015-08-06 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for processing and reconstructing data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6478588A (en) * 1987-09-21 1989-03-24 Matsushita Electric Ind Co Ltd Picture encoder
JPH01167341A (en) * 1987-12-23 1989-07-03 Nitto Denko Corp Easily slippery polyimide film

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6478588A (en) * 1987-09-21 1989-03-24 Matsushita Electric Ind Co Ltd Picture encoder
JPH01167341A (en) * 1987-12-23 1989-07-03 Nitto Denko Corp Easily slippery polyimide film

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015144450A (en) * 2010-03-15 2015-08-06 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for processing and reconstructing data
US9658825B2 (en) 2010-03-15 2017-05-23 Qualcomm Incorporated Method and apparatus for processing and reconstructing data

Also Published As

Publication number Publication date
JP2620374B2 (en) 1997-06-11

Similar Documents

Publication Publication Date Title
US7483566B2 (en) Digital picture signal processing apparatus, method thereof, digital picture recording apparatus, method thereof, transmitting method thereof, and data record medium thereof
EP1014688B1 (en) Image processing method and apparatus, image processing system, and storage medium
JP2004260327A (en) Image compression apparatus
JP5335581B2 (en) Image processing apparatus, image processing method, and program
JP2010146218A (en) Image processing apparatus, image processing method, computer program
JP2007104706A (en) Image processing apparatus and image processing method
JP2000011167A (en) Method and device for interpolating pixel based on gradient
JPH0345018A (en) Method and apparatus for compressing digital signal group
US7057771B2 (en) Color image processing apparatus, image processing apparatus, color image processing method, image processing method, and a computer-readable recording medium for making a computer execute the methods
JP4453979B2 (en) Image reproducing apparatus, image reproducing method, program, and recording medium
JP2620373B2 (en) Digital signal group compression method and apparatus
JP2620381B2 (en) Digital signal group compression method and apparatus
JP2620382B2 (en) Digital signal group compression method and apparatus
JP3346051B2 (en) Image processing device
US5751855A (en) Method and apparatus for detecting whether an electronic image has been faxed
JPH02239384A (en) Method and device for compressing digital signal group
GB2261340A (en) Image data processing method with mixture of simple binarization and half tone imaging
US11245810B2 (en) Image processing apparatus, method, and program product for embedding corresponding information in an area overlapping a recognized object
JP4228905B2 (en) Image processing apparatus and program
JP3503136B2 (en) Pixel interpolation device and pixel interpolation method
JP2002290763A (en) Image processing method and image processing device
JPH0562013A (en) Character reader
US20040066971A1 (en) Picture image processing method, processing apparatus and recording medium
JP2007110291A (en) Method and unit for processing image
JP3795564B2 (en) Image expansion processing method