JP6721022B2 - Image compression device and program - Google Patents

Image compression device and program Download PDF

Info

Publication number
JP6721022B2
JP6721022B2 JP2018207446A JP2018207446A JP6721022B2 JP 6721022 B2 JP6721022 B2 JP 6721022B2 JP 2018207446 A JP2018207446 A JP 2018207446A JP 2018207446 A JP2018207446 A JP 2018207446A JP 6721022 B2 JP6721022 B2 JP 6721022B2
Authority
JP
Japan
Prior art keywords
image data
compression
unit
data
image
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
JP2018207446A
Other languages
Japanese (ja)
Other versions
JP2019080314A (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 JP2018207446A priority Critical patent/JP6721022B2/en
Publication of JP2019080314A publication Critical patent/JP2019080314A/en
Application granted granted Critical
Publication of JP6721022B2 publication Critical patent/JP6721022B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像圧縮装置、及びプログラムに関する。 The present invention relates to an image compression device and a program.

原画像と、原画像を圧縮した圧縮画像を復号した再生画像とに基づいて、圧縮画像のブロック歪みを定量評価するための情報を生成する技術が開示されている(例えば、特許文献1を参照)。 A technique of generating information for quantitatively evaluating block distortion of a compressed image based on an original image and a reproduced image obtained by decoding a compressed image obtained by compressing the original image is disclosed (for example, see Patent Document 1). ).

特開平05−219384号公報JP 05-219384 A

圧縮画像の画質は、撮像対象の動きの量、撮像対象を含む撮像領域の明るさなどの外部環境の影響を受けて変化する。画像の圧縮の条件を規定する圧縮パラメータは、撮像対象物の動きの量、及び撮像領域の明るさにより最適な値が異なる。したがって、外部環境の影響を受ける場所で撮像対象物を撮像した場合、外部環境の変化に伴って圧縮画像の画質が劣化してしまうことがあるという問題があった。 The image quality of the compressed image changes under the influence of the external environment such as the amount of movement of the imaging target and the brightness of the imaging region including the imaging target. The optimum value of the compression parameter that defines the condition of image compression varies depending on the amount of movement of the imaging target and the brightness of the imaging region. Therefore, when the imaging target is imaged in a place affected by the external environment, there is a problem that the image quality of the compressed image may deteriorate due to the change in the external environment.

そこで、本発明はこれらの点に鑑みてなされたものであり、圧縮後の画像の画質が所望の画質になるように画像を圧縮する画像圧縮装置を提供することを目的とする。 Therefore, the present invention has been made in view of these points, and an object of the present invention is to provide an image compression apparatus that compresses an image so that the image quality of the image after compression becomes a desired image quality.

本発明の第1の態様の画像圧縮装置は、画像データを取得する取得部と、前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部と、前記圧縮部が圧縮した後の圧縮後画像データの画質を評価する画質評価部と、前記圧縮後画像データのデータ量と、前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの間の類似度と、に基づいて前記圧縮後画像データの特徴を特定し、特定した特徴に関連付けられた圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部と、を有する。 An image compression apparatus according to a first aspect of the present invention is an acquisition unit that acquires image data, a compression unit that compresses the image data based on a predetermined compression parameter, and a compressed image after the compression unit has compressed the image data. An image quality evaluation unit that evaluates image quality of data, a data amount of the compressed image data, and a similarity between image data before compression by the compression unit and compressed image data after compression by the compression unit. And a parameter adjusting unit that adjusts the compression parameter used by the compression unit by specifying a characteristic of the compressed image data based on the above and selecting a compression parameter associated with the specified characteristic. ..

前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記類似度を示す平均二乗誤差の値が第1評価閾値以上である場合に、前記画像データ及び前記圧縮後画像データの特徴が雨天であると特定してもよい。 When the data amount of the compressed image data is equal to or more than a first data threshold and the value of the mean square error indicating the similarity is equal to or more than a first evaluation threshold, the parameter adjusting unit is configured to The feature of the compressed image data may be specified to be rainy weather.

前記パラメータ調整部は、前記圧縮後画像データのデータ量が前記第1データ閾値より小さい第2データ閾値以下である場合に、前記画像データ及び前記圧縮後画像データの特徴が晴天であると特定してもよい。 The parameter adjusting unit specifies that the features of the image data and the compressed image data are fine weather when the data amount of the compressed image data is equal to or less than a second data threshold that is smaller than the first data threshold. May be.

前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記平均二乗誤差の値の値が前記第1評価閾値より小さい第2評価閾値以下である場合に前記画像データ及び前記圧縮後画像データの特徴を特定しないでもよい。 When the data amount of the compressed image data is equal to or larger than a first data threshold and the value of the mean square error is equal to or smaller than a second evaluation threshold smaller than the first evaluation threshold, The features of the image data and the compressed image data may not be specified.

前記パラメータ調整部は、前記圧縮後画像データのデータ量の増加又は減少の傾向にさらに基づいて前記圧縮後画像データの特徴を特定してもよい。前記パラメータ調整部は、前記類似度の増加又は減少の傾向にさらに基づいて前記圧縮後画像データの特徴を特定してもよい。 The parameter adjustment unit may specify the characteristics of the compressed image data based on the tendency of the data amount of the compressed image data to increase or decrease. The parameter adjustment unit may specify the characteristics of the compressed image data based on the tendency of the similarity to increase or decrease.

本発明の第2の態様のプログラムは、コンピュータを、画像データを取得する取得部、前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部、前記圧縮部が圧縮した後の圧縮後画像データの画質を評価する画質評価部、及び前記圧縮後画像データのデータ量と、前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの間の類似度と、に基づいて前記圧縮後画像データの特徴を特定し、特定した特徴に関連付けられた圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部、として機能させる。 The program according to the second aspect of the present invention is a program that causes a computer to acquire an image data, a compression unit that compresses the image data based on a predetermined compression parameter, and compressed image data after the compression unit has compressed the image data. An image quality evaluation unit for evaluating the image quality of, and a data amount of the compressed image data, and a similarity between the image data before being compressed by the compressing unit and the compressed image data after being compressed by the compressing unit. , And specifies a feature of the compressed image data, and selects a compression parameter associated with the identified feature to function as a parameter adjustment unit that adjusts the compression parameter used by the compression unit.

本発明によれば、圧縮後の画像の画質が所望の画質になるように画像を圧縮することができるという効果を奏する。 According to the present invention, there is an effect that an image can be compressed so that the image quality of the compressed image becomes a desired image quality.

映像記録システムの概要を説明するための図である。It is a figure for explaining the outline of a video recording system. 画像圧縮装置の機能構成を示す図である。It is a figure which shows the function structure of an image compression apparatus. 圧縮後画像をフレームごとに評価した評価結果をプロットしたグラフを模式的に示す図である。It is a figure which shows typically the graph which plotted the evaluation result which evaluated the image after compression for every frame. 一部の領域に関連付けて目標情報を取得する処理について説明するための図である。It is a figure for demonstrating the process which acquires target information linked|related with some area|regions. 評価結果の変化を説明するための図である。It is a figure for demonstrating the change of an evaluation result. 圧縮パラメータを調整する処理のフローチャートである。It is a flowchart of the process which adjusts a compression parameter. 第2の実施形態に係る画像圧縮装置の機能構成を示す図である。It is a figure which shows the function structure of the image compression apparatus which concerns on 2nd Embodiment. 蓄積された評価結果を示すデータテーブルを模式的に示す図である。It is a figure which shows typically the data table which shows the accumulated evaluation result. 評価結果と、画像データの特徴と、使用された圧縮パラメータとを関連付けたデータテーブルを模式的に示す図である。It is a figure which shows typically the data table which linked|related the evaluation result, the characteristic of image data, and the used compression parameter.

<第1の実施形態>
図1は、映像記録システムSの概要を説明するための図である。映像記録システムSは、撮像対象を撮像するカメラ2と、カメラ2が撮像して生成された撮像画像を圧縮する画像圧縮装置1と、映像記憶装置3とを備える。画像圧縮装置1と、カメラ2とは、ネットワークを介して接続されている。同様に、画像圧縮装置1と、映像記憶装置3とは、ネットワークを介して接続されている。ネットワークは、例えばインターネットである。
<First Embodiment>
FIG. 1 is a diagram for explaining the outline of the video recording system S. The video recording system S includes a camera 2 that captures an imaging target, an image compression device 1 that compresses a captured image generated by the camera 2, and a video storage device 3. The image compression device 1 and the camera 2 are connected via a network. Similarly, the image compression device 1 and the video storage device 3 are connected via a network. The network is, for example, the Internet.

画像圧縮装置1は、カメラ2が撮像対象を撮像した画像を取得し、所定の圧縮パラメータで圧縮した圧縮後画像を生成する。画像圧縮装置1は、生成した圧縮後画像を映像記憶装置3に送信する。映像記憶装置3は、画像圧縮装置1から受信した圧縮後画像をハードディスク等の記憶媒体に記憶する。カメラ2が撮像する領域を監視する人(以下、ユーザという)は、映像記憶装置3に記憶された圧縮後画像を視認することにより、カメラ2が撮像した領域の状態を確認することができる。 The image compression apparatus 1 acquires an image obtained by capturing an object to be captured by the camera 2 and generates a post-compression image compressed by a predetermined compression parameter. The image compression device 1 transmits the generated compressed image to the video storage device 3. The video storage device 3 stores the compressed image received from the image compression device 1 in a storage medium such as a hard disk. A person who monitors the area imaged by the camera 2 (hereinafter referred to as user) can confirm the state of the area imaged by the camera 2 by visually recognizing the compressed image stored in the video storage device 3.

画像圧縮装置1が圧縮した圧縮後画像の画質は、カメラ2が撮像対象を撮像したときの、撮像対象の動きの量、撮像対象を含む領域における明るさなどの外部環境により変化する。そのため、圧縮後画像の画質を所望の画質にするには、撮像対象及び外部環境に応じて、画像の圧縮の条件を規定する圧縮パラメータを調整する必要がある。所望の画質は、例えば、圧縮後画像を利用して撮像対象を含む領域の状況を監視するユーザが設定した画質の目標である。 The image quality of the compressed image compressed by the image compression apparatus 1 changes depending on the external environment such as the amount of movement of the image capturing target when the camera 2 captures the image capturing target and the brightness in the area including the image capturing target. Therefore, in order to obtain the desired image quality of the image after compression, it is necessary to adjust the compression parameter that defines the condition of image compression according to the imaging target and the external environment. The desired image quality is, for example, a target of image quality set by a user who monitors the situation of an area including an imaging target by using the compressed image.

そこで、画像圧縮装置1は、圧縮した後の圧縮後画像の画質を評価した評価結果と、予め定められた画質の目標との差に基づいて圧縮パラメータを調整する。具体的には、画像圧縮装置1は、評価結果と目標との差が小さくなるように圧縮パラメータを調整する。このようにすることで、画像圧縮装置1は、撮像対象及び外部環境が変化しても、圧縮パラメータを調整することにより、圧縮後画像の画質を所望の画質にすることができる。 Therefore, the image compression device 1 adjusts the compression parameter based on the difference between the evaluation result of evaluating the image quality of the compressed image after compression and the predetermined image quality target. Specifically, the image compression device 1 adjusts the compression parameter so that the difference between the evaluation result and the target becomes small. By doing so, the image compression apparatus 1 can make the image quality of the compressed image a desired image quality by adjusting the compression parameter even when the imaging target and the external environment change.

図2は、画像圧縮装置1の機能構成を示す図である。画像圧縮装置1は、取得部11と、圧縮部12と、画質評価部13と、目標情報取得部14と、パラメータ調整部15とを有する。取得部11は、カメラ2から画像データV0を取得する。取得部11は、取得した画像データV0を、圧縮部12と、画質評価部13とに通知する。 FIG. 2 is a diagram showing a functional configuration of the image compression device 1. The image compression device 1 includes an acquisition unit 11, a compression unit 12, an image quality evaluation unit 13, a target information acquisition unit 14, and a parameter adjustment unit 15. The acquisition unit 11 acquires the image data V0 from the camera 2. The acquisition unit 11 notifies the compression unit 12 and the image quality evaluation unit 13 of the acquired image data V0.

圧縮部12は、画像データV0を所定の圧縮パラメータに基づいて圧縮し、圧縮後画像データV1を生成する。圧縮部12が画像データを圧縮するときの圧縮規格は、例えばH.264であるが、これに限定するものではない。圧縮パラメータは、圧縮後画像の画質を決定する各種の設定値である。具体的には、圧縮パラメータは、圧縮規格がH.264である場合、秒あたりのマクロブロック数、フレームあたりのマクロブロック数、及びビットレートなどである。また、圧縮パラメータは、GOP(Group Of Picture)及びIフレーム(Keyフレーム)の挿入間隔を含んでもよい。 The compression unit 12 compresses the image data V0 based on a predetermined compression parameter to generate the compressed image data V1. The compression standard used when the compression unit 12 compresses image data is, for example, H.264. H.264, but is not limited to this. The compression parameters are various setting values that determine the image quality of the image after compression. Specifically, the compression parameter is H.264. In the case of H.264, it is the number of macroblocks per second, the number of macroblocks per frame, and the bit rate. Further, the compression parameter may include a GOP (Group Of Picture) and an I frame (Key frame) insertion interval.

画質評価部13は、圧縮部12が圧縮した後の圧縮後画像データV1の画質を評価する。例えば、画質評価部13は、圧縮前の画像データV0と、圧縮部12が圧縮した後の圧縮後画像データV1との平均二乗誤差(Mean Square Error: MSE)を算出することにより、圧縮後画像データV1の画質を評価する。なお、画質評価部13は、MSEの値が低いほど、画質が高いと評価する。 The image quality evaluation unit 13 evaluates the image quality of the compressed image data V1 after being compressed by the compression unit 12. For example, the image quality evaluation unit 13 calculates a mean square error (Mean Square Error: MSE) between the uncompressed image data V0 and the compressed image data V1 after the compression unit 12 compresses the compressed image data V0. The image quality of the data V1 is evaluated. The image quality evaluation unit 13 evaluates that the lower the MSE value, the higher the image quality.

画質評価部13は、MSEの値に基づいて画質のレベルを評価してもよい。例えば、画質評価部13は、画質のレベルを10段階で評価する。画質評価部13は、例えば、MSEが50未満をレベル0、MSEが50以上100未満をレベル1、MSEが100以上150未満をレベル2と評価する。画質評価部13は、MSEが50増加するごとにレベルを1段階増加し、MSEが400以上450未満をレベル8、MSEが450以上をレベル9と評価する。 The image quality evaluation unit 13 may evaluate the image quality level based on the MSE value. For example, the image quality evaluation unit 13 evaluates the image quality level in 10 levels. The image quality evaluation unit 13 evaluates, for example, MSE of less than 50 as level 0, MSE of 50 or more and less than 100 as level 1, and MSE of 100 or more and less than 150 as level 2. The image quality evaluation unit 13 increases the level by one level each time the MSE increases by 50, and evaluates the MSE of 400 or more and less than 450 as the level 8 and the MSE of 450 or more as the level 9.

図3は、圧縮後画像をフレームごとに評価した評価結果をプロットしたグラフを模式的に示す図である。図3において、横軸は時間を示し、縦軸は評価結果(MSEの値)を示す。図3において、目標情報が示す目標により定まる評価結果の目標画質レベルを破線で示す。また、図3において矢印I0とI1の時間は、Iフレームのタイミングである。Iフレームは、他のフレームにおけるデータ誤りの影響を受けないので、他のフレームに比べて評価結果が良好になっている。 FIG. 3 is a diagram schematically showing a graph in which evaluation results obtained by evaluating the compressed image for each frame are plotted. In FIG. 3, the horizontal axis represents time and the vertical axis represents the evaluation result (value of MSE). In FIG. 3, the target image quality level of the evaluation result determined by the target indicated by the target information is indicated by a broken line. Further, in FIG. 3, the time indicated by arrows I0 and I1 is the timing of the I frame. Since the I frame is not affected by the data error in the other frames, the evaluation result is better than that of the other frames.

図3において、実線で示す評価結果R1及び評価結果R2は、カメラ2が撮像した映像を圧縮した圧縮後画像をフレームごとに評価した結果である。評価結果R1は、画像間の変化が少ない映像を圧縮した圧縮後画像を評価して得られた評価結果である。画質評価部13は、評価結果R1を、画質レベル1と評価する。 In FIG. 3, the evaluation result R1 and the evaluation result R2 indicated by solid lines are the results of evaluating the compressed image obtained by compressing the image captured by the camera 2 for each frame. The evaluation result R1 is an evaluation result obtained by evaluating a compressed image obtained by compressing a video with little change between images. The image quality evaluation unit 13 evaluates the evaluation result R1 as the image quality level 1.

評価結果R2は、画像間の変化が多い映像を圧縮した圧縮後画像を評価して得られた評価結果である。画質評価部13は、例えば、図3において一点鎖線Mで示す、予め定められた平均期間内のMSEの値を平均した平均MSEの値に基づいて、評価結果R2を画質レベル3と評価する。平均期間は、例えばIフレームから次のIフレームまでの期間であるが、これに限らず、映像記録システムSを運営する事業者が適宜設定してもよい。 The evaluation result R2 is an evaluation result obtained by evaluating a compressed image obtained by compressing a video having a large change between images. The image quality evaluation unit 13 evaluates the evaluation result R2 as the image quality level 3 based on the average MSE value obtained by averaging the MSE values within the predetermined average period, which is indicated by the alternate long and short dash line M in FIG. 3, for example. The average period is, for example, a period from the I frame to the next I frame, but is not limited to this, and may be appropriately set by a business operator who operates the video recording system S.

なお、画質評価部13は、平均期間内におけるMSEの値の最大値に基づいて画質レベルを評価してもよい。平均期間内におけるMSEの値の最大値に基づいて画質レベルを評価する場合、画質評価部13は評価結果M2を画質レベル4と評価する。 The image quality evaluation unit 13 may evaluate the image quality level based on the maximum value of MSE values within the average period. When evaluating the image quality level based on the maximum value of the MSE values within the average period, the image quality evaluation unit 13 evaluates the evaluation result M2 as the image quality level 4.

画質評価部13は、MSEだけでなく、ピーク信号対雑音比(Peak signal-to-noise ratio)、又はSSIM(structural similarity)を算出することにより画質を評価してもよい。画質評価部13は、算出した評価結果をパラメータ調整部15に通知する。 The image quality evaluation unit 13 may evaluate the image quality not only by calculating the MSE but also by calculating a peak signal-to-noise ratio (Peak signal-to-noise ratio) or an SSIM (structural similarity). The image quality evaluation unit 13 notifies the parameter adjustment unit 15 of the calculated evaluation result.

目標情報取得部14は、圧縮後画像データV1の画質の目標を示す目標情報を取得する。目標情報は、例えば、ユーザが入力した画質の目標を示す画質レベルを示すテキスト又は数値である。以下の説明においては、目標情報取得部14は、ユーザが入力した画質レベルを示す数値として2を取得したものとする。なお、目標情報取得部14は、ユーザが入力した画質レベルを示す数値に基づいて、MSEの値の目標値を決定してもよい。 The target information acquisition unit 14 acquires target information indicating a target of image quality of the compressed image data V1. The target information is, for example, text or a numerical value indicating an image quality level indicating a target of image quality input by the user. In the following description, it is assumed that the target information acquisition unit 14 has acquired 2 as the numerical value indicating the image quality level input by the user. The target information acquisition unit 14 may determine the target value of the MSE value based on the numerical value indicating the image quality level input by the user.

目標情報取得部14は、画像データV0の複数の領域のうち少なくとも一部の領域に関連付けて目標情報を取得してもよい。図4は、一部の領域に関連付けて目標情報を取得する処理について説明するための図である。図4においては、画像データAを、領域A1から領域A6までの6つの領域に分割したことを想定している。ユーザは、領域A1から領域A6までの6つの領域のうち少なくとも1つを選択することができる。目標情報取得部14は、ユーザが選択した領域を示す情報を取得する。 The target information acquisition unit 14 may acquire the target information in association with at least a part of the plurality of regions of the image data V0. FIG. 4 is a diagram for explaining a process of acquiring target information in association with a part of the area. In FIG. 4, it is assumed that the image data A is divided into six areas A1 to A6. The user can select at least one of the six areas A1 to A6. The target information acquisition unit 14 acquires information indicating the area selected by the user.

目標情報取得部14は、取得した目標情報をパラメータ調整部15に通知する。また、目標情報取得部は、一部の領域に関連付けて目標情報を取得した場合、取得した目標情報と、ユーザにより選択された一部の領域を示す情報とをパラメータ調整部15に通知する。 The target information acquisition unit 14 notifies the parameter adjustment unit 15 of the acquired target information. Further, when the target information acquisition unit acquires the target information in association with a part of the area, the target information acquisition unit notifies the parameter adjustment unit 15 of the acquired target information and the information indicating the partial area selected by the user.

パラメータ調整部15は、画質評価部13による評価結果と目標情報が示す目標との差に基づいて圧縮パラメータを調整する。パラメータ調整部15は、例えば、評価結果と目標との差が小さくなるように圧縮パラメータを変更する。具体的には、パラメータ調整部15は、評価結果に対応する画質レベルと、目標が示す画質レベルとの差が小さくなるように圧縮パラメータを調整する。例えば、パラメータ調整部15は、評価結果であるMSEの値から、目標により定まるMSEの目標値を減算した値が小さくなるように圧縮パラメータの値を調整する。また、パラメータ調整部15は、MSEの値が目標値以下であれば、圧縮パラメータを調整しなくてもよい。 The parameter adjustment unit 15 adjusts the compression parameter based on the difference between the evaluation result of the image quality evaluation unit 13 and the target indicated by the target information. The parameter adjustment unit 15 changes the compression parameter so that the difference between the evaluation result and the target becomes small, for example. Specifically, the parameter adjusting unit 15 adjusts the compression parameter so that the difference between the image quality level corresponding to the evaluation result and the image quality level indicated by the target becomes small. For example, the parameter adjusting unit 15 adjusts the value of the compression parameter so that the value obtained by subtracting the target value of MSE determined by the target from the value of MSE that is the evaluation result becomes smaller. Further, the parameter adjusting unit 15 may not adjust the compression parameter as long as the value of MSE is equal to or less than the target value.

図5は、評価結果の変化を説明するための図である。図5において、横軸は時間を示し、縦軸は評価結果(MSEの値)を示し、目標情報が示す目標により定まる画質レベルを破線で示す。実線で示す評価結果M1は、MSEの値の平均値を時間に対してプロットしたグラフである。 FIG. 5 is a diagram for explaining changes in the evaluation result. In FIG. 5, the horizontal axis represents time, the vertical axis represents the evaluation result (value of MSE), and the image quality level determined by the target indicated by the target information is shown by a broken line. The evaluation result M1 indicated by the solid line is a graph in which the average value of MSE values is plotted against time.

パラメータ調整部15は、時刻tにおいて、期間T1における評価結果(画質レベル7)と、目標(画質レベル2)との差が小さくなるように、圧縮パラメータを調整する。以下同様に、パラメータ調整部15は、時刻ti+1において、期間T2における評価結果(画質レベル4)と、目標(画質レベル2)との差が小さくなるように、圧縮パラメータを調整する。パラメータ調整部15は、時刻ti+2において、期間T3における評価結果(画質レベル3)と、目標(画質レベル2)との差が小さくなるように、圧縮パラメータを調整する。パラメータ調整部15は、時刻ti+3においては、期間T4における評価結果(画質レベル2)と、目標(画質レベル2)とに差がないので、圧縮パラメータを調整しない。このようにすることで、パラメータ調整部15は、ユーザが所望する画質で画像を圧縮することができる。 The parameter adjusting unit 15 adjusts the compression parameter at time t i so that the difference between the evaluation result (image quality level 7) and the target (image quality level 2) in the period T1 becomes small. Similarly, the parameter adjusting unit 15 adjusts the compression parameter at time t i+1 so that the difference between the evaluation result (image quality level 4) in the period T2 and the target (image quality level 2) becomes small. The parameter adjustment unit 15 adjusts the compression parameter at time t i+2 so that the difference between the evaluation result (image quality level 3) and the target (image quality level 2) in the period T3 becomes small. At time t i+3 , the parameter adjusting unit 15 does not adjust the compression parameter because there is no difference between the evaluation result (image quality level 2) in the period T4 and the target (image quality level 2). By doing so, the parameter adjusting unit 15 can compress the image with the image quality desired by the user.

また、パラメータ調整部15は、目標情報取得部14が目標情報を取得した少なくとも一部の領域の圧縮後画像データV1の画質の評価結果と目標との差に基づいて圧縮パラメータを調整してもよい。パラメータ調整部15は、例えば、少なくとも一部の領域の評価結果と、一部の領域に関連付けられた目標との差が小さくなるように圧縮パラメータを調整する。具体的には、パラメータ調整部15は、一部の領域の評価結果であるMSEの値が、一部の領域に関連付けられた目標により定まるMSEの目標範囲内に含まれるように圧縮パラメータを調整する。 In addition, the parameter adjusting unit 15 may adjust the compression parameter based on the difference between the evaluation result of the image quality of the compressed image data V1 of at least a part of the area where the target information acquiring unit 14 has acquired the target information and the target. Good. The parameter adjusting unit 15 adjusts the compression parameter so that the difference between the evaluation result of at least a part of the area and the target associated with the part of the area is small. Specifically, the parameter adjusting unit 15 adjusts the compression parameter so that the value of MSE that is the evaluation result of a part of the area is included in the target range of the MSE that is determined by the target associated with the part of the area. To do.

パラメータ調整部15は、目標情報取得部14が、例えば領域A5に関連付けられた目標を取得した場合、画質評価部13が領域A5における画質を評価した結果と、領域A5に関連付けられた目標との差が小さくなるように圧縮パラメータを調整する。また、パラメータ調整部15は、目標情報取得部14が、領域A5に関連付けられた目標、及び領域A6に関連付けられた目標を取得した場合、領域A5の評価結果と目標との差、及び領域A6の評価結果と目標との差が小さくなるように圧縮パラメータを調整する。パラメータ調整部15は、例えば、領域A5のMSEの値が領域A5の目標範囲に含まれ、かつ領域A6のMSEの値が領域A6の目標範囲に含まれるように圧縮パラメータを調整する。 When the target information acquisition unit 14 acquires, for example, the target associated with the area A5, the parameter adjustment unit 15 includes the result of the image quality evaluation performed by the image quality evaluation unit 13 and the target associated with the area A5. Adjust the compression parameters so that the difference is small. In addition, when the target information acquisition unit 14 acquires the target associated with the area A5 and the target associated with the area A6, the parameter adjustment unit 15 acquires the difference between the evaluation result of the area A5 and the target, and the area A6. The compression parameter is adjusted so that the difference between the evaluation result and the target becomes small. The parameter adjusting unit 15 adjusts the compression parameter so that the MSE value of the area A5 is included in the target range of the area A5 and the MSE value of the area A6 is included in the target range of the area A6, for example.

なお、パラメータ調整部15は、複数の領域それぞれにおいて画質を評価した評価結果の平均と、目標との差が小さくなるように圧縮パラメータを調整してもよい。具体的には、パラメータ調整部15は、領域A5の評価結果であるMSEの値と領域A6の評価結果であるMSEの値との平均値と、目標により定まるMSEの目標値との差が所定の閾値以下になるように圧縮パラメータを調整する。このようにすることで、画像圧縮装置1は、ユーザが注目する領域の画質が、ユーザの所望する画質になるように画像を圧縮することができるとともに、処理量を減らすことができる。 The parameter adjusting unit 15 may adjust the compression parameter so that the difference between the average of the evaluation results of the image quality evaluated in each of the plurality of areas and the target becomes small. Specifically, the parameter adjusting unit 15 sets a predetermined difference between the average value of the MSE value that is the evaluation result of the area A5 and the MSE value that is the evaluation result of the area A6, and the target value of the MSE that is determined by the target. The compression parameter is adjusted so as to be equal to or less than the threshold of. By doing so, the image compressing apparatus 1 can compress the image so that the image quality of the area of interest to the user becomes the image quality desired by the user, and reduce the amount of processing.

図6は、圧縮パラメータを調整する処理のフローチャートである。以下、画像圧縮装置1が圧縮パラメータを調整する処理の流れについて、図6を参照しながら説明する。まず、取得部11は、カメラ2が撮像対象を撮像した画像データV0を取得する(ステップS1)。圧縮部12は、取得部11が取得した画像データV0を圧縮して圧縮後画像データV1を生成する(ステップS2)。画質評価部13は、圧縮後画像データV1の画質を評価する(ステップS3)。 FIG. 6 is a flowchart of the process of adjusting the compression parameter. Hereinafter, the flow of processing in which the image compression apparatus 1 adjusts the compression parameter will be described with reference to FIG. First, the acquisition unit 11 acquires the image data V0 obtained by capturing the image of the image capturing target by the camera 2 (step S1). The compression unit 12 compresses the image data V0 acquired by the acquisition unit 11 to generate post-compression image data V1 (step S2). The image quality evaluation unit 13 evaluates the image quality of the compressed image data V1 (step S3).

続いて、目標情報取得部14は、ユーザが入力した圧縮後画像データV1の画質の目標を示す目標情報を取得する(ステップS4)。そして、パラメータ調整部15は、評価結果と画質の目標との差に基づいて圧縮パラメータを調整する(ステップS5)。画像圧縮装置1は、ステップS1からステップS5までを繰り返すことにより、圧縮後画像データV1の画質が目標の画質になるように、カメラ2が撮像した画像データV0の圧縮パラメータを調整することができる。なお、画像圧縮装置1は、ステップS1の処理と、ステップS4の処理とのどちらを先に実行してもよいし、ステップS1からステップS3の処理とステップS4の処理とを並行して実行してもよい。 Subsequently, the target information acquisition unit 14 acquires target information indicating the image quality target of the compressed image data V1 input by the user (step S4). Then, the parameter adjusting unit 15 adjusts the compression parameter based on the difference between the evaluation result and the image quality target (step S5). The image compression device 1 can adjust the compression parameter of the image data V0 captured by the camera 2 by repeating steps S1 to S5 so that the image quality of the compressed image data V1 becomes the target image quality. .. The image compressing apparatus 1 may execute either the process of step S1 or the process of step S4 first, or the process of steps S1 to S3 and the process of step S4 may be executed in parallel. May be.

[第1の実施形態に係る画像圧縮装置1の効果]
以上説明したように、映像記録システムSのパラメータ調整部15は、圧縮後画像データV1の画質を評価した評価結果と、圧縮後画像データV1の画質の目標との差に基づいて圧縮パラメータを調整する。このようにすることで、映像記録システムSは、圧縮部12が圧縮した後の画像の画質をユーザが所望する画質にすることができる。
[Effects of the image compression device 1 according to the first embodiment]
As described above, the parameter adjustment unit 15 of the video recording system S adjusts the compression parameter based on the difference between the evaluation result of evaluating the image quality of the compressed image data V1 and the target of the image quality of the compressed image data V1. To do. By doing so, the video recording system S can set the image quality of the image compressed by the compression unit 12 to the image quality desired by the user.

<第2の実施形態>
画像圧縮装置1は、上記の構成に加え、評価結果を蓄積する構成を有してもよい。図7は、第2の実施形態に係る画像圧縮装置1の機能構成を示す図である。第2の実施形態に係る画像圧縮装置1は、評価結果を蓄積する蓄積部16をさらに有する。蓄積部16は、例えば、画像データが撮像された日時に関連付けて評価結果を蓄積する。
<Second Embodiment>
The image compression device 1 may have a configuration for accumulating evaluation results in addition to the above configuration. FIG. 7 is a diagram showing a functional configuration of the image compression apparatus 1 according to the second embodiment. The image compression device 1 according to the second embodiment further includes a storage unit 16 that stores the evaluation result. The storage unit 16 stores the evaluation result in association with the date and time when the image data was captured, for example.

図8は、蓄積された評価結果を示すデータテーブルを模式的に示す図である。図8(a)は、日時に関連付けて蓄積された評価結果を示すデータテーブルを模式的に示す図である。なお、日時に関連付けて蓄積された評価結果を時間に対してプロットしたグラフは、例えば図5のようなグラフである。 FIG. 8 is a diagram schematically showing a data table showing the accumulated evaluation results. FIG. 8A is a diagram schematically showing a data table showing the evaluation results accumulated in association with the date and time. The graph in which the evaluation results accumulated in association with the date and time are plotted against time is, for example, a graph as shown in FIG.

パラメータ調整部15は、蓄積部16が蓄積した評価結果に基づいて、圧縮パラメータを調整する。パラメータ調整部15は、例えば、他の日の現在時刻と同じ時刻の後に関連付けて蓄積部16が蓄積している評価結果を参照し、参照した評価結果と目標との差が小さくなるように圧縮パラメータを調整する。このようにすることで、パラメータ調整部15は、評価結果が変化する傾向に合わせて、予め圧縮パラメータを変更することができる。 The parameter adjusting unit 15 adjusts the compression parameter based on the evaluation result accumulated by the accumulating unit 16. The parameter adjusting unit 15 refers to, for example, the evaluation result accumulated in the accumulating unit 16 after the same time as the current time on another day, and compresses so that the difference between the referred evaluation result and the target becomes small. Adjust the parameters. By doing so, the parameter adjusting unit 15 can change the compression parameter in advance in accordance with the tendency that the evaluation result changes.

蓄積部16は、画像データV0又は圧縮後画像データV1の特徴に関連付けて評価結果を蓄積してもよい。特徴は、例えば、晴天、曇天、雨天、雪天などの天候である。特徴は、時間帯又は明るさ等であってもよい。図8(b)は、画像データV0と、圧縮後画像データV1と、当該圧縮後画像データV1の特徴と、当該圧縮後画像データV1の評価結果とを関連付けたデータテーブルを模式的に示す図である。 The storage unit 16 may store the evaluation result in association with the feature of the image data V0 or the compressed image data V1. The feature is, for example, weather such as fine weather, cloudy weather, rainy weather, and snowy weather. The characteristic may be a time zone, brightness, or the like. FIG. 8B is a diagram schematically showing a data table in which image data V0, post-compression image data V1, features of the post-compression image data V1 and evaluation results of the post-compression image data V1 are associated with each other. Is.

蓄積部16が、画像データV0又は圧縮後画像データV1の特徴と評価結果とを関連付けて蓄積している場合、パラメータ調整部15は、圧縮部12が生成した圧縮後画像データV1の特徴に近い特徴に関連付けられた評価結果に基づいて圧縮パラメータを調整する。パラメータ調整部15は、まず、圧縮部12が生成した圧縮後画像データV1を解析して、圧縮後画像データV1の特徴を特定する。圧縮後画像データV1の特徴を特定する方法は任意であり、詳細については後述する。パラメータ調整部15は、特定した特徴に関連付けて蓄積された評価結果を参照することにより、例えば同じ天候の他の日の現在時刻と同じ時刻の後に関連付けて蓄積部16が蓄積している評価結果を参照し、参照した評価結果と目標との差が小さくなるように圧縮パラメータを調整する。 When the storage unit 16 stores the feature of the image data V0 or the compressed image data V1 and the evaluation result in association with each other, the parameter adjustment unit 15 is close to the feature of the compressed image data V1 generated by the compression unit 12. Adjust the compression parameters based on the evaluation results associated with the features. The parameter adjustment unit 15 first analyzes the compressed image data V1 generated by the compression unit 12 and specifies the characteristics of the compressed image data V1. The method of identifying the characteristics of the compressed image data V1 is arbitrary, and the details will be described later. The parameter adjustment unit 15 refers to the evaluation result accumulated in association with the specified feature, and thereby, for example, the evaluation result accumulated in the accumulation unit 16 in association with the current time on the other day after the same time. The compression parameter is adjusted so that the difference between the referred evaluation result and the target becomes small.

蓄積部16は、評価結果が得られた際に使用されていた圧縮パラメータを記憶してもよい。図9は、評価結果と、画像データV0の特徴と、使用された圧縮パラメータとを関連付けたデータテーブルを模式的に示す図である。 The storage unit 16 may store the compression parameter used when the evaluation result was obtained. FIG. 9 is a diagram schematically showing a data table in which the evaluation results, the characteristics of the image data V0, and the compression parameters used are associated with each other.

蓄積部16が画像データV0の特徴に関連付けて圧縮パラメータを記憶している場合、パラメータ調整部15は、圧縮部12が生成した圧縮後画像データV1の特徴と同じ特徴に関連付けられた一以上の評価結果のうち、画質の目標を満たす評価結果に関連付けられている圧縮パラメータを選択する。例えば、パラメータ調整部15は、圧縮後画像データV1の特徴が「晴天」であるとき、圧縮後画像データV1と同じ特徴「晴天」に関連付けた評価結果M11(画質レベル4)及びM12(画質レベル2)のうち、画質の目標(画質レベル2)を満たす評価結果M11に対応する圧縮パラメータ「a」を選択する。このようにすることで、パラメータ調整部15は、過去に使用された圧縮パラメータに基づいて圧縮パラメータを調整することができるので、圧縮後画像の画質を所望の画質にするまでの時間を短くすることができる。 When the storage unit 16 stores the compression parameter in association with the feature of the image data V0, the parameter adjustment unit 15 includes one or more features associated with the same feature as the feature of the compressed image data V1 generated by the compression unit 12. Of the evaluation results, the compression parameter associated with the evaluation result that satisfies the image quality target is selected. For example, when the characteristic of the compressed image data V1 is “sunny”, the parameter adjusting unit 15 associates the evaluation results M11 (image quality level 4) and M12 (image quality level) with the same characteristic “sunny” as the compressed image data V1. In 2), the compression parameter “a” corresponding to the evaluation result M11 that satisfies the image quality target (image quality level 2) is selected. By doing so, the parameter adjusting unit 15 can adjust the compression parameter based on the compression parameter used in the past, so that the time until the image quality of the compressed image becomes the desired image quality is shortened. be able to.

[画像データの特徴を特定する方法]
以下、パラメータ調整部15が、画像データV0又は圧縮後画像データV1の特徴を、圧縮後画像データV1のデータ量と、MSEの値とに基づいて特定する方法について、具体的な例を挙げて説明する。
[Method of identifying characteristics of image data]
Hereinafter, a specific example will be given of a method in which the parameter adjusting unit 15 specifies the characteristics of the image data V0 or the compressed image data V1 based on the data amount of the compressed image data V1 and the value of MSE. explain.

雨が降っているときに撮像した画像データV0には、雨粒が含まれているため、画像全体に動きが発生する。したがって、圧縮後画像データV1のデータ量とMSEの値とがどちらも大きくなる。そこで、パラメータ調整部15は、圧縮後画像データV1のデータ量が第1データ閾値以上であり、かつMESの値が第1評価閾値以上であれば、画像データV0及び圧縮後画像データV1の特徴が雨天であると特定する。 Since the image data V0 captured when it is raining contains raindrops, movement occurs in the entire image. Therefore, both the data amount of the compressed image data V1 and the value of MSE become large. Therefore, if the data amount of the compressed image data V1 is equal to or larger than the first data threshold and the value of MES is equal to or larger than the first evaluation threshold, the parameter adjustment unit 15 features the image data V0 and the compressed image data V1. Identify as being rainy.

晴れているときに撮像した画像データV0においては動きが少なく、高画質であっても高圧縮率で圧縮できるので、圧縮後画像データV1のデータ量とMESの値とはどちらも小さくなる。そこで、パラメータ調整部15は、圧縮後画像データV1のデータ量が第1データ閾値より小さい第2データ閾値以下であり、かつMSEの値が第1評価閾値より小さい第2評価閾値未満であれば、画像データV0及び圧縮後画像データV1の特徴が晴天であると特定する。 Since the image data V0 captured when it is sunny does not move much and can be compressed with a high compression rate even with high image quality, both the data amount of the compressed image data V1 and the MES value are small. Therefore, if the data amount of the compressed image data V1 is less than or equal to the second data threshold that is smaller than the first data threshold and the value of MSE is less than the second evaluation threshold that is smaller than the first evaluation threshold, , The image data V0 and the compressed image data V1 are specified to be sunny.

また、晴れているときに撮像した画像データV0において突発的な動きが発生すると、圧縮後画像データV1のデータ量は小さいとしても、MSEの値は大きくなる。そこで、パラメータ調整部15は、データ量が第2データ閾値以下であり、かつMESの値が第2評価閾値以上であれば、画像データV0及び圧縮後画像データV1の特徴が晴天であると特定する。なお、パラメータ調整部15は、データ量が第1データ閾値以上であり、かつMESの値が第2評価閾値以下である場合、特徴を特定しない。 Further, when a sudden motion occurs in the image data V0 captured during sunny weather, the value of MSE increases even though the amount of compressed image data V1 is small. Therefore, if the data amount is equal to or less than the second data threshold and the MES value is equal to or greater than the second evaluation threshold, the parameter adjusting unit 15 identifies that the features of the image data V0 and the compressed image data V1 are fine weather. To do. The parameter adjusting unit 15 does not specify the feature when the data amount is equal to or larger than the first data threshold and the MES value is equal to or smaller than the second evaluation threshold.

パラメータ調整部15は、圧縮後画像データV1のデータ量の増加又は減少の傾向に基づいて、圧縮後画像データV1の特徴を特定してもよい。例えば、パラメータ調整部15は、圧縮後画像データV1のデータ量とMSEの値とが増加傾向である場合、画像データV0が撮像された時の天候が晴天から雨天に変化したことを示していると特定する。また、パラメータ調整部15は、圧縮後画像データV1のデータ量とMSEの値とが減少傾向である場合、画像データV0が撮像された時の天候が雨天から晴天に変化したことを示していると特定する。 The parameter adjustment unit 15 may specify the characteristics of the compressed image data V1 based on the tendency of the data amount of the compressed image data V1 to increase or decrease. For example, when the data amount of the compressed image data V1 and the value of MSE are increasing, the parameter adjusting unit 15 indicates that the weather when the image data V0 was captured changed from fine weather to rainy weather. Specify. Further, when the data amount of the compressed image data V1 and the value of MSE are decreasing, the parameter adjusting unit 15 indicates that the weather when the image data V0 was captured changed from rainy weather to clear weather. Specify.

パラメータ調整部15は、特定した変化後の天候に対応する特徴に関連付けられた評価結果と圧縮パラメータとの関係に基づいて、変化後の天候に対応する圧縮パラメータを選択する。このようにすることで、パラメータ調整部15は、天候が変化した場合においても、圧縮後画像の画質をユーザが所望する画質にする圧縮パラメータに速やかに調整することができる。 The parameter adjusting unit 15 selects the compression parameter corresponding to the changed weather, based on the relationship between the compression result and the evaluation result associated with the identified feature corresponding to the changed weather. By doing so, the parameter adjusting unit 15 can quickly adjust the image quality of the compressed image to a compression parameter that makes the image quality desired by the user even when the weather changes.

なお、パラメータ調整部15は、画像データV0又は圧縮後画像データV1を既知の解析手法を用いて解析することにより特徴を特定してもよい。解析手法は、例えば画像データV0から一定の規則や意味を持つ対象を選別して取り出すことにより特徴を特定するパターン認識法である。 The parameter adjusting unit 15 may specify the feature by analyzing the image data V0 or the compressed image data V1 using a known analysis method. The analysis method is, for example, a pattern recognition method in which features are specified by selecting and extracting objects having a certain rule or meaning from the image data V0.

[第2の実施形態に係る画像圧縮装置1の効果]
以上説明したように、画像圧縮装置1の蓄積部16は、評価結果を蓄積する。そして、パラメータ調整部15は、蓄積された評価結果に対応する圧縮パラメータに基づいて、圧縮パラメータを調整する。このようにすることで、パラメータ調整部15は、圧縮後画像の画質を、ユーザが所望する画質にするまでの時間を短くすることができる。
[Effects of the image compression device 1 according to the second embodiment]
As described above, the storage unit 16 of the image compression device 1 stores the evaluation result. Then, the parameter adjusting unit 15 adjusts the compression parameter based on the compression parameter corresponding to the accumulated evaluation result. By doing so, the parameter adjusting unit 15 can shorten the time until the image quality of the compressed image reaches the image quality desired by the user.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の分散・統合の具体的な実施の形態は、以上の実施の形態に限られず、その全部又は一部について、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を合わせ持つ。 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 are possible within the scope of the gist thereof. is there. For example, the specific embodiment of device distribution/integration is not limited to the above embodiment, and all or part of the device may be functionally or physically distributed/integrated in arbitrary units. You can Further, a new embodiment that occurs due to an arbitrary combination of a plurality of embodiments is also included in the embodiment of the present invention. The effect of the new embodiment produced by the combination also has the effect of the original embodiment.

1 画像圧縮装置
2 カメラ
3 映像記憶装置
11 取得部
12 圧縮部
13 画質評価部
14 目標情報取得部
15 パラメータ調整部
16 蓄積部
DESCRIPTION OF SYMBOLS 1 Image compression device 2 Camera 3 Video storage device 11 Acquisition unit 12 Compression unit 13 Image quality evaluation unit 14 Target information acquisition unit 15 Parameter adjustment unit 16 Storage unit

Claims (4)

画像データを取得する取得部と、
前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部と、
前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの平均二乗誤差の値を示す類似度を評価する画質評価部と、
前記圧縮後画像データのデータ量と、前記画質評価部が評価した前記類似度と、に基づいて、前記画像データを撮像した撮像装置の周辺環境を示す複数の特徴のうち一つの特徴を特定し、特定した特徴に関連付けられた、過去に使用された圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部と、
を有し、
前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記平均二乗誤差の値が第1評価閾値以上である場合に、前記画像データ及び前記圧縮後画像データの特徴が雨天であると特定する、
画像圧縮装置。
An acquisition unit that acquires image data,
A compression unit that compresses the image data based on a predetermined compression parameter,
An image quality evaluation unit that evaluates the similarity indicating the value of the mean square error between the image data before compression by the compression unit and the compressed image data after compression by the compression unit,
Based on the data amount of the compressed image data and the degree of similarity evaluated by the image quality evaluation unit, one of a plurality of features indicating the surrounding environment of the image capturing apparatus that captured the image data is specified. Then, a parameter adjusting unit that adjusts the compression parameter used by the compression unit by selecting a compression parameter used in the past, which is associated with the identified feature,
Have a,
When the data amount of the compressed image data is equal to or more than a first data threshold value and the value of the mean square error is equal to or more than a first evaluation threshold value, the parameter adjusting unit may include the image data and the compressed image data. Identify that the feature is rainy weather,
Image compression device.
前記パラメータ調整部は、前記圧縮後画像データのデータ量が前記第1データ閾値より小さい第2データ閾値以下である場合に、前記画像データ及び前記圧縮後画像データの特徴が晴天であると特定する、
請求項に記載の画像圧縮装置。
The parameter adjustment unit specifies that the characteristics of the image data and the compressed image data are sunny when the data amount of the compressed image data is equal to or less than a second data threshold that is smaller than the first data threshold. ,
The image compression apparatus according to claim 1 .
前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記平均二乗誤差の値の値が前記第1評価閾値より小さい第2評価閾値以下である場合に前記画像データ及び前記圧縮後画像データの特徴を特定しない、
請求項又はに記載の画像圧縮装置。
When the data amount of the compressed image data is equal to or larger than a first data threshold and the value of the mean square error is equal to or smaller than a second evaluation threshold smaller than the first evaluation threshold, Does not specify the characteristics of the image data and the compressed image data,
The image compression apparatus according to claim 1 or 2.
コンピュータを、
画像データを取得する取得部、
前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部、
前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの平均二乗誤差の値を示す類似度を評価する画質評価部、及び
前記圧縮後画像データのデータ量と、前記画質評価部が評価した前記類似度と、に基づいて、前記画像データを撮像した撮像装置の周辺環境を示す複数の特徴のうち一つの特徴を特定し、特定した特徴に関連付けられた、過去に使用された圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部、
として機能させ
前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記平均二乗誤差の値が第1評価閾値以上である場合に、前記画像データ及び前記圧縮後画像データの特徴が雨天であると特定する、
プログラム。
Computer,
An acquisition unit that acquires image data,
A compression unit that compresses the image data based on a predetermined compression parameter,
An image quality evaluation unit that evaluates the similarity indicating the value of the mean square error between the image data before compression by the compression unit and the compressed image data after compression by the compression unit, and the data amount of the compressed image data. Based on the similarity evaluated by the image quality evaluation unit, one of a plurality of characteristics indicating the surrounding environment of the image capturing apparatus that has captured the image data is identified and associated with the identified characteristic. A parameter adjusting unit that adjusts the compression parameter used by the compression unit by selecting a compression parameter used in the past ,
To function as,
When the data amount of the compressed image data is equal to or more than a first data threshold value and the value of the mean square error is equal to or more than a first evaluation threshold value, the parameter adjusting unit may include the image data and the compressed image data. Identify that the feature is rainy weather,
program.
JP2018207446A 2018-11-02 2018-11-02 Image compression device and program Active JP6721022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018207446A JP6721022B2 (en) 2018-11-02 2018-11-02 Image compression device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018207446A JP6721022B2 (en) 2018-11-02 2018-11-02 Image compression device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017207543A Division JP6593417B2 (en) 2017-10-26 2017-10-26 Image compression apparatus and program

Publications (2)

Publication Number Publication Date
JP2019080314A JP2019080314A (en) 2019-05-23
JP6721022B2 true JP6721022B2 (en) 2020-07-08

Family

ID=66626641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018207446A Active JP6721022B2 (en) 2018-11-02 2018-11-02 Image compression device and program

Country Status (1)

Country Link
JP (1) JP6721022B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351252B (en) * 2020-10-27 2023-10-20 重庆中星微人工智能芯片技术有限公司 Monitoring video coding and decoding device

Also Published As

Publication number Publication date
JP2019080314A (en) 2019-05-23

Similar Documents

Publication Publication Date Title
WO2004008780A1 (en) A method and apparatus for measuring the quality of video data
RU2009127749A (en) COMPRESSING AND REMOVING AN IMAGE COMPRESSION
US11012698B2 (en) Image encoding apparatus and method for controlling the same
JP2015095764A (en) Encoder and encoding method
US11321390B2 (en) Video data generation apparatus, video data generation method, and program
JP6721022B2 (en) Image compression device and program
JP6699707B2 (en) Image compression device and program
Kawayoke et al. NR objective continuous video quality assessment model based on frame quality measure
JP6593417B2 (en) Image compression apparatus and program
JP2003061038A (en) Video contents edit aid device and video contents video aid method
US9183446B2 (en) Image processing apparatus and image processing method
US20090086024A1 (en) System and method for improving video compression efficiency
WO2010103112A1 (en) Method and apparatus for video quality measurement without reference
US8175150B1 (en) Methods and/or apparatus for implementing rate distortion optimization in video compression
JP6806466B2 (en) Image coding device and its control method
JP7435208B2 (en) Image processing device and program
US10516896B2 (en) Encoding device, encoding method, and storage medium
US10356424B2 (en) Image processing device, recording medium, and image processing method
JP4844094B2 (en) Digital still camera
JP3560958B2 (en) Video coding control method and apparatus
JP2006254308A (en) Video recording apparatus and video recording method
CN113347375B (en) Pixel flicker suppression method of pulse image sensor
Zhang et al. Region-based texture modelling for next generation video codecs
US11032547B2 (en) Image encoding apparatus, control method thereof, and non-transitory computer-readable storage medium
JP2018101907A (en) Image encoder, method for controlling the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191029

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20191217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200204

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200601

R150 Certificate of patent or registration of utility model

Ref document number: 6721022

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150