JPH0638186A - Picture encoder - Google Patents

Picture encoder

Info

Publication number
JPH0638186A
JPH0638186A JP4193990A JP19399092A JPH0638186A JP H0638186 A JPH0638186 A JP H0638186A JP 4193990 A JP4193990 A JP 4193990A JP 19399092 A JP19399092 A JP 19399092A JP H0638186 A JPH0638186 A JP H0638186A
Authority
JP
Japan
Prior art keywords
image
circuit
output
mode
coding
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
JP4193990A
Other languages
Japanese (ja)
Inventor
Hiroki Horikoshi
宏樹 堀越
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4193990A priority Critical patent/JPH0638186A/en
Publication of JPH0638186A publication Critical patent/JPH0638186A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PURPOSE:To send a still picture in high picture quality and to reduce a load required therefor. CONSTITUTION:When a document camera is selected (S1), a picture is processed (coded) in the picture quality priority mode independently of the setting by the user (S6). When the document camera is not selected (S1), the picture is processed in the standard mode (S4) decording to the setting by the user when the standard mode is set (S2), or the picture is processed in the motion priority mode (S5) when the motion priority mode is set (S3), or the picture is processed in the picture quality priority mode (S6) when the picture quality priority mode is set (S6).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像符号化装置に関
し、より具体的には、テレビ電話やテレビ会議の画像通
信のための画像符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus, and more particularly to an image coding apparatus for image communication in videophones and video conferences.

【0002】[0002]

【従来の技術】テレビ会議システムでは、会議参加者の
撮影画像(動画像)を送信するのならず、グラフや図形
などの会議資料(静止画)を送信する場合もあり、送信
モード又は符号化モードとして、画質(空間解像度)及
び動きに対する追従性(時間解像度)を共に考慮する標
準モードの他に、画質を優先する画質優先モードと、動
き追従性を優先する動き優先モードを備え、これらを使
用者(会議参加者等)が利用者の嗜好性や画像の特性に
応じて選択できるようにした端末装置も提案されてい
る。
2. Description of the Related Art In a video conference system, there is a case where a conference material (still image) such as a graph or a figure is transmitted instead of transmitting a captured image (moving image) of a conference participant. In addition to the standard mode that considers both image quality (spatial resolution) and motion tracking (temporal resolution), there are an image quality priority mode that prioritizes image quality and a motion priority mode that prioritizes motion tracking. There has also been proposed a terminal device that allows a user (such as a conference participant) to make a selection according to the user's preference or image characteristics.

【0003】なお、画質と動き追従性のどちらを優先す
るかにより、画面内及び画面間符号化、量子化特性及び
フレーム・レートなどが決定される。
It is to be noted that intra-frame and inter-frame coding, quantization characteristics, frame rate, etc. are determined depending on which of image quality and motion followability is prioritized.

【0004】例えば、量子化特性については、量子化ス
テップ・サイズを細かく設定すれば画質は向上するが、
有意データが増加し、伝送ビット数が増加する。逆に、
量子化ステップ・サイズを大きく設定すれば発生データ
量は減少するが、画質が劣化する。また、CCITT勧
告H.261によれば、1フレームを符号化する際に発
生するビット数には上限があり、画像の高精細化のため
の量子化特性の改善にも限界がある。動きに対する画質
の劣化も考慮すると、フレーム・レートを制御(例え
ば、駒落としなど)する必要がある。
For example, regarding the quantization characteristic, if the quantization step size is set finely, the image quality is improved,
Significant data increases and the number of transmission bits increases. vice versa,
If the quantization step size is set large, the amount of generated data will decrease, but the image quality will deteriorate. In addition, CCITT Recommendation H.264. According to H.261, there is an upper limit to the number of bits generated when encoding one frame, and there is also a limit to the improvement of the quantization characteristic for high definition of an image. Considering the deterioration of image quality due to motion, it is necessary to control the frame rate (for example, dropping frames).

【0005】画質の高精細化は伝送ビット数の増加を意
味し、フレーム・レートの減少につながる。画質(空間
解像度)と動き追従性(時間解像度)は相反するもので
あり、高画質を追求すると、必然的に動き追従性は悪化
する。
Higher image quality means an increase in the number of transmission bits, which leads to a decrease in frame rate. Image quality (spatial resolution) and motion followability (temporal resolution) are contradictory, and pursuing high image quality inevitably deteriorates motion followability.

【0006】動画像を送信するのか、静止画を送信する
のかに応じて、使用者がその都度、符号化モードを選択
するのは面倒なので、符号化前に入力画像の特性(静止
画、動画、シーン・チェンジ場面かなど)を調べ、適応
的に符号化モードを選択する画像符号化装置が提案され
ている。
It is troublesome for the user to select an encoding mode each time depending on whether a moving image or a still image is transmitted. Therefore, before encoding, the characteristics of the input image (still image, moving image, , A scene change scene, etc.) and adaptively selects a coding mode.

【0007】[0007]

【発明が解決しようとする課題】しかし、符号化モード
を適応的に選択する従来例では、例えば会議資料を撮影
するカメラが振れている場合、当該カメラからの入力画
像を、動きを優先した符号化モードで符号化してしまう
という欠点がある。即ち、動画像と誤解してしまう。
However, in the conventional example in which the coding mode is adaptively selected, for example, when the camera for photographing the conference material is shaken, the input image from the camera is coded with motion priority. There is a drawback that encoding is performed in the encoded mode. That is, it is mistaken for a moving image.

【0008】本発明は、このような不都合を解消した画
像符号化装置を提示することを目的とする。
It is an object of the present invention to provide an image coding apparatus that eliminates such inconvenience.

【0009】[0009]

【課題を解決するための手段】本発明に係る画像符号化
装置は、画質及び動きに関し異なる優先レベルの複数の
符号化モードを外部設定自在な画像符号化装置であっ
て、入力画像が静止画であることを検出する手段と、当
該検出手段の検出出力に応じて、外部設定に関わらず画
質優先の所定符号化モードで入力画像を符号化する符号
化手段とを設けたことを特徴とする。
An image coding apparatus according to the present invention is an image coding apparatus capable of externally setting a plurality of coding modes having different priority levels with respect to image quality and motion, and an input image is a still image. And a coding means for coding an input image in a predetermined coding mode with priority on image quality regardless of external setting, according to the detection output of the detection means. .

【0010】[0010]

【作用】上記手段により、利用者の特別な操作無しに、
上記符号化手段が、静止画である入力画像を画質優先の
所定符号化モードで符号化する。これにより、利用者の
操作負担が軽減される。
By the above means, without any special operation by the user,
The encoding means encodes an input image, which is a still image, in a predetermined encoding mode with image quality priority. This reduces the operational burden on the user.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は、本発明の一実施例の概略構成ブロ
ック図であり、図2は、本実施例を組み込んだ画像通信
装置の概略構成ブロック図を示す。
FIG. 1 is a schematic configuration block diagram of an embodiment of the present invention, and FIG. 2 is a schematic configuration block diagram of an image communication apparatus incorporating this embodiment.

【0013】先ず、図2を説明する。10は会議参加者
を撮影するカメラ、12は図面などの会議資料を撮影す
る書画カメラ、14はカメラ10,12の出力を選択
し、所定の内部形式に変換する画像入力インターフェー
ス、16は画像表示するモニタ、18はモニタ16に画
像信号を供給する画像出力インターフェースである。
First, FIG. 2 will be described. Reference numeral 10 is a camera for photographing conference participants, 12 is a document camera for photographing conference materials such as drawings, 14 is an image input interface for selecting outputs of the cameras 10 and 12, and converting the output into a predetermined internal format. 16 is an image display. An image output interface 18 supplies an image signal to the monitor 16.

【0014】モニタ16としては、単独の画像表示装置
でも複数の画像表示装置でもよく、更には、単独の画像
表示装置でもウインドウ・システムにより複数の画像を
別々のウインドウに表示できるものであってもよい。
The monitor 16 may be a single image display device or a plurality of image display devices, and further, a single image display device or a device capable of displaying a plurality of images in separate windows by a window system. Good.

【0015】20はカメラ10,12による入力画像及
び受信画像を選択及び合成して画像出力インターフェー
ス18に供給する選択合成回路、22は、送信すべき画
像信号を符号化する画像符号化回路22aと、受信した
符号化画像信号を復号化する画像復号化回路22bから
なる画像符号化復号化回路である。
Reference numeral 20 is a selection / combination circuit for selecting and combining the input images and received images from the cameras 10 and 12 and supplying them to the image output interface 18. Reference numeral 22 is an image encoding circuit 22a for encoding an image signal to be transmitted. The image coding / decoding circuit includes an image decoding circuit 22b for decoding the received coded image signal.

【0016】24はマイク及びスピーカからなるハンド
セット、26はマイク、28はスピーカ、30はハンド
セット24、マイク26及びスピーカ28に対する音声
入出力インターフェースである。音声入出力インターフ
ェース30は、ハンドセット24、マイク26及びスピ
ーカ28の音声入出力を切り換えるだけでなく、エコー
・キャンセル処理、並びに、ダイヤルトーン、呼出音、
ビジー・トーン及び着信音などのトーンの生成処理を行
なう。32は、送信すべき音声信号を符号化する音声符
号化回路32aと、受信した符号化音声信号を復号化す
る音声復号化回路32bからなる音声符号化復号化回路
である。
Reference numeral 24 is a handset consisting of a microphone and a speaker, 26 is a microphone, 28 is a speaker, and 30 is an audio input / output interface for the handset 24, the microphone 26 and the speaker 28. The voice input / output interface 30 not only switches the voice input / output of the handset 24, the microphone 26, and the speaker 28, but also performs echo / cancel processing, dial tone, ringing tone,
Tones such as busy tones and ring tones are generated. Reference numeral 32 is a voice encoding / decoding circuit including a voice encoding circuit 32a for encoding the voice signal to be transmitted and a voice decoding circuit 32b for decoding the received encoded voice signal.

【0017】34は通信回線(例えば、ISDN回線)
の回線インターフェース、36は、画像符号化回路22
a及び音声符号化回路32aからの送信すべき符号化情
報を多重化して回線インターフェース34に供給すると
共に、回線インターフェース34から供給される受信情
報から符号化画像情報と符号化音声情報を分離し、それ
ぞれ画像復号化回路22b及び音声復号化回路32bに
供給する分離多重化回路である。
Reference numeral 34 is a communication line (for example, ISDN line).
Line interface 36 of the image coding circuit 22
a and the coded information to be transmitted from the voice coding circuit 32a are multiplexed and supplied to the line interface 34, and the coded image information and the coded voice information are separated from the received information supplied from the line interface 34, They are demultiplexing circuits which are supplied to the image decoding circuit 22b and the audio decoding circuit 32b, respectively.

【0018】38は全体、特に画像入力インターフェー
ス14、画像出力インターフェース18、選択合成回路
20、画像符号化復号化回路22、音声入出力インター
フェース30、音声符号化復号化回路32及び分離多重
化回路36を制御するシステム制御回路、39はシステ
ム制御回路38に使用者が所定の指示を入力するための
操作装置(例えば、テン・キーやキーボード等)であ
る。
Reference numeral 38 denotes the whole, in particular, the image input interface 14, the image output interface 18, the selective synthesizing circuit 20, the image encoding / decoding circuit 22, the audio input / output interface 30, the audio encoding / decoding circuit 32, and the demultiplexing circuit 36. Reference numeral 39 is a system control circuit for controlling the system, and 39 is an operating device (for example, a ten-key or a keyboard) for the user to input a predetermined instruction to the system control circuit 38.

【0019】図2に示す実施例における画像信号及び音
声信号の流れを簡単に説明する。カメラ10及び書画カ
メラ12による入力画像は画像入力インターフェース1
4により選択され、その一方が選択合成回路20に入力
する。選択合成回路20は通常、カメラ10,12によ
る入力画像をそのまま画像符号化復号回路22の符号化
回路22aに出力する。画像符号化回路22aは、詳細
は後述するが、システム制御回路38からの制御信号及
び内部決定に従う符号化モードで入力画像信号を符号化
し、分離多重化回路36に出力する。
The flow of image signals and audio signals in the embodiment shown in FIG. 2 will be briefly described. The image input by the camera 10 and the document camera 12 is the image input interface 1
4 is selected, and one of them is input to the selection / combination circuit 20. The selective synthesizing circuit 20 normally outputs the input images from the cameras 10 and 12 as they are to the encoding circuit 22a of the image encoding / decoding circuit 22. The image encoding circuit 22a encodes the input image signal in the encoding mode according to the control signal from the system control circuit 38 and the internal determination, and outputs it to the demultiplexing and multiplexing circuit 36, which will be described in detail later.

【0020】他方、ハンドセット24のマイク又はマイ
ク26による入力音声信号は音声入出力インターフェー
ス30を介して音声符号化復号化回路32の音声符号化
回路32aに入力し、符号化されて分離多重化回路36
に印加される。
On the other hand, the input voice signal from the microphone or the microphone 26 of the handset 24 is input to the voice encoding circuit 32a of the voice encoding / decoding circuit 32 via the voice input / output interface 30 and is encoded and demultiplexed. 36
Applied to.

【0021】分離多重化回路36は、符号化回路22
a,32aからの符号化信号を多重化し、回線インター
フェース34に出力する。回線インターフェース34は
分離多重化回路36からの信号を、接続する通信回線に
出力する。
The demultiplexing circuit 36 is a coding circuit 22.
The coded signals from a and 32a are multiplexed and output to the line interface 34. The line interface 34 outputs the signal from the demultiplexing circuit 36 to the connected communication line.

【0022】通信回線から受信した信号は回線インター
フェース34から分離多重化回路36に供給される。分
離多重化回路36は、受信信号から符号化画像信号と符
号化音声信号を分離し、それぞれ画像復号化回路22b
及び音声復号化回路32bに印加する。画像復号化回路
22bは、分離多重化回路36からの符号化画像信号を
復号し、選択合成回路20に印加する。
The signal received from the communication line is supplied from the line interface 34 to the demultiplexing / multiplexing circuit 36. The demultiplexing circuit 36 separates the coded image signal and the coded audio signal from the received signal, and the image decoding circuit 22b respectively.
And to the audio decoding circuit 32b. The image decoding circuit 22 b decodes the coded image signal from the demultiplexing circuit 36 and applies it to the selective synthesizing circuit 20.

【0023】選択合成回路20はシステム制御回路38
からの制御信号に従い、画像入力インターフェース14
からの入力画像と、画像復号化回路22bからの受信画
像を選択合成し、画像出力インターフェース18に出力
する。選択合成回路20は、合成処理として例えば、ピ
クチャー・イン・ピクチャーやウインドウ表示システム
における対応ウインドウへのはめ込みなどを行なう。画
像モニタ16は画像出力インターフェース18からの画
像信号を画像表示する。これにより、入力画像及び/又
は受信画像がモニタ16の画面に表示される。
The selective combining circuit 20 is a system control circuit 38.
Image input interface 14 according to the control signal from
The input image from and the received image from the image decoding circuit 22b are selectively combined and output to the image output interface 18. The selective combining circuit 20 performs, for example, picture-in-picture or fitting into a corresponding window in the window display system as a combining process. The image monitor 16 displays the image signal from the image output interface 18 as an image. As a result, the input image and / or the received image is displayed on the screen of the monitor 16.

【0024】音声符号化回路32bにより復号された受
信音声信号は音声入出力インターフェース30を介して
ハンドセット24のスピーカ及び/又はスピーカ28に
印加される。これにより、通信相手からの音声を聞くこ
とができる。
The received voice signal decoded by the voice encoding circuit 32b is applied to the speaker and / or the speaker 28 of the handset 24 via the voice input / output interface 30. As a result, the voice from the communication partner can be heard.

【0025】なお、画像及び音声以外のコマンドなどで
通信相手に送信するものは、システム制御回路38から
分離多重化回路36に直接供給され、受信したコマンド
は分離多重化回路36からシステム制御回路38に直接
供給される。
Note that commands other than images and voices to be transmitted to the communication partner are directly supplied from the system control circuit 38 to the demultiplexing circuit 36, and the received commands are sent from the demultiplexing circuit 36 to the system control circuit 38. Directly supplied to.

【0026】次に、図1を詳細に説明する。図1は、図
2の画像符号化回路22aに相当する。なお、本実施例
では、画面毎に前フレーム(予測値)との差分を符号化
するINTERモードと、差分をとらずにその画面内で
符号化するINTRAモードを選択できる。例えば、動
きや時間方向で動きの少ない画像や静止画ではINTE
Rモードを使用し、動きの大きな画像や、動きが少ない
画像でもシーン・チェンジの際にはINTRAモードを
使用する。また、発生する符号化データ量に応じて量子
化ステップ・サイズも変更し、必要により駒落とし(フ
レーム・スキップ)を行なう。
Next, FIG. 1 will be described in detail. FIG. 1 corresponds to the image encoding circuit 22a of FIG. In this embodiment, it is possible to select the INTER mode in which the difference from the previous frame (predicted value) is encoded for each screen and the INTRA mode in which the difference is encoded within the screen without taking the difference. For example, INTE for images and still images that do not move much in the motion or time direction.
Use the R mode, and use the INTRA mode when changing scenes even for images with large movements or images with little movements. Further, the quantization step size is also changed according to the amount of encoded data generated, and if necessary, frame skipping (frame skip) is performed.

【0027】図1において、40は選択合成回路20か
らの画素データが入力する入力端子、42は、入力端子
40からの画素値と当該画素値の予測誤差との間のエネ
ルギー比較結果及び外部制御信号に従い、INTRAモ
ード又はINTERモードを選択する符号化モード選択
回路である。符号化モード選択回路42は、INTRA
モードでは入力端子40からの画素値をそのまま出力
し、INTERモードでは、その符号化ブロックである
マクロブロック単位で予測値(前フレーム)との差分
(予測誤差)を出力する。
In FIG. 1, 40 is an input terminal for inputting pixel data from the selective synthesizing circuit 20, 42 is an energy comparison result between a pixel value from the input terminal 40 and a prediction error of the pixel value, and external control. It is an encoding mode selection circuit for selecting the INTRA mode or the INTER mode according to the signal. The encoding mode selection circuit 42 uses INTRA
In the mode, the pixel value from the input terminal 40 is output as it is, and in the INTER mode, the difference (prediction error) from the prediction value (previous frame) is output for each macroblock that is the coding block.

【0028】44は、符号化モード選択回路42の出力
を離散コサイン変換し、DCT係数データを出力するD
CT回路、46は、DCT回路44から出力されるDC
T係数データを、指定された量子化ステップ・サイズで
量子化する量子化回路、48は、量子化回路46の出力
を可変長符号化する可変長符号化回路、50は可変長符
号化回路48の出力をバッファリングする送信バッフ
ァ、52は送信バッファ50の出力を分離多重化回路3
6に接続する出力端子である。
Reference numeral 44 denotes a D which outputs the DCT coefficient data by performing a discrete cosine transform on the output of the coding mode selection circuit 42.
The CT circuit, 46 is the DC output from the DCT circuit 44.
A quantizing circuit for quantizing the T coefficient data with a specified quantizing step size, 48 is a variable length coding circuit for variable length coding the output of the quantizing circuit 46, and 50 is a variable length coding circuit 48. Of the output of the transmission buffer 50, and 52 is the output of the transmission buffer 50.
6 is an output terminal to be connected.

【0029】54は、量子化回路46の出力を逆量子化
する逆量子化回路、56は逆量子化回路54の出力を逆
離散コサイン変換する逆DCT回路である。58は、I
NTERモードで逆DCT回路56の出力に予測値を加
算して出力し、INTRAモードでは逆DCT回路56
の出力をそのまま出力する加算器である。60は、動き
補償フレーム間予測のためのフレーム・メモリであり、
加算器58の出力(局部復号値)を記憶する。
Reference numeral 54 is an inverse quantization circuit for inversely quantizing the output of the quantization circuit 46, and reference numeral 56 is an inverse DCT circuit for inverse discrete cosine transform of the output of the inverse quantization circuit 54. 58 is I
In the NTER mode, the predicted value is added to the output of the inverse DCT circuit 56 and output, and in the INTRA mode, the inverse DCT circuit 56 is output.
It is an adder that outputs the output of as it is. 60 is a frame memory for motion-compensated inter-frame prediction,
The output (locally decoded value) of the adder 58 is stored.

【0030】62は、入力端子40から入力する画像信
号とフレーム・メモリ60に記憶される前フレームの画
像信号とをマクロブロック単位で比較して動きベクトル
を検出する動きベクトル検出回路、64は、動きベクト
ル検出回路62により検出された動きベクトルに従い、
フレーム・メモリ60からの前フレームのデータをマク
ロブロック単位で画面内で移動させて動きを相殺する動
き補償回路、66は動き補償回路64の出力をマクロブ
ロック単位でフィルタリングするローパス・フィルタで
ある。フィルタ66の出力がフレーム間予測の予測値に
なり、加算器58及び減算器68に印加される。減算器
68は、入力端子40からの画素データとフィルタ66
の出力(予測値)との予測誤差を算出して、符号化モー
ド選択回路42に供給する。
Reference numeral 62 is a motion vector detection circuit for detecting a motion vector by comparing the image signal input from the input terminal 40 and the image signal of the previous frame stored in the frame memory 60 in macroblock units. According to the motion vector detected by the motion vector detection circuit 62,
A motion compensation circuit that moves the data of the previous frame from the frame memory 60 in a macro block unit within the screen to cancel the motion, and 66 is a low-pass filter that filters the output of the motion compensation circuit 64 in the macro block unit. The output of the filter 66 becomes a predicted value of inter-frame prediction, and is applied to the adder 58 and the subtractor 68. The subtractor 68 receives the pixel data from the input terminal 40 and the filter 66.
A prediction error with respect to the output (predicted value) is calculated and supplied to the coding mode selection circuit 42.

【0031】70は、システム制御回路38が画像送信
する画像として書画カメラ12による入力画像を選択し
たことを検出する書画カメラ選択検出回路、72は、シ
ステム制御回路38からの符号化に関する制御信号、書
画カメラ選択検出回路70の検出出力、及び送信バッフ
ァ50からのバッファ蓄積量信号に従い、符号化モード
選択回路42、量子化回路46、可変長符号化回路4
8、及び送信バッファ50を主に制御する画像符号化制
御回路である。システム制御回路38からの符号化に関
する制御信号には、画質(空間解像度)優先、動き追従
性(時間解像度)優先、又はこれらの中間かを指定する
信号などがある。
Reference numeral 70 denotes a document camera selection detection circuit for detecting that the system control circuit 38 has selected an input image by the document camera 12 as an image to be transmitted, and 72 denotes a control signal for encoding from the system control circuit 38. According to the detection output of the document camera selection detection circuit 70 and the buffer accumulation amount signal from the transmission buffer 50, the coding mode selection circuit 42, the quantization circuit 46, and the variable length coding circuit 4
8 and the transmission buffer 50 are mainly image coding control circuits. The control signal for encoding from the system control circuit 38 includes a signal for designating image quality (spatial resolution) priority, motion followability (temporal resolution) priority, or an intermediate of these.

【0032】図1の動作を説明する。入力端子40には
選択合成回路20(図1)から、例えばCCITT勧告
H.261に従う共通フォーマット(CIF又はQCI
F)で画像データが入力する。入力端子40に入力する
画像データは符号化モード選択回路42、減算器68及
び動きベクトル検出回路62に印加される。
The operation of FIG. 1 will be described. For example, CCITT Recommendation H.264 is applied to the input terminal 40 from the selective combining circuit 20 (FIG. 1). 261 common format (CIF or QCI
Image data is input in F). The image data input to the input terminal 40 is applied to the coding mode selection circuit 42, the subtracter 68, and the motion vector detection circuit 62.

【0033】減算器68は、入力端子40からの画素デ
ータと、フィルタ66から出力される予測値との差分
(予測誤差)を算出し、符号化モード選択回路42に印
加する。符号化モード選択回路42は、入力端子40か
らの画素値と、減算器68からの予測誤差とをエネルギ
ー比較し、その比較結果及び画像符号化制御回路72か
らの制御信号に従い符号化モードを選択する。そして、
INTRAモードでは入力端子40からの入力画素値を
そのままDCT回路44に出力し、INTERモードで
は、入力端子40からの画素値と減算器68からの予測
誤差をDCT回路44に出力する。
The subtractor 68 calculates the difference (prediction error) between the pixel data from the input terminal 40 and the prediction value output from the filter 66, and applies it to the coding mode selection circuit 42. The coding mode selection circuit 42 performs energy comparison between the pixel value from the input terminal 40 and the prediction error from the subtracter 68, and selects the coding mode according to the comparison result and the control signal from the image coding control circuit 72. To do. And
In the INTRA mode, the input pixel value from the input terminal 40 is directly output to the DCT circuit 44, and in the INTER mode, the pixel value from the input terminal 40 and the prediction error from the subtractor 68 are output to the DCT circuit 44.

【0034】DCT回路44は、符号化モード選択回路
42からのデータをブロック単位で離散コサイン(DC
T)変換し、DCT係数データを量子化回路46に出力
する。量子化回路46は、画像符号化制御回路72から
の量子化特性制御信号により指定される量子化ステップ
・サイズで、DCT回路44からのDCT係数データを
量子化する。可変長符号化回路48は、画像符号化制御
回路72からの符号化制御信号に従い有意ブロックを判
定し、量子化DCT係数をCCITT勧告H.261に
従って可変長符号化する。
The DCT circuit 44 blocks the data from the coding mode selection circuit 42 in units of blocks by the discrete cosine (DC
T) transform and output the DCT coefficient data to the quantization circuit 46. The quantization circuit 46 quantizes the DCT coefficient data from the DCT circuit 44 with the quantization step size specified by the quantization characteristic control signal from the image coding control circuit 72. The variable-length coding circuit 48 determines a significant block according to the coding control signal from the image coding control circuit 72, and sets the quantized DCT coefficient to CCITT Recommendation H.264. In accordance with H.261, variable length coding is performed.

【0035】送信バッファ50は、可変長符号化回路4
8による可変長符号化データをバッファリングして出力
端子52を介して分離多重化回路36に出力すると共
に、バッファ蓄積量を画像符号化制御回路72に伝達す
る。送信バッファ50と出力端子52との間に誤り訂正
符号化回路を接続してもよい。
The transmission buffer 50 includes the variable length coding circuit 4
The variable length coded data of 8 is buffered and output to the demultiplexing / multiplexing circuit 36 through the output terminal 52, and the buffer storage amount is transmitted to the image coding control circuit 72. An error correction coding circuit may be connected between the transmission buffer 50 and the output terminal 52.

【0036】逆量子化回路54は、量子化回路46で選
択されたのと同じ量子化ステップ・サイズで、量子化回
路46の出力を逆量子化し、DCT係数の代表値を出力
する。逆DCT回路56は、逆量子化回路56の出力を
逆離散コサイン変換する。加算器58は、INTERモ
ードでは、逆DCT回路56の出力に予測値(フィルタ
66の出力)を加算し、INTRAモードでは逆DCT
回路56の出力をそのまま出力する。加算器58の出力
は、フレーム・メモリ60に格納される。
The inverse quantization circuit 54 inversely quantizes the output of the quantization circuit 46 with the same quantization step size as that selected by the quantization circuit 46, and outputs the representative value of the DCT coefficient. The inverse DCT circuit 56 performs an inverse discrete cosine transform on the output of the inverse quantization circuit 56. The adder 58 adds the predicted value (output of the filter 66) to the output of the inverse DCT circuit 56 in the INTER mode, and inverse DCT in the INTRA mode.
The output of the circuit 56 is output as it is. The output of adder 58 is stored in frame memory 60.

【0037】フレーム・メモリ60は少なくとも2フレ
ーム分の記憶容量を具備し、加算器58の出力画素値
(即ち、局部復号値)を記憶する。動きベクトル検出回
路62は、入力端子40からの現フレームの画素データ
とフレーム・メモリ60に記憶される前フレームの画素
データとを比較し、画像の動きを検出する。具体的に
は、現フレームの処理中のマクロブロック付近を動きベ
クトル・サーチ・ウインドウとして前フレームの画素デ
ータをフレーム・メモリ60から読み出し、ブロック・
マッチング演算して動きベクトルを検出する。
The frame memory 60 has a storage capacity of at least two frames and stores the output pixel value of the adder 58 (that is, the locally decoded value). The motion vector detection circuit 62 compares the pixel data of the current frame from the input terminal 40 with the pixel data of the previous frame stored in the frame memory 60 to detect the motion of the image. Specifically, the pixel data of the previous frame is read from the frame memory 60 using the motion vector search window near the macroblock being processed for the current frame,
A matching operation is performed to detect a motion vector.

【0038】動き補償回路64は、動きベクトル検出回
路62で検出された動きベクトルに従い、その動きを相
殺するようにフレーム・メモリ60からの前フレームの
画素データを画面方向に移動する。フィルタ66は、動
き補償回路64により動き補償された前フレームの画素
データに対し、ブロック境界における不連続性を緩和す
るフィルタ処理を施し、処理データを減算器68及び加
算器58に予測値として供給する。
According to the motion vector detected by the motion vector detection circuit 62, the motion compensation circuit 64 moves the pixel data of the previous frame from the frame memory 60 in the screen direction so as to cancel the motion. The filter 66 performs filter processing on the pixel data of the previous frame that has been motion-compensated by the motion compensation circuit 64 to reduce discontinuity at the block boundary, and supplies the processed data to the subtractor 68 and the adder 58 as a predicted value. To do.

【0039】書画カメラ選択検出回路70は、システム
制御回路38によるカメラ10又は書画カメラ12の選
択を常時監視しており、書画カメラ12の選択を検出す
ると、検出信号を画像符号化制御回路72に出力する。
The document camera selection detection circuit 70 constantly monitors the selection of the camera 10 or the document camera 12 by the system control circuit 38. When the selection of the document camera 12 is detected, the detection signal is sent to the image coding control circuit 72. Output.

【0040】画像符号化制御回路72は、システム制御
回路38からの利用者設定の画質制御信号、送信バッフ
ァ50のデータ蓄積量、及び書画カメラ選択検出回路7
0の検出出力に応じて、画像符号化の全般を制御する。
具体的には、送信バッファ50がオーバーフローしない
ように、送信バッファ50のデータ蓄積量を基に、入力
画像の変化、シーン・チェンジ及び通信者の画質設定に
応じて適応的に、量子化回路46の量子化ステップ・サ
イズ、符号化モード選択回路42におけるモード選択、
可変長符号化回路48における有意ブロック判定、及び
駒落とし(フレーム・スキップ)を制御する。
The image encoding control circuit 72 is a user-set image quality control signal from the system control circuit 38, the amount of data stored in the transmission buffer 50, and the document camera selection detection circuit 7.
The overall image coding is controlled according to the detected output of 0.
Specifically, the quantizing circuit 46 is adaptively adapted to the change in the input image, the scene change, and the image quality setting of the communicator based on the amount of data accumulated in the transmission buffer 50 so that the transmission buffer 50 does not overflow. Quantization step size, mode selection in the coding mode selection circuit 42,
The significant block determination and frame skipping (frame skip) in the variable length coding circuit 48 are controlled.

【0041】なお、動きや変化の少ない画像は、現フレ
ームと前フレームが非常に似ているので、前フレームと
の差分を符号化するINTERモードを用いることで、
その時間冗長度を削減できる。他方、動きが大きい画像
やシーン・チェンジの際にはフレーム間相関が小さいの
で、同一フレーム内で符号化するINTRAモードを用
いる。
Since the current frame and the previous frame are very similar to each other in an image with little movement or change, by using the INTER mode for encoding the difference from the previous frame,
The time redundancy can be reduced. On the other hand, since the inter-frame correlation is small at the time of an image with a large motion or a scene change, the INTRA mode in which coding is performed within the same frame is used.

【0042】量子化特性に関しては、先に説明したよう
に、量子化ステップ・サイズを小さくする程、画質は向
上するが、有意データが増加するので、伝送ビット数の
増加につながる。他方、量子化ステップ・サイズを多く
すると、伝送データ量は減少するが、画質が劣化する。
そこで、送信バッファ50のデータ蓄積量を常時監視
し、適宜に効率的に量子化ステップ・サイズを設定す
る。また、発生する符号化ビット数に応じて駒落とし
(フレーム・スキップ)処理を行ない、フレーム・レー
トを調節する。
Regarding the quantization characteristic, as described above, the smaller the quantization step size, the higher the image quality, but the more significant data, the more the number of transmission bits. On the other hand, if the quantization step size is increased, the amount of transmitted data decreases but the image quality deteriorates.
Therefore, the amount of data stored in the transmission buffer 50 is constantly monitored, and the quantization step size is set appropriately and efficiently. Also, the frame rate is adjusted by performing frame skip processing according to the number of encoded bits generated.

【0043】入力画像の特性は、符号化モード選択回路
42における入力値と予測誤差値とのエネルギー比較の
他に、書画カメラ12の入力画像の選択やシーン・チェ
ンジによっても判断できる。シーン・チェンジは、例え
ば、INTRAモードの選択比率などにより検出でき
る。
The characteristics of the input image can be judged not only by comparing the energy of the input value in the coding mode selection circuit 42 and the prediction error value, but also by the selection of the input image of the document camera 12 or the scene change. The scene change can be detected by, for example, the selection ratio of the INTRA mode.

【0044】図3に示すフローチャートを参照して、書
画カメラ選択検出回路70の検出出力に対する画像符号
化制御回路72の動作を説明する。先ず、書画カメラ選
択検出回路70の出力を調べる(S1)。そして、書画
カメラ12が選択されている場合には、利用者の設定に
関わらず、画質優先モードでの画像処理、即ち画像符号
化を行なう(S6)。
The operation of the image coding control circuit 72 for the detection output of the document camera selection detection circuit 70 will be described with reference to the flowchart shown in FIG. First, the output of the document camera selection detection circuit 70 is checked (S1). Then, when the document camera 12 is selected, image processing in the image quality priority mode, that is, image encoding is performed regardless of the user's setting (S6).

【0045】書画カメラ12が選択されていない場合に
は(S1)、システム制御回路38からの利用者設定の
画質制御信号が標準モード、動き優先モード又は画質優
先モードの何れであるかを調べ(S2,3)、標準モー
ドのときには(S2)、標準モードで画像処理し(S
4)、動き優先モードのときには(S3)、動き優先モ
ードで画像処理し(S5)、画質優先モードのときには
(S3)、画質優先モードで画像処理する(S6)。
When the document camera 12 is not selected (S1), it is checked whether the image quality control signal set by the user from the system control circuit 38 is the standard mode, the motion priority mode or the image quality priority mode ( S2, 3), in the standard mode (S2), image processing is performed in the standard mode (S2).
4) In the motion priority mode (S3), image processing is performed in the motion priority mode (S5), and in image quality priority mode (S3), image processing is performed in image quality priority mode (S6).

【0046】このように、本実施例では、書画カメラ選
択検出回路70の検出結果に従い、利用者の設定に関わ
らず画質優先の符号化を行なう。なお、書画カメラの入
力画像の伝送用に、画質優先の専用の符号化モードを設
けてもよいことはいうまでもない。
As described above, in this embodiment, the image quality priority coding is performed according to the detection result of the document camera selection detection circuit 70 regardless of the user's setting. Needless to say, a dedicated encoding mode for giving priority to image quality may be provided for transmitting the input image of the document camera.

【0047】[0047]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、利用者の特別な操作無しに、図形
やグラフなどの静止画を画質優先で符号化するので、利
用者の操作負担が軽減される。
As can be easily understood from the above description, according to the present invention, still images such as graphics and graphs are coded with priority on image quality without any special operation by the user. The operation load is reduced.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 本実施例を組み込んだ画像通信装置の概略構
成ブロック図である。
FIG. 2 is a schematic block diagram of an image communication device incorporating the present embodiment.

【図3】 本実施例の動作フローチャートである。FIG. 3 is an operation flowchart of the present embodiment.

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

10:カメラ 12:書画カメラ 14:画像入力イン
ターフェース 16:モニタ 18:画像出力インター
フェース 20:選択合成回路 22:画像符号化復号
化回路 22a:画像符号化回路 22b:画像復号化
回路 24:ハンドセット 26:マイク 28:スピ
ーカ 30:音声入出力インターフェース 32:音声符号化復号化回路 32a:音声符号化回路
32b:音声復号化回路 34:回線インターフェー
ス 36:分離多重化回路 38:システム制御回路
39:操作装置 40:入力端子 42:符号化モード
選択回路 44:DCT回路 46:量子化回路 4
8:可変長符号化回路 50:送信バッファ 52:出
力端子 54:逆量子化回路 56:逆DCT回路 5
8:加算器 60:動き補償用フレーム・メモリ 62:動きベクト
ル検出回路 64:動き補償回路 66:ローパス・フ
ィルタ 68:減算器 70:書画カメラ選択検出回路
72:画像符号化制御回路
10: Camera 12: Document camera 14: Image input interface 16: Monitor 18: Image output interface 20: Selective combining circuit 22: Image encoding / decoding circuit 22a: Image encoding circuit 22b: Image decoding circuit 24: Handset 26: Microphone 28: Speaker 30: Voice input / output interface 32: Voice coding / decoding circuit 32a: Voice coding circuit 32b: Voice decoding circuit 34: Line interface 36: Demultiplexing / multiplexing circuit 38: System control circuit
39: Operating device 40: Input terminal 42: Coding mode selection circuit 44: DCT circuit 46: Quantization circuit 4
8: Variable length coding circuit 50: Transmission buffer 52: Output terminal 54: Inverse quantization circuit 56: Inverse DCT circuit 5
8: Adder 60: Frame memory for motion compensation 62: Motion vector detection circuit 64: Motion compensation circuit 66: Low-pass filter 68: Subtractor 70: Document camera selection detection circuit 72: Image coding control circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画質及び動きに関し異なる優先レベルの
複数の符号化モードを外部設定自在な画像符号化装置で
あって、入力画像が静止画であることを検出する手段
と、当該検出手段の検出出力に応じて、外部設定に関わ
らず画質優先の所定符号化モードで入力画像を符号化す
る符号化手段とを設けたことを特徴とする画像符号化装
置。
1. An image encoding apparatus capable of externally setting a plurality of encoding modes having different priority levels with respect to image quality and motion, said means for detecting that the input image is a still image, and the detection means. An image encoding apparatus, comprising: an encoding unit that encodes an input image in a predetermined encoding mode in which image quality is prioritized regardless of external settings.
JP4193990A 1992-07-21 1992-07-21 Picture encoder Withdrawn JPH0638186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4193990A JPH0638186A (en) 1992-07-21 1992-07-21 Picture encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4193990A JPH0638186A (en) 1992-07-21 1992-07-21 Picture encoder

Publications (1)

Publication Number Publication Date
JPH0638186A true JPH0638186A (en) 1994-02-10

Family

ID=16317139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4193990A Withdrawn JPH0638186A (en) 1992-07-21 1992-07-21 Picture encoder

Country Status (1)

Country Link
JP (1) JPH0638186A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08251563A (en) * 1995-03-15 1996-09-27 Nec Commun Syst Ltd Visual telephone system
US7386174B2 (en) 1996-08-26 2008-06-10 Canon Kabushiki Kaisha Image transmission apparatus and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08251563A (en) * 1995-03-15 1996-09-27 Nec Commun Syst Ltd Visual telephone system
US7386174B2 (en) 1996-08-26 2008-06-10 Canon Kabushiki Kaisha Image transmission apparatus and method therefor

Similar Documents

Publication Publication Date Title
US5357281A (en) Image processing apparatus and terminal apparatus
JP3651706B2 (en) Video encoding device
JPH0630402A (en) Image coding device
JPH0638186A (en) Picture encoder
KR100770873B1 (en) Method and apparatus of controling bit rate in image encoding
JPH07298231A (en) Multi-point moving image communication system and its controller and moving communication terminal equipment
JPH0884329A (en) Image communication terminal equipment
JPH09214965A (en) Method and device for encoding moving image
JPH09261530A (en) Video recorder
JPH02241285A (en) Highly efficient encoder for moving image signal
JPH05130602A (en) Terminal equipment
JPH06351011A (en) Dynamic image transmitter
JPH07203448A (en) Dynamic image coding device and method therefor
JPH09275550A (en) Video conference system
JP2003158661A (en) Video camera
KR100233531B1 (en) Active picture size controlling method and apparatus according to channel status
JPH1066088A (en) Multi-point video conference control device
JPH0638195A (en) Video coder
KR100233109B1 (en) Apparatus and method for automatic monitoring
JP2001177826A (en) Moving picture encoding method and device
JPH0846973A (en) Picture communicating equipment and system
JP3384910B2 (en) Imaging device and image reproducing device
JPH06245204A (en) Motion picture coder
JP3466639B2 (en) Image communication apparatus and method
JPH09107543A (en) Quantizer control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005