Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7540862B2 - Image processing device and image processing system - Google Patents
[go: Go Back, main page]

JP7540862B2 - Image processing device and image processing system - Google Patents

Image processing device and image processing system Download PDF

Info

Publication number
JP7540862B2
JP7540862B2 JP2020059589A JP2020059589A JP7540862B2 JP 7540862 B2 JP7540862 B2 JP 7540862B2 JP 2020059589 A JP2020059589 A JP 2020059589A JP 2020059589 A JP2020059589 A JP 2020059589A JP 7540862 B2 JP7540862 B2 JP 7540862B2
Authority
JP
Japan
Prior art keywords
data
frame
unit
motion
motion detection
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.)
Active
Application number
JP2020059589A
Other languages
Japanese (ja)
Other versions
JP2021158613A (en
Inventor
大介 植田
吉則 小関
伸晃 深井
Original Assignee
サクサ株式会社
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 サクサ株式会社 filed Critical サクサ株式会社
Priority to JP2020059589A priority Critical patent/JP7540862B2/en
Publication of JP2021158613A publication Critical patent/JP2021158613A/en
Application granted granted Critical
Publication of JP7540862B2 publication Critical patent/JP7540862B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、画像処理装置及び画像処理システムに関する。 The present invention relates to an image processing device and an image processing system.

撮像装置からネットワークを介して取得したデジタル圧縮処理が施された撮像データを伸長するとともに、伸長した撮像データを用いて撮像装置が撮像した被写体の動きを検出する画像処理装置が知られている(例えば、特許文献1を参照)。 There is known an image processing device that expands digitally compressed imaging data acquired from an imaging device via a network, and detects the movement of a subject captured by the imaging device using the expanded imaging data (see, for example, Patent Document 1).

特許第4325596号公報Patent No. 4325596

従来の画像処理装置は、近接フレーム間の差分に基づいて被写体の動きを常時検出しているので、処理負荷が大きかった。監視カメラシステムにおける画像処理装置は、取得した撮像データを伸長する処理、被写体の動きを検出する処理、及び取得した撮像データに基づくデータを表示装置のような他の装置に出力する処理を実行する必要があるため、被写体の動きを検出する処理の処理負荷を小さくすることが求められていた。 Conventional image processing devices constantly detect the movement of a subject based on the difference between adjacent frames, resulting in a large processing load. Image processing devices in surveillance camera systems must perform processes to expand acquired imaging data, detect the movement of the subject, and output data based on the acquired imaging data to another device such as a display device, so there is a demand to reduce the processing load of the process of detecting the movement of the subject.

そこで、本発明はこれらの点に鑑みてなされたものであり、被写体の動きを検出する処理の処理負荷を小さくすることができる画像処理装置及び画像処理システムを提供することを目的とする。 Therefore, the present invention has been made in consideration of these points, and aims to provide an image processing device and an image processing system that can reduce the processing load of detecting the movement of a subject.

本発明の第1の態様に係る画像処理装置は、Iフレームデータ、Bフレームデータ及びPフレームデータを含む圧縮動画像データを取得する画像データ取得部と、前記圧縮動画像データから複数の前記Iフレームデータを抽出するIフレーム抽出部と、前記Iフレーム抽出部が抽出した前記複数のIフレームデータに基づいて、前記圧縮動画像データに含まれる被写体の動きを検出する動き検出部と、前記圧縮動画像データをさらに圧縮して再圧縮データを生成する圧縮部と、前記再圧縮データと、前記再圧縮データにおける、前記動き検出部が前記動きを検出した動き検知タイミングを示すタイミングデータとを出力するデータ出力部と、を有する。 The image processing device according to the first aspect of the present invention has an image data acquisition unit that acquires compressed video data including I frame data, B frame data, and P frame data, an I frame extraction unit that extracts a plurality of the I frame data from the compressed video data, a motion detection unit that detects the motion of a subject included in the compressed video data based on the plurality of I frame data extracted by the I frame extraction unit, a compression unit that further compresses the compressed video data to generate recompressed data, and a data output unit that outputs the recompressed data and timing data in the recompressed data indicating the motion detection timing at which the motion detection unit detected the motion.

前記データ出力部は、時刻を示す時刻データに関連付けた前記再圧縮データと、前記動き検出部が前記動きを検出した時刻を示す前記タイミングデータとを出力してもよい。 The data output unit may output the recompressed data associated with time data indicating a time, and the timing data indicating a time at which the motion detection unit detected the motion.

前記データ出力部は、前記動きを検出した前記被写体の特徴を示す特徴データを、前記再圧縮データにおいて前記動きが検出された画像フレームに関連付けて出力してもよい。 The data output unit may output feature data indicating the characteristics of the subject in which the motion was detected, in association with the image frame in which the motion was detected in the recompressed data.

前記動き検出部は、所定の時間間隔より長い時間離れた前記複数のIフレームデータに基づいて前記動きを検出してもよい。 The motion detection unit may detect the motion based on the plurality of I frame data separated by a time interval longer than a predetermined time interval.

前記動き検出部は、所定の期間内に閾値以上の前記Iフレームデータが含まれる場合に前記動きの検出処理を実行し、前記所定の期間内に前記閾値未満の前記Iフレームデータが含まれる場合に前記動きの検出処理の実行を停止してもよい。 The motion detection unit may execute the motion detection process when I-frame data equal to or greater than a threshold is included within a predetermined period, and may stop execution of the motion detection process when I-frame data less than the threshold is included within the predetermined period.

本発明の第2の態様に係る画像処理システムは、複数の撮像装置と、前記複数の撮像装置から受信した圧縮動画像データを再圧縮する画像処理装置と、を備え、前記複数の撮像装置それぞれは、撮像画像データを生成する画像生成部と、前記撮像画像データを圧縮することにより前記圧縮動画像データを生成する第1圧縮部と、前記撮像装置を識別するための撮像装置識別情報に関連付けて前記圧縮動画像データを送信する送信部と、を有し、前記画像処理装置は、Iフレームデータ、Bフレームデータ及びPフレームデータを含む圧縮動画像データを取得する画像データ取得部と、前記圧縮動画像データから複数の前記Iフレームデータを抽出するIフレーム抽出部と、前記Iフレーム抽出部が抽出した前記複数のIフレームデータに基づいて、前記圧縮動画像データに含まれる被写体の動きを検出する動き検出部と、前記圧縮動画像データをさらに圧縮して再圧縮データを生成する第2圧縮部と、前記再圧縮データと、前記再圧縮データにおける、前記動き検出部が前記動きを検出した動き検知タイミングを示すタイミングデータとを出力するデータ出力部と、を有する。 The image processing system according to the second aspect of the present invention includes a plurality of imaging devices and an image processing device that recompresses compressed video data received from the plurality of imaging devices. Each of the plurality of imaging devices has an image generation unit that generates captured image data, a first compression unit that generates the compressed video data by compressing the captured image data, and a transmission unit that transmits the compressed video data in association with imaging device identification information for identifying the imaging device. The image processing device has an image data acquisition unit that acquires compressed video data including I frame data, B frame data, and P frame data, an I frame extraction unit that extracts a plurality of I frame data from the compressed video data, a motion detection unit that detects the motion of a subject included in the compressed video data based on the plurality of I frame data extracted by the I frame extraction unit, a second compression unit that further compresses the compressed video data to generate recompressed data, and a data output unit that outputs the recompressed data and timing data in the recompressed data indicating the motion detection timing at which the motion detection unit detected the motion.

本発明によれば、被写体の動きを検出する処理の処理負荷を小さくすることができるという効果を奏する。 The present invention has the advantage of being able to reduce the processing load of detecting the movement of a subject.

本発明の実施の形態に係る画像処理システムSの構成を示す図である。1 is a diagram showing a configuration of an image processing system S according to an embodiment of the present invention. 撮像装置1と画像処理装置3の構成を示す図である。FIG. 1 is a diagram showing the configurations of an imaging device 1 and an image processing device 3. 動き検出部35の動作のフローチャートを示す図である。FIG. 11 is a flowchart showing the operation of a motion detection unit 35. データ出力部36が出力するデータの構造を示す図である。4 is a diagram showing the structure of data output by a data output unit 36. FIG.

[画像処理システムSの構成]
図1は、本発明の実施の形態に係る画像処理システムSの構成を示す図である。画像処理システムSは、複数の撮像装置1(撮像装置1a,1b,1c)と、表示装置2と、画像処理装置3とを有する。画像処理システムSは、例えば、複数の撮像装置1が撮像した画像を表示装置2が表示する監視システムである。
[Configuration of image processing system S]
1 is a diagram showing a configuration of an image processing system S according to an embodiment of the present invention. The image processing system S has a plurality of imaging devices 1 (imaging devices 1a, 1b, 1c), a display device 2, and an image processing device 3. The image processing system S is, for example, a surveillance system in which the display device 2 displays images captured by the plurality of imaging devices 1.

複数の撮像装置1と画像処理装置3とはネットワークN1により接続されている。画像処理装置3と表示装置2とはネットワークN2により接続されている。ネットワークN1及びネットワークN2は、ローカルエリアネットワーク、インターネット等の任意のネットワークである。ネットワークN1とネットワークN2とは、同じネットワークでもよい。 The multiple imaging devices 1 and the image processing device 3 are connected by a network N1. The image processing device 3 and the display device 2 are connected by a network N2. The networks N1 and N2 are any network such as a local area network or the Internet. The networks N1 and N2 may be the same network.

撮像装置1は、動画像を撮像することができるカメラであり、例えば施設内に設置される監視カメラである。撮像装置1は、撮像した動画像を圧縮することにより圧縮動画像データを生成する。圧縮動画像データは、例えばMPEG(Moving Picture Experts Group)、Motion JPEG(Joint Photographic Experts Group)又はH.264により符号化されたデータである。撮像装置1は、生成した圧縮動画像データを、ネットワークN1を介して画像処理装置3に送信する。 The imaging device 1 is a camera capable of capturing moving images, such as a surveillance camera installed within a facility. The imaging device 1 generates compressed moving image data by compressing the captured moving images. The compressed moving image data is data encoded, for example, by MPEG (Moving Picture Experts Group), Motion JPEG (Joint Photographic Experts Group), or H.264. The imaging device 1 transmits the generated compressed moving image data to the image processing device 3 via the network N1.

表示装置2は、画像処理装置3から受信した圧縮動画像データを伸長して生成した動画像データをディスプレイに表示するための装置である。表示装置2は、例えばネットワークビデオレコーダを有しており、画像処理装置3からネットワークN2を介して取得した動画像データを記憶することもできる。 The display device 2 is a device for displaying on a display the moving image data generated by expanding the compressed moving image data received from the image processing device 3. The display device 2 has, for example, a network video recorder, and can also store the moving image data acquired from the image processing device 3 via the network N2.

画像処理装置3は、ネットワークN1を介して、複数の撮像装置1から圧縮動画像データを受信する。画像処理装置3は、受信した圧縮動画像データを伸長するとともに、伸長した動画像データに基づいて被写体の動きを検出する。画像処理装置3は、複数の撮像装置1から受信した圧縮動画像データを再圧縮することにより再圧縮データを生成し、ネットワークN2を介して、生成した再圧縮データを表示装置2に送信する。再圧縮する処理は、圧縮動画像データを伸長した後に再度圧縮する処理、又は圧縮動画像データをさらに圧縮する処理である。 The image processing device 3 receives compressed video data from the multiple imaging devices 1 via the network N1. The image processing device 3 decompresses the received compressed video data and detects the movement of the subject based on the decompressed video data. The image processing device 3 generates recompressed data by recompressing the compressed video data received from the multiple imaging devices 1, and transmits the generated recompressed data to the display device 2 via the network N2. The recompression process is a process in which the compressed video data is decompressed and then compressed again, or a process in which the compressed video data is further compressed.

[撮像装置1と画像処理装置3の構成]
図2は、撮像装置1と画像処理装置3の構成を示す図である。撮像装置1は、撮像部11と、画像生成部12と、第1圧縮部13と、送信部14とを有する。画像処理装置3は、画像データ取得部31と、伸長部32と、第2圧縮部33と、Iフレーム抽出部34と、動き検出部35と、データ出力部36とを有する。画像データ取得部31、伸長部32、第2圧縮部33、Iフレーム抽出部34、動き検出部35、及びデータ出力部36は、例えばプロセッサにより実現されるが、プロセッサ以外の回路により実現されてもよい。
[Configuration of imaging device 1 and image processing device 3]
2 is a diagram showing the configurations of the imaging device 1 and the image processing device 3. The imaging device 1 has an imaging section 11, an image generation section 12, a first compression section 13, and a transmission section 14. The image processing device 3 has an image data acquisition section 31, an expansion section 32, a second compression section 33, an I frame extraction section 34, a motion detection section 35, and a data output section 36. The image data acquisition section 31, the expansion section 32, the second compression section 33, the I frame extraction section 34, the motion detection section 35, and the data output section 36 are realized by, for example, a processor, but may be realized by a circuit other than a processor.

撮像部11は、CCD(Charge Coupled Device)センサ、CMOS(Complementary Metal Oxide Semiconductor)センサ等の撮像素子、及びレンズを含む。撮像部11は、レンズに入力された光信号を電気信号に変換した後に画像生成部12に出力する。画像生成部12は、撮像部11から取得した電気信号をデジタルデータに変換することにより撮像画像データを生成する。画像生成部12は、生成した撮像画像データを第1圧縮部13に出力する。 The imaging unit 11 includes an imaging element such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor, and a lens. The imaging unit 11 converts an optical signal input to the lens into an electrical signal, and then outputs the electrical signal to the image generation unit 12. The image generation unit 12 generates captured image data by converting the electrical signal acquired from the imaging unit 11 into digital data. The image generation unit 12 outputs the generated captured image data to the first compression unit 13.

第1圧縮部13は、画像生成部12から取得した撮像画像データを圧縮することにより圧縮動画像データを生成する。第1圧縮部13は、例えばMPEGを用いて撮像画像データを圧縮する。具体的には、第1圧縮部13は、フレーム間予測を用いずに画像データが符号化された画像フレーム(Iフレーム)又はフレーム間予測を用いて画像データが符号化された画像フレーム(Bフレーム又はPフレーム)に撮像画像データを変換することで、撮像画像データを圧縮する。第1圧縮部13は、生成した圧縮動画像データを送信部14に出力する。 The first compression unit 13 generates compressed video data by compressing the captured image data acquired from the image generation unit 12. The first compression unit 13 compresses the captured image data using, for example, MPEG. Specifically, the first compression unit 13 compresses the captured image data by converting the captured image data into an image frame (I frame) in which the image data is coded without using inter-frame prediction, or into an image frame (B frame or P frame) in which the image data is coded using inter-frame prediction. The first compression unit 13 outputs the generated compressed video data to the transmission unit 14.

送信部14は、撮像装置1を識別するための撮像装置識別情報に関連付けて、第1圧縮部13から取得した圧縮動画像データを画像処理装置3に送信する。送信部14が、撮像装置を識別するための撮像装置識別情報と圧縮動画像データとを関連付けることで、画像処理装置3は、圧縮動画像データを送信した撮像装置1を識別できる。 The transmission unit 14 transmits the compressed video data acquired from the first compression unit 13 to the image processing device 3 in association with imaging device identification information for identifying the imaging device 1. By the transmission unit 14 associating the imaging device identification information for identifying the imaging device with the compressed video data, the image processing device 3 can identify the imaging device 1 that transmitted the compressed video data.

続いて、画像処理装置3の構成を説明する。画像データ取得部31は、Iフレームデータ、Bフレームデータ及びPフレームデータを含む圧縮動画像データを、ネットワークN1を介して送信部14から取得する。画像データ取得部31は、取得した圧縮動画像データを伸長部32とIフレーム抽出部34とに出力する。 Next, the configuration of the image processing device 3 will be described. The image data acquisition unit 31 acquires compressed video data including I frame data, B frame data, and P frame data from the transmission unit 14 via the network N1. The image data acquisition unit 31 outputs the acquired compressed video data to the decompression unit 32 and the I frame extraction unit 34.

伸長部32は、画像データ取得部31から取得した圧縮動画像データを伸長することにより、圧縮動画像データを伸長したデータである伸長画像データを生成する。伸長部32は、伸長画像データを第2圧縮部33に出力する。 The decompression unit 32 generates decompressed image data, which is data obtained by decompressing the compressed video data by decompressing the compressed video data acquired from the image data acquisition unit 31. The decompression unit 32 outputs the decompressed image data to the second compression unit 33.

第2圧縮部33は、撮像装置1から取得した圧縮動画像データをさらに圧縮して再圧縮データを生成する。具体的には、第2圧縮部33は、例えば伸長部32から取得した伸長画像データを圧縮することにより再圧縮データを生成する。第2圧縮部33は、第1圧縮部13とは異なる圧縮方式を用いてもよい。第2圧縮部33は、生成した再圧縮データをデータ出力部36に出力する。 The second compression unit 33 further compresses the compressed video image data acquired from the imaging device 1 to generate recompressed data. Specifically, the second compression unit 33 generates recompressed data by compressing, for example, the decompressed image data acquired from the decompression unit 32. The second compression unit 33 may use a compression method different from that of the first compression unit 13. The second compression unit 33 outputs the generated recompressed data to the data output unit 36.

第2圧縮部33は、第1圧縮部13が生成する圧縮動画像データよりも圧縮率が高い再圧縮データを生成する。このように、第2圧縮部33が、第1圧縮部13が生成した圧縮動画像データよりも圧縮率が高い再圧縮データを生成することで、画像処理装置3は、ネットワークN2を介して、多数の撮像装置1により生成された撮像画像データに基づく画像データを表示装置2に送信することができる。 The second compression unit 33 generates recompressed data with a higher compression ratio than the compressed video data generated by the first compression unit 13. In this way, the second compression unit 33 generates recompressed data with a higher compression ratio than the compressed video data generated by the first compression unit 13, so that the image processing device 3 can transmit image data based on the captured image data generated by multiple imaging devices 1 to the display device 2 via the network N2.

Iフレーム抽出部34は、画像データ取得部31から取得した圧縮動画像データからIフレームデータを抽出する。Iフレーム抽出部34は、圧縮動画像データに含まれる複数のIフレームデータを抽出する。Iフレーム抽出部34は、抽出した複数のIフレームを動き検出部35に出力する。複数のIフレームデータは、例えば1つのIフレームデータと、当該Iフレームデータの次のIフレームデータである。動き検出部35に出力する複数のIフレームデータは、圧縮動画像データにおいて他のIフレームデータが間に含まれている複数のIフレームデータであってもよい。 The I frame extraction unit 34 extracts I frame data from the compressed video data acquired from the image data acquisition unit 31. The I frame extraction unit 34 extracts multiple I frame data included in the compressed video data. The I frame extraction unit 34 outputs the extracted multiple I frames to the motion detection unit 35. The multiple I frame data are, for example, one I frame data and the next I frame data following that I frame data. The multiple I frame data output to the motion detection unit 35 may be multiple I frame data in which other I frame data is included between them in the compressed video data.

動き検出部35は、Iフレーム抽出部34が抽出した複数のIフレームデータに基づいて、第1圧縮部13が生成した圧縮動画像データに含まれる被写体の動きを検出する。動き検出部35は、例えば、所定の時間間隔より長い時間離れた複数のIフレームデータに基づいて動きを検出する。ここでいう所定の時間間隔とは、例えば1秒以上である。動き検出部35が、このような複数のIフレームデータに基づいて動きを検出することで、動き検出処理の頻度を下げることができるので、画像処理装置3の処理負荷を抑制することができる。 The motion detection unit 35 detects the motion of a subject contained in the compressed video data generated by the first compression unit 13 based on the multiple I frame data extracted by the I frame extraction unit 34. The motion detection unit 35 detects motion based on multiple I frame data separated by a time longer than a predetermined time interval. The predetermined time interval here is, for example, one second or more. By the motion detection unit 35 detecting motion based on such multiple I frame data, the frequency of motion detection processing can be reduced, thereby suppressing the processing load on the image processing device 3.

動き検出部35は、被写体の動きを検出した場合、動きを検出した時刻を示すタイミングデータをデータ出力部36に出力する。また、動き検出部35は、被写体の動きを検出した場合、動きを検出した被写体の特徴を示す特徴データをデータ出力部36に通知する。動き検出部35がデータ出力部36に通知する特徴データは、被写体の形状、色又は大きさを示すデータである。例えば被写体が赤い服を着ている人である場合、特徴データは、「赤い服を着ている人」を示すデータである。被写体の特徴は、例えば特徴を表す文字データ又は特徴に対応する符号化データとしてデータ出力部36に通知される。 When the motion detection unit 35 detects the motion of the subject, it outputs timing data indicating the time when the motion was detected to the data output unit 36. Furthermore, when the motion detection unit 35 detects the motion of the subject, it notifies the data output unit 36 of feature data indicating the features of the subject whose motion was detected. The feature data that the motion detection unit 35 notifies the data output unit 36 of is data indicating the shape, color, or size of the subject. For example, if the subject is a person wearing red clothes, the feature data is data indicating "a person wearing red clothes." The feature of the subject is notified to the data output unit 36 as, for example, character data representing the feature or coded data corresponding to the feature.

データ出力部36は、ネットワークN2を介して、第2圧縮部33から取得した再圧縮データを表示装置2に出力する。また、データ出力部36は、ネットワークN2を介して、再圧縮データにおける、動き検出部35が動きを検出した動き検知タイミングを示すタイミングデータを表示装置2に出力する。データ出力部36は、再圧縮データとタイミングデータとを関連付けて出力する。データ出力部36は、例えば、再圧縮データにおいて動きが検出された画像フレームを識別するための情報である画像フレーム番号を含むタイミングデータを出力する。 The data output unit 36 outputs the recompressed data acquired from the second compression unit 33 to the display device 2 via the network N2. The data output unit 36 also outputs timing data indicating the motion detection timing at which the motion detection unit 35 detected motion in the recompressed data to the display device 2 via the network N2. The data output unit 36 outputs the recompressed data and the timing data in association with each other. The data output unit 36 outputs, for example, the timing data including an image frame number, which is information for identifying an image frame in which motion was detected in the recompressed data.

データ出力部36は、時刻を示す時刻データに関連付けた再圧縮データと、動き検出部35が動きを検出した時刻を示すタイミングデータとを出力してもよい。時刻データに関連付けられた再圧縮データは、例えば、再圧縮データに含まれる画像フレームに時刻情報が付されたデータである。このように、データ出力部36が時刻データに関連付けられた再圧縮データと動きが検出された時刻を示すタイミングデータとを出力することで、表示装置2は、タイミングデータが示す時刻と同一の時刻を示す時刻データに対応する再圧縮データ内の画像フレームを特定することができる。 The data output unit 36 may output the recompressed data associated with time data indicating the time, and timing data indicating the time at which the motion detection unit 35 detected the motion. The recompressed data associated with the time data is, for example, data in which time information is added to an image frame included in the recompressed data. In this way, the data output unit 36 outputs the recompressed data associated with the time data and the timing data indicating the time at which the motion was detected, so that the display device 2 can identify the image frame in the recompressed data that corresponds to the time data indicating the same time as the time indicated by the timing data.

さらに、データ出力部36は、動き検出部35が動きを検出した被写体の特徴を示す特徴データを、再圧縮データにおいて被写体の動きが検出された画像フレームに関連付けて出力してもよい。データ出力部36は、例えば動き検出部35から通知された特徴データと、動きが検出された画像フレーム番号とを同時に出力する。データ出力部36は、動きが検出された被写体が含まれている複数の画像フレームに対応する番号の範囲又は時刻の範囲を特徴データに関連付けて出力してもよい。データ出力部36がこのように動作することで、表示装置2は、動き検出部35動きを検出した画像を表示している間に、被写体の特徴を示す文字列を表示することができるので、表示装置2により監視している人が、動きが検出された被写体を特定しやすくなる。 Furthermore, the data output unit 36 may output feature data indicating the features of the subject whose movement has been detected by the motion detection unit 35 in association with the image frame in which the movement of the subject was detected in the recompressed data. For example, the data output unit 36 simultaneously outputs the feature data notified by the motion detection unit 35 and the image frame number in which the movement was detected. The data output unit 36 may output a range of numbers or a range of times corresponding to multiple image frames containing the subject whose movement has been detected in association with the feature data. By operating the data output unit 36 in this manner, the display device 2 can display a character string indicating the features of the subject while displaying an image in which the movement has been detected by the motion detection unit 35, making it easier for a person monitoring using the display device 2 to identify the subject whose movement has been detected.

[動き検出部35の動作]
図3は、動き検出部35の動作のフローチャートを示す図である。動き検出部35は、Iフレーム抽出部34から、圧縮動画像データから抽出したIフレームを取得する(S11)。動き検出部35は、前回動きを検出してから所定の期間が経過しているかどうかを判定する(S12)。
[Operation of the motion detection unit 35]
3 is a flowchart showing the operation of the motion detection unit 35. The motion detection unit 35 acquires an I frame extracted from the compressed video data from the I frame extraction unit 34 (S11). The motion detection unit 35 determines whether a predetermined period has passed since the previous motion detection (S12).

動き検出部35は、所定の待機時間が経過していないと判定した場合(S12のNO)、取得したIフレームを削除する。動き検出部35は、所定の待機時間が経過したと判定した場合(S12のYES)、所定の期間内に含まれるIフレームの数の算出を開始する(S13)。所定の期間は、監視する対象物が撮像装置1の撮像範囲を通過するために要する最小時間に基づいて定められており、例えば1秒である。動き検出部35は、所定の期間内に閾値以上のIフレームデータが含まれると判定した場合は(S14のYES)、動きの検出処理を実行する(S15)。一方、動き検出部35は、所定の期間内に閾値未満のIフレームデータが含まれると判定した場合は(S14のNO)、動き検出処理の実行を停止する(S16)。 When the motion detection unit 35 determines that the predetermined waiting time has not elapsed (NO in S12), it deletes the acquired I frame. When the motion detection unit 35 determines that the predetermined waiting time has elapsed (YES in S12), it starts calculating the number of I frames contained within the predetermined period (S13). The predetermined period is determined based on the minimum time required for a monitored object to pass through the imaging range of the imaging device 1, and is, for example, one second. When the motion detection unit 35 determines that the predetermined period contains I frame data equal to or greater than the threshold (YES in S14), it executes a motion detection process (S15). On the other hand, when the motion detection unit 35 determines that the predetermined period contains I frame data less than the threshold (NO in S14), it stops executing the motion detection process (S16).

圧縮動画像データに含まれる画像が変化する量が多い場合に、圧縮動画像データにIフレームデータが含まれる割合が多くなる傾向がある。したがって、所定の期間内のIフレームの数に基づいて、動き検出部35が動きの検出処理を実行するか否かを判定することで、動き検出部35は、被写体の動きを検出できる蓋然性が低い場合に動き検出処理を実行せず、被写体の動きを検出できる蓋然性が高い場合に動き検出処理を実行することができる。したがって、被写体の動きを検出できる蓋然性が低い場合に動き検出部35の負荷を小さくできる。 When there is a large amount of change in the images contained in the compressed video data, the proportion of I frame data included in the compressed video data tends to be high. Therefore, by determining whether or not the motion detection unit 35 will perform motion detection processing based on the number of I frames within a specified period, the motion detection unit 35 can not perform motion detection processing when the probability of detecting the motion of the subject is low, and can perform motion detection processing when the probability of detecting the motion of the subject is high. Therefore, the load on the motion detection unit 35 can be reduced when the probability of detecting the motion of the subject is low.

動き検出部35は、動きの検出処理を実行して被写体の動きを検出した場合に、動きを検出した被写体の特徴を特定する(S17)。そして、動き検出部35は、被写体の動きを検出した時刻と特定した被写体の特徴とをデータ出力部36に通知する(S18)。動き検出部35は、動き検出の処理を継続する場合は(S19のNO)、再びIフレームを取得する(S11)。動き検出部35は、動き検出の処理を継続しない場合は(S19のYES)、処理を終了する。 When the motion detection unit 35 executes the motion detection process and detects the motion of the subject, it identifies the characteristics of the subject whose motion was detected (S17). Then, the motion detection unit 35 notifies the data output unit 36 of the time when the motion of the subject was detected and the identified characteristics of the subject (S18). If the motion detection unit 35 wishes to continue the motion detection process (NO in S19), it acquires an I frame again (S11). If the motion detection unit 35 does not wish to continue the motion detection process (YES in S19), it ends the process.

[データ出力部36が出力するデータの構造]
図4は、データ出力部36が出力するデータの構造を示す図である。データPは、例えば1フレーム以上の再圧縮データを含む。ヘッダP1は、データPのヘッダ部である。表示装置2は、ヘッダP1を特定することで、データPを受信したことを特定する。時刻情報P2は、動き検出部35が被写体の動きを検出した時刻を示すタイミングデータである。特徴データP3は、動き検出部35が動きを検出した被写体の特徴を示すデータである。再圧縮データP4は、データPのペイロード部である。再圧縮データP4は、例えば1フレーム以上の再圧縮データを含む。
[Structure of Data Output by Data Output Unit 36]
4 is a diagram showing the structure of data output by the data output unit 36. The data P includes, for example, one or more frames of recompressed data. The header P1 is the header portion of the data P. The display device 2 identifies that it has received the data P by identifying the header P1. The time information P2 is timing data indicating the time at which the motion detection unit 35 detected the motion of the subject. The feature data P3 is data indicating the feature of the subject whose motion has been detected by the motion detection unit 35. The recompressed data P4 is the payload portion of the data P. The recompressed data P4 includes, for example, one or more frames of recompressed data.

表示装置2は、データ出力部36が出力したデータPを、例えば表示装置2が有するネットワークビデオレコーダに記録する。表示装置2は、再圧縮データP4に含まれる複数の画像フレームのうち、時刻情報P2に含まれるタイミングデータが示す時刻と同一の時刻に対応する画像フレームにおいて動きが検出されたことを特定する。表示装置2は、動きが検出された被写体の特徴を示す情報が特徴データP3に含まれる場合、時刻情報P2に含まれるタイミングデータが示す時刻に対応する画像フレームから所定の期間の画像フレームに重ねて、特徴データが示す特徴を表示する。このように表示装置2が動画像に重ねて被写体の特徴を表示することで、ユーザが、動き検出部35が動きを検出した被写体を認識しやすくなる。 The display device 2 records the data P output by the data output unit 36, for example, in a network video recorder that the display device 2 has. The display device 2 determines that, among the multiple image frames included in the recompressed data P4, motion has been detected in an image frame that corresponds to the same time as the time indicated by the timing data included in the time information P2. When information indicating the characteristics of the subject in which motion has been detected is included in the feature data P3, the display device 2 displays the characteristics indicated by the feature data by superimposing them on image frames of a predetermined period starting from the image frame corresponding to the time indicated by the timing data included in the time information P2. In this way, by the display device 2 displaying the characteristics of the subject by superimposing them on a moving image, it becomes easier for the user to recognize the subject whose motion has been detected by the motion detection unit 35.

表示装置2は、動きを検出した時刻を確認するための操作をユーザから受け付けると、時刻情報P2にタイミングデータが含まれるデータPを検索し、抽出されたデータPに関連付けられた再圧縮データP4を伸長してディスプレイに表示する。また、表示装置2は、動きを検出した被写体の特徴を入力する操作をユーザから受け付けると、入力された特徴が特徴データP3に含まれるデータPを検索し、抽出されたデータPに関連付けられた再圧縮データP4を伸長してディスプレイに表示する。表示装置2がこのように動作することで、ユーザは、動きがあった被写体を検索して、動きがあった被写体が写っている画像を容易に確認することができる。 When the display device 2 receives an operation from the user to check the time when movement was detected, it searches for data P whose time information P2 contains timing data, and expands and displays on the display the recompressed data P4 associated with the extracted data P. In addition, when the display device 2 receives an operation from the user to input features of the subject for which movement was detected, it searches for data P whose input features are included in feature data P3, and expands and displays on the display the recompressed data P4 associated with the extracted data P. By the display device 2 operating in this manner, the user can search for subjects that have moved and easily check images in which the subjects that have moved appear.

[本実施形態に係る画像処理装置3の効果]
以上のとおり、画像処理装置3は、圧縮動画像データからIフレームを抽出するIフレーム抽出部34と、抽出したIフレームに基づいて被写体の動きを検出する動き検出部35と、を有する。動き検出部35は、近接フレーム間の差分に基づいて被写体の動きを常時検出することを行わずに、圧縮動画像データに含まれるIフレームデータを抽出した場合にのみ被写体の動きの検出を行うので、被写体の動きを検出する処理の処理負荷を小さくすることができる。
[Effects of the image processing device 3 according to this embodiment]
As described above, the image processing device 3 has an I-frame extraction unit 34 that extracts I-frames from compressed video data, and a motion detection unit 35 that detects the motion of a subject based on the extracted I-frames. The motion detection unit 35 does not constantly detect the motion of a subject based on the difference between adjacent frames, but detects the motion of a subject only when I-frame data included in the compressed video data is extracted, so that the processing load of the process of detecting the motion of a subject can be reduced.

また、動き検出部35は、Iフレーム抽出部34が抽出した複数のIフレームデータに基づいて被写体の動きを検出するとともに、被写体の動きを検出した時刻を示すタイミングデータと検出した被写体の特徴とをデータ出力部36に通知する。動き検出部35がこのように動作することで、画像処理システムSは、動き検出部35が検出した被写体をユーザが特定しやすいように、動画像を表示装置2に表示させることができる。 Moreover, the motion detection unit 35 detects the motion of the subject based on the multiple I frame data extracted by the I frame extraction unit 34, and notifies the data output unit 36 of timing data indicating the time when the motion of the subject was detected and the characteristics of the detected subject. By the motion detection unit 35 operating in this manner, the image processing system S can display a moving image on the display device 2 so that the user can easily identify the subject detected by the motion detection unit 35.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 Although the present invention has been described above using embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination also has the effect of the original embodiment.

1 撮像装置
2 表示装置
3 画像処理装置
11 撮像部
12 画像生成部
13 第1圧縮部
14 送信部
31 画像データ取得部
32 伸長部
33 第2圧縮部
34 Iフレーム抽出部
35 動き検出部
36 データ出力部
Reference Signs List 1: Imaging device 2: Display device 3: Image processing device 11: Imaging section 12: Image generating section 13: First compression section 14: Transmission section 31: Image data acquisition section 32: Decompression section 33: Second compression section 34: I-frame extraction section 35: Motion detection section 36: Data output section

Claims (5)

Iフレームデータ、Bフレームデータ及びPフレームデータを含む圧縮動画像データを取得する画像データ取得部と、
前記圧縮動画像データから複数の前記Iフレームデータを抽出するIフレーム抽出部と、
前記Iフレーム抽出部が抽出した前記複数のIフレームデータに基づいて、前記圧縮動画像データに含まれる被写体の動きを検出する動き検出部と、
前記圧縮動画像データをさらに圧縮して再圧縮データを生成する圧縮部と、
前記再圧縮データと、前記再圧縮データにおける、前記動き検出部が前記動きを検出した動き検知タイミングを示すタイミングデータとを出力するデータ出力部と、
を有し、
前記動き検出部は、他の前記Iフレームデータが間に含まれている前記複数のIフレームデータであって、所定の時間間隔より長い時間離れた前記複数のIフレームデータに基づいて前記動きを検出する、
画像処理装置。
an image data acquisition unit that acquires compressed video data including I frame data, B frame data, and P frame data;
an I frame extraction unit that extracts a plurality of I frame data from the compressed video data;
a motion detection unit that detects a motion of a subject included in the compressed video data based on the plurality of I frame data extracted by the I frame extraction unit;
a compression unit that further compresses the compressed video data to generate recompressed data;
a data output unit that outputs the recompressed data and timing data indicating a motion detection timing at which the motion detection unit detected the motion in the recompressed data;
having
the motion detection unit detects the motion based on the plurality of I frame data which include other I frame data therebetween and are spaced apart by a time longer than a predetermined time interval;
Image processing device.
前記データ出力部は、時刻を示す時刻データに関連付けた前記再圧縮データと、前記動き検出部が前記動きを検出した時刻を示す前記タイミングデータとを出力する、
請求項1に記載の画像処理装置。
the data output unit outputs the recompressed data associated with time data indicating a time, and the timing data indicating a time at which the motion detection unit detected the motion.
The image processing device according to claim 1 .
前記データ出力部は、前記動きを検出した前記被写体の特徴を示す特徴データを、前記再圧縮データにおいて前記動きが検出された画像フレームに関連付けて出力する、
請求項1又は2に記載の画像処理装置。
the data output unit outputs feature data indicating features of the subject from which the motion has been detected in association with the image frame from which the motion has been detected in the recompressed data.
3. The image processing device according to claim 1 or 2.
前記動き検出部は、所定の期間内に閾値以上の前記Iフレームデータが含まれる場合に前記動きの検出処理を実行し、前記所定の期間内に前記閾値未満の前記Iフレームデータが含まれる場合に前記動きの検出処理の実行を停止する、
請求項1からのいずれか一項に記載の画像処理装置。
the motion detection unit executes the motion detection process when the I frame data equal to or greater than a threshold is included within a predetermined period, and stops execution of the motion detection process when the I frame data less than the threshold is included within the predetermined period.
The image processing device according to claim 1 .
複数の撮像装置と、前記複数の撮像装置から受信した圧縮動画像データを再圧縮する画像処理装置と、を備え、
前記複数の撮像装置それぞれは、
撮像画像データを生成する画像生成部と、
前記撮像画像データを圧縮することにより前記圧縮動画像データを生成する第1圧縮部と、
記圧縮動画像データを送信する送信部と、
を有し、
前記画像処理装置は、
Iフレームデータ、Bフレームデータ及びPフレームデータを含む圧縮動画像データを取得する画像データ取得部と、
前記圧縮動画像データから複数の前記Iフレームデータを抽出するIフレーム抽出部と、
前記Iフレーム抽出部が抽出した前記複数のIフレームデータに基づいて、前記圧縮動画像データに含まれる被写体の動きを検出する動き検出部と、
前記圧縮動画像データをさらに圧縮して再圧縮データを生成する第2圧縮部と、
前記再圧縮データと、前記再圧縮データにおける、前記動き検出部が前記動きを検出した動き検知タイミングを示すタイミングデータとを出力するデータ出力部と、
を有し、
前記動き検出部は、他の前記Iフレームデータが間に含まれている前記複数のIフレームデータであって、所定の時間間隔より長い時間離れた前記複数のIフレームデータに基づいて前記動きを検出する、
画像処理システム。
a plurality of imaging devices; and an image processing device that recompresses compressed video data received from the plurality of imaging devices;
Each of the plurality of imaging devices includes:
an image generating unit that generates captured image data;
a first compression unit that generates the compressed video data by compressing the captured image data;
A transmission unit for transmitting the compressed video data;
having
The image processing device includes:
an image data acquisition unit that acquires compressed video data including I frame data, B frame data, and P frame data;
an I frame extraction unit that extracts a plurality of I frame data from the compressed video data;
a motion detection unit that detects a motion of a subject included in the compressed video data based on the plurality of I frame data extracted by the I frame extraction unit;
a second compression unit that further compresses the compressed video data to generate recompressed data;
a data output unit that outputs the recompressed data and timing data indicating a motion detection timing at which the motion detection unit detected the motion in the recompressed data;
having
the motion detection unit detects the motion based on the plurality of I frame data which include other I frame data therebetween and are spaced apart by a time longer than a predetermined time interval;
Image processing system.
JP2020059589A 2020-03-30 2020-03-30 Image processing device and image processing system Active JP7540862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020059589A JP7540862B2 (en) 2020-03-30 2020-03-30 Image processing device and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020059589A JP7540862B2 (en) 2020-03-30 2020-03-30 Image processing device and image processing system

Publications (2)

Publication Number Publication Date
JP2021158613A JP2021158613A (en) 2021-10-07
JP7540862B2 true JP7540862B2 (en) 2024-08-27

Family

ID=77919832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020059589A Active JP7540862B2 (en) 2020-03-30 2020-03-30 Image processing device and image processing system

Country Status (1)

Country Link
JP (1) JP7540862B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244914A (en) 1999-02-18 2000-09-08 Matsushita Electric Ind Co Ltd Video and audio multiplex camera device
JP2007336138A (en) 2006-06-14 2007-12-27 Matsushita Electric Ind Co Ltd Video recording device and video recording program
US20160316219A1 (en) 2015-04-23 2016-10-27 Axis Ab Method and device for processing a video stream in a video camera
JP2016201617A (en) 2015-04-08 2016-12-01 シャープ株式会社 Moving picture reproducing apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244914A (en) 1999-02-18 2000-09-08 Matsushita Electric Ind Co Ltd Video and audio multiplex camera device
JP2007336138A (en) 2006-06-14 2007-12-27 Matsushita Electric Ind Co Ltd Video recording device and video recording program
JP2016201617A (en) 2015-04-08 2016-12-01 シャープ株式会社 Moving picture reproducing apparatus and method
US20160316219A1 (en) 2015-04-23 2016-10-27 Axis Ab Method and device for processing a video stream in a video camera
JP2017005687A (en) 2015-04-23 2017-01-05 アクシス アーベー Method and apparatus for processing a video stream with a video camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Haitao Zhang et al.,F.CCVSReqs: Proposal for updating multiple clauses,ITU-T寄書(SG16-C-0084) ,2017年01月03日

Also Published As

Publication number Publication date
JP2021158613A (en) 2021-10-07

Similar Documents

Publication Publication Date Title
US10057490B2 (en) Image capture apparatus and remote control thereof
US7697036B2 (en) Digital camera for capturing both still images and moving pictures
US8384830B2 (en) Pre-alarm video buffer
JP2010136032A (en) Video monitoring system
JP2008505562A (en) Method and apparatus for detecting motion in an MPEG video stream
JP2010062792A (en) Image compression apparatus, image decompression apparatus, image compression program, and image decompression program
JP7540862B2 (en) Image processing device and image processing system
JP2009100259A (en) Surveillance camera and image surveillance system
JP2007053717A (en) Security monitoring system capable of outputting still image
JP6582876B2 (en) Video storage system, video storage device, and program
JP2002112080A (en) Difference detection camera
CN111279388A (en) Moving image processing device, moving image processing system, and moving image processing method
JP2007215073A (en) Image compression apparatus, image compression program and image compression method, HDR image generation apparatus, HDR image generation program and HDR image generation method, image processing system, image processing program and image processing method
JP2007096412A (en) Moving picture photographing apparatus and moving picture transmitting/receiving system
JP2003111061A (en) Moving body detector, moving body detection system and moving body detection method
JP3435746B2 (en) Remote monitoring device
JP6678525B2 (en) Imaging device and imaging method
KR20030028653A (en) Apparatus and method for capturing image signals based on significance and apparatus and method for compressing and de-compressing significance-based captured image signals
JP2008124626A (en) Apparatus and method for controlling record of image
JP2007036787A (en) Network monitoring camera system
JP4464719B2 (en) Image data transmission system
KR101324229B1 (en) Surveillance system
JP2002238029A (en) Image storage device
KR101926491B1 (en) Method of transmitting moving image
KR20160069429A (en) Apparatus for changing transmission condition of video data based on metedata and method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230303

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20231010

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240528

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240806

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20240813

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240813

R150 Certificate of patent or registration of utility model

Ref document number: 7540862

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350