JP2882986B2 - Image conversion system - Google Patents

Image conversion system

Info

Publication number
JP2882986B2
JP2882986B2 JP5326388A JP32638893A JP2882986B2 JP 2882986 B2 JP2882986 B2 JP 2882986B2 JP 5326388 A JP5326388 A JP 5326388A JP 32638893 A JP32638893 A JP 32638893A JP 2882986 B2 JP2882986 B2 JP 2882986B2
Authority
JP
Japan
Prior art keywords
image
data
color
conversion system
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5326388A
Other languages
Japanese (ja)
Other versions
JPH07182481A (en
Inventor
裕明 上田
祐史 丹羽
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.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP5326388A priority Critical patent/JP2882986B2/en
Publication of JPH07182481A publication Critical patent/JPH07182481A/en
Application granted granted Critical
Publication of JP2882986B2 publication Critical patent/JP2882986B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,1600万色以上色数
を必要とする自然画像などの表示を表示色数を限定され
た画像表示装置を用いて画像処理を行うシステムにおい
て,入力多値画像の自然性を損なうことなしに表示する
ために用いられる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-value input system in which a display of a natural image requiring more than 16 million colors is processed using an image display device having a limited number of display colors. It is used for displaying without deteriorating the naturalness of the image.

【0002】またマルチメディア技術の普及に伴い自然
動画像の圧縮蓄積や圧縮伝送が盛んに行われている。本
発明はこれらの画像圧縮伸張技術を有するシステム内に
あって,自然画像など多くの色数から任意の数色を選ん
で番号を付けたテーブル上に色データを用意し,伸張さ
れた動画像を番号を並べることにより表示する場合にお
いて利用される。
[0002] With the spread of multimedia technology, compression storage and transmission of natural moving images are actively performed. The present invention resides in a system having these image compression / decompression techniques, and prepares color data on a numbered table by selecting an arbitrary number of colors from a large number of colors, such as a natural image. This is used when displaying numbers by arranging them.

【0003】[0003]

【従来の技術】従来,動画像の圧縮方法が数多く提案さ
れている。これらの方法を用いて伸張された画像データ
は一つの色を表現するために多くの情報量を必要とす
る。たとえば輝度信号と色差信号で自然な一色を表わす
と24ビット(bit)もの情報量が必要である。この
ように従来多くのデータを必要とする色によって構成さ
れる画像を,比較的安価な表示装置を用いて再現するた
めに限定色表示がある。この限定色表示は,多くの色に
よって構成された画像の中から複数の代表色を選択し,
選択した代表色で画像を再構成するものである。たとえ
ば,1677万色から与えられた画像データの指定され
た強調領域について優先的に限定色を抽出し,強調領域
外へ割当てられた残りの色数との割合をくり返し考慮し
ながら全体の256色を抽出して表示する方法がこの限
定色表示の一例(特開平2−146685,以下従来技
術1と呼ぶ)である。
2. Description of the Related Art Heretofore, many moving image compression methods have been proposed. Image data expanded using these methods requires a large amount of information to represent one color. For example, if one natural color is represented by a luminance signal and a color difference signal, an information amount of 24 bits is required. As described above, there is a limited color display in order to reproduce an image composed of colors requiring a large amount of data using a relatively inexpensive display device. This limited color display selects multiple representative colors from an image composed of many colors,
The image is reconstructed with the selected representative color. For example, a limited color is preferentially extracted from a designated emphasized area of image data given from 16.770,000 colors, and the total 256 colors are repeatedly considered while taking into account the ratio with the number of remaining colors assigned outside the emphasized area. Is an example of this limited color display (Japanese Unexamined Patent Application Publication No. 2-168685, hereinafter referred to as Conventional Technique 1).

【0004】[0004]

【発明が解決しようとする課題】上述した方法を用いて
再構成された画像を表示するための処理手順は,再構成
された伸張アルゴリズムに依存する色空間の信号を表示
装置に依存する色空間の信号値に変換し,さらにそこか
ら,従来技術1に示された方法を用いて候補色を決定し
なければならない。これは色空間の変換にかかる演算量
が多く,処理能力の低いプロセッサで処理する際に大き
な負荷となる。
A processing procedure for displaying an image reconstructed by using the above-described method is to convert a signal in a color space dependent on a reconstructed decompression algorithm into a color space dependent on a display device. , And from there, a candidate color must be determined using the method described in Prior Art 1. This requires a large amount of calculation for converting the color space, and causes a heavy load when processing is performed by a processor having a low processing capacity.

【0005】また,演算量を減らすことを目的として,
圧縮する前の画像に対し,従来技術を用いて最適な代表
色を割当てておき,その代表色を指す番号で連続した番
号の色の相関性を利用して冗長度を取り除き圧縮する方
法もあるが,この方法は並んだエントリ同士の関連が小
さく一般に有効な圧縮効率が得られていない。
In order to reduce the amount of calculation,
There is also a method in which an optimum representative color is assigned to an image before compression using a conventional technique, and redundancy is removed by using the correlation between consecutive numbers of numbers indicating the representative color to remove redundancy. However, in this method, the relationship between the arranged entries is small, and generally no effective compression efficiency is obtained.

【0006】そこで,本発明の一技術的課題は,多くの
画素を有する画像データの変換処理時間を短くすること
ができる画像変換システムを提供することにある。
It is an object of the present invention to provide an image conversion system capable of shortening the conversion processing time of image data having many pixels.

【0007】さらに,本発明の他の技術的課題は,色再
現性の高い画像への変換が可能である画像変換システム
を提供することにある。
Another object of the present invention is to provide an image conversion system capable of converting an image with high color reproducibility.

【0008】[0008]

【課題を解決するための手段】本発明によれば、画像入
力装置及び画像出力装置に接続され、前記画像出力装置
に依存して限定された複数の色をそれぞれ表す複数の色
情報をもつ第1のテーブルを含み、前記画像入力装置か
ら入力された画像入力データを前記色情報を用いて画像
出力データに変換し、前記画像出力装置に出力する画像
変換システムにおいて、前記第1のテーブル中の複数の
色情報をそれぞれ指し示す複数の情報番号をもつ第2の
テーブルと、前記第2のテーブルを参照し、前記画像入
力装置からの画像入力データを前記情報番号で構成され
た画像中間データに変換する第1の変換手段と、前記第
1のテーブルを参照し、前記画像中間データを前記画像
出力データに変換する第2の変換手段と、前記画像入力
データを用いて前記第1のテーブルを作成する第1テー
ブル作成手段と、前記第1のテーブルから前記第2のテ
ーブルを作成する第2テーブル作成手段とを含むことを
特徴とする画像変換システムが得られる。
According to the present invention, a plurality of color information which are connected to an image input device and an image output device and have a plurality of color information respectively representing a plurality of colors limited depending on the image output device are provided. An image conversion system for converting image input data input from the image input device into image output data using the color information, and outputting the converted image output data to the image output device. A second table having a plurality of information numbers respectively indicating a plurality of color information; and referring to the second table, converting image input data from the image input device into image intermediate data composed of the information numbers. first conversion means for, by referring to the first table, a second conversion means for converting the image intermediate data to the image output data, the image input
A first table for creating the first table using data;
Table creation means, and the second table from the first table.
And a second table creating means for creating a table.
A featured image conversion system is obtained.

【0009】本発明によれば,前記画像変換システムに
おいて,前記第1の変換手段は,前記画像入力データを
圧縮した後に,所定伸張アルゴリズムにしたがって伸張
させて伸張アルゴリズムに依存した色空間に従った形式
の画像処理データを生成するデータ処理手段と,前記第
2のテーブルを参照して前記画像処理データを前記画像
中間データに変換する手段とを含むことを特徴とする画
像変換システムが得られる。
According to the present invention, in the image conversion system, the first conversion means compresses the image input data, expands the image input data according to a predetermined expansion algorithm, and complies with a color space dependent on the expansion algorithm. An image conversion system is provided, comprising: data processing means for generating image processing data in a format; and means for converting the image processing data to the image intermediate data with reference to the second table.

【0010】本発明によれば,前記画像変換システムに
おいて,動画像を再生する場合,前記画像入力データ中
の対象フレーム中の色情報と,前記第1のテーブル中の
色情報とを比較して,前記第1のテーブルの適否を判断
する判断手段を有することを特徴とする画像変換システ
ムが得られる。
According to the present invention, when reproducing a moving image in the image conversion system, the color information in the target frame in the image input data is compared with the color information in the first table. , An image conversion system having a determination unit for determining whether the first table is appropriate.

【0011】[0011]

【0012】即ち,本発明においては,画像入力装置に
より与えられる色空間座標(これを色空間Aとする)で
表わされた画像データを使用し,表示装置に依存した色
空間座標(これを色空間Bとする)で限定色表示をする
手段として,既に選択された候補色の色空間Bでの色情
報を備えた第1のテーブル中の任意の一色分の情報を,
色空間Aデータを用いて直接参照できるような多次元の
第2のテーブルを使用するものである。
That is, in the present invention, the image data represented by the color space coordinates given by the image input device (this is referred to as color space A) is used, and the color space coordinates (which are As a means for displaying a limited color in the color space B), information of any one color in the first table including the color information in the color space B of the already selected candidate color is
A multidimensional second table that can be directly referred to using the color space A data is used.

【0013】また,本発明においては,一連の動画像デ
ータが入力された場合,1フレーム目の画像データから
最適な候補色を備えた第1のテーブルとその第1のテー
ブル中の任意の一色を指す番号を備えた第2のテーブル
を作成し,この第2のテーブルを参照し1フレーム目以
降の伸張データから候補色データを指す番号へ変換し表
示を行う。また,本発明においては,入力される画像が
動画像データである場合において処理対象フレームが次
のフレームに移り,先に作成した候補色の色情報を備え
た第1のテーブルが任意のフレームでの色再現が最適で
なくなった時点で,自動的に第1のテーブルと第2のテ
ーブルを作成し更新する。更に,本発明においては,第
1のテーブルは,互いに独立したデジタル画像信号が入
力されたとき,このデータを基に多次元テーブルを作成
し,既に選択されている候補色の色情報を備えた第1の
テーブルから入力信号の取りうる値の全ての組合わせに
対応する色を探し出しその色の番号を格納する。この選
択された候補色の色情報の第1のテーブルとその第1の
テーブル中の任意の一色を指す番号の第2のテーブルの
二つのテーブルは一連の符号化された画像データの前に
配置し記憶する。また,第1および第2のテーブルが更
新された場合は更新されたときの圧縮符号の前に置く。
第1及び第2のテーブルの更新を行うための判断はフレ
ーム毎に行う。現在使用されている第1のテーブルを,
対象のフレームで使われている全画素の色毎の総数と比
べたとき,フレーム中に多く使われている色がこの第1
のテーブル内にかなった場合などに,この第1のテーブ
ルの一部または全部を新しく作成する。
In the present invention, when a series of moving image data is input, a first table having an optimum candidate color from the image data of the first frame and an arbitrary one color in the first table are provided. A second table having a number indicating the candidate color data is created by referring to the second table, and the display is performed by converting the expanded data of the first and subsequent frames into a number indicating the candidate color data. Further, in the present invention, when the input image is moving image data, the frame to be processed is shifted to the next frame, and the first table provided with the color information of the previously created candidate color is an arbitrary frame. When the color reproduction is not optimal, the first table and the second table are automatically created and updated. Furthermore, Oite this onset Ming, the first table, when the input digital image signals independent of each other, creating a multi-dimensional table based on the data already color information of the candidate colors are selected Are searched for colors corresponding to all combinations of possible values of the input signal from the first table provided with the numbers, and the numbers of the colors are stored. Two tables, a first table of color information of the selected candidate color and a second table of a number indicating an arbitrary color in the first table, are arranged before a series of encoded image data. And memorize. When the first and second tables are updated, they are placed before the compression code at the time of updating.
The determination for updating the first and second tables is made for each frame. The first table currently used is
When compared with the total number of all pixels used in the target frame for each color, the color used most in the frame is the first color.
In this case, a part or all of the first table is newly created.

【0014】[0014]

【作用】本発明においては,入力画像の各画素において
色空間Aから色空間Bへの座標変換と候補色への割当て
を同時にテーブル参照方法で行うため,変換を必要とす
る画素が多いほど画素当たりの処理時間が短くなる。
In the present invention, coordinate conversion from the color space A to the color space B and assignment to candidate colors are simultaneously performed in each pixel of the input image by a table reference method. The processing time per hit is reduced.

【0015】また,本発明においては,入力された画像
毎に候補色を選出するため,入力画像に適応最適化され
た候補色を使用し色再現性の高い画像への変換が可能で
ある。
Further, in the present invention, since a candidate color is selected for each input image, it is possible to convert the input image into an image having high color reproducibility by using the candidate color adaptively optimized for the input image.

【0016】さらに,本発明においては,入力信号の取
りうる値の全ての組合わせに対応してテーブル作成して
いるため,一度作成した変換テーブル(第2のテーブ
ル)が未知の入力画素に全て対応でき,動画像などの入
力に対してフレーム毎のテーブル設定を必要とせず,変
換を必要とする画素が多いほど画素当たりの処理時間が
短くなる。また使用しているテーブルが最適でない場合
自動判定し一部または全部のテーブル更新を行うため,
色再現性を常に最適に保ち画質を落とさないようにでき
る。
Further, in the present invention, since a table is created corresponding to all combinations of possible values of the input signal, the conversion table (second table) created once is used for all unknown input pixels. It does not require a table setting for each frame for input of moving images and the like, and the processing time per pixel becomes shorter as the number of pixels requiring conversion increases. Also, if the table used is not optimal, it is automatically determined and some or all of the tables are updated.
The color reproducibility can always be kept optimal so that the image quality does not deteriorate.

【0017】[0017]

【実施例】以下,本発明の実施例について図1〜5を参
照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0018】図1は本発明の実施例に係る画像変換シス
テムの全体構成図を示し,同時にデータの流れを示して
いる。図1において,画像変換システム1は,画像入力
装置2及び画像出力装置3に接続され,画像入力装置2
からの画像入力データ16を第1の変換手段として圧縮
/記録側処理部4において画像圧縮伸張処理を含めた画
像変換を行い,圧縮された符号データ14と画像変換に
必要なテーブル12をファイルを画像中間入力データ1
7として圧縮ファイル5に記録でき,また,第2の変換
手段として伸張表示側処理部6において,圧縮ファイル
5に記録されたファイルを画像中間出力データ18とし
て読み出して再び画像伸張し画像変換を行う。
FIG. 1 shows an overall configuration diagram of an image conversion system according to an embodiment of the present invention, and also shows a data flow. In FIG. 1, an image conversion system 1 is connected to an image input device 2 and an image output device 3,
The compression / recording-side processing unit 4 performs image conversion including image compression / decompression processing using the image input data 16 as the first conversion means, and stores the compressed code data 14 and the table 12 necessary for image conversion as a file. Image intermediate input data 1
7, the file recorded in the compressed file 5 is read out as image intermediate output data 18 in the decompression display side processing unit 6 as a second conversion means, and the image is decompressed again to perform image conversion. .

【0019】この圧縮/記録側処理部4は,データ処理
手段として画像入力装置2から入力された画像データを
圧縮する画像圧縮手段7と,限定色選択手段9と,変換
テーブル(YCENT)作成手段10とを備え,また,
画像圧縮手段7と,限定色選択手段9と,変換テーブル
(YCENT)作成手段10とからのデータを画像中間
出力データ17に変換する圧縮ファイル作成手段8とを
備えている。限定色選択手段9は,画像入力データ15
に基づいて第1のテーブルとして色情報テーブル(CL
UT)12を作成するとともに,画像入力データ15中
の対象フレーム中の色情報とこのCLUT12とを比較
して,作成したテーブルの適否を判断する。YCENT
作成手段10は,第2のテーブルとして,CLUT12
に基づいてYCENT13を作成する。画像圧縮手段7
は,画像入力データ15からnフレームからなる圧縮符
号データ14を作成する。圧縮ファイル作成手段8は,
圧縮符号データ14と,CLUT12と,YCENT1
3とに基づいて画像中間出力データ17を圧縮ファイル
5に記録する。
The compression / recording-side processing section 4 includes, as data processing means, an image compression means 7 for compressing image data input from the image input device 2, a limited color selection means 9, and a conversion table (YCENT) creation means. 10 and
The image processing apparatus includes a compressed file creating unit 8 that converts data from the image compressing unit 7, the limited color selecting unit 9, and the conversion table (YCENT) creating unit 10 into image intermediate output data 17. The limited color selection means 9 is used to input the image input data 15
Based on the color information table (CL)
UT) 12 and compare the color information in the target frame in the image input data 15 with the CLUT 12 to judge the suitability of the created table. YCENT
The creating means 10 includes a CLUT 12 as a second table.
YCENT 13 is created based on Image compression means 7
Creates compressed code data 14 composed of n frames from image input data 15. The compressed file creation means 8
Compressed code data 14, CLUT 12, YCENT1
3 to record the intermediate image output data 17 in the compressed file 5.

【0020】また,伸張/表示側処理部6は,画像伸張
手段11を備えている。画像伸張手段11は,圧縮ファ
イル5の画像中間出力データ18からnフレームからな
る伸張画像データ15を作成し,この伸張画像データ1
5は,CLUT12及びYCENT13と参照されて,
画像出力データ19となる。
The decompression / display-side processing section 6 has an image decompression means 11. The image decompression means 11 creates decompressed image data 15 consisting of n frames from the image intermediate output data 18 of the compressed file 5 and generates the decompressed image data 1
5 is referred to as CLUT12 and YCENT13,
This becomes image output data 19.

【0021】図2(a)は本発明の実施例に係る画像変
換システムの要部の一例を示す図である。図2(a)を
も参照して,画像変換システム1は,CPU21と,画
像入力データ2と,画像出力装置3と,ファイル入力部
22と,ファイル出力部23と,メモリ部24とを備え
ている。CPU21は,画像入力データ16と,画像出
力データ15と,ファイル入力部22と,ファイル出力
部23と,メモリ部24とを夫々制御する。
FIG. 2A is a diagram showing an example of a main part of the image conversion system according to the embodiment of the present invention. Referring also to FIG. 2A, the image conversion system 1 includes a CPU 21, image input data 2, an image output device 3, a file input unit 22, a file output unit 23, and a memory unit 24. ing. The CPU 21 controls the image input data 16, the image output data 15, the file input unit 22, the file output unit 23, and the memory unit 24, respectively.

【0022】CPU21は,画像圧縮時には,画像入力
装置2から入力された画像入力データ16をメモリ24
に蓄えるとともに,この画像入力データ16をもとに画
像圧縮を行う画像圧縮手段7を構成する。また,必要で
あれば,CPU21は,限定された色数に合わせて画像
全体の色を代表する限定色を選び出す限定色選出手段2
2と,変換テーブル作成を行う変換テーブル(YCEN
T)作成手段23とを構成する。ここで,画像出力デー
タ15に対して選び出された候補色の色情報のテーブル
(CLUT)12の内の任意の一色を指す番号のテーブ
ルを変換テーブル(YCENT)13である。
At the time of image compression, the CPU 21 stores the image input data 16 input from the image input device 2 in the memory 24.
And image compression means 7 for performing image compression based on the image input data 16. If necessary, the CPU 21 selects a limited color selection unit 2 that selects a limited color representing the color of the entire image according to the limited number of colors.
2 and a conversion table (YCEN
T) Forming means 23. Here, a conversion table (YCENT) 13 is a table of numbers indicating any one of the color information tables (CLUT) 12 of the candidate colors selected for the image output data 15.

【0023】また,CPU21は,圧縮時の処理で作り
出された画像符号データ14とCLUT12,及びYC
ENT13を用いて圧縮ファイル5の画像中間データの
記録作成を行う圧縮ファイル作成手段8を構成する。こ
の圧縮ファイル5の出力はCPU21の指示を受けてフ
ァイル出力部23が行う。
The CPU 21 also stores the image code data 14, the CLUT 12, and the YC
A compressed file creating means 8 for recording and creating image intermediate data of the compressed file 5 using the ENT 13 is configured. The output of the compressed file 5 is performed by the file output unit 23 in response to an instruction from the CPU 21.

【0024】CPU21は,画像伸張時には,ファイル
入力部12によって読み込まれた圧縮ファイル5からの
CLUT12とYCENT13とをメモリ24上に展開
する
The CPU21, at the time of image expansion, expand and CLUT12 and YCENT13 from the compressed file 5 read by the file input unit 12 in the memory 24
I do .

【0025】また,CPU21は,ファイル出力部から
の画像中間データ18の画像伸張を行い,nフレームの
伸張画像データ15を作成する画像伸長手段11を構成
する。この伸張画像データ15は,CLUT12とYC
ENT13とを参照し任意の表示装置に対して出力可能
なデータ形式にされ,例えば,カラーCRTからなる画
像出力装置2により画像の出力が行われる。
The CPU 21 composes the image decompression means 11 for decompressing the image intermediate data 18 from the file output section and generating the decompressed image data 15 of n frames. The expanded image data 15 is stored in the CLUT 12 and the YC
The data is converted into a data format that can be output to an arbitrary display device with reference to the ENT 13, and an image is output by the image output device 2 including, for example, a color CRT.

【0026】ここで,CPU21が動作するために必要
なプログラムと作業領域はメモリ24上に存在する。ま
た,画像入力データ16および画像出力データ3には,
各々の動作に必要な動作手順は画像入力データ16およ
び画像出力データ3の内部にあり,CPU11は動作指
示を出すだけでメモリ24上に画像入力データを書込
み,出力時には読み出しを行う。
Here, programs and work areas necessary for the operation of the CPU 21 exist on the memory 24. The image input data 16 and the image output data 3 include
The operation procedure necessary for each operation is in the image input data 16 and the image output data 3, and the CPU 11 writes the image input data on the memory 24 only by issuing an operation instruction, and reads out the image input data when outputting.

【0027】図2(b)は図2(a)の画像変換システ
ムの変形例を示す図であり,画像圧縮と画像伸張の処理
を行う画像圧縮手段7と画像伸張手段11とをCPU2
1以外に有し,これらの手段はCPU21の動作指示に
よりメモリ部24から必要なデータを読み出し,画像圧
縮や画像伸張などのそれぞれの処理を施した後,再びメ
モリ24に書込みを行う。
FIG. 2B is a diagram showing a modification of the image conversion system shown in FIG. 2A. The image compression means 7 and the image expansion means 11 for performing image compression and image expansion processing are provided by the CPU 2.
These means read out necessary data from the memory unit 24 in accordance with an operation instruction of the CPU 21, perform respective processes such as image compression and image decompression, and then write the data into the memory 24 again.

【0028】次に,画像変換システム1の画像圧縮手段
7,限定色選出手段9の動作について動画像の1フレー
ム目の処理を例に説明し,更に,変換テーブル作成手段
10の動作について詳しく説明する。
Next, the operation of the image compression means 7 and the limited color selection means 9 of the image conversion system 1 will be described by taking the processing of the first frame of the moving image as an example, and further, the operation of the conversion table creation means 10 will be described in detail. I do.

【0029】図3(a)は本発明の実施例に係る画像変
換システムの圧縮処理時における動作を流れ図をもって
示したものである。図3(a)を参照して,画像データ
の圧縮処理が開始され(S1),色情報のテーブル(C
LUT)作成が必要か否かが判断される(CLUT作成
判定段階,S2)。CLUT作成フレームであった場合
に,次の段階に移動する。次のCLUT作成段階(S
3)は多色画像の限定された色数での表示を行う場合に
使用される代表色の値を格納したテーブルを指し,一般
的によく使われるCLUTとしては,RGB24ビット
の色情報を用いる画像を再現するために代表的な256
色を選び出して形成されている。この256色の色情報
を選びだす方法は現在多くの手段が提案されている。こ
のCLUT作成段階(S3)では,適当な方法によって
対象とする画像に固有な代表色を256色選び出し,図
4で示すようなRGBそれぞれの値を記したCLUT1
2を作り出す処理を行う。作成後,次の画像圧縮処理段
階に移動する。この画像圧縮処理段階(S5)におい
て,これまで数多くの圧縮アルゴリズムや手段が考案さ
れており,このシステムはその中のどの圧縮方法をも用
いることができるが,入力データ形式の例として入力さ
れる画像データはY/Cr/Cb形式で説明する。
FIG. 3A is a flowchart showing the operation of the image conversion system according to the embodiment of the present invention during the compression processing. Referring to FIG. 3A, a compression process of image data is started (S1), and a table of color information (C
It is determined whether LUT) creation is necessary (CLUT creation determination step, S2). If it is a CLUT creation frame, move to the next stage. Next CLUT creation stage (S
Reference numeral 3) denotes a table storing values of representative colors used when a multicolor image is displayed with a limited number of colors. As a commonly used CLUT, RGB 24-bit color information is used. 256 typical to reproduce the image
It is formed by selecting colors. Many methods have been proposed for selecting 256 color information. In this CLUT creation step (S3), 256 representative colors unique to the target image are selected by an appropriate method, and the CLUT1 in which RGB values are written as shown in FIG.
2 is performed. After creation, the process moves to the next image compression processing stage. In this image compression processing step (S5), a number of compression algorithms and means have been devised so far, and this system can use any of the compression methods, but is input as an example of the input data format. The image data will be described in a Y / Cr / Cb format.

【0030】ここで,図3(a)中の変換テーブルの作
成段階(S4)はYCENT13を作成する処理を示し
ている。この処理の流れを図3(b)のフローチャート
に示す。まず,変換テーブル作成が開始される(S1
1)。次に,S4段階で作成されたCLUT12をもと
に2分探索用の探索木を作成する(S12)。この探索
木を用いてY=0,Cr=−128,Cb=−128か
ら順にY=255,Cr=127,Cb=127という
ように,Y/Cr/Cbの互いに独立したパラメータの
残りうる範囲において,すべての組み合わせについてY
/Cr/CbからRGBへの変換を行い,そのRGB値
を前段階(S12)で作成された探索木を用いて既に作
成されているCLUT中のどの色の値に最も近いかを調
べる(S13)。(ここでは最も近い色とはR・G・B
をそれぞれ軸にとった3次元空間上での距離を比較した
ときに,その距離がもっとも短くなることをいう)CL
UT中の最も近い色が見つかったなら,その色のエント
リを,図5に示すような3次元のテーブルに順に格納す
る(S14)。ループが終りか否かが判断され(S1
5),終りで無い場合には,近傍値探索(S13)から
の処理が繰り返される。終りの場合においては,このテ
ーブル13にエントリを全て格納し終えたものをYCE
NT13として,変換テーブル作成が終了する(S1
6)。
Here, the step of creating the conversion table (S4) in FIG. 3A shows the process of creating the YCENT 13. The flow of this processing is shown in the flowchart of FIG. First, conversion table creation is started (S1).
1). Next, a search tree for a binary search is created based on the CLUT 12 created in the S4 stage (S12). Using this search tree, the range in which the independent parameters of Y / Cr / Cb can remain as Y = 255, Cr = 127, Cb = 127 in the order from Y = 0, Cr = −128, Cb = −128. In all combinations, Y
/ Cr / Cb is converted to RGB, and the RGB values are examined using the search tree created in the previous stage (S12) to find the closest color value in the already created CLUT (S13). ). (Here the closest colors are RGB
Is the shortest distance when comparing the distances in a three-dimensional space with each being the axis) CL
If the closest color in the UT is found, the entry of the color is sequentially stored in a three-dimensional table as shown in FIG. 5 (S14). It is determined whether the loop is over or not (S1
5) If it is not the end, the processing from the neighboring value search (S13) is repeated. In the case of the end, the table in which all the entries are stored in the table 13 is referred to as YCE.
The conversion table creation ends as NT13 (S1).
6).

【0031】図3(a)に戻って,以上のようにして作
成されたCLUT12およびYCENT13,圧縮符号
データ14を順に配置し,圧縮ファイル5を作成する
(S6)。なお,圧縮ファイル5中のCLUT12,Y
CENT13,圧縮符号データ14a,14b等はそれ
ぞれに特有のキーやアドレスの付加によって各々のデー
タの区別が付けられるようにしておく。この時,圧縮フ
ァイル5は1フレーム目の圧縮符号データ14の前にC
LUT12とYCENT13とを配置すると,画像伸張
処理後直ちにCLUT12,YCENT13を参照でき
るので,処理の高速化に有利である。次に,最終フレー
ムか否か判断される(S7)。しかし,1フレーム目な
ので,再び,S2段階に戻る。
Returning to FIG. 3A, the CLUT 12, YCENT 13, and compression code data 14 created as described above are arranged in order to create a compressed file 5 (S6). Note that CLUT12, Y in the compressed file 5
The CENT 13, the compressed code data 14a, 14b, and the like can be distinguished from each other by adding a unique key or address. At this time, the compressed file 5 has the C code before the compressed code data 14 of the first frame.
When the LUT 12 and the YCENT 13 are arranged, the CLUT 12 and the YCENT 13 can be referred to immediately after the image decompression processing, which is advantageous for speeding up the processing. Next, it is determined whether or not the frame is the last frame (S7). However, since it is the first frame, the process returns to the S2 stage again.

【0032】続いて,2フレーム目の画像の処理につい
て説明する。初めにCLUT12の作成を行うか否かを
判定する(S2)。1フレーム目の画像ではそれ以前に
CLUT12が存在していないため,新規に作成した
が,一般的な動画像において隣り合う2枚のフレームは
使用されている画素データに相関性が高いため,同じC
LUT12を用いても実用上問題がない。ただし画像の
変化が大きく前回作成したCLUT12が必ずしも最適
ではない場合については新たにCLUT12を作成する
必要がある。このためCLUT作成判定段階(S2)で
は,現在有効なCLUTに対して,これから対照とする
フレームの画素データがどの程度有効であるかを判定す
る。この判定方法の一例としては,対象フレームの画素
データのヒストグラムを取り対象フレームに含まれる色
の多い順に現在のCLUT中に同じ色があるかどうかを
調べる。
Next, the processing of the image of the second frame will be described. First, it is determined whether to create the CLUT 12 (S2). The image of the first frame was newly created because the CLUT 12 did not exist before that. However, two frames adjacent to each other in a general moving image have a high correlation with the used pixel data. C
Even if the LUT 12 is used, there is no practical problem. However, when the change in the image is large and the previously created CLUT 12 is not always optimal, it is necessary to newly create the CLUT 12. For this reason, in the CLUT creation determination step (S2), it is determined how effective the pixel data of the frame to be compared is with the currently valid CLUT. As an example of this determination method, a histogram of the pixel data of the target frame is taken, and it is checked whether or not the same color exists in the current CLUT in the descending order of the colors included in the target frame.

【0033】ここで,閾値(例えば50)を一つ設け
て,この対象フレームに含まれる色の多い方から順に5
0番目までの色が連続して現在のCLUT中に同じ色が
存在すれば「CLUTは更新せず」,同じ色が存在しな
ければ「CLUTを更新する」と判定する。また,例え
ば50番目まで全て存在しなければ「CLUT全部更
新」,20番目まで存在しなければ存在しないものだけ
を交換する「CLUT一部更新」などのように場合分け
してもよい。このような判定方法で,CLUTの更新を
必要としないフレームについては,直接画像圧縮処理
(S5)を行い,図3の14a,14bのように圧縮符
号データ14を配置し圧縮ファイル5に記録する。も
し,ここで,CLUT12を更新するなら,S2及びS
3段階の処理を経て図3の14a,14bの間に新しい
CLUT12とそれに対応して作成したYCENT13
を配置する。
Here, one threshold value (for example, 50) is provided, and five (5) colors are included in the target frame in descending order.
If the same color is present continuously in the current CLUT up to the 0th color, it is determined that “the CLUT is not updated”, and if the same color does not exist, “the CLUT is updated”. Further, for example, the case may be divided into "CLUT full update" if all the data do not exist up to the 50th, and "CLUT partial update" which replaces only the non-existent one if there is no data up to the 20th. With such a determination method, for a frame that does not require updating of the CLUT, direct image compression processing (S5) is performed, and the compressed code data 14 is arranged and recorded in the compressed file 5 as shown at 14a and 14b in FIG. . Here, if the CLUT 12 is updated, S2 and S
After a three-stage process, a new CLUT 12 and a corresponding YCENT 13 created between 14a and 14b in FIG.
Place.

【0034】次に,画像変換システムの画像伸張手段1
1の動作について詳しく説明する。
Next, image decompression means 1 of the image conversion system
The operation 1 will be described in detail.

【0035】図3(c)は画像変換システムの伸張処理
時における動作を流れ図を示したものである。図3
(c)を参照して,画像伸張(S24)は圧縮処理(図
3(a))中の画像圧縮(S5)で圧縮した画像を伸張
する。更に,詳しく説明するために,ここで画像伸張後
のデータ形式はY/Cr/Cbであるとする。まず,伸
張処理が開始される(S21)。対象とする圧縮ファイ
ル5では符号12,13,14a,14bで示されるデ
ータ配置になっているとすると,ファイルを先頭から読
み込んでいき,初めにCLUT12やYCENT13が
あるかどうかをチェックする(S22)。これらのテー
ブルがあるならばメモリ24上の任意の領域に,CLU
T12及びYCENT13等のテーブルをそれぞれ設定
する(S23)。圧縮符号データ26a,26bであれ
ば画像の伸張を行い(S24),画像表示される(S2
5)。ここで,最終フレームか否か判断され(S2
6),最終フレーム以外の場合には,再びS22段階に
戻り,最終フレームとなったときに,伸張処理が終了す
る(S27)。
FIG. 3C is a flowchart showing the operation of the image conversion system at the time of decompression processing. FIG.
Referring to (c), the image expansion (S24) expands the image compressed by the image compression (S5) during the compression processing (FIG. 3A). For further explanation, it is assumed that the data format after image expansion is Y / Cr / Cb. First, expansion processing is started (S21). Assuming that the target compressed file 5 has the data arrangement indicated by reference numerals 12, 13, 14a, and 14b, the file is read from the beginning, and it is first checked whether there is a CLUT 12 or YCENT 13 (S22). . If these tables exist, the CLU is stored in an arbitrary area on the memory 24.
Tables such as T12 and YCENT13 are set (S23). If the data is compression-coded data 26a, 26b, the image is expanded (S24) and displayed (S2).
5). Here, it is determined whether or not the frame is the last frame (S2).
6) If it is not the last frame, the process returns to step S22 again, and when the last frame is reached, the decompression process ends (S27).

【0036】伸張後のデータはY/Cr/Cb形式のデ
ータであるから,各画素毎にこの値から直接,図5のテ
ーブル25を参照し,対応するエントリを読み出してそ
の画素の値とする。画像出力装置3は各画素毎にエント
リの値から,図4のようなCLUT12を参照し,RG
B24ビットの画像データとして出力をする。
Since the decompressed data is data in the Y / Cr / Cb format, the corresponding entry is read out from this value for each pixel by directly referring to the table 25 in FIG. 5 to obtain the value of that pixel. . The image output device 3 refers to the CLUT 12 as shown in FIG.
Output as B24 bit image data.

【0037】以上が本発明の実施例に係る画像変換シス
テムの動作の一例であるが,圧縮伸張処理を含まずに画
像信号の変換のみを行うシステム,または与えられる画
像信号がY/Cr/Cb形式以外のシステムにも適応で
きる。
The above is an example of the operation of the image conversion system according to the embodiment of the present invention. The system performs only the conversion of the image signal without including the compression / expansion processing, or the image signal provided is Y / Cr / Cb. It can be applied to other systems.

【0038】[0038]

【発明の効果】以上説明したように,本発明では,入力
画像の各画素において画像入力装置に依存する色空間か
ら画像出力装置に依存する色空間への座標変換と候補色
への割当てを同時にテーブル参照方法で行うため,変換
を必要とする画素が多いほど画素当たりの処理時間が短
くなる。
As described above, according to the present invention, in each pixel of an input image, coordinate conversion from a color space dependent on an image input device to a color space dependent on an image output device and allocation to candidate colors are simultaneously performed. Since the conversion is performed by the table reference method, the processing time per pixel becomes shorter as the number of pixels requiring conversion increases.

【0039】また,本発明によれば,入力された画像毎
に候補色を選出するため,入力画像に適応最適化された
候補色を使用し色再現性の高い画像への変換が可能であ
る。
Further, according to the present invention, since a candidate color is selected for each input image, it is possible to convert the input image into an image having high color reproducibility by using the candidate color adaptively optimized for the input image. .

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

【図1】本発明の実施例に係る画像変換システムの全体
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating an overall configuration of an image conversion system according to an embodiment of the present invention.

【図2】(a)は本発明の実施例に係る画像変換システ
ムの要部を示す構成図である。(b)は(a)の変形例
を示す図である。
FIG. 2A is a configuration diagram illustrating a main part of an image conversion system according to an embodiment of the present invention. (B) is a figure which shows the modification of (a).

【図3】(a)は画像変換システムの圧縮動作を含めた
処理フロー図である。(b)は画像変換システムの伸張
動作を含めた処理フロー図である。(c)は画像変換シ
ステムの変換テーブル作成動作を含めた処理フロー図で
ある。
FIG. 3A is a processing flowchart including a compression operation of the image conversion system. (B) is a processing flowchart including a decompression operation of the image conversion system. FIG. 3C is a processing flowchart including a conversion table creation operation of the image conversion system.

【図4】CLUTの概念図である。FIG. 4 is a conceptual diagram of a CLUT.

【図5】YCENTの概念図である。FIG. 5 is a conceptual diagram of YCENT.

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

1 画像変換システム 2 画像入力装置 3 画像出力装置 4 圧縮/記録側処理部 5 圧縮ファイル 6 伸張/表示側処理部 7 画像圧縮手段 8 圧縮ファイル作成手段 9 限定色選出手段 10 YCENT作成手段 11 画像伸張手段 12 CLUT 13 YCENT 14,14a,14b,14c 圧縮符号データ 15 伸張画像データ 16 画像入力データ 17,18 画像中間データ 19 画像出力データ DESCRIPTION OF SYMBOLS 1 Image conversion system 2 Image input device 3 Image output device 4 Compression / recording side processing unit 5 Compressed file 6 Decompression / display side processing unit 7 Image compression means 8 Compressed file creation means 9 Limited color selection means 10 YCENT creation means 11 Image extension Means 12 CLUT 13 YCENT 14, 14a, 14b, 14c Compression code data 15 Decompressed image data 16 Image input data 17, 18 Image intermediate data 19 Image output data

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 15/68 310A (56)参考文献 特開 平3−27674(JP,A) 特開 平4−190466(JP,A) 特開 平5−134640(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 G06T 5/00 G06T 9/00 G09G 5/06 H04N 9/64 ────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 identification code FIG06F 15/68 310A (56) References JP-A-3-27674 (JP, A) JP-A-4-190466 (JP, A) JP-A-5-134640 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06T 1/00 G06T 5/00 G06T 9/00 G09G 5/06 H04N 9/64

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像入力装置及び画像出力装置に接続さ
れ、前記画像出力装置に依存して限定された複数の色を
それぞれ表す複数の色情報をもつ第1のテーブルを含
み、前記画像入力装置から入力された画像入力データを
前記色情報を用いて画像出力データに変換し、前記画像
出力装置に出力する画像変換システムにおいて、 前記第1のテーブル中の複数の色情報をそれぞれ指し示
す複数の情報番号をもつ第2のテーブルと、前記第2の
テーブルを参照し、前記画像入力装置からの画像入力デ
ータを前記情報番号で構成された画像中間データに変換
する第1の変換手段と、前記第1のテーブルを参照し、
前記画像中間データを前記画像出力データに変換する第
2の変換手段と、前記画像入力データを用いて前記第1
のテーブルを作成する第1テーブル作成手段と、前記第
1のテーブルから前記第2のテーブルを作成する第2テ
ーブル作成手段とを含むことを特徴とする画像変換シス
テム。
1. An image input device, comprising: a first table connected to an image input device and an image output device, the first table having a plurality of color information respectively representing a plurality of colors limited depending on the image output device; An image conversion system that converts image input data input from the image input data into image output data using the color information and outputs the image output data to the image output device, wherein a plurality of pieces of information respectively indicating a plurality of pieces of color information in the first table A second table having a number, first conversion means for referring to the second table, and converting image input data from the image input device into image intermediate data composed of the information number; Referring to table 1
A second conversion unit for converting the image intermediate data into the image output data; and a first conversion unit using the image input data.
First table creating means for creating a table of
A second table for creating the second table from the first table
And an image conversion system comprising:
Tem.
【請求項2】 請求項1記載の画像変換システムにおい
て、前記第1の変換手段は、前記画像入力データを圧縮
した後に、所定伸張アルゴリズムにしたがって伸張させ
て伸張アルゴリズムに依存した色空間に従った形式の画
像処理データを生成するデータ処理手段と、前記第2の
テーブルを参照して前記画像処理データを前記画像中間
データに変換する手段とを含むことを特徴とする画像変
換システム。
2. The image conversion system according to claim 1, wherein the first conversion unit compresses the image input data, expands the image input data according to a predetermined expansion algorithm, and follows a color space dependent on the expansion algorithm. An image conversion system, comprising: data processing means for generating image processing data in a format; and means for converting the image processing data into the image intermediate data with reference to the second table.
【請求項3】 請求項1又は2記載の画像変換システム
において、動画像を再生する場合、前記画像入力データ
中の対象フレーム中の色情報と、前記第1のテーブル中
の色情報とを比較して、前記第1のテーブルの適否を判
断する判断手段を有することを特徴とする画像変換シス
テム。
3. The image conversion system according to claim 1, wherein when reproducing a moving image, color information in a target frame in the image input data is compared with color information in the first table. An image conversion system comprising: a determination unit configured to determine whether the first table is appropriate.
JP5326388A 1993-12-24 1993-12-24 Image conversion system Expired - Fee Related JP2882986B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5326388A JP2882986B2 (en) 1993-12-24 1993-12-24 Image conversion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5326388A JP2882986B2 (en) 1993-12-24 1993-12-24 Image conversion system

Publications (2)

Publication Number Publication Date
JPH07182481A JPH07182481A (en) 1995-07-21
JP2882986B2 true JP2882986B2 (en) 1999-04-19

Family

ID=18187248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5326388A Expired - Fee Related JP2882986B2 (en) 1993-12-24 1993-12-24 Image conversion system

Country Status (1)

Country Link
JP (1) JP2882986B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4174703B2 (en) 2001-10-22 2008-11-05 独立行政法人情報通信研究機構 Spectrum / color reproduction system
JP2003134527A (en) * 2001-10-24 2003-05-09 Telecommunication Advancement Organization Of Japan System for reproducing color video image

Also Published As

Publication number Publication date
JPH07182481A (en) 1995-07-21

Similar Documents

Publication Publication Date Title
US5894300A (en) Color image display apparatus and method therefor
US7884884B2 (en) Dynamic image search information recording apparatus and dynamic image searching devices
US5883975A (en) Compression and decompression methods on two-dimensional image data
US4979039A (en) Method and apparatus for vector quantization by hashing
US6519365B2 (en) Encoder, decoder, recording medium, encoding method, and decoding method
US7595808B2 (en) Method and apparatus for updating a color look-up table
US5124791A (en) Frame-to-frame compression of vector quantized signals and other post-processing
JPH06231234A (en) Compression method of image frame and data processing system
US5838833A (en) Fractal image compression method and device and fractal image restoration method and device
JPH1196345A (en) Method for compressing and inversely compressing graphics image
JP2702408B2 (en) Image conversion system
JP2882986B2 (en) Image conversion system
US6370193B1 (en) MPEG data compression and decompression using adjacent data value differencing
JP3045087B2 (en) Image synthesis device
US6094204A (en) Graphics display unit
US5898794A (en) Image compression method and image processing system
JP2001094991A (en) Data compressor, data compression method and storage medium
JP2890275B2 (en) Image processing method
JP2810585B2 (en) Image encoding method and image decoding method
JPH05268484A (en) Piclture coding processing method and picture decoding processing method
JP2950134B2 (en) Color image information data and color image information data processing method
JP2861816B2 (en) Pattern recognition dictionary generation device and pattern recognition device
JPH0643845A (en) Font data forming method
JP2001204024A (en) Data compression method, data compressor and storage medium
JPH0643846A (en) Font data forming method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990120

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080205

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090205

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110205

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110205

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees