JPH02239384A - Method and device for compressing digital signal group - Google Patents

Method and device for compressing digital signal group

Info

Publication number
JPH02239384A
JPH02239384A JP6127989A JP6127989A JPH02239384A JP H02239384 A JPH02239384 A JP H02239384A JP 6127989 A JP6127989 A JP 6127989A JP 6127989 A JP6127989 A JP 6127989A JP H02239384 A JPH02239384 A JP H02239384A
Authority
JP
Japan
Prior art keywords
digital signal
signal group
compression
compressed
original digital
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
JP6127989A
Other languages
Japanese (ja)
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 JP6127989A priority Critical patent/JPH02239384A/en
Publication of JPH02239384A publication Critical patent/JPH02239384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Image Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To correspond to the change of an original digital signal group at high response, and to improve compressing efficiency by obtaining the changing degree of the value in the measured value direction of the original digital signal group, and determining the length of a compressed section corresponding to the changing degree. CONSTITUTION:A picture data input device 5 scans a picture 1 in an X direction to detect its density, and reads the original digital signal group. Next, a changing degree arithmetic means 12 operates the changing degree of the signal group, for the signal group including the high frequency component area, a compressed section length determining means 13 shortens the length of the compressed section where the changing degree is sharp, and extends the length of the compressed section of the part where the changing degree is gentle. Further the prescribed compressing processing is executed at every section by a signal compressing means 14, a single compressing signal is obtained, and the compressed digital signal group is prepared as a whole. Thus the change of the original digital signal group can be made to correspond at the high response, and the compressing efficiency can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1つの測{直方向に対して値が変化する原ディ
ジタル信号群を信号数がより少ない圧縮ディジタル信号
aTに圧縮するデイジタル信Q j!I!圧縮方法およ
び装直に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a digital signal Q that compresses a group of original digital signals whose values change with respect to one measurement direction into a compressed digital signal aT having a smaller number of signals. j! I! Concerning compression methods and reloading.

〔従来の技術〕[Conventional technology]

一般に、任意の変化mを1つの測値方向に対して埴が変
化する原ディジタル{iig4Yに変換し、この原ディ
ジタル信号群を更に利用寸る場合の効率向上を図るため
に、値の変化の傾向は原ディジクル信号JITに対応す
るが信号数は原ディジタル信号群の信号数より少ない圧
縮ディジタル信号群に圧縮変換寸ることが行なわれてい
る。
In general, in order to improve efficiency when converting an arbitrary change m into an original digital signal {iig4Y whose value changes with respect to one measurement direction and further utilizing this original digital signal group, the change in value is Although the trend corresponds to the original digital signal JIT, the number of signals is compressed into a compressed digital signal group that is smaller than the number of signals in the original digital signal group.

このようなディジタルイG号群を圧縮する例としては、
例えば第9図に示ill’ J:うに、任息の画像1を
用M3に再生画顔1aとしてプリン1〜?1′る場合が
挙げられる。
As an example of compressing such a digital number G group,
For example, as shown in FIG. 9, the arbitrary image 1 is used as the reproduced image face 1a on M3, and pudding 1~? 1'.

更に説明すると、第9図は、最左部に示した両像1と文
字2とを編集して最右部に示すように用紙3上に再生画
鍮1aおよび再生文字2aとしてプリンタする場合を示
している。一方の文字2は、1−−ボード等の文字デー
タ入力装置4によってディジタル信号化されてホストコ
ンピュータ6へ文字データとして入力される。他方の画
像1は、イメージス−1ヤナ簀の画像データ入力装『5
によって画像データとして読取られてホス1〜コンピュ
ータ6へ入力される。この画像1から読取られる画像デ
ータは、画像1の淵淡をその走査線の走査方向に沿って
単位画系毎に測定したデイジクル信号の集合からなる原
ディジタル信号とされる。この原ディジタル信号をその
1.1画像1のプリント用に用いると、あまりに乙情+
l1aとして多く、ホストコンピュータ6やプリンタ7
のCPU等の制クI装置に大きな負担をかけ、これらを
必要以上に高性能に形成しな【ノればならず、八価なも
のとなってしまう。
To explain further, FIG. 9 shows a case where both images 1 and characters 2 shown on the leftmost part are edited and printed as recycled drawings 1a and recycled characters 2a on paper 3 as shown on the rightmost part. It shows. One character 2 is converted into a digital signal by a character data input device 4 such as a 1--board, and is input as character data to the host computer 6. The other image 1 is the image data input device "5" of Images-1
The image data is read as image data and inputted to the host 1 to the computer 6. The image data read from this image 1 is an original digital signal consisting of a set of daisicle signals obtained by measuring the depth of the image 1 for each unit image system along the scanning direction of the scanning line. If this original digital signal is used for printing 1.1 Image 1, it will be too
Often used as l1a, host computer 6 and printer 7
This places a heavy burden on control devices such as the CPU of the computer and makes them more efficient than necessary, resulting in an octavalent device.

そこで、従来から原デイジタル信舅の変化に応じて変化
しながらしかも信号数の少ない圧縮デイジタル信号を作
成し、この圧縮デイジタル信号を用いて、ホストコンピ
ュータ6による両igI1と文字2との編集処理等を行
なうようになっている。
Therefore, a compressed digital signal with a small number of signals that changes according to changes in the original digital signal has been created, and using this compressed digital signal, the host computer 6 performs editing processing for both igI1 and character 2. It is now possible to do this.

このホストコンピュータ6にJ:って作成された印?デ
ータはプリンタ7へ送給され、このプリンタ7は受けた
印字データに基づいて用紙3に再生画{11aおよび再
生文字2aをプリントする。
Is the mark J: created on this host computer 6? The data is sent to the printer 7, and the printer 7 prints the reproduced image {11a and the 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の淵淡
の読取りは、第9図に示す両像1をX方向に走査しなが
ら測定することをy方向に繰返ずことにより行なわれる
In other words, an image data input device? ? Reading of the depth of the image 1 using the scanner 5 is carried out by repeatedly measuring the images 1 shown in FIG. 9 while scanning them in the x direction in the y direction.

第10図は画像データ入力装置5にJ;り画像1をX方
向に走査することにJζって19られた一走査線に沿っ
た画@1の濃度の濃淡度合からなる画像データを示して
いる。この画像データは、両8A1のX方向の各画素単
位に測定したD度の階調値をディジタル信号値とし、こ
れらのデイジタル信り値を折線グラフとして表示したも
のであり,X方向に餡が変化fる原ディジタル信号群の
一杯となる。この画像データを圧縮する場合に、第10
図に示すように、画像1のX方向の全走査方向範囲をX
 /J向に多数の均等幅の圧縮区聞によって均等分υ1
し、各圧縮区間毎に分割された原デイジタル信号群を1
つの圧縮デイジタル信号となるように圧縮している。
FIG. 10 shows image data consisting of the degree of density of the image @1 along one scanning line obtained by scanning the image 1 in the X direction using the image data input device 5. There is. In this image data, the gradation value of D degrees measured for each pixel in the X direction of both 8A1 is used as a digital signal value, and these digital reliability values are displayed as a line graph. It is full of original digital signals that change f. When compressing this image data, the 10th
As shown in the figure, the entire scanning direction range in the X direction of image 1 is
/J direction with many equal width compression sections υ1
The original digital signal group divided for each compression section is
The signal is compressed into two compressed digital signals.

ところが、第10図に示1画像データのように、原ディ
ジタル信号群には、その値が激しく変化する高周波成分
領域と、ゆるやかに変化する低周波成分領域を含むこと
が多い。高周波成分をその変化に対応して応答性」;ク
変化するJ;うに圧縮するためには、均等分割するり−
縮区間の測値方向良さすなわちX方向の良さを知くしな
ければならない。
However, as in one image data shown in FIG. 10, 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 high-frequency components, the responsiveness changes in response to changes in the high-frequency components.
It is necessary to know the measurement direction quality of the reduced section, that is, the quality in the X direction.

しかしながら、圧縮区間のX方向長さを小さくすると、
低周波成分領域にJ3いて必要以上に多くの圧縮ディジ
タル信号を作成してしまい、全体として余刺なデータを
含み圧縮効率の悪いものとなり、結局ホス]・コンピュ
ータ6およびプリンタ7におけるその後の各種の制御処
理に大きな負担をか(ノることとなる。このようなこと
から、前記した従来方式においては、全走査範囲の均笠
分胡数すなわち圧縮区間の測値方向長さをなかなか適正
値に決定4ることができなかった。
However, if the length of the compression section in the X direction is reduced,
J3 in the low frequency component region creates more compressed digital signals than necessary, and the overall result contains extraneous data and has poor compression efficiency, resulting in various subsequent problems in the computer 6 and printer 7. This places a large burden on the control processing.For this reason, in the conventional method described above, it is difficult to set the number of equal parts of the entire scanning range, that is, the length of the compression section in the measurement direction, to an appropriate value. I couldn't make a decision.

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

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

前記目的を達成するため、本発明のデイジタル信号CT
圧縮方法は、1つの測伯方向に対して値が変化する原デ
ィジタル信号群を、前記測値方向に複数に分割された圧
縮区間を用いて圧縮するデイジタル信号群圧縮方法にお
いて、前記各圧縮区間の測値方向長さを不均等としたこ
とを特徴とする。
In order to achieve the above object, the digital signal CT of the present invention
The compression method is 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 intervals divided into a plurality of compression intervals in the measurement direction. It is characterized by having unequal lengths in the measurement direction.

また、114記口的を達成するため、本発明のデイジタ
ル信号群圧縮装置は、1つの測値方向に対して値が変化
する原ディジタル信号MYの萌記測値方向の値の変化度
合を求める変化度合演粋手段と、この変化度合演痺丁段
によって19られた原デイジタル信号群の変化度合に応
じて圧縮区間の萌記測値方向の良さを求める圧縮区間長
さ決定手段とを有するようにして形成したことを特徴と
する。
In addition, in order to achieve the 114-dimensional value, the digital signal group compression device of the present invention calculates the degree of change in the value of the original digital signal MY in the measured value direction of the original digital signal MY whose value changes with respect to one measured value direction. The apparatus includes a change degree combination means and a compression interval length determination means for determining the goodness of the measured value direction of the compression interval according to the change degree of the original digital signal group obtained by the change degree combination means. It is characterized by being formed by

〔作 用〕[For production]

本発明によれば、本発明装買を本発明方法に従って動作
させることにより、原デイジタル信号群を効率よく圧縮
さヒた圧縮デイジタル信号群を1ワることができる。
According to the present invention, by operating the device according to the present invention in accordance with the method of the present invention, it is possible to efficiently compress the original digital signal group and generate a compressed digital signal group.

すなわち、変化度合演n手段により原デイジタル信号群
の測((+方向の賄の変化度合が求められ、1「縮区間
長さ決定手段によりこの変化度合に応じたj]−縮区間
の良さが決定される。これにより測伯方向長さを不均等
とした各圧縮区間に基づいて各圧縮デイジタル信号を作
成し、原デイジウル信q群の{めの変化に応答性よく対
応した圧縮効率の良い圧縮デイジタル信号群が19られ
る。
That is, the change degree combination n means determines the degree of change in the original digital signal group (((the degree of change in the + direction), and the reduced interval length determining means determines the quality of the reduced interval j according to this degree of change). As a result, each compressed digital signal is created based on each compressed section with unequal lengths in the measuring direction, and a compressed digital signal with high compression efficiency that responds responsively to changes in the original signal signal q group is created. A compressed digital signal group 19 is generated.

〔実施例〕〔Example〕

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

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

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

本実施例のディジタル信号群圧縮装置1 1 i.i、
1つの測値h向に対して値が変化する原ディジタル信シ
]群の測値方向の1直の変化度合寸なわら画像1の′Q
度の階調値からなる画像データのX7J向の変化度合を
演算する変化度合演算丁段12と、この変化度合演停手
段12によって19られた画像データの変化度合に応じ
て圧縮区間の測埴方向艮さすなわちX方向長さを求める
圧縮区間長さ決定千段13を有する。また、この圧縮区
間長さ決定丁段13によって決定された圧縮区間内の原
デイジタル信号群を、所定の方式に従って1つの圧縮デ
ィジタルft号とする信号圧縮丁段14やこれらの各手
段を関連動作さぜるCPU15を右している。
Digital signal group compression device 1 1 i. of this embodiment. i,
Original digital signal whose value changes with respect to one measurement direction
A change degree calculation stage 12 calculates the degree of change in the X7J direction of image data consisting of gradation values of It has 1,000 compression section length determination stages 13 for determining the direction length, that is, the length in the X direction. Further, the signal compression stage 14 converts the original digital signal group within the compression interval determined by the compression interval length determination stage 13 into one compressed digital signal ft according to a predetermined method, and each of these means performs related operations. The CPU 15 to be stirred is on the right.

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

本実施例にJ3いては、第3図に示づ゛J;うに、画像
データの全走査方向範囲を、区間艮さすなわちX 方向
良さの異なる不均等な圧縮区間に分割し、各圧縮区間に
ついて当該圧縮区問内の画像データを構成する原ディジ
タル信号群を1つの圧縮ディジタル信号に変換するもの
である。
In this embodiment, as shown in FIG. The original digital signal group constituting the image data within the compression section is converted into one compressed digital signal.

この動負を第4図の概略フローチャ−1へについて説明
すると、圧縮処理動伯がスタートされると、先ずステッ
プST11に示づように、画像データ入力’A 買5に
よって両像1のあるX方向の濃度の検出走査が行なわれ
て、画陳データの読取りすなわら原ディジタル信号群の
読取りが行なわれる。次に、ステップST12に示すよ
うに、変化度合Kn手段12および圧縮区間長さ決定千
段13により圧縮区間が設定される。すなわち、変化度
合演算手段12により原デイジタル信号群の値の変化度
合を演ロし、圧縮区間長さ決定千段13によりその変化
度合に応じて圧縮区間の良さを決定ツる。
To explain this motion with reference to the schematic flowchart 1 in FIG. 4, when the compression processing motion is started, first, as shown in step ST11, an A directional density detection scan is performed to read the image display data, that is, to read the original digital signal group. Next, as shown in step ST12, a compression interval is set by the change degree Kn means 12 and the compression interval length determination stage 13. That is, the degree of change calculation means 12 calculates the degree of change in the values of the original digital signal group, and the compression section length determining stage 13 determines the quality of the compression section according to the degree of change.

次に、ステップST13において、信号圧縮千段14に
より各圧縮区間毎に所定の圧縮処理を行なって、それぞ
れ1つの圧縮デイジタル信号を求め、全体として圧縮デ
イジタルイε号酊を作成リ゛る。
Next, in step ST13, a predetermined compression process is performed for each compression section by the signal compression stage 14 to obtain one compressed digital signal for each, and a compressed digital signal ε is created as a whole.

前記ステップST12における圧縮区間の設定には秤々
の方式が挙げられるが、第3図に示す画像データのよう
に、高周波成分領域を含む原デイジタル信号酊に対して
は、値の変化度合が激しい部分の圧縮区間の長さを短か
くし、賄の変化度合がゆるやかな部分のfXm区間の長
さを長くした方が、原ディジタル信号群の埴の変化に応
答性よくλj応した圧縮ディジタル信号群を得ることが
できる。
Although there are various methods for setting the compression interval in step ST12, the degree of change in value is large for the original digital signal containing a high frequency component region, such as the image data shown in FIG. It is better to shorten the length of the compression section of the part and increase the length of the fXm section of the part where the rate of change is gradual. can be obtained.

また、ステップST12に43ける圧縮区間の設定を具
体的に行なうためには、第3図にX軸上黒丸をもって示
ず各圧縮区間の始点d3よび終点となる区聞点を決定す
ることにより円滑かつ適正に行なうことができる。
In addition, in order to concretely set the compression section 43 in step ST12, the starting point d3 and the end point of each compression section, which are not shown as black circles on the X-axis in FIG. 3, can be set smoothly. And it can be done properly.

この区間点の遠択4ユ、例えば第5図に示Jフ口ーヂャ
−1−に従って変化度合演亦千段1213よび圧縮区間
長さ決定千段13にJ;り行なうとよい。
It is preferable to perform a long distance selection of this interval point, for example, in accordance with the table 1 shown in FIG.

すなわち、ステップST21において第3図の画像デー
タ中より値の変化度合の激しい箇所の画素位置すなわら
画素のX序標を区間点候補として複数泗出ザる。次に、
ステップST22において、前記のようにして選出され
た複数の区間点候補集合より、所定数の区間点候補に絞
り込む。次に、スアップST23にJ3いて、前記のよ
うにして絞り込んだ区聞点候補が所定の両素数以上離間
しているものに絞り込む。次に、ステップST24にお
いて、iyj記のステップST23の絞り込みにより削
減した数に相当する数の新たな区間点候補を補充して、
所定数の区間貞を決定し、圧縮区間を決定する。
That is, in step ST21, a plurality of pixel positions, ie, X ordination of pixels, in locations where the degree of change in value is more severe than in the image data of FIG. 3 are selected as interval point candidates. next,
In step ST22, 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 ST23, the ward point candidates narrowed down as described above are narrowed down to those separated by a predetermined double prime number or more. Next, in step ST24, a number of new section point candidates corresponding to the number reduced by the narrowing down in step ST23 of IYJ are replenished,
A predetermined number of interval values are determined, and a compression interval is determined.

この第5図のフローヂャ−i〜を更に貝休化した例が第
6図のフローチャートである。
The flowchart in FIG. 6 is an example in which the flowchart i in FIG. 5 is further modified.

この第6図について更に説明すると、ステップST31
において複数の区間点候補を選択する。この選択は画像
データの変化度合の激しい箇所を選出するものであるが
、その選出方法としては、例えば次の(1),(2)の
条件を満たす画素を選出するとよい。
To further explain this FIG. 6, step ST31
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図に示す画素データの階調値をO (X)なる
関数とし、X方向のiの位置の画素の階調を’(i)と
し、D(i) = ’ (i+ 1)  ’ (i)と
した場合に、 (1 )  D(i−t) − D(H, <0(2>
  +max(ID(i−1, I.  10(H) 
l) >Cただし、Cは定数(既定値) からなる条伺を共にt1たす箇所。
Now, let the gradation value of the pixel data shown in Figure 3 be a function O (X), let the gradation of the pixel at position i in the X direction be '(i), and D(i) = ' (i+ 1) ' (i), (1) D(i-t) − D(H, <0(2>
+max(ID(i-1, I. 10(H)
l) >C, where C is a constant (default value) where both t1 is added.

この(1),(2)の条ぐ[は、X座標がmの画素部分
のディジタル信号が、そこから単位画素だけ前後の各画
素部分どの間の信号の変化mが正、負に変化し、しかも
各変化吊の絶対値の積が既定数C以上であるという変化
用の激しさの度合を超えていることを条件としたもので
ある。
The condition in (1) and (2) is that the digital signal of the pixel part whose X coordinate is m changes between each pixel part before and after the unit pixel. , moreover, the condition is that the product of the absolute values of each change is greater than or equal to a predetermined number C, which exceeds the degree of intensity of the change.

次に、ステップST32において、前記スデップST3
1で選出された各区間点候補について、次式wax  
(10(B−1)  l,ID   l )(i) の演nViの大きいものから順番を付与する。この場合
、演算値が等しい複数の区間点候補が存在し、その中か
ら這出する必要が有する場合には、例えば画素のX座標
値の小さい方から順に選ぶこととする。
Next, in step ST32, the step ST3
For each interval point candidate selected in step 1, the following formula wax
(10(B-1) l, ID l ) (i) The order is given in descending order of the performance nVi. In this case, if there are a plurality of section point candidates with the same calculated value and it is necessary to select one from among them, for example, the one with the smallest X coordinate value of the pixel is selected.

次に、ステップST33において、区間点候補集合の中
から、所定r!l(例えば、30)の上位の区間点を選
出する。
Next, in step ST33, a predetermined r! Select the upper interval points of l (for example, 30).

次に、ステップST34において、選出された30の区
間点候補が、相互の間隔が所定の画素数内に入るか否か
の近傍条件の判断が行なわれる。
Next, in step ST34, it is determined whether or not the interval between the 30 selected section point candidates falls within a predetermined number of pixels.

区間点候補が近傍に位置J−る揚合にはYESと判断さ
れてステップST35に進行し、近傍に無い場合にはN
oと判断されてステップST33より選出された区間点
候補を全部正規の区間点として区間点選出動作を終了す
る。
If the section point candidate is located nearby, the determination is YES and the process proceeds to step ST35; if the candidate is not located nearby, the determination is NO.
If it is determined that the result is o, all the section point candidates selected in step ST33 are set as regular section points, and the section point selection operation is ended.

次に、ステップST35において、nいに近傍点とされ
た2つの区閂点候補から一方を削除し、他方を区間点候
補として残す。この場合、今X座標が1とjの点の区間
点候補が互いに近1力となったとして、 D(+−o ”m ’と” (j−1) ” (j)と
を比較して大きい値の方を残し、他方を削除?る。
Next, in step ST35, one of the two section point candidates that have been determined as the nth nearest neighbor points is deleted, and the other is left as the section point candidate. In this case, assuming that the interval point candidates whose X coordinates are 1 and j are close to each other, comparing D(+-o ``m' and ``(j-1)'' (j), Keep the larger value and delete the other.

次に、ステップST36において、現在までに選出され
ている区聞点候補の全数がステップST33に定めた所
定数(本実施例では30)であるか否か判断され、YE
Sの場合には区間点選出動作が終了され、Noの場合に
はステップST37へ進行する。
Next, in step ST36, it is determined whether the total number of ward point candidates selected so far is the predetermined number (30 in this embodiment) determined in step ST33, and Y
In the case of S, the section point selection operation is ended, and in the case of No, the process proceeds to step ST37.

このステップST37においては、前記所定数(30)
に不足する分の数の新たな区間点候補を既に選出ざれて
いる区間点候補と近傍関係にないものを、ステップST
32と同様にして土から順に選出して加え、ステップS
T36に戻る。
In this step ST37, the predetermined number (30)
Step ST
In the same way as 32, select and add soil in order, and add it in step S.
Return to T36.

このステップST  およびST3■の操作をステップ
ST36の判断がYESとなるまで繰返えして、区聞点
選出動作を終了寸る。
The operations in steps ST and ST3■ are repeated until the determination in step ST36 becomes YES, thereby completing the ward point selection operation.

このようにして予定していた既定数(30個)の区間点
を決定することにより、第3図に示すJ、うに、各区聞
点の間からなる圧縮区問が決定される。この圧縮区間は
、高周波成分領域において区間長さが短かくなり、低周
波成分領域において区問長さが長くなるようにして設定
されることとなる。
By determining the predetermined number (30) of interval points as described above, the compressed interval between the J interval points shown in FIG. 3 is determined. This compression section is set such that the section length is short in the high frequency component region and the section length is long in the low frequency component region.

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

この圧縮処IiI!.lJJ作をy方向の全画素につい
て繰返えすことにより、画1−Q1仝休の画像データが
作成される。
This compression process IiI! .. By repeating the IJJ process for all pixels in the y direction, image data for the image 1-Q1 is created.

このJ;うにして求められた圧縮ディジタル信号群はホ
ス1・コンピュータ6へ送給され、文字データ入ノノ装
置4を通して小スト:コンピュータ6へ送給されて来た
文字2の文字データとの編集等を行なう印字信号の作成
処理に供ざれ、プリンタ7により用紙3へ再生画(!G
l1aとしてプリントされる。
The compressed digital signal group obtained in this way is sent to the host 1/computer 6, and is combined with the character data of character 2 sent to the small string/computer 6 through the character data input device 4. The printer 7 prints the reproduced image (!G
It is printed as l1a.

このプリントざれた再住両像1aの画!1番よ、原画像
1の画質とほぼ同等の高品質のものとなる。
This is a picture of the unprinted residing statue 1a! No. 1, the image quality is almost the same as that of original image 1.

これは、ディジタル信号群圧縮装置11の変化度合演算
手段12および圧縮区聞長さ決定手段13により決定さ
れた区間長さの不均一な圧縮区間に基づいて、信号圧縮
手段14により作成された圧縮ディジタル信号群をX方
向になめらかに変化するように結んだ再生圧縮デイジタ
ル信号が、画像データからなる原デイジタル信号群とほ
ぼ同等に変化するものであるからである。また、圧縮デ
イジタル信号群は原デイジタル信号酊に比較して、その
情報吊すなわちデータ母としては圧縮されて大きく低減
さVられているため、ボスi・コンピュータ6やプリン
タ7にか(ノる負II1t)少なくなり、これにより高
速データ処理を可能とざUることもできる。
This is a compressed signal created by the signal compressing means 14 based on compression intervals with non-uniform interval lengths determined by the change degree calculating means 12 and the compression interval length determining means 13 of the digital signal group compression device 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, the compressed digital signal group is compressed and greatly reduced in its information load, that is, as a data base, so that the boss i/computer 6 and printer 7 have no negative impact. II1t), thereby making it possible to perform high-speed data processing.

次に、同一の原デイジタル信n群に対して木実施例方法
と従来方法とによって圧縮処即をして17ノられた、各
圧縮ディジタル信月5Y J3よび各圧縮ディジタル信
号をX方向になめらかに変化するJ;うに結んだ再生圧
縮デイジタル信号群を、第7図および第8図をもって比
較する。第7図は本実施例方法による結果を示し、第8
図は従来方法による結果を示している。両図とも実線で
示す圧縮対象となる画像データは、256画素〈1目盛
2画累分ある)からなり全走査方向範囲の各画素につい
て画像1の濃度の階調をデイジタル信号値で表わしたも
のである。
Next, each compressed digital signal 5Y J3 and each compressed digital signal obtained by compressing the same n group of original digital signals by the tree embodiment method and the conventional method are smoothed in the X direction. The reproduced compressed digital signal group connected in J; which changes to J; is compared with FIGS. 7 and 8. FIG. 7 shows the results obtained by the method of this example, and
The figure shows the results obtained using the conventional method. The image data to be compressed, shown by the solid line in both figures, consists of 256 pixels (one scale has two cumulative strokes), and represents the density gradation of image 1 as a digital signal value for each pixel in the entire scanning direction range. It is.

そして、本実施例方法においては、第7図に示づように
、全走査b向範囲を区間長さが異なる合計49の圧縮区
間(区間点をX軸上において黒丸または白丸で示す)に
不均一に分割し、その圧縮区間を用いて圧縮デイジタル
信号を作成している。
In the method of this embodiment, as shown in FIG. 7, the entire scanning range in the b direction is divided into a total of 49 compression sections (section points are indicated by black circles or white circles on the X axis) with different section lengths. The signal is divided uniformly and the compressed sections are used to create a compressed digital signal.

なお、本実施例方法においては、全走査方向範囲を区間
長さが異なる圧縮区間に不均一に分割し、この圧縮区間
を用いて圧縮デイジタル信号を生成している。この圧縮
区間長さは、高周波成分領域では短くとる必要があり、
階調値の変動が非常に大きい場合には、その区間長さが
゛′0”の場合もあり得る.(区間長さが“0゛となっ
た時には同一×座標(llfl方向)上に区間貞が重複
して存在していると見な1.)本実施例では、第7図に
示すように9個の区間点が重複して存在する状態となっ
ており(白丸で示す点)、シたがって、全部で49の圧
縮区間に分けられている。第7図の破線はこれらの各圧
縮ディジタル信弓を再生した状態の再生n一縮ディジタ
ル信号を結んだ再生圧縮ディジタル信号群を示している
。なお、第7図において、画像データ(実a>と再生圧
縮ディジタル信号(破線)とが重複する場合には、原デ
ィジタル信号群である画像データを優先して図示してあ
る。
In the method of this embodiment, the entire scanning direction range is divided into compression sections having different section lengths, and the compression sections are used to generate a compressed digital signal. This compression section length needs to be short in the high frequency component region,
If the fluctuation of the gradation value is very large, the interval length may be ``0''. (When the interval length is ``0'', there is 1.) In this example, as shown in FIG. 7, nine interval points overlap (points indicated by white circles). Therefore, it is divided into a total of 49 compression sections. The broken lines in FIG. 7 indicate a group of reproduced compressed digital signals that connect the reproduced n-1 compressed digital signals obtained by reproducing each compressed digital signal. In FIG. 7, when the image data (actual a>) and the reproduced compressed digital signal (broken line) overlap, the image data, which is the original digital signal group, is shown with priority.

また、従来方法にJ3いてLL、第8図に示?jJ、う
に、全走査方向範囲を区間艮ざが均一な合5I81の圧
縮区間(区間点をX軸上で黒丸で承り》に均等分割し、
圧縮ディジタル信号群を作成している。
Also, J3 and LL in the conventional method are shown in Figure 8? jJ, sea urchin, divide the entire scanning direction range equally into 5I81 compressed sections (section points are indicated by black circles on the X axis) with uniform section distribution,
A compressed digital signal group is created.

第8図の破線はこれらの圧縮ディジタル信号酊を再生し
た状態の再生圧縮ディジタル信号を結んだTり(1圧縮
ディジタル信号群を示している。
The broken line in FIG. 8 connects the reproduced compressed digital signals obtained by reproducing these compressed digital signals (one compressed digital signal group).

これらの第7図および第8図を比較して7116ように
、本実施例方法によれば、従来力法の圧縮区間数の約1
/2の数の圧縮区間をもってIri.ディジタル信号を
圧縮しておきながら、irIられた再一F圧縮ディジタ
ル信号n丁は圧縮区間数の多い従来例のものに優るとも
劣らぬものとなり、原ディジタル信号群の値の変化に応
答性良く対応したものとなる。従って、本実施例によれ
ば、極めて効率よく原ディジタル信号群を圧縮すること
ができる。
Comparing these FIGS. 7 and 8, it is found that according to the method of this embodiment, the number of compression sections of the conventional force method is approximately 1
/2 number of compression intervals Iri. While the digital signal is compressed, the re-I-F compressed digital signal (n) that has been subjected to IRI is as good as the conventional example with a large number of compression sections, and has good responsiveness to changes in the values of the original digital signal group. It will be compatible. Therefore, according to this embodiment, the original digital signal group can be compressed extremely efficiently.

なJ3、11ii記実施例にJ3いては圧縮対象を画像
1の各画累の澄淡瓜合からなる原ディジタル信号I!T
としたが、1つの測値方向に値が変化するディジタル信
号群であれば、何でも圧縮対象とすることができる。
In the embodiment described in J3 and 11ii, the compression target is the original digital signal I! consisting of a clear and light combination of each stroke of the image 1! T
However, any digital signal group whose value changes in one measurement direction can be compressed.

また、圧縮区間の測値方向の良さの決定方法どじでは、
前記各実施例以外の方法を採用するようにしてしよい。
In addition, how to determine the goodness of the measurement direction of the compression section,
Methods other than those in each of the above embodiments may be adopted.

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

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

このように本発明のディジタル伯り群圧縮方法およびH
置は構成され作用するものであるから、1つの,1l1
値方向に値が変化する原ディジタル信号群をその変化に
応答性よく夕・1応して変化ツる圧縮ディジタル信号群
に圧縮することができ、しかも、少41い数の圧縮区聞
をもって効率よく圧縮させることができ、その後の信号
処即笠を簡単にしかも高速で行なうことができる等の効
果を秦する。
In this way, the digital noise group compression method of the present invention and H
Since a position is constituted and acts, a single, 1l1
It is possible to compress a group of original digital signals whose values change in the value direction into a group of compressed digital signals whose values change in response to the changes, and also to improve efficiency with a small number of compression sections. It can be compressed well and the subsequent signal processing can be performed simply and at high speed.

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

第1図から第7図は本発明のディジタル信号群圧縮方法
および装置の一実施例を示し、第1図【ユ木発明5A置
を概略示するブロック図、第2図は本発明装置を画像処
理並びに画像再生を行なうプリンタに利用した場合を示
寸ブ[Iツク図、第3図は本発明方法による圧縮区閂の
選出の例を一走合線に沿った画{9の濃淡の階調からな
る画aデータに適用した場合を示すね図、第4図から第
6図【3未それぞれ本発明方法による圧縮処理の状態を
示すフローチャ−1・図、第7図は本発明方法の適用の
具体例を示ず第3図と同様の図、第8図は本発明との比
較のための従来例を示す第7図と同様の図、第9図およ
び第10図はそれぞれ従来例を示す第2図および第3図
と同様の図である。 11・・・ディジタル信号群圧縮装置、12・・・変化
度合演算手段、13・・・圧縮区間長さ決定手段、14
・・・信丹圧縮手段、15・・・cpu.第1図
1 to 7 show an embodiment of the digital signal group compression method and apparatus of the present invention. A diagram showing the case where it is used in a printer that performs processing and image reproduction. Flowcharts 1 and 7 respectively show the state of compression processing according to the method of the present invention. 8 is a diagram similar to FIG. 7 showing a conventional example for comparison with the present invention, and FIGS. 9 and 10 are conventional examples, respectively. FIG. 3 is a diagram similar to FIGS. 11... Digital signal group compression device, 12... Change degree calculating means, 13... Compression section length determining means, 14
... Shintan compression means, 15... cpu. Figure 1

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 unequal. 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 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.
JP6127989A 1989-03-14 1989-03-14 Method and device for compressing digital signal group Pending JPH02239384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6127989A JPH02239384A (en) 1989-03-14 1989-03-14 Method and device for compressing digital signal group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6127989A JPH02239384A (en) 1989-03-14 1989-03-14 Method and device for compressing digital signal group

Publications (1)

Publication Number Publication Date
JPH02239384A true JPH02239384A (en) 1990-09-21

Family

ID=13166610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6127989A Pending JPH02239384A (en) 1989-03-14 1989-03-14 Method and device for compressing digital signal group

Country Status (1)

Country Link
JP (1) JPH02239384A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6260199A (en) * 1985-09-11 1987-03-16 Hitachi Tokyo Electron Co Ltd Signal storing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6260199A (en) * 1985-09-11 1987-03-16 Hitachi Tokyo Electron Co Ltd Signal storing system

Similar Documents

Publication Publication Date Title
JP3504054B2 (en) Document processing apparatus and document processing method
JP4966077B2 (en) Image processing apparatus and control method thereof
JP5137759B2 (en) Image processing device
JP2007288732A (en) Image processor, image processing method and program
US8581936B2 (en) Method and apparatus for generating image display data
JP4261988B2 (en) Image processing apparatus and method
JP2000187735A (en) Method for providing edition command and image edition system
JP5178490B2 (en) Image processing apparatus, image processing method, and computer program
US5388166A (en) Image drawing apparatus
JPH02239384A (en) Method and device for compressing digital signal group
JP3869992B2 (en) Information processing apparatus, image processing apparatus, and methods thereof
JPH0345018A (en) Method and apparatus for compressing digital signal group
JP4182891B2 (en) Image processing device
JP2620381B2 (en) Digital signal group compression method and apparatus
JP2620382B2 (en) Digital signal group compression method and apparatus
JP2980621B2 (en) Digital signal group compression method and apparatus
JP2620373B2 (en) Digital signal group compression method and apparatus
JP4164458B2 (en) Information processing apparatus and method, computer program, and computer-readable storage medium
JP2005151455A (en) Image processor, information processor, these control method, and program
JP4228905B2 (en) Image processing apparatus and program
JPH08237404A (en) Selection of optical character recognition mode
JPH11250249A (en) Method and device for extracting color image feature, and record medium
JP4375199B2 (en) Image processing apparatus and program
JP2007004724A (en) Character retrieval device, character retrieval method and program
WO2024023955A1 (en) Length measurement system, model creation system, and length measurement method