JPH09186989A - Apparatus and method for encoding and compressing image signal - Google Patents
Apparatus and method for encoding and compressing image signalInfo
- Publication number
- JPH09186989A JPH09186989A JP34181095A JP34181095A JPH09186989A JP H09186989 A JPH09186989 A JP H09186989A JP 34181095 A JP34181095 A JP 34181095A JP 34181095 A JP34181095 A JP 34181095A JP H09186989 A JPH09186989 A JP H09186989A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- image signal
- image
- compression
- compressing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【課題】 画像信号を符号化圧縮する際の圧縮率を、画
質を低下させることなく向上させることができるように
する。
【解決手段】 光学系Aにより導入された被写体からの
光を光電変換して画像信号を生成する画像信号生成手段
Bと、上記画像信号生成手段Bにより生成された画像信
号を符号化圧縮する符号化圧縮手段Cと、上記符号化圧
縮手段Cで符号化圧縮される画像信号の圧縮率を、検出
手段Dにより検出された値に基いて変えるように制御す
る圧縮制御手段Eとを設け、撮像された画像の状態およ
び上記画像の状態変化に基づいて画像信号の符号化圧縮
を行うようにすることにより、画像の状態に適した符号
化圧縮を行うことができるようにして、高画質および高
圧縮率で画像を符号化圧縮できるようにする。
(57) Abstract: [PROBLEMS] To improve the compression rate when encoding and compressing an image signal without degrading the image quality. SOLUTION: An image signal generating means B for photoelectrically converting light from a subject introduced by an optical system A to generate an image signal, and a code for encoding and compressing the image signal generated by the image signal generating means B. The compression / compression means C and the compression control means E for controlling the compression rate of the image signal coded and compressed by the coding / compression means C so as to be changed based on the value detected by the detection means D are provided. By performing the encoding / compression of the image signal on the basis of the state of the image and the change in the state of the image, the encoding / compression suitable for the state of the image can be performed, and high image quality and high Enables code compression of an image at a compression rate.
Description
【0001】[0001]
【発明の属する技術分野】本発明は画像信号の符号化圧
縮装置および方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal encoding / compressing apparatus and method.
【0002】[0002]
【従来の技術】従来、ディジタル形式の画像を撮像した
り記録したりする場合には、大容量の画像信号を高速に
伝送および記録する必要がある。そこで、例えばJPE
G等の符号化圧縮技術により上記の画像信号の情報量を
効率良く削減し、かつ画質の劣化が少なくなる手法が用
いられている。また、近年は静止画に加えて動画にも対
応できる手法が提案されている。2. Description of the Related Art Conventionally, when capturing or recording a digital image, it is necessary to transmit and record a large-capacity image signal at high speed. So, for example, JPE
A technique for efficiently reducing the information amount of the image signal and reducing the deterioration of the image quality by using a coding compression technique such as G is used. In addition, in recent years, a method has been proposed which can support not only still images but also moving images.
【0003】ところで、動画像中の全ての情報を静止画
と同様のデータ化を行うことは、莫大な記憶容量を消費
する等の点からも非現実的である。そのため、時間軸方
向での冗長性を圧縮する手法を取り入れたMPEG等の
方法が実現されている。By the way, it is unrealistic to convert all the information in a moving image into the same data as a still image from the viewpoint of consuming a huge storage capacity. For this reason, a method such as MPEG, which incorporates a method of compressing redundancy in the time axis direction, has been realized.
【0004】このようなディジタル画像符号化圧縮装置
を用いたビデオカメラの一例を、図11に示す。上記ビ
デオカメラは、被写体を撮像するためのレンズ101、
被写体像をアナログ電気信号に変換するための撮像素子
102、上記アナログ電気信号をディジタル電気信号に
変換するためのA/D変換部103、ディジタル電気信
号を所定形式の画像信号に変換するための画像信号変換
部104を有している。FIG. 11 shows an example of a video camera using such a digital image coding / compressing apparatus. The video camera includes a lens 101 for capturing a subject,
An image sensor 102 for converting a subject image into an analog electric signal, an A / D converter 103 for converting the analog electric signal into a digital electric signal, and an image for converting the digital electric signal into an image signal of a predetermined format. It has a signal converter 104.
【0005】また、上記画像信号の時間軸方向の符号化
圧縮処理を行うための第1符号化部107と、上記画像
信号のフレーム内符号化圧縮処理を行う第2符号化部1
08とを有している。A first coding unit 107 for coding and compressing the image signal in the time axis direction and a second coding unit 1 for performing intraframe coding and compression of the image signal.
08.
【0006】上記第1符号化部107は、上記画像信号
変換部104からの画像信号を上記第1符号化部107
と上記第2符号化部108とに選択的に出力するための
セレクタ110と、上記画像信号を保持するためのメモ
リ111と、上記セレクタ110から与えられる画像信
号と、上記メモリ111から読みだされる画像信号との
差分画像を生成するための差分器112とからなってい
る。The first encoding unit 107 converts the image signal from the image signal converting unit 104 into the first encoding unit 107.
And a selector 110 for selectively outputting to the second encoding unit 108, a memory 111 for holding the image signal, an image signal given from the selector 110, and read from the memory 111. And a difference unit 112 for generating a difference image from the image signal.
【0007】また、上記第2符号化部108によって符
号化圧縮された画像信号を記録するための記録部109
が設けられている。A recording unit 109 for recording the image signal coded and compressed by the second coding unit 108.
Is provided.
【0008】このように構成されたビデオカメラにおい
て、被写体像はレンズ101により撮像素子102上に
結像され、アナログ電気信号に変換される。In the video camera thus constructed, a subject image is formed on the image pickup element 102 by the lens 101 and converted into an analog electric signal.
【0009】そして、上記撮像素子102からのアナロ
グ電気信号はA/D変換部103に与えられてディジタ
ル電気信号に変換され、次に、画像信号変換部104に
より所定形式の画像信号として出力される。Then, the analog electric signal from the image pickup device 102 is given to the A / D converter 103 to be converted into a digital electric signal, and then outputted by the image signal converter 104 as an image signal of a predetermined format. .
【0010】上記画像信号の圧縮には、静止画の場合は
直交変換である離散コサイン変換(DCT)に加え、可
変長符号化によるフレーム内符号化圧縮処理が用いられ
る。また、動画像を扱う場合には、上記フレーム内符号
化圧縮処理に加えて、画像間の差分を取ることで時間軸
方向の情報量を圧縮する処理が行われる。なお、動画像
を静止画像の集合と考え、ここでは動画像の処理方法に
ついて説明する。In order to compress the image signal, in addition to the discrete cosine transform (DCT) which is an orthogonal transform in the case of a still image, an intra-frame coding compression process by variable length coding is used. Further, when handling a moving image, in addition to the intra-frame coding compression process, a process of compressing the information amount in the time axis direction is performed by obtaining a difference between the images. A moving image is considered as a set of still images, and a method of processing a moving image will be described here.
【0011】動画像処理では、時間的に連続した一群の
画像中、注目する一枚の画像と他の画像とがよく似てい
ることを利用し、任意の枚数の画像をひとつのグループ
と見なし、その中の先頭画像は通常のフレーム内符号化
圧縮方法を行う。また、残りの画像は画像間差分をとっ
た上でフレーム内圧縮により表すことで、時間軸方向の
冗長性を削減し、かつ画像の転送レートを低く保つよう
にしている。In the moving image processing, the fact that one image of interest is very similar to other images in a group of temporally consecutive images is used, and an arbitrary number of images are regarded as one group. , The first image in it is subjected to the usual intra-frame coding compression method. Further, the remaining images are represented by intra-frame compression after taking the difference between the images, thereby reducing redundancy in the time axis direction and keeping the image transfer rate low.
【0012】この時の差分の取り方としては、全ての差
分を先頭画像からとる方法と、常に直前の画像からの差
分をとる方法とが挙げられるが、ここでは累積誤差の問
題のないので、全ての差分を代表画像からとる方法を用
いている。As a method of obtaining the differences at this time, there are a method of taking all the differences from the first image and a method of always taking the differences from the immediately preceding image. However, since there is no problem of accumulated error here, The method of taking all the differences from the representative image is used.
【0013】上記のように前方の画像との差分を取るこ
とで時間軸方向に圧縮した後に符号化される画像は、前
方予測符号化画像(Predictive−coded
Pピクチャ)と呼ばれ、このPピクチャを生成する際
の基準となる画像は、画像内符号化画像(Intra−
coded picture,Iピクチャ)と呼ばれ
る。As described above, an image that is encoded after being compressed in the time axis direction by taking the difference from the preceding image is a predictive-coded image (Predictive-coded).
An image that is referred to as a P-picture and serves as a reference when generating this P-picture is an intra-coded image (Intra-Image).
It is called a coded picture (I picture).
【0014】この2種類の画像を生成するための、時間
軸方向の圧縮を第1符号化部107では処理される画像
の枚数をカウントし、一定枚数ごとにセレクタ110を
切り替えてIピクチャおよびPピクチャを生成する。The first encoding unit 107 counts the number of images processed in the time-axis direction compression for generating these two types of images, and switches the selector 110 every fixed number of I-pictures and P-pictures. Generate a picture.
【0015】また、Iピクチャ生成時は、時間軸方向の
圧縮は行わず、入力信号をそのまま第2符号化部108
へ出力する。また、後のPピクチャ生成のために画像信
号をメモリ111に保存する。そして、Pピクチャ生成
時には、入力信号とメモリ111内から読みだした画像
信号との差分をとり、これを第2符号化部108へ出力
する。When the I picture is generated, compression in the time axis direction is not performed, and the input signal is directly input to the second encoding unit 108.
Output to In addition, the image signal is stored in the memory 111 for later P picture generation. Then, at the time of generating the P picture, the difference between the input signal and the image signal read from the memory 111 is calculated and is output to the second encoding unit 108.
【0016】一方、第2符号化部108では、フレーム
内符号化圧縮を行う。このフレーム内符号化圧縮処理
は、図示しないがDCT符号化処理、量子化処理、可変
長符号化処理からなり、8×8画素を1ブロック単位と
してDCT変換を行った画像データに量子化を行って圧
縮し、これにハフマン符号化処理を行い冗長性を削減
し、圧縮画像データを生成する。On the other hand, the second coding unit 108 performs intraframe coding compression. Although not shown, the intra-frame coding / compression process includes a DCT coding process, a quantizing process, and a variable length coding process. The 8 × 8 pixels are quantized to DCT-transformed image data in 1 block units. Then, Huffman coding processing is performed on the compressed data to reduce redundancy, and compressed image data is generated.
【0017】このようにして生成された圧縮画像データ
は、DCT量子化テーブルおよびハフマン符号化テーブ
ルをヘッダとして付けた形で記録部109へ送られ、記
録媒体上(図示せず)に記録される。The compressed image data generated in this manner is sent to the recording unit 109 in a form in which a DCT quantization table and a Huffman coding table are attached as a header, and is recorded on a recording medium (not shown). .
【0018】[0018]
【発明が解決しようとする課題】これまでの画像の符号
化圧縮方法では、装置の記憶容量や転送速度の点から全
体の圧縮率を設定する。そして、上記設定した圧縮率に
見合う形でIピクチャ生成とPピクチャ生成とを時間的
に切り替えるといった方法が採られており、記録される
画像側から圧縮率を判断することはなかった。In the conventional image coding and compression methods, the overall compression ratio is set in terms of the storage capacity and transfer rate of the device. Then, a method of temporally switching between I picture generation and P picture generation in a form commensurate with the set compression rate is adopted, and the compression rate is not judged from the recorded image side.
【0019】例えば上述した時間的にIピクチャとPピ
クチャを切り替えて記録する方法において、画像撮像中
にシーンチェンジが行われた場合、シーンチェンジ前後
の不連続な画像間の差分を取ることで圧縮率がかえって
悪化してしまう場合が考えられる。For example, in the above-described method of recording by switching I pictures and P pictures temporally, when a scene change is performed during image pickup, compression is performed by obtaining a difference between discontinuous images before and after the scene change. It is possible that the rate will worsen.
【0020】また、記録後の編集を考えた場合でも、シ
ーンチェンジにまたがって記録が行われていることか
ら、シーンチェンジ前の余分な画像を読み出す必要があ
り、余分な処理が発生していた。Further, even when considering editing after recording, since the recording is performed over the scene change, it is necessary to read an extra image before the scene change, resulting in extra processing. .
【0021】また、通常の撮像を行っている場合におい
ても、被写体が何かの影に入って画質が一時的に低下す
る場合など、画質の安定しない状況がしばしば生じるこ
とがある。このような場合でも、これまでは一定の圧縮
率で処理を行っていたため、効率的な圧縮を行うことが
できなかった。Further, even during normal image pickup, a situation in which the image quality is not stable often occurs, for example, when the subject enters a shadow of something and the image quality is temporarily deteriorated. Even in such a case, since the processing has been performed at a constant compression rate, efficient compression cannot be performed.
【0022】本発明はこのような状況に鑑みてなされた
ものであり、シーンチェンジ時や画質が一時的に低下し
た時でも画像信号を符号化する処理を効率的に行うこと
ができるようにすることを目的とする。The present invention has been made in view of such a situation, and makes it possible to efficiently perform a process of encoding an image signal even when a scene is changed or the image quality is temporarily deteriorated. The purpose is to
【0023】[0023]
【課題を解決するための手段】本発明の画像信号の符号
化圧縮装置は、光学系により導入された被写体からの光
を光電変換して画像信号を生成する画像信号生成手段
と、上記画像信号生成手段により生成された画像信号を
符号化圧縮する符号化圧縮手段と、上記画像信号生成手
段により生成された画像信号の輝度値から露光状態を表
す値を検出する検出手段と、上記符号化圧縮手段で符号
化圧縮される画像信号の圧縮率を、上記検出手段により
検出された値に基いて変えるように制御する圧縮制御手
段とを具備している。An image signal encoding / compressing apparatus according to the present invention comprises image signal generating means for photoelectrically converting light from a subject introduced by an optical system to generate an image signal, and the image signal. Coding compression means for coding and compressing the image signal generated by the generation means, detection means for detecting a value representing an exposure state from the luminance value of the image signal generated by the image signal generation means, and the coding compression Compression means for controlling the compression rate of the image signal coded and compressed by the means based on the value detected by the detecting means.
【0024】また、本発明の他の特徴とするところは、
被写体からの光を内部に導入するための光学系と、上記
光学系により導入された被写体からの光を光電変換して
電気信号を生成する撮像手段と、上記撮像手段により生
成された電気信号から所定形式の画像信号を生成する画
像信号変換手段と、上記画像信号変換手段により生成さ
れた画像信号における輝度値から露光状態を表す値を検
出する検出手段と、上記画像信号変換手段により生成さ
れた画像信号に符号化圧縮処理を施す符号化圧縮手段
と、上記符号化圧縮手段で符号化圧縮される画像信号の
圧縮率を、上記検出手段により検出された値に基いて変
えるように制御する圧縮制御手段とを具備している。Another feature of the present invention is that
An optical system for introducing the light from the subject into the inside, an image pickup means for photoelectrically converting the light from the subject introduced by the optical system to generate an electric signal, and an electric signal generated by the image pickup means An image signal converting means for generating an image signal of a predetermined format, a detecting means for detecting a value representing an exposure state from a brightness value in the image signal generated by the image signal converting means, and an image signal converting means for generating the image signal. Coding compression means for performing coding compression processing on the image signal, and compression for controlling the compression rate of the image signal coded and compressed by the coding compression means so as to change based on the value detected by the detection means. And a control means.
【0025】また、本発明のその他の特徴とするところ
は、上記画像信号を記録して保持するための記録手段を
具備することを特徴としている。Another feature of the present invention is that it is provided with a recording means for recording and holding the image signal.
【0026】また、本発明のその他の特徴とするところ
は、上記符号化圧縮手段は、上記画像信号を符号化圧縮
する符号化方法が異なる複数の符号化圧縮部を有し、上
記検出手段からの検出値に基いて上記複数の符号化圧縮
部の中から所定の符号化圧縮部を選択して上記画像信号
の圧縮率を変えることを特徴としている。Another feature of the present invention is that the encoding / compressing means has a plurality of encoding / compressing sections different in encoding method for encoding / compressing the image signal, It is characterized in that a predetermined encoding / compression unit is selected from the plurality of encoding / compression units on the basis of the detection value of 1 to change the compression rate of the image signal.
【0027】また、本発明のその他の特徴とするところ
は、上記符号化圧縮手段が有する複数の符号化圧縮部の
うちのひとつは、任意の画像間の差分をとる処理を行う
符号化圧縮部であることを特徴としている。Another feature of the present invention is that one of the plurality of encoding / compressing units included in the encoding / compression unit is an encoding / compression unit for performing a process of obtaining a difference between arbitrary images. It is characterized by being.
【0028】また、本発明のその他の特徴とするところ
は、上記検出手段は、上記画像内に任意の領域を設定
し、上記設定した領域内の輝度値の平均値を画像の露光
状態を表す値として検出することを特徴としている。Another feature of the present invention is that the detecting means sets an arbitrary area in the image, and the average value of the brightness values in the set area indicates the exposure state of the image. The feature is that it is detected as a value.
【0029】また、本発明のその他の特徴とするところ
は、上記検出手段は、上記画像内に設定された複数の領
域ごとに輝度値を求めるとともに、上記求めた輝度値に
重み付け演算を行って上記画像内輝度の分布状態を示す
検出値を求めることを特徴としている。Another feature of the present invention is that the detecting means obtains a brightness value for each of a plurality of areas set in the image, and weights the obtained brightness value. It is characterized in that a detection value indicating the distribution state of the luminance in the image is obtained.
【0030】また、本発明のその他の特徴とするところ
は、上記検出手段は、上記画像中の輝度値の最大値、最
小値およびその画素数を検出値とすることを特徴として
いる。Another feature of the present invention is that the detecting means uses the maximum value and the minimum value of the brightness value in the image and the number of pixels thereof as the detection value.
【0031】また、本発明の画像信号の符号化圧縮方法
の特徴とするところは、光学系により導入された被写体
からの光を光電変換して画像信号を生成する第1の処理
と、上記第1の処理により生成された画像信号を符号化
圧縮する第2の処理と、上記第1の処理により生成され
た画像信号における輝度値から露光状態を表す値を検出
する第3の処理と、上記第2の処理で符号化圧縮される
画像信号の圧縮率を、上記第3の処理により検出された
値に基いて変えるように制御する第4の処理とを行うこ
とを特徴としている。The feature of the image signal coding and compressing method of the present invention is that the first process for photoelectrically converting the light from the subject introduced by the optical system to generate the image signal, and the above-mentioned first process. A second process of encoding and compressing the image signal generated by the first process; a third process of detecting a value representing an exposure state from the brightness value of the image signal generated by the first process; It is characterized by performing a fourth process of controlling so that the compression rate of the image signal coded and compressed in the second process is changed based on the value detected by the third process.
【0032】また、本発明の画像信号の符号化圧縮方法
の他の特徴とするところは、光学系を通して画像信号を
入力する画像信号処理と、上記画像信号処理により入力
された画像が検出領域内か否かの判断を行う検出領域判
断処理と、上記検出領域判断処理の判断の結果、上記入
力された画像が検出領域内の場合に、入力画像内にあら
かじめ設定された検出領域内の画素について、各画素の
輝度値を加算する累積加算処理と、上記検出領域判断処
理の判断の結果、上記入力された画像が検出領域内でな
い場合、および上記累積加算処理が行われた後で、検出
領域が終了したか否かを判断する領域終了判断処理と、
上記領域終了判断処理の判断の結果、検出領域が終了し
たの場合に行われる処理であって、上記検出領域内の輝
度値の平均値を求める平均値算出処理と、上記平均値算
出処理で求められた平均値と、内部に保持していた直前
のIピクチャの輝度値の平均値の差分を算出する差分算
出処理と、上記差分算出処理で求められた差分があらか
じめ設定された閾値を越えたか否かを判断する差分値判
断処理と、上記差分値判断処理の判断結果に応じて符号
化圧縮される画像信号の圧縮率を変えるように制御する
圧縮率制御処理とを行うことを特徴としている。Another feature of the image signal coding and compressing method of the present invention is that the image signal processing for inputting the image signal through the optical system and the image input by the image signal processing are within the detection area. If the input image is within the detection region as a result of the detection region determination process for determining whether or not the detection region determination process is performed, the pixels within the detection region preset in the input image are detected. , When the input image is not within the detection area as a result of the judgment of the detection area judgment processing and the cumulative addition processing of adding the luminance value of each pixel, and after the cumulative addition processing is performed, Area end determination processing for determining whether or not
As a result of the determination of the region end determination process, the process is performed when the detection region is finished, the average value calculation process for obtaining the average value of the brightness value in the detection region, and the average value calculation process The difference calculation process for calculating the difference between the average value thus obtained and the average value of the brightness values of the immediately preceding I pictures stored therein, and whether the difference obtained by the difference calculation process exceeds a preset threshold value. It is characterized in that a difference value determination process for determining whether or not there is performed and a compression ratio control process for controlling so as to change the compression ratio of the image signal to be encoded and compressed according to the determination result of the difference value determination process. .
【0033】また、本発明の画像信号の符号化圧縮方法
のその他の特徴とするところは、上記差分値判断処理の
判断の結果、上記差分算出処理で求められた差分があら
かじめ設定された閾値を越えた場合には、撮像中シーン
チェンジが行われたものとしてIピクチャを生成するこ
とを特徴としている。Another feature of the image signal coding / compression method of the present invention is that the difference obtained by the difference calculation process as a result of the difference value judgment process is a preset threshold value. If it exceeds, it is characterized that an I-picture is generated assuming that a scene change is being performed during image capturing.
【0034】また、本発明の画像信号の符号化圧縮方法
のその他の特徴とするところは、上記差分値判断処理の
判断の結果、上記差分算出処理で求められた差分があら
かじめ設定された閾値を越えていない場合には、Pピク
チャを生成することを特徴としている。Another feature of the image signal coding / compression method of the present invention is that the difference obtained by the difference calculation process as a result of the determination of the difference value determination process is a preset threshold value. If it does not exceed, it is characterized in that a P picture is generated.
【0035】[0035]
【作用】本発明は上記技術手段を有するので、画像の輝
度値から露光状態を表す値を検出し、これに基いて符号
化圧縮手段で符号化圧縮される画像信号の圧縮率を変え
ることにより、シーンチェンジ等による画像の大きな変
化が生じた場合でも圧縮率および画質を低下させずに、
画像信号の符号化圧縮を効率の良く行うことができる。Since the present invention has the above technical means, by detecting the value representing the exposure state from the luminance value of the image and changing the compression rate of the image signal coded and compressed by the coding and compression means based on this value. , Even if a large change in the image occurs due to a scene change, etc., without reducing the compression rate and image quality,
The image signal can be coded and compressed efficiently.
【0036】また、本発明の他の特徴によれば、検出手
段により検出された値に基いて、複数の符号化圧縮方法
の中から所定の符号化圧縮方法を選択して圧縮率を変え
るようにしたので、画像信号の符号化圧縮を状態に応じ
て効率良く行うようにすることができる。According to another feature of the present invention, based on the value detected by the detection means, a predetermined coding compression method is selected from among a plurality of coding compression methods to change the compression rate. Therefore, the coding and compression of the image signal can be efficiently performed according to the state.
【0037】また、本発明のその他の特徴によれば、複
数の符号化圧縮方法のうちのひとつとして、任意の画像
間の差分をとる処理を行うようにしたので、画質を低下
させずに効率の良い画像信号の符号化圧縮を行うことが
できる。Further, according to another feature of the present invention, as one of the plurality of encoding / compressing methods, a process for obtaining a difference between arbitrary images is performed, so that the image quality is not deteriorated and the efficiency is improved. It is possible to perform coding compression of a good image signal.
【0038】また、本発明のその他の特徴によれば、画
像の領域内の輝度値を検出するようにしたので、上記検
出値に基づいてシーンチェンジ等による画像の大きな変
化を簡単に検出することができる。Further, according to another feature of the present invention, since the brightness value in the image area is detected, it is possible to easily detect a large change in the image due to a scene change or the like based on the detected value. You can
【0039】[0039]
【発明の実施の形態】以下、本発明の画像信号の符号化
圧縮装置および方法の一実施形態を図面を参照して説明
する。BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of an image signal coding and compressing apparatus and method according to the present invention will be described below with reference to the drawings.
【0040】図1は、本発明の画像信号の符号化圧縮装
置を適用した撮像装置の概略構成を示す機能構成図であ
る。図1において、Aは光学系、Bは画像信号生成手
段、Cは符号化圧縮手段、Dは検出手段、Eは圧縮制御
手段、Iは記録手段である。FIG. 1 is a functional block diagram showing a schematic configuration of an image pickup apparatus to which the image signal coding / compressing apparatus of the present invention is applied. In FIG. 1, A is an optical system, B is an image signal generation means, C is an encoding compression means, D is a detection means, E is a compression control means, and I is a recording means.
【0041】上記画像信号生成手段Bは、上記光学系A
により導入された被写体からの光を光電変換して画像信
号を生成するためのものである。本実施形態の画像信号
生成手段Bは、撮像手段Fおよび画像信号変換手段Gに
よって構成されている。The image signal generating means B is the optical system A.
The light from the subject introduced by the method is photoelectrically converted to generate an image signal. The image signal generation means B of the present embodiment is composed of an image pickup means F and an image signal conversion means G.
【0042】上記撮像手段Fは、上記光学系Aにより導
入された被写体からの光を光電変換して電気信号を生成
するためのものである。また、上記画像信号変換手段G
は、上記撮像手段Fにより生成された電気信号から所定
形式の画像信号を生成するためのものである。The image pickup means F is for photoelectrically converting the light from the subject introduced by the optical system A to generate an electric signal. Further, the image signal conversion means G
Is for generating an image signal of a predetermined format from the electric signal generated by the image pickup means F.
【0043】符号化圧縮手段Cは、上記画像信号生成手
段Bにより生成された画像信号を符号化圧縮するもので
あり、第1の符号化部H1 、第2の符号化部H2 、…第
nの符号化部Hn によって構成されている。The coding / compression means C codes and compresses the image signal generated by the image signal generation means B, and includes a first coding section H 1 , a second coding section H 2 , ... It is configured by the n-th coding unit H n .
【0044】検出手段Dは、上記画像信号生成手段Bに
より生成された画像信号の輝度値から露光状態を表す値
を検出するためのものである。圧縮制御手段Eは、上記
符号化圧縮手段Cで符号化圧縮される画像信号の圧縮率
を、上記検出手段Dにより検出された値に基いて変える
ように制御するためのものである。The detecting means D is for detecting a value representing the exposure state from the brightness value of the image signal generated by the image signal generating means B. The compression control means E is for controlling the compression rate of the image signal coded and compressed by the coding and compression means C so as to change it based on the value detected by the detection means D.
【0045】また、上記記録手段Iは、上記符号化圧縮
手段Cで符号化圧縮された画像信号を記録して保持する
ために設けられている。The recording means I is provided for recording and holding the image signal code-compressed by the code compression means C.
【0046】上記第1の符号化圧縮部H1 〜第nの符号
化圧縮部Hn は、画像信号を符号化圧縮する符号化方法
が異なるものであり、上記検出手段Dからの検出値に基
いて、これら複数の符号化圧縮部H1 〜Hn の中から最
適な符号化圧縮部を選択し、上記画像信号の圧縮率を変
えることができるようにしている。The first encoding compression unit H 1 to the nth encoding compression unit H n are different in the encoding method for encoding and compressing the image signal, and the detected value from the detection means D is the same. Based on this, the optimum coding / compression unit is selected from among the plurality of coding / compression units H 1 to H n so that the compression rate of the image signal can be changed.
【0047】したがって、本実施形態の画像信号の符号
化圧縮装置によれば、撮像された画像の状態に基づいて
画像信号の符号化圧縮を行うことができるので、例え
ば、通常の画像は低圧縮にして高画質を保つようにする
とともに、高画質を必要としない画像には高圧縮処理を
行うようにすることが可能となり、高画質を保持しなが
ら高圧縮率で画像を符号化圧縮することができる。Therefore, according to the image signal coding / compressing apparatus of the present embodiment, the image signal can be coded and compressed based on the state of the picked-up image. It is possible to maintain high image quality by performing high compression processing on images that do not require high image quality, and to encode and compress images with high compression ratio while maintaining high image quality. You can
【0048】また、本実施形態の場合、複数の符号化圧
縮方法のうちのひとつとして、任意の画像間の差分をと
る処理を行うようにしたので、画質を低下させずに効率
の良い画像信号の符号化圧縮を行うことができるように
なる。Further, in the case of the present embodiment, as one of a plurality of coding / compression methods, the processing for obtaining the difference between arbitrary images is performed, so that an efficient image signal can be obtained without degrading the image quality. It becomes possible to perform the encoding compression of.
【0049】また、本実施形態の他の特徴によれば、画
像に検出領域を設けるとともに、上記検出領域内の輝度
値を検出するようにしたので、上記検出値に基づいてシ
ーンチェンジ等による画像の大きな変化を簡単に検出す
ることができるようになり、画像信号の符号化圧縮を効
率良く行うことができる。Further, according to another feature of the present embodiment, the detection area is provided in the image and the brightness value in the detection area is detected. Therefore, an image due to a scene change or the like is detected based on the detection value. It becomes possible to easily detect a large change in the image signal, and the coding and compression of the image signal can be efficiently performed.
【0050】次に、本発明の画像信号の符号化圧縮装置
および方法を図面を参照しながらより具体的に説明す
る。Next, the image signal coding and compressing apparatus and method of the present invention will be described more specifically with reference to the drawings.
【0051】図2は、本発明の第1の実施形態に係わる
符号化圧縮装置を備えた撮像装置である。この第1の実
施形態では、撮像時のシーンチェンジを検出し、画像信
号の圧縮方法を選択する処理方法について述べる。FIG. 2 shows an image pickup apparatus equipped with a coding / compressing apparatus according to the first embodiment of the present invention. In the first embodiment, a processing method of detecting a scene change at the time of image pickup and selecting a compression method of an image signal will be described.
【0052】図2に示した撮像装置は、被写体からの光
を内部に導入するためのレンズ101、上記内部に導入
された被写体からの光をアナログ電気信号に変換するた
めの撮像素子102、上記アナログ電気信号をディジタ
ル電気信号に変換するためのA/D変換部103を有し
ている。The image pickup apparatus shown in FIG. 2 has a lens 101 for introducing light from a subject into the inside, an image pickup element 102 for converting the light from the subject introduced into the inside into an analog electric signal, and the above. It has an A / D converter 103 for converting an analog electric signal into a digital electric signal.
【0053】また、上記ディジタル電気信号を所定の形
式の画像信号に変換するための画像信号変換部104、
上記画像信号から撮像状態の変化を検出する検出部10
5、画像信号を一時的に保持するためのFIFOメモリ
106を有している。An image signal conversion unit 104 for converting the digital electric signal into an image signal of a predetermined format,
A detection unit 10 that detects a change in the image pickup state from the image signal.
5. It has a FIFO memory 106 for temporarily holding an image signal.
【0054】また、上記画像信号の時間軸方向の符号化
圧縮処理を行うための第1符号化部107と、上記画像
信号のフレーム内符号化圧縮処理を行う第2符号化部1
08とを有している。Further, a first coding unit 107 for coding and compressing the image signal in the time axis direction and a second coding unit 1 for performing intraframe coding and compression of the image signal.
08.
【0055】上記第1符号化部107は、上記画像信号
変換部104からの画像信号を上記第1符号化部107
と上記第2符号化部108とに選択的に出力するための
セレクタ110と、上記画像信号を保持するためのメモ
リ111と、上記セレクタ110から与えられる画像信
号と、上記メモリ111から読みだされる画像信号との
差分画像を生成するための差分器112とからなってい
る。The first encoding unit 107 converts the image signal from the image signal converting unit 104 into the first encoding unit 107.
And a selector 110 for selectively outputting to the second encoding unit 108, a memory 111 for holding the image signal, an image signal given from the selector 110, and read from the memory 111. And a difference unit 112 for generating a difference image from the image signal.
【0056】また、上記第2符号化部108によって符
号化圧縮された画像信号を記録するための記録部109
が設けられている。A recording section 109 for recording the image signal coded and compressed by the second coding section 108.
Is provided.
【0057】このように構成された撮像装置により撮像
される被写体からの光は、レンズ101を通じて撮像素
子102の撮像面上に結像される。そして、上記撮像素
子102の撮像面上に結像された被写体からの光は撮像
素子102によりアナログ電気信号に変換される。The light from the subject imaged by the image pickup device thus constructed is imaged on the image pickup surface of the image pickup device 102 through the lens 101. Then, the light from the subject formed on the image pickup surface of the image pickup device 102 is converted into an analog electric signal by the image pickup device 102.
【0058】上記アナログ電気信号は、A/D変換部1
03に与えられ、アナログからディジタルの電気信号に
変換される。また、上記ディジタルに変換された電気信
号は、画像信号変換部104により任意の形式の画像信
号に変換される。The above-mentioned analog electric signal is sent to the A / D converter 1
03, and converted from analog to digital electric signal. The electric signal converted into the digital signal is converted into an image signal of an arbitrary format by the image signal conversion unit 104.
【0059】上記画像信号変換部104により任意の形
式の信号に変換された画像信号を、そのまま記録するこ
とも可能であるが、膨大な記憶容量と高速なデータ通信
が必要となるため、第1符号化部107で時間軸方向に
圧縮するとともに、第2符号化部108でフレーム内の
圧縮を行い、信号の冗長性を除く処理を行うようにして
いる。The image signal converted into a signal of any format by the image signal conversion unit 104 can be recorded as it is, but since a huge storage capacity and high-speed data communication are required, the first The encoding unit 107 performs compression in the time axis direction, and the second encoding unit 108 performs compression within a frame to perform processing for removing signal redundancy.
【0060】この際、本実施形態の撮像装置の場合は、
撮像された画像に適した圧縮を行うようにするため、上
記画像信号変換部104からの画像信号を検出部105
に入力する。そして、後述する検出方法による検出結果
を元にして、第1符号化部107内のセレクタ110を
制御して撮像された画像をIピクチャとするか、Pピク
チャとするかを選択するようにしている。At this time, in the case of the image pickup apparatus of this embodiment,
The image signal from the image signal conversion unit 104 is detected by the detection unit 105 in order to perform compression suitable for the captured image.
To enter. Then, based on the detection result by the detection method described later, the selector 110 in the first encoding unit 107 is controlled to select whether the captured image is an I picture or a P picture. There is.
【0061】なお、上記検出部105での時間の遅れを
調整するために、画像信号変換部104からの画像信号
はFIFO106を介してタイミング調整を行った後に
第1符号化部107のセレクタ110へ出力するように
している。In order to adjust the time delay in the detecting section 105, the image signal from the image signal converting section 104 is subjected to timing adjustment via the FIFO 106 and then to the selector 110 of the first encoding section 107. I am trying to output.
【0062】次に、上記検出部105で行う処理の流れ
を図3を参照しながら説明する。本実施形態の検出部1
05では、画像の撮像状態変化を考慮し、高画質・高圧
縮処理が行えるように圧縮符号化方法を選択するように
している。Next, the flow of processing performed by the detection unit 105 will be described with reference to FIG. Detection unit 1 of this embodiment
In 05, the compression encoding method is selected so that the high image quality and high compression processing can be performed in consideration of the change in the image capturing state of the image.
【0063】すなわち、まず、検出部105では、最初
のステップS1において画像信号が入力されると、次
に、ステップS2において検出領域内か否かの判断を行
う。そして、図4で示される入力画像31内にあらかじ
め設定された検出領域32内の画素については、次のス
テップS3において各画素の輝度値を加算し、その後、
ステップS4に進む。また、ステップS2の判断の結
果、検出領域内でない場合にはステップS4にジャンプ
する。That is, first, in the detection unit 105, when an image signal is input in the first step S1, next, in step S2, it is determined whether or not it is within the detection area. Then, for the pixels in the detection area 32 set in advance in the input image 31 shown in FIG. 4, the brightness values of the respective pixels are added in the next step S3, and thereafter,
Proceed to step S4. If the result of determination in step S2 is not within the detection area, the process jumps to step S4.
【0064】ステップS4では、検出領域が終了したか
否かを判断し、終了していない場合にはステップS1に
戻って上述した処理を繰り返し行う。また、ステップS
4の判断の結果、検出領域が終了した場合にはステップ
S5に進み、検出領域内の輝度値の平均値を求める。In step S4, it is determined whether or not the detection area has ended. If not, the process returns to step S1 to repeat the above-mentioned processing. Step S
If the result of determination 4 is that the detection area has ended, the operation proceeds to step S5, and the average value of the brightness values in the detection area is obtained.
【0065】次に、ステップS6に進み、上記ステップ
S5で求めた平均値と、検出部105内部に保持してい
た直前のIピクチャの輝度値の平均値との差分値を算出
するようにする。次に、ステップS7に進み、ステップ
S6で算出した差分値があらかじめ設定された閾値を越
えたか否かを判断する。Next, in step S6, a difference value between the average value obtained in step S5 and the average brightness value of the immediately preceding I picture stored in the detection unit 105 is calculated. . Next, in step S7, it is determined whether the difference value calculated in step S6 exceeds a preset threshold value.
【0066】ステップS7の判断の結果、上記差分値が
閾値を越えた場合には撮像中にシーンチェンジが行われ
たものと判断してIピクチャを更新するようにする。ま
た、ステップS7の判断の結果、閾値を越えていない場
合には、撮像中にシーンチェンジが行われていないと判
断してPピクチャとするようにする。If the result of determination in step S7 is that the difference value exceeds the threshold value, it is determined that a scene change has occurred during image pickup, and the I picture is updated. If the result of determination in step S7 is that the threshold is not exceeded, it is determined that no scene change has been performed during image pickup, and a P picture is set.
【0067】上述のようにして、画像の符号化方法が決
定された後、処理方法がIピクチャの場合、次のIピク
チャ更新の判定を行うため、検出された輝度値の平均値
を検出部105の内部に保持する。After the image coding method is determined as described above, if the processing method is I-picture, the detection unit determines the average value of the detected brightness values in order to determine the next I-picture update. Hold inside 105.
【0068】圧縮方法が決定した後、第1符号化部10
7へ信号を出力し、実際の画像信号の処理を開始する。
すなわち、検出部105からの結果により、画像をIピ
クチャとして処理する場合には、ステップS7からステ
ップS8に進む。ステップS8においては、第1符号化
部107ではこの画像を後の画像との差分の対象とする
ためメモリ111に保存し、画像信号はそのまま第2符
号化部108へ出力する。After the compression method is determined, the first encoding unit 10
A signal is output to 7 and the processing of the actual image signal is started.
That is, according to the result from the detection unit 105, when the image is processed as an I picture, the process proceeds from step S7 to step S8. In step S8, the first encoding unit 107 saves this image in the memory 111 in order to make it the target of the difference from the subsequent image, and outputs the image signal as it is to the second encoding unit 108.
【0069】また、上記ステップS7の判断の結果、画
像をPピクチャとして処理する場合はステップS9に進
み、第1符号化部107内で画像信号をメモリ111内
のデータと差分を取ったものを第2符号化部108へ出
力する。When the image is processed as a P picture as a result of the determination in step S7, the process proceeds to step S9, and the image signal in the first encoding unit 107 is subtracted from the data in the memory 111. Output to the second encoding unit 108.
【0070】第2符号化部108では、フレーム内の冗
長性を除くため、画像信号に対してDCT符号化処理、
量子化処理、可変長符号化処理を行う。すなわち、画像
中の8×8画素を1ブロック単位とし、DCT変換を行
った画像データを、設定された圧縮度合いに対応する量
子化テーブルに基いて量子化し、これにハフマン符号化
処理を行い圧縮画像データを生成する。The second encoding unit 108 performs DCT encoding processing on the image signal in order to remove redundancy within the frame.
Quantization processing and variable length coding processing are performed. That is, 8 × 8 pixels in the image are set as one block unit, and the DCT-transformed image data is quantized based on the quantization table corresponding to the set degree of compression, and Huffman coding processing is performed on the quantized data. Generate image data.
【0071】このようにして生成された圧縮画像データ
は、図6(a)に示すように、Iピクチャの場合は画像
データにDCT量子化テーブルおよびハフマン符号化テ
ーブルをヘッダとして付けた形で出力する。As shown in FIG. 6A, the compressed image data thus generated is output in the form of image data with the DCT quantization table and the Huffman coding table attached as headers, as shown in FIG. 6A. To do.
【0072】また、Pピクチャの場合は、図6(b)に
示すように、Iピクチャの後に続く複数枚のグループを
1つの集団とし、この集団の先頭にDCT量子化テーブ
ルおよびハフマン符号化テーブルを独立テーブルとして
送り、この後に各画像データを連続する形で出力する。
これらの画像データは記録部109へ送られて記録媒体
(図示せず)に記録される。In the case of a P picture, as shown in FIG. 6B, a plurality of groups following the I picture are set as one group, and the DCT quantization table and the Huffman coding table are placed at the head of this group. As an independent table, and thereafter, each image data is output in a continuous form.
These image data are sent to the recording unit 109 and recorded on a recording medium (not shown).
【0073】以上の処理により、撮像される画像の輝度
値の変化を監視し、シーンチェンジ等が行われたために
画像全体の輝度値に大きな変化が生じた場合には、新た
にIピクチャを設定できる。By the above processing, the change in the brightness value of the imaged image is monitored, and when a large change occurs in the brightness value of the entire image due to a scene change or the like, a new I picture is set. it can.
【0074】これにより、シーンチェンジ時に圧縮効率
および画質の両方に劣化の少ない符号化圧縮方法を選択
することができる。また、Iピクチャ・Pピクチャに限
らず、圧縮率の異なる複数の手法を使い分ける場合にお
いても、画像の変化が小さいときには高圧縮手法を用い
るとともに、画像の変化が激しいときには低圧縮手法を
用いることで、シーケンシャルに圧縮手法を切り替える
場合に比べ、より画質が高く、かつ圧縮効率の良い画像
を供給することができる。As a result, it is possible to select an encoding / compression method with little deterioration in both compression efficiency and image quality at the time of scene change. Further, not only for I-pictures and P-pictures, also when using a plurality of methods with different compression ratios, it is possible to use a high compression method when the change of the image is small and a low compression method when the change of the image is large. , It is possible to supply an image having higher image quality and higher compression efficiency than in the case of sequentially switching the compression method.
【0075】さらに、上述した第1の実施形態におい
て、検出部105で処理を行う画像中の検出領域を、図
5中において符号41〜45で示した領域A〜Eのよう
に複数個設定することも可能である。この場合、各領域
中の輝度値の平均値を算出し、保持していた直前画像の
各領域平均値との差分を取る。Further, in the above-described first embodiment, a plurality of detection areas in the image to be processed by the detection unit 105 are set as areas AE indicated by reference numerals 41 to 45 in FIG. It is also possible. In this case, the average value of the brightness values in each area is calculated, and the difference with the area average value of the immediately preceding image that is held is calculated.
【0076】この差分値に対し、画像中の領域位置に対
応した重み付けをした演算を行い、評価値を求める。例
えば、周辺部の変化が大きいときをシーンチェンジとす
る場合、周辺部の重み付けを重くすることで評価値に反
映することができる。The difference value is weighted in accordance with the area position in the image, and the evaluation value is obtained. For example, when a scene change is made when the change in the peripheral portion is large, it can be reflected in the evaluation value by weighting the peripheral portion heavily.
【0077】この評価値と閾値とを比較し、閾値を越え
た場合はIピクチャと判定し、その他はPピクチャと判
定する。これにより、各領域毎の輝度値の分布状態を検
出することができ、更に画像の状態を細かく把握するこ
とができるので、撮像状況に適した符号化圧縮方法を選
択することができる。This evaluation value is compared with a threshold value. If the threshold value is exceeded, it is determined to be an I picture, and the others are determined to be P pictures. This makes it possible to detect the distribution state of the brightness values for each region and further grasp the state of the image in detail, so that it is possible to select the encoding compression method suitable for the imaging situation.
【0078】次に、本発明の第2の実施形態を説明す
る。この第2の実施形態では、撮像時の画像の露出状態
を検出し、これに基いて圧縮率を変化させる処理方法に
ついて述べる。Next, a second embodiment of the present invention will be described. In the second embodiment, a processing method will be described in which the exposure state of an image at the time of image capturing is detected and the compression rate is changed based on the detected state.
【0079】図7は、第2の実施形態に係わる符号化圧
縮装置を備えた撮像装置である。なお、上述した第1の
実施形態と同じ処理を行う部分については、図2と同じ
番号を付して詳細な説明を省略する。FIG. 7 shows an image pickup apparatus equipped with a coding / compressing apparatus according to the second embodiment. In addition, about the part which performs the same process as 1st Embodiment mentioned above, the same number as FIG. 2 is attached | subjected and detailed description is abbreviate | omitted.
【0080】図7の撮像装置は、被写体を撮像するため
のレンズ101、映像をアナログ電気信号に変換するた
めの撮像素子102、撮像素子102へ入射する光量を
調節するための絞り調整部62、アナログ電気信号をデ
ィジタル電気信号に変換するためのA/D変換部10
3、画像の露出状態を検出する検出部105を有してい
る。The image pickup apparatus shown in FIG. 7 has a lens 101 for picking up an image of an object, an image pickup element 102 for converting an image into an analog electric signal, and a diaphragm adjusting section 62 for adjusting the amount of light incident on the image pickup element 102. A / D converter 10 for converting an analog electric signal into a digital electric signal
3. It has a detection unit 105 for detecting the exposure state of the image.
【0081】また、画像の露出状態を補正するAGC
(Auto Gain Control)63、電気信
号を画像信号に変換するための画像信号変換部104、
システムの制御を行うCPU64、画像信号の符号化圧
縮を行う符号化部66、画像信号を保持するためのメモ
リ111、符号化圧縮された画像信号を記録する記録部
109、撮像された画像を撮像者に表示する表示部67
およびROM65からなっている。AGC for correcting the exposure state of the image
(Auto Gain Control) 63, an image signal conversion unit 104 for converting an electric signal into an image signal,
A CPU 64 that controls the system, an encoding unit 66 that encodes and compresses an image signal, a memory 111 that holds the image signal, a recording unit 109 that records the encoded and compressed image signal, and an imaged image is captured. Display unit 67 for display to the user
And ROM 65.
【0082】このように構成された撮像装置において、
レンズ101を通じて撮像素子102上に結像された画
像はアナログ電気信号に変換され、さらにA/D変換部
103によりディジタル電気信号に変換される。In the image pickup apparatus constructed as described above,
The image formed on the image pickup element 102 through the lens 101 is converted into an analog electric signal, and further converted into a digital electric signal by the A / D converter 103.
【0083】上記ディジタル電気信号は、上記検出部1
05およびAGC63に入力される。上記検出部105
では入力されたディジタル電気信号から、AGC63に
よる補正のためのデータを検出するとともに、後の符号
化手段選択のための画像状態の検出を行う。The digital electric signal is supplied to the detection unit 1
05 and AGC 63. The detection unit 105
Then, the data for correction by the AGC 63 is detected from the input digital electric signal, and the image state for later selection of the encoding means is detected.
【0084】すなわち、上記検出部105では、まずA
GC63で行うゲイン補正および逆光補正のために、図
5に示される入力画像31中に設定された複数領域ごと
の輝度値の平均値を求める。That is, in the detection section 105, first, A
For gain correction and backlight correction performed by the GC 63, an average value of brightness values for each of a plurality of areas set in the input image 31 shown in FIG. 5 is obtained.
【0085】次に、各領域の平均値に対し、画像中央部
に重み付けた演算の結果算出される評価値を求める。ま
た、符号化方法および圧縮率決定のため、上述した各領
域ごとに、輝度値が上・下限値付近の画素数を求める。
このようにして求めた値をCPU64へ送る。Next, an evaluation value calculated as a result of weighting the center of the image with respect to the average value of each area is obtained. In order to determine the encoding method and the compression rate, the number of pixels whose brightness value is near the upper and lower limit values is obtained for each of the above-mentioned areas.
The value thus obtained is sent to the CPU 64.
【0086】CPU64では、まず上記評価値をROM
65内のテーブルと比較した結果により決定される露出
状態を適当に補正するための信号をAGC63へ送る。
また、絞り61を調整するために、絞り調整部62へ適
切な露光状態となるように補正信号を送る。In the CPU 64, the evaluation value is first stored in the ROM.
A signal for properly correcting the exposure state determined by the result of comparison with the table in 65 is sent to the AGC 63.
Further, in order to adjust the diaphragm 61, a correction signal is sent to the diaphragm adjusting unit 62 so that an appropriate exposure state is obtained.
【0087】次に、領域ごとの輝度値が上下限付近の画
素数から、画像をIピクチャまたはPピクチャとして扱
うための選択および圧縮率の設定を、図8に示されるR
OM65内のテーブルと比較して行う。通常、CPU6
4では記録部109での処理速度の上限を越えないよう
に、一定の割合でI、Pピクチャを切り換えている。こ
の判断に、画像からの判断を加えることで、高画質・高
圧縮処理を実現している。Next, the selection and setting of the compression rate for treating an image as an I picture or P picture from the number of pixels of which the luminance value for each area is near the upper and lower limits are shown in FIG.
The comparison is performed with the table in the OM65. Normally CPU6
In No. 4, I and P pictures are switched at a constant rate so that the upper limit of the processing speed in the recording unit 109 is not exceeded. By adding the judgment from the image to this judgment, high image quality and high compression processing is realized.
【0088】今、各領域中の輝度値が零付近の画素数が
多く、高輝度画素の少ない暗い画像(図8中cの条件)
が入力された場合を考える。低輝度画素数は閾値nL を
越え、高輝度画素数は閾値nH を越えていない場合、C
PU64はROM65内テーブルと比較し、画像を高圧
縮状態で処理する。Now, a dark image in which the number of pixels in each region where the luminance value is near zero is large and the number of high luminance pixels is small (condition c in FIG. 8)
Consider the case where is input. If the number of low-brightness pixels exceeds the threshold n L and the number of high-brightness pixels does not exceed the threshold n H , C
The PU 64 compares the table in the ROM 65 and processes the image in a highly compressed state.
【0089】この場合、後述する符号化部66での、画
像一枚毎の圧縮率を高くするとともに、PピクチャとI
ピクチャの単位時間中の枚数比(P/I比)を高くし、
全体の圧縮率を下げる。また、上述の状態とは逆に、高
輝度の画像(図8中bの条件)が入力した場合、ROM
65のテーブルと比較し、低輝度画像と同様に高圧縮状
態で処理する。In this case, the compression rate of each image in the encoding unit 66, which will be described later, is increased and the P picture and I
Increase the number of pictures per unit time (P / I ratio),
Reduce the overall compression rate. In contrast to the above state, when a high-luminance image (condition b in FIG. 8) is input, the ROM
Compared with the table of No. 65, it is processed in the high compression state similarly to the low brightness image.
【0090】CPU64で上記のように判断された画像
は、AGC63でゲイン補正を受けた後、画像信号変換
部104で任意の形式の画像信号に変換され、CPU6
4により符号化部66および表示部67へ送られる。The image determined by the CPU 64 as described above is subjected to gain correction by the AGC 63, converted into an image signal of an arbitrary format by the image signal conversion unit 104, and then the CPU 6
4 to the encoding unit 66 and the display unit 67.
【0091】表示部67へ送られた信号は、画像表示手
段を介して撮像者に対して表示される。画像信号が入力
された符号化部66では、CPU64により指示された
圧縮方法で信号を処理する。The signal sent to the display section 67 is displayed to the photographer via the image display means. The encoding unit 66 to which the image signal is input processes the signal by the compression method instructed by the CPU 64.
【0092】これ以降の画像信号処理は以下のようにな
る。すなわち、まず画像をIピクチャとして符号化する
場合は、画像信号を符号化部66へ送るのと同時にメモ
リ111への書き込みを行う。The image signal processing thereafter is as follows. That is, when an image is first encoded as an I picture, the image signal is sent to the encoding unit 66 and simultaneously written in the memory 111.
【0093】符号化部66へ送られた信号は、空間軸上
の冗長性を除く処理として、DCT変換後、設定された
圧縮率に見合う量子化処理が行われ、更に可変長符号化
の処理を行った後、DCTテーブル、可変長符号化テー
ブル等のヘッダ情報の付いた画像データとして出力され
る。出力された画像データは記録部109において記録
媒体上に記録される。The signal sent to the encoding unit 66 is subjected to a DCT conversion, a quantization process corresponding to the set compression rate, as a process for removing redundancy on the spatial axis, and a variable length coding process. After that, the image data is output as image data with header information such as a DCT table and a variable length coding table. The output image data is recorded on the recording medium in the recording unit 109.
【0094】画像をPピクチャとして処理する場合は、
まず時間軸上の冗長性の削減のため、入力される画像信
号とメモリ111上の画像との差分画像を生成し、この
差分画像に上記DCT変換・量子化・可変長符号化処理
を行い、圧縮画像データを生成する。When processing an image as a P picture,
First, in order to reduce redundancy on the time axis, a difference image between an input image signal and an image on the memory 111 is generated, and the difference image is subjected to the DCT transform / quantization / variable length coding process, Generate compressed image data.
【0095】この後、第1実施形態と同様に、Iピクチ
ャの後に続く複数枚のPピクチャグループを1つの集団
とする。そして、集団の先頭にDCT量子化テーブルお
よびハフマン符号化テーブルを独立テーブルとして送
り、この後に各画像データが連続する形で出力する。出
力された画像データは記録部109において記録媒体上
に記録される。After this, as in the first embodiment, a plurality of P picture groups following the I picture are set as one group. Then, the DCT quantization table and the Huffman coding table are sent to the head of the group as independent tables, and thereafter each image data is output in a continuous form. The output image data is recorded on the recording medium in the recording unit 109.
【0096】このようにして、第2の実施形態では、撮
像状態が安定していない間に撮像された画像を判定し、
圧縮率を変化させることにより、全体として効率の良い
符号化圧縮を行うことができる。In this way, in the second embodiment, the image captured while the image capturing state is not stable is determined,
By changing the compression rate, it is possible to perform efficient coding compression as a whole.
【0097】次に、本発明の第3の実施形態を説明す
る。この第3の実施形態では、撮像時の画像の露出状態
を検出し、これに基いて圧縮率を変化させる処理方法に
ついて述べる。なお、第3の実施形態では、画像中に生
じる外乱に左右されずシーンチェンジを認識できる処理
方法について述べる。Next, a third embodiment of the present invention will be described. In the third embodiment, a processing method will be described in which the exposure state of an image at the time of image pickup is detected and the compression ratio is changed based on the detected state. In addition, in the third embodiment, a processing method capable of recognizing a scene change without being influenced by a disturbance occurring in an image will be described.
【0098】図9は、第3の実施形態に関わる符号化圧
縮装置を示す構成図である。なお、上述した第1の実施
形態および第2の実施形態と同じ処理を行う部分につい
ては同じ番号としてある。図9の撮像装置は、被写体を
撮像するためのレンズ101、被写体像をアナログ電気
信号に変換するための撮像素子102、アナログ電気信
号をディジタル電気信号に変換するためのA/D変換部
103、画像の露出状態を検出する検出部105、ディ
ジタル電気信号を所定の形式の画像信号に変換するため
の画像信号変換部104を有している。FIG. 9 is a block diagram showing an encoding / compression device according to the third embodiment. It should be noted that the same numbers are assigned to the parts that perform the same processes as those in the above-described first and second embodiments. The image pickup apparatus of FIG. 9 includes a lens 101 for picking up a subject, an image pickup element 102 for converting a subject image into an analog electric signal, an A / D converter 103 for converting an analog electric signal into a digital electric signal, It has a detection unit 105 for detecting the exposure state of an image and an image signal conversion unit 104 for converting a digital electric signal into an image signal of a predetermined format.
【0099】また、撮像者からの操作を入力する操作部
81、システムの制御を行うCPU64、画像信号の処
理経路を切り換えるセレクタ110、差分画像を生成す
るための差分器112、復号のための加算を行う加算器
86、画像信号を保持するためのメモリ111、画像信
号のフレーム内符号化/復号化処理を行うフレーム内符
号化/復号化部82、符号化圧縮された画像信号を記録
する記録部109、撮像された画像を撮像者に表示する
表示部67を有している。Further, an operation unit 81 for inputting an operation from a photographer, a CPU 64 for controlling the system, a selector 110 for switching an image signal processing path, a difference unit 112 for generating a difference image, an addition for decoding. An adder 86 for performing the above, a memory 111 for holding an image signal, an intraframe encoding / decoding unit 82 for performing an intraframe encoding / decoding process of the image signal, and a record for recording the encoded and compressed image signal. It has a unit 109 and a display unit 67 for displaying the captured image to the photographer.
【0100】このように構成された撮像装置において、
まず撮像時には、撮像者が操作部81へ記録を指示した
時点から記録が開始される。これにより、レンズ101
を通じて撮像素子102上に結像された被写体からの光
はアナログ電気信号に変換され、さらにA/D変換部1
03によりディジタル信号に変換される。In the image pickup device constructed as described above,
First, at the time of image capturing, the recording is started from the time when the image capturing person instructs the operation unit 81 to perform recording. Thereby, the lens 101
The light from the subject formed on the image sensor 102 through the light is converted into an analog electric signal, and the A / D converter 1
It is converted into a digital signal by 03.
【0101】上記ディジタルの電気信号は検出部105
および画像信号変換部104に入力される。検出部10
5では入力されたディジタルの電気信号から、後の符号
化手段選択のための画像状態の検出を行う。画像信号変
換部104では、上記ディジタルの電気信号を任意の画
像信号に変換する。The digital electric signal is detected by the detection unit 105.
And the image signal conversion unit 104. Detection unit 10
In step 5, an image state is detected from the input digital electric signal for later selection of encoding means. The image signal conversion unit 104 converts the digital electric signal into an arbitrary image signal.
【0102】また、検出部105では、画像中の輝度値
の分布の変化を調べることでシーンチェンジの判定を行
う。すなわち、まずディジタルの電気信号から得られる
画像中の輝度値分布をズーム9(a)に示すようにヒス
トグラム化し、外乱の影響を抑えるためにズーム9
(b)に示す関数との重み付け演算を行い、図10
(c)に示すように輝度分布を補正する。Further, the detecting section 105 determines the scene change by checking the change in the distribution of the brightness value in the image. That is, first, the luminance value distribution in the image obtained from the digital electric signal is converted into a histogram as shown in zoom 9 (a), and the zoom 9 is used to suppress the influence of disturbance.
Weighting calculation with the function shown in FIG.
The brightness distribution is corrected as shown in (c).
【0103】これは、例えば、撮像時の微小な動きで鏡
面等を持つ物体の反射光が変化し、画像中に小さな高輝
度領域を生じる場合に、この一部の輝度値の変化から誤
ってシーンチェンジと判断することを避けるためであ
る。This is because, for example, when the reflected light of an object having a mirror surface or the like changes due to a slight movement at the time of image pickup, and a small high brightness area is generated in the image, it is erroneously recognized as a change in this partial brightness value. This is to avoid judging it as a scene change.
【0104】このようにして求められた輝度値分布は、
直前のIピクチャの輝度値分布との差分量を基に、符号
化方法をI・Pピクチャのどちらかに決定し、決定した
結果はCPU64へ送られる。また、このときの判定か
らIピクチャを更新する場合、この後の判定基準とする
ため、現在の画像の補正後輝度値分布を検出部105内
に保持する。The luminance value distribution thus obtained is
Based on the difference amount from the luminance value distribution of the immediately preceding I picture, the encoding method is determined to be either the I or P picture, and the determined result is sent to the CPU 64. In addition, when the I picture is updated from the determination at this time, the corrected luminance value distribution of the current image is held in the detection unit 105 because it is used as a determination reference after this.
【0105】CPU64では、検出部105からの検出
結果に従い、セレクタ110およびメモリ111の制御
を行う。まず画像をIピクチャとして処理する場合、行
う処理はフレーム内符号化圧縮のみとなるので、CPU
64は画像信号が第1の経路83を通るようにセレクタ
110を操作する。The CPU 64 controls the selector 110 and the memory 111 according to the detection result from the detection unit 105. First, when an image is processed as an I picture, the only processing that can be performed is intraframe coding compression, so the CPU
64 operates the selector 110 so that the image signal passes through the first path 83.
【0106】また、後のPピクチャ生成のため、画像信
号をメモリ111に保存する。第1の経路83では信号
は演算処理を受けることなく、フレーム内符号化のため
フレーム内符号化/復号化部82へ送られ、DCT変換
・量子化・ハフマン符号化処理により圧縮された後に記
録部109へ送られ、記録媒体上に記録される。Also, the image signal is stored in the memory 111 for later generation of the P picture. In the first path 83, the signal is sent to the intraframe coding / decoding unit 82 for intraframe coding without being subjected to arithmetic processing, and is recorded after being compressed by DCT transformation / quantization / Huffman coding processing. It is sent to the unit 109 and recorded on the recording medium.
【0107】このときの記録形式は、第1の実施形態で
示したI・Pそれぞれのピクチャ記録形式と同様のもの
となっている。また、画像信号はCPU64により表示
部へ送られ、撮像者に対して表示される。The recording format at this time is the same as the picture recording format of each of I and P shown in the first embodiment. Further, the image signal is sent to the display unit by the CPU 64 and displayed to the photographer.
【0108】画像をPピクチャとして処理する場合は、
時間差分画像を生成するために画像信号が第2の経路8
4を通るようにセレクタ110を切り換える。第2の経
路84では、経路中の減算器112によりメモリ111
内のIピクチャデータと入力された画像信号との差分が
行われ、差分画像信号が生成される。そして、Iピクチ
ャでの処理と同様に、差分画像信号はフレーム内符号化
のためフレーム内符号化/復号化部82へ送られ圧縮さ
れ、記録部109内に記録される。また、映像信号は表
示部へ送られ、同様に表示される。When processing an image as a P picture,
The image signal is passed through the second path 8 to generate the time difference image.
The selector 110 is switched so as to pass through 4. In the second path 84, the subtractor 112 in the path causes the memory 111
The difference between the I picture data in the input image signal and the input image signal is performed to generate a difference image signal. Then, similar to the processing with the I picture, the differential image signal is sent to the intraframe encoding / decoding unit 82 for intraframe encoding, compressed, and recorded in the recording unit 109. Further, the video signal is sent to the display unit and displayed in the same manner.
【0109】次に、記録部109上に保存された圧縮画
像データを再生・表示する方法について述べる。操作部
81からの入力により画像データを再生する場合、まず
再生画像がIピクチャまたはPピクチャのどちらである
かを、上記CPU64でヘッダ情報から判別する。Next, a method of reproducing / displaying the compressed image data stored on the recording unit 109 will be described. When image data is reproduced by input from the operation unit 81, the CPU 64 first determines from the header information whether the reproduced image is an I picture or a P picture.
【0110】そして、上記判別の結果がIピクチャの場
合は、まず圧縮画像信号をフレーム内符号化/復号化部
82で復号化し、画像信号に変換する。復号化された画
像信号は第3の経路85を通って加算器86へ入力され
る。If the result of the above discrimination is an I picture, the compressed image signal is first decoded by the intraframe coding / decoding section 82 and converted into an image signal. The decoded image signal is input to the adder 86 through the third path 85.
【0111】Iピクチャ再生の場合、CPU64により
メモリ111は内部データの出力を行わないため信号の
加算は行われず、画像信号はそのままバス68へ送られ
る。バス68上の画像信号はCPU64により表示部6
7へ送られ観察者に対して表示される。また、後のPピ
クチャ再生のため、再生画像信号はメモリ111内に保
存される。In the case of I-picture reproduction, since the CPU 111 does not output the internal data from the memory 111, no signal addition is performed and the image signal is sent to the bus 68 as it is. The image signal on the bus 68 is displayed on the display unit 6 by the CPU 64.
7 and is displayed to the observer. Also, the reproduced image signal is stored in the memory 111 for later P picture reproduction.
【0112】Pピクチャ再生では、圧縮画像信号はまず
フレーム内符号化/復号化部82へ送られて復号化され
る。復号化時点で生成される信号は直前のIピクチャと
の差分信号となっている。In P-picture reproduction, the compressed image signal is first sent to the intra-frame encoding / decoding unit 82 for decoding. The signal generated at the time of decoding is a differential signal from the immediately preceding I picture.
【0113】この直前のIピクチャは上述したように復
号化された状態でメモリ111内に保存されているの
で、差分画像信号は第3の経路85上の加算器86によ
るメモリ111内信号との加算の結果、通常の画像信号
に復号化される。この再生画像信号はバス68を通じて
表示部67へ送られ、観察者に対して表示される。Since the I picture immediately before this is stored in the memory 111 in the decoded state as described above, the difference image signal is not the same as the signal in the memory 111 by the adder 86 on the third path 85. As a result of the addition, a normal image signal is decoded. This reproduced image signal is sent to the display unit 67 through the bus 68 and displayed to the observer.
【0114】このようにして、第3の実施形態の撮像装
置は符号化圧縮を行うので、反射光などの外乱が生じた
場合でも、シーンチェンジを確実に検出することがで
き、より効率の良い画像信号の符号化圧縮を行うことが
できる。In this way, the image pickup apparatus of the third embodiment performs coding compression, so that even if a disturbance such as reflected light occurs, a scene change can be detected reliably, and efficiency is improved. The image signal can be encoded and compressed.
【0115】[0115]
【発明の効果】本発明は上述したように、請求項1に記
載の画像信号符号化圧縮装置によれば、撮像された画像
の状態および上記画像の状態変化に基づいて画像信号の
符号化圧縮を行うようにしたので、画像の状態に適した
符号化圧縮を行うことが可能となり、高画質を保持しな
がら高圧縮率で画像を符号化圧縮することができる。As described above, according to the image signal coding / compressing apparatus of the present invention, the coding / compression of the image signal is performed based on the state of the imaged image and the state change of the image. Since it is possible to perform the encoding and compression suitable for the state of the image, the image can be encoded and compressed at a high compression rate while maintaining high image quality.
【0116】また、本発明の他の特徴によれば、画像の
状態によって圧縮率を変えることで、通常の画像は低圧
縮にして高画質を保つようにするとともに、高画質を必
要としない画像には高圧縮処理を行うことで、画像信号
の符号化圧縮を効率良く行うことができる。Further, according to another feature of the present invention, by changing the compression rate depending on the state of the image, a normal image is made to have a low compression to maintain a high image quality, and an image which does not require a high image quality. By performing high compression processing, it is possible to efficiently code and compress the image signal.
【0117】また、本発明のその他の特徴によれば、複
数の符号化圧縮方法のうちのひとつとして、任意の画像
間の差分をとる処理を行うようにしたので、画質を低下
させずに効率の良い画像信号の符号化圧縮を行うことが
できる。Further, according to another feature of the present invention, as one of a plurality of encoding / compression methods, a process for obtaining a difference between arbitrary images is performed, so that the efficiency can be improved without degrading the image quality. It is possible to perform coding compression of a good image signal.
【0118】また、本発明のその他の特徴によれば、画
像に検出領域を設けるとともに、上記検出領域内の輝度
値を検出するようにしたので、上記検出値に基づいてシ
ーンチェンジ等による画像の大きな変化を簡単に検出す
ることができるようになり、画像信号の符号化圧縮を効
率良く行うことができる。Further, according to another feature of the present invention, since the detection area is provided in the image and the brightness value in the detection area is detected, the image due to a scene change or the like is detected based on the detection value. A large change can be easily detected, and the image signal can be coded and compressed efficiently.
【図1】本発明の主要な機能の概略構成を示す機能構成
図である。FIG. 1 is a functional configuration diagram showing a schematic configuration of main functions of the present invention.
【図2】本発明の第1の実施形態を示すブロック図であ
る。FIG. 2 is a block diagram showing a first embodiment of the present invention.
【図3】第1の実施形態中の検出部の処理の流れを示す
フローチャートである。FIG. 3 is a flowchart showing a processing flow of a detection unit in the first embodiment.
【図4】画像中の輝度値の検出領域を示す図である。FIG. 4 is a diagram showing a detection area of a brightness value in an image.
【図5】画像中の輝度値の検出領域を示す図である。FIG. 5 is a diagram showing a detection area of a brightness value in an image.
【図6】記録時の画像データ形式を示す図である。FIG. 6 is a diagram showing an image data format at the time of recording.
【図7】本発明の第2の実施形態を示すブロック図であ
る。FIG. 7 is a block diagram showing a second embodiment of the present invention.
【図8】第2の実施形態中の符号化方法選択のためのテ
ーブルを示す図である。FIG. 8 is a diagram showing a table for selecting an encoding method according to the second embodiment.
【図9】本発明の第3の実施形態を示すブロック図であ
る。FIG. 9 is a block diagram showing a third embodiment of the present invention.
【図10】第3の実施形態中の画像の輝度値分布を示す
図である。FIG. 10 is a diagram showing a luminance value distribution of an image in the third embodiment.
【図11】従来の符号化圧縮方法を示す図である。FIG. 11 is a diagram showing a conventional coding compression method.
101 レンズ 102 撮像素子 103 A/D変換部 104 画像信号変換部 105 検出部 106 FIFOメモリ 107 第1符号化部 108 第2符号化部 109 記録部 110 セレクタ 111 メモリ 112 差分器 61 絞り 62 絞り調整部 63 AGC 64 CPU 65 ROM 66 符号化部 67 表示部 81 操作部 82 フレーム内符号化/復号化部 86 加算器 101 lens 102 image sensor 103 A / D converter 104 image signal converter 105 detector 106 FIFO memory 107 first encoder 108 second encoder 109 recording unit 110 selector 111 memory 112 differential unit 61 aperture 62 aperture adjustment unit 63 AGC 64 CPU 65 ROM 66 Encoding unit 67 Display unit 81 Operation unit 82 In-frame encoding / decoding unit 86 Adder
Claims (23)
を光電変換して画像信号を生成する画像信号生成手段
と、 上記画像信号生成手段により生成された画像信号を符号
化圧縮する符号化圧縮手段と、 上記画像信号生成手段により生成された画像信号の輝度
値から露光状態を表す値を検出する検出手段と、 上記符号化圧縮手段で符号化圧縮される画像信号の圧縮
率を、上記検出手段により検出された値に基いて変える
ように制御する圧縮制御手段とを具備することを特徴と
する画像信号の符号化圧縮装置。1. An image signal generating means for photoelectrically converting light from a subject introduced by an optical system to generate an image signal, and an encoding compression for encoding and compressing the image signal generated by the image signal generating means. Means, detecting means for detecting a value representing an exposure state from the luminance value of the image signal generated by the image signal generating means, and detecting the compression rate of the image signal coded and compressed by the coding and compressing means. And a compression control means for controlling so as to change the value based on the value detected by the means.
光学系と、 上記光学系により導入された被写体からの光を光電変換
して電気信号を生成する撮像手段と、 上記撮像手段により生成された電気信号から所定形式の
画像信号を生成する画像信号変換手段と、 上記画像信号変換手段により生成された画像信号におけ
る輝度値から露光状態を表す値を検出する検出手段と、 上記画像信号変換手段により生成された画像信号に符号
化圧縮処理を施す符号化圧縮手段と、 上記符号化圧縮手段で符号化圧縮される画像信号の圧縮
率を、上記検出手段により検出された値に基いて変える
ように制御する圧縮制御手段とを具備することを特徴と
する画像信号の符号化圧縮装置。2. An optical system for introducing light from a subject into the interior, an image pickup means for photoelectrically converting the light from the subject introduced by the optical system to generate an electric signal, and the image pickup means. Image signal conversion means for generating an image signal of a predetermined format from the generated electric signal; detection means for detecting a value representing an exposure state from a brightness value in the image signal generated by the image signal conversion means; The encoding compression means for performing the encoding compression processing on the image signal generated by the means, and the compression rate of the image signal encoded and compressed by the encoding compression means are changed based on the value detected by the detection means. An encoding / compressing apparatus for image signals, comprising:
記録手段を具備することを特徴とする請求項1に記載の
画像信号の符号化圧縮装置。3. The image signal coding / compressing apparatus according to claim 1, further comprising a recording unit for recording and holding the image signal.
記録手段を具備することを特徴とする請求項2に記載の
画像信号の符号化圧縮装置。4. The image signal encoding / compressing device according to claim 2, further comprising a recording unit for recording and retaining the image signal.
符号化圧縮する符号化方法が異なる複数の符号化圧縮部
を有し、上記検出手段からの検出値に基いて上記複数の
符号化圧縮部の中から所定の符号化圧縮部を選択して上
記画像信号の圧縮率を変えることを特徴とする請求項1
に記載の画像信号の符号化圧縮装置。5. The encoding / compressing means has a plurality of encoding / compressing sections having different encoding methods for encoding / compressing the image signal, and the plurality of encoding / compression means are based on a detection value from the detecting means. 2. The compression ratio of the image signal is changed by selecting a predetermined encoding / compression unit from the compression units.
An image signal encoding / compressing apparatus according to.
符号化圧縮する符号化方法が異なる複数の符号化圧縮部
を有し、上記検出手段からの検出値に基いて上記複数の
符号化圧縮部の中から所定の符号化圧縮部を選択して上
記画像信号の圧縮率を変えることを特徴とする請求項2
に記載の画像信号の符号化圧縮装置。6. The encoding / compressing means has a plurality of encoding / compressing sections having different encoding methods for encoding / compressing the image signal, and the plurality of encoding / encoding based on a detection value from the detecting means. 3. The compression ratio of the image signal is changed by selecting a predetermined encoding / compression unit from the compression units.
An image signal encoding / compressing apparatus according to.
符号化圧縮する符号化方法が異なる複数の符号化圧縮部
を有し、上記検出手段からの検出値に基いて上記複数の
符号化圧縮部の中から所定の符号化圧縮部を選択して上
記画像信号の圧縮率を変えることを特徴とする請求項3
に記載の画像信号の符号化圧縮装置。7. The encoding / compressing means has a plurality of encoding / compressing sections different in encoding method for encoding / compressing the image signal, and the plurality of encoding / compression means are based on a detection value from the detecting means. 4. The compression ratio of the image signal is changed by selecting a predetermined encoding / compression unit from the compression units.
An image signal encoding / compressing apparatus according to.
符号化圧縮する符号化方法が異なる複数の符号化圧縮部
を有し、上記検出手段からの検出値に基いて上記複数の
符号化圧縮部の中から所定の符号化圧縮部を選択して上
記画像信号の圧縮率を変えることを特徴とする請求項4
に記載の画像信号の符号化圧縮装置。8. The encoding / compressing means has a plurality of encoding / compressing sections having different encoding methods for encoding / compressing the image signal, and the plurality of encoding / encoding based on a detection value from the detecting means. 5. The compression ratio of the image signal is changed by selecting a predetermined encoding / compression unit from the compression units.
An image signal encoding / compressing apparatus according to.
化圧縮部のうちのひとつは、任意の画像間の差分をとる
処理を行う符号化圧縮部であることを特徴とする請求項
1に記載の画像信号の符号化圧縮装置。9. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項2に記載の画像信号の符号化圧縮装置。10. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項3に記載の画像信号の符号化圧縮装置。11. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項4に記載の画像信号の符号化圧縮装置。12. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項5に記載の画像信号の符号化圧縮装置。13. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項6に記載の画像信号の符号化圧縮装置。14. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項7に記載の画像信号の符号化圧縮装置。15. The encoding / compressing unit included in the encoding / compression unit is an encoding / compression unit that performs a process of calculating a difference between arbitrary images. An encoding and compressing device for the image signal described.
号化圧縮部のうちのひとつは、任意の画像間の差分をと
る処理を行う符号化圧縮部であることを特徴とする請求
項8に記載の画像信号の符号化圧縮装置。16. The encoding / compression unit included in the encoding / compression unit is an encoding / compression unit that performs a process of obtaining a difference between arbitrary images. An encoding and compressing device for the image signal described.
領域を設定し、上記設定した領域内の輝度値の平均値を
画像の露光状態を表す値として検出することを特徴とす
る請求項1〜16の何れか1項に記載の画像信号の符号
化圧縮装置。17. The detection means sets an arbitrary area in the image and detects an average value of luminance values in the set area as a value representing an exposure state of the image. The image signal encoding / compressing device according to any one of 1 to 16.
れた複数の領域ごとに輝度値を求めるとともに、上記求
めた輝度値に重み付け演算を行って上記画像内輝度の分
布状態を示す検出値を求めることを特徴とする請求項1
7に記載の画像信号の符号化圧縮装置。18. The detection value is obtained for each of a plurality of areas set in the image, and a weighted calculation is performed on the obtained brightness value to detect a distribution value of the in-image luminance. 2. The method according to claim 1, wherein
7. The image signal encoding / compressing device according to item 7.
の最大値、最小値およびその画素数を検出値とすること
を特徴とする請求項17に記載の画像信号の符号化圧縮
装置。19. The image signal coding / compressing apparatus according to claim 17, wherein the detecting means uses the maximum value, the minimum value, and the number of pixels of the brightness value in the image as the detection value.
光を光電変換して画像信号を生成する第1の処理と、 上記第1の処理により生成された画像信号を符号化圧縮
する第2の処理と、 上記第1の処理により生成された画像信号における輝度
値から露光状態を表す値を検出する第3の処理と、 上記第2の処理で符号化圧縮される画像信号の圧縮率
を、上記第3の処理により検出された値に基いて変える
ように制御する第4の処理とを行うことを特徴とする画
像信号の符号化圧縮方法。20. A first process of photoelectrically converting light from a subject introduced by an optical system to generate an image signal, and a second process of encoding and compressing the image signal generated by the first process. Processing, a third processing for detecting a value representing an exposure state from a brightness value in the image signal generated by the first processing, and a compression rate of the image signal coded and compressed in the second processing, And a fourth process of controlling so as to change the value based on the value detected by the third process.
像信号処理と、 上記画像信号処理により入力された画像が検出領域内か
否かの判断を行う検出領域判断処理と、 上記検出領域判断処理の判断の結果、上記入力された画
像が検出領域内の場合に、入力画像内にあらかじめ設定
された検出領域内の画素について、各画素の輝度値を加
算する累積加算処理と、 上記検出領域判断処理の判断の結果、上記入力された画
像が検出領域内でない場合、および上記累積加算処理が
行われた後で、検出領域が終了したか否かを判断する領
域終了判断処理と、 上記領域終了判断処理の判断の結果、検出領域が終了し
たの場合に行われる処理であって、上記検出領域内の輝
度値の平均値を求める平均値算出処理と、 上記平均値算出処理で求められた平均値と、内部に保持
していた直前のIピクチャの輝度値の平均値の差分を算
出する差分算出処理と、 上記差分算出処理で求められた差分があらかじめ設定さ
れた閾値を越えたか否かを判断する差分値判断処理と、 上記差分値判断処理の判断結果に応じて符号化圧縮され
る画像信号の圧縮率を変えるように制御する圧縮率制御
処理とを行うことを特徴とする画像信号の符号化圧縮方
法。21. Image signal processing for inputting an image signal through an optical system; detection area determination processing for determining whether an image input by the image signal processing is within a detection area; and detection area determination processing. As a result of the determination, when the input image is in the detection area, cumulative addition processing of adding the brightness value of each pixel to pixels in the detection area preset in the input image, and the detection area determination processing As a result of the determination, if the input image is not within the detection area, and after the cumulative addition processing is performed, the area end determination processing for determining whether the detection area has ended, and the area end determination As a result of the judgment of the process, it is a process performed when the detection region is finished, and an average value calculation process for obtaining an average value of the brightness values in the detection region, and an average value obtained by the average value calculation process , A difference calculation process for calculating the difference between the average values of the brightness values of the immediately preceding I pictures held internally, and whether or not the difference calculated by the difference calculation process exceeds a preset threshold value Coding of an image signal characterized by performing a difference value judgment process and a compression ratio control process of controlling so as to change the compression ratio of the image signal to be coded and compressed according to the judgment result of the difference value judgment process. Compression method.
記差分算出処理で求められた差分があらかじめ設定され
た閾値を越えた場合には、撮像中シーンチェンジが行わ
れたものとしてIピクチャを生成することを特徴とする
請求項21に記載の画像信号の符号化圧縮方法。22. As a result of the judgment of the difference value judgment processing, when the difference obtained by the difference calculation processing exceeds a preset threshold value, the I picture is regarded as a scene change during image pickup. The image signal encoding and compressing method according to claim 21, wherein the image signal is encoded and compressed.
記差分算出処理で求められた差分があらかじめ設定され
た閾値を越えていない場合には、Pピクチャを生成する
ことを特徴とする請求項21に記載の画像信号の符号化
圧縮方法。23. A P picture is generated when the difference obtained by the difference calculation processing does not exceed a preset threshold value as a result of the determination by the difference value judgment processing. 21. A method for encoding and compressing an image signal according to 21.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34181095A JP3984665B2 (en) | 1995-12-27 | 1995-12-27 | Image signal coding and compression apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34181095A JP3984665B2 (en) | 1995-12-27 | 1995-12-27 | Image signal coding and compression apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09186989A true JPH09186989A (en) | 1997-07-15 |
| JP3984665B2 JP3984665B2 (en) | 2007-10-03 |
Family
ID=18348939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34181095A Expired - Fee Related JP3984665B2 (en) | 1995-12-27 | 1995-12-27 | Image signal coding and compression apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3984665B2 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003264838A (en) * | 2002-03-08 | 2003-09-19 | Canon Inc | Image processing apparatus, image processing method, program, and storage medium |
| JP2007019995A (en) * | 2005-07-08 | 2007-01-25 | Sony Corp | Image processing apparatus, image processing method and program thereof |
| JP2007228626A (en) * | 2007-04-27 | 2007-09-06 | Sony Corp | Image signal processing apparatus and method |
| JP2011019264A (en) * | 1999-05-07 | 2011-01-27 | Intel Corp | Method for processing image |
| JPWO2022004573A1 (en) * | 2020-06-30 | 2022-01-06 |
-
1995
- 1995-12-27 JP JP34181095A patent/JP3984665B2/en not_active Expired - Fee Related
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011019264A (en) * | 1999-05-07 | 2011-01-27 | Intel Corp | Method for processing image |
| JP2003264838A (en) * | 2002-03-08 | 2003-09-19 | Canon Inc | Image processing apparatus, image processing method, program, and storage medium |
| JP2007019995A (en) * | 2005-07-08 | 2007-01-25 | Sony Corp | Image processing apparatus, image processing method and program thereof |
| JP2007228626A (en) * | 2007-04-27 | 2007-09-06 | Sony Corp | Image signal processing apparatus and method |
| JPWO2022004573A1 (en) * | 2020-06-30 | 2022-01-06 | ||
| WO2022004573A1 (en) * | 2020-06-30 | 2022-01-06 | 富士フイルム株式会社 | Imaging device, imaging method, and imaging program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3984665B2 (en) | 2007-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5291282A (en) | Image data coding apparatus and method capable of controlling amount of codes | |
| JP3093233B2 (en) | Image encoding apparatus and method | |
| JP4799438B2 (en) | Image recording apparatus, image recording method, image encoding apparatus, and program | |
| JP3783238B2 (en) | Imaging system, image processing apparatus, encoding apparatus, encoding method, and method for removing random noise | |
| JP2004200989A (en) | Imaging apparatus and supervisory system | |
| US20120262598A1 (en) | Image signal processing apparatus | |
| JPWO1997005745A1 (en) | Imaging system, image processing device, encoding device, encoding method, and method for removing random noise | |
| US6748114B1 (en) | Moving picture encoding method and moving picture encoding apparatus | |
| US8705628B2 (en) | Method and device for compressing moving image | |
| JP3221785B2 (en) | Imaging device | |
| JP2000350211A (en) | Moving picture coding method and moving picture coding apparatus | |
| JP3592025B2 (en) | Captured image recording device | |
| JP7226337B2 (en) | Encoding device, decoding device, encoding method, decoding method, encoding program, and decoding program | |
| JP3984665B2 (en) | Image signal coding and compression apparatus and method | |
| JPH0918828A (en) | Recording device and method and reproducing device and method for digital image data | |
| JP2004180345A (en) | Captured image recording device | |
| JPH07184206A (en) | Image coding device | |
| JPH0951538A (en) | Image signal encoding method | |
| JPH09261530A (en) | Video recorder | |
| JP2001078075A (en) | Image input device and image input method | |
| JP3121044B2 (en) | Imaging device | |
| JP3109855B2 (en) | Electronic camera, image signal compression apparatus and method | |
| JPH07154825A (en) | Image transmission equipment | |
| JP4533089B2 (en) | Movie data generator | |
| JP2008113112A (en) | Imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040713 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040913 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050329 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050527 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060328 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060529 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070703 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070709 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100713 Year of fee payment: 3 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100713 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110713 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120713 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120713 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130713 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |