JP7435208B2 - Image processing device and program - Google Patents
Image processing device and program Download PDFInfo
- Publication number
- JP7435208B2 JP7435208B2 JP2020077752A JP2020077752A JP7435208B2 JP 7435208 B2 JP7435208 B2 JP 7435208B2 JP 2020077752 A JP2020077752 A JP 2020077752A JP 2020077752 A JP2020077752 A JP 2020077752A JP 7435208 B2 JP7435208 B2 JP 7435208B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- frame rate
- image quality
- 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.)
- Active
Links
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Controls And Circuits For Display Device (AREA)
Description
本発明は、画像処理装置及びプログラムに関する。 The present invention relates to an image processing device and a program.
監視カメラシステムにおいて、撮影装置からネットワークを介して取得した撮影データを、取得した撮影データとは異なる形式の画像データに変換して表示装置などに出力する画像処理装置が知られている(例えば、特許文献1を参照)。 In a surveillance camera system, an image processing device is known that converts photographic data acquired from a photographing device via a network into image data in a format different from the acquired photographic data and outputs it to a display device or the like (for example, (See Patent Document 1).
例えば雨天時に撮影装置が撮影する撮影画像には、撮影画像の全体に雨粒の画像が含まれている。このような撮影画像においては、監視対象の被写体を確認しづらいため、できるだけ画質が高い状態で撮影画像を表示装置に表示させることが望ましい。しかしながら、画質が高い状態で撮影画像を表示装置に表示させる場合には、表示装置に送信する撮影画像のデータ量が増えてしまう。表示装置に送信するデータ量が増えると、伝送路の帯域が不足したり、消費電力が増加したりするため、できるだけデータ量を増やすことなく、画質が悪い撮影画像を良好に表示装置に表示させることが求められている。 For example, a photographed image taken by a photographing device during rainy weather includes images of raindrops throughout the photographed image. In such a photographed image, it is difficult to confirm the subject to be monitored, so it is desirable to display the photographed image on a display device with as high image quality as possible. However, when displaying a captured image on a display device with high image quality, the amount of data of the captured image to be transmitted to the display device increases. As the amount of data sent to the display device increases, the bandwidth of the transmission path becomes insufficient and power consumption increases, so it is necessary to display captured images with poor quality on the display device without increasing the amount of data as much as possible. That is what is required.
そこで、本発明はこれらの点に鑑みてなされたものであり、撮影装置から取得した撮影データの画質が低下した場合であっても、表示装置に出力する画像データの画質が低下することを抑制する画像処理装置及びプログラムを提供することを目的とする。 The present invention has been made in view of these points, and it is an object of the present invention to suppress the deterioration in the image quality of image data output to a display device even when the image quality of photographic data acquired from a photographing device deteriorates. The purpose of the present invention is to provide an image processing device and a program that performs image processing.
本発明の第1の態様に係る画像処理装置は、所定のエリアを撮影する撮影装置から動画像データを取得する画像データ取得部と、前記動画像データを圧縮して圧縮データを生成する圧縮部と、前記動画像データ又は前記圧縮データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う前記画質のばらつきが第2閾値以上の場合に、前記画質が第1閾値以上である場合、及び時間経過に伴う前記画質のばらつきが第2閾値未満である場合よりも、前記圧縮部が生成する前記圧縮データのフレームレートを大きくするフレームレート調整部と、を有する。 An image processing device according to a first aspect of the present invention includes an image data acquisition unit that acquires moving image data from a photographing device that photographs a predetermined area, and a compression unit that compresses the moving image data to generate compressed data. and when the image quality of the image area indicated by the moving image data or the compressed data is less than a first threshold, and the variation in the image quality over time is greater than or equal to a second threshold, the image quality is greater than or equal to the first threshold. and a frame rate adjustment unit that increases the frame rate of the compressed data generated by the compression unit compared to when the variation in image quality over time is less than a second threshold.
前記エリアの定常状態の画像に対応する基準画像データを記憶する記憶部をさらに有し、前記フレームレート調整部は、前記基準画像データと前記動画像データ又は前記圧縮データとの差分値に基づいて、前記画質を特定してもよい。 The frame rate adjustment unit further includes a storage unit that stores reference image data corresponding to a steady-state image of the area, and the frame rate adjustment unit adjusts the frame rate based on a difference value between the reference image data and the moving image data or the compressed data. , the image quality may be specified.
前記エリアの定常状態の画像に対応する基準画像データを記憶する記憶部と、前記画像領域に対応する基準画像データと前記動画像データ又は前記圧縮データとの複数の差分を特定する差分特定部と、をさらに有し、前記フレームレート調整部は、前記差分特定部が特定した前記複数の差分の前記画像領域における分布の分散が閾値以上である場合に、前記分散が前記閾値未満である場合よりも前記フレームレートを大きくしてもよい。 a storage unit that stores reference image data corresponding to a steady state image of the area; and a difference identification unit that identifies a plurality of differences between the reference image data corresponding to the image area and the moving image data or the compressed data. , the frame rate adjustment unit further comprises: when the variance of the distribution of the plurality of differences identified by the difference identification unit in the image region is equal to or more than a threshold value, the frame rate adjustment unit adjusts the rate of the difference from when the variance is less than the threshold value. The frame rate may also be increased.
前記フレームレート調整部は、前記動画像データ又は前記圧縮データのPフレームデータ及びBフレームデータの少なくともいずれかに含まれる動きベクトルの数に基づいて前記画質を特定し、前記動きベクトルに対応する画素の位置の時間経過に伴う変化に基づいて前記ばらつきを特定してもよい。 The frame rate adjustment unit specifies the image quality based on the number of motion vectors included in at least one of P frame data and B frame data of the moving image data or the compressed data, and specifies the image quality based on the number of motion vectors included in at least one of P frame data and B frame data of the moving image data or the compressed data, and The variation may be identified based on a change in the position of the object over time.
前記画像領域に含まれる複数の領域それぞれにおいて動く物体を検出し、検出した前記動く物体の動きベクトルを特定する動き特定部をさらに有し、前記フレームレート調整部は、前記動き特定部が前記動画像データの前記複数の領域それぞれに同じ向きの前記動きベクトルを検出した場合に、前記複数の領域それぞれに同じ向きの前記動きベクトルを検出していない場合よりも前記フレームレートを大きくしてもよい。 The frame rate adjustment unit further includes a motion identification unit that detects a moving object in each of a plurality of areas included in the image area and identifies a motion vector of the detected moving object, and the frame rate adjustment unit is configured to When the motion vector in the same direction is detected in each of the plurality of regions of image data, the frame rate may be made higher than when the motion vector in the same direction is not detected in each of the plurality of regions. .
本発明の第2の態様に係るプログラムは、コンピュータを、所定のエリアを撮影する撮影装置から動画像データを取得する画像データ取得部、前記動画像データを圧縮して圧縮データを生成する圧縮部、及び前記動画像データ又は前記圧縮データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う前記画質のばらつきが第2閾値以上の場合に、前記画質が第1閾値以上である場合、及び時間経過に伴う前記画質のばらつきが第2閾値未満である場合よりも、前記圧縮部が生成する前記圧縮データのフレームレートを大きくするフレームレート調整部、として機能させる。 A program according to a second aspect of the present invention includes a computer, an image data acquisition unit that acquires moving image data from a photographing device that photographs a predetermined area, and a compression unit that compresses the moving image data to generate compressed data. , and when the image quality of the image area indicated by the video data or the compressed data is less than a first threshold, and the variation in the image quality over time is greater than or equal to a second threshold, the image quality is greater than or equal to the first threshold. The compression unit functions as a frame rate adjustment unit that increases the frame rate of the compressed data generated by the compression unit, compared to the case where the variation in image quality over time is less than a second threshold value.
本発明によれば、撮影装置から取得した撮影データの画質が低下した場合であっても、表示装置に出力する画像データの画質が低下することを抑制するという効果を奏する。 Advantageous Effects of Invention According to the present invention, even if the image quality of photographic data acquired from a photographing device is degraded, it is possible to suppress a decrease in the image quality of image data output to a display device.
[画像処理システムSの構成]
図1は、本発明の実施の形態に係る画像処理システムSの構成を示す図である。画像処理システムSは、撮影装置1と、表示装置2と、画像処理装置3とを有する。画像処理システムSは、例えば、撮影装置1が撮影した画像を表示装置2が表示する監視システムである。
[Configuration of image processing system S]
FIG. 1 is a diagram showing the configuration of an image processing system S according to an embodiment of the present invention. The image processing system S includes a
撮影装置1は、動画像を撮影することができるカメラであり、例えば監視カメラである。撮影装置1は、撮影した動画像から動画像データを作成するとともに、生成した動画像データを画像処理装置3に送信する。動画像データは、例えばMPEG(Moving Picture Experts Group)、Motion JPEG(Joint Photographic Experts Group)、H.264又はH.265により符号化されたデータである。
The photographing
表示装置2は、動画像を表示することができるディスプレイである。表示装置2は、例えばネットワークビデオレコーダを有しており、画像処理装置3から受信した圧縮データを伸長して伸長動画像データに変換する。圧縮データは、例えば撮影装置1が作成した動画像データの圧縮率よりも圧縮されたデータである。表示装置2は、受信した圧縮データを内部の記憶媒体(例えばハードディスク)に記憶する。また、表示装置2は、伸長動画像データに変換した後に、表示装置2に接続されたモニタに表示する。
The display device 2 is a display that can display moving images. The display device 2 includes, for example, a network video recorder, and decompresses the compressed data received from the image processing device 3 to convert it into decompressed moving image data. The compressed data is, for example, data that is compressed more than the compression rate of the moving image data created by the
画像処理装置3は、撮影装置1から動画像データを受信する。画像処理装置3は、撮影装置1から受信した動画像データを圧縮することにより圧縮データを作成し、作成した圧縮データを表示装置2に送信する。圧縮する処理は、動画像データを伸長した後に再度圧縮する処理である。画像処理装置3は、伸長された動画像データを圧縮することにより、撮影装置1が作成した動画像データの圧縮率よりも圧縮された圧縮データを作成する。
The image processing device 3 receives moving image data from the
画像処理装置3は、動画像データの画質と、動画像データの画像領域における画質のばらつきの大きさとに基づいて、表示装置2に送信する圧縮データのフレームレートを調整する。画像処理装置3は、例えば動画像データが雨天又は雪天時の画像のように、画質が晴天時の画像よりも悪く、かつ画像領域の全体に雨粒や雪の画像があることで領域ごとの画質のばらつきが晴天時の画像よりも大きい場合に、フレームレートを晴天時の画像のフレームレートよりも大きくする。画像処理装置3がこのようにフレームレートを調整することで、画質が悪く、領域ごとの画質のばらつきが大きい画像であっても、表示装置2がモニタに表示する画像の画質を良好に保つことができる。 The image processing device 3 adjusts the frame rate of the compressed data to be transmitted to the display device 2 based on the image quality of the moving image data and the magnitude of variation in image quality in the image area of the moving image data. For example, the image processing device 3 may process image data for each area, such as an image taken on a rainy or snowy day, whose image quality is worse than an image taken on a sunny day, and where there are images of raindrops or snow throughout the image area. When the variation in image quality is larger than that of images taken under clear skies, the frame rate is set higher than that of images taken under clear skies. By adjusting the frame rate in this way by the image processing device 3, the image quality of the image displayed on the monitor by the display device 2 can be maintained at a good level even if the image quality is poor and the image quality varies widely from region to region. Can be done.
続いて、画像処理装置3の構成を説明する。画像処理装置3は、記憶部31と制御部32とを有する。記憶部31は、ROM(Read Only Memory)、RAM(Random Access Memory)及びハードディスク等の記憶媒体を有する。記憶部31は、後述する制御部32が実行するプログラムを記憶している。記憶部31は、例えば基準画像データが記憶されている。基準画像データは、撮影装置1が撮影するエリアの定常状態の画像に対応する。基準画像データは、撮影装置1が撮影した動画像の画像領域に対応する基準画像である。
Next, the configuration of the image processing device 3 will be explained. The image processing device 3 includes a
制御部32は、例えばCPU(Central Processing Unit)である。制御部32は、記憶部31に記憶されているプログラムを実行することにより、画像データ取得部321、圧縮部322、データ出力部323、差分特定部324、及びフレームレート調整部325として機能する。
The
画像データ取得部321は、所定のエリアを撮影する撮影装置1から動画像データを取得する。画像データ取得部321は、取得した動画像データを圧縮部322、差分特定部324、及びフレームレート調整部325に送信する。
The image
圧縮部322は、フレームレート調整部325が決定したフレームレートに基づいて、画像データ取得部321から取得した動画像データを圧縮して圧縮データを生成する。圧縮部322は、生成した圧縮データをデータ出力部323、フレームレート調整部325、及び記憶部31に送信する。データ出力部323は、圧縮部322から受信した圧縮データを表示装置2に送信する。
The
差分特定部324は、画像データ取得部321から動画像データを取得する。差分特定部324は、撮影装置1が撮影した動画像の画像領域に対応する基準画像データと圧縮データとを記憶部31から取得する。基準画像データは、例えば撮影装置1が晴天時に撮影した画像に基づく動画像データである。基準画像データには、動く物体の画像が含まれていないことが望ましい。
The
差分特定部324は、記憶部31から取得した基準画像データと動画像データ又は圧縮データとの差分を特定する。差分特定部324は、例えば、動画像データが示す画像領域を複数に分割した領域のそれぞれに含まれている差分がある位置を特定する。差分は、例えば動画像データに含まれている雨粒又は雪粒に対応している。差分特定部324は、雨粒又は雪粒に基づく差分であると推定される差分値が生じている箇所(例えば、閾値以上の差分値である画素)に差分があると特定してもよい。差分特定部324は、特定した複数の差分の位置(例えば座標)をフレームレート調整部325に通知する。
The
フレームレート調整部325は、画像データ取得部321から取得した動画像データ又は圧縮部322から取得した圧縮データが示す画像領域の画質と、当該動画像データ又は圧縮データの時間経過に伴う画質のばらつきとを特定する。フレームレート調整部325は、特定した画質と画質のばらつきとに基づいて圧縮データのフレームレートを決定し、圧縮部322に通知する。フレームレート調整部325は、例えば以下のいずれかの方法で画像データ取得部321から取得した画質を特定する。
The frame
(第1の画質特定方法)
フレームレート調整部325は、記憶部31から取得したエリアの定常状態の画像に対応する基準画像データと圧縮部322から取得した圧縮データとの差分値に基づいて、動画像データ又は圧縮データの画質を特定する。フレームレート調整部325は、例えば平均二乗誤差(Mean Square Error:MSE)を算出することにより基準画像データと圧縮データとの差分値を決定する。
(First image quality identification method)
The frame
(第2の画質特定方法)
フレームレート調整部325は、記憶部31から取得したエリアの定常状態の画像に対応する基準画像データと動画像データとの差分値に基づいて、動画像データ又は圧縮データの画質を特定してもよい。フレームレート調整部325は、例えば平均二乗誤差を算出することにより基準画像データと動画像データとの差分値を決定する。動画像データの画質と圧縮データの画質とは相関性を有するため、フレームレート調整部325は、このように基準画像データと動画像データとの差分値を用いることによっても動画像データ又は圧縮データの画質を特定することができる。
(Second image quality identification method)
The frame
(第3の画質特定方法)
フレームレート調整部325は、画像データ取得部321から取得した動画像データのPフレームデータ及びBフレームデータの少なくともいずれかに含まれる動きベクトルの数に基づいて画質を特定する。フレームレート調整部325は、動きベクトルの数が多い場合、動画像データが雨天又は雪天時に撮影された画像に基づくデータであり、動きベクトルの数が少ない場合よりも画質が悪いということを特定する。
(Third image quality identification method)
The frame
また、フレームレート調整部325は、例えば以下のいずれかの方法で画像データ取得部321から取得した動画像データの時間経過に伴う画質のばらつきを特定する。
Further, the frame
(第1の画質のばらつきの特定方法)
フレームレート調整部325は、差分特定部324が特定した複数の差分の画像領域における分布の分散に基づいて、画質のばらつきを特定する。フレームレート調整部325は、例えば、差分特定部324から通知された差分の位置の分散に基づいて画質のばらつきを特定する。フレームレート調整部325は、分散が大きければ大きいほど画質のばらつきが大きいと判定する。
(First method for identifying variations in image quality)
The frame
(第2の画質のばらつきの特定方法)
フレームレート調整部325は、動画像データのPフレームデータ及びBフレームデータの少なくともいずれかに含まれる動きベクトルに対応する画素の位置の時間経過に伴う変化に基づいて画質のばらつきを特定する。動きベクトルは、例えば雨粒や雪粒に基づく動きベクトルである。動きベクトルの位置が時間経過に伴って変化をする場合には、時間経過に伴って位置が変化する雨粒や雪粒の画像が動画像データに含まれている蓋然性が高いと考えられるので、フレームレート調整部325は、動きベクトルの変化を用いることにより、雨粒や雪粒に伴う画質のばらつきを特定することができる。
(Second method for identifying variations in image quality)
The frame
フレームレート調整部325は、上記の特定方法により動画像データが示す画像領域の画質と時間経過に伴う画質のばらつきとを特定する。そして、動画像データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う画質のばらつきが第2閾値以上の場合に、画質が第1閾値以上である場合、及び時間経過に伴う画質のばらつきが第2閾値未満である場合よりも、圧縮部322が生成する圧縮データのフレームレートを大きくする。
The frame
第1閾値は、例えばフレームレートを大きくする必要がない画質の最小値として実験によって予め定められた値である。第2閾値は、例えばフレームレートを大きくする必要がない画質のばらつきの最小値として実験によって予め定められた値である。第1閾値は、例えば、雨天時又は雪天時に撮影された動画像データの画質に基づいて定められた値である。第2閾値は、例えば、雨天時又は雪天時に生じ得る画質のばらつきの最小値に基づいて定められた値である。第1閾値及び第2閾値は、予め記憶部31に記憶されていてもよい。
The first threshold is, for example, a value determined in advance through experiments as a minimum value for image quality that does not require an increase in the frame rate. The second threshold is, for example, a value determined in advance through experiments as the minimum value for variations in image quality that does not require an increase in the frame rate. The first threshold is, for example, a value determined based on the image quality of moving image data photographed during rainy or snowy weather. The second threshold is, for example, a value determined based on the minimum value of image quality variations that may occur during rainy or snowy weather. The first threshold value and the second threshold value may be stored in the
[フレームレート調整部325の動作]
図2は、フレームレート調整部325の動作のフローチャートを示す図である。図2は、フレームレート調整部325が、上記の「第1の画質特定方法」と「第1の画質のばらつきの特定方法」とを用いてフレームレートを調整する動作を示す。
[Operation of frame rate adjustment unit 325]
FIG. 2 is a diagram showing a flowchart of the operation of the frame
フレームレート調整部325は、記憶部31から基準画像データを取得する(S11)。フレームレート調整部325は、圧縮部322から圧縮データを取得する(S12)。フレームレート調整部325は、取得した基準画像データと圧縮データとの画質差分値を算出する(S13)。算出した画質差分値が閾値以上である場合(S14のYES)、フレームレート調整部325は、圧縮データが示す画像領域の画質が第1閾値未満と判定し、差分特定部324から基準画像データと圧縮データとの差分を取得する(S15)。
The frame
続いて、フレームレート調整部325は、差分特定部324が特定した複数の差分の画像領域における分布の分散を算出する(S16)。フレームレート調整部325は、算出した分散が閾値以上である場合(S17のYES)に、時間経過に伴う画質のばらつきが第2閾値以上であると判定し、分散が閾値未満である場合よりもフレームレートを大きくするように圧縮部322に通知する(S18)。
Subsequently, the frame
一方、フレームレート調整部325は、算出した画質差分値が閾値未満である場合(S14のNO)、及び算出した分散が閾値未満である場合(S17のNO)、記憶部31又は圧縮部322から、現在の時刻における圧縮データのフレームレートを取得する(S19)。取得したフレームレートがフレームレートを調整していない値である基準フレームレートである場合(S20のNO)、フレームレート調整部325は処理を終了する。取得したフレームレートが基準フレームレートより大きい場合(S20のYES)、フレームレート調整部325は、フレームレートを小さくするように圧縮部322に通知する(S21)。
On the other hand, if the calculated image quality difference value is less than the threshold value (NO in S14), and if the calculated variance is less than the threshold value (NO in S17), the frame
なお、以上の説明において、フレームレート調整部325は、圧縮データに基づいて特定された画質及び画質のばらつきを用いたが、動画像データに基づいて特定された画質及び画質のばらつきを用いてもよい。また、圧縮データに基づいて特定された画質及び画質のばらつきと、動画像データに基づいて特定された画質及び画質のばらつきとを組み合わせて用いてもよい。
Note that in the above explanation, the frame
図3は、フレームレート調整部325の動作のフローチャートを示す図である。図3には、フレームレート調整部325が、上記の「第2の画質特定方法」と「第2の画質のばらつきの特定方法」とを用いてフレームレートを調整する動作を示す。
FIG. 3 is a diagram showing a flowchart of the operation of the frame
フレームレート調整部325は、画像データ取得部321から動画像データを取得する(S31)。フレームレート調整部325は、取得した動画像データ又は圧縮データのPフレームデータ及びBフレームデータの少なくともいずれかに含まれる動きベクトルの数を算出する(S32)。
The frame
算出した動きベクトルの数が閾値以上である場合(S33のYES)、フレームレート調整部325は、動画像データが示す画像領域の画質が第1閾値未満と判定し、現在の時刻より前の時刻の動きベクトルに対応する画素の位置と現在の時刻の動きベクトルに対応する画素の位置との差分を算出する(S34)。算出した画素の位置の差分が閾値以上である場合(S35のYES)、フレームレート調整部325は、時間経過に伴う画質のばらつきが第2閾値以上であると判定し、フレームレートを大きくするように圧縮部322に通知する(S18)。
If the calculated number of motion vectors is equal to or greater than the threshold (YES in S33), the frame
算出した動きベクトルの数が閾値未満である場合(S33のNO)、及び算出した画素の位置の差分が閾値未満である場合(S35のNO)、フレームレート調整部325は、記憶部31又は圧縮部322から、現在の時刻における圧縮データのフレームレートを取得する(S19)。取得したフレームレートがフレームレートを調整していない値である基準フレームレートである場合(S20のNO)、フレームレート調整部325は処理を終了する。取得したフレームレートが基準フレームレートより大きい場合(S20のYES)、フレームレート調整部325は、フレームレートを小さくするように圧縮部322に通知する(S21)。
If the calculated number of motion vectors is less than the threshold (NO in S33) and if the calculated difference between the pixel positions is less than the threshold (NO in S35), the frame
図4は、フレームレート調整部325がフレームレートを調整したことによる、画像処理装置3が表示装置2に出力する圧縮データのフレームレートを時系列で示す図である。図4の横軸は時刻を示す。時刻T1において、フレームレート調整部325は、動画像データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う画質のばらつきが第2閾値以上であると判定する。そして、フレームレート調整部325は、圧縮データのフレームレートを1fps(frames per second)から25fpsに変更するように圧縮部322に通知する。
FIG. 4 is a diagram showing, in chronological order, the frame rate of compressed data that the image processing device 3 outputs to the display device 2 after the frame
時刻T2において、圧縮部322は、フレームレート調整部325からの通知に基づいて、フレームレートを25fpsに変更した圧縮データを生成するとともに、データ出力部323に圧縮データを出力する。
At time T2, the
時刻T3において、フレームレート調整部325は、動画像データが示す画像領域の画質が第1閾値以上、又は時間経過に伴う画質のばらつきが第2閾値未満であると判定する。さらに、フレームレート調整部325は、記憶部31又は圧縮部322から現在の時刻における圧縮データのフレームレートを取得することにより、現在の時刻の圧縮データのフレームレートが基準フレームレートより大きいと判定する。そして、フレームレート調整部325は、フレームレートを小さくするように圧縮部322に通知する。
At time T3, the frame
時刻T4において、圧縮部は、フレームレート調整部325からの通知に基づいて、フレームレートを1fpsに変更した圧縮データを生成するとともに、データ出力部323に圧縮データを出力する。
At time T4, the compression unit generates compressed data with the frame rate changed to 1 fps based on the notification from the frame
以上説明したように、画像処理装置3は、撮影装置1から受信した動画像データ又は圧縮データが示す画像領域の画質と時間経過に伴う画質のばらつきとに基づいて、動画像データを変換することにより生成する圧縮データのフレームレートを変更する。その結果、動画像データの画質が低下したと判定した場合はフレームレートを大きくした圧縮データを生成し、動画像データの画質が低下していないと判定した場合はフレームレートを小さくした圧縮データを生成する。したがって、画像処理装置3は、雨天又は雪天時のように、動画像データ又は圧縮データの画質が悪く画面全体でのちらつきが大きい場合であっても視認性が高い画像を表示装置2が表示できるようにしつつ、晴天時のように動画像データ又は圧縮データの画質が良い場合に、データ量をできるだけ少なくした圧縮データを表示装置2に出力することができる。
As explained above, the image processing device 3 converts the video data based on the image quality of the image area indicated by the video data or compressed data received from the
[変形例]
図5は、変形例に係る画像処理装置3の構成を示す図である。画像処理装置3は、差分特定部324に代えて動き特定部326を有するという点で、図1に示した画像処理装置3と異なり、他の点で同じである。
[Modified example]
FIG. 5 is a diagram showing the configuration of an image processing device 3 according to a modification. The image processing device 3 differs from the image processing device 3 shown in FIG. 1 in that it includes a
動き特定部326は、画像データ取得部321から受信した動画像データが示す画像領域に含まれる複数の領域それぞれにおいて動く物体を検出し、検出した動く物体の動きベクトルを特定する。動き特定部326は、特定した動きベクトルをフレームレート調整部325に通知する。
The
フレームレート調整部325は、動き特定部326が動画像データの複数の領域それぞれに同じ向きの動きベクトルを検出した場合に、複数の領域それぞれに同じ向きの動きベクトルを検出していない場合よりもフレームレートを大きくする。動画像データに含まれている複数の雨粒又は雪粒の画像が時間の経過に伴って移動する向きは概ね同じである。したがって、フレームレート調整部325がこのように動作することで、動画像データが雨天時又は雪天時に撮影されて作成されている場合に、圧縮データのフレームレートを大きくすることができる。
The frame
図6は、変形例に係るフレームレート調整部325の動作のフローチャートを示す図である。フレームレート調整部325は、算出した画質差分値が第1閾値以上である場合(S14のYES)、動き特定部326が特定した画像領域に含まれる複数の領域それぞれにおける動きベクトルを取得する(S41)。フレームレート調整部325は、取得した動きベクトルそれぞれが同じ向きであると判定した場合(S42のYES)、圧縮データのフレームレートを大きくするように圧縮部322に通知する(S18)。
FIG. 6 is a diagram showing a flowchart of the operation of the frame
このように動作することで、例えば雨天時の撮影の場合、動画像データが示す画像領域に含まれる複数の領域のそれぞれに雨粒が撮影されることにより、動き特定部326は、複数の領域のそれぞれから、雨粒の動きベクトルを特定する。そして、フレームレート調整部325は、取得した複数の領域の動きベクトルのそれぞれが、同じ向き(例えば画像領域の上から下)であると判定することにより、例えば雨粒と判定できる。その結果、フレームレート調整部325は、圧縮データのフレームレートを大きくするように圧縮部322に通知する。
By operating in this way, for example, in the case of photographing in a rainy day, raindrops are photographed in each of a plurality of regions included in the image region indicated by the moving image data, and the
一方、例えば晴天時の撮影において人が撮影された場合、動き特定部326は、被写体である人の動きベクトルを特定するとともに、フレームレート調整部325に動きベクトルを通知する。フレームレート調整部325は、動き特定部326から取得した動きベクトルが、動画像データが示す画像領域に含まれる複数の領域のうち、一部の領域にのみ検出されていることに基づいて、例えば雨粒でないと判定できる。その結果、フレームレート調整部325は、圧縮データのフレームレートを基準フレームレートにするように圧縮部322に通知する。
On the other hand, for example, when a person is photographed in a sunny day, the
[本実施形態に係る画像処理装置3の効果]
以上のとおり、画像処理装置3においては、撮影装置1から動画像データを取得する画像データ取得部321と、取得した動画像データを圧縮することにより圧縮データを生成する圧縮部322と、圧縮データのフレームレートを調整するフレームレート調整部325とを有する。そして、フレームレート調整部325は、取得した動画像データ又は圧縮データが示す画像領域の画質と時間経過に伴う画質のばらつきとに基づいて圧縮データのフレームレートを決定し圧縮部322に通知する。
[Effects of the image processing device 3 according to the present embodiment]
As described above, the image processing device 3 includes the image
したがって、画像処理装置3は、撮影装置1から取得した動画像データに対応する画像の画質が低下したと判定する場合にフレームレートを上げることで画質の低下を抑制する。一方、動画像データに対応する画像の画質が低下していないと判定する場合は、フレームレートを下げることで表示装置2に送信するデータ量を削減する。その結果、画像処理装置3は、できるだけデータを増やすことなく、画質の低下を抑制した圧縮データを表示装置2に送信することができる。
Therefore, when the image processing device 3 determines that the image quality of the image corresponding to the moving image data acquired from the photographing
なお、以上の説明においては、画像処理装置3が雨天又は雪天の場合にフレームレートを大きくする場合を例示したが、画像処理装置3がフレームレートを大きくする要因は天候に限らない。例えば、動画像データに人や動物等のように動く物体が検出された場合においても本発明を提供することが可能である。 In addition, in the above description, the case where the image processing device 3 increases the frame rate in rainy or snowy weather is exemplified, but the reason why the image processing device 3 increases the frame rate is not limited to the weather. For example, the present invention can be provided even when a moving object such as a person or an animal is detected in video data.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes can be made within the scope of the gist. be. For example, all or part of the device can be functionally or physically distributed and integrated into arbitrary units. In addition, new embodiments created by arbitrary combinations of multiple embodiments are also included in the embodiments of the present invention. The effects of the new embodiment resulting from the combination have the effects of the original embodiment.
1 撮影装置
2 表示装置
3 画像処理装置
31 記憶部
32 制御部
321 画像データ取得部
322 圧縮部
323 データ出力部
324 差分特定部
325 フレームレート調整部
326 動き特定部
1 Photographing device 2 Display device 3
Claims (6)
前記動画像データを圧縮して圧縮データを生成する圧縮部と、
前記動画像データ又は前記圧縮データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う前記画質のばらつきが第2閾値以上の場合に、前記画質が第1閾値以上である場合、及び時間経過に伴う前記画質のばらつきが第2閾値未満である場合よりも、前記圧縮部が生成する前記圧縮データのフレームレートを大きくするフレームレート調整部と、
を有する画像処理装置。 an image data acquisition unit that acquires moving image data from a photographing device that photographs a predetermined area;
a compression unit that compresses the video image data to generate compressed data;
If the image quality of the image area indicated by the moving image data or the compressed data is less than a first threshold, and the variation in the image quality over time is greater than or equal to a second threshold, the image quality is greater than or equal to the first threshold. a frame rate adjustment unit that increases the frame rate of the compressed data generated by the compression unit compared to when the variation in image quality over time is less than a second threshold;
An image processing device having:
前記フレームレート調整部は、前記基準画像データと前記動画像データ又は前記圧縮データとの差分値に基づいて、前記画質を特定する、
請求項1に記載の画像処理装置。 further comprising a storage unit that stores reference image data corresponding to a steady state image of the area,
The frame rate adjustment unit specifies the image quality based on a difference value between the reference image data and the moving image data or the compressed data.
The image processing device according to claim 1.
前記画像領域に対応する基準画像データと前記動画像データ又は前記圧縮データとの複数の差分を特定する差分特定部と、
をさらに有し、
前記フレームレート調整部は、前記差分特定部が特定した前記複数の差分の前記画像領域における分布の分散が閾値以上である場合に、前記分散が前記閾値未満である場合よりも前記フレームレートを大きくする、
請求項1に記載の画像処理装置。 a storage unit that stores reference image data corresponding to a steady state image of the area;
a difference identifying unit that identifies a plurality of differences between reference image data corresponding to the image area and the moving image data or the compressed data;
It further has
The frame rate adjustment unit is configured to increase the frame rate when the variance of the distribution of the plurality of differences identified by the difference identification unit in the image area is greater than or equal to a threshold value than when the variance is less than the threshold value. do,
The image processing device according to claim 1.
請求項1から3のいずれか一項に記載の画像処理装置。 The frame rate adjustment unit specifies the image quality based on the number of motion vectors included in at least one of P frame data and B frame data of the moving image data or the compressed data, and specifies the image quality based on the number of motion vectors included in at least one of P frame data and B frame data of the moving image data or the compressed data, and identifying the variation based on changes over time in the position of;
The image processing device according to any one of claims 1 to 3.
前記フレームレート調整部は、前記動き特定部が前記動画像データの前記複数の領域それぞれに同じ向きの前記動きベクトルを検出した場合に、前記複数の領域それぞれに同じ向きの前記動きベクトルを検出していない場合よりも前記フレームレートを大きくする、
請求項1から4のいずれか一項に記載の画像処理装置。 further comprising a motion identifying unit that detects a moving object in each of a plurality of regions included in the image region and identifies a motion vector of the detected moving object,
The frame rate adjustment unit detects the motion vector in the same direction in each of the plurality of regions when the motion identification unit detects the motion vector in the same direction in each of the plurality of regions of the video data. make the frame rate larger than it would otherwise be;
The image processing device according to any one of claims 1 to 4.
所定のエリアを撮影する撮影装置から動画像データを取得する画像データ取得部、
前記動画像データを圧縮して圧縮データを生成する圧縮部、及び
前記動画像データ又は前記圧縮データが示す画像領域の画質が第1閾値未満であり、かつ、時間経過に伴う前記画質のばらつきが第2閾値以上の場合に、前記画質が第1閾値以上である場合、及び時間経過に伴う前記画質のばらつきが第2閾値未満である場合よりも、前記圧縮部が生成する前記圧縮データのフレームレートを大きくするフレームレート調整部、
として機能させるためのプログラム。 computer,
an image data acquisition unit that acquires moving image data from a photographing device that photographs a predetermined area;
a compression unit that compresses the moving image data to generate compressed data; and the image quality of the image area indicated by the moving image data or the compressed data is less than a first threshold, and the image quality varies over time. When the image quality is equal to or greater than the second threshold, the compressed data frame generated by the compression unit is more effective than when the image quality is equal to or greater than the first threshold and when the variation in the image quality over time is less than the second threshold. Frame rate adjustment section that increases the rate,
A program to function as
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020077752A JP7435208B2 (en) | 2020-04-24 | 2020-04-24 | Image processing device and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020077752A JP7435208B2 (en) | 2020-04-24 | 2020-04-24 | Image processing device and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021175085A JP2021175085A (en) | 2021-11-01 |
| JP7435208B2 true JP7435208B2 (en) | 2024-02-21 |
Family
ID=78279997
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020077752A Active JP7435208B2 (en) | 2020-04-24 | 2020-04-24 | Image processing device and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7435208B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114554284B (en) * | 2022-02-22 | 2023-08-11 | 网易(杭州)网络有限公司 | Image quality information processing method, image quality information processing device, computer equipment and storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001245303A (en) | 2000-02-29 | 2001-09-07 | Toshiba Corp | Moving picture coding apparatus and moving picture coding method |
| JP2002335530A (en) | 2001-05-10 | 2002-11-22 | Sony Corp | Moving picture coding apparatus, moving picture coding method, moving picture coding program storage medium, and moving picture coding program |
| JP2004200989A (en) | 2002-12-18 | 2004-07-15 | Fuji Photo Film Co Ltd | Imaging apparatus and supervisory system |
| JP2006115470A (en) | 2004-09-16 | 2006-04-27 | Ntt Docomo Inc | Video evaluation device, frame rate determination device, video processing device, video evaluation method, and video evaluation program |
| JP2008035281A (en) | 2006-07-28 | 2008-02-14 | Sanyo Electric Co Ltd | Image coding method |
| JP2008141354A (en) | 2006-11-30 | 2008-06-19 | Sanyo Electric Co Ltd | Image coding apparatus and imaging apparatus |
| WO2010150470A1 (en) | 2009-06-23 | 2010-12-29 | パナソニック株式会社 | Moving image encoding method, moving image encoding device, program, and integrated circuit |
| JP2011129995A (en) | 2009-12-15 | 2011-06-30 | Nec Corp | Communication terminal device, image processing method and program for the same, and image communication system |
| JP2015119335A (en) | 2013-12-18 | 2015-06-25 | Kddi株式会社 | Terminal, system, program and method to thin out frame of photographed moving image in accordance with movement change amount |
| JP2020039045A (en) | 2018-09-04 | 2020-03-12 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11298890A (en) * | 1998-04-13 | 1999-10-29 | Hitachi Ltd | Image data compression or decompression method and apparatus, and image transmission system and monitoring system using the same |
-
2020
- 2020-04-24 JP JP2020077752A patent/JP7435208B2/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001245303A (en) | 2000-02-29 | 2001-09-07 | Toshiba Corp | Moving picture coding apparatus and moving picture coding method |
| JP2002335530A (en) | 2001-05-10 | 2002-11-22 | Sony Corp | Moving picture coding apparatus, moving picture coding method, moving picture coding program storage medium, and moving picture coding program |
| JP2004200989A (en) | 2002-12-18 | 2004-07-15 | Fuji Photo Film Co Ltd | Imaging apparatus and supervisory system |
| JP2006115470A (en) | 2004-09-16 | 2006-04-27 | Ntt Docomo Inc | Video evaluation device, frame rate determination device, video processing device, video evaluation method, and video evaluation program |
| JP2008035281A (en) | 2006-07-28 | 2008-02-14 | Sanyo Electric Co Ltd | Image coding method |
| JP2008141354A (en) | 2006-11-30 | 2008-06-19 | Sanyo Electric Co Ltd | Image coding apparatus and imaging apparatus |
| WO2010150470A1 (en) | 2009-06-23 | 2010-12-29 | パナソニック株式会社 | Moving image encoding method, moving image encoding device, program, and integrated circuit |
| JP2011129995A (en) | 2009-12-15 | 2011-06-30 | Nec Corp | Communication terminal device, image processing method and program for the same, and image communication system |
| JP2015119335A (en) | 2013-12-18 | 2015-06-25 | Kddi株式会社 | Terminal, system, program and method to thin out frame of photographed moving image in accordance with movement change amount |
| JP2020039045A (en) | 2018-09-04 | 2020-03-12 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021175085A (en) | 2021-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8542948B2 (en) | Image processing apparatus and method | |
| US7889248B2 (en) | Imaging apparatus and method of processing image | |
| US8948253B2 (en) | Networked image/video processing system | |
| US8493499B2 (en) | Compression-quality driven image acquisition and processing system | |
| JP5766877B2 (en) | Frame coding selection based on similarity, visual quality, and interest | |
| US10110929B2 (en) | Method of pre-processing digital images, and digital image preprocessing system | |
| WO2010095207A1 (en) | Video image pickup device | |
| JP2004153829A (en) | Image processing system and event detection method | |
| US20240357138A1 (en) | Human visual system adaptive video coding | |
| EP3293974B1 (en) | Quantization parameter determination method and image capture apparatus | |
| JP2003189290A (en) | Camera control method and apparatus using video compression algorithm | |
| CN111988610A (en) | Method and bit rate controller for controlling output bit rate of video encoder | |
| JP2006065676A (en) | Image processing apparatus and method | |
| US10142664B2 (en) | Method and device for determining properties of a graphical overlay for a video stream | |
| JP7435208B2 (en) | Image processing device and program | |
| WO2013011671A1 (en) | Transmission device and transmission method | |
| JPH07193766A (en) | Image information processing device | |
| JP4154178B2 (en) | Video camera | |
| KR100420620B1 (en) | Object-based digital video recording system) | |
| JP7042318B2 (en) | A method for intra-refresh encoding of multiple image frames using convex and concave distribution functions | |
| JPH11187383A (en) | Video monitoring system and video monitoring method | |
| JP7521227B2 (en) | Image processing device and program | |
| JP2021090119A (en) | Imaging apparatus, control method, and program | |
| JP4508043B2 (en) | Video surveillance device and video surveillance program | |
| JP2004266669A (en) | Monitoring camera and image pickup method |
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: 20231219 |
|
| 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: 20240109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240122 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7435208 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| 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 |