JPH0630282A - Image extending system - Google Patents

Image extending system

Info

Publication number
JPH0630282A
JPH0630282A JP4179586A JP17958692A JPH0630282A JP H0630282 A JPH0630282 A JP H0630282A JP 4179586 A JP4179586 A JP 4179586A JP 17958692 A JP17958692 A JP 17958692A JP H0630282 A JPH0630282 A JP H0630282A
Authority
JP
Japan
Prior art keywords
line
compressed data
image
compression data
decompression
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
JP4179586A
Other languages
Japanese (ja)
Inventor
Yoshinori Itabashi
吉徳 板▲橋▼
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4179586A priority Critical patent/JPH0630282A/en
Publication of JPH0630282A publication Critical patent/JPH0630282A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To provide the system for efficiently and partially extending a compressed data without decoding the compressed data at a part, for which it is not necessary to be extended for retrieving the line position of instructed extension start when partially extending the compressed data concerning a system to image compressed data by a facsimile coding system. CONSTITUTION:Image compressed data 4 are scanned for the unit of plural bits by a detecting means 2 and the bit pattern of a line termination code is detected so as to retrieve the line position of extension start instructed by an instructing means 1 for the line position of extension start and the number of lines to be extended. Next, the number of lines to be extended instructed by the instructing means 1 is extended for the unit of a line from that position by an extending means 3 for the unit of a line so as to provide the system for efficiently and partially extend the compressed data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ符号化方
式による画像圧縮デ−タを部分的に伸長する画像伸長方
式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decompression system for partially decompressing image compression data by a facsimile coding system.

【0002】[0002]

【従来の技術】近年、ファクシミリ装置とコンピュ−タ
機器とを接続して、ファクシミリ符号化による画像圧縮
デ−タをコンピュ−タ機器で表示、編集、印刷、などを
行うことが盛んになってきている。コンピュ−タ機器に
おいて、画像圧縮デ−タを表示する場合に、その画像の
解像度に比べて、コンピュ−タ表示装置の解像度が低い
ため、また、表示装置での画像の描画を効率的に行うた
め、などにより画像圧縮デ−タの全体を一度に伸長せ
ず、部分的に伸長する方式の要求が高まっている。
2. Description of the Related Art In recent years, it has become popular to connect a facsimile machine and a computer device to display, edit and print image compression data by facsimile coding on the computer device. ing. When the image compression data is displayed on the computer device, the resolution of the computer display device is lower than the resolution of the image, and the image is efficiently drawn on the display device. For this reason, there is an increasing demand for a method of partially expanding the entire image compression data at a time, rather than expanding it all at once.

【0003】従来、ライン終端符号を有するCCITT
勧告T.4などのファクシミリ符号化方式による画像圧
縮デ−タから、その中の部分的な画像を取り出す場合に
は、画像圧縮デ−タの全体を一度に伸長した後に、その
伸長した画像デ−タから必要な部分画像デ−タを取り出
すか、画像圧縮デ−タの先頭からその符号化列を復号し
ていき、ライン終端符号の数を数えて、伸長を開始する
行位置を決めた後に、必要な部分の画像を伸長する、な
どの方式が考えられる。
Conventionally, CCITT with line termination code
Recommendation T. In the case of extracting a partial image from the image compression data by the facsimile encoding method such as No. 4, the entire image compression data is expanded at a time and then the expanded image data is extracted. After extracting the required partial image data or decoding the coded sequence from the beginning of the image compression data, counting the number of line end codes and deciding the row position to start decompression, It is conceivable to expand the image of a certain part.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記の従
来の方式では、画像圧縮デ−タ中の伸長する必要のない
部分の圧縮デ−タをビット単位に走査して、符号化規則
に従って復号することになり、画像圧縮デ−タを部分的
に伸長する場合の効率が著しく低いという課題を有して
いた。
However, in the above-mentioned conventional method, the compression data of the portion of the image compression data that does not need to be expanded is scanned bit by bit and decoded according to the encoding rule. Therefore, there is a problem that the efficiency in the case of partially expanding the image compression data is extremely low.

【0005】本発明は上記の従来の課題を解決するもの
で、効率良く画像圧縮デ−タを部分的に伸長する方式を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned conventional problems, and an object thereof is to provide a method for efficiently partially expanding image compression data.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明の画像圧縮デ−タの伸長方式は、圧縮デ−タ中
の伸長を開始する行位置と伸長する行数を指示する指示
手段と、圧縮デ−タを複数ビット単位に走査して、ライ
ン終端符号を検出する検出手段と、圧縮デ−タを画像の
行単位に伸長する手段とからなる構成を有している。
In order to achieve this object, an image compression data decompression method according to the present invention uses an instruction for instructing the line position at which decompression is started in the compression data and the number of lines to be decompressed. And a means for scanning the compressed data in units of a plurality of bits to detect the line end code, and a means for expanding the compressed data in units of image lines.

【0007】[0007]

【作用】この構成によって、画像圧縮デ−タを複数ビッ
ト単位に走査して、ライン終端符号のビットパタ−ンを
検出することにより、指示した伸長開始の行位置を検索
した後に、その位置から、指示した伸長行数を行単位に
伸長することにより、効率良く画像圧縮デ−タを部分的
に伸長することを可能にする。
With this configuration, the image compression data is scanned in a unit of a plurality of bits to detect the bit pattern of the line end code, thereby searching the line position of the instructed decompression start, and then from that position, By decompressing the instructed decompression line number on a line-by-line basis, the image compression data can be efficiently decompressed partially.

【0008】[0008]

【実施例】以下本発明の一実施例について、図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1において、1は画像圧縮デ−タ中の伸
長を開始する行位置と伸長す行数を指示する指示手段、
2は画像圧縮デ−タを複数ビット単位に走査してライン
終端符号を検出する検出手段、3は画像圧縮デ−タを画
像の行単位に伸長する伸長手段、4は伸長しようとする
画像圧縮デ−タである。
In FIG. 1, reference numeral 1 designates an instruction means for instructing a row position at which decompression starts in the image compression data and the number of rows to be decompressed.
Reference numeral 2 is a detecting means for scanning the image compression data in units of a plurality of bits to detect the line end code, 3 is decompression means for decompressing the image compression data in image line units, and 4 is an image compression to be decompressed. It is data.

【0010】以上のように構成された画像圧縮デ−タの
伸長方式について、図2に示すCCITT勧告T.4に
よる符号化方式に従った画像圧縮デ−タを例にして、そ
の動作を説明する。前記T.4の符号化方式に従った画
像圧縮デ−タは、2次元2値画像を左から右、上から下
に走査して、行ごとに符号化されており、各行の頭には
ライン終端符号(EOL)が、また、圧縮デ−タの最後
には制御復帰符号(RTC)が存在する。ここで、ライ
ン終端符号は12個の連続したビット”0000000
00001”で表されるビット列であり、また、ライン
終端符号の前には0個以上”0”ビットが連続したフィ
ルが存在してもよい。まず、上記のような画像圧縮デ−
タの一部分の伸長を行うために、図1の1に示す圧縮デ
−タの伸長開始の行位置と伸長行数の指示手段により、
伸長開始の行位置と伸長行数を指示する。次に、図1の
2に示す圧縮デ−タを複数ビット単位に走査してライン
終端符号を検出する検出手段により、圧縮デ−タの中か
ら、指示された伸長開始の行位置を検索する。最後に、
図1の3に示す圧縮デ−タを画像の行単位に伸長する伸
長手段により、指示された伸長行数を伸長する。ここ
で、上記のライン終端符号の検出手段の動作について、
図3を用いてさらに説明する。前記T.4の符号化方式
のライン終端符号とフィルの規定により、11個以上
の”0”ビットの直後に”1”ビットがが存在するビッ
トパタ−ンはライン終端符号と判定することが可能であ
り、そのようなビットパタ−ンを検出するアルゴリズム
の例を図3で示す。図3では、圧縮デ−タを走査するビ
ット単位数を8とする。まず、1では、直前に走査した
ビット列の右から連続した”0”ビットの数Nを0とす
る。2では、次の走査対象の8ビットを取り出す。3で
は、走査対象のビット列が”00000000”の場合
には、Nに8を加えて、2に戻り、そうでなければ4に
進む。4では、走査対象のビット列の左から連続した”
0”ビットの数をL0とする。5では、NにL0を加え
て、11以上の場合には上記のようにライン終端符号が
存在すると判定し終了する。そうでなければ、7に進
む。7では、走査対象のビット列の右から連続した”
0”ビットの数をNに代入し、2に戻る。上記の4と7
において、ビット列の左あるいは右から連続した”0”
ビットの数を出すには、図4に示すようなテ−ブルを用
いればよい。図4のテ−ブルは、走査ビット単位数が8
の場合には、255個の項目により構成され、走査対象
ビット列を数値にして、テ−ブルの項目番号を決めるこ
とが可能なため、迅速にビット列に対応する左あるいは
右から連続した”0”ビットの長さを取り出すことが可
能である。
Regarding the decompression method of the image compression data configured as described above, CCITT recommendation T.264 shown in FIG. The operation of the image compression data according to the coding method of No. 4 will be described as an example. The T. The image compression data according to the coding method of No. 4 scans a two-dimensional binary image from left to right and from top to bottom, and is coded row by row, with a line termination code at the beginning of each row. (EOL), and a control return code (RTC) exists at the end of the compressed data. Here, the line termination code is 12 consecutive bits "0000000".
It is a bit string represented by 00001 ", and a fill in which 0 or more" 0 "bits are consecutive may exist before the line termination code. First, the image compression data as described above.
In order to decompress a part of the data, the decompression start line position and the decompression line number indicating means of the compression data shown in FIG.
Specify the line position to start decompression and the number of decompressed lines. Then, the detection means for scanning the compressed data indicated by 2 in FIG. 1 in a unit of a plurality of bits to detect the line end code searches the compressed data for the instructed decompression start row position. . Finally,
The decompressing means for decompressing the compression data indicated by 3 in FIG. 1 for each line of the image decompresses the instructed decompression line number. Here, regarding the operation of the above-mentioned line termination code detecting means,
Further description will be given with reference to FIG. The T. According to the line termination code and fill specification of the coding method of 4, it is possible to determine a bit pattern in which 11 or more "0" bits are immediately followed by "1" bits as a line termination code. An example of an algorithm for detecting such a bit pattern is shown in FIG. In FIG. 3, the number of bit units for scanning compressed data is eight. First, at 1, the number N of consecutive "0" bits from the right of the bit string scanned immediately before is set to 0. In 2, the next 8 bits to be scanned are extracted. In 3, when the bit string to be scanned is “00000000”, N is incremented by 8 and the process returns to 2, otherwise the process proceeds to 4. In 4, it is continuous from the left of the bit string to be scanned.
The number of 0 ″ bits is L0. In 5, L0 is added to N, and if 11 or more, it is determined that the line termination code exists as described above, and the process ends. If not, the process proceeds to 7. In 7, consecutive bits from the right of the bit string to be scanned ”
Substitute the number of 0 "bits for N and return to 2. 4 and 7 above
In "," consecutive "0" from the left or right of the bit string
To obtain the number of bits, a table as shown in FIG. 4 may be used. The table of FIG. 4 has eight scanning bit units.
In the case of, the item number of the table can be determined by using the bit string to be scanned as a numerical value, which is composed of 255 items. It is possible to extract the bit length.

【0011】以上のように本実施例によれば、複数ビッ
ト単位に走査してライン終端符号を検出する上で、走査
ビット列とライン終端符号のビットパタ−ンの一致を迅
速に判定するテ−ブルを設けることにより、圧縮デ−タ
の部分的な伸長のために指示された伸長開始の行位置を
高速に検索することができる。
As described above, according to the present embodiment, the table for rapidly determining the coincidence between the scan bit string and the bit pattern of the line termination code is detected in detecting the line termination code by scanning in units of a plurality of bits. By providing, the line position of the decompression start instructed for the partial decompression of the compressed data can be searched at high speed.

【0012】なお、実施例において、走査ビット単位数
を8としたが、1以上の任意の値でよい。また、図4の
テ−ブルは、CCITT勧告T.4で規定するライン終
端符号を検出するように構成しているが、他の規定によ
るライン終端符号を検出するように構成することも可能
である。
Although the number of scanning bit units is 8 in the embodiment, it may be any value of 1 or more. The table in FIG. 4 is CCITT recommendation T.264. Although it is configured to detect the line termination code defined by No. 4, it is also possible to configure to detect the line termination code defined by other regulations.

【0013】[0013]

【発明の効果】以上のように本発明は、画像圧縮デ−タ
中の伸長を開始する行位置と伸長する行数を指示する指
示手段と、圧縮デ−タを複数ビット単位に走査してライ
ン終端符号を検出する検出手段と、圧縮デ−タを画像の
行単位に伸長する手段を設けることにより、効率良く画
像圧縮デ−タを部分的に伸長することができる優れた伸
長方式を実現できるものである。
As described above, according to the present invention, the instructing means for instructing the line position at which the expansion is started and the number of lines to be expanded in the image compression data, and the compression data are scanned in a unit of a plurality of bits. By providing a detecting means for detecting the line termination code and a means for expanding the compressed data for each line of the image, an excellent expansion method capable of partially expanding the image compression data is realized. It is possible.

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

【図1】本発明の一実施例における画像伸長方式の構成
を示す概念図
FIG. 1 is a conceptual diagram showing a configuration of an image decompression method in an embodiment of the present invention.

【図2】本発明の一実施例における画像圧縮デ−タの構
成を示す概略図
FIG. 2 is a schematic diagram showing the structure of image compression data according to an embodiment of the present invention.

【図3】本発明の一実施例における圧縮デ−タ中のライ
ン終端符号の検出の流れ図
FIG. 3 is a flow chart for detecting a line termination code in compressed data according to an embodiment of the present invention.

【図4】本発明の一実施例におけるライン終端符号の検
出用テ−ブル構成図
FIG. 4 is a block diagram of a table for detecting a line termination code in an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 指示手段 2 検出手段 3 伸長手段 1 indicating means 2 detecting means 3 expanding means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 圧縮デ−タ中の伸長を開始する行位置と
伸長する行数を指示する指示手段と、前記圧縮デ−タを
複数ビット単位に走査してライン終端符号を検出する検
出手段と、前記圧縮デ−タを画像の行単位に伸長する伸
長手段を備えたことを特徴とするライン終端符号を有す
るファクシミリ符号化方式に従った2次元2値画像の圧
縮デ−タの画像伸長方式。
1. An instructing means for instructing a row position to start decompression in compressed data and the number of rows to be decompressed, and a detecting means for scanning the compressed data in units of a plurality of bits to detect a line end code. And a decompression means for decompressing the compressed data in image line units, and image expansion of compressed data of a two-dimensional binary image according to a facsimile encoding system having a line termination code. method.
JP4179586A 1992-07-07 1992-07-07 Image extending system Pending JPH0630282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4179586A JPH0630282A (en) 1992-07-07 1992-07-07 Image extending system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4179586A JPH0630282A (en) 1992-07-07 1992-07-07 Image extending system

Publications (1)

Publication Number Publication Date
JPH0630282A true JPH0630282A (en) 1994-02-04

Family

ID=16068322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4179586A Pending JPH0630282A (en) 1992-07-07 1992-07-07 Image extending system

Country Status (1)

Country Link
JP (1) JPH0630282A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586671A (en) * 1981-07-03 1983-01-14 Ricoh Co Ltd Decoder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586671A (en) * 1981-07-03 1983-01-14 Ricoh Co Ltd Decoder

Similar Documents

Publication Publication Date Title
JP2940496B2 (en) Pattern matching encoding apparatus and method
JPH0564007A (en) Method and device for encoding and decoding
JP2001203897A (en) Pattern-matching encoding device and its method
US5170445A (en) Document decompressing system
JPH11168632A (en) Binary expression processing method for dither image, method for uncompressing dither image expressed in compression binary representation and compression and uncompression system for dither image
JPH07264417A (en) Image coding method
JP3901514B2 (en) Image compression method, decompression method and program
JP2003324611A (en) Image processing equipment and image processing method
JPH0630282A (en) Image extending system
US5915042A (en) Coding and decoding methods and apparatus for compressing and expanding image data
US6912320B2 (en) Data decompressing method, data decompressing unit, and computer-readable storage medium storing data decompressing program
JPH06334872A (en) Picture processing unit
JPH0779415B2 (en) Decompression method of compressed data
JP3433276B2 (en) Image signal compression method and apparatus, image signal decompression method and apparatus, image signal compression / decompression method and apparatus, and printer
JP3261208B2 (en) Picture information prediction encoding and decoding apparatus
JP3417684B2 (en) Image processing device
JP3193140B2 (en) Image and code data compression
US6674912B2 (en) Data compression processing method and apparatus
JPH05127866A (en) Image data compression system
JPH0884260A (en) Compression system and expansion system for two-dimension image data
JPH07336696A (en) Compressing system and expanding system for two-dimensional image data
JP2003198856A (en) Image compression method, decompression method thereof, and program thereof
EP0302432A2 (en) Document decompressing system
JP3203352B2 (en) Data decompression processor
KR900007566B1 (en) Picture data converting device