JPH1141625A - Color moving image data compression method - Google Patents

Color moving image data compression method

Info

Publication number
JPH1141625A
JPH1141625A JP9192871A JP19287197A JPH1141625A JP H1141625 A JPH1141625 A JP H1141625A JP 9192871 A JP9192871 A JP 9192871A JP 19287197 A JP19287197 A JP 19287197A JP H1141625 A JPH1141625 A JP H1141625A
Authority
JP
Japan
Prior art keywords
color
frame
data
moving image
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.)
Pending
Application number
JP9192871A
Other languages
Japanese (ja)
Inventor
Takuya Fujimoto
卓也 藤本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9192871A priority Critical patent/JPH1141625A/en
Publication of JPH1141625A publication Critical patent/JPH1141625A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To relieve a processing load for color compression processing of color moving image data and to improve the data compression efficiency. SOLUTION: A row of frames 2 configuring color moving image data are divided into a frame group 20 consisting of a prescribed frame number. Color compression processing is applied to head frame data 22 of the frame group 20 to generate color palette information 24. Each frame in the frame group 20 is subject to palette processing based on the color palette information 24 generated from the head frame. The color palette information 24 is stored only in the head frame data 22. In the case of reproducing a moving image, the color palette information 24 extracted from the head frame data 22 is set in a memory and decoding processing to RGB values is conducted based on a palette index of succeeding frames in the frame group while referring to the color palette information 24.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラー動画像デー
タのデータ圧縮方法に関し、特に、画像に含まれる色数
を限定する色圧縮(パレッタイズ処理)によるデータ圧
縮処理の効率向上に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compression method for color moving image data, and more particularly to an improvement in the efficiency of data compression processing by color compression (palletizing processing) for limiting the number of colors included in an image.

【0002】[0002]

【従来の技術】カラー動画像データの表す方法として、
輝度値(Y)と2つの色差信号(U、V)とを用いた表
現形式(YUV形式と称する。)や、3原色を用いて表
すRGB(Red/Green/Blue)形式やCMY(Cyan/Magen
ta/Yellow)形式がある。
2. Description of the Related Art As a method of expressing color moving image data,
An expression format (referred to as a YUV format) using a luminance value (Y) and two color difference signals (U, V), an RGB (Red / Green / Blue) format using three primary colors, and a CMY (Cyan / Magen
ta / Yellow) format.

【0003】従来、カラー動画像データの伝送にはYU
V形式がよく用いられる。例えばMPEG圧縮といった
技術による動画像データの圧縮はこのYUV形式のデー
タに対して行われ、その圧縮されたYUV形式のデータ
によりデータ伝送や蓄積が行われる。
Conventionally, YU has been used for transmitting color moving image data.
The V format is often used. For example, moving image data is compressed with respect to the YUV format data by a technique such as MPEG compression, and data transmission and storage are performed by the compressed YUV format data.

【0004】一方、カラー動画像を取り扱うシステムの
入力部、例えばイメージセンサの出力信号や、システム
の出力部、例えばディスプレイ装置等の表示・印刷とい
った出力装置は一般にRGB形式やCMY形式が採用さ
れることが多い。そのため、1つの動画像システムの中
でRGB形式/CMY方式とYUV方式という異なる形
式のデータが用いられることも多い。
On the other hand, an input unit of a system that handles color moving images, for example, an output signal of an image sensor, and an output unit of the system, for example, an output device such as a display device for displaying and printing, use an RGB format or a CMY format. Often. Therefore, data of different formats such as RGB format / CMY format and YUV format are often used in one moving image system.

【0005】さて、画像を構成する色数については、例
えばRGB形式では、R、G、Bそれぞれに8ビットの
階調を与えると約1670万色の表現が可能である。し
かし表現できる色数に応じてデータ量も多くなり、記
憶、表示、伝送といった処理の負荷が増大する。
[0005] Regarding the number of colors constituting an image, for example, in the RGB format, if each of R, G, and B is given an 8-bit gradation, about 16.7 million colors can be expressed. However, the data amount increases according to the number of colors that can be expressed, and the load of processing such as storage, display, and transmission increases.

【0006】また、システムの構成装置の中には、取り
扱える色数に制限があるデバイスもある。例えば、カラ
ーディスプレイ装置が同時に取り扱える色数は256色
を基準とされることが多い。
[0006] Some of the constituent devices of the system have a limited number of colors that can be handled. For example, the number of colors that a color display device can handle simultaneously is often based on 256 colors.

【0007】そのため、RGB、CMY形式のデータに
対しては、色数を限定する減色処理を行って色圧縮する
ことがある。この色圧縮によれば、色数限定により選択
された色のRGB値とそれらRGB値を識別するコード
等の情報との対応関係を表すテーブルが用意され、この
テーブルを用いて、画像を構成する各画素の画素値がR
GB値から識別コードに変換される。例えば、色数を2
56色に限定する場合には、識別コードは8ビットのバ
イナリで表すことができ、データ量が圧縮される。この
変換に用いられる上記テーブルはカラーパレットと呼ば
れ、上記減色処理は、パレッタイズとも呼ばれる。
For this reason, color compression may be performed on RGB and CMY format data by performing color reduction processing for limiting the number of colors. According to this color compression, a table is prepared that represents the correspondence between the RGB values of the color selected by limiting the number of colors and information such as codes for identifying the RGB values, and an image is configured using this table. The pixel value of each pixel is R
It is converted from the GB value to an identification code. For example, if the number of colors is 2
When the number of colors is limited to 56, the identification code can be represented by 8-bit binary, and the data amount is compressed. The table used for this conversion is called a color palette, and the color reduction processing is also called palletizing.

【0008】従来より行われている色圧縮によれば、例
えば、R、G、Bの3軸で定義される3次元のRGB空
間におけるフレーム構成画素の分布領域が、限定色の個
数に等しい数のブロック、例えば256のブロックに分
割される。そして、同一のブロック内に包含される画素
に対しては、同一のブロックの識別番号を付与する。各
識別番号に対しては、カラーパレットにより、例えば対
応するブロックの中心点に対応する色が対応づけられ
る。すなわち、同一のブロックに属する画素は、すべて
同一の色で表示等が行われる。この処理により厳密な色
は再現されないことになるが、ある程度の色数、例えば
256色程度の色数とすれば、人間の視覚特性によりカ
ラー画像の自然さはそれほど失われない。
According to the conventional color compression, for example, the distribution area of the pixels constituting the frame in the three-dimensional RGB space defined by the three axes of R, G, and B is equal to the number of limited colors. , For example, into 256 blocks. Then, the identification number of the same block is given to the pixels included in the same block. For example, a color corresponding to the center point of the corresponding block is associated with each identification number by a color palette. That is, the pixels belonging to the same block are all displayed in the same color. Although accurate colors are not reproduced by this process, if the number of colors is set to a certain number, for example, about 256 colors, naturalness of a color image is not so much lost due to human visual characteristics.

【0009】この処理により各フレームデータには、カ
ラーパレットの情報が付加されるその分、データ量が増
加する。しかし、各画素の色データがブロックの識別番
号に置き換えられることにより上述したようにデータ量
は減少するので、一般には各フレームのデータ量は全体
として圧縮される。
By this processing, the amount of data is increased by the amount of the information of the color palette added to each frame data. However, since the data amount is reduced as described above by replacing the color data of each pixel with the block identification number, the data amount of each frame is generally compressed as a whole.

【0010】[0010]

【発明が解決しようとする課題】従来の色圧縮処理はフ
レーム単位に行われるため、その処理時間が大きくなる
という問題点があった。つまり、色圧縮を行う処理装置
の処理負荷が増大し、処理速度が低下するという問題点
があった。
Since the conventional color compression processing is performed on a frame basis, there is a problem that the processing time becomes long. That is, there is a problem in that the processing load of the processing device that performs color compression increases and the processing speed decreases.

【0011】また、各フレームデータにカラーパレット
情報が付加され、データ圧縮率が低下するという問題点
があった。
There is another problem that color pallet information is added to each frame data and the data compression ratio is reduced.

【0012】本発明は上記問題点を解消するためになさ
れたもので、処理負荷が軽減され、データ圧縮率が向上
した色圧縮によるカラー動画像データ圧縮方法を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a color moving image data compression method by color compression with a reduced processing load and an improved data compression ratio.

【0013】[0013]

【課題を解決するための手段】本発明に係る第1のカラ
ー動画像データ圧縮方法は、原動画像を構成するフレー
ムの列を複数のフレームグループに区切り、所定の前記
色圧縮の手続に基づいて前記各フレームグループ毎に1
つの前記色パレット情報を生成し、前記各フレームグル
ープに含まれる前記各フレームは当該フレームグループ
に対応する前記色パレット情報に基づいて前記インデッ
クス化を行われるというものである。
In a first color moving image data compression method according to the present invention, a sequence of frames constituting a moving image is divided into a plurality of frame groups, and based on a predetermined color compression procedure. 1 for each frame group
One of the color pallet information is generated, and each of the frames included in each of the frame groups is indexed based on the color pallet information corresponding to the frame group.

【0014】本発明に係る第2のカラー動画像データ圧
縮方法は、蓄積された原動画像データに適用されるもの
であって、前記色圧縮が前記各フレームグループに含ま
れる前記原動画像データをひとまとまりの対象として行
われ、当該フレームグループに対応する前記色パレット
情報が生成されるというものである。
A second color moving picture data compression method according to the present invention is applied to accumulated moving picture data, wherein the color compression is performed on the moving picture data included in each frame group. The color pallet information corresponding to the frame group is generated.

【0015】本発明の好適な態様は、前記フレームグル
ープに含まれる複数の前記フレームを2次元的に配列し
て得られる仮想的な1つの画像を対象として前記色圧縮
が行われ、当該フレームグループに対応する前記色パレ
ット情報が生成されるというものである。
[0015] In a preferred aspect of the present invention, the color compression is performed on one virtual image obtained by two-dimensionally arranging a plurality of frames included in the frame group, and Is generated.

【0016】本発明に係る第3のカラー動画像データ圧
縮方法は、リアルタイムで得られる原動画像データに適
用されるものであって、前記色圧縮が前記各フレームグ
ループに含まれる先頭の前記フレームを対象として行わ
れ、当該フレームグループに対応する前記色パレット情
報が生成されるというものである。
A third color moving image data compression method according to the present invention is applied to moving image data obtained in real time, and the color compression is performed on the first frame included in each frame group. This is performed as an object, and the color pallet information corresponding to the frame group is generated.

【0017】本発明に係る第4のカラー動画像データ圧
縮方法は、リアルタイムで得られる原動画像データに適
用されるものであって、前記色パレット情報に基づい
て、前記各インデックス毎にこれに対応する前記選択色
データを包含する割当色データ範囲を定め、前記インデ
ックス化は、前記各画素の色データが包含される前記割
当色データ範囲を選択するステップと、選択された当該
割当色データ範囲に対応する前記インデックスにより、
当該画素の色データを置き換えるステップとを含んで行
われるというものである。
A fourth color moving image data compression method according to the present invention is applied to moving image data obtained in real time, and corresponds to each index based on the color pallet information. Determining an assigned color data range that includes the selected color data, and selecting the assigned color data range that includes the color data of each of the pixels; By the corresponding index,
Replacing the color data of the pixel.

【0018】本発明の好適な態様の一つは、前記割当色
データ範囲が、前記インデックスを介して当該割当色デ
ータ範囲に対応付けられる前記選択色データと所定上位
桁数が同一となる数値の最大値と最小値とに基づいてそ
の上限・下限が定義される範囲であるものである。
In a preferred aspect of the present invention, the assigned color data range is a numerical value having the same number of predetermined upper digits as the selected color data associated with the assigned color data range via the index. The upper and lower limits are defined based on the maximum value and the minimum value.

【0019】本発明に係る第5のカラー動画像データ圧
縮方法は、上記第1、第2の方法において、前記各フレ
ームグループの前記色パレット情報が当該フレームグル
ープに含まれる1つの前記フレームに対応したフレーム
データのみに内蔵されるというものである。
In a fifth color moving picture data compression method according to the present invention, in the first and second methods, the color pallet information of each of the frame groups corresponds to one of the frames included in the frame group. That is, it is built in only the frame data obtained.

【0020】本発明に係る第6のカラー動画像データ圧
縮方法は、上記第1から第4までの方法において、前記
各フレームグループの前記色パレット情報が当該フレー
ムグループに含まれる先頭の前記フレームに対応した前
記フレームデータに内蔵されるというものである。
[0020] In a sixth color moving image data compression method according to the present invention, in the first to fourth methods, the color pallet information of each frame group is stored in the first frame included in the frame group. It is built into the corresponding frame data.

【0021】[0021]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0022】[実施の形態1]図1は、蓄積されたカラ
ー動画像データに適用される本発明の第1の実施の形態
である色圧縮の方法を説明するための模式図である。
[First Embodiment] FIG. 1 is a schematic diagram for explaining a color compression method according to a first embodiment of the present invention applied to accumulated color moving image data.

【0023】ここで処理される蓄積されたカラー動画像
データは、例えば磁気ディスク等の記憶装置にすでに格
納されている動画像データである。すなわち、色圧縮処
理の対象となる各時刻の画像データであるフレーム列2
は、基本的には処理開始時にすでに得られている。そし
て、色圧縮処理は、基本的に中央演算装置(CPU:Ce
ntral Processing Unit)を含んだ計算機により行われ
る。簡単には、例えば小型汎用計算機等を用いることが
でき、また色圧縮専用の処理装置を構成して、処理の高
速化を図ることも可能である。
The stored color moving image data processed here is moving image data already stored in a storage device such as a magnetic disk. That is, a frame sequence 2 which is image data at each time to be subjected to color compression processing
Is basically obtained at the start of the process. The color compression processing is basically performed by a central processing unit (CPU: Ce
ntral Processing Unit). In brief, for example, a small general-purpose computer or the like can be used, and a processing device dedicated to color compression can be configured to achieve high-speed processing.

【0024】そのような処理装置は、本実施形態の処理
では、記憶装置に例えば時刻順に格納されたフレームデ
ータの列であるフレーム列2の先頭から順にフレームデ
ータをm・n枚ずつ読み出して処理を行う。つまり、フ
レーム列2はそれぞれm・n枚のフレームにより構成さ
れる複数のフレームグループに区切られ、各フレームグ
ループ毎に処理されることになる。m及びnは処理装置
にあらかじめ設定された既定値としてもよいし、操作者
が処理装置に設定、変更できるパラメータとしてもよ
い。
In the processing of this embodiment, such a processing device reads out m and n pieces of frame data in order from the beginning of a frame sequence 2 which is a sequence of frame data stored in the storage device in time order, for example. I do. That is, the frame sequence 2 is divided into a plurality of frame groups each including m and n frames, and is processed for each frame group. m and n may be default values set in advance in the processing device, or may be parameters that can be set and changed in the processing device by an operator.

【0025】またはこれによりそれぞれ時間軸方向に連
続したm・n枚のフレームを含んだ複数のフレームグル
ープ3が形成される。各フレームグループ3に含まれる
m・n枚のフレームは横方向にm枚、縦方向にn枚配置
された仮想的な1つの画像4として扱われる。なお、図
にはm=3、n=3の場合の画像4が示されている。
Alternatively, a plurality of frame groups 3 each including mn frames continuous in the time axis direction are formed. The m · n frames included in each frame group 3 are treated as one virtual image 4 in which m frames are arranged in the horizontal direction and n frames are arranged in the vertical direction. The figure shows an image 4 when m = 3 and n = 3.

【0026】一般に色圧縮のアルゴリズムは、フレーム
データを2次元の配列データとして取り扱うように設計
される。つまり、1つのフレーム内の画素が横j個、縦
k個の2次元配列である場合、処理装置内、具体的には
メモリ上にはj×kの2次元配列領域が定義される。
Generally, an algorithm for color compression is designed to handle frame data as two-dimensional array data. In other words, when the pixels in one frame are a two-dimensional array of j rows and k columns, a j × k two-dimensional array area is defined in the processing device, specifically, on the memory.

【0027】本実施形態では、そのような1フレームに
対する色圧縮処理のアルゴリズムをそのまま用いること
ができる。すなわち、通常のフレームが上述のように横
j画素×縦k画素の画素の2次元配列である場合、本実
施形態では、上記1つのフレームグループを、横mj画
素×縦nk画素の2次元配列である1つの画像とみな
す。そして、従来より用いられる色圧縮アルゴリズムに
おけるj、kをそれぞれmj、nkに置き換えて、mj
画素×nk画素の2次元配列である仮想的な1フレーム
に対して色圧縮処理を行い、パレッタイズされた仮想的
な拡大された画像6が生成される。
In this embodiment, the color compression algorithm for one frame can be used as it is. That is, when the normal frame has a two-dimensional array of pixels of horizontal j pixels × vertical k pixels as described above, in the present embodiment, the one frame group is divided into a two-dimensional array of horizontal mj pixels × vertical nk pixels. Is regarded as one image. Then, by replacing j and k in the conventionally used color compression algorithm with mj and nk, respectively,
A color compression process is performed on one virtual frame, which is a two-dimensional array of pixels × nk pixels, to generate a palletized virtual enlarged image 6.

【0028】色圧縮処理は色数をNCに限定するもので
あるとする。処理装置は従来のアルゴリズムに基づい
て、カラーパレット(色パレット情報8)を生成する。
このカラーパレットがNC通りのRGB値とそれらをそ
れぞれ区別する識別コードであるパレットインデックス
を格納する点は、従来と同様である。但し、本実施形態
では、色圧縮処理は1枚のフレームではなく時間的に連
続するm・n枚のフレームを処理対象とする点で従来の
色圧縮処理と相違する。つまり、カラーパレットに格納
される色は、連続するm・n枚のフレーム内全体での色
分布に基づいて選択される。連続するフレームそれぞれ
の色分布は、それらフレームにより表示される動画像が
途中でシーンチェンジ等により急激に変化するような例
外を除けば、通常は相互に相関を有している。そのた
め、処理対象とされる動画像の連続枚数(m・n)の増
加に比べて色分布の範囲の拡大は小さい。よって、上述
したような例外を含まない限り、一括して処理する動画
像枚数を多くしても、色表現の自然さの劣化は抑制され
る。
It is assumed that the color compression process limits the number of colors to N C. The processing device generates a color palette (color palette information 8) based on a conventional algorithm.
That the color palette is stored palette index is RGB values and distinguishing identification codes them respectively as N C is the same as conventional. However, in the present embodiment, the color compression processing is different from the conventional color compression processing in that mn frames that are temporally continuous are processed instead of one frame. In other words, the colors stored in the color palette are selected based on the color distribution in the entirety of the continuous mn frames. The color distribution of each successive frame usually has a correlation with each other, except for the exception that a moving image displayed by those frames changes abruptly due to a scene change or the like in the middle. Therefore, the expansion of the range of the color distribution is small compared to the increase in the continuous number (m · n) of moving images to be processed. Therefore, as long as the exceptions described above are not included, even if the number of moving images to be processed collectively is increased, deterioration of the naturalness of color expression is suppressed.

【0029】一方、複数枚数の処理を一括して行うこと
による処理効率の向上により、色圧縮処理に要する時間
処理は、m・n枚を個別に処理する場合に要する時間の
m・n倍より低減される。具体的には、m・n枚の画像
に関し、従来方法ではm・n回必要であった減色処理を
共通の1回の処理で行うので、(m・n−1)回の減色
処理を省略することができる。
On the other hand, by improving the processing efficiency by performing a plurality of processes collectively, the time processing required for the color compression processing is mn times longer than the time required for processing mn sheets individually. Reduced. Specifically, the color reduction processing which was required m and n times in the conventional method is performed by one common processing with respect to mn images, so that (mn-1) color reduction processing is omitted. can do.

【0030】また、処理対象となるデータは配列データ
である。この配列は一般には画像に対応した2次元配列
であることが多いが、1次元配列に展開した形で取り扱
うこともできる。これら配列データを高速に処理するに
は、ベクトルプロセッサを用いてパイプライン方式で並
列処理するのが効果的である。この際、一般に配列サイ
ズが大きいほど並列化による処理効率の向上が高くな
る。つまり、ベクトル演算処理を行う場合、時系列的な
連続する画像データを仮想的に拡大された画像データと
して取り扱う本方式の処理では、一層の高速化が図られ
る。
The data to be processed is array data. In general, this array is often a two-dimensional array corresponding to an image, but can be handled in a form expanded to a one-dimensional array. In order to process these array data at high speed, it is effective to perform parallel processing in a pipeline system using a vector processor. At this time, generally, the larger the array size is, the higher the processing efficiency is improved by parallelization. In other words, in the case of performing the vector calculation processing, the processing of the present method in which continuous image data in a time series is treated as virtually enlarged image data can be further speeded up.

【0031】パレッタイズされた仮想的な拡大された画
像6の各画素の画素値は、従来同様の方法に従ってRG
B値からパレットのNC種類の色に対応するパレットイ
ンデックスに変換されている。この拡大された画像6
は、時間的に連続するフレーム列2を空間的に拡大した
画像4に対応したものであり、これを再び時間的に連続
したm・n枚のフレームであるフレームグループ10に
変換する。順次生成されるフレームグループ10の並び
により色圧縮処理後のフレーム列が構成される。
The pixel value of each pixel of the palletized virtual enlarged image 6 is calculated by RG according to a conventional method.
It has been converted into a pallet index corresponding to the N C different colors of the palette from the B value. This enlarged image 6
Corresponds to an image 4 in which a temporally continuous frame sequence 2 is spatially enlarged, and is converted again into a frame group 10 of mn temporally continuous frames. A series of frame groups 10 that are sequentially generated and a frame train after color compression processing are configured.

【0032】上述のような色圧縮方法によれば、生成さ
れた色パレット情報8は、その色圧縮処理の単位とされ
たフレームグループ10に含まれる各フレームに共通で
ある。本方式では、フレーム列2のフレームグループ毎
に生成された色パレット情報8を対応するフレームグル
ープ10の先頭フレームのデータに付加する。この先頭
フレームは、色パレット情報8を内蔵しそれ自身のデー
タのみでカラー画像を再現できる。この点でこの先頭フ
レームはMPEG方式のIピクチャに類似しているの
で、ここではこのフレームをIピクチャと称することと
する。一方、フレームグループ10中において色パレッ
ト情報8を内蔵しない他のフレームは、先頭フレームの
色パレット情報8を参照しないと、カラー画像を再現で
きない。このように自身のデータだけでは画像を再生で
きない点で、先頭フレーム以外のフレームはMPEG方
式のPピクチャに類似しているので、ここではフレーム
グループ10中の先頭フレーム以外の各フレームをPピ
クチャと称することとする。
According to the above-described color compression method, the generated color pallet information 8 is common to each frame included in the frame group 10 which is a unit of the color compression processing. In this method, the color pallet information 8 generated for each frame group of the frame sequence 2 is added to the data of the first frame of the corresponding frame group 10. The first frame contains the color pallet information 8 and can reproduce a color image only with its own data. In this respect, the first frame is similar to an I picture in the MPEG system, so this frame will be referred to as an I picture here. On the other hand, other frames in the frame group 10 that do not include the color pallet information 8 cannot reproduce a color image without referring to the color pallet information 8 of the first frame. Since frames other than the head frame are similar to MPEG P-pictures in that an image cannot be reproduced only by own data, each frame other than the head frame in the frame group 10 is referred to as a P-picture here. Shall be referred to.

【0033】従来は、各フレームが色パレット情報8と
パレットインデックスとを格納されたIピクチャであっ
た。しかし、本方式では、フレームグループ10の先頭
フレームのみIピクチャであり、大部分を占める他のフ
レームはPピクチャである。すなわち、大半のフレーム
はパレットインデックスは含むが色パレット情報8は保
持していない。これにより、色圧縮されたフレーム列全
体のデータ量が削減される。
Conventionally, each frame is an I picture in which the color palette information 8 and the palette index are stored. However, in this method, only the first frame of the frame group 10 is an I picture, and the other frames that occupy most of the frames are P pictures. That is, most frames include the palette index, but do not hold the color palette information 8. Thus, the data amount of the entire color-compressed frame sequence is reduced.

【0034】なお、フレーム列2のフレームをグルーピ
ングする際、例えば、フレーム列2の最後において想定
されるように、1つのフレームグループを構成するm・
n枚だけのフレームが集まらない場合が考えられる。こ
の場合には、集められたm・n枚未満のフレームのうち
同じもの、例えば時系列上で最後のフレームを繰り返し
て使用し、上記m×nの拡大された画像を構成する。若
しくは、集められたm・n枚未満のフレームに含まれる
であろう特定の色が推定される場合には、その特定の色
で、拡大画像の不足分のフレームに相当する部分を埋め
てもよい。
When the frames of the frame sequence 2 are grouped, for example, assuming at the end of the frame sequence 2, m ·
It is conceivable that only n frames are not collected. In this case, the same frame of less than mn frames collected, for example, the last frame in a time series is repeatedly used to form the mxn enlarged image. Alternatively, when a specific color that will be included in less than mn collected frames is estimated, the specific color may be used to fill in a portion corresponding to the insufficient frame of the enlarged image. Good.

【0035】処理装置は、このように生成されたフレー
ムデータの列から動画像を再生する際には、フレームグ
ループ10の先頭フレームから色パレット情報8を取得
してこれをメモリ上に保持する。そして、同一のフレー
ムグループ10に属するフレームに対しては、そのメモ
リ上の色パレット情報8を用いて、パレットインデック
スをキーにして色パレット情報8を検索し、各画素のR
GB値を再現する。
When reproducing a moving image from the sequence of frame data generated in this way, the processing device acquires the color pallet information 8 from the first frame of the frame group 10 and stores it in the memory. For the frames belonging to the same frame group 10, the color palette information 8 is searched using the color palette information 8 in the memory and the palette index as a key, and the R
Reproduce the GB values.

【0036】ここでは、フレームグループ10の先頭の
フレームをIピクチャとした。これは、上述のように動
画像再生時にフレーム列を時系列に沿って処理できる利
点があるためである。しかし、これまで説明したような
蓄積された動画像データに関しては、あるフレームの再
生処理において、その後続のフレームデータを参照する
ことは可能である。よって、Iピクチャをフレームグル
ープ10の先頭以外のフレームに設定することも可能で
ある。
Here, the first frame of the frame group 10 is an I picture. This is because there is an advantage that a frame sequence can be processed in a time series at the time of reproducing a moving image as described above. However, with respect to the accumulated moving image data as described above, it is possible to refer to subsequent frame data in a certain frame reproduction process. Therefore, it is possible to set the I picture to a frame other than the head of the frame group 10.

【0037】[実施の形態2]図2は、本発明の第2の
実施の形態であって、リアルタイムで得られるカラー動
画像データに適用される色圧縮の方法を説明するための
模式図である。
[Second Embodiment] FIG. 2 is a schematic diagram for explaining a color compression method applied to color moving image data obtained in real time according to a second embodiment of the present invention. is there.

【0038】ここで処理されるリアルタイムで得られる
カラー動画像データは、例えばビデオカメラ等の撮像装
置から刻々と得られる動画像データである。すなわち、
あるフレームの色圧縮処理を行う際には、基本的にはそ
の後続のフレームは得られていない。
The color moving image data obtained in real time, which is processed here, is moving image data obtained momentarily from an imaging device such as a video camera. That is,
When performing color compression processing for a certain frame, basically no subsequent frame is obtained.

【0039】なお、本方式の色圧縮処理も上記実施の形
態同様、CPUを含んだ計算機によりプログラム処理と
して実現される。
Note that the color compression processing of this system is also realized as a program processing by a computer including a CPU, as in the above embodiment.

【0040】この場合もフレーム列2は複数のフレーム
グループ20に区切られ、これを単位として処理が行わ
れる。但し、上述したように、あるフレームグループ2
0の処理の開始時には、当該フレームグループ20の全
部のフレームデータは得られてはいない。フレームグル
ープを構成するフレーム数NFは、処理対象の動画像の
性質に応じて外部から設定する。例えば、フレーム間で
の画像の変化が大きい、または動きが激しい動画像デー
タに対しては、少ないフレーム数でフレームグループを
構成し、逆にフレーム間での画像の変化が小さい、また
は動きが少ない動画像データに対しては、フレームグル
ープを多くのフレームにより構成することができる。
Also in this case, the frame sequence 2 is divided into a plurality of frame groups 20, and the processing is performed in units of the frame groups. However, as described above, a certain frame group 2
At the start of the process of 0, all the frame data of the frame group 20 has not been obtained. Frame number N F that constitute the frame group is set from the outside, depending on the nature of the moving image to be processed. For example, for moving image data in which the change in image between frames is large or in which the movement is intense, a frame group is configured with a small number of frames, and conversely, the change in image between frames is small or the movement is small. For moving image data, a frame group can be composed of many frames.

【0041】処理装置は、フレームグループ20の先頭
フレームデータ22を得ると、その先頭フレームデータ
22に対して従来同様の色圧縮処理を行い、色数NC
色パレット情報24と、当該フレームのパレットインデ
ックスとが生成される。この色圧縮処理により先頭フレ
ームデータ22は、色パレット情報24とパレットイン
デックスとを含んだフレームデータに変換される。この
先頭フレームデータ22に対応した変換後のフレームデ
ータは上記実施の形態で述べたIピクチャ26となる。
The processor obtains a first frame data 22 of the frame group 20 performs the conventional similar color compression processing for the first frame data 22, the color palette information 24 of the color number N C, of the frame A pallet index is generated. By this color compression processing, the top frame data 22 is converted into frame data including color palette information 24 and a palette index. The converted frame data corresponding to the first frame data 22 is the I picture 26 described in the above embodiment.

【0042】同一のフレームグループ20に属する他の
フレームデータ、すなわち先頭フレームデータ22に続
いて得られる(NF−1)枚のフレームデータは、別途
色圧縮処理を行われることなく、先頭フレームデータ2
2から生成された色パレット情報24に基づいてパレッ
タイズを行われる。
The other frame data belonging to the same frame group 20, that is, (N F -1) frame data obtained subsequent to the first frame data 22, are subjected to the first frame data without being subjected to a separate color compression process. 2
Palletizing is performed based on the color pallet information 24 generated from Step 2.

【0043】このパレッタイズでは、色パレット情報2
4に登録されたRGB値のうち最も処理対象である画素
のRGB値に近いものが検索され、それに対応するパレ
ットインデックスが当該画素に割り当てられる。この割
り当てをここではカラーマッチングと称する。
In this palette, color pallet information 2
The one closest to the RGB value of the pixel to be processed among the RGB values registered in No. 4 is searched, and the corresponding palette index is assigned to the pixel. This assignment is referred to herein as color matching.

【0044】ここでこのカラーマッチングの一例を説明
する。処理対象である画素のR、G、Bの各値をIR
G、IBとし、色パレット情報24に登録されたR、
G、Bの各値をPR(i)、PG(i)、PB(i)とする。ここで
iはパレットインデックスでありNC種類ある。カラー
マッチングでは、次の(1)〜(3)式で表される条件
を満たすパレットインデックスiが色パレット情報24
から探索され、当該画素に割り当てられる。
Here, an example of this color matching will be described. The R, G, and B values of the pixel to be processed are represented by I R ,
I G, and I B, which is registered in the color palette information 24 R,
Let G and B be P R (i), P G (i), and P B (i). Here, i is a pallet index and has N C types. In the color matching, the palette index i satisfying the conditions represented by the following equations (1) to (3) is stored in the color palette information 24.
And is assigned to the pixel.

【0045】 |IR−PR(i)|≦εR ………(1) |IG−PG(i)|≦εG ………(2) |IB−PB(i)|≦εB ………(3) ここでεR、εG、εBは外部から設定されるパラメータ
であり、パレッタイズにおけるR、G、B各値の許容誤
差量に対応するものである。また、εR、εG、εBは、
各パレットインデックスに割り当てられるRGB値
R、IG、IBの分布幅である。
| I R −P R (i) | ≦ ε R (1) | I G −P G (i) | ≦ ε G (2) | I B −P B (i) | ≦ ε B (3) Here, ε R , ε G , and ε B are parameters set from the outside, and correspond to the allowable error amounts of the R, G, and B values in palletizing. Ε R , ε G , ε B are
RGB values I R assigned to each palette index, I G, a distribution width of I B.

【0046】もし、これらの条件をすべて満たすパレッ
トインデックスが見つからなかった場合には、例えば誤
差量を最小にするような、その一例としては誤差量の二
乗和{(IR−PR(i))2+(IG−PG(i))2+(IB
B(i))2}を最小とするようなパレットインデックス
が探索され、割り当てられる。
If a pallet index that satisfies all of these conditions is not found, for example, the sum of squares of the error amount {(I R -P R (i) ) 2 + (I G −P G (i)) 2 + (I B
A palette index that minimizes P B (i)) 2探索 is searched for and assigned.

【0047】フレームグループ20は、上述したような
動画像の性質に応じて定められるため、同一のフレーム
グループ20に属するフレーム間では色分布の相関が強
い。つまり、IR、IG、IBの分布幅であるεR、εG
εBを小さく設定しても、(1)〜(3)式の条件を満
たすパレットインデックスが存在する確率が高い。これ
は、上述したように色圧縮処理をフレームグループ20
の先頭フレームに対する処理で代表させても、細やかな
色階調が維持されるということであり、色表現の自然さ
の劣化が抑制されるということである。
Since the frame group 20 is determined according to the nature of the moving image as described above, the correlation of the color distribution between the frames belonging to the same frame group 20 is strong. That, I R, I G, ε R is the distribution width of the I B, ε G,
Even if ε B is set small, there is a high probability that a pallet index that satisfies the conditions of equations (1) to (3) exists. This is because the color compression processing is performed on the frame group 20 as described above.
This means that fine color gradations are maintained even when represented by the processing for the first frame of, and that the deterioration of the naturalness of color expression is suppressed.

【0048】このカラーマッチングにより、フレームグ
ループ20に対応して生成されるIピクチャ26に続く
(NF−1)枚のフレームデータが生成される。これら
はそれぞれ上記実施の形態で述べたPピクチャ28であ
る。このようにフレーム列2は、1枚のIピクチャとそ
れに続く(NF−1)枚のPピクチャで構成されるフレ
ームグループ30が複数繰り返し並んだフレーム列に変
換される。
By this color matching, (N F -1) frame data subsequent to the I picture 26 generated corresponding to the frame group 20 is generated. These are the P pictures 28 described in the above embodiment. As described above, the frame sequence 2 is converted into a frame sequence in which a plurality of frame groups 30 each including one I picture and the following (N F -1) P pictures are repeatedly arranged.

【0049】以上述べた色圧縮方法によれば、従来各フ
レーム毎に行っていた減色処理をNF枚のフレームにつ
き1回に減少することができるので、計算機の処理負荷
を軽減できるとともに、処理時間が短縮され高速化な色
圧縮処理が実現される。また、色パレット情報24は、
F枚につき1枚生成されるIピクチャ26にしか保持
されない。これにより本方式の色圧縮によるデータ圧縮
方法は、各フレームに色パレット情報を保持する従来の
色圧縮によるデータ圧縮方法に比べて、処理により生成
されたフレームグループ30全体のデータ量が削減さ
れ、一層の高いデータ圧縮効率が実現される。
[0049] According to the color compression method described above, it is possible to reduce the conventional color reduction processing has been performed for each frame to once per N F frames, it is possible to reduce the processing load of the computer, processing Time is shortened, and high-speed color compression processing is realized. The color pallet information 24 includes
It is stored only in the I picture 26 generated for every N F images. As a result, the data compression method using the color compression of the present method reduces the data amount of the entire frame group 30 generated by the processing as compared with the conventional data compression method using the color compression in which color pallet information is held in each frame. Higher data compression efficiency is realized.

【0050】ちなみに、生成されたフレームグループ3
0から動画像を再生する方法は、上記実施の形態と同様
であるので説明を省略する。
Incidentally, the generated frame group 3
The method of reproducing a moving image from 0 is the same as that in the above embodiment, and the description is omitted.

【0051】[実施の形態3]図3は、本発明の第3の
実施の形態であって、リアルタイムで得られるカラー動
画像データに適用されるもう一つの色圧縮の方法を説明
するための模式図である。
Third Embodiment FIG. 3 shows a third embodiment of the present invention, which describes another color compression method applied to color moving image data obtained in real time. It is a schematic diagram.

【0052】上記第2の実施の形態は、フレームグルー
プに含まれるフレーム数を、外部からは設定可能である
が色圧縮処理中は一定に保たれるパラメータにより定め
た。これに対して、以下説明する第3の実施の形態は、
フレームグループに含まれるフレーム数を処理対象の動
画像に応じて変化させることを一つの特徴として有する
方法である。また、本実施の形態では、カラーマッチン
グの別の形態が採用されている。
In the second embodiment, the number of frames included in a frame group is determined by a parameter which can be set from the outside but is kept constant during the color compression processing. On the other hand, a third embodiment described below is
This is a method having, as one feature, changing the number of frames included in a frame group according to a moving image to be processed. In the present embodiment, another form of color matching is employed.

【0053】まず、図3において、フレーム列2の先頭
から順にいくつかのフレームがまとめられてフレームグ
ループが構成される。あるフレームグループの先頭フレ
ームから何枚のフレームがフレームグループとされるか
は、当該先頭フレームのデータ入力時には未定である。
いかにして、先頭フレームが決定されるか、すなわちフ
レーム列2がどこで区切られフレームグループが定義さ
れるかについては後述する。
First, in FIG. 3, several frames are put together in order from the beginning of the frame sequence 2 to form a frame group. It is undecided at the time of data input of the head frame how many frames from the head frame of a certain frame group are included in the frame group.
How the first frame is determined, that is, where the frame sequence 2 is divided and a frame group is defined will be described later.

【0054】本方式では、まず先頭フレーム40のデー
タに対して色圧縮処理が行われる。この時の減色処理は
従来と同様の方法により行われ、これにより選択された
C色のRGB値である選択色データ(パレットデー
タ)とそれを識別するパレットインデックスとが互いに
対応付けられた形で色パレット情報42に格納される。
本方法では、基本的には第2の実施の形態と同様、この
先頭フレーム40のデータから得られた色パレット情報
42に基づいて、先頭フレーム40に続くフレームのパ
レッタイズが行われる。これを可能とするのは、上記実
施の形態で述べたように、連続する動画像フレーム間で
それらの色分布が互いに強相関を有するからである。
In this method, first, color compression processing is performed on the data of the first frame 40. Color reduction processing when this is carried out by the same method as conventional, thereby selecting color data is RGB values of N C colors selected (palette data) in the form in which the palette index identifies it were associated with each other Is stored in the color pallet information 42.
In this method, basically, similar to the second embodiment, the palletizing of the frame subsequent to the first frame 40 is performed based on the color pallet information 42 obtained from the data of the first frame 40. This is made possible because, as described in the above embodiment, their color distributions have a strong correlation with each other between successive moving image frames.

【0055】しかし、相関があっても、フレーム間で多
少の色分布の揺らぎは生じうる。この揺らぎに対応でき
るように、パレットデータを包含しその曖昧範囲を表す
割当色データ範囲を定義する。そして、この割当色デー
タ範囲とパレットインデックスとを対応関係を格納した
パレット辞書44を設定する。図4は、パレット辞書の
形式の一例を示す模式図である。図示する例では、割当
色データ範囲は色パレット情報42と一体のテーブルと
して格納される。つまり、各パレットインデックスに、
パレットデータと割当色データ範囲とが対応付けられて
格納される。
However, even if there is a correlation, some fluctuation in color distribution may occur between frames. In order to cope with this fluctuation, an assigned color data range that includes pallet data and represents an ambiguous range is defined. Then, a palette dictionary 44 storing the correspondence between the allocated color data range and the palette index is set. FIG. 4 is a schematic diagram showing an example of the format of the palette dictionary. In the illustrated example, the assigned color data range is stored as a table integrated with the color pallet information 42. In other words, for each pallet index,
The palette data and the assigned color data range are stored in association with each other.

【0056】なお、色パレット情報42と割当色データ
範囲とを別のテーブルとして保持することも可能であ
る。その場合、パレットインデックスとパレットデータ
を格納するテーブルとパレットインデックスと割当色デ
ータ範囲を格納するテーブルとの2つが設けられる。
Note that the color pallet information 42 and the assigned color data range can be stored as separate tables. In this case, two tables are provided: a table for storing the palette index and the palette data, and a table for storing the palette index and the assigned color data range.

【0057】本実施の形態で示す割当色データ範囲は、
パレットデータの8ビットバイナリ表現の例えば上位5
ビットが同一となる数値の最大値と最小値とによってそ
れぞれ上限・下限が定義される範囲である。その範囲幅
は、下位3ビットで表現可能な数値範囲の大きさ“8”
である。
The assigned color data range shown in this embodiment is
For example, the top 5 in 8-bit binary representation of palette data
This is a range in which the upper limit and the lower limit are defined by the maximum value and the minimum value of the numerical value having the same bit. The range width is the size of the numerical range “8” that can be represented by the lower 3 bits.
It is.

【0058】パレット辞書には、この共通桁である上位
5ビットの情報が格納されれば十分である。ただし、本
処理装置では、計算機でのデータ処理の容易さを考慮し
て、割当色データ範囲の揺らぎ幅に相当する下位3ビッ
トの領域もメモリ上に確保される。つまり、割当色デー
タ範囲は、ここではR、G、Bそれぞれ5ビットのデー
タではなく、8ビットのデータとして保持される。但
し、下位3ビットは、カラーマッピング処理において無
視されるので、どのようなビットパターンが格納されて
いても構わない。よって簡単には、下位3ビットは、す
べて“0”若しくは“1”としてもよいし、割当色デー
タ範囲のデータ8ビットにパレットデータそのものを格
納してもよい。なお、無視される下位ビット数は3ビッ
トである必要はなく、許容する揺らぎ幅に応じて増減さ
れる。
It is sufficient for the palette dictionary to store the information of the upper 5 bits which are the common digits. However, in the present processing apparatus, in consideration of the easiness of data processing in the computer, an area of lower 3 bits corresponding to the fluctuation width of the allocated color data range is also secured in the memory. That is, the assigned color data range is held here as 8-bit data instead of 5-bit data for each of R, G, and B. However, since the lower three bits are ignored in the color mapping process, any bit pattern may be stored. Therefore, simply, the lower three bits may be all “0” or “1”, or the pallet data itself may be stored in eight bits of data in the allocated color data range. Note that the number of lower bits ignored is not required to be 3 bits, but is increased or decreased according to the allowable fluctuation width.

【0059】このように下位数ビットを無視するという
方法による割当色データ範囲の定義は、必ずしもその範
囲の中心にパレットデータの値が位置しない。つまりパ
レットデータ値からの距離は、割当色データ範囲の下限
までと上限までとで一般に異なる。そのため、この割当
色データ範囲は、パレットデータのフレーム間での揺ら
ぎを、先頭フレームのパレットデータを中心として上下
対象に吸収するわけではない。しかし、ここではそこま
での正確さは特に要求されず、またこのようなやり方は
計算機のデータ処理命令レベルでの操作により実現する
ことが容易であり、処理速度を格段に速くすることがで
きるメリットがある。
As described above, the definition of the assigned color data range by ignoring the lower several bits does not necessarily mean that the value of the palette data is located at the center of the range. That is, the distance from the pallet data value generally differs between the lower limit and the upper limit of the allocated color data range. Therefore, this allocated color data range does not absorb fluctuations between pallet data frames from top to bottom with respect to the pallet data of the first frame. However, the accuracy is not particularly required here, and such a method is easy to be realized by operating the computer at the data processing instruction level, and the processing speed is significantly increased. There is.

【0060】カラーマッチングは、対象画素の画素値
が、どの割当色データ範囲に属するかに基づいて行われ
る。ここで、パレットインデックスiに対応する割当色
データ範囲の上限・下限をそれぞれ記号rmH(i)、r
mL(i)で表す。mは色種別R、G、Bのいずれかであ
る。これらの記号を用いれば、カラーマッチングは、基
本的には次の(4)〜(6)式を同時に満たすパレット
インデックスiを選択することに相当する。
The color matching is performed based on which assigned color data range the pixel value of the target pixel belongs to. Here, the upper and lower limits of the assigned color data range corresponding to the palette index i are represented by symbols rmH (i) and r, respectively.
Expressed in mL (i). m is one of the color types R, G, and B. If these symbols are used, color matching basically corresponds to selecting a palette index i that simultaneously satisfies the following equations (4) to (6).

【0061】 rRL(i)≦IR≦rRH(i) ………(4) rGL(i)≦IG≦rGH(i) ………(5) rBL(i)≦IB≦rBH(i) ………(6) もし、これらの条件をすべて満たすパレットインデック
スが見つからなかった場合には、例えば誤差量(色偏
差)を最小にするような、その一例としては色偏差の二
乗和{(IR−PR(i))2+(IG−PG(i))2+(IB
B(i))2}を最小とするようなパレットインデックス
が探索され、割り当てられる。
R RL (i) ≦ I R ≦ r RH (i) (4) r GL (i) ≦ I G ≦ r GH (i)... (5) r BL (i) ≦ I B ≦ r BH (i) (6) If a palette index that satisfies all of these conditions is not found, for example, color error is minimized, for example, to minimize the error amount (color deviation). sum of squares of the deviations {(I R -P R (i )) 2 + (I G -P G (i)) 2 + (I B -
A palette index that minimizes P B (i)) 2探索 is searched for and assigned.

【0062】次に、先頭フレームの決定方法について述
べる。ある先頭フレームのデータから生成されたパレッ
ト辞書に基づいて上述のようにカラーマッチングが行わ
れる。このとき、各画素の色偏差に基づいて、次式で表
されるフレーム内色偏差εσ、最大色偏差εmaxが求め
られる。なお、(7)式の総和は、フレーム内の各画素
についての和であり、また、(8)式の右辺の“ma
x”はフレーム内での色偏差の和の最大値を採ることを
意味する。
Next, a method of determining the first frame will be described. Color matching is performed as described above based on a palette dictionary generated from data of a certain first frame. At this time, based on the color deviation of each pixel, intra-frame color deviation is represented by the following formula Ipushironshiguma, the maximum color deviation epsilon max is determined. Note that the sum of Expression (7) is the sum of each pixel in the frame, and “ma” on the right side of Expression (8).
x "means that the maximum value of the sum of the color deviations within the frame is taken.

【0063】 εσ=Σ(|IR−PR(i)|+|IG−PG(i)|+|IB−PB(i)|) ………(7) εmax=max(|IR−PR(i)|+|IG−PG(i)|+|IB−PB(i)|) ………(8) また、(7)、(8)式のそれぞれ右辺の括弧内を色偏
差の二乗和{(IR−PR(i))2+(IG−PG(i))2
(IB−PB(i))2}としてεσ、εmaxを求めてもよ
い。
[0063] εσ = Σ (| I R -P R (i) | + | I G -P G (i) | + | I B -P B (i) |) ......... (7) ε max = max (| I R -P R (i ) | + | I G -P G (i) | + | I B -P B (i) |) ......... (8) In addition, (7), (8) sum of squares of the color deviation in parentheses in each right side of {(I R -P R (i )) 2 + (I G -P G (i)) 2 +
Εσ as (I B -P B (i) ) 2}, may be determined epsilon max.

【0064】このように求められたεσは処理対象フレ
ームと先頭フレームとの全体的な画素値のずれの大小を
表す。この値が大きい場合には、当該フレームにて動画
像のシーンチェンジなどが起きた可能性が高い。一方、
εmaxは、フレーム内の局所的なずれを表す。これは例
えば、スポット光が当てられたフレームなどで大きな値
となる可能性がある。例えば、そのような場合において
は、(4)〜(6)に基づいてではなく、色偏差の二乗
和を最小とするという例外的な処理によりパレットイン
デックスが定められる画素が多いと考えられる。
The εσ thus obtained indicates the magnitude of the overall pixel value shift between the frame to be processed and the first frame. If this value is large, it is highly likely that a scene change of a moving image has occurred in the frame. on the other hand,
ε max represents a local shift within the frame. This may be a large value in, for example, a frame to which a spot light is applied. For example, in such a case, it is considered that there are many pixels for which the palette index is determined not based on (4) to (6) but by an exceptional process of minimizing the sum of squares of the color deviation.

【0065】ある先頭フレームのフレームグループに属
するものとして処理されているフレームについてこれら
εσ、εmaxが大きいことは、先頭フレームのデータに
基づいて生成された色パレット情報42を用いたカラー
マッチングの精度がそのフレームに関して不十分である
ことを推察させるものである。そこで、本方式では、ε
σ、εmaxそれぞれの許容される上限値をパラメータと
して設定し、そしてεσ、εmaxの両方がそれぞれの上
限値を超えたフレームが、新たな先頭フレームと定義し
直される。つまり、フレーム列2は、このフレームの前
のフレームまでが先行するフレームグループであり、当
該フレーム以降が新たなフレームグループとなる。この
ようにして、フレームグループはそれに含まれるフレー
ム数を動的に設定される。
[0065] For frame being processed as belonging to a frame group of the first frame with those Ipushironshiguma, epsilon it max is large, the color matching accuracy of using color palette information 42 generated based on the data of the first frame Is inadequate for that frame. Therefore, in this method, ε
sigma, sets an upper limit value epsilon max of each acceptable parameters, and Ipushironshiguma, frames both epsilon max exceeds the respective upper limit is redefined as a new first frame. That is, the frame sequence 2 is a preceding frame group up to the frame before this frame, and the subsequent frame becomes a new frame group. In this way, the number of frames included in the frame group is dynamically set.

【0066】新たに先頭フレームとされたフレームにつ
いては、そのデータを用いて上述したように色パレット
情報42、パレット辞書44を生成する処理が行われ
る。
For the frame newly set as the first frame, the process of generating the color palette information 42 and the palette dictionary 44 is performed using the data as described above.

【0067】なお、ここでは、新たな先頭フレームを決
定するのに、εσ、εmaxの両方がそれぞれの上限値を
超えることを条件としたが、代わりにεσ、εmaxのい
ずれか一方が上限値を超えるという条件を採用してもよ
い。
[0067] Here, to determine a new first frame, Ipushironshiguma, epsilon although both max is with the proviso that more than each upper limit value, instead Ipushironshiguma, either an upper limit of epsilon max A condition that the value is exceeded may be adopted.

【0068】色圧縮処理後のフレームグループの先頭フ
レームは上述したIピクチャ26であり、これには色パ
レット情報42と当該フレームのパレットインデックス
情報との両方が格納される。また、フレームグループに
属する他のフレームはPピクチャ28であり、そのフレ
ームのパレットインデックス情報のみ格納される。
The head frame of the frame group after the color compression processing is the above-described I picture 26, which stores both the color palette information 42 and the palette index information of the frame. Another frame belonging to the frame group is the P picture 28, and only the palette index information of the frame is stored.

【0069】I、Pピクチャデータは互いを区別するた
めデータ構造や情報を有する。そして再生時には、Pピ
クチャであるフレームは当該フレームが属するフレーム
グループの先頭に位置するIピクチャに格納された色パ
レット情報42を参照して、パレットインデックスから
RGB値への復元が行われる。つまり、フレームがIピ
クチャであると識別された場合には、そのフレームデー
タ中から色パレット情報42が取り出され、処理装置の
メモリ上に保持される。Iピクチャはその自身の色パレ
ット情報42に基づいて各画素のRGB値の復元が順次
行われ、それがフレームバッファに蓄積される。そし
て、1枚のフレームの処理が完了すると、フレームバッ
ファからディスプレイ装置にデータが出力され画像が表
示される。一方、再生フレームがPピクチャであると認
識された場合には、メモリ上に保持された色パレット情
報42を用いて各画素のRGB値が決定され、フレーム
バッファに蓄積される。以下、Iピクチャと同様にして
画像表示が行われる。
The I and P picture data have a data structure and information for distinguishing each other. At the time of reproduction, the P-picture frame is restored from the pallet index to an RGB value with reference to the color pallet information 42 stored in the I-picture located at the head of the frame group to which the frame belongs. That is, when the frame is identified as an I picture, the color pallet information 42 is extracted from the frame data and stored in the memory of the processing device. The I picture is sequentially restored with RGB values of each pixel based on its own color pallet information 42, and is stored in the frame buffer. When the processing of one frame is completed, data is output from the frame buffer to the display device and an image is displayed. On the other hand, when the reproduced frame is recognized as a P picture, the RGB values of each pixel are determined using the color pallet information 42 stored in the memory, and are stored in the frame buffer. Hereinafter, image display is performed in the same manner as the I picture.

【0070】以上述べた色圧縮方法によれば、従来各フ
レーム毎に行っていた減色処理をフレームグループ毎に
1回に減少することができるので、計算機の処理負荷を
軽減できるとともに、処理時間が短縮され高速化な色圧
縮処理が実現される。また、色パレット情報42は、フ
レームグループ毎に1枚生成されるIピクチャ26にし
か保持されない。これにより本方式の色圧縮によるデー
タ圧縮方法は、各フレームに色パレット情報を保持する
従来の色圧縮によるデータ圧縮方法に比べて、処理によ
り生成されたフレーム列全体のデータ量が削減され、一
層の高いデータ圧縮効率が実現される。
According to the above-described color compression method, the color reduction processing conventionally performed for each frame can be reduced to once for each frame group, so that the processing load on the computer can be reduced and the processing time can be reduced. Shortened and faster color compression processing is realized. Further, the color pallet information 42 is held only in the I picture 26 generated one for each frame group. As a result, in the data compression method using color compression of the present method, the data amount of the entire frame sequence generated by the processing is reduced as compared with the conventional data compression method using color compression in which color pallet information is held in each frame. High data compression efficiency is realized.

【0071】ちなみに、ここで説明した方式はビデオカ
メラから出力されるR、G、Bそれぞれ8ビット、合計
24ビットで出力する動画像信号に対してそのまま適用
されるものであるが、データのビット数は必要に応じて
任意に変えた形態が可能である。
Incidentally, the method described here is applied directly to a moving picture signal outputted in total of 24 bits, that is, 8 bits each of R, G and B outputted from the video camera. The number can be arbitrarily changed as needed.

【0072】なお、現在の計算機は、32ビット(=4
バイト)を1ワードという基本的な単位として取り扱っ
て処理を行うものが多い。そこで、上記24ビット、す
なわち3バイトの動画像データに例えばダミーの1バイ
トを付加してRGB値全体を1ワードとして、上述した
パレット辞書を探索して行うカラーマッチング処理を行
うこととすれば、処理を行うプログラムの実行命令数を
減少させることができ、一層の処理の高速化を図ること
ができる。例えば、VLIW(Very Long Instruction
Word )タイプのCPUを使用してRGBの24ビット
(3バイト)にダミーの1バイトを加えた1ワードでカ
ラーマッピング処理を行うことによってさらに処理の高
速化を図ることができる。
The current computer has 32 bits (= 4 bits).
Bytes) are often handled as a basic unit of one word. Therefore, if the above-described 24-bit, that is, 3-byte moving image data is added with, for example, a dummy 1 byte, and the entire RGB value is set to one word, the above-described color matching processing for searching the palette dictionary is performed. The number of execution instructions of a program for performing processing can be reduced, and the processing speed can be further increased. For example, VLIW (Very Long Instruction)
The speed of the processing can be further increased by performing a color mapping process using one word obtained by adding a dummy one byte to 24 bits (3 bytes) of RGB using a CPU of a Word) type.

【0073】[0073]

【発明の効果】本発明のカラー動画像データ圧縮方法に
よれば、フレーム列がフレームグループに区切られ、各
フレームグループ毎に1つの色パレット情報が生成され
る。そして、フレームグループに属するフレームはすべ
てその1つの色パレット情報に基づいてインデックス化
を行われる。よってカラー動画像データは、フレームグ
ループ毎にしか色パレット情報の生成を行われないの
で、処理負荷が軽減され、処理の高速化が図られるとい
う効果が得られる。
According to the color moving picture data compression method of the present invention, a frame sequence is divided into frame groups, and one piece of color pallet information is generated for each frame group. Then, all the frames belonging to the frame group are indexed based on the one color pallet information. Therefore, the color pallet information is generated only for each frame group in the color moving image data, so that the processing load is reduced and the processing speed is increased.

【0074】蓄積された動画像データに適用される本発
明のカラー動画像データ圧縮方法によれば、色圧縮処理
がフレームグループに含まれる動画像データをひとまと
まりの対象として行われる。これにより、フレームグル
ープに含まれる全フレームのデータに基づいてそれらに
共通の1つの色パレット情報が生成されるので、当該フ
レームグループ内の各フレームについて精度のよいパレ
ッタイズが行われるという効果が得られる。
According to the color moving image data compression method of the present invention applied to the stored moving image data, the color compression processing is performed on moving image data included in a frame group as a unit. Thereby, one common color pallet information is generated based on the data of all the frames included in the frame group, so that an effect that accurate palletizing is performed for each frame in the frame group is obtained. .

【0075】蓄積された動画像データに適用される本発
明のカラー動画像データ圧縮方法によれば、フレームグ
ループに含まれる複数のフレームを2次元的に配列して
得られる仮想的な1つの画像を対象として前記色圧縮が
行われる。これにより、従来1つのフレームに適用して
いた色圧縮処理を、その処理対象となる画像サイズを変
更するだけで使用することができ処理が簡単に実現でき
るという効果が得られる。画像データである配列データ
のサイズが大きくなることで、処理の効率化、高速化が
図られるという効果が得られる。
According to the color moving image data compression method of the present invention applied to the stored moving image data, one virtual image obtained by two-dimensionally arranging a plurality of frames included in a frame group Is subjected to the color compression. As a result, the effect that the color compression processing conventionally applied to one frame can be used only by changing the image size to be processed and the processing can be easily realized is obtained. By increasing the size of the array data, which is image data, it is possible to obtain an effect that processing efficiency and speed can be improved.

【0076】リアルタイムで得られる動画像データに適
用される本発明のカラー動画像データ圧縮方法によれ
ば、色圧縮が各フレームグループに含まれる先頭の前記
フレームを対象として行われる。これにより、リアルタ
イムで得られる動画像データのうち未だ得られていない
フレームの入力を待つことなく、まさに入力されたフレ
ームから順次、色圧縮処理することができる。つまり、
処理をデータの時系列的流れに従って処理できるので、
処理が簡単であるという効果が得られ、さらにこれによ
り処理を行うためにフレームの蓄積を行う必要がないの
で、処理を実行する計算機のメモリや記憶装置等のリソ
ースの所要量を抑制できるという効果も得られる。
According to the color moving image data compression method of the present invention applied to moving image data obtained in real time, color compression is performed on the first frame included in each frame group. Accordingly, the color compression processing can be sequentially performed from the frame that has just been input without waiting for the input of a frame that has not yet been obtained among the moving image data obtained in real time. That is,
Since processing can be performed according to the time-series flow of data,
The effect that processing is simple is obtained, and further, since there is no need to accumulate frames to perform processing, the required amount of resources such as the memory and storage device of the computer executing the processing can be suppressed. Is also obtained.

【0077】リアルタイムで得られる動画像データに適
用される本発明のカラー動画像データ圧縮方法によれ
ば、色パレット情報に基づいて各インデックス毎にこれ
に対応する選択色データを包含する割当色データ範囲を
定め、インデックス化は各画素の色データが包含される
割当色データ範囲を選択するステップと、選択された割
当色データ範囲に対応するインデックスにより画素の色
データを置き換えるステップとを含んで行われる。これ
により、動画像データのフレーム間での強い相関の下で
も生じるフレームデータの揺らぎに強い色圧縮処理によ
る動画像データ圧縮が実現される効果がある。
According to the color moving image data compression method of the present invention applied to moving image data obtained in real time, the assigned color data including the selected color data corresponding to each index for each index based on the color pallet information. Determining a range and indexing includes selecting an assigned color data range that includes the color data of each pixel, and replacing the pixel color data with an index corresponding to the selected assigned color data range. Will be As a result, there is an effect that the moving image data can be compressed by the color compression processing which is strong against the fluctuation of the frame data which occurs even under the strong correlation between the frames of the moving image data.

【0078】リアルタイムで得られる動画像データに適
用される本発明のカラー動画像データ圧縮方法によれ
ば、割当色データ範囲が、それに対応付けられる選択色
データと所定上位桁数が同一となる数値の最大値と最小
値とに基づいてその上限・下限を定義される。これによ
り、計算機を用いた処理が容易となり、特に実行命令数
が抑制され処理速度が向上する効果が得られる。
According to the color moving image data compression method of the present invention applied to moving image data obtained in real time, the assigned color data range is a numerical value whose predetermined upper digit number is the same as the selected color data associated therewith. The upper and lower limits are defined based on the maximum and minimum values of. As a result, processing using a computer is facilitated, and in particular, the effect of suppressing the number of executed instructions and improving the processing speed is obtained.

【0079】本発明に係るカラー動画像データ圧縮方法
によれば、各フレームグループの色パレット情報がフレ
ームグループに含まれる1つのフレームに対応したフレ
ームデータのみに内蔵される。これにより、圧縮された
カラー動画像データは、フレームグループ毎に1つしか
色パレット情報を有さないので、データ圧縮率が向上す
るという効果が得られる。
According to the color moving picture data compression method of the present invention, the color pallet information of each frame group is included only in the frame data corresponding to one frame included in the frame group. Thus, since the compressed color moving image data has only one color pallet information for each frame group, the effect of improving the data compression ratio is obtained.

【0080】本発明に係るカラー動画像データ圧縮方法
によれば、各フレームグループの色パレット情報がフレ
ームグループに含まれる先頭のフレームに対応したフレ
ームデータに内蔵される。これにより、生成された圧縮
動画像データをその先頭からリアルタイムで再生するこ
とができる。つまり、処理をデータの時系列的流れに従
って処理できるので、処理が簡単であるという効果が得
られ、さらにこれによりデータを蓄積する必要が生じな
いので、処理を実行する計算機のメモリや記憶装置等の
リソースの所要量を抑制できるという効果も得られる。
According to the color moving picture data compression method of the present invention, the color pallet information of each frame group is incorporated in the frame data corresponding to the first frame included in the frame group. As a result, the generated compressed moving image data can be reproduced in real time from the beginning. In other words, since the processing can be performed in accordance with the time-series flow of the data, the effect that the processing is simple is obtained. Further, since there is no need to accumulate the data, the memory or the storage device of the computer that executes the processing can be obtained. Also, the effect that the required amount of resources can be suppressed can be obtained.

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

【図1】 蓄積されたカラー動画像データに適用される
本発明の第1の実施の形態である色圧縮の方法を説明す
るための模式図である。
FIG. 1 is a schematic diagram for explaining a color compression method according to a first embodiment of the present invention applied to accumulated color moving image data.

【図2】 本発明の第2の実施の形態であって、リアル
タイムで得られるカラー動画像データに適用される色圧
縮の方法を説明するための模式図である。
FIG. 2 is a schematic diagram for explaining a color compression method applied to color moving image data obtained in real time according to a second embodiment of the present invention.

【図3】 本発明の第3の実施の形態であって、リアル
タイムで得られるカラー動画像データに適用されるもう
一つの色圧縮の方法を説明するための模式図である。
FIG. 3 is a schematic diagram for explaining another color compression method applied to color moving image data obtained in real time according to a third embodiment of the present invention.

【図4】 パレット辞書の形式の一例を示す模式図であ
る。
FIG. 4 is a schematic diagram showing an example of a format of a palette dictionary.

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

2 フレーム列、4,6 画像、8,24,42 色パ
レット情報、3,10,20,30 フレームグルー
プ、22 先頭フレームデータ、26 Iピクチャ、2
8 Pピクチャ、40 先頭フレーム、44 パレット
辞書。
2 frame sequence, 4,6 images, 8, 24, 42 color palette information, 3, 10, 20, 30 frame groups, 22 first frame data, 26 I pictures, 2
8P picture, 40 first frame, 44 palette dictionary.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 カラーの原動画像データに対し色数を限
定する色圧縮を行いデータ圧縮された圧縮動画像データ
を生成する方法であって、前記圧縮動画像データは、色
圧縮により選択された色を表す選択色データと当該選択
色データを区別するインデックスとの対応関係を定義す
る色パレット情報を含み、各画素の色データを前記イン
デックスで置き換えるインデックス化によりデータ量を
圧縮されるカラー動画像データ圧縮方法において、 原動画像を構成するフレームの列を複数のフレームグル
ープに区切り、 所定の前記色圧縮の手続に基づいて、前記各フレームグ
ループ毎に1つの前記色パレット情報を生成し、 前記各フレームグループに含まれる前記各フレームは、
当該フレームグループに対応する前記色パレット情報に
基づいて前記インデックス化を行われること、 を特徴とするカラー動画像データ圧縮方法。
1. A method of generating color-compressed moving image data by performing color compression for limiting the number of colors on color moving image data, wherein the compressed moving image data is selected by color compression. A color moving image that includes color pallet information that defines the correspondence between selected color data representing a color and an index that distinguishes the selected color data, and that compresses the data amount by indexing that replaces the color data of each pixel with the index. In the data compression method, a column of frames constituting a moving image is divided into a plurality of frame groups, and one color palette information is generated for each frame group based on a predetermined color compression procedure. Each of the frames included in the frame group,
The method according to claim 1, wherein the indexing is performed based on the color pallet information corresponding to the frame group.
【請求項2】 蓄積された前記原動画像データに適用さ
れる請求項1記載のカラー動画像データ圧縮方法におい
て、 前記色圧縮は、前記各フレームグループに含まれる前記
原動画像データをひとまとまりの対象として行われ、当
該フレームグループに対応する前記色パレット情報が生
成されることを特徴とするカラー動画像データ圧縮方
法。
2. The color moving image data compression method according to claim 1, wherein the moving image data compression method is applied to the stored moving image data. Wherein the color pallet information corresponding to the frame group is generated.
【請求項3】 前記フレームグループに含まれる複数の
前記フレームを2次元的に配列して得られる仮想的な1
つの画像を対象として前記色圧縮が行われ、当該フレー
ムグループに対応する前記色パレット情報が生成される
ことを特徴とする請求項2記載のカラー動画像データ圧
縮方法。
3. A virtual one obtained by two-dimensionally arranging a plurality of frames included in the frame group.
3. The color moving image data compression method according to claim 2, wherein the color compression is performed on one image, and the color pallet information corresponding to the frame group is generated.
【請求項4】 リアルタイムで得られる前記原動画像デ
ータに適用される請求項1記載のカラー動画像データ圧
縮方法において、 前記色圧縮は、前記各フレームグループに含まれる先頭
の前記フレームを対象として行われ、当該フレームグル
ープに対応する前記色パレット情報が生成されることを
特徴とするカラー動画像データ圧縮方法。
4. The color moving image data compression method according to claim 1, wherein the color compression is performed on the first frame included in each of the frame groups. A color moving image data compression method, wherein the color pallet information corresponding to the frame group is generated.
【請求項5】 前記色パレット情報に基づいて、前記各
インデックス毎にこれに対応する前記選択色データを包
含する割当色データ範囲を定め、 前記インデックス化は、 前記各画素の色データが包含される前記割当色データ範
囲を選択するステップと、 選択された当該割当色データ範囲に対応する前記インデ
ックスにより、当該画素の色データを置き換えるステッ
プと、 を含んで行われることを特徴とする請求項4記載のカラ
ー動画像データ圧縮方法。
5. An assigned color data range including the selected color data corresponding to each index is determined based on the color palette information, and the indexing includes color data of each pixel. 5. The method according to claim 4, further comprising: selecting the assigned color data range, and replacing the color data of the pixel with the index corresponding to the selected assigned color data range. The color moving image data compression method described in the above.
【請求項6】 前記割当色データ範囲は、前記インデッ
クスを介して当該割当色データ範囲に対応付けられる前
記選択色データと所定上位桁数が同一となる数値の最大
値と最小値とに基づいてその上限・下限が定義される範
囲であること、 を特徴とする請求項5記載のカラー動画像データ圧縮方
法。
6. The allocation color data range is based on a maximum value and a minimum value of numerical values having the same predetermined number of upper digits as the selected color data associated with the allocation color data range via the index. 6. The color moving image data compression method according to claim 5, wherein the upper and lower limits are within a defined range.
【請求項7】 前記各フレームグループの前記色パレッ
ト情報は、当該フレームグループに含まれる1つの前記
フレームに対応したフレームデータのみに内蔵されるこ
とを特徴とする請求項1から請求項3までのいずれかに
記載のカラー動画像データ圧縮方法。
7. The apparatus according to claim 1, wherein the color pallet information of each of the frame groups is included only in frame data corresponding to one of the frames included in the frame group. The color moving image data compression method according to any one of the above.
【請求項8】 前記各フレームグループの前記色パレッ
ト情報は、当該フレームグループに含まれる先頭の前記
フレームに対応した前記フレームデータに内蔵されるこ
とを特徴とする請求項1から請求項6までのいずれかに
記載のカラー動画像データ圧縮方法。
8. The apparatus according to claim 1, wherein the color pallet information of each frame group is included in the frame data corresponding to the first frame included in the frame group. The color moving image data compression method according to any one of the above.
JP9192871A 1997-07-17 1997-07-17 Color moving image data compression method Pending JPH1141625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9192871A JPH1141625A (en) 1997-07-17 1997-07-17 Color moving image data compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9192871A JPH1141625A (en) 1997-07-17 1997-07-17 Color moving image data compression method

Publications (1)

Publication Number Publication Date
JPH1141625A true JPH1141625A (en) 1999-02-12

Family

ID=16298368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9192871A Pending JPH1141625A (en) 1997-07-17 1997-07-17 Color moving image data compression method

Country Status (1)

Country Link
JP (1) JPH1141625A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480196A2 (en) * 2003-05-19 2004-11-24 Fuji Photo Film Co., Ltd. Apparatus and method for moving image conversion, apparatus and method for moving image transmission, and programs therefor
EP2009901A1 (en) * 2007-06-27 2008-12-31 Thomson Licensing Method of transmission of a video sequence of images that have to be color transformed using LUT
JP2013115784A (en) * 2011-11-30 2013-06-10 Fujitsu Ltd Information processing device, image transmission method, and image transmission program
KR20160049620A (en) * 2014-10-27 2016-05-10 주식회사 큐램 System and method for image processing and restoring

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480196A2 (en) * 2003-05-19 2004-11-24 Fuji Photo Film Co., Ltd. Apparatus and method for moving image conversion, apparatus and method for moving image transmission, and programs therefor
EP1480196A3 (en) * 2003-05-19 2008-04-30 FUJIFILM Corporation Apparatus and method for moving image conversion, apparatus and method for moving image transmission, and programs therefor
EP2009901A1 (en) * 2007-06-27 2008-12-31 Thomson Licensing Method of transmission of a video sequence of images that have to be color transformed using LUT
WO2009000780A1 (en) * 2007-06-27 2008-12-31 Thomson Licensing Method of transmission of a video sequence of images that have to be color transformed using lut
JP2010531597A (en) * 2007-06-27 2010-09-24 トムソン ライセンシング Method of transmitting video sequence of image to be color converted using LUT
US8400465B2 (en) 2007-06-27 2013-03-19 Thomson Licensing Method of transmission of a video sequence of images that have to be color transformed using LUT
JP2013115784A (en) * 2011-11-30 2013-06-10 Fujitsu Ltd Information processing device, image transmission method, and image transmission program
KR20160049620A (en) * 2014-10-27 2016-05-10 주식회사 큐램 System and method for image processing and restoring

Similar Documents

Publication Publication Date Title
EP0235456B1 (en) Image processing apparatus and method with blocks of compressed data
US20160330455A1 (en) Method device for image compression, having enhanced matching of fixed-width variable-length pixel samples strings
US6519365B2 (en) Encoder, decoder, recording medium, encoding method, and decoding method
CN104754362B (en) Image compression method using fine-divided block matching
US6269183B1 (en) Image processing device and still image pickup device, and method for processing image
JPH05328142A (en) Picture data compression method and picture display device
JP2647033B2 (en) Lookup table creation method and lookup table creation device
US11677932B2 (en) Image processing device
EP0602704A2 (en) Method of encoding a location of changes in a sequence of video images
JPH1141625A (en) Color moving image data compression method
CN112118449B (en) Method and device for compressing and decompressing image
CN105992003A (en) Method and device for image compression of palette color number based on order or frequency
US5898794A (en) Image compression method and image processing system
JP3524007B2 (en) Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus
JP2791410B2 (en) Compressed image data extraction device
JPH11296672A (en) Image color information extraction method
JP4034385B2 (en) Multi-color image encoding apparatus and method, and multi-color image decoding apparatus and method
JPH0721346A (en) Limited color display procession method in image processing
CN105828079B (en) Image processing method and device
JP3861592B2 (en) Image color reduction processing apparatus and image color reduction processing method
JP2630282B2 (en) Digital video playback device
JPH079671B2 (en) Color image converter
JPH1032719A (en) Picture compression method and device therefor
JP4971880B2 (en) Image encoding apparatus, image decoding apparatus, and control method thereof
JP2004222142A (en) Method for compressing and decoding video signal