[go: up one dir, main page]

JP2019062267A - Imaging device, control method for imaging device and program - Google Patents

Imaging device, control method for imaging device and program Download PDF

Info

Publication number
JP2019062267A
JP2019062267A JP2017183370A JP2017183370A JP2019062267A JP 2019062267 A JP2019062267 A JP 2019062267A JP 2017183370 A JP2017183370 A JP 2017183370A JP 2017183370 A JP2017183370 A JP 2017183370A JP 2019062267 A JP2019062267 A JP 2019062267A
Authority
JP
Japan
Prior art keywords
image
compressed image
moving object
compression
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017183370A
Other languages
Japanese (ja)
Inventor
隆二 永池
Ryuji Nagaike
隆二 永池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017183370A priority Critical patent/JP2019062267A/en
Publication of JP2019062267A publication Critical patent/JP2019062267A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

【課題】画像配信の遅延を低減しつつ、画像圧縮を適切に行うことのできる撮像装置を提供する。【解決手段】撮像装置は、被写体を撮像して撮像画像を取得する撮像手段と、撮像手段により撮像された撮像画像中の動体を検知する検知手段と、撮像手段により取得された撮像画像を圧縮して圧縮画像を生成する圧縮手段と、圧縮手段により生成された圧縮画像をネットワークを介して外部装置へ配信する配信手段と、圧縮画像を外部装置へ配信中でない場合、検知手段により動体が検知された領域である動体領域を第1のモードで圧縮し、撮像画像中の動体領域以外の背景領域を前記第1のモードと異なる第2のモードで圧縮するよう、圧縮手段を制御して圧縮画像を生成させる制御手段とを備える。【選択図】図3Kind Code: A1 To provide an imaging apparatus capable of appropriately compressing an image while reducing delay in image distribution. Kind Code: A1 An image capturing device includes image capturing means for capturing an image of a subject to obtain a captured image, detection means for detecting a moving object in the captured image captured by the image capturing means, and compression of the captured image obtained by the image capturing means. Compressing means for generating a compressed image by means of compression; Distribution means for distributing the compressed image generated by the compression means to an external device via a network; Compressing by controlling the compression means so as to compress the moving object area, which is the area that has been captured, in a first mode, and compress the background area other than the moving object area in the captured image in a second mode different from the first mode. and control means for generating an image. [Selection drawing] Fig. 3

Description

本発明は、撮像装置、撮像装置の制御方法およびプログラムに関する。   The present invention relates to an imaging device, a control method of an imaging device, and a program.

撮像された動画をネットワークを介して配信するネットワークカメラでは、動画を圧縮して録画するとともに外部装置へ配信することができる。このような動画圧縮方式には、H.264/AVC(Advanced Video Coding)やH.265/HEVC(High Efficiency Video Coding)等の規格がある。これらの規格によれば、画像中の特定の領域に対して符号量(量子化パラメータ:Q値)を指定することができる。   A network camera that delivers a captured moving image via a network can compress and record the moving image and can distribute it to an external device. Such video compression methods include H. H.264 / AVC (Advanced Video Coding) and H.264. There are standards such as H.265 / HEVC (High Efficiency Video Coding). According to these standards, it is possible to specify a code amount (quantization parameter: Q value) for a specific area in an image.

このようなネットワークカメラを監視に応用したネットワーク監視カメラは、実装する記憶装置の記憶容量が限られる一方、無制限に撮像を続けなければならないため、撮像された動画を保存する記憶容量が圧迫される。こうした記憶容量の圧迫を回避するためには動画の圧縮率を高めて圧縮符号量を小さくする必要があるが、一方で圧縮に起因する画像品質劣化は監視目的達成のため回避しなければならず、両者は矛盾する要請となる。
特許文献1は、複数のカメラで生成された映像データのそれぞれに対して、所望の画質のビットレートとなるように量子化パラメータを設定する監視カメラシステムを開示する。
具体的には、特許文献1の監視カメラシステムは、動きが発生している領域があるか否かを判断し、動きが全く発生していない場合は、各カメラに対して最低ビットレートで映像符号化を行うよう量子化パラメータを制御する。一方、1台以上のカメラにおいて動きが発生している場合は、最も顔認識度が高かったカメラの映像データに対して、設定された参照画質評価値の画質となるビットレートになるように量子化パラメータの値(Q値)を更新する。特許文献1記載の技術によれば、動きのある領域には被写体認識を行うのに十分な符号量が割り当てられるようにQ値設定して高画質を担保し、一方、背景領域は符号量を抑制して高圧縮することができる。
A network surveillance camera that applies such a network camera to surveillance has limited storage capacity of the storage device mounted, but has to continue imaging indefinitely, which squeezes storage capacity for storing captured moving images . In order to avoid such compression of storage capacity, it is necessary to increase the compression ratio of moving images and reduce the amount of compression code, but on the other hand, image quality deterioration due to compression must be avoided to achieve the monitoring purpose. , Both are contradictory requests.
Patent Document 1 discloses a surveillance camera system which sets quantization parameters so as to obtain a desired image quality bit rate for each of video data generated by a plurality of cameras.
Specifically, the monitoring camera system of Patent Document 1 determines whether or not there is an area in which movement occurs, and when no movement occurs, video at the lowest bit rate for each camera Control quantization parameters to perform encoding. On the other hand, when motion occurs in one or more cameras, quantum is performed so that the bit rate of the image quality of the set reference image quality evaluation value is obtained for the video data of the camera with the highest face recognition degree. Update the value (Q value) of the conversion parameter. According to the technique described in Patent Document 1, the Q value is set to ensure that a code amount sufficient for subject recognition is allocated to a moving region, to ensure high image quality, while the background region uses a code amount. It can be suppressed and highly compressed.

特開2010−279004号公報JP, 2010-279004, A

しかしながら、上記のような監視カメラシステムにおいては、画像中の動きを抽出するため、複数の画像フレームを用いて、画像フレーム間で動きを検出しなければならない。このため、被写体を撮像してから動きが検出された領域(動体領域)と背景領域とを異なる圧縮率で圧縮して圧縮動画を生成するまでに複数の画像フレーム分の遅延が生じる。
とりわけ、ネットワーク監視カメラはライブ監視に用いられるケースもあるため、ライブ監視画像のストリーム配信に遅延があると、配信先においてリアルタイムでの状況監視が困難になるおそれがある。例えば、監視カメラ側で監視状況を解析してその時点の動画を内蔵の記憶装置に保存するとともに、リモートの監視者へイベントを通報する場合、イベントを通報された監視者がライブ配信される動画を確認するまでにタイムラグが生じてしまう。
However, in the surveillance camera system as described above, in order to extract motion in an image, motion must be detected between image frames using a plurality of image frames. For this reason, a delay corresponding to a plurality of image frames occurs until the compressed moving image is generated by compressing the area (moving body area) in which the motion is detected and the background area after imaging the subject at different compression rates.
In particular, since there are cases where a network surveillance camera is used for live surveillance, there is a risk that real-time situation surveillance at the delivery destination may become difficult if there is a delay in streaming the live surveillance image. For example, when the monitoring camera side analyzes the monitoring situation and stores the moving image at that time in the built-in storage device and reports the event to the remote monitoring person, the moving image of the monitoring person notified of the event is delivered live There will be a time lag before confirming the

発明は上記課題に鑑みてなされたものであり、その目的は、画像配信の遅延を低減しつつ、画像圧縮を適切に行うことの可能な撮像装置、撮像装置の制御方法およびプログラムを提供することにある。   The present invention has been made in view of the above problems, and an object thereof is to provide an imaging apparatus capable of appropriately performing image compression while reducing delay in image delivery, and a control method and program for the imaging apparatus. It is in.

上記課題を解決するため、本発明に係る撮像装置のある態様によれば、被写体を撮像して撮像画像を取得する撮像手段と、前記撮像手段により撮像された前記撮像画像中の動体を検知する検知手段と、前記撮像手段により取得された前記撮像画像を圧縮して圧縮画像を生成する圧縮手段と、前記圧縮手段により生成された前記圧縮画像をネットワークを介して外部装置へ配信する配信手段と、前記圧縮画像を前記外部装置へ配信中でない場合、前記検知手段により前記動体が検知された領域である動体領域を第1のモードで圧縮し、前記撮像画像中の前記動体領域以外の背景領域を前記第1のモードと異なる第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる制御手段を備える撮像装置が提供される。   In order to solve the above problems, according to an aspect of an imaging device according to the present invention, an imaging means for imaging a subject and acquiring a captured image, and a moving body in the captured image captured by the imaging means Detection means, compression means for compressing the captured image acquired by the imaging means to generate a compressed image, distribution means for distributing the compressed image generated by the compression means to an external device via a network When the compressed image is not being delivered to the external device, a moving body area, which is an area where the moving body is detected by the detecting means, is compressed in a first mode, and a background area other than the moving body area in the captured image There is provided an imaging apparatus comprising control means for controlling the compression means to generate the compressed image so as to compress in a second mode different from the first mode.

本発明によれば、画像配信の遅延を低減しつつ、画像圧縮を適切に行うことができる。   According to the present invention, it is possible to appropriately perform image compression while reducing delay in image distribution.

本発明の各実施形態に係るネットワーク監視カメラシステムのネットワーク構成の一例を示す図。BRIEF DESCRIPTION OF THE DRAWINGS The figure which shows an example of the network configuration of the network surveillance camera system which concerns on each embodiment of this invention. 監視画像中で動体領域と背景領域に異なる圧縮率を設定する処理を説明する図。The figure which demonstrates the process which sets a different compression rate to a moving body area | region and a background area | region in a monitoring image. 実施形態1に係るネットワーク監視カメラのハードウエア構成および機能構成の一例を示す図。FIG. 2 is a diagram showing an example of a hardware configuration and a functional configuration of the network surveillance camera according to the first embodiment. 実施形態1に係る管理者端末およびサーバ装置のハードウエア構成の一例を示す図。FIG. 2 is a view showing an example of the hardware configuration of an administrator terminal and a server apparatus according to the first embodiment. 画像中の動体検知から動画圧縮までの遅延を説明する図。The figure explaining the delay from the moving body detection in an image to a moving image compression. 実施形態1において動体領域情報を参照する圧縮符号化を説明する図。FIG. 7 is a diagram for explaining compression coding that refers to moving body region information in the first embodiment. 実施形態1において動体領域情報を参照しない圧縮符号化を説明する図。FIG. 7 is a diagram for explaining compression encoding without referring to moving body region information in the first embodiment. 実施形態1に係る圧縮符号化切替処理の処理手順の一例を示すフローチャート。6 is a flowchart illustrating an example of a processing procedure of compression coding switching processing according to the first embodiment. 実施形態3に係る圧縮符号化切替処理の処理手順の一例を示すフローチャート。12 is a flowchart illustrating an example of a processing procedure of compression coding switching processing according to the third embodiment. 実施形態4に係るネットワーク監視カメラのハードウエア構成および機能構成の一例を示す図。FIG. 14 is a diagram showing an example of a hardware configuration and a functional configuration of a network surveillance camera according to a fourth embodiment. 実施形態4において動体領域情報を参照する圧縮符号化を説明する図。FIG. 14 is a diagram for explaining compression coding that refers to moving body region information in the fourth embodiment. 実施形態4において動体領域情報を参照しない圧縮符号化を説明する図。FIG. 16 is a diagram for explaining compression encoding without referring to moving body region information in the fourth embodiment. 実施形態4に係る圧縮符号化切替処理の処理手順の一例を示す図。FIG. 18 is a view showing an example of the processing procedure of the compression encoding switching process according to the fourth embodiment. 実施形態5に係るネットワーク監視カメラのハードウエア構成および機能構成の一例を示す図。FIG. 14 is a diagram showing an example of a hardware configuration and a functional configuration of a network surveillance camera according to a fifth embodiment. 実施形態5において動体領域情報を参照する圧縮符号化を説明する図。FIG. 16 is a diagram for explaining compression coding that refers to moving body region information in the fifth embodiment. 実施形態5において図15より少ない数の画像フレームを参照する圧縮符号化を説明する図。FIG. 16 is a view for explaining compression coding which refers to a smaller number of image frames in FIG. 15 in the fifth embodiment. 実施形態5に係る動体検知設定切替処理の処理手順の一例を示すフローチャート。16 is a flowchart illustrating an example of a processing procedure of moving object detection setting switching processing according to the fifth embodiment. 実施形態6に係る圧縮符号化切替処理の処理手順の一例を示す図。FIG. 18 is a view showing an example of the processing procedure of the compression encoding switching process according to the sixth embodiment.

以下、添付図面を参照して、本発明を実施するための実施形態について詳細に説明する。なお、以下に説明する実施形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正または変更されるべきものであり、本発明は以下の実施形態に限定されるものではない。また、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, an embodiment for carrying out the present invention will be described in detail with reference to the attached drawings. The embodiment described below is an example as a realization means of the present invention, and should be appropriately corrected or changed according to the configuration of the apparatus to which the present invention is applied and various conditions. It is not limited to the embodiment. Moreover, not all combinations of the features described in the present embodiment are essential to the solution means of the present invention.

(実施形態1)
本実施形態は、画像中の動体を検知し、動体が検知された領域は十分な符号量となるような圧縮率を、動体が検知されない領域には削減された符号量となるような圧縮率を設定して画像を圧縮符号化することができる。そして、本実施形態においては、圧縮画像を外部装置へ配信中であれば、動体が検知された領域の情報を参照することなく、画像全体を圧縮符号化する。これにより、ネットワークカメラの画像配信における遅延が短縮化されるとともに、配信中でない限り、動体が検知された領域の画質を維持しつつ背景領域には高圧縮率を適用した適切な圧縮符号化が実現される。
以下、画像中で動体が検知された領域を「動体領域」と、動体が検知されない領域すなわち動体領域以外の領域を「背景領域」という。また、圧縮符号化後の符号量を「圧縮符号量」という。動体領域に十分な圧縮符号量を与えるためには動体領域に低い圧縮率を設定し、背景領域に削減された圧縮符号量を与えるためには背景領域に動体領域より高い圧縮率を設定する。これらの圧縮率の設定は、量子化パラメータ(Q値)を調整することで行う。なお、Q値は、量子化パラメータ値(Quantization Parameter Value)の略称である。
なお、以下、本実施形態では、ネットワークカメラを監視に応用する場合を例として説明するが、本実施形態はこの場合に限定されず、他の画像配信用途にも適用可能である。
(Embodiment 1)
In this embodiment, a moving object in an image is detected, and a compression ratio such that an area where the moving object is detected has a sufficient code amount, and a code amount where the code amount is reduced to an area where the moving object is not detected Can be set to compress and encode the image. Then, in the present embodiment, if a compressed image is being delivered to an external device, the entire image is compressed and encoded without referring to the information of the area in which the moving object is detected. As a result, the delay in image delivery of the network camera is reduced, and unless compression is in progress, proper compression coding is applied with a high compression rate applied to the background area while maintaining the image quality of the area where moving objects are detected. To be realized.
Hereinafter, an area where a moving object is detected in an image is referred to as a “moving object area”, and an area where no moving object is detected, ie, an area other than the moving object area is referred to as a “background area”. Further, the code amount after compression coding is referred to as "compression code amount". In order to give a sufficient amount of compression code to the moving object area, a low compression rate is set to the moving object area, and to give a reduced compression code amount to the background area, a higher compression rate is set to the background area than to the moving object area. These compression rates are set by adjusting the quantization parameter (Q value). The Q value is an abbreviation of Quantization Parameter Value.
In the following, although the case of applying a network camera to monitoring is described as an example in the present embodiment, the present embodiment is not limited to this case, and can be applied to other image distribution applications.

<本実施形態のネットワーク構成>
図1は、本実施形態に係るネットワーク監視カメラシステムのネットワーク構成の一例を示す図である。
図1のネットワーク監視カメラシステムは、ネットワークカメラ1と、管理者端末装置2と、サーバ3と、NAS(Network Attached Storage)4とを備える。ネットワークカメラ1は、管理者端末装置2、サーバ3、およびNAS4と、それぞれネットワーク5を介して接続され、相互に情報の授受を行う。ネットワークカメラ1はさらに、ルータ6を経由しインターネット等のネットワーク7を介してクラウドサーバ8に接続されてよい。
<Network Configuration of this Embodiment>
FIG. 1 is a diagram showing an example of a network configuration of a network surveillance camera system according to the present embodiment.
The network surveillance camera system of FIG. 1 includes a network camera 1, an administrator terminal device 2, a server 3, and a NAS (Network Attached Storage) 4. The network camera 1 is connected to the administrator terminal device 2, the server 3, and the NAS 4 via the network 5 to mutually exchange information. The network camera 1 may be further connected to the cloud server 8 via the router 6 and the network 7 such as the Internet.

ネットワークカメラ1は、ローカルの不揮発性記憶装置として、例えば内蔵フラッシュメモリ、外付けのUSBメモリやハードディスク(HDD)14、またはSDカード等を備え、これらの記憶装置に撮像画像を録画することができる。
ネットワークカメラ1はまた、外部の不揮発性記憶装置として、サーバ3、NAS4、およびクラウドサーバ8へ撮像画像をネットワークを介してアップロードし、各記憶装置においてアップロードされた画像ファイルを録画することができる(矢印1A)。撮像画像をアップロードするには、例えば、HTTP(Hyper Text Transfer Protocol)、FTP(File Transfer Protocol)などのプロトコルを使用することができる。アップロードされた画像ファイルは、外部のサーバ3、クラウドサーバ8等の画像収集装置や管理者端末装置2等で適宜再生されてよい。
以下、ネットワークカメラ1のローカル不揮発性記憶装置への録画を、「エッジ録画」または単に「録画」といい、外部装置での録画のためのアップロードを、「アップロード録画」または単に「アップロード」という。
ネットワークカメラ1において、録画およびアップロードは、同時に実行されてもよく、後述するように外部からの設定コマンドにより録画先、録画開始トリガおよび録画時間等が適宜設定されてもよい。
The network camera 1 includes, for example, a built-in flash memory, an external USB memory, a hard disk (HDD) 14 or an SD card as a local non-volatile storage device, and can capture a captured image on these storage devices. .
The network camera 1 can also upload a captured image to the server 3, the NAS 4, and the cloud server 8 via the network as an external nonvolatile storage device, and record the uploaded image file in each storage device ( Arrow 1A). For uploading the captured image, for example, a protocol such as HTTP (Hyper Text Transfer Protocol) or FTP (File Transfer Protocol) can be used. The uploaded image file may be appropriately reproduced by an external server 3, an image collection device such as a cloud server 8 or the administrator terminal device 2.
Hereinafter, recording to the local nonvolatile storage device of the network camera 1 is referred to as “edge recording” or simply “recording”, and uploading for recording on an external device is referred to as “upload recording” or simply “upload”.
In the network camera 1, recording and uploading may be performed simultaneously, and as described later, a recording destination, a recording start trigger, a recording time, and the like may be appropriately set by an external setting command.

ネットワークカメラ1は、監視対象を撮像した撮像画像を解析して、予め設定されたイベントの発生を検知した場合に、イベント発生時点の動画を録画(エッジ録画)するとともに、管理者端末装置2へイベントの発生を通知することができる(矢印2A)。イベントの発生を通知された管理者端末装置2は、ネットワークカメラ1で撮像されたライブ画像をチェックするため、ライブ画像ストリームの配信を要求する。画像配信の要求に応答して、ネットワークカメラ1は、管理者端末2へ要求された画像をライブ画像ストリームとして配信する(矢印3A)。このライブ画像ストリームを配信するには、例えばRTSP(Real Time Streaming Protocol)などのプロトコルを使用することができる。
管理者端末装置2は、ストリーミング配信されるライブ画像を同時に再生することができる。監視対象の被写体の動作を迅速に確認するためには、ネットワークカメラ1から圧縮された撮像画像が遅滞なく迅速に配信されなければならない。本実施形態では、このようなライブ画像ストリームの配信中に、動体領域の情報を参照することなく撮像画像を迅速に圧縮符号化することで、画像配信要求への応答性を高めている。
The network camera 1 analyzes the captured image obtained by capturing the monitoring target, and when detecting the occurrence of a preset event, records the moving image at the time of the event occurrence (edge recording), and The occurrence of an event can be notified (arrow 2A). The administrator terminal device 2 notified of the occurrence of the event requests delivery of a live image stream in order to check a live image captured by the network camera 1. In response to the image delivery request, the network camera 1 delivers the requested image to the administrator terminal 2 as a live image stream (arrow 3A). To deliver this live image stream, a protocol such as Real Time Streaming Protocol (RTSP) can be used, for example.
The administrator terminal device 2 can simultaneously reproduce the live image to be streamed. In order to quickly confirm the motion of the subject to be monitored, the captured image compressed from the network camera 1 must be delivered promptly without delay. In the present embodiment, the responsiveness to the image distribution request is enhanced by rapidly compressing and encoding the captured image without referring to the information of the moving body region during the distribution of such a live image stream.

図2は、監視画像中で動体領域と背景領域に異なる圧縮率を設定する処理を説明する図である。
図2に示すように、ネットワークカメラ1が撮像する画像201は、動体が検知された動体領域202と、動体が検知されない背景領域203を含む。動体領域202は、監視対象を正確に検出および認識することのできるような高画質を維持するため、低圧縮率を適用して圧縮符号化される。一方、監視対象の検出に寄与しない背景領域203は、ローカルの不揮発性記憶装置の記憶容量を圧迫しないよう、動体領域202より高圧縮率を適用して圧縮符号化される。本実施形態において、画像を配信中でない間、動体領域202と背景領域203には異なる圧縮率が適用される。
FIG. 2 is a diagram for explaining processing of setting different compression rates for a moving object area and a background area in a monitoring image.
As shown in FIG. 2, the image 201 captured by the network camera 1 includes a moving body area 202 in which a moving body is detected and a background area 203 in which a moving body is not detected. The motion region 202 is compression encoded by applying a low compression ratio to maintain high image quality such that the monitoring target can be accurately detected and recognized. On the other hand, the background area 203 which does not contribute to detection of the monitoring target is compressed and encoded by applying a higher compression rate than the moving body area 202 so as not to compress the storage capacity of the local nonvolatile storage device. In the present embodiment, different compression rates are applied to the moving object area 202 and the background area 203 while the image is not being distributed.

<ネットワークカメラ1の構成>
図3は、本実施形態に係るネットワークカメラ1のハードウエア構成および機能構成の一例を示す図である。
図3のネットワークカメラ1は、撮像部11、通信部12、制御部13、記憶部14、動体検知部15、および圧縮符号化部16を備える。
撮像部11は、レンズ111、撮像素子112、および現像処理部113を備える。レンズ11は、撮像される被写体からの入射光を撮像素子112に結像するための光学レンズであり、入射光を撮像素子112に集光させる。撮像素子112は、光を画像信号に変換する素子であり、例えば、CCD、CMOS(Complementary Metal Oxide Semiconductor)等で構成することができる。撮像素子112は、変換された画像信号(映像信号)を、現像処理部113へ出力する。
現像処理部113は、撮像素子112から入力された画像信号に現像処理を施し、現像処理された画像信号を記憶部14へ記憶させるとともに、圧縮符号化部16へ出力する。この現像処理は、色、明るさ、コントラスト、彩度等の画像修正、画像サイズ変換、画像のデータ形式変換等の画像処理を含むがこれらに限定されない。
なお、図3のネットワークカメラ1から撮像部11を除いたコンポーネントにより、エンコーダ(符号化装置)を構成してもよい。
<Configuration of Network Camera 1>
FIG. 3 is a diagram showing an example of a hardware configuration and a functional configuration of the network camera 1 according to the present embodiment.
The network camera 1 in FIG. 3 includes an imaging unit 11, a communication unit 12, a control unit 13, a storage unit 14, a moving object detection unit 15, and a compression encoding unit 16.
The imaging unit 11 includes a lens 111, an imaging element 112, and a development processing unit 113. The lens 11 is an optical lens for focusing incident light from a subject to be imaged on the imaging element 112, and focuses incident light on the imaging element 112. The imaging element 112 is an element that converts light into an image signal, and can be configured by, for example, a CCD, a complementary metal oxide semiconductor (CMOS), or the like. The imaging element 112 outputs the converted image signal (video signal) to the development processing unit 113.
The development processing unit 113 performs development processing on the image signal input from the imaging element 112, stores the image signal subjected to development processing in the storage unit 14, and outputs the image signal to the compression encoding unit 16. This development process includes, but is not limited to, image correction such as color, brightness, contrast, saturation, etc., image size conversion, data format conversion of an image, and the like.
Note that an encoder (coding apparatus) may be configured by components obtained by removing the imaging unit 11 from the network camera 1 in FIG. 3.

通信部12は、ネットワークカメラ1と、管理者端末装置2、サーバ3、NAS4を含む外部装置との間の有線LANの通信インタフェースを提供する。この有線LANとしては、例えば、Ethernet(登録商標)等の通信規格に準拠する複数のルータ、スイッチ、ケーブル等の構成が挙げられる。あるいは、通信部12は、無線通信により外部装置と通信してよい。この無線通信は、Bluetooth(登録商標)、ZigBee(登録商標)、UWB(Ultra Wide Band)等の無線PAN(Personal Area Network)を含む。また、Wi−Fi(Wireless Fidelity)(登録商標)等の無線LAN(Local Area Network)や、WiMAX(登録商標)等の無線MAN(Metropolitan Area Network)を含む。さらに、LTE/3G等の無線WAN(Wide Area Network)を含む。なお、通信部12は外部機器と通信を可能であればよく、通信の規格、規模、構成は上記に限定されない。   The communication unit 12 provides a wired LAN communication interface between the network camera 1 and an external device including the administrator terminal device 2, the server 3, and the NAS 4. As this wired LAN, for example, the configuration of a plurality of routers, switches, cables, etc. conforming to a communication standard such as Ethernet (registered trademark) can be mentioned. Alternatively, the communication unit 12 may communicate with an external device by wireless communication. The wireless communication includes a wireless personal area network (PAN) such as Bluetooth (registered trademark), ZigBee (registered trademark), UWB (Ultra Wide Band), and the like. Also, a wireless local area network (LAN) such as Wi-Fi (Wireless Fidelity) (registered trademark) or a wireless MAN (Metropolitan Area Network) such as WiMAX (registered trademark) is included. Furthermore, it includes wireless WAN (Wide Area Network) such as LTE / 3G. The communication unit 12 may communicate with an external device, and the communication standard, size, and configuration are not limited to the above.

制御部13は、ネットワークカメラ1の各部における演算や論理判断等の処理を行う演算処理部として機能するCPUであり、システムバスを介して各構成部(11、12、14、15、および16)を制御する。ネットワークカメラ1の機能や処理は、制御部13が記憶部14に格納されているプログラムを読み出し、このプログラムを実行することにより実現されてもよい。
記憶部14は、内蔵メモリとしてフラッシュメモリ、EEPROM(Electrically Erasable Programmable Read Only Memory)等の電気的に消去可能な不揮発性メモリで構成される。記憶部14は、さらに、制御部13の主メモリ、ワークメモリとして機能する揮発性メモリで構成されるRAMを含む。記憶部14はまた、外付けのフラッシュメモリ/カード、着脱可能なHDD、USBメモリ等の不揮発性メモリで構成される記憶媒体等を含んでもよい。この記憶部14には、制御部13が使用する各種情報が記録される。また、記憶部14は、撮像部11により撮像され、圧縮符号化部16により圧縮された撮像画像を記憶することにより圧縮画像を録画(エッジ録画)することができる。
The control unit 13 is a CPU that functions as an arithmetic processing unit that performs processing such as calculation and logical determination in each unit of the network camera 1, and each component (11, 12, 14, 15, and 16) via a system bus Control. The functions and processing of the network camera 1 may be realized by the control unit 13 reading a program stored in the storage unit 14 and executing this program.
The storage unit 14 includes an electrically erasable nonvolatile memory such as a flash memory or an EEPROM (Electrically Erasable Programmable Read Only Memory) as a built-in memory. The storage unit 14 further includes a RAM constituted by a main memory of the control unit 13 and a volatile memory functioning as a work memory. The storage unit 14 may also include a storage medium configured with a non-volatile memory such as an external flash memory / card, a removable HDD, or a USB memory. Various information used by the control unit 13 is recorded in the storage unit 14. In addition, the storage unit 14 can record a compressed image (edge recording) by storing the captured image which is imaged by the imaging unit 11 and compressed by the compression encoding unit 16.

動体検知部15は、現像処理部113が記憶部14の画像フレームバッファに出力した複数の画像フレームから、撮像画像中の動体を検知し、動体が検知された領域の情報である動体領域情報を圧縮符号化部16に出力する。動体検知部15から入力される動体領域情報を参照することにより、圧縮符号化部16は撮像画像中の動体領域と背景領域とで圧縮率を変更することができる。なお、動体領域情報とは、例えば動体領域202のような画像内の動体領域の位置およびサイズを示す情報である。
圧縮符号化部16は、現像処理部113が記憶部14の画像フレームバッファに出力した画像信号を圧縮符号化して、圧縮画像を生成する。圧縮符号化部16は、生成された圧縮画像を記憶部14に記憶するとともに通信部12へ供給する。
The moving body detection unit 15 detects a moving body in the captured image from the plurality of image frames output from the development processing unit 113 to the image frame buffer of the storage unit 14 and detects moving body region information which is information of a region in which the moving body is detected. It is output to the compression encoding unit 16. By referring to the moving body area information input from the moving body detecting unit 15, the compression encoding unit 16 can change the compression ratio between the moving body area and the background area in the captured image. The moving body area information is information indicating the position and size of a moving body area in an image such as the moving body area 202, for example.
The compression encoding unit 16 compresses and encodes the image signal output from the development processing unit 113 to the image frame buffer of the storage unit 14 to generate a compressed image. The compression encoding unit 16 stores the generated compressed image in the storage unit 14 and supplies the storage unit 14 to the communication unit 12.

<管理者端末装置2のハードウエア構成>
図4は、管理者端末装置2のハードウエア構成の一例を示す図である。
図4に示すように、管理者端末装置2は、CPU21と、ROM22と、RAM23と、外部メモリ24と、入力部25と、表示部26と、通信I/F27と、システムバス28とを備える。CPU21は、管理者端末装置2における動作を統括的に制御するものであり、システムバス28を介して、各構成部(21〜27)を制御する。ROM22は、CPU21が処理を実行するために必要な制御プログラム等を記憶する不揮発性メモリである。なお、当該プログラムは、外部メモリ24や着脱可能な記憶媒体(不図示)に記憶されていてもよい。RAM23は、CPU21の主メモリ、ワークエリア等として機能する。すなわち、CPU21は、処理の実行に際してROM22から必要なプログラム等をRAM23にロードし、当該プログラム等を実行することで各種の機能動作を実現する。
<Hardware Configuration of Administrator Terminal Device 2>
FIG. 4 is a diagram showing an example of the hardware configuration of the administrator terminal device 2.
As shown in FIG. 4, the administrator terminal device 2 includes a CPU 21, a ROM 22, a RAM 23, an external memory 24, an input unit 25, a display unit 26, a communication I / F 27, and a system bus 28. . The CPU 21 centrally controls the operation in the administrator terminal device 2 and controls each component (21 to 27) via the system bus 28. The ROM 22 is a non-volatile memory that stores control programs and the like necessary for the CPU 21 to execute processing. The program may be stored in the external memory 24 or a removable storage medium (not shown). The RAM 23 functions as a main memory, a work area, and the like of the CPU 21. That is, the CPU 21 loads a necessary program and the like from the ROM 22 to the RAM 23 at the time of execution of processing, and realizes various functional operations by executing the program and the like.

外部メモリ24は、例えば、CPU21がプログラムを用いた処理を行う際に必要な各種データや各種情報等を記憶している。また、外部メモリ24には、例えば、CPU21がプログラム等を用いた処理を行うことにより得られた各種データや各種情報等が記憶される。入力部25は、キーボードやマウス等のポインティングデバイスにより構成される。表示部26は、液晶ディスプレイ(LCD)等のモニタにより構成される。通信I/F27は、管理者端末装置2とネットワークカメラ1、サーバ3、NAS4、およびクラウドサーバ8との通信を制御するインタフェースである。
図4に示す管理者端末装置2の各要素のうち少なくとも一部の機能は、CPU21がプログラムを実行することで実現することができる。ただし、図2に示す管理者端末装置2の各要素のうち少なくとも一部が専用のハードウェアとして動作するようにしてもよい。この場合、専用のハードウェアは、CPU21の制御に基づいて動作する。
なお、図1に示すサーバ3、クラウドサーバ8も、同様のハードウエア構成で実現することができる。
The external memory 24 stores, for example, various data, various information, and the like necessary when the CPU 21 performs a process using a program. The external memory 24 stores, for example, various data, various information, and the like obtained by the CPU 21 performing processing using a program or the like. The input unit 25 is configured of a pointing device such as a keyboard or a mouse. The display unit 26 is configured of a monitor such as a liquid crystal display (LCD). The communication I / F 27 is an interface that controls communication between the administrator terminal device 2 and the network camera 1, the server 3, the NAS 4, and the cloud server 8.
The functions of at least a part of the elements of the administrator terminal device 2 shown in FIG. 4 can be realized by the CPU 21 executing a program. However, at least a part of each element of the administrator terminal device 2 shown in FIG. 2 may operate as dedicated hardware. In this case, dedicated hardware operates based on the control of the CPU 21.
The server 3 and the cloud server 8 shown in FIG. 1 can also be realized with the same hardware configuration.

<ネットワークカメラ1の動作概要>
図3に戻り、ネットワークカメラ1に入力される各種コマンドや設定情報と、これら各種コマンドや設定情報に従った、ネットワークカメラ1の各部の動作を説明する。制御部13は、通信部12に外部装置からネットワークを介して入力される各種コマンドや設定情報に従って、ネットワークカメラ1の各部の動作を制御する。
なお、本実施形態において、「配信」とは、別段の定義がない限り、ライブ画像のストリーム配信を含むものとする。
<Operation Overview of Network Camera 1>
Returning to FIG. 3, the operation of each part of the network camera 1 according to various commands and setting information input to the network camera 1 and these various commands and setting information will be described. The control unit 13 controls the operation of each unit of the network camera 1 in accordance with various commands and setting information input to the communication unit 12 from the external device via the network.
In the present embodiment, “delivery” includes streaming of live images unless otherwise defined.

具体的には、通信部12は、ネットワークと接続し、管理者端末装置2等の外部装置から、撮影サイズや、単位時間当たりの画像フレーム数を示すフレームレートを設定する撮像に関する撮像設定コマンドを受信する。通信部12はまた、撮像された被写体像に対する露出制御およびホワイトバランスなど現像処理に関する現像設定コマンドを受信する。撮像設定コマンドおよび現像設定コマンドを、以下、「画像設定コマンド」という。
制御部13は、受信された画像設定コマンドを解析し、解析結果に従って撮像素子112および現像処理部113の動作を制御する。
解析された画像設定コマンドは、同時に、ネットワークカメラ1の画像処理を設定する画像設定情報として記憶部14に記憶される。ネットワークカメラ1の起動時に、記憶部14に記憶された画像設定情報に従って、制御部13から撮像素子112および現像処理部113に撮像や現像の設定が行われる。現像処理部113は、画像設定情報に従って現像処理を行った画像を、圧縮符号化部16へ供給する。
Specifically, the communication unit 12 is connected to the network, and from an external device such as the administrator terminal device 2, an imaging setting command related to imaging for setting the imaging size and the frame rate indicating the number of image frames per unit time To receive. The communication unit 12 also receives a development setting command related to development processing such as exposure control and white balance for a captured subject image. The imaging setting command and the development setting command are hereinafter referred to as "image setting command".
The control unit 13 analyzes the received image setting command, and controls the operation of the imaging device 112 and the development processing unit 113 according to the analysis result.
The analyzed image setting command is simultaneously stored in the storage unit 14 as image setting information for setting the image processing of the network camera 1. At the time of activation of the network camera 1, in accordance with the image setting information stored in the storage unit 14, settings of imaging and development are performed from the control unit 13 to the imaging element 112 and the development processing unit 113. The development processing unit 113 supplies the image subjected to the development processing according to the image setting information to the compression encoding unit 16.

通信部12はまた、管理者端末装置2等の外部装置から、配信される画像の圧縮符号量等を設定する配信画像に関する配信画像設定コマンドや、圧縮画像の配信開始・停止コマンドを受信する。制御部13は、配信画像設定コマンドを解析し、解析結果に従って圧縮符号化部16の動作を制御する。
解析された配信画像設定コマンドは、同時に、ネットワークカメラ1の配信画像の圧縮符号化処理を設定する配信画像設定情報として記憶部14に記憶される。ネットワークカメラ1の起動時に、記憶部14に記憶された配信画像設定情報に従って、制御部13から圧縮符号化部16に配信画像の圧縮符号化の設定が行われる。
制御部13はまた、配信開始コマンドを解析し、圧縮画像の配信が指示された場合、圧縮符号化部16が圧縮符号化した圧縮画像を、配信を要求した管理者端末装置2等の外部装置へ送信開始する。同様に、制御部13は、配信停止コマンドを解析し、圧縮画像が配信中であれば圧縮符号化部16が圧縮符号化した圧縮画像の管理者端末装置2等の外部装置への送信を停止する。
The communication unit 12 also receives, from an external device such as the administrator terminal device 2, a delivery image setting command related to a delivery image for setting a compression code amount of an image to be delivered, and a delivery start / stop command for delivery of compressed images. The control unit 13 analyzes the distribution image setting command, and controls the operation of the compression encoding unit 16 according to the analysis result.
The analyzed distribution image setting command is simultaneously stored in the storage unit 14 as distribution image setting information for setting the compression encoding process of the distribution image of the network camera 1. When the network camera 1 is activated, the control unit 13 sets the compression encoding of the distribution image to the compression encoding unit 16 according to the distribution image setting information stored in the storage unit 14.
The control unit 13 also analyzes the distribution start command, and when distribution of the compressed image is instructed, the external device such as the administrator terminal device 2 that has requested distribution of the compressed image compression-coded by the compression encoding unit 16 Start sending to. Similarly, the control unit 13 analyzes the distribution stop command, and if the compressed image is being distributed, transmission of the compressed image compressed and encoded by the compression encoding unit 16 to an external device such as the administrator terminal device 2 is stopped. Do.

通信部12はまた、管理者端末装置2等の外部装置から、撮像画像中で検知すべき動体を設定する動体検知設定コマンドを受信する。この動体検知の設定コマンドは、持ち去りや置き去り、いたずら、侵入・通過といった動きの種類(動体検知の種類)を限定して検知する、または動きの種類を限定せず撮影する被写体が動けば検知する等の設定を含む。制御部13は、動体検知設定コマンドを解析し、解析結果に従って動体検知部15の動作を制御する。
解析された動体検知設定コマンドは、同時に、ネットワークカメラ1の動体検知処理を設定する動体検知設定情報として記憶部14に記憶される。ネットワークカメラ1の起動時に、記憶部14に記憶された動体検知設定情報に従って、制御部13から動体検知部15に動体検知の設定が行われる。
The communication unit 12 also receives a moving object detection setting command for setting a moving object to be detected in the captured image from an external device such as the administrator terminal device 2 or the like. This setting command for moving object detection is limited detection of the type of movement (type of moving object detection) such as removal or leaving, mischief, intrusion, or passage, or detection if the subject to be photographed moves without restriction on the type of movement. Includes settings such as The control unit 13 analyzes the moving object detection setting command, and controls the operation of the moving object detection unit 15 according to the analysis result.
The analyzed moving object detection setting command is simultaneously stored in the storage unit 14 as moving object detection setting information for setting moving object detection processing of the network camera 1. At the time of activation of the network camera 1, in accordance with the moving body detection setting information stored in the storage unit 14, setting of moving body detection is performed from the control unit 13 to the moving body detection unit 15.

この動体検知設定コマンドには、動体検知種類に応じて、通信部12を介してネットワーク上に接続される画像収集装置(サーバ3、NAS4、およびクラウドサーバ8等)に圧縮画像を所定時間アップロードする設定を含む。ここで「アップロード」とは、通信部12を介して画像収集装置であるアップロード先へ、制御部13が符号圧縮部16により圧縮された圧縮画像を通信部12を介してアップロードすることをいう。アップロードされた圧縮画像は、画像収集装置において録画または再生可能である。
また、動体検知種類に応じて行うアップロードとは、動体検知部15から動体検知情報を通知された制御部13が、例えば、動体検知種類Aのときは圧縮画像をアップロードし、検知種類Bのときは圧縮画像をアップロードしない、等の設定を含む。制御部13は、入力されたアップロード設定を含む動体検知設定コマンドを、動体検知種類に応じたアップロード設定情報として記憶部14に記憶する。ネットワークカメラ1の起動時に、記憶部14に記憶された動体検知種類に応じたアップロード設定情報に従って、制御部13から動体検知部15にアップロードの設定が行われる。
In this moving object detection setting command, the compressed image is uploaded for a predetermined time to an image collection device (server 3, NAS 4, cloud server 8 or the like) connected to the network via the communication unit 12 according to the moving object detection type. Includes settings. Here, “upload” means that the control unit 13 uploads the compressed image compressed by the code compression unit 16 via the communication unit 12 to the upload destination that is the image collecting apparatus via the communication unit 12. The uploaded compressed image can be recorded or played back on the image acquisition device.
In addition, the upload performed according to the moving object detection type means that the control unit 13 notified of the moving object detection information from the moving object detection unit 15 uploads a compressed image in the case of the moving object detection type A and in the case of the detection type B, for example. Includes settings such as not uploading a compressed image. The control unit 13 stores the moving object detection setting command including the input upload setting in the storage unit 14 as upload setting information according to the moving object detection type. At the time of activation of the network camera 1, the setting of upload is performed from the control unit 13 to the moving object detection unit 15 according to the upload setting information corresponding to the moving object detection type stored in the storage unit 14.

同様に、動体検知設定コマンドには、動体検知種類に応じて、記憶部14に圧縮画像を所定時間録画する設定を含む。制御部13は、入力された動体検知設定コマンドを解析し、解析結果に従って記憶部14への圧縮画像の記憶動作を制御する。
解析された録画設定を含む動体検知設定コマンドは、同時に、動体検知種類に応じた録画設定情報として記憶部14に記憶する。ネットワークカメラ1の起動時に、記憶部14に記憶された動体検知種類に応じた録画設定情報に従って、制御部13は記憶部14への録画設定を復元する。なお記憶部14の録画先は、ネットワークカメラ1内蔵のフラッシュメモリ等の不揮発性メモリに限定されず、外付けのフラッシュメモリ/カード、HDD等の着脱可能な媒体であってよい。
Similarly, the moving object detection setting command includes a setting for recording the compressed image in the storage unit 14 for a predetermined time according to the moving object detection type. The control unit 13 analyzes the input moving body detection setting command, and controls the storage operation of the compressed image in the storage unit 14 according to the analysis result.
The moving object detection setting command including the analyzed recording setting is simultaneously stored in the storage unit 14 as recording setting information according to the moving object detection type. When the network camera 1 is activated, the control unit 13 restores the recording setting to the storage unit 14 according to the recording setting information corresponding to the moving object detection type stored in the storage unit 14. The recording destination of the storage unit 14 is not limited to a non-volatile memory such as a flash memory built in the network camera 1 and may be a removable medium such as an external flash memory / card, HDD or the like.

<動体検知および圧縮符号化処理詳細>
図5〜図7を参照して、本実施形態において動体検知部15が実行する撮像画像中の動体検知処理および圧縮符号化部16が実行する撮像画像の圧縮符号化処理を詳細に説明する。
図5は、画像中の動体検知から動画圧縮までの遅延を説明する図である。
ネットワークカメラ1の記憶部14が備える画像を一時格納するための揮発性の画像バッファメモリ141には、現像処理部113により現像処理された、動画を構成する複数の画像フレーム1〜5が順次格納される。動体検知部15は、画像バッファメモリ141に格納された画像フレーム1〜5を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域(動き)を検知する。動画から動体を検出するために、動体権利部15は、複数の画像フレームの間で背景差分やフレーム間差分を算出する。
このため、圧縮符号化部16は、画像中の動体領域に対して背景領域より低い圧縮率を適用しようとすると、動体検知部15が複数の画像フレームを参照して動体領域情報を算出するのを待たなければならない。図5では、一例として動体検知部15が最初の画像フレーム1を参照してから圧縮符号化部16が画像圧縮を開始するまで4フレーム分遅延することが模式的に示されている。
<Details of motion detection and compression coding processing>
The moving object detection process in the captured image performed by the moving object detection unit 15 and the compression encoding process of the captured image performed by the compression encoding unit 16 in the present embodiment will be described in detail with reference to FIGS.
FIG. 5 is a diagram for explaining a delay from detection of a moving object in an image to compression of a moving image.
A volatile image buffer memory 141 for temporarily storing an image included in the storage unit 14 of the network camera 1 sequentially stores a plurality of image frames 1 to 5 constituting a moving image, which are developed by the development processing unit 113. Be done. The moving body detection unit 15 sequentially detects the moving body region (motion) in the image based on the moving body detection setting information set by the control unit 13 with reference to the image frames 1 to 5 stored in the image buffer memory 141 sequentially. . In order to detect a moving object from a moving image, the moving object right unit 15 calculates a background difference or an inter-frame difference between a plurality of image frames.
Therefore, when the compression encoding unit 16 tries to apply a compression rate lower than that of the background region to the moving object region in the image, the moving object detection unit 15 calculates moving object region information by referring to a plurality of image frames. I have to wait. FIG. 5 schematically shows that, as an example, the moving object detection unit 15 delays by 4 frames from the first image frame 1 until the compression encoding unit 16 starts image compression.

本実施形態では、圧縮符号化部16は、動体検知部15が出力する動体領域情報を参照して撮像画像を圧縮する第1のモードと、動体領域情報を参照せずに撮像画像を圧縮する第2のモードを有する。
第1のモードを示す図6を参照して、バッファメモリ141には、現像処理部113により現像処理された複数の画像フレーム1〜5が順次格納される。動体検知部15は、バッファメモリ141に格納された画像フレーム1〜5を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。
また、動体検知部15は、動きが検知された領域の情報である動体領域情報5´を圧縮符号化部16に出力する。圧縮符号化部16に設定される配信画像設定情報では、動体領域にはQ値を小さくすることにより圧縮符号量を十分に与え、動きのない背景領域にはQ値を動体領域のQ値より大きくすることにより圧縮符号量を削減する設定がされている。このため、圧縮符号化部16は、動体検知部15が出力する動体領域情報5´を参照して動体領域と背景領域を識別する。そして圧縮符号化部16は、動体領域が高画質を維持するよう低い圧縮率を用いて動体領域を圧縮し、背景領域の記憶容量を削減するよう高い圧縮率を用いて背景領域を圧縮するよう、画像フレーム5を圧縮する。図6に示す第1のモードでは、圧縮符号化部16が動体領域情報を参照して撮像画像を圧縮するのに4フレーム分遅延する。
In the present embodiment, the compression encoding unit 16 compresses the captured image without referring to the moving object region information and a first mode in which the captured image is compressed with reference to the moving object region information output by the moving object detection unit 15. It has a second mode.
Referring to FIG. 6 showing the first mode, a plurality of image frames 1 to 5 developed by development processing unit 113 are sequentially stored in buffer memory 141. The moving body detection unit 15 sequentially detects the moving body region in the image based on the moving body detection setting information set by the control unit 13 with reference to the image frames 1 to 5 stored in the buffer memory 141 sequentially.
In addition, the moving body detection unit 15 outputs moving body area information 5 ′, which is information of the area in which the movement is detected, to the compression encoding unit 16. In the distribution image setting information set in the compression encoding unit 16, the compression code amount is sufficiently given to the moving object area by reducing the Q value, and the Q value is calculated from the Q value of the moving object area in the non-moving background area. By increasing the size, it is set to reduce the amount of compression code. For this reason, the compression encoding unit 16 refers to the moving body area information 5 ′ output from the moving body detection unit 15 to identify the moving body area and the background area. Then, the compression encoding unit 16 compresses the moving area using a low compression rate so as to maintain high image quality in the moving body area, and compresses the background area using a high compression rate so as to reduce the storage capacity of the background area. , Compress image frame 5. In the first mode shown in FIG. 6, the compression encoding unit 16 delays by 4 frames to compress a captured image with reference to moving body region information.

なお、動体検知部15が生成する動体領域は、背景領域を内包してよい。
また、第1のモードにおいて圧縮符号化部16が実行する画像圧縮における圧縮符号量の設定は、背景領域に対する圧縮率が動体領域に対する圧縮率より相対的に高ければよい。例えば、背景領域に対して動体領域の圧縮符号量を大きくするよう動体領域の圧縮率を低く変更してもよく、動体領域に対して背景領域の圧縮符号量を小さくするよう背景領域の圧縮率を高く変更してもよい。
なお、図6に示す動体検知部15が参照する画像フレーム数は一例であり、動体検知部15が撮像画像中の動きを検知するための処理時間をバッファ内の画像フレーム数として表現したものである。
In addition, the moving body area | region which the moving body detection part 15 produces | generates may include a background area | region.
In addition, the compression code amount setting in the image compression performed by the compression encoding unit 16 in the first mode may be such that the compression ratio for the background area is relatively higher than the compression ratio for the moving object area. For example, the compression ratio of the moving object region may be changed to a low value so as to increase the compression coding amount of the moving object region relative to the background region. You may change it high.
The number of image frames referred to by the moving body detection unit 15 shown in FIG. 6 is an example, and the processing time for the moving body detection unit 15 to detect the movement in the captured image is expressed as the number of image frames in the buffer. is there.

第2のモードを示す図7を参照して、バッファメモリ141には、現像処理部113により現像処理された複数の画像フレーム1〜5が順次格納される。動体検知部15は、バッファメモリ141に格納された画像フレーム1〜5を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。
また、動体検知部15は、動きが検知された領域の情報である動体領域情報5´を圧縮符号化部16に出力する。しかしながら、第2のモードにおいては、圧縮符号化部16は、動体検知部15が出力する動体領域情報5´を参照せず、また動体領域と背景領域に異なる圧縮率を設定させる配信画像設定情報も参照しない。このため、圧縮符号化部16は、動体領域と背景領域を区別することなく、バッファメモリ141の画像フレーム1全体を同一のQ値をを用いて圧縮する。なお、この際に用いられるQ値は、録画用の不揮発性記憶装置の空き容量等に応じて任意の値を取ることができるが、一例として第1のモードにおける2つのQ値の間の値であってよい。また、第2のモードにおいて、制御部13は、動体検知部15が動体領域情報を生成する処理を停止するよう制御してもよい。
図7に示す第2のモードでは、圧縮符号化部16が動体領域情報を参照せず、すなわち動体検知部15による動体領域情報の算出を待つことなく撮像画像を圧縮できる。このため、現像処理部113が出力する画像フレーム1をすぐ読み出すことができ、図6に示す遅延は発生しない。このように、第2のモードでは、第1のモードに対して、撮像処理部113が撮像画像を現像処理してから圧縮符号化部16が撮像画像を圧縮するまでの遅延が短縮する。
Referring to FIG. 7 showing the second mode, buffer memory 141 sequentially stores a plurality of image frames 1 to 5 developed by development processing unit 113. The moving body detection unit 15 sequentially detects the moving body region in the image based on the moving body detection setting information set by the control unit 13 with reference to the image frames 1 to 5 stored in the buffer memory 141 sequentially.
In addition, the moving body detection unit 15 outputs moving body area information 5 ′, which is information of the area in which the movement is detected, to the compression encoding unit 16. However, in the second mode, the compression encoding unit 16 does not refer to the moving subject region information 5 ′ output from the moving subject detection unit 15, and the delivery image setting information for setting different compression rates in the moving subject region and the background region. Also do not refer. Therefore, the compression encoding unit 16 compresses the entire image frame 1 of the buffer memory 141 using the same Q value without distinguishing between the moving object region and the background region. Although the Q value used at this time can take an arbitrary value according to the free space of the non-volatile storage device for recording, etc., the value between two Q values in the first mode as an example It may be. In the second mode, the control unit 13 may control the moving object detection unit 15 to stop the process of generating moving object area information.
In the second mode shown in FIG. 7, the captured image can be compressed without reference to moving body area information, that is, without waiting for the moving body detection unit 15 to calculate moving body area information. Therefore, the image frame 1 output from the development processing unit 113 can be read immediately, and the delay shown in FIG. 6 does not occur. As described above, in the second mode, the delay from when the imaging processing unit 113 develops the captured image to when the compression encoding unit 16 compresses the captured image is shortened with respect to the first mode.

<圧縮符号化切替処理の処理フローチャート>
図8は、本実施形態に係る圧縮符号化切替処理の処理手順の一例を示すフローチャートである。図8に示す処理は、例えば、ネットワークカメラ1を含むネットワーク監視カメラシステムが起動された時点から開始されるが、図8に示す処理の開始タイミングは上記に限定されない。ネットワークカメラ1は、制御部13を構成するCPUが必要なプログラムを記憶部14から読み出して実行することにより、図8に示す処理を実行することができる。ただし、図3に示す各要素のうち少なくとも一部が専用のハードウエアとして動作することで図8の処理が実現されるようにしてもよい。この場合、専用のハードウエアは、CPUの制御に基づいて動作する。
<Processing flowchart of compression coding switching process>
FIG. 8 is a flowchart showing an example of the processing procedure of the compression coding switching process according to the present embodiment. The process shown in FIG. 8 is started, for example, from the time when the network surveillance camera system including the network camera 1 is activated, but the start timing of the process shown in FIG. 8 is not limited to the above. The network camera 1 can execute the processing shown in FIG. 8 by reading out a program required by the CPU constituting the control unit 13 from the storage unit 14 and executing the program. However, the process of FIG. 8 may be realized by operating at least a part of the respective elements shown in FIG. 3 as dedicated hardware. In this case, dedicated hardware operates under control of the CPU.

S81で、制御部13は、ネットワークを介して圧縮画像を配信中であるか否かを判定する。具体的には、制御部13は、通信部12を介して管理者端末装置2等の外部装置から、配信開始コマンドを受信し、かつ配信停止コマンドをまだ受信していない場合、圧縮画像を配信中であると判定する。圧縮画像を配信中であると判定した場合(S81:Y)、S82へ進み、圧縮画像を配信中でないと判定した場合(S81:N)S83へ進む。   In step S81, the control unit 13 determines whether the compressed image is being distributed via the network. Specifically, the control unit 13 distributes the compressed image when the distribution start command is received from the external device such as the administrator terminal device 2 via the communication unit 12 and the distribution stop command has not been received yet. Determined to be medium. If it is determined that the compressed image is being distributed (S81: Y), the process proceeds to S82, and if it is determined that the compressed image is not being distributed (S81: N), the process proceeds to S83.

S81で圧縮画像を配信中であると判定した場合、S82で、制御部13は、圧縮符号化部16が、動体検知部15から出力される動体領域情報を参照せずに撮像画像を圧縮するよう、圧縮符号化部16を制御する(第2のモード)。
一方、S81で圧縮画像を配信中でないと判定した場合、S83で、制御部13は、圧縮符号化部16が、動体検知部15から出力される動体領域情報を参照して撮像画像を圧縮するよう、圧縮符号化部16を制御する(第1のモード)。なお、S83では、ネットワークカメラ1の記憶部14に圧縮画像が録画中である場合であって、かつ圧縮画像を配信中でないと判定した場合に、圧縮符号部16が、動体領域情報を参照して撮像画像を圧縮するようにしてもよい。
これにより、ネットワークカメラ1が圧縮画像を外部装置へ配信中である場合には、圧縮符号化部16は動体領域情報を参照せずに撮像画像を圧縮するので、圧縮画像の配信遅延が低減される。一方、ネットワークカメラ1が圧縮画像を配信中でない場合には、圧縮符号化部16は動体領域情報を参照して撮像画像中の動体領域に対する圧縮率を低下させるので、監視すべき動体領域の画質を維持することができる。このような配信遅延低減は、特にライブストリーム配信の場合に有効であるが、外部装置へのアップロードによる配信の場合にも本実施形態は適用可能である。
When it is determined in S81 that the compressed image is being distributed, in S82, the control encoding unit 16 compresses the captured image without referring to the moving object region information output from the moving object detecting unit 15 in S82. Control the compression encoding unit 16 (second mode).
On the other hand, when it is determined in S81 that the compressed image is not being distributed, in S83, in the control unit 13, the compression encoding unit 16 compresses the captured image with reference to the moving body region information output from the moving body detection unit 15. Control the compression encoding unit 16 (first mode). In S83, if the compressed image is being recorded in the storage unit 14 of the network camera 1 and it is determined that the compressed image is not being distributed, the compression encoding unit 16 refers to the moving object region information. The captured image may be compressed.
As a result, when the network camera 1 is delivering the compressed image to the external device, the compression encoding unit 16 compresses the captured image without referring to the moving object region information, so that the delivery delay of the compressed image is reduced. Ru. On the other hand, when the network camera 1 is not delivering the compressed image, the compression encoding unit 16 refers to the moving body area information to reduce the compression rate for the moving body area in the captured image, so the image quality of the moving body area to be monitored Can be maintained. Such delivery delay reduction is particularly effective in the case of live stream delivery, but the present embodiment is also applicable to delivery by uploading to an external device.

なお、制御部13が、配信開始コマンドを受信して、圧縮符号化部16の動体検知領域情報に基づく符号圧縮化動作を切り換える際に、所定時間の圧縮画像を外部の画像収集装置へアップロード中または記憶部14に録画中の場合がある。この場合、制御部13は、所定時間の圧縮画像のアップロードまたは録画を開始するとき、および終了するときに、図8の処理を開始する。すなわち、圧縮符号化部16の動体領域情報の参照設定をオンおよびオフへとそれぞれ変更し、所定時間の外部装置へのアップロードまたは録画を継続する。この場合、所定時間のアップロードまたは録画処理中に、圧縮符号量が変更されることはないので所定時間分の圧縮画像を1つのコンテナ(ファイル)として、アップロードまたは録画処理を継続することができる。
あるいは、制御部13が、圧縮画像をアップロード中または録画中であっても、配信開始・停止コマンドを解析して、圧縮符号化部16の動体領域情報を参照するか否かを変更する場合がある。この場合、アップロード中または録画中の圧縮画像は、動体領域情報の参照設定を変更したタイミングで、別々のコンテナとして分割してもよい。
When the control unit 13 receives the distribution start command and switches the code compression operation based on the moving object detection area information of the compression coding unit 16, the compressed image of a predetermined time is being uploaded to an external image collection device Alternatively, recording may occur in the storage unit 14. In this case, the control unit 13 starts the process of FIG. 8 when starting or ending uploading or recording of a compressed image for a predetermined time. That is, the reference setting of the moving object region information of the compression encoding unit 16 is changed to ON and OFF, respectively, and uploading or recording to an external device for a predetermined time is continued. In this case, since the compression code amount is not changed during the upload or recording process for a predetermined time, the upload or recording process can be continued with the compressed image for the predetermined time as one container (file).
Alternatively, the control unit 13 analyzes the distribution start / stop command even while uploading or recording a compressed image, and changes whether to reference moving object area information of the compression encoding unit 16 or not. is there. In this case, the compressed image being uploaded or recorded may be divided as separate containers at the timing when the reference setting of the moving object region information is changed.

また、圧縮画像を配信中であるか否かにかかわらず、動体領域情報を参照するか否かの動体領域参照設定を有効にする、動体領域参照設定コマンドを設けてもよい。この動体領域参照設定コマンドが通信部12より外部装置から受信されると、制御部13が解析し、圧縮画像を配信中であっても動的に動体領域参照をオフからオンに切り替えて、監視すべき動体領域の画質を維持することができる。
さらに、動体検知部15へ動体検知設定情報を設定し、動体検知種類に応じたアップロード相当の配信を開始する拡張配信開始コマンド(第2の配信開始コマンド)を設けてもよい。
In addition, regardless of whether or not the compressed image is being distributed, a moving object area reference setting command may be provided to enable moving object area reference setting whether to refer to the moving object area information. When this moving body area reference setting command is received from the external device from the communication unit 12, the control unit 13 analyzes and dynamically switches the moving body area reference from off to on even while distributing the compressed image, and monitoring It is possible to maintain the image quality of the moving object area to be.
Furthermore, the moving body detection setting information may be set in the moving body detection unit 15, and an extended distribution start command (second distribution start command) may be provided to start distribution equivalent to upload according to the moving body detection type.

以上説明したように、本実施形態によれば、ネットワークカメラ1の制御部13が、圧縮画像を外部装置へ配信中か否かを配信開始・停止コマンドの受信により判定する。圧縮画像を配信中である場合には、圧縮符号化部16は、動体検知部15が出力する動体領域情報を参照することなく撮像画像を圧縮するので、圧縮画像の配信遅延が低減される。一方、圧縮画像を配信中でない場合には、圧縮符号化部16は、動体領域情報を参照して撮像画像中の動体領域が十分な圧縮符号量となるよう圧縮率を設定し、背景領域には動体領域より高い圧縮率を設定する。このため、監視すべき動体領域の画質を維持しつつ背景領域を高圧縮にして記憶容量を低減することができる。   As described above, according to the present embodiment, the control unit 13 of the network camera 1 determines whether or not the compressed image is being distributed to the external device based on the reception of the distribution start / stop command. When the compressed image is being distributed, the compression encoding unit 16 compresses the captured image without referring to the moving body area information output by the moving body detecting unit 15, so that the distribution delay of the compressed image is reduced. On the other hand, when the compressed image is not being distributed, the compression encoding unit 16 refers to the moving body area information to set the compression ratio so that the moving body area in the captured image has a sufficient compression code amount. Sets a higher compression rate than the moving body area. Therefore, the storage area can be reduced by highly compressing the background area while maintaining the image quality of the moving object area to be monitored.

(実施形態2)
以下、実施形態2を、上記の実施形態1と異なる点についてのみ詳細に説明する。本実施形態は、外部装置からネットワークカメラ1に圧縮画像の配信を要求する配信開始・停止コマンドに、表示用および録画用の配信設定を設ける。圧縮符号化部16が動体領域情報を参照するか否かの切替処理において、配信開始・停止コマンドが録画用の配信設定であった場合には、圧縮符号化部16は、動体領域情報を参照する。これにより、圧縮画像の配信が、リアルタイム性が比較的高くない配信であった場合に、圧縮符号化部16に動体領域情報を参照させることで、監視すべき動体領域の画質維持を優先させることが容易となる。
Second Embodiment
Hereinafter, the second embodiment will be described in detail only with respect to differences from the first embodiment. In this embodiment, the distribution start / stop command for requesting distribution of the compressed image from the external device to the network camera 1 is provided with distribution settings for display and recording. In the switching process whether or not the compression encoding unit 16 refers to moving object area information, when the distribution start / stop command is the distribution setting for recording, the compression encoding unit 16 refers to moving object area information. Do. In this way, when the delivery of the compressed image is a delivery in which the real-time property is not relatively high, priority is given to maintaining the image quality of the moving object area to be monitored by making the compression encoding unit 16 refer to the moving object area information. Becomes easy.

本実施形態に係るネットワークカメラ1の構成は図3に示す実施形態1と同様である。
本実施形態においては、通信部12が受信する配信開始・停止コマンドには、表示用および録画用の配信設定が設けられ、表示用または録画用のいずれかの値が設定されている。
図3を参照して、通信部12は、管理者端末装置2等の外部装置から、配信開始・停止のコマンドを受信する。受信された配信開始・停止コマンドには、表示用および録画用のいずれかの値が設定されている。
制御部13は、録画用の配信開始コマンドを解析すると、圧縮符号化部16に動体領域情報を参照して撮像画像を圧縮させ、通信部12に圧縮画像を録画用の配信を要求した外部装置へ送信開始させる。また、制御部13は、配信停止コマンドを解析し、録画用の配信停止コマンドであった場合、圧縮符号化部16に動体領域情報を参照させないように設定し、通信部12が圧縮画像を外部装置へ送信するのを停止する。
一方、表示用に設定された配信開始・停止コマンドを受信した場合のネットワークカメラ1の動作は、実施形態1と同様である。
The configuration of the network camera 1 according to the present embodiment is the same as that of the first embodiment shown in FIG.
In the present embodiment, the distribution start / stop command received by the communication unit 12 is provided with distribution settings for display and for recording, and either display or for recording is set.
Referring to FIG. 3, communication unit 12 receives a distribution start / stop command from an external device such as administrator terminal device 2. In the received distribution start / stop command, one of values for display and for recording is set.
When analyzing the distribution start command for recording, the control unit 13 causes the compression encoding unit 16 to compress the captured image with reference to the moving body area information, and the external device requests the communication unit 12 to distribute the compressed image. Start sending to Further, the control unit 13 analyzes the distribution stop command, and if it is a distribution stop command for recording, the compression encoding unit 16 is set so as not to refer to the moving object area information, and the communication unit 12 externally outputs the compressed image. Stop sending to the device.
On the other hand, the operation of the network camera 1 when the distribution start / stop command set for display is received is the same as that of the first embodiment.

なお、通信部12が受信する動体検知設定コマンドには、動体検知種類に応じて、通信部12を介してネットワークカメラ1が接続する画像収集装置に、圧縮画像を所定時間アップロードする設定を備えてもよい。同様に、動体検知設定コマンドに、動体検知種類に応じて、記憶部14に圧縮画像を所定時間録画する設定を備えてもよい。   Note that the moving object detection setting command received by the communication unit 12 includes a setting for uploading a compressed image for a predetermined time to the image collection device connected to the network camera 1 via the communication unit 12 according to the moving object detection type. It is also good. Similarly, the moving object detection setting command may include a setting for recording the compressed image in the storage unit 14 for a predetermined time according to the moving object detection type.

次に、図8を参照して、本実施形態において制御部13が実行する動的領域情報に基づく圧縮符号化設定の切替手順を説明する。
本実施形態において、S81で、制御部13は、ネットワークを介して圧縮画像を録画用に配信中であるか、表示用に配信中であるか、または配信中でないかを判定する。具体的には、制御部13は、通信部12を介して管理者端末装置2等の外部装置から、録画用の配信開始コマンドを受信し、かつ録画用の配信停止コマンドをまだ受信していない場合、圧縮画像を録画用に配信中であると判定する。配信中でないと判定した場合、および圧縮画像を録画用に配信中であると判定した場合、S83へ進む。一方、圧縮画像を表示用に配信中であると判定した場合S82へ進む。
以降、実施形態1と同様、圧縮符号化部16は、S82で、動体検知部15が出力する動体領域情報を参照せずに撮像画像を圧縮する第2のモードを実行し、S83で、動体領域情報を参照して撮像画像を圧縮する第1のモードを実行する。
Next, with reference to FIG. 8, the switching procedure of the compression encoding setting based on the dynamic area information performed by the control unit 13 in the present embodiment will be described.
In the present embodiment, in S81, the control unit 13 determines whether the compressed image is being delivered for recording, being delivered for display, or not being delivered via the network. Specifically, the control unit 13 receives a distribution start command for recording from an external device such as the administrator terminal device 2 via the communication unit 12 and has not yet received a distribution stop command for recording. In this case, it is determined that the compressed image is being distributed for recording. If it is determined that the image is not being distributed, and if it is determined that the compressed image is being distributed for recording, the process proceeds to S83. On the other hand, when it is determined that the compressed image is being distributed for display, the process proceeds to S82.
Thereafter, as in the first embodiment, the compression encoding unit 16 executes the second mode for compressing the captured image without referring to the moving body area information output by the moving body detection unit 15 in S82, and in S83, the moving body A first mode of compressing a captured image with reference to area information is executed.

以上説明したように、本実施形態によれば、圧縮画像を外部装置へ、表示用に配信中の場合には、圧縮符号化部16は、動体検知部15が出力する動体領域情報を参照することなく撮像画像を圧縮するので、圧縮画像の配信遅延が低減される。一方、圧縮画像を録画用に配信中の場合には、配信中でない場合と同様、圧縮符号化部16は、動体領域情報を参照して撮像画像中の動体領域が十分な圧縮符号量となるよう圧縮率を設定し、背景領域には動体領域より高い圧縮率を設定する。このため、監視すべき動体領域の画質を維持しつつ背景領域を高圧縮にして記憶容量を低減することができる。
このように、本実施形態によれば、圧縮画像の配信がリアルタイム性が比較的高くない配信であった場合に、圧縮符号化部16に動体領域情報を参照させることで、監視すべき動体領域の画質維持を優先させ、監視対象の認識精度を向上させることが容易となる。
As described above, according to the present embodiment, when a compressed image is being distributed to an external device for display, the compression encoding unit 16 refers to moving body region information output by the moving body detection unit 15. Because the captured image is compressed without any delay, the delivery delay of the compressed image is reduced. On the other hand, when the compressed image is being distributed for recording, the compression encoding unit 16 refers to the moving body region information and the moving body region in the captured image has a sufficient compression code amount, as in the case of not distributing. The compression rate is set, and the compression rate higher than the moving body area is set in the background area. Therefore, the storage area can be reduced by highly compressing the background area while maintaining the image quality of the moving object area to be monitored.
As described above, according to the present embodiment, when the delivery of the compressed image is a delivery in which the real-time property is not relatively high, the moving object region to be monitored is made to refer to the moving object region information by the compression encoding unit 16 It becomes easy to prioritize the maintenance of the image quality of the above and improve the recognition accuracy of the monitoring target.

(実施形態3)
以下、図9を参照して、実施形態3を、上記の実施形態1と異なる点についてのみ詳細に説明する。本実施形態は、監視すべき動体の検知をトリガに、圧縮画像を所定時間、外部の画像収集装置へアップロード中または記憶部14へ録画中であるか否かを判断する。圧縮符号化部16が動体領域情報を参照するか否かの切替処理において、圧縮画像を外部の画像収集装置へアップロード中または記憶部へ録画中である場合には、圧縮符号化部16は、動体領域情報を参照する。監視すべき動体の検知をトリガに、圧縮画像のアップロード又は録画が開始されてから所定時間内であれば、監視すべき動体が未だ画像内に存在する可能性が高い。このような場合に、上記第1のモードを用いて圧縮符号化部16に動体領域情報を参照させることで、監視すべき動体領域の画質維持を優先させることが容易となる。
(Embodiment 3)
Hereinafter, with reference to FIG. 9, the third embodiment will be described in detail only with respect to differences from the above first embodiment. In the present embodiment, triggered by detection of a moving object to be monitored, it is determined whether or not a compressed image is being uploaded to an external image acquisition device for a predetermined time or recorded in the storage unit 14. In the switching process as to whether or not the compression encoding unit 16 refers to moving object area information, when the compressed image is being uploaded to an external image acquisition device or being recorded to a storage unit, the compression encoding unit 16 Refers to motion region information. Triggered by detection of a moving object to be monitored, within a predetermined time after upload or recording of a compressed image is started, there is a high possibility that the moving object to be monitored still exists in the image. In such a case, it is easy to give priority to maintaining the image quality of the moving object area to be monitored by making the compression encoding unit 16 refer to the moving object area information using the first mode.

本実施形態に係るネットワークカメラ1の構成は、図3に示す実施形態1と同様である。
次に、図9を参照して、本実施形態において制御部13が実行する動的領域情報に基づく圧縮符号化設定の切替手順を説明する。
S91で、制御部13は、外部の画像収集装置へのアップロードまたは記憶部14への録画が開始され、未だアップロード中または録画中であるか否かを判定する。具体的には、制御部13は、動体検知種類に応じたアップロード設定情報に基づいて、監視すべき動体を検知する。そして監視すべき動体が検知されたことをトリガに、画像収集装置への圧縮画像のアップロードが開始され、その後所定時間経過して停止していない場合、圧縮画像をアップロード中であると判定する。
The configuration of the network camera 1 according to the present embodiment is the same as that of the first embodiment shown in FIG.
Next, with reference to FIG. 9, the switching procedure of the compression encoding setting based on the dynamic area information performed by the control unit 13 in the present embodiment will be described.
In S91, the control unit 13 determines whether uploading to an external image acquisition device or recording on the storage unit 14 is started, and the uploading or recording is still in progress. Specifically, the control unit 13 detects a moving object to be monitored based on the upload setting information corresponding to the moving object detection type. Then, triggered by the detection of the moving object to be monitored, uploading of the compressed image to the image acquisition device is started, and after that, when the predetermined time has elapsed and it has not stopped, it is determined that the compressed image is being uploaded.

同様に、制御部13は、動体検知種類に応じた録画設定情報に基づいて、監視すべき動体が検知されたことをトリガに、記憶部14への圧縮画像の記憶が開始され、その後所定時間経過して停止していない場合、圧縮画像を録画中であると判定する。アップロード中または録画中でないと判定した場合、S92へ進み、アップロード中または録画中であると判定した場合、S93へ進む。なお、S91では、アップロード中であるか録画中であるかいずれか一方を判定してもよい。
以降、実施形態1と同様、圧縮符号化部16は、S92で、動体検知部15が出力する動体領域情報を参照せずに撮像画像を圧縮する第2のモードを実行し、S93で、動体領域情報を参照して撮像画像を圧縮する第1のモードを実行する。
Similarly, the control unit 13 starts storage of the compressed image in the storage unit 14 based on the detection of the moving object to be monitored based on the recording setting information corresponding to the moving object detection type, and thereafter, for a predetermined time If it does not stop after elapsed, it is determined that the compressed image is being recorded. If it is determined that uploading or recording is not in progress, the process proceeds to S92, and if it is determined that uploading or recording is in progress, the process proceeds to S93. In S91, it may be determined whether uploading or recording is in progress.
After that, as in the first embodiment, the compression encoding unit 16 executes the second mode for compressing the captured image without referring to the moving body region information output by the moving body detecting unit 15 in S92, and in S93, the moving body A first mode of compressing a captured image with reference to area information is executed.

制御部13が圧縮画像をアップロード中または録画中であるかを判定して、圧縮符号化部16の動体検知領域情報に基づく符号圧縮化動作を切り換える際に、外部装置から配信開始コマンドを受信した後、配信停止コマンドを受信していない場合がある。この場合、制御部13は、配信停止コマンドを受信するまで、圧縮符号化部16の動体領域情報の参照設定を変更しない。そして、配信停止コマンドを受信し次第、圧縮符号化部16の動体領域情報の参照設定を変更する。すなわち、圧縮画像を配信中は、圧縮画像の圧縮率を変更しない。   When the control unit 13 determines whether the compressed image is being uploaded or recorded and switches the code compression operation based on the moving object detection area information of the compression coding unit 16, the distribution start command is received from the external device After that, the delivery stop command may not have been received. In this case, the control unit 13 does not change the reference setting of the moving object area information of the compression encoding unit 16 until the distribution stop command is received. Then, as soon as the distribution stop command is received, the reference setting of the moving object area information of the compression encoding unit 16 is changed. That is, while the compressed image is being delivered, the compression rate of the compressed image is not changed.

制御部13は、配信停止コマンドを受信した後も、圧縮画像をアップロード中または録画中であれば、アップロード中または録画中の圧縮画像を、所定時間分のひとつのコンテナとして格納してもよい。あるいは、制御部13は、アップロード中または録画中の圧縮画像を、動体領域情報の参照設定を変更したタイミングで、別々のコンテナとして分割してもよい。   Even after receiving the distribution stop command, the control unit 13 may store the compressed image being uploaded or recorded as one container for a predetermined time if the compressed image is being uploaded or recorded. Alternatively, the control unit 13 may divide the compressed image being uploaded or recorded as separate containers at the timing when the reference setting of the moving object region information is changed.

逆に、圧縮画像の画像収集装置へのアップロードまたは録画が開始されてから所定時間内に、配信開始コマンドを受信した場合、制御部13は、アップロードまたは録画の所定時間経過後も、圧縮符号化部16の動的領域情報に基づく圧縮符号化設定を変更しない。制御部13は、配信開始コマンドを受信した後、圧縮符号化部16の動的領域情報に基づく圧縮符号化設定を変更すればよい。
また、本実施形態は、上記実施形態と適宜組み合わせてもよい。
Conversely, when the distribution start command is received within a predetermined time after the start of uploading or recording of the compressed image to the image acquisition device, the control unit 13 performs compression encoding even after the predetermined time of upload or recording has elapsed. The compression encoding setting based on the dynamic area information of the unit 16 is not changed. After receiving the distribution start command, the control unit 13 may change the compression encoding setting based on the dynamic region information of the compression encoding unit 16.
The present embodiment may be combined with the above embodiment as appropriate.

以上説明したように、本実施形態によれば、圧縮画像を外部の画像収集装置へアップロード中または記憶部14へ録画中でない場合には、圧縮符号化部16は、動体検知部15が出力する動体領域情報を参照することなく撮像画像を圧縮する。このため、圧縮画像の配信遅延が低減される。一方、圧縮画像を外部の画像収集装置へアップロード中または記憶部14へ録画中の場合には、圧縮符号化部16は、動体領域情報を参照して撮像画像中の動体領域が十分な圧縮符号量となるよう圧縮率を設定し、背景領域には動体領域より高い圧縮率を設定する。このため、監視すべき動体領域の画質を維持しつつ背景領域を高圧縮にして記憶容量を低減することができる。
したがって、本実施形態によれば、圧縮画像のアップロードまたは録画が開始されてから所定時間内であるため、監視すべき動体が未だ画像内に存在する可能性が高い場合に、監視すべき動体領域の画質維持を優先させることが容易となる。
As described above, according to the present embodiment, when the compressed image is being uploaded to an external image acquisition device or not being recorded to the storage unit 14, the compression encoding unit 16 outputs the moving object detection unit 15. A captured image is compressed without referring to moving body region information. Therefore, the delivery delay of the compressed image is reduced. On the other hand, when the compressed image is being uploaded to an external image acquisition device or being recorded to the storage unit 14, the compression encoding unit 16 refers to the moving object area information and compresses the sufficient moving object area in the captured image. The compression rate is set to be the amount, and the compression rate higher than the moving body area is set in the background area. Therefore, the storage area can be reduced by highly compressing the background area while maintaining the image quality of the moving object area to be monitored.
Therefore, according to the present embodiment, since it is within a predetermined time after the start of uploading or recording of the compressed image, the moving object area to be monitored when the moving object to be monitored is still likely to be present in the image. It is easy to give priority to maintaining the image quality of

(実施形態4)
以下、図10から13を参照して、実施形態4を、上記の実施形態1と異なる点についてのみ詳細に説明する。本実施形態に係るネットワークカメラ1は、記憶部14として、不揮発性メモリであるフラッシュメモリおよび揮発性メモリであるDRAMを備える。本実施形態は、撮像画像をDRAMにバッファするとともに、動体検知部15がDRAMに動体領域情報を書き込む。圧縮符号化部16は、DRAMから撮像画像を読み出して圧縮した圧縮画像を、外部装置へ配信する。したがって、DRAMにバッファされた所定時間分のアップロード用または録画用の未圧縮画像を、対応する動体領域情報を参照して圧縮符号化部16に圧縮させることができる。これにより、監視すべき動体領域の画質を維持しつつ、背景領域を高圧縮して記憶容量を低減することが容易となる。
(Embodiment 4)
Hereinafter, the fourth embodiment will be described in detail with reference to FIGS. 10 to 13 only with respect to differences from the first embodiment described above. The network camera 1 according to the present embodiment includes a flash memory, which is a non-volatile memory, and a DRAM, which is a volatile memory, as the storage unit 14. In the present embodiment, the captured image is buffered in the DRAM, and the moving object detection unit 15 writes the moving object area information in the DRAM. The compression encoding unit 16 delivers a compressed image obtained by reading out a captured image from the DRAM and compressing the image to an external device. Therefore, the uncompressed image for upload or for recording for the predetermined time buffered in the DRAM can be compressed by the compression encoding unit 16 with reference to the corresponding moving object region information. As a result, it is easy to highly compress the background area to reduce the storage capacity while maintaining the image quality of the moving object area to be monitored.

図10は、本実施形態に係るネットワークカメラ1の構成の一例を示す。
図10に示す本実施形態に係るネットワーク1は、図3に示す実施形態1と同様であるが、記憶部14が、不揮発性メモリであるフラッシュメモリ142と、揮発性メモリであるDRAM143とを含む点で相違する。なお、フラッシュメモリ、DRAMは一例であって、本実施形態の備えるメモリはこれらに限定されず、不揮発性メモリと揮発性メモリを備えるものであればよい。
FIG. 10 shows an example of the configuration of the network camera 1 according to the present embodiment.
The network 1 according to the present embodiment shown in FIG. 10 is the same as that of the first embodiment shown in FIG. 3, but the storage unit 14 includes a flash memory 142 which is a non-volatile memory and a DRAM 143 which is a volatile memory. It differs in the point. The flash memory and the DRAM are merely examples, and the memory provided in the present embodiment is not limited to these, and any memory may be used as long as it includes nonvolatile memory and volatile memory.

図10を参照して、ネットワークカメラ1に入力される各種コマンドや設定情報と、これら各種コマンドや設定情報に従った、ネットワークカメラ1の各部の動作を、実施形態1と異なる点につき説明する。
具体的には、撮像素子112は、レンズ111を介して被写体を撮像し、画像信号(映像信号)を現像処理部113へ出力する。現像処理部113は、撮像素子112から入力された画像信号に現像処理を施し、現像処理された画像を、DRAM143にバッファする。
With reference to FIG. 10, differences from the first embodiment in the operation of each unit of the network camera 1 according to various commands and setting information input to the network camera 1 and these various commands and setting information will be described.
Specifically, the imaging element 112 captures an object via the lens 111, and outputs an image signal (video signal) to the development processing unit 113. The development processing unit 113 performs development processing on the image signal input from the imaging element 112, and buffers the image subjected to development processing in the DRAM 143.

通信部12に外部装置から入力される各種コマンドは、制御部13により解析され、設定対象の各部へ設定されるとともに、フラッシュメモリ142に各種設定情報として記憶される。ネットワークカメラ1の起動時に、制御部13は、フラッシュメモリ142に記憶された各種設定情報に従って、設定対象の各部を制御する。
これらのコマンドは、撮像や現像処理等の画像生成に関する情報を設定する画像設定コマンド、配信画像の圧縮符号量等を設定する配信画像設定コマンド、配信開始・停止コマンド、検知すべき動きの種類や事象を設定する動体検知設定コマンドを含む。これらのコマンドはさらに、動体検知種類に応じて圧縮画像を所定時間アップロードする動体検知種類に応じたアップロード設定コマンド、動体検知種類に応じて圧縮画像を所定時間録画する動体検知種類に応じた録画設定コマンドを含む。
制御部13により、フラッシュメモリ142に記憶される各種設定情報は、画像設定情報、配信画像設定情報、動体検知設定情報、動体種類に応じたアップロード設定情報、および動体検知種類に応じた録画設定情報を含む。
なお、ネットワークカメラ1が備える録画先の記憶装置は、実施形態1と同様、内蔵の不揮発性メモリの他、外付けフラッシュメモリ/カード、HDD等の着脱可能な記録媒体を含む。
The various commands input from the external device to the communication unit 12 are analyzed by the control unit 13 and set in each unit to be set, and are stored in the flash memory 142 as various setting information. At the time of activation of the network camera 1, the control unit 13 controls the respective units to be set according to the various setting information stored in the flash memory 142.
These commands are an image setting command for setting information related to image generation such as imaging and development processing, a delivery image setting command for setting the compression code amount of delivery image, etc., delivery start / stop command, type of movement to be detected, It includes a moving object detection setting command to set an event. These commands further upload the compressed image for a predetermined time according to the moving object detection type, upload setting commands according to the moving object detection type, and recording settings according to the moving object detection type for recording the compressed image for a predetermined time according to the moving object detection type Contains commands.
The various setting information stored in the flash memory 142 by the control unit 13 includes image setting information, distribution image setting information, moving object detection setting information, upload setting information corresponding to the moving object type, and recording setting information corresponding to the moving object detection type. including.
The storage device of the recording destination provided in the network camera 1 includes a removable recording medium such as an external flash memory / card, an HDD, etc. as well as the built-in nonvolatile memory as in the first embodiment.

<実施形態4の動体検知および圧縮符号化処理詳細>
図11および図12を参照して、本実施形態において動体検知部15が実行する撮像画像中の動体検知処理および圧縮符号化部16が実行する撮像画像の圧縮処理を詳細に説明する。
本実施形態では、圧縮符号化部16は、上記実施形態と同様、動体検知部15が出力する動体領域情報を参照して撮像画像を圧縮する第1のモードと、動体領域情報を参照せずに撮像画像を圧縮する第2のモードを有する。また、本実施形態では、現像処理部113が出力する撮像画像および動体検知部15が出力する動体領域情報は、いずれもDRAM143にバッファされる。
<Details of Moving Object Detection and Compression Encoding Processing of Fourth Embodiment>
The moving object detection process in the captured image performed by the moving object detection unit 15 and the compression process of the captured image performed by the compression encoding unit 16 in this embodiment will be described in detail with reference to FIGS. 11 and 12.
In the present embodiment, the compression encoding unit 16 refers to the first mode in which the captured image is compressed with reference to the moving subject region information output by the moving subject detection unit 15 as in the above embodiment, and without referring to the moving subject region information. In the second mode to compress the captured image. Further, in the present embodiment, both the captured image output by the development processing unit 113 and the moving object region information output by the moving object detection unit 15 are buffered in the DRAM 143.

第1のモードを示す図11を参照して、DRAM143には、現像処理部113により現像処理された複数の画像フレーム1〜5が順次バッファされる。動体検知部15は、DRAM143にバッファされた画像フレーム1〜5を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。
また、動体検知部15は、動きが検知された領域の情報である動体領域情報5´を、DRAM143へバッファ出力する。圧縮符号化部16に設定される配信画像設定情報では、動体領域には圧縮符号量を十分に与え、動きのない背景領域には圧縮符号量を削減する設定がされている。このため、圧縮符号化部16は、DRAM143にバッファされた動体領域情報5´を参照して動体領域と背景領域を識別する。そして圧縮符号化部16は、動体領域が高画質を維持するよう低い圧縮率を用いて動体領域を圧縮し、背景領域の記憶容量を削減するよう高い圧縮率を用いて背景領域を圧縮するよう、DRAM143にバッファされた画像フレーム5を圧縮する。図11に示す第1のモードでは、圧縮符号化部16が動体領域情報を参照して撮像画像を圧縮するのに4フレーム分遅延する。
Referring to FIG. 11 showing the first mode, in DRAM 143, a plurality of image frames 1 to 5 developed by development processing unit 113 are sequentially buffered. The moving object detection unit 15 detects a moving object region in the image based on the moving object detection setting information set by the control unit 13 by sequentially referring to the image frames 1 to 5 buffered in the DRAM 143.
Also, the moving body detection unit 15 buffers and outputs moving body area information 5 ′, which is information of the area in which the movement is detected, to the DRAM 143. In the distribution image setting information set in the compression encoding unit 16, a setting is made such that a compression code amount is sufficiently given to a moving object region and a compression code amount is reduced to a background region without motion. Therefore, the compression coding unit 16 refers to the moving object region information 5 ′ buffered in the DRAM 143 to identify the moving object region and the background region. Then, the compression encoding unit 16 compresses the moving area using a low compression rate so as to maintain high image quality in the moving body area, and compresses the background area using a high compression rate so as to reduce the storage capacity of the background area. , Compresses the image frame 5 buffered in the DRAM 143. In the first mode shown in FIG. 11, the compression encoding unit 16 delays by 4 frames to compress the captured image with reference to the moving body region information.

なお、動体検知部15が生成する動体領域情報は、背景領域情報を内包してよい。
また、第1のモードにおいて圧縮符号化部16が実行する画像圧縮におけるQ値の設定は、背景領域に対する圧縮率が動体領域に対する圧縮率より相対的に高くなるようにすればよい。例えば、背景領域に対して動体領域の圧縮符号量を大きくするよう動体領域に対するQ値を変更してもよく、動体領域に対して背景領域の圧縮符号量を小さくするよう背景領域のQ値を変更してもよい。
なお、図11に示す動体検知部15が参照する画像フレーム数は一例であり、動体検知部15が撮像画像中の動きを検知するための処理時間をバッファ内の画像フレーム数として表現したものである。
The moving body area information generated by the moving body detection unit 15 may include background area information.
In addition, the setting of the Q value in the image compression performed by the compression encoding unit 16 in the first mode may be such that the compression rate for the background area is relatively higher than the compression rate for the moving body area. For example, the Q value for the moving object area may be changed to increase the compression code amount of the moving object area with respect to the background area, and the Q value of the background area may be decreased to reduce the compression coding amount of the background area with respect to the moving object area. You may change it.
Note that the number of image frames referred to by the moving body detection unit 15 shown in FIG. 11 is an example, and the processing time for the moving body detection unit 15 to detect motion in the captured image is represented as the number of image frames in the buffer. is there.

第2のモードを示す図12を参照して、DRAM143には、現像処理部113により現像処理された複数の画像フレーム−4〜0が順次バッファされる。動体検知部15は、DRAM143にバッファされた画像フレーム−4〜0を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。
また、動体検知部15は、動きが検知された領域の情報である動体領域情報0´をDRAM143に出力する。しかしながら、第2のモードにおいては、圧縮符号化部16は、動体検知部15が出力する動体領域情報0´を参照せず、また動体領域と背景領域に異なる圧縮符号量を設定させる配信画像設定情報も参照しない。このため、圧縮符号化部16は、動体領域とは背景領域を区別することなく、DRAM143の画像フレーム−4全体を1つの圧縮率を用いて圧縮する。
Referring to FIG. 12 showing the second mode, in DRAM 143, a plurality of image frames -4 to 0 that have been subjected to development processing by development processing unit 113 are sequentially buffered. The moving object detection unit 15 detects a moving object region in the image based on the moving object detection setting information set by the control unit 13 by sequentially referring to the image frames -4 to 0 buffered in the DRAM 143.
In addition, the moving body detection unit 15 outputs moving body area information 0 ′, which is information of the area in which the movement is detected, to the DRAM 143. However, in the second mode, the compression encoding unit 16 does not refer to the moving subject region information 0 ′ output from the moving subject detection unit 15 and sets delivery code setting for setting different compression code amounts in the moving subject region and the background region. It does not refer to the information either. Therefore, the compression encoding unit 16 compresses the entire image frame 4 of the DRAM 143 using one compression rate without distinguishing the background area from the moving body area.

次に、圧縮符号化部16が画像フレーム−3を圧縮する時点では、動体検知部15は、画像フレーム−3〜1の動きを検知し、動体領域情報1´をDRAM143にバッファ出力している。同様に、圧縮符号化部16が画像フレーム−2を圧縮する時点では、動体検知部15は、画像フレーム−2〜2の動きを検知し、動体領域情報2´をDRAM143にバッファ出力している。
このように、現像処理部113と動体検知部15は、圧縮符号化部16が圧縮していない画像0〜4と、動体領域情報0´〜4´とを、それぞれDRAM143にバッファする。DRAM143は、アップロードまたは録画を行う所定時間分の画像フレームをバッファすることができる。
Next, at the time when the compression encoding unit 16 compresses the image frame 3, the moving body detection unit 15 detects the movement of the image frames -3 to 1, and buffers and outputs the moving body area information 1 'to the DRAM 143. . Similarly, at the time when the compression encoding unit 16 compresses the image frame 2, the moving object detection unit 15 detects the movement of the image frames -2 and 2 and outputs the moving object area information 2 'to the DRAM 143 as a buffer. .
As described above, the development processing unit 113 and the moving object detection unit 15 buffer the images 0 to 4 not compressed by the compression encoding unit 16 and the moving object area information 0 ′ to 4 ′ in the DRAM 143, respectively. The DRAM 143 can buffer image frames for a predetermined time for uploading or recording.

図12に示す第2のモードでは、圧縮符号化部16がDRAM143にバッファされた動体領域情報を参照せず、すなわち動体検知部15による動体領域情報の算出を待つことなく撮像画像を圧縮する。このため、現像処理部113が出力する画像フレーム−4を迅速に読み出すことができ、図11に示す遅延は発生しない。
このように、第2のモードでは、第1のモードに対して、現像処理部113が撮像画像を現像処理してから圧縮符号化部16が撮像画像を圧縮するまでの遅延が短縮する。
In the second mode shown in FIG. 12, the compression encoding unit 16 compresses the captured image without referring to the moving body area information buffered in the DRAM 143, that is, without waiting for calculation of moving body area information by the moving body detection unit 15. Therefore, the image frame 4 output from the development processing unit 113 can be read quickly, and the delay shown in FIG. 11 does not occur.
As described above, in the second mode, the delay from the development processing unit 113 developing the captured image to the compression encoding unit 16 compressing the captured image is shortened with respect to the first mode.

<実施形態4の圧縮符号化切替処理の処理フローチャート>
次に、図13を参照して、本実施形態において制御部13が実行する動的領域情報に基づく圧縮符号化設定の切替手順を説明する。
本実施形態において、S131で、制御部13は、アップロード設定情報または録画設定情報が設定されているか否かを判定する。アップロード設定情報または録画設定情報が設定されている場合、S132へ進み、設定されていない場合、S134へ進む。
S132で、制御部13は、ネットワークを介して圧縮画像を配信中であるか否かを判定する。具体的には、制御部13は、通信部12を介して管理者端末装置2等の外部装置から配信開始コマンドを受信し、かつ配信停止コマンドをまだ受信していない場合、圧縮画像を配信中であると判定する。配信中でないと判定した場合、S135へ進む。一方、圧縮画像を配信中であると判定した場合S133へ進む。
Processing Flowchart of Compression Encoding Switching Process of Fourth Embodiment
Next, with reference to FIG. 13, the switching procedure of the compression encoding setting based on the dynamic area information performed by the control unit 13 in the present embodiment will be described.
In the present embodiment, in S131, the control unit 13 determines whether upload setting information or recording setting information is set. If the upload setting information or the recording setting information is set, the process proceeds to S132. If the upload setting information or the recording setting information is not set, the process proceeds to S134.
In S132, the control unit 13 determines whether or not the compressed image is being distributed via the network. Specifically, when the control unit 13 receives a distribution start command from the external device such as the administrator terminal device 2 via the communication unit 12 and does not receive the distribution stop command, the compressed image is being distributed. It is determined that If it is determined that the delivery is not in progress, the process proceeds to S135. On the other hand, if it is determined that the compressed image is being distributed, the process proceeds to step S133.

S132で圧縮画像を配信中であると判定された場合、S133で、制御部13は、アップロードまたは録画の所定時間分の画像をDRAM143へバッファ出力するよう、現像処理部113を制御する。また、制御部13は、DRAM143にバッファされた画像フレーム分の動体領域情報をDRAM143へバッファ出力するよう、動体検知部15を制御する。なお、アップロードまたは録画を行う所定時間分の画像によりDRAM143のバッファが満たされれば、現像処理部113および動体検知部15のDRAM143へのバッファ出力は停止するよう設定される。
S134で、制御部13は、動体検知部15がDRAM143にバッファ出力した動体領域情報を圧縮符号化部16が参照しないよう、すなわち第2のモードを実行するよう、圧縮符号化部16を制御する。また、制御部13は、現像処理部113がDRAM143に出力する最新の画像を圧縮するよう、圧縮符号化部16を制御する。
When it is determined in S132 that the compressed image is being distributed, in S133, the control unit 13 controls the development processing unit 113 to buffer output an image for a predetermined time of uploading or recording to the DRAM 143. Further, the control unit 13 controls the moving body detection unit 15 so that the moving body area information of the image frame buffered in the DRAM 143 is buffered to the DRAM 143. When the buffer of the DRAM 143 is filled with the image for a predetermined time for uploading or recording, the buffer output to the DRAM 143 of the development processing unit 113 and the moving body detection unit 15 is set to be stopped.
In step S134, the control unit 13 controls the compression encoding unit 16 so that the compression encoding unit 16 does not refer to the moving object area information buffered and output to the DRAM 143 by the moving object detection unit 15, that is, to execute the second mode. . In addition, the control unit 13 controls the compression encoding unit 16 so as to compress the latest image that the development processing unit 113 outputs to the DRAM 143.

一方、S132で圧縮画像を配信中でないと判定された場合、S135で、制御部13は、DRAM143中に、未だアップロードまたは録画されていない画像をバッファすることのできる容量があるか否かを判定する。画像用のバッファがあると判定した場合、S136へ進み、画像用のバッファがないと判定した場合、S137へ進む。
S132で圧縮画像を配信中でなく、かつS135で画像用のバッファがあると判定された場合、S136で、制御部13は、アップロードまたは録画の所定時間分の画像をDRAM143へバッファ出力するよう、現像処理部113を制御する。また、制御部13は、DRAM143にバッファされた画像フレーム分の動体領域情報をDRAM143へバッファ出力するよう、動体検知部15を制御する。
On the other hand, if it is determined in S132 that the compressed image is not being distributed, in S135, the control unit 13 determines whether or not the DRAM 143 has a capacity capable of buffering an image that has not been uploaded or recorded yet. Do. If it is determined that the image buffer is present, the process proceeds to S136, and if it is determined that the image buffer is not present, the process proceeds to S137.
If it is determined in S132 that the compressed image is not being distributed and it is determined in S135 that there is a buffer for the image, the control unit 13 buffers the image for a predetermined time of uploading or recording to the DRAM 143 in S136, The development processing unit 113 is controlled. Further, the control unit 13 controls the moving body detection unit 15 so that the moving body area information of the image frame buffered in the DRAM 143 is buffered to the DRAM 143.

これにより、配信開始コマンドから配信停止コマンドまでの時間が所定時間より短い場合、アップロードまたは録画する画像が不足するため画像をDRAM143にバッファ出力することができる。あるいは、圧縮符号化部16がバッファされた画像を圧縮しアップロードまたは録画している処理時間内に、監視対象として設定された新たな動体が検知されたことをトリガに次のアップロードまたは録画が開始された場合のバッファとなるよう設定してもよい。   As a result, when the time from the distribution start command to the distribution stop command is shorter than the predetermined time, the image to be uploaded or recorded is insufficient and it is possible to buffer output the image to the DRAM 143. Alternatively, the next upload or recording starts when triggered by the detection of a new moving object set as the monitoring target within the processing time during which the compression encoding unit 16 compresses and uploads or records the buffered image. It may be set to be a buffer when it is

S137で、制御部13は、現像処理部113がDRAM143にバッファ出力した未圧縮の画像を、動体検知部15がDRAM143にバッファした動体領域情報を参照して圧縮するよう、すなわち第1のモードを実行するよう、圧縮符号化部16を制御する。
S138で、制御部13は、圧縮符号化部16が圧縮した圧縮画像を、通信部12を介して接続される画像収集装置へアップロードし、またはネットワークカメラ1のフラッシュメモリ142等の不揮発性メモリへ録画する。
In step S137, the control unit 13 compresses the non-compressed image buffered and output by the development processing unit 113 to the DRAM 143 with reference to the moving object area information buffered in the DRAM 143 by the moving object detection unit 15, ie, the first mode. The compression encoding unit 16 is controlled to execute.
In step S138, the control unit 13 uploads the compressed image compressed by the compression encoding unit 16 to the image acquisition apparatus connected via the communication unit 12, or to a non-volatile memory such as the flash memory 142 of the network camera 1. record.

以上説明したように、本実施形態によれば、外部の画像収集装置へのアップロードまたはフラッシュメモリ142への録画が設定されている場合、現像処理部113は、アップロードまたは録画を行う所定時間分の画像をDRAM143へバッファ出力する。また、動体検知部15は、DRAM143にバッファされた画像分の動体領域情報をDRAM143へバッファ出力する。圧縮符号化部16は、DRAM143にバッファされた未圧縮の画像を、同じくDRAM143にバッファされた対応する動体領域情報を参照して圧縮することができる。したがって、DRAM143にバッファされた所定時間分のアップロード用または録画用の未圧縮画像を、対応する動体領域情報を参照して圧縮符号化部16に圧縮させることができる。これにより、監視すべき動体領域の画質を維持しつつ、背景領域を高圧縮して記憶容量を削減することが容易となる。   As described above, according to the present embodiment, when uploading to an external image collecting apparatus or recording to the flash memory 142 is set, the development processing unit 113 performs a predetermined time for uploading or recording. The image is buffered to the DRAM 143. In addition, the moving body detection unit 15 buffers and outputs moving body area information of the image portion buffered in the DRAM 143 to the DRAM 143. The compression encoding unit 16 can compress the uncompressed image buffered in the DRAM 143 with reference to corresponding moving object area information buffered in the DRAM 143 as well. Therefore, the uncompressed image for upload or for recording for a predetermined time buffered in the DRAM 143 can be compressed by the compression encoding unit 16 with reference to the corresponding moving object region information. This makes it easy to highly compress the background area and reduce the storage capacity while maintaining the image quality of the moving object area to be monitored.

(実施形態5)
以下、図14から図17を参照して、実施形態5を、上記各実施形態と異なる点についてのみ詳細に説明する。本実施形態に係るネットワークカメラ1は、さらに、音声入力部と音声検知部とを備える。本実施形態は、音声をトリガに、所定時間、圧縮画像を外部の画像収集装置へアップロードし、または記憶部へ録画する。また、本実施形態は、圧縮画像を配信中であっても、動体領域情報を参照して撮像画像を圧縮するが、配信中でない場合と比較して、より少ない遅延で動体領域情報を生成する。これにより、圧縮画像を配信中であっても、監視すべき動体領域の画質を維持しつつ背景領域を高圧縮にして記憶容量を低減することができる。
Embodiment 5
Hereinafter, the fifth embodiment will be described in detail with reference to FIGS. 14 to 17, with regard to only differences from the above-described embodiments. The network camera 1 according to the present embodiment further includes an audio input unit and an audio detection unit. In the present embodiment, a compressed image is uploaded to an external image acquisition device or recorded in a storage unit for a predetermined period of time using voice as a trigger. Further, although the present embodiment compresses the captured image with reference to the moving body area information even while distributing the compressed image, the moving body area information is generated with a smaller delay compared to the case where it is not distributing. . As a result, even while the compressed image is being delivered, the storage area can be reduced by highly compressing the background area while maintaining the image quality of the moving object area to be monitored.

図14は、本実施形態に係るネットワークカメラ1の構成の一例を示す。
図14に示す本実施形態に係るネットワーク1は、図10に示す実施形態4と同様であるが、さらに、音声入力部107、および音声検知部108を備える。
音声入力部17は、例えばマイクと、マイクから入力されるアナログ音声信号をA/D変換してデジタル音声信号を生成するA/D変換部とを備える。
音声検知部18は、音声入力部17から入力される音声信号から、監視すべき音声を検知する。音声の検知をトリガに、所定時間の圧縮画像を、画像収集装置へアップロードし、または記憶部のフラッシュメモリ142等の不揮発性メモリに録画することができる。
FIG. 14 shows an example of the configuration of the network camera 1 according to the present embodiment.
The network 1 according to the present embodiment shown in FIG. 14 is the same as the fourth embodiment shown in FIG. 10, but further includes an audio input unit 107 and an audio detection unit 108.
The voice input unit 17 includes, for example, a microphone and an A / D conversion unit that A / D converts an analog voice signal input from the microphone to generate a digital voice signal.
The voice detection unit 18 detects a voice to be monitored from the voice signal input from the voice input unit 17. Triggered by the detection of voice, a compressed image of a predetermined time can be uploaded to the image acquisition device or recorded in a non-volatile memory such as the flash memory 142 of the storage unit.

図14を参照して、ネットワークカメラ1に入力される各種コマンドや設定情報と、これら各種コマンドや設定情報に従った、ネットワークカメラ1の各部の動作を、実施形態4と異なる点につき説明する。
具体的には、通信部12は、管理者端末装置2等の外部装置から、音声入力についてのパラメータを設定する音声入力設定コマンドを受信する。この音声入力設定コマンドは、ネットワークカメラ1に接続されるマイクの種類、マイクから入力される音声信号をA/D変換する際の設定に関する情報を含む。
音声入力設定コマンドは、制御部13によって解析され、音声入力部17に入力される。制御部13は、同時に、音声入力設定コマンドを、フラッシュメモリ142に、音声入力設定情報として記憶する。制御部13は、ネットワークカメラ1の起動時に、フラッシュメモリ142に記憶された音声入力設定情報に従って、音声入力部17による音声入力を制御する。
The differences from the fourth embodiment in the operation of each unit of the network camera 1 according to various commands and setting information input to the network camera 1 and these various commands and setting information will be described with reference to FIG.
Specifically, the communication unit 12 receives a voice input setting command for setting parameters for voice input from an external device such as the manager terminal device 2 or the like. The voice input setting command includes information on the type of microphone connected to the network camera 1 and the setting at the time of A / D conversion of a voice signal input from the microphone.
The voice input setting command is analyzed by the control unit 13 and input to the voice input unit 17. At the same time, the control unit 13 stores the voice input setting command in the flash memory 142 as voice input setting information. The control unit 13 controls voice input by the voice input unit 17 according to the voice input setting information stored in the flash memory 142 when the network camera 1 is activated.

通信部12はまた、管理者端末装置2等の外部装置から、音声検知についてのパラメータを設定する音声検知設定コマンドを受信する。この音声検知設定コマンドは、検知すべきイベントとして、音声の音量や、悲鳴など音声の種類を限定する情報を含む。これらの音声は、音声入力部17により音声データとして撮像画像に対応付けて取得される。
音声検知設定コマンドは、制御部13によって解析され、音声検知部18に入力される。制御部13は、同時に、音声検知設定コマンドを、フラッシュメモリ142に、音声検知設定情報として記憶する。制御部13は、ネットワークカメラ1の起動時に、フラッシュメモリ142に記憶された音声検知設定情報に従って、音声検知部18による音声検知を制御する。
The communication unit 12 also receives a voice detection setting command for setting parameters for voice detection from an external device such as the administrator terminal device 2. The voice detection setting command includes, as an event to be detected, information that limits the type of voice, such as the volume of voice and scream. These voices are acquired as voice data by the voice input unit 17 in association with the captured image.
The voice detection setting command is analyzed by the control unit 13 and input to the voice detection unit 18. At the same time, the control unit 13 stores the voice detection setting command in the flash memory 142 as voice detection setting information. The control unit 13 controls voice detection by the voice detection unit 18 according to the voice detection setting information stored in the flash memory 142 when the network camera 1 is activated.

また、音声検知設定コマンドは、音声検知の種類に応じて、通信部12を介して接続される外部の画像収集装置に、所定時間の圧縮画像をアップロードする設定を含む。ここで、音声検知種類に応じて、とは、音声検知部18から音声が検知されたことを通知された制御部13が、例えば、検知種類Aであれば圧縮画像をアップロードする、検知種類Bであれば圧縮画像をアップロードしない、という設定である。制御部13は、コマンド解析と同時に、音声検知種類に応じたアップロード設定コマンドを、フラッシュメモリ142に、音声検知種類に応じたアップロード設定情報として記憶する。制御部13は、ネットワークカメラ1の起動時に、フラッシュメモリ142に記憶された音声検知種類に応じたアップロード設定情報から、アップロード設定を復元する。   Further, the voice detection setting command includes a setting for uploading a compressed image of a predetermined time to an external image acquisition device connected via the communication unit 12 according to the type of voice detection. Here, according to the voice detection type, the control unit 13 notified that the voice is detected from the voice detection unit 18 uploads a compressed image in the case of the detection type A, for example, detection type B If it is, the setting is not to upload the compressed image. Simultaneously with the command analysis, the control unit 13 stores an upload setting command corresponding to the voice detection type in the flash memory 142 as upload setting information corresponding to the voice detection type. The control unit 13 restores the upload setting from the upload setting information corresponding to the voice detection type stored in the flash memory 142 when the network camera 1 is activated.

同様に、音声検知設定コマンドは、音声検知の種類に応じて、ネットワークカメラ1のフラッシュメモリ142等の不揮発メモリに圧縮画像を所定時間録画する設定を含む。録画先は、フラッシュメモリ142の他、ネットワークカメラ1内蔵の不揮発性メモリ、外付けフラッシュメモリ/カード、HDD等の着脱可能な記録媒体を含む。制御部13は、コマンド解析と同時に、音声検知種類に応じた録画設定コマンドを、フラッシュメモリ142に、音声検知の種類に応じた録画設定情報として記憶する。制御部13は、ネットワークカメラ1の起動時に、フラッシュメモリー142に記憶された音声検知種類に応じた録画設定情報から、録画設定を復元する。   Similarly, the voice detection setting command includes a setting for recording a compressed image for a predetermined time in a non-volatile memory such as the flash memory 142 of the network camera 1 according to the type of voice detection. The recording destination includes, besides the flash memory 142, a non-volatile memory built in the network camera 1, a removable recording medium such as an external flash memory / card, an HDD or the like. At the same time as the command analysis, the control unit 13 stores, in the flash memory 142, a recording setting command corresponding to the type of audio detection as recording setting information corresponding to the type of audio detection. The control unit 13 restores the recording setting from the recording setting information corresponding to the voice detection type stored in the flash memory 142 when the network camera 1 is activated.

<実施形態5の動体検知および圧縮符号化処理詳細>
図15および図16を参照して、本実施形態において動体検知部15が実行する撮像画像中の動体検知処理および圧縮符号化部16が実行する撮像画像の圧縮処理を詳細に説明する。
本実施形態では、圧縮符号化部16は、動体検知部15が出力する動体領域情報を、圧縮画像を外部の画像収集装置へ配信中であっても参照する。本実施形態において、動体検知部15および圧縮符号化部16は、実施形態1の第1のモードと同様に、複数の画像フレームから動体領域情報を生成し、生成された動体領域情報を参照して撮像画像を圧縮する第1のモードを有する。本実施形態はさらに、第1のモードより少ない数の画像フレームから動体領域情報を生成し、生成された動体領域情報を参照して撮像画像を圧縮する第2のモードを有する。
<Details of Moving Object Detection and Compression Encoding Processing of Fifth Embodiment>
The moving object detection process in the captured image performed by the moving object detection unit 15 and the compression process of the captured image performed by the compression encoding unit 16 in the present embodiment will be described in detail with reference to FIGS. 15 and 16.
In the present embodiment, the compression encoding unit 16 refers to moving body area information output by the moving body detection unit 15 even while the compressed image is being distributed to an external image acquisition device. In the present embodiment, the moving subject detection unit 15 and the compression encoding unit 16 generate moving subject region information from a plurality of image frames and refer to the generated moving subject region information, as in the first mode of the first embodiment. And the first mode for compressing the captured image. The present embodiment further has a second mode in which moving body region information is generated from a smaller number of image frames than in the first mode, and the captured image is compressed with reference to the generated moving body region information.

第1のモードを示す図15を参照して、DRAM143には、撮像部11により撮像された撮像画像の複数の画像フレーム1〜5が順次バッファされる。動体検知部15は、DRAM143にバッファされた画像フレーム1〜5を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。
また、動体検知部15は、動きが検知された領域の情報である動体領域情報5´を圧縮符号化部16に出力する。圧縮符号化部16に設定される配信画像設定情報では、動体領域には圧縮符号量を十分に与え、動きのない背景領域には圧縮符号量を削減する設定がされている。このため、圧縮符号化部16は、動体検知部15が出力する動体領域情報5´を参照して動体領域と背景領域を識別する。そして圧縮符号化部16は、動体領域が高画質を維持するよう低い圧縮率を用いて動体領域を圧縮し、背景領域の記憶容量を削減するよう高い圧縮率を用いて背景領域を圧縮するよう、DRAM143の画像フレーム5を圧縮する。図15に示す第1のモードでは、圧縮符号化部16が動体領域情報を参照して撮像画像を圧縮するのに4フレーム分遅延する。
Referring to FIG. 15 illustrating the first mode, DRAM 143 sequentially buffers a plurality of image frames 1 to 5 of the captured image captured by imaging unit 11. The moving object detection unit 15 detects a moving object region in the image based on the moving object detection setting information set by the control unit 13 by sequentially referring to the image frames 1 to 5 buffered in the DRAM 143.
In addition, the moving body detection unit 15 outputs moving body area information 5 ′, which is information of the area in which the movement is detected, to the compression encoding unit 16. In the distribution image setting information set in the compression encoding unit 16, a setting is made such that a compression code amount is sufficiently given to a moving object region and a compression code amount is reduced to a background region without motion. For this reason, the compression encoding unit 16 refers to the moving body area information 5 ′ output from the moving body detection unit 15 to identify the moving body area and the background area. Then, the compression encoding unit 16 compresses the moving area using a low compression rate so as to maintain high image quality in the moving body area, and compresses the background area using a high compression rate so as to reduce the storage capacity of the background area. , Compresses the image frame 5 of the DRAM 143. In the first mode shown in FIG. 15, the compression encoding unit 16 delays by 4 frames to compress the captured image with reference to the moving body region information.

なお、動体検知部15が生成する動体領域情報は、背景領域情報を内包してよい。
また、第1のモードにおいて圧縮符号化部16が実行する画像圧縮における圧縮符号量の設定は、背景領域に対する圧縮率が動体領域に対する圧縮率より相対的に高ければよい。例えば、背景領域に対して動体領域の圧縮符号量を大きくするよう動体領域の圧縮率を低く変更してもよく、動体領域に対して背景領域の圧縮符号量を小さくするよう背景領域の圧縮率を高く変更してもよい。
また、図15に示す動体検知部15が参照する画像フレーム数は一例であり、撮像部11が画像を撮像するフレームレートと動体検知部15が画像を参照するフレームレートの時間差や動体検知処理の遅延をバッファ内の画像フレーム数として表現したものである。
なお、動体検知部15が生成する動体領域情報は、背景領域情報を内包してよい。
The moving body area information generated by the moving body detection unit 15 may include background area information.
In addition, the compression code amount setting in the image compression performed by the compression encoding unit 16 in the first mode may be such that the compression ratio for the background area is relatively higher than the compression ratio for the moving object area. For example, the compression ratio of the moving object region may be changed to a low value so as to increase the compression coding amount of the moving object region relative to the background region. You may change it high.
Further, the number of image frames referred to by the moving body detection unit 15 shown in FIG. 15 is an example, and the frame rate at which the imaging unit 11 picks up an image and the frame rate difference time at which the moving body detection unit 15 references an image The delay is expressed as the number of image frames in the buffer.
The moving body area information generated by the moving body detection unit 15 may include background area information.

第2のモードを示す図16を参照して、DRAM143には、撮像部11により撮像された撮像画像の複数の画像フレーム1〜5が順次バッファされる。第2のモードでは、動体検知部15は、バッファ中の画像フレームのうち、第1のモードより少ない数の画像フレームを参照して、動体領域情報を生成する。すなわち、動体検知部15は、DRAM143にバッファされた画像フレーム1および2を順次参照して、制御部13により設定された動体検知設定情報に基づいて画像中の動体領域を検知する。   Referring to FIG. 16 illustrating the second mode, DRAM 143 sequentially buffers a plurality of image frames 1 to 5 of the captured image captured by imaging unit 11. In the second mode, the moving subject detection unit 15 generates moving subject region information by referring to the number of image frames in the buffer, which is smaller than that in the first mode. That is, the moving body detection unit 15 sequentially detects the moving body region in the image based on the moving body detection setting information set by the control unit 13 by sequentially referring to the image frames 1 and 2 buffered in the DRAM 143.

また、動体検知部15は、動きが検知された領域の情報である動体領域情報2´を圧縮符号化部16に出力する。圧縮符号化部16に設定される配信画像設定情報では、動体領域には圧縮符号量を十分に与え、動きのない背景領域には圧縮符号量を削減する設定がされている。このため、圧縮符号化部16は、動体検知部15が出力する動体領域情報2´を参照して動体領域と背景領域を識別する。そして圧縮符号化部16は、動体領域が高画質を維持するよう低い圧縮率を用いて動体領域を圧縮し、背景領域の記憶容量を削減するよう高い圧縮率を用いて背景領域を圧縮するよう、DRAM143の画像フレーム2を圧縮する。図16に示す第2のモードでは、圧縮符号化部16が動体領域情報を参照して撮像画像を圧縮するのに1フレーム分遅延する。すなわち、図15に示す第1のモードより、撮像部11がDRAM143に撮像画像をバッファしてから圧縮符号化部16が撮像画像を圧縮するまでの遅延が3フレーム分短縮する。
なお、図16に示す動体検知部15が参照する画像フレーム数は一例であり、動体検知部15が動きを検知するための処理時間をバッファ内の画像フレーム数として表現してものである。図15が、標準的な動体検知処理を示すのに対し、図16は、短縮化された動体検知処理を示す。
In addition, the moving body detection unit 15 outputs moving body area information 2 ′, which is information of the area in which the movement has been detected, to the compression encoding unit 16. In the distribution image setting information set in the compression encoding unit 16, a setting is made such that a compression code amount is sufficiently given to a moving object region and a compression code amount is reduced to a background region without motion. For this reason, the compression encoding unit 16 refers to the moving body area information 2 ′ output from the moving body detection unit 15 to identify the moving body area and the background area. Then, the compression encoding unit 16 compresses the moving area using a low compression rate so as to maintain high image quality in the moving body area, and compresses the background area using a high compression rate so as to reduce the storage capacity of the background area. , Compress the image frame 2 of the DRAM 143. In the second mode shown in FIG. 16, the compression encoding unit 16 delays by one frame to compress a captured image with reference to moving body region information. That is, from the first mode shown in FIG. 15, the delay from the imaging unit 11 buffering the captured image in the DRAM 143 to the compression encoding unit 16 compressing the captured image is shortened by three frames.
The number of image frames referred to by the moving body detection unit 15 shown in FIG. 16 is an example, and the processing time for the moving body detection unit 15 to detect a motion is expressed as the number of image frames in the buffer. FIG. 15 shows a standard moving object detection process, while FIG. 16 shows a shortened moving object detection process.

また、本実施形態の第2のモードにおいて、動体検知部15は、第1のモードと異なる動体検知方式で実現してもよい。例えば、参照画像フレーム数が2のときの動体検知処理は、参照画像フレーム数が5のときの動体検知より検知精度が低下するおそれがあるため、画像を構成する輝度情報間の差分を使用して動体を検知してもよい。あるいは、画像フレーム2から動体の動きベクトルを検出し、画像フレーム1の動体の位置を予測することで、画像1の動体領域情報を生成する等、より遅延の少ない動体検知方式で実現してもよい。
なお、標準動体検知処理(第1のモード)と短縮化動体検知処理(第2のモード)の間の切り替えは、動体検知部15に対する動体検知設定情報で設定する。通信部12を介して管理者端末装置2等の外部装置から動体検知設定コマンドを受信し、制御部13が動体検知設定コマンドを解析して、動体検知設定情報を取得してもよい。
Further, in the second mode of the present embodiment, the moving body detection unit 15 may be realized by a moving body detection method different from the first mode. For example, in the moving object detection process when the number of reference image frames is 2, since the detection accuracy may be lower than that when the number of reference image frames is 5, the difference between the luminance information forming the image is used. Motion may be detected. Alternatively, by detecting the motion vector of the moving object from the image frame 2 and predicting the position of the moving object in the image frame 1, the moving object region information of the image 1 may be generated, for example. Good.
The switching between the standard moving body detection process (first mode) and the shortening moving body detection process (second mode) is set by moving body detection setting information for the moving body detection unit 15. The moving body detection setting command may be received from the external device such as the administrator terminal device 2 via the communication unit 12, and the control unit 13 may analyze the moving body detection setting command to acquire moving body detection setting information.

<実施形態5の圧縮符号化切替処理の処理フローチャート>
図17は、本実施形態に係る圧縮符号化切替処理の処理手順の一例を示すフローチャートである。
S171で、制御部13は、ネットワークを介して圧縮画像を管理者端末装置2等の外部装置へ配信中であるか否かを判定する。具体的には、制御部13は、通信部12を介して管理者端末装置2等の外部装置から、配信開始コマンドを受信し、かつ配信停止コマンドをまだ受信していない場合、圧縮画像を配信中であると判定する。圧縮画像を配信中であると判定した場合(S171:Y)、S173へ進み、圧縮画像を配信中でないと判定した場合(S171:N)S172へ進む。
Processing Flowchart of Compression Encoding Switching Process of Fifth Embodiment
FIG. 17 is a flow chart showing an example of the processing procedure of the compression coding switching process according to the present embodiment.
In step S171, the control unit 13 determines whether the compressed image is being distributed to an external device such as the administrator terminal device 2 via the network. Specifically, the control unit 13 distributes the compressed image when the distribution start command is received from the external device such as the administrator terminal device 2 via the communication unit 12 and the distribution stop command has not been received yet. Determined to be medium. If it is determined that the compressed image is being distributed (S171: Y), the process proceeds to S173, and if it is determined that the compressed image is not being distributed (S171: N), the process proceeds to S172.

S171で圧縮画像を配信中でないと判定した場合、S172で、制御部13は、動体検知部15による動体検知の処理時間が標準となるよう、すなわち第1のモードで動作するように、動体検知部15を制御する。
一方、S171で圧縮画像を配信中でないと判定した場合、S173で、制御部13は、動体検知部15による動体検知の処理時間が短縮化するよう、すなわち第2のモードで動作するように、動体検知部15を制御する。
S174で、制御部13は、S172またはS173で動体検知部15が出力する動体領域情報を参照して、DRAM143中にバッファされた画像を圧縮するよう、圧縮符号化部16を制御する。
When it is determined in S171 that the compressed image is not being distributed, in S172, the control unit 13 detects the moving object so that the processing time of the moving object detection by the moving object detection unit 15 becomes standard, that is, operates in the first mode. Control unit 15;
On the other hand, when it is determined in S171 that the compressed image is not being distributed, in S173, the control unit 13 reduces the processing time of the moving object detection by the moving object detection unit 15, that is, operates in the second mode. The motion detection unit 15 is controlled.
At S174, the control unit 13 controls the compression encoding unit 16 to compress the image buffered in the DRAM 143 with reference to the moving body region information output by the moving body detection unit 15 at S172 or S173.

これにより、ネットワークカメラ1が圧縮画像を外部の画像収集装置へ配信中である場合であっても、圧縮符号化部16は、より少ない遅延時間で生成された動体領域情報を参照して撮像画像を圧縮するので、圧縮画像の配信遅延が低減される。さらに、圧縮画像を外部装置へ配信中であっても、配信中でない場合と同様、撮像画像中の動体領域に対する圧縮率を背景領域と比較して低く設定することができるので、監視すべき動体領域の画質を維持することができる。   As a result, even if the network camera 1 is distributing a compressed image to an external image acquisition device, the compression encoding unit 16 refers to moving body area information generated with a smaller delay time, and captures the captured image. Compression, so the delivery delay of the compressed image is reduced. Furthermore, even if the compressed image is being delivered to an external device, as in the case where it is not being delivered, the compression rate for the moving object region in the captured image can be set low compared to the background region. The image quality of the area can be maintained.

以上説明したように、本実施形態によれば、ネットワークカメラ1が圧縮画像を外部装置へ配信中である場合であっても、圧縮画像の配信遅延を低減しつつ、監視すべき動体領域の画質を維持しながら背景領域を高圧縮にして記憶容量を低減することができる。   As described above, according to the present embodiment, even when the network camera 1 is delivering a compressed image to an external device, the image quality of the moving object area to be monitored while reducing the delivery delay of the compressed image. The storage area can be reduced by making the background area highly compressed while maintaining the.

(実施形態6)
以下、図18を参照して、実施形態6を、上記の実施形態5と異なる点についてのみ詳細に説明する。本実施形態は、ネットワークカメラ1が圧縮画像を配信中である場合に、撮像部11に設定されたフレームレート(撮像周期)が所定時間より長いか否かを判定する。そして、フレームレートが所定時間より長い場合には、配信中でない場合と同様、標準の動体検知処理を実行する。これにより、圧縮画像を配信中において、撮像周期が長く、動体検知を短縮化した効果が得られない場合に、標準の動体検知処理で、より多くの画像フレームから動体領域情報を生成することによって、監視すべき動体領域の画質をより高めることができる。
Embodiment 6
Hereinafter, the sixth embodiment will be described in detail with reference to FIG. 18, with regard to only differences from the above fifth embodiment. In this embodiment, when the network camera 1 is distributing a compressed image, it is determined whether the frame rate (imaging cycle) set in the imaging unit 11 is longer than a predetermined time. Then, if the frame rate is longer than a predetermined time, standard moving object detection processing is executed as in the case where delivery is not in progress. As a result, when the compressed image is being distributed, when the imaging cycle is long and the effect of shortening the moving object detection can not be obtained, the moving object area information is generated from more image frames by the standard moving object detection processing. The image quality of the moving object area to be monitored can be further improved.

実施形態6のネットワークカメラ1の構成は、図14に示す実施形態5と同様である。
また、実施形態6におけるネットワークカメラ1の動作および各種設定情報は、実施形態5と同様である。
次に、図18を参照して、本実施形態に係る圧縮符号化切替処理の処理手順を説明する。
S181で、制御部13は、ネットワークを介して圧縮画像を管理者端末装置2等の外部装置へ配信中であるか否かを判定する。具体的には、制御部13は、通信部12を介して管理者端末装置2等の外部装置から、配信開始コマンドを受信し、かつ配信停止コマンドをまだ受信していない場合、圧縮画像を配信中であると判定する。圧縮画像を配信中であると判定した場合(S181:Y)、S184へ進み、圧縮画像を配信中でないと判定した場合(S181:N)S182へ進む。
The configuration of the network camera 1 of the sixth embodiment is the same as that of the fifth embodiment shown in FIG.
The operation and various setting information of the network camera 1 in the sixth embodiment are the same as those in the fifth embodiment.
Next, with reference to FIG. 18, the processing procedure of the compression coding switching process according to the present embodiment will be described.
In S181, the control unit 13 determines whether or not the compressed image is being distributed to an external device such as the administrator terminal device 2 via the network. Specifically, the control unit 13 distributes the compressed image when the distribution start command is received from the external device such as the administrator terminal device 2 via the communication unit 12 and the distribution stop command has not been received yet. Determined to be medium. If it is determined that the compressed image is being distributed (S181: Y), the process proceeds to S184, and if it is determined that the compressed image is not being distributed (S181: N), the process proceeds to S182.

S181で圧縮画像を配信中でないと判定した場合、S182で、制御部13は、動体検知部15による動体検知の処理時間が標準となるよう、すなわち第1のモードで動作するように、動体検知部15を制御する。
S183で、制御部13は、S182で動体検知部15が出力する動体領域情報を参照して、DRAM143中にバッファされた画像を圧縮するよう、圧縮符号化部16を制御する。
When it is determined in S181 that the compressed image is not being distributed, in S182, the control unit 13 detects the moving object so that the processing time of the moving object detection by the moving object detection unit 15 becomes standard, that is, operates in the first mode. Control unit 15;
At S183, the control unit 13 controls the compression encoding unit 16 to compress the image buffered in the DRAM 143 with reference to the moving body area information output by the moving body detecting unit 15 at S182.

一方、S181で圧縮画像を配信中であると判定した場合、S184で、制御部13は、撮像部11に設定された撮像のフレームレートで規定される撮像周期が、所定時間より長いか否かを判定する。撮像周期が所定時間以下であると判定した場合は(S181:N)、S185へ進み、一方、撮像周期が所定時間より長いと判定した場合は(S181:Y)、S186へ進む。
ここで、撮像周期と比較される所定時間は、管理者端末装置2の監視者が、リモートでネットワークカメラ1を操作し、操作された結果、ライブストリーム配信される圧縮画像が変化するまでの、許容できる遅延時間を設定すればよい。図18では、一例として撮像周期の閾値を60msecとしているがこれに限定されない。
短縮化された動体検知処理は、標準の動体検知処理より動体検知の精度が低下する場合がある。本実施形態では、撮像部11に設定された撮像のフレームレートで規定される撮像周期が、短縮された遅延時間より長い場合に、動体検知部15は、標準の動体検知処理を実行する。撮像周期が短縮された遅延時間より長ければ、動体検知処理の短縮効果が得られず、また標準の動体検知処理を実行した方が動体検知の精度が向上するため有効である。
On the other hand, when it is determined in S181 that the compressed image is being distributed, in S184, the control unit 13 determines whether the imaging cycle defined by the imaging frame rate set in the imaging unit 11 is longer than a predetermined time. Determine If it is determined that the imaging cycle is equal to or less than the predetermined time (S181: N), the process proceeds to S185. If it is determined that the imaging cycle is longer than the predetermined time (S181: Y), the process proceeds to S186.
Here, for a predetermined time to be compared with the imaging cycle, the supervisor of the administrator terminal device 2 remotely operates the network camera 1 as a result of the operation and, as a result, the compressed image to be delivered in the live stream changes. An acceptable delay time may be set. Although the threshold value of the imaging cycle is set to 60 msec as one example in FIG. 18, the present invention is not limited to this.
The shortened moving object detection process may have lower accuracy in moving object detection than standard moving object detection processing. In the present embodiment, when the imaging cycle defined by the imaging frame rate set in the imaging unit 11 is longer than the shortened delay time, the moving body detection unit 15 executes standard moving body detection processing. If the imaging cycle is longer than the shortened delay time, the shortening effect of the moving body detection process can not be obtained, and it is more effective to execute the standard moving body detection process because the accuracy of the moving body detection is improved.

撮像周期が所定時間以下であると判定された場合、S185で、制御部13は、動体検知部15による動体検知の処理時間が短縮化するよう、すなわち第2のモードで動作するように、動作検知部15を制御する。
一方、撮像周期が所定時間より長いと判定した場合、S186で、制御部13は、動体検知部15による動体検知の処理時間が標準となるよう、すなわち第1のモードで動作するように、動体検知部15を制御する。
S187で、制御部13は、S185またはS186で動体検知部15が出力する動体領域情報を参照して、DRAM143中にバッファされた画像を圧縮するよう、圧縮符号化部16を制御する。
When it is determined that the imaging cycle is equal to or less than the predetermined time, in S185, the control unit 13 operates so as to shorten the processing time of the moving object detection by the moving object detection unit 15, that is, operate in the second mode. The detection unit 15 is controlled.
On the other hand, when it is determined that the imaging cycle is longer than the predetermined time, the control unit 13 controls the processing time of the moving object detection by the moving object detection unit 15 in S186, ie, operates in the first mode. The detection unit 15 is controlled.
At S187, the control unit 13 controls the compression encoding unit 16 to compress the image buffered in the DRAM 143 with reference to the moving body area information output by the moving body detection unit 15 at S185 or S186.

以上説明したように、本実施形態によれば、圧縮画像を配信中において、撮像周期が長く、動体検知を短縮化した効果が得られない場合に、標準の動体検知処理で、より多くの画像フレームから動体領域情報を生成する。これにより、監視すべき動体領域の画質をより高めることができる。   As described above, according to the present embodiment, more images can be obtained by the standard moving body detection processing when the imaging cycle is long and the effect of shortening the moving body detection can not be obtained while distributing the compressed image. Generate moving body area information from the frame. This can further improve the image quality of the moving object area to be monitored.

<変形例>
また、図3等に示した機能ブロックの構成は一例であり、複数の機能ブロックが1つの機能ブロックを構成するようにしてもよいし、いずれかの機能ブロックが複数の機能を行うブロックに分かれてもよい。また、図3等に示す機能ブロックの少なくとも一部がハードウエアとして実装されてもよい。ハードウエアにより実装する場合、例えば、所定のコンパイラを用いることで、各ステップを実現するためのプログラムからFPGA(Field-Programmable Gate Array)上に自動的に専用回路を生成すればよい。また、FPGAと同様にして、Gate Array回路を形成し、ハードウエアとして実装されるようにしてもよく、ASIC(Application Specific Integrated Circuit)により実現するようにしてもよい。
<Modification>
Further, the configuration of the functional blocks shown in FIG. 3 and the like is an example, and a plurality of functional blocks may constitute one functional block, or any functional block may be divided into blocks performing a plurality of functions. May be In addition, at least a part of the functional blocks illustrated in FIG. 3 and the like may be implemented as hardware. In the case of hardware implementation, for example, by using a predetermined compiler, a dedicated circuit may be automatically generated on a field-programmable gate array (FPGA) from a program for realizing each step. Further, as in the case of the FPGA, a gate array circuit may be formed and implemented as hardware, or may be realized by an application specific integrated circuit (ASIC).

<他の実施形態>
なお、上述した各実施形態は、その複数を組み合わせて実現することが可能である。
また、本発明は、上述の実施形態の1以上の機能を実現するプログラムによっても実現可能である。すなわち、そのプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータ(またはCPUやMPU等)における1つ以上のプロセッサーがプログラムを読出し実行する処理により実現可能である。また、そのプログラムをコンピュータ可読な記録媒体に記録して提供してもよい。
また、コンピュータが読みだしたプログラムを実行することにより、実施形態の機能が実現されるものに限定されない。例えば、プログラムの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって上記した実施形態の機能が実現されてもよい。
Other Embodiments
In addition, it is possible to implement | achieve each embodiment mentioned above combining the plurality.
The present invention can also be realized by a program that implements one or more of the functions of the embodiments described above. That is, it is possible to supply the program to a system or apparatus via a network or storage medium, and implement processing by one or more processors in the computer (or CPU, MPU, etc.) of the system or apparatus reading and executing the program. is there. Alternatively, the program may be provided by being recorded on a computer readable recording medium.
Further, the functions of the embodiment are not limited to those realized by executing the program read by the computer. For example, an operating system (OS) or the like operating on a computer may perform part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiment may be realized by the processing.

1…ネットワークカメラ、2…管理者端末装置、3…サーバ、4…NAS、8…クラウドサーバ、11…撮像部、12…通信部、13…制御部、14…記憶部、15…動体検知部、16…圧縮符号化部、17…音声入力部、18…音声検知部、111…レンズ、112…撮像素子、113…現像処理部、141…フレームバッファ、142…フラッシュメモリ、143…DRAM   DESCRIPTION OF SYMBOLS 1 network camera 2 administrator terminal device 3 server 4 NAS 8 cloud server 11 imaging unit 12 communication unit 13 control unit 14 storage unit 15 moving body detection unit 16 compression encoding unit 17 voice input unit 18 voice detection unit 111 lens 112 imaging device 113 development processing unit 141 frame buffer 142 flash memory 143 DRAM

Claims (14)

被写体を撮像して撮像画像を取得する撮像手段と、
前記撮像手段により撮像された前記撮像画像中の動体を検知する検知手段と、
前記撮像手段により取得された前記撮像画像を圧縮して圧縮画像を生成する圧縮手段と、
前記圧縮手段により生成された前記圧縮画像をネットワークを介して外部装置へ配信する配信手段と、
前記圧縮画像を前記外部装置へ配信中でない場合、前記検知手段により前記動体が検知された領域である動体領域を第1のモードで圧縮し、前記撮像画像中の前記動体領域以外の背景領域を前記第1のモードと異なる第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる制御手段と、
を備えることを特徴とする撮像装置。
Imaging means for imaging a subject and acquiring a captured image;
A detection unit that detects a moving body in the captured image captured by the imaging unit;
Compression means for compressing the captured image acquired by the imaging means to generate a compressed image;
Distribution means for distributing the compressed image generated by the compression means to an external device via a network;
When the compressed image is not being delivered to the external device, the moving object area, which is an area in which the moving object is detected by the detecting means, is compressed in the first mode, and background areas other than the moving object area in the captured image Control means for controlling the compression means to generate the compressed image so as to compress in a second mode different from the first mode;
An imaging apparatus comprising:
前記制御手段は、前記圧縮画像を前記外部装置へ配信中でない場合、前記動体領域の圧縮率が前記背景領域の圧縮率より低くなるよう、前記圧縮手段を制御して前記圧縮画像を生成させる、
ことを特徴とする請求項1に記載の撮像装置。
When the compressed image is not being delivered to the external device, the control unit controls the compression unit to generate the compressed image so that the compression ratio of the moving object region is lower than the compression ratio of the background region.
The imaging device according to claim 1,
前記制御手段は、前記圧縮画像を前記外部装置へ配信中である場合、前記撮像画像を1つの圧縮率で圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる、
ことを特徴とする請求項2に記載の撮像装置。
When the compressed image is being delivered to the external device, the control unit controls the compression unit to generate the compressed image so as to compress the captured image at a single compression rate.
The imaging device according to claim 2, characterized in that:
前記制御手段は、前記圧縮画像を前記外部装置へ配信中である場合、前記検知手段を制御して、前記圧縮画像を前記外部装置へ配信中でない場合より少ない数の画像フレームから前記動体領域の情報を生成させ、
前記圧縮手段を制御して、前記検知手段により生成された前記動体領域の情報を参照して前記圧縮画像を生成させる、
ことを特徴とする請求項1に記載の撮像装置。
When the compressed image is being distributed to the external device, the control unit controls the detection unit to generate a smaller number of image frames from the number of image frames than when the compressed image is not being distributed to the external device. Generate information,
The compression means is controlled to generate the compressed image with reference to the information of the moving body region generated by the detection means.
The imaging device according to claim 1,
前記圧縮手段により生成された前記圧縮画像を記憶する記憶手段をさらに備え、
前記制御手段は、前記記憶手段に前記圧縮画像が記憶されている間であって、かつ前記圧縮画像を前記外部装置へ配信中でない場合、前記動体領域を前記第1のモードで圧縮し、前記背景領域を前記第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる、
ことを特徴とする請求項1から4のいずれか1項に記載の撮像装置。
It further comprises storage means for storing the compressed image generated by the compression means,
The control means compresses the moving body area in the first mode when the compressed image is being stored in the storage means and the compressed image is not being delivered to the external device, The compression unit is controlled to generate the compressed image so that the background area is compressed in the second mode.
The imaging device according to any one of claims 1 to 4, characterized in that:
前記制御手段は、前記配信手段が前記圧縮画像を前記外部装置へ録画用に配信中である場合、前記動体領域を前記第1のモードで圧縮し、前記背景領域を前記第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる、
ことを特徴とする請求項1から5のいずれか1項に記載の撮像装置。
The control means compresses the moving body area in the first mode and compresses the background area in the second mode when the distribution means is distributing the compressed image to the external device for recording. Control the compression means to generate the compressed image,
The imaging device according to any one of claims 1 to 5, characterized in that.
前記撮像手段により取得された前記撮像画像をバッファするバッファ手段をさらに備え、
前記撮像手段は所定時間分の前記撮像画像を、前記検知手段は前記所定時間分の前記動体領域の情報を、前記バッファ手段にそれぞれ出力し、
前記圧縮手段は、前記バッファ手段から前記撮像画像と前記動体領域の情報を取得して、前記圧縮画像を生成する、
ことを特徴とする請求項1から6のいずれか1項に記載の撮像装置。
It further comprises buffer means for buffering the captured image acquired by the imaging means,
The imaging means outputs the captured image for a predetermined time, and the detection means outputs information on the moving object region for the predetermined time to the buffer means.
The compression means obtains the captured image and the information of the moving body area from the buffer means, and generates the compressed image.
The imaging device according to any one of claims 1 to 6, characterized in that:
前記検知手段が検知すべき前記撮像画像中の動体または前記撮像画像に対応する音声を、前記検知手段に設定する設定手段をさらに備える、
ことを特徴とする請求項1から7のいずれか1項に記載の撮像装置。
The apparatus further comprises setting means for setting, to the detection means, a moving object in the captured image to be detected by the detection means or a sound corresponding to the captured image.
The imaging device according to any one of claims 1 to 7, characterized in that:
前記制御手段は、前記圧縮画像を前記外部装置へ配信中であり、かつ前記撮像手段の撮像周期が所定時間より長い場合、前記検知手段を制御して、前記圧縮画像を前記外部装置へ配信中でない場合と同じ数の画像フレームから前記動体領域の情報を生成させる、
ことを特徴とする請求項4に記載の撮像装置。
When the compressed image is being delivered to the external device and the imaging cycle of the imaging device is longer than a predetermined time, the control means controls the detection means to deliver the compressed image to the external device. Generating information of the moving body area from the same number of image frames as in the case of
The imaging device according to claim 4,
前記圧縮手段により生成された前記圧縮画像を記憶する記憶手段をさらに備え、
前記配信手段は、前記記憶手段が前記圧縮画像を記憶し終えた際に、前記圧縮画像を前記外部装置へ配信中でない場合、前記圧縮手段が生成する前記圧縮画像とは異なる第2の圧縮画像を、前記外部装置へ配信する、
ことを特徴とする請求項1から9のいずれか1項に記載の撮像装置。
It further comprises storage means for storing the compressed image generated by the compression means,
The delivery means is a second compressed image different from the compressed image generated by the compression means when the compressed image is not being delivered to the external device when the storage means has stored the compressed image. Distributed to the external device,
The imaging device according to any one of claims 1 to 9, characterized in that.
前記制御手段は、前記圧縮画像を前記外部装置へ配信中でない場合に替えて、前記圧縮画像の前記外部装置へのアップロードまたは前記記憶手段への記憶が開始されてから所定時間内にある間、前記動体領域を前記第1のモードで圧縮し、前記背景領域を前記第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる、
ことを特徴とする請求項1から10のいずれか1項に記載の撮像装置。
The control means changes the case where the compressed image is not being delivered to the external device, and while the uploading of the compressed image to the external device or the storage of the compressed image to the storage device is started, within a predetermined time. Controlling the compression unit to generate the compressed image so as to compress the moving body region in the first mode and compress the background region in the second mode;
The imaging device according to any one of claims 1 to 10, characterized in that:
撮像手段により撮像された撮像画像中の動体を検知する検知手段と、
前記撮像画像を圧縮して圧縮画像を生成する圧縮手段と、
前記圧縮手段により生成された前記圧縮画像をネットワークを介して外部装置へ配信する配信手段と、
前記圧縮画像を前記外部装置へ配信中でない場合、前記検知手段により前記動体が検知された領域である動体領域を第1のモードで圧縮し、前記撮像画像中の前記動体領域以外の背景領域を前記第1のモードと異なる第2のモードで圧縮するよう、前記圧縮手段を制御して前記圧縮画像を生成させる制御手段と、
を備えることを特徴とする符号化装置。
A detection unit that detects a moving body in a captured image captured by the imaging unit;
Compression means for compressing the captured image to generate a compressed image;
Distribution means for distributing the compressed image generated by the compression means to an external device via a network;
When the compressed image is not being delivered to the external device, the moving object area, which is an area in which the moving object is detected by the detecting means, is compressed in the first mode, and background areas other than the moving object area in the captured image Control means for controlling the compression means to generate the compressed image so as to compress in a second mode different from the first mode;
An encoding apparatus comprising:
被写体を撮像して撮像画像を取得するステップと、
撮像された前記撮像画像中の動体を検知するステップと、
取得された前記撮像画像を圧縮して圧縮画像を生成するステップと、
生成された前記圧縮画像をネットワークを介して外部装置へ配信するステップとを含み、
前記圧縮画像を生成する前記ステップにおいて、前記圧縮画像を前記外部装置へ配信中でない場合、前記動体が検知された領域である動体領域を第1のモードで圧縮し、前記撮像画像中の前記動体領域以外の背景領域を前記第1のモードと異なる第2のモードで圧縮するよう、前記圧縮画像を生成する、
ことを特徴とする撮像装置の制御方法。
Imaging a subject to obtain a captured image;
Detecting a moving body in the captured image captured;
Compressing the acquired captured image to generate a compressed image;
Delivering the generated compressed image to an external device via a network,
In the step of generating the compressed image, when the compressed image is not being delivered to the external device, a moving object region which is a region in which the moving object is detected is compressed in a first mode, and the moving object in the captured image is Generating the compressed image to compress background areas other than the area in a second mode different from the first mode;
And controlling the imaging device.
コンピュータを、請求項1から12のいずれか1項に記載の装置の各手段として機能させるためのプログラム。




A program for causing a computer to function as each means of the device according to any one of claims 1 to 12.




JP2017183370A 2017-09-25 2017-09-25 Imaging device, control method for imaging device and program Pending JP2019062267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017183370A JP2019062267A (en) 2017-09-25 2017-09-25 Imaging device, control method for imaging device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017183370A JP2019062267A (en) 2017-09-25 2017-09-25 Imaging device, control method for imaging device and program

Publications (1)

Publication Number Publication Date
JP2019062267A true JP2019062267A (en) 2019-04-18

Family

ID=66177754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017183370A Pending JP2019062267A (en) 2017-09-25 2017-09-25 Imaging device, control method for imaging device and program

Country Status (1)

Country Link
JP (1) JP2019062267A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2021033252A1 (en) * 2019-08-20 2021-02-25
JP7531677B1 (en) 2023-10-13 2024-08-09 セーフィー株式会社 System, method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2021033252A1 (en) * 2019-08-20 2021-02-25
WO2021033252A1 (en) * 2019-08-20 2021-02-25 株式会社ソニー・インタラクティブエンタテインメント Transfer control device, image processing device, transfer control method, and program
US20220329743A1 (en) * 2019-08-20 2022-10-13 Sony Interactive Entertainment Inc. Transfer control device, image processing device, transfer control method, and program
JP7252352B2 (en) 2019-08-20 2023-04-04 株式会社ソニー・インタラクティブエンタテインメント Transfer control device, system, transfer control method and program
US11910110B2 (en) * 2019-08-20 2024-02-20 Sony Interactive Entertainment Inc. Transfer control device, image processing device, transfer control method, and program
JP7531677B1 (en) 2023-10-13 2024-08-09 セーフィー株式会社 System, method, and program
JP2025067642A (en) * 2023-10-13 2025-04-24 セーフィー株式会社 System, method, and program

Similar Documents

Publication Publication Date Title
US11095925B2 (en) Artificial intelligence based resolution improvement system
US10594988B2 (en) Image capture apparatus, method for setting mask image, and recording medium
JP6203965B2 (en) Thermal and power management
US11089214B2 (en) Generating output video from video streams
US20220337827A1 (en) Method and system for real-time content-adaptive transcoding of video content on mobile devices to save network bandwidth during video sharing
US10284877B2 (en) Video encoder
CN111988560B (en) Method and apparatus for encoding and streaming video sequences over multiple network connections
WO2018113191A1 (en) Bit rate control method and device
JP2023510446A (en) Adaptively encode video frames using content and network analysis
JP6396397B2 (en) Bit rate controller and output bit rate limiting method
KR20110052933A (en) Filming device and filming method
KR20160142200A (en) Video capture device using MJPEG
US10015395B2 (en) Communication system, communication apparatus, communication method and program
TWI655865B (en) A method for configuration of video stream output from a digital video camera
JP2021534679A (en) Image acquisition device control method and device
JP2019062267A (en) Imaging device, control method for imaging device and program
US20210144393A1 (en) Image capturing device, distribution system, distribution method, and recording medium
US11496535B2 (en) Video data transmission apparatus, video data transmitting method, and storage medium
CN108124155B (en) Code rate control method and device and electronic equipment
WO2021087819A1 (en) Information processing method, terminal device and storage medium
KR102372721B1 (en) Method, user device and recording medium for computer program
KR20150095080A (en) Apparatus and Method for Transmitting Video Data
JP6415387B2 (en) Display control apparatus, display control method, and program
CN117336443A (en) Method, device, equipment and system for monitoring camera shooting signals
JP2018061110A (en) Server device, network system, and sensor device