JP2005204247A - Motion picture compression apparatus and method, and motion picture transmission system - Google Patents

Motion picture compression apparatus and method, and motion picture transmission system Download PDF

Info

Publication number
JP2005204247A
JP2005204247A JP2004010908A JP2004010908A JP2005204247A JP 2005204247 A JP2005204247 A JP 2005204247A JP 2004010908 A JP2004010908 A JP 2004010908A JP 2004010908 A JP2004010908 A JP 2004010908A JP 2005204247 A JP2005204247 A JP 2005204247A
Authority
JP
Japan
Prior art keywords
value
processing
moving image
processing unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004010908A
Other languages
Japanese (ja)
Inventor
Shuhei Takimoto
周平 滝本
Akinobu Yoshimura
明展 吉村
Jun Okada
潤 岡田
Mitsuo Takemura
満夫 竹村
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries 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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2004010908A priority Critical patent/JP2005204247A/en
Publication of JP2005204247A publication Critical patent/JP2005204247A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motion picture compression apparatus, motion picture transmission system, and motion picture compression method, in which high-speed processing can be performed by simple arithmetic processing without delay caused by processing. <P>SOLUTION: With regard to values of Y corresponding to pixels in frames of motion picture data imparted via a memory 23, a Y processing part 31 of an arithmetic processing section 25 sequentially creates processing values of Y by discarding low-order (8-N) bits (N is a number of 6, 7 or 8). With regard to values of U and values of Y corresponding to pixels in said frames, U and V processing parts 33 and 35 sequentially create processing values of U and Y by discarding low-order 3 bits. A transmission data constitution part 37 constitutes compression data on the basis of the created values of Y, U and V and imparts said data to a communication part 27. With regard to processing values of Y, compression data are constituted by appropriately using a differential value from a minimum value (or maximum value) of processing values of Y in macro blocks set in the frames. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、動画圧縮装置、動画伝送システム及び動画圧縮方法に関し、特に車両用のものに関する。   The present invention relates to a moving image compression apparatus, a moving image transmission system, and a moving image compression method, and more particularly to a vehicle.

例えば、車載カメラの動画像を車室内の表示装置にて表示して車両周辺の監視を行う場合、車載カメラの動画像を車室の表示装置等にどのように伝送するかが問題となる。   For example, when a moving image of an in-vehicle camera is displayed on a display device in a vehicle interior to monitor the periphery of the vehicle, how to transmit the moving image of the in-vehicle camera to a display device in the vehicle compartment becomes a problem.

このようにカメラで撮像した動画像を伝送する技術として、まずアナログ信号として伝送する方法がある。しかし、アナログ有線伝送では、ノイズ耐性が低いため、ノイズ対策には高価なシールド線を使用する必要があり、ノイズ耐性や伝送用ケーブルのコスト等の点で欠点がある。また、アナログ無線伝送では、高いS/N比が必要であり、S/N比が低下するとすぐに動画像が乱れてしまうという欠点がある。   As a technique for transmitting a moving image captured by a camera as described above, there is a method of transmitting it as an analog signal. However, since analog wire transmission has low noise resistance, it is necessary to use an expensive shield wire for noise countermeasures, and there are drawbacks in terms of noise resistance and the cost of transmission cables. In addition, analog wireless transmission requires a high S / N ratio, and there is a drawback that a moving image is disturbed as soon as the S / N ratio decreases.

そこで、このようなアナログ伝送の欠点を克服するため、動画像をデジタル信号として伝送する方法が採用される場合がある。このデジタル伝送では、動画像データを非圧縮で送信すると大きなデータの転送速度(1画素当たり12ビット、画像サイズ320×240、30フレーム/秒の場合で約26Mbps)が必要であるため、動画圧縮縮技術を用いたデータ伝送が行われる。   Therefore, in order to overcome such drawbacks of analog transmission, a method of transmitting a moving image as a digital signal may be employed. This digital transmission requires a large data transfer rate (12 bits per pixel, image size 320 × 240, approximately 26 Mbps for 30 frames / second) when moving image data is transmitted uncompressed. Data transmission using a compression technique is performed.

この動画圧縮縮技術に関する従来技術としては、フレーム間圧縮、DCT(離散コサイン変換)、Wavelet変換などを用いた圧縮技術がある。   Conventional techniques relating to this moving picture compression / contraction technique include compression techniques using inter-frame compression, DCT (discrete cosine transform), Wavelet transform, and the like.

なお、本発明に関連する先行技術しては例えば特許文献1に記載のものがある。   In addition, as a prior art relevant to this invention, there exists a thing of patent document 1, for example.

特開昭61−144989号公報Japanese Patent Application Laid-Open No. 61-144989

しかし、フレーム間圧縮では、一連の複数フレームに渡って圧縮が行われるため、圧縮、復元に数フレーム分の時間が必要であり、カメラにより動画像が撮像されてから表示されるまでに時間がかかるという問題がある。特に、車載カメラで撮像した車両周辺の動画像を用いて車両周辺の監視を行う場合には、時々刻々と変化する車両周辺の動画像を車室内にて実時間で表示する必要があるため、撮像から表示までの過程で遅れが生じると好ましくない。   However, since inter-frame compression is performed over a series of frames, several frames are required for compression and decompression, and the time from when a moving image is captured by the camera to when it is displayed is displayed. There is a problem that it takes. In particular, when monitoring the surroundings of a vehicle using moving images captured by the on-board camera, it is necessary to display the moving images around the vehicle that change from moment to moment in real time in the vehicle interior. It is not preferable that a delay occurs in the process from imaging to display.

また、フレーム間圧縮では、前フレームの情報が通信等の問題で正しく伝送されなかった場合、その影響が後のフレームにまで及び画像の劣化等が生じた状態が長引く場合がある。   In the inter-frame compression, when the information of the previous frame is not correctly transmitted due to a communication problem or the like, the influence may be extended to the subsequent frame and the state in which the image is deteriorated may be prolonged.

また、DCTやWavelet変換では、複雑な演算処理や係数変換テーブルが必要であるため、ハードウェア規模が大きくなり、コストが高くなる。   In addition, since DCT and Wavelet conversion require complicated arithmetic processing and a coefficient conversion table, the hardware scale increases and the cost increases.

そこで、本発明の解決すべき課題は、簡単な演算処理で、処理による遅延を生じることなく高速に処理することができ、一のフレームで生じた情報の伝送異常等が後続のフレームに影響するのを防止できる動画圧縮装置、動画伝送システム及び動画圧縮方法を提供することである。   Therefore, the problem to be solved by the present invention is that it can be processed at high speed without causing a delay due to a simple arithmetic processing, and an abnormal transmission of information generated in one frame affects the subsequent frames. It is an object to provide a moving image compression apparatus, a moving image transmission system, and a moving image compression method that can prevent the above.

前記課題を解決するための手段は、輝度信号に対応したNYビットのYの数値と、輝度信号と赤色成分の差に対応したNUビットのUの数値と、輝度信号と青色成分の差に対応したNVビットのVの数値とを用いて表された動画像データを圧縮する動画圧縮装置であって、入力された前記動画像データの各フレーム中の各画素に対応するYの値について、下位のMYビット部分(但し、MYは0以上、NY未満の整数)を切り捨て又は四捨五入して残りの上位(NY−MY)ビット部分のみを残してYの処理値を作成する第1の処理部と、入力された前記動画像データの各フレーム中の各画素に対応するUの値について、下位のMUビット部分(但し、MUは1以上、NU未満の整数)を切り捨て又は四捨五入して残りの上位(NU−MU)ビット部分のみを残してUの処理値を作成する第2の処理部と、入力された前記動画像データの各フレーム中の各画素に対応するVの値について、下位のMVビット部分(但し、MVは1以上、NV未満の整数)を切り捨て又は四捨五入して残りの上位(NV−MV)ビット部分のみを残してVの処理値を作成する第3の処理部と、前記第1の処理部、前記第2の処理部及び前記第3の処理部によって作成された前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記動画像データを圧縮した圧縮データを構成する第4の処理部と、を備える。 Means for solving the above-described problems include N- Y bit Y value corresponding to the luminance signal, N- U U value corresponding to the difference between the luminance signal and the red component, and the difference between the luminance signal and the blue component. a moving picture compression apparatus for compressing moving picture data represented by using the value of V in the N V bit corresponding to the value of Y for each pixel in each frame of the input the moving image data has been For Y , the lower M Y bit part (where M Y is an integer greater than or equal to 0 and less than N Y ) is rounded down or rounded off, leaving only the remaining upper (N Y -M Y ) bit part and the processing value of Y a first processing unit that creates, for the value of U for each pixel in each frame of the input the moving image data, the lower M U bit portion (where, M U is 1 or more, less than N U the remaining upper and truncated or rounded to integer) (N U -M U) bit A second processing section for creating a processed value of U leaving minute only for values of V corresponding to each pixel in each frame of the input the moving image data, the lower M V bit portion (However, M V is 1 or more, and a third processing unit for creating a processed value of V leaving only remaining upper (N V -M V) bit portion is truncated or rounded to an integer) of less than N V, the first Compression that compresses the moving image data based on the Y processing value, the U processing value, and the V processing value created by one processing unit, the second processing unit, and the third processing unit And a fourth processing unit constituting data.

好ましくは、前記MU及び前記MVの値が、前記MYの値よりも大きく設定されているのがよい。 Preferably, the value of the M U and the M V is better to be set larger than the value of the M Y.

また、好ましくは、前記第4の処理部は、さらに、前記各フレーム中に予め設定した縦がMa画素、横がMb画素のサイズを有する各画素ブロックごとに、その画素ブロック中の全画素に対応する前記Yの処理値のうちから最小値又は最大値を抽出し、その各画素ブロック中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応する前記Yの処理値の代わりに、前記最小値又は前記最大値に対する前記Yの処理値の差分値と、前記最小値又は前記最大値とに基づいて前記圧縮データを構成するのがよい。   Preferably, the fourth processing unit further applies, to each pixel block in the pixel block, each pixel block having a size of Ma pixels in the vertical direction and Mb pixels in the horizontal direction set in advance in each frame. A minimum value or a maximum value is extracted from the corresponding Y processing values, and for at least some of the pixels in each pixel block, instead of the Y processing values corresponding to the at least some pixels In addition, the compressed data may be configured based on a difference value of the Y processing value with respect to the minimum value or the maximum value and the minimum value or the maximum value.

また、好ましくは、前記第4の処理部は、さらに、前記各画素ブロック中の各画素のY成分について、前記差分値又は前記処理値自体のいずれを前記圧縮データの構成に用いるかを、前記差分値が各画素について予め設定した差分値用ビット数に基づいて決定するのがよい。   Preferably, the fourth processing unit further uses the difference value or the processing value itself for the configuration of the compressed data for the Y component of each pixel in each pixel block. The difference value may be determined based on the number of bits for difference value set in advance for each pixel.

また、好ましくは、前記第4の処理部は、さらに、前記圧縮データの構成に前記最小値又は前記最大値のいずれを用いるかを、前記最小値又は前記最大値のいずれを採用すれば前記各画素ブロック中の前記各画素に対応する前記差分値について前記差分値用ビット数に適応する前記差分値の数がより多くなるかに基づいて、前記各画素ブロックごとに決定するのがよい。   Preferably, the fourth processing unit further uses either the minimum value or the maximum value for the configuration of the compressed data, and if the minimum value or the maximum value is adopted, The difference value corresponding to each pixel in the pixel block may be determined for each pixel block based on whether the number of the difference values adapted to the number of bits for difference value is larger.

また、好ましくは、前記第2の処理部及び前記第3の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で前記Uの処理値及び前記Vの処理値を作成し、前記第4の処理部は、前記第2の処理部及び第3の処理部によって前記Uの処理値及び前記Vの処理値が作成されたフレームについては、前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記圧縮データを構成し、前記第1の処理部によって前記Uの処理値及び前記Vの処理値が作成されないフレームについては、前記Uの処理値及び前記Vの処理値を用いないで前記圧縮データを構成するのがよい。   Preferably, the second processing unit and the third processing unit are configured to process the U processing value and the V processing value at a rate of one frame out of every two frames constituting the moving image. The fourth processing unit is configured to process the Y processing value for the frame in which the U processing value and the V processing value are generated by the second processing unit and the third processing unit, For the frame that forms the compressed data based on the U processing value and the V processing value, and the U processing value and the V processing value are not created by the first processing unit, the U processing The compressed data may be configured without using the value and the processing value of V.

また、好ましくは、前記第2の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で前記Uの処理値を作成し、前記第3の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で、前記第2の処理部と交互に動作して前記第2の処理部が前記Uの処理値を作成しないフレームについて前記Vの処理値を作成し、前記第4の処理部は、前記第2の処理部によって前記Uの処理値が作成されたフレームについては、前記Vの処理値以外の前記Yの処理値及び前記Uの処理値を用いて前記圧縮データを構成し、前記第3の処理部によって前記Vの処理値が作成されたフレームについては、前記Uの処理値以外の前記Yの処理値及び前記Vの処理値を用いて前記圧縮データを構成するのがよい。   Preferably, the second processing unit creates the U processing value at a rate of one frame out of every two frames constituting the moving image, and the third processing unit Of the frames constituting the moving image, V is used for a frame in which the second processing unit does not create the U processing value by alternately operating with the second processing unit at a rate of one frame per two frames. The fourth processing unit generates the Y processing value other than the V processing value and the U for the frame in which the U processing value is generated by the second processing unit. For the frame in which the compressed data is configured using the processing value of V and the processing value of V is generated by the third processing unit, the processing value of Y and the processing of V other than the processing value of U Configure the compressed data using values Good.

また、好ましくは、前記第4の処理部によって構成された前記圧縮データを所定の伝送経路を介して送信する第5の処理部をさらに備えるのがよい。   Preferably, a fifth processing unit that transmits the compressed data configured by the fourth processing unit via a predetermined transmission path is further provided.

また、前記課題を解決するための手段は、車両用の動画伝送システムであって、請求項7に記載の前記動画圧縮装置と、前記動画圧縮装置によって送信された前記圧縮データを前記伝送経路を介して受信し、受信した前記圧縮データに基づいて動画像データを再構成する画像伸張装置と、を備える。   The means for solving the problem is a moving picture transmission system for a vehicle, wherein the moving picture compression apparatus according to claim 7 and the compressed data transmitted by the moving picture compression apparatus are transmitted through the transmission path. And an image expansion device that reconstructs moving image data based on the received compressed data.

また、前記課題を解決するための手段は、輝度信号に対応したNYビットのYの数値と、輝度信号と赤色成分の差に対応したNUビットのUの数値と、輝度信号と青色成分の差に対応したNVビットのVの数値とを用いて表された動画像データを圧縮する動画圧縮方法であって、入力された前記動画像データの各フレーム中の各画素に対応するYの値について、下位のMYビット部分(但し、MYは0以上、NY未満の整数)を切り捨て又は四捨五入して残りの上位(NY−MY)ビット部分のみを残してYの処理値を作成する第1の処理工程と、入力された前記動画像データの各フレーム中の各画素に対応するUの値について、下位のMUビット部分(但し、MUは1以上、NU未満の整数)を切り捨て又は四捨五入して残りの上位(NU−MU)ビット部分のみを残してUの処理値を作成する第2の処理工程と、入力された前記動画像データの各フレーム中の各画素に対応するVの値について、下位のMVビット部分(但し、MVは1以上、NV未満の整数)を切り捨て又は四捨五入して残りの上位(NV−MV)ビット部分のみを残してVの処理値を作成する第3の処理工程と、前記第1の処理工程、前記第2の処理工程及び前記第3の処理工程によって作成された前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記動画像データを圧縮した圧縮データを構成する第4の処理工程と、を備える。 Further, means for solving the above-mentioned problems include N Y bit Y value corresponding to the luminance signal, N U bit U value corresponding to the difference between the luminance signal and the red component, the luminance signal and the blue component. A moving image compression method for compressing moving image data expressed using a numerical value of V of N V bits corresponding to the difference between Y and Y corresponding to each pixel in each frame of the input moving image data For the value of Y , the lower M Y bit part (where M Y is an integer greater than or equal to 0 and less than N Y ) is rounded down or rounded off, leaving only the remaining upper (N Y -M Y ) bit part and processing of Y a first processing step of generating a value for the value of U for each pixel in each frame of the input the moving image data, the lower M U bit portion (where, M U is 1 or more, N U the remaining upper and truncation or rounding the integer) of less than (N U -M U A second processing step and the input value of V corresponding to each pixel in each frame of the moving image data to create a processed value of U, leaving only the bit portions, the lower M V bit portion (where , M V is an integer less than or equal to 1 and less than N V ), and rounds off or rounds off, leaving only the remaining high-order (N V −M V ) bit part to create a V processing value, The moving image data is compressed based on the Y processing value, the U processing value, and the V processing value created in the first processing step, the second processing step, and the third processing step. And a fourth processing step that constitutes the compressed data.

また、好ましくは、前記MU及び前記MVの値が、前記MYの値よりも大きく設定されているのがよい。 Also, preferably, the value of the M U and the M V is better to be set larger than the value of the M Y.

また、好ましくは、前記第4の処理工程では、さらに、前記各フレーム中に予め設定した縦がMa画素、横がMb画素のサイズを有する各画素ブロックごとに、その画素ブロック中の全画素に対応する前記Yの処理値のうちから最小値又は最大値を抽出し、その各画素ブロック中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応する前記Yの処理値の代わりに、前記最小値又は前記最大値に対する前記Yの処理値の差分値と、前記最小値又は前記最大値とに基づいて前記圧縮データを構成するのがよい。   Preferably, in the fourth processing step, for each pixel block having a size of Ma pixels in the vertical direction and Mb pixels in the horizontal direction set in advance in each frame, all pixels in the pixel block are set. A minimum value or a maximum value is extracted from the corresponding Y processing values, and for at least some of the pixels in each pixel block, instead of the Y processing values corresponding to the at least some pixels In addition, the compressed data may be configured based on a difference value of the Y processing value with respect to the minimum value or the maximum value and the minimum value or the maximum value.

また、好ましくは、前記第4の処理工程では、さらに、前記各画素ブロック中の各画素のY成分について、前記差分値又は前記処理値自体のいずれを前記圧縮データの構成に用いるかを、前記差分値が各画素について予め設定した差分値用ビット数に基づいて決定するのがよい。   Preferably, in the fourth processing step, for the Y component of each pixel in each pixel block, whether the difference value or the processing value itself is used for the configuration of the compressed data, The difference value may be determined based on the number of bits for difference value set in advance for each pixel.

また、好ましくは、前記第4の処理工程では、さらに、前記圧縮データの構成に前記最小値又は前記最大値のいずれを用いるかを、前記最小値又は前記最大値のいずれを採用すれば前記各画素ブロック中の前記各画素に対応する前記差分値について前記差分値用ビット数に適応する前記差分値の数がより多くなるかに基づいて、前記各画素ブロックごとに決定するのがよい。   Preferably, in the fourth processing step, whether the minimum value or the maximum value is used for the configuration of the compressed data, and if the minimum value or the maximum value is used, The difference value corresponding to each pixel in the pixel block may be determined for each pixel block based on whether the number of the difference values adapted to the number of bits for difference value is larger.

請求項1及び10に記載の発明によれば、Y、U、Vの値を下位ビットを切り捨てる又は四捨五入するという簡単な処理により(Yの値はそのまま残す場合もある)、しかも各フレームごとに独立して圧縮を行うため、圧縮処理による動画像の遅延(例えば、撮像から表示までの過程で圧縮処理等により生じる遅延)を生じることなく高速に処理することができる。これによって、例えば車載カメラが撮像した車両周辺の動画像を圧縮処理して伝送する場合にも、動画像を車室内で実時間で表示することができる。   According to the invention described in claims 1 and 10, the Y, U, and V values are simply processed by rounding down or rounding off the lower bits (the Y value may be left as it is), and for each frame. Since compression is performed independently, it is possible to perform high-speed processing without causing a delay of moving images due to the compression processing (for example, a delay caused by compression processing or the like in the process from imaging to display). Thus, for example, even when a moving image around the vehicle captured by the in-vehicle camera is compressed and transmitted, the moving image can be displayed in the vehicle interior in real time.

また、各フレームごとに独立して圧縮処理を行うため、いずれかのフレームの情報が通信等の問題で正しく伝送されなかった場合にも、そのフレームで生じた情報の伝送異常等が後続のフレームに影響して画像の劣化等が生じた状態が長引く等の問題を回避することができる。   In addition, since compression processing is performed independently for each frame, even if the information of one of the frames is not transmitted correctly due to a problem such as communication, the transmission abnormality of the information that occurred in that frame will be It is possible to avoid problems such as a prolonged state in which image degradation or the like has occurred due to the influence on the image quality.

請求項2及び11に記載の発明によれば、Y成分に比して画像品質に対する影響の小さいU、V成分のビット数削除の桁数をY成分よりも大きくすることにより、画質の劣化を抑制しつつ圧縮率を上げることができる。   According to the second and eleventh aspects of the present invention, the number of digits for deleting the number of bits of the U and V components, which has less influence on the image quality than the Y component, is made larger than that of the Y component, thereby degrading the image quality. The compression rate can be increased while suppressing.

請求項3及び12に記載の発明によれば、各フレームの各画素ブロック中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応するYの処理値の代わりに、その画素ブロック中のYの処理値の最小値又は最大値に対するYの処理値の差分値と、最小値又は最大値とに基づいて圧縮データを構成するため、差分値を適用する画素を有効に選択することにより、圧縮率を向上させることができる。   According to the invention described in claims 3 and 12, for at least some of the pixels in each pixel block of each frame, instead of the processing value of Y corresponding to at least some of the pixels, the pixel block Since the compressed data is configured based on the difference value of the Y processing value with respect to the minimum value or the maximum value of the Y processing value in the middle, and the minimum value or the maximum value, the pixel to which the difference value is applied is effectively selected. Thus, the compression rate can be improved.

請求項4及び13に記載の発明によれば、画素ブロック中の各画素のY成分について差分値を適用するか否かを容易かつ的確に決定することができる。   According to the fourth and thirteenth aspects of the present invention, it is possible to easily and accurately determine whether or not to apply a difference value to the Y component of each pixel in the pixel block.

請求項5及び14に記載の発明によれば、各画素ブロックにおいて圧縮データの構成にYの処理値の最小値又は最大値のいずれを用いるかを容易かつ的確に決定することができる。   According to the fifth and fourteenth aspects of the present invention, it is possible to easily and accurately determine which of the minimum value or the maximum value of the Y processing values is used for the configuration of the compressed data in each pixel block.

請求項6に記載の発明によれば、2フレームに1フレームの割合でUの処理値及びVの処理値を省略して圧縮データを構成するため、圧縮後のU成分及びV成分のデータ量をさらに削減することができる。   According to the sixth aspect of the present invention, the compressed data is formed by omitting the U processing value and the V processing value at a rate of one frame per two frames. Can be further reduced.

請求項7に記載の発明によれば、2フレームに1フレームの割合でUの処理値及びVの処理値を省略して圧縮データを構成するため、圧縮後のU成分及びV成分のデータ量をさらに削減することができる。   According to the seventh aspect of the present invention, the compressed data is formed by omitting the U processing value and the V processing value at a rate of one frame per two frames. Can be further reduced.

また、圧縮後の各フレームのデータ長が平均化されるため、送受信用のバッファのサイズを容易に最適化することができる。   In addition, since the data length of each frame after compression is averaged, the size of the transmission / reception buffer can be easily optimized.

請求項8に記載の発明によれば、動画像データを圧縮して得られた圧縮データを伝送経路を介して所定の送信先に送信することができる。   According to the eighth aspect of the present invention, compressed data obtained by compressing moving image data can be transmitted to a predetermined destination via a transmission path.

請求項9に記載の発明によれば、圧縮処理による動画像の遅延(例えば、撮像から表示までの過程で圧縮処理等により生じる遅延)を生じることなく高速に圧縮処理して伝送することができる。   According to the ninth aspect of the present invention, it is possible to perform high-speed compression processing and transmission without causing a delay of the moving image due to the compression processing (for example, a delay caused by the compression processing in the process from imaging to display). .

<第1実施形態>
図1は、本発明の第1実施形態に係る動画伝送システムが適用された車両周辺監視装置のブロック図である。車両周辺監視装置は、図1に示すように、カメラユニット1と、制御装置3と、表示装置5とを備えている。カメラユニット1は、車両に設置され、車両周辺の死角領域を撮像する。表示装置5は、車室内に設置され、カメラユニット1によって撮像された周辺画像等を表示する。制御装置3は、カメラユニット1及び表示装置5を制御するものであり、カメラユニット1が撮像した画像等を表示装置5に表示させる。制御装置3は、カメラユニット1と離れた車両内の場所(例えば、車室内における表示装置5の周辺)に設置されるため、カメラユニット1の動画像データを圧縮してケーブル(伝送経路)7を介して制御装置3に伝送している。
<First Embodiment>
FIG. 1 is a block diagram of a vehicle periphery monitoring device to which a moving image transmission system according to a first embodiment of the present invention is applied. As shown in FIG. 1, the vehicle periphery monitoring device includes a camera unit 1, a control device 3, and a display device 5. The camera unit 1 is installed in a vehicle and images a blind spot area around the vehicle. The display device 5 is installed in the passenger compartment and displays a peripheral image taken by the camera unit 1. The control device 3 controls the camera unit 1 and the display device 5 and causes the display device 5 to display an image captured by the camera unit 1. Since the control device 3 is installed at a location in the vehicle that is distant from the camera unit 1 (for example, around the display device 5 in the vehicle interior), the control unit 3 compresses the moving image data of the camera unit 1 and converts the cable (transmission path) 7 Is transmitted to the control device 3 via

カメラユニット1は、撮像を行う撮像部11と、動画像データ等の伝送処理を行う伝送処理部13とを備えている。制御装置3は、動画像データ等の伝送処理を行う伝送処理部15と、表示装置5の表示内容の制御を含むこの車両周辺監視装置全体の制御を行う制御部17とを備えている。このうち、カメラユニット1の伝送処理部13が本発明に係る動画圧縮装置に相当しており、制御装置3の伝送処理部15が本発明に係る画像伸張装置に相当しており、これらの両伝送処理部13,15が本発明に係る動画伝送システムに相当している。   The camera unit 1 includes an imaging unit 11 that performs imaging, and a transmission processing unit 13 that performs transmission processing of moving image data and the like. The control device 3 includes a transmission processing unit 15 that performs transmission processing of moving image data and the like, and a control unit 17 that controls the entire vehicle periphery monitoring device including control of display contents of the display device 5. Among these, the transmission processing unit 13 of the camera unit 1 corresponds to the moving picture compression device according to the present invention, and the transmission processing unit 15 of the control device 3 corresponds to the image expansion device according to the present invention. The transmission processing units 13 and 15 correspond to the moving image transmission system according to the present invention.

カメラユニット1の伝送処理部13は、図2に示すように、前処理部21と、メモリ23と、CPU等で構成される演算処理部25と、通信部27とを備えている。演算処理部25の機能要素としては、Y処理部(第1の処理部)31と、U処理部(第2の処理部)33と、V処理部(第3の処理部)35と、伝送データ構成部(第4の処理部)37とを備えている。通信部27は本発明に係る第5の処理部に相当している。   As shown in FIG. 2, the transmission processing unit 13 of the camera unit 1 includes a preprocessing unit 21, a memory 23, an arithmetic processing unit 25 including a CPU and the like, and a communication unit 27. As functional elements of the arithmetic processing unit 25, a Y processing unit (first processing unit) 31, a U processing unit (second processing unit) 33, a V processing unit (third processing unit) 35, and transmission And a data configuration unit (fourth processing unit) 37. The communication unit 27 corresponds to a fifth processing unit according to the present invention.

カメラユニット1の撮像部11は、図示しないレンズ系及びCCD等の撮像素子等を備えて構成され、撮像した車両周辺の画像信号を伝送処理部13に送る。   The imaging unit 11 of the camera unit 1 is configured to include a lens system (not shown) and an imaging element such as a CCD, and sends an image signal around the captured vehicle to the transmission processing unit 13.

伝送処理部13の前処理部21は、撮像部11から送られてくる画像信号に対し、圧縮処理前に必要な各種の前処理を行う。前処理としては、例えば、画像信号がアナログ信号である場合におけるデジタル信号への変換処理や、画像信号の形式がYUV形式でない場合におけるYUV形式への変換処理等が含まれる。   The preprocessing unit 21 of the transmission processing unit 13 performs various kinds of preprocessing necessary for the image signal sent from the imaging unit 11 before compression processing. The preprocessing includes, for example, conversion processing to a digital signal when the image signal is an analog signal, conversion processing to a YUV format when the format of the image signal is not YUV format, and the like.

メモリ23は、前処理部21から送り出された動画像データを少なくとも1フレーム分だけ順次記憶するフレームメモリとして機能する。メモリ23の記録内容は、新たなフレームが入力されるのに伴って順次更新される。   The memory 23 functions as a frame memory that sequentially stores moving image data sent from the preprocessing unit 21 for at least one frame. The recorded contents of the memory 23 are sequentially updated as new frames are input.

演算処理部25による画像圧縮処理について説明する前に、本実施形態で前提としている動画像データの形式等について説明する。本実施形態に係る技術は、輝度信号に対応したNYビットのYの数値と、輝度信号と赤色成分の差に対応したNUビットのUの数値と、輝度信号と青色成分の差に対応したNVビットのVの数値とを用いて表された動画像データを圧縮するものである。なお、NY、NU、NVの値は必ずしも同一でなくともよい。 Before describing the image compression processing by the arithmetic processing unit 25, the format of moving image data assumed in the present embodiment will be described. The technique according to this embodiment corresponds to the numerical value Y of N Y bits corresponding to the luminance signal, the numerical value U of N U bits corresponding to the difference between the luminance signal and the red component, and the difference between the luminance signal and the blue component. it is intended to compress the moving picture data represented by using a value of N V bit V,. Note that the values of N Y , N U , and N V are not necessarily the same.

より具体的には、画像サイズはQVGA(320×240pixel)を想定しており、圧縮する画像の色空間はYUV420形式を想定しており、コンポーネント当たりのビット数はY、U、Vのいずれも8ビットを想定しており(すなわち、NY,NU,NV=8)、従って、1画素当たりのビット数は、図3に示すように、
8(Y)+8/4(U)+8/4(V)=12ビット
となっている。なお、本実施形態では、伝送する動画像データの形式がYUV420形式である場合について説明するが、本実施形態に係る圧縮技術はYUV411等の他のYUV形式にも適用することができ、画像サイズもQVGAに限定されるものではない。
More specifically, the image size is assumed to be QVGA (320 × 240 pixels), the color space of the image to be compressed is assumed to be the YUV420 format, and the number of bits per component is any of Y, U, and V. 8 bits are assumed (ie, N Y , N U , N V = 8), so the number of bits per pixel is as shown in FIG.
8 (Y) +8/4 (U) +8/4 (V) = 12 bits. In this embodiment, the case where the format of moving image data to be transmitted is the YUV420 format will be described. However, the compression technique according to this embodiment can be applied to other YUV formats such as YUV411, and the image size Is not limited to QVGA.

また、本実施形態では、図4に示すように、各フレーム中に予め設定された縦がMa画素、横がMb画素のサイズ(図4の例では、4×4のサイズ)を有する各マクロブロック(画素ブロック)MBaを1単位として動画像データに対する圧縮処理及び伝送処理が行われるようになっている。なお、このマクロブロックMBaのサイズについては、大きくし過ぎると、後述するY成分の各処理値の基準値(最大値又は最小値)に対する差分が大きくなるため、適切な大きさに設定する必要がある。また、例えば、マクロブロックMBaの場合、そのサイズが4×4であるため、1ラインにつき80ブロックが設定されることとなる。   Further, in the present embodiment, as shown in FIG. 4, each macro having a size of Ma pixels in the vertical direction and Mb pixels in the horizontal direction (4 × 4 size in the example of FIG. 4) set in advance in each frame. A compression process and a transmission process for moving image data are performed with a block (pixel block) MBa as one unit. Note that if the size of the macroblock MBa is excessively large, a difference with respect to a reference value (maximum value or minimum value) of each processing value of a Y component to be described later becomes large. Therefore, it is necessary to set the macroblock MBa to an appropriate size. is there. For example, in the case of the macro block MBa, since the size is 4 × 4, 80 blocks are set per line.

演算処理部25のY処理部31は、メモリ23を介して与えられる動画像データの各フレーム中の各画素に対応するYの値について、下位(8−N)ビット(なお、Nは6、7又は8の数)を切り捨て又は四捨五入して(ここでは、切り捨て)、上位Nビット分のみを残してYの処理値を順次作成して、伝送データ構成部37に送り出す。   The Y processing unit 31 of the arithmetic processing unit 25 uses the lower (8-N) bits (N is 6, N) for the Y value corresponding to each pixel in each frame of the moving image data given via the memory 23. The number of 7 or 8) is rounded down or rounded off (in this case, rounded down), and the processing value of Y is sequentially created leaving only the upper N bits, and sent to the transmission data configuration unit 37.

U処理部33は、メモリ23を介して与えられる動画像データの各フレーム中の各画素に対応するUの値について、下位1、2又は3ビット(ここでは、3ビット)を切り捨て又は四捨五入して(ここでは、切り捨て)、上位5、6又は7ビット分(ここでは、上位5ビット分)のみを残してUの処理値を順次作成して、伝送データ構成部37に送り出す。   The U processing unit 33 rounds down or rounds the lower 1, 2, or 3 bits (here, 3 bits) of the U value corresponding to each pixel in each frame of the moving image data given via the memory 23. (Truncated here), the U processing values are sequentially created, leaving only the upper 5, 6 or 7 bits (here, the upper 5 bits), and sent to the transmission data configuration unit 37.

V処理部35は、メモリ23を介して与えられる動画像データの各フレーム中の各画素に対応するVの値について、下位1、2又は3ビット(ここでは、3ビット)を切り捨て又は四捨五入して(ここでは、切り捨て)、上位5、6又は7ビット分(ここでは、上位5ビット分)のみを残してVの処理値を順次作成して、伝送データ構成部37に送り出す。   The V processing unit 35 rounds down or rounds the lower 1, 2, or 3 bits (here, 3 bits) of the V value corresponding to each pixel in each frame of the moving image data given via the memory 23. (Here, rounded down), the V processing values are sequentially created, leaving only the upper 5, 6 or 7 bits (here, the upper 5 bits), and sent to the transmission data configuration unit 37.

伝送データ構成部37は、各処理部31,33,35によって作成されたY、U、Vの処理値に基づいて動画像データを圧縮した圧縮データを構成し、通信部27に与える。   The transmission data configuration unit 37 configures compressed data obtained by compressing moving image data based on the Y, U, and V processing values created by the processing units 31, 33, and 35, and supplies the compressed data to the communication unit 27.

通信部27は、伝送データ構成部37から与えられた圧縮データをケーブル7を介して制御装置3の伝送処理部15に伝送する。通信部27と伝送処理部15との間のデータ伝送は、例えば図1のようなケーブル接続による有線通信、あるいは無線通信によって行われる。   The communication unit 27 transmits the compressed data given from the transmission data configuration unit 37 to the transmission processing unit 15 of the control device 3 via the cable 7. Data transmission between the communication unit 27 and the transmission processing unit 15 is performed by, for example, wired communication by cable connection as shown in FIG. 1 or wireless communication.

次に、本実施形態における動画像データの圧縮処理の具体例について説明する。この具体例では、図4に示すように、動画像データの各フレームに4×4のマクロブロックMBaが設定され、このマクロブロックMBaを1単位として圧縮処理及び伝送処理が行われる。図4では、Y、U、Vに付された添え字によって、そのY、U、Vの値がマクロブロックMBa中のいずれの画素に対応しているかを識別するようになっている。例えば、Yに付された2つ添え字(0〜3,0〜3)は、マクロブロックMBa中の画素の識別番号に対応しており、U、Vに付された添え字(0〜3)は、マクロブロックMBa中の各画素群(4画素で1組の群をなしている)の識別番号に対応している。   Next, a specific example of moving image data compression processing in the present embodiment will be described. In this specific example, as shown in FIG. 4, a 4 × 4 macro block MBa is set in each frame of moving image data, and compression processing and transmission processing are performed with this macro block MBa as one unit. In FIG. 4, the subscripts attached to Y, U, and V identify which pixel in the macroblock MBa the Y, U, and V values correspond to. For example, two subscripts (0 to 3, 0 to 3) attached to Y correspond to the identification numbers of the pixels in the macroblock MBa, and subscripts (0 to 3) attached to U and V. ) Corresponds to the identification number of each pixel group in the macroblock MBa (four pixels form one set).

そして、この具体例では、図5に示すように、Y処理部31によって、各Yの値について下位2ビットが切り捨てられて上位6ビットがYの処理値として残される。また、U処理部33及びV処理部35によって、各U、Vの値について下位3ビットが切り捨てられて上位5ビットがU、Vの処理値として残される。こうして作成されたY、U、Vの各処理値に基づいて、伝送データ構成部37によって図6に示すような形式で圧縮データが構成され、その圧縮データが通信部27によって制御装置3に伝送される。   In this specific example, as shown in FIG. 5, the Y processing unit 31 truncates the lower 2 bits for each Y value and leaves the upper 6 bits as the Y processed value. Further, the U processing unit 33 and the V processing unit 35 round down the lower 3 bits for each U and V value, and leave the upper 5 bits as the U and V processing values. Based on the Y, U, and V processing values thus created, the transmission data construction unit 37 composes compressed data in the format shown in FIG. 6, and the compressed data is transmitted to the control device 3 by the communication unit 27. Is done.

図6の圧縮データについて簡単に説明する。各フレームFの各マクロブロックMBaは、1ラインごとに1番から60番のブロックラインBLとしてまとめられている(1ブロックラインBLが1パケットを構成している)。各ブロックラインBL中には、ヘッダBLH、及びブロックライン番号を示す示す6ビットのライン番号データBLNに続いて、そのブロックラインBL中に含まれる1番から80番までのマクロブロックMBaのデータ(各マクロブロックMBaごとに144ビットが割り当てられている)が含まれている。   The compressed data in FIG. 6 will be briefly described. Each macro block MBa of each frame F is grouped as a 1st to 60th block line BL for each line (one block line BL constitutes one packet). In each block line BL, the header BLH and the 6-bit line number data BLN indicating the block line number are followed by the data (1 to 80) of macroblocks MBa included in the block line BL ( 144 bits are assigned to each macro block MBa).

各マクロブロックMBaのデータには、そのマクロブロックMBaの番号を示す8ビット分のブロック番号データMBNに続いて、そのマクロブロックMBa中の各画素に対応するY、U、Vの処理値が図6の記載の順序で含まれている。   In the data of each macro block MBa, the processing values of Y, U, and V corresponding to each pixel in the macro block MBa are shown following the 8-bit block number data MBN indicating the number of the macro block MBa. 6 in the order of description.

制御装置3の伝送処理部15は、ケーブル7を介してカメラユニット1から順次送られてくる圧縮データを受信し、その圧縮データを伸張処理して動画像データを再構成し、制御部17に与える。より詳細には、各フレームFに含まれる各マクロブロックMBaの各画素に対応する各Y、U、Vの処理値に対し、切り捨てられている下位ビットにゼロ値を順次割り当ててゆき、切り捨てられた下位ビットを復活させることにより伸張処理が行われる。例えば、Yの処理値に対しては00の2桁の下位ビットが付与され、U、Vの処理値に対しては000の3桁の下位ビットが付与される。   The transmission processing unit 15 of the control device 3 receives the compressed data sequentially sent from the camera unit 1 via the cable 7, decompresses the compressed data, reconstructs the moving image data, and sends it to the control unit 17. give. More specifically, for each Y, U, V processing value corresponding to each pixel of each macroblock MBa included in each frame F, a zero value is sequentially assigned to the lower bits that are rounded down, and rounded down. The decompression process is performed by restoring the lower bits. For example, a 2-digit low-order bit of 00 is assigned to the Y processed value, and a 3-digit low-order bit of 000 is assigned to the U and V processed values.

制御部17は、伝送処理部15から与えられた動画像データに基づいて、その動画像データに対応する画像を表示装置5に表示させる。   The control unit 17 causes the display device 5 to display an image corresponding to the moving image data based on the moving image data given from the transmission processing unit 15.

以上のように、本実施形態によれば、Y、U、Vの値を下位ビットを切り捨てる又は四捨五入するという簡単な処理により、しかも各フレームごとに独立して圧縮を行うため、圧縮処理による動画像の遅延(例えば、撮像から表示までの過程で圧縮処理等により生じる遅延)を生じることなく高速に処理(圧縮、伝送、伸張)することができる。これによって、撮像部11が撮像した車両周辺の動画像を車室内で実時間で表示することができる。   As described above, according to the present embodiment, the Y, U, and V values are compressed by a simple process of rounding down or rounding down the lower bits and independently for each frame. Processing (compression, transmission, decompression) can be performed at high speed without causing image delay (for example, delay caused by compression processing or the like in the process from imaging to display). Thereby, the moving image around the vehicle imaged by the imaging unit 11 can be displayed in the vehicle interior in real time.

また、各フレームごとに独立して圧縮処理を行うため、いずれかのフレームの情報が通信等の問題で正しく伝送されなかった場合にも、そのフレームで生じた情報の伝送異常等が後続のフレームに影響して画像の劣化等が生じた状態が長引く等の問題を回避することができる。   In addition, since compression processing is performed independently for each frame, even if the information of one of the frames is not transmitted correctly due to a problem such as communication, the transmission abnormality of the information that occurred in that frame will be It is possible to avoid problems such as a prolonged state in which image degradation or the like has occurred due to the influence on the image quality.

また、Y成分に比して画像品質に対する影響の小さいU、V成分のビット数削除の桁数をY成分よりも大きくすることにより、画質の劣化を抑制しつつ圧縮率を上げることができる。   Also, by increasing the number of bits for deleting the number of bits of U and V components, which has less influence on the image quality than the Y component, than the Y component, it is possible to increase the compression rate while suppressing image quality deterioration.

<第2実施形態>
本発明の第2実施形態に係る動画伝送システムについて以下に説明する。本実施形態に係る動画伝送システムが上述の第1実施形態に係る動画伝送システムと実質的に異なる点は、画像圧縮の形式が異なる点のみであり、ハードウェア構成は前述の図1及び図2の構成と同一である。
Second Embodiment
A video transmission system according to the second embodiment of the present invention will be described below. The video transmission system according to the present embodiment is substantially different from the video transmission system according to the first embodiment described above only in the image compression format, and the hardware configuration is the above-described FIG. 1 and FIG. The configuration is the same.

本実施形態では、図7に示すように、8×8のマクロブロックMBbが設定されている。図7におけるYに付された2つ添え字(0〜15,0〜3)は、マクロブロックMBb中の画素の識別番号に対応しており、U、Vに付された添え字(0〜15)は、マクロブロックMBb中の各画素群の識別番号に対応している。   In this embodiment, as shown in FIG. 7, an 8 × 8 macroblock MBb is set. The two subscripts (0 to 15, 0 to 3) attached to Y in FIG. 7 correspond to the identification numbers of the pixels in the macroblock MBb, and the subscripts (0 to 0) attached to U and V. 15) corresponds to the identification number of each pixel group in the macroblock MBb.

このマクロブロックMBbのサイズが異なる点以外は、第1実施形態の処理内容と実質的に同一であり、Y処理部31によって、各Yの値について下位2ビットが切り捨てられて上位6ビットがYの処理値として残され、U処理部33及びV処理部35によって、各U、Vの値について下位3ビットが切り捨てられて上位5ビットがU、Vの処理値として残される。こうして作成されたY、U、Vの各処理値に基づいて、伝送データ構成部37により図8に示すような形式で圧縮データが構成され、その圧縮データが通信部27により制御装置3に伝送される。   Except for the difference in the size of the macroblock MBb, the processing contents are substantially the same as in the first embodiment. The Y processing unit 31 cuts off the lower 2 bits for each Y value, and converts the upper 6 bits to Y. The U processing unit 33 and the V processing unit 35 discard the lower 3 bits of each U and V value and leave the upper 5 bits as the U and V processing values. Based on the Y, U, and V processing values created in this way, the compressed data is constructed in the format shown in FIG. 8 by the transmission data construction unit 37, and the compressed data is transmitted to the control device 3 by the communication unit 27. Is done.

図8の圧縮データについて簡単に説明する。各フレームFの各マクロブロックMBbは、1ラインごとに1番から30番のブロックラインBLとしてまとめられている。各ブロックラインBL中には、ヘッダBLH、及び5ビットのライン番号データBLNに続いて、そのブロックラインBL中に含まれる1番から40番までのマクロブロックMBbのデータ(各マクロブロックMBbごとに550ビットが割り当てられている)が含まれている。   The compressed data in FIG. 8 will be briefly described. Each macroblock MBb of each frame F is grouped as the 1st to 30th block lines BL for each line. In each block line BL, following the header BLH and the 5-bit line number data BLN, the data of the macro blocks MBb from No. 1 to No. 40 included in the block line BL (for each macro block MBb) 550 bits are allocated).

各マクロブロックMBbのデータには、そのマクロブロックMBbの番号を示す6ビット分のブロック番号データMBNに続いて、そのマクロブロックMBb中の各画素に対応するY、U、Vの処理値が図8の記載の順序で含まれている。   In the data of each macro block MBb, the processing values of Y, U, and V corresponding to each pixel in the macro block MBb are shown following the block number data MBN for 6 bits indicating the number of the macro block MBb. 8 are included in the order of description.

そして、制御装置3の伝送処理部15が、ケーブル7を介してカメラユニット1から順次送られてくる圧縮データを受信し、第1実施形態の場合とほぼ同様にしてその圧縮データを伸張処理して動画像データを再構成し、制御部17に与え、制御部17がその動画像データに対応した画像を表示装置5に表示させる。   Then, the transmission processing unit 15 of the control device 3 receives the compressed data sequentially sent from the camera unit 1 via the cable 7, and decompresses the compressed data in substantially the same manner as in the first embodiment. Then, the moving image data is reconstructed and given to the control unit 17, and the control unit 17 causes the display device 5 to display an image corresponding to the moving image data.

これによって、本実施形態においても、上述の第1実施形態とほぼ同様な効果が得られる。   Thereby, also in this embodiment, the effect substantially the same as the above-mentioned 1st Embodiment is acquired.

<第3実施形態>
本発明の第3実施形態に係る動画伝送システムについて以下に説明する。本実施形態に係る動画伝送システムが上述の第1実施形態に係る動画伝送システムと実質的に異なる点は、画像圧縮の形式が異なる点のみであり、ハードウェア構成は前述の図1及び図2の構成と同一である。
<Third Embodiment>
A video transmission system according to the third embodiment of the present invention will be described below. The video transmission system according to the present embodiment is substantially different from the video transmission system according to the first embodiment described above only in the image compression format, and the hardware configuration is the above-described FIG. 1 and FIG. The configuration is the same.

本実施形態では、図9に示すように、4×4のマクロブロックMBcが設定されている。図9におけるYに付された2つ添え字(0〜3,0〜3)は、マクロブロックMBc中の画素の行列番号に対応しており、U、Vに付された添え字(0〜3)は、マクロブロックMBc中の各画素群の識別番号に対応している。   In the present embodiment, as shown in FIG. 9, a 4 × 4 macro block MBc is set. The two subscripts (0 to 3, 0 to 3) attached to Y in FIG. 9 correspond to the matrix numbers of the pixels in the macroblock MBc, and the subscripts (0 to 0) attached to U and V. 3) corresponds to the identification number of each pixel group in the macroblock MBc.

そして、図10に示すように、演算処理部25のY処理部31は、メモリ23を介して与えられる動画像データの各フレーム中の各画素に対応するYの値について、下位(8−N)ビット(なお、Nは6、7又は8の数)を切り捨て又は四捨五入して(ここでは、切り捨て)、上位Nビット分のみを残してYの処理値を順次作成して、伝送データ構成部37に送り出す。U処理部33及びV処理部35は、メモリ23を介して与えられる動画像データの各フレーム中の各画素に対応するUの値及びVの値について、下位3ビットを切り捨て又は四捨五入して(ここでは、切り捨て)、上位5ビット分のみを残してUの処理値及びVの処理を順次作成して、伝送データ構成部37に送り出す。   Then, as shown in FIG. 10, the Y processing unit 31 of the arithmetic processing unit 25 subordinates the value of Y corresponding to each pixel in each frame of the moving image data given via the memory 23 (8−N ) Bits (where N is a number of 6, 7 or 8) are rounded down or rounded off (in this case, rounded down), and the processing value of Y is created in order, leaving only the upper N bits. To 37. The U processing unit 33 and the V processing unit 35 round down or round off the lower 3 bits of the U value and V value corresponding to each pixel in each frame of the moving image data given through the memory 23 ( In this case, the processing value of U and the processing of V are sequentially created while leaving only the upper 5 bits, and sent to the transmission data configuration unit 37.

伝送データ構成部37は、各処理部31,33,35によって作成されたY、U、Vの処理値に基づいて動画像データを圧縮した圧縮データ(例えば、図11参照)を構成し、通信部27に与える。通信部27はその圧縮データを制御装置3に伝送する。   The transmission data configuration unit 37 configures compressed data (see, for example, FIG. 11) obtained by compressing moving image data based on the Y, U, and V processing values created by the processing units 31, 33, and 35. Part 27 is given. The communication unit 27 transmits the compressed data to the control device 3.

本実施形態では、伝送データ構成部37は、U、Vの処理値の取り扱いについては前述の第1及び第2実施形態とほぼ同様なのであるが、Yの処理値については以下のような処理を行って圧縮画像データを構成している。   In this embodiment, the transmission data configuration unit 37 handles U and V processing values in substantially the same manner as in the first and second embodiments described above, but the Y processing value is processed as follows. The compressed image data is constructed.

すなわち、各フレームF中に予め設定した各マクロブロックMBcごとに、そのマクロブロックMBc中の全画素に対応する前記Yの処理値のうちから最小値(又は最大値)を抽出し、その各マクロブロックMBc中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応する前記Yの処理値の代わりに、抽出した最小値(又は最大値)に対するYの処理値の差分値と、最小値(又は最大値)とに基づいて圧縮データを構成するようになっている。各マクロブロックMBc中の各画素のY成分について、差分値又はYの処理値自体(絶対値)のいずれを圧縮データの構成に用いるかは、差分値が予め設定した差分値用ビット数D(Dは2、3、4、5のいずれかの数)に基づいて決定するようになっている。   That is, for each macroblock MBc set in advance in each frame F, a minimum value (or maximum value) is extracted from the Y processing values corresponding to all the pixels in the macroblock MBc, and each macroblock MBc is extracted. For at least some of the pixels in the block MBc, instead of the Y processing value corresponding to at least some of the pixels, a difference value of the Y processing value with respect to the extracted minimum value (or maximum value); The compressed data is configured based on the minimum value (or the maximum value). For the Y component of each pixel in each macroblock MBc, which of the difference value or the Y processing value itself (absolute value) is used in the configuration of the compressed data depends on the difference value bit number D (the difference value is preset). D is determined based on any number of 2, 3, 4, and 5).

具体的には、最小値(又は最大値)とYの処理値との差が、2を(D+8−N)乗した値以上である場合には、絶対値が圧縮データに用いられ、差が2を(D+8−N)乗した値未満である場合には、差分値が圧縮データに用いられる。ここで、差分値用ビット数Dの値が小さいと、圧縮データに絶対値を使用しなければならない可能性が上がるが、各Yの処理値が最小値(又は最大値)と近い値である場合には圧縮率が上がるという特性がある。また、差分値用ビット数Dの値が大きいと、圧縮データに絶対値を使用しなければならない可能性が下がり、各Yの処理値が最小値(又は最大値)と離れている場合に効率がよいという特性がある。なお、本実施形態では、Yの処理値の差分に最小値又は最大値のいずれを用いるかは、例えばマクロブロックMBcごとに決定される。また、差分値用ビット数Dの値は、例えば動画像データごとに予め設定される。   Specifically, when the difference between the minimum value (or maximum value) and the processed value of Y is equal to or larger than the value obtained by raising 2 to the power of (D + 8−N), the absolute value is used for the compressed data, and the difference is If the value is less than the value obtained by raising 2 to the power of (D + 8−N), the difference value is used for the compressed data. Here, if the value of the difference value bit number D is small, there is a possibility that an absolute value must be used for the compressed data, but each Y processing value is close to the minimum value (or maximum value). In some cases, the compression ratio increases. Also, if the value of the difference value bit number D is large, the possibility that an absolute value must be used for the compressed data is reduced, which is efficient when the processing value of each Y is separated from the minimum value (or maximum value). Is good. In the present embodiment, whether the minimum value or the maximum value is used for the difference between the Y processing values is determined for each macroblock MBc, for example. Further, the value of the difference value bit number D is set in advance for each moving image data, for example.

図11の圧縮データについて簡単に説明する。各フレームFの各マクロブロックMBcは、1ラインごとに1番から60番のブロックラインBLとしてまとめられている。各ブロックラインBL中には、ヘッダBLH、及び6ビットのライン番号データBLNに続いて、そのブロックラインBL中に含まれる1番から80番までのマクロブロックMBcのデータ(各マクロブロックMBcのデータ長が可変長となっている)が含まれている。   The compressed data in FIG. 11 will be briefly described. Each macro block MBc of each frame F is grouped as the 1st to 60th block lines BL for each line. In each block line BL, following the header BLH and the 6-bit line number data BLN, the data of the macroblocks MBc No. 1 to No. 80 included in the block line BL (data of each macroblock MBc) The length is variable).

各マクロブロックMBcのデータには、そのマクロブロックMBcの番号を示す7ビット分のブロック番号データMBN、及びYの処理値の最小値(又は最大値)を示すNビット分の最大最小値データYMDに続いて、そのマクロブロックMBc中の各画素に対応するYの値の格納方法に関する16ビット分の格納方法データSFD、そのマクロブロックMBc中の各画素に対応するU、Vの処理値についての40ビット分のUV処理値データUVD、及びYの値についてのY処理値データYD(可変長データ)が含まれている。   The data of each macroblock MBc includes block number data MBN for 7 bits indicating the number of the macroblock MBc, and maximum / minimum value data YMD for N bits indicating the minimum value (or maximum value) of the Y processing value. Subsequently, the storage method data SFD for 16 bits related to the storage method of the Y value corresponding to each pixel in the macro block MBc, and the processing values of U and V corresponding to the respective pixels in the macro block MBc. 40-bit UV processing value data UVD and Y processing value data YD (variable length data) for the Y value are included.

図12(a)ないし図12(c)は、図11中の格納方法データSFD、UV処理値データUVD及びY処理値データYDの内容を示す図である。格納方法データSFDには、図12(a)に示すように、そのマクロブロックMBc中の各画素に対応する16個のYの処理値ごとにそれぞれ対応付けられた1ビット分の16個の設定データSFDaが含まれている。各設定データSFDaには、対応するYの処理値が最小値(又は最大値)との差分値として圧縮データに盛り込まれる場合は値「0」が設定され、対応するYの処理値自体(絶対値)が圧縮データに盛り込まれる場合は値「1」が設定される。格納方法データSFD中の各設定データSFDaと各Yの処理値との対応関係は図12(a)のYの添え字の示す通りである。   FIGS. 12A to 12C are views showing the contents of the storage method data SFD, the UV processing value data UVD, and the Y processing value data YD in FIG. In the storage method data SFD, as shown in FIG. 12A, 16 settings corresponding to 1 bit corresponding to each of the 16 Y processing values corresponding to each pixel in the macro block MBc. Data SFDa is included. In each setting data SFDa, when the corresponding Y processing value is included in the compressed data as a difference value from the minimum value (or maximum value), a value “0” is set, and the corresponding Y processing value itself (absolute When the value is included in the compressed data, the value “1” is set. The correspondence between each setting data SFDa in the storage method data SFD and each Y processing value is as indicated by the Y suffix in FIG.

UV処理値データUVDには、図12(b)に示すように、そのマクロブロックMBc中の各画像(各画素群)に対応するU、Vの処理値が同図の記載の順序で含まれている。   As shown in FIG. 12B, the UV processing value data UVD includes U and V processing values corresponding to each image (each pixel group) in the macro block MBc in the order shown in FIG. ing.

Y処理値データYDには、図12(c)に示すように、そのマクロブロックMBc中の各画像に対応するYの処理値の最小値(又は最大値)との差分値又はYの処理値自体(絶対値)が同図の記載の順序で含まれている。なお、各Yの処理値について、差分値と絶対値とのいずれを採用して圧縮データを構成するかは、上述のように差分値用ビット数Dと差分値との関係により決定される。   In the Y processing value data YD, as shown in FIG. 12C, the difference value from the minimum value (or the maximum value) of the Y processing values corresponding to each image in the macro block MBc or the Y processing value. The values themselves (absolute values) are included in the order shown in FIG. As to the processing value of each Y, which of the difference value and the absolute value is used to configure the compressed data is determined by the relationship between the difference value bit number D and the difference value as described above.

図13(a)ないし図13(d)は、マクロブロックMBc中の各画素に対応するYの値に対する具体的な処理内容及び処理手順を示している。ここでは、マクロブロックMBc中の各画素に対応するYの値が図13(a)に示す値である場合について説明する。この各Yの値について、切り捨てにより残すビット数をN=6として下位2ビットを切り捨てると、図13(b)のようにYの処理値が得られる。なお、図13(b)中におけるかっこ内の値は切り捨てによる誤差の値を示している。このとき、Yの処理値の最小値は8となっている。   FIGS. 13A to 13D show specific processing contents and processing procedures for the Y value corresponding to each pixel in the macroblock MBc. Here, the case where the value of Y corresponding to each pixel in the macroblock MBc is the value shown in FIG. For each Y value, if the number of bits left by truncation is N = 6 and the lower 2 bits are truncated, the Y processed value is obtained as shown in FIG. Note that the value in parentheses in FIG. 13B indicates an error value due to truncation. At this time, the minimum Y processing value is 8.

続いて、差分値用ビット数Dを2とすると、最小値8と2の(2+8−6)乗値との和が24となるため、Yの処理値が24以上の場合には、絶対値が圧縮データに用いられることなる。このため、図13(c)に示すように、Y00、Y01、Y02の処理値については処理値自体(絶対値)が圧縮データに用いられ、他のYの処理値については差分値が圧縮データに用いられるようになっている。なお、図13(c)中の各差分値は、下位2ビット分の切り捨てが行われているため、Yの処理値が8、12、16、20のときに0、1、2、3の値をそれぞれとる。そして、このようにして得られたYの差分値又は絶対値は、図13(d)中に1、2、3・・・で示す順番で、圧縮データ中に盛り込まれて伝送される。 Subsequently, if the difference value bit number D is 2, the sum of the minimum value 8 and the (2 + 8−6) power value of 2 is 24. Therefore, when the processing value of Y is 24 or more, the absolute value Will be used for compressed data. For this reason, as shown in FIG. 13C, the processing values themselves (absolute values) are used as the compressed data for the processing values Y 00 , Y 01 , and Y 02 , and the difference values are used for the other Y processing values. Are used for compressed data. Since each difference value in FIG. 13C is rounded down to the lower 2 bits, 0, 1, 2, 3 when the processing value of Y is 8, 12, 16, 20 Take each value. Then, the difference value or absolute value of Y obtained in this way is included in the compressed data and transmitted in the order indicated by 1, 2, 3,... In FIG.

この場合における格納方法データSFDは図14(a)に示すような内容になり、Y処理値データYDは図14(b)に示すような内容になる。また、最大最小値データYMDは、Yの処理値の最小値が8であり、下位2ビット分が省略されているため、図14(c)に示すような内容となる。   The storage method data SFD in this case has the contents as shown in FIG. 14A, and the Y processing value data YD has the contents as shown in FIG. Further, the maximum / minimum value data YMD has the minimum Y-processed value of 8 and the lower 2 bits are omitted, and therefore has the contents as shown in FIG.

なお、この例の場合、Y値に画素当たりのビット数は、
(16+44+6)/16=4.125bit/pix<N=6
となっており、この圧縮方式によりY成分について第1実施形態の場合に対してさらに約31.25%のデータ削減が図れる。
In this example, the number of bits per pixel in the Y value is
(16 + 44 + 6) /16=4.125bit/pix <N = 6
This compression method can further reduce the data by about 31.25% for the Y component compared to the case of the first embodiment.

制御装置3の伝送処理部15では、送信されてきた圧縮データに基づいて動画像データ(Y、U、Vの値)が再構成される。U、V成分の再構成処理については第1実施形態とほぼ同様であるが、Y成分の再構成処理が第1実施形態とは異なっている。すなわち、圧縮データ中に盛り込まれているY成分の値(差分値、絶対値)のうち、絶対値についてはYの処理値自体が盛り込まれているため第1実施形態の再構成処理とほぼ同様であるが、差分値については特別な再構成処理が必要である。この差分値については、差分値と共に送信されてきた各マクロブロックMBcのYの処理値の最小値(又は最大値)とその差分値とに基づいて、差分前の対応するYの処理値が再構成され、その再構成されたされたYの処理値に基づいて第1実施形態の場合とほぼ同様にしてYの値が再構成される。なお、送信されてきたY成分の各値が差分値であるか絶対値であるかは、格納方法データSFD中の対応する各設定データSFDaに基づいて判別される。   In the transmission processing unit 15 of the control device 3, moving image data (values of Y, U, and V) is reconstructed based on the transmitted compressed data. The U and V component reconstruction processing is substantially the same as in the first embodiment, but the Y component reconstruction processing is different from that in the first embodiment. That is, among the Y component values (difference value, absolute value) included in the compressed data, the Y processing value itself is included for the absolute value, so that it is substantially the same as the reconstruction processing of the first embodiment. However, a special reconstruction process is required for the difference value. With respect to this difference value, based on the minimum value (or the maximum value) of the Y processing value of each macroblock MBc transmitted together with the difference value and the difference value, the corresponding Y processing value before the difference is re-transmitted. The Y value is reconfigured in substantially the same manner as in the first embodiment based on the reconfigured Y processing value. Whether each value of the transmitted Y component is a difference value or an absolute value is determined based on each corresponding setting data SFDa in the storage method data SFD.

以上のように、本実施形態によれば、上述の第1実施形態とほぼ同様な効果が得られるとともに、各フレームFの各マクロブロックMBc中の各画素に対応するYの処理値について、差分値用ビット数Dに適合する場合にはブロックMBc内におけるYの処理値の最小値(又は最大値)との差分値を用いて圧縮データを構成することにより、圧縮率をより向上させることができる。   As described above, according to the present embodiment, substantially the same effects as those of the first embodiment described above can be obtained, and the difference between the processing values of Y corresponding to the respective pixels in the respective macroblocks MBc of the respective frames F can be obtained. When the number of value bits D is met, the compressed data is configured using a difference value from the minimum value (or the maximum value) of the Y processing value in the block MBc, thereby further improving the compression rate. it can.

<第4実施形態>
本発明の第4実施形態に係る動画伝送システムについて以下に説明する。本実施形態に係る動画伝送システムが上述の第3実施形態に係る動画伝送システムと実質的に異なる点は、画像圧縮の形式が異なる点のみであり、ハードウェア構成は第3実施形態の場合と同様に前述の図1及び図2の構成と同一である。
<Fourth embodiment>
A video transmission system according to the fourth embodiment of the present invention will be described below. The video transmission system according to the present embodiment is substantially different from the video transmission system according to the third embodiment described above only in the image compression format, and the hardware configuration is the same as that in the third embodiment. Similarly, the configuration is the same as that shown in FIGS.

本実施形態では、図15に示すように、8×8のマクロブロックMBdが設定されている。図15におけるYに付された2つ添え字(0〜7,0〜7)は、マクロブロックMBd中の画素の識別番号に対応しており、U、Vに付された添え字(0〜15)は、マクロブロックMBd中の各画素群の識別番号に対応している。   In this embodiment, as shown in FIG. 15, an 8 × 8 macroblock MBd is set. The two subscripts (0 to 7, 0 to 7) attached to Y in FIG. 15 correspond to the identification numbers of the pixels in the macroblock MBd, and the subscripts (0 to 0) attached to U and V. 15) corresponds to the identification number of each pixel group in the macroblock MBd.

このマクロブロックMBdのサイズが異なる点以外は、第3実施形態の処理内容と実質的に同一であり、Y処理部31によって、各Yの値について下位(8−N)ビットが切り捨てられて上位NビットがYの処理値として残され、U処理部33及びV処理部35によって、各U、Vの値について下位3ビットが切り捨てられて上位5ビットがU、Vの処理値として残される。こうして作成されたY、U、Vの各処理値に基づいて、伝送データ構成部37により図16に示すような形式で圧縮データが構成され、その圧縮データが通信部27により制御装置3に伝送される。   Except for the difference in the size of the macroblock MBd, this is substantially the same as the processing contents of the third embodiment, and the Y processing unit 31 truncates the lower (8-N) bits for each Y value. N bits are left as Y processing values, and the U processing unit 33 and V processing unit 35 discard the lower 3 bits for each U and V value and leave the upper 5 bits as U and V processing values. Based on the Y, U, and V processing values created in this way, the compressed data is constructed in the format shown in FIG. 16 by the transmission data construction unit 37, and the compressed data is transmitted to the control device 3 by the communication unit 27. Is done.

図16の圧縮データについて簡単に説明する。各フレームFの各マクロブロックMBdは、1ラインごとに1番から30番のブロックラインBLとしてまとめられている。各ブロックラインBL中には、ヘッダBLH、及び5ビットのライン番号データBLNに続いて、そのブロックラインBL中に含まれる1番から40番までのマクロブロックMBdのデータ(可変長データ)が含まれている。   The compressed data in FIG. 16 will be briefly described. Each macroblock MBd of each frame F is grouped as the 1st to 30th block lines BL for each line. Each block line BL includes header BLH and 5-bit line number data BLN, followed by data (variable length data) of macro blocks MBd from No. 1 to No. 40 included in the block line BL. It is.

各マクロブロックMBdのデータには、そのマクロブロックMBdの番号を示す6ビット分のブロック番号データMBN、及びYの処理値の最小値(又は最大値)を示すNビット分の最大最小値データYMDに続いて、そのマクロブロックMBd中の各画素に対応するYの値の格納方法に関する64ビット分の格納方法データSFD、そのマクロブロックMBd中の各画素に対応するU、Vの処理値についての160ビット分のUV処理値データUVD、及びYの値についてのY処理値データYD(可変長データ)が含まれている。   The data of each macroblock MBd includes 6-bit block number data MBN indicating the number of the macroblock MBd and N-bit maximum / minimum value data YMD indicating the minimum value (or maximum value) of the Y processing value. Subsequently, the storage method data SFD for 64 bits relating to the storage method of the Y value corresponding to each pixel in the macroblock MBd, and the processing values of U and V corresponding to each pixel in the macroblock MBd 160-bit UV processing value data UVD and Y processing value data YD (variable length data) for the Y value are included.

図17(a)ないし図17(c)は、図16中の格納方法データSFD、UV処理値データUVD及びY処理値データYDの内容を示した図である。格納方法データSFDには、図17(a)に示すように、そのマクロブロックMBd中の各画素に対応する64個のYの処理値ごとにそれぞれ対応付けられた1ビット分の64個の設定データSFDaが含まれている。UV処理値データUVDには、図17(b)に示すように、そのマクロブロックMBd中の各画像に対応するU、Vの処理値が同図の記載の順序で含まれている。Y処理値データYDには、図17(c)に示すように、そのマクロブロックMBd中の各画像に対応するYの処理値の最小値(又は最大値)との差分値又はYの処理値自体(絶対値)が同図の記載の順序で含まれている。   FIGS. 17A to 17C are diagrams showing the contents of the storage method data SFD, UV processing value data UVD, and Y processing value data YD in FIG. In the storage method data SFD, as shown in FIG. 17A, 64 settings corresponding to 1 bit corresponding to each of 64 Y processing values corresponding to each pixel in the macroblock MBd. Data SFDa is included. As shown in FIG. 17B, the UV processing value data UVD includes U and V processing values corresponding to the respective images in the macro block MBd in the order shown in FIG. In the Y processing value data YD, as shown in FIG. 17C, the difference value from the minimum value (or the maximum value) of the Y processing values corresponding to each image in the macro block MBd or the Y processing value. The values themselves (absolute values) are included in the order shown in FIG.

これによって、本実施形態においても、上述の第3実施形態とほぼ同様な効果が得られる。   Thereby, also in this embodiment, the effect substantially the same as the above-mentioned 3rd Embodiment is acquired.

<第5実施形態>
本発明の第5実施形態に係る動画伝送システムについて以下に説明する。本実施形態に係る動画伝送システムが上述の第3実施形態に係る動画伝送システムと実質的に異なる点は、Yの差分値の導出にYの処理値の最小値又は最大値のいずれを用いるかがマクロブロックMBe(図18参照)ごとに自動的に設定される点のみであり、ハードウェア構成は第3実施形態の場合と同様に前述の図1及び図2の構成と同一である。
<Fifth Embodiment>
A video transmission system according to the fifth embodiment of the present invention will be described below. The video transmission system according to the present embodiment is substantially different from the video transmission system according to the third embodiment described above. Which of the minimum value or the maximum value of the Y processing values is used to derive the Y difference value? Is automatically set for each macroblock MBe (see FIG. 18), and the hardware configuration is the same as that of FIGS. 1 and 2 as in the case of the third embodiment.

本実施形態では、図18に示すように、4×4のマクロブロックMBeが設定されている。このマクロブロックMBeの設定内容、及び各画素に対応するY、U、Vの値に基づく各処理値の導出処理の内容(切り捨てビット数等)は第3実施形態の場合と同様であるため説明を省略する。   In the present embodiment, as shown in FIG. 18, 4 × 4 macroblocks MBe are set. The setting contents of the macro block MBe and the contents of the processing value derivation process (the number of bits to be cut off) based on the Y, U, and V values corresponding to each pixel are the same as those in the third embodiment. Is omitted.

本実施形態では、伝送データ構成部37による圧縮データの構成処理において、各マクロブロックMBeにおける圧縮データの構成にYの処理値の最小値又は最大値のいずれを用いるかが、最小値又は最大値のいずれを採用すればそのマクロブロックMBe中の各画素に対応するYの処理値について差分値用ビット数Dに適応する差分値の数がより多くなるかに基づいて、各マクロブロックMBeごとに決定されるようになっている。この処理の具体例は後述する。   In the present embodiment, in the compressed data configuration process by the transmission data configuration unit 37, whether the minimum value or the maximum value of the processing value of Y is used for the configuration of the compressed data in each macro block MBe is the minimum value or the maximum value. Is used for each macroblock MBe on the basis of whether the number of difference values to be applied to the difference value bit number D increases for the Y processing value corresponding to each pixel in the macroblock MBe. It has come to be decided. A specific example of this process will be described later.

これに対応して、図19に示すように、圧縮データ中の各マクロブロックMBe中のデータには、ブロック番号データMBNと最大最小値データYMDとの間に、そのブロックMBe中における処理値の差分に、Yの処理値に最小値又は最大値のいずれを用いたかを示す1ビット分の最大最小設定データMDが追加されている。例えば、Yの処理値の最小値が差分に用いられる場合には最大最小設定データMDとして0が設定され、Yの処理値の最大値が差分に用いられる場合には最大最小設定データMDとして1が設定される。   Correspondingly, as shown in FIG. 19, the data in each macro block MBe in the compressed data includes a processing value in the block MBe between the block number data MBN and the maximum / minimum value data YMD. One bit of maximum / minimum setting data MD indicating whether the minimum value or the maximum value is used as the Y processing value is added to the difference. For example, when the minimum value of the Y processing value is used for the difference, 0 is set as the maximum / minimum setting data MD, and when the maximum value of the Y processing value is used for the difference, the maximum / minimum setting data MD is 1 Is set.

ここで、図20(a)ないし図20(c)は、図19中の格納方法データSFD、UV処理値データUVD及びY処理値データYDの内容を示した図である。   Here, FIGS. 20A to 20C are diagrams showing the contents of the storage method data SFD, UV processing value data UVD, and Y processing value data YD in FIG.

図21(a)ないし図21(e)は、マクロブロックMBe中の各画素に対応するYの値に対する具体的な処理内容及び処理手順を示している。ここでは、マクロブロックMBe中の各画素に対応するYの値が図21(a)に示す値である場合について説明する。この各Yの値について、切り捨てにより残すビット数をN=6として下位2ビットを切り捨てると、図21(b)のようにYの処理値が得られる。なお、図21(b)中におけるかっこ内の値は切り捨てによる誤差の値を示している。このとき、Yの処理値の最小値は8、最大値は132となっている。   FIGS. 21A to 21E show specific processing contents and processing procedures for the Y value corresponding to each pixel in the macro block MBe. Here, the case where the value of Y corresponding to each pixel in the macroblock MBe is the value shown in FIG. For each Y value, if the number of bits left by truncation is N = 6 and the lower 2 bits are truncated, a Y processing value is obtained as shown in FIG. Note that the value in parentheses in FIG. 21B indicates an error value due to truncation. At this time, the minimum processing value of Y is 8 and the maximum value is 132.

続いて、差分に用いる最小値8又は最大値132の決定方法について、差分値用ビット数Dが2の場合について説明する。差分に最小値8を用いる場合、最小値8と2の(2+8−6)乗値との和が24となり、Yの処理値が24以上の場合には、絶対値が圧縮データに用いられるため、図21(c)に示すように、圧縮データに差分値が使用可能なのはY31、Y32、Y33の3画素である。一方、差分に最大値132を用いる場合、最大値132と2の(2+8−6)乗値との差が116となり、Yの処理値が116以下の場合には、絶対値が圧縮データに用いられるため、図21(d)に示すように、圧縮データに差分値が使用可能なのはY00、Y01、Y03、Y10、Y11、Y12、Y13、Y30の8画素である。よって、この場合、差分には差分値の使用可能画素数がより大きな最大値132が用いられることとなり、最大最小設定データMDには1が設定される。なお、図21(c)及び図21(d)中の各絶対値は、下位2ビットの切り捨後の2進数を10進数表示したものである。また、図21(c)中の各差分値は、下位2ビット分の切り捨てが行われているため、Yの処理値が8、12、16、20のときに0、1、2、3の値をそれぞれとり、図21(d)中の各差分値は、下位2ビット分の切り捨てが行われているため、Yの処理値が132、128、124、120のときに0、1、2、3の値をそれぞれとる。 Subsequently, a method of determining the minimum value 8 or the maximum value 132 used for the difference will be described in the case where the difference value bit number D is 2. When the minimum value 8 is used for the difference, the sum of the minimum value 8 and the (2 + 8−6) power of 2 is 24, and when the Y processing value is 24 or more, the absolute value is used for the compressed data. As shown in FIG. 21C, the difference values can be used for the compressed data in three pixels Y 31 , Y 32 , and Y 33 . On the other hand, when the maximum value 132 is used for the difference, the difference between the maximum value 132 and the (2 + 8-6) th power value of 2 is 116, and when the Y processing value is 116 or less, the absolute value is used for the compressed data. is therefore, as shown in FIG. 21 (d), the difference value into the compressed data is available is Y 00, Y 01, Y 03 , Y 10, Y 11, Y 12, 8 pixels Y 13, Y 30 . Therefore, in this case, the maximum value 132 in which the number of usable pixels of the difference value is larger is used for the difference, and 1 is set in the maximum / minimum setting data MD. In addition, each absolute value in FIG.21 (c) and FIG.21 (d) displays the binary number which rounded down the lower 2 bits by the decimal number display. In addition, since each difference value in FIG. 21C is rounded down by the lower 2 bits, 0, 1, 2, 3 when the processing value of Y is 8, 12, 16, 20 Each difference value in FIG. 21 (d) is rounded down to the lower 2 bits, so that 0, 1, 2, when the processing value of Y is 132, 128, 124, 120 Each takes the value of 3.

そして、このようにして得られたYの差分値又は絶対値は、図21(e)中に1、2、3・・・で示す順番で、圧縮データ中に盛り込まれて伝送される。   Then, the difference value or absolute value of Y obtained in this way is included in the compressed data and transmitted in the order indicated by 1, 2, 3,... In FIG.

この場合における格納方法データSFDは図22(a)に示すような内容になり、Y処理値データYDは図22(b)に示すような内容になる。また、最大最小値データYMDは、Yの処理値の最大値が132であり、下位2ビット分が省略されているため、図22(c)に示すような内容となる。   The storage method data SFD in this case has the contents as shown in FIG. 22A, and the Y processing value data YD has the contents as shown in FIG. Further, the maximum / minimum value data YMD has a content as shown in FIG. 22C because the maximum value of the processing value of Y is 132 and the lower 2 bits are omitted.

なお、この例の場合、Y値に画素当たりのビット数は、
(16+64+6)/16=5.375bit/pix<N=6
となっており、この圧縮方式によりY成分について第1実施形態の場合に対してさらに約10.4%のデータ削減が図れる。
In this example, the number of bits per pixel in the Y value is
(16 + 64 + 6) /16=5.375bit/pix <N = 6
This compression method can further reduce the data by about 10.4% for the Y component compared to the case of the first embodiment.

制御装置3の伝送処理部15では、送信されてきた圧縮データに基づいて動画像データ(Y、U、Vの値)が再構成される。この再構成処理において、第3実施形態と異なる点は、各マクロブロックMBeのデータ中に含まれている最大最小設定データMDの設定内容(0か1か)に基づいて、Yの差分値に最小値と最大値のいずれが用いられているかがブロックMBeごとに判別された上で、差分値と共に送信されてきた各マクロブロックMBeのYの処理値の最小値(又は最大値)とその差分値とに基づいて、差分前の対応するYの処理値が再構成されるようになっている。   In the transmission processing unit 15 of the control device 3, moving image data (values of Y, U, and V) is reconstructed based on the transmitted compressed data. In this reconstruction process, the difference from the third embodiment is that the difference value of Y is based on the setting content (0 or 1) of the maximum / minimum setting data MD included in the data of each macroblock MBe. After determining whether the minimum value or the maximum value is used for each block MBe, the minimum value (or maximum value) of the Y processing value of each macroblock MBe transmitted together with the difference value and the difference between them. Based on the value, the corresponding Y processing value before the difference is reconstructed.

以上のように、本実施形態においても、上述の第3実施形態とほぼ同様な効果が得られるとともに、各マクロブロックMBeにおいて圧縮データの構成にYの処理値の最小値又は最大値のうちのいずれを用いるかを容易かつ的確に自動的に決定することができ、圧縮率のさらなる向上が図れる。   As described above, in the present embodiment, substantially the same effects as those of the third embodiment described above can be obtained, and the compressed data configuration in each macroblock MBe can be selected from the minimum value or the maximum value of the Y processing values. Which one is used can be easily and accurately determined automatically, and the compression rate can be further improved.

<変形例>
上述の第1ないし第5実施形態の変形例として、圧縮データに含めるU、Vの処理値を2フレーム当たりに1度にしてもよい。すなわち、この場合、U処理部33及びV処理部35は、2フレーム当たり1フレームの割合で(1フレーム飛ばしで)、フレーム中の各マクロブロック中の各画素に対応するU、Vの値に基づいてU、Vの処理値を作成する。伝送データ構成部37は、2フレーム当たり1フレームの割合でU、Vの処理値を圧縮データに含めるようになっている(逆を言えば、2フレーム当たり1フレームの割合でU、Vの処理値を省略して圧縮データを構成する)。これに対応して、制御装置3の伝送処理部15では、U、Vの処理値が含まれているフレームについては、そのU、Vの処理値を用いてU、Vの値を再構成をする一方、U、Vの処理値が含まれていないフレームについては、時系列的にそのフレームの1つ先に受信した(又は1つ後で受信した)フレームに含まれるU、Vの処理値を再構成して得たU、Vの値を用いて動画像データを再構成するようになっている。
<Modification>
As a modification of the first to fifth embodiments described above, the U and V processing values included in the compressed data may be set to once every two frames. That is, in this case, the U processing unit 33 and the V processing unit 35 set the U and V values corresponding to each pixel in each macroblock in the frame at a rate of one frame per two frames (by skipping one frame). Based on this, processing values for U and V are created. The transmission data configuration unit 37 includes U and V processing values in the compressed data at a rate of 1 frame per 2 frames (in other words, U and V processing at a rate of 1 frame per 2 frames). Configure the compressed data by omitting the value). Correspondingly, the transmission processing unit 15 of the control device 3 uses the U and V processing values to reconfigure the U and V values for the frames containing the U and V processing values. On the other hand, for frames that do not include U and V processing values, U and V processing values included in a frame received one time ahead (or one after) in time series The moving image data is reconstructed using the values of U and V obtained by reconstructing.

このため、この変形例では、2フレームのうちの1フレームの割合でUの処理値及びVの処理値を省略して圧縮データを構成するため、圧縮後のU成分及びV成分のデータ量をさらに削減することができる。   For this reason, in this modified example, the compressed data is formed by omitting the U processing value and the V processing value at the rate of one frame out of two frames, so the data amounts of the U component and V component after compression are reduced. Further reduction can be achieved.

また、上記変形例のさらなる変形例として、U処理部33とV処理部35とが2フレームに1フレームの割合で交互にU、Vの処理値を作成するように、すなわち、U処理部33とV処理部35のU、Vの処理値作成のタイミングを1フレーム分だけずらせ、U処理部33がU処理値を作成するフレームではV処理部35がV処理値の作成を休止し、逆にV処理部35がV処理値を作成するフレームではU処理部33がU処理値の作成を休止するようにしてもよい。この場合、伝送データ構成部37は、U処理部33によってUの処理値が作成されたフレームについては、Vの処理値以外のYの処理値及びUの処理値を用いて圧縮データを構成し、V処理部35によってVの処理値が作成されたフレームについては、Uの処理値以外のYの処理値及びVの処理値を用いて圧縮データを構成する。そして、制御装置3の伝送処理部15は、伝送されてくる各フレームのデータに基づき、そのフレームに含まれているU又はVのいずれか一方の処理値については、その処理値を用いてU又はVのいずれか一方の値を再構成をする一方、そのフレームに含まれていないU又はVのいずれか他方の処理値については、時系列的にそのフレームの1つ先に受信した(又は1つ後で受信した)フレームに含まれるU、Vのいずれか他方の処理値に利用して再構成して得たU、Vの値を用いて動画像データを再構成するようになっている。なお、各フレームにおいてU、Vのいずれの処理値が含まれているかの識別は、フレームのヘッダ部に1ビット部の識別データ領域を設ければよい。   As a further modification of the above modification, the U processing unit 33 and the V processing unit 35 alternately generate U and V processing values at a rate of one frame every two frames, that is, the U processing unit 33. And the processing value creation timing of the U and V of the V processing unit 35 are shifted by one frame, and in the frame in which the U processing unit 33 creates the U processing value, the V processing unit 35 pauses the creation of the V processing value and vice versa. In addition, the U processing unit 33 may pause the generation of the U processing value in the frame in which the V processing unit 35 generates the V processing value. In this case, the transmission data configuration unit 37 configures compressed data using the Y processing value and the U processing value other than the V processing value for the frame in which the U processing value is created by the U processing unit 33. For the frames for which the V processing value is created by the V processing unit 35, compressed data is configured using the Y processing value and the V processing value other than the U processing value. Then, the transmission processing unit 15 of the control device 3 uses the processing value for the processing value of either U or V included in the frame based on the transmitted data of each frame. While the value of either one of V or V is reconstructed, the processing value of either U or V that is not included in the frame is received one time ahead in the frame (or The moving image data is reconstructed using the values of U and V obtained by reconstructing using the processing value of either U or V included in the frame (received one after). Yes. In addition, what is necessary is just to provide the identification data area | region of 1 bit part in the header part of a frame for the identification of which U or V process value is contained in each frame.

この変形例では、圧縮後のU成分及びV成分のデータ量をさらに削減することができるという効果に加えて、圧縮後の各フレームのデータ長が平均化されるため、送受信用のバッファのサイズを容易に最適化することができるという効果が得られる。   In this modification, in addition to the effect that the data amount of the U component and V component after compression can be further reduced, the data length of each frame after compression is averaged, so the size of the buffer for transmission and reception Can be easily optimized.

本発明の第1実施形態に係る動画伝送システムが適用された車両周辺監視装置のブロック図である。1 is a block diagram of a vehicle periphery monitoring device to which a moving image transmission system according to a first embodiment of the present invention is applied. 図1の伝送処理部のブロック図である。FIG. 2 is a block diagram of a transmission processing unit in FIG. 1. YUV420形式の説明図である。It is explanatory drawing of a YUV420 format. 第1実施形態におけるマクロブロックの構成を示す図である。It is a figure which shows the structure of the macroblock in 1st Embodiment. 第1実施形態におけるY、U、Vの値に切り捨てビット数を示す図である。It is a figure which shows the truncation bit number in the value of Y, U, and V in 1st Embodiment. 第1実施形態における圧縮データの構成を示す図である。It is a figure which shows the structure of the compressed data in 1st Embodiment. 第2実施形態におけるマクロブロックの構成を示す図である。It is a figure which shows the structure of the macroblock in 2nd Embodiment. 第2実施形態における圧縮データの構成を示す図である。It is a figure which shows the structure of the compression data in 2nd Embodiment. 第3実施形態におけるマクロブロックの構成を示す図である。It is a figure which shows the structure of the macroblock in 3rd Embodiment. 第3実施形態におけるY、U、Vの値に切り捨てビット数を示す図である。It is a figure which shows the truncation bit number in the value of Y, U, and V in 3rd Embodiment. 第3実施形態における圧縮データの構成を示す図である。It is a figure which shows the structure of the compressed data in 3rd Embodiment. 図12(a)ないし図12(c)は図11中の格納方法データ、UV処理値データ及びY処理値データの内容を示す図である。12A to 12C are diagrams showing the contents of the storage method data, UV process value data, and Y process value data in FIG. 図13(a)ないし図13(d)は図9のマクロブロック中の各画素に対応するYの値に対する具体的な処理内容及び処理手順を示す図である。FIGS. 13A to 13D are diagrams showing specific processing contents and processing procedures for the Y value corresponding to each pixel in the macroblock of FIG. 図14(a)ないし図14(c)は図11中の格納方法データ、Y処理値データ及び最大最小値データの内容の具体例を示す図である。14A to 14C are diagrams showing specific examples of the contents of the storage method data, Y processing value data, and maximum / minimum value data in FIG. 第4実施形態におけるマクロブロックの構成を示す図である。It is a figure which shows the structure of the macroblock in 4th Embodiment. 第4実施形態における圧縮データの構成を示す図である。It is a figure which shows the structure of the compressed data in 4th Embodiment. 図17(a)ないし図17(c)は図16中の格納方法データ、UV処理値データ及びY処理値データの内容を示す図である。FIGS. 17A to 17C are views showing the contents of the storage method data, UV process value data, and Y process value data in FIG. 第5実施形態におけるマクロブロックの構成を示す図である。It is a figure which shows the structure of the macroblock in 5th Embodiment. 第5実施形態における圧縮データの構成を示す図である。It is a figure which shows the structure of the compression data in 5th Embodiment. 図20(a)ないし図20(c)は図19中の格納方法データ、UV処理値データ及びY処理値データの内容を示す図である。20A to 20C are views showing the contents of the storage method data, UV process value data, and Y process value data in FIG. 図21(a)ないし図21(e)は図18のマクロブロック中の各画素に対応するYの値に対する具体的な処理内容及び処理手順と示す図である。FIGS. 21A to 21E are diagrams showing specific processing contents and processing procedures for the Y value corresponding to each pixel in the macroblock of FIG. 図22(a)ないし図22(c)は図19中の格納方法データ、Y処理値データ及び最大最小値データの内容の具体例を示す図である。FIGS. 22A to 22C are diagrams showing specific examples of the contents of the storage method data, Y process value data, and maximum / minimum value data in FIG.

符号の説明Explanation of symbols

1 カメラユニット
3 制御装置
5 表示装置
11 撮像部
13,15 伝送処理部
17 制御部
21 前処理部
23 メモリ
25 演算処理部
27 通信部
31 Y処理部
33 U処理部
35 V処理部
37 伝送データ構成部
DESCRIPTION OF SYMBOLS 1 Camera unit 3 Control apparatus 5 Display apparatus 11 Imaging part 13,15 Transmission process part 17 Control part 21 Pre-processing part 23 Memory 25 Arithmetic process part 27 Communication part 31 Y process part 33 U process part 35 V process part 37 Transmission data structure Part

Claims (14)

輝度信号に対応したNYビットのYの数値と、輝度信号と赤色成分の差に対応したNUビットのUの数値と、輝度信号と青色成分の差に対応したNVビットのVの数値とを用いて表された動画像データを圧縮する動画圧縮装置であって、
入力された前記動画像データの各フレーム中の各画素に対応するYの値について、下位のMYビット部分(但し、MYは0以上、NY未満の整数)を切り捨て又は四捨五入して残りの上位(NY−MY)ビット部分のみを残してYの処理値を作成する第1の処理部と、
入力された前記動画像データの各フレーム中の各画素に対応するUの値について、下位のMUビット部分(但し、MUは1以上、NU未満の整数)を切り捨て又は四捨五入して残りの上位(NU−MU)ビット部分のみを残してUの処理値を作成する第2の処理部と、
入力された前記動画像データの各フレーム中の各画素に対応するVの値について、下位のMVビット部分(但し、MVは1以上、NV未満の整数)を切り捨て又は四捨五入して残りの上位(NV−MV)ビット部分のみを残してVの処理値を作成する第3の処理部と、
前記第1の処理部、前記第2の処理部及び前記第3の処理部によって作成された前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記動画像データを圧縮した圧縮データを構成する第4の処理部と、
を備える、動画圧縮装置。
And figures of N Y bits corresponding to the luminance signal Y, the luminance signal and the N U bits of U numerical value corresponding to the difference between the red component, the luminance signal and the value of N V bit V corresponding to the difference between the blue component A moving image compression apparatus for compressing moving image data represented using
For the Y value corresponding to each pixel in each frame of the input moving image data, the lower MY bit portion (where MY is an integer greater than or equal to 0 and less than NY ) is rounded down or rounded off A first processing unit that creates a processing value of Y leaving only the upper (N Y -M Y ) bit portion of
The value of the U corresponding to each pixel in each frame of the input the moving image data, the lower M U bit portion (where, M U is integer of 1 or more and less than N U) by truncating or rounding off the remainder A second processing unit that creates a processing value of U leaving only the upper (N U -M U ) bit portion of
For values of V corresponding to each pixel in each frame of the input the moving image data, the lower M V bit portion (where the M V 1 or an integer less than N V) by truncating or rounding off the remainder A third processing unit that creates a processing value of V leaving only the upper (N V −M V ) bit portion of
The moving image data is compressed based on the Y processing value, the U processing value, and the V processing value created by the first processing unit, the second processing unit, and the third processing unit. A fourth processing unit constituting the compressed data,
A video compression apparatus comprising:
請求項1に記載の動画圧縮装置において、
前記MU及び前記MVの値が、前記MYの値よりも大きく設定されている、動画圧縮装置。
The moving image compression apparatus according to claim 1,
Wherein M value of U and the M V is the is set larger than the value of M Y, moving picture compression device.
請求項1又は2に記載の動画圧縮装置において、
前記第4の処理部は、さらに、
前記各フレーム中に予め設定した縦がMa画素、横がMb画素のサイズを有する各画素ブロックごとに、その画素ブロック中の全画素に対応する前記Yの処理値のうちから最小値又は最大値を抽出し、その各画素ブロック中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応する前記Yの処理値の代わりに、前記最小値又は前記最大値に対する前記Yの処理値の差分値と、前記最小値又は前記最大値とに基づいて前記圧縮データを構成する、動画圧縮装置。
The moving image compression apparatus according to claim 1 or 2,
The fourth processing unit further includes:
For each pixel block having a preset vertical size of Ma pixels and horizontal size of Mb pixels in each frame, the minimum value or the maximum value among the Y processing values corresponding to all the pixels in the pixel block. And, for at least some of the pixels in each pixel block, instead of the Y processing value corresponding to the at least some pixels, the Y processing value for the minimum value or the maximum value A moving image compression apparatus that configures the compressed data based on the difference value of the data and the minimum value or the maximum value.
請求項3に記載の動画圧縮装置において、
前記第4の処理部は、さらに、
前記各画素ブロック中の各画素のY成分について、前記差分値又は前記処理値自体のいずれを前記圧縮データの構成に用いるかを、前記差分値が各画素について予め設定した差分値用ビット数に基づいて決定する、動画圧縮装置。
The moving image compression apparatus according to claim 3,
The fourth processing unit further includes:
For the Y component of each pixel in each pixel block, whether the difference value or the processing value itself is used for the configuration of the compressed data is determined based on the difference value bit number set in advance for each pixel. A video compression apparatus that determines based on this.
請求項4に記載の動画圧縮装置において、
前記第4の処理部は、さらに、
前記圧縮データの構成に前記最小値又は前記最大値のいずれを用いるかを、前記最小値又は前記最大値のいずれを採用すれば前記各画素ブロック中の前記各画素に対応する前記差分値について前記差分値用ビット数に適応する前記差分値の数がより多くなるかに基づいて、前記各画素ブロックごとに決定する、動画圧縮装置。
The moving image compression apparatus according to claim 4.
The fourth processing unit further includes:
Whether the minimum value or the maximum value is used for the configuration of the compressed data, and if the minimum value or the maximum value is adopted, the difference value corresponding to each pixel in each pixel block A moving image compression apparatus that determines for each pixel block based on whether the number of difference values adapted to the number of bits for difference value is larger.
請求項1ないし5のいずれかに記載の動画圧縮装置において、
前記第2の処理部及び前記第3の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で前記Uの処理値及び前記Vの処理値を作成し、
前記第4の処理部は、前記第2の処理部及び第3の処理部によって前記Uの処理値及び前記Vの処理値が作成されたフレームについては、前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記圧縮データを構成し、前記第1の処理部によって前記Uの処理値及び前記Vの処理値が作成されないフレームについては、前記Uの処理値及び前記Vの処理値を用いないで前記圧縮データを構成する、動画圧縮装置。
The moving image compression apparatus according to any one of claims 1 to 5,
The second processing unit and the third processing unit create the U processing value and the V processing value at a rate of one frame out of every two frames constituting the moving image,
For the frame in which the U processing value and the V processing value are created by the second processing unit and the third processing unit, the fourth processing unit performs the Y processing value and the U processing. For the frame in which the compressed data is configured based on the value and the V processing value, and the U processing value and the V processing value are not created by the first processing unit, the U processing value and the V A moving picture compression apparatus that constitutes the compressed data without using the processing value of
請求項1ないし5のいずれかに記載の動画圧縮装置において、
前記第2の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で前記Uの処理値を作成し、
前記第3の処理部は、前記動画像を構成する各フレームのうち、2フレームに1フレームの割合で、前記第2の処理部と交互に動作して前記第2の処理部が前記Uの処理値を作成しないフレームについて前記Vの処理値を作成し、
前記第4の処理部は、前記第2の処理部によって前記Uの処理値が作成されたフレームについては、前記Vの処理値以外の前記Yの処理値及び前記Uの処理値を用いて前記圧縮データを構成し、前記第3の処理部によって前記Vの処理値が作成されたフレームについては、前記Uの処理値以外の前記Yの処理値及び前記Vの処理値を用いて前記圧縮データを構成する、動画圧縮装置。
The moving image compression apparatus according to any one of claims 1 to 5,
The second processing unit creates the processing value of the U at a rate of one frame out of every two frames constituting the moving image,
The third processing unit operates alternately with the second processing unit at a ratio of one frame to two of the frames constituting the moving image, and the second processing unit Create a processing value of V for a frame that does not create a processing value,
The fourth processing unit uses the Y processing value and the U processing value other than the V processing value for the frame in which the U processing value is created by the second processing unit. For a frame that constitutes compressed data and for which the V processing value is created by the third processing unit, the compressed data is processed using the Y processing value and the V processing value other than the U processing value. A video compression device.
請求項1ないし7のいずれかに記載の動画圧縮装置において、
前記第4の処理部によって構成された前記圧縮データを所定の伝送経路を介して送信する第5の処理部をさらに備える、動画圧縮装置。
The moving picture compression apparatus according to any one of claims 1 to 7,
The moving image compression apparatus further comprising a fifth processing unit that transmits the compressed data configured by the fourth processing unit via a predetermined transmission path.
車両用の動画伝送システムであって、
請求項8に記載の前記動画圧縮装置と、
前記動画圧縮装置によって送信された前記圧縮データを前記伝送経路を介して受信し、受信した前記圧縮データに基づいて動画像データを再構成する画像伸張装置と、
を備える動画伝送システム。
A video transmission system for a vehicle,
The moving image compression apparatus according to claim 8,
An image expansion device that receives the compressed data transmitted by the moving image compression device via the transmission path, and reconstructs moving image data based on the received compressed data;
A video transmission system comprising:
輝度信号に対応したNYビットのYの数値と、輝度信号と赤色成分の差に対応したNUビットのUの数値と、輝度信号と青色成分の差に対応したNVビットのVの数値とを用いて表された動画像データを圧縮する動画圧縮方法であって、
入力された前記動画像データの各フレーム中の各画素に対応するYの値について、下位のMYビット部分(但し、MYは0以上、NY未満の整数)を切り捨て又は四捨五入して残りの上位(NY−MY)ビット部分のみを残してYの処理値を作成する第1の処理工程と、
入力された前記動画像データの各フレーム中の各画素に対応するUの値について、下位のMUビット部分(但し、MUは1以上、NU未満の整数)を切り捨て又は四捨五入して残りの上位(NU−MU)ビット部分のみを残してUの処理値を作成する第2の処理工程と、
入力された前記動画像データの各フレーム中の各画素に対応するVの値について、下位のMVビット部分(但し、MVは1以上、NV未満の整数)を切り捨て又は四捨五入して残りの上位(NV−MV)ビット部分のみを残してVの処理値を作成する第3の処理工程と、
前記第1の処理工程、前記第2の処理工程及び前記第3の処理工程によって作成された前記Yの処理値、前記Uの処理値及び前記Vの処理値に基づいて前記動画像データを圧縮した圧縮データを構成する第4の処理工程と、
を備える、動画圧縮方法。
And figures of N Y bits corresponding to the luminance signal Y, the luminance signal and the N U bits of U numerical value corresponding to the difference between the red component, the luminance signal and the value of N V bit V corresponding to the difference between the blue component A moving image compression method for compressing moving image data represented using
For the Y value corresponding to each pixel in each frame of the input moving image data, the lower MY bit portion (where MY is an integer greater than or equal to 0 and less than NY ) is rounded down or rounded off A first processing step of creating a processing value for Y leaving only the upper (N Y -M Y ) bit portion of
The value of the U corresponding to each pixel in each frame of the input the moving image data, the lower M U bit portion (where, M U is integer of 1 or more and less than N U) by truncating or rounding off the remainder A second processing step of creating a processing value of U leaving only the upper (N U -M U ) bit portion of
For values of V corresponding to each pixel in each frame of the input the moving image data, the lower M V bit portion (where the M V 1 or an integer less than N V) by truncating or rounding off the remainder A third processing step of creating a processing value of V leaving only the upper (N V -M V ) bit portion of
The moving image data is compressed based on the Y processing value, the U processing value, and the V processing value created by the first processing step, the second processing step, and the third processing step. A fourth processing step constituting the compressed data,
A video compression method comprising:
請求項10に記載の動画圧縮方法において、
前記MU及び前記MVの値が、前記MYの値よりも大きく設定されている、動画圧縮方法。
The moving image compression method according to claim 10,
Wherein M U and a value of said M V is the M Y of is set larger than the value, video compression methods.
請求項10又は11に記載の動画圧縮方法において、
前記第4の処理工程では、さらに、
前記各フレーム中に予め設定した縦がMa画素、横がMb画素のサイズを有する各画素ブロックごとに、その画素ブロック中の全画素に対応する前記Yの処理値のうちから最小値又は最大値を抽出し、その各画素ブロック中の画素の少なくとも一部の画素について、その少なくとも一部の画素に対応する前記Yの処理値の代わりに、前記最小値又は前記最大値に対する前記Yの処理値の差分値と、前記最小値又は前記最大値とに基づいて前記圧縮データを構成する、動画圧縮方法。
The moving image compression method according to claim 10 or 11,
In the fourth processing step,
For each pixel block having a preset vertical size of Ma pixels and horizontal size of Mb pixels in each frame, the minimum value or the maximum value among the Y processing values corresponding to all the pixels in the pixel block. And, for at least some of the pixels in each pixel block, instead of the Y processing value corresponding to the at least some pixels, the Y processing value for the minimum value or the maximum value A moving image compression method that configures the compressed data based on a difference value between them and the minimum value or the maximum value.
請求項12に記載の動画圧縮方法において、
前記第4の処理工程では、さらに、
前記各画素ブロック中の各画素のY成分について、前記差分値又は前記処理値自体のいずれを前記圧縮データの構成に用いるかを、前記差分値が各画素について予め設定した差分値用ビット数に基づいて決定する、動画圧縮方法。
The moving image compression method according to claim 12,
In the fourth processing step,
For the Y component of each pixel in each pixel block, whether the difference value or the processing value itself is used for the configuration of the compressed data is determined based on the difference value bit number set in advance for each pixel. A video compression method that is determined based on this.
請求項13に記載の動画圧縮方法において、
前記第4の処理工程では、さらに、
前記圧縮データの構成に前記最小値又は前記最大値のいずれを用いるかを、前記最小値又は前記最大値のいずれを採用すれば前記各画素ブロック中の前記各画素に対応する前記差分値について前記差分値用ビット数に適応する前記差分値の数がより多くなるかに基づいて、前記各画素ブロックごとに決定する、動画圧縮方法。
The video compression method according to claim 13,
In the fourth processing step,
Whether the minimum value or the maximum value is used for the configuration of the compressed data, and if the minimum value or the maximum value is adopted, the difference value corresponding to each pixel in each pixel block A moving image compression method for determining each pixel block based on whether the number of the difference values adapted to the number of bits for the difference value is larger.
JP2004010908A 2004-01-19 2004-01-19 Motion picture compression apparatus and method, and motion picture transmission system Pending JP2005204247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004010908A JP2005204247A (en) 2004-01-19 2004-01-19 Motion picture compression apparatus and method, and motion picture transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004010908A JP2005204247A (en) 2004-01-19 2004-01-19 Motion picture compression apparatus and method, and motion picture transmission system

Publications (1)

Publication Number Publication Date
JP2005204247A true JP2005204247A (en) 2005-07-28

Family

ID=34823493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004010908A Pending JP2005204247A (en) 2004-01-19 2004-01-19 Motion picture compression apparatus and method, and motion picture transmission system

Country Status (1)

Country Link
JP (1) JP2005204247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010232712A (en) * 2009-03-25 2010-10-14 Victor Co Of Japan Ltd Data compression apparatus, data decompression apparatus, and display device mounted with them

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010232712A (en) * 2009-03-25 2010-10-14 Victor Co Of Japan Ltd Data compression apparatus, data decompression apparatus, and display device mounted with them

Similar Documents

Publication Publication Date Title
JP5616017B2 (en) In vivo imaging device providing constant bit rate transmission
JP4488027B2 (en) Information processing apparatus and method, and information processing system
JP4527720B2 (en) Image compression method, image compression apparatus, image transmission system, data compression pre-processing apparatus, and computer program
JP6564895B2 (en) Ultra-low latency video communication
EP3635952B1 (en) Digital content stream compression
KR102500761B1 (en) Apparatus and method for performing artificial intelligence encoding and artificial intelligence decoding of image
US8908982B2 (en) Image encoding device and image encoding method
US20110103465A1 (en) Encoding method of screen frame and electronic device applying the same
JP2014533466A5 (en)
JPH0787482A (en) Method and device for coding and decoding picture data
CA2886174A1 (en) Video compression method
CN111343479A (en) Method and equipment for sending and receiving audio and video data in long-distance transmission scene
CN110474867A (en) A kind of transmission method of multi-medium data, system and equipment
KR20110011070A (en) System of transmitting-receiving with dual video signal and operating method thereof
CN110662071B (en) Video decoding method and device, storage medium and electronic device
JP2005204247A (en) Motion picture compression apparatus and method, and motion picture transmission system
JP6719200B2 (en) Digital signal transmission device and digital signal transmission method
JP5219948B2 (en) Encoding apparatus and encoding method
US20230395041A1 (en) Content Display Process
JP2008259074A (en) Image transmission system
US20080068392A1 (en) Display control apparatus, display control method, and program
KR20230094838A (en) Image providing apparatus using artificial intelligence and method thereby, and display apparatus using artificial intelligence and method thereby
JP2009200645A (en) Image transmitter
JP2003143599A (en) Picture transmission method and device
JP2005303654A (en) Apparatus and system for transmitting moving image