JP2003283872A - Picture compression and expansion processor - Google Patents

Picture compression and expansion processor

Info

Publication number
JP2003283872A
JP2003283872A JP2002086729A JP2002086729A JP2003283872A JP 2003283872 A JP2003283872 A JP 2003283872A JP 2002086729 A JP2002086729 A JP 2002086729A JP 2002086729 A JP2002086729 A JP 2002086729A JP 2003283872 A JP2003283872 A JP 2003283872A
Authority
JP
Japan
Prior art keywords
image
image data
corrected
stream
output
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
JP2002086729A
Other languages
Japanese (ja)
Inventor
Kunihiko Sakota
邦彦 迫田
Hiroaki Shimazaki
浩昭 島崎
Kenjiro Tsuda
賢治郎 津田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002086729A priority Critical patent/JP2003283872A/en
Publication of JP2003283872A publication Critical patent/JP2003283872A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a picture compression and expansion processor which does not enhance a block noise or a mosquito noise, etc., even when color conversion for gamma correction of a display device and the improvement of picture quality is performed concerning an irreversibly compressed signal. <P>SOLUTION: Before a picture compressing means 102 compresses a picture irreversibly, a gamma correcting means 101 performs gamma correction for correcting nonlinearity of the display device. Then compression picture data read from a picture storing means 103 is expanded by a picture extending means 104 and displayed on a direct display means 105. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像圧縮伸長処理装
置に関し、特に、離散コサイン変換やウエーブレット変
換等の非可逆な画像圧縮方式によって圧縮された映像信
号を伸長する際に生じる、ブロックノイズやモスキート
ノイズを軽減する機能を有したものに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression / decompression processing device, and more particularly, to block noise or image noise generated when a video signal compressed by an irreversible image compression method such as discrete cosine transform or wavelet transform is generated. The present invention relates to a device having a function of reducing mosquito noise.

【0002】[0002]

【従来の技術】液晶パネル等のデジタル表示装置では、
入力信号/輝度特性がCRTと異なるため、ガンマ補正
等の階調変換処理でこれを補正し、CRTと同等の階調
特性を実現する。図12に液晶パネルのガンマ補正の例
を示す。一方、映像信号をデジタルで取り扱う場合、そ
の情報量が膨大となるため離散コサイン変換等の非可逆
な圧縮技術が広く用いられている。しかしながら離散コ
サイン変換等の非可逆な圧縮方式を用いて圧縮された画
像データを伸長する際、ブロックノイズやモスキートノ
イズのようなノイズを発生する場合がある。
2. Description of the Related Art In digital display devices such as liquid crystal panels,
Since the input signal / luminance characteristic is different from that of the CRT, this is corrected by tone conversion processing such as gamma correction, and the tone characteristic equivalent to that of the CRT is realized. FIG. 12 shows an example of gamma correction of the liquid crystal panel. On the other hand, when a video signal is handled digitally, the amount of information is enormous, so that an irreversible compression technique such as discrete cosine transform is widely used. However, when decompressing image data compressed using an irreversible compression method such as discrete cosine transform, noise such as block noise or mosquito noise may occur.

【0003】ガンマ補正では、図12に示すように、特
定の階調の映像信号に対して1以上の大きなゲインがか
かる場合がある。ガンマ補正により大きなゲインがかか
る階調レベルで発生したブロックノイズやモスキートノ
イズは、元信号と同様に拡大され、これが視覚的な弊害
となる可能性がある。また、ガンマ補正のみでなく、画
質の改善を目的とする色変換においても同様な弊害が生
じる可能性がある。
In gamma correction, as shown in FIG. 12, a large gain of 1 or more may be applied to a video signal of a specific gradation. Block noise and mosquito noise generated at a gradation level to which a large gain is applied by gamma correction are magnified in the same manner as the original signal, which may be a visual adverse effect. In addition to the gamma correction, the same adverse effect may occur not only in gamma correction but also in color conversion for the purpose of improving image quality.

【0004】従来、例えば、特開平9-294214号公報に示
されるように、このような課題に対して画像を圧縮する
際のアルゴリズムが非可逆圧縮であるか否かを判定し、
伸長する信号が可逆圧縮されたものである場合には色変
換を行い、非可逆圧縮されたものである場合には色変換
を行わないか、もしくは色変換処理を控えめに施すこと
により、画質の劣化を防ぐという手法が考案されてい
る。
Conventionally, for example, as disclosed in Japanese Patent Application Laid-Open No. 9-294214, it is determined whether or not an algorithm for compressing an image against such a problem is lossy compression,
If the decompressed signal is reversibly compressed, color conversion is performed, and if the decompressed signal is irreversibly compressed, color conversion is not performed, or color conversion processing is performed conservatively to improve the image quality. A method of preventing deterioration has been devised.

【0005】[0005]

【発明が解決しようとする課題】従来の画像圧縮伸長処
理装置は以上のように構成されており、伸長時に信号が
可逆圧縮されたものと、非可逆圧縮されたものとで色変
換処理の有無、及び程度を変化して行うことにより、画
質の劣化を防ぐようにしていたが、このような手法で
は、現在の動画圧縮の主流である非可逆圧縮方式で圧縮
された画像に対する改善効果がない、もしくは少ないも
のとなってしまうという問題点があった。本発明は、以
上のような問題点を解決するためになされたものであ
り、非可逆圧縮された信号に対して、表示デバイスのガ
ンマ補正、あるいは画質改善のための色変換を行って
も、ブロックノイズやモスキートノイズ等を強調しない
画像圧縮伸長処理装置を提供することを目的とする。
The conventional image compression / expansion processing device is configured as described above, and whether or not color conversion processing is performed depending on whether the signal is reversibly compressed or unreversibly compressed at the time of expansion. , And the degree is changed to prevent the deterioration of the image quality. However, such a method does not have the effect of improving the image compressed by the lossy compression method which is the mainstream of the current moving image compression. Or, there was a problem that it would be small. The present invention has been made to solve the above problems, and even if gamma correction of a display device or color conversion for image quality improvement is performed on a lossy compressed signal, An object of the present invention is to provide an image compression / decompression processing device that does not emphasize block noise, mosquito noise, and the like.

【0006】[0006]

【課題を解決するための手段】本願の請求項1にかかる
画像圧縮伸長処理装置は、非線形な入力輝度特性を有
し、伸長画像データを出力する出力手段と、入力画像デ
ータに対して上記出力手段が有する入力輝度特性の非線
形性を補正し、補正画像データとして出力するガンマ補
正手段と、上記補正画像データを画像圧縮手法を用いて
圧縮し、圧縮画像データとして出力する画像圧縮手段
と、上記圧縮画像データを保持して蓄積画像データとし
て出力する画像蓄積手段と、上記蓄積画像データを読み
出し、上記画像圧縮手段で用いた圧縮手法に対応する逆
変換を用いて伸長し、伸長画像データとして出力する画
像伸長手段と、を備えたものである。
An image compression / decompression processing apparatus according to claim 1 of the present application has an output means for outputting decompressed image data having a non-linear input luminance characteristic and the above-mentioned output for the input image data. Gamma correction means for correcting the non-linearity of the input luminance characteristic of the means and outputting it as corrected image data; image compression means for compressing the corrected image data using an image compression method and outputting it as compressed image data; An image storage unit that holds compressed image data and outputs it as accumulated image data, and reads the accumulated image data, decompresses it using inverse conversion corresponding to the compression method used by the image compression unit, and outputs it as decompressed image data. Image decompression means for

【0007】また、本発明の請求項2にかかる画像圧縮
伸長処理装置は、入力画像データの各フレームにおい
て、フレームを一定のエリアに分割して映像が平滑か否
かを判定し、平滑であると判定されたエリアの輝度が複
数の輝度階調グループのいずれに属するかを調べ、その
分布情報を重み付け情報として出力する平滑部検出手段
と、上記重み付け情報を算出した上記入力画像データの
同じフレームに対して、上記入力画像データの輝度階調
グループ各々について上記重み付け情報で示される分布
頻度が大きい場合にはゲインを大きくし、一方、上記重
み付け情報で示される分布頻度が小さい場合には上記輝
度階調グループ毎のゲインを小さくし、かつ不連続点が
発生しないよう階調変換処理を行い補正画像データとし
て出力する階調重み付け手段と、上記補正画像データを
画像圧縮手法を用いて圧縮し、圧縮画像データとして出
力する画像圧縮手段と、上記圧縮画像データを保持し、
蓄積画像データとして出力する画像蓄積手段と、上記蓄
積画像データを上記画像圧縮手段で用いた圧縮手法に対
応する逆変換を用いて伸長し、伸長画像データとして出
力する画像伸長手段と、上記伸長画像データの上記輝度
階調グループ毎のゲインを上記重み付け情報に応じて上
記入力画像データと同じゲインに戻す階調変換処理を行
い、重み付け解消データとして出力する重み付け解消手
段と、上記重み付け解消データを出力する出力手段と、
を備えたものである。
The image compression / decompression processing apparatus according to claim 2 of the present invention divides each frame of the input image data into a certain area, determines whether the image is smooth, and smooths the image. It is examined which one of a plurality of luminance gradation groups the luminance of the area determined to belong to is, and a smoothing part detecting means for outputting the distribution information as weighting information, and the same frame of the input image data for which the weighting information is calculated. On the other hand, for each luminance gradation group of the input image data, the gain is increased when the distribution frequency indicated by the weighting information is high, while the luminance is increased when the distribution frequency indicated by the weighting information is low. Gradation weights that reduce the gain for each gradation group and perform gradation conversion processing so that discontinuities do not occur and output as corrected image data. Only means, the corrected image data compressed using image compression methods, image compression means for outputting as a compressed image data, holding the compressed image data,
An image accumulating means for outputting as accumulated image data, an image decompressing means for decompressing the accumulated image data by using an inverse transform corresponding to the compression method used by the image compressing means, and outputting as decompressed image data, the decompressed image Weighting canceling means for performing a gradation conversion process for returning the gain of each of the luminance gradation groups of the data to the same gain as the input image data according to the weighting information, and outputting the weighting canceling data, and outputting the weighting canceling data. Output means to
It is equipped with.

【0008】また、本発明の請求項3にかかる画像圧縮
伸長処理装置は、請求項2記載の画像圧縮伸長処理装置
において、上記階調重み付け手段の出力する重み付け情
報を保持し、上記平滑部検出手段で上記重み付け情報を
抽出した入力画像データのフレームと同一のフレーム
が、上記重み付け解消手段において処理される際に同期
して、上記時間調整済みの重み付け情報として出力する
時間調整手段を備えたものである。
An image compression / expansion processing apparatus according to claim 3 of the present invention is the image compression / expansion processing apparatus according to claim 2, which holds the weighting information output from the gradation weighting means and detects the smooth portion. And a time adjusting means for outputting the same frame as the frame of the input image data from which the weighting information has been extracted by the means, when the weighting eliminating means synchronizes with the frame, and outputs the time-adjusted weighting information. Is.

【0009】また、本発明の請求項4にかかる画像圧縮
伸長処理装置は、入力画像データの1フレーム毎の画像
データのRGB各色の最大値と最小値を求めて特徴情報
として出力する特徴検出手段と、上記特徴情報に基づき
上記入力画像データのダイナミックレンジを拡大する演
算処理を行い、ダイナミックレンジ拡大データとして出
力するダイナミックレンジ拡大手段と、上記ダイナミッ
クレンジ拡大データを画像圧縮手法を用いて圧縮し、圧
縮画像データとして出力する画像圧縮手段と、上記圧縮
画像データを保持し、蓄積画像データとして出力する画
像蓄積手段と、上記蓄積画像データを上記画像圧縮手段
で用いた圧縮手法に対応する逆変換を用いて伸長し、伸
長画像データとして出力する画像伸長手段と、上記特徴
情報に応じて上記伸長画像データのダイナミックレンジ
を上記入力画像データと同じダイナミックレンジに縮小
し、ダイナミックレンジ復元データとして出力するダイ
ナミックレンジ復元手段と、上記ダイナミックレンジ復
元データを出力する出力手段と、を備えたものである。
According to a fourth aspect of the present invention, the image compression / expansion processing device obtains the maximum value and the minimum value of each color of RGB of the image data of each frame of the input image data and outputs it as characteristic information. And, performing a calculation process for expanding the dynamic range of the input image data based on the characteristic information, and outputting the dynamic range expansion data as dynamic range expansion data, and compressing the dynamic range expansion data using an image compression method, An image compression unit that outputs compressed image data, an image storage unit that holds the compressed image data and outputs it as accumulated image data, and an inverse transform corresponding to the compression method used by the image compression unit for the accumulated image data. An image decompressing unit for decompressing and outputting as decompressed image data, and A dynamic range restoring unit that reduces the dynamic range of the long image data to the same dynamic range as the input image data and outputs the dynamic range restoring data, and an output unit that outputs the dynamic range restoring data. ..

【0010】また、本発明の請求項5にかかる画像圧縮
伸長処理装置は、請求項4記載の画像圧縮伸長処理装置
において、上記特徴検出手段の出力する特徴情報を保持
し、上記特徴検出手段で上記特徴情報を抽出した入力画
像データのフレームと同一のフレームが、上記ダイナミ
ックレンジ復元手段において処理される際に同期して、
上記時間調整済みの特徴情報として出力する時間調整手
段を備えたものである。
An image compression / decompression processing apparatus according to a fifth aspect of the present invention is the image compression / decompression processing apparatus according to the fourth aspect, which holds the characteristic information output from the characteristic detecting means, A frame that is the same as the frame of the input image data from which the characteristic information has been extracted is synchronized when it is processed by the dynamic range restoration means,
The time adjustment means for outputting the time-adjusted characteristic information is provided.

【0011】また、本発明の請求項6にかかる画像圧縮
伸長処理装置は、非線形な入力輝度特性を有し補正伸長
画像データを出力する出力手段と、入力画像データに対
して上記出力手段が有する入力輝度特性の非線形性を補
正し、補正画像データとして出力するガンマ補正手段
と、上記補正画像データを、画像圧縮手法を用いて圧縮
し、圧縮したストリームデータに対して既にガンマ補正
済みのデータであることを示すフラグ付加し、補正情報
付き圧縮画像データとして出力する補正情報付加機能付
き画像圧縮手段と、上記補正情報付き圧縮画像データを
保持し、補正情報付き蓄積画像データとして出力する画
像蓄積手段と、上記補正情報付き蓄積画像データを上記
補正情報付加機能付き画像圧縮手段で用いた圧縮手法に
対応する逆変換を用いて伸長し、伸長画像データとして
出力し、伸長したストリームに上記補正情報付加機能付
き圧縮手段で付加したフラグの有無を調べ、フラグを検
出した場合は、イネーブル情報を偽として出力し、フラ
グがなかった場合にはイネーブル情報を真として出力す
る補正情報検出機能付き画像伸長手段と、上記イネーブ
ル情報が真の場合は、上記伸長画像データに対して上記
出力手段が有する入力輝度特性の非線形性を補正し、補
正伸長画像データとして出力し、一方、上記イネーブル
情報が偽の場合は、上記伸長画像データに処理を行わず
補正伸長画像データとして出力する、イネーブル付きガ
ンマ補正手段と、を備えたものである。
An image compression / expansion processing apparatus according to claim 6 of the present invention has an output means for outputting corrected expanded image data having a non-linear input luminance characteristic, and the output means for the input image data. Gamma correction means for correcting the non-linearity of the input luminance characteristic and outputting it as corrected image data, and the above-mentioned corrected image data is compressed using an image compression method, and the compressed stream data is already gamma-corrected. An image compression unit with a correction information addition function, which adds a flag indicating that there is, and outputs as compressed image data with correction information, and an image storage unit which holds the compressed image data with correction information and outputs it as accumulated image data with correction information And the inverse conversion corresponding to the compression method used by the image compression means with the correction information addition function for the accumulated image data with the correction information. Decompress and output as decompressed image data, and check the presence or absence of the flag added by the compression means with the correction information addition function in the decompressed stream. If a flag is detected, enable information is output as false and there is no flag. When the enable information is true, the non-linearity of the input luminance characteristic of the output means is corrected with respect to the expanded image data when the enable information is true. Then, when the enable information is false, the expanded image data is output as corrected expanded image data without being processed, and a gamma correction unit with enable is provided. is there.

【0012】また、本発明の請求項7にかかる画像圧縮
伸長処理装置は、非線形な入力輝度特性を有し補正伸長
画像ストリームを出力する出力手段と、入力画像ストリ
ームの先頭に識別記号を付加したフレームを挿入して基
準画像挿入済み画像ストリームとして出力する基準画像
挿入手段と、上記基準画像挿入済み画像ストリームに対
して、上記出力手段が有する入力輝度特性の非線形性を
補正し、補正画像ストリームとして出力するガンマ補正
手段と、上記補正画像ストリームを画像圧縮手法を用い
て圧縮して圧縮画像ストリームとして出力する画像圧縮
手段と、上記圧縮画像ストリームを保持し、蓄積画像ス
トリームとして出力する画像蓄積手段と、上記蓄積画像
ストリームを上記画像圧縮手段で用いた圧縮手法に対応
する逆変換を用いて伸長し、伸長画像ストリームとして
出力する画像伸長手段と、上記伸長画像ストリームの先
頭フレームの画像を調べ、上記基準画像挿入手段で付加
された上記識別記号の有無を判別し、該識別記号が存在
する場合には、イネーブル情報を偽として出力し、一
方、上記識別記号が存在しない場合にはイネーブル情報
を真として出力する基準画像判定手段と、上記イネーブ
ル情報が真の場合は、上記伸長画像ストリームに対して
前記出力手段が有する入力輝度特性の非線形性を補正し
て補正伸長画像ストリームとして出力し、一方、上記イ
ネーブル情報が偽の場合は、上記伸長画像ストリームに
処理を行わず補正伸長画像ストリームとして出力するイ
ネーブル付きガンマ補正手段と、を備えたものである。
According to a seventh aspect of the present invention, in the image compression / decompression processing apparatus, an output means for outputting a corrected / decompressed image stream having a non-linear input luminance characteristic, and an identification symbol added to the head of the input image stream. A reference image inserting unit that inserts a frame and outputs it as a reference image inserted image stream, and a non-linearity of the input luminance characteristic of the output unit with respect to the reference image inserted image stream is corrected to obtain a corrected image stream. A gamma correction means for outputting, an image compression means for compressing the corrected image stream using an image compression method and outputting the compressed image stream, and an image storage means for holding the compressed image stream and outputting it as an accumulated image stream. , Using the inverse transform corresponding to the compression method used in the image compression means for the accumulated image stream An image decompressing unit that decompresses and outputs as an expanded image stream and an image of the first frame of the decompressed image stream are examined, and the presence or absence of the identification symbol added by the reference image inserting unit is determined, and the identification symbol exists. In the case where the enable information is false, the reference image determining means that outputs the enable information as true when the identification symbol does not exist, and in the expanded image stream when the enable information is true, On the other hand, the nonlinearity of the input luminance characteristic of the output means is corrected and output as a corrected decompressed image stream. On the other hand, when the enable information is false, the decompressed image stream is not processed and the corrected decompressed image stream is obtained. And a gamma correction means with enable for outputting.

【0013】また、本発明の請求項8にかかる画像圧縮
伸長処理装置は、非線形な入力輝度特性を有し補正伸長
画像ストリームを出力する出力手段と、入力画像ストリ
ームの先頭に、1フレーム内でRGB各色の輝度レベル
が最小レベルから最大レベルまで順次リニアに変化する
階調情報と、識別記号とを、付加したフレームを挿入
し、階調情報付き基準画像挿入済み画像ストリームとし
て出力する階調情報付き基準画像挿入手段と、上記階調
情報付き基準画像挿入済み画像ストリームに対して上記
出力手段が有する入力輝度特性の非線形性を補正し、補
正画像ストリームとして出力するガンマ補正手段と、上
記補正画像ストリームを画像圧縮手法を用いて圧縮し、
圧縮画像ストリームとして出力する画像圧縮手段と、上
記圧縮画像ストリームを保持して蓄積画像ストリームと
して出力する画像蓄積手段と、上記蓄積画像ストリーム
を上記画像圧縮手段で用いた圧縮手法に対応する逆変換
を用いて伸長し、伸長画像ストリームとして出力する画
像伸長手段と、上記伸長画像ストリームの先頭フレーム
の画像を調べ、上記階調情報付き基準画像挿入手段で付
加された識別記号の有無を判別し、該識別記号が存在す
る場合には、識別記号検知フラグをイネーブルにしてこ
のフレーム内でRGB各色の輝度レベルが最小レベルか
ら最大レベルまで変化する際の階調変化の特性を調べて
階調情報として出力し、一方、上記識別記号が存在しな
い場合は識別記号検知フラグをディセーブルにして出力
する階調情報付き基準画像判定手段と、上記識別記号検
知フラグが真の場合は上記階調情報付き基準画像判定手
段が出力する上記階調情報と、上記出力手段の単体が有
する入力輝度測定の非線形性を補正する特性とが一致す
るか否かを判別し、一致する場合には上記伸長画像スト
リームをそのまま補正伸長画像ストリームとして出力
し、一致しない場合には上記伸長画像ストリームに対し
て上記階調情報による特性をリニアな特性に補正した
後、上記伸長画像ストリームに対して出力手段単体が有
する入力輝度測定の非線形性を補正する補正処理を行い
補正伸長画像ストリームとして出力し、上記識別記号検
知フラグが偽の場合は上記伸長画像ストリームに対して
出力手段単体が有する入力輝度測定の非線形性を補正す
る補正処理を行い補正伸長画像ストリームとして出力す
る階調変更機能付きガンマ補正手段と、を備えたもので
ある。
An image compression / decompression processing apparatus according to claim 8 of the present invention has an output means for outputting a corrected / decompressed image stream having a non-linear input luminance characteristic, and a head of the input image stream within one frame. Gradation information in which gradation information in which the luminance level of each color of RGB sequentially changes linearly from the minimum level to the maximum level and an identification mark are inserted, and is output as a reference image inserted image stream with gradation information. Attached reference image inserting means, gamma correction means for correcting the non-linearity of the input luminance characteristic of the output means for the reference image inserted image stream with gradation information, and outputting as a corrected image stream, and the corrected image Compress the stream using the image compression method,
An image compression unit that outputs a compressed image stream, an image storage unit that holds the compressed image stream and outputs it as an accumulated image stream, and an inverse transform corresponding to the compression method that uses the accumulated image stream in the image compression unit. An image decompressing unit for decompressing and outputting as a decompressed image stream and an image of the first frame of the decompressed image stream are examined, and it is determined whether or not there is an identification symbol added by the reference image inserting unit with gradation information. When the identification code exists, the identification code detection flag is enabled, the characteristics of the gradation change when the brightness level of each color of RGB changes from the minimum level to the maximum level in this frame, and it is output as gradation information. On the other hand, if the above identification code does not exist, the identification code detection flag is disabled and output with gradation information. The quasi-image determining means and, if the identification symbol detection flag is true, corrects the non-linearity of the input luminance measurement which the output information alone has, and the gradation information output by the reference image determining means with the gradation information. It is determined whether or not the characteristics match, and if they match, the decompressed image stream is output as a corrected decompressed image stream as it is. If they do not match, the characteristics based on the gradation information are applied to the decompressed image stream. After the linear characteristic is corrected, the decompressed image stream is subjected to a correction process for correcting the non-linearity of the input luminance measurement of the output unit alone, and is output as a corrected decompressed image stream, and the identification symbol detection flag is false. Performs a correction process for correcting the non-linearity of the input luminance measurement that the output unit has on the decompressed image stream. , A gradation change function gamma correction means for outputting as being equipped with.

【0014】また、本発明の請求項9にかかる画像圧縮
伸長処理装置は、伸長画像データを出力する出力手段
と、入力画像データに対して上記出力手段が有する出力
特性を補正し、補正画像データとして出力する色補正手
段と、上記補正画像データを画像圧縮手法を用いて圧縮
し、圧縮画像データとして出力する画像圧縮手段と、上
記圧縮画像データを保持して蓄積画像データとして出力
する画像蓄積手段と、上記蓄積画像データを読み出し、
上記画像圧縮手段で用いた圧縮手法に対応する逆変換を
用いて伸長し、伸長画像データとして出力する画像伸長
手段と、を備えたものである。
According to a ninth aspect of the present invention, there is provided an image compression / decompression processing device, wherein output means for outputting decompressed image data and output characteristics of the output means for input image data are corrected to obtain corrected image data. A color correction means for outputting as the compressed image data, an image compression means for compressing the corrected image data using an image compression method, and outputting the compressed image data as compressed image data, and an image storing means for holding the compressed image data and outputting the accumulated image data. And read the accumulated image data,
An image decompressing unit that decompresses by using an inverse transform corresponding to the compression method used by the image compressing unit and outputs as decompressed image data.

【0015】また、本発明の請求項10にかかる画像圧
縮伸長処理装置は、補正伸長画像データを出力する出力
手段と、入力画像データに対して上記出力手段が有する
出力特性を補正し、補正画像データとして出力する色補
正手段と、上記補正画像データを、画像圧縮手法を用い
て圧縮し、圧縮したストリームデータに対して既に色補
正済みのデータであることを示すフラグを付加し、補正
情報付き圧縮画像データとして出力する補正情報付加機
能付き画像圧縮手段と、上記補正情報付き圧縮画像デー
タを保持し、補正情報付き蓄積画像データとして出力す
る画像蓄積手段と、上記補正情報付き蓄積画像データを
上記補正情報付加機能付き画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像データと
して出力し、伸長したストリームに上記補正情報付加機
能付き圧縮手段で付加したフラグの有無を調べ、フラグ
を検出した場合は、イネーブル情報を偽として出力し、
フラグがなかった場合にはイネーブル情報を真として出
力する補正情報検出機能付き画像伸長手段と、上記イネ
ーブル情報が真の場合は、上記伸長画像データに対して
上記出力手段が有する出力特性を補正し、補正伸長画像
データとして出力し、一方、上記イネーブル情報が偽の
場合は、上記伸長画像データに処理を行わず補正伸長画
像データとして出力する、イネーブル付き色補正手段
と、を備えたものである。
According to a tenth aspect of the present invention, there is provided an image compression / decompression processing device, wherein output means for outputting corrected and decompressed image data and output characteristics of the output means for input image data are corrected to obtain a corrected image. A color correction means for outputting as data and the corrected image data are compressed using an image compression method, and a flag indicating that the data has already been color-corrected is added to the compressed stream data, and the correction information is added. The image compression means with correction information addition function for outputting as compressed image data, the image storage means for holding the compressed image data with correction information and outputting it as the accumulated image data with correction information, and the accumulated image data with correction information Decompression is performed using the inverse transform corresponding to the compression method used by the image compression means with correction information addition function, and output as decompressed image data and decompression. Stream to check for flags added by the correction information adding function compressing means, if it detects the flag, and outputs the enable information as false,
If there is no flag, the image decompression means with a correction information detection function that outputs enable information as true, and if the enable information is true, corrects the output characteristic of the output means for the decompressed image data. Output as corrected decompressed image data, and if the enable information is false, the expanded image data is not processed and is output as corrected decompressed image data. .

【0016】また、本発明の請求項11にかかる画像圧
縮伸長処理装置は、非線形な入力輝度特性を有し補正伸
長画像ストリームを出力する出力手段と、入力画像スト
リームの先頭に識別記号を付加したフレームを挿入して
基準画像挿入済み画像ストリームとして出力する基準画
像挿入手段と、入力画像データに対して上記出力手段が
有する出力特性を補正し、補正画像データとして出力す
る色補正手段と、上記補正画像ストリームを画像圧縮手
法を用いて圧縮して圧縮画像ストリームとして出力する
画像圧縮手段と、上記圧縮画像ストリームを保持し、蓄
積画像ストリームとして出力する画像蓄積手段と、上記
蓄積画像ストリームを上記画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像ストリー
ムとして出力する画像伸長手段と、上記伸長画像ストリ
ームの先頭フレームの画像を調べ、上記基準画像挿入手
段で付加された上記識別記号の有無を判別し、該識別記
号が存在する場合には、イネーブル情報を偽として出力
し、一方、上記識別記号が存在しない場合にはイネーブ
ル情報を真として出力する基準画像判定手段と、上記イ
ネーブル情報が真の場合は、上記伸長画像ストリームに
対して前記出力手段が有する出力特性を補正し、補正伸
長画像データとして出力補正伸長画像ストリームとして
出力し、一方、上記イネーブル情報が偽の場合は、上記
伸長画像ストリームに処理を行わず補正伸長画像ストリ
ームとして出力するイネーブル付き色補正手段と、を備
えたものである。
According to the eleventh aspect of the present invention, in the image compression / decompression processing apparatus, an output means for outputting a corrected / decompressed image stream having a non-linear input luminance characteristic, and an identification symbol added to the head of the input image stream. A reference image inserting unit that inserts a frame and outputs it as a reference image inserted image stream, a color correcting unit that corrects the output characteristic of the output unit with respect to the input image data, and outputs the corrected image data as the corrected image data, and the correction described above. An image compression unit that compresses an image stream using an image compression method and outputs the compressed image stream, an image storage unit that holds the compressed image stream and outputs it as an accumulated image stream, and an image compression unit that stores the accumulated image stream. Decompress using inverse transform corresponding to the compression method used in the method, and output as decompressed image stream The image decompression unit and the image of the first frame of the decompressed image stream are examined, and it is determined whether or not the identification symbol added by the reference image insertion unit is present. If the identification symbol is present, the enable information is set to false. On the other hand, when the identification symbol does not exist, on the other hand, reference image determination means for outputting enable information as true, and when the enable information is true, output characteristics of the output means for the decompressed image stream. Is output as a corrected decompressed image stream, and is output as a corrected decompressed image stream. On the other hand, when the enable information is false, a color correction unit with enable that outputs the corrected decompressed image stream without processing the expanded image stream. And ,.

【0017】また、本発明の請求項12にかかる画像圧
縮伸長処理装置は、請求項1ないし11のいずれかに記
載の画像圧縮伸長処理装置において、上記画像蓄積手段
に替えて、圧縮画像データを伝送路で転送可能なプロト
コルに変換して送信データとして送出する送信手段と、
上記伝送路から送信データを受け取り画像伸長手段で処
理可能な受信データとして出力する受信手段と、上記送
信手段と受信手段を接続する伝送路を、備えたものであ
る。
An image compression / expansion processing apparatus according to claim 12 of the present invention is the image compression / expansion processing apparatus according to any one of claims 1 to 11, wherein compressed image data is replaced by the image storage means. Transmitting means for converting into a protocol that can be transferred on the transmission path and transmitting as transmission data;
The receiving means receives the transmission data from the transmission path and outputs it as the reception data which can be processed by the image expanding means, and the transmission path connecting the transmitting means and the receiving means.

【0018】[0018]

【発明の実施の形態】以下、本発明の各実施例の形態に
おける画像処理装置について、図面を参照しながら説明
する。なお、本発明の実施の形態は、画像データを離散
コサイン変換やウエーブレット変換等の非可逆の画像圧
縮手法を用いた圧縮処理と、圧縮された画像データを圧
縮手法の逆変換を用いて伸長処理する機能を有するシス
テムを想定している。具体的な応用例としては、デジタ
ル録画機能付き液晶TV、デジタル動画の伝送システ
ム、デジタル動画の無線伝送システム、パソコン等のビ
デオキャプチャシステム等が考えられる。以下に示す実
施の形態では、主に圧縮処理と伸長処理の周辺について
説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An image processing apparatus according to each embodiment of the present invention will be described below with reference to the drawings. In the embodiment of the present invention, the image data is compressed using an irreversible image compression method such as discrete cosine transform or wavelet transform, and the compressed image data is expanded using the inverse transform of the compression method. A system having a processing function is assumed. As a concrete application example, a liquid crystal TV with a digital recording function, a digital moving image transmission system, a digital moving image wireless transmission system, a video capture system for a personal computer and the like can be considered. In the embodiments described below, the periphery of the compression process and the decompression process will be mainly described.

【0019】(実施の形態1)図1は本発明の実施の形
態1にかかる画像圧縮伸長処理装置の構成を示すブロッ
ク図である。この画像圧縮伸長処理装置は、ガンマ補正
手段101、ガンマ補正後の補正画像データを圧縮する
画像圧縮手段102、圧縮した画像データを蓄積する画
像蓄積手段103、及び画像蓄積手段103に蓄積され
た画像データを伸長する画像伸長手段104、出力手段
として、伸長された画像を表示するための表示手段10
5とを有している。
(First Embodiment) FIG. 1 is a block diagram showing the arrangement of an image compression / decompression processing apparatus according to the first embodiment of the present invention. The image compression / expansion processing apparatus includes a gamma correction unit 101, an image compression unit 102 that compresses corrected image data after gamma correction, an image storage unit 103 that stores the compressed image data, and an image stored in the image storage unit 103. An image decompression means 104 for decompressing data, and a display means 10 for displaying the decompressed image as an output means.
5 and 5.

【0020】以上のように構成された画像圧縮伸長処理
装置の動作を、以下に説明する。ガンマ補正手段101
は、入力画像データに対して補正処理を行い補正画像デ
ータとして出力する。補正処理の内容は、表示手段10
5単体が有する入力輝度特性の非線形性を補正するよう
に補正を行うことである。このことにより、ガンマ補正
手段101に入力する入力画像データに対する表示手段
105の輝度特性を所望のガンマ特性、例えばγ=2.2と
することができる。このガンマ補正手段101の特性例
を図12に示す。
The operation of the image compression / decompression processing apparatus configured as described above will be described below. Gamma correction means 101
Corrects the input image data and outputs it as corrected image data. The content of the correction process is displayed on the display unit 10.
5 is to perform correction so as to correct the nonlinearity of the input luminance characteristic of the single unit. As a result, the luminance characteristic of the display unit 105 with respect to the input image data input to the gamma correction unit 101 can be set to a desired gamma characteristic, for example, γ = 2.2. FIG. 12 shows a characteristic example of the gamma correction means 101.

【0021】画像圧縮手段102は、補正画像データを
非可逆な画像圧縮方式で圧縮し、圧縮画像データとして
出力する。画像蓄積手段103は、上記画像圧縮手段1
02より出力された圧縮画像データを蓄積する。内部に
蓄積した画像データは必要に応じて蓄積画像データとし
て取り出すことができる。
The image compression means 102 compresses the corrected image data by an irreversible image compression method and outputs it as compressed image data. The image storage means 103 is the image compression means 1 described above.
The compressed image data output from No. 02 is accumulated. The image data accumulated inside can be taken out as accumulated image data as needed.

【0022】次に、画像伸長手段104は、蓄積画像デ
ータを画像圧縮手段102で圧縮を行った方式に対応す
る、逆変換で伸長して伸長画像データとして出力する。
表示手段105は上記伸長した画像データを表示する。
ここで、表示手段105は液晶パネル等の非線形入力輝
度特性の有するデバイスを用いたものである。
Next, the image decompression means 104 decompresses the stored image data by inverse conversion corresponding to the method compressed by the image compression means 102 and outputs it as decompressed image data.
The display means 105 displays the expanded image data.
Here, the display means 105 uses a device having a nonlinear input luminance characteristic such as a liquid crystal panel.

【0023】このように本実施の形態1によれば、非可
逆的な画像圧縮を行う前に、表示デバイスの非線形性を
補正するガンマ補正を行い、画像伸長手段104から出
力される伸長画像データを直接表示手段105で表示す
るようにしたことにより、伸長画像データにブロックノ
イズやモスキートノイズが含まれている場合でも、これ
をガンマ補正で強調することなく表示することができ
る。
As described above, according to the first embodiment, the decompressed image data output from the image decompression means 104 is subjected to the gamma correction for correcting the non-linearity of the display device before the lossy image compression is performed. By directly displaying on the display means 105, even if the decompressed image data contains block noise or mosquito noise, it can be displayed without being emphasized by gamma correction.

【0024】(実施の形態2)次に本発明の実施の形態
2にかかる画像圧縮伸長処理装置について説明する。図
2は本発明の実施の形態2にかかる画像圧縮伸長処理装
置の構成を示すブロック図である。図において、図1と
同一符号は同一、または相当部分を示し、202は入力
画像データの平滑さ度合いを検出する平滑部検出手段、
201は入力画像データを、その輝度レベルに応じて複
数のグループに分け、ゲインを変更し、補正画像データ
として出力する階調重み付け手段、204は階調重み付
け手段201の階調変換情報を保持し、画像蓄積手段1
03から得た蓄積画像データを取り出して画像伸長手段
104で伸長を行った伸長画像データの重み付けを解消
する際に必要となる時間調整済み階調変換情報を出力す
る時間調整手段、203は伸長画像データを上記時間調
整済み階調変換情報が示す輝度レベルに応じて分割して
ゲインを変更し、その結果を重み付け解消データとして
出力する重み付け解消手段である。
(Second Embodiment) Next, an image compression / expansion processing apparatus according to a second embodiment of the present invention will be described. FIG. 2 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the second embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 1 indicate the same or corresponding portions, and 202 is a smooth portion detecting means for detecting the degree of smoothness of input image data.
Reference numeral 201 denotes a gradation weighting unit that divides the input image data into a plurality of groups according to the brightness level, changes the gain, and outputs the corrected image data. Reference numeral 204 holds the gradation conversion information of the gradation weighting unit 201. , Image storage means 1
A time adjusting means for outputting the time-adjusted gradation conversion information necessary for removing the weighting of the expanded image data obtained by extracting the accumulated image data obtained from 03 and expanding the expanded image data by the image expanding means 104, and 203 is an expanded image. The weighting elimination means divides the data according to the brightness level indicated by the time-adjusted gradation conversion information, changes the gain, and outputs the result as weighting elimination data.

【0025】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。平滑部検出手段202は
入力画像データの1フレーム毎の画像の平滑さの度合い
を検出する。平滑さの度合いを求める方法は種々ある
が、その一例として、まず1つの画像フレームをある一
定の大きさ、例えば、8x8画素などに分割し、その分割
エリアの輝度のばらつきが小さい場合、この分割エリア
が平滑であると判定する。ばらつきの大小は輝度の最大
値及び最小値の差が、ある閾値を超えるか否かで判断す
るようにする。
The operation of the image compression / expansion processing apparatus configured as described above will be described below. The smooth portion detecting means 202 detects the degree of smoothness of the image of each frame of the input image data. There are various methods of obtaining the degree of smoothness, but as an example, one image frame is first divided into a certain size, for example, 8x8 pixels, and if the variation in the brightness of the divided area is small, this division is performed. It is determined that the area is smooth. The magnitude of the variation is determined by whether or not the difference between the maximum value and the minimum value of the brightness exceeds a certain threshold.

【0026】平滑であると判定した分割エリアについて
は、その平均輝度レベルを求める。同様に1つのフレー
ムに含まれるすべての分割エリアに対して、平滑である
か否かを判定し、全ての分割エリアについても平滑であ
る場合には、その平均輝度レベルを求める。1つのフレ
ーム内で平滑であると判定した全ての分割エリアについ
て、各分割エリアをその平均輝度レベル毎に複数のグル
ープに分け、その数を調べる。例として、輝度レベルの
グループ分けを8とする。
The average brightness level of the divided areas determined to be smooth is calculated. Similarly, it is determined whether or not all the divided areas included in one frame are smooth, and if all the divided areas are also smooth, the average brightness level thereof is obtained. With respect to all the divided areas determined to be smooth in one frame, each divided area is divided into a plurality of groups for each average brightness level, and the number is examined. As an example, the brightness level is grouped into eight.

【0027】図3に分割エリアの輝度分布の例を示す。
輝度レベルのダイナミックレンジは256(最大値25
5、最小値0)とする。輝度グループは256のダイナ
ミックレンジを均等に8つに分けたものである。それぞ
れの輝度グループに含まれる分割エリアの数は、p0、
p1、p2、p3、p4、p5、p6、p7となる。平
滑部検出手段202はこれらの分布情報を重み付け情報
として出力する。
FIG. 3 shows an example of the luminance distribution of the divided areas.
The dynamic range of the brightness level is 256 (maximum value 25
5, the minimum value is 0). The luminance group is obtained by evenly dividing 256 dynamic ranges into eight. The number of divided areas included in each luminance group is p0,
p1, p2, p3, p4, p5, p6, p7. The smoothing part detecting means 202 outputs these distribution information as weighting information.

【0028】階調重み付け手段201は、入力画像デー
タをその輝度レベルに応じて複数のグループに分け、ゲ
インを変更し、補正画像データとして出力する。グルー
プの数は平滑部検出手段202で平滑であると判定した
分割エリアの輝度分布を求める際に用いた分割数と同じ
である。よって、平滑部検出手段202の説明の例に従
い、1つのフレームを8つに分割する。入力画像データ
の輝度レベルのダイナミックレンジも256(最大値2
55、最小値0)とする。各グループのゲインは、重み
付け情報の大小に応じて大小変化する。図4に階調重み
付け手段201での入力画像データと補正画像データの
特性例を示す。
The gradation weighting means 201 divides the input image data into a plurality of groups according to the brightness level, changes the gain, and outputs the corrected image data. The number of groups is the same as the number of divisions used when obtaining the luminance distribution of the divided areas determined to be smooth by the smooth portion detecting unit 202. Therefore, one frame is divided into eight according to the example of the description of the smooth portion detecting unit 202. The dynamic range of the brightness level of the input image data is also 256 (maximum value 2
55, minimum value 0). The gain of each group changes in magnitude depending on the magnitude of the weighting information. FIG. 4 shows a characteristic example of the input image data and the corrected image data in the gradation weighting means 201.

【0029】以下、入力画像データをxとし、補正画像
データをyとして特性算出式の例を示す。入力画像デー
タxが0≦x<32である場合、この領域における階調
変換のゲインg0と、入力画像データxと、補正画像デ
ータyとの関係は次のとおりである。 g0=1−(m−p0)×k y=g0×x また、入力画像データxが32≦x<64である場合、
この領域における階調変換ゲインg1と、入力画像デー
タxと、補正画像データyとの関係は次のとおりであ
る。 g1=1−(m−p1)×k y=g1×(x−32)+g0×32 また、入力画像データxが64≦x<96である場合、
この領域における階調変換ゲインg2と、入力画像デー
タxと、補正画像データyとの関係は次のとおりであ
る。 g2=1−(m−p2)×k y=g2×(x−64)+(g1+g0)×32 また、入力画像データxが96≦x<128である場
合、この領域における階調変換ゲインg3と、入力画像
データxと、補正画像データyとの関係は次のとおりで
ある。 g3=1−(m−p3)×k y=g3×(x−96)+(g2+g1+g0)×32 また、入力画像データxが128≦x<160ある場
合、この領域における階調変換ゲインg4と、入力画像
データxと、補正画像データyとの関係は次のとおりで
ある。 g4=1−(m−p4)×k y=g4×(x−128)+(g3+g2+g1+g
0)×32 また、入力画像データxが160≦x<192である場
合、この領域における階調変換ゲインg5と、入力画像
データxと、補正画像データyとの関係は次のとおりで
ある。 g5=1−(m−p5)×k y=g5×(x−160)+(g4+g3+g2+g1
+g0)×32 また、入力画像データxが192≦x<224である場
合、この領域における階調変換ゲインg6と、入力画像
データxと、補正画像データyとの関係は次のとおりで
ある。 g6=1−(m−p6)×k y=g6×(x−192)+(g5+g4+g3+g2
+g1+g0)×32 さらに、入力画像データxが224≦x<256である
場合、この領域における階調変換ゲインg7と、入力画
像データxと、補正画像データyとの関係は次のとおり
である。 g7=255/32−(g6+g5+g4+g3+g2
+g1+g0) y=g7×x+(g6+g5+g4+g3+g2+g1
+g0)×32 となる。ただし、ここでmは、分割エリア数p0からp
7までの平均値、kは定数でg0〜g7が正となるもの
である。
An example of the characteristic calculation formula is shown below, where the input image data is x and the corrected image data is y. When the input image data x is 0 ≦ x <32, the relationship between the gain g0 of gradation conversion in this area, the input image data x, and the corrected image data y is as follows. g0 = 1- (m-p0) × ky = g0 × x When the input image data x is 32 ≦ x <64,
The relationship among the gradation conversion gain g1, the input image data x, and the corrected image data y in this area is as follows. g1 = 1- (m-p1) * ky = g1 * (x-32) + g0 * 32 Moreover, when the input image data x is 64 <= x <96,
The relationship among the gradation conversion gain g2, the input image data x, and the corrected image data y in this area is as follows. g2 = 1− (m−p2) × ky = g2 × (x−64) + (g1 + g0) × 32 Further, when the input image data x is 96 ≦ x <128, the gradation conversion gain g3 in this region is obtained. And the relationship between the input image data x and the corrected image data y is as follows. g3 = 1− (m−p3) × ky = g3 × (x−96) + (g2 + g1 + g0) × 32 When the input image data x is 128 ≦ x <160, the gradation conversion gain g4 in this area is The relationship between the input image data x and the corrected image data y is as follows. g4 = 1- (m-p4) * ky = g4 * (x-128) + (g3 + g2 + g1 + g
0) × 32 When the input image data x is 160 ≦ x <192, the relationship between the gradation conversion gain g5, the input image data x, and the corrected image data y in this area is as follows. g5 = 1- (m-p5) * ky = g5 * (x-160) + (g4 + g3 + g2 + g1
+ G0) × 32 Further, when the input image data x is 192 ≦ x <224, the relationship between the gradation conversion gain g6, the input image data x, and the corrected image data y in this area is as follows. g6 = 1- (m-p6) * ky = g6 * (x-192) + (g5 + g4 + g3 + g2
+ G1 + g0) × 32 Furthermore, when the input image data x is 224 ≦ x <256, the relationship between the gradation conversion gain g7, the input image data x, and the corrected image data y in this region is as follows. g7 = 255 / 32- (g6 + g5 + g4 + g3 + g2
+ G1 + g0) y = g7 × x + (g6 + g5 + g4 + g3 + g2 + g1
+ G0) × 32. Here, m is the number of divided areas p0 to p
The average value up to 7, k is a constant, and g0 to g7 are positive.

【0030】以上のように定めた特性に基づき補正画像
データを出力する。分割エリアの境界のおける階調変換
後の補正画像データの値、即ち、入力画像データが3
2、64、96、128、160、192、224のと
きの補正画像データの値をそれぞれ、t0、t1、t
2、t3、t4、t5、t6とする。各分割エリア毎の
ゲインg0からg7と、分割エリアの境界における階調
変換後の補正画像データの値t0からt6をあわせて階
調変換情報として出力する。また、入力画像データと補
正画像データの特性はフレーム毎に変化する可能性があ
るので、平滑部検出手段202で重み付け情報を算出し
たフレームと階調重み付け手段201で特性を変化させ
るフレームは同一のフレームである。
Corrected image data is output based on the characteristics determined as described above. The value of the corrected image data after gradation conversion at the boundary of the divided area, that is, the input image data is 3
The values of the corrected image data at 2, 64, 96, 128, 160, 192, and 224 are t0, t1, and t, respectively.
2, t3, t4, t5, t6. The gains g0 to g7 for each divided area and the values t0 to t6 of the corrected image data after gradation conversion at the boundaries of the divided areas are combined and output as gradation conversion information. Further, since the characteristics of the input image data and the corrected image data may change for each frame, the frame for which the weighting information is calculated by the smoothing part detecting means 202 and the frame whose characteristics are changed by the gradation weighting means 201 are the same. It is a frame.

【0031】なお、画像圧縮手段102、画像蓄積手段
103、画像伸長手段104の動作は実施の形態1で示
した内容と同様なのでここではその説明を省略する。時
間調整手段204は階調変換情報を保持して、画像蓄積
手段103から得た蓄積画像データを取り出し、画像伸
長手段104が伸長を行うタイミングで、後段の重み付
け解消手段203へ時間調整済み階調変換情報として出
力する。上記階調変換情報は、フレーム毎に作成される
情報であり、時間調整済み重み付け情報も同様に各フレ
ーム毎に対応する情報である。
The operations of the image compression means 102, the image storage means 103, and the image decompression means 104 are the same as those described in the first embodiment, and therefore their explanations are omitted here. The time adjusting means 204 holds the gradation conversion information, extracts the accumulated image data obtained from the image accumulating means 103, and at the timing when the image expanding means 104 expands the time adjusted gradation to the weighting canceling means 203 in the subsequent stage. Output as conversion information. The gradation conversion information is information created for each frame, and the time-adjusted weighting information is also information corresponding to each frame.

【0032】階調変換情報g0からg7、及びt0から
t6に対応する時間調整済み階調変換情報を、dg0か
らdg7、及びdt0からdt6とする。重み付け解消
手段203は、伸長画像データを時間調整済み階調変換
情報のdt0からdt6が示す輝度レベルに応じて分割
してゲインを変更し、その結果を重み付け解消データと
して出力する。
The time-adjusted gradation conversion information corresponding to the gradation conversion information g0 to g7 and t0 to t6 is dg0 to dg7 and dt0 to dt6. The weighting elimination means 203 divides the decompressed image data according to the brightness level indicated by dt0 to dt6 of the time-adjusted gradation conversion information, changes the gain, and outputs the result as weighting elimination data.

【0033】伸長画像データxが0≦x<dt0である
場合、この領域における階調変換ゲインrg0とその入
力画像データxと補正画像データyとの関係は次のとお
りである。 rg0=1/dg0 y=rg0×x また、伸長画像データxがdt0≦x<dt1である場
合、この領域における階調変換ゲインrg1とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg1=1/dg1 y=rg1×(x−dt0)+32 また、伸長画像データxがdt1≦x<dt2である場
合、この領域における階調変換ゲインrg2とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg2=1/dg2 y=rg2×(x−dt1)+64 また、伸長画像データxがdt2≦x<dt3である場
合、この領域における階調変換ゲインrg3とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg3=1/dg3 y=rg3×(x−dt2)+96 また、伸長画像データxがdt3≦x<dt4である場
合、この領域における階調変換ゲインrg4とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg4=1/dg4 y=rg4×(x−dt3)+128 また、伸長画像データxがdt4≦x<dt5である場
合、この領域における階調変換ゲインrg5とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg5=1/dg5 y=rg5×(x−dt4)+160 また、伸長画像データxがdt5≦x<dt6である場
合、この領域における階調変換ゲインrg6とその入力
画像データxと補正画像データyとの関係は次のとおり
である。 rg6=1/dg6 y=rg6×(x−dt5)+192 さらに、伸長画像データxがdt6≦x≦255である
場合、この領域における階調変換ゲインrg6とその入
力画像データxと補正画像データyとの関係は次のとお
りである。 rg7=1/dg7 y=rg7×(x−dt6)+224 以上のように定めた階調変換処理を行うことにより、階
調重み付け手段201の入力である入力画像データと、
重み付け解消手段203の出力である重み付け解消デー
タとはリニアな関係となる。そして、表示手段105
は、重み付け解消されたデータを表示する。
When the expanded image data x is 0 ≦ x <dt0, the relationship between the gradation conversion gain rg0, the input image data x and the corrected image data y in this area is as follows. rg0 = 1 / dg0 y = rg0 × x When the expanded image data x is dt0 ≦ x <dt1, the relationship between the gradation conversion gain rg1 in this area, the input image data x, and the corrected image data y is as follows. It is as follows. rg1 = 1 / dg1 y = rg1 × (x-dt0) +32 When the decompressed image data x is dt1 ≦ x <dt2, the gradation conversion gain rg2 in the area, the input image data x, and the corrected image data y. The relationship with is as follows. rg2 = 1 / dg2 y = rg2 × (x-dt1) +64 Further, when the expanded image data x is dt2 ≦ x <dt3, the gradation conversion gain rg3 in the area, the input image data x and the corrected image data y are obtained. The relationship with is as follows. rg3 = 1 / dg3 y = rg3 × (x-dt2) +96 Further, when the expanded image data x is dt3 ≦ x <dt4, the gradation conversion gain rg4 in the area, the input image data x, and the corrected image data y. The relationship with is as follows. rg4 = 1 / dg4 y = rg4 × (x−dt3) +128 Further, when the expanded image data x is dt4 ≦ x <dt5, the gradation conversion gain rg5 in the area, the input image data x and the corrected image data y are obtained. The relationship with is as follows. rg5 = 1 / dg5 y = rg5 × (x-dt4) +160 When the expanded image data x is dt5 ≦ x <dt6, the gradation conversion gain rg6 in the area, the input image data x, and the corrected image data y. The relationship with is as follows. rg6 = 1 / dg6 y = rg6 × (x-dt5) +192 Further, when the expanded image data x is dt6 ≦ x ≦ 255, the gradation conversion gain rg6 in the area, the input image data x, and the corrected image data y. The relationship with is as follows. rg7 = 1 / dg7 y = rg7 × (x-dt6) +224 By performing the gradation conversion processing determined as described above, the input image data which is the input of the gradation weighting means 201,
It has a linear relationship with the weighting elimination data output from the weighting elimination means 203. The display means 105
Displays the deweighted data.

【0034】このように本実施の形態2によれば、階調
重み付け手段201において平滑な映像が含まれる階調
におけるダイナミックレンジを拡大するよう、階調の重
み付けを行った後に画像圧縮手段102で圧縮し、さら
に画像伸長手段104で伸長した後に重み付け解消手段
203で階調の重み付けを元に戻す処理を行うことで、
平滑な映像が含まれる階調について、表示手段105の
前段の重み付け解消手段203で低いゲインをかけるこ
とになる。但し入力画像データには階調重み付け手段2
01により、予め平滑な映像が含まれる階調について、
高いゲインをかけてあるので、入力画像データと重み付
け解消データとで階調表現は保持される。
As described above, according to the second embodiment, the gradation weighting means 201 weights the gradations so as to expand the dynamic range in the gradations including the smooth image, and then the image compression means 102 performs the weighting. By compressing and further expanding by the image expanding means 104, the weighting canceling means 203 restores the weighting of the gradation to the original,
A low gain is applied to the gradation including the smooth image by the weighting elimination means 203 in the preceding stage of the display means 105. However, the gradation weighting means 2 is applied to the input image data.
With 01, for gradations that already include smooth images,
Since the high gain is applied, the gradation expression is held by the input image data and the weighting elimination data.

【0035】このことにより、伸長画像データにブロッ
クノイズが含まれている場合、視覚的にブロックノイズ
が目立ちやすい平滑な映像が含まれる階調について、1
未満の低いゲインをかけてノイズ成分を軽減することが
できる。なお、本実施の形態2で用いた階調重み付け手
段201、及び重み付け解消手段203で用いた演算は
1つの例であり、階調重み付け手段201で平滑な映像
が含まれる階調におけるダイナミックレンジを拡大し、
かつ重み付け解消手段203で階調を復元する演算であ
れば他の演算であっても同等の効果が得られる。
As a result, when the decompressed image data contains block noise, the gradation including the smooth image in which the block noise is visually noticeable is 1
A noise component can be reduced by applying a low gain of less than. Note that the calculation used by the gradation weighting means 201 and the weighting canceling means 203 used in the second embodiment is only an example, and the gradation weighting means 201 determines the dynamic range in gradation including a smooth image. Expand,
Moreover, as long as the calculation for restoring the gradation is performed by the weighting elimination means 203, the same effect can be obtained by other calculation.

【0036】(実施の形態3)次に本発明の実施の形態
3にかかる画像圧縮伸長処理装置について説明する。図
5は本発明の実施の形態3にかかる画像圧縮伸長処理装
置の構成を示すブロック図である。図において、図1ま
たは図2と同一符号は同一、または相当部分を示し、4
01は入力画像データの1フレーム毎の画像データの特
徴を検出する特徴検出手段、402は特徴検出手段40
1によって検出された特徴情報に応じて入力画像データ
のダイナミックレンジを拡大するダイナミックレンジ拡
大手段、403は時間調整済み特徴情報に応じて、伸長
画像データのダイナミックレンジを縮小するダイナミッ
クレンジ復元手段、404は特徴情報を保持し、画像蓄
積手段103から得た蓄積画像データを取り出して画像
伸長手段104で伸長を行う際に、後段の重み付け解消
手段203で必要となる時間調整済み特徴情報を出力す
る時間調整手段である。
(Third Embodiment) Next, an image compression / decompression processing apparatus according to a third embodiment of the present invention will be described. FIG. 5 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the third embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 1 or 2 indicate the same or corresponding parts.
Reference numeral 01 is a feature detecting means for detecting a feature of the image data of each frame of the input image data, and 402 is a feature detecting means 40.
1, dynamic range expanding means for expanding the dynamic range of the input image data in accordance with the characteristic information detected by 1; 403, dynamic range restoring means for reducing the dynamic range of the expanded image data in accordance with the time-adjusted characteristic information; Holds the characteristic information, and when the accumulated image data obtained from the image accumulating means 103 is taken out and decompressed by the image decompressing means 104, the time for outputting the time-adjusted characteristic information required by the weighting eliminating means 203 in the subsequent stage. It is an adjusting means.

【0037】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。特徴検出手段401は、
入力画像データの1フレーム毎の画像データの特徴を検
出し、特徴情報として出力する。本実施の形態3では、
特徴情報の例として、フレーム内のRGB各色の最大値
と最小値を求め、これを特徴情報として出力するものと
する。RGB各色の最大値をRmax、Gmax、Bm
axとし、RGB各色の最小値をRmin、Gmin、
Bminとし、さらに、RGB各色の入力画像データの
ダイナミックレンジは0から255とする。よってRm
ax、Gmax、Bmax、及びRmin、Gmin、
Bminは0から255までの値となる。
The operation of the image compression / decompression processing apparatus configured as described above will be described below. The feature detecting means 401 is
The feature of the image data of each frame of the input image data is detected and output as feature information. In the third embodiment,
As an example of the characteristic information, it is assumed that the maximum value and the minimum value of each color of RGB in the frame are obtained and this is output as the characteristic information. The maximum value of each color of RGB is Rmax, Gmax, Bm
ax, and the minimum value of each RGB color is Rmin, Gmin,
Bmin, and the dynamic range of the input image data of each color of RGB is 0 to 255. Therefore Rm
ax, Gmax, Bmax, and Rmin, Gmin,
Bmin has a value of 0 to 255.

【0038】ダイナミックレンジ拡大手段402は、特
徴情報に応じて入力画像データのダイナミックレンジを
拡大しダイナミックレンジ拡大データとして出力する。
RGB各色の入力画像データをRi、Gi、Biとし、
RGB各色のダイナミックレンジ拡大データをRo、G
o、Boとすると、以下の関係式が成り立つようにダイ
ナミックレンジを拡大する。 Ro=255/(Rmax−Rmin)×(Ri−Rm
in) Go=255/(Gmax−Gmin)×(Gi−Gm
in) Bo=255/(Bmax−Bmin)×(Bi−Bm
in) 上記特徴検出手段401で特徴情報を算出したフレーム
と、ダイナミックレンジ拡大手段402で特性を変化さ
せるフレームとは同一のフレームである。この処理を施
すことにより、ダイナミックレンジ拡大手段402から
出力されるダイナミックレンジ拡大データは、0から2
55のダイナミックレンジを有するようになる。図6に
ダイナミックレンジ拡大手段における特性例を示す。
The dynamic range expansion means 402 expands the dynamic range of the input image data according to the characteristic information and outputs it as dynamic range expansion data.
The input image data of each RGB color is Ri, Gi, Bi,
Dynamic range expansion data of each RGB color is Ro, G
If o and Bo, the dynamic range is expanded so that the following relational expression holds. Ro = 255 / (Rmax-Rmin) * (Ri-Rm
in) Go = 255 / (Gmax-Gmin) * (Gi-Gm)
in) Bo = 255 / (Bmax-Bmin) * (Bi-Bm)
in) The frame for which the characteristic information is calculated by the characteristic detecting unit 401 and the frame whose characteristic is changed by the dynamic range expanding unit 402 are the same frame. By performing this process, the dynamic range expansion data output from the dynamic range expansion means 402 is from 0 to 2
It has a dynamic range of 55. FIG. 6 shows an example of characteristics of the dynamic range expanding means.

【0039】なお、画像圧縮手段102、画像蓄積手段
103、画像伸長手段104の動作は実施の形態1で示
した内容と同様なので、ここではその説明を省略する。
時間調整手段404は、特徴情報を保持して、画像蓄積
手段103から得た蓄積画像データを取り出し、画像伸
長手段104が伸長を行うタイミングで、ダイナミック
レンジ復元手段403へ時間調整済み特徴情報を出力す
る。
The operations of the image compression means 102, the image storage means 103, and the image decompression means 104 are the same as the contents shown in the first embodiment, and therefore their explanations are omitted here.
The time adjusting means 404 holds the characteristic information, extracts the accumulated image data obtained from the image accumulating means 103, and outputs the time adjusted characteristic information to the dynamic range restoring means 403 at the timing at which the image expanding means 104 expands. To do.

【0040】上記特徴情報は、フレーム毎に作成される
情報であり、時間調整済み特徴情報も同様に各フレーム
毎に対応する情報である。特徴情報Rmax、Gma
x、Bmax、Rmin、Gmin、Bminに対応す
る時間調整済み特徴情報を、dRmax、dGmax、
dBmax、dRmin、dGmin、dBminとす
る。
The characteristic information is information created for each frame, and the time-adjusted characteristic information is also information corresponding to each frame. Characteristic information Rmax, Gma
The time-adjusted characteristic information corresponding to x, Bmax, Rmin, Gmin, and Bmin is set to dRmax, dGmax,
dBmax, dRmin, dGmin, and dBmin.

【0041】ダイナミックレンジ復元手段403は、時
間調整済み特徴情報に応じて、伸長画像データのダイナ
ミックレンジを縮小し、ダイナミックレンジ復元データ
として出力する。RGB各色の伸長画像データをdR
i、dGi、dBiとし、RGB各色のダイナミックレ
ンジ復元データをdRo、dGo、dBoとすると以下
の関係式が成り立つようにダイナミックレンジを変更す
る。 dRo=(dRmax−dRmin)/255×dRi
+dRmin dGo=(dGmax−dGmin)/255×dGi
+dGmin dBo=(dBmax−dBmin)/255×dBi
+dBmin すなわちダイナミックレンジ拡大手段402の入力であ
る入力画像データと、ダイナミックレンジ復元手段40
3の出力であるダイナミックレンジ復元データとはリニ
アな関係となる。図7にダイナミックレンジ復元手段に
おける特性例を示す。表示手段105は、ダイナミック
レンジが復元されたデータを表示する。
The dynamic range restoration means 403 reduces the dynamic range of the decompressed image data according to the time-adjusted characteristic information and outputs it as dynamic range restored data. Expanded image data of each RGB color is dR
If i, dGi, and dBi and the dynamic range restoration data of each color of RGB is dRo, dGo, and dBo, the dynamic range is changed so that the following relational expression is established. dRo = (dRmax-dRmin) / 255 * dRi
+ DRmin dGo = (dGmax-dGmin) / 255 * dGi
+ DGmin dBo = (dBmax-dBmin) / 255 * dBi
+ DBmin, that is, the input image data which is the input of the dynamic range expanding means 402 and the dynamic range restoring means 40.
It has a linear relationship with the dynamic range restoration data which is the output of No. 3. FIG. 7 shows an example of characteristics of the dynamic range restoring means. The display unit 105 displays the data whose dynamic range has been restored.

【0042】このように本実施の形態3によれば、ダイ
ナミックレンジ拡大手段402においてフレーム毎の映
像の特徴に応じてダイナミックレンジを拡大し、その結
果を画像圧縮手段102で圧縮し、さらに画像伸長手段
104で伸長した後にダイナミックレンジ復元手段40
3で元に戻す処理を行うことで、画像フレーム全体に関
して、表示手段105の前段の重み付け解消手段203
で1以下の低いゲインをかけることになるが、入力画像
データにはダイナミックレンジ拡大手段402により予
め1以上の高いゲインをかけてあるので、入力画像デー
タとダイナミックレンジ復元データとで階調表現は保持
されることになる。このことにより伸長画像データには
1以下の低いゲインがかかるので、ブロックノイズやモ
スキートノイズが含まれている場合もノイズ成分を軽減
することができる。
As described above, according to the third embodiment, the dynamic range expansion means 402 expands the dynamic range in accordance with the characteristics of the image in each frame, the result is compressed by the image compression means 102, and the image expansion is further performed. Dynamic range restoring means 40 after expansion by means 104
By performing the undoing process in 3, the weighting elimination means 203 in the preceding stage of the display means 105 for the entire image frame.
, A low gain of 1 or less is applied, but since the input image data is previously applied with a high gain of 1 or more by the dynamic range expanding means 402, the tone expression is represented by the input image data and the dynamic range restoration data. Will be retained. As a result, a low gain of 1 or less is applied to the decompressed image data, so that the noise component can be reduced even when block noise or mosquito noise is included.

【0043】なお、本実施の形態で用いたダイナミック
レンジ拡大手段402、及びダイナミックレンジ復元手
段403で用いた演算は1つの例であり、ダイナミック
レンジ拡大手段402でダイナミックレンジを拡大し、
かつでダイナミックレンジ復元手段403でダイナミッ
クレンジを復元する演算であれば他の演算であっても同
等の効果が得られる。
The calculation used by the dynamic range expanding means 402 and the dynamic range restoring means 403 used in the present embodiment is one example, and the dynamic range expanding means 402 expands the dynamic range.
As long as the calculation is performed by the dynamic range restoring means 403 to restore the dynamic range, the same effect can be obtained with other calculations.

【0044】(実施の形態4)次に本発明の実施の形態
4にかかる画像圧縮伸長処理装置について説明する。図
8は本発明の実施の形態4にかかる画像圧縮伸長処理装
置の構成を示すブロック図である。図において、図1と
同一符号は同一、または相当部分を示し、501はガン
マ補正手段101の出力である補正画像データを非可逆
な画像圧縮方式で圧縮し、ストリームデータに対して既
にガンマ補正済みのデータであることを示すフラグ付加
する補正情報付加機能付き画像圧縮手段、502は画像
蓄積手段103より画像データを読み出し、上記補正情
報付加機能付き画像圧縮手段501で圧縮を行った方式
に対応する逆変換で伸長して伸長画像データとして出力
する補正情報検出機能付き画像伸長手段、503はイネ
ーブル情報が「真」の場合は伸長画像データに対して補
正処理を行い補正伸長画像データとして出力するイネー
ブル付きガンマ補正手段である。
(Fourth Embodiment) Next, an image compression / decompression processing apparatus according to a fourth embodiment of the present invention will be described. FIG. 8 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the fourth embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 1 denote the same or corresponding portions, and 501 represents the corrected image data output from the gamma correction means 101, which is compressed by an irreversible image compression method, and the stream data has already been gamma-corrected. The image compression unit with a correction information addition function for adding a flag indicating that the data is data 502 corresponds to the method in which the image data is read from the image storage unit 103 and is compressed by the image compression unit 501 with the correction information addition function. An image decompression means with a correction information detection function for decompressing by inverse conversion and outputting as decompressed image data. Reference numeral 503 denotes an enable for performing correction processing on the decompressed image data when the enable information is "true" and outputting as corrected decompressed image data. It is an attached gamma correction means.

【0045】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。ガンマ補正手段101の
動作は、本発明の実施の形態1で示したものと同様なの
でここでは、その説明は省略する。次に上記補正情報付
加機能付き圧縮手段501は、ガンマ補正手段101の
出力である補正画像データを非可逆な画像圧縮方式で圧
縮し、ストリームデータに対して既にガンマ補正済みの
データであることを示すフラグ付加し、補正情報付き圧
縮画像データとして出力する。なお、ストリーム中のフ
ラグの付加方法については特に限定しない。画像蓄積手
段103は、補正情報付き圧縮画像データを蓄積する。
内部に蓄積した画像データは必要に応じて蓄積画像デー
タとして取り出すことができる。
The operation of the image compression / decompression processing device configured as described above will be described below. The operation of the gamma correction means 101 is the same as that shown in the first embodiment of the present invention, and therefore its explanation is omitted here. Next, the compression means with correction information addition function 501 compresses the corrected image data output from the gamma correction means 101 by an irreversible image compression method, and confirms that the stream data has already been gamma-corrected. The flag shown is added and output as compressed image data with correction information. The method of adding the flag in the stream is not particularly limited. The image storage means 103 stores the compressed image data with correction information.
The image data accumulated inside can be taken out as accumulated image data as needed.

【0046】次に補正情報検出機能付き画像伸長手段5
02は、蓄積画像データを補正情報付加機能付き画像圧
縮手段501で圧縮を行った方式に対応する、逆変換を
行ってデータを伸長して伸長画像データとして出力す
る。また、ストリーム中に補正情報付加機能付き圧縮手
段501で付加したフラグの有無を検出する検出機能を
有する。ここで、フラグを検出した場合はイネーブル情
報を「偽」として出力し、フラグを検出しなかった場合
にはイネーブル情報を「真」として出力する。
Next, the image expansion means 5 with the correction information detection function
Reference numeral 02 performs inverse conversion corresponding to the method of compressing the stored image data by the image compression means with correction information addition function 501 to decompress the data and output it as decompressed image data. Further, it has a detection function of detecting the presence or absence of the flag added by the compression means 501 with the correction information addition function in the stream. Here, when the flag is detected, the enable information is output as “false”, and when the flag is not detected, the enable information is output as “true”.

【0047】イネーブル付きガンマ補正手段503は、
イネーブル情報が「真」の場合は伸長画像データに対し
て補正処理を行い、補正伸長画像データとして出力す
る。補正処理の内容は、ガンマ補正手段101と同様の
処理である。一方、イネーブル情報が「偽」の場合に
は、何も処理せず伸長画像データをそのまま補正伸長画
像データとして出力する。表示手段105は補正伸長画
像データを表示する。表示手段105は液晶パネル等の
非線形入力輝度特性の有するデバイスを用いた表示手段
である。
The gamma correction means 503 with enable is
If the enable information is "true", the expanded image data is corrected and output as corrected expanded image data. The content of the correction process is the same as that of the gamma correction unit 101. On the other hand, when the enable information is “false”, the expanded image data is directly output as the corrected expanded image data without any processing. The display means 105 displays the corrected decompressed image data. The display means 105 is a display means using a device having a nonlinear input luminance characteristic such as a liquid crystal panel.

【0048】このように本実施の形態4によれば、画像
圧縮を行う前に、予めガンマ補正を行った場合には、そ
のことを示すフラグを付加することで、画像伸長時にガ
ンマ補正済みの画像か、あるいはガンマ補正なしの画像
か、を検知し、表示手段105の前段でのガンマ補正の
要否を選択する。このことにより、画像圧縮を行う前に
予めガンマ補正を行った場合には、伸長画像データにブ
ロックノイズやモスキートノイズが含まれている場合で
も、ブロックノイズやモスキートノイズをガンマ補正で
強調することなく表示でき、また、ガンマ補正が行われ
ていない画像データについては、ガンマ補正を行い表示
することができる。
As described above, according to the fourth embodiment, when gamma correction is performed in advance before image compression, a flag indicating that is added, so that the gamma correction is completed when the image is expanded. An image or an image without gamma correction is detected, and the necessity of gamma correction in the preceding stage of the display unit 105 is selected. As a result, when gamma correction is performed in advance before image compression, even if the decompressed image data contains block noise or mosquito noise, the block noise or mosquito noise is not emphasized by gamma correction. Image data that can be displayed and that has not been gamma-corrected can be gamma-corrected and displayed.

【0049】(実施の形態5)次に本発明の実施の形態
5にかかる画像圧縮伸長処理装置について説明する。図
9は本発明の実施の形態5にかかる画像圧縮伸長処理装
置の構成を示すブロック図である。図において、図1と
同一符号は同一、または相当部分を示し、601は入力
画像ストリームの先頭にこのストリームがガンマ補正済
みであることを示す識別記号を付加した基準画像を挿入
する基準画像挿入手段、602は伸長画像ストリームの
先頭フレームの画像を調べる基準画像判定手段、603
はイネーブル情報が「真」の場合は伸長画像データに対
して補正処理を行い補正伸長画像データとして出力する
イネーブル付きガンマ補正手段である。
(Fifth Embodiment) Next, an image compression / decompression processing apparatus according to a fifth embodiment of the present invention will be described. FIG. 9 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the fifth embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 1 indicate the same or corresponding portions, and 601 is a reference image inserting means for inserting a reference image at the beginning of an input image stream with an identification symbol indicating that this stream has been gamma-corrected. 602 is a reference image determination means for checking the image of the first frame of the decompressed image stream, 603
Is a gamma correction unit with an enable that corrects the expanded image data when the enable information is "true" and outputs the corrected expanded image data as corrected expanded image data.

【0050】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。基準画像挿入手段601
は、入力画像ストリームの先頭に、このストリームがガ
ンマ補正済みであることを識別するために、識別記号を
付加した基準画像を挿入し、基準画像挿入済みストリー
ムとして出力する。
The operation of the image compression / expansion processing apparatus configured as described above will be described below. Reference image inserting means 601
Inserts a reference image added with an identification symbol at the beginning of the input image stream in order to identify that this stream has been gamma-corrected, and outputs it as a reference image inserted stream.

【0051】ガンマ補正手段101は上記基準画像挿入
手段601より出力された基準画像挿入済みストリーム
に対して補正処理を行い、補正画像ストリームとして出
力する。ここでの補正処理の内容は、表示手段105単
体が有する入力輝度測定の非線形性を補正することであ
る。このことにより、ガンマ補正手段101に入力する
基準画像挿入済みストリームに対する表示手段105の
輝度特性を所望のガンマ特性、例えばγ=2.2とすること
ができる。
The gamma correction means 101 performs correction processing on the reference image inserted stream output from the reference image insertion means 601 and outputs it as a corrected image stream. The content of the correction process here is to correct the non-linearity of the input luminance measurement that the display unit 105 alone has. As a result, the luminance characteristic of the display unit 105 for the reference image inserted stream input to the gamma correction unit 101 can be set to a desired gamma characteristic, for example, γ = 2.2.

【0052】画像圧縮手段102は、補正画像ストリー
ムを非可逆な画像圧縮方式で圧縮し、圧縮画像ストリー
ムとして出力する。画像蓄積手段103は、上記画像圧
縮手段102から出力された圧縮画像ストリームを蓄積
する。内部に蓄積した伸長画像ストリームは必要に応じ
て蓄積画像ストリームとして取り出すことができる。画
像伸長手段104は、画像蓄積手段103に蓄積された
蓄積画像データを画像圧縮手段102で圧縮を行った方
式に対応する逆変換で伸長し、伸長画像データとして出
力する。基準画像判定手段602は、伸長画像ストリー
ムの先頭フレームの画像を調べ、基準画像挿入手段60
1で付加することができる識別記号の有無を判別する。
The image compression means 102 compresses the corrected image stream by an irreversible image compression method and outputs it as a compressed image stream. The image storage unit 103 stores the compressed image stream output from the image compression unit 102. The decompressed image stream stored inside can be taken out as a stored image stream as needed. The image decompressing unit 104 decompresses the accumulated image data accumulated in the image accumulating unit 103 by inverse conversion corresponding to the method compressed by the image compressing unit 102, and outputs it as decompressed image data. The reference image determining unit 602 checks the image of the first frame of the decompressed image stream, and the reference image inserting unit 60.
The presence or absence of the identification symbol that can be added in 1 is determined.

【0053】識別記号がある場合には、イネーブル情報
を「偽」として出力し、識別信号がない場合にはイネー
ブル信号を「真」として出力する。イネーブル付きガン
マ補正手段503は、イネーブル情報が「真」の場合は
伸長画像データに対して補正処理を行い、補正伸長画像
データとして出力する。補正処理の内容は、ガンマ補正
手段101と同様の処理である。一方、イネーブル情報
が「偽」の場合には、何も処理せず伸長画像データをそ
のまま補正伸長画像データとして出力する。表示手段1
05は補正伸長された画像データを表示する。表示手段
105は液晶パネル等の非線形入力輝度特性の有するデ
バイスを用いた表示手段である。
If there is an identification symbol, the enable information is output as "false", and if there is no identification signal, the enable signal is output as "true". When the enable information is “true”, the gamma correction unit with enable 503 performs a correction process on the expanded image data and outputs it as corrected expanded image data. The content of the correction process is the same as that of the gamma correction unit 101. On the other hand, when the enable information is “false”, the expanded image data is directly output as the corrected expanded image data without any processing. Display means 1
Reference numeral 05 displays the image data that has been corrected and expanded. The display means 105 is a display means using a device having a nonlinear input luminance characteristic such as a liquid crystal panel.

【0054】このように本実施の形態5によれば、基準
画像挿入手段601を設け、画像圧縮を行う前に予めガ
ンマ補正を行う際には、ストリームの先頭に基準画像を
付加することで、画像伸長時にガンマ補正済みの画像か
ガンマ補正なしの画像か検知し、ガンマ補正済みの画像
の場合はガンマ補正での階調変換の特性を検知し、表示
手段の前段でのガンマ補正の要否を選択することができ
る。
As described above, according to the fifth embodiment, the reference image inserting unit 601 is provided, and when the gamma correction is performed in advance before the image compression, the reference image is added to the head of the stream. Whether the image is gamma-corrected or non-gamma-corrected during image expansion, and in the case of gamma-corrected images, the characteristics of gradation conversion in gamma correction are detected, and whether gamma correction is necessary before the display means Can be selected.

【0055】このことにより、画像圧縮を行う前に予め
ガンマ補正を行った場合には、伸長画像データにブロッ
クノイズやモスキートノイズが含まれている場合でも、
これをガンマ補正で強調することなく表示でき、ガンマ
補正が行われていない画像データについてはガンマ補正
を行い表示することができる。この際、画像圧縮手段及
び画像伸長手段は汎用的なものを使用できる。
As a result, when gamma correction is performed in advance before image compression, even if decompressed image data contains block noise or mosquito noise,
This can be displayed without being emphasized by gamma correction, and image data that has not been gamma corrected can be gamma corrected and displayed. At this time, general-purpose image compression means and image expansion means can be used.

【0056】(実施の形態6)次に本発明の実施の形態
6にかかる画像圧縮伸長処理装置について説明する。図
10は本発明の実施の形態6にかかる画像圧縮伸長処理
装置の構成を示すブロック図である。図において、図1
及び図9と同一符号は同一、または相当部分を示し、7
01は入力画像ストリームの先頭に基準画像を挿入する
階調情報付き基準画像挿入手段、702は伸長画像スト
リームの先頭フレームの画像を調べる階調情報付き基準
画像判定手段である。
(Sixth Embodiment) Next, an image compression / decompression processing apparatus according to a sixth embodiment of the present invention will be described. FIG. 10 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the sixth embodiment of the present invention. In the figure,
The same reference numerals as those in FIG. 9 indicate the same or corresponding portions, and
Reference numeral 01 is a reference image insertion unit with gradation information for inserting a reference image at the beginning of the input image stream, and reference numeral 702 is a reference image determination unit with gradation information for examining the image of the first frame of the expanded image stream.

【0057】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。階調情報付き基準画像挿
入手段701は、入力画像ストリームの先頭に基準画像
を挿入する。基準画像は1フレーム内でRGB各色の輝
度レベルが最小レベルから最大レベルまで順次リニアに
変化する画像である。本実施の形態6では、例として、
水平方向に変化するランプ波形を想定する。基準画像に
は、識別記号も同時に挿入する。
The operation of the image compression / expansion processing apparatus configured as described above will be described below. The reference image inserting unit 701 with gradation information inserts the reference image at the beginning of the input image stream. The reference image is an image in which the brightness level of each of the RGB colors changes linearly from the minimum level to the maximum level within one frame. In the sixth embodiment, as an example,
Assume a ramp waveform that changes horizontally. An identification symbol is also inserted into the reference image at the same time.

【0058】ガンマ補正手段101は階調情報付き基準
画像挿入済みストリームに対して補正処理を行い、補正
画像ストリームとして出力する。補正処理の内容は、表
示手段105単体が有する入力輝度測定の非線形性を補
正することである。このことにより、ガンマ補正手段1
01に入力する基準画像挿入済みストリームに対する、
表示手段105の輝度特性を所望のガンマ特性、例えば
γ=2.2とすることができる。
The gamma correction means 101 performs a correction process on the standard image inserted stream with gradation information and outputs it as a corrected image stream. The content of the correction process is to correct the non-linearity of the input luminance measurement that the display unit 105 itself has. As a result, the gamma correction means 1
For the reference image inserted stream input to 01,
The brightness characteristic of the display unit 105 can be set to a desired gamma characteristic, for example, γ = 2.2.

【0059】画像圧縮手段102は、補正画像ストリー
ムを非可逆な画像圧縮方式で圧縮し、圧縮画像ストリー
ムとして出力する。画像蓄積手段103は、圧縮画像ス
トリームを蓄積する。内部に蓄積した伸長画像ストリー
ムは必要に応じて蓄積画像ストリームとして取り出すこ
とができる。画像伸長手段104は、蓄積画像データを
画像圧縮手段102で圧縮を行った方式に対応する逆変
換で伸長し伸長画像データとして出力する。
The image compression means 102 compresses the corrected image stream by an irreversible image compression method and outputs it as a compressed image stream. The image storage unit 103 stores the compressed image stream. The decompressed image stream stored inside can be taken out as a stored image stream as needed. The image decompressing unit 104 decompresses the accumulated image data by inverse conversion corresponding to the method compressed by the image compressing unit 102 and outputs the decompressed image data as decompressed image data.

【0060】階調情報付き基準画像判定手段702は、
伸長画像ストリームの先頭フレームの画像を調べ、階調
情報付き基準画像挿入手段701で付加することができ
る識別記号の有無を判別する。識別記号がある場合は、
識別記号検知フラグをイネーブルにし、このフレーム内
でRGB各色の輝度レベルが最小レベルから最大レベル
まで変化する際の階調変化の特性を調べて階調情報とし
て出力する。一方、識別記号がない場合は、識別記号検
知フラグをディセーブルにして出力する。
The reference image judging means 702 with gradation information is
The image of the first frame of the decompressed image stream is examined, and it is determined whether or not there is an identification symbol that can be added by the reference image insertion unit with gradation information 701. If there is an identification symbol,
The identification symbol detection flag is enabled, and the characteristics of the gradation change when the brightness level of each color of RGB changes from the minimum level to the maximum level in this frame are checked and output as gradation information. On the other hand, when there is no identification code, the identification code detection flag is disabled and output.

【0061】階調変更機能付きガンマ補正手段703
は、識別記号検知フラグが「真」の場合は、階調情報付
き基準画像判定手段702が出力する階調情報が表示手
段105の単体が有する入力輝度測定の非線形性を補正
するものと一致するか否かを判別し、一致する場合には
伸長画像ストリームをそのまま補正伸長画像ストリーム
として出力し、一方、一致しない場合には、階調情報に
よる特性をゲイン1のリニアな特性に補正した後、伸長
画像ストリームに対して表示手段105の単体が有する
入力輝度測定の非線形性を補正する補正処理を行い補正
伸長画像ストリームとして出力する。
Gamma correction means 703 with gradation changing function
When the identification symbol detection flag is “true”, the gradation information output by the gradation information-attached reference image determination unit 702 matches that for correcting the non-linearity of the input luminance measurement that the display unit 105 alone has. If they do not match, the decompressed image stream is output as is as a corrected decompressed image stream. On the other hand, if they do not match, the characteristic based on the gradation information is corrected to the linear characteristic of gain 1, and The decompressed image stream is subjected to a correction process for correcting the non-linearity of the input luminance measurement that the display unit 105 has alone, and is output as a corrected decompressed image stream.

【0062】また、識別記号検知フラグが「偽」の場合
は、伸長画像ストリームに対して、表示手段105の単
体が有する入力輝度測定の非線形性を補正する補正処理
を行い、補正伸長画像ストリームとして出力する。表示
手段105は補正伸長画像ストリームを表示する。表示
手段105は液晶パネル等の非線形入力輝度特性の有す
るデバイスを用いた表示手段である。
When the identification symbol detection flag is "false", the decompressed image stream is subjected to a correction process for correcting the non-linearity of the input luminance measurement which the display means 105 alone has, and a corrected decompressed image stream is obtained. Output. The display unit 105 displays the corrected decompressed image stream. The display means 105 is a display means using a device having a nonlinear input luminance characteristic such as a liquid crystal panel.

【0063】このように本実施の形態6によれば、画像
圧縮を行う前に予めガンマ補正を行う際には、ストリー
ムの先頭に基準画像を付加することで、画像伸長時にガ
ンマ補正済みの画像かガンマ補正なしの画像かを判定
し、ガンマ補正済みの画像の場合は、ガンマ補正での階
調変換の特性を検知し、後段の表示手段と一致するか否
かを判別し表示手段の前段でのガンマ補正の要否を選択
する。
As described above, according to the sixth embodiment, when gamma correction is performed in advance before image compression, the reference image is added to the beginning of the stream so that the gamma-corrected image is added when the image is expanded. It is determined whether the image is gamma-corrected or not, and in the case of an image that has been gamma-corrected, the characteristics of gradation conversion in gamma-correction are detected, and it is determined whether or not they match the display means of the latter stage and the former stage of the display means. Select whether or not to perform gamma correction in.

【0064】このことにより、画像圧縮を行う前に予め
ガンマ補正を行った場合には、伸長画像データにブロッ
クノイズやモスキートノイズが含まれている場合でも、
これをガンマ補正で強調することなく表示でき、ガンマ
補正が行われていない画像データについては、ガンマ補
正を行い表示することができる。また、画像圧縮を行う
前に予め行ったガンマ補正が表示手段のガンマ補正に適
したものでなければ、これを使用せずに表示することが
できる。この際、画像圧縮手段102及び画像伸長手段
104は汎用的なものを使用することができる。
As a result, when gamma correction is performed in advance before image compression, even when the decompressed image data contains block noise or mosquito noise,
This can be displayed without being emphasized by gamma correction, and image data that has not been gamma corrected can be displayed after gamma correction. If the gamma correction performed before the image compression is not suitable for the gamma correction of the display unit, it can be displayed without using it. At this time, general-purpose image compression means 102 and image expansion means 104 can be used.

【0065】(実施の形態7)次に本発明の実施の形態
7にかかる画像圧縮伸長処理装置について説明する。図
11は本発明の実施の形態7にかかる画像圧縮伸長処理
装置の構成を示すブロック図である。図において、図1
と同一符号は同一、または相当部分を示し、801は圧
縮画像データを伝送路803で転送可能なプロトコルに
変換して送信データとして送出する送信手段、802は
伝送路803から送信データを受け取り、画像伸長手段
104で処理可能な受信データとして出力する受信手段
である。また、上記伝送路803によって上記送信手段
801と受信手段802とは接続されている。
(Seventh Embodiment) Next, an image compression / decompression processing apparatus according to a seventh embodiment of the present invention will be described. FIG. 11 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the seventh embodiment of the present invention. In the figure,
801 indicates the same or a corresponding portion, 801 is a transmission means for converting the compressed image data into a protocol that can be transferred by the transmission path 803 and transmitting it as transmission data, and 802 receives the transmission data from the transmission path 803, The receiving means outputs the received data that can be processed by the expanding means 104. The transmission means 801 and the reception means 802 are connected by the transmission path 803.

【0066】以上のように構成された画像圧縮伸長処理
装置の動作を以下に説明する。ガンマ補正手段101は
入力画像データに対して補正処理を行い、補正画像デー
タとして出力する。補正処理の内容は、表示手段105
単体が有する入力輝度特性の非線形性を補正することで
ある。このことにより、ガンマ補正手段101に入力す
る入力画像データに対する表示手段105の輝度特性を
所望のガンマ特性、例えばγ=2.2とすることができる。
このガンマ補正手段101の特性例は図1に示した通り
である。
The operation of the image compression / decompression processing device configured as described above will be described below. The gamma correction unit 101 performs correction processing on the input image data and outputs it as corrected image data. The content of the correction process is displayed on the display unit 105.
This is to correct the non-linearity of the input luminance characteristic of a single unit. As a result, the luminance characteristic of the display unit 105 with respect to the input image data input to the gamma correction unit 101 can be set to a desired gamma characteristic, for example, γ = 2.2.
An example of characteristics of the gamma correction means 101 is as shown in FIG.

【0067】画像圧縮手段102は、非可逆な画像圧縮
方式で圧縮し、圧縮画像データとして出力する。送信手
段801は、圧縮画像データを伝送路803で転送可能
なプロトコルに変換し送信データとして送出する。伝送
路803は、送信データを受信手段802に伝達する。
The image compression means 102 compresses by an irreversible image compression method and outputs it as compressed image data. The transmission unit 801 converts the compressed image data into a protocol that can be transferred by the transmission path 803 and sends it as transmission data. The transmission path 803 transmits the transmission data to the receiving means 802.

【0068】受信手段802は、伝送路803から送信
データを受け取り、画像伸長手段104で処理可能な受
信データとして出力する。なお、送信手段801と受信
手段802と伝送路803は、特に本実施の形態7で処
理する画像データ専用のデータ伝送手段である必要はな
く、有線及び無線の汎用的なネットワークでこれらを実
現しても同様の効果が得られる。
The receiving means 802 receives the transmission data from the transmission path 803 and outputs it as the reception data which can be processed by the image expanding means 104. The transmitting unit 801, the receiving unit 802, and the transmission path 803 do not need to be data transmitting units dedicated to the image data processed in the seventh embodiment, and can be realized by a general-purpose wired or wireless network. However, the same effect can be obtained.

【0069】画像伸長手段104は、蓄積画像データを
画像圧縮手段102で圧縮を行った方式に対応する逆変
換で伸長し、伸長画像データとして出力する。表示手段
105は伸長画像データを表示する。表示手段105は
液晶パネル等の非線形入力輝度特性の有するデバイスを
用いた表示手段である。
The image decompression means 104 decompresses the accumulated image data by inverse conversion corresponding to the method compressed by the image compression means 102, and outputs it as decompressed image data. The display means 105 displays the expanded image data. The display means 105 is a display means using a device having a nonlinear input luminance characteristic such as a liquid crystal panel.

【0070】このように本実施の形態7によれば、画像
圧縮手段102と画像伸長手段104とが伝送路803
で接続される場合であっても、画像伸長手段104から
出力される伸長画像データを直接表示手段105で表示
する。このことにより、伸長画像データにブロックノイ
ズやモスキートノイズが含まれている場合でも、これを
ガンマ補正等で強調することなく表示できる。
As described above, according to the seventh embodiment, the image compression means 102 and the image decompression means 104 are connected to the transmission line 803.
Even when the connection is made with, the expanded image data output from the image expansion unit 104 is displayed directly on the display unit 105. As a result, even if the decompressed image data contains block noise or mosquito noise, it can be displayed without being emphasized by gamma correction or the like.

【0071】(実施の形態8)次に本発明の実施の形態
8にかかる画像圧縮伸長処理装置について説明する。図
13は本発明の実施の形態8にかかる画像圧縮伸長処理
装置の構成を示すブロック図である。図において、図1
と同一符号は同一、または相当部分を示し、901は、
入力画像データに対して、表示手段105が有する固有
の色再現性を補正するマスキング処理を行い、補正画像
データとして出力する色補正手段である。
(Embodiment 8) Next, an image compression / decompression processing apparatus according to Embodiment 8 of the present invention will be described. FIG. 13 is a block diagram showing the structure of the image compression / decompression processing apparatus according to the eighth embodiment of the present invention. In the figure,
901 indicates the same or corresponding part, and 901 indicates
It is a color correction unit that performs a masking process for correcting the unique color reproducibility of the display unit 105 on the input image data and outputs the corrected image data as corrected image data.

【0072】上記マスキング処理の具体的な実現方法と
しては、線形マトリクス演算、非線形マトリクス演算、
テーブル参照法などの種々の方法が考えられる。例え
ば、マスキング処理を3×3のマトリクス演算にて実現
する場合の、入力画像データR0,G0、B0と補正画
像データR0’,G0’、B0’の関係を数1式に示
す。
As a concrete method of realizing the masking process, a linear matrix operation, a non-linear matrix operation,
Various methods such as a table reference method are possible. For example, the relationship between the input image data R0, G0, B0 and the corrected image data R0 ′, G0 ′, B0 ′ when the masking process is realized by a 3 × 3 matrix calculation is shown in Formula 1.

【0073】[0073]

【数1】 数1式の各マトリクス係数は表示手段105の色補正を
行うように求められたものである。その他の構成要素は
実施の形態1と同様である。
[Equation 1] Each matrix coefficient of the equation 1 is obtained so as to perform the color correction of the display means 105. The other components are the same as those in the first embodiment.

【0074】以上のような構成とすることで、画像伸長
手段104から出力される伸長画像データを直接、画像
表示手段105によって表示するようにしたので、伸長
画像データにブロックノイズやモスキートノイズが含ま
れている場合においても、これを色補正処理で強調する
ことなく表示することができる。
With the above arrangement, the expanded image data output from the image expansion means 104 is directly displayed by the image display means 105, so that the expanded image data contains block noise and mosquito noise. Even if it is displayed, it can be displayed without being emphasized by the color correction processing.

【0075】(実施の形態9)次に本発明の実施の形態
9にかかる画像圧縮伸長処理装置について説明する。図
14は本発明の実施の形態9にかかる画像圧縮伸長処理
装置の構成を示すブロック図である。図において、図9
と同一符号は同一、または相当部分を示し、図9のガン
マ補正手段を色補正手段901に置き換え、イネーブル
付きガンマ補正手段をイネーブル付き色補正手段902
に置き換えられているのが特徴である。他の構成要素に
ついては図9と同一である。
(Ninth Embodiment) Next, an image compression / decompression processing apparatus according to a ninth embodiment of the present invention will be described. FIG. 14 is a block diagram showing the configuration of the image compression / decompression processing apparatus according to the ninth embodiment of the present invention. In the figure, FIG.
9 indicates the same or corresponding portions, the gamma correction means in FIG.
It is characterized by being replaced by. Other components are the same as those in FIG.

【0076】次に動作について説明する。基準画像挿入
手段601は、入力画像ストリームの先頭にこのストリ
ームが色補正済みであることを示す識別記号を付加した
基準画像を挿入し、基準画像挿入済みストリームとして
出力する。色補正手段901の動作は、本発明の実施の
形態8で示した内容と同様なので、ここではその説明を
省略する。
Next, the operation will be described. The reference image inserting unit 601 inserts a reference image with an identification symbol indicating that the stream has been color-corrected at the beginning of the input image stream, and outputs the reference image inserted stream. The operation of the color correction unit 901 is the same as the contents shown in the eighth embodiment of the present invention, and therefore its explanation is omitted here.

【0077】画像圧縮手段102は、補正画像ストリー
ムを非可逆な画像圧縮方式で圧縮し、圧縮画像ストリー
ムとして出力する。画像蓄積手段103は、圧縮画像ス
トリームを蓄積する。内部に蓄積した伸長画像ストリー
ムは、必要に応じて蓄積画像ストリームとして取り出す
ことができる。画像伸長手段104は、蓄積画像データ
を画像圧縮手段102で圧縮を行った方式に対応する逆
変換で伸長し、伸長画像データとして出力する。
The image compression means 102 compresses the corrected image stream by an irreversible image compression method and outputs it as a compressed image stream. The image storage unit 103 stores the compressed image stream. The decompressed image stream accumulated inside can be taken out as an accumulated image stream as needed. The image decompressing unit 104 decompresses the accumulated image data by inverse conversion corresponding to the method compressed by the image compressing unit 102, and outputs it as decompressed image data.

【0078】基準画像判定手段は602は、伸長画像ス
トリームの先頭フレームの画像を調べ、基準画像挿入手
段601で付加することができる識別記号の有無を判別
する。識別記号がある場合にはイネーブル情報を「偽」
として出力し、識別信号がない場合にはイネーブル信号
を「真」として出力する。
The reference image determining means 602 examines the image of the first frame of the decompressed image stream and determines whether or not there is an identification symbol that can be added by the reference image inserting means 601. If there is an identification symbol, enable information is "false"
When there is no identification signal, the enable signal is output as "true".

【0079】イネーブル付き色補正手段902は、イネ
ーブル情報が「真」の場合は、伸長画像データに対して
補正処理を行い、補正伸長画像データとして出力する。
補正処理の内容は、色補正手段901と同様の処理であ
る。また、イネーブル情報が「偽」の場合には、何も処
理せず伸長画像データをそのまま補正伸長画像データと
して出力する。表示手段105は補正伸長画像データを
表示する。
When the enable information is "true", the color correction unit with enable 902 performs correction processing on the expanded image data and outputs it as corrected expanded image data.
The content of the correction process is the same as that of the color correction unit 901. When the enable information is “false”, the expanded image data is directly output as the corrected expanded image data without any processing. The display means 105 displays the corrected decompressed image data.

【0080】このように本実施の形態9によれば、画像
圧縮を行う前に予め色補正を行う際にはストリームの先
頭に基準画像を付加することで、画像伸長時に色補正済
みの画像か色補正なしの画像かの検知を行い、表示手段
105の前段での色補正の要否を選択するようにしたの
で、画像圧縮を行う前に予め色補正を行った場合には、
伸長画像データにブロックノイズやモスキートノイズが
含まれている場合でも、これを色補正で強調することな
く表示でき、色補正が行われていない画像データについ
ては色補正を行い表示することができる。この際、画像
圧縮手段及び画像伸長手段は汎用的なものを使用でき
る。
As described above, according to the ninth embodiment, when the color correction is performed in advance before the image compression, the reference image is added to the head of the stream so that the image is color-corrected at the time of image expansion. Since it is detected whether or not the image has no color correction and whether or not the color correction in the previous stage of the display unit 105 is necessary is selected. Therefore, when the color correction is performed in advance before the image compression,
Even if the decompressed image data includes block noise or mosquito noise, it can be displayed without being emphasized by color correction, and image data that has not been color corrected can be color-corrected and displayed. At this time, general-purpose image compression means and image expansion means can be used.

【0081】(実施の形態10)次に本発明の実施の形
態10にかかる画像圧縮伸長処理装置について説明す
る。図15は本発明の実施10にかかる画像圧縮伸長処
理装置の構成を示すブロック図である。図において、図
8と同一符号は同一、または相当部分を示し、図8のガ
ンマ補正手段を色補正手段901に置き換え、イネーブ
ル付きガンマ補正手段をイネーブル付き色補正手段90
2に置き換えられているのが特徴である。他の構成要素
については図8と同一である。
(Tenth Embodiment) An image compression / decompression processing apparatus according to the tenth embodiment of the present invention will now be described. FIG. 15 is a block diagram showing the arrangement of an image compression / decompression processing apparatus according to the tenth embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 8 indicate the same or corresponding parts, the gamma correction means of FIG.
The feature is that it is replaced with 2. Other components are the same as those in FIG.

【0082】次に動作について説明する。色補正手段9
01の動作は、本発明の実施の形態8で示した内容と同
様なのでここではその説明を省略する。
Next, the operation will be described. Color correction means 9
The operation of 01 is the same as the content shown in the eighth embodiment of the present invention, and therefore its explanation is omitted here.

【0083】補正情報付加機能付き画像圧縮手段501
は、色補正手段901の出力である補正画像データを非
可逆な画像圧縮方式で圧縮し、ストリームデータに対し
て既に色補正済みのデータであることを示すフラグを付
加し、補正情報付き圧縮画像データとして出力する。ス
トリーム中のフラグの付加方法については特に限定はし
ない。画像蓄積手段103は、補正情報付き圧縮画像デ
ータを蓄積する。内部に蓄積した画像データは必要に応
じて蓄積画像データとして取り出すことができる。
Image compression means 501 with correction information addition function
Compresses the corrected image data output from the color correction unit 901 by an irreversible image compression method, adds a flag indicating that the data has already been color-corrected to the stream data, and adds the correction information to the compressed image. Output as data. The method of adding the flag in the stream is not particularly limited. The image storage means 103 stores the compressed image data with correction information. The image data accumulated inside can be taken out as accumulated image data as needed.

【0084】補正情報検出機能付き画像伸長手段502
は、蓄積画像データを補正情報付加機能付き画像圧縮手
段501で圧縮を行った方式に対応する逆変換で伸長
し、伸長画像データとして出力する。また、ストリーム
中に補正情報付加機能付き圧縮手段501で付加したフ
ラグの有無を検出する検出機能を有する。すなわち、フ
ラグを検出した場合は、イネーブル情報を「偽」として
出力し、フラグを検出しなかった場合には「真」として
出力する。
Image decompression means 502 with correction information detection function
Outputs the expanded image data as expanded image data by decompressing the accumulated image data by inverse conversion corresponding to the method compressed by the image compression means with correction information addition function 501. Further, it has a detection function of detecting the presence or absence of the flag added by the compression means 501 with the correction information addition function in the stream. That is, when the flag is detected, the enable information is output as “false”, and when the flag is not detected, it is output as “true”.

【0085】イネーブル付き色補正手段903は、イネ
ーブル情報が「真」の場合は伸長画像データに対して補
正処理を行い、補正伸長画像データとして出力する。補
正処理の内容は、色補正手段901と同様である。ま
た、イネーブル情報が「偽」の場合には何も処理せず、
伸長画像データをそのまま補正伸長画像データとして出
力する。表示手段105は補正伸長画像データを表示す
る。
When the enable information is "true", the color correction unit with enable 903 performs correction processing on the expanded image data and outputs it as corrected expanded image data. The content of the correction process is the same as that of the color correction unit 901. If the enable information is “false”, nothing is processed,
The decompressed image data is output as it is as the corrected decompressed image data. The display means 105 displays the corrected decompressed image data.

【0086】このように本実施の形態10によれば、画
像の圧縮処理を行う前に予め色補正を行った場合には、
そのことを示すフラグをデータに付加するようにしたの
で、画像伸長時に、色補正済みの画像か、色補正なしの
画像かを検知でき、イネーブル付き色補正手段903に
おいて、表示手段105における色補正を行うか否かを
選択処理することができ、画像圧縮前に予め色補正を行
った場合には、伸長画像データにブロックノイズやモス
キートノイズが含まれている場合でも、これを色補正で
強調することなく表示でき、色補正が行われていない画
像データについては色補正を行い表示することができ
る。
As described above, according to the tenth embodiment, when color correction is performed in advance before image compression processing,
Since the flag indicating that is added to the data, it is possible to detect whether the image has undergone color correction or an image without color correction at the time of image expansion. It is possible to select whether or not to perform, and if color correction is performed in advance before image compression, even if decompressed image data contains block noise or mosquito noise, this is emphasized by color correction. The image data can be displayed without performing color correction, and the image data that has not been color-corrected can be color-corrected and displayed.

【0087】なお、上記各実施の形態において、出力手
段として表示手段105を用いた例を示したが、出力手
段としてプリンターなどの印刷手段を用いる場合であっ
てもよい。また、上記実施の形態7では上記実施の形態
1で示した図1を例に挙げて、画像蓄積手段103に替
えて、送信手段801と受信手段802と伝送路803
と3を設けた例を示したが、実施の形態1〜6、8及び
9においても同様に実施することができる。
Although the display means 105 is used as the output means in each of the above embodiments, a printing means such as a printer may be used as the output means. Further, in the above-mentioned Embodiment 7, taking FIG. 1 shown in the above-mentioned Embodiment 1 as an example, instead of the image storage unit 103, a transmission unit 801, a reception unit 802, and a transmission line 803.
Although the example in which (3) and (3) are provided is shown, the same can be applied to the first to sixth, eighth and ninth embodiments.

【0088】[0088]

【発明の効果】以上のように、本発明の請求項1にかか
る画像圧縮伸長処理装置によれば、非線形な入力輝度特
性を有し、伸長画像データを出力する出力手段と、入力
画像データに対して上記出力手段が有する入力輝度特性
の非線形性を補正し、補正画像データとして出力するガ
ンマ補正手段と、上記補正画像データを画像圧縮手法を
用いて圧縮し、圧縮画像データとして出力する画像圧縮
手段と、上記圧縮画像データを保持して蓄積画像データ
として出力する画像蓄積手段と、上記蓄積画像データを
読み出し、上記画像圧縮手段で用いた圧縮手法に対応す
る逆変換を用いて伸長し、伸長画像データとして出力す
る画像伸長手段と、を備えたものとしたので、非可逆な
画像圧縮を行う前に、出力デバイスの非線形性を補正す
るガンマ補正を行うことにより、伸長した画像データに
対しての補正処理を省略でき、これにより伸長した画像
データにブロックノイズやモスキートノイズが含まれて
いる場合でも、ガンマ補正処理でノイズを強調すること
なく出力することができるという効果が得られる。
As described above, according to the image compression / expansion processing device of the first aspect of the present invention, the output means having the nonlinear input luminance characteristic and outputting the expanded image data, and the input image data On the other hand, a gamma correction unit that corrects the non-linearity of the input luminance characteristic of the output unit and outputs the corrected image data, and an image compression that compresses the corrected image data using an image compression method and outputs the compressed image data. Means, an image accumulating means for holding the compressed image data and outputting it as accumulated image data, and reading the accumulated image data, decompressing and decompressing it by using an inverse transform corresponding to the compression method used in the image compressing means. Since the image decompression means for outputting as image data is provided, the gamma correction for correcting the non-linearity of the output device is performed before the lossy image compression. By doing so, it is possible to omit the correction processing for the expanded image data, and even if the expanded image data contains block noise or mosquito noise, output it without emphasizing the noise in the gamma correction processing. The effect of being able to do is obtained.

【0089】また、本発明の請求項2にかかる画像圧縮
伸長処理装置によれば、入力画像データの各フレームに
おいて、フレームを一定のエリアに分割して映像が平滑
か否かを判定し、平滑であると判定されたエリアの輝度
が複数の輝度階調グループのいずれに属するかを調べ、
その分布情報を重み付け情報として出力する平滑部検出
手段と、上記重み付け情報を算出した上記入力画像デー
タの同じフレームに対して、上記入力画像データの輝度
階調グループ各々について上記重み付け情報で示される
分布頻度が大きい場合にはゲインを大きくし、一方、上
記重み付け情報で示される分布頻度が小さい場合には上
記輝度階調グループ毎のゲインを小さくし、かつ不連続
点が発生しないよう階調変換処理を行い補正画像データ
として出力する階調重み付け手段と、上記補正画像デー
タを画像圧縮手法を用いて圧縮し、圧縮画像データとし
て出力する画像圧縮手段と、上記圧縮画像データを保持
し、蓄積画像データとして出力する画像蓄積手段と、上
記蓄積画像データを上記画像圧縮手段で用いた圧縮手法
に対応する逆変換を用いて伸長し、伸長画像データとし
て出力する画像伸長手段と、上記伸長画像データの上記
輝度階調グループ毎のゲインを上記重み付け情報に応じ
て上記入力画像データと同じゲインに戻す階調変換処理
を行い、重み付け解消データとして出力する重み付け解
消手段と、上記重み付け解消データを出力する出力手段
と、を備えたものとしたので、伸長画像データにブロッ
クノイズが含まれている場合、視覚的にブロックノイズ
が目立ちやすい平滑な映像が含まれる階調について、1
未満の低いゲインをかけてノイズ成分を軽減することが
でき、これにより伸長した画像データにブロックノイズ
やモスキートノイズが含まれている場合でも、補正処理
でノイズを強調することなく出力することができるとい
う効果が得られる。
Further, according to the image compression / decompression processing apparatus of the second aspect of the present invention, in each frame of the input image data, the frame is divided into a certain area to determine whether or not the image is smooth, Check which of the plurality of luminance gradation groups the luminance of the area determined to be is,
With respect to the same frame of the input image data for which the weighting information is calculated, the smoothing part detecting means for outputting the distribution information as weighting information, and the distribution indicated by the weighting information for each luminance gradation group of the input image data. If the frequency is high, the gain is increased. On the other hand, if the distribution frequency indicated by the weighting information is low, the gain for each luminance gradation group is decreased, and gradation conversion processing is performed so that discontinuities do not occur. And output as corrected image data, an image compression unit that compresses the corrected image data using an image compression method, and outputs the compressed image data as compressed image data. And an inverse transform corresponding to the compression method used by the image compression means for the accumulated image data. Image decompressing means for decompressing and outputting as decompressed image data, and gradation conversion processing for returning the gain of each of the brightness gradation groups of the decompressed image data to the same gain as the input image data according to the weighting information. Since the decompression image data includes block noise, the decompression image data includes block noise, and the decompression image data includes block noise. For gradations that include smooth images that tend to stand out, 1
The noise component can be reduced by applying a low gain of less than, so that even if the expanded image data contains block noise or mosquito noise, it can be output without emphasizing the noise in the correction process. The effect is obtained.

【0090】また、本発明の請求項3にかかる画像圧縮
伸長処理装置によれば、請求項2記載の画像圧縮伸長処
理装置において、上記階調重み付け手段の出力する重み
付け情報を保持し、上記平滑部検出手段で上記重み付け
情報を抽出した入力画像データのフレームと同一のフレ
ームが、上記重み付け解消手段において処理される際に
同期して、上記時間調整済みの重み付け情報として出力
する時間調整手段を備えたものとしたので、圧縮画像デ
ータ伸長時に圧縮前の画像データと同じゲインに戻すこ
とができるという効果が得られる。
According to the image compression / decompression processing device of the third aspect of the present invention, in the image compression / decompression processing device of the second aspect, the weighting information output from the gradation weighting means is held and the smoothing is performed. A time adjustment unit that outputs the same frame as the frame of the input image data from which the weighting information is extracted by the unit detection unit when the processing unit is processed by the weighting elimination unit as the time-adjusted weighting information is output. Since this is done, it is possible to return the same gain as the image data before compression when decompressing the compressed image data.

【0091】また、本発明の請求項4にかかる画像圧縮
伸長処理装置によれば、入力画像データの1フレーム毎
の画像データのRGB各色の最大値と最小値を求めて特
徴情報として出力する特徴検出手段と、上記特徴情報に
基づき上記入力画像データのダイナミックレンジを拡大
する演算処理を行い、ダイナミックレンジ拡大データと
して出力するダイナミックレンジ拡大手段と、上記ダイ
ナミックレンジ拡大データを画像圧縮手法を用いて圧縮
し、圧縮画像データとして出力する画像圧縮手段と、上
記圧縮画像データを保持し、蓄積画像データとして出力
する画像蓄積手段と、上記蓄積画像データを上記画像圧
縮手段で用いた圧縮手法に対応する逆変換を用いて伸長
し、伸長画像データとして出力する画像伸長手段と、上
記特徴情報に応じて上記伸長画像データのダイナミック
レンジを上記入力画像データと同じダイナミックレンジ
に縮小し、ダイナミックレンジ復元データとして出力す
るダイナミックレンジ復元手段と、上記ダイナミックレ
ンジ復元データを出力する出力手段と、を備えたものと
したので、フレームごとの映像の特徴に応じてダイナミ
ックレンジを拡大して画像圧縮し、再度データ伸長後に
ダイナミックレンジを復元することで、フレーム全体に
1未満の低いゲインをかけてノイズ成分を軽減すること
ができ、これにより伸長した画像データにブロックノイ
ズやモスキートノイズが含まれている場合でも、補正処
理でノイズを強調することなく出力することができると
いう効果が得られる。
Further, according to the image compression / decompression processing apparatus of the fourth aspect of the present invention, the maximum value and the minimum value of each RGB color of the image data of each frame of the input image data is obtained and output as the characteristic information. Detecting means, dynamic range expanding means for performing arithmetic processing for expanding the dynamic range of the input image data based on the characteristic information, and outputting as dynamic range expanded data, and compressing the dynamic range expanded data using an image compression method. Then, an image compression unit that outputs the compressed image data, an image storage unit that holds the compressed image data and outputs it as accumulated image data, and an inverse method corresponding to the compression method that uses the accumulated image data in the image compression unit. Image decompression means for decompressing using conversion and outputting as decompressed image data, and A dynamic range restoring unit that reduces the dynamic range of the expanded image data to the same dynamic range as the input image data and outputs the dynamic range restoring data; and an output unit that outputs the dynamic range restoring data. Therefore, by expanding the dynamic range according to the characteristics of the image in each frame, compressing the image, and restoring the dynamic range after decompressing the data again, a low gain of less than 1 is applied to the entire frame to reduce the noise component. As a result, even if the decompressed image data contains block noise or mosquito noise, it is possible to output the noise without emphasizing the noise in the correction process.

【0092】また、本発明の請求項5にかかる画像圧縮
伸長処理装置によれば、請求項4記載の画像圧縮伸長処
理装置において、上記特徴検出手段の出力する特徴情報
を保持し、上記特徴検出手段で上記特徴情報を抽出した
入力画像データのフレームと同一のフレームが、上記ダ
イナミックレンジ復元手段において処理される際に同期
して、上記時間調整済みの特徴情報として出力する時間
調整手段を備えたものとしたので、圧縮画像データ伸長
時に圧縮前の画像データと同じゲインに戻すことができ
るという効果が得られる。
According to a fifth aspect of the present invention, there is provided the image compression / expansion processing apparatus according to the fourth aspect, wherein the image compression / expansion processing apparatus holds the characteristic information output from the characteristic detecting means and detects the characteristic. The frame is the same as the frame of the input image data from which the characteristic information is extracted by the means, and is provided with time adjustment means for outputting the time-adjusted characteristic information in synchronization with the processing by the dynamic range restoration means. Since this is the case, it is possible to return the same gain as the image data before compression when decompressing the compressed image data.

【0093】また、本発明の請求項6にかかる画像圧縮
伸長処理装置によれば、非線形な入力輝度特性を有し補
正伸長画像データを出力する出力手段と、入力画像デー
タに対して上記出力手段が有する入力輝度特性の非線形
性を補正し、補正画像データとして出力するガンマ補正
手段と、上記補正画像データを、画像圧縮手法を用いて
圧縮し、圧縮したストリームデータに対して既にガンマ
補正済みのデータであることを示すフラグ付加し、補正
情報付き圧縮画像データとして出力する補正情報付加機
能付き画像圧縮手段と、上記補正情報付き圧縮画像デー
タを保持し、補正情報付き蓄積画像データとして出力す
る画像蓄積手段と、上記補正情報付き蓄積画像データを
上記補正情報付加機能付き画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像データと
して出力し、伸長したストリームに上記補正情報付加機
能付き圧縮手段で付加したフラグの有無を調べ、フラグ
を検出した場合は、イネーブル情報を偽として出力し、
フラグがなかった場合にはイネーブル情報を真として出
力する補正情報検出機能付き画像伸長手段と、上記イネ
ーブル情報が真の場合は、上記伸長画像データに対して
上記出力手段が有する入力輝度特性の非線形性を補正
し、補正伸長画像データとして出力し、一方、上記イネ
ーブル情報が偽の場合は、上記伸長画像データに処理を
行わず補正伸長画像データとして出力する、イネーブル
付きガンマ補正手段と、を備えたものとしたので、画像
伸長時にガンマ補正済みの画像かガンマ補正なしの画像
か検知と、ガンマ補正済みの画像の場合はガンマ補正で
の階調変換の特性を検知し、出力手段の前段でのガンマ
補正の要否を選択することで、伸長画像データにブロッ
クノイズやモスキートノイズが含まれている場合でも、
これをガンマ補正で強調することなく出力でき、ガンマ
補正が行われていない画像データについてはガンマ補正
を行い出力することができるという効果が得られる。
According to the image compression / decompression processing apparatus of the sixth aspect of the present invention, the output means for outputting the corrected / decompressed image data having the non-linear input luminance characteristic, and the output means for the input image data. The non-linearity of the input luminance characteristic possessed by and is output as corrected image data, and the corrected image data is compressed using an image compression method, and the compressed stream data has already been gamma corrected. An image compression unit with a correction information addition function that adds a flag indicating that the data is output as compressed image data with correction information, and an image that holds the compressed image data with correction information and outputs it as accumulated image data with correction information Inverse conversion corresponding to the storage means and the compression method used by the image compression means with the correction information addition function for the accumulated image data with the correction information. Extended with, and output as decompressed image data, the extended stream examined for flags added by the correction information adding function compressing means, if it detects the flag, and outputs the enable information as false,
An image decompression means with a correction information detection function that outputs enable information as true when there is no flag, and a non-linearity of the input luminance characteristic of the output means with respect to the decompressed image data when the enable information is true. And output as corrected decompressed image data. On the other hand, when the enable information is false, the expanded image data is not processed and is output as corrected decompressed image data. Therefore, when decompressing the image, it is detected whether it is a gamma-corrected image or an image without gamma correction, and in the case of a gamma-corrected image, the characteristics of gradation conversion in gamma correction are detected, By selecting whether or not gamma correction of is required, even if the decompressed image data contains block noise or mosquito noise,
This can be output without being emphasized by gamma correction, and gamma correction can be performed on image data that has not been gamma-corrected before being output.

【0094】また、本発明の請求項7にかかる画像圧縮
伸長処理装置によれば、非線形な入力輝度特性を有し補
正伸長画像ストリームを出力する出力手段と、入力画像
ストリームの先頭に識別記号を付加したフレームを挿入
して基準画像挿入済み画像ストリームとして出力する基
準画像挿入手段と、上記基準画像挿入済み画像ストリー
ムに対して上記出力手段が有する入力輝度特性の非線形
性を補正し、補正画像ストリームとして出力するガンマ
補正手段と、上記補正画像ストリームを画像圧縮手法を
用いて圧縮して圧縮画像ストリームとして出力する画像
圧縮手段と、上記圧縮画像ストリームを保持し、蓄積画
像ストリームとして出力する画像蓄積手段と、上記蓄積
画像ストリームを上記画像圧縮手段で用いた圧縮手法に
対応する逆変換を用いて伸長し、伸長画像ストリームと
して出力する画像伸長手段と、上記伸長画像ストリーム
の先頭フレームの画像を調べ、上記基準画像挿入手段で
付加された上記識別記号の有無を判別し、該識別記号が
存在する場合には、イネーブル情報を偽として出力し、
一方、上記識別記号が存在しない場合にはイネーブル情
報を真として出力する基準画像判定手段と、上記イネー
ブル情報が真の場合は、上記伸長画像ストリームに対し
て、上前記出力手段が有する入力輝度特性の非線形性を
補正して補正伸長画像ストリームとして出力し、一方、
上記イネーブル情報が偽の場合は、上記伸長画像ストリ
ームに処理を行わず補正伸長画像ストリームとして出力
するイネーブル付きガンマ補正手段と、を備えたものと
したので、画像伸長時にガンマ補正済みの画像かガンマ
補正なしの画像かを判定し、ガンマ補正済みの画像の場
合は、ガンマ補正での階調変換の特性を検知し、後段の
出力手段と一致するか否かを判別し出力手段の前段での
ガンマ補正の要否を選択することで、画像圧縮を行う前
に予めガンマ補正を行った場合には、伸長画像データに
ブロックノイズやモスキートノイズが含まれている場合
でも、これをガンマ補正で強調することなく出力でき、
ガンマ補正が行われていない画像データについては、ガ
ンマ補正を行い出力することができるという効果が得ら
れる。
Further, according to the image compression / decompression processing apparatus of the seventh aspect of the present invention, the output means for outputting the corrected / decompressed image stream having the nonlinear input luminance characteristic and the identification symbol at the head of the input image stream. A reference image inserting means for inserting the added frame and outputting it as a reference image inserted image stream, and a non-linearity of the input luminance characteristic of the output means for the reference image inserted image stream is corrected to obtain a corrected image stream. Correction means for outputting the compressed image stream as a compressed image stream by compressing the corrected image stream using an image compression technique, and an image storage means for holding the compressed image stream and outputting it as an accumulated image stream. And inverse transform corresponding to the compression method used in the image compression means for the accumulated image stream. Image decompression means for decompressing and outputting as a decompressed image stream and the image of the first frame of the decompressed image stream are checked to determine the presence or absence of the identification symbol added by the reference image insertion means, and the identification symbol exists In that case, enable information is output as false,
On the other hand, when the identification symbol does not exist, the reference image determination unit that outputs enable information as true, and when the enable information is true, the input luminance characteristic that the output unit above has for the expanded image stream. , And output it as a corrected decompressed image stream.
When the enable information is false, the decompressed image stream is not processed and output as a corrected decompressed image stream. The gamma correction means with enable is provided. It is determined whether the image is uncorrected, and in the case of an image that has been gamma-corrected, the characteristics of gradation conversion in gamma correction are detected, and it is determined whether or not it matches the output means of the latter stage, and By selecting whether or not gamma correction is necessary, if gamma correction is performed in advance before image compression, even if decompressed image data contains block noise or mosquito noise, this is emphasized by gamma correction. Output without
Image data that has not been gamma-corrected can be gamma-corrected and output.

【0095】また、本発明の請求項8にかかる画像圧縮
伸長処理装置によれば、非線形な入力輝度特性を有し補
正伸長画像ストリームを出力する出力手段と、入力画像
ストリームの先頭に、1フレーム内でRGB各色の輝度
レベルが最小レベルから最大レベルまで順次リニアに変
化する階調情報と、識別記号とを、付加したフレームを
挿入し、階調情報付き基準画像挿入済み画像ストリーム
として出力する階調情報付き基準画像挿入手段と、上記
階調情報付き基準画像挿入済み画像ストリームに対して
上記出力手段が有する入力輝度特性の非線形性を補正
し、補正画像ストリームとして出力するガンマ補正手段
と、上記補正画像ストリームを画像圧縮手法を用いて圧
縮し、圧縮画像ストリームとして出力する画像圧縮手段
と、上記圧縮画像ストリームを保持して蓄積画像ストリ
ームとして出力する画像蓄積手段と、上記蓄積画像スト
リームを上記画像圧縮手段で用いた圧縮手法に対応する
逆変換を用いて伸長し、伸長画像ストリームとして出力
する画像伸長手段と、上記伸長画像ストリームの先頭フ
レームの画像を調べ、上記階調情報付き基準画像挿入手
段で付加された識別記号の有無を判別し、該識別記号が
存在する場合には、識別記号検知フラグをイネーブルに
してこのフレーム内でRGB各色の輝度レベルが最小レ
ベルから最大レベルまで変化する際の階調変化の特性を
調べて階調情報として出力し、一方、上記識別記号が存
在しない場合は識別記号検知フラグをディセーブルにし
て出力する階調情報付き基準画像判定手段と、上記識別
記号検知フラグが真の場合は上記階調情報付き基準画像
判定手段が出力する上記階調情報と、上記出力手段の単
体が有する入力輝度測定の非線形性を補正する特性とが
一致するか否かを判別し、一致する場合には上記伸長画
像ストリームをそのまま補正伸長画像ストリームとして
出力し、一致しない場合には上記伸長画像ストリームに
対して上記階調情報による特性をリニアな特性に補正し
た後、上記伸長画像ストリームに対して出力手段単体が
有する入力輝度測定の非線形性を補正する補正処理を行
い補正伸長画像ストリームとして出力し、上記識別記号
検知フラグが偽の場合は上記伸長画像ストリームに対し
て出力手段単体が有する入力輝度測定の非線形性を補正
する補正処理を行い補正伸長画像ストリームとして出力
する階調変更機能付きガンマ補正手段と、を備えたもの
としたので、画像圧縮を行う前に予めガンマ補正を行っ
た場合には、伸長画像データにブロックノイズやモスキ
ートノイズが含まれている場合でも、これをガンマ補正
で強調することなく出力でき、ガンマ補正が行われてい
ない画像データについては、ガンマ補正を行い出力する
ことができるという効果が得られる。
According to the image compression / decompression processing apparatus of the eighth aspect of the present invention, the output means for outputting the corrected / decompressed image stream having the non-linear input luminance characteristic and the one frame at the head of the input image stream. A frame in which gradation information in which the brightness level of each of the RGB colors changes linearly from the minimum level to the maximum level and an identification symbol is inserted, and the frame is output as a reference image-inserted image stream with gradation information. Reference image insertion means with tone information, gamma correction means for correcting the non-linearity of the input luminance characteristic of the output means with respect to the image stream in which the reference image with gradation information has been inserted, and outputting as a corrected image stream, An image compression unit that compresses the corrected image stream using an image compression method and outputs the compressed image stream, and the compressed image stream. An image storage unit that holds a stream and outputs it as an accumulated image stream, and an image decompression unit that decompresses the accumulated image stream using an inverse transformation corresponding to the compression method used by the image compression unit and outputs the decompressed image stream. Then, the image of the first frame of the decompressed image stream is examined to determine the presence or absence of the identification symbol added by the gradation information-attached reference image inserting means. If the identification symbol is present, the identification symbol detection flag is set. When enabled, the characteristics of gradation change when the luminance level of each color of RGB changes from the minimum level to the maximum level in this frame are checked and output as gradation information. On the other hand, when the above-mentioned identification code does not exist, the identification code is present. Reference image determination means with gradation information that outputs with the detection flag disabled, and the gradation if the identification symbol detection flag is true It is determined whether or not the gradation information output by the reference image determination unit with report and the characteristic for correcting the non-linearity of the input luminance measurement that the output unit alone has are matched, and if they match, the expansion is performed. The image stream is output as a corrected decompressed image stream as it is, and if it does not match, the characteristic based on the gradation information is corrected to a linear characteristic with respect to the decompressed image stream, and then a single output unit is provided for the decompressed image stream. The correction processing for correcting the non-linearity of the input luminance measurement is performed and is output as a corrected decompressed image stream, and when the identification symbol detection flag is false, the non-linearity of the input luminance measurement that the output means alone has with respect to the decompressed image stream. A gamma correction unit with a gradation changing function for performing a correction process for correcting Therefore, if gamma correction is performed in advance before image compression, even if the decompressed image data contains block noise or mosquito noise, it can be output without being emphasized by gamma correction. The effect that gamma correction can be performed and output can be obtained for image data that has not been processed.

【0096】また、本発明の請求項9にかかる画像圧縮
伸長処理装置によれば、伸長画像データを出力する出力
手段と、入力画像データに対して上記出力手段が有する
出力特性を補正し、補正画像データとして出力する色補
正手段と、上記補正画像データを画像圧縮手法を用いて
圧縮し、圧縮画像データとして出力する画像圧縮手段
と、上記圧縮画像データを保持して蓄積画像データとし
て出力する画像蓄積手段と、上記蓄積画像データを読み
出し、上記画像圧縮手段で用いた圧縮手法に対応する逆
変換を用いて伸長し、伸長画像データとして出力する画
像伸長手段と、を備えたものとしたので、画像伸長手段
から出力される伸長画像データを直接、画像出力手段に
よって出力することで、伸長画像データにブロックノイ
ズやモスキートノイズが含まれている場合においても、
これを色補正処理で強調することなく出力することがで
きるという効果が得られる。
According to the image compression / decompression processing apparatus of the ninth aspect of the present invention, the output means for outputting the decompressed image data and the output characteristic of the output means for the input image data are corrected and corrected. A color correction unit that outputs as image data, an image compression unit that compresses the corrected image data using an image compression method, and outputs the compressed image data, and an image that holds the compressed image data and outputs it as accumulated image data. Since the storage means and the image decompression means for reading out the accumulated image data, decompressing using the inverse transform corresponding to the compression method used by the image compression means, and outputting as decompressed image data, By outputting the decompressed image data output from the image decompression means directly by the image output means, block noise or mosquito noise can be added to the decompressed image data. When it contains also,
This has the effect of being able to output this without emphasizing it in the color correction processing.

【0097】また、本発明の請求項10にかかる画像圧
縮伸長処理装置は、補正伸長画像データを出力する出力
手段と、入力画像データに対して上記出力手段が有する
出力特性を補正し、補正画像データとして出力する色補
正手段と、上記補正画像データを、画像圧縮手法を用い
て圧縮し、圧縮したストリームデータに対して既に色補
正済みのデータであることを示すフラグを付加し、補正
情報付き圧縮画像データとして出力する補正情報付加機
能付き画像圧縮手段と、上記補正情報付き圧縮画像デー
タを保持し、補正情報付き蓄積画像データとして出力す
る画像蓄積手段と、上記補正情報付き蓄積画像データを
上記補正情報付加機能付き画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像データと
して出力し、伸長したストリームに上記補正情報付加機
能付き圧縮手段で付加したフラグの有無を調べ、フラグ
を検出した場合は、イネーブル情報を偽として出力し、
フラグがなかった場合にはイネーブル情報を真として出
力する補正情報検出機能付き画像伸長手段と、上記イネ
ーブル情報が真の場合は、上記伸長画像データに対して
上記出力手段が有する出力特性を補正し、補正伸長画像
データとして出力し、一方、上記イネーブル情報が偽の
場合は、上記伸長画像データに処理を行わず補正伸長画
像データとして出力する、イネーブル付き色補正手段
と、を備えたものとしたので、画像伸長時に色補正済み
の画像か色補正なしの画像かの検知し、出力手段の前段
での色補正の要否を選択することで、伸長画像データに
ブロックノイズやモスキートノイズが含まれている場合
でも、これを色補正で強調することなく出力でき、ま
た、色補正が行われていない画像データについては、こ
れに色補正を行い出力することができるという効果が得
られる。
An image compression / decompression processing apparatus according to claim 10 of the present invention corrects the output characteristic of the output means for outputting the corrected and decompressed image data and the output characteristic of the output means with respect to the input image data to obtain the corrected image. The color correction means for outputting as data and the corrected image data are compressed by using an image compression method, and a flag indicating that the data has already been color-corrected is added to the compressed stream data, and the correction information is added. The image compression means with a correction information addition function that outputs as compressed image data, the image storage means that holds the compressed image data with correction information and outputs it as the accumulated image data with correction information, and the accumulated image data with correction information Decompression is performed using the inverse transform corresponding to the compression method used by the image compression means with correction information addition function, and output as decompressed image data and decompression. Stream to check for flags added by the correction information adding function compressing means, if it detects the flag, and outputs the enable information as false,
If there is no flag, the image decompression means with a correction information detection function that outputs enable information as true, and if the enable information is true, corrects the output characteristic of the output means for the decompressed image data. And output as corrected decompressed image data, and if the enable information is false, output the corrected decompressed image data without performing processing on the expanded image data. Therefore, it is possible to detect block noise and mosquito noise in the decompressed image data by detecting whether the image has been color-corrected or not without color correction when decompressing the image and selecting whether color correction is necessary before the output means. Even if it is, you can output it without emphasizing it with color correction. Also, for image data that has not been color-corrected, color-correct it and output it. There is an advantage that it is Rukoto.

【0098】また、本発明の請求項11にかかる画像圧
縮伸長処理装置は、非線形な入力輝度特性を有し補正伸
長画像ストリームを出力する出力手段と、入力画像スト
リームの先頭に識別記号を付加したフレームを挿入して
基準画像挿入済み画像ストリームとして出力する基準画
像挿入手段と、入力画像データに対して上記出力手段が
有する出力特性を補正し、補正画像データとして出力す
る色補正手段と、上記補正画像ストリームを画像圧縮手
法を用いて圧縮して圧縮画像ストリームとして出力する
画像圧縮手段と、上記圧縮画像ストリームを保持し、蓄
積画像ストリームとして出力する画像蓄積手段と、上記
蓄積画像ストリームを上記画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像ストリー
ムとして出力する画像伸長手段と、上記伸長画像ストリ
ームの先頭フレームの画像を調べ、上記基準画像挿入手
段で付加された上記識別記号の有無を判別し、該識別記
号が存在する場合には、イネーブル情報を偽として出力
し、一方、上記識別記号が存在しない場合にはイネーブ
ル情報を真として出力する基準画像判定手段と、上記イ
ネーブル情報が真の場合は、上記伸長画像ストリームに
対して前記出力手段が有する出力特性を補正し、補正伸
長画像データとして出力補正伸長画像ストリームとして
出力し、一方、上記イネーブル情報が偽の場合は、上記
伸長画像ストリームに処理を行わず補正伸長画像ストリ
ームとして出力するイネーブル付き色補正手段と、を備
えたものとしたので、画像圧縮を行う前に予め色補正を
行った場合には、伸長画像データにブロックノイズやモ
スキートノイズが含まれている場合でも、これを色補正
で強調することなく出力でき、色補正が行われていない
画像データについては色補正を行い出力することができ
るという効果が得られる。
According to the eleventh aspect of the image compression / decompression processing apparatus of the present invention, output means for outputting a corrected / decompressed image stream having a non-linear input luminance characteristic and an identification symbol added to the head of the input image stream. Reference image inserting means for inserting a frame and outputting as a reference image inserted image stream; color correcting means for correcting output characteristics of the output means with respect to input image data and outputting as corrected image data; An image compression unit that compresses an image stream using an image compression method and outputs a compressed image stream, an image storage unit that holds the compressed image stream and outputs it as an accumulated image stream, and an image compression unit that stores the accumulated image stream. Decompress using inverse transform corresponding to the compression method used in the method, and output as decompressed image stream The image decompression unit and the image of the first frame of the decompressed image stream are examined to determine whether or not the identification symbol added by the reference image insertion unit is present. If the identification symbol is present, the enable information is set to false. On the other hand, when the identification symbol does not exist, on the other hand, reference image determination means for outputting enable information as true, and when the enable information is true, output characteristics of the output means for the decompressed image stream. Is output as a corrected decompressed image stream, and is output as a corrected decompressed image stream. On the other hand, when the enable information is false, the decompressed image stream is not processed and is output as a corrected decompressed image stream. And, so if color correction is performed in advance before image compression, the Even if rock noise or mosquito noise is included, it can be output without being emphasized by color correction, and image data that has not been color-corrected can be color-corrected and output. .

【0099】また、本発明の請求項12にかかる画像圧
縮伸長処理装置によれば、請求項1ないし請求項11の
いずれかに記載の画像圧縮伸長処理装置において、上記
画像蓄積手段に替えて、圧縮画像データを伝送路で転送
可能なプロトコルに変換して送信データとして送出する
送信手段と、上記伝送路から送信データを受け取り画像
伸長手段で処理可能な受信データとして出力する受信手
段と、上記送信手段と受信手段を接続する伝送路を、備
えたものとしたので、画像伸長手段から出力される伸長
画像データを直接出力手段で出力することで、伸長画像
データにブロックノイズやモスキートノイズが含まれて
いる場合でも、これをガンマ補正等で強調することなく
出力できるという効果が得られる。
Further, according to the image compression / decompression processing device of the twelfth aspect of the present invention, in the image compression / decompression processing device according to any one of the first to eleventh aspects, the image storage means is replaced by Transmitting means for converting the compressed image data into a protocol that can be transferred through a transmission path and transmitting it as transmission data; receiving means for receiving the transmission data from the transmission path and outputting it as reception data that can be processed by the image expanding means; Since the transmission line connecting the means and the receiving means is provided, the decompressed image data output from the image decompressing means is directly output by the output means, so that the decompressed image data contains block noise or mosquito noise. Even if it is present, there is an effect that it can be output without emphasizing it by gamma correction or the like.

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

【図1】本発明の実施の形態1にかかる画像圧縮伸長処
理装置の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an image compression / decompression processing device according to a first exemplary embodiment of the present invention.

【図2】本発明の実施の形態2にかかる画像圧縮伸長処
理装置の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of an image compression / decompression processing device according to a second embodiment of the present invention.

【図3】上記実施の形態2の画像圧縮伸長処理装置を構
成する平滑部検出手段において、算出する分割エリアの
輝度分布例を示すグラフを記載した図
FIG. 3 is a diagram showing a graph showing an example of a luminance distribution of a divided area to be calculated in the smoothing part detecting means which constitutes the image compression / expansion processing device according to the second embodiment.

【図4】上記実施の形態2の画像圧縮伸長処理装置を構
成する階調重み付け手段で行う階調変換の特性例を示す
グラフを記載した図
FIG. 4 is a diagram showing a graph showing an example of characteristics of gradation conversion performed by a gradation weighting unit that constitutes the image compression / decompression processing device according to the second embodiment.

【図5】本発明の実施の形態3にかかる画像圧縮伸長処
理装置の構成を示すブロック図
FIG. 5 is a block diagram showing a configuration of an image compression / decompression processing device according to a third embodiment of the present invention.

【図6】上記実施の形態3の画像圧縮伸長処理装置を構
成するダイナミックレンジ拡大手段で行う階調変換の特
性例を示すグラフを記載した図
FIG. 6 is a diagram showing a graph showing an example of characteristics of gradation conversion performed by a dynamic range expanding unit that constitutes the image compression / decompression processing device according to the third embodiment.

【図7】上記実施の形態3の画像圧縮伸長処理装置を構
成するダイナミックレンジ復元手段で行う階調変換の特
性例を示すグラフを記載した図
FIG. 7 is a diagram showing a graph showing an example of characteristics of gradation conversion performed by a dynamic range restoring unit that constitutes the image compression / decompression processing device according to the third embodiment.

【図8】本発明の実施の形態4にかかる画像圧縮伸長処
理装置の構成を示すブロック図
FIG. 8 is a block diagram showing a configuration of an image compression / decompression processing device according to a fourth embodiment of the present invention.

【図9】本発明の実施の形態5にかかる画像圧縮伸長処
理装置の構成を示すブロック図
FIG. 9 is a block diagram showing a configuration of an image compression / decompression processing device according to a fifth embodiment of the present invention.

【図10】本発明の実施の形態6にかかる画像圧縮伸長
処理装置の構成を示すブロック図
FIG. 10 is a block diagram showing a configuration of an image compression / decompression processing device according to a sixth embodiment of the present invention.

【図11】本発明の実施の形態7にかかる画像圧縮伸長
処理装置の構成を示すブロック図
FIG. 11 is a block diagram showing a configuration of an image compression / decompression processing device according to a seventh embodiment of the present invention.

【図12】液晶パネルのガンマ補正例を示すグラフを記
載した図
FIG. 12 is a diagram showing a graph showing an example of gamma correction of a liquid crystal panel.

【図13】本発明の実施の形態8にかかる画像圧縮伸長
処理装置の構成を示すブロック図
FIG. 13 is a block diagram showing a configuration of an image compression / decompression processing device according to an eighth embodiment of the present invention.

【図14】本発明の実施の形態9にかかる画像圧縮伸長
処理装置の構成を示すブロック図
FIG. 14 is a block diagram showing a configuration of an image compression / decompression processing device according to a ninth embodiment of the present invention.

【図15】本発明の実施の形態10にかかる画像圧縮伸
長処理装置の構成を示すブロック図
FIG. 15 is a block diagram showing a configuration of an image compression / decompression processing device according to a tenth embodiment of the present invention.

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

101 ガンマ補正手段 102 画像圧縮手段 103 画像蓄積手段 104 画像伸長手段 105 表示手段(出力手段) 201 階調重み付け手段 202 平滑部検出手段 203 重み付け解消手段 204 時間調整手段 401 特徴手段 402 ダイミックレンジ拡大手段 403 ダイミックレンジ復元手段 404 時間調整手段 501 補正情報付加機能付き画像圧縮手段 502 補正情報検出機能付き画像 503 イネーブル付きガンマ補正手段 601 基準画像挿入手段 602 基準画像判定手段 603 イネーブル付きガンマ補正手段 701 階調情報付き基準画像挿入手段 702 階調情報付き基準画像判定手段 703 階調変更機能付き基準画像判定手段 801 送信手段 802 受信手段 803 伝送路 901 色補正手段 92 イネーブル付き色補正手段 101 gamma correction means 102 image compression means 103 image storage means 104 image decompression means 105 display means (output means) 201 gradation weighting means 202 smoothing part detecting means 203 Weighting elimination means 204 time adjustment means 401 Characteristic means 402 Dimic range expansion means 403 Dimic range restoration means 404 time adjustment means 501 image compression means with correction information addition function 502 Image with correction information detection function 503 Gamma correction means with enable 601 Reference image insertion means 602 Reference image determination means 603 Gamma correction means with enable 701 Reference image inserting means with gradation information 702 Reference image determination means with gradation information 703 Reference image determining means with gradation changing function 801 Transmission means 802 Receiving means 803 Transmission line 901 Color correction means 92 Color correction means with enable

───────────────────────────────────────────────────── フロントページの続き (72)発明者 津田 賢治郎 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5C021 PA17 PA56 PA77 PA79 XA34 YC08 5C057 DC06 DC11 EA01 EL01 EM07 EM09 GH06 GJ09 GL02 GM07 5C059 KK03 KK04 MA23 MA24 PP15 PP25 UA02 UA05    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Kenjiro Tsuda             1006 Kadoma, Kadoma-shi, Osaka Matsushita Electric             Sangyo Co., Ltd. F term (reference) 5C021 PA17 PA56 PA77 PA79 XA34                       YC08                 5C057 DC06 DC11 EA01 EL01 EM07                       EM09 GH06 GJ09 GL02 GM07                 5C059 KK03 KK04 MA23 MA24 PP15                       PP25 UA02 UA05

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 非線形な入力輝度特性を有し、伸長画像
データを出力する出力手段と、 入力画像データに対して上記出力手段が有する入力輝度
特性の非線形性を補正し、補正画像データとして出力す
るガンマ補正手段と、 上記補正画像データを画像圧縮手法を用いて圧縮し、圧
縮画像データとして出力する画像圧縮手段と、 上記圧縮画像データを保持して蓄積画像データとして出
力する画像蓄積手段と、 上記蓄積画像データを読み出し、上記画像圧縮手段で用
いた圧縮手法に対応する逆変換を用いて伸長し、伸長画
像データとして出力する画像伸長手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
1. Output means for outputting decompressed image data having a non-linear input luminance characteristic, and non-linearity of the input luminance characteristic possessed by the output means for the input image data is corrected and output as corrected image data. A gamma correction unit, an image compression unit that compresses the corrected image data using an image compression method, and outputs the compressed image data as compressed image data; and an image storage unit that holds the compressed image data and outputs the stored image data. An image compression / decompression process comprising: an image decompression unit that reads out the accumulated image data, decompresses it by using an inverse transform corresponding to the compression method used by the image compression unit, and outputs as decompressed image data. apparatus.
【請求項2】 入力画像データの各フレームにおいて、
フレームを一定のエリアに分割して映像が平滑か否かを
判定し、平滑であると判定されたエリアの輝度が複数の
輝度階調グループのいずれに属するかを調べ、その分布
情報を重み付け情報として出力する平滑部検出手段と、 上記重み付け情報を算出した上記入力画像データの同じ
フレームに対して、上記入力画像データの輝度階調グル
ープ各々について上記重み付け情報で示される分布頻度
が大きい場合にはゲインを大きくし、一方、上記重み付
け情報で示される分布頻度が小さい場合には上記輝度階
調グループ毎のゲインを小さくし、かつ不連続点が発生
しないよう階調変換処理を行い補正画像データとして出
力する階調重み付け手段と、 上記補正画像データを画像圧縮手法を用いて圧縮し、圧
縮画像データとして出力する画像圧縮手段と、 上記圧縮画像データを保持し、蓄積画像データとして出
力する画像蓄積手段と、 上記蓄積画像データを上記画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像データと
して出力する画像伸長手段と、 上記伸長画像データの上記輝度階調グループ毎のゲイン
を上記重み付け情報に応じて上記入力画像データと同じ
ゲインに戻す階調変換処理を行い、重み付け解消データ
として出力する重み付け解消手段と、 上記重み付け解消データを出力する出力手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
2. In each frame of input image data,
The frame is divided into certain areas and it is determined whether the image is smooth. It is checked which of the luminance gradation groups the luminance of the area determined to be smooth belongs to, and the distribution information is weighted information. When the distribution frequency indicated by the weighting information is high for each of the luminance gradation groups of the input image data for the same frame of the input image data for which the weighting information is calculated, On the other hand, if the distribution frequency indicated by the weighting information is small, the gain for each luminance gradation group is decreased, and gradation conversion processing is performed so that discontinuities do not occur as corrected image data. Gradation weighting means for outputting, and image compression means for compressing the corrected image data using an image compression method and outputting as compressed image data. An image storage unit that holds the compressed image data and outputs it as accumulated image data, and decompresses the accumulated image data using inverse conversion corresponding to the compression method used by the image compression unit, and outputs the decompressed image data. Image decompression means for performing the tone conversion processing for returning the gain of each of the luminance gradation groups of the decompressed image data to the same gain as the input image data according to the weighting information, and outputting as weighting elimination data. An image compression / decompression processing device comprising: a means and an output means for outputting the weighting elimination data.
【請求項3】 請求項2記載の画像圧縮伸長処理装置に
おいて、 上記階調重み付け手段の出力する重み付け情報を保持
し、上記平滑部検出手段で上記重み付け情報を抽出した
入力画像データのフレームと同一のフレームが、上記重
み付け解消手段において処理される際に同期して、上記
時間調整済みの重み付け情報として出力する時間調整手
段を備えたことを特徴とすると画像圧縮伸長処理装置。
3. The image compression / expansion processing apparatus according to claim 2, wherein the weighting information output from the gradation weighting means is held and the same as the frame of the input image data in which the weighting information is extracted by the smoothing part detecting means. The image compression / decompression processing apparatus is characterized by further comprising time adjusting means for outputting the frame as the time adjusted weighted information in synchronism with the frame being processed by the weight eliminating means.
【請求項4】 入力画像データの1フレーム毎の画像デ
ータのRGB各色の最大値と最小値を求めて特徴情報と
して出力する特徴検出手段と、 上記特徴情報に基づき上記入力画像データのダイナミッ
クレンジを拡大する演算処理を行い、ダイナミックレン
ジ拡大データとして出力するダイナミックレンジ拡大手
段と、 上記ダイナミックレンジ拡大データを画像圧縮手法を用
いて圧縮し、圧縮画像データとして出力する画像圧縮手
段と、 上記圧縮画像データを保持し、蓄積画像データとして出
力する画像蓄積手段と、 上記蓄積画像データを上記画像圧縮手段で用いた圧縮手
法に対応する逆変換を用いて伸長し、伸長画像データと
して出力する画像伸長手段と、 上記特徴情報に応じて上記伸長画像データのダイナミッ
クレンジを上記入力画像データと同じダイナミックレン
ジに縮小し、ダイナミックレンジ復元データとして出力
するダイナミックレンジ復元手段と、 上記ダイナミックレンジ復元データを出力する出力手段
と、 を備えたことを特徴とする画像圧縮伸長処理装置。
4. A feature detecting means for obtaining the maximum value and the minimum value of each color of RGB of the image data for each frame of the input image data and outputting it as feature information, and a dynamic range of the input image data based on the feature information. A dynamic range expansion means for performing expansion processing and outputting as dynamic range expansion data; an image compression means for compressing the dynamic range expansion data using an image compression method and outputting it as compressed image data; and the compressed image data And an image decompressing unit that decompresses the accumulated image data using inverse conversion corresponding to the compression method used by the image compression unit and outputs the decompressed image data as decompressed image data. , The dynamic range of the decompressed image data is changed according to the characteristic information. Reduced to the same dynamic range as the data, and dynamic range restoring means for outputting a dynamic range restoring data, the image compression decompression apparatus comprising the, and output means for outputting the dynamic range recovered data.
【請求項5】 請求項4記載の画像圧縮伸長処理装置に
おいて、 上記特徴検出手段の出力する特徴情報を保持し、上記特
徴検出手段で上記特徴情報を抽出した入力画像データの
フレームと同一のフレームが、上記ダイナミックレンジ
復元手段において処理される際に同期して、上記時間調
整済みの特徴情報として出力する時間調整手段を備えた
ことを特徴とする画像圧縮伸長処理装置。
5. The image compression / expansion processing device according to claim 4, wherein the feature information output by the feature detection means is held, and the same frame as the frame of the input image data from which the feature information is extracted by the feature detection means. However, the image compression / decompression processing device is provided with a time adjusting unit that outputs the time-adjusted characteristic information in synchronization with the processing in the dynamic range restoring unit.
【請求項6】 非線形な入力輝度特性を有し補正伸長画
像データを出力する出力手段と、 入力画像データに対して上記出力手段が有する入力輝度
特性の非線形性を補正し、補正画像データとして出力す
るガンマ補正手段と、 上記補正画像データを、画像圧縮手法を用いて圧縮し、
圧縮したストリームデータに対して既にガンマ補正済み
のデータであることを示すフラグ付加し、補正情報付き
圧縮画像データとして出力する補正情報付加機能付き画
像圧縮手段と、 上記補正情報付き圧縮画像データを保持し、補正情報付
き蓄積画像データとして出力する画像蓄積手段と、 上記補正情報付き蓄積画像データを上記補正情報付加機
能付き画像圧縮手段で用いた圧縮手法に対応する逆変換
を用いて伸長し、伸長画像データとして出力し、伸長し
たストリームに上記補正情報付加機能付き圧縮手段で付
加したフラグの有無を調べ、フラグを検出した場合は、
イネーブル情報を偽として出力し、フラグがなかった場
合にはイネーブル情報を真として出力する補正情報検出
機能付き画像伸長手段と、 上記イネーブル情報が真の場合は、上記伸長画像データ
に対して上記出力手段が有する入力輝度特性の非線形性
を補正し、補正伸長画像データとして出力し、一方、上
記イネーブル情報が偽の場合は、上記伸長画像データに
処理を行わず補正伸長画像データとして出力する、イネ
ーブル付きガンマ補正手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
6. Output means for outputting corrected decompressed image data having a non-linear input luminance characteristic, and non-linearity of the input luminance characteristic possessed by the output means for the input image data is corrected and output as corrected image data. And a gamma correction means for compressing the corrected image data using an image compression method,
An image compression unit with a correction information addition function that adds a flag indicating that the data has already been gamma-corrected to the compressed stream data and outputs it as compressed image data with correction information, and holds the compressed image data with correction information. Then, the image accumulation means for outputting as the accumulated image data with correction information and the accumulated image data with the correction information are expanded and decompressed using the inverse transform corresponding to the compression method used by the image compression means with the correction information addition function. It is output as image data, and the decompressed stream is checked for the presence or absence of the flag added by the compression means with the correction information adding function.
An image decompression means with a correction information detection function, which outputs enable information as false and outputs enable information as true when there is no flag, and outputs the expanded image data to the expanded image data when the enable information is true. The non-linearity of the input luminance characteristic of the means is corrected and output as corrected expanded image data. On the other hand, when the enable information is false, the expanded image data is not processed and output as corrected expanded image data. An image compression / decompression processing device comprising: a gamma correction unit.
【請求項7】 非線形な入力輝度特性を有し補正伸長画
像ストリームを出力する出力手段と、 入力画像ストリームの先頭に識別記号を付加したフレー
ムを挿入して基準画像挿入済み画像ストリームとして出
力する基準画像挿入手段と、 上記基準画像挿入済み画像ストリームに対して上記出力
手段が有する入力輝度特性の非線形性を補正し、補正画
像ストリームとして出力するガンマ補正手段と、 上記補正画像ストリームを画像圧縮手法を用いて圧縮し
て圧縮画像ストリームとして出力する画像圧縮手段と、 上記圧縮画像ストリームを保持し、蓄積画像ストリーム
として出力する画像蓄積手段と、 上記蓄積画像ストリームを上記画像圧縮手段で用いた圧
縮手法に対応する逆変換を用いて伸長し、伸長画像スト
リームとして出力する画像伸長手段と、 上記伸長画像ストリームの先頭フレームの画像を調べ、
上記基準画像挿入手段で付加された上記識別記号の有無
を判別し、該識別記号が存在する場合には、イネーブル
情報を偽として出力し、一方、上記識別記号が存在しな
い場合にはイネーブル情報を真として出力する基準画像
判定手段と、 上記イネーブル情報が真の場合は、上記伸長画像ストリ
ームに対して前記出力手段が有する入力輝度特性の非線
形性を補正して補正伸長画像ストリームとして出力し、
一方、上記イネーブル情報が偽の場合は、上記伸長画像
ストリームに処理を行わず補正伸長画像ストリームとし
て出力するイネーブル付きガンマ補正手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
7. Output means for outputting a corrected decompressed image stream having a non-linear input luminance characteristic, and a reference for inserting a frame added with an identification symbol at the beginning of the input image stream and outputting it as a reference image inserted image stream. An image insertion unit, a gamma correction unit that corrects the non-linearity of the input luminance characteristic of the output unit with respect to the reference image inserted image stream and outputs the corrected image stream as a corrected image stream, and an image compression method for the corrected image stream. An image compression unit that uses the compressed image stream to output as a compressed image stream, an image storage unit that holds the compressed image stream and outputs as an accumulated image stream, and a compression method that uses the accumulated image stream in the image compression unit. Image decompressor that decompresses using the corresponding inverse transform and outputs as decompressed image stream If, examine the image of the first frame of the decompressed image stream,
The presence or absence of the identification symbol added by the reference image inserting means is determined. If the identification symbol is present, the enable information is output as false, while if the identification symbol is not present, the enable information is output. When the enable information is true, the reference image determination unit that outputs as true, corrects the non-linearity of the input luminance characteristic of the output unit with respect to the expanded image stream, and outputs the corrected expanded image stream as a corrected expanded image stream.
On the other hand, when the enable information is false, the image compression / expansion processing device comprising: a gamma correction unit with an enable that outputs the corrected expanded image stream without processing the expanded image stream.
【請求項8】 非線形な入力輝度特性を有し補正伸長画
像ストリームを出力する出力手段と、 入力画像ストリームの先頭に、1フレーム内でRGB各
色の輝度レベルが最小レベルから最大レベルまで順次リ
ニアに変化する階調情報と、識別記号とを付加したフレ
ームを挿入し、階調情報付き基準画像挿入済み画像スト
リームとして出力する階調情報付き基準画像挿入手段
と、 上記階調情報付き基準画像挿入済み画像ストリームに対
して上記出力手段が有する入力輝度特性の非線形性を補
正し、補正画像ストリームとして出力するガンマ補正手
段と、 上記補正画像ストリームを画像圧縮手法を用いて圧縮
し、圧縮画像ストリームとして出力する画像圧縮手段
と、 上記圧縮画像ストリームを保持して蓄積画像ストリーム
として出力する画像蓄積手段と、 上記蓄積画像ストリームを上記画像圧縮手段で用いた圧
縮手法に対応する逆変換を用いて伸長し、伸長画像スト
リームとして出力する画像伸長手段と、 上記伸長画像ストリームの先頭フレームの画像を調べ、
上記階調情報付き基準画像挿入手段で付加された識別記
号の有無を判別し、該識別記号が存在する場合には、識
別記号検知フラグをイネーブルにしてこのフレーム内で
RGB各色の輝度レベルが最小レベルから最大レベルま
で変化する際の階調変化の特性を調べて階調情報として
出力し、一方、上記識別記号が存在しない場合は識別記
号検知フラグをディセーブルにして出力する階調情報付
き基準画像判定手段と、 上記識別記号検知フラグが真の場合は上記階調情報付き
基準画像判定手段が出力する上記階調情報と、上記出力
手段の単体が有する入力輝度測定の非線形性を補正する
特性とが一致するか否かを判別し、一致する場合には上
記伸長画像ストリームをそのまま補正伸長画像ストリー
ムとして出力し、一致しない場合には上記伸長画像スト
リームに対して上記階調情報による特性をリニアな特性
に補正した後、上記伸長画像ストリームに対して出力手
段単体が有する入力輝度測定の非線形性を補正する補正
処理を行い補正伸長画像ストリームとして出力し、上記
識別記号検知フラグが偽の場合は上記伸長画像ストリー
ムに対して出力手段単体が有する入力輝度測定の非線形
性を補正する補正処理を行い補正伸長画像ストリームと
して出力する階調変更機能付きガンマ補正手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
8. Output means for outputting a corrected decompressed image stream having a non-linear input luminance characteristic, and at the head of the input image stream, the luminance levels of RGB colors in one frame are sequentially linearly changed from a minimum level to a maximum level. A reference image insertion means with gradation information for inserting a frame to which changing gradation information and an identification symbol are added and outputting as an image stream with a reference image with gradation information inserted; A gamma correction unit that corrects the non-linearity of the input luminance characteristic of the output unit for the image stream and outputs the corrected image stream, and the corrected image stream is compressed using an image compression method and output as a compressed image stream. Image storing means for storing the compressed image stream and outputting as a stored image stream And an image decompression unit that decompresses the stored image stream by using an inverse transform corresponding to the compression method used by the image compression unit and outputs the decompressed image stream, and an image of the first frame of the decompressed image stream. ,
The presence / absence of the identification symbol added by the gradation information-attached reference image inserting means is determined. If the identification symbol is present, the identification symbol detection flag is enabled and the luminance levels of the RGB colors are minimized in this frame. A standard with gradation information that examines the characteristics of gradation change when changing from the level to the maximum level and outputs as gradation information. On the other hand, if the above identification code does not exist, the identification code detection flag is disabled and output. A characteristic for correcting the non-linearity of the input luminance measurement which the single unit of the output unit has, and the gradation information output by the reference image judgment unit with the gradation information when the identification symbol detection flag is true. It is determined whether or not and the decompressed image stream is output as the corrected decompressed image stream as it is. After the characteristic based on the gradation information is corrected to a linear characteristic with respect to the image stream, a correction process for correcting the non-linearity of the input luminance measurement included in the output means alone is performed on the decompressed image stream to obtain a corrected decompressed image stream. With the gradation changing function for outputting the output, when the identification symbol detection flag is false, a correction process for correcting the non-linearity of the input luminance measurement included in the output means alone is performed on the expanded image stream and output as a corrected expanded image stream. An image compression / decompression processing device comprising: a gamma correction unit.
【請求項9】 伸長画像データを出力する出力手段と、 入力画像データに対して上記出力手段が有する出力特性
を補正し、補正画像データとして出力する色補正手段
と、 上記補正画像データを画像圧縮手法を用いて圧縮し、圧
縮画像データとして出力する画像圧縮手段と、 上記圧縮画像データを保持して蓄積画像データとして出
力する画像蓄積手段と、 上記蓄積画像データを読み出し、上記画像圧縮手段で用
いた圧縮手法に対応する逆変換を用いて伸長し、伸長画
像データとして出力する画像伸長手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
9. Output means for outputting decompressed image data, color correcting means for correcting output characteristics of the output means with respect to input image data and outputting as corrected image data, and image compression of the corrected image data. An image compression unit that compresses using a method and outputs as compressed image data, an image storage unit that holds the compressed image data and outputs it as accumulated image data, and the accumulated image data is read and used by the image compression unit. An image compression / decompression processing device, comprising: an image decompression unit that decompresses by using an inverse transform corresponding to the compressed method and outputs as decompressed image data.
【請求項10】 補正伸長画像データを出力する出力手
段と、 入力画像データに対して上記出力手段が有する出力特性
を補正し、補正画像データとして出力する色補正手段
と、 上記補正画像データを、画像圧縮手法を用いて圧縮し、
圧縮したストリームデータに対して既に色補正済みのデ
ータであることを示すフラグを付加し、補正情報付き圧
縮画像データとして出力する補正情報付加機能付き画像
圧縮手段と、 上記補正情報付き圧縮画像データを保持し、補正情報付
き蓄積画像データとして出力する画像蓄積手段と、 上記補正情報付き蓄積画像データを上記補正情報付加機
能付き画像圧縮手段で用いた圧縮手法に対応する逆変換
を用いて伸長し、伸長画像データとして出力し、伸長し
たストリームに上記補正情報付加機能付き圧縮手段で付
加したフラグの有無を調べ、フラグを検出した場合は、
イネーブル情報を偽として出力し、フラグがなかった場
合にはイネーブル情報を真として出力する補正情報検出
機能付き画像伸長手段と、 上記イネーブル情報が真の場合は、上記伸長画像データ
に対して上記出力手段が有する出力特性を補正し、補正
伸長画像データとして出力し、一方、上記イネーブル情
報が偽の場合は、上記伸長画像データに処理を行わず補
正伸長画像データとして出力する、イネーブル付き色補
正手段と、 を備えたことを特徴とする画像圧縮伸長処理装置。
10. Output means for outputting corrected decompressed image data, color correction means for correcting output characteristics of the output means with respect to input image data, and outputting as corrected image data, and the corrected image data, Compress using the image compression method,
An image compression unit with a correction information addition function, which adds a flag indicating that the data has already been color-corrected to the compressed stream data and outputs it as compressed image data with correction information, and the compressed image data with correction information An image storage means for holding and outputting as accumulated image data with correction information, and expanding the accumulated image data with correction information using an inverse transform corresponding to the compression method used by the image compression means with correction information addition function, It is output as decompressed image data, the decompressed stream is checked for the presence of the flag added by the compression means with the correction information adding function, and if the flag is detected,
An image decompression means with a correction information detection function, which outputs enable information as false and outputs enable information as true when there is no flag, and outputs the expanded image data to the expanded image data when the enable information is true. A color correction unit with enable that corrects the output characteristic of the means and outputs it as corrected decompressed image data, and outputs the corrected decompressed image data without processing the decompressed image data when the enable information is false. An image compression / decompression processing device comprising:
【請求項11】 非線形な入力輝度特性を有し補正伸長
画像ストリームを出力する出力手段と、 入力画像ストリームの先頭に識別記号を付加したフレー
ムを挿入して基準画像挿入済み画像ストリームとして出
力する基準画像挿入手段と、 入力画像データに対して上記出力手段が有する出力特性
を補正し、補正画像データとして出力する色補正手段
と、 上記補正画像ストリームを画像圧縮手法を用いて圧縮し
て圧縮画像ストリームとして出力する画像圧縮手段と、 上記圧縮画像ストリームを保持し、蓄積画像ストリーム
として出力する画像蓄積手段と、 上記蓄積画像ストリームを上記画像圧縮手段で用いた圧
縮手法に対応する逆変換を用いて伸長し、伸長画像スト
リームとして出力する画像伸長手段と、 上記伸長画像ストリームの先頭フレームの画像を調べ、
上記基準画像挿入手段で付加された上記識別記号の有無
を判別し、該識別記号が存在する場合には、イネーブル
情報を偽として出力し、一方、上記識別記号が存在しな
い場合にはイネーブル情報を真として出力する基準画像
判定手段と、 上記イネーブル情報が真の場合は、上記伸長画像ストリ
ームに対して前記出力手段が有する出力特性を補正し、
補正伸長画像データとして出力補正伸長画像ストリーム
として出力し、一方、上記イネーブル情報が偽の場合
は、上記伸長画像ストリームに処理を行わず補正伸長画
像ストリームとして出力するイネーブル付き色補正手段
と、 を備えたことを特徴とする画像圧縮伸長処理装置。
11. Output means for outputting a corrected decompressed image stream having a non-linear input luminance characteristic, and a reference for inserting a frame added with an identification symbol at the beginning of the input image stream and outputting it as a reference image inserted image stream. An image inserting unit, a color correcting unit that corrects the output characteristics of the output unit with respect to the input image data and outputs the corrected image data, and a compressed image stream obtained by compressing the corrected image stream using an image compression method. And an image storage unit that holds the compressed image stream and outputs it as an accumulated image stream, and expands the accumulated image stream using an inverse transform corresponding to the compression method used by the image compression unit. Then, the image decompression means for outputting the decompressed image stream and the head frame of the decompressed image stream are output. Examine the image of the
The presence / absence of the identification symbol added by the reference image inserting means is determined. If the identification symbol is present, the enable information is output as false, while if the identification symbol is not present, the enable information is output. When the enable information is true, the reference image determination unit that outputs as true, corrects the output characteristic of the output unit with respect to the decompressed image stream,
Output as corrected decompressed image data as a corrected decompressed image stream. On the other hand, when the enable information is false, a color correction unit with an enable that outputs the corrected decompressed image stream as a corrected decompressed image stream without processing the decompressed image stream. An image compression / decompression processing device characterized by the above.
【請求項12】 請求項1ないし11のいずれかに記載
の画像圧縮伸長処理装置において、 上記画像蓄積手段に替えて、 圧縮画像データを伝送路で転送可能なプロトコルに変換
して送信データとして送出する送信手段と、 上記伝送路から送信データを受け取り画像伸長手段で処
理可能な受信データとして出力する受信手段と、 上記送信手段と受信手段を接続する伝送路を、 備えたことを特徴とする画像圧縮伸長処理装置。
12. The image compression / decompression processing device according to claim 1, wherein the compressed image data is converted into a protocol that can be transferred through a transmission line and sent as transmission data instead of the image storage means. And a transmission line that connects the transmission unit and the reception unit with each other, and a reception unit that receives the transmission data from the transmission line and outputs the reception data that can be processed by the image expansion unit. Compression / decompression processor.
JP2002086729A 2002-03-26 2002-03-26 Picture compression and expansion processor Pending JP2003283872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002086729A JP2003283872A (en) 2002-03-26 2002-03-26 Picture compression and expansion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002086729A JP2003283872A (en) 2002-03-26 2002-03-26 Picture compression and expansion processor

Publications (1)

Publication Number Publication Date
JP2003283872A true JP2003283872A (en) 2003-10-03

Family

ID=29233225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002086729A Pending JP2003283872A (en) 2002-03-26 2002-03-26 Picture compression and expansion processor

Country Status (1)

Country Link
JP (1) JP2003283872A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006113987A (en) * 2004-10-18 2006-04-27 Sony Corp Print control device, image processor, printer, print control method and program
US8606028B2 (en) 2006-03-30 2013-12-10 Kabushiki Kaisha Toshiba Pixel bit depth conversion in image encoding and decoding
JP2015191158A (en) * 2014-03-28 2015-11-02 株式会社メガチップス Image processing apparatus and image processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006113987A (en) * 2004-10-18 2006-04-27 Sony Corp Print control device, image processor, printer, print control method and program
JP4576973B2 (en) * 2004-10-18 2010-11-10 ソニー株式会社 Printing control apparatus, image processing apparatus, printing apparatus, printing control method, and program
US8606028B2 (en) 2006-03-30 2013-12-10 Kabushiki Kaisha Toshiba Pixel bit depth conversion in image encoding and decoding
JP2015191158A (en) * 2014-03-28 2015-11-02 株式会社メガチップス Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
US7554557B2 (en) Device and method for image compression and decompression
US9036939B2 (en) Video acquisition with processing based on ancillary data
US8526730B2 (en) Image processing apparatus and method of processing color image data that perform overdrive
JP5734617B2 (en) Video data processing apparatus, display system, and processing method
EP0730386A2 (en) Color format conversion in a parallel processor
JP3201449B2 (en) Image display processing method and apparatus for electronic display
JP2005316369A (en) Image processing method of tft-lcd
US5327242A (en) Video noise reduction apparatus and method using three dimensional discrete cosine transforms and noise measurement
KR20100081886A (en) Adaptive tone mapping apparatus and method, and image processing system using the method
CA2095756C (en) Method and apparatus for linear color processing
JP2003209696A (en) Image emphasis in compressed image data
US7826111B2 (en) Color conversion method using a colors look-up table
US7447384B2 (en) Image processing method and apparatus
US7907668B2 (en) Method and apparatus for calculating moving-image correction-coefficient, moving-image correcting apparatus, and computer product
US6721455B1 (en) Method and apparatus for icon compression and decompression
EP4037312A1 (en) Image signal conversion method and apparatus, and terminal device
JP2000244757A (en) Color conversion device and method
JP2003283872A (en) Picture compression and expansion processor
US20050002565A1 (en) Apparatus and method for controlling brightness of moving image signals in real time
US20020021834A1 (en) Image processing method, image processing apparatus and image processing system
JP3080019B2 (en) Video signal processing device
JP2016045392A (en) Image processor, image processing method, and program
JPH06197223A (en) Image reader
JP4037336B2 (en) Image processing apparatus and method, and program
KR100834615B1 (en) Color conversion method based on error correction table