JP5958219B2 - Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus - Google Patents

Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus Download PDF

Info

Publication number
JP5958219B2
JP5958219B2 JP2012203146A JP2012203146A JP5958219B2 JP 5958219 B2 JP5958219 B2 JP 5958219B2 JP 2012203146 A JP2012203146 A JP 2012203146A JP 2012203146 A JP2012203146 A JP 2012203146A JP 5958219 B2 JP5958219 B2 JP 5958219B2
Authority
JP
Japan
Prior art keywords
image
interest
region
encryption target
input
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.)
Expired - Fee Related
Application number
JP2012203146A
Other languages
Japanese (ja)
Other versions
JP2014060512A (en
Inventor
渡部 康弘
康弘 渡部
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012203146A priority Critical patent/JP5958219B2/en
Publication of JP2014060512A publication Critical patent/JP2014060512A/en
Application granted granted Critical
Publication of JP5958219B2 publication Critical patent/JP5958219B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

開示の技術は動画像符号化装置、動画像符号化方法、動画像符号化プログラム、動画像復号化装置、動画像復号化方法、動画像復号化プログラム、及び動画像処理装置に関する。   The disclosed technology relates to a moving image encoding device, a moving image encoding method, a moving image encoding program, a moving image decoding device, a moving image decoding method, a moving image decoding program, and a moving image processing device.

近年では、カメラ技術、特に動画像の符号化及び復号化の技術の進歩に伴って、監視カメラ等でも非常に高精細な画像を記録し、監視に供することが可能になってきている。一方で、プライバシー保護の観点からは、一般人が高精細に写っている画像が誰もがアクセス可能な状態におかれることは好ましくない。   In recent years, with the advancement of camera technology, in particular, moving image encoding and decoding technology, it has become possible for surveillance cameras and the like to record very high-definition images for monitoring. On the other hand, from the viewpoint of privacy protection, it is not preferable that anyone can access an image in which a general person is captured in high definition.

一方、プライバシー保護のために解像度の低い画像で記録したり、人の顔にモザイクをかけたりすると、高解像度の画像ではないため、監視能力が低下してしまう。   On the other hand, if recording is performed with an image having a low resolution for privacy protection, or if a mosaic is applied to a human face, the monitoring capability is deteriorated because the image is not a high-resolution image.

また、誰もがアクセスできないように、画像に対して暗号化を行うという方法もあるが、画像全体に暗号化を行ってしまうと、特定の個人の顔の画像だけを復元したい場合でも、その他の一緒に写っている人の画像も復元されてしまう。これはプライバシー保護の観点から好ましくない。   There is also a method of encrypting the image so that no one can access it, but if you encrypt the entire image, even if you want to restore only the image of a specific individual's face, The image of the person in the picture will also be restored. This is not preferable from the viewpoint of privacy protection.

特開2007−251605号公報JP 2007-251605 A 国際公開第2009/144796号公報International Publication No. 2009/144796

また、画像の一部を暗号化する技術があるが、これを監視カメラに適用する場合、画像に含まれる個人の顔を抽出し、それぞれ暗号化する処理が必要となり、処理が煩雑となる。   In addition, there is a technique for encrypting a part of an image. However, when this is applied to a surveillance camera, it is necessary to extract a personal face included in the image and encrypt it, and the process becomes complicated.

開示の技術は、一つの側面として、動画像に含まれる関心領域画像のうち指定された関心領域画像については、他の関心領域画像よりも高解像度の画像を得ることが目的である。   One aspect of the disclosed technique is to obtain a higher-resolution image for a designated region-of-interest image among regions-of-interest images included in a moving image than other region-of-interest images.

開示の技術は、関心領域画像抽出部は、順次入力される入力画像から複数の関心領域画像を抽出する。関心領域画像符号化部は、暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像については、前回の暗号化対象画像において複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択する。関心領域画像符号化部は、選択関心領域画像を第1の符号化方法で符号化する。また、関心領域画像符号化部は、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化する。また、関心領域画像符号化部は、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する。暗号化部は、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する。
更に、関心領域画像符号化部は、第1の符号化方法として、選択関心領域画像をイントラ符号化し、第2の符号化方法として、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像として非選択関心領域画像をインター符号化する。また、関心領域画像符号化部は、第3の符号化方法として、以下の符号化を行う。すなわち、暗号化対象画像の次の非暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像のうち選択関心領域画像に対応する関心領域画像については、暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。また、複数の関心領域画像のうち非選択関心領域画像に対応する関心領域画像については、暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。そして、暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。
In the disclosed technique, the region-of-interest image extraction unit extracts a plurality of region-of-interest images from sequentially input images. The region-of-interest image encoding unit differs from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption-target image for a plurality of region-of-interest images extracted from the input image input as the encryption-target image. The region-of-interest image is selected as the selected region-of-interest image. The region-of-interest image encoding unit encodes the selected region-of-interest image using the first encoding method. The region-of-interest image encoding unit encodes a non-selected region-of-interest image other than the selected region-of-interest image by a second encoding method different from the first encoding method. In addition, the region-of-interest image encoding unit, for the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and Encoding is performed by a third encoding method different from the second encoding method. The encryption unit converts a frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images into the selected interest in each of the encryption target images. Encrypt with the encryption key corresponding to the area image.
Further, the region-of-interest image encoding unit intra-codes the selected region-of-interest image as the first encoding method, and the frame image encoded as the previous non-encryption target image as the second encoding method. The non-selected region-of-interest image is inter-coded as a reference image. The region-of-interest image encoding unit performs the following encoding as the third encoding method. That is, the region-of-interest image corresponding to the selected region-of-interest image among a plurality of regions-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image is encoded as the encryption target image. The encoded frame image is inter-coded as a reference image. For a region of interest image corresponding to a non-selected region of interest image among a plurality of region of interest images, a frame image encoded as a non-encryption target image before the encryption target image is inter-coded as a reference image. . A plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image are encoded as the immediately preceding non-encryption target image. The encoded frame image is inter-coded as a reference image.

開示の技術は、一つの側面として、動画像に含まれる関心領域画像のうち指定された関心領域画像については、他の関心領域画像よりも高解像度の画像を得ることができる、という効果を有する。   The disclosed technology has an effect that, as one aspect, a higher-resolution image can be obtained for a specified region-of-interest image included in a moving image than other region-of-interest images. .

動画像符号化装置の機能ブロック図である。It is a functional block diagram of a moving image encoding device. 入力画像からメイン画像とサブ画像を生成する場合について説明するための図である。It is a figure for demonstrating the case where a main image and a sub image are produced | generated from an input image. 入力画像からメイン画像とサブ画像を生成する場合の他の例について説明するための図である。It is a figure for demonstrating the other example in the case of producing | generating a main image and a sub image from an input image. サブ画像を符号化する際の暗号化対象画像及び参照関係について説明するための図である。It is a figure for demonstrating the encryption object image and reference relationship at the time of encoding a sub image. 動画像符号化装置として機能するコンピュータのブロック図である。FIG. 11 is a block diagram of a computer that functions as a moving image encoding apparatus. 動画像復号化装置として機能するコンピュータのブロック図である。FIG. 25 is a block diagram of a computer that functions as a moving picture decoding apparatus. 動画像符号化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a moving image encoding process. 多重化の一例について説明するための図である。It is a figure for demonstrating an example of multiplexing. 動画像復号化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a moving image decoding process. サブ画像を復号化する際の復号化対象画像及び参照関係について説明するための図である。It is a figure for demonstrating the decoding object image and reference relationship at the time of decoding a sub image. サブ画像をビュー間予測を用いて符号化する場合について説明するための図である。It is a figure for demonstrating the case where a sub image is encoded using inter-view prediction.

以下、図面を参照して開示の技術の実施形態の一例を詳細に説明する。   Hereinafter, an example of an embodiment of the disclosed technology will be described in detail with reference to the drawings.

図1には、本実施形態に係る動画像処理装置10が示されている。動画像処理装置10は、撮影装置12、動画像符号化装置14、記憶装置16、動画像復号化装置18、及び表示装置20を備えている。動画像処理装置10は、例えば、デジタルカメラ、ビデオカメラ、及びカメラ機能付きの携帯電話等、動画像の撮影機能を備えた装置に搭載される。   FIG. 1 shows a moving image processing apparatus 10 according to the present embodiment. The moving image processing device 10 includes a photographing device 12, a moving image encoding device 14, a storage device 16, a moving image decoding device 18, and a display device 20. The moving image processing apparatus 10 is mounted on an apparatus having a moving image shooting function, such as a digital camera, a video camera, and a mobile phone with a camera function.

撮影装置12は、例えばCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等の撮影素子を備えている。撮影装置12は、動画像の撮影が指示されると、撮影素子により撮影された画像を予め定めたフレームレートで動画像符号化装置14へ出力する。これにより、動画像符号化装置14には、撮影素子により撮影された画像が順次入力される。   The imaging device 12 includes an imaging element such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). When the imaging device 12 is instructed to capture a moving image, the imaging device 12 outputs the image captured by the imaging element to the moving image encoding device 14 at a predetermined frame rate. As a result, images captured by the imaging element are sequentially input to the moving image encoding device 14.

動画像符号化装置14は、画像処理部30、入力画像符号化部32、関心領域画像抽出部34、関心領域画像符号化部36、暗号化部38、及び多重化部40を備えている。   The moving image encoding device 14 includes an image processing unit 30, an input image encoding unit 32, a region of interest image extraction unit 34, a region of interest image encoding unit 36, an encryption unit 38, and a multiplexing unit 40.

画像処理部30は、撮影装置12から入力された入力画像に対して予め定めた画像処理を施す。画像処理部30は、本実施形態では、例えば図2に示すように、関心領域画像A〜Cを含む入力画像42を縮小する処理を実行し、縮小画像44を生成し、メイン画像とする。なお、図3に示すように、画像処理部30は、入力画像42に含まれる関心領域画像A〜Cを抽出し、抽出した関心領域画像A〜Cのみをモザイク化したモザイク画像46を生成する処理を実行し、これをメイン画像としてもよい。   The image processing unit 30 performs predetermined image processing on the input image input from the imaging device 12. In this embodiment, for example, as illustrated in FIG. 2, the image processing unit 30 performs a process of reducing the input image 42 including the region-of-interest images A to C, generates a reduced image 44, and sets it as a main image. As illustrated in FIG. 3, the image processing unit 30 extracts the region-of-interest images A to C included in the input image 42 and generates a mosaic image 46 in which only the extracted region-of-interest images A to C are mosaicked. Processing may be executed and used as the main image.

入力画像符号化部32は、メイン画像を圧縮符号化する。本実施形態では、フレーム間予測を用いた圧縮符号化方法、例えばMPEG(Moving Picture Experts Group)やITU−T勧告のH.264等の符号化方法によりメイン画像を符号化する。   The input image encoding unit 32 compresses and encodes the main image. In the present embodiment, a compression encoding method using inter-frame prediction, for example, MPEG (Moving Picture Experts Group) and ITU-T recommendation H.264. The main image is encoded by an encoding method such as H.264.

関心領域画像抽出部34は、撮影装置12から順次入力される入力画像から予め定めた関心領域の画像である関心領域画像を抽出する。関心領域画像は、本実施形態では、例えば人物の顔の画像であるが、これに限られるものではない。図2、3に示す入力画像42の場合、例えば人物の顔の画像である関心領域画像A〜Cが抽出される。また、関心領域画像抽出部34は、図2、3に示すように、抽出した関心領域画像A〜Cを集合した集合画像48をサブ画像として生成する。   The region-of-interest image extraction unit 34 extracts a region-of-interest image that is a predetermined region-of-interest image from the input images sequentially input from the imaging device 12. In the present embodiment, the region-of-interest image is, for example, an image of a human face, but is not limited thereto. In the case of the input image 42 shown in FIG. Further, as shown in FIGS. 2 and 3, the region-of-interest image extraction unit 34 generates a group image 48 in which the extracted region-of-interest images A to C are collected as sub-images.

関心領域画像符号化部36は、入力された入力画像から抽出された複数の関心領域画像から選択した選択関心領域画像を第1の符号化方法で符号化する。   The region-of-interest image encoding unit 36 encodes the selected region-of-interest image selected from the plurality of region-of-interest images extracted from the input image input by the first encoding method.

第1の符号化方法は、例えば選択関心領域画像をイントラ符号化する方法である。ここで、イントラ符号化とは、過去の符号化されたフレーム画像を参照してフレーム間予測して符号化するのではなく、符号化対象の入力画像のみから符号化する方法である。従って、復号(伸張)する際には、過去のフレーム画像を参照することなく復号できる。   The first encoding method is, for example, a method of intra-encoding a selected region of interest image. Here, the intra coding is a method of coding only from an input image to be coded, rather than coding by predicting an inter-frame with reference to a past coded frame image. Therefore, when decoding (decompressing), decoding can be performed without referring to past frame images.

また、暗号化対象画像は、例えば入力画像がN回入力される毎に設定される。図4には、画像の入力順と符号化順が等しく、全ての画像が参照画となりうる画像シーケンス構成で、N=3の場合の例を示した。同図では、P0〜P8までのサブ画像に含まれる関心領域画像A〜Cをそれぞれ符号化した関心領域画像領域の列50A〜50Cを示した。また、同図における矢印は参照関係を示している。同図に示す例の場合、P0、P3、P6の符号化された関心領域画像A〜Cの集合画像を暗号化する。すなわち、入力画像が3回入力される毎に関心領域画像A〜Cの集合画像を暗号化する。   The encryption target image is set every time an input image is input N times, for example. FIG. 4 shows an example in which N = 3 in an image sequence configuration in which the input order of images is the same as the encoding order and all images can be reference images. In the drawing, regions of interest region image areas 50A to 50C obtained by encoding the region of interest images A to C included in the sub-images P0 to P8 are shown. In addition, the arrows in FIG. In the case of the example shown in the figure, the group images of the region-of-interest images A to C encoded in P0, P3, and P6 are encrypted. That is, every time the input image is input three times, the collective image of the region-of-interest images A to C is encrypted.

また、関心領域画像符号化部36は、前回の暗号化対象画像において複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択する。例えば図4に示すように、P0で関心領域画像Aが選択関心領域画像52Aとして選択され、イントラ符号化された場合、次の暗号化対象画像であるP3では、関心領域画像Bが選択関心領域画像52Bとして選択される。そして、次の暗号化対象画像であるP6では、関心領域画像Cが選択関心領域画像52Cとして選択される。このように、暗号化対象画像が設定される毎に、前回の暗号化対象画像の選択関心領域画像と異なる関心領域画像が選択される。   The region-of-interest image encoding unit 36 selects a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image as the selected region-of-interest image. For example, as shown in FIG. 4, when the region-of-interest image A is selected as the selected region-of-interest image 52A and is intra-encoded at P0, the region-of-interest image B is selected as the selected region of interest at P3 which is the next encryption target image. Selected as image 52B. Then, in the next encryption target image P6, the region-of-interest image C is selected as the selected region-of-interest image 52C. Thus, each time an encryption target image is set, a region of interest image different from the selected region of interest image of the previous encryption target image is selected.

また、関心領域画像符号化部36は、選択関心領域画像以外の非選択関心領域画像を第1の符号化方法と異なる第2の符号化方法で符号化する。第2の符号化方法は、例えば直前の非暗号化対象画像として符号化されたフレーム画像を参照画像(所謂Pピクチャ)として非選択関心領域画像をインター符号化する方法である。ここで、インター符号化とは、過去のフレーム画像を参照画像としてフレーム間予測して予測画像を生成し、入力画像と予測画像との差分を符号化する方法である。従って、復号(伸張)する際には、過去のフレーム画像を参照画像として復号する。   The region-of-interest image encoding unit 36 encodes non-selected region-of-interest images other than the selected region-of-interest image using a second encoding method different from the first encoding method. The second encoding method is, for example, a method in which a non-selected region-of-interest image is inter-coded using a frame image encoded as the previous non-encryption target image as a reference image (so-called P picture). Here, inter-coding is a method of generating a predicted image by performing inter-frame prediction using a past frame image as a reference image, and encoding a difference between the input image and the predicted image. Therefore, when decoding (expanding), a past frame image is decoded as a reference image.

例えば図4に示すように、P3の非選択関心領域画像54Aである関心領域画像Aは、矢印A1で示すように、P3の直前の非暗号化対象画像であるP2で符号化された関心領域画像Aを参照画像としてインター符号化する。同様に、P3における非選択関心領域画像54Cである関心領域画像Cは、矢印C1で示すように、P3の直前の非暗号化対象画像であるP2で符号化された関心領域画像Cを参照画像としてインター符号化する。   For example, as shown in FIG. 4, the region-of-interest image A which is the non-selected region-of-interest image 54A of P3 is the region of interest encoded by P2, which is the non-encryption target image immediately before P3, as indicated by the arrow A1. The image A is inter-coded as a reference image. Similarly, the region-of-interest image C which is the non-selected region-of-interest image 54C in P3 is the reference image of the region-of-interest image C encoded by P2, which is the non-encryption target image immediately before P3, as indicated by the arrow C1. Is inter-coded.

また、関心領域画像符号化部36は、非暗号化対象画像として生成されたサブ画像に含まれる複数の関心領域画像については、第3の符号化方法で符号化する。第3の符号化方法は、暗号化対象画像の次の非暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像のうち選択関心領域画像に対応する関心領域画像は、暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。例えば、図4に示すように、非暗号化対象画像であるP4の関心領域画像Bは、矢印B1で示すように、暗号化対象画像であるP3の選択関心領域画像52Bを参照画像としてインター符号化する。   Moreover, the region-of-interest image encoding unit 36 encodes a plurality of region-of-interest images included in the sub-image generated as the non-encryption target image by the third encoding method. In the third encoding method, the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image is encrypted. A frame image encoded as an encoding target image is inter-coded as a reference image. For example, as shown in FIG. 4, the region of interest image B of P4, which is a non-encryption target image, is inter-coded using the selected region of interest image 52B of P3, which is an encryption target image, as a reference image, as indicated by an arrow B1. Turn into.

また、第3の符号化方法では、非選択関心領域画像に対応する関心領域画像については、暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。例えば、図4に示すように、非暗号化対象画像のP4の関心領域画像Aは、矢印A2で示すように、暗号化対象画像であるP3の非選択関心領域画像54Aを参照画像とするのではなく、P3の前のP2の関心領域画像Aを参照画像としてインター符号化する。なお、P4の関心領域画像Cについても同様に、矢印C2で示すように、P3よりも前のP2の関心領域画像Cを参照画像としてインター符号化する。   In the third encoding method, the region of interest image corresponding to the non-selected region of interest image is inter-coded using a frame image encoded as a non-encryption target image before the encryption target image as a reference image. To do. For example, as shown in FIG. 4, the P4 region-of-interest image A of the non-encryption target image uses the non-selected region-of-interest image 54A of P3, which is the encryption target image, as a reference image, as indicated by an arrow A2. Instead, the region-of-interest image A of P2 before P3 is inter-coded as a reference image. Similarly, the P4 region-of-interest image C is also inter-coded with the P2 region-of-interest image C before P3 as a reference image, as indicated by the arrow C2.

また、第3の符号化方法は、暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像は、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。例えば、図4に示すように、暗号化対象画像であるP3の次の非暗号化対象画像であるP4の後の非暗号化対象画像であるP5の関心領域画像Aは、矢印A3で示すように、P5の直前のP4の関心領域画像Aを参照画像としてインター符号化する。なお、関心領域画像B、Cについても同様である。   Further, the third encoding method is that the plurality of region-of-interest images extracted from the input image input as the non-encryption target image after the next non-encryption target image of the encryption target image A frame image encoded as a non-encryption target image is inter-coded as a reference image. For example, as shown in FIG. 4, the region-of-interest image A of P5 that is a non-encryption target image after P4 that is the next non-encryption target image of P3 that is the encryption target image is indicated by an arrow A3. Then, the region-of-interest image A of P4 immediately before P5 is inter-coded as a reference image. The same applies to the region-of-interest images B and C.

暗号化部38は、暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像の各々を符号化したフレーム画像を、選択関心領域画像に対応する暗号鍵で暗号化する。例えば、図4に示すように、選択関心領域画像として関心領域画像Aが選択されたP0の関心領域画像A〜Cの集合画像は、関心領域画像Aに対応する暗号鍵KeyAで暗号化する。同様に、選択関心領域画像として関心領域画像Bが選択されたP3の関心領域画像A〜Cの集合画像は、関心領域画像Bに対応する暗号鍵KeyBで暗号化する。同様に、選択関心領域画像として関心領域画像Cが選択されたP6の関心領域画像A〜Cの集合画像は、関心領域画像Cに対応する暗号鍵KeyCで暗号化する。   The encryption unit 38 encrypts a frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as the encryption target image with an encryption key corresponding to the selected region-of-interest image. For example, as illustrated in FIG. 4, the collective image of the region-of-interest images AC of P0 in which the region-of-interest image A is selected as the selected region-of-interest image is encrypted with the encryption key KeyA corresponding to the region-of-interest image A. Similarly, the collective image of the region-of-interest images A to C of P3 in which the region-of-interest image B is selected as the selected region-of-interest image is encrypted with the encryption key KeyB corresponding to the region-of-interest image B. Similarly, the collective image of the region-of-interest images A to C of P6 in which the region-of-interest image C is selected as the selected region-of-interest image is encrypted with the encryption key KeyC corresponding to the region-of-interest image C.

多重化部40は、入力画像符号化部32によりメイン画像が符号化されたメイン画像符号化データと、関心領域画像符号化部36によりサブ画像が符号化されたサブ画像符号化データと、を多重化し、動画像符号化データとして記憶装置16に記憶する。なお、多重化する際、各暗号鍵も多重化される。   The multiplexing unit 40 includes: main image encoded data obtained by encoding the main image by the input image encoding unit 32; and sub image encoded data obtained by encoding the sub image by the region-of-interest image encoding unit 36. Multiplexed and stored in the storage device 16 as moving image encoded data. When multiplexing, each encryption key is also multiplexed.

動画像復号化装置18は、分離部60、入力画像伸張部62、画像処理部64、復号化部66、関心領域画像伸張部68、関心領域画像切出部70、及び合成部72を備えている。   The moving image decoding apparatus 18 includes a separation unit 60, an input image expansion unit 62, an image processing unit 64, a decoding unit 66, a region of interest image expansion unit 68, a region of interest image cutout unit 70, and a synthesis unit 72. Yes.

分離部60は、動画像の復号が指示されると、記憶装置16に記憶された動画像符号化データを読み出し、読み出した動画像符号化データをメイン画像符号化データとサブ画像符号化データと、に分離する。   When the decoding of the moving image is instructed, the separating unit 60 reads the moving image encoded data stored in the storage device 16, and the read moving image encoded data is converted into the main image encoded data and the sub image encoded data. , Separated.

入力画像伸張部62は、メイン画像符号化データを復号(伸張)する。   The input image expansion unit 62 decodes (expands) the main image encoded data.

画像処理部64は、入力画像伸張部62によって伸張されたメイン画像に予め定めた画像処理を施す。予め定めた画像処理は、動画像符号化装置14の画像処理部30で行われた画像処理と対応する画像処理である。本実施形態では、動画像符号化装置14の画像処理部30において、入力画像を縮小する縮小処理を行ってメイン画像を生成しているので、入力画像伸張部62では、メイン画像を拡大する拡大処理、すなわち、メイン画像のサイズを元のサイズに戻す処理を行う。なお、動画像符号化装置14の画像処理部30で入力画像をモザイク化する処理が行われた場合には、画像処理部64は、伸張した画像をそのまま出力する。   The image processing unit 64 performs predetermined image processing on the main image expanded by the input image expansion unit 62. The predetermined image processing is image processing corresponding to the image processing performed by the image processing unit 30 of the moving image encoding device 14. In the present embodiment, the image processing unit 30 of the moving image encoding device 14 generates a main image by performing a reduction process for reducing the input image. Therefore, the input image expansion unit 62 enlarges the main image. Processing, that is, processing for returning the size of the main image to the original size is performed. Note that when the image processing unit 30 of the moving image encoding device 14 performs processing for mosaicking the input image, the image processing unit 64 outputs the decompressed image as it is.

復号化部66は、復号を指示された関心領域画像に対応した復号鍵により、暗号化対象画像として符号化された選択関心領域画像のフレーム画像を復号する。   The decryption unit 66 decrypts the frame image of the selected region-of-interest image encoded as the encryption target image with the decryption key corresponding to the region-of-interest image instructed to be decrypted.

関心領域画像伸張部68は、複数の関心領域画像のうち特定の関心領域画像の復号(伸張)がユーザーにより指示された場合に、サブ画像符号化データで表される複数の関心領域画像のうち、復号を指示された関心領域画像を伸張する。   The region-of-interest image decompression unit 68, among the plurality of region-of-interest images represented by the sub-image encoded data, when decoding (decompression) of a specific region-of-interest image is instructed by the user. The region-of-interest image instructed for decoding is expanded.

関心領域画像切出部70は、サブ画像から復号を指示された関心領域画像のフレーム画像を切り出して合成部72に出力する。   The region-of-interest image cutout unit 70 cuts out a frame image of the region-of-interest image instructed to be decoded from the sub-image and outputs the frame image to the combining unit 72.

合成部72は、関心領域画像切出部70により切り出された関心領域画像を、画像処理部64によって元に戻された入力画像に合成して、表示装置20に出力する。   The combining unit 72 combines the region-of-interest image cut out by the region-of-interest image cutting unit 70 with the input image returned by the image processing unit 64 and outputs the combined image to the display device 20.

動画像符号化装置14は、例えば図5に示すコンピュータ80で実現することができる。コンピュータ80はCPU82、メモリ84、不揮発性の記憶部86を備え、これらはバス88を介して互いに接続されている。   The moving image encoding device 14 can be realized by a computer 80 shown in FIG. 5, for example. The computer 80 includes a CPU 82, a memory 84, and a nonvolatile storage unit 86, which are connected to each other via a bus 88.

また、記憶部86はHDD(Hard Disk Drive)やフラッシュメモリ等によって実現できる。記録媒体としての記憶部86には、コンピュータ80を動画像符号化装置14として機能させるための動画像符号化プログラム90が記憶されている。CPU82は、動画像符号化プログラム90を記憶部86から読み出してメモリ84に展開し、動画像符号化プログラム90が有するプロセスを順次実行する。   The storage unit 86 can be realized by an HDD (Hard Disk Drive), a flash memory, or the like. A storage unit 86 as a recording medium stores a moving image encoding program 90 for causing the computer 80 to function as the moving image encoding device 14. The CPU 82 reads out the moving image encoding program 90 from the storage unit 86 and develops it in the memory 84, and sequentially executes processes included in the moving image encoding program 90.

動画像符号化プログラム90は、画像処理プロセス92、入力画像符号化プロセス94、関心領域画像抽出プロセス96、関心領域画像符号化プロセス98、暗号化プロセス100、及び多重化プロセス102を有する。   The moving image encoding program 90 includes an image processing process 92, an input image encoding process 94, a region of interest image extraction process 96, a region of interest image encoding process 98, an encryption process 100, and a multiplexing process 102.

CPU82は、画像処理プロセス92を実行することで、図1に示す画像処理部30として動作する。また、CPU82は、入力画像符号化プロセス94を実行することで、図1に示す入力画像符号化部32として動作する。また、CPU82は、関心領域画像抽出プロセス96を実行することで、図1に示す関心領域画像抽出部34として動作する。またCPU82は、関心領域画像符号化プロセス98を実行することで、図1に示す関心領域画像符号化部36として動作する。またCPU82は、暗号化プロセス100を実行することで、図1に示す暗号化部38として動作する。またCPU82は、多重化プロセス102を実行することで、図1に示す多重化部40として動作する。   The CPU 82 operates as the image processing unit 30 illustrated in FIG. 1 by executing the image processing process 92. The CPU 82 operates as the input image encoding unit 32 illustrated in FIG. 1 by executing the input image encoding process 94. Further, the CPU 82 operates as the region-of-interest image extraction unit 34 illustrated in FIG. 1 by executing the region-of-interest image extraction process 96. The CPU 82 operates as the region-of-interest image encoding unit 36 shown in FIG. 1 by executing the region-of-interest image encoding process 98. The CPU 82 operates as the encryption unit 38 shown in FIG. 1 by executing the encryption process 100. The CPU 82 operates as the multiplexing unit 40 illustrated in FIG. 1 by executing the multiplexing process 102.

これにより、動画像符号化プログラム90を実行したコンピュータ80が、動画像符号化装置14として機能することになる。なお、動画像符号化プログラム90は開示の技術における動画像符号化プログラムの一例である。   As a result, the computer 80 that has executed the moving picture coding program 90 functions as the moving picture coding apparatus 14. The moving image encoding program 90 is an example of a moving image encoding program in the disclosed technology.

なお、動画像符号化装置14は、例えば半導体集積回路、より詳しくはASIC(Application Specific Integrated Circuit)等で実現することも可能である。   Note that the moving image encoding device 14 can be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit) or the like.

動画像復号化装置18は、例えば図6に示すコンピュータ110で実現することができる。コンピュータ110はCPU112、メモリ114、不揮発性の記憶部116を備え、これらはバス118を介して互いに接続されている。   The moving picture decoding apparatus 18 can be realized by, for example, the computer 110 shown in FIG. The computer 110 includes a CPU 112, a memory 114, and a nonvolatile storage unit 116, which are connected to each other via a bus 118.

また、記憶部116はHDD(Hard Disk Drive)やフラッシュメモリ等によって実現できる。記録媒体としての記憶部116には、コンピュータ110を動画像復号化装置18として機能させるための動画像復号化プログラム120が記憶されている。CPU112は、動画像復号化プログラム120を記憶部116から読み出してメモリ114に展開し、動画像復号化プログラム120が有するプロセスを順次実行する。   The storage unit 116 can be realized by an HDD (Hard Disk Drive), a flash memory, or the like. The storage unit 116 as a recording medium stores a moving picture decoding program 120 for causing the computer 110 to function as the moving picture decoding apparatus 18. The CPU 112 reads out the moving picture decoding program 120 from the storage unit 116 and develops it in the memory 114, and sequentially executes processes included in the moving picture decoding program 120.

動画像復号化プログラム120は、分離プロセス122、入力画像伸張プロセス124、画像処理プロセス126、復号化プロセス128、関心領域画像伸張プロセス130、関心領域画像切出プロセス132、及び合成プロセス134を有する。   The moving image decoding program 120 includes a separation process 122, an input image expansion process 124, an image processing process 126, a decoding process 128, a region of interest image expansion process 130, a region of interest image extraction process 132, and a synthesis process 134.

CPU112は、分離プロセス122を実行することで、図1に示す分離部60として動作する。また、CPU112は、入力画像伸張プロセス124を実行することで、図1に示す入力画像伸張部62として動作する。また、CPU112は、画像処理プロセス126を実行することで、図1に示す画像処理部64として動作する。またCPU112は、復号化プロセス128を実行することで、図1に示す復号化部66として動作する。またCPU112は、関心領域画像伸張プロセス130を実行することで、図1に示す関心領域画像伸張部68として動作する。またCPU112は、関心領域画像切出プロセス132を実行することで、図1に示す関心領域画像切出部70として動作する。またCPU112は、合成プロセス134を実行することで、図1に示す合成部72として動作する。   The CPU 112 operates as the separation unit 60 illustrated in FIG. 1 by executing the separation process 122. Further, the CPU 112 operates as the input image expansion unit 62 illustrated in FIG. 1 by executing the input image expansion process 124. Further, the CPU 112 operates as the image processing unit 64 illustrated in FIG. 1 by executing the image processing process 126. Further, the CPU 112 operates as the decryption unit 66 shown in FIG. 1 by executing the decryption process 128. The CPU 112 operates as the region-of-interest image expansion unit 68 shown in FIG. 1 by executing the region-of-interest image expansion process 130. Further, the CPU 112 operates as the region-of-interest image cutting unit 70 shown in FIG. 1 by executing the region-of-interest image cutting process 132. The CPU 112 operates as the synthesis unit 72 illustrated in FIG. 1 by executing the synthesis process 134.

これにより、動画像復号化プログラム120を実行したコンピュータ110が、動画像復号化装置18として機能することになる。なお、動画像復号化プログラム120は開示の技術における動画像復号化プログラムの一例である。   As a result, the computer 110 that has executed the moving picture decoding program 120 functions as the moving picture decoding apparatus 18. The moving picture decoding program 120 is an example of a moving picture decoding program in the disclosed technology.

なお、動画像復号化装置18は、例えば半導体集積回路、より詳しくはASIC(Application Specific Integrated Circuit)等で実現することも可能である。   Note that the moving picture decoding apparatus 18 can be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit) or the like.

次に本実施形態の作用を説明する。まず、動画像符号化装置14により実行される動画像符号化処理について図7に示すフローチャートを参照して説明する。なお、図に示す動画像符号化処理は、撮影装置12により動画像の撮影が開始されると実行される。撮影装置12により動画像の撮影が開始されると、撮影装置12により撮影された画像が予め定めたフレームレートで動画像符号化装置14に順次入力される。 Next, the operation of this embodiment will be described. First, the video encoding process executed by the video encoding device 14 will be described with reference to the flowchart shown in FIG. Note that the moving image encoding process shown in FIG. 7 is executed when shooting of a moving image is started by the shooting device 12. When shooting of moving images is started by the shooting device 12, images shot by the shooting device 12 are sequentially input to the moving image encoding device 14 at a predetermined frame rate.

動画像符号化処理のステップ200において、画像処理部30が、撮影装置12から入力された入力画像に対して予め定めた画像処理を施す。画像処理部30は、図2に示すように、撮影装置12から入力された入力画像42を縮小した縮小画像44を生成する処理を実行する。   In step 200 of the moving image encoding process, the image processing unit 30 performs predetermined image processing on the input image input from the imaging device 12. As shown in FIG. 2, the image processing unit 30 executes a process of generating a reduced image 44 obtained by reducing the input image 42 input from the imaging device 12.

ステップ202では、入力画像符号化部32が、ステップ204で画像処理を施したメイン画像をフレーム間予測を用いた符号化方法、例えばMPEG(Moving Picture Experts Group)やITU−T勧告のH.264等の符号化方法により符号化する。   In step 202, the input image encoding unit 32 encodes the main image subjected to the image processing in step 204 using an inter-frame prediction, such as MPEG (Moving Picture Experts Group) or ITU-T Recommendation H.264. It is encoded by an encoding method such as H.264.

ステップ200、202の処理と並行して、ステップ204では、関心領域画像抽出部34が、図2に示すように、入力画像42から関心領域画像として例えば人物の顔の画像を抽出する。なお、人物の顔の画像の抽出方法としては、特徴抽出処理やパターンマッチング等の公知の手法を用いる。   In parallel with the processing in steps 200 and 202, in step 204, the region-of-interest image extraction unit 34 extracts, for example, a human face image as the region-of-interest image from the input image 42, as shown in FIG. As a method for extracting a human face image, a known method such as feature extraction processing or pattern matching is used.

ステップ206では、関心領域画像抽出部34が、ステップ204で抽出した関心領域画像を集合した集合画像を生成する。これにより、図2に示したように、関心領域画像を集合した集合画像48が生成される。   In step 206, the region-of-interest image extraction unit 34 generates a collective image in which the region-of-interest images extracted in step 204 are collected. Thereby, as shown in FIG. 2, a collective image 48 in which the region-of-interest images are gathered is generated.

ステップ208では、関心領域画像符号化部36が、入力画像が暗号化対象であるか否かを判断する。本実施形態では、暗号化対象画像は、入力画像が3回入力される毎に設定される。従って、図4に示す例の場合、P0、P3、P6では、ステップ208は肯定判定され、その他ではステップ208は否定判定される。   In step 208, the region-of-interest image encoding unit 36 determines whether or not the input image is an encryption target. In the present embodiment, the encryption target image is set every time the input image is input three times. Therefore, in the example shown in FIG. 4, step 208 is affirmatively determined at P0, P3, and P6, and step 208 is negatively determined otherwise.

ステップ210では、関心領域画像符号化部36が、集合画像48に含まれる複数の関心領域画像から、第1の符号化方法で符号化する関心領域画像を選択関心領域画像として選択し、選択した選択関心領域画像を第1の符号化方法で符号化する。第1の符号化方法は、本実施形態では、選択関心領域画像をイントラ符号化する方法である。選択関心領域画像以外の非選択関心領域画像は、第1の符号化方法と異なる第2の符号化方法で符号化する。第2の符号化方法は、本実施形態では直前の非暗号化対象画像として符号化されたフレーム画像を参照画像として非選択関心領域画像をインター符号化する方法である。例えば図4の矢印A1で示すように、P3における非選択関心領域画像54Aである関心領域画像Aは、P3の直前の非暗号化対象画像であるP2の関心領域画像Aを参照画像としてインター符号化する。同様に、P3における非選択関心領域画像54Cである関心領域画像Cは、P3の直前の非暗号化対象画像あるP2の関心領域画像Cを参照画像としてインター符号化する。   In step 210, the region-of-interest image encoding unit 36 selects, as the selected region-of-interest image, the region-of-interest image to be encoded by the first encoding method from the plurality of region-of-interest images included in the collective image 48. The selected region-of-interest image is encoded by the first encoding method. In the present embodiment, the first encoding method is a method of intra-encoding a selected region of interest image. Non-selected region-of-interest images other than the selected region-of-interest image are encoded by a second encoding method different from the first encoding method. In the present embodiment, the second encoding method is a method of inter-encoding a non-selected region-of-interest image using a frame image encoded as the immediately preceding non-encryption target image as a reference image. For example, as shown by an arrow A1 in FIG. 4, the region-of-interest image A that is the non-selected region-of-interest image 54A in P3 is inter-coded using the region-of-interest image A of P2 that is the non-encryption target image immediately before P3 as a reference image. Turn into. Similarly, the region-of-interest image C which is the non-selected region-of-interest image 54C in P3 is inter-coded using the region-of-interest image C of P2 which is the non-encryption target image immediately before P3 as a reference image.

また、関心領域画像符号化部36は、暗号化対象画像が設定される毎に、前回の暗号化対象画像の選択関心領域画像と異なる関心領域画像を選択する。例えば図4の例では、P0では関心領域画像Aを選択関心領域画像52Aとして選択する。また、次の暗号化対象画像のP3では関心領域画像Bを選択関心領域画像52Bとして選択する。また、次の暗号化対象画像のP6では関心領域画像Cを選択関心領域画像52Cとして選択する。   The region-of-interest image encoding unit 36 selects a region-of-interest image that is different from the selected region-of-interest image of the previous encryption-target image every time an encryption-target image is set. For example, in the example of FIG. 4, the region of interest image A is selected as the selected region of interest image 52A at P0. In the next encryption target image P3, the region-of-interest image B is selected as the selected region-of-interest image 52B. Further, in the next encryption target image P6, the region-of-interest image C is selected as the selected region-of-interest image 52C.

ステップ214では、暗号化部38が、暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像の各々を符号化したフレーム画像を、選択関心領域画像に対応する暗号鍵で暗号化する。例えば、図4に示すように、選択関心領域画像52Aとして関心領域画像Aが選択されたP0の関心領域画像A〜Cの集合画像は、関心領域画像Aに対応する暗号鍵KeyAで暗号化する。同様に、選択関心領域画像52Bとして関心領域画像Bが選択されたP3の関心領域画像A〜Cの集合画像は、関心領域画像Bに対応する暗号鍵KeyBで暗号化する。同様に、選択関心領域画像52Cとして関心領域画像Cが選択されたP6の関心領域画像A〜Cの集合画像は、関心領域画像Cに対応する暗号鍵KeyCで暗号化する。   In step 214, the encryption unit 38 encrypts a frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as the encryption target image with an encryption key corresponding to the selected region-of-interest image. Turn into. For example, as shown in FIG. 4, the collective image of the region-of-interest images A to C of P0 in which the region-of-interest image A is selected as the selected region-of-interest image 52A is encrypted with the encryption key KeyA corresponding to the region-of-interest image A. . Similarly, the collective image of the region-of-interest images A to C of P3 in which the region-of-interest image B is selected as the selected region-of-interest image 52B is encrypted with the encryption key KeyB corresponding to the region-of-interest image B. Similarly, the collective image of the region-of-interest images A to C of P6 in which the region-of-interest image C is selected as the selected region-of-interest image 52C is encrypted with the encryption key KeyC corresponding to the region-of-interest image C.

一方、ステップ208で入力画像が暗号化対象でないと判定された場合、すなわち非暗号化対象画像であると判定された場合、ステップ216へ移行する。   On the other hand, if it is determined in step 208 that the input image is not an encryption target, that is, if it is determined that the input image is a non-encryption target image, the process proceeds to step 216.

ステップ216では、直前の参照画像が暗号化対象であったか否かを判定し、直前の参照画像が暗号化対象であった場合にはステップ218へ移行する。図4の例では、P1、P4、P7の入力画像については、P1、P4、P7の参照画像候補となる、P1、P4、P7の直前のP0、P3、P6が暗号化対象であることから、ステップ216は肯定判定される。一方、P2、P5、P8の入力画像については、P2、P5、P8の参照画像候補となる、P2、P5、P8の直前のP1、P4、P7は暗号化対象ではないことから、ステップ216は否定判定される。   In step 216, it is determined whether or not the immediately preceding reference image is to be encrypted. If the immediately preceding reference image is to be encrypted, the process proceeds to step 218. In the example of FIG. 4, with respect to the input images P1, P4, and P7, P0, P3, and P6 immediately before P1, P4, and P7, which are reference image candidates for P1, P4, and P7, are to be encrypted. In step 216, an affirmative determination is made. On the other hand, for the input images of P2, P5, and P8, P1, P4, and P7 immediately before P2, P5, and P8, which are reference image candidates for P2, P5, and P8, are not encryption targets. Negative determination is made.

ステップ218では、関心領域画像符号化部36が、集合画像48に含まれる複数の関心領域画像を第3の符号化方法で符号化する。第3の符号化方法は、暗号化対象画像の次の非暗号化対象画像として入力された入力画像から抽出された複数の関心領域画像のうち選択関心領域画像に対応する関心領域画像は、暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。例えば、図4に示すように、非暗号化対象画像であるP4の関心領域画像Bは、暗号化対象画像であるP3の選択関心領域画像Bを参照画像としてインター符号化する。   In step 218, the region-of-interest image encoding unit 36 encodes the plurality of region-of-interest images included in the collective image 48 using the third encoding method. In the third encoding method, the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image is encrypted. A frame image encoded as an encoding target image is inter-coded as a reference image. For example, as illustrated in FIG. 4, the region of interest image B of P4 that is a non-encryption target image is inter-coded using the selected region of interest image B of P3 that is an encryption target image as a reference image.

また、第3の符号化方法では、非選択関心領域画像に対応する関心領域画像については、暗号化対象画像の直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。例えば、図4の矢印A2で示すように、非暗号化対象画像であるP4の関心領域画像Aは、暗号化対象画像であるP3の非選択関心領域画像Aを参照画像とするのではなく、P3よりも前のP2における関心領域画像Aを参照画像としてインター符号化する。なお、P4の関心領域画像Cについても同様である。   In the third encoding method, the region of interest image corresponding to the non-selected region of interest image is inter-coded using a frame image encoded as a non-encryption target image immediately before the encryption target image as a reference image. To do. For example, as indicated by an arrow A2 in FIG. 4, the region-of-interest image A of P4 that is a non-encryption target image does not use the non-selection region-of-interest image A of P3 that is an encryption target image as a reference image. The region-of-interest image A in P2 before P3 is inter-coded as a reference image. The same applies to the region-of-interest image C of P4.

一方、ステップ216で否定判定された場合、すなわち、暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像の場合、ステップ220へ移行する。   On the other hand, if a negative determination is made in step 216, that is, if the non-encryption target image is subsequent to the non-encryption target image next to the encryption target image, the process proceeds to step 220.

ステップ220では、関心領域画像符号化部36が、集合画像48に含まれる複数の関心領域画像を、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する。
例えば、図4の矢印A3で示すように、非暗号化対象画像であるP4より後の非暗号化対象画像であるP5の関心領域画像Aは、P5の直前の非暗号化対象画像であるP4の関心領域画像Aを参照画像としてインター符号化する。なお、関心領域画像B、Cについても同様である。
In step 220, the region-of-interest image encoding unit 36 inter-codes a plurality of region-of-interest images included in the collective image 48 using a frame image encoded as the immediately preceding non-encryption target image as a reference image.
For example, as indicated by an arrow A3 in FIG. 4, a region-of-interest image A of P5 that is a non-encryption target image after P4 that is a non-encryption target image is P4 that is a non-encryption target image immediately before P5. The region-of-interest image A is inter-coded as a reference image. The same applies to the region-of-interest images B and C.

ステップ222では、多重化部40が、メイン画像が符号化されたメイン画像符号化データと、サブ画像が符号化されたサブ画像符号化データと、を多重化し、動画像符号化データとして記憶装置16に記憶する。なお、多重化する際、各暗号鍵も多重化される。   In step 222, the multiplexing unit 40 multiplexes the main image encoded data in which the main image is encoded and the sub image encoded data in which the sub image is encoded, and stores it as moving image encoded data. 16 is stored. When multiplexing, each encryption key is also multiplexed.

以下、具体的な多重化の方法について説明する。本実施形態では、一例としてデジタル放送等において符号化された音声及び映像を多重化して伝送する際の形式の一つであるTransport Stream(TS)形式で多重化処理を行う場合について説明する。   Hereinafter, a specific multiplexing method will be described. In the present embodiment, as an example, a case will be described in which multiplexing processing is performed in the Transport Stream (TS) format, which is one of the formats when audio and video encoded in digital broadcasting or the like are multiplexed and transmitted.

図8にTS形式のパケットデータのイメージ図を示した。ここでは、同図においては、サブ画像符号化データ用のパケットと、その暗号鍵が含まれるパケットのみを表している。TSパケット140は、Header部140Aとdata部140Bから構成されており、このHeader部140Aに含まれる情報を参照することにより、そのパケットが暗号化された状態であるか否かを把握することができる。   FIG. 8 shows an image diagram of TS format packet data. Here, in the figure, only the packet for sub image encoded data and the packet including the encryption key are shown. The TS packet 140 includes a header unit 140A and a data unit 140B. By referring to information included in the header unit 140A, it is possible to grasp whether or not the packet is in an encrypted state. it can.

ここでは、暗号化に関するパラメータであるtransport_scrambling_controlフィールドの値が「00」の場合は、data部140Bが暗号化されておらず、「01」の場合はOdd鍵で暗号化、「10」の場合はEven鍵で暗号化されていると定義する。ここで、Odd鍵、Even鍵の情報は、鍵が含まれるTSパケット(鍵パケット)に含まれている。鍵パケットには必ずOdd鍵、Even鍵の二つが含まれており、時系列的に何れか一方の鍵のみ変更される。例えば、図8に示すように、P0の前に設けられた鍵パケット142は、Odd鍵は暗号鍵KeyA、Even鍵は暗号鍵KeyBと定義されている。また、P3の前に設けられた鍵パケット144は、その前の鍵パケット142と比較すると、Odd鍵のみ暗号鍵KeyCに変更されている。また、P6の前に設けられた鍵パケット146は、その前の鍵パケット144と比較すると、Even鍵のみ暗号鍵KeyAに変更されている。   Here, when the value of the transport_scrambling_control field, which is a parameter relating to encryption, is “00”, the data part 140B is not encrypted, when “01”, it is encrypted with the Odd key, and when it is “10”. It is defined as being encrypted with an Even key. Here, the information of the Odd key and the Even key is included in a TS packet (key packet) including the key. The key packet always includes the Odd key and the Even key, and only one of the keys is changed in time series. For example, as shown in FIG. 8, in the key packet 142 provided before P0, the Odd key is defined as the encryption key KeyA, and the Even key is defined as the encryption key KeyB. In addition, in the key packet 144 provided before P3, only the odd key is changed to the encryption key KeyC as compared with the previous key packet 142. Further, the key packet 146 provided before P6 is changed only to the Even key to the encryption key KeyA as compared with the previous key packet 144.

図8の例では、P0のパケットは暗号鍵KeyAで暗号化されているため、Odd鍵を使用するようtransport_scrambling_controlは「01」で定義されている。P3のパケットは暗号鍵KeyBで暗号化されているため、Even鍵を使用するようtransport_scrambling_controlは「10」で定義されている。また、P6のパケットは暗号鍵KeyCで暗号化されているため、Odd鍵を使用するようtransport_scrambling_controlは「01」で定義されている。   In the example of FIG. 8, since the packet of P0 is encrypted with the encryption key KeyA, transport_scrambling_control is defined as “01” so that the Odd key is used. Since the packet of P3 is encrypted with the encryption key KeyB, transport_scrambling_control is defined as “10” so that the Even key is used. Further, since the packet of P6 is encrypted with the encryption key KeyC, transport_scrambling_control is defined as “01” so that the Odd key is used.

また、図8に示すように、暗号鍵KeyA、KeyB、KeyCは、各々に対応したより上位の鍵であるワーク鍵A、B、Cで暗号化されている。   Further, as shown in FIG. 8, the encryption keys KeyA, KeyB, and KeyC are encrypted with work keys A, B, and C, which are higher-order keys corresponding to the keys.

従って、マスタ鍵を保有している特定の管理者だけが、暗号化対象のパケットを復号するのに必要な暗号鍵に対応したワーク鍵を復号できる。そして、復号されたワーク鍵を用いて、対応する暗号鍵を復号し、復号された暗号鍵を用いて暗号化されているパケットを復号する。   Therefore, only a specific administrator who holds the master key can decrypt the work key corresponding to the encryption key necessary for decrypting the packet to be encrypted. Then, using the decrypted work key, the corresponding encryption key is decrypted, and the encrypted packet is decrypted using the decrypted encryption key.

次に、動画像復号化装置18により実行される動画像復号化処理について、図9に示すフローチャートを参照して説明する。なお、図9に示す動画像復号化処理は、ユーザーにより動画像の再生が指示されると実行される。ユーザーにより動画像の再生が指示されると、記憶装置16に記憶された動画像符号化データが読み出されて動画像復号化装置18に入力される。   Next, the video decoding process executed by the video decoding device 18 will be described with reference to the flowchart shown in FIG. Note that the moving picture decoding process shown in FIG. 9 is executed when the user gives an instruction to play a moving picture. When the user gives an instruction to play a moving image, the moving image encoded data stored in the storage device 16 is read out and input to the moving image decoding device 18.

動画像復号化処理のステップ300において、分離部60が、記憶装置16に記憶された動画像符号化データをメイン画像符号化データとサブ画像符号化データと、に分離する。   In step 300 of the moving image decoding process, the separation unit 60 separates the encoded moving image data stored in the storage device 16 into main image encoded data and sub image encoded data.

ステップ302では、入力画像伸張部62が、メイン画像符号化データを復号(伸張)する。   In step 302, the input image expansion unit 62 decodes (expands) the main image encoded data.

ステップ304では、画像処理部64が、入力画像伸張部62によって伸張された入力画像に予め定めた画像処理を施す。予め定めた画像処理は、動画像符号化装置14の画像処理部30で行われた画像処理と対応する画像処理である。本実施形態では、動画像符号化装置14の画像処理部30では、入力画像を縮小する縮小処理を行っているので、入力画像伸張部62では、入力画像を拡大する拡大処理、すなわち、入力画像のサイズを元のサイズに戻す処理を行う。   In step 304, the image processing unit 64 performs predetermined image processing on the input image expanded by the input image expansion unit 62. The predetermined image processing is image processing corresponding to the image processing performed by the image processing unit 30 of the moving image encoding device 14. In this embodiment, since the image processing unit 30 of the moving image encoding device 14 performs a reduction process for reducing the input image, the input image expansion unit 62 performs an enlargement process for enlarging the input image, that is, the input image. The process of returning the size of the file to the original size is performed.

ステップ302、304の処理と並行して、ステップ306では、復号化部66が、特定の関心領域画像の復号が指示されたか否かを判断する。管理者は、特定の関心領域画像の復号を行う場合、マスタ鍵を用いて復号された特定の関心領域画像に対応したワーク鍵を動画像復号化装置18に入力する。そして、ステップ306で肯定判定された場合はステップ308へ移行し、否定判定された場合はステップ320へ移行する。このように、特定の関心領域画像の復号が指示されなかった場合は、サブ画像の復号は行わないため、関心領域画像が高精細で表示されることはなく、プライバシーが保護される。なお、複数の関心領域画像の復号を行う場合は、各々の関心領域画像に対応したワーク鍵を入力すればよい。   In parallel with the processing in steps 302 and 304, in step 306, the decoding unit 66 determines whether or not decoding of a specific region-of-interest image has been instructed. When the administrator decrypts a specific region-of-interest image, the administrator inputs a work key corresponding to the specific region-of-interest image decrypted using the master key to the moving image decryption apparatus 18. If an affirmative determination is made in step 306, the process proceeds to step 308, and if a negative determination is made, the process proceeds to step 320. As described above, when the decoding of the specific region-of-interest image is not instructed, the sub-image is not decoded, so that the region-of-interest image is not displayed with high definition and privacy is protected. When decoding a plurality of region-of-interest images, a work key corresponding to each region-of-interest image may be input.

ステップ308では、復号化部66が、復号を指示された関心領域画像に対応した暗号鍵を取得する。具体的には、入力されたワーク鍵を用いて、鍵パケットに含まれた復号を指示された関心領域画像に対応する暗号鍵を復号する。例えば、復号を指示された関心領域画像が関心領域画像Aである場合には、これに対応したワーク鍵Aを用いて暗号鍵KeyAを復号する。   In step 308, the decryption unit 66 acquires an encryption key corresponding to the region-of-interest image instructed to decrypt. Specifically, the encryption key corresponding to the region-of-interest image instructed to be decrypted is decrypted using the input work key. For example, when the region-of-interest image instructed to be decrypted is the region-of-interest image A, the encryption key KeyA is decrypted using the work key A corresponding thereto.

ステップ310では、復号化部66が、入力されたフレーム画像が暗号化されているフレーム画像であるか否かを判断する。そして、暗号化されているフレーム画像である場合にはステップ312へ移行し、暗号化されていないフレーム画像である場合はステップ316へ移行する。   In step 310, the decryption unit 66 determines whether or not the input frame image is an encrypted frame image. If it is an encrypted frame image, the process proceeds to step 312, and if it is an unencrypted frame image, the process proceeds to step 316.

例えば、図10に示すように、P0、P3、P6のサブ画像は、それぞれ暗号鍵KeyA、KeyB、KeyCで暗号化されているため、ステップ310は肯定判定され、その他のサブ画像は暗号化されていないため、ステップ310は否定判定される。   For example, as shown in FIG. 10, since the sub-images of P0, P3, and P6 are encrypted with the encryption keys KeyA, KeyB, and KeyC, respectively, step 310 is affirmed, and the other sub-images are encrypted. In step 310, a negative determination is made.

ステップ312では、復号化部66が、入力されたフレーム画像が、特定の関心領域画像に対応した暗号鍵で暗号化されたフレーム画像であるか否かを判断する。そして、入力されたフレーム画像が、特定の関心領域画像に対応した暗号鍵で暗号化されたフレーム画像である場合にはステップ314へ移行し、特定の関心領域画像に対応した暗号鍵で暗号化されたフレーム画像でない場合にはステップ320へ移行する。   In step 312, the decryption unit 66 determines whether or not the input frame image is a frame image encrypted with an encryption key corresponding to a specific region-of-interest image. If the input frame image is a frame image encrypted with the encryption key corresponding to the specific region-of-interest image, the process proceeds to step 314 and encrypted with the encryption key corresponding to the specific region-of-interest image. If it is not a frame image, the process proceeds to step 320.

例えば、関心領域画像Bに対応したワーク鍵が入力され、ステップ308で暗号鍵KeyBを取得した場合、図10に示すように、P0、P6のサブ画像は暗号鍵KeyA、KeyCで各々暗号化されているため、ステップ312は否定判定される。一方、P3のサブ画像は暗号鍵KeyBで暗号化されているため、ステップ312は肯定判定される。   For example, when the work key corresponding to the region-of-interest image B is input and the encryption key KeyB is acquired in step 308, the sub-images of P0 and P6 are respectively encrypted with the encryption keys KeyA and KeyC as shown in FIG. Therefore, a negative determination is made in step 312. On the other hand, since the sub-image of P3 is encrypted with the encryption key KeyB, the determination at step 312 is affirmative.

ステップ314では、復号を指示された特定の関心領域画像に対応する暗号鍵で入力されたフレーム画像の暗号化された符号化データの復号を行う。図10に示すように、関心領域画像Bの復号が指示された場合、P3のサブ画像の暗号化された符号化データが、暗号鍵KeyBによって復号される。   In step 314, the encrypted encoded data of the frame image input with the encryption key corresponding to the specific region-of-interest image instructed to be decoded is decoded. As shown in FIG. 10, when decryption of the region-of-interest image B is instructed, the encrypted encoded data of the sub-image of P3 is decrypted with the encryption key KeyB.

ステップ316では、関心領域画像伸張部68が、入力されたフレーム画像を伸張する。図10に示すように、関心領域画像Bの復号が指示された場合には、P3のサブ画像が、暗号鍵KeyBによって復号されており、またP3の関心領域画像Bはイントラ符号化されているため、関心領域画像Bは正常に伸張される。   In step 316, the region-of-interest image decompression unit 68 decompresses the input frame image. As shown in FIG. 10, when the decryption of the region-of-interest image B is instructed, the sub-image of P3 is decrypted with the encryption key KeyB, and the region-of-interest image B of P3 is intra-coded. Therefore, the region-of-interest image B is normally expanded.

一方、復号が指示されていない関心領域画像A、Cについては、P0,P6の暗号化されたサブ画像が復号されないため、正常に伸張されないが、復号が指示されていない関心領域画像であるため、特に問題はない。   On the other hand, the region-of-interest images A and C for which decryption is not instructed are the region-of-interest images for which P0 and P6 encrypted sub-images are not decrypted and are not normally expanded but are not instructed to be decrypted. There is no particular problem.

ステップ318では、関心領域画像切出部70が、復号されたフレーム画像から、復号を指示された関心領域画像のフレーム画像を切り出して合成部72に出力する。図10に示すように関心領域画像Bの復号が指示された場合には、関心領域画像Bのみがサブ画像から切り出されて合成部72に出力される。   In step 318, the region-of-interest image cutout unit 70 cuts out the frame image of the region-of-interest image instructed to be decoded from the decoded frame image and outputs the frame image to the synthesis unit 72. As shown in FIG. 10, when the decoding of the region of interest image B is instructed, only the region of interest image B is cut out from the sub image and output to the combining unit 72.

ステップ320では、合成部72が、関心領域画像切出部70により切り出された関心領域画像を、入力画像伸張部62により伸張されたメイン画像に合成して、表示装置20に出力する。これにより、表示装置20に動画像が表示される。なお、ステップ320では、ステップ306、312で否定判定された場合は、合成処理は実行せず、メイン画像がそのまま出力される。これにより、関心領域画像が高精細で表示されることはなく、プライバシーが保護される。   In step 320, the combining unit 72 combines the region-of-interest image cut out by the region-of-interest image cutting unit 70 with the main image expanded by the input image expansion unit 62 and outputs the combined image to the display device 20. Thereby, a moving image is displayed on the display device 20. In step 320, if a negative determination is made in steps 306 and 312, the composition process is not executed and the main image is output as it is. Thereby, the region of interest image is not displayed with high definition, and privacy is protected.

このように、本実施形態では、暗号化対象画像におけるサブ画像に含まれる複数の関心領域画像のうち何れかの選択関心領域画像をイントラ符号化し、その他をインター符号化する。そして、暗号化対象画像が設定される毎に選択関心領域画像を異ならせて選択関心領域画像に対応する暗号鍵で暗号化する。このため、復号する際には特定の関心領域画像のみ正常に復号されるため、特定の関心領域画像のみ高解像度化した画像を得ることができる。従って、監視カメラ等に開示の技術を適用した場合、平常時はプライバシー保護に留意した低解像度の画像又は人物の顔のみモザイク化した画像を表示し、犯罪等が発生した場合のみ、犯人の顔等を精細な画像で復号して表示することが可能となる。   Thus, in the present embodiment, any selected region-of-interest image among a plurality of region-of-interest images included in the sub-image in the encryption target image is intra-coded, and the others are inter-coded. Each time an encryption target image is set, the selected region-of-interest image is differentiated and encrypted with an encryption key corresponding to the selected region-of-interest image. For this reason, since only a specific region-of-interest image is normally decoded when decoding, an image in which only a specific region-of-interest image is increased in resolution can be obtained. Therefore, when the disclosed technology is applied to surveillance cameras, etc., a low-resolution image that takes privacy into consideration or a mosaic image of only the person's face is displayed in normal times, and only when a crime occurs, the face of the criminal Etc. can be decoded and displayed with fine images.

なお、本実施形態では、第2の符号化方法として、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像として非選択関心領域画像をインター符号化する場合について説明したが、これに限られない。例えば、第2の符号化方法として、非選択関心領域画像をダミー画像に置き換えてイントラ符号化するようにしてもよい。この場合、図7のステップ210において、非選択関心領域画像をダミー画像に置き換え、ダミー画像のみを用いてイントラ符号化すればよい。   In the present embodiment, as the second encoding method, the case where the non-selected region-of-interest image is inter-encoded using the frame image encoded as the immediately preceding non-encryption target image as a reference image has been described. Not limited to. For example, as a second encoding method, intra-encoding may be performed by replacing a non-selected region-of-interest image with a dummy image. In this case, in step 210 of FIG. 7, the non-selected region-of-interest image may be replaced with a dummy image, and intra coding may be performed using only the dummy image.

また、本実施形態では、暗号化対象画像におけるサブ画像に含まれる複数の関心領域画像のうち何れかの選択関心領域画像をイントラ符号化し、その他をインター符号化する場合について説明したが、これに限られない。   Further, in the present embodiment, a case has been described in which any selected region-of-interest image among a plurality of regions-of-interest images included in the sub-image in the encryption target image is intra-coded and the others are inter-coded. Not limited.

例えば、ITU−T勧告のH.264において規格化されているマルチビュー符号化(Multi View Coding:MVC)を適用してもよい。MVCでは、複数の始点(マルチビュー)で撮影された映像を、ベースビュー(Base View)と、非ベースビュー(Non Base View)として符号化する。ベースビューは非ベースビューから参照される元の画像であり、非ベースビューは、ベースビューの画像を参照画像としてビュー間予測(inter view predition)により符号化される画像である。   For example, ITU-T Recommendation H.264. Multi-view coding (MVC) standardized in H.264 may be applied. In MVC, video captured at a plurality of start points (multi-view) is encoded as a base view (Base View) and a non-base view (Non Base View). The base view is an original image that is referred to from a non-base view, and the non-base view is an image that is encoded by inter-view prediction using the image of the base view as a reference image.

従って、例えば図11に示すように、メイン画像をベースビュー、サブ画像を非ベースビューとする。そして、図7のステップ210において、暗号化対象画像であるP0では、選択関心領域画像52Aは、対応するベースビューの関心領域画像Aを参照画像としてビュー間予測を用いて符号化する。また、関心領域画像B、Cについては、図7のステップ210において、過去のサブ画像の関心領域画像B,Cを参照画像としてインター符号化する。そして、P0のサブ画像は、暗号鍵KeyAにより暗号化する。同様に、暗号化対象画像であるP3では、選択関心領域画像52Bは、対応するベースビューの関心領域画像Bを参照画像としてビュー間予測を用いて符号化する。また、関心領域画像A、Cについては過去のサブ画像の関心領域画像A,Cを参照画像としてインター符号化する。そして、P3のサブ画像は、暗号鍵KeyBにより暗号化する。また、暗号化対象画像であるP6では、選択関心領域画像52Cは、対応するベースビューの関心領域画像Cを参照画像としてビュー間予測を用いて符号化する。また、関心領域画像A、Bについては過去のサブ画像の関心領域画像A,Cを参照画像としてインター符号化する。そして、P6のサブ画像は、暗号鍵KeyCにより暗号化する。   Therefore, for example, as shown in FIG. 11, the main image is a base view and the sub-image is a non-base view. In step 210 of FIG. 7, at P0 that is the encryption target image, the selected region-of-interest image 52A is encoded using inter-view prediction with the region-of-interest image A of the corresponding base view as a reference image. Further, the region-of-interest images B and C are inter-coded in step 210 of FIG. 7 using the region-of-interest images B and C of the past sub-image as reference images. Then, the sub-image of P0 is encrypted with the encryption key KeyA. Similarly, in P3 that is the encryption target image, the selected region-of-interest image 52B is encoded using inter-view prediction with the region-of-interest image B of the corresponding base view as a reference image. The region-of-interest images A and C are inter-coded using the region-of-interest images A and C of the past sub-image as reference images. Then, the sub-image of P3 is encrypted with the encryption key KeyB. In P6, which is an encryption target image, the selected region-of-interest image 52C is encoded using inter-view prediction using the region-of-interest image C of the corresponding base view as a reference image. The region-of-interest images A and B are inter-coded using the region-of-interest images A and C of the past sub-images as reference images. Then, the sub-image of P6 is encrypted with the encryption key KeyC.

このように、選択関心領域画像についてもベースビューの対応する関心領域画像を参照画像としてインター符号化するので、選択関心領域画像をイントラ符号化する場合と比較してサブ画像のデータ量を削減することが可能となる。   As described above, the selected region-of-interest image is also inter-coded using the corresponding region-of-interest image of the base view as a reference image, so that the data amount of the sub-image is reduced compared to the case where the selected region-of-interest image is intra-encoded. It becomes possible.

なお、本実施形態では、動画像符号化装置14及び動画像復号化装置18を含む動画像処理装置10について説明したが、動画像符号化装置14及び動画像復号化装置18が別々の装置に搭載されていてもよい。   In the present embodiment, the moving image processing device 10 including the moving image encoding device 14 and the moving image decoding device 18 has been described. However, the moving image encoding device 14 and the moving image decoding device 18 are separate devices. It may be installed.

また、上記では開示の技術に係る動画像符号化プログラムの一例である動画像符号化プログラム90が記憶部86に予め記憶(インストール)されている態様を説明したが、これに限定されるものではない。開示の技術に係る動画像符号化プログラムは、CD−ROMやDVD−ROM等の記録媒体に記録されている形態で提供することも可能である。また、動画像復号化プログラムについても動画像符号化プログラムと同様に、CD−ROMやDVD−ROM等の記録媒体に記録されている形態で提供することも可能である。   Moreover, although the moving image encoding program 90 which is an example of the moving image encoding program which concerns on the technique of the indication demonstrated above the aspect pre-stored (installed) in the memory | storage part 86, it is not limited to this Absent. The moving image encoding program according to the disclosed technology can be provided in a form recorded on a recording medium such as a CD-ROM or a DVD-ROM. Also, the moving picture decoding program can be provided in a form recorded on a recording medium such as a CD-ROM or a DVD-ROM, similarly to the moving picture encoding program.

本明細書に記載された全ての文献、特許出願及び技術規格は、個々の文献、特許出願及び技術規格が参照により取り込まれることが具体的かつ個々に記された場合と同程度に、本明細書中に参照により取り込まれる。   All documents, patent applications and technical standards mentioned in this specification are to the same extent as if each individual document, patent application and technical standard were specifically and individually stated to be incorporated by reference. Incorporated by reference in the book.

以上の実施形態に関し、更に以下の付記を開示する。   Regarding the above embodiment, the following additional notes are disclosed.

(付記1)
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像において前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、
を含む動画像符号化装置。
(Appendix 1)
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from sequentially input images;
Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method A region-of-interest image encoding unit for encoding with a different third encoding method;
A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. An encryption unit for encrypting with an encryption key;
A video encoding apparatus including:

(付記2)
前記第1の符号化方法は、他のフレーム画像を参照せずに符号化する符号化方法であり、前記第2の符号化方法及び前記第3の符号化方法は、他のフレーム画像を参照して符号化する符号化方法である
付記1記載の動画像符号化装置。
(Appendix 2)
The first encoding method is an encoding method for encoding without referring to other frame images, and the second encoding method and the third encoding method refer to other frame images. The moving image encoding apparatus according to appendix 1, wherein the encoding method is encoded by performing the encoding process.

(付記3)
前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記2記載の動画像符号化装置。
(Appendix 3)
The region-of-interest image encoding unit performs intra encoding on the selected region-of-interest image as the first encoding method, and encodes it as the previous non-encryption target image as the second encoding method. The non-selected region-of-interest image is inter-coded using a frame image as a reference image, and extracted as the third encoding method from the input image input as a non-encryption target image next to the encryption target image. Of the plurality of region-of-interest images, the region-of-interest image corresponding to the selected region-of-interest image is inter-coded as a reference image using a frame image encoded as the encryption target image, and among the plurality of region-of-interest images Regarding the region of interest image corresponding to the non-selected region of interest image, a frame image encoded as a non-encryption target image prior to the encryption target image For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image, The moving image encoding device according to attachment 2, wherein a frame image encoded as the immediately preceding non-encryption target image is inter-encoded as a reference image.

(付記4)
前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記2記載の動画像符号化装置。
(Appendix 4)
The region-of-interest image encoding unit intra-codes the selected region-of-interest image as the first encoding method, and replaces the non-selected region-of-interest image with a dummy image as the second encoding method. As the third encoding method, the selected region-of-interest image is selected from among the plurality of region-of-interest images extracted from the input image input as a non-encryption target image next to the encryption target image. For the corresponding region-of-interest image, the frame image encoded as the encryption target image is inter-coded as a reference image, and the region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images. A frame image encoded as a non-encryption target image before the encryption target image is inter-coded as a reference image, and the encryption target The plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the image were encoded as the immediately preceding non-encryption target image The moving image coding apparatus according to attachment 2, wherein the frame image is inter-coded as a reference image.

(付記5)
前記入力画像に対して予め定めた画像処理を施す画像処理部と、
前記画像処理を施した前記入力画像を符号化する入力画像符号化部と、
を備えた付記1〜付記4の何れか1項に記載の動画像符号化装置。
(Appendix 5)
An image processing unit that performs predetermined image processing on the input image;
An input image encoding unit that encodes the input image subjected to the image processing;
The moving picture encoding device according to any one of supplementary notes 1 to 4, comprising:

(付記6)
前記入力画像に対して予め定めた画像処理を施す画像処理部と、
前記画像処理を施した前記入力画像を符号化する入力画像符号化部と、
を備え、
前記関心領域画像符号化部は、前記第1の符号化方法として、前記入力画像符号化部により符号化されたフレーム画像を参照画像として前記選択関心領域画像をインター符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記1記載の動画像符号化装置。
(Appendix 6)
An image processing unit that performs predetermined image processing on the input image;
An input image encoding unit that encodes the input image subjected to the image processing;
With
The region-of-interest image encoding unit, as the first encoding method, inter-codes the selected region-of-interest image using the frame image encoded by the input image encoding unit as a reference image, and the second code As the encoding method, the non-selected region-of-interest image is inter-coded using the frame image encoded as the immediately preceding non-encryption target image as a reference image, and as the third encoding method, A region of interest image corresponding to the selected region of interest image among the plurality of region of interest images extracted from the input image input as a non-encryption target image of the frame encoded as the encryption target image The image is inter-coded as a reference image, and the region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images is A frame image encoded as a non-encryption target image before the encoding target image is inter-encoded as a reference image, and a non-encryption target image subsequent to the non-encryption target image next to the encryption target image The moving picture encoding apparatus according to claim 1, wherein the plurality of region-of-interest images extracted from the input image that is input is inter-encoded as a reference image using a frame image encoded as the immediately preceding non-encryption target image. .

(付記7)
前記予め定めた画像処理は、前記入力画像を縮小する処理又は前記入力画像に含まれる前記関心領域画像のみをモザイク化する処理である
付記5又は付記6記載の動画像符号化装置。
(Appendix 7)
The moving image encoding apparatus according to appendix 5 or appendix 6, wherein the predetermined image processing is a process of reducing the input image or a process of mosaicing only the region-of-interest image included in the input image.

(付記8)
順次入力される入力画像から複数の関心領域画像を抽出し、
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像において前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する
ことを含む動画像符号化方法。
(Appendix 8)
Extract multiple region-of-interest images from sequentially input images,
Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. A moving image encoding method including encryption with an encryption key.

(付記9)
前記第1の符号化方法は、他のフレーム画像を参照せずに符号化する符号化方法であり、前記第2の符号化方法及び前記第3の符号化方法は、他のフレーム画像を参照して符号化する符号化方法である
付記8記載の動画像符号化方法。
(Appendix 9)
The first encoding method is an encoding method for encoding without referring to other frame images, and the second encoding method and the third encoding method refer to other frame images. The moving picture coding method according to claim 8, wherein the moving picture coding method is a coding method.

(付記10)
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記9記載の動画像符号化方法。
(Appendix 10)
As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the frame image encoded as the previous non-encryption target image is used as the non-selected image as a reference image. The region-of-interest image is inter-coded, and as the third encoding method, among the plurality of region-of-interest images extracted from the input image input as a non-encryption target image next to the encryption target image, Regarding the region of interest image corresponding to the selected region of interest image, the frame image encoded as the encryption target image is inter-coded as a reference image, and corresponds to the non-selected region of interest image among the plurality of region of interest images. Regarding the region-of-interest image, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image, and the previous non-encryption target The moving image encoding method according to appendix 9, wherein a frame image encoded as an image is inter-encoded as a reference image.

(付記11)
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記9記載の動画像符号化方法。
(Appendix 11)
As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the non-selected region-of-interest image is replaced with a dummy image and intra-coded, and the third encoding is performed. As a method, for the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image, A frame image encoded as an encryption target image is inter-coded as a reference image, and a region of interest image corresponding to the non-selected region of interest image among the plurality of region of interest images is preceded by the encryption target image. The frame image encoded as the non-encryption target image is inter-coded as a reference image, and the next non-encryption target image of the encryption target image For the plurality of region-of-interest images extracted from the input image input as the subsequent non-encryption target image, the frame image encoded as the previous non-encryption target image is inter-coded as a reference image. The moving image encoding method according to appendix 9.

(付記12)
前記入力画像に対して予め定めた画像処理を施し、
前記画像処理を施した前記入力画像を符号化する
を備えた付記9〜付記11の何れか1項に記載の動画像符号化方法。
(Appendix 12)
Apply predetermined image processing to the input image,
The moving image encoding method according to any one of appendix 9 to appendix 11, further comprising: encoding the input image subjected to the image processing.

(付記13)
前記入力画像に対して予め定めた画像処理を施し、
前記画像処理を施した前記入力画像を符号化し、
前記第1の符号化方法として、前記入力画像符号化部により符号化されたフレーム画像を参照画像として前記選択関心領域画像をインター符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する
付記8記載の動画像符号化方法。
(Appendix 13)
Apply predetermined image processing to the input image,
Encode the input image subjected to the image processing,
As the first encoding method, the selected region-of-interest image is inter-coded using the frame image encoded by the input image encoding unit as a reference image, and as the second encoding method, the previous non-encryption is performed. The non-selected region-of-interest image is inter-coded using a frame image encoded as an encoding target image as a reference image, and is input as a non-encrypting target image next to the encryption target image as the third encoding method. For the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image, the frame image encoded as the encryption target image is inter-coded as a reference image, Of the plurality of region-of-interest images, the region-of-interest image corresponding to the non-selected region-of-interest image is a non-encrypted image prior to the encryption target image. A frame image encoded as a target image is inter-coded as a reference image, and extracted from the input image input as a non-encryption target image subsequent to the non-encryption target image next to the encryption target image 9. The moving image encoding method according to claim 8, wherein the plurality of region-of-interest images are inter-encoded using a frame image encoded as the immediately preceding non-encryption target image as a reference image.

(付記14)
前記予め定めた画像処理は、前記入力画像を縮小する処理又は前記入力画像に含まれる前記関心領域画像のみをモザイク化する処理である
付記12又は付記13記載の動画像符号化方法。
(Appendix 14)
The moving image encoding method according to Supplementary Note 12 or Supplementary Note 13, wherein the predetermined image processing is processing to reduce the input image or mosaic processing only the region-of-interest image included in the input image.

(付記15)
コンピュータに、
順次入力される入力画像から複数の関心領域画像を抽出し、
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像において前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する
ことを含む処理を実行させるための動画像符号化プログラム。
(Appendix 15)
On the computer,
Extract multiple region-of-interest images from sequentially input images,
Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. A moving image encoding program for executing processing including encryption with an encryption key.

(付記16)
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像において前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含む動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、
前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、
を備えた動画像復号化装置。
(Appendix 16)
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. Of the plurality of region-of-interest image images encoded by the moving image encoding device, and encrypted with the encryption key corresponding to the region-of-interest image instructed to be decoded A decryption unit for decrypting a frame image of the selected region-of-interest image with the encryption key;
A region-of-interest image expansion unit that expands a frame image of the region-of-interest image instructed to be decoded;
A video decoding device comprising:

(付記17)
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含む動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号し、
前記復号を指示された関心領域画像のフレーム画像を伸張する
ことを含む動画像復号化方法。
(Appendix 17)
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. Of the plurality of region-of-interest image images encoded by the moving image encoding device, and encrypted with the encryption key corresponding to the region-of-interest image instructed to be decoded Decrypting the frame image of the selected region-of-interest image with the encryption key;
A moving picture decoding method comprising: expanding a frame image of a region of interest image instructed to be decoded.

(付記18)
コンピュータに、
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含む動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像のフレーム画像を伸張し、
前記復号を指示された関心領域画像に対応した復号鍵により、前記暗号化対象画像として符号化された前記選択関心領域画像のフレーム画像を復号する
ことを含む処理を実行させるための動画像復号化プログラム。
(Appendix 18)
On the computer,
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. A frame image of the region-of-interest image instructed to be decrypted among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device including:
Decoding a frame image of the selected region-of-interest image encoded as the image to be encrypted with a decryption key corresponding to the region-of-interest image instructed to be decoded. program.

(付記19)
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含む動画像符号化装置と、
前記動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、を備えた動画像復号化装置と、
を備えた動画像処理装置。
(Appendix 19)
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. A moving image encoding device including:
The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of regions-of-interest images encoded by the moving image encoding device A video decoding device comprising: a decryption unit that decrypts the image with the encryption key; and a region-of-interest image decompression unit that decompresses a frame image of the region-of-interest image instructed to decrypt,
A moving image processing apparatus.

10 動画像処理装置
12 撮影装置
14 動画像符号化装置
16 記憶装置
18 動画像復号化装置
20 表示装置
30 画像処理部
32 入力画像符号化部
34 関心領域画像抽出部
36 関心領域画像符号化部
38 暗号化部
40 多重化部
60 分離部
62 入力画像伸張部
64 画像処理部
66 復号化部
68 関心領域画像伸張部
70 関心領域画像切出部
72 合成部
80、110 コンピュータ
90 動画像符号化プログラム
120 動画像復号化プログラム
DESCRIPTION OF SYMBOLS 10 Moving image processing device 12 Image capturing device 14 Moving image encoding device 16 Storage device 18 Moving image decoding device 20 Display device 30 Image processing unit 32 Input image encoding unit 34 Region of interest image extraction unit 36 Region of interest image encoding unit 38 Encryption unit 40 Multiplexing unit 60 Separation unit 62 Input image decompression unit 64 Image processing unit 66 Decoding unit 68 Region-of-interest image decompression unit 70 Region-of-interest image cutout unit 72 Composition unit 80, 110 Computer 90 Video encoding program 120 Video decoding program

Claims (16)

順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、
を含む動画像符号化装置であって、
前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置。
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from sequentially input images;
Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method A region-of-interest image encoding unit for encoding with a different third encoding method;
A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. An encryption unit for encrypting with an encryption key;
A video encoding device including :
The region-of-interest image encoding unit performs intra encoding on the selected region-of-interest image as the first encoding method, and encodes it as the previous non-encryption target image as the second encoding method. The non-selected region-of-interest image is inter-coded using a frame image as a reference image, and extracted as the third encoding method from the input image input as a non-encryption target image next to the encryption target image. Of the plurality of region-of-interest images, the region-of-interest image corresponding to the selected region-of-interest image is inter-coded as a reference image using a frame image encoded as the encryption target image, and among the plurality of region-of-interest images Regarding the region of interest image corresponding to the non-selected region of interest image, a frame image encoded as a non-encryption target image prior to the encryption target image For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image, A moving image encoding apparatus that inter-encodes a frame image encoded as a preceding non-encryption target image as a reference image.
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、
を含む動画像符号化装置であって、
前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置
A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from sequentially input images;
Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method A region-of-interest image encoding unit for encoding with a different third encoding method;
A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. An encryption unit for encrypting with an encryption key;
A video encoding device including:
The region-of-interest image encoding unit intra-codes the selected region-of-interest image as the first encoding method, and replaces the non-selected region-of-interest image with a dummy image as the second encoding method. As the third encoding method, the selected region-of-interest image is selected from among the plurality of region-of-interest images extracted from the input image input as a non-encryption target image next to the encryption target image. For the corresponding region-of-interest image, the frame image encoded as the encryption target image is inter-coded as a reference image, and the region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images. A frame image encoded as a non-encryption target image before the encryption target image is inter-coded as a reference image, and the encryption target The plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the image were encoded as the immediately preceding non-encryption target image A moving image coding apparatus that inter-codes a frame image as a reference image .
前記入力画像に対して予め定めた画像処理を施す画像処理部と、An image processing unit that performs predetermined image processing on the input image;
前記画像処理を施した前記入力画像を符号化する入力画像符号化部と、An input image encoding unit that encodes the input image subjected to the image processing;
を備えた請求項1又は請求項2記載の動画像符号化装置。The moving picture coding apparatus according to claim 1 or 2, further comprising:
前記予め定めた画像処理は、前記入力画像を縮小する処理又は前記入力画像に含まれる前記関心領域画像のみをモザイク化する処理であるThe predetermined image processing is processing for reducing the input image or processing for mosaicing only the region of interest image included in the input image.
請求項3記載の動画像符号化装置。The moving image encoding apparatus according to claim 3.
コンピュータが、Computer
順次入力される入力画像から複数の関心領域画像を抽出し、Extract multiple region-of-interest images from sequentially input images,
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化するA frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. Encrypt with encryption key
ことを含む処理を行う動画像符号化方法であって、A moving image encoding method for performing processing including:
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化方法。As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the frame image encoded as the previous non-encryption target image is used as the non-selected image as a reference image. The region-of-interest image is inter-coded, and as the third encoding method, among the plurality of region-of-interest images extracted from the input image input as a non-encryption target image next to the encryption target image, Regarding the region of interest image corresponding to the selected region of interest image, the frame image encoded as the encryption target image is inter-coded as a reference image, and corresponds to the non-selected region of interest image among the plurality of region of interest images. Regarding the region-of-interest image, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image, and the previous non-encryption target A moving image encoding method in which a frame image encoded as an image is inter-encoded as a reference image.
コンピュータが、Computer
順次入力される入力画像から複数の関心領域画像を抽出し、Extract multiple region-of-interest images from sequentially input images,
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化するA frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. Encrypt with encryption key
ことを含む処理を行う動画像符号化方法であって、A moving image encoding method for performing processing including:
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化方法。As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the non-selected region-of-interest image is replaced with a dummy image and intra-coded, and the third encoding is performed. As a method, for the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image, A frame image encoded as an encryption target image is inter-coded as a reference image, and a region of interest image corresponding to the non-selected region of interest image among the plurality of region of interest images is preceded by the encryption target image. The frame image encoded as the non-encryption target image is inter-coded as a reference image, and the next non-encryption target image of the encryption target image For the plurality of region-of-interest images extracted from the input image input as the subsequent non-encryption target image, the frame image encoded as the previous non-encryption target image is inter-coded as a reference image. Video encoding method.
コンピュータに、On the computer,
順次入力される入力画像から複数の関心領域画像を抽出し、Extract multiple region-of-interest images from sequentially input images,
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化するA frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. Encrypt with encryption key
ことを含む処理を実行させるための動画像符号化プログラムであって、A moving image encoding program for executing processing including:
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化プログラム。As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the frame image encoded as the previous non-encryption target image is used as the non-selected image as a reference image. The region-of-interest image is inter-coded, and as the third encoding method, among the plurality of region-of-interest images extracted from the input image input as a non-encryption target image next to the encryption target image, Regarding the region of interest image corresponding to the selected region of interest image, the frame image encoded as the encryption target image is inter-coded as a reference image, and corresponds to the non-selected region of interest image among the plurality of region of interest images. Regarding the region-of-interest image, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image, and the previous non-encryption target A moving image encoding program for inter-encoding a frame image encoded as an image as a reference image.
コンピュータに、On the computer,
順次入力される入力画像から複数の関心領域画像を抽出し、Extract multiple region-of-interest images from sequentially input images,
暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化し、Regarding the plurality of region-of-interest images extracted from the input image input as the encryption target image, a region-of-interest image different from the region-of-interest image selected from the plurality of region-of-interest images in the previous encryption target image is used. The selected region of interest image is selected and encoded by the first encoding method, and the non-selected region of interest image other than the selected region of interest image is encoded by a second encoding method different from the first encoding method. For the plurality of region-of-interest images extracted from the input image input as a non-encryption target image other than the encryption target image, the first encoding method and the second encoding method Encoding with a different third encoding method,
個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化するA frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as each of the encryption target images corresponds to the selected region-of-interest image in each of the encryption target images. Encrypt with encryption key
ことを含む処理を実行させるための動画像符号化プログラムであって、A moving image encoding program for executing processing including:
前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化プログラム。As the first encoding method, the selected region-of-interest image is intra-coded, and as the second encoding method, the non-selected region-of-interest image is replaced with a dummy image and intra-coded, and the third encoding is performed. As a method, for the region-of-interest image corresponding to the selected region-of-interest image among the plurality of region-of-interest images extracted from the input image input as the next non-encryption target image of the encryption target image, A frame image encoded as an encryption target image is inter-coded as a reference image, and a region of interest image corresponding to the non-selected region of interest image among the plurality of region of interest images is preceded by the encryption target image. The frame image encoded as the non-encryption target image is inter-coded as a reference image, and the next non-encryption target image of the encryption target image For the plurality of region-of-interest images extracted from the input image input as the subsequent non-encryption target image, the frame image encoded as the previous non-encryption target image is inter-coded as a reference image. A video encoding program.
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. The region-of-interest image encoding unit, as the first encoding method, intra-codes the selected region-of-interest image, and as the second encoding method, The non-selected region-of-interest image is inter-coded using a frame image encoded as a non-encryption target image as a reference image, and as the third encoding method, as a non-encryption target image next to the encryption target image Of the plurality of region-of-interest images extracted from the input image, the region-of-interest image corresponding to the selected region-of-interest image is designated as the encryption target image. The encoded frame image is inter-coded as a reference image, and a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images is used as a non-encryption target image before the encryption target image. The encoded frame image is inter-coded as a reference image, and the plurality of images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image For the region-of-interest image, among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the previous non-encryption target image as a reference image, The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decrypted is decrypted with the encryption key. A decryption unit to
前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、A region-of-interest image expansion unit that expands a frame image of the region-of-interest image instructed to be decoded;
を備えた動画像復号化装置。A video decoding device comprising:
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. And the region-of-interest image encoding unit performs intra-coding of the selected region-of-interest image as the first encoding method and the non-selection as the second encoding method. The region-of-interest image is replaced with a dummy image and intra-encoded, and as the third encoding method, the plurality of interests extracted from the input image input as a non-encryption target image next to the encryption target image Of the region images, the region of interest image corresponding to the selected region of interest image is inter-coded using the frame image encoded as the encryption target image as a reference image. For a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images encoded and extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image Corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the target image as a reference image A decryption unit for decrypting the frame image of the selected region-of-interest image encrypted with the encryption key with the encryption key;
前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、A region-of-interest image expansion unit that expands a frame image of the region-of-interest image instructed to be decoded;
を備えた動画像復号化装置。A video decoding device comprising:
コンピュータが、Computer
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号し、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. The region-of-interest image encoding unit, as the first encoding method, intra-codes the selected region-of-interest image, and as the second encoding method, The non-selected region-of-interest image is inter-coded using a frame image encoded as a non-encryption target image as a reference image, and as the third encoding method, as a non-encryption target image next to the encryption target image Of the plurality of region-of-interest images extracted from the input image, the region-of-interest image corresponding to the selected region-of-interest image is designated as the encryption target image. The encoded frame image is inter-coded as a reference image, and a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images is used as a non-encryption target image before the encryption target image. The encoded frame image is inter-coded as a reference image, and the plurality of images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image For the region-of-interest image, among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the previous non-encryption target image as a reference image, The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decrypted is decrypted with the encryption key. And
前記復号を指示された関心領域画像のフレーム画像を伸張するThe frame image of the region-of-interest image instructed for decoding is expanded.
ことを含む処理を行う動画像復号化方法。A video decoding method for performing processing including the above.
コンピュータが、Computer
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号し、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. And the region-of-interest image encoding unit performs intra-coding of the selected region-of-interest image as the first encoding method and the non-selection as the second encoding method. The region-of-interest image is replaced with a dummy image and intra-encoded, and as the third encoding method, the plurality of interests extracted from the input image input as a non-encryption target image next to the encryption target image Of the region images, the region of interest image corresponding to the selected region of interest image is inter-coded using the frame image encoded as the encryption target image as a reference image. For a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images encoded and extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image Corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the target image as a reference image Decrypting the frame image of the selected region-of-interest image encrypted with the encryption key with the encryption key;
前記復号を指示された関心領域画像のフレーム画像を伸張するThe frame image of the region-of-interest image instructed for decoding is expanded.
ことを含む処理を行う動画像復号化方法。A video decoding method for performing processing including the above.
コンピュータに、On the computer,
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号し、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. The region-of-interest image encoding unit, as the first encoding method, intra-codes the selected region-of-interest image, and as the second encoding method, The non-selected region-of-interest image is inter-coded using a frame image encoded as a non-encryption target image as a reference image, and as the third encoding method, as a non-encryption target image next to the encryption target image Of the plurality of region-of-interest images extracted from the input image, the region-of-interest image corresponding to the selected region-of-interest image is designated as the encryption target image. The encoded frame image is inter-coded as a reference image, and a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images is used as a non-encryption target image before the encryption target image. The encoded frame image is inter-coded as a reference image, and the plurality of images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image For the region-of-interest image, among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the previous non-encryption target image as a reference image, The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decrypted is decrypted with the encryption key. And
前記復号を指示された関心領域画像のフレーム画像を伸張するThe frame image of the region-of-interest image instructed for decoding is expanded.
ことを含む処理を実行させるための動画像復号化プログラム。A moving picture decoding program for executing processing including the above.
コンピュータに、On the computer,
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号し、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. And the region-of-interest image encoding unit performs intra-coding of the selected region-of-interest image as the first encoding method and the non-selection as the second encoding method. The region-of-interest image is replaced with a dummy image and intra-encoded, and as the third encoding method, the plurality of interests extracted from the input image input as a non-encryption target image next to the encryption target image Of the region images, the region of interest image corresponding to the selected region of interest image is inter-coded using the frame image encoded as the encryption target image as a reference image. For a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images encoded and extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image Corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of region-of-interest images encoded by the moving image encoding device that inter-encodes the frame image encoded as the target image as a reference image Decrypting the frame image of the selected region-of-interest image encrypted with the encryption key with the encryption key;
前記復号を指示された関心領域画像のフレーム画像を伸張するThe frame image of the region-of-interest image instructed for decoding is expanded.
ことを含む処理を実行させるための動画像復号化プログラム。A moving picture decoding program for executing processing including the above.
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、 前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、直前の前記非暗号化対象画像として符号化されたフレーム画像を参照画像として前記非選択関心領域画像をインター符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置と、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. The region-of-interest image encoding unit, as the first encoding method, intra-codes the selected region-of-interest image, and as the second encoding method, The non-selected region-of-interest image is inter-coded using a frame image encoded as a non-encryption target image as a reference image, and as the third encoding method, as a non-encryption target image next to the encryption target image Of the plurality of region-of-interest images extracted from the input image, the region-of-interest image corresponding to the selected region-of-interest image is designated as the encryption target image. The encoded frame image is inter-coded as a reference image, and the region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of regions-of-interest images is a non-encryption target image before the encryption target image. The plurality of images extracted from the input image input as a non-encryption target image subsequent to the next non-encryption target image of the encryption target image. For the region-of-interest image, a video encoding device that inter-encodes a frame image encoded as the immediately preceding non-encryption target image as a reference image;
前記動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、を備えた動画像復号化装置と、The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of regions-of-interest images encoded by the moving image encoding device A video decoding device comprising: a decryption unit that decrypts the image with the encryption key; and a region-of-interest image decompression unit that decompresses a frame image of the region-of-interest image instructed to decrypt,
を備えた動画像処理装置。A moving image processing apparatus.
順次入力される入力画像から複数の関心領域画像を抽出する関心領域画像抽出部と、暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前回の前記暗号化対象画像における前記複数の関心領域画像から選択した関心領域画像と異なる関心領域画像を選択関心領域画像として選択して第1の符号化方法で符号化すると共に、前記選択関心領域画像以外の非選択関心領域画像を前記第1の符号化方法と異なる第2の符号化方法で符号化し、前記暗号化対象画像以外の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、前記第1の符号化方法及び前記第2の符号化方法と異なる第3の符号化方法で符号化する関心領域画像符号化部と、個々の前記暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像の各々を符号化したフレーム画像を、個々の前記暗号化対象画像における前記選択関心領域画像に対応した暗号鍵で暗号化する暗号化部と、を含み、前記関心領域画像符号化部は、前記第1の符号化方法として、前記選択関心領域画像をイントラ符号化し、前記第2の符号化方法として、前記非選択関心領域画像をダミー画像に置き換えてイントラ符号化し、前記第3の符号化方法として、前記暗号化対象画像の次の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像のうち前記選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記複数の関心領域画像のうち前記非選択関心領域画像に対応する関心領域画像については、前記暗号化対象画像より前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化し、前記暗号化対象画像の次の非暗号化対象画像よりも後の非暗号化対象画像として入力された前記入力画像から抽出された前記複数の関心領域画像については、直前の非暗号化対象画像として符号化されたフレーム画像を参照画像としてインター符号化する動画像符号化装置と、A region-of-interest image extraction unit that extracts a plurality of region-of-interest images from input images that are sequentially input, and the plurality of region-of-interest images extracted from the input image that is input as an encryption target image A region-of-interest image that is different from the region-of-interest image selected from the plurality of region-of-interest images in the image to be converted is selected as the selected region-of-interest image and encoded by the first encoding method. The selected region-of-interest image is encoded by a second encoding method different from the first encoding method, and the plurality of extracted images are extracted from the input image input as a non-encryption target image other than the encryption target image. The region-of-interest image is encoded by a region-of-interest image encoding unit that performs encoding using a third encoding method different from the first encoding method and the second encoding method. A frame image obtained by encoding each of the plurality of region-of-interest images extracted from the input image input as an encryption target image is encrypted with an encryption key corresponding to the selected region-of-interest image in each of the encryption target images. And the region-of-interest image encoding unit performs intra-coding of the selected region-of-interest image as the first encoding method and the non-selection as the second encoding method. The region-of-interest image is replaced with a dummy image and intra-encoded, and as the third encoding method, the plurality of interests extracted from the input image input as a non-encryption target image next to the encryption target image Of the region images, the region of interest image corresponding to the selected region of interest image is inter-coded using the frame image encoded as the encryption target image as a reference image. For a region-of-interest image corresponding to the non-selected region-of-interest image among the plurality of region-of-interest images, a frame image encoded as a non-encryption target image before the encryption target image is used as a reference image. The plurality of region-of-interest images encoded and extracted from the input image input as a non-encryption target image after the next non-encryption target image of the encryption target image A video encoding device that inter-codes a frame image encoded as a target image as a reference image;
前記動画像符号化装置により符号化された前記複数の関心領域画像のフレーム画像のうち、復号を指示された関心領域画像に対応した前記暗号鍵で暗号化された前記選択関心領域画像のフレーム画像を、前記暗号鍵で復号する復号化部と、前記復号を指示された関心領域画像のフレーム画像を伸張する関心領域画像伸張部と、を備えた動画像復号化装置と、The frame image of the selected region-of-interest image encrypted with the encryption key corresponding to the region-of-interest image instructed to be decoded among the frame images of the plurality of regions-of-interest images encoded by the moving image encoding device A video decoding device comprising: a decryption unit that decrypts the image with the encryption key; and a region-of-interest image decompression unit that decompresses a frame image of the region-of-interest image instructed to decrypt,
を備えた動画像処理装置。A moving image processing apparatus.
JP2012203146A 2012-09-14 2012-09-14 Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus Expired - Fee Related JP5958219B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012203146A JP5958219B2 (en) 2012-09-14 2012-09-14 Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012203146A JP5958219B2 (en) 2012-09-14 2012-09-14 Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus

Publications (2)

Publication Number Publication Date
JP2014060512A JP2014060512A (en) 2014-04-03
JP5958219B2 true JP5958219B2 (en) 2016-07-27

Family

ID=50616626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012203146A Expired - Fee Related JP5958219B2 (en) 2012-09-14 2012-09-14 Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus

Country Status (1)

Country Link
JP (1) JP5958219B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850515A (en) * 2015-12-07 2017-06-13 中国移动通信集团公司 A kind of data processing method and video acquisition device, decoding apparatus
FR3054945B1 (en) * 2016-08-05 2019-09-06 Viaccess METHOD FOR READING AND GENERATING A VIDEO STREAM CONTAINING COMPRESSED AND FIGURE IMAGES
EP3563570A4 (en) * 2016-12-29 2020-09-23 Sony Interactive Entertainment Inc. Foveated video link for vr, low latency wireless hmd video streaming with gaze tracking
CN109495670B (en) * 2018-10-24 2020-10-23 中山大学 Format-compatible encryption and decryption method for color JPEG image
JP7186823B2 (en) * 2021-04-27 2022-12-09 高千穂交易株式会社 Information processing system, information processing device, control method and program for information processing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211164A (en) * 2000-01-27 2001-08-03 Victor Co Of Japan Ltd Image encoding system
JP2003069556A (en) * 2001-08-28 2003-03-07 Nippon Telegr & Teleph Corp <Ntt> Encryption method and distribution method for mpeg 2 data as well as storage medium
JP2005229188A (en) * 2004-02-10 2005-08-25 Matsushita Electric Ind Co Ltd Video communication apparatus and video communication method
JP4825449B2 (en) * 2005-05-13 2011-11-30 パナソニック株式会社 Video distribution system
JP5588833B2 (en) * 2010-11-10 2014-09-10 富士フイルム株式会社 Image compression apparatus, image expansion apparatus, method, and program

Also Published As

Publication number Publication date
JP2014060512A (en) 2014-04-03

Similar Documents

Publication Publication Date Title
JP5958219B2 (en) Moving picture coding apparatus, moving picture coding method, moving picture coding program, moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, and moving picture processing apparatus
JP5088161B2 (en) Image processing apparatus, camera apparatus, communication system, image processing method, and program
US9235914B2 (en) Image editing apparatus
CN111355964B (en) Method, apparatus, camera and medium for encoding a sequence of image frames
JP4270230B2 (en) Imaging apparatus and method, image processing apparatus and method, and program
KR101460552B1 (en) Masking and Recovering Method of Privacy Region
JP4825449B2 (en) Video distribution system
EP3301937A1 (en) Communication system
US7848416B2 (en) Video signal encoding apparatus and video data encoding method
US8971532B1 (en) System and methods for protecting video content
JP6460783B2 (en) Image processing apparatus and control method thereof
JP2012114654A (en) Monitoring camera, storage device, and method for detecting tampering of monitoring image
JP2010068421A (en) Digital watermark apparatus and digital watermark method
TWI586176B (en) Method and system for video synopsis from compressed video images
CN116437019A (en) Ciphertext domain reversible information hiding method of all-0 row and all-0 column codes
JP2010147749A (en) Moving image distribution module, moving-image receiving module, and moving-image transmission system
JP2010028635A (en) Onboard video recording apparatus
WO2020223858A1 (en) Privacy protection method for transmitting end and receiving end, electronic device and computer readable storage medium
JP5621014B2 (en) Video playback device, video processing device, video playback method, video processing method, video playback program, and video processing program
CN110544199A (en) Image processing method and device, storage medium and electronic equipment
US20120013756A1 (en) Image capture apparatus, computer-readable recording medium, and control method
JP4332076B2 (en) Image recording apparatus and image reproducing apparatus
JP5497974B2 (en) Video processing apparatus, video processing method, and video processing program
JP2004080094A (en) Information-processing apparatus, information-processing method and program, and computer-readable recording medium
JP2001045265A (en) Image signal processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160419

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160524

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160606

R150 Certificate of patent or registration of utility model

Ref document number: 5958219

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees