JP4241562B2 - Image compression device - Google Patents

Image compression device Download PDF

Info

Publication number
JP4241562B2
JP4241562B2 JP2004283423A JP2004283423A JP4241562B2 JP 4241562 B2 JP4241562 B2 JP 4241562B2 JP 2004283423 A JP2004283423 A JP 2004283423A JP 2004283423 A JP2004283423 A JP 2004283423A JP 4241562 B2 JP4241562 B2 JP 4241562B2
Authority
JP
Japan
Prior art keywords
image
roi
area
partial
movement history
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
JP2004283423A
Other languages
Japanese (ja)
Other versions
JP2006101075A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004283423A priority Critical patent/JP4241562B2/en
Priority to US11/227,173 priority patent/US7542613B2/en
Publication of JP2006101075A publication Critical patent/JP2006101075A/en
Application granted granted Critical
Publication of JP4241562B2 publication Critical patent/JP4241562B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、画像圧縮装置に関し、特にたとえば監視カメラシステムに適用され、撮影された被写界像を形成する複数の部分画像を複数の圧縮率でそれぞれ圧縮する、画像圧縮装置に関する。   The present invention relates to an image compression apparatus, and more particularly to an image compression apparatus that is applied to, for example, a surveillance camera system and compresses a plurality of partial images forming a captured scene image at a plurality of compression rates.

従来のこの種の画像圧縮装置の一例が、特許文献1に開示されている。この従来技術は、JPEG2000のROI(Region Of Interest)機能を利用して、画面中に設定されたROI領域の画像を、他の領域の画像よりも高画質の画像となるように圧縮しようとするものである。この結果、ROI領域の画像を高画質に維持しつつ、画面全体のデータ量を大幅に削減することができる。
特開2004−72655号公報[H04N 1/41、G06T 1/00、G06T 7/00、H04N 1/393、H04N 5/232]
An example of a conventional image compression apparatus of this type is disclosed in Patent Document 1. This prior art uses JPEG2000's ROI (Region Of Interest) function to compress an image in the ROI area set in the screen so that the image has a higher image quality than images in other areas. Is. As a result, the data amount of the entire screen can be greatly reduced while maintaining the image in the ROI area with high image quality.
JP 2004-72655 A [H04N 1/41; G06T 1/00; G06T 7/00; H04N 1/393; H04N 5/232]

しかし、従来技術では、動きのある被写体を含む領域の画像を高画質となるようにROI領域を設定して圧縮する場合、被写体の動きが止まると、被写体を含む領域は静止領域となり、ROI領域ではなくなる。この結果、被写体を含む領域の画像は低画質の画像となるように圧縮されてしまうので、被写体を鮮明な画像で記録することができないという問題がある。   However, in the conventional technique, when an ROI area is set and compressed so that an image of an area including a moving subject has high image quality, when the movement of the subject stops, the area including the subject becomes a static area, and the ROI area Is not. As a result, since the image of the area including the subject is compressed so as to be a low-quality image, there is a problem that the subject cannot be recorded as a clear image.

それゆえに、この発明の主たる目的は、監視機能を向上させることができる、画像圧縮装置を提供することである。   Therefore, a main object of the present invention is to provide an image compression apparatus capable of improving the monitoring function.

請求項1の発明は、被写界像を形成する複数の部分画像のうち動的被写体の被写体像を含む第1部分画像を第1圧縮率で圧縮し、複数の部分画像のうち第1部分画像と異なる第2部分画像を第1圧縮率よりも高い第2圧縮率で圧縮する画像圧縮装置において、動的被写体の移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって第1部分画像の位置およびサイズの少なくとも一方を当該第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域を含むように変更する変更手段を備えることを特徴とする、画像圧縮装置である。 According to the first aspect of the present invention, the first partial image including the subject image of the dynamic subject is compressed at the first compression rate among the plurality of partial images forming the object scene image, and the first portion of the plurality of partial images is compressed. In the image compression apparatus that compresses a second partial image different from an image at a second compression rate higher than the first compression rate, a plurality of first partial image regions forming a movement history based on the movement history of the dynamic subject And changing means for changing at least one of the position and the size of the first partial image so that the region of the first partial image includes a plurality of first partial image regions forming a movement history. An image compression apparatus is characterized.

請求項1の発明では、撮影された被写界像は、複数の部分画像によって形成される。数の部分画像のうち動的被写体の被写体像を含む第1部分画像について第1圧縮率で圧縮され、複数の部分画像のうち第1部分画像と異なる第2部分画像について第1圧縮率よりも高い第2圧縮率で圧縮される。こうして圧縮された被写界像を伸長したとき、第1部分画像は、第2部分画像よりも高画質となる。 According to the first aspect of the present invention, the photographed scene image is formed by a plurality of partial images. For the first partial image including an object image dynamic object among multiple partial images are compressed in the first compression ratio, the first compression the second partial image that is different from the first partial image among the multiple partial images The second compression rate is higher than the compression rate . When the compressed scene image is expanded, the first partial image has higher image quality than the second partial image.

ここで、変更手段は、第1部分画像の位置およびサイズの少なくとも一方を動的被写体の移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって、当該第1部分画像の領域が第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域を含むように、変更する。移動履歴に基づくことで、動的被写体の移動範囲を第1部分画像の領域に含めることができる。これによって、監視機能を向上させることができる。 Here, the changing means combines at least one of the position and the size of the first partial image based on the movement history of the dynamic subject, by combining the regions of the plurality of first partial images forming the movement history . The region of the one partial image is changed so that the region of the first partial image includes a plurality of regions of the first partial image forming the movement history . Based on the movement history, the moving range of the dynamic subject can be included in the region of the first partial image. Thereby, the monitoring function can be improved.

請求項2の発明は、請求項1に従属し、被写界像の輝度変化に基づいて動的被写体を検出する検出手段、および検出手段の検出結果に基づいて移動履歴を作成する作成手段をさらに備える、画像圧縮装置である。   The invention of claim 2 is dependent on claim 1, and includes detection means for detecting a dynamic subject based on a change in luminance of the object scene image, and creation means for creating a movement history based on the detection result of the detection means. An image compression apparatus further provided.

請求項2の発明では、検出手段は、被写界像の輝度変化に基づいて動的被写体を検出する。作成手段は、検出手段の検出結果に基づいて動的被写体の移動履歴を作成する。この場合、作成された動的被写体の移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって、第1部分画像の位置および画像サイズの少なくとも一方を、当該第1部分画像の領域が第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域を含むように、変更することができる。 In the invention of claim 2, the detecting means detects a dynamic subject based on a change in luminance of the object scene image. The creation means creates a movement history of the dynamic subject based on the detection result of the detection means. In this case, based on the movement history of the dynamic object that is created by combining a region of the plurality of first partial images forming the moving history, at least one of the position and the image size of the first partial image, the The area of the first partial image can be changed so that the area of the first partial image includes a plurality of areas of the first partial image forming the movement history .

請求項3の発明は、請求項2に従属し、検出手段は第1時間ごとに動的被写体を検出し、
作成手段は第1時間よりも長い第2時間ごとに移動履歴を作成する、画像圧縮装置である。
The invention of claim 3 is dependent on claim 2, and the detecting means detects a dynamic subject every first time,
The creating means is an image compression device that creates a movement history every second time longer than the first time.

請求項3の発明では、検出手段は第1時間ごとに動的被写体を検出する。検出手段の検出結果に基づいて移動履歴を作成する作成手段は、第1時間よりも長い第2時間ごとに移動履歴を作成する。そして、作成された移動履歴に基づき、第1部分画像の位置および画像サイズの少なくとも一方を変更する。この場合、被写体が第2時間よりも短い時間だけ動きを停止しても、作成手段は、停止時間を除く第2時間の動的被写体の動きに基づいて移動履歴を作成するので、第1部分画像の位置および画像サイズを変更することができる。   In the invention of claim 3, the detecting means detects the dynamic subject every first time. The creation means for creating the movement history based on the detection result of the detection means creates the movement history every second time longer than the first time. Then, based on the created movement history, at least one of the position and the image size of the first partial image is changed. In this case, even if the subject stops moving for a time shorter than the second time, the creating means creates the movement history based on the motion of the dynamic subject during the second time excluding the stop time. The position of the image and the image size can be changed.

請求項4の発明は、請求項3に従属し、変更手段は第2時間よりも長い第3時間に相当する移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって第1部分画像の位置および画像サイズの少なくとも一方を当該第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域を含むように変更する。 The invention of claim 4 is dependent on claim 3, and the changing means synthesizes the regions of the plurality of first partial images forming the movement history based on the movement history corresponding to the third time longer than the second time. Thus, at least one of the position and the image size of the first partial image is changed so that the region of the first partial image includes a plurality of first partial image regions forming a movement history .

請求項4の発明では、変更手段は、第2時間よりも長い第3時間に相当する移動履歴に基づいて第1部分画像の位置および画像サイズの少なくとも一方を変更する。この場合、第2時間より長い第3時間に相当する移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって、第1部分画像の位置およびサイズの少なくとも一方を変更するので、第1部分画像に含まれる動的被写体の移動範囲を大きくすることができる。 According to a fourth aspect of the present invention, the changing means changes at least one of the position and the image size of the first partial image based on a movement history corresponding to a third time longer than the second time . In this case, based on the movement history corresponding to the third time longer than the second time, by combining the areas of the plurality of first partial images forming the movement history, at least one of the position and size of the first partial image Therefore, the moving range of the dynamic subject included in the first partial image can be increased.

請求項5の発明は、請求項1ないし4のいずれかに従属し、移動履歴に基づいて動的被写体の移動先である移動先部分画像を予測する予測手段をさらに備え、変更手段は移動履歴と予測手段の予測結果とに基づいて、移動履歴を形成する複数の第1部分画像の領域および移動先部分画像の領域を合成することによって第1部分画像の位置および画像サイズの少なくとも一方を当該第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域および移動先部分画像の領域を含むように変更する、画像圧縮装置である。 The invention according to claim 5 is dependent on any one of claims 1 to 4, and further comprises prediction means for predicting a movement destination partial image that is a movement destination of the dynamic subject based on the movement history, and the changing means is the movement history. and based on the prediction result of the prediction means, at least one said position and the image size of the first partial image by combining the region and the region of the destination partial images of the plurality of first partial images forming the moving history The image compression apparatus changes the area of the first partial image so as to include a plurality of areas of the first partial image and an area of the movement destination partial image that form a movement history .

請求項5の発明では、予測手段は、移動履歴に基づいて動的被写体の移動先である移動先部分画像を予測する。そして、予測された動的被写体の移動履歴を含む移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域および移動先部分画像の領域を合成することによって第1部分画像の位置およびサイズの少なくとも一方を、当該第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域および移動先部分画像の領域を含むように変更する。この場合、移動履歴に基づいて動的被写体の将来の移動先を含むように第1部分画像の位置および画像サイズの少なくとも一方を変更するので、将来の動的被写体の動きを予測した移動範囲とすることができる。 According to the invention of claim 5, the predicting means predicts a movement destination partial image that is a movement destination of the dynamic subject based on the movement history. Then, based on the movement history including movement history of the predicted dynamic object, the position of the first partial image by combining the region and the region of the destination partial images of the plurality of first partial images forming the moving history And at least one of the sizes is changed so that the region of the first partial image includes a plurality of regions of the first partial image and a region of the destination partial image that form a movement history . In this case, since at least one of the position and the image size of the first partial image is changed so as to include the future movement destination of the dynamic subject based on the movement history, the movement range in which the movement of the future dynamic subject is predicted, can do.

請求項6の発明は、被写界像を形成する複数の部分画像のうち動的被写体の被写体像を含む第1部分画像を第1圧縮率で圧縮し、複数の部分画像のうち第1部分画像と異なる第2部分画像を第1圧縮率よりも高い第2圧縮率で圧縮する画像圧縮装置のプロセッサに、動的被写体の移動履歴に基づいて、移動履歴を形成する複数の第1部分画像の領域を合成することによって第1部分画像の位置およびサイズの少なくとも一方を当該第1部分画像の領域が移動履歴を形成する複数の第1部分画像の領域を含むように変更する変更ステップを実行させることを特徴とする、画像圧縮プログラムである。 The invention according to claim 6 compresses the first partial image including the subject image of the dynamic subject among the plurality of partial images forming the object scene image at the first compression rate, and the first portion of the plurality of partial images. A plurality of first partial images forming a movement history based on a movement history of a dynamic subject in a processor of an image compression apparatus that compresses a second partial image different from the image at a second compression rate higher than the first compression rate executing the changing step of changing the position of the first partial image by combining the area and size of the at least one so as to include a region of the plurality of first partial image region of the first partial image to form a movement history It is an image compression program characterized by making it carry out.

請求項6の発明では、請求項1の発明と同様の動作で同様の効果が期待できる。 In the invention of claim 6, the same effect can be expected by the same operation as that of the invention of claim 1.

この発明によれば、第1部分画像の位置および画像サイズの少なくとも一方を動的被写体の移動履歴に基づいて変更し、動的被写体の移動範囲を第1部分画像に含めることができるので、監視機能を向上させることができる。   According to the present invention, at least one of the position and the image size of the first partial image can be changed based on the movement history of the dynamic subject, and the moving range of the dynamic subject can be included in the first partial image. Function can be improved.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この発明の第1実施例である監視カメラシステム10は、監視カメラ12、ハードディスクレコーダ14およびモニタ42を含む。監視カメラシステム10は、監視カメラ12によって撮影された被写体の画像を圧縮してハードディスクレコーダ14に記録したり、記録された圧縮画像を伸長してモニタ42に再生したりすることができる。   Referring to FIG. 1, surveillance camera system 10 according to the first embodiment of the present invention includes surveillance camera 12, hard disk recorder 14, and monitor 42. The surveillance camera system 10 can compress an image of a subject photographed by the surveillance camera 12 and record it on the hard disk recorder 14, or decompress the recorded compressed image and reproduce it on the monitor 42.

監視カメラ12は、被写体に動きがないかどうかを監視するため、1フィールド期間ごとに被写体の画像をアナログ信号としてハードディスクレコーダ14に与える。   The surveillance camera 12 provides the hard disk recorder 14 with an image of the subject as an analog signal every field period in order to monitor whether or not the subject is moving.

ハードディスクレコーダ14は、D−I/F16、CPU20、JPEG2000コーデック28、メモリ制御回路24、HDD−I/F30、フラッシュメモリ36、ビデオ出力回路38および時計40がバス22を介して互いに接続されている。動き検出回路18はD−I/F16とCPU20に、ハードディスク34を内蔵するHDD32はHDD−I/F30に、SDRAM26はメモリ制御回路24にそれぞれ接続されている。   In the hard disk recorder 14, a DI / F 16, a CPU 20, a JPEG2000 codec 28, a memory control circuit 24, an HDD-I / F 30, a flash memory 36, a video output circuit 38, and a clock 40 are connected to each other via a bus 22. . The motion detection circuit 18 is connected to the D-I / F 16 and the CPU 20, the HDD 32 containing the hard disk 34 is connected to the HDD-I / F 30, and the SDRAM 26 is connected to the memory control circuit 24.

CPU20は、監視カメラ12から所定間隔で与えられる被写体のアナログ信号の取り込みをD−I/F16に対して命令する。D−I/F16は、取り込んだアナログ信号を、まずD−I/F16の内部にあるビデオデコーダ(図示しない)によって、輝度信号であるY信号と色差信号であるU(R−Y)信号およびV(B−Y)信号に変換する。次に、D−I/F16の内部にあるA/D変換回路(図示しない)によって、変換されたY信号、U信号およびV信号をデジタル信号である画像信号に変換し、変換された画像信号を動き検出回路18およびメモリ制御回路24に与える。メモリ制御回路24に与えられた画像信号は、SDRAM26に書き込まれる。   The CPU 20 instructs the DI / F 16 to take in the analog signal of the subject given from the surveillance camera 12 at a predetermined interval. The D-I / F 16 first converts the captured analog signal into a Y signal that is a luminance signal and a U (R-Y) signal that is a color difference signal by a video decoder (not shown) inside the D-I / F 16. Conversion to V (BY) signal. Next, the converted Y signal, U signal, and V signal are converted into digital image signals by an A / D conversion circuit (not shown) in the D-I / F 16 and the converted image signals are converted. Is supplied to the motion detection circuit 18 and the memory control circuit 24. The image signal given to the memory control circuit 24 is written into the SDRAM 26.

一方、動き検出回路18は、D−I/F16から与えられた画像信号から輝度信号であるY信号を抽出し、現在の画面のY信号の大きさとその1フィールド前の画面のY信号の大きさとを比較して輝度変化を求める。Y信号の輝度変化は、モニタ42の画面に割り当てられた複数のブロックの各々について求められる。求められたY信号の輝度変化は、CPU20に与えられる。   On the other hand, the motion detection circuit 18 extracts a Y signal, which is a luminance signal, from the image signal given from the DI / F 16, and the magnitude of the Y signal of the current screen and the magnitude of the Y signal of the screen one field before the current signal. And the brightness change is obtained. The change in luminance of the Y signal is obtained for each of a plurality of blocks assigned to the screen of the monitor 42. The obtained luminance change of the Y signal is given to the CPU 20.

CPU20は、与えられたY信号の輝度変化があらかじめ設定されている検出閾値を超えたか否かを、ブロックごとに判断する。その結果、検出閾値を超える輝度変化があったY信号を検出したブロックがあった場合には、そのブロックで被写体に動きがあったと判断する。   The CPU 20 determines for each block whether or not the luminance change of the given Y signal exceeds a preset detection threshold. As a result, when there is a block in which a Y signal having a luminance change exceeding the detection threshold is detected, it is determined that the subject has moved in that block.

このように、動き検出回路18によって求められたY信号の輝度変化が、CPU20によって検出閾値を超えたと判断された状態のことを内部アラームが検出されたという。あるブロックで内部アラームが検出されたとき、CPU20はそのブロックを特定し、特定されたブロックに対して、JPEG2000のROI機能を利用してROI領域を設定する。ROI領域が設定されると、ROI領域内の被写体の画像は、ROI領域以外の領域(以下“周辺領域”という)の画像よりも高画質の画像となるように圧縮される。   As described above, the internal alarm is detected when the CPU 20 determines that the luminance change of the Y signal obtained by the motion detection circuit 18 has exceeded the detection threshold. When an internal alarm is detected in a certain block, the CPU 20 identifies the block, and sets an ROI area for the identified block using the ROI function of JPEG2000. When the ROI area is set, the image of the subject in the ROI area is compressed so as to be a higher quality image than the image in the area other than the ROI area (hereinafter referred to as “peripheral area”).

CPU20は、JPEG2000コーデック28に対して、ROI領域の位置および画像サイズ(以下“ROI情報”という)を与えるとともに、ROI領域の画像信号および周辺領域の画像信号をそれぞれ互いに異なる圧縮率で圧縮するように命令する。JPEG2000コーデック28は画像信号の圧縮命令を受けると、画像信号の読み出しをメモリ制御回路24に要求する。次に、JPEG2000コーデック28は、メモリ制御回路24によってSDRAM26から読み出された画像信号を取り込む。CPU20は、読み出された画像信号に対応するROI情報をフラッシュメモリ36から読み出し、読み出されたROI情報をJPEG2000コーデック28に与える。   The CPU 20 gives the position of the ROI area and the image size (hereinafter referred to as “ROI information”) to the JPEG2000 codec 28, and compresses the image signal of the ROI area and the image signal of the peripheral area at different compression rates. To order. When the JPEG 2000 codec 28 receives the compression command for the image signal, it requests the memory control circuit 24 to read the image signal. Next, the JPEG 2000 codec 28 takes in the image signal read from the SDRAM 26 by the memory control circuit 24. The CPU 20 reads ROI information corresponding to the read image signal from the flash memory 36, and gives the read ROI information to the JPEG2000 codec 28.

JPEG2000コーデック28は、CPU20から与えられたROI情報に基づいて設定されるROI領域の画像信号および周辺領域の画像信号を、それぞれ互いに異なる圧縮率で圧縮する。JPEG2000コーデック28は画像信号を圧縮して圧縮画像信号を生成し、メモリ制御回路24に対して生成された圧縮画像信号の書き込みを要求する。メモリ制御回路24はJPEG2000コーデック28からの要求に応じて、圧縮画像信号をSDRAM26に書き込む。   The JPEG 2000 codec 28 compresses the image signal in the ROI area and the image signal in the peripheral area set based on the ROI information given from the CPU 20 at different compression rates. The JPEG 2000 codec 28 compresses the image signal to generate a compressed image signal, and requests the memory control circuit 24 to write the generated compressed image signal. The memory control circuit 24 writes the compressed image signal into the SDRAM 26 in response to a request from the JPEG2000 codec 28.

次に、CPU20は、HDD−I/F30に対して圧縮画像信号の記録命令を与える。HDD−I/F30は、記録命令にしたがって圧縮画像信号の取り出しをメモリ制御回路24に要求し、メモリ制御回路24によってSDRAM26から取り出された圧縮画像信号をHDD32に与える。HDD32は、与えられた圧縮画像信号をファイル形式でハードディスク34に記録する。ハードディスク34内では、記録された圧縮画像信号のファイルは撮影順に管理される。   Next, the CPU 20 gives a recording command of the compressed image signal to the HDD-I / F 30. The HDD-I / F 30 requests the memory control circuit 24 to extract a compressed image signal in accordance with a recording command, and provides the compressed image signal extracted from the SDRAM 26 by the memory control circuit 24 to the HDD 32. The HDD 32 records the given compressed image signal on the hard disk 34 in a file format. In the hard disk 34, the recorded compressed image signal files are managed in the order of shooting.

次に、ハードディスク34に記録された圧縮画像信号を再生する場合について説明する。まず、CPU20は、圧縮画像信号の読み出しをHDD−I/F30に命令する。読み出しを命令されたHDD−I/F30は、HDD32を制御して、監視カメラ12によって撮影された被写体に対応する圧縮画像信号をハードディスク34から撮影順に順次読み出す。そして、CPU20は、メモリ制御回路24に対して、読み出された圧縮画像信号のSDRAM26への書き込みを命令する。書き込み命令を受けたメモリ制御回路24は、圧縮画像信号をSDRAM26に書き込む。   Next, a case where the compressed image signal recorded on the hard disk 34 is reproduced will be described. First, the CPU 20 instructs the HDD-I / F 30 to read out the compressed image signal. The HDD-I / F 30 instructed to read out controls the HDD 32 to sequentially read out the compressed image signals corresponding to the subject photographed by the monitoring camera 12 from the hard disk 34 in the order of photographing. Then, the CPU 20 instructs the memory control circuit 24 to write the read compressed image signal to the SDRAM 26. Receiving the write command, the memory control circuit 24 writes the compressed image signal into the SDRAM 26.

次に、CPU20は、JPEG2000コーデック28に対して圧縮画像信号の伸長命令を与える。圧縮画像信号の伸長命令を受けたJPEG2000コーデック28は、圧縮画像信号の読み出しをメモリ制御回路24に要求し、SDRAM26に書き込まれている圧縮画像信号を取り込み、そして取り込まれた圧縮画像信号をJPEG2000に規定されている方式にしたがって伸長する。このとき、フラッシュメモリ36から圧縮画像信号に対応するROI情報を読み出し、圧縮画像信号にROI領域が設定されているか否かを判断する。そして、ROI領域が設定されているときは、ROI領域の画像信号と周辺領域の画像信号とを、それぞれ互いに異なる圧縮率に基づいて伸長する。JPEG2000コーデック28によって伸長された伸長画像信号は、メモリ制御回路24に与えられ、メモリ制御回路24によってSDRAM26に書き込まれる。   Next, the CPU 20 gives a decompression command for the compressed image signal to the JPEG2000 codec 28. The JPEG2000 codec 28 that has received the decompression command of the compressed image signal requests the memory control circuit 24 to read the compressed image signal, captures the compressed image signal written in the SDRAM 26, and imports the captured compressed image signal to JPEG2000. Decompresses according to the specified method. At this time, the ROI information corresponding to the compressed image signal is read from the flash memory 36, and it is determined whether or not the ROI area is set in the compressed image signal. When the ROI area is set, the image signal in the ROI area and the image signal in the peripheral area are expanded based on different compression rates. The decompressed image signal decompressed by the JPEG2000 codec 28 is given to the memory control circuit 24 and written into the SDRAM 26 by the memory control circuit 24.

さらに、CPU20は、ビデオ出力回路38に伸長画像信号の処理命令を与える。伸長画像信号の処理命令が与えられたビデオ出力回路38は、1フィールド期間毎にメモリ制御回路24に対して伸長画像信号の取り出しを要求し、メモリ制御回路24によってSDRAM26から取り出された伸長画像信号を受け取る。   Further, the CPU 20 gives a processing instruction for the decompressed image signal to the video output circuit 38. The video output circuit 38 to which the processing instruction for the expanded image signal is given requests the memory control circuit 24 to extract the expanded image signal every field period, and the expanded image signal extracted from the SDRAM 26 by the memory control circuit 24. Receive.

ビデオ出力回路38は、受け取った伸長画像信号をコンポジット画像信号にエンコードし、エンコードされたコンポジット画像信号をモニタ42の画面に表示する。このとき、ROI領域内に含まれる被写体の画像は、周辺領域の画像よりも高画質の画像として再生される。   The video output circuit 38 encodes the received decompressed image signal into a composite image signal, and displays the encoded composite image signal on the screen of the monitor 42. At this time, the image of the subject included in the ROI area is reproduced as a higher quality image than the image in the peripheral area.

図2(A)および図2(B)を参照して、2つのROI領域を合成する方法について説明する。ROI領域の形状は、いずれも矩形であるとする。したがって、画面上におけるROI領域の位置は、それぞれの対角線方向の2つの頂点の座標によって表すことができる。図2(A)に示すように、ROI領域Aの頂点A1、A2の座標をそれぞれ(Xa1、Ya1)および(Xa2、Ya2)とする。このとき、頂点A1、A2の座標は、Xa1<Xa2かつYa1<Ya2という関係があるとする。また、ROI領域Bの頂点B1、B2の座標をそれぞれ(Xb1、Yb1)、(Xb2、Yb2)とする。このとき、頂点B1、B2の座標は、Xb1<Xb2かつYb1<Yb2という関係があるとする。   A method of synthesizing two ROI regions will be described with reference to FIGS. 2 (A) and 2 (B). It is assumed that the ROI area has a rectangular shape. Therefore, the position of the ROI area on the screen can be represented by the coordinates of two vertices in the respective diagonal directions. As shown in FIG. 2A, the coordinates of the vertices A1 and A2 of the ROI region A are (Xa1, Ya1) and (Xa2, Ya2), respectively. At this time, it is assumed that the coordinates of the vertices A1 and A2 have a relationship of Xa1 <Xa2 and Ya1 <Ya2. Also, the coordinates of the vertices B1 and B2 of the ROI area B are (Xb1, Yb1) and (Xb2, Yb2), respectively. At this time, it is assumed that the coordinates of the vertices B1 and B2 have a relationship of Xb1 <Xb2 and Yb1 <Yb2.

この場合、図2(B)に示すように、2つのROI領域AおよびBの4つのX座標Xa1、Xa2、Xb1、Xb2の中の最小値と最大値をそれぞれXmin、Xmaxとし、同様に4つのY座標Ya1、Ya2、Yb1、Yb2の中の最小値と最大値をそれぞれYmin、Ymaxとすれば、合成されたROI領域の対角線方向の2つの頂点C1、C2の座標は、それぞれ(Xmin、Ymin)および(Xmax、Ymax)となる。このようにして、2つのROI領域AおよびBから新たなROI領域Cが合成される。   In this case, as shown in FIG. 2B, the minimum value and the maximum value in the four X coordinates Xa1, Xa2, Xb1, and Xb2 of the two ROI regions A and B are set to Xmin and Xmax, respectively. If the minimum value and the maximum value among the two Y coordinates Ya1, Ya2, Yb1, and Yb2 are Ymin and Ymax, respectively, the coordinates of the two vertices C1 and C2 in the diagonal direction of the synthesized ROI region are (Xmin, Ymin) and (Xmax, Ymax). In this way, a new ROI region C is synthesized from the two ROI regions A and B.

図3は、被写体の動きに伴って移動する各画面のROI領域を1つの画面に表したものである。図3を参照して、この監視カメラシステム10が、垂直同期信号Vsyncに同期して1フィールド期間ごとに監視カメラ12から画像信号を取り込み、取り込まれた画像信号に含まれるROI領域を合成する場合について説明する。   FIG. 3 shows the ROI area of each screen that moves with the movement of the subject on one screen. Referring to FIG. 3, when this surveillance camera system 10 captures an image signal from surveillance camera 12 every field period in synchronization with vertical synchronization signal Vsync, and synthesizes the ROI region included in the captured image signal Will be described.

モニタ42に表示された画面に侵入者などの動きのある被写体が含まれる場合、CPU20はその被写体を含む領域にROI領域42aを設定する。そして、ROI領域42aのROI情報と、フラッシュメモリ36のワークエリアR0に格納されているROI情報r0とに基づいて、所定時刻に取り込まれた画像信号に新たなROI領域を合成する。そして、合成されたROI領域のROI情報を求め、求められたROI情報によってワークエリアROに格納されているROI情報r0を更新する。このような動作を所定時刻から1秒間繰り返し、1秒経過後ワークエリアR0に格納されているROI情報r0をフラッシュメモリ36のメモリエリアR1に転送する。その後、ワークエリアR0のROI情報r0をリセットする。この結果、1秒間に取り込まれた画像信号に基づいて合成されたROI領域のROI情報が求められる。   When the screen displayed on the monitor 42 includes a moving subject such as an intruder, the CPU 20 sets the ROI region 42a in the region including the subject. Based on the ROI information in the ROI area 42a and the ROI information r0 stored in the work area R0 of the flash memory 36, a new ROI area is synthesized with the image signal captured at a predetermined time. Then, the ROI information of the synthesized ROI area is obtained, and the ROI information r0 stored in the work area RO is updated with the obtained ROI information. Such an operation is repeated for 1 second from a predetermined time, and after 1 second, the ROI information r0 stored in the work area R0 is transferred to the memory area R1 of the flash memory 36. Thereafter, the ROI information r0 of the work area R0 is reset. As a result, the ROI information of the ROI area synthesized based on the image signal captured in one second is obtained.

同様にして、次の1秒間に取り込まれた各画像信号に設定されたROI領域42bに基づいて新たなROI領域を順次合成し、そのROI情報を求める。そして、求められたROI情報によりワークエリアR0のROI情報r0を更新する。1秒経過後ワークエリアR0に格納されているROI情報r0をフラッシュメモリ36のメモリエリアR1に転送する。その後、ワークエリアR0のROI情報r0をリセットする。この結果、次の1秒間に取り込まれた画像信号に基づいて合成されたROI領域のROI情報が求められる。このような動作を繰り返すことにより、1秒経過するごとに1つの合成されたROI領域のROI情報が求められ、メモリエリアR1に格納される。   Similarly, new ROI areas are sequentially synthesized based on the ROI area 42b set in each image signal captured in the next one second, and the ROI information is obtained. Then, the ROI information r0 of the work area R0 is updated with the obtained ROI information. After 1 second, the ROI information r0 stored in the work area R0 is transferred to the memory area R1 of the flash memory 36. Thereafter, the ROI information r0 of the work area R0 is reset. As a result, ROI information of the ROI area synthesized based on the image signal captured in the next one second is obtained. By repeating such an operation, ROI information of one combined ROI area is obtained every 1 second and stored in the memory area R1.

次に、図4を参照して、CPU20は、時刻t0から画像信号の取り込みを開始する。時刻t0から時刻t0+1秒までの1秒間に合成されたROI領域のROI情報はワークエリアR0に格納される。そして、時刻t0+1秒に、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアのROI情報r0はリセットされる。   Next, referring to FIG. 4, CPU 20 starts capturing an image signal from time t0. The ROI information of the ROI area synthesized for one second from time t0 to time t0 + 1 seconds is stored in the work area R0. Then, at time t0 + 1 seconds, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 of the work area is reset.

時刻t0+1秒から時刻t0+2秒までの1秒間に求められたROI情報は、ワークエリアR0に格納される。そして、時刻t0+2秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR4とし、メモリエリアR4をメモリエリアR1とするラベル変更が行われた後、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information obtained in one second from time t0 + 1 seconds to time t0 + 2 seconds is stored in the work area R0. Then, at time t0 + 2 seconds, after a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, the memory area R3 is the memory area R4, and the memory area R4 is the memory area R1. The ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 in the work area R0 is reset.

時刻t0+2秒から時刻t0+3秒までの1秒間に求められたROI情報は、ワークエリアR0に格納される。そして、時刻t0+3秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR4とし、メモリエリアR4をメモリエリアR1とするラベル変更が行われる。その後、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information obtained in one second from time t0 + 2 seconds to time t0 + 3 seconds is stored in the work area R0. Then, at time t0 + 3 seconds, label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, the memory area R3 is the memory area R4, and the memory area R4 is the memory area R1. Thereafter, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 in the work area R0 is reset.

時刻t0+3秒から時刻t0+4秒までの1秒間に求められたROI情報は、ワークエリアR0に格納される。そして、時刻t0+4秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR4とし、メモリエリアR4をメモリエリアR1とするラベル変更が行われ、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information obtained in one second from time t0 + 3 seconds to time t0 + 4 seconds is stored in the work area R0. At time t0 + 4 seconds, a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, the memory area R3 is the memory area R4, and the memory area R4 is the memory area R1. The ROI information r0 stored in the area R0 is transferred to the memory area R1, and the ROI information r0 in the work area R0 is reset.

時刻t0+4秒から時刻t0+5秒までの1秒間に求められたROI情報は、ワークエリアR0に格納される。そして、時刻t0+5秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR4とし、メモリエリアR4をメモリエリアR1とするラベル変更が行われる。そして、ワークエリアR0に格納されたROI情報r0によってメモリエリアR0のROI情報が更新され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information obtained in one second from time t0 + 4 seconds to time t0 + 5 seconds is stored in the work area R0. Then, at time t0 + 5 seconds, a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, the memory area R3 is the memory area R4, and the memory area R4 is the memory area R1. Then, the ROI information in the memory area R0 is updated with the ROI information r0 stored in the work area R0, and the ROI information r0 in the work area R0 is reset.

以下、同様にして1秒経過ごとに、メモリエリアR1〜R4のラベル変更を順次行い、ワークエリアR0に格納されたROI情報r0をワークエリアR0からメモリエリアR1に転送する一連の動作を繰り返す。   Thereafter, similarly, every time one second elapses, the labels of the memory areas R1 to R4 are sequentially changed, and a series of operations for transferring the ROI information r0 stored in the work area R0 from the work area R0 to the memory area R1 is repeated.

次に、図5(A)および図5(B)を参照して、動きのある被写体として侵入者を想定し、侵入者が侵入した経路にROI領域を設定する場合について説明する。図5(A)は、メモリエリアR1〜R4にそれぞれ格納されたROI情報r1〜r4に基づいて、現在の時刻において設定されたROI領域Aおよび過去3秒間に設定されたROI領域B〜Dと、各ROI領域A〜Dに含まれる侵入者を示している。   Next, a case where an intruder is assumed as a moving subject and an ROI region is set in a route where the intruder has entered will be described with reference to FIGS. FIG. 5A shows the ROI area A set at the current time and the ROI areas B to D set for the past 3 seconds based on the ROI information r1 to r4 respectively stored in the memory areas R1 to R4. , Intruders included in the ROI areas A to D are shown.

このように、現在の侵入者を表示するだけでなく、現在の時刻から3秒間遡って侵入者の侵入経路も含めてROI領域Eを設定するため、まずメモリエリアR1およびR2にそれぞれ格納されたROI情報r1およびr2に基づいて、ROI領域AとROI領域Bとから新たなROI領域(図示しない)を合成する。次に、合成されたROI領域とメモリエリアR3に格納されたROI情報r3に基づいて、ROI領域Cと合成されたROI領域とから別のROI領域(図示しない)を合成する。そして、合成されたROI領域とメモリエリアR4に格納されたROI情報r4に基づいて、ROI領域Dと合成されたROI領域とからさらに別のROI領域(図示しない)を合成する。このようにして、ROI領域A〜Dをすべて含む新たなROI領域Eを合成する。   In this way, not only the current intruder is displayed, but also the ROI area E including the intruder's intrusion route is set back 3 seconds from the current time, so that it is first stored in the memory areas R1 and R2, respectively. Based on the ROI information r1 and r2, a new ROI region (not shown) is synthesized from the ROI region A and the ROI region B. Next, another ROI area (not shown) is synthesized from the ROI area C and the synthesized ROI area based on the synthesized ROI area and the ROI information r3 stored in the memory area R3. Then, based on the combined ROI area and the ROI information r4 stored in the memory area R4, another ROI area (not shown) is combined from the ROI area D and the combined ROI area. In this way, a new ROI region E including all the ROI regions A to D is synthesized.

次に、図5(B)は、この画像信号を圧縮後に伸長したとき、モニタ42に表示される画像を表している。つまり、現在の侵入者だけでなく、ROI領域Eに含まれるすべての画像が高画質の画像としてモニタ42に表示される。このように、モニタ42には、侵入者だけでなく、その侵入経路も含めて高画質の画像で表示される。このため、侵入者が残した痕跡がある場合にはその痕跡の画像信号についても高画質の画像として再生することができる。   Next, FIG. 5B shows an image displayed on the monitor 42 when the image signal is expanded after being compressed. That is, not only the current intruder but all images included in the ROI area E are displayed on the monitor 42 as high-quality images. In this way, the monitor 42 displays not only the intruder but also the intrusion route as a high-quality image. For this reason, when there is a trace left by the intruder, the image signal of the trace can be reproduced as a high-quality image.

なお、侵入者が1秒未満の時間だけ移動を停止した場合、その時間にはROI領域は設定されないので、ワークエリアR0のROI情報r0も更新されない。しかし、再び侵入者が移動し始めると、ROI領域も再び設定されるので、ワークエリアR0のROI情報r0も更新される。このように、侵入者の動きが一時的に停止した後、再び動き始めた場合にも、侵入者の動きが全く停止しなかった場合と同様にして、侵入者の侵入経路にROI領域を設定することができる。   Note that if the intruder stops moving for less than 1 second, the ROI area is not set at that time, so the ROI information r0 of the work area R0 is not updated. However, when the intruder starts moving again, the ROI area is set again, so the ROI information r0 of the work area R0 is also updated. Thus, when the intruder's movement temporarily stops and then starts moving again, the ROI area is set in the intruder's intrusion route in the same manner as when the intruder's movement has not stopped at all. can do.

しかし、侵入者の動きが1秒以上停止した場合には、その間ROI領域は全く設定されないので、ワークエリアR0に格納されるROI情報r0は“0”となる。このため、ワークエリアR0から転送されるメモリエリアのROI情報も“0”となる。したがって、このようなメモリエリアのROI情報に基づいてROI領域を合成しても、合成前のROI領域と同一となる。さらに、侵入者の動きが3秒以上停止した場合、メモリエリアR1からR4に格納されたROI情報r1〜r4はすべて“0”となり、モニタ42に表示される画像にROI領域は全く設定されない。   However, when the movement of the intruder stops for more than 1 second, no ROI area is set during that time, so the ROI information r0 stored in the work area R0 is “0”. For this reason, the ROI information of the memory area transferred from the work area R0 is also “0”. Therefore, even if the ROI area is synthesized based on the ROI information of such a memory area, it is the same as the ROI area before synthesis. Further, when the movement of the intruder stops for 3 seconds or more, the ROI information r1 to r4 stored in the memory areas R1 to R4 are all “0”, and no ROI area is set in the image displayed on the monitor 42.

次に、図6〜図9を参照して、第1実施例におけるROI領域更新処理のフローについて説明する。なお、このROI領域更新処理と後述する第2実施例のROI領域更新処理とは、ユーザが操作パネル(図示しない)を操作して切り換えることができる。   Next, the flow of the ROI area update process in the first embodiment will be described with reference to FIGS. The ROI area update process and the ROI area update process of the second embodiment to be described later can be switched by the user operating an operation panel (not shown).

まず、ステップS1では、ROI領域および周辺領域の画像信号の圧縮率として互いに異なる初期圧縮率を設定する。ステップS3では、モニタ42の画面全体を複数のブロックに分割する。ステップS5では、分割された画面上で内部アラームを設置するブロック、つまり動き検出回路18によってY信号の輝度変化を求めるブロックの配置を決める。ステップS7では、動き検出回路18によって検出されるY信号の輝度変化の検出閾値を設定する。ステップS9では、時計40から現在時刻tを取得する。ここで、時計40は秒未満の時刻を計測しない時計なので、取得された時刻tは秒単位の時刻となる。ステップS11では、取得した現在時刻tをt0とし、ワークエリアT0に格納する。ステップS13では、ワークエリアR0のROI情報r0をリセットする。   First, in step S1, different initial compression rates are set as compression rates of image signals in the ROI region and the peripheral region. In step S3, the entire screen of the monitor 42 is divided into a plurality of blocks. In step S5, the arrangement of the block for setting the internal alarm on the divided screen, that is, the block for obtaining the luminance change of the Y signal by the motion detection circuit 18 is determined. In step S7, a detection threshold value for the luminance change of the Y signal detected by the motion detection circuit 18 is set. In step S9, the current time t is obtained from the clock 40. Here, since the clock 40 is a clock that does not measure a time less than a second, the acquired time t is a time in seconds. In step S11, the acquired current time t is set to t0 and stored in the work area T0. In step S13, the ROI information r0 of the work area R0 is reset.

ステップS15では、垂直同期信号Vsyncが発生するまで待機する。垂直同期信号Vsyncが発生すると、ステップS17で、D−I/F16に対して監視カメラ12からアナログ信号の取り込みを命令する。D−I/F16は、取り込んだアナログ信号に基づいてY信号、U信号およびV信号を生成し、生成されたこれらの信号をデジタル信号に変換し、変換された画像信号をメモリ制御回路24に与える。メモリ制御回路24に与えられた画像信号は、SDRAM26に書き込まれる。   In step S15, the process waits until the vertical synchronization signal Vsync is generated. When the vertical synchronization signal Vsync is generated, in step S17, the D / I 16 is instructed to take in an analog signal from the monitoring camera 12. The D-I / F 16 generates a Y signal, a U signal, and a V signal based on the captured analog signal, converts these generated signals into digital signals, and converts the converted image signals to the memory control circuit 24. give. The image signal given to the memory control circuit 24 is written into the SDRAM 26.

ステップS19では、JPEG2000コーデック28に対して画像信号の圧縮を命令する。JPEG2000コーデック28は、画像信号の圧縮命令を受けると、画像信号の読み出しをメモリ制御回路24に要求し、SDRAM26から読み出された画像信号を取り込む。そして、取り込まれた画像信号をCPU20から与えられるROI情報に基づいて圧縮する。ステップS21では、時計40から現在時刻tを取得する。取得された現在時刻tも、ステップS9の場合と同様に、秒単位の時刻である。   In step S19, the JPEG2000 codec 28 is instructed to compress the image signal. When receiving the image signal compression command, the JPEG 2000 codec 28 requests the memory control circuit 24 to read the image signal and takes in the image signal read from the SDRAM 26. Then, the captured image signal is compressed based on the ROI information given from the CPU 20. In step S21, the current time t is acquired from the clock 40. The acquired current time t is also the time in seconds, as in step S9.

ステップS23では、内部アラームによって被写体の動きが検出されたか否かを判断する。その結果、NOと判断した場合はROI情報を更新する必要がないので、後述するステップS35に進む。一方、YESと判断した場合は、ステップS25で内部アラームが検出されたブロックを特定し、特定されたブロックをROI領域として設定する。ステップS27では、設定されたROI領域のROI情報rを取得する。ステップS29では、ワークエリアR0からROI情報r0を読み出す。ステップS31では、取得されたROI情報rと読み出されたROI情報r0とから、新たなROI領域のROI情報を求める。ステップS33では、求められたROI情報によってワークエリアR0のROI情報r0を更新する。   In step S23, it is determined whether or not the movement of the subject is detected by the internal alarm. As a result, if NO is determined, there is no need to update the ROI information, and the process proceeds to step S35 described later. On the other hand, if YES is determined, the block in which the internal alarm is detected is identified in step S25, and the identified block is set as the ROI region. In step S27, the ROI information r of the set ROI area is acquired. In step S29, the ROI information r0 is read from the work area R0. In step S31, ROI information of a new ROI area is obtained from the acquired ROI information r and the read ROI information r0. In step S33, the ROI information r0 of the work area R0 is updated with the obtained ROI information.

次に、ステップS35では、ステップS21で取得された現在時刻tが、ワークエリアT0に格納されている時刻t0と等しいか否かを判断する。その結果、YESと判断した場合はステップS15に戻る。一方、NOと判断した場合は、ステップS37でメモリエリアR4のROI情報r4をフラッシュメモリ36に設けられた退避エリアRsに退避させる。ステップS39では、変数nを3とし、ステップS41ではメモリエリアのラベルRをラベルRn+1に変更する。ステップS43で変数nを1だけ減らし、ステップS45で変数nが0であるか否かを判断する。その結果、NOと判断した場合はステップS41に戻り、YESと判断した場合は、ステップS47に進む。ステップS47では、退避エリアRsに退避させていたROI情報をメモリエリアR1に転送する。 Next, in step S35, it is determined whether or not the current time t acquired in step S21 is equal to the time t0 stored in the work area T0. As a result, if YES is determined, the process returns to step S15. On the other hand, if NO is determined, the ROI information r4 in the memory area R4 is saved in the save area Rs provided in the flash memory 36 in step S37. In step S39, the 3 variables n, change the label R n of the memory area at step S41 to the label R n + 1. In step S43, the variable n is decreased by 1. In step S45, it is determined whether or not the variable n is 0. As a result, if NO is determined, the process returns to step S41. If YES is determined, the process proceeds to step S47. In step S47, the ROI information saved in the save area Rs is transferred to the memory area R1.

ステップS49では、ワークエリアT0に格納された時刻t0を、t0から1秒経過した時刻t0+1秒に更新する。ステップS51でワークエリアR0に格納されたROI情報r0をメモリエリアR1に転送し、ステップS53でワークエリアR0のROI情報r0をリセットする。ステップS55では、最初に画像信号を取り込んだときから3秒経過したか否かを判断する。その結果、NOと判断した場合は、まだメモリエリアR1〜R4の少なくとも1つにROI情報が格納されていないので、ステップS15に戻る。一方、YESと判断した場合は、メモリエリアR1〜R4にそれぞれROI情報r1〜r4が格納されているので、ステップS57に進む。   In step S49, the time t0 stored in the work area T0 is updated to the time t0 + 1 seconds when one second has elapsed from t0. In step S51, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and in step S53, the ROI information r0 of the work area R0 is reset. In step S55, it is determined whether or not 3 seconds have elapsed since the image signal was first captured. As a result, if NO is determined, the ROI information is not stored in at least one of the memory areas R1 to R4, and the process returns to step S15. On the other hand, if YES is determined, the ROI information r1 to r4 is stored in the memory areas R1 to R4, respectively, and the process proceeds to step S57.

ステップS57では、メモリエリアR1〜R4からROI情報r1〜r4をそれぞれ読み出す。ステップS59では、読み出されたROI情報r1〜r4のうちROI情報r1とROI情報r2とに基づいて新たなROI領域のROI情報raを求める。ステップS61では、読み出されたROI情報r3と求められたROI情報raとに基づいて新たなROI情報rbを求める。ステップS63では、読み出されたROI情報r4と求められたROI情報rbとに基づいて新たなROI情報rcを求める。この結果、現在の時刻から3秒前まで遡って合成されたROI領域EのROI情報rcを取得することができる。   In step S57, the ROI information r1 to r4 is read from the memory areas R1 to R4, respectively. In step S59, ROI information ra of a new ROI area is obtained based on the ROI information r1 and the ROI information r2 among the read ROI information r1 to r4. In step S61, new ROI information rb is obtained based on the read ROI information r3 and the obtained ROI information ra. In step S63, new ROI information rc is obtained based on the read ROI information r4 and the obtained ROI information rb. As a result, it is possible to acquire the ROI information rc of the ROI region E synthesized retroactively 3 seconds before the current time.

ステップS65では、JPEG2000コーデック28に与えるROI情報を、新たに取得されたROI情報rcに更新する。ステップS67では、HDD32への記録を終了するか否かについて判断する。その結果、NOと判断した場合はステップS15に戻り、YESと判断した場合は処理を終了する。   In step S65, the ROI information given to the JPEG2000 codec 28 is updated to the newly acquired ROI information rc. In step S67, it is determined whether or not recording on the HDD 32 is to be terminated. As a result, if NO is determined, the process returns to step S15, and if YES is determined, the process is terminated.

次に、この発明の第2実施例について説明する。第2実施例では、第1実施例と異なり、複数の過去のROI領域を合成するだけでなく、過去の侵入者の動きから将来の侵入者の動きを予測し、予測された侵入者の位置を含む予測ROI領域を設定する。そして、過去のROI領域と予測ROI領域を合成することにより、過去から将来までの侵入者の移動経路を含むROI領域を合成する。なお、この第2実施例のブロック図は第1実施例の場合と同一なので、ブロック図およびその説明を省略する。   Next explained is the second embodiment of the invention. Unlike the first embodiment, the second embodiment not only synthesizes a plurality of past ROI regions, but also predicts future intruder movement from past intruder movement, and predicts the position of the intruder. A predicted ROI region including is set. Then, by combining the past ROI area and the predicted ROI area, the ROI area including the movement path of the intruder from the past to the future is synthesized. Since the block diagram of the second embodiment is the same as that of the first embodiment, the block diagram and description thereof are omitted.

図10を参照して、1秒前のROI領域Aおよび現在のROI領域Bから将来のROI領域Cを予測する方法について説明する。ROI領域の形状は、いずれも矩形であるとする。したがって、画面上におけるROI領域の位置は、それぞれの対角線方向の2つの頂点の座標によって表すことができる。図10に示すように、ROI領域Aの頂点A1、A2の座標をそれぞれ(Xa1、Ya1)および(Xa2、Ya2)とする。このとき、頂点A1、A2の座標は、Xa1<Xa2かつYa1<Ya2という関係があるとする。また、ROI領域Bの頂点B1、B2の座標をそれぞれ(Xb1、Yb1)、(Xb2、Yb2)とする。このとき、頂点B1、B2の座標は、Xb1<Xb2かつYb1<Yb2という関係があるとする。また、予測ROI領域Cの頂点C1、C2の座標をそれぞれ(Xc1、Yc1)および(Xc2、Yc2)とする。このとき、頂点C1、C2の座標は、Xc1<Xc2かつYc1<Yc2という関係があるとする。   A method for predicting a future ROI region C from the ROI region A and the current ROI region B one second ago will be described with reference to FIG. It is assumed that the ROI area has a rectangular shape. Therefore, the position of the ROI area on the screen can be represented by the coordinates of two vertices in the respective diagonal directions. As shown in FIG. 10, the coordinates of the vertices A1 and A2 of the ROI region A are (Xa1, Ya1) and (Xa2, Ya2), respectively. At this time, it is assumed that the coordinates of the vertices A1 and A2 have a relationship of Xa1 <Xa2 and Ya1 <Ya2. Also, the coordinates of the vertices B1 and B2 of the ROI area B are (Xb1, Yb1) and (Xb2, Yb2), respectively. At this time, it is assumed that the coordinates of the vertices B1 and B2 have a relationship of Xb1 <Xb2 and Yb1 <Yb2. Further, the coordinates of the vertices C1 and C2 of the predicted ROI region C are (Xc1, Yc1) and (Xc2, Yc2), respectively. At this time, it is assumed that the coordinates of the vertices C1 and C2 have a relationship of Xc1 <Xc2 and Yc1 <Yc2.

ROI領域Aの座標とROI領域Bの座標とから、予測ROI領域Cの頂点C1、C2の座標を求める。頂点C1のX座標は数1によって求められ、
[数1]
Xc1=Xb1+(Xb1−Xa1)
頂点C1のY座標は数2によって求められ、
[数2]
Yc1=Yb1+(Yb1−Ya1)
頂点C2のX座標は数3によって求められ、
[数3]
Xc2=Xb2+(Xb2−Xa2)
頂点C1のY座標は数4によって求められる。
From the coordinates of the ROI area A and the coordinates of the ROI area B, the coordinates of the vertices C1 and C2 of the predicted ROI area C are obtained. The X coordinate of the vertex C1 is obtained by Equation 1,
[Equation 1]
Xc1 = Xb1 + (Xb1-Xa1)
The Y coordinate of the vertex C1 is obtained by Equation 2,
[Equation 2]
Yc1 = Yb1 + (Yb1-Ya1)
The X coordinate of the vertex C2 is obtained by Equation 3,
[Equation 3]
Xc2 = Xb2 + (Xb2-Xa2)
The Y coordinate of the vertex C1 is obtained by Equation 4.

[数4]
Yc2=Yb2+(Yb2−Ya2)
つまり、ROI領域AからROI領域Bへの移動方向と移動量、つまり移動ベクトルを求め、求められた移動方向と移動量をROI領域BのROI情報に加算することによって、予測ROI領域Cの座標を求める。このように、過去に侵入者が侵入した経路を示すROI領域だけでなく、将来侵入者が移動すると予測される場所を含むROI領域を合成することにより、侵入者がこれから侵入しようとしている場所を含む画像信号を高画質で圧縮することができる。このため、監視機能を向上させることができる。
[Equation 4]
Yc2 = Yb2 + (Yb2-Ya2)
That is, the movement direction and movement amount from the ROI area A to the ROI area B, that is, the movement vector is obtained, and the obtained movement direction and movement amount are added to the ROI information of the ROI area B, whereby the coordinates of the predicted ROI area C are obtained. Ask for. In this way, by combining not only the ROI area indicating the route where the intruder has invaded in the past but also the ROI area including the place where the intruder is expected to move in the future, the place where the intruder is about to invade is determined. The included image signal can be compressed with high image quality. For this reason, the monitoring function can be improved.

次に、図11を参照して、CPU20は、時刻t0から画像信号の取り込みを開始する。時刻t0から時刻t0+1秒までの1秒間に合成されたROI領域のROI情報はワークエリアR0に格納される。そして、時刻t0+1秒に、ワークエリアR0に格納されたROI情報r0は、メモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   Next, referring to FIG. 11, CPU 20 starts capturing an image signal from time t0. The ROI information of the ROI area synthesized for one second from time t0 to time t0 + 1 seconds is stored in the work area R0. Then, at time t0 + 1 seconds, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 of the work area R0 is reset.

時刻t0+1秒から時刻t0+2秒までの1秒間に合成されたROI領域のROI情報は、ワークエリアR0に格納される。そして、時刻t0+2秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR1とするラベル変更が行われる。次に、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information of the ROI area synthesized for one second from time t0 + 1 seconds to time t0 + 2 seconds is stored in the work area R0. Then, at time t0 + 2 seconds, a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, and the memory area R3 is the memory area R1. Next, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 in the work area R0 is reset.

時刻t0+2秒から時刻t0+3秒までの1秒間に合成されたROI領域のROI情報は、ワークエリアR0に格納される。そして、時刻t0+3秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR1とするラベル変更が行われる。次に、ワークエリアR0に格納されたROI情報r0がメモリエリアR1に転送され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information of the ROI area synthesized for 1 second from time t0 + 2 seconds to time t0 + 3 seconds is stored in the work area R0. Then, at time t0 + 3 seconds, a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, and the memory area R3 is the memory area R1. Next, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and the ROI information r0 in the work area R0 is reset.

時刻t0+3秒から時刻t0+4秒までの1秒間に合成されたROI領域のROI情報は、ワークエリアR0に格納される。そして、時刻t0+4秒に、メモリエリアR1をメモリエリアR2とし、メモリエリアR2をメモリエリアR3とし、メモリエリアR3をメモリエリアR1とするラベル変更が行われる。次に、ワークエリアR0に格納されたROI情報r0によってメモリエリアR1のROI情報が更新され、ワークエリアR0のROI情報r0はリセットされる。   The ROI information of the ROI area synthesized for 1 second from time t0 + 3 seconds to time t0 + 4 seconds is stored in the work area R0. Then, at time t0 + 4 seconds, a label change is performed in which the memory area R1 is the memory area R2, the memory area R2 is the memory area R3, and the memory area R3 is the memory area R1. Next, the ROI information in the memory area R1 is updated with the ROI information r0 stored in the work area R0, and the ROI information r0 in the work area R0 is reset.

以下、同様にして1秒経過ごとに、メモリエリアR1〜R4のラベル変更を順次行い、ワークエリアR0に格納されたROI情報r0をワークエリアR0からメモリエリアR1に転送する一連の動作を繰り返す。   Thereafter, similarly, every time one second elapses, the labels of the memory areas R1 to R4 are sequentially changed, and a series of operations for transferring the ROI information r0 stored in the work area R0 from the work area R0 to the memory area R1 is repeated.

次に、図12(A)および図12(B)を参照して、侵入者が侵入した経路およびこれから移動すると予測される経路にROI領域を設定する場合について説明する。図12(A)は、メモリエリアR1〜R3に格納されたROI情報r1〜r3に基づいて、現在および過去2秒間に設定されたROI領域A〜C、これから侵入者が移動すると予測されるROI領域FおよびこれらのROI領域A〜CおよびFに含まれる侵入者を示している。   Next, with reference to FIG. 12 (A) and FIG. 12 (B), the case where a ROI area | region is set to the path | route which the intruder invaded and the path | route predicted to move from now on is demonstrated. FIG. 12A shows the ROI areas A to C set in the current and the past two seconds based on the ROI information r1 to r3 stored in the memory areas R1 to R3, and the ROI from which the intruder is predicted to move. Region F and the intruders included in these ROI regions A to C and F are shown.

このように、現在の侵入者および現在の時刻から2秒間遡った侵入者の侵入経路も含めてROI領域を設定するだけでなく、今後1秒間に侵入者が移動すると予測される場所を含む予測ROI領域Fを設定する必要がある。このため、まずメモリエリアR1およびR2にそれぞれ格納されたROI情報r1およびr2に基づいて、ROI領域BからROI領域Aへの移動ベクトルを求める。そして、求めた移動ベクトルをROI情報r1に加算する。このようにして、予測ROI領域Fを設定し、そのROI情報reを求める。   Thus, not only the ROI area is set including the current intruder and the intruder's intrusion route that goes back 2 seconds from the current time, but also the prediction including the place where the intruder is expected to move in the next one second. It is necessary to set the ROI area F. For this reason, first, a movement vector from the ROI area B to the ROI area A is obtained based on the ROI information r1 and r2 stored in the memory areas R1 and R2, respectively. Then, the obtained movement vector is added to the ROI information r1. Thus, the prediction ROI area | region F is set and the ROI information re is calculated | required.

次に、メモリエリアR1およびR2にそれぞれ格納されたROI情報r1およびr2に基づいて、ROI領域AとROI領域Bとから新たなROI領域(図示しない)を合成し、合成されたROI領域のROI情報rfを求める。次に、合成されたROI領域のROI情報rfとメモリエリアR3に格納されたROI情報r3に基づいて、合成されたROI領域とROI領域Cとから別のROI領域(図示しない)を合成し、合成されたROI領域のROI情報rgを求める。   Next, based on the ROI information r1 and r2 stored in the memory areas R1 and R2, respectively, a new ROI area (not shown) is synthesized from the ROI area A and the ROI area B, and the ROI of the synthesized ROI area Information rf is obtained. Next, based on the ROI information rf of the synthesized ROI area and the ROI information r3 stored in the memory area R3, another ROI area (not shown) is synthesized from the synthesized ROI area and the ROI area C. The ROI information rg of the combined ROI area is obtained.

そして、合成されたROI領域のROI情報rgと予測ROI領域FのROI情報reとに基づいて、新たなROI領域Gを合成し、ROI領域GのROI情報rhを求める。   Then, based on the ROI information rg of the combined ROI region and the ROI information re of the predicted ROI region F, a new ROI region G is combined to obtain ROI information rh of the ROI region G.

次に、図12(B)は、この画像信号を圧縮後に伸長したときのモニタ42に表示される画像を表している。つまり、現在の侵入者だけでなく、ROI領域Gに含まれるすべての画像が高画質の画像としてモニタ42に表示される。このように、モニタ42には、侵入者の侵入経路だけではなく、これから移動すると予測される経路も含めて高画質の画像で表示される。このため、侵入者が侵入経路に残した痕跡だけでなく、これから侵入しようとしている場所の画像信号についても高画質の画像となるように圧縮される。   FIG. 12B shows an image displayed on the monitor 42 when the image signal is expanded after being compressed. That is, not only the current intruder but all images included in the ROI area G are displayed on the monitor 42 as high-quality images. As described above, the monitor 42 displays not only the intruder's intrusion route but also a high-quality image including the route predicted to move in the future. For this reason, not only the trace left by the intruder in the intrusion route but also the image signal of the place where the intruder is about to enter is compressed so as to obtain a high-quality image.

また、第2実施例のROI領域更新処理のフローを示す図13から図16において、第1実施例と同じ動作のステップには、同じステップ番号を付してその説明を省略し、第1実施例と異なるステップを中心に説明する。   Also, in FIG. 13 to FIG. 16 showing the flow of the ROI region update process of the second embodiment, the same operation steps as those in the first embodiment are denoted by the same step numbers and the description thereof is omitted. The explanation will focus on the steps different from the example.

第1実施例の場合と同様に、ステップS35で、ステップS21で取得された現在時刻tが、ワークエリアT0に格納されている時刻t0と等しいか否かを判断する。その結果、YESと判断した場合はステップS15に戻る。一方、NOと判断した場合は、ステップS71でメモリエリアR3のROI情報r3を退避エリアRsに退避させる。ステップS73では、変数nを2とし、ステップS41でメモリエリアのラベルRをラベルRn+1に変更する。ステップS43で変数nを1だけ減らし、ステップS45で変数nが0であるか否かを判断する。その結果、NOと判断した場合は、ステップS45で変数nが4になったか否かを判断する。その結果、NOと判断した場合はステップS41に戻り、YESと判断した場合は、ステップS47に進む。ステップS47では、退避エリアRsに退避させていたROI情報をメモリエリアR1に転送する。 As in the case of the first embodiment, in step S35, it is determined whether or not the current time t acquired in step S21 is equal to the time t0 stored in the work area T0. As a result, if YES is determined, the process returns to step S15. On the other hand, if NO is determined, the ROI information r3 in the memory area R3 is saved in the save area Rs in step S71. In step S73, the variable n is 2, change the label R n of the memory area on the label R n + 1 in step S41. In step S43, the variable n is decreased by 1. In step S45, it is determined whether or not the variable n is 0. As a result, if NO is determined, it is determined whether or not the variable n has become 4 in step S45. As a result, if NO is determined, the process returns to step S41. If YES is determined, the process proceeds to step S47. In step S47, the ROI information saved in the save area Rs is transferred to the memory area R1.

ステップS49では、ワークエリアT0に格納された時刻t0を、t0から1秒経過した時刻t0+1秒によって更新する。ステップS51でワークエリアR0に格納されたROI情報r0をメモリエリアR1に転送し、ステップS53でワークエリアR0のROI情報r0をリセットする。ステップS75では、最初に画像信号を取り込んだときから2秒経過したか否かを判断する。その結果、NOと判断したときは、まだメモリエリアR1〜R3の少なくとも1つにROI情報r1〜r3が格納されていないので、ステップS15に戻る。一方、YESと判断した場合は、メモリエリアR1〜R3のすべてにそれぞれROI情報r1〜r3が格納されているので、ステップS77に進む。   In step S49, the time t0 stored in the work area T0 is updated with the time t0 + 1 seconds when one second has elapsed from t0. In step S51, the ROI information r0 stored in the work area R0 is transferred to the memory area R1, and in step S53, the ROI information r0 of the work area R0 is reset. In step S75, it is determined whether or not 2 seconds have passed since the image signal was first captured. As a result, if NO is determined, the ROI information r1 to r3 is not yet stored in at least one of the memory areas R1 to R3, and the process returns to step S15. On the other hand, if YES is determined, the ROI information r1 to r3 is stored in all of the memory areas R1 to R3, and the process proceeds to step S77.

ステップS77では、メモリエリアR1〜R3からROI情報r1〜r3をそれぞれ読み出す。ステップS79では、読み出されたROI情報r1およびr2に基づいて1秒前のROI情報r2から現在のROI情報r1への移動ベクトルを求める。ステップS81では、現在のROI情報r1に求められた移動ベクトルを加算することにより、1秒後の予測ROI情報reを求める。   In step S77, the ROI information r1 to r3 is read from the memory areas R1 to R3, respectively. In step S79, a movement vector from the ROI information r2 one second before to the current ROI information r1 is obtained based on the read ROI information r1 and r2. In step S81, the predicted ROI information re after 1 second is obtained by adding the obtained movement vector to the current ROI information r1.

次にステップS83では、ROI情報r1とr2とに基づいて新たなROI情報rfを求める。ステップS85では、求められたROI情報rfと読み出されたROI情報r3とに基づいて、過去のROI領域のROI情報rgを求める。ステップS87では、過去のROI情報rgと予測ROI情報reとに基づいて、侵入者の侵入経路および予測移動経路を含むROI領域GのROI情報rhを求める。この結果、現在の時刻から1秒後の予測ROI領域を含むROI領域GのROI情報rhを取得することができる。   Next, in step S83, new ROI information rf is obtained based on the ROI information r1 and r2. In step S85, the ROI information rg of the past ROI area is obtained based on the obtained ROI information rf and the read ROI information r3. In step S87, based on the past ROI information rg and the predicted ROI information re, the ROI information rh of the ROI area G including the intruder's intrusion route and the predicted movement route is obtained. As a result, the ROI information rh of the ROI area G including the predicted ROI area one second after the current time can be acquired.

ステップS89では、JPEG2000コーデック28に与えるROI情報を、新たに取得されたROI情報rhに更新する。ステップS67では、HDD32への記録を終了するか否かについて判断する。その結果、NOと判断した場合はステップS15に戻り、YESと判断した場合は処理を終了する。   In step S89, the ROI information given to the JPEG2000 codec 28 is updated to the newly acquired ROI information rh. In step S67, it is determined whether or not recording on the HDD 32 is to be terminated. As a result, if NO is determined, the process returns to step S15, and if YES is determined, the process is terminated.

以上の説明からわかるように、撮影された被写界像のうち、動的被写体の被写体像を含むROI領域の部分画像を第1圧縮率で圧縮し、ROI領域以外の領域の部分画像を第1圧縮率よりも高い第2圧縮率で圧縮する。そして、動的被写体の移動範囲がROI領域の部分画像に含まれるように、ROI領域のROI情報を変更する。この結果、動的被写体の移動範囲をROI領域の部分画像に含めることができるので、監視機能を向上させることができる。   As can be seen from the above description, among the captured scene images, the partial image of the ROI region including the subject image of the dynamic subject is compressed at the first compression rate, and the partial image of the region other than the ROI region is compressed to the first. Compression is performed at a second compression rate higher than the first compression rate. Then, the ROI information of the ROI area is changed so that the moving range of the dynamic subject is included in the partial image of the ROI area. As a result, since the moving range of the dynamic subject can be included in the partial image of the ROI region, the monitoring function can be improved.

なお、ワークエリアR0からメモリエリアR1にROI情報を転送するにあたり、上述の第1実施例および第2実施例では、各メモリエリアR1〜R4に格納されているROI情報r0〜r4は移動させずに、ラベルのみを順次シフトさせて変えた。しかし、メモリエリアR1〜R4のラベルは変えずに、各メモリエリアR1〜R4に格納されているROI情報r0〜r4を順次シフトさせてもよい。   In transferring the ROI information from the work area R0 to the memory area R1, in the first and second embodiments described above, the ROI information r0 to r4 stored in each of the memory areas R1 to R4 is not moved. In addition, only the labels were shifted and changed sequentially. However, the ROI information r0 to r4 stored in each of the memory areas R1 to R4 may be sequentially shifted without changing the labels of the memory areas R1 to R4.

この発明の第1実施例を示すブロック図である。1 is a block diagram showing a first embodiment of the present invention. 第1実施例の動作の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of 1st Example. 第1実施例の動作の他の一部を示す図解図である。It is an illustration figure which shows the other part of operation | movement of 1st Example. 第1実施例の動作のその他の一部を示す図解図である。It is an illustration figure which shows a part of other operation | movement of 1st Example. 第1実施例の動作のさらにその他の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of 1st Example further. 第1実施例の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of 1st Example. 第1実施例の動作の他の一部を示すフロー図である。It is a flowchart which shows another part of operation | movement of 1st Example. 第1実施例の動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of 1st Example. 第1実施例の動作のさらにその他の一部を示すフロー図である。It is a flowchart which shows a part of others of operation | movement of 1st Example. 第2実施例の動作の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of 2nd Example. 第2実施例の動作の他の一部を示す図解図である。It is an illustration figure which shows the other part of operation | movement of 2nd Example. 第2実施例のその他の動作の一部を示す図解図である。It is an illustration figure which shows a part of other operation | movement of 2nd Example. 第2実施例の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of 2nd Example. 第2実施例の動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of 2nd Example. 第2実施例の動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of 2nd Example. 第2実施例のさらにその他の動作の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of 2nd Example.

符号の説明Explanation of symbols

10…監視カメラシステム
12…監視カメラ
14…ハードディスクレコーダ
18…動き検出回路
20…CPU
28…JPEG2000コーデック
36…フラッシュメモリ
DESCRIPTION OF SYMBOLS 10 ... Surveillance camera system 12 ... Surveillance camera 14 ... Hard disk recorder 18 ... Motion detection circuit 20 ... CPU
28 ... JPEG2000 codec 36 ... Flash memory

Claims (6)

被写界像を形成する複数の部分画像のうち動的被写体の被写体像を含む第1部分画像を第1圧縮率で圧縮し、前記複数の部分画像のうち前記第1部分画像と異なる第2部分画像を前記第1圧縮率よりも高い第2圧縮率で圧縮する画像圧縮装置において、
前記動的被写体の移動履歴に基づいて、前記移動履歴を形成する複数の第1部分画像の各領域を合成することによって前記第1部分画像の位置およびサイズの少なくとも一方を当該第1部分画像の領域が前記移動履歴を形成する複数の第1部分画像の領域を含むように変更する変更手段を備えることを特徴とする、画像圧縮装置。
A first partial image including a subject image of a dynamic subject among a plurality of partial images forming a scene image is compressed at a first compression rate, and a second different from the first partial image among the plurality of partial images. In an image compression apparatus for compressing a partial image at a second compression rate higher than the first compression rate,
Based on the movement history of the dynamic subject, by combining the areas of the plurality of first partial images forming the movement history, at least one of the position and the size of the first partial image is determined. An image compression apparatus comprising: changing means for changing an area so as to include areas of a plurality of first partial images forming the movement history .
前記被写界像の輝度変化に基づいて前記動的被写体を検出する検出手段、および
前記検出手段の検出結果に基づいて前記移動履歴を作成する作成手段をさらに備える、請求項1記載の画像圧縮装置。
The image compression according to claim 1, further comprising: a detecting unit that detects the dynamic subject based on a luminance change of the object scene image; and a generating unit that generates the movement history based on a detection result of the detecting unit. apparatus.
前記検出手段は第1時間ごとに前記動的被写体を検出し、
前記作成手段は前記第1時間よりも長い第2時間ごとに前記移動履歴を作成する、請求項2記載の画像圧縮装置。
The detecting means detects the dynamic subject every first time,
The image compression apparatus according to claim 2, wherein the creation unit creates the movement history every second time longer than the first time.
前記変更手段は前記第2時間よりも長い第3時間に相当する移動履歴に基づいて、前記移動履歴を形成する複数の第1部分画像の各領域を合成することによって前記第1部分画像の前記位置およびサイズの少なくとも一方を当該第1部分画像の領域が前記移動履歴を形成する複数の第1部分画像の領域を含むように変更する、請求項3記載の画像圧縮装置。 Said changing means based on the movement history corresponding to the longer third time than the second time, said first partial image by combining the respective areas of the plurality of first partial images forming the moving history The image compression apparatus according to claim 3, wherein at least one of the position and the size is changed so that the area of the first partial image includes a plurality of areas of the first partial images forming the movement history . 前記移動履歴に基づいて前記動的被写体の移動先である移動先部分画像を予測する予測手段をさらに備え、
前記変更手段は前記移動履歴と前記予測手段の予測結果とに基づいて、前記移動履歴を形成する複数の第1部分画像の領域および前記移動先部分画像の領域を合成することによって前記第1部分画像の前記位置および画像サイズの少なくとも一方を当該第1部分画像の領域が前記移動履歴を形成する複数の第1部分画像の領域および前記移動先部分画像の領域を含むように変更する、請求項1ないし4のいずれかに記載の画像圧縮装置。
A prediction unit that predicts a destination partial image that is a destination of the dynamic subject based on the movement history;
Said changing means on the basis of the prediction result of the prediction means and the movement history, the first portion by combining the region and the region of the movement destination partial image of the plurality of first partial images forming the moving history The at least one of the position and the image size of the image is changed so that the region of the first partial image includes a plurality of regions of the first partial image and the region of the destination partial image that form the movement history. The image compression apparatus according to any one of 1 to 4.
被写界像を形成する複数の部分画像のうち動的被写体の被写体像を含む第1部分画像を第1圧縮率で圧縮し、前記複数の部分画像のうち前記第1部分画像と異なる第2部分画像を前記第1圧縮率よりも高い第2圧縮率で圧縮する画像圧縮装置のプロセッサに、
前記動的被写体の移動履歴に基づいて、前記移動履歴を形成する複数の第1部分画像の領域を合成することによって前記第1部分画像の位置およびサイズの少なくとも一方を当該第1部分画像の領域が前記移動履歴を形成する複数の第1部分画像の領域を含むように変更する変更ステップを実行させることを特徴とする、画像圧縮プログラム。
A first partial image including a subject image of a dynamic subject among a plurality of partial images forming a scene image is compressed at a first compression rate, and a second different from the first partial image among the plurality of partial images. A processor of an image compression apparatus for compressing a partial image at a second compression rate higher than the first compression rate ;
Based on the movement history of the dynamic object, a region of at least one said first partial image of the position and size of the first partial image by combining a region of the plurality of first partial images forming the moving history An image compression program that executes a changing step of changing to include a plurality of first partial image areas forming the movement history .
JP2004283423A 2004-09-21 2004-09-29 Image compression device Expired - Fee Related JP4241562B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004283423A JP4241562B2 (en) 2004-09-29 2004-09-29 Image compression device
US11/227,173 US7542613B2 (en) 2004-09-21 2005-09-16 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004283423A JP4241562B2 (en) 2004-09-29 2004-09-29 Image compression device

Publications (2)

Publication Number Publication Date
JP2006101075A JP2006101075A (en) 2006-04-13
JP4241562B2 true JP4241562B2 (en) 2009-03-18

Family

ID=36240485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004283423A Expired - Fee Related JP4241562B2 (en) 2004-09-21 2004-09-29 Image compression device

Country Status (1)

Country Link
JP (1) JP4241562B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009540636A (en) * 2006-06-09 2009-11-19 トムソン ライセンシング Method and apparatus for adaptively determining a bit budget for encoding a video picture
JP2009246917A (en) * 2008-04-01 2009-10-22 Hitachi Ltd Video display device, and video processing apparatus
JP2009253581A (en) * 2008-04-04 2009-10-29 Fujifilm Corp Image processing apparatus, image processing method, and program
JP5131980B2 (en) * 2008-07-03 2013-01-30 パナソニック株式会社 Image decoding / display device
JP6016332B2 (en) * 2011-05-12 2016-10-26 キヤノン株式会社 Image processing apparatus and image processing method
EP3029937B1 (en) 2014-12-03 2016-11-16 Axis AB Method and encoder for video encoding of a sequence of frames
JP6758977B2 (en) * 2016-07-22 2020-09-23 キヤノン株式会社 Image processing equipment, image processing methods and programs

Also Published As

Publication number Publication date
JP2006101075A (en) 2006-04-13

Similar Documents

Publication Publication Date Title
US7542613B2 (en) Image processing apparatus
US7421134B2 (en) Image processing apparatus and method for moving object-adaptive compression
US20100245540A1 (en) Image processing apparatus, control method thereof, and program
US9071806B2 (en) Reproducing apparatus
US20150281573A1 (en) Imaging apparatus and control method thereof
US20160119576A1 (en) Image processing apparatus and image processing method
JP4938615B2 (en) Video recording / playback device
JP4241562B2 (en) Image compression device
JP2005086734A (en) Image recorder
KR100564186B1 (en) Electronic camera
JP4641515B2 (en) Image reproducing apparatus and image reproducing method
JP4390671B2 (en) Image processing device
KR100452097B1 (en) Image data storing method using a change detection of image data
JPH11168685A (en) Image processing method
JP2010237911A (en) Electronic apparatus
JP4262913B2 (en) Image processing device
JP2006238041A (en) Video camera
JP2010062905A (en) Imaging device and program
JP3851149B2 (en) Image processing device
JP2006135824A (en) Monitoring image processor
JP2006345217A (en) Image processing apparatus
JP6159150B2 (en) Image processing apparatus, control method therefor, and program
JP2003125385A (en) Image processing unit
JP4767201B2 (en) Image playback device
JP4863675B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081031

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: 20081125

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081222

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4241562

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees