JPH07203214A - Compression and expansion method for picture data - Google Patents

Compression and expansion method for picture data

Info

Publication number
JPH07203214A
JPH07203214A JP5350498A JP35049893A JPH07203214A JP H07203214 A JPH07203214 A JP H07203214A JP 5350498 A JP5350498 A JP 5350498A JP 35049893 A JP35049893 A JP 35049893A JP H07203214 A JPH07203214 A JP H07203214A
Authority
JP
Japan
Prior art keywords
data
contour
image
compressed
image data
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
JP5350498A
Other languages
Japanese (ja)
Other versions
JP3077869B2 (en
Inventor
Mitsuhiko Yamada
光彦 山田
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP05350498A priority Critical patent/JP3077869B2/en
Publication of JPH07203214A publication Critical patent/JPH07203214A/en
Application granted granted Critical
Publication of JP3077869B2 publication Critical patent/JP3077869B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To set a border of pictures whose compression rate differs by using a contour smaller than the contour of picture element blocks. CONSTITUTION:A cut mask for a picture desired to be compressed at a low compression rate is set in an original picture IM0 and compression areas IR1, IR2 including the cut mask are set. In this case, the contour of the cut mask is set by the resolution in the unit of picture elements and the contour of the compression areas IR1, IR2 is set by the resolution in the unit of picture element blocks at compression. One set of compression data are made up of compressed picture data CD1, CD2 in the compression areas IR1, IR2, mask data MV1, MV2 and compressed picture data CDO of the original picture IM0. When the compressed picture data are expanded, a multi-gradation cut mask is generated from the mask data MV1, MV2 and the picture in the compression areas IR1, IR2 is synthesized on the original picture IMO based on the multi-gradation cut mask.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えば印刷・製版用
画像処理システム等において利用される静止画像データ
の圧縮方法および伸長方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a still image data compression method and decompression method used in, for example, an image processing system for printing and plate making.

【0002】[0002]

【従来の技術】画像圧縮においては、一般に、圧縮率を
高くすると復元画像の画質が低下し、逆に復元画像の画
質を高めようとすると圧縮率が低くなるという性質があ
る。そこで、従来から、画像内の重要な領域は低圧縮率
・高画質で圧縮を行ない、重要度の低い領域は高圧縮率
・低画質で圧縮を行なう方法が採用されている。
2. Description of the Related Art In image compression, generally, the quality of a restored image is deteriorated when the compression rate is increased, and conversely, the compression rate is lowered when an image quality of the restored image is increased. Therefore, conventionally, a method has been adopted in which an important area in an image is compressed with a low compression rate and high image quality, and a less important area is compressed with a high compression rate and low image quality.

【0003】例えば、本出願人により開示された特開平
4−341067号公報では、画素ブロックを対象ブロ
ックと背景ブロックに分類し、対象ブロックは低圧縮率
で、背景ブロックは高圧縮率で圧縮している。ここで、
画素ブロック毎に圧縮率を割当てているのは、画素ブロ
ックごとに画像が圧縮されるからである。画素ブロック
としては、通常は、8×8や16×16の矩形状のブロ
ックが使用される。
For example, in Japanese Patent Laid-Open No. 4-341067 disclosed by the present applicant, a pixel block is classified into a target block and a background block, the target block is compressed at a low compression rate, and the background block is compressed at a high compression rate. ing. here,
The compression rate is assigned to each pixel block because the image is compressed for each pixel block. As the pixel block, an 8 × 8 or 16 × 16 rectangular block is usually used.

【0004】[0004]

【発明が解決しようとする課題】このような圧縮画像デ
ータを伸長することで得られる復元画像においては、圧
縮率の異なる画素ブロック同士の境界に不自然なスジ状
のノイズが発生することが多い。画素ブロックの境界
は、画像内の物体の本来の形状(人や車などの外形)に
沿った輪郭ではないので、このようなノイズが目につき
易い。そこで、写真などの自然画像を複数の画像領域に
分割して互いに異なる圧縮率を設定する場合には、物体
の本来の形状に沿った輪郭を画像領域の境界として設定
することによて、境界付近に発生するノイズを目立たな
いようにしたいという要望がある。
In a decompressed image obtained by decompressing such compressed image data, unnatural streak-like noise is often generated at the boundary between pixel blocks having different compression ratios. . Since the boundary of the pixel block is not the contour along the original shape of the object in the image (the outer shape of a person, a car, etc.), such noise is easily noticeable. Therefore, when a natural image such as a photograph is divided into a plurality of image areas and different compression rates are set, the boundary along the original shape of the object is set as the boundary of the image area. There is a demand to make noise generated in the vicinity inconspicuous.

【0005】しかし、画像圧縮においては画素ブロック
毎に圧縮を実行するという制約があるので、従来は、画
素ブロックの輪郭よりも細かい輪郭で画像同士の境界を
設定することが不可能であった。
However, in image compression, there is a restriction that compression is performed for each pixel block, and thus it has been impossible to set a boundary between images with a contour finer than that of a pixel block in the past.

【0006】この発明は、従来技術における上述の課題
を解決するためになされたものであり、圧縮率の異なる
画像同士の境界を画素ブロックの輪郭よりも細かい輪郭
で設定することのできる画像データの圧縮方法および伸
長方法を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems in the prior art, and is directed to image data in which the boundary between images having different compression rates can be set with a finer contour than the contour of a pixel block. It is an object to provide a compression method and a decompression method.

【0007】[0007]

【課題を解決するための手段および作用】上述の課題を
解決するため、この発明の画像データの圧縮方法は、
(A)所定の元画像と合成される他の画像の輪郭線とし
て、画素単位の分解能を有する輪郭線を設定するととも
に、前記輪郭線を表わす輪郭データを作成する工程と、
(B)前記輪郭線で囲まれた画像部分を包含し、所定の
画素ブロック単位の分解能の輪郭を有する圧縮画像領域
を設定する工程と、(C)前記元画像と前記圧縮画像領
域に対して、互いに異なる第1と第2の標準圧縮率に対
応する第1と第2の圧縮モードを設定する工程と、
(D)前記元画像を表わす第1の画像データと前記圧縮
画像領域を表わす第2の画像データとを前記第1と第2
の圧縮モードでそれぞれ圧縮することによって、第1と
第2の圧縮画像データを作成する工程と、(E)前記第
1および第2の圧縮画像データならびに前記輪郭データ
を、1組の圧縮データとして記憶手段に記憶する工程
と、を備える。
In order to solve the above-mentioned problems, the image data compression method of the present invention comprises:
(A) A contour line having a resolution in pixel units is set as a contour line of another image to be combined with a predetermined original image, and contour data representing the contour line is created.
(B) a step of setting a compressed image area including an image portion surrounded by the contour line and having a contour with a resolution of a predetermined pixel block unit; (C) for the original image and the compressed image area , Setting first and second compression modes corresponding to different first and second standard compression ratios,
(D) The first and second image data representing the original image and the second image data representing the compressed image area
And (E) compressing the first and second compressed image data as a set of compressed data by respectively compressing in the compression mode of Storing in a storage means.

【0008】圧縮の対象となる圧縮画像領域の輪郭は画
素ブロック単位の分解能で設定し、元画像と合成される
他の画像の輪郭線は画素単位の分解能で設定するので、
元画像と他の画像とに異なる標準圧縮率を指定し、か
つ、元画像と他の画像との境界を画素ブロックの輪郭よ
りも細かい輪郭で設定することができる。
Since the contour of the compressed image area to be compressed is set at the resolution in pixel block units, and the contour lines of other images to be combined with the original image are set at the resolution in pixel units.
It is possible to specify different standard compression rates for the original image and the other image, and set the boundary between the original image and the other image with a contour finer than the contour of the pixel block.

【0009】前記輪郭データはベクトルデータでもよ
く、あるいは、輪郭線を包含する複数画素の幅の輪郭領
域において該輪郭領域の幅方向に沿って変化する多階調
の合成比率を示すデータであってもよい。
The contour data may be vector data, or data showing a multi-gradation synthesis ratio which varies along the width direction of the contour area in a contour area having a width of a plurality of pixels including the contour line. Good.

【0010】この発明の圧縮データの伸長方法は、
(F)第1と第2の圧縮画像データをそれぞれ伸長する
ことによって、第1と第2の復元画像データを作成する
工程と、(G)輪郭データに基づいて、複数画素の幅を
有する輪郭領域において該輪郭領域の幅方向に沿って変
化する多階調の合成比率を求める工程と、(H)前記輪
郭領域における前記多階調の合成比率に従って前記第1
と第2の復元画像データを互いに合成することによっ
て、元画像と他の画像とを合成した復元画像を表わす復
元画像データを生成する工程と、を備える。
The method of decompressing compressed data of the present invention is as follows:
(F) a step of creating first and second decompressed image data by decompressing the first and second compressed image data, respectively, and (G) a contour having a width of a plurality of pixels based on the contour data Determining a multi-gradation synthesis ratio that changes along the width direction of the contour region in the region; and (H) the first according to the multi-gradation synthesis ratio in the contour region.
And synthesizing the second restored image data with each other to generate restored image data representing a restored image obtained by synthesizing the original image and another image.

【0011】多階調の合成比率で第1と第2の復元画像
データを合成するので、元画像と他の画像との境界を画
素ブロックの輪郭よりも細かい輪郭に沿って合成するこ
とができるとともに、画像領域の境界付近に発生し易い
ノイズの発生を低減することができる。
Since the first and second restored image data are combined at a multi-gradation combination ratio, the boundary between the original image and another image can be combined along a contour finer than the contour of the pixel block. At the same time, it is possible to reduce the generation of noise that tends to occur near the boundary of the image area.

【0012】合成比率が輪郭領域の幅方向に沿って直線
的に変化し、また、前記輪郭領域の幅が第1と第2の標
準圧縮率の相互関係を示す所定の指標に基づいて設定さ
れるようにすることが好ましい。あるいは、合成比率が
輪郭領域の幅方向に沿って直線的に変化し、また、前記
合成比率の最大値が第1と第2の標準圧縮率の相互関係
を示す所定の指標に基づいて設定されるようにしてもよ
い。第1と第2の標準圧縮率の相互関係を表わす指標に
基づいて輪郭領域の幅や合成比率の最大値を設定するよ
うにすれば、標準圧縮率の相互関係に応じて元画像と他
の画像とを滑らかに合成することができる。
The composition ratio changes linearly along the width direction of the contour area, and the width of the contour area is set on the basis of a predetermined index indicating the interrelationship between the first and second standard compression rates. It is preferable to do so. Alternatively, the composition ratio changes linearly along the width direction of the contour region, and the maximum value of the composition ratio is set based on a predetermined index indicating the mutual relationship between the first and second standard compression ratios. You may do it. If the maximum width of the contour region and the maximum value of the composition ratio are set based on the index indicating the mutual relationship between the first and second standard compression rates, the original image and other An image can be smoothly combined.

【0013】[0013]

【実施例】【Example】

A.第1の実施例:図1は、この発明の実施例を適用す
る画像処理システムの構成を示すブロック図である。こ
の画像処理システムは、CPU20と、ROM22と、
RAM24と、圧縮/伸長部26と、キーボード28
と、マウス30と、デジタイザ32と、カラーCRT3
4と、磁気ディスク36と、読取スキャナ40と、記録
スキャナ42とを備えている。以下で説明する画像デー
タの圧縮処理や伸長処理は、RAM24に記憶されたア
プリケーションプログラムをCPU20が実行すること
によって行なわれる。
A. First Embodiment: FIG. 1 is a block diagram showing the arrangement of an image processing system to which an embodiment of the present invention is applied. This image processing system includes a CPU 20, a ROM 22, and
RAM 24, compression / decompression unit 26, keyboard 28
, Mouse 30, digitizer 32, color CRT3
4, a magnetic disk 36, a reading scanner 40, and a recording scanner 42. The image data compression processing and decompression processing described below are performed by the CPU 20 executing an application program stored in the RAM 24.

【0014】図2は、実施例における画像圧縮の処理手
順を示すフローチャートである。ステップS1では、写
真等の絵柄原稿の画像データが読取スキャナ40によっ
て読取られる。ステップS2では、色補正やレタッチ、
画像合成などの種々の画像処理が実行される。図3
(A)は、画像処理の結果として得られた元画像IM0
を示している。この元画像IM0 が圧縮の対象となる。
FIG. 2 is a flow chart showing a processing procedure of image compression in the embodiment. In step S1, the image data of a picture document such as a photograph is read by the reading scanner 40. In step S2, color correction, retouching,
Various image processing such as image composition is executed. Figure 3
(A) is an original image IM0 obtained as a result of image processing.
Is shown. This original image IM0 is the object of compression.

【0015】ステップS3では、カラーCRT34に表
示された元画像IM0 を観察しながら、オペレータがマ
ウス30またはデジタイザ32を用いて切抜きマスクの
輪郭を設定する。切抜きマスクの輪郭は、元画像IM0
内の所望の物体(図3(A)の例では人物H1 および家
H2 )の輪郭にできる限り忠実に沿うように設定され
る。なお、切抜きマスクの輪郭は、画素単位の分解能を
有している。切抜きマスクの輪郭が設定されると、その
輪郭線を表わすマスクベクトルデータがCPU20によ
って作成される。なお、図3(A)の元画像IM0 が、
背景の画像に人物H1 と家H2 とをはめ込み合成で作成
したものであるような場合には、人物H1と家H2 の切
抜きマスクが既に存在しているので、これらの切抜きマ
スクのデータをそのまま使用することができる。
In step S3, the operator sets the contour of the cutout mask using the mouse 30 or the digitizer 32 while observing the original image IM0 displayed on the color CRT 34. The outline of the cutout mask is the original image IM0.
Is set so as to follow the contours of the desired object (the person H1 and the house H2 in the example of FIG. 3A) as faithfully as possible. The contour of the cutout mask has a resolution in pixel units. When the contour of the cutout mask is set, the CPU 20 creates mask vector data representing the contour line. The original image IM0 of FIG.
When the background image is created by fitting the person H1 and the house H2 into a composite image, the cutout masks of the person H1 and the house H2 already exist, so the data of these cutout masks are used as they are. can do.

【0016】ステップS4では、図3(B)に示すよう
に、切抜きマスクを設定した物体H1 ,H2 のそれぞれ
を包含する圧縮画像領域IR1 ,IR2 がCPU20に
よって設定される。2つの圧縮画像領域IR1 ,IR2
は、物体H1 ,H2 の切抜きマスクの輪郭を包含し、か
つ、圧縮時に使用される画素ブロック単位の分解能の輪
郭を有する最小の矩形領域である。画素ブロックとして
は、8×8や16×16などの任意のブロックを使用す
ることが可能である。CPU20は、各物体H1 ,H2
のマスクベクトルデータに含まれる輪郭点の座標の最大
値と最小値とに基づいて、それぞれの圧縮画像領域IR
1 ,IR2 の位置とサイズとを決定する。
In step S4, as shown in FIG. 3B, the CPU 20 sets the compressed image areas IR1 and IR2 including the objects H1 and H2 for which the cutout masks are set. Two compressed image areas IR1 and IR2
Is the smallest rectangular area that includes the contours of the cutout masks of the objects H1 and H2 and that has the contour of the resolution of the pixel block unit used at the time of compression. As the pixel block, it is possible to use an arbitrary block such as 8 × 8 or 16 × 16. The CPU 20 controls each of the objects H1 and H2.
Based on the maximum value and the minimum value of the coordinates of the contour points included in the mask vector data of
1. Determine the position and size of IR2.

【0017】なお、ステップS4の処理は、圧縮画像領
域IR1 の対角線上の2点P11,P12をオペレータが指
定することによって設定するようにしてもよい。第2の
圧縮画像領域IR2 についても同様である。但し、後述
するように、画像の圧縮に際しては、これらの矩形の圧
縮画像領域IR1 ,IR2 内の画像部分がそれぞれ圧縮
されるので、各圧縮画像領域を、「切抜きマスクの輪郭
を包含、かつ、画素ブロック単位の分解能の輪郭を有す
る最小の矩形領域」としてCPU20が自動的に設定す
るようにすれば、圧縮画像データのデータ量を低減でき
るという利点がある。
The process of step S4 may be set by the operator designating two points P11 and P12 on the diagonal line of the compressed image region IR1. The same applies to the second compressed image area IR2. However, as will be described later, when the image is compressed, the image parts in these rectangular compressed image regions IR1 and IR2 are respectively compressed, so that each compressed image region is defined as "including the contour of the cutout mask, and If the CPU 20 automatically sets it as the "minimum rectangular area having a contour of resolution in pixel block units", there is an advantage that the amount of compressed image data can be reduced.

【0018】ステップS5では、元画像と2つの圧縮画
像領域IR1 ,IR2 のそれぞれに対して圧縮モードが
設定される。ここで、圧縮モードとは、圧縮のアルゴリ
ズムや量子化テーブル等の圧縮パラメータによって定ま
る異なった標準圧縮率を示すモードである。実際には、
例えば1/5、1/10、1/50等のように数段階の
標準圧縮率のモードを予め準備しておき、ステップS5
においてオペレータが元画像IM0 と2つの圧縮画像領
域IR1 ,IR2 のそれぞれにどの圧縮モードを適用す
るかを指定する。ここで言う「標準圧縮率」とは、標準
的な画像を圧縮した場合の概略の圧縮率を示す値であ
り、実際には同じ圧縮モードを使用しても、圧縮対象の
画像によって異なる圧縮率が得られる。なお、通常は、
背景となる元画像IM0 に対して比較的高い標準圧縮率
のモードを指定し、圧縮画像領域IR1 ,IR2 に対し
て比較的低い標準圧縮率のモードを指定する。
In step S5, the compression mode is set for each of the original image and the two compressed image areas IR1 and IR2. Here, the compression mode is a mode showing different standard compression rates determined by compression parameters such as a compression algorithm and a quantization table. actually,
For example, a mode with standard compression rates of several stages such as 1/5, 1/10, 1/50, etc. is prepared in advance, and step S5 is performed.
At, the operator specifies which compression mode is to be applied to the original image IM0 and the two compressed image areas IR1 and IR2. The "standard compression rate" here is a value that indicates the approximate compression rate when a standard image is compressed. Even if the same compression mode is actually used, the compression rate that differs depending on the image to be compressed. Is obtained. Note that normally,
A relatively high standard compression rate mode is designated for the background original image IM0, and a relatively low standard compression rate mode is designated for the compressed image areas IR1 and IR2.

【0019】ステップS6では、圧縮/伸長部26が元
画像IM0 と2つの圧縮画像領域IR1 ,IR2 をそれ
ぞれ表わす画像データを圧縮することによって圧縮画像
データをCT0 〜CT2 (図3(C)〜(E))を生成
する。図4は、ステップS6で生成される1組の圧縮デ
ータを示す説明図である。図4(A)に示すように、第
1の圧縮画像領域IR1 の圧縮データは、領域IR1 内
の画像を表わす画像データDIR1 を標準圧縮率CR1
で圧縮して得られた圧縮画像データCD1 と、切抜きマ
スクの輪郭を表わすマスクベクトルデータMV1 とで構
成される。なお、画像データDIR1 は、ステップS3
における領域設定に応じて元画像IM0の画像データか
ら抽出されたデータである。
In step S6, the compression / expansion unit 26 compresses the image data representing the original image IM0 and the image data representing the two compressed image areas IR1 and IR2 to obtain the compressed image data CT0 to CT2 (see FIG. E)) is generated. FIG. 4 is an explanatory diagram showing a set of compressed data generated in step S6. As shown in FIG. 4A, the compressed data of the first compressed image area IR1 is the standard compression rate CR1 of the image data DIR1 representing the image in the area IR1.
It is composed of compressed image data CD1 obtained by compression in step 1 and mask vector data MV1 representing the outline of the cutout mask. The image data DIR1 is obtained in step S3.
It is the data extracted from the image data of the original image IM0 according to the area setting in.

【0020】圧縮画像データCD1 はヘッダ部と圧縮デ
ータ部とで構成されている。ヘッダ部には、圧縮モード
と、圧縮画像領域IR1 のオフセット(図3(B)にお
ける点P11の座標)と、圧縮画像領域IR1 のサイズ
と、マスクベクトルデータMV1 のファイル名とが登録
されている。マスクベクトルデータMV1 は、ヘッダ部
とベクトルデータ部とで構成されており、ヘッダ部には
圧縮画像データCD1 のファイル名が登録されている。
圧縮画像データCD1 とマスクベクトルデータMV1 に
は、互いに相手のファイル名を含んでいるので、どちら
のデータからも他のデータを呼び出すことが可能であ
る。
The compressed image data CD1 is composed of a header part and a compressed data part. In the header part, the compression mode, the offset of the compressed image area IR1 (the coordinates of the point P11 in FIG. 3B), the size of the compressed image area IR1 and the file name of the mask vector data MV1 are registered. . The mask vector data MV1 is composed of a header portion and a vector data portion, and the file name of the compressed image data CD1 is registered in the header portion.
Since the compressed image data CD1 and the mask vector data MV1 include the file names of the other parties, it is possible to call other data from either data.

【0021】第2の圧縮画像領域IR2 の圧縮データも
同様に、図4(B)に示すように、領域IR2 内の画像
を表わす画像データDIR2 を標準圧縮率CR2 で圧縮
して得られた圧縮画像データCD2 と、切抜きマスクの
輪郭を表わすマスクベクトルデータMV2 とで構成され
る。
Similarly, the compressed data of the second compressed image area IR2 is obtained by compressing the image data DIR2 representing the image in the area IR2 at the standard compression rate CR2, as shown in FIG. 4B. It is composed of image data CD2 and mask vector data MV2 representing the contour of the cutout mask.

【0022】元画像IM0 の圧縮データは、図4(C)
に示すように、2つの圧縮画像領域IR1 ,IR2 を含
む元画像IM0 そのものを表わす画像データDIM0 を
標準圧縮率CR0 で圧縮して得られた圧縮画像データC
D0 で構成される。圧縮画像データCD0 のヘッダ部に
は、圧縮モードと、元画像IM0 のサイズと、圧縮画像
領域IR1 ,IR2 の圧縮画像データCD1 ,CD2 の
データファイル名と、マスクベクトルデータMV1 ,M
V2 のデータファイル名とが登録されている。従って、
元画像IM0 の圧縮画像データCD0 のヘッダ部を解読
することによって、5つのデータCD1 ,MV1 ,CD
2 ,MV2 ,CD0 が1組の圧縮データにまとめられて
いることを知ることができる。なお、必要に応じて、5
つのデータCD1 ,MV1 ,CD2 ,MV2 ,CD0 が
1組の圧縮データを構成することを示す別個の管理デー
タを作成するようにしてもよい。
The compressed data of the original image IM0 is shown in FIG.
, The compressed image data C obtained by compressing the image data DIM0 representing the original image IM0 itself including the two compressed image areas IR1 and IR2 at the standard compression rate CR0.
It is composed of D0. In the header portion of the compressed image data CD0, the compression mode, the size of the original image IM0, the data file names of the compressed image data CD1 and CD2 of the compressed image areas IR1 and IR2, and the mask vector data MV1 and M are recorded.
The data file name of V2 is registered. Therefore,
By decoding the header portion of the compressed image data CD0 of the original image IM0, the five data CD1, MV1, CD
It can be seen that 2, MV2 and CD0 are combined into one set of compressed data. If necessary, 5
Separate management data may be created which indicates that one piece of data CD1, MV1, CD2, MV2, CD0 constitutes one set of compressed data.

【0023】図2のステップS7では、このようにして
作成された1組の圧縮データ{CD1 ,MV1 ,CD2
,MV2 ,CD0 }が磁気ディスク36(図1)に保
存される。
In step S7 of FIG. 2, a set of compressed data {CD1, MV1, CD2 created in this way is obtained.
, MV2, CD0} are stored on the magnetic disk 36 (FIG. 1).

【0024】図5は、圧縮画像の伸長手順を示すフロー
チャートである。また、図6は、伸長手順における画像
の変化を示す説明図である。ステップS10では、圧縮
/伸長部26が、元画像IM0 と2つの圧縮画像領域I
R1 ,IR2 の圧縮画像データをそれぞれの圧縮モード
に応じて伸長する。この結果、元画像の全体を表わす伸
長画像データDDC0 (図6(C))と、各圧縮画像領
域IR1 ,IR2 内の画像を表わす伸長画像データDD
C1 ,DDC2 (図6(A))と、が得られる。
FIG. 5 is a flow chart showing the procedure for decompressing a compressed image. Further, FIG. 6 is an explanatory diagram showing a change of an image in the decompression procedure. In step S10, the compression / decompression unit 26 determines that the original image IM0 and the two compressed image regions I
The compressed image data of R1 and IR2 is expanded according to the respective compression modes. As a result, the decompressed image data DDC0 (FIG. 6C) representing the entire original image and the decompressed image data DD representing the image in each of the compressed image regions IR1 and IR2.
C1 and DDC2 (FIG. 6A) are obtained.

【0025】ステップS11,S12の処理は、所定の
アプリケーションプログラムに応じてCPU20が自動
的に実行する処理である。ステップS11では、各圧縮
画像領域のマスクベクトルデータMV1 ,MV2 に基づ
いて、それぞれの多階調切抜きマスクMMV1 ,MMV
2 が作成される。
The processing of steps S11 and S12 is processing automatically executed by the CPU 20 according to a predetermined application program. In step S11, based on the mask vector data MV1 and MV2 of each compressed image area, the multi-tone cutout masks MMV1 and MMV are respectively generated.
2 is created.

【0026】図7は、第2の圧縮画像領域IR2 の多階
調切抜きマスクを示す説明図である。マスクベクトルデ
ータMV2 は、図7(A)に示す切抜きマスクの輪郭線
CNTを示すベクトルデータである。多階調切抜きマス
クは、この輪郭線CNTの両側に形成された幅Wの輪郭
領域CNR内において、元画像IM0 の伸長画像データ
DDC0 と第2の圧縮画像領域IR2 の伸長画像データ
DDC2 とを合成する合成比率MRを示すデータであ
る。輪郭領域CNRは図7(B)で砂地で示された領域
であり、輪郭線CNTの両側に等しい幅W/2で形成さ
れた領域で構成されている。
FIG. 7 is an explanatory diagram showing a multi-tone cutout mask for the second compressed image area IR2. The mask vector data MV2 is vector data indicating the contour line CNT of the cutout mask shown in FIG. The multi-tone cutout mask combines the expanded image data DDC0 of the original image IM0 and the expanded image data DDC2 of the second compressed image area IR2 in the outline area CNR formed on both sides of the outline CNT and having the width W. It is data showing the composition ratio MR to be performed. The contour region CNR is a region shown by the sandy area in FIG. 7B, and is constituted by regions formed on both sides of the contour line CNT with an equal width W / 2.

【0027】図7(C)は、図7(B)において線C−
Cに沿った合成比率MRの変化を示すグラフである。合
成比率MRは、輪郭領域CNRよりも外側の領域におい
て0であり、輪郭領域CNRよりも内側の領域において
255である8ビットのデータである。また、合成比率
MRは、輪郭領域CNRの幅方向に沿って最小値0から
最大値255まで直線的に変化している。このような多
階調切抜きマスクを用いて得られる合成画像データCM
は次の式で与えられる。 CM={DDCi ×MR+DDC0 ×(255−M
R)}/255 …(1) ここで、DDC0 ,DDCi は元画像IM0 と圧縮画像
領域IRi の伸長画像データである。
FIG. 7C shows a line C- in FIG. 7B.
9 is a graph showing changes in the composition ratio MR along C. The composition ratio MR is 8-bit data that is 0 in the area outside the contour area CNR and 255 in the area inside the contour area CNR. Further, the synthesis ratio MR linearly changes from the minimum value 0 to the maximum value 255 along the width direction of the contour region CNR. Composite image data CM obtained using such a multi-tone cutout mask
Is given by the following formula. CM = {DDCi × MR + DDC0 × (255-M
R)} / 255 (1) where DDC0 and DDCi are decompressed image data of the original image IM0 and the compressed image region IRi.

【0028】輪郭領域CNRの幅Wは、画像圧縮時(図
2のステップS6)において、元画像IM0 に対して設
定された標準圧縮率CR0 と、圧縮画像領域IRi に対
して設定された標準圧縮率CRi の相互関係に従って決
定される。2つの標準圧縮率CR0 ,CRi の相互関係
を示す値としては、以下に示す3つの指標X1,X2,
X3のいずれかを用いることができる。 X1=1/CR0 −1/CRi …(2a) X2=CRi /CR0 …(2b) X3=log[CRi /CR0 ] …(2c)
The width W of the contour area CNR is set to the standard compression rate CR0 set for the original image IM0 and the standard compression set for the compressed image area IRi during image compression (step S6 in FIG. 2). It is determined according to the interrelationship of the rates CRi. The values indicating the mutual relationship between the two standard compression rates CR0 and CRi are the following three indices X1, X2 and
Any of X3 can be used. X1 = 1 / CR0-1 / CRi (2a) X2 = CRi / CR0 (2b) X3 = log [CRi / CR0] (2c)

【0029】第1の指標X1は、2つの標準圧縮率の逆
数の差分である。第2の指標X2は、2つの標準圧縮率
の比である。第3の指標X3は、標準圧縮率の比の対数
である。
The first index X1 is the difference between the reciprocals of the two standard compression rates. The second index X2 is the ratio of the two standard compression rates. The third index X3 is the logarithm of the standard compression ratio.

【0030】一例として、第2の圧縮画像領域IR2 の
標準圧縮率CR2 を1/10と設定し、元画像IM0 の
標準圧縮率CR0 を1/50と設定した場合には、3つ
の指標はそれぞれX1=40,X2=5,X3=0.6
99となる。また、第2の圧縮画像領域IR2 に対する
標準圧縮率CR2 を1/5に置き換えると、X1=4
5,X2=10,X3=1.0となる。このように、3
つの指標X1,X2,X3は、いずれも2つの標準圧縮
率CR0 ,CRi の相互関係を定量的に示す指標であ
る。なお、これらに所定の定数を乗じた値などの他の指
標を設定することも可能である。
As an example, when the standard compression rate CR2 of the second compressed image area IR2 is set to 1/10 and the standard compression rate CR0 of the original image IM0 is set to 1/50, the three indices are respectively X1 = 40, X2 = 5, X3 = 0.6
It becomes 99. If the standard compression rate CR2 for the second compressed image area IR2 is replaced with ⅕, X1 = 4.
5, X2 = 10, X3 = 1.0. Like this, 3
Each of the indexes X1, X2 and X3 is an index quantitatively showing the mutual relationship between the two standard compression rates CR0 and CRi. It is also possible to set other indexes such as a value obtained by multiplying these by a predetermined constant.

【0031】輪郭領域CNRの幅Wは、3つの指標X
1,X2,X3を用いて次の式で決定される。 W=INT[X1×W10] …(3a) W=INT[X2×W20] …(3b) W=INT[X3×W30] …(3c) ここで、W10,W20,W30は定数であり、例えばW10=
0.1画素,W20=1画素,W30=10画素程度の値を
用いることができる。また、INTは括弧内の数値を整
数化する演算子である。
The width W of the contour region CNR is determined by the three indices X.
It is determined by the following equation using 1, X2 and X3. W = INT [X1 × W10] (3a) W = INT [X2 × W20] (3b) W = INT [X3 × W30] (3c) where W10, W20, W30 are constants, for example W10 =
Values of about 0.1 pixel, W20 = 1 pixel, W30 = 10 pixels can be used. Further, INT is an operator for converting the numerical value in parentheses into an integer.

【0032】なお、実際には、上記の3つの指標X1,
X2,X3の1つを予め選択しておき、選択された指標
を用いて輪郭領域CNRの幅Wが決定される。
Actually, the above three indexes X1,
One of X2 and X3 is selected in advance, and the width W of the contour region CNR is determined using the selected index.

【0033】図5のステップS12では、上記(1)式
に従って2つの圧縮画像領域IR1,IR2 の伸長画像
データDDC1 ,DDC2 が元画像IM0 の伸長画像デ
ータDDC0 と合成されて、合成後の画像データが得ら
れる。図6(D)は合成後の画像を示しており、斜線を
付した部分が合成された領域である。
In step S12 of FIG. 5, the decompressed image data DDC1 and DDC2 of the two compressed image regions IR1 and IR2 are combined with the decompressed image data DDC0 of the original image IM0 according to the above equation (1), and the combined image data is obtained. Is obtained. FIG. 6D shows the image after combination, and the hatched portion is the combined region.

【0034】ステップS13では、合成後の画像データ
が記録スキャナ42に転送されて、合成後の画像が記録
される。
In step S13, the combined image data is transferred to the recording scanner 42, and the combined image is recorded.

【0035】以上のように、上記の第1の実施例では圧
縮画像データと切抜きマスクデータを1組の圧縮データ
として保存し、圧縮データを伸長する際には低圧縮率で
圧縮した圧縮画像領域を切抜きマスクで切り抜いて元画
像と合成するので、その圧縮画像領域内の一部の画像部
分を、画素ブロックの輪郭よりも細かい輪郭で切り抜い
て元画像に貼込むことができる。
As described above, in the first embodiment described above, the compressed image data and the cutout mask data are stored as one set of compressed data, and when decompressing the compressed data, the compressed image area compressed at a low compression rate is used. Is cut out with a cutout mask and is combined with the original image, so that part of the image portion in the compressed image area can be cut out with a contour finer than the contour of the pixel block and pasted on the original image.

【0036】なお、一般に、圧縮率の異なる画像部分の
境界には、圧縮率の差に起因するスジ状のノイズが発生
しやすいという傾向があることが知られている。この点
に関しても、上記実施例では切抜きマスクとして図7に
示すような多階調の切抜きマスクを用いているので、輪
郭領域CNRにおいてノイズを低減することができると
いう利点がある。
It is known that, generally, there is a tendency that streak-shaped noises due to the difference in compression ratio are likely to occur at the boundaries between image parts having different compression ratios. Also in this regard, since the multi-tone cutout mask as shown in FIG. 7 is used as the cutout mask in the above embodiment, there is an advantage that noise can be reduced in the contour region CNR.

【0037】B.第2の実施例:上記の第1の実施例で
は、図3に示すように、元画像IM0 内から圧縮画像領
域IR1 ,IR2 を抽出していたが、図8(A)に示す
ように、人物H1 の画像部品IM1 と、家H2 の画像部
品IM2 と、背景の画像部品IM00とが合成されておら
ず、それぞれ別個に存在する場合も考えられる。これら
の画像部品の画像データから1組の圧縮データを作成す
る手順は、図2に示すステップとほぼ同様であり、ステ
ップS3,S4における処理が以下のように異なるだけ
である。
B. Second Embodiment: In the first embodiment, the compressed image areas IR1 and IR2 are extracted from the original image IM0 as shown in FIG. 3, but as shown in FIG. It is possible that the image component IM1 of the person H1, the image component IM2 of the house H2, and the background image component IM00 are not combined and exist separately. The procedure for creating a set of compressed data from the image data of these image parts is almost the same as the steps shown in FIG. 2, except that the processing in steps S3 and S4 is different as follows.

【0038】第2の実施例において、ステップS3で
は、カラーCRTに表示された各画像部品IM1 ,IM
2 の中で人物H1 と家H2 の切抜きマスクを設定する。
また、ステップS4では、圧縮画像領域IR1 ,IR2
(図8(B))を設定する他に、オペレータが背景の画
像部品IM00の上に人物H1 と家H2 とをレイアウトす
ることによって、圧縮画像領域IR1 ,IR2 の基準点
P11,P21をそれぞれ決定する。
In the second embodiment, in step S3, the image parts IM1 and IM displayed on the color CRT are displayed.
Set the cutout masks for person H1 and house H2 in 2.
In step S4, the compressed image areas IR1 and IR2
In addition to setting (FIG. 8 (B)), the operator lays out the person H1 and the house H2 on the background image component IM00 to determine the reference points P11 and P21 of the compressed image regions IR1 and IR2, respectively. To do.

【0039】図9は、第2の実施例において作成される
1組の圧縮データを示す説明図である。図9に示すデー
タは、図4に示す第1の実施例におけるデータと以下の
点が異なるだけである。図4では、人物と家に関する圧
縮前の画像データDIR1,DIR2 を、元画像の画像
データDIM0 から抽出していたのに対して、図9で
は、それぞれの画像部品を表わす画像データMIR1 ,
MIR2 が始めから存在している。図9(C)の画像デ
ータMIM0 は背景の画像を表わすデータであり、その
圧縮画像データCD00も背景の画像のみを表わす点で図
4(C)の圧縮画像データCD0 とは異なる。さらに、
図9の1組の圧縮データのうちで、圧縮画像領域IR1
,IR2 に関するデータCD1 ,MV1 ,CD2 ,M
V2 は図4におけるデータと同じであるが、背景に関す
る圧縮画像データCD00は図9におけるデータCD0 と
異なる。
FIG. 9 is an explanatory diagram showing a set of compressed data created in the second embodiment. The data shown in FIG. 9 is different from the data in the first embodiment shown in FIG. 4 only in the following points. In FIG. 4, the uncompressed image data DIR1 and DIR2 regarding the person and the house are extracted from the image data DIR0 of the original image, whereas in FIG. 9, the image data MIR1 representing the respective image parts,
MIR2 has been around since the beginning. The image data MIM0 of FIG. 9C is data representing a background image, and the compressed image data CD00 thereof also differs from the compressed image data CD0 of FIG. 4C in that it represents only the background image. further,
Of the set of compressed data in FIG. 9, the compressed image area IR1
, IR2 data CD1, MV1, CD2, M
V2 is the same as the data in FIG. 4, but the compressed image data CD00 for the background is different from the data CD0 in FIG.

【0040】第2の実施例において、1組の圧縮データ
を伸長して合成後の画像データを生成する手順は、図5
に示す第1の実施例における手順と同じであり、これに
よって第1の実施例における合成後の画像データ(図6
(D))と同一のものが得られる。
In the second embodiment, the procedure for decompressing a set of compressed data to generate combined image data is shown in FIG.
6 is the same as the procedure in the first embodiment shown in FIG.
The same as (D)) is obtained.

【0041】なお、第2の実施例においては、図10
(D)に示すように、複数の画像H2,H3 を重ねて合
成したい場合がある。この場合には、図10(A)に示
す複数の画像部品IM1 ,IM2 ,IM3 に優先順位を
予め設定しておき、その優先順位に従い、上記(1)式
によって各画像部品を背景の画像に合成していくように
すればよい。
In the second embodiment, as shown in FIG.
As shown in (D), there is a case where it is desired to superimpose a plurality of images H2 and H3 and combine them. In this case, priorities are set in advance for the plurality of image parts IM1, IM2, IM3 shown in FIG. 10A, and each image part is converted into a background image by the above equation (1) according to the priority order. It may be synthesized.

【0042】なお、この発明は上記実施例に限られるも
のではなく、その要旨を逸脱しない範囲において種々の
態様において実施することが可能であり、例えば次のよ
うな変形も可能である。
The present invention is not limited to the above-described embodiments, but can be carried out in various modes without departing from the scope of the invention, and the following modifications can be made.

【0043】(1)上記実施例では、切抜きマスクを表
わすマスクデータとしては、ビットマップデータやベジ
ェ曲線データ等の任意のデータ形式を採用することが可
能である。すなわち、一般には、元画像に合成されるべ
き画像の輪郭線を画素単位の分解能で表わす輪郭データ
を作成し、この輪郭データを1組の圧縮データに含める
ようにすればよい。
(1) In the above embodiment, it is possible to employ any data format such as bitmap data or Bezier curve data as the mask data representing the cutout mask. That is, generally, contour data representing the contour of the image to be combined with the original image with pixel-by-pixel resolution may be created, and the contour data may be included in one set of compressed data.

【0044】(2)上記実施例では、画像の伸長処理の
際にマスクベクトルデータから多階調切抜きマスクを生
成するものとしたが、画像の圧縮処理の際に多階調切抜
きマスクを作成し、この多階調切抜きマスクを表わすデ
ータを1組の圧縮データに含めるようにしてもよい。伸
長処理の際に多階調切抜きマスクを作成するようにすれ
ば、圧縮データのデータ量をより低減できるという利点
がある。一方、圧縮処理の際に多階調切抜きマスクを作
成するようにすれば、伸長処理の所要時間を短縮できる
という利点がある。
(2) In the above embodiment, the multi-tone cutout mask is generated from the mask vector data during the image decompression processing, but the multi-tone cutout mask is created during the image compression processing. Data representing this multi-tone cutout mask may be included in one set of compressed data. If the multi-tone cutout mask is created during the expansion processing, there is an advantage that the data amount of the compressed data can be further reduced. On the other hand, if the multi-tone cutout mask is created during the compression processing, there is an advantage that the time required for the expansion processing can be shortened.

【0045】(3)輪郭領域CNRの幅W(図7
(B),(C))を変更する代わりに、幅Wを一定に保
ち、次の式(4a)〜(4c)のいずれかに従って合成
比率MRの最高値MRMAX を変更するようにしてもよ
い。 MRMAX =INT[X1×MR10] …(4a) MRMAX =INT[X2×MR20] …(4b) MRMAX =INT[X3×MR30] …(4c) ここで、MR10,MR20,MR30は定数であり、例えば
MR10=3,MR20=25,MR30=250程度の値が
用いることができる。なお、合成比率の最高値MRMAX
には、上限(例えば255)を予め設定しておくことが
好ましい。
(3) Width W of contour area CNR (see FIG. 7)
Instead of changing (B) and (C), the width W may be kept constant and the maximum value MRMAX of the composition ratio MR may be changed according to any of the following expressions (4a) to (4c). . MRMAX = INT [X1 × MR10] (4a) MRMAX = INT [X2 × MR20] (4b) MRMAX = INT [X3 × MR30] (4c) where MR10, MR20 and MR30 are constants, for example Values of MR10 = 3, MR20 = 25, MR30 = 250 can be used. The maximum value of the composition ratio MRMAX
It is preferable to set an upper limit (for example, 255) in advance.

【0046】[0046]

【発明の効果】以上説明したように、本発明の画像デー
タの圧縮方法によれば、元画像と他の画像とに異なる標
準圧縮率を設定し、かつ、それらの境界を画素ブロック
の輪郭よりも細かい輪郭で設定することができるという
効果がある。
As described above, according to the image data compression method of the present invention, different standard compression ratios are set for the original image and other images, and their boundaries are defined by the contours of the pixel blocks. The effect is that even finer contours can be set.

【0047】また、この発明の圧縮画像データの伸長方
法によれば、多階調の合成比率で第1と第2の復元画像
データを合成するので、元画像と他の画像との境界を画
素ブロックの輪郭よりも細かい輪郭で合成することがで
きるとともに、画像領域の境界付近に発生し易いノイズ
の発生を低減することができるという効果がある。
Further, according to the method for decompressing compressed image data of the present invention, since the first and second restored image data are combined at the multi-gradation combination ratio, the boundary between the original image and another image is pixel-coded. There is an effect that it is possible to synthesize with a contour finer than the contour of the block, and it is possible to reduce the generation of noise that tends to occur near the boundary of the image area.

【0048】さらに、第1と第2の標準圧縮率の相互関
係を表わす指標に比例して輪郭領域の幅や合成比率の最
大値を設定するようにすれば、標準圧縮率の相互関係に
応じて元画像と他の画像とを滑らかに合成することがで
きるという効果がある。
Further, if the maximum value of the width of the contour area and the maximum value of the composition ratio are set in proportion to the index indicating the mutual relationship between the first and second standard compression ratios, the mutual relationship between the standard compression ratios can be obtained. Thus, there is an effect that the original image and other images can be smoothly combined.

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

【図1】この発明の実施例を適用する画像処理システム
の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of an image processing system to which an embodiment of the present invention is applied.

【図2】画像の圧縮手順を示すフローチャート。FIG. 2 is a flowchart showing an image compression procedure.

【図3】第1の実施例における圧縮手順におけるデータ
の変化を示す説明図。
FIG. 3 is an explanatory diagram showing a change in data in a compression procedure according to the first embodiment.

【図4】第1の実施例において作成される1組の圧縮デ
ータを示す説明図。
FIG. 4 is an explanatory diagram showing a set of compressed data created in the first embodiment.

【図5】圧縮画像の伸長手順を示すフローチャート。FIG. 5 is a flowchart showing a procedure for decompressing a compressed image.

【図6】伸長手順におけるデータの変化を示す説明図。FIG. 6 is an explanatory diagram showing a change in data in a decompression procedure.

【図7】多階調切抜きマスクを示す説明図。FIG. 7 is an explanatory diagram showing a multi-tone cutout mask.

【図8】第2の実施例における圧縮手順におけるデータ
の変化を示す説明図。
FIG. 8 is an explanatory diagram showing changes in data in the compression procedure according to the second embodiment.

【図9】第2の実施例において作成される1組の圧縮デ
ータを示す説明図。
FIG. 9 is an explanatory diagram showing a set of compressed data created in the second embodiment.

【図10】圧縮された画像部品を背景の画像の上に重ね
て合成する場合を示す説明図。
FIG. 10 is an explanatory diagram showing a case where a compressed image component is overlaid on a background image and synthesized.

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

20…CPU 22…ROM 24…RAM 26…圧縮/伸長部 28…キーボード 30…マウス 32…デジタイザ 34…カラーCRT 36…磁気ディスク 40…読取スキャナ 42…記録スキャナ CD0 ,CD1 ,CD2…圧縮画像データ CM…合成画像データ CNR…輪郭領域 CNT…輪郭線 CR0 ,CR1 ,CR2 …標準圧縮率 H1 …人物の画像 H2 …家の画像 IM0 ,…元画像 IM1…画像部品 IR1 ,IR2 …圧縮画像領域 MR…合成比率 MV1 ,MV2 …マスクベクトルデータ X1,X2,X3…標準圧縮率の相互関係の指標 W …多階調切抜きマスクの幅 20 ... CPU 22 ... ROM 24 ... RAM 26 ... Compression / decompression unit 28 ... Keyboard 30 ... Mouse 32 ... Digitizer 34 ... Color CRT 36 ... Magnetic disk 40 ... Read scanner 42 ... Recording scanner CD0, CD1, CD2 ... Compressed image data CM ... Composite image data CNR ... Contour area CNT ... Contour lines CR0, CR1, CR2 ... Standard compression ratio H1 ... Human image H2 ... House image IM0 ... ... Original image IM1 ... Image parts IR1, IR2 ... Compressed image area MR ... Composite Ratios MV1, MV2 ... Mask vector data X1, X2, X3 ... Index of mutual relationship of standard compression ratios W ... Width of multi-gradation cutout mask

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像データの圧縮方法であって、(A)
所定の元画像と合成される他の画像の輪郭線として、画
素単位の分解能を有する輪郭線を設定するとともに、前
記輪郭線を表わす輪郭データを作成する工程と、(B)
前記輪郭線で囲まれた画像部分を包含し、所定の画素ブ
ロック単位の分解能の輪郭を有する圧縮画像領域を設定
する工程と、(C)前記元画像と前記圧縮画像領域に対
して、互いに異なる第1と第2の標準圧縮率に対応する
第1と第2の圧縮モードを設定する工程と、(D)前記
元画像を表わす第1の画像データと前記圧縮画像領域を
表わす第2の画像データとを前記第1と第2の圧縮モー
ドでそれぞれ圧縮することによって、第1と第2の圧縮
画像データを作成する工程と、(E)前記第1および第
2の圧縮画像データならびに前記輪郭データを、1組の
圧縮データとして記憶手段に記憶する工程と、を備える
画像データの圧縮方法。
1. A method for compressing image data, comprising: (A)
A step of setting a contour line having a resolution in pixel units as a contour line of another image to be combined with a predetermined original image, and creating contour data representing the contour line;
A step of setting a compressed image area including an image portion surrounded by the contour line and having a contour with a resolution of a predetermined pixel block unit; and (C) different from each other for the original image and the compressed image area. Setting first and second compression modes corresponding to first and second standard compression ratios; (D) first image data representing the original image and second image representing the compressed image area Creating first and second compressed image data by compressing data in the first and second compression modes respectively, and (E) the first and second compressed image data and the contour Storing the data in the storage means as a set of compressed data, the image data compressing method.
【請求項2】 請求項1記載の画像データの圧縮方法で
あって、 輪郭データはベクトルデータである、画像データの圧縮
方法。
2. The image data compression method according to claim 1, wherein the contour data is vector data.
【請求項3】 請求項1記載の画像データの圧縮方法で
あって、 輪郭データは、輪郭線を包含する複数画素の幅の輪郭領
域において、該輪郭領域の幅方向に沿って変化する多階
調の合成比率を示すデータである、画像データの圧縮方
法。
3. The method of compressing image data according to claim 1, wherein the contour data is a multi-story that changes along a width direction of the contour area in a contour area having a width of a plurality of pixels including the contour line. A method of compressing image data, which is data indicating a key synthesis ratio.
【請求項4】 請求項1ないし3のいずれかに記載の方
法によって作成された1組の圧縮データを伸長する方法
であって、(F)第1と第2の圧縮画像データをそれぞ
れ伸長することによって、第1と第2の復元画像データ
を作成する工程と、(G)輪郭データに基づいて、複数
画素の幅を有する輪郭領域において該輪郭領域の幅方向
に沿って変化する多階調の合成比率を求める工程と、
(H)前記輪郭領域における前記多階調の合成比率に従
って前記第1と第2の復元画像データを互いに合成する
ことによって、元画像と他の画像とを合成した復元画像
を表わす復元画像データを生成する工程と、を備える圧
縮画像データの伸長方法。
4. A method of decompressing a set of compressed data created by the method according to any one of claims 1 to 3, comprising: (F) decompressing first and second compressed image data respectively. Thus, the step of creating the first and second restored image data, and (G) multi-gradation changing along the width direction of the contour region in the contour region having a width of a plurality of pixels based on the contour data. A step of obtaining a composition ratio of
(H) Restored image data representing a restored image obtained by synthesizing the original image and another image by synthesizing the first and second restored image data with each other in accordance with the multi-gradation synthesis ratio in the contour region. And a step of generating the compressed image data.
【請求項5】 請求項4記載の圧縮画像データの伸長方
法であって、 合成比率は輪郭領域の幅方向に沿って直線的に変化する
とともに、前記輪郭領域の幅が第1と第2の標準圧縮率
の相互関係を示す所定の指標に基づいて設定される、圧
縮画像データの伸長方法。
5. The method for decompressing compressed image data according to claim 4, wherein the composition ratio changes linearly along the width direction of the contour area, and the width of the contour area is set to the first and second widths. A decompression method for compressed image data, which is set based on a predetermined index indicating the mutual relationship of standard compression ratios.
【請求項6】 請求項4記載の圧縮画像データの伸長方
法であって、 合成比率は輪郭領域の幅方向に沿って直線的に変化する
とともに、前記合成比率の最大値が第1と第2の標準圧
縮率の相互関係を示す所定の指標に基づいて設定され
る、圧縮画像データの伸長方法。
6. The decompression method for compressed image data according to claim 4, wherein the composition ratio changes linearly along the width direction of the contour region, and the maximum value of the composition ratio is the first and second values. A method for decompressing compressed image data, which is set on the basis of a predetermined index indicating the mutual relationship of the standard compression ratios.
JP05350498A 1993-12-28 1993-12-28 Image data compression and decompression methods Expired - Fee Related JP3077869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05350498A JP3077869B2 (en) 1993-12-28 1993-12-28 Image data compression and decompression methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05350498A JP3077869B2 (en) 1993-12-28 1993-12-28 Image data compression and decompression methods

Publications (2)

Publication Number Publication Date
JPH07203214A true JPH07203214A (en) 1995-08-04
JP3077869B2 JP3077869B2 (en) 2000-08-21

Family

ID=18410904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05350498A Expired - Fee Related JP3077869B2 (en) 1993-12-28 1993-12-28 Image data compression and decompression methods

Country Status (1)

Country Link
JP (1) JP3077869B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094955A (en) * 2007-10-11 2009-04-30 Fuji Xerox Co Ltd Image processor and image processing program
JP2013051522A (en) * 2011-08-30 2013-03-14 Honda Elesys Co Ltd Image compression device, image compression method, and image compression program
JP2013118553A (en) * 2011-12-05 2013-06-13 Dainippon Printing Co Ltd Composite image generating device
JP2016034162A (en) * 2015-12-09 2016-03-10 大日本印刷株式会社 Composite image generating device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009094955A (en) * 2007-10-11 2009-04-30 Fuji Xerox Co Ltd Image processor and image processing program
US8483499B2 (en) 2007-10-11 2013-07-09 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, computer-readable medium and computer data signal
JP2013051522A (en) * 2011-08-30 2013-03-14 Honda Elesys Co Ltd Image compression device, image compression method, and image compression program
JP2013118553A (en) * 2011-12-05 2013-06-13 Dainippon Printing Co Ltd Composite image generating device
JP2016034162A (en) * 2015-12-09 2016-03-10 大日本印刷株式会社 Composite image generating device

Also Published As

Publication number Publication date
JP3077869B2 (en) 2000-08-21

Similar Documents

Publication Publication Date Title
JP3882651B2 (en) Image processing apparatus and program
US7945115B2 (en) Visual processing device, visual processing method, visual processing program, and semiconductor device
US7755670B2 (en) Tone-conversion device for image, program, electronic camera, and tone-conversion method
US20040247196A1 (en) Method and system for modifying a digital image taking into account it's noise
JPH02301295A (en) Video printer device
JP2002300371A (en) Recording medium storing image processing program, image processing program, image processing device
JP4285628B2 (en) Image processing method, apparatus, and program
JP3999432B2 (en) Image processing method and apparatus, and recording medium
JPH07203214A (en) Compression and expansion method for picture data
JP3732978B2 (en) Image compression and decompression apparatus and method
JPH1063837A (en) Method for processing picture and device therefor
JPH06333006A (en) Image processor
JPH11339035A (en) Method for deciding image processing parameter and device therefor
JP3814421B2 (en) Image processing apparatus, method, and computer-readable storage medium
JP2002077657A (en) Apparatus of image processing, method thereof and recording medium
JPH1063838A (en) Method for processing picture and device therefor
JP5836789B2 (en) Image processing apparatus, control method therefor, and program
JP2007158446A (en) Image processor, image processing method and program, recording medium
JP2007006158A (en) Image processor
JP2001085999A (en) Image compression and expansion device
JPH11127361A (en) Image processor, its method and recording medium
JP2000293684A (en) Method and device for image processing and recording medium
JP3247893B2 (en) Image encoding device and image decoding device
JPH09326921A (en) Magnification method for digital image
JP3188237B2 (en) Image encoding device and image decoding device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees