JPS6329472B2 - - Google Patents

Info

Publication number
JPS6329472B2
JPS6329472B2 JP55041729A JP4172980A JPS6329472B2 JP S6329472 B2 JPS6329472 B2 JP S6329472B2 JP 55041729 A JP55041729 A JP 55041729A JP 4172980 A JP4172980 A JP 4172980A JP S6329472 B2 JPS6329472 B2 JP S6329472B2
Authority
JP
Japan
Prior art keywords
mode
code
pattern
bits
length
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
JP55041729A
Other languages
Japanese (ja)
Other versions
JPS56138356A (en
Inventor
Kenji Kono
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4172980A priority Critical patent/JPS56138356A/en
Publication of JPS56138356A publication Critical patent/JPS56138356A/en
Publication of JPS6329472B2 publication Critical patent/JPS6329472B2/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 本発明は画像データ縮小方法に関し、とくに圧
縮画像を復元せずに縮少変換を行う画像データ縮
小方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image data reduction method, and particularly to an image data reduction method that performs reduction conversion without restoring a compressed image.

画像等のパターン情報を伝送、記憶する場合、
伝送速度、記憶容量、情報処理速度等の関係でも
とのパターン情報を圧縮し、伝送、記憶すること
が行われている。
When transmitting and storing pattern information such as images,
Due to transmission speed, storage capacity, information processing speed, etc., original pattern information is compressed, transmitted, and stored.

そして情報縮小に際しては、圧縮された情報の
復元を行つた後、所望の縮小処理を行うようにし
ている。
When reducing information, the compressed information is restored and then desired reduction processing is performed.

しかしこのように圧縮情報を一度復元した後、
縮小処理を行うと、復元操作のため、情報の処理
速度が低下するほか情報処理装置が大がかりなも
のとなる欠点があつた。
However, once the compressed information is restored in this way,
When the reduction process is performed, the information processing speed decreases due to the restoration operation, and the information processing apparatus becomes large-scale.

本発明はかかる点に鑑みなされたものであつ
て、圧縮情報の復元過程を経ずにこの圧縮情報に
基いて縮小変換を行い、情報処理を施すようにし
た新規な画像データ縮小方法を提供することを目
的とする。
The present invention has been made in view of this point, and provides a novel image data reduction method in which reduction conversion is performed based on compressed information without going through the process of restoring the compressed information, and information processing is performed. The purpose is to

この目的の達成のため、本発明画像データ縮小
方法は、縦aビツトの画素を1組とし、組の状態
を示すモード符号又は組間の遷移を示す遷移符号
及び該組の長さを示すランレングス符号によつて
圧縮符号化された画像情報から縦aビツト横bビ
ツトの領域を縦gビツト横hビツトの領域に縮小
する画像データ縮小方法であつて、該組の長さl
をr=b/hで除算し、l/rの整数値cに対
し、該aビツトの組に対応して定まる該gビツト
の組に対応する画像信号を該整数値c分出力し、
l/rの剰余値dに対し、次に位置する組の(r
−d)ビツト分を組合せて、該aビツトの組と該
次に位置する組に対応して定まる該gビツトの組
に対応する画像信号を少くとも出力することを特
徴とする。
In order to achieve this object, the image data reduction method of the present invention uses a set of vertical a-bit pixels, a mode code indicating the state of the set, a transition code indicating the transition between the sets, and a run code indicating the length of the set. An image data reduction method that reduces an area of a vertical bits and horizontal b bits to an area of g vertical bits and h horizontal bits from image information compressed and encoded by a length code, the length of the set being l.
is divided by r=b/h, and for an integer value c of l/r, an image signal corresponding to the set of g bits determined corresponding to the set of a bits is output for the integer value c;
For the remainder value d of l/r, the next located set (r
-d) It is characterized by combining the bits and outputting at least an image signal corresponding to the set of g bits determined corresponding to the set of a bits and the set located next.

以下図面を参照しながら本発明の好ましい実施
例について詳細に説明する。
Preferred embodiments of the present invention will be described in detail below with reference to the drawings.

実施例の説明の前に、本発明の基本的考え方を
説明する。第1図aは、パターン情報であつて、
説明の便宜上縦2ビツト横2ビツトの4画素を1
単位とし、それぞれの単位にアドレス(i、j)
(i=1〜7、j=1〜4)をつける。同図にお
いて、斜線部は画素が黒状態であることを示し、
無印は画素が白状態であることを示す。
Before explaining the embodiments, the basic idea of the present invention will be explained. FIG. 1a is pattern information,
For convenience of explanation, 4 pixels (2 bits vertically and 2 bits horizontally) are 1.
unit, and address (i, j) for each unit.
Add (i=1 to 7, j=1 to 4). In the figure, the shaded area indicates that the pixel is in a black state,
No mark indicates that the pixel is in a white state.

このパターン情報の圧縮は次のようにして行
う。例えば縦2ビツト横2ビツトの4画素を縦1
ビツト横1ビツトの1画素に縮少する場合、例え
ば第2図に示すような変換論理を用いる。
This pattern information is compressed as follows. For example, 4 pixels (2 bits vertically and 2 bits horizontally) are divided into 1 vertically
When reducing to one pixel of one bit horizontally, a conversion logic as shown in FIG. 2 is used, for example.

従つて第1図aに示す情報パターンは第1図b
に示すような情報パターンに縮少変換される。
Therefore, the information pattern shown in Figure 1a is as shown in Figure 1b.
It is reduced and converted into an information pattern as shown in .

第1図aの番地(5、1)の4画素は、第1図
bの番地(5、1)で示される黒レベルを有する
1画素に変換され、第1図aの番地(7、1)の
4画素は第1図bの番地(7、1)で示される白
レベルを有する1画素に変換される。
The four pixels at address (5, 1) in FIG. 1a are converted into one pixel having the black level shown at address (5, 1) in FIG. ) are converted into one pixel having the white level shown at address (7, 1) in FIG. 1b.

縮少変換される前の圧縮されたパターン情報は
第3図aの画素マトリツクスの2行毎(縦2ビツ
ト分に対応する)に、第3図bに示すように符号
化されている。第3図bにおいてアルフアベツト
は縦2ビツトの画素を1組とした場合の各組が黒
レベル、白レベルのいずれであるかを示すモード
符号であり、数字は、このモード同一パターンの
長さ(ランレングス符号)を示す。
The compressed pattern information before reduction conversion is encoded every two rows (corresponding to 2 vertical bits) of the pixel matrix of FIG. 3a, as shown in FIG. 3b. In FIG. 3b, the alpha alphabet is a mode code indicating whether each set of vertical 2-bit pixels is a black level or a white level, and the number is the length of the same pattern in this mode ( run-length code).

例えば第3図bの先頭のモード符号B/Wは第
3図aの画素マトリツクスの1番目および2番目
の1組の画素のモードを示し、ランレングス符号
“2”は、B/Wなるモードパターン配列が、2
個連続することを示し、次のモード符号B/B及
びランレングス符号4は、B/Bなるモードパタ
ーン配列が4個連続することを示す。以下同様で
ある。
For example, the mode code B/W at the beginning of FIG. 3b indicates the mode of the first and second pair of pixels in the pixel matrix of FIG. 3a, and the run length code "2" indicates the mode B/W. The pattern array is 2
The next mode code B/B and run length code 4 indicate that four consecutive mode pattern sequences B/B occur. The same applies below.

ここで前述の圧縮符号を縮小する場合、例えば
第4図に示す縮小変換を施すと、第3図bに示し
た圧縮符号は第3図cに示すようになる。
When reducing the compression code mentioned above, for example, by applying the reduction conversion shown in FIG. 4, the compression code shown in FIG. 3b becomes as shown in FIG. 3c.

第3図bのモード符号B/W及びランレングス
符号“2”は縮小されるとモード符号“B”とな
りランレングス長も“1”となる。
When the mode code B/W and run length code "2" in FIG. 3b are reduced, the mode code becomes "B" and the run length becomes "1".

そしてランレングスの値が奇数の場合、例え
ば、第5番目のモード符号B/W、ランレングス
“1”で表される画素パターンは、隣接領域に示
される画素パターンB/Bと一体化されて縮小変
換され第4図より明らかなようにモード符号B、
ランレングス1なる画素パターンに変換される。
従つて最后のモード符号B/Bにはランレングス
“2”のパターンが残されており、このパターン
が第2表によりモード符号Bに変換される。
If the run length value is an odd number, for example, the pixel pattern represented by the fifth mode code B/W and run length "1" is integrated with the pixel pattern B/B shown in the adjacent area. As is clear from FIG. 4, the mode code B is reduced.
It is converted into a pixel pattern with a run length of 1.
Therefore, a pattern with run length "2" remains in the last mode code B/B, and this pattern is converted to mode code B according to Table 2.

このような変換により、第1図aに示したパタ
ーンは第1図bに示したパターンに圧縮符号のま
ま縮少変換される。
Through such conversion, the pattern shown in FIG. 1a is reduced to the pattern shown in FIG. 1b while remaining as a compressed code.

同様にBを状態“1”とし、Wを状態“0”と
し、モード符号を用いずに出力してもよい。
Similarly, B may be set to the state "1", W may be set to the state "0", and the output may be made without using the mode code.

第5図は本発明の一実施例回路構成図であつて
1はデータフアイルであつて、圧縮された画像パ
ターンが記憶されており、2はバツフアメモリ、
3はコード判別回路であつて、画素情報を表すモ
ード符号と、ランレングスを判別する。
FIG. 5 is a circuit configuration diagram of one embodiment of the present invention, in which 1 is a data file in which compressed image patterns are stored, 2 is a buffer memory;
3 is a code discrimination circuit which discriminates a mode code representing pixel information and a run length.

4aはモードレジスタ、4bはランレングスレ
ジスタ、5aはモードレジスタ、5bはランレン
グスレジスタ、6は制御部であつて、ROM
(Read−Only−Memory)6a、モードレジス
タ4a,5aからのモードデータとランレングス
レジスタ4b,5bからのランレングスコードを
受ける演算制御部6bを具える。
4a is a mode register, 4b is a run length register, 5a is a mode register, 5b is a run length register, 6 is a control unit, and ROM
(Read-Only-Memory) 6a, and an arithmetic control unit 6b that receives mode data from mode registers 4a and 5a and run-length codes from run-length registers 4b and 5b.

7はバツフアメモリ、8はデータフアイルであ
る。
7 is a buffer memory, and 8 is a data file.

次にこの装置の動作を説明する。 Next, the operation of this device will be explained.

データフアイル1には第3図aに示したパター
ン情報が、第3図bの如く圧縮された2値化符号
の形で収納されており、このパターン情報は図示
しない制御部の制御によつて1領域分ずつが、順
次バツフアメモリ2に入力された後、コード判別
回路3に入力する。このパターンの内容を示すモ
ード符号はモードレジスタ4aに収納され、ラン
レングスコードはランレングスレジスタ4bに収
納される。
The data file 1 stores the pattern information shown in FIG. 3a in the form of a compressed binary code as shown in FIG. 3b, and this pattern information is controlled by a control section (not shown). The data for each area is sequentially input to the buffer memory 2 and then input to the code discrimination circuit 3. A mode code indicating the contents of this pattern is stored in the mode register 4a, and a run length code is stored in the run length register 4b.

引続いてデータフアイル1から次のモード領域
のパターン情報がバツフアメモリ2に入力され、
このパターンのモード符号はモードレジスタ5a
に収納され、ランレングスコードはレジスタ5b
に収納される。
Subsequently, pattern information for the next mode area is input from data file 1 to buffer memory 2,
The mode code of this pattern is the mode register 5a.
The run length code is stored in register 5b.
will be stored in.

演算制御部6bは、先づランレングスレジスタ
4bに蓄えられているランレングス長lを読出
し、変換すべき縮少比rで割算し、l=c・r+
d(c、r、d、lは各々整数)の形で表現する。
第3図の実施例ではr=2であり、dは0又は1
である。この時cが1以上の場合、モードレジス
タ4aのモード符号を読出し、モード符号とこの
値cとでROM6aをアクセスする。
The arithmetic control unit 6b first reads the run length length l stored in the run length register 4b, divides it by the reduction ratio r to be converted, and calculates l=c·r+
It is expressed in the form of d (c, r, d, l are each integers).
In the embodiment of FIG. 3, r=2, and d is 0 or 1.
It is. At this time, if c is 1 or more, the mode code of the mode register 4a is read out, and the ROM 6a is accessed using the mode code and this value c.

ROM6aには、アクセスされたモード符号に
対応して縮小された際のモードに対応する画像パ
ターンが蓄積されており、従つてcケの対応画像
パターンが出力される。
The ROM 6a stores image patterns corresponding to the reduced mode corresponding to the accessed mode code, and thus c corresponding image patterns are output.

例えば第3図においては、アクセスされるモー
ド符号がB/Bで、l=4の場合、B、即ち黒パ
ターンが2ケ出力される。
For example, in FIG. 3, when the accessed mode code is B/B and l=4, two B, ie, black patterns are output.

その後、dが有意(即ち、第3図の場合1)か
無意(第3図の場合0)かを検査し、無意なら、
次のモードの判定(即ちレジスタ5aのモードの
判定)に移り、有意なら次のような演算を行な
う。即ち、レジスタ5aのモード符号を読取り、
レジスタ4a及びレジスタ5aのモード符号で
ROM6aをアクセスする。ROM6aは同様に
両モード符号に対応する画像パターンを1ケ出力
する。その後、レジスタ5bのランレングス長
l′から(r−d)差し引き、レジスタ5aのモー
ド判定画像パターン出力に移行する。
Then, check whether d is significant (i.e., 1 in the case of Figure 3) or insignificant (0 in the case of Figure 3), and if it is insignificant, then
The process moves on to determining the next mode (that is, determining the mode of the register 5a), and if it is significant, the following calculation is performed. That is, read the mode code of register 5a,
With the mode code of register 4a and register 5a
Access ROM6a. Similarly, the ROM 6a outputs one image pattern corresponding to both mode codes. Then, the run length of register 5b
(r-d) is subtracted from l' and the process proceeds to the mode determination image pattern output of the register 5a.

これらの出力はバツフアメモリ7を介し、デー
タフアイル8へ蓄えられる。
These outputs are stored in a data file 8 via a buffer memory 7.

このようにして、縮小画像が出力されるが、
ROM6aには第2図の変換前の画像パターンの
モード符号に応じ、変換後の画像パターンが蓄え
られていると考えてよい。
In this way, a reduced image is output,
It may be considered that the ROM 6a stores image patterns after conversion according to the mode codes of the image patterns before conversion shown in FIG.

同様にして、変換後の画像パターンの代りにこ
のモード符号を蓄積してもよい。
Similarly, this mode code may be stored instead of the converted image pattern.

縮小比rが3以上の場合にも、r=2の場合に
第2図に示した変換原理を取り決めたのと同様に
取り決めを行う。
Even when the reduction ratio r is 3 or more, the conversion principle shown in FIG. 2 is determined in the same way as when r=2.

例えば横方向の縮小率rが3で縦方向も3とす
る。9画素(縦3画素、横3画素)のうち5画素
以上黒の場合、黒に、4画素以下黒の場合白に変
換する。これに対応した第4図と同様の変換表を
作成して変換を行えば所望の縮小比の画像データ
が得られる。
For example, assume that the reduction ratio r in the horizontal direction is 3 and the reduction ratio r in the vertical direction is also 3. If 5 or more pixels out of 9 pixels (3 pixels vertically, 3 pixels horizontally) are black, it is converted to black, and if 4 pixels or less are black, it is converted to white. By creating a corresponding conversion table similar to that shown in FIG. 4 and performing conversion, image data with a desired reduction ratio can be obtained.

以上の説明から明らかなように、本発明に係る
画像情報縮小方法は、パターン情報を復元するこ
となくパターン情報の縮小を行うため、復元機が
不要であり、装置構成が簡単になるほか、画素情
報を一括符号化しデータ処理を行うためバツフア
メモリ等のメモリ容量が小さくて済み装置構成が
簡単になるという利点がある。
As is clear from the above description, the image information reduction method according to the present invention reduces the pattern information without restoring the pattern information, so a restoring machine is not required, the device configuration becomes simple, and the pixel information Since information is encoded all at once and data processing is performed, there is an advantage that the memory capacity such as a buffer memory is small and the device configuration is simple.

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

第1図aはパターンの一例を示す図、第1図b
は縮少変換されたパターンを示す図、第2図は本
発明に用いられる変換表説明図、第3図aはパタ
ーンの一部を示す図、第3図b,cは本発明の説
明のためのモード情報を示す図、第4図は本発明
の変換説明図、第5図は本発明の一実施例構成図
である。 1:データフアイル、2:バツフアレジスタ、
3:モード判定回路、4a:モードレジスタ、4
b:ランレングスレジスタ、5a:モードレジス
タ、5b:ランレングスレジスタ、6a:
ROM、6b:出力制御部、6c:セレクタ、
7:バツフアメモリ、8:データフアイル。
Figure 1a shows an example of the pattern, Figure 1b
2 is an explanatory diagram of the conversion table used in the present invention, FIG. 3 a is a diagram showing a part of the pattern, and FIGS. 3 b and c are diagrams explaining the present invention. FIG. 4 is a diagram illustrating the conversion of the present invention, and FIG. 5 is a diagram showing the configuration of an embodiment of the present invention. 1: Data file, 2: Buffer register,
3: Mode determination circuit, 4a: Mode register, 4
b: run length register, 5a: mode register, 5b: run length register, 6a:
ROM, 6b: Output control section, 6c: Selector,
7: Buffer memory, 8: Data file.

Claims (1)

【特許請求の範囲】 1 マトリツクス状に配列された画素群の縦aビ
ツトの画素を1組とし、該組の状態を示すモード
符号及び該組の長さlを示すランレングス符号に
よつて圧縮符号化された画像情報から縮小比rの
画像情報を得る画像情報縮小方法であつて、前記
aビツトの組の前記モード符号を縮小変換論理に
より変換して得られるモード符号及び組の長さと
して値〔l/r〕(〔l/r〕は比l/rの整数
値)を有する縮小された画像情報を得てなり、 比l/rの剰余値dに対して、前記aビツトの
組の次に位置する組の(r−d)ビツト分を組合
せて前記縮小変換論理によりモード符号及び組の
長さを得ることを特徴とする画像情報縮小方法。
[Scope of Claims] 1 A set of vertical a-bit pixels of a pixel group arranged in a matrix is compressed using a mode code indicating the state of the set and a run length code indicating the length l of the set. An image information reduction method for obtaining image information with a reduction ratio r from encoded image information, wherein the mode code of the set of a bits is converted by reduction conversion logic, and the length of the set is Obtain reduced image information having the value [l/r] ([l/r] is an integer value of the ratio l/r), and calculate the set of a bits for the remainder value d of the ratio l/r. A method for reducing image information, characterized in that the mode code and the length of the set are obtained by the reduction conversion logic by combining (rd) bits of the set located next to the set.
JP4172980A 1980-03-31 1980-03-31 Picture shrinking system Granted JPS56138356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4172980A JPS56138356A (en) 1980-03-31 1980-03-31 Picture shrinking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4172980A JPS56138356A (en) 1980-03-31 1980-03-31 Picture shrinking system

Publications (2)

Publication Number Publication Date
JPS56138356A JPS56138356A (en) 1981-10-28
JPS6329472B2 true JPS6329472B2 (en) 1988-06-14

Family

ID=12616506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4172980A Granted JPS56138356A (en) 1980-03-31 1980-03-31 Picture shrinking system

Country Status (1)

Country Link
JP (1) JPS56138356A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57129064A (en) * 1981-02-02 1982-08-10 Matsushita Graphic Commun Syst Inc Picture signal processing system
JPS58181359A (en) * 1982-04-16 1983-10-24 Yokogawa Hokushin Electric Corp Picture data processor
JPS62202677A (en) * 1986-03-03 1987-09-07 Nec Corp Image processor
JP2809635B2 (en) * 1987-12-28 1998-10-15 株式会社東芝 Image data processing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53144211A (en) * 1977-05-23 1978-12-15 Hitachi Ltd Linear density conversion system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53144211A (en) * 1977-05-23 1978-12-15 Hitachi Ltd Linear density conversion system

Also Published As

Publication number Publication date
JPS56138356A (en) 1981-10-28

Similar Documents

Publication Publication Date Title
JPS5970368A (en) Gray scale image data filter unit
JP3308675B2 (en) Encoding device
US4955061A (en) Method and apparatus for processing an image signal
JPS6329472B2 (en)
JPH08116545A (en) Image transmission method and system therefor
JPS646589B2 (en)
JPH0261832B2 (en)
JPS6339187B2 (en)
JPH04270569A (en) Data compression system for picture processor
US5610727A (en) Apparatus for detecting coordinates of changing points in binary image signals
JPH037316B2 (en)
JPS5957576A (en) Picture data compressing circuit
JP2506705B2 (en) Coding / decoding apparatus for hierarchical image
JP2624659B2 (en) Superimposed block decoding device
JPS63301677A (en) Change point detecting circuit
JPS6342472B2 (en)
JPS6125272B2 (en)
JPS6231257A (en) Two-dimensional encoding device for picture signal
JPS63132572A (en) Halftone image encoding circuit
JPS6174458A (en) Facsimile code decoding circuit
JPS6058628B2 (en) Facsimile signal encoding method
JPS6110363A (en) Facsimile picture converting device
JPH0346461A (en) Picture data correction device
JPH0261831B2 (en)
JPS6118266A (en) Modified huffman coding and decoding device