JP2007311961A - Camera device - Google Patents

Camera device Download PDF

Info

Publication number
JP2007311961A
JP2007311961A JP2006137269A JP2006137269A JP2007311961A JP 2007311961 A JP2007311961 A JP 2007311961A JP 2006137269 A JP2006137269 A JP 2006137269A JP 2006137269 A JP2006137269 A JP 2006137269A JP 2007311961 A JP2007311961 A JP 2007311961A
Authority
JP
Japan
Prior art keywords
contrast
sharpness
circuit
adjusting means
image
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.)
Withdrawn
Application number
JP2006137269A
Other languages
Japanese (ja)
Inventor
Shuji Teramoto
修司 寺本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2006137269A priority Critical patent/JP2007311961A/en
Publication of JP2007311961A publication Critical patent/JP2007311961A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera device which redues the amount of information while suppressing deterioration in image quality even in an image including a large movement. <P>SOLUTION: The camera device comprises: an imaging means 10 of generating a video signal corresponding to imaging light of a subject; a sharpness adjusting means 21 of adjusting sharpness of the video signal; a contrast adjusting means 21 of adjusting a contrast; encoding means 34, 35 and 41 of encoding video signals from the sharpness adjusting means and contrast adjusting means; and a control means of controlling the sharpness adjusting means and contrast adjusting means so that predetermined amounts of video signals are supplied to the encoding means and the sharpness and contrast are adjusted simultaneously. When an image has a small movement, its outlines are emphasized with a normal contrast and sharpness, and set values of the contrast and sharpness are discriminatingly used for a particular scene to keep picture quality deterioration small, thereby improving a decrease in frame rate. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、カメラ装置に関し、特に、被写体を撮影して得られた映像信号に符号化処理を施すカメラ装置に関する。   The present invention relates to a camera device, and more particularly to a camera device that performs an encoding process on a video signal obtained by photographing a subject.

従来、被写体を撮影し、得られた映像信号に符号化処理を施すカメラ装置では、画像の圧縮率と画質とはトレードオフの関係にあり、高圧縮率を求めると、ある程度画質を犠牲にしなければならない。さらに、画像1枚毎の画質を向上させることと、それらの画質を低下させてでも画像の中の被写体の動きを自然なものに近づけることについても同様にトレードオフの関係にある。この場合、一般的に、画像の動きを検出し、動きが小さいときは輪郭を明瞭にして各フレームの画質を向上させることを優先し、逆に動きが大きいときは、各フレームの画像にフィルタをかけて画質を低下させてでも画像の動きを滑らかにすることを優先することが行われていた。   Conventionally, in a camera device that shoots a subject and performs encoding processing on the obtained video signal, the compression ratio of the image and the image quality are in a trade-off relationship, and when obtaining a high compression ratio, the image quality must be sacrificed to some extent. I must. Furthermore, there is a trade-off relationship between improving the image quality for each image and bringing the movement of the subject in the image closer to a natural one even if the image quality is lowered. In this case, in general, priority is given to detecting the motion of the image and prioritizing improving the image quality of each frame by clarifying the outline when the motion is small, and conversely, if the motion is large, the image is filtered to the image of each frame. Even if the image quality is lowered by applying a priority, priority is given to smoothing the movement of the image.

画像の中で被写体の有するシャープエッジの加速的な動きがあると、DCT(Discrete Cosine Transform)係数分布がブロック内の広域側で増加し、これによって、次のジグザグスキャンにおいて、ゼロランの継続が期待されるスキャンの後半でノンゼロ量子化代表値の発生が増加する。これは、DCTを行う前のフレーム間差分データに高周波成分が増加したためであり、結果的に画像フレーム全体の発生符号量が増加する。このため、動きが激しい場合には、通信上の伝送レートが限られているため、その分フレームレートを下げざるを得なくなり、受信側でデコードした際に、画像の中の動きが滑らかではなく、質の悪い画像が再現されるという問題があった。   If there is an accelerated movement of the sharp edge of the subject in the image, the DCT (Discrete Cosine Transform) coefficient distribution increases on the wide area side in the block, which is expected to continue zero run in the next zigzag scan. The occurrence of non-zero quantized representative values increases in the second half of the scan. This is because high-frequency components have increased in the inter-frame difference data before DCT, and as a result, the amount of generated code in the entire image frame increases. For this reason, when the movement is intense, the transmission rate for communication is limited, so the frame rate has to be lowered accordingly, and when decoding on the receiving side, the movement in the image is not smooth. There is a problem that a poor quality image is reproduced.

この問題を解決するため、例えば、特許文献1には、動きの激しい被写体を撮影しても、画質の劣化を極力抑えながらフレームレートの向上を図りつつ映像信号を符号化するにあたり、高域量子化代表値総和回路が高域の量子化代表値の積分値(総和)を求め、量子化回路が、この総和値を例えば8ビットの総和値信号に量子化してシリアルバス・インターフェース、双方向シリアルバス等を介してマイコンに供給し、マイコンがこの総和値信号に基づいて量子化代表値のノンゼロが多いか否かを判断し、ノンゼロが多いときはフレームレートの低下を防止するため、シャープネスを下げるようにするカメラ装置が提案されている。   In order to solve this problem, for example, Patent Document 1 discloses that even when a subject with rapid motion is photographed, a video signal is encoded while improving the frame rate while minimizing deterioration in image quality as much as possible. The integrated representative value summation circuit calculates the integral value (summation) of the quantized representative value in the high frequency range, and the quantization circuit quantizes the summed value into, for example, an 8-bit summed value signal to obtain a serial bus interface, bidirectional serial It is supplied to the microcomputer via a bus, etc., and the microcomputer determines whether there are many non-zero quantized representative values based on this total value signal. If there are many non-zeros, sharpness is reduced to prevent a decrease in the frame rate. There has been proposed a camera device for lowering.

特開平10−108063号公報Japanese Patent Laid-Open No. 10-108063

しかし、上記特許文献1に記載のカメラ装置等においても、大きな動きを有する画像の場合には、シャープネスの調整だけでは十分な情報量の圧縮を実現することができないという問題があった。   However, even the camera device described in Patent Document 1 has a problem in that in the case of an image having a large movement, a sufficient amount of information cannot be compressed only by adjusting the sharpness.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、大きな動きを有する画像の場合でも、画質の劣化を抑えつつ、情報量の削減を行うことが可能なカメラ装置を提供することを目的とする。   Therefore, the present invention has been made in view of the problems in the conventional technology described above, and is a camera capable of reducing the amount of information while suppressing deterioration in image quality even in the case of an image having a large movement. An object is to provide an apparatus.

上記目的を達成するため、本発明は、カメラ装置であって、被写体の撮像光に応じた映像信号を生成する撮像手段と、前記映像信号のシャープネスを調整するシャープネス調整手段と、前記映像信号のコントラストを調整するコントラスト調整手段と、前記シャープネス調整手段及び前記コントラスト調整手段からの映像信号を符号化する符号化手段と、該符号化手段に所定量の映像信号が供給されるように、また、前記シャープネスの調整及び前記コントラストの調整を同時に行うように前記シャープネス調整手段及び前記コントラスト調整手段を制御する制御手段とを備えることを特徴とする。   In order to achieve the above object, the present invention provides a camera apparatus, an imaging unit that generates a video signal corresponding to imaging light of a subject, a sharpness adjustment unit that adjusts the sharpness of the video signal, A contrast adjusting means for adjusting contrast, an encoding means for encoding the video signal from the sharpness adjusting means and the contrast adjusting means, and a predetermined amount of the video signal is supplied to the encoding means; The sharpness adjusting means and the control means for controlling the contrast adjusting means are provided so as to adjust the sharpness and the contrast at the same time.

そして、本発明によれば、制御手段によって、符号化手段に所定量の映像信号が供給されるように、また、シャープネスの調整及びコントラストの調整を同時に行うようにシャープネス調整手段及びコントラスト調整手段を制御するため、動きが大きな画像や複雑な画像の撮影において、画質の劣化を抑えつつ、情報量の削減を行うことが可能となる。具体的には、動きの小さな画像の場合には、通常のコントラスト及びシャープネスを設定しで輪郭を強調し、コントラストの高い高画質の映像を提供し、特定のシーンにおいてシャープネスとコントラストの設定値を使い分けることにより、画質劣化を小さく維持しながら、フレームレートの低下を改善することができる。   According to the present invention, the sharpness adjusting means and the contrast adjusting means are supplied by the control means so that a predetermined amount of the video signal is supplied to the encoding means, and the sharpness adjustment and the contrast adjustment are performed simultaneously. Since the control is performed, it is possible to reduce the amount of information while suppressing deterioration in image quality when shooting an image with a large movement or a complex image. Specifically, in the case of an image with a small amount of motion, normal contours and sharpness are set to enhance the outline, providing high-contrast high-quality images, and sharpness and contrast settings for specific scenes. By using them properly, it is possible to improve the decrease in the frame rate while keeping the image quality deterioration small.

前記カメラ装置において、前記撮像手段によって生成された映像信号の輝度成分の1フレーム全体の平均値が第1の設定値以上、第2の設定値以下の場合には、該平均値が前記第1の設定値と前記第2の設定値の間にある場合よりも前記コントラストが高くなるように調整することができる。明るい場所では、すでにコントラストが低い状態にあるため、コントラストを下げても効果は小さい。従って、通常の明るさの場所でフレームレートが下がったときに設定する時よりもコントラストを下げる必要はない。これにより、画質劣化が少なく、フレームレートの低下を改善することができる。   In the camera device, when the average value of the entire luminance component of the video signal generated by the imaging means is not less than the first set value and not more than the second set value, the average value is the first value. The contrast can be adjusted to be higher than in the case where the value is between the set value and the second set value. In bright places, the contrast is already low, so reducing the contrast has little effect. Therefore, it is not necessary to lower the contrast than when setting when the frame rate is lowered in a place of normal brightness. Thereby, there is little image quality degradation and it can improve the fall of a frame rate.

前記カメラ装置において、前記撮像手段によって生成された映像信号の輝度成分の1フレーム全体の平均値が所定の値以下の場合には、該平均値が所定の値を超える場合よりも、前記シャープネスをより小さく調整することができる。暗い場所ではノイズが出やすい状況であるため、これを抑える目的で、シャープネスを通常の明るさの場所でフレームレート低下時に設定する値よりもさらに低下させることによって、ノイズを目立たなくすることができる。   In the camera device, when the average value of the entire luminance component of the video signal generated by the imaging means is equal to or less than a predetermined value, the sharpness is reduced more than when the average value exceeds a predetermined value. It can be adjusted smaller. Since noise is likely to appear in dark places, the noise can be made inconspicuous by reducing the sharpness further than the value set when the frame rate is lowered in a place with normal brightness for the purpose of suppressing this. .

以上のように、本発明によれば、大きな動きを有する画像であっても、画質の劣化を抑えながら情報量を削減することのできるカメラ装置を提供することができる。   As described above, according to the present invention, it is possible to provide a camera device capable of reducing the amount of information while suppressing deterioration in image quality even for an image having a large movement.

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

本発明にかかるカメラ装置は、図1に示すように、大別して、被写体を撮影して画像を生成するカメラ部(撮像手段)10と、カメラ部10によって生成された画像を符号化する符号化部30とで構成される。   As shown in FIG. 1, the camera device according to the present invention is roughly divided into a camera unit (imaging unit) 10 that shoots a subject and generates an image, and an encoding that encodes an image generated by the camera unit 10. Part 30.

符号化部30は、輝度成分判定回路31と、演算回路32と、直交変換を行うDCT回路33と、量子化回路34と、係数予測回路35と、逆量子化回路36と、動き補償回路37と、メモリ38と、演算回路39と、逆DCT回路40と、可変長符号化回路41と、フレームレート検出回路42と、動きベクトル検出回路43と、カメラ制御部20と、フレームレート/明暗判定回路21とで構成される。   The encoding unit 30 includes a luminance component determination circuit 31, an arithmetic circuit 32, a DCT circuit 33 that performs orthogonal transformation, a quantization circuit 34, a coefficient prediction circuit 35, an inverse quantization circuit 36, and a motion compensation circuit 37. A memory 38, an arithmetic circuit 39, an inverse DCT circuit 40, a variable length coding circuit 41, a frame rate detection circuit 42, a motion vector detection circuit 43, a camera control unit 20, and a frame rate / light / dark determination. The circuit 21 is configured.

また、量子化回路34は、図2に示すように、輝度/色差成分振分け回路50と、通常量子化テーブル51と、演算回路52と、高圧縮量子化テーブル53とで構成される。   As shown in FIG. 2, the quantization circuit 34 includes a luminance / color difference component distribution circuit 50, a normal quantization table 51, an arithmetic circuit 52, and a high compression quantization table 53.

図1に示す輝度成分判定回路31は、カメラ部10から供給される輝度成分の1フレーム全体の平均を取ることによって、被写体の存在する場所が明るい場所であるか、暗い場所であるかを判定する。   The luminance component determination circuit 31 shown in FIG. 1 determines whether the place where the subject exists is a bright place or a dark place by taking the average of the entire luminance component supplied from the camera unit 10. To do.

演算回路32は、輝度成分判定回路31から供給される映像信号を加算信号とし、動き補償回路37から供給される予測信号を減算信号として演算処理を行い、得られた予測誤差信号をDCT回路33に供給する。ここで、演算回路32は、例えば、Pピクチャ(前方予測画像)では時間的に前方の画像との差分を取り、また、Bピクチャ(両方向予測画像)では時間的に前方若しくは後方、又は前方と後方から作られた保管画像との差分を取ることにより、時間軸方向の冗長度を減らして伝送すべき情報量を少なくする。   The arithmetic circuit 32 performs arithmetic processing using the video signal supplied from the luminance component determination circuit 31 as an addition signal, the prediction signal supplied from the motion compensation circuit 37 as a subtraction signal, and the obtained prediction error signal as a DCT circuit 33. To supply. Here, for example, the arithmetic circuit 32 takes a difference from the temporally forward image in the P picture (forward predicted image), and temporally forward or backward, or forward in the B picture (bidirectionally predicted image). By taking the difference from the stored image created from behind, the amount of information to be transmitted is reduced by reducing the redundancy in the time axis direction.

DCT回路33は、演算回路32からの予測誤差信号(シーンチェンジのように予測を行わないときは原信号)に対して2次元DCT(離散コサイン変換)を施して空間的な相関を除去し、一部の係数にエネルギーを集中させる。具体的には、DCT回路33は、8x8(=64)の画像データを8x8(=64)のDCT係数に変換する。   The DCT circuit 33 performs a two-dimensional DCT (discrete cosine transform) on the prediction error signal from the arithmetic circuit 32 (or an original signal when prediction is not performed like a scene change) to remove spatial correlation, Concentrate energy on some coefficients. Specifically, the DCT circuit 33 converts 8 × 8 (= 64) image data into 8 × 8 (= 64) DCT coefficients.

ここで、動きの小さい被写体を撮影してDCT回路33に供給されるフレーム間差分が小さい場合には、2次元DCT変換後の量子化代表値は、ブロックの先頭に偏る傾向があり、一方、動きの大きい被写体を撮影してDCT回路33に供給されるフレーム間差分が大きい場合には、2次元DCT変換後の量子化代表値は、ブロックの後方に偏る傾向がある。   Here, when a subject with small motion is photographed and the inter-frame difference supplied to the DCT circuit 33 is small, the quantized representative value after the two-dimensional DCT conversion tends to be biased toward the head of the block, When a subject with a large amount of motion is photographed and the inter-frame difference supplied to the DCT circuit 33 is large, the quantized representative value after the two-dimensional DCT conversion tends to be biased toward the back of the block.

そこで、DCT変換の際にジグザグスキャンを行うと、画像スキャン番号0の係数がDC(直流)成分の係数になり、続く画素スキャン番号1〜63がAC(交流)成分の係数になる。このとき、右側に行くほど水平方向の周波数成分が集中し、下側に行くほど垂直方向の周波数成分が集中するようになっている。また、量子化代表値がゼロ以外のもの(ノンゼロ)はすべて符号化されるため、スペクトラムが広域に伸びているほど発生符号量が増え、スペクトラムが低域から中域までしか伸びていないものはノンゼロが少ないため、発生符号量が少なくてすむ。   Therefore, when zigzag scanning is performed during DCT conversion, the coefficient of image scan number 0 becomes a coefficient of DC (direct current) component, and the subsequent pixel scan numbers 1 to 63 become coefficients of AC (alternating current) component. At this time, the frequency components in the horizontal direction are concentrated toward the right side, and the frequency components in the vertical direction are concentrated toward the lower side. In addition, since all quantized representative values other than zero (non-zero) are encoded, the amount of generated code increases as the spectrum extends to a wide area, and the spectrum extends only from the low range to the mid range. Since there are few non-zeros, the amount of generated codes can be reduced.

量子化回路34は、ブロック毎に存在する64個のDCT係数を、係数毎の量子化ステップサイズを定めた量子化テーブルを用いて、係数位置毎に異なるステップサイズで線形量子化する。この量子化により得られた量子化代表値を、係数予測回路35及び逆量子化回路36に供給する。また、アプリケーションに応じて、輝度成分、色差成分に対して量子化テーブルを最適化することができる。例えば、図2に示すように、輝度成分は通常量子化テーブルを用い、色差成分は高圧縮の量子化テーブルを用いることで、情報量を削減する。これは、人間の目は輝度成分の変化には敏感であるが、色味成分の変化には鈍いという特性を利用したもので、画質の劣化を抑えつつ、情報量の削減を実現することができる。   The quantization circuit 34 linearly quantizes the 64 DCT coefficients existing for each block with a different step size for each coefficient position, using a quantization table that defines the quantization step size for each coefficient. The quantized representative value obtained by this quantization is supplied to the coefficient prediction circuit 35 and the inverse quantization circuit 36. Further, the quantization table can be optimized for the luminance component and the color difference component according to the application. For example, as shown in FIG. 2, the amount of information is reduced by using a normal quantization table for the luminance component and a high compression quantization table for the color difference component. This uses the characteristic that the human eye is sensitive to changes in the luminance component but is not sensitive to changes in the color component, and can reduce the amount of information while suppressing deterioration in image quality. it can.

係数予測回路35は、DCT係数を量子化した後、DC係数予測と呼ばれる差分符号化を行う。また、低次のAC係数についても、選択によりAC係数予測と呼ばれる差分符号化を行う。   The coefficient prediction circuit 35 quantizes the DCT coefficient, and then performs differential encoding called DC coefficient prediction. Also, differential encoding called AC coefficient prediction is performed on low-order AC coefficients by selection.

逆量子化回路36は、量子化回路34から供給される量子化代表値に逆量子化処理を施し、これを逆DCT回路40に供給する。   The inverse quantization circuit 36 performs an inverse quantization process on the quantized representative value supplied from the quantization circuit 34 and supplies this to the inverse DCT circuit 40.

逆DCT回路40は、逆量子化回路36から供給されるDCT係数に対して逆DCT変換を行って予測誤差信号を復号化し、この予測誤差信号を演算回路39に供給する。   The inverse DCT circuit 40 performs inverse DCT transform on the DCT coefficient supplied from the inverse quantization circuit 36 to decode the prediction error signal, and supplies the prediction error signal to the arithmetic circuit 39.

演算回路39は、逆DCT回路40から供給される予測誤差信号と、動き補償回路37で動き補償された予測誤差信号とを加算合成し、この合成された予測誤差信号をメモリ38に供給する。   The arithmetic circuit 39 adds and synthesizes the prediction error signal supplied from the inverse DCT circuit 40 and the prediction error signal motion-compensated by the motion compensation circuit 37, and supplies the synthesized prediction error signal to the memory 38.

メモリ38は、演算回路39から供給されるブロック毎の予測誤差信号を記憶し、1フレーム毎にこの予測誤差信号を動き補償回路37に供給する。   The memory 38 stores the prediction error signal for each block supplied from the arithmetic circuit 39 and supplies the prediction error signal to the motion compensation circuit 37 for each frame.

動きベクトル検出回路43は、カメラ部10及びメモリ38から供給される信号に基づいて2次元の動きベクトルを検出し、この検出結果を動き補償回路37に供給する。   The motion vector detection circuit 43 detects a two-dimensional motion vector based on the signals supplied from the camera unit 10 and the memory 38 and supplies the detection result to the motion compensation circuit 37.

動き補償回路37は、メモリ38から読み出された1フレーム分の予測誤差信号に所定の動き補償を行うことによって予測信号を得て、この予測信号を上述した演算回路32に供給する。   The motion compensation circuit 37 obtains a prediction signal by performing predetermined motion compensation on the prediction error signal for one frame read from the memory 38, and supplies this prediction signal to the arithmetic circuit 32 described above.

可変長符号化回路41は、係数予測回路35から供給された量子化代表値に対して、平均的な符号長が短くなるように符号割り当て(例えば、ハフマン符号化)を行い、これによって得られた圧縮データを出力する。   The variable length coding circuit 41 performs code assignment (for example, Huffman coding) on the quantized representative value supplied from the coefficient prediction circuit 35 so as to shorten the average code length, and is thus obtained. Output compressed data.

フレームレート検出回路42は、1秒間あたりのフレームの数をカウントし、現在のフレームレートを求める。   The frame rate detection circuit 42 counts the number of frames per second and obtains the current frame rate.

フレームレート/明暗判定回路21は、フレームレート検出回路42と輝度成分判定回路31からの信号に基づいて、現状での最適なコントラスト、シャープネスの設定値及び量子化テーブルを判定し、その情報をカメラ制御部20及び量子化回路34に供給する。   The frame rate / brightness determination circuit 21 determines the current optimum contrast, sharpness setting value, and quantization table based on signals from the frame rate detection circuit 42 and the luminance component determination circuit 31, and uses the information as a camera. This is supplied to the control unit 20 and the quantization circuit 34.

カメラ制御部20は、フレームレート/明暗判定回路21からの信号に基づいて、カメラ制御インタフェースを介して、カメラ部10に対してレジスタ設定を行う。   Based on the signal from the frame rate / brightness determination circuit 21, the camera control unit 20 performs register settings for the camera unit 10 via the camera control interface.

次に、上記構成を有するカメラ装置の動作について図3を中心に参照しながら説明する。   Next, the operation of the camera apparatus having the above configuration will be described with reference to FIG.

ステップS1において、図1のフレームレート検出回路42は、1秒間あたりのフレームの数をカウントし、現在のフレームレートをフレームレート/明暗判定回路21に供給する。   In step S1, the frame rate detection circuit 42 in FIG. 1 counts the number of frames per second, and supplies the current frame rate to the frame rate / brightness determination circuit 21.

フレームレート/明暗判定回路21は、フレームレートがある閾値Afps(Frame Per Second)未満になった場合には、動きが大きな画像や局所的変化が不連続に起こる画像等の影響により、広い範囲の画像の更新が必要とされ、フレームレートの低下が発生していると判定する。   When the frame rate is less than a certain threshold Afps (Frame Per Second), the frame rate / brightness / darkness determination circuit 21 has a wide range due to the influence of an image with a large movement or an image in which local changes are discontinuous. It is determined that the image needs to be updated and the frame rate has decreased.

フレームレートの低下が検出された後、ステップS2において、カメラ制御部20を経由して、カメラ部10に対して、ダイナミックに通常よりも低い第2のコントラスト、シャープネスの値を設定する。大きな動きのあるものに対して、シャープネスだけでは十分な情報量の圧縮を実現することはできない。コントラストを低下させることで、画面全体の階調差を少なくし、情報量を削減することができる。シャープネスとコントラストを各々単独で調整するよりも、両者を同時に調整することで、フレームレートの低下をより効果的に改善することができる。   After the decrease in the frame rate is detected, in step S 2, the second contrast and sharpness values that are dynamically lower than normal are set to the camera unit 10 via the camera control unit 20. With a large amount of movement, it is not possible to achieve a sufficient amount of information compression with sharpness alone. By reducing the contrast, the gradation difference of the entire screen can be reduced and the amount of information can be reduced. Rather than adjusting the sharpness and the contrast individually, the frame rate can be more effectively improved by adjusting both at the same time.

さらに、ステップS4において、輝度成分判定回路31から供給される輝度成分の平均値がC以上の場合には、明るい場所であると判定される。明るい場所では、すでにコントラストは低い状態にあるため、コントラストを下げても効果は小さい。従って、ステップS5において、通常の明るさの場所でフレームレートが下がった時(ステップS6の場合)に設定する場合よりもコントラストを下げる必要はない。これにより、画質劣化が少なく、フレームレートの低下を改善することができる。本処理は、フレームレートの低下と明るい場所の両方のフラグにより動作する。   Furthermore, in step S4, when the average value of the luminance component supplied from the luminance component determination circuit 31 is C or more, it is determined that the place is bright. In bright places, the contrast is already low, so reducing the contrast has little effect. Therefore, in step S5, it is not necessary to lower the contrast as compared with the case where the frame rate is lowered at the normal brightness (in the case of step S6). Thereby, there is little image quality degradation and the fall of a frame rate can be improved. This process operates with both a low frame rate flag and a bright place flag.

また、ステップS4において、輝度成分判定回路31から供給される輝度成分の平均値がD以下の場合には、暗い場所であると判定される。暗い場所でも、明るい場所と同様に、すでにコントラストは低い状態にあるため、コントラストを下げても効果は少ない。従って、ステップS7において、通常の明るさの場所でフレームレートが下がった時(ステップS6の場合)に設定する場合よりもコントラストを下げる必要はない。これにより、画質劣化を抑え、フレームレートの低下を改善することができる。本処理は、フレームレートの低下と暗い場所の両方のフラグにより動作する。また、暗い場所ではノイズが出やすい状況であるため、これを抑えるために、シャープネスを通常の明るさの場所でフレームレート低下時に設定する値よりもさらに下げることによって、ノイズを目立たなくさせることができる。   In step S4, if the average value of the luminance components supplied from the luminance component determination circuit 31 is D or less, it is determined that the area is dark. Even in a dark place, as in a bright place, the contrast is already low, so reducing the contrast has little effect. Therefore, in step S7, it is not necessary to lower the contrast as compared with the case where the frame rate is lowered at the normal brightness (in the case of step S6). As a result, it is possible to suppress deterioration in image quality and to improve the frame rate. This process operates with both a low frame rate flag and a dark place flag. In addition, since noise is likely to appear in dark places, in order to suppress this, the noise can be made inconspicuous by lowering the sharpness further than the value set when the frame rate is lowered in a place with normal brightness. it can.

以下に、表1の設定例とともに設定イメージを説明する。高フレームレート時に、コントラストとシャープネスの設定を各々100とし、通常の明るさでフレームレート低下時にコントラストとシャープネスを各々50まで下げるとする。明るい場所と暗い場所ではコントラストを大きく下げる必要はないため各々80とする。さらに、暗い場所ではシャープネスを30まで下げることにより、ノイズを削減することができる。   Below, a setting image is demonstrated with the setting example of Table 1. FIG. It is assumed that the contrast and sharpness settings are each set to 100 when the frame rate is high, and the contrast and sharpness are reduced to 50 when the frame rate is reduced at normal brightness. Since there is no need to greatly reduce the contrast in a bright place and a dark place, each is set to 80. Furthermore, noise can be reduced by reducing the sharpness to 30 in a dark place.

Figure 2007311961
Figure 2007311961

さらに、図3において、フレームレートがBfps以下となり、著しいフレームレートの低下を検出した時に、シャープネスとコントラストの制御と同時に量子化テーブルを使い分ける制御をすることで、より情報量の圧縮を実現することができる。フレームレートがBfps以下となった場合には、図2に示すように、輝度成分は標準量子化テーブルを用い、色差成分は高圧縮の量子化テーブルを用いることで、情報量を削減する。これは、人間の目は輝度成分の変化には敏感であるが、色味成分の変化には鈍いという特性を利用したもので、画質の劣化を抑えつつ、情報量の削減を実現することができる。   Further, in FIG. 3, when the frame rate becomes Bfps or less and a significant decrease in the frame rate is detected, the amount of information can be further compressed by controlling the use of the quantization table simultaneously with the sharpness and contrast control. Can do. When the frame rate is equal to or less than Bfps, the amount of information is reduced by using a standard quantization table for the luminance component and a high compression quantization table for the color difference component, as shown in FIG. This uses the characteristic that the human eye is sensitive to changes in the luminance component but is not sensitive to changes in the color component, and can reduce the amount of information while suppressing deterioration in image quality. it can.

以上のようにして、コントラスト、シャープネス及び量子化テーブルを調節することにより、画質劣化を抑えた情報量圧縮を実現することができ、フレームレートの低下を防止することができる。   As described above, by adjusting the contrast, sharpness, and quantization table, it is possible to realize information amount compression with suppressed image quality deterioration, and to prevent a decrease in frame rate.

また、図3においてフレームレートがある閾値Afps以上になった場合には、図1のフレームレート/明暗判定回路21は、動きが小さな画像を撮影していると判定し、ステップS3において、通常のコントラスト、シャープネスの値及び量子化テーブルに戻す。これにより、カメラ部10からは、輪郭が強調され、コントラストの高い映像を再現することができる。   If the frame rate in FIG. 3 exceeds a certain threshold Afps, the frame rate / brightness determination circuit 21 in FIG. 1 determines that an image with a small motion is being photographed, and in step S3, the normal rate is detected. Return to contrast, sharpness values and quantization tables. Thereby, from the camera part 10, an outline is emphasized and an image with high contrast can be reproduced.

本発明にかかるカメラ装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the camera apparatus concerning this invention. 図1のカメラ装置の量子化回路の構成を示すブロック図である。It is a block diagram which shows the structure of the quantization circuit of the camera apparatus of FIG. 図1のカメラ装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the camera apparatus of FIG.

符号の説明Explanation of symbols

10 カメラ部
20 カメラ制御部
21 フレームレート/明暗判定回路
30 符号化部
31 輝度成分判定回路
32 演算回路
33 DCT回路
34 量子化回路
35 係数予測回路
36 逆量子化回路
37 動き補償回路
38 メモリ
39 演算回路
40 逆DCT回路
41 可変長符号化回路
42 フレームレート検出回路
43 動きベクトル検出回路
50 輝度/色差成分振分け
51 通常量子化テーブル
52 演算回路
53 高圧縮量子化テーブル
DESCRIPTION OF SYMBOLS 10 Camera part 20 Camera control part 21 Frame rate / brightness determination circuit 30 Encoding part 31 Luminance component determination circuit 32 Calculation circuit 33 DCT circuit 34 Quantization circuit 35 Coefficient prediction circuit 36 Inverse quantization circuit 37 Motion compensation circuit 38 Memory 39 Calculation Circuit 40 Inverse DCT circuit 41 Variable length coding circuit 42 Frame rate detection circuit 43 Motion vector detection circuit 50 Luminance / color difference component distribution 51 Normal quantization table 52 Arithmetic circuit 53 High compression quantization table

Claims (3)

被写体の撮像光に応じた映像信号を生成する撮像手段と、
前記映像信号のシャープネスを調整するシャープネス調整手段と、
前記映像信号のコントラストを調整するコントラスト調整手段と、
前記シャープネス調整手段及び前記コントラスト調整手段からの映像信号を符号化する符号化手段と、
該符号化手段に所定量の映像信号が供給されるように、また、前記シャープネスの調整及び前記コントラストの調整を同時に行うように前記シャープネス調整手段及び前記コントラスト調整手段を制御する制御手段とを備えることを特徴とするカメラ装置。
Imaging means for generating a video signal corresponding to the imaging light of the subject;
Sharpness adjusting means for adjusting the sharpness of the video signal;
Contrast adjusting means for adjusting the contrast of the video signal;
Encoding means for encoding a video signal from the sharpness adjusting means and the contrast adjusting means;
Control means for controlling the sharpness adjusting means and the contrast adjusting means so that a predetermined amount of video signal is supplied to the encoding means, and the sharpness adjustment and the contrast adjustment are simultaneously performed. A camera device characterized by that.
前記撮像手段によって生成された映像信号の輝度成分の1フレーム全体の平均値が第1の設定値以上、第2の設定値以下の場合には、該平均値が前記第1の設定値と前記第2の設定値の間にある場合よりも前記コントラストが高くなるように調整することを特徴とする請求項1に記載のカメラ装置。   When the average value of the entire luminance component of the video signal generated by the imaging means is not less than the first set value and not more than the second set value, the average value is equal to the first set value and the first set value. The camera device according to claim 1, wherein the camera device is adjusted so that the contrast is higher than that between the second set values. 前記撮像手段によって生成された映像信号の輝度成分の1フレーム全体の平均値が所定の値以下の場合には、該平均値が所定の値を超える場合よりも、前記シャープネスがより小さくなるように調整することを特徴とする請求項1又は2に記載のカメラ装置。   When the average value of the entire luminance component of the video signal generated by the imaging means is less than or equal to a predetermined value, the sharpness is smaller than when the average value exceeds a predetermined value. The camera device according to claim 1, wherein the camera device is adjusted.
JP2006137269A 2006-05-17 2006-05-17 Camera device Withdrawn JP2007311961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006137269A JP2007311961A (en) 2006-05-17 2006-05-17 Camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006137269A JP2007311961A (en) 2006-05-17 2006-05-17 Camera device

Publications (1)

Publication Number Publication Date
JP2007311961A true JP2007311961A (en) 2007-11-29

Family

ID=38844432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006137269A Withdrawn JP2007311961A (en) 2006-05-17 2006-05-17 Camera device

Country Status (1)

Country Link
JP (1) JP2007311961A (en)

Similar Documents

Publication Publication Date Title
JP5173837B2 (en) Adaptive filtering to improve video encoder performance
JP7149054B2 (en) Video encoding method and video decoding method
US8009963B2 (en) Adaptive filtering to enhance video bit-rate control performance
US8639050B2 (en) Dynamic adjustment of noise filter strengths for use with dynamic range enhancement of images
US8229004B2 (en) Image signal processing apparatus with code amount control for inter-frame and intra-frame encoding
US8897581B2 (en) Guided post-prediction filtering in layered VDR coding
US20110109753A1 (en) Method and system to improve the performance of a video encoder
WO2014139396A1 (en) Video coding method using at least evaluated visual quality and related video coding apparatus
EP2080363A1 (en) Method and apparatus for adaptive noise filtering of pixel data
JP2010193441A (en) Moving image processing device, moving image processing method, and imaging apparatus
US20110249133A1 (en) Compression-quality driven image acquisition and processing system
JP2007081474A (en) Image coding apparatus and method
JP2004518338A (en) Method and system for enhancing the sharpness of an encoded video
US10003801B2 (en) Image capturing apparatus that encodes and method of controlling the same
JP2009055236A (en) Video coder and method
JP2018137542A (en) Coding device, coding method, and program
JP2007311961A (en) Camera device
US20060291554A1 (en) Image processing apparatus
JP2005295371A (en) Block noise eliminating device
JP4185413B2 (en) Flicker reduction quantizer, flicker reduction quantization method, and program thereof
JP2014110509A (en) Image encoding device and image encoding method
JP2008227876A (en) Imaging apparatus
JP4612897B2 (en) Image processing device
US20190208090A1 (en) Image processing device and associated image processing method
JPH10108063A (en) Camera equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090804