JP2009049976A - Image processing apparatus, image processing method and program - Google Patents

Image processing apparatus, image processing method and program Download PDF

Info

Publication number
JP2009049976A
JP2009049976A JP2008148576A JP2008148576A JP2009049976A JP 2009049976 A JP2009049976 A JP 2009049976A JP 2008148576 A JP2008148576 A JP 2008148576A JP 2008148576 A JP2008148576 A JP 2008148576A JP 2009049976 A JP2009049976 A JP 2009049976A
Authority
JP
Japan
Prior art keywords
image
feature
unit
region
feature region
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.)
Abandoned
Application number
JP2008148576A
Other languages
Japanese (ja)
Inventor
Sukekazu Kameyama
祐和 亀山
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2008148576A priority Critical patent/JP2009049976A/en
Priority to PCT/JP2008/063226 priority patent/WO2009014156A1/en
Priority to EP08791478A priority patent/EP2179589A4/en
Priority to CN2008800254072A priority patent/CN101755461B/en
Priority to CN2011102835064A priority patent/CN102325257A/en
Publication of JP2009049976A publication Critical patent/JP2009049976A/en
Priority to US12/690,025 priority patent/US8363953B2/en
Priority to US13/426,425 priority patent/US8532394B2/en
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus that compresses a plurality of regions, respectively, in accordance with their characters. <P>SOLUTION: An image processing apparatus comprises: a characteristic region detecting section that detects a plurality of characteristic regions in an image; a condition storing section that stores thereon assignment conditions differing in accordance with characters of characteristic regions, so that different compression strength is assigned in accordance with the characters of the characteristic regions; a compressing section that compresses a plurality of characteristic region images that are images of the plurality of characteristic regions; and a compression control section that controls compression strength at which the compressing section compresses the plurality of characteristic region images in accordance with characters of the plurality of characteristic regions, with reference to the conditions stored in the condition storing section. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法、及びプログラムに関する。本発明は、特に、画像を処理する画像処理装置及び画像処理方法、並びに画像処理装置用のプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program. The present invention particularly relates to an image processing apparatus and an image processing method for processing an image, and a program for the image processing apparatus.

符号化された画面とこれから符号化すべき画面とを比較することにより画面内の変化領域を抽出して、符号化すべき画面を複数の画像ブロックに分割して、変化領域を含む画像ブロックを符号化する動画像符号化装置が知られている(例えば、特許文献1参照。)。この動画像符号化装置では、変化領域を含む画像ブロックのうち、より限定された領域を含む画像ブロックに対して、他の変化領域を含む画像ブロックに割り当てられた情報ビット数より多くの情報ビット数を割り当てて符号化する。また、デジタル画像の撮影被写体とそれに対応する背景の領域の重要度に関する追加情報を生成して、デジタル画像を圧縮した圧縮デジタル画像に追加情報を関連付けて保存するデジタル画像生成方法が知られている(例えば、特許文献2参照。)。
特許2828977号公報 特開2003−250132号公報
By comparing the encoded screen with the screen to be encoded, the change area in the screen is extracted, the screen to be encoded is divided into a plurality of image blocks, and the image block including the change area is encoded. There is known a moving image encoding device (see, for example, Patent Document 1). In this moving image encoding apparatus, more information bits than the number of information bits assigned to an image block including another change area are compared with an image block including a more limited area among image blocks including a change area. Assign a number and encode. There is also known a digital image generation method for generating additional information related to the importance of a photographing subject of a digital image and a background area corresponding to the subject and storing the additional information in association with a compressed digital image obtained by compressing the digital image. (For example, refer to Patent Document 2).
Japanese Patent No. 2828977 JP 2003-250132 A

しかしながら、上記特許文献に記載の技術では、複数の領域のそれぞれを特徴に応じて圧縮することができない。   However, with the technique described in the above patent document, each of the plurality of regions cannot be compressed according to the feature.

上記課題を解決するために、本発明の第1の形態によると、画像処理装置であって、画像から、複数の特徴領域を検出する特徴領域検出部と、特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納部と、複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮部と、条件格納部が格納している条件に基づいて、圧縮部が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を特徴領域の特徴に応じて制御する圧縮制御部とを備える。   In order to solve the above-described problem, according to the first aspect of the present invention, an image processing device includes a feature region detection unit that detects a plurality of feature regions from an image, and different compression depending on the features of the feature regions. A condition storage unit that stores different assignment conditions according to the features of the feature region, and a compression unit that compresses each of a plurality of feature region images that are images of the plurality of feature regions, and a condition storage unit. The compression unit includes a compression control unit that controls the compression strength for compressing each of the plurality of feature region images according to the feature of the feature region based on the stored conditions.

特徴領域検出部は、画像である動画に含まれる複数の動画構成画像から、複数の特徴領域を検出してよい。そして、圧縮制御部は、条件格納部が格納している条件に基づいて、圧縮部が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の特徴に応じて制御してよい。   The feature region detection unit may detect a plurality of feature regions from a plurality of moving image constituent images included in a moving image that is an image. The compression control unit may control the compression strength at which the compression unit compresses each of the plurality of feature region images based on the conditions stored in the condition storage unit according to the features of the feature region.

条件格納部は、特徴領域の種類に応じた異なる条件を格納してよい。そして、圧縮制御部は、条件格納部が格納している条件に基づいて、圧縮部が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の種類に応じて制御してよい。   The condition storage unit may store different conditions depending on the type of feature region. Then, the compression control unit may control the compression strength at which the compression unit compresses each of the plurality of feature region images based on the condition stored in the condition storage unit according to the type of the feature region.

特徴領域検出部は、複数の動画構成画像から、特徴の種類が異なる複数の特徴領域を検出し、圧縮部は、複数の動画構成画像において同じ種類の特徴を有する特徴領域画像を複数含む複数の特徴領域動画のそれぞれを圧縮してよい。そして、圧縮制御部は、条件格納部が格納している条件に基づいて、複数の特徴領域動画のそれぞれを圧縮部が圧縮する圧縮強度を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御してよい。   The feature region detection unit detects a plurality of feature regions having different types of features from a plurality of moving image configuration images, and the compression unit includes a plurality of feature region images having the same type of features in the plurality of moving image configuration images. Each of the feature area videos may be compressed. Then, the compression control unit, based on the condition stored in the condition storage unit, the compression strength of the compression unit compressing each of the plurality of feature region moving images of the feature region image included in each of the plurality of feature region moving images. You may control according to the kind of feature, respectively.

条件格納部は、特徴領域の種類に応じて異なる画質低減量を格納し、圧縮部は、複数の動画構成画像において同じ種類の特徴を有する特徴領域画像を複数含む複数の特徴領域動画のそれぞれの画質を低減する画質低減部を有し、圧縮制御部は、条件格納部が格納している画質低減量に基づいて、画質低減部が画質を低減させる画質低減量を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御してよい。   The condition storage unit stores different image quality reduction amounts according to the types of feature regions, and the compression unit stores each of a plurality of feature region moving images including a plurality of feature region images having the same type of features in a plurality of moving image constituent images. An image quality reduction unit that reduces the image quality, and the compression control unit converts the image quality reduction amount that the image quality reduction unit reduces the image quality based on the image quality reduction amount stored in the condition storage unit into a plurality of feature region moving images. You may control according to the kind of characteristic of the characteristic area image which each contains.

本発明の第2の形態によると、画像処理方法であって、画像から、複数の特徴領域を検出する特徴領域検出段階と、特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納段階と、複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮段階と、条件格納段階において格納された条件に基づいて、圧縮段階において複数の特徴領域画像のそれぞれが圧縮される圧縮強度を特徴領域の特徴に応じて制御する圧縮制御段階とを備える。   According to a second aspect of the present invention, there is provided an image processing method, wherein a feature region detection step for detecting a plurality of feature regions from an image, and a feature region feature for assigning different compression strengths according to the feature region features Based on the condition storage stage for storing different allocation conditions depending on the condition, the compression stage for compressing each of the plurality of feature area images that are the images of the plurality of feature areas, and the conditions stored in the condition storage stage, A compression control step of controlling the compression strength at which each of the plurality of feature region images is compressed in the compression step according to the feature of the feature region.

本発明の第3の形態によると、画像処理装置用のプログラムであって、画像処理装置を、画像から、複数の特徴領域を検出する特徴領域検出部、特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納部、複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮部、条件格納部が格納している条件に基づいて、圧縮部が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を特徴領域の特徴に応じて制御する圧縮制御部として機能させる。   According to a third aspect of the present invention, there is provided a program for an image processing device, wherein the image processing device includes a feature region detection unit that detects a plurality of feature regions from an image, and a compression strength that varies depending on the features of the feature regions. A condition storage unit that stores different allocation conditions according to the features of the feature region, a compression unit that compresses each of a plurality of feature region images that are images of the plurality of feature regions, and a condition storage unit The compression unit functions as a compression control unit that controls the compression strength for compressing each of the plurality of feature region images according to the characteristics of the feature region.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、一実施形態に係る画像処理システム10の一例を示す。画像処理システム10は、特徴的な被写体の画質を高画質に保ちつつ画像のデータ量を低減することを目的とする。   FIG. 1 shows an example of an image processing system 10 according to an embodiment. An object of the image processing system 10 is to reduce the amount of image data while maintaining a high quality image of a characteristic subject.

画像処理システム10は、監視対象空間150を撮像する複数の撮像装置100a−c(以下、撮像装置100と総称する。)、画像を処理する複数の画像処理装置120a−c(以下、画像処理装置120と総称する。)、画像処理装置170、通信ネットワーク110、画像DB175、および複数の表示装置180a−c(以下、表示装置180と総称する。)を備える。   The image processing system 10 includes a plurality of imaging devices 100a-c (hereinafter collectively referred to as imaging devices 100) that image the monitoring target space 150, and a plurality of image processing devices 120a-c (hereinafter referred to as image processing devices) that process images. 120), an image processing device 170, a communication network 110, an image DB 175, and a plurality of display devices 180a-c (hereinafter collectively referred to as display device 180).

画像処理装置120aは、撮像装置100aに接続されている。また、画像処理装置120bは、撮像装置100bに接続されている。また、画像処理装置120cは、撮像装置100cに接続されている。なお、画像処理装置170および表示装置180は、監視対象空間150と異なる空間160に設けられている。   The image processing device 120a is connected to the imaging device 100a. Further, the image processing device 120b is connected to the imaging device 100b. Further, the image processing device 120c is connected to the imaging device 100c. Note that the image processing device 170 and the display device 180 are provided in a space 160 different from the monitoring target space 150.

以下に、撮像装置100a、画像処理装置120a、画像処理装置170、および表示装置180aの動作を説明する。撮像装置100aは、監視対象空間150を撮像して得られた撮像動画をMPEG符号化して撮像動画データを生成して、撮像装置100aが接続されている画像処理装置120aに出力する。   Hereinafter, operations of the imaging device 100a, the image processing device 120a, the image processing device 170, and the display device 180a will be described. The imaging apparatus 100a MPEG-encodes a captured moving image obtained by imaging the monitoring target space 150, generates captured moving image data, and outputs the captured moving image data to the image processing apparatus 120a to which the imaging apparatus 100a is connected.

具体的には、撮像装置100aは、撮像部102aおよび撮像動画圧縮部104aを有する。撮像部102aは、監視対象空間150を撮像することにより、撮像動画に含まれる複数の動画構成画像を生成する。なお、撮像部102aは、RAW形式の動画構成画像を生成してよい。撮像動画圧縮部104aは、撮像部102aにより生成されたRAW形式の動画構成画像を同時化して、同時化して得られた複数の動画構成画像を含む撮像動画をMPEG符号化等により圧縮することにより、撮像動画データを生成する。   Specifically, the imaging device 100a includes an imaging unit 102a and a captured moving image compression unit 104a. The imaging unit 102a generates a plurality of moving image constituent images included in the captured moving image by imaging the monitoring target space 150. Note that the imaging unit 102a may generate a RAW video structure image. The captured moving image compression unit 104a synchronizes the RAW format moving image configuration images generated by the imaging unit 102a, and compresses the captured moving image including a plurality of moving image configuration images obtained by the synchronization by MPEG encoding or the like. Then, imaged moving image data is generated.

画像処理装置120aは、撮像装置100aが生成した撮像動画データを取得する。画像処理装置120は、撮像装置100から取得した撮像動画データを復号して撮像動画を生成して、生成した撮像動画から人物130、車輌等の移動物体140等、特徴の種類が異なる複数の特徴領域を検出する。そして、画像処理装置120aは、撮像動画から、特徴の種類のそれぞれについて特徴領域が他の領域より高画質な動画を生成することによって、複数の特徴領域動画を生成する。また、画像処理装置120aは、特徴領域以外の背景領域の動画であって、特徴領域動画より低画質な背景領域動画を生成する。   The image processing device 120a acquires the captured moving image data generated by the imaging device 100a. The image processing device 120 decodes the captured moving image data acquired from the imaging device 100 to generate a captured moving image, and a plurality of features having different types of features such as a person 130 and a moving object 140 such as a vehicle from the generated captured moving image. Detect areas. Then, the image processing device 120a generates a plurality of feature area moving images by generating a moving image in which the characteristic region has a higher image quality than the other regions for each type of feature from the captured moving image. Further, the image processing apparatus 120a generates a background area moving image that is a moving image of a background area other than the characteristic area and has a lower image quality than the characteristic area moving image.

そして、画像処理装置120aは、生成した複数の特徴領域動画および背景領域動画をそれぞれ符号化することによって複数の特徴領域動画データおよび背景領域動画データを生成する。同時に、画像処理装置120aは、符号化して得られた複数の特徴領域動画データおよび背景領域動画データを互いに関連づけて、通信ネットワーク110を通じて画像処理装置170に送信する。   Then, the image processing device 120a generates a plurality of feature region moving image data and background region moving image data by encoding the generated plurality of feature region moving images and background region moving images, respectively. At the same time, the image processing device 120a associates a plurality of characteristic area moving image data and background region moving image data obtained by encoding with each other and transmits them to the image processing device 170 through the communication network 110.

画像処理装置170は、画像処理装置120aから受信した関連付けされた複数の特徴領域動画データおよび背景領域動画データをそれぞれ復号することによって、複数の特徴領域動画および背景領域動画を取得する。そして、画像処理装置170は、複数の特徴領域動画および背景領域動画を合成することによって一の合成動画を生成して、生成した合成動画を表示装置180aに供給する。表示装置180aは、画像処理装置170から供給された動画を表示する。   The image processing device 170 acquires a plurality of feature region moving images and a background region moving image by decoding the associated plurality of feature region moving image data and background region moving image data received from the image processing device 120a, respectively. Then, the image processing apparatus 170 generates a single combined moving image by combining the plurality of feature region moving images and the background region moving image, and supplies the generated combined moving image to the display device 180a. The display device 180a displays the moving image supplied from the image processing device 170.

なお、画像処理装置170は、生成した合成動画または画像処理装置120aから取得した撮像動画データを画像DB175に記録してもよい。そして、画像処理装置170は、画像DB175に記録された合成動画を、表示装置180aからの要求に応じて表示装置180aに供給してよい。また、画像処理装置170は、表示装置180aからの要求に応じて、画像DB175に記録された撮像動画データを上述したように復号して表示装置180aに供給してもよい。なお、画像DB175は、一例としてハードディスク等の不揮発性の記録媒体を有してよく、画像処理装置170から供給された合成動画を当該記録媒体に記録してよい。   Note that the image processing apparatus 170 may record the generated combined moving image or captured moving image data acquired from the image processing device 120a in the image DB 175. Then, the image processing device 170 may supply the composite moving image recorded in the image DB 175 to the display device 180a in response to a request from the display device 180a. Further, the image processing apparatus 170 may decode the captured moving image data recorded in the image DB 175 as described above and supply it to the display apparatus 180a in response to a request from the display apparatus 180a. Note that the image DB 175 may include a non-volatile recording medium such as a hard disk as an example, and may record the composite moving image supplied from the image processing apparatus 170 on the recording medium.

なお、撮像装置100bおよび撮像装置100cは、撮像部102aが有する構成要素と同様の機能を有する構成要素を有している。撮像装置100bおよび撮像装置100cの機能および動作は、それぞれ画像処理装置120bおよび画像処理装置120cに撮像動画データを提供することを除いて、撮像装置100aの機能および動作と同様であるので、その説明を省略する。なお、以下の説明では、撮像部102a〜cを撮像部102と総称する場合があり、撮像動画圧縮部104a〜cを撮像動画圧縮部104と総称する場合がある。   Note that the imaging device 100b and the imaging device 100c have components having the same functions as the components of the imaging unit 102a. The functions and operations of the image capturing apparatus 100b and the image capturing apparatus 100c are the same as the functions and operations of the image capturing apparatus 100a except for providing the captured moving image data to the image processing apparatus 120b and the image processing apparatus 120c, respectively. Is omitted. In the following description, the imaging units 102 a to 102 c may be collectively referred to as the imaging unit 102, and the captured moving image compression units 104 a to 104 c may be collectively referred to as the captured moving image compression unit 104.

また、画像処理装置120bおよび画像処理装置120cの機能および動作は、それぞれ撮像装置100bおよび撮像装置100cから撮像動画データを取得することを除いて、画像処理装置120aの機能および動作と同様であってよい。よって、その説明を省略する。また、画像処理装置170は、撮像装置100bおよび撮像装置100cのそれぞれから受信した関連付けされた複数の特徴領域動画データおよび背景領域動画データをから、一の動画をそれぞれ生成して、それぞれ表示装置180bおよび表示装置180cに供給する。また、表示装置180bおよび表示装置180cは、画像処理装置170から供給されたそれぞれの動画を表示する。   The functions and operations of the image processing device 120b and the image processing device 120c are the same as the functions and operations of the image processing device 120a, except that the captured moving image data is acquired from the imaging device 100b and the imaging device 100c, respectively. Good. Therefore, the description is omitted. Further, the image processing device 170 generates one moving image from the plurality of associated feature region moving image data and background region moving image data received from the imaging device 100b and the imaging device 100c, respectively, and displays each of the display devices 180b. And supplied to the display device 180c. In addition, the display device 180b and the display device 180c display each moving image supplied from the image processing device 170.

本実施形態の画像処理システム10を、例えば監視システムとして実際に適用した場合には、人物、移動物体等、監視対象として特徴的な被写体を高画質で残しことができる場合がある。そのうえ、動画のデータ量を低下することができる場合がある。   When the image processing system 10 of the present embodiment is actually applied as a monitoring system, for example, there may be a case where a subject that is characteristic as a monitoring target such as a person or a moving object can be left with high image quality. In addition, the amount of moving image data may be reduced.

図2は、画像処理装置120のブロック構成の一例を示す。画像処理装置120は、圧縮動画取得部201、圧縮動画伸張部202、特徴領域検出部203、画像分割部204、画像生成部205、固定値化ユニット210、低減化ユニット220、符号化ユニット230、対応付け処理部206、および出力部207を有する。   FIG. 2 shows an example of a block configuration of the image processing apparatus 120. The image processing apparatus 120 includes a compressed moving image acquisition unit 201, a compressed moving image decompression unit 202, a feature region detection unit 203, an image division unit 204, an image generation unit 205, a fixed value unit 210, a reduction unit 220, an encoding unit 230, An association processing unit 206 and an output unit 207 are included.

固定値化ユニット210は、複数の固定値化部211a−211c(以下、固定値化部211と総称する。)を含む。低減化ユニット220は、複数の画質低減部221a−d(以下、画質低減部221と総称する。)を含む。   Fixed value unit 210 includes a plurality of fixed value units 211a to 211c (hereinafter collectively referred to as fixed value unit 211). The reduction unit 220 includes a plurality of image quality reduction units 221a-d (hereinafter collectively referred to as image quality reduction units 221).

符号化ユニット230は、背景領域動画符号化部231aおよび複数の特徴領域動画符号化部231b−d(以下、特徴領域動画符号化部231と総称する。)を含む。なお、背景領域動画符号化部231aおよび特徴領域動画符号化部231b−dを総称して、符号化部231と呼ぶ場合がある。   The encoding unit 230 includes a background region moving image encoding unit 231a and a plurality of feature region moving image encoding units 231b-d (hereinafter collectively referred to as a feature region moving image encoding unit 231). The background area moving image encoding unit 231a and the feature area moving image encoding unit 231b-d may be collectively referred to as an encoding unit 231.

なお、画質低減部221aおよび背景領域動画符号化部231aは、圧縮部240aとして機能する。また、画質低減部221bおよび背景領域動画符号化部231bは、圧縮部240bとして機能する。同様に、画質低減部221cおよび背景領域動画符号化部231cは圧縮部240cとして機能する。画質低減部221dおよび背景領域動画符号化部231dは圧縮部240dとして機能する。なお、複数の圧縮部240a−dを、圧縮部240と総称する。   The image quality reduction unit 221a and the background area moving image encoding unit 231a function as the compression unit 240a. Further, the image quality reduction unit 221b and the background area moving image encoding unit 231b function as the compression unit 240b. Similarly, the image quality reduction unit 221c and the background area moving image encoding unit 231c function as the compression unit 240c. The image quality reduction unit 221d and the background area moving image encoding unit 231d function as a compression unit 240d. The plurality of compression units 240a-d are collectively referred to as the compression unit 240.

圧縮動画取得部201は、圧縮された動画を取得する。具体的には、圧縮動画取得部201は、撮像装置100が生成した、符号化された撮像動画データを取得する。圧縮動画伸張部202は、圧縮動画取得部201が取得した動画を復元して、動画に含まれる複数の動画構成画像を生成する。具体的には、圧縮動画伸張部202は、圧縮動画取得部201が取得した撮像動画データを復号して、動画に含まれる複数の動画構成画像を生成する。なお、動画構成画像はフレーム画像およびフィールド画像を含む。   The compressed moving image acquisition unit 201 acquires a compressed moving image. Specifically, the compressed moving image acquisition unit 201 acquires encoded captured moving image data generated by the imaging device 100. The compressed moving image decompression unit 202 restores the moving image acquired by the compressed moving image acquisition unit 201 and generates a plurality of moving image constituent images included in the moving image. Specifically, the compressed moving image decompression unit 202 decodes the captured moving image data acquired by the compressed moving image acquisition unit 201, and generates a plurality of moving image constituent images included in the moving image. The moving image composition image includes a frame image and a field image.

特徴領域検出部203は、動画に含まれる複数の動画構成画像から、特徴領域を検出する。そして、画像分割部204は、複数の動画構成画像のそれぞれを、特徴領域と背景領域とに分割する。   The feature region detection unit 203 detects a feature region from a plurality of moving image constituent images included in the moving image. Then, the image dividing unit 204 divides each of the plurality of moving image constituent images into a feature area and a background area.

画像生成部205は、複数の動画構成画像から特徴領域画像を抽出することにより、複数の特徴領域画像をそれぞれ含む複数の特徴領域圧縮用動画を生成する。具体的には、画像生成部205は、動画を複製することにより、複数の特徴領域動画のそれぞれを圧縮するための複数の特徴領域圧縮用動画および背景領域動画を圧縮するための背景領域圧縮用動画を生成する。   The image generation unit 205 generates a plurality of feature area compression moving images each including a plurality of feature area images by extracting feature area images from the plurality of moving image constituent images. Specifically, the image generation unit 205 reproduces a moving image to compress a plurality of feature region moving images and compress a plurality of feature region moving images and a background region moving image to compress a background region moving image. Generate a video.

そして、固定値化部211は、特徴領域圧縮用動画に含まれる複数の動画構成画像における特徴領域画像以外の領域の画素値を固定値化する。例えば、固定値化部211は、特徴領域画像以外の領域の画素値を所定の値(例えば、輝度値0)に設定する。そして、圧縮部240は、特徴領域画像以外の領域の画素値が固定値化された複数の動画構成画像をそれぞれ含む複数の特徴領域圧縮用画像を、それぞれの特徴量に応じた強度で圧縮する。このように、圧縮部240は、複数の特徴領域圧縮用動画のそれぞれと、背景領域圧縮用動画とを、それぞれの特徴量に応じた強度で圧縮する。   Then, the fixed value converting unit 211 converts the pixel values of regions other than the feature region image in the plurality of moving image constituent images included in the feature region compression moving image to a fixed value. For example, the fixed value unit 211 sets a pixel value of an area other than the feature area image to a predetermined value (for example, a luminance value of 0). Then, the compression unit 240 compresses a plurality of feature region compression images each including a plurality of moving image constituent images in which pixel values of regions other than the feature region image are fixed values with an intensity corresponding to each feature amount. . As described above, the compression unit 240 compresses each of the plurality of feature region compression moving images and the background region compression moving image with an intensity corresponding to each feature amount.

以上説明したように、特徴領域検出部203は、画像から特徴領域を検出する。そして、画像分割部204は、画像を、特徴領域と、特徴領域以外の背景領域とに分割する。そして、圧縮部240は、特徴領域の画像である特徴領域画像と背景領域の画像である背景領域画像とを、それぞれ異なる強度で圧縮する。そして、圧縮部240は、特徴領域画像を複数含む特徴領域動画と背景領域画像を複数含む背景領域動画とを、それぞれ異なる強度で圧縮する。   As described above, the feature region detection unit 203 detects a feature region from the image. Then, the image dividing unit 204 divides the image into a feature region and a background region other than the feature region. Then, the compression unit 240 compresses the feature area image that is the image of the feature area and the background area image that is the image of the background area with different strengths. Then, the compression unit 240 compresses the feature area moving image including a plurality of characteristic area images and the background area moving image including a plurality of background area images with different strengths.

なお、圧縮部240b、圧縮部240c、および圧縮部240dには、いずれの種類の特徴領域動画を圧縮すべきかが予め定められており、圧縮部240b、圧縮部240c、および圧縮部240dは予め定められた特徴の種類の特徴領域動画を圧縮する。なお、特徴領域動画を圧縮する場合の圧縮強度は、複数の特徴の種類ごとに予め定められており、圧縮部240b、圧縮部240c、および圧縮部240dは、予め定められた特徴の種類の特徴領域動画を、当該特徴の種類に予め定められた圧縮強度で圧縮する。このように、圧縮部240は、画像分割部204によって分割された画像領域ごとに設けられた圧縮器を用いて、複数の領域を並行して圧縮する。   Note that in the compression unit 240b, the compression unit 240c, and the compression unit 240d, it is determined in advance which type of feature area moving image should be compressed, and the compression unit 240b, the compression unit 240c, and the compression unit 240d are determined in advance. The feature region moving image of the specified feature type is compressed. Note that the compression strength in the case of compressing the feature region moving image is determined in advance for each of a plurality of feature types, and the compression unit 240b, the compression unit 240c, and the compression unit 240d are features of the predetermined feature types. The area moving image is compressed with a compression strength predetermined for the type of the feature. As described above, the compression unit 240 compresses a plurality of regions in parallel using the compressor provided for each image region divided by the image dividing unit 204.

なお、圧縮部240は、一つの圧縮器によって実装されてよく、複数の特徴領域動画および背景領域動画を時間的に順次圧縮してもよい。他にも、圧縮部240は、圧縮動画伸張部202によって復号された撮像動画を、画像分割部204が分割した領域ごとに、各領域の特徴の種類および背景のそれぞれに対して予め定められた圧縮率で圧縮することによって、一の動画データを生成してよい。   Note that the compression unit 240 may be implemented by a single compressor, and may sequentially compress a plurality of feature area videos and background area videos. In addition, the compression unit 240 is predetermined for each feature type and background of each region for each region obtained by dividing the captured moving image decoded by the compressed moving image decompression unit 202 by the image dividing unit 204. One video data may be generated by compressing at a compression rate.

なお、特徴領域検出部203は、画像である動画に含まれる複数の動画構成画像から、特徴の種類が異なる複数の特徴領域を検出する。そして、画像分割部204は、複数の動画構成画像を、複数の特徴領域のそれぞれと、複数の特徴領域以外の背景領域とに分割する。そして、圧縮部240は、複数の特徴領域動画と背景領域動画とを、それぞれの特徴量に応じた強度で圧縮する。なお、特徴量とは、被写体の種類、被写体の大きさ、移動物体が移動する移動速さ、および特徴領域の大きさを含む。   Note that the feature region detection unit 203 detects a plurality of feature regions having different types of features from a plurality of moving image constituent images included in a moving image that is an image. Then, the image dividing unit 204 divides the plurality of moving image constituent images into each of a plurality of feature areas and a background area other than the plurality of feature areas. Then, the compression unit 240 compresses the plurality of feature area moving images and the background area moving image with an intensity corresponding to each feature amount. The feature amount includes the type of subject, the size of the subject, the moving speed at which the moving object moves, and the size of the feature region.

具体的には、画質低減部221は、複数の特徴領域動画と背景領域動画とを、それぞれの特徴量に応じて画質を低減することにより圧縮する。より具体的には、画質低減部221は、複数の特徴領域動画と背景領域動画とを、それぞれの特徴量に応じて解像度またはフレームレートを低減することにより圧縮する。そして、符号化部231は、複数の特徴領域動画と背景領域動画とを、それぞれの特徴量に応じた設定値を用いて符号化することにより圧縮する。例えば、符号化部231は、複数の特徴領域動画と背景領域動画とを、それぞれの特徴量に応じた割り当て符号量を用いて符号化することにより圧縮する。   Specifically, the image quality reduction unit 221 compresses a plurality of feature area moving images and background area moving images by reducing the image quality according to each feature amount. More specifically, the image quality reduction unit 221 compresses a plurality of feature region moving images and background region moving images by reducing the resolution or frame rate according to each feature amount. Then, the encoding unit 231 compresses the plurality of feature area moving images and the background area moving image by encoding using setting values corresponding to the respective feature amounts. For example, the encoding unit 231 compresses a plurality of feature area moving images and background area moving images by encoding them using an assigned code amount corresponding to each feature amount.

対応付け処理部206は、複数の圧縮部240が複数の特徴領域動画および背景領域動画を圧縮することによって生成した複数の特徴領域動画データおよび背景領域動画データを、例えばタグ情報等を付帯する等して互いに対応づける。出力部207は、対応付け処理部206が対応づけた複数の特徴領域動画データおよび背景領域動画データを通信ネットワーク110に送出する。   The association processing unit 206 includes a plurality of feature region moving image data and background region moving image data generated by the compression units 240 compressing a plurality of feature region moving images and background region moving images, for example, with tag information and the like. And correspond to each other. The output unit 207 sends the plurality of feature area moving image data and background area moving image data associated by the association processing unit 206 to the communication network 110.

なお、本図の構成では、画像処理装置120が有する複数の圧縮部240のそれぞれが複数の特徴領域の画像および背景領域の画像をそれぞれ圧縮したが、他の構成では、画像処理装置120は一の圧縮部240を有してよく、一の圧縮部240が、複数の特徴領域の画像および背景領域の画像をそれぞれ異なる強度で圧縮してよい。例えば、複数の特徴領域の画像および背景領域の画像が一の圧縮部240に時分割で順次供給され、一の圧縮部240が、複数の特徴領域の画像および背景領域の画像をそれぞれ異なる強度で順次圧縮してよい。   In the configuration of this figure, each of the plurality of compression units 240 included in the image processing device 120 compresses each of the plurality of feature region images and the background region image. , And one compression unit 240 may compress the images of the plurality of characteristic regions and the images of the background region with different strengths. For example, a plurality of feature region images and a background region image are sequentially supplied to one compression unit 240 in a time-sharing manner, and the one compression unit 240 converts the plurality of feature region images and the background region image with different intensities. You may compress sequentially.

他にも、一の圧縮部240は、複数の特徴領域の画像情報および背景領域の画像情報を異なる量子化係数でそれぞれ量子化することによって、複数の特徴領域の画像および背景領域の画像をそれぞれ異なる強度で圧縮してよい。また、複数の特徴領域の画像および背景領域の画像がそれぞれ異なる画質の画像に変換された画像が一の圧縮部240に供給され、供給された複数の特徴領域の画像および背景領域の画像を一の圧縮部240がそれぞれ圧縮してよい。   In addition, the one compression unit 240 quantizes the image information of the plurality of feature regions and the image information of the background region with different quantization coefficients, respectively, thereby respectively converting the images of the plurality of feature regions and the images of the background region. It may be compressed with different strengths. In addition, an image obtained by converting a plurality of feature region images and a background region image into images of different image quality is supplied to one compression unit 240, and the supplied plurality of feature region images and background region images are combined into one image. The compression units 240 may compress each.

また、上記のように一の圧縮部240が領域毎に異なる量子化係数で量子化したり、領域毎に異なる画質に変換された画像を一の圧縮部240が圧縮する形態では、一の圧縮部240は、一の画像を圧縮してもよく、本図で説明したように画像分割部204によって分割された画像をそれぞれ圧縮してもよい。なお、一の圧縮部240が一の画像を圧縮する場合には、画像分割部204による分割処理および固定値化部211による固定値化処理はなされなくてよいので、画像処理装置120は、画像分割部204および固定値化ユニット210を有しなくてよい。   In the form in which one compression unit 240 quantizes with a different quantization coefficient for each region as described above, or one compression unit 240 compresses an image converted into a different image quality for each region, one compression unit 240 240 may compress one image, or may compress each of the images divided by the image dividing unit 204 as described with reference to FIG. Note that when one compression unit 240 compresses one image, the division processing by the image division unit 204 and the fixed value processing by the fixed value conversion unit 211 do not have to be performed. The dividing unit 204 and the fixed value unit 210 may not be provided.

図3は、画像処理装置170のブロック構成の一例を示す。画像処理装置170は、圧縮動画取得部301、対応付け解析部302、圧縮動画伸張ユニット310、合成部303、および出力部304を有する。圧縮動画伸張ユニット310は、複数の圧縮動画伸張部311a−d(以下、圧縮動画伸張部311と総称する。)を含む。   FIG. 3 shows an example of a block configuration of the image processing apparatus 170. The image processing apparatus 170 includes a compressed moving image acquisition unit 301, an association analysis unit 302, a compressed moving image decompression unit 310, a composition unit 303, and an output unit 304. The compressed moving image expansion unit 310 includes a plurality of compressed moving image expansion units 311a-d (hereinafter collectively referred to as a compressed moving image expansion unit 311).

圧縮動画取得部301は、出力部207が出力した、対応づけられた複数の特徴領域動画データおよび背景領域動画データを取得する。対応付け解析部302は、例えば付帯されたタグ情報を解析して、圧縮動画取得部301が取得した対応づけられた複数の特徴領域動画データおよび背景領域動画データを取り出す。   The compressed moving image acquisition unit 301 acquires a plurality of associated feature region moving image data and background region moving image data output from the output unit 207. The association analysis unit 302 analyzes, for example, attached tag information, and extracts a plurality of associated feature region movie data and background region movie data acquired by the compressed movie acquisition unit 301.

圧縮動画伸張部311は、複数の特徴領域動画データおよび背景領域動画データを復号する。具体的には、圧縮動画伸張部311aは背景領域動画データを復号する。また、圧縮動画伸張部311b−dは、複数の特徴領域動画データのうち、一の特徴領域動画を復号して、複数の特徴領域動画および背景領域動画を取得する。なお、圧縮動画伸張部311b−dは、特徴の種類ごとに設けられ、それぞれ、いずれかの種類の特徴領域動画データを復号する。   The compressed moving image decompression unit 311 decodes the plurality of characteristic area moving image data and background area moving image data. Specifically, the compressed moving image decompression unit 311a decodes the background area moving image data. In addition, the compressed moving image decompression unit 311b-d decodes one feature region moving image out of the plurality of feature region moving image data, and acquires a plurality of feature region moving images and a background region moving image. Note that the compressed moving image decompression unit 311b-d is provided for each type of feature, and decodes any type of feature region moving image data.

合成部303は、圧縮動画伸張部311が復号することによって得られた動画構成画像を合成する。具体的には、合成部303は、圧縮動画伸張部311b−dにより復号された複数の特徴領域動画のそれぞれが含む動画構成画像の特徴領域の画像を、背景領域動画が含む動画構成画像に重ね合わせた動画構成画像を生成する。出力部304は、合成部303が生成した複数の動画構成画像を含む動画を、表示装置180に供給する。なお、出力部304は、合成部303が生成した複数の動画構成画像を含む動画を、画像DB175に記録してもよい。なお、画像処理装置170は、出力部207から対応づけられて出力された複数の特徴領域動画データおよび背景領域動画データを、画像DB175に記録してよい。この場合、圧縮動画取得部301は、画像DB175に記録されている、対応づけられた複数の特徴領域動画データおよび背景領域動画データを取得してもよい。   The synthesizing unit 303 synthesizes the moving image constituent images obtained by the compressed moving image decompressing unit 311 decoding. Specifically, the synthesizing unit 303 superimposes the feature region images of the moving image constituent images included in each of the plurality of feature region moving images decoded by the compressed moving image decompression unit 311b-d on the moving image constituent images included in the background region moving image. A combined moving image composition image is generated. The output unit 304 supplies a moving image including a plurality of moving image constituent images generated by the combining unit 303 to the display device 180. Note that the output unit 304 may record a moving image including a plurality of moving image constituent images generated by the combining unit 303 in the image DB 175. Note that the image processing apparatus 170 may record a plurality of feature area moving image data and background area moving image data output in association with each other from the output unit 207 in the image DB 175. In this case, the compressed moving image acquisition unit 301 may acquire a plurality of associated feature region moving image data and background region moving image data recorded in the image DB 175.

なお、本実施形態の圧縮動画伸張ユニット310は、特徴の種類の数に応じた複数の圧縮動画伸張部311を含むが、他の形態では、圧縮動画伸張ユニット310が含む一の圧縮動画伸張部311が、背景領域動画データおよび複数の特徴領域動画データを順次復号してもよい。また、画像処理装置120から一の動画データとして提供される場合には、一の圧縮動画伸張部311が当該一の動画データを復号して、復号した得られた動画を出力部304が出力してもよい。   Note that the compressed video decompression unit 310 of the present embodiment includes a plurality of compressed video decompression units 311 corresponding to the number of feature types, but in another form, one compressed video decompression unit included in the compressed video decompression unit 310. 311 may sequentially decode the background area moving image data and the plurality of characteristic area moving image data. In addition, when provided as one moving image data from the image processing device 120, one compressed moving image decompression unit 311 decodes the one moving image data, and the output unit 304 outputs the decoded moving image. May be.

図4は、画像処理装置120の処理フローの一例を示す。圧縮動画取得部201が撮像動画データを取得(401)。圧縮動画伸張部202は、撮像動画データを復号することによって複数のフレーム画像410を生成する。特徴領域検出部203は、フレーム画像410の画像内容又は複数のフレーム画像410の画像内容に基づいて、特徴領域の一例であるROI(Region of interest)を検出する(402)。   FIG. 4 shows an example of the processing flow of the image processing apparatus 120. The compressed moving image acquisition unit 201 acquires captured moving image data (401). The compressed moving image decompression unit 202 generates a plurality of frame images 410 by decoding the captured moving image data. The feature region detection unit 203 detects a region of interest (ROI) that is an example of a feature region based on the image content of the frame image 410 or the image content of the plurality of frame images 410 (402).

特徴領域検出部203は、人物の顔、人体、および移動物体を含む領域を、異なる種類のROIとして検出する。例えば、特徴領域検出部203は、予め定められた人物の顔に関するパターンに対する一致度が、予め定められた一致度より大きいオブジェクトを含む領域をパターンマッチング等により検出して、検出した顔領域をROIとする。また、特徴領域検出部203は、人物の体に関するパターンに対する一致度が予め定められた一致度より大きいオブジェクトを含む人体領域をパターンマッチング等により検出して、検出した領域をROIとする。なお、特徴領域検出部203は、顔領域の近傍に存在する領域から人体領域を検出してもよい。   The feature region detection unit 203 detects regions including human faces, human bodies, and moving objects as different types of ROIs. For example, the feature area detection unit 203 detects, by pattern matching or the like, an area including an object having a degree of coincidence with a pattern related to a predetermined person's face that is greater than a predetermined degree of coincidence, and detects the detected face area as an ROI. And Further, the feature region detection unit 203 detects a human body region including an object having a matching degree with respect to a pattern related to a human body greater than a predetermined matching degree by pattern matching or the like, and sets the detected region as an ROI. Note that the feature region detection unit 203 may detect a human body region from a region existing in the vicinity of the face region.

また、特徴領域検出部203は、複数のフレーム画像の画像内容に基づいて、移動物体を含む領域である動領域を特定する。例えば、他のフレーム画像との間で画素値の変化量が予め定められた変化量より大きい領域を、動領域として特定する。他にも、特徴領域検出部203は、エッジ抽出等により複数のフレーム画像のそれぞれに含まれるオブジェクトを抽出する。そして、特徴領域検出部203は、他のフレーム画像の異なる位置に含まれるオブジェクトであって、予め定められた一致度より大きい一致度で一致するオブジェクトを特定して、特定したオブジェクトを含む領域を動領域として特定してもよい。   In addition, the feature region detection unit 203 identifies a moving region that is a region including a moving object based on the image contents of a plurality of frame images. For example, an area in which the amount of change in pixel value with respect to another frame image is larger than a predetermined amount of change is specified as a moving area. In addition, the feature region detection unit 203 extracts objects included in each of the plurality of frame images by edge extraction or the like. Then, the feature region detection unit 203 identifies objects that are included in different positions of other frame images and that match with a degree of coincidence that is greater than a predetermined degree of coincidence, and includes an area that includes the identified object. It may be specified as a moving area.

このように、特徴領域検出部203は、予め定められた画像内容に関する条件に適合する領域を、ROIとして検出する。より具体的には、特徴領域検出部203は、予め定められた条件に適合するオブジェクトを含む領域を、ROIとして検出する。例えば、特徴領域検出部203は、予め定められた形状との間の一致度が予め定められた一致度より大きいオブジェクトを含む領域を、ROIとして検出する。また、特徴領域検出部203は、画像の変化量が予め定められた変化量より大きい領域を、ROIとして検出する。例えば、他のフレーム画像との間で画素値の変化量が予め定められた変化量より大きい領域をROIとして検出する。   As described above, the feature region detection unit 203 detects a region that meets a predetermined condition relating to image content as an ROI. More specifically, the feature area detection unit 203 detects an area including an object that meets a predetermined condition as an ROI. For example, the feature area detection unit 203 detects, as an ROI, an area that includes an object having a degree of coincidence with a predetermined shape that is greater than a predetermined degree of coincidence. Further, the feature area detection unit 203 detects an area where the change amount of the image is larger than the predetermined change amount as the ROI. For example, an area where the change amount of the pixel value between other frame images is larger than a predetermined change amount is detected as the ROI.

なお、特徴領域検出部203は、上記の人物の顔、人体の他に、人物の頭部の一部の部位または人物の手等の人体の一部の部位、あるいは人体以外の生体の少なくとも一部の部位が撮像されている領域を、ROIとして検出することができる。なお、生体とは、生体内部の腫瘍組織または血管等のように、生体の内部に存在する特定の組織を含む。他にも、特徴領域検出部203は、生体の他にも、貨幣、キャッシュカード等のカード、車輌、あるいは車両のナンバープレートが撮像された領域をROIとして検出してよい。   In addition to the above-described human face and human body, the feature region detection unit 203 includes at least one part of the human head such as a part of the head of the person, a part of the human body such as the hand of the person, or a living body other than the human body. An area where a part of the part is imaged can be detected as an ROI. The living body includes a specific tissue existing inside the living body such as a tumor tissue or a blood vessel inside the living body. In addition to the living body, the feature region detection unit 203 may detect a region where a card such as money, a cash card, a vehicle, or a license plate of the vehicle is captured as an ROI.

また、特徴領域検出部203は、テンプレートマッチング等によるパターンマッチングの他にも、例えば特開2007−188419号公報に記載された機械学習(例えば、アダブースト)等による学習結果に基づいて、ROIを検出することもできる。例えば、予め定められた被写体の画像から抽出された画像特徴量と、予め定められた被写体以外の被写体の画像から抽出された画像特徴量とを用いて、予め定められた被写体の画像から抽出された画像特徴量の特徴を学習する。そして、特徴領域検出部203は、当該学習された特徴に適合する特徴を有する画像特徴量が抽出された領域を、ROIとして検出してよい。これにより特徴領域検出部203は、予め定められた被写体が撮像されている領域をROIとして検出することができる。なお、特徴領域検出部203は、矩形を含む任意の形状を有するROIを検出してよい。   In addition to pattern matching by template matching or the like, the feature region detection unit 203 detects ROI based on a learning result by machine learning (for example, Adaboost) described in, for example, Japanese Patent Application Laid-Open No. 2007-188419. You can also For example, an image feature amount extracted from a predetermined subject image and an image feature amount extracted from a subject image other than the predetermined subject are extracted from the predetermined subject image. Learn the features of the image features. Then, the feature region detection unit 203 may detect, as an ROI, a region from which an image feature amount having a feature that matches the learned feature is extracted. Thereby, the feature region detection unit 203 can detect a region where a predetermined subject is imaged as an ROI. Note that the feature region detection unit 203 may detect an ROI having an arbitrary shape including a rectangle.

なお、特徴領域検出部203は、特願2008−078641号に記載された方法で特徴領域を検出してよい。例えば、特徴領域検出部203は、オブジェクト検出対象の撮像画像を所定比率で間引くことにより、または当該所定比率で段階的に間引くことより、撮像画像と一枚以上の間引画像とを含む画像群を生成する。そして、特徴領域検出部203は、生成された画像群のうちの相対的に小さい第1の画像に、第1のフィルタを作用させて、評価値を算出する。ここで、第1のフィルタは、画像上の二次元的に広がる領域に作用することで、当該領域内に特定種類のオブジェクトが存在する確率を表わす評価値を生成する。また、第1のフィルタは、画像上の領域の広さに対応する画素数が所定比率で異なる、または当該所定比率で段階的に異なる、複数の広さの領域にそれぞれ作用する複数のフィルタを含むフィルタ群のうちの、相対的に狭い領域に作用するフィルタであってよい。特徴領域検出部203は、所定の第1の閾値を越える評価値が得られた一次候補領域を、第1の画像から抽出する。   Note that the feature region detection unit 203 may detect a feature region by the method described in Japanese Patent Application No. 2008-078641. For example, the feature region detection unit 203 includes an image group including a captured image and one or more thinned images by thinning out the captured image of the object detection target at a predetermined ratio, or by thinning out in stages at the predetermined ratio. Is generated. Then, the feature region detection unit 203 calculates the evaluation value by applying the first filter to the relatively small first image in the generated image group. Here, the first filter acts on a two-dimensionally expanding region on the image, thereby generating an evaluation value representing the probability that a specific type of object exists in the region. In addition, the first filter includes a plurality of filters each acting on a plurality of areas having different numbers of pixels corresponding to the area of the area on the image or different in stages at the predetermined ratio. It may be a filter that acts on a relatively narrow region of the filter group that includes the filter group. The feature area detection unit 203 extracts a primary candidate area from which an evaluation value exceeding a predetermined first threshold is obtained from the first image.

そして、特徴領域検出部203は、第1の画像よりも画素数が一段階多い第2の画像における一次候補領域に相当する領域に、フィルタ群のうちの第1のフィルタよりも一段階広い領域に作用する第2のフィルタを作用させて、評価値を算出する。そして、特徴領域検出部203は、所定の第2の閾値を越える評価値が得られる二次候補領域を抽出する。   Then, the feature region detection unit 203 is a region that is one step wider than the first filter in the filter group in a region corresponding to the primary candidate region in the second image that has one more pixel number than the first image. The evaluation value is calculated by applying the second filter that operates on the. Then, the feature region detection unit 203 extracts secondary candidate regions from which an evaluation value exceeding a predetermined second threshold value can be obtained.

ここで、特徴領域検出部203は、上述の異なる広さの領域に作用する複数のフィルタを画像群のうちの対応する広さの領域に作用させて上記候補領域を抽出する抽出過程を繰り返していく。このとき、特徴領域検出部203は、相対的に狭い領域に作用するフィルタを作用させる抽出過程から、相対的に広い領域に作用するフィルタを作用させる抽出過程を、順次に繰り返していく。具体的には、特徴領域検出部203は、相対的に小さい画像に相対的に狭い領域に作用するフィルタを作用させる抽出過程から相対的に大きな画像に相対的に広い領域に作用するフィルタを作用させる抽出過程に向けて順次に繰り返す。そして、特徴領域検出部203は、2以上の抽出過程を繰り返して最終的に候補領域を抽出することにより、特定種類のオブジェクトを検出する。そして、特徴領域検出部203は、当該特定種類のオブジェクトが存在する領域を、特徴領域として検出する。このように、特徴領域検出部203は、後の抽出過程においては、直前の過程で抽出された領域に限定してフィルタを作用させる。このため、複数の各抽出過程において順次にオブジェクトの存在の有無が選別されていき、特徴領域をより高精度に検出することができる。また、小さいサイズの画像で特徴領域の粗ぶるいが行なわれるので、より高速に特徴領域を検出することができる。   Here, the feature region detection unit 203 repeats the extraction process of extracting the candidate region by applying the plurality of filters that operate on the regions having different widths to the corresponding region of the image group. Go. At this time, the feature region detection unit 203 sequentially repeats an extraction process that operates a filter that operates on a relatively narrow area, and an extraction process that operates a filter that operates on a relatively wide area. Specifically, the feature region detection unit 203 operates a filter that operates on a relatively large image on a relatively large image from an extraction process that operates on a relatively small image on a relatively small image. Repeat sequentially for the extraction process. Then, the feature region detection unit 203 detects a specific type of object by repeating two or more extraction processes and finally extracting candidate regions. Then, the feature region detection unit 203 detects a region where the specific type of object exists as a feature region. As described above, the feature region detection unit 203 causes the filter to be limited to the region extracted in the immediately preceding process in the subsequent extraction process. Therefore, the presence / absence of the object is sequentially selected in each of the plurality of extraction processes, and the feature region can be detected with higher accuracy. In addition, since the feature area is roughly screened with a small-sized image, the feature area can be detected at a higher speed.

また、特徴領域検出部203は、特願2008−078636号に記載された方法で特徴領域を検出してよい。例えば、特徴領域検出部203は、撮像画像との二次元的に広がる所定の広さの領域に作用し特定種類のオブジェクトの輪郭および内部のうちの互いに異なるいずれかの特徴量を算出する複数のフィルタを用いて、特徴領域を検出する。具体的には、特徴領域検出部203は、当該複数のフィルタを、オブジェクト検出対象の撮像画像上の所定の広さの領域にそれぞれ作用させることにより、複数の特徴量を算出する。ここで、当該複数のフィルタには、複数のフィルタそれぞれにより算出される各特徴量と特定種類のオブジェクトである確率を表わす一次評価値との対応関係が対応づけられている。特徴領域検出部203は、当該対応関係に基づいて、算出した各特徴量に対応する各一次評価値を求める。そして、特徴領域検出部203は、複数のフィルタに対応する複数の一次評価値を総合することにより、当該領域に特定種類のオブジェクトが存在する確率を表わす二次評価値を求める。そして、特徴領域検出部203は、二次評価値と閾値とを比較して、該閾値を越えて特定種類のオブジェクトが存在する確率が高い領域を抽出する。これにより、特徴領域検出部203は、当該領域を、特定種類のオブジェクトが存在する特徴領域として検出する。このように、特徴領域検出部203は、オブジェクトの輪郭・内部の様々な特徴を表わす特徴量を抽出する複数のフィルタを組み合わせることにより、例えば輪郭の形状だけによる抽出と比べて、高精度に特徴領域を抽出することができる。   The feature region detection unit 203 may detect the feature region by a method described in Japanese Patent Application No. 2008-078636. For example, the feature region detection unit 203 operates on a region of a predetermined area that spreads two-dimensionally with the captured image, and calculates a plurality of feature amounts that are different from each other among the contour and the inside of a specific type of object. A feature region is detected using a filter. Specifically, the feature region detection unit 203 calculates a plurality of feature amounts by causing the plurality of filters to act on regions of a predetermined area on the captured image that is the object detection target. Here, a correspondence relationship between each feature amount calculated by each of the plurality of filters and a primary evaluation value representing the probability of being a specific type of object is associated with the plurality of filters. The feature region detection unit 203 obtains each primary evaluation value corresponding to each calculated feature amount based on the correspondence relationship. Then, the feature area detection unit 203 obtains a secondary evaluation value representing the probability that a specific type of object exists in the area by integrating a plurality of primary evaluation values corresponding to the plurality of filters. Then, the feature region detection unit 203 compares the secondary evaluation value with a threshold value, and extracts a region with a high probability that a specific type of object exists beyond the threshold value. Thereby, the feature region detection unit 203 detects the region as a feature region where a specific type of object exists. As described above, the feature region detection unit 203 combines a plurality of filters that extract feature amounts representing various features inside and inside the object outline, so that, for example, the feature area detection unit 203 has higher accuracy than the extraction based only on the outline shape. Regions can be extracted.

なお、特徴領域検出部203は、特願2008−078636号に記載された方法と、特願2008−078641号に記載された方法とを組み合わせた方法により、特徴領域を検出してよい。具体的には、特願2008−078636号に記載された方法に関連して説明した上記の複数のフィルタは、画素数が所定比率で異なる、または所定比率で段階的に異なる、複数の広さの領域にそれぞれ作用する、1つの広さごとに複数のフィルタを含んでよい。各フィルタのそれぞれは、当該各フィルタそれぞれに応じた上記対応関係に対応づけられてよい。そして、特徴領域検出部203は、オブジェクト検出対象の撮像画像を所定比率で間引くことにより、または所定比率で段階的に間引くことにより、撮像画像と一枚以上の間引画像とを含む画像群を生成する。そして、特徴領域検出部203は、画像群のうちの相対的に小さい第1の画像に相対的に狭い領域に作用する複数の第1のフィルタを作用させることで複数の特徴量を算出する。そして、特徴領域検出部203は、該複数の第1のフィルタそれぞれに対応する対応関係に基づいて、算出した各特徴量に対応する各一次評価値を求める。そして、特徴領域検出部203は、複数の一次評価値を総合することにより、当該領域に特定種類のオブジェクトが存在する確率を表わす二次評価値を求める。そして、特徴領域検出部203は、求められた二次評価値と第1の閾値とを比較して該第1の閾値を越えて特定種類のオブジェクトが存在する確率が高い一次候補領域を抽出する。   The feature region detection unit 203 may detect the feature region by a method in which the method described in Japanese Patent Application No. 2008-078636 and the method described in Japanese Patent Application No. 2008-078641 are combined. Specifically, the plurality of filters described in relation to the method described in Japanese Patent Application No. 2008-078636 have a plurality of areas in which the number of pixels is different at a predetermined ratio or stepwise at a predetermined ratio. A plurality of filters may be included for each area, each acting on each of the regions. Each of the filters may be associated with the correspondence relationship corresponding to each of the filters. Then, the feature area detection unit 203 thins out the captured image of the object detection target at a predetermined ratio, or thins out the image at a predetermined ratio step by step, thereby obtaining an image group including the captured image and one or more thinned images. Generate. The feature region detection unit 203 calculates a plurality of feature amounts by applying a plurality of first filters that act on a relatively narrow region to a relatively small first image in the image group. Then, the feature area detection unit 203 obtains each primary evaluation value corresponding to each calculated feature amount based on the correspondence relationship corresponding to each of the plurality of first filters. Then, the feature area detection unit 203 obtains a secondary evaluation value representing the probability that a specific type of object exists in the area by integrating a plurality of primary evaluation values. Then, the feature region detection unit 203 compares the obtained secondary evaluation value with the first threshold value, and extracts a primary candidate region that has a high probability that a specific type of object exists beyond the first threshold value. .

また、特徴領域検出部203は、上記画像群のうちの第1の画像よりも画素数が一段階多い第2の画像の、一次候補領域に相当する領域に複数の第1のフィルタよりも一段広い領域に作用する複数の第2のフィルタを作用させることで、複数の特徴量を算出する。そして、特徴領域検出部203は、当該複数の第2のフィルタそれぞれに対応する対応関係に基づいて、算出した各特徴量に対応する各一次評価値を求める。そして、特徴領域検出部203は、複数の第2のフィルタに対応する複数の一次評価値を総合することにより、当該一次候補領域に相当する領域に特定種類のオブジェクトが存在する確率を表わす二次評価値を求める。そして、特徴領域検出部203は、求められた二次評価値と第2の閾値とを比較して第2の閾値を越えて特定種類のオブジェクトが存在する確率が高い二次候補領域を抽出する。   In addition, the feature region detection unit 203 has one stage higher than the plurality of first filters in the region corresponding to the primary candidate region of the second image having one step higher number of pixels than the first image in the image group. A plurality of feature amounts are calculated by applying a plurality of second filters that operate over a wide area. Then, the feature region detection unit 203 obtains each primary evaluation value corresponding to each calculated feature amount based on the correspondence relationship corresponding to each of the plurality of second filters. Then, the feature region detection unit 203 integrates a plurality of primary evaluation values corresponding to the plurality of second filters, and thereby represents a probability that a specific type of object exists in the region corresponding to the primary candidate region. Obtain an evaluation value. Then, the feature region detection unit 203 compares the obtained secondary evaluation value with the second threshold value, and extracts a secondary candidate region that has a high probability that a specific type of object exists beyond the second threshold value. .

ここで、特徴領域検出部203は、上述の異なる広さの領域に作用する複数のフィルタを画像群のうちの対応する広さの領域に作用させて上記候補領域を抽出する抽出過程を繰り返していく。このとき、特徴領域検出部203は、相対的に狭い領域に作用するフィルタを作用させる抽出過程から、相対的に広い領域に作用するフィルタを作用させる抽出過程を、順次に繰り返していく。具体的には、特徴領域検出部203は、相対的に小さい画像に相対的に狭い領域に作用するフィルタを作用させる抽出過程から相対的に大きな画像に相対的に広い領域に作用するフィルタを作用させる抽出過程に向けて順次に繰り返す。そして、特徴領域検出部203は、2以上の抽出過程を繰り返して最終的に候補領域を抽出することにより、特定種類のオブジェクトを検出する。そして、特徴領域検出部203は、当該特定種類のオブジェクトが存在する領域を、特徴領域として検出する。   Here, the feature region detection unit 203 repeats the extraction process of extracting the candidate region by applying the plurality of filters that operate on the regions having different widths to the corresponding region of the image group. Go. At this time, the feature region detection unit 203 sequentially repeats an extraction process that operates a filter that operates on a relatively narrow area, and an extraction process that operates a filter that operates on a relatively wide area. Specifically, the feature region detection unit 203 operates a filter that operates on a relatively large image on a relatively large image from an extraction process that operates on a relatively small image on a relatively small image. Repeat sequentially for the extraction process. Then, the feature region detection unit 203 detects a specific type of object by repeating two or more extraction processes and finally extracting candidate regions. Then, the feature region detection unit 203 detects a region where the specific type of object exists as a feature region.

また、特徴領域検出部203は、特願2008−098600号に記載された方法で特徴領域を検出してよい。例えば、特徴領域検出部203は、複数の撮像装置100により撮像された動画に含まれる複数の撮像画像から、特徴領域を検出する。一例として、撮像装置100aおよび撮像装置100bは、互いに同一のシーンを撮影しているものとする。例えば、撮像装置100aおよび撮像装置100bは、ステレオカメラとして機能することができる。また、以下の説明では、撮像装置100aが撮像した第1の撮像画像と、撮像装置100bが撮像した第2の撮像画像とを、ペア画像と呼ぶ。特徴領域検出部203は、ペア画像から、該ペア画像に写し出された特定種類のオブジェクトを検出して、検出した特定種類のオブジェクトの領域を、特徴領域として検出する。   The feature region detection unit 203 may detect the feature region by the method described in Japanese Patent Application No. 2008-098600. For example, the feature region detection unit 203 detects a feature region from a plurality of captured images included in moving images captured by the plurality of imaging devices 100. As an example, it is assumed that the imaging device 100a and the imaging device 100b capture the same scene. For example, the imaging device 100a and the imaging device 100b can function as a stereo camera. In the following description, the first captured image captured by the image capturing apparatus 100a and the second captured image captured by the image capturing apparatus 100b are referred to as a pair image. The feature region detection unit 203 detects a specific type of object that is projected on the pair image from the pair image, and detects the detected region of the specific type of object as a feature region.

特徴領域検出部203は、ペア画像とみなされる第1および第2の各撮像画像について、各撮像画像上において、特定種類のオブジェクトが写し込まれた領域を抽出する。ここでは、特徴領域検出部203は、特定種類のオブジェクトが写し込まれた領域を、粗い検出精度で検出してよい。そして、特徴領域検出部203は、抽出した第1の撮像画像上の領域と第2の撮像画像上の領域の中から、互いに対応する領域のペアを検出することにより、特定種類のオブジェクトを検出する。例えば、特徴領域検出部203は、当該ペアの領域の画像から、当該領域に写し込まれた被写体までの距離を算出する。特徴領域検出部203は、被写体までの距離に基づく被写体の3次元形状に基づいて、特定種類のオブジェクトを検出することができる。   For each of the first and second captured images regarded as a pair image, the feature region detection unit 203 extracts a region in which a specific type of object is imprinted on each captured image. Here, the feature area detection unit 203 may detect an area in which a specific type of object is imprinted with rough detection accuracy. The feature region detection unit 203 detects a specific type of object by detecting a pair of regions corresponding to each other from the extracted region on the first captured image and the region on the second captured image. To do. For example, the feature area detection unit 203 calculates the distance from the image of the paired area to the subject imaged in the area. The feature area detection unit 203 can detect a specific type of object based on the three-dimensional shape of the subject based on the distance to the subject.

ここで、特徴領域検出部203は、互いに対応する領域のペアを検出する場合に、ペア画像とみなされる第1および第2の撮像画像から検出した、特定種類のオブジェクトが写し込まれた領域を、複数のサブ領域に分ける。そして、特徴領域検出部203は、各サブ領域に写し出された部分画像を特徴づける特徴量の、複数のサブ領域に渡るベクトルを算出する。ここで、特徴量としては、画素値を例示することができる。また、複数のサブ領域に渡るベクトルとしては、勾配ベクトル(例えば、画素値勾配ベクトル)を例示することができる。そして、特徴領域検出部203は、算出された第1の画像上の領域のベクトルと第2の画像上のベクトルとの間の論理上の距離を算出する。特徴領域検出部203は、論理上の距離が予め定められた値より小さい領域のペアを、互いに対応する領域のペアとして検出する。なお、上記論理上の距離としては、ベクトルを形成する各成分どうしの差に対する二乗和の平方根を例示することができる。このようにして、特徴領域検出部203は、ペア画像から対応する領域のペアを高精度で抽出することができるので、被写体までの距離を高精度で算出することができる。したがって、特徴領域検出部203は、被写体の3次元形状を高精度で認識することができ、その結果、特定種類のオブジェクトをより高精度で検出することができる。   Here, when detecting a pair of regions corresponding to each other, the feature region detection unit 203 detects a region in which a specific type of object detected from the first and second captured images considered as a pair image is imprinted. Divide into multiple sub-regions. Then, the feature region detection unit 203 calculates a vector over a plurality of subregions of the feature amount characterizing the partial image projected in each subregion. Here, as the feature amount, a pixel value can be exemplified. Moreover, as a vector over a plurality of sub-regions, a gradient vector (for example, a pixel value gradient vector) can be exemplified. Then, the feature area detection unit 203 calculates a logical distance between the calculated area vector on the first image and the vector on the second image. The feature region detection unit 203 detects a pair of regions whose logical distance is smaller than a predetermined value as a pair of regions corresponding to each other. As the logical distance, the square root of the sum of squares with respect to the difference between the components forming the vector can be exemplified. In this way, the feature region detection unit 203 can extract a pair of corresponding regions from the pair image with high accuracy, and thus can calculate the distance to the subject with high accuracy. Therefore, the feature region detection unit 203 can recognize the three-dimensional shape of the subject with high accuracy, and as a result, can detect a specific type of object with higher accuracy.

また、特徴領域検出部203は、特願2008−091562号に記載された方法で特徴領域を検出してよい。例えば、特徴領域検出部203は、動画に含まれる複数の撮像画像のそれぞれから、特定種類の被写体に類似した類被写体形状を、当該類被写体形状の寸法と当該撮像装置100の画角上の位置情報とを伴って抽出する。画角上の位置情報としては、撮像画像における画像領域上の位置を例示することができる。そして、特徴領域検出部203は、抽出した類被写体形状の被写体が特定種類の被写体であるか否かを判定して該特定種類の被写体を抽出する。例えば、特徴領域検出部203は、類被写体形状の被写体の周囲の予め定められたサーチ領域から、同一寸法に分類された類被写体形状の被写体が検出された個数を計数して、当該計数値が閾値以上の場合に、当該類被写体形状の被写体を特定種類の被写体として抽出してよい。そして、特徴領域検出部203は、特定種類の被写体を含む領域を、特徴領域として検出してよい。このため、特徴領域検出部203は、所定の寸法に近い寸法の被写体が集中して検出された画像領域内の類被写体形状の被写体を、特定種類の被写体として検出することができる。そして、当該画像領域以外の領域における類被写体形状の被写体を、特定種類の被写体として検出しなくてよい。このため、当該画像領域以外の領域における類被写体形状の被写体を、特定種類の被写体として誤検出する確率を低減することができる。   The feature region detection unit 203 may detect the feature region by the method described in Japanese Patent Application No. 2008-091562. For example, the feature region detection unit 203 obtains a similar subject shape similar to a specific type of subject from each of the plurality of captured images included in the moving image, the size of the similar subject shape, and the position on the angle of view of the imaging device 100. Extract with information. The position information on the angle of view can be exemplified by the position on the image area in the captured image. Then, the feature region detection unit 203 determines whether or not the extracted subject of the similar subject shape is a specific type of subject, and extracts the specific type of subject. For example, the feature region detection unit 203 counts the number of detected similar subject shapes classified into the same size from a predetermined search region around the similar subject shape, and the count value is If the threshold is equal to or greater than the threshold, the subject having the similar subject shape may be extracted as a specific type of subject. Then, the feature region detection unit 203 may detect a region including a specific type of subject as a feature region. For this reason, the feature region detection unit 203 can detect a subject having a similar subject shape in an image region in which subjects having a size close to a predetermined size are concentrated and detected as a specific type of subject. Then, it is not necessary to detect a subject having a similar subject shape in a region other than the image region as a specific type of subject. For this reason, it is possible to reduce the probability of erroneously detecting a subject having a similar subject shape in a region other than the image region as a specific type of subject.

なお、撮像装置100が画角を可変して撮像することができる場合、上記の画角上の位置情報としては、撮像装置100の撮像方向および撮像画像上の位置を例示することができる。また、複数の撮像装置100により、一の撮像装置100が撮像する被写界より広い連続した被写界を撮像することができる場合、上記の画角上の位置情報としては、複数の撮像装置100のそれぞれの撮像方向、および複数の撮像装置100のそれぞれにより撮像された撮像画像上の位置を例示することができる。   Note that when the imaging apparatus 100 can capture an image with a variable angle of view, the position information on the angle of view can be exemplified by the imaging direction of the imaging apparatus 100 and the position on the captured image. In addition, when a plurality of imaging devices 100 can capture a continuous scene that is wider than the subject captured by one imaging device 100, the positional information on the angle of view includes a plurality of imaging devices. The respective imaging directions of 100 and the positions on the captured image captured by each of the plurality of imaging devices 100 can be exemplified.

そして、画像処理装置120は、検出されたROIに基づいて圧縮用動画を生成する(403)。具体的には、画像分割部204は、フレーム画像をROIとそれ以外の領域に分割する。そして、画像生成部205は、複数のフレーム画像410を複製することによって、特徴領域動画430、特徴領域動画440、および特徴領域動画450と、背景領域動画420とを生成する。具体的には、画像生成部205は、複数のフレーム画像410を複製することによって、顔領域用の特徴領域動画450、人領域用の特徴領域動画440、動領域用の特徴領域動画430、および背景領域用の背景領域動画420を生成する。   Then, the image processing apparatus 120 generates a moving image for compression based on the detected ROI (403). Specifically, the image dividing unit 204 divides the frame image into ROI and other areas. Then, the image generation unit 205 generates a feature region moving image 430, a feature region moving image 440, a feature region moving image 450, and a background region moving image 420 by duplicating the plurality of frame images 410. Specifically, the image generation unit 205 reproduces a plurality of frame images 410, thereby generating a facial region feature region moving image 450, a human region feature region moving image 440, a moving region feature region moving image 430, and A background area moving image 420 for the background area is generated.

そして、画像処理装置120は、固定値化部211および画質低減部221により、特徴領域動画430、特徴領域動画440、および特徴領域動画450と、背景領域動画420とに対して、画質を低減する(404a、404b、404c、404d)。具体的には、固定値化部211は、特徴領域動画430、特徴領域動画440、および特徴領域動画450のそれぞれが含むフレーム画像において、画像分割部204が分割したROI内の画素値は変化させず、ROI以外の領域に対する画素値を所定の値(例えば、輝度値0)にする。なお、固定値化部211は、ROI以外の領域の画素値を、当該ROIに近傍する領域の画素値の平均的な画素値にしてよい。   Then, the image processing apparatus 120 reduces the image quality of the feature region moving image 430, the feature region moving image 440, the feature region moving image 450, and the background region moving image 420 by the fixed value converting unit 211 and the image quality reducing unit 221. (404a, 404b, 404c, 404d). Specifically, the fixed value unit 211 changes the pixel values in the ROI divided by the image dividing unit 204 in the frame images included in each of the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450. First, the pixel value for the region other than the ROI is set to a predetermined value (for example, luminance value 0). Note that the fixed value converting unit 211 may set the pixel values in the region other than the ROI as an average pixel value of the pixel values in the region near the ROI.

このように、画像生成部205および固定値化部211により、同じ視野角の複数のフレーム画像をそれぞれ含む特徴領域動画430、特徴領域動画440、および特徴領域動画450および背景領域動画420が生成される。なお、後に詳しく説明するように、画像処理装置170は、特徴領域動画430、特徴領域動画440、および特徴領域動画450のようなROI以外の領域が固定値化されている動画を、背景領域動画420に重ね合わせた動画を生成する。したがって、背景領域動画420、特徴領域動画430、特徴領域動画440、および特徴領域動画450は、それぞれ背景レイヤー、動領域レイヤー、人領域レイヤー、および顔領域レイヤーとみなすことができる。   As described above, the image generation unit 205 and the fixed value conversion unit 211 generate the feature region moving image 430, the feature region moving image 440, the feature region moving image 450, and the background region moving image 420 each including a plurality of frame images having the same viewing angle. The As will be described in detail later, the image processing apparatus 170 converts a moving image in which a region other than the ROI, such as the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450, into a fixed value is used as the background region moving image. A moving image superimposed on 420 is generated. Therefore, the background area animation 420, the feature area animation 430, the feature area animation 440, and the feature area animation 450 can be regarded as a background layer, a motion area layer, a human area layer, and a face area layer, respectively.

また、画質低減部221は、特徴領域動画430、特徴領域動画440、および特徴領域動画450のそれぞれが含むフレーム画像におけるROI内の画像の画質を、特徴の種類に応じて低減する。具体的には、顔領域、人領域、および動領域のそれぞれの画質を定めるパラメータとして、解像度、階調数、および色数の少なくとも1つが予め定められている。例えば、顔領域、人領域、動領域の順に高い解像度が予め定められている。   In addition, the image quality reduction unit 221 reduces the image quality of the image in the ROI in the frame images included in each of the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450 according to the type of feature. Specifically, at least one of resolution, the number of gradations, and the number of colors is determined in advance as a parameter that determines the image quality of each of the face area, the human area, and the moving area. For example, a high resolution is determined in advance in the order of the face area, the human area, and the moving area.

そして、画質低減部221は、特徴領域動画430、特徴領域動画440、および特徴領域動画450のそれぞれが含むフレーム画像におけるROI内の画像の画質を、特徴の種類に対して予め定められた解像度、階調数、および色数の画像に変換する。また、画質低減部221は、背景領域動画のフレーム画像の画質を、ROI内の画像の画質より低くする。例えば、画質低減部221は、背景領域動画のフレーム画像の解像度を、ROI内の画像のより小さくする。   Then, the image quality reduction unit 221 sets the image quality of the image in the ROI in the frame image included in each of the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450 to a resolution predetermined for the type of feature, Convert to an image with the number of gradations and the number of colors. In addition, the image quality reduction unit 221 makes the image quality of the frame image of the background area moving image lower than the image quality of the image in the ROI. For example, the image quality reduction unit 221 makes the resolution of the frame image of the background area moving image smaller than that of the image in the ROI.

また、画質低減部221は、背景領域動画420、特徴領域動画430、特徴領域動画440、および特徴領域動画450のフレームレートを低減する。例えば、特徴の種類ごとに、例えば顔領域、人領域、および動領域ごとに、予めフレームレートが定められている。そして、画質低減部221は、特徴領域動画430、特徴領域動画440、および特徴領域動画450に含まれるフレーム画像を、特徴の種類に応じて予め定められたフレームレートに従って所定の間隔で間引くことによって、特徴領域動画430、特徴領域動画440、および特徴領域動画450のフレームレートを低減する。また、画質低減部221は、背景領域動画420に含まれるフレーム画像を、背景領域動画のフレームレートとして予め定められたフレームレートに従って間引くことによって、背景領域動画420のフレームレートを低減する。   In addition, the image quality reduction unit 221 reduces the frame rates of the background area moving image 420, the feature area moving image 430, the feature area moving image 440, and the feature area moving image 450. For example, a frame rate is determined in advance for each type of feature, for example, for each face area, human area, and moving area. Then, the image quality reduction unit 221 thins out the frame images included in the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450 at a predetermined interval according to a frame rate that is predetermined according to the type of the feature. The frame rates of the feature area animation 430, the feature area animation 440, and the feature area animation 450 are reduced. In addition, the image quality reduction unit 221 reduces the frame rate of the background area moving image 420 by thinning out the frame images included in the background area moving image 420 according to a frame rate predetermined as the frame rate of the background area moving image.

なお、画質低減部221aは、背景領域動画420の画質を低減する。また、画質低減部221b、画質低減部221c、および画質低減部221dは、それぞれ特徴領域動画430、特徴領域動画440、および特徴領域動画450の画質を低減する。   The image quality reduction unit 221a reduces the image quality of the background area moving image 420. In addition, the image quality reduction unit 221b, the image quality reduction unit 221c, and the image quality reduction unit 221d reduce the image quality of the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450, respectively.

そして、背景領域動画符号化部231a、および領域動画符号化部231b−dは、画質低減部221により画質が低減された動画をそれぞれ符号化する(405a、405b、405c、405d)。例えば、背景領域動画符号化部231a、および領域動画符号化部231b−dは、画質低減部221により画質が低減された動画をそれぞれMPEG符号化する。   Then, the background area moving image encoding unit 231a and the area moving image encoding unit 231b-d encode the moving images whose image quality has been reduced by the image quality reducing unit 221 (405a, 405b, 405c, and 405d). For example, the background area moving image encoding unit 231a and the area moving image encoding unit 231b-d each encode the moving image whose image quality has been reduced by the image quality reducing unit 221.

例えば、背景領域動画符号化部231aは、背景領域動画用の符号化設定で背景領域動画をMPEG符号化する。特徴領域動画符号化部231b、特徴領域動画符号化部231c、および特徴領域動画符号化部231dは、それぞれ動領域、人領域、および顔領域のそれぞれの特徴領域動画用の符号化設定で、特徴領域動画をそれぞれMPEG符号化する。なお、符号化設定は、例えばMPEG符号化における量子化テーブルを設定することを含む。なお、符号化設定については図5に関連して説明する。   For example, the background area moving image encoding unit 231a performs MPEG encoding on the background area moving image with the encoding setting for the background area moving image. The feature region moving image encoding unit 231b, the feature region moving image encoding unit 231c, and the feature region moving image encoding unit 231d are encoding settings for the feature region moving image of the moving region, the human region, and the face region, respectively. Each area moving image is MPEG-encoded. Note that the coding setting includes setting a quantization table in MPEG coding, for example. The encoding setting will be described with reference to FIG.

そして、対応付け処理部206は、背景領域動画符号化部231aおよび特徴領域動画符号化部231b−dが符号化することによって得られた背景領域動画データおよび複数の特徴領域動画データにタグ情報を付帯する等して関連付けして、出力部207が表示装置180に出力する(406)。このとき、対応付け処理部206は、背景領域動画および複数の特徴領域動画のそれぞれが含むフレーム画像の表示タイミングを示す情報を含むタイミング情報(例えば、タイムスタンプ)を、タグ情報等に付加してよい。また、対応付け処理部206は、複数の特徴領域の範囲をそれぞれ示す情報を含む特徴領域情報、背景領域動画および複数の特徴領域動画の元となった撮像動画データを撮像した撮像装置100を識別する識別情報等を、タグ情報等に付加してよい。   Then, the association processing unit 206 adds tag information to the background region moving image data and the plurality of feature region moving image data obtained by encoding by the background region moving image encoding unit 231a and the feature region moving image encoding unit 231b-d. The output unit 207 outputs the information to the display device 180 by associating it with an accessory (406). At this time, the association processing unit 206 adds timing information (for example, time stamp) including information indicating the display timing of the frame image included in each of the background area moving image and the plurality of characteristic area moving images to the tag information or the like. Good. In addition, the association processing unit 206 identifies the imaging device 100 that captured the feature region information including information indicating the ranges of the plurality of feature regions, the background region movie, and the captured movie data that is the basis of the plurality of feature region movies. Identification information or the like to be added may be added to tag information or the like.

以上説明したように、特徴領域検出部203は、画像である動画に含まれる複数の動画構成画像から、被写体の種類が異なる複数の特徴領域を検出する。そして、圧縮部240は、複数の特徴領域動画を、それぞれの被写体の種類に応じた強度で圧縮する。なお、本実施形態では、被写体の種類の一例として人物の顔および人体領域について説明したが、他の例では、自動車のナンバープレートおよびナンバープレート以外の車体を被写体の種類としてよい。   As described above, the feature region detection unit 203 detects a plurality of feature regions having different types of subjects from a plurality of moving image constituent images included in a moving image that is an image. Then, the compression unit 240 compresses the plurality of feature area moving images with an intensity corresponding to the type of each subject. In the present embodiment, a human face and a human body region have been described as examples of the types of subjects. However, in other examples, vehicle license plates and vehicle bodies other than license plates may be used as the types of subjects.

また、人物の正面の顔および横顔を被写体の種類としてもよい。また、静止している被写体および動いている被写体を被写体の種類としてもよい。また、特徴領域検出部203は、撮像装置100から被写体までの距離が異なる複数の被写体を含む領域を、特徴の種類が異なる複数の特徴領域として検出してもよい。   Further, the front face and the side face of the person may be the subject type. Further, a stationary subject and a moving subject may be used as the subject type. Further, the feature region detection unit 203 may detect a region including a plurality of subjects having different distances from the imaging device 100 to the subject as a plurality of feature regions having different types of features.

なお、圧縮部240は、特徴の種類の一例である、動き領域、人体、人物の横顔、人物の正面の顔の順に大きい圧縮強度で圧縮してよい。なお、本実施形態では、画像処理システム10を監視システムとして利用する利用目的を鑑みて、人物の顔を含む領域をROIとして検出して、検出したROIをROI以外の領域より高画質にするとした。しかしながら、画像処理システム10を、例えば街角の風景を撮像するシステムとして利用することもできる。このような形態で画像処理システム10を利用する場合には、個人情報を保護することを目的として、人物の顔を含む領域をROIとして検出して、検出したROIをROI以外の領域より低画質にしてもよい。例えば圧縮部240は、人物の正面の顔、人物の横顔、人体、動き領域、背景領域の順に大きい圧縮強度で、特徴領域動画および背景領域動画を圧縮してよい。   Note that the compression unit 240 may compress the motion region, the human body, the side profile of the person, and the face in front of the person in order of large compression strengths, which are examples of feature types. In the present embodiment, in consideration of the purpose of using the image processing system 10 as a monitoring system, an area including a human face is detected as an ROI, and the detected ROI has a higher image quality than an area other than the ROI. . However, the image processing system 10 can also be used as, for example, a system that captures landscapes of street corners. When the image processing system 10 is used in such a form, for the purpose of protecting personal information, an area including a human face is detected as an ROI, and the detected ROI has a lower image quality than an area other than the ROI. It may be. For example, the compressing unit 240 may compress the feature region moving image and the background region moving image with a large compression strength in the order of the face in front of the person, the profile of the person, the human body, the motion region, and the background region.

その他にも、特徴領域検出部203は、複数のフレーム画像から、被写体の速度が異なる複数の特徴領域を検出してもよい。この場合、画質低減部221は、特徴領域動画を、被検体の速度がより速いほど、より高いフレームレートの動画に変換してもよい。このように、圧縮部240は、複数の特徴領域動画を、それぞれの被写体の速度に応じた強度で圧縮してよい。   In addition, the feature region detection unit 203 may detect a plurality of feature regions having different subject velocities from a plurality of frame images. In this case, the image quality reduction unit 221 may convert the feature area moving image into a moving image having a higher frame rate as the subject speed increases. As described above, the compression unit 240 may compress a plurality of feature region moving images with an intensity corresponding to the speed of each subject.

以上説明したように、画像処理装置120は、特徴領域動画に含まれるフレーム画像におけるROI以外の領域を固定値化して、視野角が同じ複数の特徴領域動画および背景領域動画を生成する。このため、画像処理装置120によると、特別に設計された符号化器を使用することなく、汎用の符号化器を使用して特徴領域動画を高い圧縮率で圧縮することができる場合がある。例えば、MPEG符号化等のように動きベクトルを用いて特徴領域動画を符号化すると、固定値化した領域中のマクロブロックについては画素値の差分値が0になる場合が多くなる。したがって、このような固定値化により、圧縮率を高く維持しながら画像処理装置120の製造コストを低減することができる場合がある。   As described above, the image processing apparatus 120 generates a plurality of feature region moving images and background region moving images having the same viewing angle by fixing a region other than the ROI in the frame image included in the feature region moving image. For this reason, according to the image processing apparatus 120, the feature region moving image may be compressed at a high compression rate using a general-purpose encoder without using a specially designed encoder. For example, when a feature area moving image is encoded using a motion vector as in MPEG encoding, the difference value between pixel values is often 0 for a macroblock in a fixed value area. Therefore, such fixed values may reduce the manufacturing cost of the image processing apparatus 120 while maintaining a high compression rate.

以上の説明では、圧縮部240は、ROI領域以外の領域が固定値化されたフレーム画像を含む特徴領域動画を圧縮することとした。なお、圧縮部240は、特徴領域動画に含まれるフレーム画像におけるROI内の画像を切り出して圧縮して特徴領域動画として出力してもよい。   In the above description, the compression unit 240 compresses the feature region moving image including the frame image in which the region other than the ROI region is fixed. Note that the compression unit 240 may cut out and compress an image in the ROI in the frame image included in the feature area moving image and output it as a feature area moving image.

なお、特徴領域検出部203がROIを検出していない場合には、出力部207は、圧縮部240aが出力する背景領域動画データを画像処理装置170に出力する。この場合、画像生成部205は特徴領域動画430、特徴領域動画440、および特徴領域動画450を生成しなくてよい。そして、画像生成部205は、特徴領域検出部203がROIを検出したことを条件として、特徴領域動画430、特徴領域動画440、および特徴領域動画450を生成して、出力部207は上記の処理によって生成された複数の特徴領域動画データおよび背景領域動画データを画像処理装置170に出力する。この間、圧縮部240aは、背景領域動画420を圧縮すべく予め定められた背景領域用圧縮率で背景領域動画420を圧縮しつづけてよい。   When the feature area detection unit 203 has not detected the ROI, the output unit 207 outputs the background area moving image data output from the compression unit 240a to the image processing apparatus 170. In this case, the image generation unit 205 does not have to generate the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450. Then, the image generation unit 205 generates the feature region moving image 430, the feature region moving image 440, and the feature region moving image 450 on condition that the feature region detection unit 203 detects the ROI, and the output unit 207 performs the above processing. The plurality of characteristic area moving image data and background area moving image data generated by the above is output to the image processing apparatus 170. During this time, the compression unit 240a may continue to compress the background area moving image 420 at a predetermined compression ratio for the background area in order to compress the background area moving image 420.

その他にも、特徴領域検出部203がROIを検出していない間には、圧縮部240は、背景領域用圧縮率より低く、かつ、特徴領域動画を圧縮する圧縮率より高い、予め定められたROI非検出期間圧縮率で、背景領域動画を圧縮してよい。そして、圧縮部240は、特徴領域検出部203がROIを検出したことを条件として、背景領域動画を背景領域用圧縮率で圧縮してよい。このとき、圧縮部240は、特徴領域動画をROI非検出期間圧縮率より低い圧縮率で圧縮してよい。   In addition, while the feature region detection unit 203 does not detect the ROI, the compression unit 240 is set in advance to be lower than the compression rate for the background region and higher than the compression rate for compressing the feature region moving image. The background area moving image may be compressed at the ROI non-detection period compression rate. Then, the compression unit 240 may compress the background region moving image with the background region compression rate on condition that the feature region detection unit 203 detects the ROI. At this time, the compression unit 240 may compress the feature region moving image at a compression rate lower than the ROI non-detection period compression rate.

なお、圧縮部240は、特徴領域検出部203がROIを検出してから予め定められた期間の背景領域動画をROI非検出期間圧縮率で圧縮するとともに、予め定められた期間より長い期間が経過したことを条件として、背景領域動画を背景領域用圧縮率で圧縮してよい。こうすると、本来ROIとして検出されるべき領域がROIとして検出されなかった場合でも、ある程度の画質の背景領域動画を提供することができる場合がある。また、圧縮部240は、特徴領域検出部203が検出した複数のフレーム画像におけるROI領域の位置から推定される他のフレーム画像におけるROI領域を含む領域の画質を、他の領域の画質より高い画質にすべく、圧縮率を領域ごとに異ならせてもよい。   The compression unit 240 compresses the background region moving image of a predetermined period after the ROI is detected by the feature region detection unit 203 at the ROI non-detection period compression rate, and a period longer than the predetermined period elapses. As a condition, the background area moving image may be compressed at the compression ratio for the background area. In this case, even when the region that should originally be detected as ROI is not detected as ROI, a background region moving image having a certain level of image quality may be provided. The compression unit 240 also sets the image quality of the region including the ROI region in the other frame image estimated from the position of the ROI region in the plurality of frame images detected by the feature region detection unit 203 to be higher than the image quality of the other region. Therefore, the compression rate may be different for each region.

図5は、複数の特徴領域動画および背景領域動画の画質の一例を示す。ここでは、説明を簡単にすることを目的として、圧縮動画取得部201が取得した撮像動画データのフレームレートが16fpsであり、当該撮像動画データに含まれるフレーム画像の解像度が72dpiであるとする。   FIG. 5 shows an example of the image quality of a plurality of feature area videos and background area videos. Here, for the purpose of simplifying the description, it is assumed that the frame rate of the captured moving image data acquired by the compressed moving image acquisition unit 201 is 16 fps, and the resolution of the frame image included in the captured moving image data is 72 dpi.

撮像動画に含まれるフレーム画像410の解像度に対する画質低減後の背景領域動画420に含まれるフレーム画像の解像度の比率を示す解像度比率は予め1/8と定められている。画質低減部221は、画像生成部205によって撮像動画が複製されることによって生成された画質低減前の背景領域動画420に含まれるフレーム画像に対して1/8の解像度である9dpiのフレーム画像を、画質低減前の背景領域動画420に含まれるフレーム画像の画素を間引くことによって生成する。また、撮像動画のフレームレートに対する画質低減後の背景領域動画420のフレームレートの比率を示すフレームレート比率は予め1/8と定められている。画質低減部221は、画質低減前の背景領域動画420のフレームレートの1/8のフレームレートである2fpsのフレームレートの背景領域動画420を、画質低減前の背景領域動画420に含まれるフレーム画像を間引くことによって生成する。   The resolution ratio indicating the ratio of the resolution of the frame image included in the background area moving image 420 after image quality reduction to the resolution of the frame image 410 included in the captured moving image is predetermined as 1/8. The image quality reduction unit 221 generates a 9 dpi frame image having a resolution of 1/8 with respect to the frame image included in the background area video 420 before image quality reduction generated by copying the captured video by the image generation unit 205. This is generated by thinning out the pixels of the frame image included in the background area moving image 420 before image quality reduction. In addition, the frame rate ratio indicating the ratio of the frame rate of the background area moving image 420 after image quality reduction to the frame rate of the captured moving image is set to 1/8 in advance. The image quality reduction unit 221 converts the background area video 420 having a frame rate of 2 fps, which is a frame rate of 1/8 of the frame rate of the background area video 420 before the image quality reduction, into a frame image included in the background area video 420 before the image quality reduction. Generate by thinning out.

同様に、複数の特徴領域動画のそれぞれに対しても、解像度比率およびフレームレート比率が定められている。例えば、特徴領域動画430については解像度比率およびフレームレート比率は1/4が定められており、特徴領域動画440については解像度比率およびフレームレート比率として1/2が定められており、特徴領域動画450については解像度比率およびフレームレート比率として1/1が定められている。これにより、画質低減部221bは、フレームレートが4fps、フレーム画像の解像度が18dpiの特徴領域動画430を生成する。また、画質低減部221cは、フレームレートが8fps、フレーム画像の解像度が36dpiの特徴領域動画440を生成する。また、画質低減部221dは、フレームレートが16fps、フレーム画像の解像度が72dpiの特徴領域動画450を生成する。   Similarly, a resolution ratio and a frame rate ratio are determined for each of the plurality of characteristic area moving images. For example, the resolution ratio and the frame rate ratio are set to 1/4 for the feature area moving image 430, and the resolution ratio and the frame rate ratio are set to 1/2 for the feature area moving image 440. Is defined as 1/1 as the resolution ratio and the frame rate ratio. As a result, the image quality reduction unit 221b generates a feature region moving image 430 having a frame rate of 4 fps and a frame image resolution of 18 dpi. In addition, the image quality reduction unit 221c generates a feature region moving image 440 having a frame rate of 8 fps and a frame image resolution of 36 dpi. In addition, the image quality reduction unit 221d generates a feature region moving image 450 having a frame rate of 16 fps and a frame image resolution of 72 dpi.

なお、上記の例では、画質低減部221が複数の特徴領域動画および背景領域動画に含まれるフレーム画像の画素を間引くことによってフレーム画像の画質を低減する場合を例に挙げて説明した。その他にも、画質低減部221は、例えばローパスフィルタ等の、所定の周波数領域を通過するフィルタを用いてフレーム画像の画質を低減してもよい。この場合、フィルタが通過する周波数帯域および通過する度合いを示す強度は、特徴の種類ごと、例えば背景領域、動領域、人領域、および顔領域ごとに予め定められてよい。   In the above example, the case where the image quality reduction unit 221 reduces the image quality of the frame image by thinning out the pixels of the frame image included in the plurality of feature region moving images and the background region moving image has been described as an example. In addition, the image quality reduction unit 221 may reduce the image quality of the frame image using a filter that passes through a predetermined frequency region, such as a low-pass filter. In this case, the frequency band through which the filter passes and the intensity indicating the degree of passage may be determined in advance for each type of feature, for example, for each of the background region, the moving region, the human region, and the face region.

なお、画質低減部221による画質低減に加えて、又は画質低減部221による画質低減に替えて、符号化部231がフレーム画像の画質を低減してもよい。例えば、符号化部231が、MPEG符号化における量子化テーブルの値を大きくすることによって、画質を低減することができる。量子化テーブルの値の大きさは、特徴の種類ごとに予め定められてよい。例えば、背景領域動画符号化部231aおよび複数の特徴領域動画符号化部231b−dのそれぞれが、予め設定された値を持つ量子化テーブルを用いて符号化してよい。また、量子化テーブルにおける周波数成分ごとの値が特徴の種類ごとに予め定められていてよい。   In addition to the image quality reduction by the image quality reduction unit 221, or in place of the image quality reduction by the image quality reduction unit 221, the encoding unit 231 may reduce the image quality of the frame image. For example, the encoding unit 231 can reduce the image quality by increasing the value of the quantization table in MPEG encoding. The magnitude of the value of the quantization table may be determined in advance for each type of feature. For example, each of the background region moving image encoding unit 231a and the plurality of feature region moving image encoding units 231b-d may perform encoding using a quantization table having a preset value. In addition, a value for each frequency component in the quantization table may be determined in advance for each type of feature.

また、画質低減部221はさらに、背景領域動画に含まれる複数のフレーム画像を平均化してもよい。これによれば、移動物体を示すオブジェクトがフレーム画像に含まれている場合に、移動物体のオブジェクトが平均化されたフレーム画像が得られる。そして、このような複数のフレーム画像を連続表示させると、移動物体の動きが閲覧者の目に滑らかに映る場合がある。   Further, the image quality reduction unit 221 may further average a plurality of frame images included in the background area moving image. According to this, when an object indicating a moving object is included in the frame image, a frame image in which the objects of the moving object are averaged is obtained. When such a plurality of frame images are continuously displayed, the movement of the moving object may appear smoothly in the viewer's eyes.

なお、以上の説明では、画像生成部205が撮像動画を複製してから、複製して得られた複数の特徴領域動画および背景領域動画に含まれるフレーム画像を間引いたり、画素を間引いたりすることによって、複数の特徴領域動画および背景領域動画を圧縮する形態について説明した。その他にも、画像生成部205は、撮像動画に含まれる複数のフレーム画像をフレームレート比率に従って間引いて選択することによって、フレームレートが低減された複数の特徴領域動画および背景領域動画を生成してもよい。その後に、固定値化部211aが固定値化して、画質低減部221が解像度を低減することによって、複数の特徴領域動画および背景領域動画の画質を低減してよい。   In the above description, after the image generation unit 205 replicates the captured moving image, frame images included in a plurality of feature region moving images and background region moving images obtained by copying are thinned out or pixels are thinned out. In the above, the mode of compressing a plurality of feature region moving images and background region moving images has been described. In addition, the image generation unit 205 generates a plurality of feature area videos and background area videos with a reduced frame rate by thinning out and selecting a plurality of frame images included in the captured video according to the frame rate ratio. Also good. Then, the image quality of the plurality of feature area moving images and the background area moving images may be reduced by the fixed value converting unit 211a fixing the value and the image quality reducing unit 221 reducing the resolution.

図6は、画像処理装置170の処理フローの一例を示す。圧縮動画取得部301は、画像処理装置120から、対応づけされた複数の特徴領域動画データおよび背景領域動画データを取得して、付帯されたタグ情報によりタイミング情報、撮像装置100を識別する情報等を取得する(601)。そして、圧縮動画伸張部311は、それぞれ複数の特徴領域動画データおよび背景領域動画データを復号することにより、背景レイヤーを示す背景領域動画610を生成する(602a)。同時に、圧縮動画伸張部311は、動領域レイヤーを示す特徴領域動画620、人領域レイヤーを示す特徴領域動画630、および顔領域レイヤーを示す特徴領域動画640を生成する(602b、602c、および602d)。   FIG. 6 shows an example of the processing flow of the image processing apparatus 170. The compressed moving image acquisition unit 301 acquires a plurality of associated feature area moving image data and background area moving image data from the image processing device 120, and identifies timing information, information for identifying the imaging device 100, and the like using the attached tag information. Is acquired (601). Then, the compressed moving image decompression unit 311 generates a background region moving image 610 indicating a background layer by decoding the plurality of feature region moving image data and background region moving image data (602a). At the same time, the compressed moving image decompression unit 311 generates a feature region moving image 620 indicating a moving region layer, a feature region moving image 630 indicating a human region layer, and a feature region moving image 640 indicating a face region layer (602b, 602c, and 602d). .

合成部303は、背景領域動画610並びに特徴領域動画620、特徴領域動画630、および特徴領域動画640に含まれるフレーム画像を合成する(603)。このとき、合成部303は、背景領域動画および複数の特徴領域動画のそれぞれに含まれるフレーム画像の解像度に応じて、最大の解像度を有するフレーム画像と同じ位置の被写体が重ね合うようフレーム画像を拡大して、拡大したフレーム画像を重ね合わせて合成フレーム画像を生成する。   The synthesizing unit 303 synthesizes frame images included in the background area moving image 610, the characteristic area moving image 620, the characteristic area moving image 630, and the characteristic area moving image 640 (603). At this time, the synthesis unit 303 enlarges the frame image so that the subject at the same position as the frame image having the maximum resolution overlaps according to the resolution of the frame image included in each of the background area moving image and the plurality of characteristic area moving images. Then, the enlarged frame images are superimposed to generate a composite frame image.

このとき、合成部303は、特徴領域動画620、特徴領域動画630、および特徴領域動画640に含まれるフレーム画像における特徴領域の画像を切り出して、背景領域動画610に含まれるフレーム画像に上書きすることによって合成フレーム画像を生成する。また、合成部303は、背景領域動画610並びに特徴領域動画620、特徴領域動画630、および特徴領域動画640のフレームレートが異なる場合には、背景領域動画610並びに特徴領域動画620、特徴領域動画630、および特徴領域動画640の最新のフレーム画像を合成する。   At this time, the synthesizing unit 303 cuts out the feature region image in the frame image included in the feature region moving image 620, the feature region moving image 630, and the feature region moving image 640, and overwrites the frame image included in the background region moving image 610. To generate a composite frame image. In addition, when the frame rates of the background area moving image 610, the feature area moving image 620, the feature area moving image 630, and the feature area moving image 640 are different, the synthesizing unit 303 performs the background area moving image 610, the feature area moving image 620, and the feature area moving image 630. , And the latest frame image of the feature region moving image 640 are synthesized.

これにより、合成部303は、合成フレーム画像を生成する。合成部303は、複数の合成フレーム画像を含む合成動画650を生成する。そして、出力部304は、圧縮動画取得部301が取得したタグ情報等に基づいて、合成動画を表示させる表示装置180を選択して、選択した表示装置180に合成動画を供給する(604)。   Thereby, the composition unit 303 generates a composite frame image. The combining unit 303 generates a combined moving image 650 including a plurality of combined frame images. Then, the output unit 304 selects the display device 180 that displays the composite video based on the tag information acquired by the compressed video acquisition unit 301 and supplies the composite video to the selected display device 180 (604).

図7は、画像処理装置120がさらに有する圧縮制御ユニット700の構成の一例を示す。圧縮制御ユニット700は、境界領域特定部710、情報量算出部720、同一被写体領域特定部730、圧縮強度決定部740、条件格納部750、条件取得部752、および圧縮制御部760を含む。   FIG. 7 shows an example of the configuration of a compression control unit 700 further included in the image processing apparatus 120. The compression control unit 700 includes a boundary region specifying unit 710, an information amount calculating unit 720, an identical subject region specifying unit 730, a compression strength determining unit 740, a condition storage unit 750, a condition acquisition unit 752, and a compression control unit 760.

条件格納部750は、特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する。具体的には、条件格納部750は、特徴領域の種類に応じた異なる条件を格納している。   The condition storage unit 750 stores different assignment conditions according to the features of the feature region, which assign different compression strengths according to the features of the feature region. Specifically, the condition storage unit 750 stores different conditions depending on the type of feature area.

そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を特徴領域の特徴に応じて制御する。具体的には、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の特徴に応じて制御する。より具体的には、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の種類に応じて制御する。   Then, the compression control unit 760 controls the compression strength at which the compression unit 240 compresses each of the plurality of feature region images based on the conditions stored in the condition storage unit 750 in accordance with the feature region features. Specifically, the compression control unit 760 determines, based on the conditions stored in the condition storage unit 750, the compression strength at which the compression unit 240 compresses each of the plurality of feature region images according to the features of the feature region. Control. More specifically, the compression control unit 760 determines, based on the conditions stored in the condition storage unit 750, the compression strength at which the compression unit 240 compresses each of the plurality of feature region images according to the type of feature region. Control.

圧縮部240は、圧縮部240は、複数の動画構成画像において同じ種類の特徴を有する特徴領域画像を複数含む複数の特徴領域動画のそれぞれを圧縮する。このとき、圧縮制御部760は、条件格納部750が格納している条件に基づいて、複数の特徴領域動画のそれぞれを圧縮部240が圧縮する圧縮強度を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御する。   The compressing unit 240 compresses each of a plurality of feature region moving images including a plurality of feature region images having the same type of feature in a plurality of moving image constituent images. At this time, the compression control unit 760 includes the compression strength at which the compression unit 240 compresses each of the plurality of feature region moving images based on the conditions stored in the condition storage unit 750. Control is performed according to the feature type of the feature region image.

なお、条件格納部750は、特徴領域の種類に応じて異なる画質低減量を格納してよい。そして、画質低減部221は、複数の動画構成画像において同じ種類の特徴を有する特徴領域画像を複数含む複数の特徴領域動画のそれぞれの画質を低減してよい。このとき、圧縮制御部760は、条件格納部750が格納している画質低減量に基づいて、画質低減部221が画質を低減させる画質低減量を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御してよい。   Note that the condition storage unit 750 may store different image quality reduction amounts depending on the types of feature regions. Then, the image quality reduction unit 221 may reduce the image quality of each of the plurality of feature area moving images including a plurality of feature area images having the same type of feature in the plurality of moving image constituent images. At this time, based on the image quality reduction amount stored in the condition storage unit 750, the compression control unit 760 includes a feature region that each of the plurality of feature region videos includes an image quality reduction amount for which the image quality reduction unit 221 reduces the image quality. You may control according to the kind of the feature of an image, respectively.

なお、圧縮制御部760は、条件格納部750が格納している条件に基づいて、複数の特徴領域動画のそれぞれを圧縮部240が圧縮する圧縮強度を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御してよい。なお、圧縮動画取得部201は、異なる位置から撮像されて得られた複数の動画を取得する。例えば、圧縮動画取得部201は、撮像装置100a−cが撮像した複数の動画を取得する。   Note that the compression control unit 760 includes a feature that each of the plurality of feature region moving images includes a compression strength at which the compression unit 240 compresses each of the plurality of feature region moving images based on the conditions stored in the condition storage unit 750. You may control according to the kind of feature of a field image, respectively. Note that the compressed moving image acquisition unit 201 acquires a plurality of moving images obtained by imaging from different positions. For example, the compressed moving image acquisition unit 201 acquires a plurality of moving images captured by the imaging devices 100a-c.

そして、同一被写体領域特定部730は、動画を取得する動画取得部が取得した複数の動画のうちの一の動画に含まれる動画構成画像から抽出された特徴領域に含まれる被写体と同じ被写体を含む、他の動画に含まれる動画構成画像から抽出された特徴領域を特定する。具体的には、同一被写体領域特定部730は、圧縮動画取得部201が取得した圧縮動画データが圧縮動画伸張部202により伸張されて得られた複数の動画を参照して、当該複数の動画のうちの一の動画に含まれる動画構成画像から抽出された特徴領域に含まれる被写体と同じ被写体を含む、他の動画に含まれる動画構成画像から抽出された特徴領域を特定する。そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、同一被写体領域特定部730が特定した同じ被写体を含む特徴領域のうちの少なくとも1つの特徴領域の特徴領域画像を圧縮部240が圧縮する圧縮強度を、特徴領域の特徴に応じて制御するとともに、圧縮部240が他の特徴領域の特徴領域画像を圧縮する圧縮強度を、当該少なくとも1つの特徴領域画像を圧縮する圧縮率より高く制御する。   Then, the same subject region specifying unit 730 includes the same subject as the subject included in the feature region extracted from the moving image constituent image included in one of the plurality of moving images acquired by the moving image acquiring unit that acquires the moving image. The feature region extracted from the moving image composition image included in the other moving image is specified. Specifically, the same subject area specifying unit 730 refers to a plurality of moving images obtained by the compressed moving image data acquired by the compressed moving image acquiring unit 201 being expanded by the compressed moving image expanding unit 202, and A feature region extracted from a moving image constituent image included in another moving image including the same subject as the subject included in the characteristic region extracted from the moving image constituent image included in one of the moving images is specified. The compression control unit 760 then obtains a feature region image of at least one feature region of feature regions including the same subject specified by the same subject region specifying unit 730 based on the conditions stored in the condition storage unit 750. The compression strength that the compression unit 240 compresses is controlled according to the features of the feature region, and the compression strength that the compression unit 240 compresses the feature region image of another feature region compresses the at least one feature region image. Control higher than compression rate.

なお、境界領域特定部710は、特徴領域と特徴領域以外の領域との間の境界近傍の領域である境界領域を特定する。そして、圧縮強度決定部740は、特徴領域に含まれる画像を圧縮する圧縮強度と、背景領域に含まれる画像を圧縮する圧縮強度との間の圧縮強度を、境界領域の画像を圧縮する圧縮強度として決定する。そして、圧縮部240は、圧縮強度決定部740が決定した圧縮強度で、境界領域に含まれる画像を圧縮する。このように、圧縮部240は、特徴領域に含まれる画像、背景領域に含まれる画像、及び境界領域の画像を、それぞれ異なる強度で圧縮する。   The boundary region specifying unit 710 specifies a boundary region that is a region near the boundary between the feature region and a region other than the feature region. Then, the compression strength determination unit 740 compresses the compression strength between the compression strength for compressing the image included in the feature region and the compression strength for compressing the image included in the background region, and the compression strength for compressing the image in the boundary region. Determine as. Then, the compression unit 240 compresses the image included in the boundary region with the compression strength determined by the compression strength determination unit 740. Thus, the compression unit 240 compresses the image included in the feature region, the image included in the background region, and the image in the boundary region with different strengths.

圧縮強度決定部740は、特徴領域により近い領域の画像を圧縮する圧縮強度として、特徴領域に含まれる画像を圧縮する圧縮強度により近い圧縮強度を決定する。そして、圧縮部240は、圧縮強度決定部740が決定した境界領域の領域に応じた圧縮強度で、境界領域の画像を圧縮する。   The compression strength determination unit 740 determines a compression strength closer to the compression strength for compressing the image included in the feature region as the compression strength for compressing the image in the region closer to the feature region. Then, the compression unit 240 compresses the image of the boundary region with the compression strength corresponding to the region of the boundary region determined by the compression strength determination unit 740.

圧縮強度決定部740は、特徴領域の特徴の種類に応じて特徴領域に含まれる画像の圧縮後の画質を決定し、特徴領域に含まれる画像の圧縮後の画質より低い画質を背景領域に含まれる画像の圧縮後の画質として決定し、特徴領域に含まれる画像の圧縮後の画質と背景領域に含まれる画像の圧縮後の画質との間の画質を境界領域の画像の圧縮後の画質として決定する。そして、画質低減部221は、特徴領域に含まれる画像の画質、背景領域に含まれる画像の画質、及び境界領域の画像の画質を、圧縮強度決定部740が決定した画質に低減する。   The compression strength determination unit 740 determines the post-compression image quality of the image included in the feature area according to the feature type of the feature area, and includes a lower image quality than the post-compression image quality of the image included in the feature area in the background area. The image quality between the image quality after compression of the image included in the feature area and the image quality after compression of the image included in the background area is determined as the image quality after compression of the image in the boundary area. decide. Then, the image quality reduction unit 221 reduces the image quality included in the feature region, the image quality included in the background region, and the image quality in the boundary region to the image quality determined by the compression strength determination unit 740.

より具体的には、圧縮強度決定部740は、特徴領域の特徴の種類に応じて特徴領域に含まれる画像の圧縮後の解像度を決定し、特徴領域に含まれる画像の圧縮後の解像度より低い解像度を背景領域に含まれる画像の圧縮後の解像度として決定し、特徴領域に含まれる画像の圧縮後の解像度と背景領域に含まれる画像の圧縮後の解像度との間の解像度を境界領域の画像の圧縮後の解像度として決定する。そして、画質低減部221は、特徴領域に含まれる画像の解像度、背景領域に含まれる画像の解像度、及び境界領域の画像解像度を、圧縮強度決定部740が決定した解像度に低減する。   More specifically, the compression strength determining unit 740 determines the post-compression resolution of the image included in the feature area according to the type of feature in the feature area, and is lower than the post-compression resolution of the image included in the feature area. The resolution is determined as the compressed resolution of the image included in the background area, and the resolution between the compressed resolution of the image included in the feature area and the compressed resolution of the image included in the background area is determined as the boundary area image. Determined as the resolution after compression. Then, the image quality reduction unit 221 reduces the resolution of the image included in the feature region, the resolution of the image included in the background region, and the image resolution of the boundary region to the resolution determined by the compression strength determination unit 740.

情報量算出部720は、特徴領域に含まれる被写体が持つ情報量を算出する。例えば顔領域のROIを例に挙げると、情報量は、ROIに含まれるオブジェクトが有する、人物の顔としての情報量であってよい。例えば、情報量は、画像から人物の顔を認識する場合における認識のし易さを示す値であってよい。一例として、情報量は、人物の顔の面積或いは人物の顔を示す画像領域に含まれる画素数であってよい。   The information amount calculation unit 720 calculates the information amount that the subject included in the feature area has. For example, taking the ROI of the face area as an example, the information amount may be the information amount as the face of a person that the object included in the ROI has. For example, the information amount may be a value indicating the ease of recognition when recognizing a human face from an image. As an example, the information amount may be the number of pixels included in an area of a person's face or an image area indicating the person's face.

そして、圧縮部240は、特徴領域の画像である特徴領域画像を圧縮する。このとき、圧縮強度決定部740は、情報量が大きいほど、圧縮部240が特徴領域画像を圧縮する圧縮強度をより大きく決定する。顔が十分に大きく撮像されているROIについては、そのROIを高い圧縮強度で圧縮することによって画質が多少低下しても、顔を十分判別することができる品質が保たれている場合が多い。したがって、本実施形態の画像処理装置120を実際の製品に適用した場合には、例えば顔が十分に大きく撮像されている場合には高い圧縮率でROIを圧縮するので、画像のデータ量が無駄に増大することを未然に防ぐことができる場合がある。   Then, the compression unit 240 compresses the feature area image that is an image of the feature area. At this time, the compression strength determination unit 740 determines a greater compression strength at which the compression unit 240 compresses the feature region image as the amount of information increases. In many cases, an ROI in which a face is captured with a sufficiently large size maintains a quality capable of sufficiently distinguishing the face even if the image quality is somewhat degraded by compressing the ROI with a high compression strength. Therefore, when the image processing apparatus 120 of the present embodiment is applied to an actual product, the ROI is compressed at a high compression rate when, for example, the face is captured with a sufficiently large size, the amount of image data is wasted. In some cases, it is possible to prevent the increase.

なお、特徴領域検出部203は、予め定められた条件に適合する適合度が予め定められた値より大きいオブジェクトを含む領域を、特徴領域として検出してよい。そして、特徴量検出部は、人物130の頭部を示すオブジェクトであることを示す予め定められた画像内容に関する条件に適合する適合度が予め定められた値より大きいオブジェクトを含む領域を、特徴領域として検出してよい。   Note that the feature region detection unit 203 may detect, as a feature region, a region that includes an object having a degree of fitness that matches a predetermined condition that is greater than a predetermined value. Then, the feature amount detection unit converts a region including an object having an adaptability matching a predetermined condition relating to image content indicating an object indicating the head of the person 130 to a value larger than a predetermined value. May be detected as

この場合、情報量算出部720は、特徴領域に含まれるオブジェクトが条件に適合した適合度が大きいほど、より大きい情報量を算出してよい。そして、圧縮強度決定部740は、適合度が大きいほど、圧縮部240が特徴領域を圧縮する圧縮強度をより大きく決定してよい。   In this case, the information amount calculation unit 720 may calculate a larger amount of information as the degree of suitability that the object included in the feature region matches the condition is larger. Then, the compression strength determination unit 740 may determine a greater compression strength at which the compression unit 240 compresses the feature region as the fitness level is higher.

なお、特徴量検出部は、予め定められたパターンとの間の一致度が予め定められた一致度より大きいパターンのオブジェクトを含む領域を、特徴領域として検出してよい。この場合に、情報量算出部720は、一致度が大きいほど、より大きい情報量を算出してよい。そして、圧縮強度決定部740は、一致度が大きいほど、圧縮部240が特徴領域を圧縮する圧縮強度をより大きく決定してよい。   Note that the feature amount detection unit may detect an area including an object having a pattern with a degree of coincidence with a predetermined pattern larger than a predetermined degree of coincidence as a characteristic area. In this case, the information amount calculation unit 720 may calculate a larger information amount as the degree of coincidence increases. Then, the compression strength determination unit 740 may determine a greater compression strength at which the compression unit 240 compresses the feature region as the degree of coincidence increases.

なお、情報量算出部720は、画像を撮像した撮像装置100と特徴領域に含まれる被写体との間の距離を特定し、特定した距離が短いほど、より大きい情報量を算出してもよい。また、情報量算出部720は、特徴領域の大きさがより大きいほど、より大きい情報量を算出してもよい。   Note that the information amount calculation unit 720 may specify the distance between the imaging device 100 that has captured the image and the subject included in the feature region, and may calculate a larger amount of information as the specified distance is shorter. Further, the information amount calculation unit 720 may calculate a larger information amount as the size of the feature region is larger.

また、特徴領域検出部203が特徴の種類が異なる複数の特徴領域を画像から検出した場合に、情報量算出部720は、複数の特徴領域のそれぞれに含まれる被写体が持つ情報量をそれぞれ算出してよい。そして、圧縮強度決定部740は、複数の特徴領域画像のそれぞれについて、情報量がより大きい特徴領域の圧縮度をより大きく決定してよい。そして、圧縮部240は、圧縮強度決定部740が決定した圧縮度で、複数の特徴領域画像を圧縮してよい。   In addition, when the feature region detection unit 203 detects a plurality of feature regions having different types of features from the image, the information amount calculation unit 720 calculates the amount of information held by the subject included in each of the plurality of feature regions. It's okay. Then, the compression strength determination unit 740 may determine the degree of compression of the feature region having a larger amount of information for each of the plurality of feature region images. Then, the compression unit 240 may compress the plurality of feature region images at the degree of compression determined by the compression strength determination unit 740.

また、特徴領域検出部203が動画に含まれる複数の動画構成画像のそれぞれから特徴領域を検出した場合には、情報量算出部720は、複数の動画構成画像のそれぞれにおける複数の特徴領域に含まれる被写体が持つ情報量を算出してよい。そして、圧縮強度決定部740は、複数の動画構成画像のそれぞれの特徴領域画像について、情報量が大きいほど、圧縮部240が特徴領域画像を圧縮する圧縮強度をより大きく決定してよい。そして、圧縮部240は、複数の動画構成画像のそれぞれの特徴領域画像を、圧縮強度決定部740が決定した圧縮強度で圧縮してよい。   In addition, when the feature region detection unit 203 detects a feature region from each of a plurality of moving image configuration images included in the moving image, the information amount calculation unit 720 includes the plurality of feature regions in each of the plurality of moving image configuration images. The amount of information held by the subject to be captured may be calculated. Then, the compression strength determination unit 740 may determine a greater compression strength at which the compression unit 240 compresses the feature region image as the information amount is larger for each feature region image of the plurality of moving image constituent images. Then, the compression unit 240 may compress each feature region image of the plurality of moving image constituent images with the compression strength determined by the compression strength determination unit 740.

なお、同一被写体領域特定部730は、複数の動画構成画像のそれぞれにおける特徴領域のうち、同じ被写体が含まれる複数の特徴領域を特定する。具体的には、同一被写体領域特定部730は、複数のフレーム画像のそれぞれにおいて、同一人物が含まれるROIを特定する。   The same subject area specifying unit 730 specifies a plurality of feature areas including the same subject among the feature areas in each of the plurality of moving image constituent images. Specifically, the same subject area specifying unit 730 specifies an ROI that includes the same person in each of the plurality of frame images.

そして、圧縮強度決定部740は、同一被写体領域特定部730が特定した複数の特徴領域が持つ情報量のうち最大の情報量を含む予め定められた情報量の範囲の情報量を持つ特徴領域を含む1以上の動画構成画像における特徴領域画像を圧縮する圧縮強度として、他の動画構成画像の少なくとも1つにおける特徴領域画像を圧縮する圧縮強度より小さい圧縮強度を決定する。これにより、例えば、動画において被写体としての情報を多く含むフレーム画像が存在する場合には、そのフレーム画像を高画質で記録しておき、同一被写体が写っている他のフレーム画像については圧縮強度を高めることができる場合がある。このため、動画のデータ量を効果的に低減しつつ、より望ましいタイミングで撮像された被写体を高画質で記録することができる場合がある。   Then, the compression strength determination unit 740 selects a feature region having an information amount within a predetermined information amount range including the maximum information amount among the information amounts of the plurality of feature regions specified by the same subject region specifying unit 730. A compression strength smaller than the compression strength for compressing the feature region image in at least one of the other moving image constituent images is determined as the compression strength for compressing the feature region image in the one or more moving image constituent images. Thus, for example, when there is a frame image containing a lot of information as a subject in a moving image, the frame image is recorded with high image quality, and the compression strength is set for other frame images in which the same subject is captured. There are cases where it can be increased. For this reason, the subject imaged at a more desirable timing can be recorded with high image quality while effectively reducing the amount of moving image data.

なお、条件取得部752は、条件格納部750が格納する情報を、画像処理装置120の外部から取得する。具体的には、条件取得部752は、特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を取得してよい。具体的には、条件取得部752は、特徴領域の種類に応じた異なる割り当て条件を取得してよい。例えば、条件取得部752は、特徴領域の種類に応じて異なる空間解像度の低減量、特徴領域の種類に応じて異なる時間解像度の低減量などのような、特徴領域の種類に応じて異なる画質低減量を取得してよい。条件格納部750は、条件取得部752が取得した、特徴領域の種類に応じて異なる画質低減量を格納してよい。このように、条件格納部750は、条件取得部752が取得した割り当て条件を格納してよい。   The condition acquisition unit 752 acquires information stored in the condition storage unit 750 from the outside of the image processing apparatus 120. Specifically, the condition acquisition unit 752 may acquire different assignment conditions according to the features of the feature region, which assign different compression strengths according to the features of the feature region. Specifically, the condition acquisition unit 752 may acquire different allocation conditions depending on the type of feature region. For example, the condition acquisition unit 752 reduces image quality that varies depending on the type of feature area, such as a reduction amount of spatial resolution that varies depending on the type of feature area, and a reduction amount of temporal resolution that varies depending on the type of feature area. You may get the amount. The condition storage unit 750 may store image quality reduction amounts that are acquired by the condition acquisition unit 752 depending on the type of feature region. As described above, the condition storage unit 750 may store the allocation condition acquired by the condition acquisition unit 752.

また、条件取得部752は、特徴領域が示す領域の特徴に応じた異なる割り当て条件を取得してよい。具体的には、条件取得部752は、特徴領域の数、特徴領域の大きさ、又は特徴領域の位置に応じた異なる割り当て条件を取得してよい。他にも、条件取得部752は、特徴領域画像に含まれるオブジェクトの特徴に応じた異なる割り当て条件を取得してよい。具体的には、条件取得部752は、特徴領域画像に含まれるオブジェクトの形状、オブジェクトの向き、オブジェクトの移動方向、又はオブジェクトの移動量に応じた異なる割り当て条件を取得してよい。   In addition, the condition acquisition unit 752 may acquire different allocation conditions according to the feature of the region indicated by the feature region. Specifically, the condition acquisition unit 752 may acquire different allocation conditions according to the number of feature areas, the size of the feature areas, or the position of the feature areas. In addition, the condition acquisition unit 752 may acquire different assignment conditions according to the features of the objects included in the feature region image. Specifically, the condition acquisition unit 752 may acquire different allocation conditions according to the shape of the object, the object orientation, the object movement direction, or the object movement amount included in the feature region image.

なお、条件取得部752は、画像処理装置170または表示装置180から、通信ネットワーク110を通じて上述した割り当て条件を取得してよい。例えば、画像処理装置170は、画像DB175が有する記録媒体に記録することができる記憶残量に応じた画質レベルを示す情報を、画像処理装置120に送信してよい。例えば、画像処理装置170は、記憶残量がより少ない場合に、より低い画質レベルを示す情報を画像処理装置120に送信してよい。   The condition acquisition unit 752 may acquire the above-described allocation conditions from the image processing apparatus 170 or the display apparatus 180 through the communication network 110. For example, the image processing apparatus 170 may transmit information indicating the image quality level corresponding to the remaining storage capacity that can be recorded on the recording medium included in the image DB 175 to the image processing apparatus 120. For example, the image processing apparatus 170 may transmit information indicating a lower image quality level to the image processing apparatus 120 when the remaining storage capacity is smaller.

図8は、条件格納部750が格納しているデータの一例をテーブル形式で示す。条件格納部750は、検出されたROIの数を示すROI数、検出されたROIの面積を示すROI面積、検出されたROIの位置を示すROI位置、ROI内の人物の顔の向きを示す顔向き、および顔オブジェクトとして認識されたROI内のオブジェクト数を示す顔要素数のそれぞれに対応づけて、空間解像度スコアを格納する。なお、顔オブジェクトの数とは、目、口、鼻等のような、顔に含まれるべきオブジェクトに予め定められた一致度より高い一致度で一致したオブジェクトの数であってよい。   FIG. 8 shows an example of data stored in the condition storage unit 750 in a table format. The condition storage unit 750 includes the number of ROIs indicating the number of detected ROIs, the ROI area indicating the area of the detected ROI, the ROI position indicating the position of the detected ROI, and the face indicating the orientation of the face of the person in the ROI A spatial resolution score is stored in association with each of the orientation and the number of face elements indicating the number of objects in the ROI recognized as face objects. Note that the number of face objects may be the number of objects such as eyes, mouths, noses, and the like that coincide with an object that should be included in the face with a degree of coincidence higher than a predetermined degree of coincidence.

なお、空間解像度スコアは、圧縮後のフレーム画像の画質を示す指標値であってよい。具体的には、空間解像度スコアは、圧縮後のフレーム画像の解像度、階調数、および色数、あるいは符号化ユニット230において量子化される度合いを示す量子化係数の少なくともいずれかを示す指標であってよい。このように、空間解像度スコアは、実空間の解像度および色空間の解像度を含む。なお、より大きい空間解像度スコアが、より高い画質を示してよい。   The spatial resolution score may be an index value indicating the image quality of the compressed frame image. Specifically, the spatial resolution score is an index indicating at least one of the resolution of the frame image after compression, the number of gradations, the number of colors, or a quantization coefficient indicating the degree of quantization in the encoding unit 230. It may be. Thus, the spatial resolution score includes real space resolution and color space resolution. Note that a larger spatial resolution score may indicate higher image quality.

本図に示されるように、条件格納部750は、より少ないROI数に対応づけてより大きい空間解像度スコアを格納してよい。また、条件格納部750は、より小さいROI面積に対応づけてより大きい空間解像度スコアを格納してよい。また、予め定められたフレーム画像上の位置とROIの中心位置との間の距離をROI位置の指標とした場合において、条件格納部750は、当該距離が短いほどよりより大きい空間解像度スコアを格納してよい。これにより、顔が存在すべき所定の位置にROIの位置が近いほど空間解像度スコアは高くなる。   As shown in the figure, the condition storage unit 750 may store a larger spatial resolution score in association with a smaller number of ROIs. The condition storage unit 750 may store a larger spatial resolution score in association with a smaller ROI area. When the distance between a predetermined position on the frame image and the center position of the ROI is used as an index of the ROI position, the condition storage unit 750 stores a larger spatial resolution score as the distance is shorter. You can do it. As a result, the spatial resolution score increases as the ROI position is closer to a predetermined position where the face should be present.

また、条件格納部750は、ROIに含まれるオブジェクトが示す顔の向きが前斜方に近いほどより大きい空間解像度スコアを格納し、顔の向きが後向きに近いほど低い空間解像度スコアを格納してよい。また、条件格納部750は、より多い顔要素数に対応づけてより大きい空間解像度スコアを格納してよい。   Further, the condition storage unit 750 stores a larger spatial resolution score as the face orientation indicated by the object included in the ROI is closer to the front oblique direction, and stores a lower spatial resolution score as the face orientation is closer to the rear. Good. The condition storage unit 750 may store a larger spatial resolution score in association with a larger number of face elements.

圧縮強度決定部740は、特徴領域検出部203が顔領域のROIを検出すると、当該顔領域のROIについて、ROI数、ROI面積、ROI位置、顔向き、および顔要素数等のパラメータを算出する。そして、圧縮強度決定部740は、条件格納部750が格納するデータに基づいて、空間解像度の高さを示す空間解像度スコアを算出する。例えば、圧縮強度決定部740は、ROI数、ROI面積、ROI位置、顔向き、および顔要素数のそれぞれに対応づけて条件格納部750が格納している空間解像度スコアを抽出して、抽出した空間解像度スコアの合計値を算出する。   When the feature region detection unit 203 detects the ROI of the face region, the compression strength determination unit 740 calculates parameters such as the number of ROIs, the ROI area, the ROI position, the face orientation, and the number of face elements for the ROI of the face region. . Then, the compression strength determination unit 740 calculates a spatial resolution score indicating the height of the spatial resolution based on the data stored in the condition storage unit 750. For example, the compression strength determination unit 740 extracts and extracts the spatial resolution score stored in the condition storage unit 750 in association with each of the number of ROIs, the ROI area, the ROI position, the face orientation, and the number of face elements. The total value of the spatial resolution score is calculated.

そして、圧縮強度決定部740は、算出した合計値が大きいほど、より高い空間解像度を決定する。なお、圧縮強度決定部740は、空間解像度スコアの合計値と空間解像度とが予め対応づけられたテーブルに従って、空間解像度を決定してよい。   Then, the compression strength determination unit 740 determines a higher spatial resolution as the calculated total value increases. Note that the compression strength determination unit 740 may determine the spatial resolution according to a table in which the total value of the spatial resolution score and the spatial resolution are associated in advance.

他にも、条件格納部750は、空間解像度スコアに代えて、解像度、階調数、および色数、あるいは符号化ユニット230において量子化される度合いを示す量子化係数そのものを格納してもよい。また、空間解像度スコアは、圧縮後のフレーム画像が有意な周波数成分を有するべき空間周波数帯域を示す指標であってよい。   In addition, the condition storage unit 750 may store, instead of the spatial resolution score, the resolution, the number of gradations, the number of colors, or the quantization coefficient itself indicating the degree of quantization in the encoding unit 230. . The spatial resolution score may be an index indicating a spatial frequency band in which the compressed frame image should have a significant frequency component.

図9は、条件格納部750が格納している他のデータの一例をテーブル形式で示す。条件格納部750は、ROIの移動速度に対応づけて、時間解像度スコアを格納する。なお、時間解像度スコアは、圧縮後の動画の時間解像度を示す指標値であってよい。具体的には、時間解像度スコアは、圧縮後の動画のフレームレートあるいは圧縮後の動画のビットレートを示す指標であってよい。なお、より大きい時間解像度スコアが、より高い時間解像度を示してよい。そして、本図に示されるように、条件格納部750は、より高速な移動速度に対応づけてより大きい空間解像度スコアを格納してよい。   FIG. 9 shows an example of other data stored in the condition storage unit 750 in a table format. The condition storage unit 750 stores the time resolution score in association with the moving speed of the ROI. Note that the time resolution score may be an index value indicating the time resolution of the compressed moving image. Specifically, the temporal resolution score may be an index indicating the frame rate of the compressed moving image or the bit rate of the compressed moving image. Note that a larger temporal resolution score may indicate a higher temporal resolution. As shown in the figure, the condition storage unit 750 may store a larger spatial resolution score in association with a higher moving speed.

圧縮強度決定部740は、特徴領域検出部203が各フレーム画像から顔領域のROIを検出すると、フレーム画像のそれぞれにおけるROIの位置に基づいて、ROIの移動速度を算出する。そして、圧縮強度決定部740は、算出した移動速度に対応づけて条件格納部750が格納する時間解像度スコアを抽出する。そして、圧縮強度決定部740は、抽出した時間解像度スコアに応じた時間解像度を決定する。なお、条件格納部750は、時間解像度スコアに代えて、圧縮後のフレームレートあるいは圧縮後のビットレートそのものを格納してもよい。   When the feature region detection unit 203 detects the ROI of the face region from each frame image, the compression strength determination unit 740 calculates the moving speed of the ROI based on the position of the ROI in each frame image. Then, the compression strength determination unit 740 extracts the time resolution score stored in the condition storage unit 750 in association with the calculated moving speed. Then, the compression strength determination unit 740 determines a time resolution according to the extracted time resolution score. The condition storage unit 750 may store the compressed frame rate or the compressed bit rate itself instead of the temporal resolution score.

なお、図8および図9においては、条件格納部750が格納している顔領域のROIに割り当てられた画質の指標値の一例を示したが、条件格納部750は、顔領域以外にも、人領域および動領域のROIのそれぞれについて、上記のような各種パラメータに対応づけられた空間解像度スコアおよび時間解像度スコアを格納してよい。したがって、ROIに含まれるべき複数のオブジェクトのそれぞれに応じて空間解像度スコアおよび時間解像度スコアが定められており、これによりフレーム画像における複数のROIのそれぞれにおける画像の画質レベルが定まる。   8 and 9, an example of the image quality index value assigned to the ROI of the face area stored in the condition storage unit 750 is shown. However, the condition storage unit 750 may include other than the face area, For each of the ROI of the human area and the moving area, a spatial resolution score and a temporal resolution score associated with the various parameters as described above may be stored. Therefore, the spatial resolution score and the temporal resolution score are determined according to each of the plurality of objects to be included in the ROI, and thereby the image quality level of each of the plurality of ROIs in the frame image is determined.

このように、条件格納部750は、複数のROIのそれぞれにおける圧縮後の画質または複数のROIのそれぞれにおける圧縮後の符号量を、複数のオブジェクトの種類毎に格納することができる。このため、条件格納部750は、複数のROIのそれぞれが画質の高さを示す優先順位、あるいは複数のROIのそれぞれにおける圧縮後の符号量の比率等を、複数のオブジェクトの種類毎に格納することができる。   As described above, the condition storage unit 750 can store the image quality after compression in each of the plurality of ROIs or the code amount after compression in each of the plurality of ROIs for each type of the plurality of objects. For this reason, the condition storage unit 750 stores, for each type of a plurality of objects, a priority indicating that each of the plurality of ROIs indicates high image quality, a ratio of a code amount after compression in each of the plurality of ROIs, and the like. be able to.

以上説明したように、圧縮強度決定部740は、特徴領域の特徴に応じて、特徴領域に含まれる画像を圧縮する圧縮強度を決定する。具体的には、圧縮強度決定部740は、特徴領域の特徴の種類に応じて、特徴領域に含まれる画像を圧縮する圧縮強度を決定する。また、圧縮強度決定部740は、特徴領域より大きい圧縮強度を、背景領域に含まれる画像を圧縮する圧縮強度として決定する。   As described above, the compression strength determination unit 740 determines the compression strength for compressing the image included in the feature region according to the feature of the feature region. Specifically, the compression strength determination unit 740 determines the compression strength for compressing the image included in the feature region according to the feature type of the feature region. Further, the compression strength determination unit 740 determines a compression strength larger than the feature region as a compression strength for compressing the image included in the background region.

また、条件格納部750は、特徴領域の種類に応じて異なる空間解像度の低減量又は特徴領域の種類に応じて異なる時間解像度の低減量を格納している。そして、圧縮制御部760は、条件格納部750が格納している空間解像度の低減量又は時間解像度の低減量の少なくとも一方に基づいて、画質低減部221が画質を低減させる空間解像度の低減量又は時間解像度の低減量を、複数の特徴領域動画のそれぞれが含む特徴領域画像の特徴の種類に応じてそれぞれ制御する。   The condition storage unit 750 stores a reduction amount of a spatial resolution that differs depending on the type of feature region or a reduction amount of a temporal resolution that differs depending on the type of feature region. Then, the compression control unit 760 uses the spatial resolution reduction amount that the image quality reduction unit 221 reduces the image quality based on at least one of the spatial resolution reduction amount and the temporal resolution reduction amount stored in the condition storage unit 750, or The amount of time resolution reduction is controlled according to the feature type of the feature region image included in each of the plurality of feature region moving images.

また、条件格納部750は、特徴領域が示す領域の特徴に応じた異なる条件を格納する。そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域が示す領域の特徴に応じて制御する。   In addition, the condition storage unit 750 stores different conditions according to the feature of the region indicated by the feature region. Then, the compression control unit 760 determines the compression strength at which the compression unit 240 compresses each of the plurality of feature region images based on the conditions stored in the condition storage unit 750 according to the feature of the region indicated by the feature region. Control.

より具体的には、条件格納部750は、特徴領域の数、特徴領域の大きさ、又は特徴領域の位置に応じた異なる条件を格納する。そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域が示す領域の数、大きさ、又は位置に応じて制御する。   More specifically, the condition storage unit 750 stores different conditions according to the number of feature areas, the size of the feature areas, or the position of the feature areas. Then, the compression control unit 760 determines the compression strength at which the compression unit 240 compresses each of the plurality of feature region images based on the conditions stored in the condition storage unit 750, and the number and size of the regions indicated by the feature regions. Or control according to the position.

また、条件格納部750は、特徴領域画像に含まれるオブジェクトの特徴に応じた異なる条件を格納する。そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域画像に含まれるオブジェクトの特徴に応じて制御する。   In addition, the condition storage unit 750 stores different conditions according to the features of the object included in the feature region image. The compression control unit 760 converts the compression strength at which the compression unit 240 compresses each of the plurality of feature region images into the feature of the object included in the feature region image based on the conditions stored in the condition storage unit 750. Control accordingly.

なお、条件格納部750は、特徴領域画像に含まれるオブジェクトの形状、オブジェクトの向き、オブジェクトの移動方向、又はオブジェクトの移動量に応じた異なる条件を格納してよい。そして、圧縮制御部760は、条件格納部750が格納している条件に基づいて、圧縮部240が複数の特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域画像に含まれるオブジェクトの形状、オブジェクトの向き、オブジェクトの移動方向、又はオブジェクトの移動量に応じて制御してよい。   The condition storage unit 750 may store different conditions according to the shape of the object, the direction of the object, the direction of movement of the object, or the amount of movement of the object included in the feature region image. Then, the compression control unit 760 determines the compression strength at which the compression unit 240 compresses each of the plurality of feature region images based on the conditions stored in the condition storage unit 750, the shape of the object included in the feature region image, Control may be performed according to the direction of the object, the direction of movement of the object, or the amount of movement of the object.

図10は、情報量算出部720が格納しているデータの一例をテーブル形式で示す。情報量算出部720は、人物の顔の向きを示す顔向き、およびROI内に含まれるオブジェクトが人物の顔に含まれるオブジェクトに一致する一致度を示す顔要素一致度に対応づけて、情報量を格納している。   FIG. 10 shows an example of data stored in the information amount calculation unit 720 in a table format. The information amount calculation unit 720 associates the information amount with the face direction indicating the face direction of the person and the face element matching degree indicating the matching degree that the object included in the ROI matches the object included in the person's face. Is stored.

情報量算出部720は、例えば顔領域のROIに含まれる人物の顔のオブジェクトの画像内容に基づいて顔の向きを特定する。例えば、情報量算出部720は、頭部を示すオブジェクトにおける、目、鼻、及び口を示すオブジェクトの位置に基づいて顔の向きを特定する。そして、情報量算出部720は、特定した向きが前斜方に近いほどより大きい情報量を算出し、特定した向きが後に近いほどより小さい情報量を算出する。   For example, the information amount calculation unit 720 specifies the face direction based on the image content of the human face object included in the ROI of the face region. For example, the information amount calculation unit 720 specifies the face direction based on the positions of the objects indicating the eyes, the nose, and the mouth in the object indicating the head. Then, the information amount calculation unit 720 calculates a larger amount of information as the specified direction is closer to the front oblique direction, and calculates a smaller amount of information as the specified direction is closer to the back.

また、情報量算出部720は、人物の顔のオブジェクトの輪郭と、予め定められた人物の顔のパターンとの間の一致度を、例えばパターンマッチングにより算出する。そして、情報量算出部720は、算出した一致度が大きいほどより大きい情報量を算出する。   Further, the information amount calculation unit 720 calculates the degree of coincidence between the contour of the human face object and a predetermined human face pattern, for example, by pattern matching. Then, the information amount calculation unit 720 calculates a larger information amount as the calculated degree of coincidence increases.

このように、情報量算出部720は、人物130の顔に含まれるオブジェクトであることを示す予め定められた画像内容に関する条件に特徴領域に含まれるオブジェクトが適合する適合度が大きいほど、より大きい情報量を算出する。また、情報量算出部720は、予め定められた値より大きい適合度で適合するオブジェクトが示す人物130の頭部の向きを特定し、特定した頭部の向きが予め定められた向きと一致する一致度がより高い場合に、より大きい情報量を算出する。   As described above, the information amount calculation unit 720 is larger as the degree of suitability of the object included in the feature region that matches the predetermined condition regarding the image content indicating that the object is included in the face of the person 130 is larger. The amount of information is calculated. Further, the information amount calculation unit 720 specifies the orientation of the head of the person 130 indicated by the matching object with a degree of fitness greater than a predetermined value, and the specified orientation of the head matches the predetermined orientation. When the degree of matching is higher, a larger amount of information is calculated.

図11は、圧縮強度決定部740が圧縮強度を決定する一例を示す。ここでは、圧縮強度決定部740が圧縮強度を制御する領域を、顔要素一致度および体要素一致度を座標軸とする空間を用いて説明する。なお、ここでいう体要素一致度とは、例えばフレーム画像に含まれるオブジェクトの輪郭と、予め定められた人体のパターンとの間の一致度であってよい。   FIG. 11 shows an example in which the compression strength determination unit 740 determines the compression strength. Here, the region in which the compression strength determination unit 740 controls the compression strength will be described using a space having the face element coincidence degree and the body element coincidence degree as coordinate axes. The body element coincidence here may be, for example, the coincidence between the outline of an object included in the frame image and a predetermined human body pattern.

特徴領域検出部203は、フレーム画像に含まれるオブジェクトについて体要素一致度及び顔要素一致度を算出する。そして、特徴領域検出部203は、体要素一致度の座標軸上で体要素一致度の値がαである点と、顔要素一致度の座標上で顔要素一致度の値がβである点と結ぶ線に対して、原点と反対側の領域にある場合に、当該オブジェクトを含む領域をROIとして検出する。なお、ここで説明した方法はROIを検出する検出方法の一例であって、特徴領域検出部203は他の方法を使用してROIを検出してよいことは言うまでもない。   The feature region detection unit 203 calculates the body element matching degree and the face element matching degree for the objects included in the frame image. Then, the feature region detection unit 203 has a point where the value of the body element coincidence is α on the coordinate axis of the body element coincidence, and a point where the value of the face element coincidence is β on the coordinates of the face element coincidence. When the line is in the area opposite to the origin with respect to the connecting line, the area including the object is detected as the ROI. Note that the method described here is an example of a detection method for detecting ROI, and it goes without saying that the feature region detection unit 203 may detect the ROI using another method.

そして、圧縮強度決定部740は、顔要素一致度が予め定められた値γより小さいことを条件として、顔要素一致度が小さいほどよい低い圧縮強度を決定する。そして、圧縮強度決定部740は、顔要素一致度がγより以上である場合に、顔要素一致度が大きいほどよい高い圧縮強度を決定する。   Then, the compression strength determination unit 740 determines a lower compression strength that is better as the face element matching degree is smaller, on condition that the face element matching degree is smaller than a predetermined value γ. Then, when the face element matching degree is greater than or equal to γ, the compression strength determining unit 740 determines a higher compressive strength as the face element matching degree is higher.

このように、圧縮強度決定部740は、人物である確率が高いオブジェクトであって、人物の顔である可能性が低いオブジェクトを含む領域の圧縮強度を低くする。このため、圧縮強度決定部740は、顔が十分にはっきりと写っていないROIを圧縮する圧縮強度として低い圧縮強度を決定するので、そのようなROIが高い圧縮強度で圧縮されて顔を一層判別しにくくなってしまうことを未然に防ぐことができる場合がある。なお、本図においては、説明を簡単にすることを目的として、情報量の指標の一つである顔要素一致度を用いて圧縮強度決定部740が圧縮強度を決定する動作を説明したが、圧縮強度決定部740は、顔要素一致度以外を指標とする情報量の大小に基づいて圧縮強度を決定してよいことは言うまでもない。   As described above, the compression strength determination unit 740 reduces the compression strength of an area including an object having a high probability of being a person and having a low possibility of being a person's face. For this reason, the compression strength determination unit 740 determines a low compression strength as the compression strength for compressing the ROI in which the face is not clearly captured, so that the ROI is compressed with a high compression strength to further distinguish the face. In some cases, it can be prevented from becoming difficult. In this figure, for the purpose of simplifying the explanation, the operation in which the compression strength determination unit 740 determines the compression strength using the face element matching degree which is one of the information amount indexes has been described. It goes without saying that the compression strength determination unit 740 may determine the compression strength based on the amount of information using an index other than the face element matching degree as an index.

図12は、情報量算出部720が算出した情報量の時間発展の一例を示す。符号P1−P15のそれぞれは複数のフレーム画像のそれぞれを示す。そして、符号P1−P15によって示される点が示す情報量は、符号P1−15によって示されるフレーム画像のそれぞれから検出された同一被写体を含むROIに含まれる被写体の情報量を示す。本図を参照すると、時間が経過するにつれて情報量が増大していき、P7で示されるフレーム画像におけるROIで情報量が極大値に達した後、情報量が減少している。   FIG. 12 shows an example of the time evolution of the information amount calculated by the information amount calculation unit 720. Reference numerals P1 to P15 each denote a plurality of frame images. The information amount indicated by the points indicated by reference signs P1 to P15 indicates the information amount of the subject included in the ROI including the same subject detected from each of the frame images indicated by reference signs P1-15. Referring to this figure, the amount of information increases as time passes, and the amount of information decreases after the amount of information reaches the maximum value in the ROI in the frame image indicated by P7.

このような場合、圧縮強度決定部740は、フレーム画像P7が撮像されたタイミングの近傍で撮像されたフレーム画像P6およびP8とフレーム画像P7のそれぞれから検出されたROIを圧縮した後のデータに含まれる情報量が、他のフレーム画像P1−P5、P9−P15から検出されたROIを圧縮した後のデータに含まれる情報量より多くなるよう、各フレーム画像から検出されたROIを圧縮する圧縮率を決定する。また、圧縮強度決定部740は、フレーム画像P1−P5、P9−P15から検出されたROIを圧縮した後のデータに含まれる情報量が略一定になるよう各ROIの圧縮強度を決定する。   In such a case, the compression strength determination unit 740 includes the compressed ROI detected from each of the frame images P6 and P8 and the frame image P7 captured in the vicinity of the timing at which the frame image P7 is captured. Compression rate for compressing the ROI detected from each frame image so that the amount of information to be generated is greater than the information amount included in the data after compressing the ROI detected from the other frame images P1-P5, P9-P15 To decide. Further, the compression strength determination unit 740 determines the compression strength of each ROI so that the amount of information included in the data after compressing the ROI detected from the frame images P1-P5 and P9-P15 is substantially constant.

具体的には、圧縮強度決定部740は、フレーム画像P6−P8から検出されたROIを圧縮する圧縮率として、当該ROIを圧縮することによる情報量の低下量をより小さくすることができる所定の低圧縮率を決定する。また、圧縮強度決定部740は、フレーム画像P6−P8以外のフレーム画像から検出されたROIのうち、予め定められた値以下の情報量を持つROI(フレーム画像P1−P3、P12−P15から検出されたROI)を圧縮する圧縮強度として、圧縮による情報量の低下量をより小さくすることができる低圧縮率を決定する。そして、圧縮強度決定部740は、フレーム画像P6−P8以外のフレーム画像から検出されたROIのうち、予め定められた値より大きい情報量を持つROI(フレーム画像P4、P5、P9、およびP10から検出されたROI)を圧縮する圧縮強度として、圧縮後のデータに含まれる情報量をフレーム画像P1−P3、P12−P15から検出されたROIの圧縮後のデータに含まれる情報量と略同一にすべく、低圧縮率より大きい中圧縮率を決定する。   Specifically, the compression strength determination unit 740 is a predetermined compression rate that compresses the ROI detected from the frame images P6 to P8, so that the amount of reduction in the information amount due to the compression of the ROI can be further reduced. Determine a low compression ratio. In addition, the compression strength determination unit 740 detects ROIs (frame images P1-P3 and P12-P15 having an information amount equal to or less than a predetermined value) among ROIs detected from frame images other than the frame images P6-P8. As a compression strength for compressing the generated ROI), a low compression ratio that can further reduce the amount of reduction in the information amount due to the compression is determined. Then, the compression strength determining unit 740 has an ROI (from frame images P4, P5, P9, and P10) having an information amount larger than a predetermined value among ROIs detected from frame images other than the frame images P6-P8. As the compression strength for compressing the detected ROI), the amount of information included in the compressed data is substantially the same as the amount of information included in the compressed data of the ROI detected from the frame images P1-P3 and P12-P15. Therefore, a medium compression ratio larger than the low compression ratio is determined.

本図で示されるような情報量の時間発展は、例えば人物が遠方から撮像装置100に近づいてきて、その後に撮像装置100から遠ざかっていった場合等に、得られる場合がある。このような場合、画像処理装置120は、例えばP6、P7、及びP8で示されるフレーム画像のROIを低圧縮率で圧縮することで人物を確実に高画質で記録しつつ、他のフレーム画像についてはある程度画質を落として記録することができる場合がある。このため、画像処理装置120によると、人物を高画質で記録しつつ動画のデータ量を低減することができる場合がある。   The time evolution of the information amount as shown in this figure may be obtained, for example, when a person approaches the imaging device 100 from a distance and then moves away from the imaging device 100. In such a case, the image processing device 120, for example, compresses the ROI of the frame images indicated by P6, P7, and P8 at a low compression rate to reliably record a person with high image quality, while also recording other frame images. May be recorded with some degradation in image quality. For this reason, according to the image processing apparatus 120, there are cases where the amount of moving image data can be reduced while recording a person with high image quality.

図13は、ROIにおける境界領域の一例を示す。以上に説明したように、圧縮強度決定部740は、ROIの種類、ROIの数等に応じて、ROIを圧縮する圧縮強度を決定する。例えば、圧縮強度決定部740は、ROIの解像度を決定する。そして、圧縮強度決定部740はさらに、ROIと背景領域の境界領域の解像度も制御する。   FIG. 13 shows an example of the boundary region in the ROI. As described above, the compression strength determination unit 740 determines the compression strength for compressing the ROI according to the type of ROI, the number of ROIs, and the like. For example, the compression strength determination unit 740 determines the resolution of the ROI. The compression strength determination unit 740 further controls the resolution of the boundary area between the ROI and the background area.

ここでは、特徴領域検出部203が、領域1310、領域1311、及び領域1312を合わせた領域を顔領域のROIとして検出しているとする。そして、特徴領域検出部203は、当該顔領域の近傍に、人領域のROIとして、領域1320、領域1321、および領域1322を合わせた領域を検出しているとする。そして、圧縮強度決定部740は、図1−12に関連して説明したようにして、顔領域のROIの解像度として解像度A、人領域のROIの解像度として解像度B、背景領域の解像度として解像度Cを決定したとする。   Here, it is assumed that the feature region detection unit 203 detects a region including the region 1310, the region 1311, and the region 1312 as the ROI of the face region. Then, it is assumed that the feature region detection unit 203 detects a region including the region 1320, the region 1321, and the region 1322 as a human region ROI in the vicinity of the face region. Then, as described with reference to FIG. 1-12, the compression strength determination unit 740 performs resolution A as the resolution of the ROI of the face region, resolution B as the resolution of the ROI of the human region, and resolution C as the resolution of the background region. Is determined.

この場合、境界領域特定部710は、顔領域のROIの周部における所定幅の領域、人領域のROIの周部における所定幅の領域を、境界領域として特定する。なお、境界領域特定部710は、ROI内及びROI外のいずれかに境界領域を特定してよい。他にも、境界領域特定部710は、ROI内の領域及びROI外の領域の双方にまたがる境界領域を特定してもよい。そして、圧縮強度決定部740は、境界領域における解像度を、当該境界領域を含むROIの解像度と、他のROIの解像度又は背景領域の解像度とに応じて決定する。   In this case, the boundary region specifying unit 710 specifies a region having a predetermined width in the peripheral portion of the ROI of the face region and a region having a predetermined width in the peripheral portion of the ROI of the human region as the boundary region. Note that the boundary region specifying unit 710 may specify the boundary region either inside the ROI or outside the ROI. In addition, the boundary area specifying unit 710 may specify a boundary area that extends over both the area inside the ROI and the area outside the ROI. Then, the compression strength determination unit 740 determines the resolution in the boundary area according to the resolution of the ROI including the boundary area and the resolution of the other ROI or the background area.

具体的には、圧縮強度決定部740は、顔領域のROIと人領域のROIとの間の境界領域1312及び1322の解像度として、解像度A及び解像度Bの平均の解像度を決定する。また、圧縮強度決定部740は、顔領域のROIと背景領域との間の境界領域1311の解像度として、解像度A及び解像度Cの平均の解像度を決定する。また、圧縮強度決定部740は、人領域のROIと背景領域との間の境界領域1321の解像度として、解像度B及び解像度Cの平均の解像度を決定する。なお、圧縮強度決定部740は、所定の勾配で漸変する解像度を、境界領域における解像度として決定してもよい。   Specifically, the compression strength determination unit 740 determines an average resolution of resolution A and resolution B as the resolution of the boundary regions 1312 and 1322 between the ROI of the face region and the ROI of the human region. Further, the compression strength determination unit 740 determines an average resolution of resolution A and resolution C as the resolution of the boundary region 1311 between the ROI of the face region and the background region. Further, the compression strength determination unit 740 determines an average resolution of resolution B and resolution C as the resolution of the boundary region 1321 between the ROI of the human region and the background region. Note that the compression strength determination unit 740 may determine the resolution that gradually changes with a predetermined gradient as the resolution in the boundary region.

このように、境界領域特定部710は、特徴領域以外の領域と特徴領域との間の境界の近傍における特徴領域内の領域を、境界領域として特定する。なお、境界領域特定部710は、特徴領域がより大きい場合により大きい境界領域を特定してよい。また、境界領域特定部710は、特徴領域に含まれる画像を圧縮する圧縮強度と、背景特徴に含まれる画像を圧縮する圧縮強度との差がより大きい場合に、より大きい境界領域を特定してもよい。   As described above, the boundary region specifying unit 710 specifies a region in the feature region in the vicinity of the boundary between the region other than the feature region and the feature region as the boundary region. Note that the boundary region specifying unit 710 may specify a larger boundary region when the feature region is larger. The boundary region specifying unit 710 specifies a larger boundary region when the difference between the compression strength for compressing the image included in the feature region and the compression strength for compressing the image included in the background feature is larger. Also good.

また、境界領域特定部710は、複数の特徴領域のうちの近接する特徴領域について、一方の特徴領域と他方の特徴領域との間の境界近傍の領域を、境界領域として特定する。そして、圧縮強度決定部740は、一方の特徴領域に含まれる画像を圧縮する圧縮強度と他方の特徴領域に含まれる画像を圧縮する圧縮強度との間の圧縮強度を、一方の特徴領域と他方の特徴領域との間の境界近傍の境界領域の画像を圧縮する圧縮強度として決定する。そして、圧縮部240は、圧縮強度決定部740が決定した圧縮強度で、一方の特徴領域と他方の特徴領域との間の境界近傍の境界領域の画像を圧縮する。   In addition, the boundary area specifying unit 710 specifies an area in the vicinity of the boundary between one feature area and the other feature area as a boundary area for adjacent feature areas of the plurality of feature areas. Then, the compression strength determination unit 740 determines a compression strength between a compression strength for compressing an image included in one feature region and a compression strength for compressing an image included in the other feature region, and the one feature region and the other. This is determined as the compression strength for compressing the image in the boundary region in the vicinity of the boundary with the feature region. Then, the compression unit 240 compresses the image of the boundary region near the boundary between one feature region and the other feature region with the compression strength determined by the compression strength determination unit 740.

このように、圧縮強度決定部740が、ROIの解像度と背景領域の解像度との中間の解像度を境界領域の解像度として決定する。このため、画像処理装置170が生成した合成動画に含まれるフレーム画像において、ROIの解像度と背景領域の解像度の差を目立たなくすることができる場合がある。   In this way, the compression strength determination unit 740 determines an intermediate resolution between the resolution of the ROI and the resolution of the background area as the resolution of the boundary area. For this reason, in the frame image included in the synthesized moving image generated by the image processing apparatus 170, the difference between the resolution of the ROI and the resolution of the background area may be made inconspicuous.

図14は、画像処理装置120におけるブロック構成の他の一例を示す。画像処理装置120は、圧縮動画取得部201、圧縮動画伸張部202、特徴領域検出部203、圧縮部240、圧縮制御ユニット700、対応付け処理部206、および出力部207を有する。画像分割部204は、入力動画画質制御部280、画質低減部281、複数の階層間差分圧縮部282a−d(以下、階層間差分圧縮部282と総称する。)を有する。   FIG. 14 shows another example of a block configuration in the image processing apparatus 120. The image processing apparatus 120 includes a compressed moving image acquisition unit 201, a compressed moving image expansion unit 202, a feature region detection unit 203, a compression unit 240, a compression control unit 700, an association processing unit 206, and an output unit 207. The image dividing unit 204 includes an input moving image quality control unit 280, an image quality reduction unit 281, and a plurality of inter-layer difference compression units 282a-d (hereinafter collectively referred to as inter-layer difference compression units 282).

なお、圧縮動画取得部201、圧縮動画伸張部202、特徴領域検出部203、圧縮制御ユニット700、対応付け処理部206、および出力部207の機能および動作は、それぞれ図2から図13に関連して説明した圧縮動画取得部201、圧縮動画伸張部202、特徴領域検出部203、圧縮制御ユニット700、対応付け処理部206、および出力部207の機能および動作と略同一であので、その相違点を除いて説明を省略する。   Note that the functions and operations of the compressed video acquisition unit 201, the compressed video expansion unit 202, the feature region detection unit 203, the compression control unit 700, the association processing unit 206, and the output unit 207 are related to FIGS. 2 to 13, respectively. Are substantially the same as the functions and operations of the compressed moving image acquisition unit 201, the compressed moving image expansion unit 202, the feature region detection unit 203, the compression control unit 700, the association processing unit 206, and the output unit 207 described above. The description is omitted except for.

入力動画画質制御部280は、圧縮動画伸張部202が生成した複数の動画構成画像のそれぞれにおける特徴領域の特徴量に応じて、特徴領域の画質および特徴領域以外の領域の画質を制御する。   The input moving image quality control unit 280 controls the image quality of the feature region and the image quality of the region other than the feature region in accordance with the feature amount of the feature region in each of the plurality of moving image constituent images generated by the compressed moving image decompression unit 202.

画質低減部281は、動画の画質を低減することによって、予め定められた異なる画質を持つ複数の動画を生成する。そして、画質低減部281は、生成した画質が異なる動画を階層間差分圧縮部282に提供する。具体的には、画質低減部281は、動画のフレームレートを低減することにより、あるいは動画に含まれる動画構成画像の解像度を低減することにより、異なる画質を持つ動画を生成する。そして、階層間差分圧縮部282は、予め定められた画質の動画を画質低減部281から取得して、取得した動画を圧縮する。なお、階層間差分圧縮部282は、互いに異なる画質の動画を圧縮する。なお、階層間差分圧縮部282aに供給される動画に含まれる動画構成画像は、階層間差分圧縮部282b−dに供給される動画に含まれる動画構成画像である特徴領域画像より画質が低い。つまり、画質低減部281は、階層間差分圧縮部282b−dに供給される特徴領域画像より低画質な低画質画像を生成して、階層間差分圧縮部282aに供給する。   The image quality reduction unit 281 generates a plurality of moving images having different predetermined image quality by reducing the image quality of the moving images. Then, the image quality reduction unit 281 provides the generated moving images with different image quality to the inter-layer difference compression unit 282. Specifically, the image quality reduction unit 281 generates moving images having different image quality by reducing the frame rate of moving images or by reducing the resolution of moving image constituent images included in the moving images. Then, the inter-layer difference compression unit 282 acquires a moving image having a predetermined image quality from the image quality reduction unit 281 and compresses the acquired moving image. Note that the inter-layer difference compression unit 282 compresses moving images having different image quality. Note that the moving image constituent image included in the moving image supplied to the inter-layer difference compression unit 282a has lower image quality than the characteristic area image that is the moving image constituent image included in the moving image supplied to the inter-layer difference compression unit 282b-d. That is, the image quality reduction unit 281 generates a low-quality image having a lower image quality than the feature region image supplied to the inter-layer difference compression unit 282b-d, and supplies the low-quality image to the inter-layer difference compression unit 282a.

このように、階層間差分圧縮部282aは、階層間差分圧縮部282b−dのいずれが受け取る動画構成画像より解像度が低い動画構成画像を画質低減部281から取得して圧縮する。なお、階層間差分圧縮部282b−dは、階層間差分圧縮部282b、階層間差分圧縮部282c、および階層間差分圧縮部282dの順で解像度が低い動画構成画像を画質低減部281から取得して圧縮する。   As described above, the inter-layer difference compression unit 282a acquires the moving image constituent image having a lower resolution than the moving image constituent image received by any of the inter-layer difference compression units 282b-d from the image quality reduction unit 281 and compresses it. Note that the inter-layer difference compression unit 282b-d acquires, from the image quality reduction unit 281, a moving image constituent image having a lower resolution in the order of the inter-layer difference compression unit 282b, the inter-layer difference compression unit 282c, and the inter-layer difference compression unit 282d. Compress.

階層間差分圧縮部282bは、階層間差分圧縮部282aが圧縮した動画構成画像を伸張して、伸張して得られた動画構成画像を、画質低減部281から取得した動画構成画像の解像度と同じ解像度にまで拡大する。そして、階層間差分圧縮部282bは、拡大して得られた動画構成画像と画質低減部281から取得した動画構成画像との間の差分画像を圧縮する。なお、階層間差分圧縮部282bは、特徴領域において差分値を持つが、特徴領域以外の領域において差分値を持たない差分画像を生成して圧縮する。   The inter-layer difference compression unit 282b expands the moving image constituent image compressed by the inter-layer difference compression unit 282a, and the moving image constituent image obtained by the expansion is the same as the resolution of the moving image constituent image acquired from the image quality reduction unit 281. Enlarge to the resolution. Then, the inter-layer difference compression unit 282b compresses the difference image between the moving image constituent image obtained by the enlargement and the moving image constituent image acquired from the image quality reduction unit 281. Note that the inter-layer difference compression unit 282b generates and compresses a difference image that has a difference value in the feature region but does not have a difference value in a region other than the feature region.

また、階層間差分圧縮部282cは、階層間差分圧縮部282bが圧縮した動画構成画像を伸張して、伸張して得られた動画構成画像を、画質低減部281から取得した動画構成画像の解像度と同じ解像度にまで拡大する。そして、階層間差分圧縮部282cは、拡大して得られた動画構成画像と画質低減部281から取得した動画構成画像との間の差分画像を圧縮する。なお、階層間差分圧縮部282cは、複数の特徴領域のうち、特徴領域の特徴量に応じた少なくとも一部の特徴領域において差分値を持つが、当該少なくとも一部の特徴領域以外の領域において差分値を持たない差分画像を生成して圧縮する。   Further, the inter-layer difference compression unit 282c expands the moving image constituent image compressed by the inter-layer difference compressing unit 282b, and the resolution of the moving image constituent image obtained from the image quality reduction unit 281 is obtained by expanding the moving image constituent image. To the same resolution. Then, the inter-layer difference compression unit 282c compresses the difference image between the moving image constituent image obtained by the enlargement and the moving image constituent image acquired from the image quality reduction unit 281. Note that the inter-layer difference compression unit 282c has a difference value in at least a part of the plurality of feature areas according to the feature amount of the feature area, but has a difference value in an area other than the at least some of the feature areas. A difference image having no value is generated and compressed.

また、階層間差分圧縮部282dは、階層間差分圧縮部282cが圧縮した動画構成画像を伸張する。そして、階層間差分圧縮部282dは、伸張して得られた動画構成画像を、入力動画画質制御部280から取得した動画構成画像の解像度と同じ解像度にまで拡大する。そして、階層間差分圧縮部282dは、拡大して得られた動画構成画像と入力動画画質制御部280から取得した動画構成画像との間の差分画像を圧縮する。なお、階層間差分圧縮部282dは、複数の特徴領域のうち、特徴領域の特徴量に応じた少なくとも一部の特徴領域において差分値を持つが、当該少なくとも一部の特徴領域以外の領域において差分値を持たない差分画像を生成して圧縮する。   In addition, the inter-layer difference compression unit 282d expands the moving image constituent image compressed by the inter-layer difference compression unit 282c. Then, the hierarchical difference compression unit 282d expands the moving image constituent image obtained by the decompression to the same resolution as the resolution of the moving image constituent image acquired from the input moving image quality control unit 280. Then, the inter-layer difference compression unit 282d compresses a difference image between the enlarged moving image constituent image and the moving image constituent image acquired from the input moving image quality control unit 280. Note that the inter-layer difference compression unit 282d has a difference value in at least a part of the plurality of feature areas according to the feature amount of the feature area, but has a difference value in an area other than the at least some of the feature areas. A difference image having no value is generated and compressed.

このように、階層間差分圧縮部282b−dは、入力動画画質制御部280または画質低減部281から受け取った動画構成画像と、より低い解像度の動画構成画像を拡大した動画構成画像との間の差分をとることによって得られた差分画像を圧縮する。そして、対応付け処理部206は、階層間差分圧縮部282a−dによって圧縮して得られた複数の動画構成画像を含む圧縮動画データを、特徴領域を特定する情報に対応づける。そして、出力部207は、対応付け処理部206によって特徴領域を特定する情報が対応づけられた圧縮動画データを画像処理装置170に送信する。このように、画像処理装置120は、特徴領域の特徴量に応じてスケーラブルに圧縮符号化された動画を提供することができる。   In this way, the inter-layer difference compression unit 282b-d is between the moving image constituent image received from the input moving image quality control unit 280 or the image quality reducing unit 281 and the moving image constituent image obtained by enlarging the lower moving image constituent image. The difference image obtained by taking the difference is compressed. Then, the association processing unit 206 associates the compressed moving image data including a plurality of moving image constituent images obtained by compression by the inter-layer difference compression units 282a-d with information for specifying the feature region. Then, the output unit 207 transmits the compressed moving image data associated with the information for specifying the feature area by the association processing unit 206 to the image processing apparatus 170. In this way, the image processing apparatus 120 can provide a moving image that is scalable and encoded according to the feature amount of the feature region.

図15は、階層間差分圧縮部282aおよびbのブロック構成の一例を示す。階層間差分圧縮部282aは、動き解析部285a、動き符号化部286a、差分処理部287a、および符号化部288aを有する。動き解析部285aは、差分対象領域決定部294aおよび位置差情報生成部295aを含む。差分処理部287aは、差分画素画像生成部296a、空間周波数領域変換部297a、および量子化部298aを含む。   FIG. 15 shows an example of the block configuration of the inter-layer difference compression units 282a and b. The inter-layer difference compression unit 282a includes a motion analysis unit 285a, a motion encoding unit 286a, a difference processing unit 287a, and an encoding unit 288a. The motion analysis unit 285a includes a difference target area determination unit 294a and a position difference information generation unit 295a. The difference processing unit 287a includes a difference pixel image generation unit 296a, a spatial frequency domain conversion unit 297a, and a quantization unit 298a.

階層間差分圧縮部282bは、動き解析部285b、動き符号化部286b、差分処理部287b、画像拡大部293b、画像復号部292b、画素値変更部291b、および符号化部288bを有する。動き解析部285bは、差分対象領域決定部294bおよび位置差情報生成部295bを含む。差分処理部287bは、差分画素画像生成部296b、空間周波数領域変換部297b、量子化部298b、および周波数領域画質変換部299bを含む。なお、階層間差分圧縮部282cおよび階層間差分圧縮部282dは、階層間差分圧縮部282bが有する構成要素と略同一の構成要素を有するので、説明を省略する。   The inter-layer difference compression unit 282b includes a motion analysis unit 285b, a motion encoding unit 286b, a difference processing unit 287b, an image enlargement unit 293b, an image decoding unit 292b, a pixel value changing unit 291b, and an encoding unit 288b. The motion analysis unit 285b includes a difference target area determination unit 294b and a position difference information generation unit 295b. The difference processing unit 287b includes a difference pixel image generation unit 296b, a spatial frequency domain conversion unit 297b, a quantization unit 298b, and a frequency domain image quality conversion unit 299b. Note that the inter-layer difference compression unit 282c and the inter-layer difference compression unit 282d have substantially the same constituent elements as the inter-layer difference compression unit 282b, and a description thereof will be omitted.

以下に、階層間差分圧縮部282aの各構成要素の機能および動作について説明する。動き解析部285aは、画質低減部281から受け取った複数の動画構成画像の画像内容に基づいて複数の動画構成画像にわたる動きを解析して、当該動きに基づいて動画構成画像を圧縮すべき部分領域を決定する。   The function and operation of each component of the inter-layer difference compression unit 282a will be described below. The motion analysis unit 285a analyzes the motion over the plurality of moving image constituent images based on the image contents of the plurality of moving image constituent images received from the image quality reduction unit 281 and compresses the moving image constituent images based on the motion To decide.

具体的には、差分対象領域決定部294aは、複数の動画構成画像にわたる部分領域の画素値に基づいて、動画構成画像を他の動画構成画像との差分により圧縮する場合における、差分対象となる他の動画構成画像における部分領域を決定する。差分対象領域決定部294aは、圧縮対象の部分領域の画素情報および差分対象の部分領域の画素情報を差分処理部287aに供給する。   Specifically, the difference target area determination unit 294a becomes a difference target in the case where a moving picture constituent image is compressed by a difference from another moving picture constituent image based on the pixel values of partial areas that span a plurality of moving picture constituent images. A partial area in another moving image constituent image is determined. The difference target area determination unit 294a supplies pixel information of the compression target partial area and pixel information of the difference target partial area to the difference processing unit 287a.

また、位置差情報生成部295aは、差分により圧縮する部分領域と差分対象となる部分領域との間の位置差を示す位置差情報を生成する。具体的には、位置差情報生成部295aは、動き補償に用いる動きベクトルを生成する。そして、位置差情報生成部295aは、生成した位置差情報を動き符号化部286aに供給する。   In addition, the position difference information generation unit 295a generates position difference information indicating a position difference between the partial area to be compressed by the difference and the partial area to be the difference target. Specifically, the position difference information generation unit 295a generates a motion vector used for motion compensation. Then, the position difference information generation unit 295a supplies the generated position difference information to the motion encoding unit 286a.

動き符号化部286aは、位置差情報生成部295aから供給された位置差情報を符号化して、対応付け処理部206に供給する。例えば、動き符号化部286は、隣接する部分領域における位置差情報との間の差を符号化して、対応付け処理部206に供給する。   The motion encoding unit 286a encodes the position difference information supplied from the position difference information generation unit 295a and supplies the encoded information to the association processing unit 206. For example, the motion encoding unit 286 encodes the difference between the position difference information in the adjacent partial areas and supplies the encoded difference to the association processing unit 206.

差分処理部287aは、動き解析部285aから受け取った圧縮対象の部分領域の画素情報と差分対象の部分領域の画素情報との間の差分により、圧縮対象の部分領域の画像を圧縮する。具体的には、差分画素画像生成部296aは、圧縮対象の部分領域の画素情報と差分対象の部分領域の画素情報との間の差分により差分画素画像を生成する。   The difference processing unit 287a compresses the image of the partial area to be compressed based on the difference between the pixel information of the partial area to be compressed and the pixel information of the partial area to be difference received from the motion analysis unit 285a. Specifically, the difference pixel image generation unit 296a generates a difference pixel image based on the difference between the pixel information of the compression target partial area and the pixel information of the difference target partial area.

そして、空間周波数領域変換部297aは、差分画素画像を部分領域毎に空間周波数領域に変換する。具体的には、空間周波数領域変換部297aは、離散コサイン変換(DCT)により、差分画素画像における部分領域ごとに空間周波数領域に変換する。なお、空間周波数領域変換部297aは、アダマール変換あるはウェーブレット変換等のような種々の周波数変換により、差分画素画像を部分領域ごとに空間周波数領域に変換してよい。   Then, the spatial frequency domain conversion unit 297a converts the difference pixel image into a spatial frequency domain for each partial region. Specifically, the spatial frequency domain conversion unit 297a converts each partial area in the difference pixel image into a spatial frequency domain by discrete cosine transform (DCT). The spatial frequency domain transform unit 297a may transform the difference pixel image into a spatial frequency domain for each partial region by various frequency transforms such as Hadamard transform or wavelet transform.

なお、動き解析部285aが他の動画構成画像の部分領域との間の差分により圧縮しない旨を判断した場合には、差分処理部287aは圧縮対象の部分領域の画素情報を空間周波数領域変換部297aに供給する。空間周波数領域変換部297aは画素情報を、上記のように部分領域ごとに空間周波数領域に変換する。   When the motion analysis unit 285a determines that the compression is not performed due to a difference from another partial region of the moving image constituent image, the difference processing unit 287a converts the pixel information of the partial region to be compressed into the spatial frequency domain conversion unit. 297a. The spatial frequency domain conversion unit 297a converts the pixel information into a spatial frequency domain for each partial area as described above.

量子化部298aは、空間周波数領域変換部297aが空間周波数領域に変換することによって得られた変換係数を量子化する。そして、符号化部288aは、量子化部298aによって量子化された変換係数を符号化することによって圧縮する。例えば、符号化部288は、量子化部298aによって量子化された変換係数を、ハフマン符号化、算術符号化等のエントロピー符号化により符号化する。そして、符号化部288aは、符号化した動画を、対応付け処理部206に供給する。   The quantization unit 298a quantizes the transform coefficient obtained by the spatial frequency domain transform unit 297a transforming into the spatial frequency domain. Then, the encoding unit 288a compresses the transform coefficient quantized by the quantization unit 298a by encoding. For example, the encoding unit 288 encodes the transform coefficient quantized by the quantization unit 298a by entropy coding such as Huffman coding or arithmetic coding. Then, the encoding unit 288a supplies the encoded moving image to the association processing unit 206.

以下に、階層間差分圧縮部282bが含む各構成要素の機能および動作について説明する。階層間差分圧縮部282bが含む構成要素のうち、階層間差分圧縮部282aが含む構成要素と同一の符号が付された構成要素は、階層間差分圧縮部282aが含む構成要素と類似する機能および動作をするので、その相違点を除いて説明を省略する。   Hereinafter, functions and operations of each component included in the inter-layer difference compression unit 282b will be described. Among the components included in the inter-layer difference compression unit 282b, the components denoted by the same reference numerals as those included in the inter-layer difference compression unit 282a are similar in function to the components included in the inter-layer difference compression unit 282a and Since it operates, description is abbreviate | omitted except the difference.

差分対象領域決定部294bは、差分対象領域決定部294aと同様に、画質低減部281から受け取った複数の動画構成画像のそれぞれについて、動画構成画像に含まれる圧縮対象の部分領域と差分をとるべき、他の動画構成画像における部分領域を特定する。このように、差分対象領域決定部294bは、特徴領域画像との間で差分をとるべき、他の動画構成画像から生成された特徴領域画像における部分領域である特徴領域部分領域を決定する。そして、差分対象領域決定部294bは、圧縮対象の部分領域の画素情報および差分対象の部分領域の画素情報を画素値変更部291bに供給する。   Similar to the difference target region determination unit 294a, the difference target region determination unit 294b should take a difference from the compression target partial region included in the video component image for each of the plurality of video component images received from the image quality reduction unit 281. Then, a partial area in another moving image constituent image is specified. In this manner, the difference target area determination unit 294b determines a feature area partial area that is a partial area in a feature area image generated from another moving image constituent image, which should take a difference from the feature area image. Then, the difference target area determination unit 294b supplies pixel information of the compression target partial area and pixel information of the difference target partial area to the pixel value changing unit 291b.

また、画像復号部292bは、符号化部288aから動画構成画像を取得するとともに、動き符号化部286aから位置差情報を取得する。そして、画像復号部292bは、符号化部288aから取得した動画構成画像を、動き符号化部286aから取得した位置差情報を用いて復号する。なお、画像復号部292bは、量子化部298aにより量子化された動画構成画像を取得して復号してよく、符号化部288aが符号化した動画構成画像を取得して復号してもよい。   In addition, the image decoding unit 292b acquires a moving image constituent image from the encoding unit 288a, and acquires positional difference information from the motion encoding unit 286a. And the image decoding part 292b decodes the moving image structure image acquired from the encoding part 288a using the positional difference information acquired from the motion encoding part 286a. The image decoding unit 292b may acquire and decode the moving image constituent image quantized by the quantization unit 298a, or may acquire and decode the moving image constituent image encoded by the encoding unit 288a.

画像拡大部293bは、画像復号部292bにより復号された動画構成画像を拡大することによって拡大画像を生成する。そして、画素値変更部291bは、差分対象領域決定部294bが決定した部分領域のうち、特徴領域を含む部分領域の画素値を変更せずに、特徴領域に含まれない部分領域の画素値を、拡大画像における部分領域の画素値で置き換える。このように、画素値変更部291bは、入力された動画構成画像から、特徴領域以外の領域の画素値を拡大した画像の画素値で置き換えた特徴領域画像を生成する。   The image enlarging unit 293b generates an enlarged image by enlarging the moving image constituent image decoded by the image decoding unit 292b. Then, the pixel value changing unit 291b does not change the pixel value of the partial region including the characteristic region among the partial regions determined by the difference target region determining unit 294b, and changes the pixel value of the partial region not included in the characteristic region. The pixel value of the partial area in the enlarged image is replaced. As described above, the pixel value changing unit 291b generates a feature area image in which the pixel values of the area other than the feature area are replaced with the pixel values of the enlarged image from the input moving image constituent image.

差分処理部287bは、圧縮対象の特徴領域画像、特徴領域画像に含まれる部分領域の差分対象となる部分領域の画像情報、および拡大画像を、画素値変更部291bから受け取る。そして、差分処理部287bは、圧縮対象の特徴領域画像に含まれる複数の部分領域のそれぞれについて、同じ特徴領域画像の画素情報を用いて符号化するか(以下、イントラ符号化と呼ぶ。)、他の動画構成画像に含まれる差分対象の部分領域との間の差分により符号化するか(以下、インター符号化と呼ぶ。)、拡大画像との間の差分により符号化するか(以下、階層間符号化と呼ぶ。)を決定する。このとき、差分処理部287bは符号化後の符号量がより小さい符号化方法をより優先して選択する。なお、特徴領域以外の領域においては、差分を持たないように画素値が置き換えられているので階層間符号化が選択される。したがって、階層間符号化が選択された場合についてまず説明するが、加えて、インター符号化、イントラ符号化が選択された場合についても説明する。   The difference processing unit 287b receives, from the pixel value changing unit 291b, the feature region image to be compressed, the image information of the partial region that is the difference target of the partial region included in the feature region image, and the enlarged image. Then, the difference processing unit 287b encodes each of a plurality of partial regions included in the compression target feature region image using pixel information of the same feature region image (hereinafter referred to as intra coding). Whether encoding is performed using a difference from a partial area to be included in another moving image constituent image (hereinafter referred to as inter encoding), or encoding is performed using a difference from an enlarged image (hereinafter referred to as a hierarchy). Called inter-coding). At this time, the difference processing unit 287b preferentially selects an encoding method with a smaller code amount after encoding. Note that in regions other than the feature region, the pixel values are replaced so as not to have a difference, so inter-layer coding is selected. Therefore, the case where inter-layer coding is selected will be described first, but in addition, the case where inter coding and intra coding are selected will also be described.

階層間符号化が選択された場合には、差分画素画像生成部296bは、特徴領域画像と拡大画像との間の画素値の差分を示す差分画素画像を生成する。具体的には、差分画素画像生成部296bは、特徴領域以外の領域の画素値が置き換えられた特徴領域画像と拡大画像との間の差分により差分画素画像を生成する。なお、特徴領域画像においては特徴領域以外の領域の画素値は拡大画像の画素値で置き換えられているので、差分画素画像生成部296bは、特徴領域において特徴領域画像と拡大した画像との間の画素値の差分値を持ち、特徴領域以外の領域において画素値の差分値を持たない差分画素画像を生成することができる。   When the inter-layer coding is selected, the difference pixel image generation unit 296b generates a difference pixel image indicating a difference in pixel values between the feature region image and the enlarged image. Specifically, the difference pixel image generation unit 296b generates a difference pixel image based on the difference between the feature region image in which the pixel values of the regions other than the feature region are replaced and the enlarged image. In the feature region image, since the pixel values of the regions other than the feature region are replaced with the pixel values of the enlarged image, the difference pixel image generation unit 296b performs a difference between the feature region image and the enlarged image in the feature region. A difference pixel image having a difference value of pixel values and not having a difference value of pixel values in an area other than the feature area can be generated.

インター符号化が選択された場合には、差分画素画像生成部296bは、画素値変更部291bにより生成された特徴領域画像と、他の動画構成画像から画素値変更部291bが生成した特徴領域画像との間の差分をとる。具体的には、差分画素画像生成部296bは、特徴領域に含まれる部分領域の画像と、当該部分領域について差分対象領域決定部294bが決定した差分対象部分領域の画像との間の差分をとる。特徴領域画像においては特徴領域以外の領域の画素値は拡大画像の画素値で置き換えられているので、差分画素画像生成部296bは、特徴領域に含まれる部分領域において差分対象領域決定部294bが決定した部分領域との間の画素値の差分値を持ち、特徴領域以外の領域において差分対象領域決定部294bが決定した部分領域との間で画素値の差分値を持つ差分画素画像が生成される。   When inter coding is selected, the difference pixel image generation unit 296b generates a feature region image generated by the pixel value change unit 291b and a feature region image generated by the pixel value change unit 291b from another moving image configuration image. The difference between is taken. Specifically, the difference pixel image generation unit 296b obtains a difference between the partial region image included in the feature region and the difference target partial region image determined by the difference target region determination unit 294b for the partial region. . In the feature region image, since the pixel values of the region other than the feature region are replaced with the pixel values of the enlarged image, the difference pixel image generation unit 296b determines the difference target region determination unit 294b in the partial region included in the feature region. A difference pixel image having a difference value of the pixel value between the partial area and the partial area determined by the difference target area determination unit 294b in the area other than the feature area is generated. .

なお、イントラ符号化が選択された場合には、差分画素画像生成部296bは、特徴領域画像のそれぞれが含む部分領域の画像を、特徴領域画像の他の領域の画素値または同じ部分領域の画素値との間で差分をとることにより、差分画素画像を生成する。   When intra coding is selected, the difference pixel image generation unit 296b uses the partial region image included in each feature region image as the pixel value of another region of the feature region image or the pixel of the same partial region. A difference pixel image is generated by taking a difference from the value.

空間周波数領域変換部297bは、差分画素画像を、部分領域ごとに空間周波数領域に変換する。具体的には、空間周波数領域変換部297bは、差分画素画像が示す差分値を、空間周波数領域変換部297aと同様に、離散コサイン変換(DCT)、アダマール変換、またはウェーブレット変換等により、部分領域ごとに空間周波数領域に変換する。量子化部298bは、量子化部298aと同様に、空間周波数領域変換部297bが空間周波数領域に変換することによって得られた変換係数を量子化する。   The spatial frequency domain conversion unit 297b converts the difference pixel image into a spatial frequency domain for each partial region. Specifically, the spatial frequency domain transform unit 297b converts the difference value indicated by the difference pixel image into a partial region by discrete cosine transform (DCT), Hadamard transform, wavelet transform, or the like, similar to the spatial frequency domain transform unit 297a. Each is converted to the spatial frequency domain. Similar to the quantization unit 298a, the quantization unit 298b quantizes the transform coefficient obtained by the spatial frequency domain transform unit 297b transforming into the spatial frequency domain.

そして、周波数領域画質変換部299bは、空間周波数領域変換部297bにより空間周波数領域に変換されて得られる部分領域ごとの空間周波数成分のうち、特徴領域以外の領域を含む少なくとも一部の部分領域の空間周波数成分のデータ量を低減することによって、特徴領域差分画像または特徴領域間差分画像を生成する。具体的には、周波数領域画質変換部299bは、予め定められた周波数より高い周波数成分を示す変換係数の大きさを低減する。周波数領域画質変換部299bは、予め定められた周波数より高い周波数成分を示す変換係数を0にしてもよい。   Then, the frequency domain image quality conversion unit 299b includes at least some partial regions including regions other than the feature region among the spatial frequency components for each partial region obtained by being converted into the spatial frequency region by the spatial frequency region conversion unit 297b. A feature region difference image or a feature region difference image is generated by reducing the data amount of the spatial frequency component. Specifically, the frequency domain image quality conversion unit 299b reduces the size of a conversion coefficient indicating a frequency component higher than a predetermined frequency. The frequency domain image quality conversion unit 299b may set the conversion coefficient indicating a frequency component higher than a predetermined frequency to zero.

このように、差分処理部287bは、特徴領域において特徴領域画像と拡大した画像との間の差分が空間周波数領域に変換された空間周波数成分を持ち、特徴領域以外の領域において空間周波数成分のデータ量が低減された特徴領域差分画像を生成する。そして、符号化部288bは、差分処理部287bが生成した特徴領域差分画像を符号化する。   As described above, the difference processing unit 287b has a spatial frequency component in which the difference between the feature region image and the enlarged image in the feature region is converted into the spatial frequency region, and the spatial frequency component data in the region other than the feature region. A feature region difference image with a reduced amount is generated. Then, the encoding unit 288b encodes the feature region difference image generated by the difference processing unit 287b.

また、上記したように、差分処理部287bは、特徴領域画像における特徴領域の画像と、低画質画像における特徴領域の画像との間の差分画像を示す特徴領域差分画像を生成する。より具体的には、差分処理部287は、特徴領域画像における特徴領域の画像と、低画質画像における特徴領域の画像を拡大した画像との間の特徴領域差分画像を生成する。   In addition, as described above, the difference processing unit 287b generates a feature region difference image that indicates a difference image between the feature region image in the feature region image and the feature region image in the low-quality image. More specifically, the difference processing unit 287 generates a feature region difference image between the feature region image in the feature region image and the enlarged image of the feature region image in the low-quality image.

なお、以上の説明においては、画素値変更部291bは、差分画素画像における少なくとも特徴領域以外の領域(予め定められた特徴の種類を持つ特徴領域以外の領域であって、当該特徴領域より高解像度を持つべき特徴の種類を持つ特徴領域以外の領域)において差分値を0とすべく、特徴領域以外の画素値を拡大画像の画素値で置き換えた。しかしながら、他の方法により、差分画素画像における差分値を0とすることもできる。   In the above description, the pixel value changing unit 291b has at least a region other than the feature region in the difference pixel image (a region other than the feature region having a predetermined feature type and having a higher resolution than the feature region. In order to set the difference value to 0 in the region other than the feature region having the type of feature to have, the pixel value other than the feature region is replaced with the pixel value of the enlarged image. However, the difference value in the difference pixel image can be set to 0 by other methods.

例えば、画素値変更部291bは、画質低減部281から取得した動画構成画像の特徴領域以外の領域の画素値を所定の画素値に変換するとともに、拡大画像における特徴領域以外の領域と同じ画像領域の画素値を当該所定の画素値に変換してよい。このようにしても、差分画素画像における特徴領域以外の領域の差分値を0とすることができ、特徴領域以外の領域の情報量を実質的に低減することができる。   For example, the pixel value changing unit 291b converts a pixel value of a region other than the feature region of the moving image constituent image acquired from the image quality reduction unit 281 into a predetermined pixel value, and also has the same image region as the region other than the feature region in the enlarged image May be converted into the predetermined pixel value. Even in this case, the difference value of the region other than the feature region in the difference pixel image can be set to 0, and the information amount of the region other than the feature region can be substantially reduced.

このように、画素値変更部291bは、動画構成画像から、特徴領域以外の領域の画素値および拡大した画像における特徴領域以外の領域の画素値を、所定値で置き換えた特徴領域画像を生成する。そして、差分画素画像生成部296は、特徴領域以外の領域の画素値が置き換えられた、特徴領域画像と拡大した画像との間の差分により差分画素画像を生成する。   In this way, the pixel value changing unit 291b generates a feature region image in which the pixel values of the regions other than the feature region and the pixel values of the region other than the feature region in the enlarged image are replaced with predetermined values from the moving image constituent image. . Then, the difference pixel image generation unit 296 generates a difference pixel image based on the difference between the feature region image and the enlarged image in which the pixel values of the regions other than the feature region are replaced.

なお、画素値変更部291bは、画質低減部281から取得した動画構成画像の特徴領域以外の領域の画素値を、下位階層の階層間差分圧縮部282(例えば、階層間差分圧縮部282a)に提供される動画構成画像を拡大した画像における同一領域の画素値で置き換えてもよい。このようにしても、差分画素画像における差分値を略0にすることができ、特徴領域以外の領域の情報量を実質的に低減することができる。   Note that the pixel value changing unit 291b sends the pixel values of the region other than the feature region of the moving image constituent image acquired from the image quality reducing unit 281 to the lower layer inter-layer difference compression unit 282 (for example, the inter-layer difference compression unit 282a). The provided moving image constituent image may be replaced with the pixel value of the same region in the enlarged image. Even in this case, the difference value in the difference pixel image can be made substantially zero, and the information amount of the area other than the feature area can be substantially reduced.

なお、位置差情報生成部295bは、特徴領域以外の領域に含まれる、差分対象となる部分領域の位置差を示す位置差情報を生成する。具体的には、位置差情報生成部295bは、位置差情報生成部295aと同様に、差分により圧縮する部分領域と差分対象となる部分領域である差分対象部分領域との間の位置差を示す位置差情報を生成する。なお、位置差情報は、動き補償における動きベクトルを含む。   Note that the position difference information generation unit 295b generates position difference information indicating the position difference of the partial area that is the difference target and is included in the area other than the feature area. Specifically, the positional difference information generation unit 295b indicates the positional difference between the partial region to be compressed by the difference and the differential target partial region that is the partial region that is the differential target, as in the positional difference information generation unit 295a. Generate position difference information. The position difference information includes a motion vector in motion compensation.

位置差情報変更部290bは、特徴領域以外の領域に含まれる部分領域が同じ位置の部分領域との間で差分がとられることを位置差情報が示すべく、位置差情報を変更する。具体的には、位置差情報変更部290bは、特徴領域以外の領域に含まれる部分領域における位置差情報を、位置差がないことを示す情報に変換する。また、位置差情報変更部290bは、動き符号化部286aから位置差情報を取得して、特徴領域以外の領域に含まれる部分領域における位置差情報を、位置差ないことを示す情報に変換する。具体的には、位置差情報変更部290bは、特徴領域以外の領域における動きベクトルの大きさを0にする。例えば、位置差情報変更部290bは、特徴領域以外の領域について、位置差情報生成部295bから受け取った動きベクトルの大きさを0にするとともに、動き符号化部286aから受け取った動きベクトルの大きさを0にする。   The position difference information changing unit 290b changes the position difference information so that the position difference information indicates that a partial area included in an area other than the feature area is different from the partial area at the same position. Specifically, the position difference information changing unit 290b converts the position difference information in the partial area included in the area other than the feature area into information indicating that there is no position difference. Also, the position difference information changing unit 290b acquires the position difference information from the motion encoding unit 286a, and converts the position difference information in the partial area included in the area other than the feature area into information indicating that there is no position difference. . Specifically, the position difference information changing unit 290b sets the magnitude of the motion vector in an area other than the feature area to zero. For example, the position difference information changing unit 290b sets the size of the motion vector received from the position difference information generating unit 295b to 0 for the region other than the feature region and the size of the motion vector received from the motion encoding unit 286a. Set to 0.

そして、動き符号化部286bは、位置差情報を符号化する。具体的には、動き符号化部286bは、動き符号化部286aと同様に、隣接する部分領域における位置差情報との間の差を符号化する。動き符号化部286bにより符号化された位置差情報は、対応付け処理部206に供給される。   Then, the motion encoding unit 286b encodes the position difference information. Specifically, similarly to the motion encoding unit 286a, the motion encoding unit 286b encodes a difference between position difference information in adjacent partial regions. The position difference information encoded by the motion encoding unit 286b is supplied to the association processing unit 206.

なお、本実施形態では、位置差情報変更部290は、特徴領域以外の領域の位置差情報を変換したが、位置差情報変更部290bは、動き符号化部286bにより符号化された符号化形式上で、特徴領域以外の領域の位置差情報を変換してもよい。すなわち、位置差情報変更部290bは、特徴領域以外の部分領域が同じ位置の部分領域との間で差分がとられることを示すべく、動き符号化部286により符号化された位置差情報を変更してもよい。   In the present embodiment, the position difference information changing unit 290 converts the position difference information of the region other than the feature region, but the position difference information changing unit 290b is encoded by the motion encoding unit 286b. Above, position difference information of regions other than the feature region may be converted. That is, the position difference information changing unit 290b changes the position difference information encoded by the motion encoding unit 286 to indicate that a difference is taken between the partial areas other than the feature areas and the partial areas at the same position. May be.

なお、符号化部288bは、特徴領域以外の領域における差分情報を持たない符号化データを生成してよい。具体的には、特徴領域以外の領域に含まれる部分領域の差分情報を持たない符号化データを生成してよい。また、動き符号化部286bは、特徴領域以外の領域に含まれる部分領域における位置差情報を持たない符号化データを生成してよい。このように、符号化部288bおよび動き符号化部286bは、特徴領域以外の領域の画像内容が他の動画構成画像における同じ領域の画像内容と同じであることを、差分情報および位置差情報を持たないことによって示す符号化データを生成する。例えば、符号化部288bおよび動き符号化部286bは、特徴領域以外の領域に含まれる部分領域の画像内容が他の動画構成画像における同じ領域の画像内容と同じであることを示す部分領域の種別を含む符号化データを生成してよい。   Note that the encoding unit 288b may generate encoded data having no difference information in a region other than the feature region. Specifically, encoded data that does not have difference information of partial areas included in areas other than the characteristic areas may be generated. In addition, the motion encoding unit 286b may generate encoded data that does not have position difference information in a partial region included in a region other than the feature region. As described above, the encoding unit 288b and the motion encoding unit 286b indicate that the image content of the region other than the feature region is the same as the image content of the same region in the other moving image constituent images, and the difference information and the position difference information. The encoded data shown by not having is generated. For example, the encoding unit 288b and the motion encoding unit 286b indicate the type of the partial area indicating that the image content of the partial area included in the area other than the feature area is the same as the image content of the same area in the other moving image constituent images. May be generated.

例えば、符号化部288bおよび動き符号化部286bは、特徴領域以外の領域に含まれる部分領域が、単純フレーム間予測であり、かつ変換係数を持たないことを示す符号化モードで符号化された部分領域であることを示す部分領域の種別を含む符号化データを生成してよい。例えば、当該部分領域の種別は、MPEG符号化におけるNonMC NotCodedに相当する種別であってよい。このように、符号化部288bおよび動き符号化部286bが動きベクトルの大きさおよび差分情報が0であることを示す情報を持たない符号化データを生成することにより、符号化後の動画構成画像の符号量をより低減することができる。なお、階層間差分圧縮部282bは、上記符号化モードを含む予測モードを決定する場合に、ラグランジェの未定乗数法に基づいて、レート・歪コストを最小化することができる予測モードを選択してよい。   For example, the encoding unit 288b and the motion encoding unit 286b are encoded in the encoding mode indicating that the partial region included in the region other than the feature region is simple inter-frame prediction and has no transform coefficient. Encoded data including the type of the partial area indicating the partial area may be generated. For example, the type of the partial area may be a type corresponding to NonMC NotCoded in MPEG encoding. As described above, the encoding unit 288b and the motion encoding unit 286b generate encoded data having no information indicating that the magnitude of the motion vector and the difference information are 0, so that a moving image constituent image after encoding is generated. Can be further reduced. The inter-layer difference compression unit 282b selects a prediction mode capable of minimizing the rate / distortion cost based on the Lagrange's undetermined multiplier method when determining a prediction mode including the encoding mode. It's okay.

なお、階層間差分圧縮部282cおよび階層間差分圧縮部282dは、階層間差分圧縮部282bと同様の機能を有する構成要素を有する。なお、以後の説明において、階層間差分圧縮部282cおよび階層間差分圧縮部282dが有する、階層間差分圧縮部282と同名の構成要素には同じ符号を付す。そして、符号の末尾(b、c、d)により、階層間差分圧縮部282b−dのいずれに含まれる構成要素であるかを区別する。   Note that the inter-layer difference compression unit 282c and the inter-layer difference compression unit 282d have components having the same functions as the inter-layer difference compression unit 282b. In the following description, components having the same names as the inter-layer difference compression unit 282 included in the inter-layer difference compression unit 282c and the inter-layer difference compression unit 282d are denoted by the same reference numerals. Then, it is distinguished from which of the inter-layer difference compression units 282b-d the component included by the end (b, c, d) of the code.

例えば、動き解析部285cは階層間差分圧縮部282cが有する構成要素の一つであって、動き解析部285dは階層間差分圧縮部282dが有する構成要素の一つとなる。なお、以下の説明において、符号の末尾に英文字が付されていない構成要素は、階層間差分圧縮部282b−dが有する当該符号が付された構成要素の全体を示す。例えば、画素値変更部291は、画素値変更部291b−dを示す。   For example, the motion analysis unit 285c is one of the components included in the inter-layer difference compression unit 282c, and the motion analysis unit 285d is one of the components included in the inter-layer difference compression unit 282d. Note that in the following description, the constituent elements having no alphabetic character at the end of the reference numerals indicate the entire constituent elements having the reference numerals included in the inter-layer difference compression unit 282b-d. For example, the pixel value changing unit 291 indicates pixel value changing units 291b-d.

なお、階層間差分圧縮部282cおよび階層間差分圧縮部282dの機能および動作と、階層間差分圧縮部282bの機能および動作とは、画質低減部281から異なる画質の動画を取得して処理すること、および位置差情報変更部290cおよびd、ならびに画像復号部292cおよびdが、より画質が低い動画を処理する他の階層間差分圧縮部282から、差分処理用の位置差情報および動画構成画像を取得するところが異なる。   Note that the functions and operations of the inter-layer difference compression unit 282c and the inter-layer difference compression unit 282d and the functions and operations of the inter-layer difference compression unit 282b are acquired from the image quality reduction unit 281 and processed. The position difference information changing units 290c and 290c and the image decoding units 292c and d receive the position difference information and moving image constituent images for difference processing from other inter-layer difference compressing units 282 that process moving images with lower image quality. The place to get is different.

より具体的には、位置差情報変更部290cは、動き符号化部286bから位置差情報を取得して、取得した位置差情報を変換する。また、画像復号部292cは、動き符号化部286bから位置差情報を取得するとともに、符号化部288bから動画構成画像を取得して、取得した動画構成画像を当該位置差情報を用いて復号する。また、位置差情報変更部290dは、動き符号化部286cから位置差情報を取得して、取得した位置差情報を変換する。また、画像復号部292dは、動き符号化部286cから位置差情報を取得するとともに、符号化部288cから動画構成画像を取得して、取得した動画構成画像を当該位置差情報を用いて復号する。   More specifically, the position difference information changing unit 290c acquires the position difference information from the motion encoding unit 286b, and converts the acquired position difference information. In addition, the image decoding unit 292c acquires the position difference information from the motion encoding unit 286b, acquires the moving image configuration image from the encoding unit 288b, and decodes the acquired moving image configuration image using the position difference information. . Also, the position difference information changing unit 290d acquires the position difference information from the motion encoding unit 286c, and converts the acquired position difference information. Further, the image decoding unit 292d acquires the position difference information from the motion encoding unit 286c, acquires the moving image constituent image from the encoding unit 288c, and decodes the acquired moving image constituent image using the position difference information. .

なお、特徴領域検出部203は、入力された動画構成画像から特徴の種類が異なる複数の特徴領域を検出する。この場合、画質低減部281は、一の特徴の種類を持つ特徴領域において解像度を低減することにより当該動画構成画像から一の特徴領域画像を生成するとともに、他の特徴の種類を持つ特徴領域において当該特徴領域画像より高解像度な他の特徴領域画像を当該動画構成画像から生成する。階層間差分圧縮部282b−cは、特徴領域の種類ごとに用意されており、階層間差分圧縮部282b−cのそれぞれは、少なくとも予め定められた種類の特徴領域において特徴領域以外の領域との間で解像度の差を持つ特徴領域画像を圧縮する。   Note that the feature region detection unit 203 detects a plurality of feature regions having different types of features from the input moving image composition image. In this case, the image quality reduction unit 281 generates one feature region image from the moving image constituent image by reducing the resolution in the feature region having one feature type, and in the feature region having another feature type. Another feature region image having a higher resolution than the feature region image is generated from the moving image constituent image. The inter-layer difference compression unit 282b-c is prepared for each type of feature region, and each of the inter-layer difference compression units 282b-c is connected to a region other than the feature region in at least a predetermined type of feature region. Compress feature area images with resolution differences between them.

具体的には、階層間差分圧縮部282bは、全ての特徴領域を含む領域において、最も低い解像度を持つ低解像度特徴領域画像を処理する。階層間差分圧縮部282cは、予め定められた種類の特徴領域において低解像度特徴領域画像より解像度が高い中解像度特徴領域画像を処理する。そして、階層間差分圧縮部282dは、予め定められた他の種類の特徴領域において高い解像度を持つ高解像度特徴領域画像を処理する。   Specifically, the inter-layer difference compression unit 282b processes a low-resolution feature region image having the lowest resolution in a region including all feature regions. The inter-layer difference compression unit 282c processes a medium-resolution feature region image having a higher resolution than the low-resolution feature region image in a predetermined type of feature region. Then, the inter-layer difference compression unit 282d processes a high-resolution feature area image having a high resolution in another predetermined type of feature area.

このように、差分処理部287は、一の特徴の種類を持つ特徴領域および他の特徴の種類を持つ特徴領域において一の特徴領域画像と拡大した画像との間の差分が空間周波数領域に変換された空間周波数成分を持ち、一の特徴の種類を持つ特徴領域および他の特徴の種類を持つ特徴領域以外の領域において空間周波数成分のデータ量が低減された特徴領域差分画像を生成する。   In this way, the difference processing unit 287 converts the difference between one feature region image and an enlarged image into a spatial frequency region in a feature region having one feature type and a feature region having another feature type. A feature region difference image is generated in which the amount of spatial frequency component data is reduced in regions other than the feature region having the spatial frequency component and having one feature type and the other feature type.

以上説明したように、差分処理部287は、一の特徴の種類を持つ特徴領域において一の特徴領域画像と拡大した画像との間の差分が空間周波数領域に変換された空間周波数成分を持ち、一の特徴の種類を持つ特徴領域以外の領域において空間周波数成分のデータ量が低減された特徴領域差分画像を生成するとともに、他の特徴の種類を持つ特徴領域において他の特徴領域画像と他の特徴領域画像における特徴領域を拡大した画像との間の差分が空間周波数領域に変換された空間周波数成分を持ち、他の特徴の種類を持つ特徴領域以外の領域において空間周波数成分のデータ量が低減された特徴領域間差分画像を生成する。   As described above, the difference processing unit 287 has a spatial frequency component in which a difference between one feature region image and an enlarged image in a feature region having one feature type is converted into a spatial frequency region, A feature region difference image in which the amount of spatial frequency component data is reduced in a region other than a feature region having one feature type is generated, and another feature region image and another feature region in a feature region having another feature type are generated. The difference between the feature area image and the image obtained by enlarging the feature area has a spatial frequency component converted into the spatial frequency domain, and the data amount of the spatial frequency component is reduced in areas other than the feature areas having other feature types. The difference image between the feature regions thus generated is generated.

また、符号化部288は、特徴領域差分画像、特徴領域間差分画像、および低画質画像をそれぞれ符号化する。そして、対応付け処理部206は、動き符号化部286a−dにより符号化された位置差情報および符号化部288a−dにより符号化された動画構成画像(例えば、低画質画像、特徴領域差分画像、および特徴領域間差分画像)を、特徴領域を特定する情報と対応づける。   Also, the encoding unit 288 encodes the feature region difference image, the feature region difference image, and the low-quality image. Then, the association processing unit 206 uses the positional difference information encoded by the motion encoding units 286a-d and the moving image constituent image encoded by the encoding units 288a-d (for example, a low-quality image, a feature region difference image). , And the difference image between feature areas) are associated with information specifying the feature area.

以上説明したように、階層間差分圧縮部282aは、特徴領域を含む全画像領域を低画質化した動画構成画像、いわば入力された動画構成画像の低空間周波数成分を有する動画構成画像を生成する。そして、階層間差分圧縮部282bは、階層間差分圧縮部282aよりも高い周波数成分を有する動画構成画像であって、階層間差分圧縮部282cよりも低い周波数成分を有する動画構成画像を生成する。そして、階層間差分圧縮部282bは、特徴領域以外の領域において、階層間差分圧縮部282aが生成した動画構成画像に対する差分値が低減された動画構成画像を生成する。   As described above, the inter-layer difference compression unit 282a generates a moving image constituent image having a low image quality of the entire image region including the feature region, that is, a moving image constituent image having a low spatial frequency component of the input moving image constituent image. . Then, the inter-layer difference compression unit 282b generates a moving image composition image having a higher frequency component than the inter-layer difference compression unit 282a and having a lower frequency component than the inter-layer difference compression unit 282c. Then, the inter-layer difference compression unit 282b generates a moving image constituent image in which a difference value with respect to the moving image constituent image generated by the inter-layer difference compression unit 282a is reduced in a region other than the feature region.

同様に、階層間差分圧縮部282cは、階層間差分圧縮部282bよりも高い周波数成分を有する動画構成画像であって、階層間差分圧縮部282dよりも低い周波数成分を有する動画構成画像を生成する。そして、階層間差分圧縮部282dは、階層間差分圧縮部282cよりも高い周波数成分を有する動画構成画像を生成する。そして、階層間差分圧縮部282cおよび階層間差分圧縮部282dは、特徴領域以外の領域において、それぞれ階層間差分圧縮部282bおよびcが生成した動画構成画像に対する差分値が低減された動画構成画像を生成する。   Similarly, the inter-layer difference compression unit 282c generates a moving image composition image having a higher frequency component than the inter-layer difference compression unit 282b and having a lower frequency component than the inter-layer difference compression unit 282d. . The inter-layer difference compression unit 282d generates a moving image constituent image having a higher frequency component than the inter-layer difference compression unit 282c. Then, the inter-layer difference compressing unit 282c and the inter-layer difference compressing unit 282d are the moving image constituent images in which the difference values with respect to the moving image constituent images generated by the inter-layer difference compressing units 282b and c are reduced in the regions other than the feature regions, respectively. Generate.

このように、階層間差分圧縮部282b−dのそれぞれは、予め定められた特徴の種類を持つ特徴領域について、他の領域より高い画質の動画を処理することによって、特徴の種類に応じて画質が異なる動画を外部に提供することができる。このとき、階層間差分圧縮部282b−dは、他の階層間差分圧縮部282が処理する低画質の動画構成画像との間の差分により圧縮するので、効率的に圧縮することができる。   In this way, each of the inter-layer difference compression units 282b-d processes a moving image having a higher image quality than the other regions for a feature region having a predetermined feature type, thereby improving the image quality according to the feature type. Can provide different videos to the outside. At this time, since the inter-layer difference compression unit 282b-d compresses by the difference with the low-quality moving image constituent image processed by the other inter-layer difference compression unit 282, it can be compressed efficiently.

なお、特徴領域検出部203は、複数の特徴領域のそれぞれの特徴量を検出した場合に、特徴領域として検出した信頼性の度合いを示す確信度を複数の特徴領域毎に算出してよい。そして、階層間差分圧縮部282b−dは、複数の特徴領域のそれぞれの特徴量および確信度に応じて解像度が調整された特徴領域の画像を圧縮する。例えば、画質低減部281は、複数の特徴領域のそれぞれの画像を、それぞれの特徴量および確信度に応じて解像度を調整して、階層間差分圧縮部282に供給してよい。例えば、画質低減部281は、複数の特徴領域のそれぞれの画像を、確信度が低いほど、特徴量に応じて予め定められた解像度より高い解像度にしてよい。   Note that the feature region detection unit 203 may calculate a certainty factor indicating the degree of reliability detected as the feature region for each of the plurality of feature regions when detecting the feature amounts of the plurality of feature regions. Then, the inter-layer difference compression unit 282b-d compresses the image of the feature region whose resolution is adjusted according to the feature amount and the certainty factor of each of the plurality of feature regions. For example, the image quality reduction unit 281 may adjust the resolution of each image of the plurality of feature regions in accordance with the feature amount and the certainty factor and supply the images to the inter-layer difference compression unit 282. For example, the image quality reduction unit 281 may set each image of the plurality of feature regions to a higher resolution than a predetermined resolution according to the feature amount as the certainty factor is lower.

なお、画像処理装置120は、上記のように解像度が異なる複数の階層間の画像の差分を符号化することによって階層的に符号化する。このことから明らかなように、画像処理装置120による圧縮方式の一部は、H.264/SVCによる圧縮方式を含むことが明らかである。なお、画像処理装置170がこのような階層化された圧縮動画を伸張する場合には、各階層の動画データを階層毎に復号することで、複数の動画構成画像を各階層毎に得ることができる。そして画像処理装置170は、得られた動画構成画像において階層間差分により符号化されている領域については、差分対象となった他階層の動画構成画像上の領域と加算する。これにより、画像処理装置170は、複数の階層のそれぞれについて、動画に含まれる複数の動画構成画像を生成することができる。   Note that the image processing device 120 encodes hierarchically by encoding image differences between a plurality of layers having different resolutions as described above. As is clear from this, a part of the compression method by the image processing apparatus 120 is H.264. It is clear that a compression scheme according to H.264 / SVC is included. When the image processing apparatus 170 decompresses such a hierarchical compressed moving image, a plurality of moving image constituent images can be obtained for each layer by decoding the moving image data of each layer for each layer. it can. Then, the image processing apparatus 170 adds the region encoded by the difference between layers in the obtained moving image composition image to the region on the moving image composition image of the other layer that is the difference target. Thereby, the image processing apparatus 170 can generate a plurality of moving image constituent images included in the moving image for each of the plurality of layers.

図16は、他の実施形態に係る画像処理システム20の一例を示す。本実施形態における画像処理システム20の構成は、画像処理装置120に替えて、撮像装置100a−dがそれぞれ画像処理部1604a−d(以下、画像処理部1604と総称する。)を有する点を除いて、図1で説明した画像処理システム10の構成と同じとなっている。   FIG. 16 shows an example of an image processing system 20 according to another embodiment. The configuration of the image processing system 20 in this embodiment is different from the image processing device 120 except that the imaging devices 100a-d have image processing units 1604a-d (hereinafter collectively referred to as image processing units 1604). Thus, the configuration is the same as that of the image processing system 10 described in FIG.

画像処理部1604は、画像処理装置120に含まれる構成要素のうち、圧縮動画取得部201および圧縮動画伸張部202を除く構成要素を有している。そして、画像処理部1604に含まれる各構成要素の機能および動作は、画像処理装置120に含まれる各構成要素が圧縮動画伸張部202による伸張処理によって得られた撮像動画を処理することに替えて、撮像部102によって撮像された撮像動画を処理するという点を除いて、画像処理装置120に含まれる各構成要素の機能および動作と略同一であってよい。このような構成の画像処理システム20においても、図1から図15にかけて画像処理システム10に関連して説明した効果と同様の効果が得ることができる。   The image processing unit 1604 has components other than the compressed moving image acquisition unit 201 and the compressed moving image decompression unit 202 among the components included in the image processing apparatus 120. The functions and operations of the constituent elements included in the image processing unit 1604 are changed to that the constituent elements included in the image processing device 120 process the captured moving image obtained by the decompression processing by the compressed moving image decompression unit 202. The functions and operations of the components included in the image processing apparatus 120 may be substantially the same except that the captured moving image captured by the imaging unit 102 is processed. Also in the image processing system 20 having such a configuration, the same effects as those described in relation to the image processing system 10 in FIGS. 1 to 15 can be obtained.

なお、撮像装置100が有する条件取得部752は、画像処理装置170以外にも、撮像装置100を利用するユーザから、上述した割り当て条件を取得してよい。例えば、撮像装置100は設定画面を表示する表示デバイスを有しており、当該表示デバイスがオブジェクト毎に異なる画質を割り当てる割り当て条件を設定する設定画面を表示してよい。そして、条件取得部752は、当該設定画面を通じてユーザから割り当て条件を取得してよい。例えば、条件取得部752は、表示デバイスに設定画面が表示されている期間にユーザによる操作情報を取得することによって、割り当て条件を取得してよい。   In addition to the image processing apparatus 170, the condition acquisition unit 752 included in the imaging apparatus 100 may acquire the above-described allocation conditions from a user who uses the imaging apparatus 100. For example, the imaging apparatus 100 may include a display device that displays a setting screen, and the display device may display a setting screen that sets assignment conditions for assigning different image quality for each object. Then, the condition acquisition unit 752 may acquire an allocation condition from the user through the setting screen. For example, the condition acquisition unit 752 may acquire the allocation condition by acquiring operation information by the user during a period in which the setting screen is displayed on the display device.

なお、画像処理部1604は、RAW形式で表された複数の動画構成画像を含む撮像動画を撮像部102から取得してよい。そして、画像処理部1604は、RAW形式で表された複数の動画構成画像のそれぞれから、1以上の特徴領域を検出してよい。また、画像処理部1604は、取得した撮像動画に含まれるRAW形式で表された複数の動画構成画像をRAW形式のまま圧縮してよい。このとき、画像処理部1604は、図1〜図15にかけて画像処理装置120の動作に関連して説明した圧縮方法で、撮像動画を圧縮することができる。   Note that the image processing unit 1604 may acquire a captured moving image including a plurality of moving image constituent images expressed in the RAW format from the imaging unit 102. Then, the image processing unit 1604 may detect one or more feature regions from each of the plurality of moving image constituent images represented in the RAW format. Further, the image processing unit 1604 may compress a plurality of moving image constituent images expressed in the RAW format included in the acquired captured moving image in the RAW format. At this time, the image processing unit 1604 can compress the captured moving image by the compression method described in relation to the operation of the image processing apparatus 120 with reference to FIGS.

なお、画像処理装置170は、画像処理部1604から取得した圧縮動画を伸張することにより、RAW形式で表された複数の動画構成画像を取得することができる。そして、画像処理装置170は、伸張することにより取得されたRAW形式で表された複数の動画構成画像を、例えば特徴領域以外の領域および複数の特徴領域を含む複数の領域毎に同時化処理を施してよい。このとき、画像処理装置170は、特徴領域以外の領域より、特徴領域においてより高精度な同時化処理を施してよい。   The image processing apparatus 170 can acquire a plurality of moving image constituent images expressed in the RAW format by expanding the compressed moving image acquired from the image processing unit 1604. Then, the image processing apparatus 170 performs a synchronization process on a plurality of moving image constituent images expressed in the RAW format acquired by decompression, for example, for each of a plurality of regions including a region other than a feature region and a plurality of feature regions. May be applied. At this time, the image processing apparatus 170 may perform synchronization processing with higher accuracy in the feature region than in the region other than the feature region.

なお、画像処理装置170は、同時化処理によって得られた動画構成画像における特徴領域の画像に、超解像処理を施してよい。画像処理装置170における超解像処理としては、特開2006−350498号公報に記載されたような主成分分析に基づく超解像処理、あるいは特開2004−88615号公報に記載されたような被写体の動きに基づく超解像処理を例示することができる。   Note that the image processing apparatus 170 may perform super-resolution processing on the image of the feature region in the moving image constituent image obtained by the synchronization processing. Super-resolution processing in the image processing apparatus 170 includes super-resolution processing based on principal component analysis as described in JP-A-2006-350498, or subject as described in JP-A-2004-88615. The super-resolution processing based on the movement of the can be illustrated.

なお、画像処理装置170は、特徴領域に含まれるオブジェクト毎に、超解像処理を施してよい。例えば、特徴領域が人物の顔画像を含む場合に、画像処理装置170は、オブジェクトの一例としての顔部位(例えば、目、鼻、口など)毎に、超解像処理を施してよい。この場合、画像処理装置170は、特開2006−350498号公報に記載されたような主成分分析(PCA)に基づくモデル等の学習データを、顔部位(例えば、目、鼻、口など)毎に記憶しておく。そして、画像処理装置170は、特徴領域に含まれる顔部位毎に選択した学習データを使用して、各顔部位の画像に超解像処理を施してよい。   Note that the image processing apparatus 170 may perform super-resolution processing for each object included in the feature region. For example, when the feature region includes a human face image, the image processing apparatus 170 may perform super-resolution processing for each face part (for example, eyes, nose, mouth, etc.) as an example of the object. In this case, the image processing apparatus 170 acquires learning data such as a model based on principal component analysis (PCA) as described in JP-A-2006-350498 for each facial part (for example, eyes, nose, mouth, etc.). Remember it. Then, the image processing apparatus 170 may perform super-resolution processing on the image of each face part using the learning data selected for each face part included in the feature region.

このように、画像処理装置170は、主成分分析(PCA)を用いて特徴領域の画像を再構成することができる。なお、画像処理装置170による画像再構成手法、および当該画像再構成用の学習法としては、主成分分析(PCA)による学習・画像再構成の他に、局所保存投影(locality preserving projection:LPP)、線形判別分析(Linear Discriminant Analysis:LDA)、独立成分分析(Independent component analysis:ICA)、多次元スケーリング(multidimensional scaling:MDS)、サポートベクターマシン(サポートベクター回帰)、ニューラルネットワーク、隠れマルコフモデル、Bayes推論、最大事後確率推定、反復逆投影、Wavelet変換、局所線形埋め込み(locally linear embedding:LLE)、マルコフランダム場(Markov random field:MRF)等の手法を用いることができる。   In this way, the image processing apparatus 170 can reconstruct the image of the feature region using principal component analysis (PCA). As an image reconstruction method by the image processing apparatus 170 and a learning method for the image reconstruction, in addition to learning and image reconstruction by principal component analysis (PCA), local preserving projection (LPP) , Linear discriminant analysis (LDA), independent component analysis (ICA), multidimensional scaling (MDS), support vector machine (support vector regression), neural network, hidden Markov model, Bay Inference, maximum posterior probability estimation, iterative backprojection, Wavelet transform, locally linear embedding (locally linea) Techniques such as reembedding (LLE) and Markov random field (MRF) can be used.

また、学習データとしては、特開2006−350498号公報に記載されたようなモデルの他に、オブジェクトの多数のサンプル画像からそれぞれ抽出された、オブジェクトの画像の低周波成分および高周波成分を含んでよい。ここで、複数のオブジェクトの種類のそれぞれについてオブジェクトの画像の低周波成分をK−means法等によってクラスタリングすることによって、複数のオブジェクトの種類のそれぞれにおいてオブジェクトの画像の低周波成分が複数のクラスタにクラスタリングされていてよい。また、各クラスタ毎に代表的な低周波成分(例えば、重心値)が定められていてよい。   In addition to the model as described in Japanese Patent Application Laid-Open No. 2006-350498, the learning data includes low frequency components and high frequency components of the object image respectively extracted from a large number of sample images of the object. Good. Here, by clustering the low frequency components of the object image for each of the plurality of object types by the K-means method or the like, the low frequency components of the object image in each of the plurality of object types are converted into a plurality of clusters. It may be clustered. In addition, a typical low frequency component (for example, centroid value) may be determined for each cluster.

そして、画像処理装置170は、動画構成画像における特徴領域に含まれるオブジェクトの画像から低周波成分を抽出する。そして、画像処理装置170は、抽出したオブジェクトの種類のオブジェクトのサンプル画像から抽出された低周波成分のクラスタのうち、抽出した低周波成分に適合する値が代表的な低周波成分として定められたクラスタを特定する。そして、画像処理装置170は、特定したクラスタに含まれる低周波成分に対応づけられている高周波成分のクラスタを特定する。このようにして、画像処理装置170は、動画構成画像に含まれるオブジェクトから抽出された低周波成分に相関のある高周波成分のクラスタを特定することができる。   Then, the image processing device 170 extracts a low frequency component from the image of the object included in the feature region in the moving image constituent image. Then, the image processing apparatus 170 determines, as a representative low-frequency component, a value that matches the extracted low-frequency component among the low-frequency component clusters extracted from the sample image of the extracted object type object. Identify the cluster. Then, the image processing apparatus 170 identifies a cluster of high frequency components associated with the low frequency component included in the identified cluster. In this way, the image processing apparatus 170 can specify a cluster of high-frequency components that are correlated with the low-frequency components extracted from the objects included in the moving image composition image.

そして、画像処理装置170は、特定した高周波成分のクラスタを代表する高周波成分を用いて、オブジェクトの画像をより高画質な高画質画像に変換してよい。例えば、画像処理装置170は、各オブジェクトの中心から顔上の処理対象位置までの距離に応じた重みでオブジェクト毎に選択された当該高周波成分をオブジェクトの画像に加算してよい。なお、当該代表する高周波成分は、閉ループ学習によって生成されてよい。このように、画像処理装置170は、各オブジェクト毎に学習することによって生成された学習データの中から、望ましい学習データをオブジェクト毎に選択して利用するので、オブジェクトの画像をより高い精度で高画質化することができる場合がある。なお、図1〜15に関連して説明した画像処理システム10の構成においても、画像処理装置170は、特徴領域の画像に上述した超解像処理を施すことができる。   Then, the image processing apparatus 170 may convert the image of the object into a high-quality image with higher image quality using high-frequency components that represent the specified cluster of high-frequency components. For example, the image processing apparatus 170 may add the high-frequency component selected for each object with a weight according to the distance from the center of each object to the processing target position on the face to the object image. Note that the representative high-frequency component may be generated by closed-loop learning. As described above, the image processing apparatus 170 selects and uses desired learning data for each object from learning data generated by learning for each object. There are cases where image quality can be improved. Note that, also in the configuration of the image processing system 10 described with reference to FIGS. 1 to 15, the image processing apparatus 170 can perform the above-described super-resolution processing on the image of the feature region.

なお、特開2006−350498号公報に記載されたような主成分分析に基づく超解像処理では、主成分ベクトルおよび重みづけ係数により物体の画像が表される。これらの重みづけ係数および主成分ベクトルのデータ量は、物体の画像そのものが有する画素データのデータ量に比べて大幅に小さい。そこで、画像処理部1604は、撮像部102から取得した複数の動画構成画像における特徴領域の画像を圧縮する圧縮処理において、特徴領域に含まれる物体の画像から上記重みづけ係数を算出してよい。すなわち、画像処理部1604は、特徴領域に含まれる物体の画像を、主成分ベクトルおよび重みづけ係数で表すことによって圧縮することができる。そして、画像処理部1604は、主成分ベクトルおよび重みづけ係数を画像処理装置170に送信してよい。   Note that in super-resolution processing based on principal component analysis as described in JP-A-2006-350498, an image of an object is represented by a principal component vector and a weighting coefficient. The data amounts of these weighting coefficients and principal component vectors are significantly smaller than the data amount of pixel data included in the object image itself. Therefore, the image processing unit 1604 may calculate the weighting coefficient from the image of the object included in the feature region in the compression processing for compressing the image of the feature region in the plurality of moving image constituent images acquired from the imaging unit 102. In other words, the image processing unit 1604 can compress the image of the object included in the feature region by representing the principal component vector and the weighting coefficient. Then, the image processing unit 1604 may transmit the principal component vector and the weighting coefficient to the image processing device 170.

この場合、画像処理装置170は、画像処理部1604から取得した主成分ベクトルおよび重みづけ係数を用いて、特徴領域に含まれる物体の画像を再構成することができる。なお、画像処理部1604は、特開2006−350498号公報に記載されたような主成分分析に基づくモデルの他に、種々の特徴パラメータで物体を表現するモデルを利用して特徴領域に含まれる物体の画像を圧縮することができることはいうまでもない。   In this case, the image processing apparatus 170 can reconstruct an image of an object included in the feature region using the principal component vector and the weighting coefficient acquired from the image processing unit 1604. Note that the image processing unit 1604 is included in the feature region using a model that represents an object with various feature parameters in addition to a model based on principal component analysis as described in JP-A-2006-350498. Needless to say, an image of an object can be compressed.

図17は、画像処理装置120及び画像処理装置170のハードウェア構成の一例を示す。画像処理装置120及び画像処理装置170は、CPU周辺部と、入出力部と、レガシー入出力部とを備える。CPU周辺部は、ホスト・コントローラ1582により相互に接続されるCPU1505、RAM1520、グラフィック・コントローラ1575、及び表示デバイス1580を有する。入出力部は、入出力コントローラ1584によりホスト・コントローラ1582に接続される通信インターフェイス1530、ハードディスクドライブ1540、及びCD−ROMドライブ1560を有する。レガシー入出力部は、入出力コントローラ1584に接続されるROM1510、フレキシブルディスク・ドライブ1550、及び入出力チップ1570を有する。   FIG. 17 shows an exemplary hardware configuration of the image processing apparatus 120 and the image processing apparatus 170. The image processing device 120 and the image processing device 170 include a CPU peripheral unit, an input / output unit, and a legacy input / output unit. The CPU peripheral section includes a CPU 1505, a RAM 1520, a graphic controller 1575, and a display device 1580 that are connected to each other by a host controller 1582. The input / output unit includes a communication interface 1530, a hard disk drive 1540, and a CD-ROM drive 1560 that are connected to the host controller 1582 by the input / output controller 1584. The legacy input / output unit includes a ROM 1510, a flexible disk drive 1550, and an input / output chip 1570 connected to the input / output controller 1584.

ホスト・コントローラ1582は、RAM1520と、高い転送レートでRAM1520をアクセスするCPU1505、及びグラフィック・コントローラ1575とを接続する。CPU1505は、ROM1510、及びRAM1520に格納されたプログラムに基づいて動作して、各部の制御をする。グラフィック・コントローラ1575は、CPU1505等がRAM1520内に設けたフレーム・バッファ上に生成する画像データを取得して、表示デバイス1580上に表示させる。これに代えて、グラフィック・コントローラ1575は、CPU1505等が生成する画像データを格納するフレーム・バッファを、内部に含んでもよい。   The host controller 1582 connects the RAM 1520, the CPU 1505 that accesses the RAM 1520 at a high transfer rate, and the graphic controller 1575. The CPU 1505 operates based on programs stored in the ROM 1510 and the RAM 1520 to control each unit. The graphic controller 1575 acquires image data generated by the CPU 1505 or the like on a frame buffer provided in the RAM 1520 and displays the image data on the display device 1580. Alternatively, the graphic controller 1575 may include a frame buffer that stores image data generated by the CPU 1505 or the like.

入出力コントローラ1584は、ホスト・コントローラ1582と、比較的高速な入出力装置であるハードディスクドライブ1540、通信インターフェイス1530、CD−ROMドライブ1560を接続する。ハードディスクドライブ1540は、CPU1505が使用するプログラム、及びデータを格納する。通信インターフェイス1530は、ネットワーク通信装置1598に接続してプログラムまたはデータを送受信する。CD−ROMドライブ1560は、CD−ROM1595からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540、及び通信インターフェイス1530に提供する。   The input / output controller 1584 connects the host controller 1582 to the hard disk drive 1540, the communication interface 1530, and the CD-ROM drive 1560, which are relatively high-speed input / output devices. The hard disk drive 1540 stores programs and data used by the CPU 1505. The communication interface 1530 is connected to the network communication device 1598 to transmit / receive programs or data. The CD-ROM drive 1560 reads a program or data from the CD-ROM 1595 and provides it to the hard disk drive 1540 and the communication interface 1530 via the RAM 1520.

入出力コントローラ1584には、ROM1510と、フレキシブルディスク・ドライブ1550、及び入出力チップ1570の比較的低速な入出力装置とが接続される。ROM1510は、放射線撮像システムが起動時に実行するブート・プログラム、あるいは放射線撮像システムのハードウェアに依存するプログラム等を格納する。フレキシブルディスク・ドライブ1550は、フレキシブルディスク1590からプログラムまたはデータを読み取り、RAM1520を介してハードディスクドライブ1540、及び通信インターフェイス1530に提供する。入出力チップ1570は、フレキシブルディスク・ドライブ1550、あるいはパラレル・ポート、シリアル・ポート、キーボード・ポート、マウス・ポート等を介して各種の入出力装置を接続する。   The input / output controller 1584 is connected to the ROM 1510, the flexible disk drive 1550, and the relatively low-speed input / output device of the input / output chip 1570. The ROM 1510 stores a boot program that is executed when the radiation imaging system is started up, a program that depends on the hardware of the radiation imaging system, and the like. The flexible disk drive 1550 reads a program or data from the flexible disk 1590 and provides it to the hard disk drive 1540 and the communication interface 1530 via the RAM 1520. The input / output chip 1570 connects various input / output devices via the flexible disk drive 1550 or a parallel port, serial port, keyboard port, mouse port, and the like.

CPU1505が実行するプログラムは、フレキシブルディスク1590、CD−ROM1595、またはICカード等の記録媒体に格納されて利用者によって提供される。記録媒体に格納されたプログラムは圧縮されていても非圧縮であってもよい。プログラムは、記録媒体からハードディスクドライブ1540にインストールされ、RAM1520に読み出されてCPU1505により実行される。CPU1505により実行されるプログラムは、画像処理装置120を、図1から図16に関連して説明した圧縮動画取得部201、圧縮動画伸張部202、特徴領域検出部203、画像分割部204、画像生成部205、固定値化部211、画質低減部221、符号化部231、対応付け処理部206、出力部207、境界領域特定部710、情報量算出部720、同一被写体領域特定部730、圧縮強度決定部740、条件格納部750、条件取得部752、および圧縮制御部760として機能させる。また、CPU1505により実行されるプログラムは、画像処理装置170を、図1から図16に関連して説明した圧縮動画取得部301、対応付け解析部302、圧縮動画伸張部311、合成部303、及び出力部304として機能させる。   A program executed by the CPU 1505 is stored in a recording medium such as the flexible disk 1590, the CD-ROM 1595, or an IC card and provided by the user. The program stored in the recording medium may be compressed or uncompressed. The program is installed in the hard disk drive 1540 from the recording medium, read into the RAM 1520, and executed by the CPU 1505. The program executed by the CPU 1505 causes the image processing apparatus 120 to execute the compressed moving image acquisition unit 201, the compressed moving image decompression unit 202, the feature region detection unit 203, the image division unit 204, and the image generation described with reference to FIGS. Unit 205, fixed value converting unit 211, image quality reducing unit 221, encoding unit 231, association processing unit 206, output unit 207, boundary region specifying unit 710, information amount calculating unit 720, same subject region specifying unit 730, compression strength It functions as a determination unit 740, a condition storage unit 750, a condition acquisition unit 752, and a compression control unit 760. Further, the program executed by the CPU 1505 causes the image processing apparatus 170 to be connected to the compressed moving image acquisition unit 301, the association analysis unit 302, the compressed moving image decompression unit 311, the combining unit 303, and the like described with reference to FIGS. It functions as the output unit 304.

以上に示したプログラムは、外部の記憶媒体に格納されてもよい。記憶媒体としては、フレキシブルディスク1590、CD−ROM1595の他に、DVDまたはPD等の光学記録媒体、MD等の光磁気記録媒体、テープ媒体、ICカード等の半導体メモリ等を用いることができる。また、専用通信ネットワークあるいはインターネットに接続されたサーバシステムに設けたハードディスクまたはRAM等の記憶装置を記録媒体として使用して、ネットワークを介したプログラムとして画像処理装置120及び画像処理装置170に提供してもよい。   The program shown above may be stored in an external storage medium. As the storage medium, in addition to the flexible disk 1590 and the CD-ROM 1595, an optical recording medium such as a DVD or PD, a magneto-optical recording medium such as an MD, a tape medium, a semiconductor memory such as an IC card, or the like can be used. Further, a storage device such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet is used as a recording medium, and is provided to the image processing device 120 and the image processing device 170 as a program via the network. Also good.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

一実施形態に係る画像処理システム10の一例を示す図である。1 is a diagram illustrating an example of an image processing system 10 according to an embodiment. 画像処理装置120のブロック構成の一例を示す図である。2 is a diagram illustrating an example of a block configuration of an image processing apparatus 120. FIG. 画像処理装置170のブロック構成の一例を示す図である。2 is a diagram illustrating an example of a block configuration of an image processing apparatus 170. FIG. 画像処理装置120の処理フローの一例を示す図である。3 is a diagram illustrating an example of a processing flow of the image processing apparatus 120. FIG. 複数の特徴領域動画及び背景領域動画の画質の一例を示す図である。It is a figure which shows an example of the image quality of several characteristic area | region animation and background area | region animation. 画像処理装置170の処理フローの一例を示す図である。It is a figure which shows an example of the processing flow of the image processing apparatus. 画像処理装置120が有する圧縮制御ユニット700の構成の一例を示す図である。3 is a diagram illustrating an example of a configuration of a compression control unit 700 included in the image processing apparatus 120. FIG. 条件格納部750が格納しているデータの一例を示す図である。It is a figure which shows an example of the data which the condition storage part 750 has stored. 条件格納部750が格納している他のデータの一例を示す図である。It is a figure which shows an example of the other data which the condition storage part 750 has stored. 情報量算出部720が格納しているデータの一例を示す図である。It is a figure which shows an example of the data which the information amount calculation part 720 has stored. 圧縮強度決定部740が圧縮強度を決定する一例を示す図である。It is a figure which shows an example in which the compression strength determination part 740 determines compression strength. 情報量算出部720が算出した情報量の時間発展の一例を示す図である。It is a figure which shows an example of the time development of the information amount which the information amount calculation part 720 calculated. ROIにおける境界領域の一例を示す図である。It is a figure which shows an example of the boundary area | region in ROI. 画像処理装置120におけるブロック構成の他の一例を示す図である。It is a figure which shows another example of the block configuration in the image processing apparatus. 階層間差分圧縮部282aおよびbのブロック構成の一例を示す図である。It is a figure which shows an example of the block configuration of the hierarchy difference compression parts 282a and b. 画像処理システム20の他の一例を示す図である。It is a figure which shows another example of the image processing system. 画像処理装置120及び画像処理装置170のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of an image processing apparatus 120 and an image processing apparatus 170. FIG.

符号の説明Explanation of symbols

10 画像処理システム
20 画像処理システム
100 撮像装置
102 撮像部
104 撮像動画圧縮部
110 通信ネットワーク
120 画像処理装置
130 人物
140 移動物体
150 監視対象空間
160 空間
170 画像処理装置
175 画像DB
180 表示装置
201 圧縮動画取得部
202 圧縮動画伸張部
203 特徴領域検出部
204 画像分割部
205 画像生成部
206 対応付け処理部
207 出力部
210 固定値化ユニット
211 固定値化部
220 低減化ユニット
221 画質低減部
230 符号化ユニット
231 符号化部
231a 背景領域動画符号化部
231b−d 特徴領域動画符号化部
240 圧縮部
301 圧縮動画取得部
302 対応付け解析部
310 圧縮動画伸張ユニット
311 圧縮動画伸張部
303 合成部
304 出力部
700 圧縮制御ユニット
710 境界領域特定部
720 情報量算出部
730 同一被写体領域特定部
740 圧縮強度決定部
750 条件格納部
752 条件取得部
760 圧縮制御部
1604 画像処理部
DESCRIPTION OF SYMBOLS 10 Image processing system 20 Image processing system 100 Imaging device 102 Imaging part 104 Imaging moving image compression part 110 Communication network 120 Image processing apparatus 130 Person 140 Moving object 150 Monitoring object space 160 Space 170 Image processing apparatus 175 Image DB
180 Display device 201 Compressed video acquisition unit 202 Compressed video expansion unit 203 Characteristic region detection unit 204 Image segmentation unit 205 Image generation unit 206 Association processing unit 207 Output unit 210 Fixed value unit 211 Fixed value unit 220 Reduction unit 221 Image quality Reduction unit 230 Encoding unit 231 Encoding unit 231a Background region moving image encoding unit 231b-d Feature region moving image encoding unit 240 Compression unit 301 Compressed moving image acquisition unit 302 Association analysis unit 310 Compressed moving image expansion unit 311 Compressed moving image expansion unit 303 Compositing unit 304 Output unit 700 Compression control unit 710 Boundary region specifying unit 720 Information amount calculating unit 730 Same subject region specifying unit 740 Compression strength determining unit 750 Condition storage unit 752 Condition acquisition unit 760 Compression control unit 1604 Image processing unit

Claims (15)

画像から、複数の特徴領域を検出する特徴領域検出部と、
特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納部と、
前記複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮部と、
前記条件格納部が格納している前記条件に基づいて、前記圧縮部が前記複数の特徴領域画像のそれぞれを圧縮する圧縮強度を特徴領域の特徴に応じて制御する圧縮制御部と
を備える画像処理装置。
A feature region detector for detecting a plurality of feature regions from the image;
A condition storage unit for storing different assignment conditions according to the features of the feature region, wherein different compression strengths are assigned according to the features of the feature region;
A compression unit that compresses each of a plurality of feature region images that are images of each of the plurality of feature regions;
An image processing comprising: a compression control unit that controls, based on the conditions stored in the condition storage unit, the compression strength at which the compression unit compresses each of the plurality of feature region images according to the feature region feature. apparatus.
前記特徴領域検出部は、前記画像である動画に含まれる複数の動画構成画像から、複数の前記特徴領域を検出し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の特徴に応じて制御する
請求項1に記載の画像処理装置。
The feature region detection unit detects a plurality of feature regions from a plurality of moving image constituent images included in the moving image that is the image,
The compression control unit controls, based on the conditions stored in the condition storage unit, compression strength at which the compression unit compresses each of the plurality of feature region images according to features of the feature region. Item 8. The image processing apparatus according to Item 1.
前記条件格納部は、特徴領域の種類に応じた異なる前記条件を格納し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域の種類に応じて制御する
請求項2に記載の画像処理装置。
The condition storage unit stores the different conditions according to the type of feature region,
The compression control unit controls the compression strength at which the compression unit compresses each of the plurality of feature region images according to the type of feature region, based on the condition stored in the condition storage unit. Item 3. The image processing apparatus according to Item 2.
前記特徴領域検出部は、前記複数の動画構成画像から、特徴の種類が異なる複数の前記特徴領域を検出し、
前記圧縮部は、前記複数の動画構成画像において同じ種類の特徴を有する前記特徴領域画像を複数含む複数の特徴領域動画のそれぞれを圧縮し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記複数の特徴領域動画のそれぞれを前記圧縮部が圧縮する圧縮強度を、前記複数の特徴領域動画のそれぞれが含む前記特徴領域画像の特徴の種類に応じてそれぞれ制御する
請求項3に記載の画像処理装置。
The feature region detection unit detects a plurality of feature regions having different types of features from the plurality of video composition images,
The compression unit compresses each of a plurality of feature region moving images including a plurality of the feature region images having the same type of feature in the plurality of moving image constituent images,
The compression control unit includes a compression strength at which the compression unit compresses each of the plurality of feature region moving images based on the condition stored in the condition storage unit. The image processing apparatus according to claim 3, wherein the image processing apparatus performs control according to a feature type of the feature region image.
前記条件格納部は、特徴領域の種類に応じて異なる画質低減量を格納し、
前記圧縮部は、
前記複数の動画構成画像において同じ種類の特徴を有する前記特徴領域画像を複数含む複数の特徴領域動画のそれぞれの画質を低減する画質低減部
を有し、
前記圧縮制御部は、前記条件格納部が格納している画質低減量に基づいて、前記画質低減部が画質を低減させる画質低減量を、前記複数の特徴領域動画のそれぞれが含む前記特徴領域画像の特徴の種類に応じてそれぞれ制御する
請求項4に記載の画像処理装置。
The condition storage unit stores different image quality reduction amounts according to the types of feature areas,
The compression unit is
An image quality reduction unit that reduces the image quality of each of a plurality of feature region videos including a plurality of feature region images having the same type of feature in the plurality of movie composition images;
The compression control unit includes the feature region image in which each of the plurality of feature region moving images includes an image quality reduction amount that the image quality reduction unit reduces the image quality based on the image quality reduction amount stored in the condition storage unit. The image processing apparatus according to claim 4, wherein each of the image processing apparatuses is controlled according to a type of the feature.
前記条件格納部は、特徴領域の種類に応じて異なる空間解像度の低減量又は特徴領域の種類に応じて異なる時間解像度の低減量を格納し、
前記圧縮制御部は、前記条件格納部が格納している空間解像度の低減量又は時間解像度の低減量の少なくとも一方に基づいて、前記画質低減部が画質を低減させる空間解像度の低減量又は時間解像度の低減量を、前記複数の特徴領域動画のそれぞれが含む前記特徴領域画像の特徴の種類に応じてそれぞれ制御する
請求項5に記載の画像処理装置。
The condition storage unit stores a reduction amount of a different spatial resolution depending on a type of the feature region or a reduction amount of a temporal resolution different depending on the type of the feature region,
The compression control unit includes a spatial resolution reduction amount or a temporal resolution that the image quality reduction unit reduces the image quality based on at least one of a spatial resolution reduction amount and a temporal resolution reduction amount stored in the condition storage unit. The image processing apparatus according to claim 5, wherein the amount of reduction is controlled according to a feature type of the feature region image included in each of the plurality of feature region moving images.
特徴領域の種類に応じて異なる画質低減量を取得する条件取得部
をさらに備え、
前記条件格納部は、前記条件取得部が取得した特徴領域の種類に応じて異なる画質低減量を格納する
請求項5に記載の画像処理装置。
It further comprises a condition acquisition unit that acquires different image quality reduction amounts according to the types of feature areas,
The image processing apparatus according to claim 5, wherein the condition storage unit stores different image quality reduction amounts according to the types of feature regions acquired by the condition acquisition unit.
前記条件格納部は、前記特徴領域が示す領域の特徴に応じた異なる前記条件を格納し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域が示す領域の特徴に応じて制御する
請求項2に記載の画像処理装置。
The condition storage unit stores the different conditions according to the feature of the region indicated by the feature region,
The compression control unit is configured to determine a compression strength at which the compression unit compresses each of the plurality of feature region images based on the condition stored in the condition storage unit, according to the feature of the region indicated by the feature region. The image processing apparatus according to claim 2 to be controlled.
前記条件格納部は、前記特徴領域の数、前記特徴領域の大きさ、又は前記特徴領域の位置に応じた異なる前記条件を格納し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、特徴領域が示す領域の数、大きさ、又は位置に応じて制御する
請求項8に記載の画像処理装置。
The condition storage unit stores the different conditions according to the number of the feature areas, the size of the feature areas, or the position of the feature areas,
The compression control unit, based on the condition stored in the condition storage unit, the compression strength at which the compression unit compresses each of the plurality of feature region images, the number and size of regions indicated by the feature region The image processing apparatus according to claim 8, wherein the image processing apparatus is controlled according to a position.
前記条件格納部は、前記特徴領域画像に含まれるオブジェクトの特徴に応じた異なる前記条件を格納し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、前記特徴領域画像に含まれるオブジェクトの特徴に応じて制御する
請求項2に記載の画像処理装置。
The condition storage unit stores the different conditions according to the characteristics of the object included in the feature area image,
The compression control unit, based on the condition stored in the condition storage unit, the compression strength at which the compression unit compresses each of the plurality of feature region images, and the feature of the object included in the feature region image The image processing apparatus according to claim 2, wherein the image processing apparatus is controlled according to the control.
前記条件格納部は、前記特徴領域画像に含まれるオブジェクトの形状、オブジェクトの向き、オブジェクトの移動方向、又はオブジェクトの移動量に応じた異なる前記条件を格納し、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記圧縮部が複数の前記特徴領域画像のそれぞれを圧縮する圧縮強度を、前記特徴領域画像に含まれるオブジェクトの形状、オブジェクトの向き、オブジェクトの移動方向、又はオブジェクトの移動量に応じて制御する
請求項10に記載の画像処理装置。
The condition storage unit stores different conditions according to the shape of the object, the direction of the object, the moving direction of the object, or the moving amount of the object included in the feature region image,
The compression control unit is configured to determine a compression strength at which the compression unit compresses each of the plurality of feature region images based on the condition stored in the condition storage unit, and a shape of an object included in the feature region image. The image processing apparatus according to claim 10, wherein the image processing apparatus performs control according to an object orientation, an object movement direction, or an object movement amount.
前記動画を複製することにより、前記特徴の種類毎に前記複数の特徴領域動画を生成する画像生成部
をさらに備え、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記複数の特徴領域動画のそれぞれを前記圧縮部が圧縮する圧縮強度を、前記複数の特徴領域動画のそれぞれが含む前記特徴領域画像の特徴の種類に応じてそれぞれ制御する
請求項4に記載の画像処理装置。
An image generation unit that generates the plurality of feature region videos for each type of the feature by duplicating the movie,
The compression control unit includes a compression strength at which the compression unit compresses each of the plurality of feature region moving images based on the condition stored in the condition storage unit. The image processing apparatus according to claim 4, wherein control is performed according to a feature type of the feature region image.
異なる位置から撮像されて得られた複数の動画を取得する動画取得部と、
前記動画取得部が取得した複数の動画のうちの一の動画に含まれる動画構成画像から抽出された前記特徴領域に含まれる被写体と同じ被写体を含む、他の動画に含まれる動画構成画像から抽出された前記特徴領域を特定する同一被写体領域特定部と
をさらに備え、
前記圧縮制御部は、前記条件格納部が格納している前記条件に基づいて、前記同一被写体領域特定部が特定した同じ被写体を含む前記特徴領域のうちの少なくとも1つの前記特徴領域の前記特徴領域画像を前記圧縮部が圧縮する圧縮強度を、特徴領域の特徴に応じて制御するとともに、前記圧縮部が他の前記特徴領域の前記特徴領域画像を圧縮する圧縮強度を、当該少なくとも1つの特徴領域画像を圧縮する圧縮率より高く制御する
請求項2に記載の画像処理装置。
A video acquisition unit that acquires a plurality of videos obtained by imaging from different positions;
Extracted from a moving image constituent image included in another moving image including the same subject as the subject included in the feature area extracted from the moving image constituent image included in one of the plurality of moving images acquired by the moving image acquisition unit A same subject area specifying unit for specifying the feature area
The compression control unit includes the feature region of at least one of the feature regions including the same subject specified by the same subject region specifying unit based on the condition stored in the condition storage unit. The compression strength at which the compression unit compresses the image is controlled according to the feature of the feature region, and the compression strength at which the compression unit compresses the feature region image of the other feature region is set to the at least one feature region. The image processing apparatus according to claim 2, wherein the image processing apparatus is controlled to be higher than a compression rate for compressing the image.
画像から、複数の特徴領域を検出する特徴領域検出段階と、
特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納段階と、
前記複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮段階と、
前記条件格納段階において格納された前記条件に基づいて、前記圧縮段階において前記複数の特徴領域画像のそれぞれが圧縮される圧縮強度を特徴領域の特徴に応じて制御する圧縮制御段階と
を備える画像処理方法。
A feature region detection stage for detecting a plurality of feature regions from the image;
A condition storage stage for storing different allocation conditions according to the features of the feature region, wherein different compression strengths are assigned according to the features of the feature region;
A compression step of compressing each of a plurality of feature region images that are images of each of the plurality of feature regions;
An image processing comprising: a compression control step for controlling the compression strength at which each of the plurality of feature region images is compressed in the compression step according to the feature of the feature region based on the condition stored in the condition storage step Method.
画像処理装置用のプログラムであって、前記画像処理装置を、
画像から、複数の特徴領域を検出する特徴領域検出部、
特徴領域の特徴に応じて異なる圧縮強度を割り当てる、特徴領域の特徴に応じた異なる割り当て条件を格納する条件格納部、
前記複数の特徴領域のそれぞれの画像である複数の特徴領域画像のそれぞれを圧縮する圧縮部、
前記条件格納部が格納している前記条件に基づいて、前記圧縮部が前記複数の特徴領域画像のそれぞれを圧縮する圧縮強度を特徴領域の特徴に応じて制御する圧縮制御部
として機能させるプログラム。
A program for an image processing device, wherein the image processing device is
A feature region detection unit for detecting a plurality of feature regions from an image;
A condition storage unit that stores different assignment conditions according to the features of the feature region, wherein different compression strengths are assigned according to the features of the feature region;
A compression unit that compresses each of a plurality of feature region images that are images of each of the plurality of feature regions;
A program that causes the compression unit to function as a compression control unit that controls the compression strength for compressing each of the plurality of feature region images according to the feature of the feature region based on the condition stored in the condition storage unit.
JP2008148576A 2007-07-20 2008-06-05 Image processing apparatus, image processing method and program Abandoned JP2009049976A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2008148576A JP2009049976A (en) 2007-07-20 2008-06-05 Image processing apparatus, image processing method and program
PCT/JP2008/063226 WO2009014156A1 (en) 2007-07-20 2008-07-16 Image processing apparatus, image processing method and program
EP08791478A EP2179589A4 (en) 2007-07-20 2008-07-16 Image processing apparatus, image processing method and program
CN2008800254072A CN101755461B (en) 2007-07-20 2008-07-16 Image processing apparatus, image processing method
CN2011102835064A CN102325257A (en) 2007-07-20 2008-07-16 Image processing apparatus,image processing method and computer readable medium
US12/690,025 US8363953B2 (en) 2007-07-20 2010-01-19 Image processing apparatus, image processing method and computer readable medium
US13/426,425 US8532394B2 (en) 2007-07-20 2012-03-21 Image processing apparatus, image processing method and computer readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007190149 2007-07-20
JP2008148576A JP2009049976A (en) 2007-07-20 2008-06-05 Image processing apparatus, image processing method and program

Publications (1)

Publication Number Publication Date
JP2009049976A true JP2009049976A (en) 2009-03-05

Family

ID=40501703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008148576A Abandoned JP2009049976A (en) 2007-07-20 2008-06-05 Image processing apparatus, image processing method and program

Country Status (1)

Country Link
JP (1) JP2009049976A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5674670B2 (en) * 2010-03-18 2015-02-25 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Data processing apparatus and data processing method
JP2017055421A (en) * 2011-06-07 2017-03-16 クゥアルコム・インコーポレイテッドQualcomm Incorporated Multiple description coding with plural combined diversity
JP2019134323A (en) * 2018-01-31 2019-08-08 キヤノン株式会社 Image processor, image processing method and program
WO2020008511A1 (en) * 2018-07-02 2020-01-09 株式会社ソニー・インタラクティブエンタテインメント Electronic device, content processing device, content processing system, image data output method, and image processing method
US10582198B2 (en) 2016-12-09 2020-03-03 Nokia Technologies Oy Method and an apparatus and a computer program product for video encoding and decoding
JP2020064466A (en) * 2018-10-17 2020-04-23 キヤノン株式会社 Image processing apparatus, image processing method and program
WO2021065631A1 (en) * 2019-09-30 2021-04-08 株式会社ソニー・インタラクティブエンタテインメント Image data transfer device and image compression method
WO2022224810A1 (en) * 2021-04-23 2022-10-27 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Image encoding method, image decoding method, image processing method, image encoding device, and image decoding device
JP7491676B2 (en) 2019-09-30 2024-05-28 株式会社ソニー・インタラクティブエンタテインメント Image data transfer device and image compression method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07222145A (en) * 1994-01-31 1995-08-18 Mitsubishi Electric Corp Picture encoding device
JPH0879756A (en) * 1994-08-31 1996-03-22 Sanyo Electric Co Ltd Moving image encoding device
JPH09186996A (en) * 1995-10-26 1997-07-15 Hyundai Electron Ind Co Ltd Method for coding object pattern information
JPH10126778A (en) * 1996-10-21 1998-05-15 Fuji Photo Film Co Ltd Image compression method and its equipment
JP2000261794A (en) * 1999-03-10 2000-09-22 Toshiba Corp Moving picture display system and its display method
JP2007088897A (en) * 2005-09-22 2007-04-05 Victor Co Of Japan Ltd Image processing apparatus
JP2007158410A (en) * 2005-11-30 2007-06-21 Sony Computer Entertainment Inc Image encoder, image decoder, and image processing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07222145A (en) * 1994-01-31 1995-08-18 Mitsubishi Electric Corp Picture encoding device
JPH0879756A (en) * 1994-08-31 1996-03-22 Sanyo Electric Co Ltd Moving image encoding device
JPH09186996A (en) * 1995-10-26 1997-07-15 Hyundai Electron Ind Co Ltd Method for coding object pattern information
JPH10126778A (en) * 1996-10-21 1998-05-15 Fuji Photo Film Co Ltd Image compression method and its equipment
JP2000261794A (en) * 1999-03-10 2000-09-22 Toshiba Corp Moving picture display system and its display method
JP2007088897A (en) * 2005-09-22 2007-04-05 Victor Co Of Japan Ltd Image processing apparatus
JP2007158410A (en) * 2005-11-30 2007-06-21 Sony Computer Entertainment Inc Image encoder, image decoder, and image processing system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9113173B2 (en) 2010-03-18 2015-08-18 Panasonic Intellectual Property Corporation Of America Data processing device and data processing method which compresses image data
JP5674670B2 (en) * 2010-03-18 2015-02-25 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Data processing apparatus and data processing method
JP2017055421A (en) * 2011-06-07 2017-03-16 クゥアルコム・インコーポレイテッドQualcomm Incorporated Multiple description coding with plural combined diversity
US10582198B2 (en) 2016-12-09 2020-03-03 Nokia Technologies Oy Method and an apparatus and a computer program product for video encoding and decoding
US10897614B2 (en) 2016-12-09 2021-01-19 Nokia Technologies Oy Method and an apparatus and a computer program product for video encoding and decoding
JP7050509B2 (en) 2018-01-31 2022-04-08 キヤノン株式会社 Image processing equipment, image processing methods, and programs
JP2019134323A (en) * 2018-01-31 2019-08-08 キヤノン株式会社 Image processor, image processing method and program
WO2020008511A1 (en) * 2018-07-02 2020-01-09 株式会社ソニー・インタラクティブエンタテインメント Electronic device, content processing device, content processing system, image data output method, and image processing method
US11323682B2 (en) 2018-07-02 2022-05-03 Sony Interactive Entertainment Inc. Electronic device, content processing device, content processing system, image data output method, and image processing method
JP2020064466A (en) * 2018-10-17 2020-04-23 キヤノン株式会社 Image processing apparatus, image processing method and program
JP7292850B2 (en) 2018-10-17 2023-06-19 キヤノン株式会社 Image processing device, image processing method, and program
WO2021065631A1 (en) * 2019-09-30 2021-04-08 株式会社ソニー・インタラクティブエンタテインメント Image data transfer device and image compression method
JP7491676B2 (en) 2019-09-30 2024-05-28 株式会社ソニー・インタラクティブエンタテインメント Image data transfer device and image compression method
WO2022224810A1 (en) * 2021-04-23 2022-10-27 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Image encoding method, image decoding method, image processing method, image encoding device, and image decoding device

Similar Documents

Publication Publication Date Title
JP2009049979A (en) Image processing device, image processing method, image processing system, and program
US8363953B2 (en) Image processing apparatus, image processing method and computer readable medium
US8462226B2 (en) Image processing system
JP4895042B2 (en) Image compression apparatus, image compression method, and program
JP5531327B2 (en) Image processing apparatus, image processing method, and program
US8498483B2 (en) Image processing apparatus, image processing method, and computer readable medium
US20090022403A1 (en) Image processing apparatus, image processing method, and computer readable medium
JP2009048620A (en) Image processor, image processing method, and program
JP2009049976A (en) Image processing apparatus, image processing method and program
WO2009122760A1 (en) Image processing device, image processing method, and computer-readable medium
JP4897600B2 (en) Image processing apparatus, image processing method, and program
US20110019741A1 (en) Image processing system
JP5082134B2 (en) Image processing apparatus, image processing method, and program
JP5156982B2 (en) Image processing system, image processing method, and program
JP2012085350A (en) Image processing apparatus, image processing method, and program
JP4911468B2 (en) Image processing apparatus, image processing method, and program
JP2009273116A (en) Image processing device, image processing method, and program
JP4817260B2 (en) Image processing apparatus, image processing method, and program
JP4895041B2 (en) Image processing apparatus, image processing method, and program
JP5062407B2 (en) Image processing apparatus, image processing method, and program
JP4961582B2 (en) Image processing system, image processing method, and program
JP4873488B2 (en) Image processing apparatus, image processing method, and program
JP2009253742A (en) Image processing system, image processing method, and program
JP2011172291A (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20130213