JP2019080314A - Image compression apparatus and program - Google Patents

Image compression apparatus and program Download PDF

Info

Publication number
JP2019080314A
JP2019080314A JP2018207446A JP2018207446A JP2019080314A JP 2019080314 A JP2019080314 A JP 2019080314A JP 2018207446 A JP2018207446 A JP 2018207446A JP 2018207446 A JP2018207446 A JP 2018207446A JP 2019080314 A JP2019080314 A JP 2019080314A
Authority
JP
Japan
Prior art keywords
compression
image data
unit
image
data
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.)
Granted
Application number
JP2018207446A
Other languages
Japanese (ja)
Other versions
JP6721022B2 (en
Inventor
茂穂 水野
Shigeo Mizuno
茂穂 水野
淳二 佐々木
Junji Sasaki
淳二 佐々木
博章 中山
Hiroaki Nakayama
博章 中山
智之 工藤
Tomoyuki Kudo
智之 工藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Saxa Inc
Original Assignee
Saxa Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Saxa Inc filed Critical Saxa Inc
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

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

To provide an image compression apparatus that compresses an image such that the image quality of the image after compression becomes desired image quality.SOLUTION: An image compression apparatus 1 includes an acquisition unit 11 that acquires image data, a compression unit 12 that compresses teh image data on the basis of a predetermined compression parameter, an image quality evaluation unit 13 that evaluates the image quality of the compressed image data after compression by the compression unit 12, and a parameter adjustment unit 15 that identifies the characteristic of the compressed image data on the basis of an amount of the compressed image data and the degree of similarity between the image data before compression by the compression unit 12 and the compressed image data after compression by the compression unit 12, and adjusts the compression parameter used by the compression unit 12 by selecting the compression parameter associated with the identified characteristic.SELECTED DRAWING: Figure 2

Description

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

原画像と、原画像を圧縮した圧縮画像を復号した再生画像とに基づいて、圧縮画像のブロック歪みを定量評価するための情報を生成する技術が開示されている(例えば、特許文献1を参照)。   A technique for generating information for quantitatively evaluating block distortion of a compressed image based on the original image and a reproduced image obtained by decoding the compressed image obtained by compressing the original image is disclosed (see, for example, 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 compression parameters that define the conditions for image compression differ in optimal value depending on the amount of movement of the imaging object and the brightness of the imaging area. Therefore, there has been a problem that when the object to be imaged is imaged at a place affected by the external environment, the image quality of the compressed image may be degraded with the change of the external environment.

そこで、本発明はこれらの点に鑑みてなされたものであり、圧縮後の画像の画質が所望の画質になるように画像を圧縮する画像圧縮装置を提供することを目的とする。   Therefore, the present invention has been made in view of these points, and it is an object of the present invention 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 includes an acquisition unit for acquiring image data, a compression unit for compressing the image data based on a predetermined compression parameter, and a compressed image after compression by the compression unit. Image quality evaluation unit for evaluating image quality of data, amount of data of the image data after compression, similarity between image data before compression by the compression unit and image data after compression after compression by the compression unit And a parameter adjusting unit for adjusting the compression parameter used by the compression unit by specifying a feature of the compressed image data based on the selected and selecting a compression parameter associated with the specified feature. .

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

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

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

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

本発明の第2の態様のプログラムは、コンピュータを、画像データを取得する取得部、前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部、前記圧縮部が圧縮した後の圧縮後画像データの画質を評価する画質評価部、及び前記圧縮後画像データのデータ量と、前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの間の類似度と、に基づいて前記圧縮後画像データの特徴を特定し、特定した特徴に関連付けられた圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部、として機能させる。   A program according to a second aspect of the present invention includes a computer, an acquisition unit for acquiring image data, a compression unit for compressing the image data based on a predetermined compression parameter, and compressed image data after compression by the compression unit. An image quality evaluation unit that evaluates the image quality of the image data amount of the compressed image data, and a similarity between the image data before compression by the compression unit and the compressed image data after compression by the compression unit And identifying a feature of the compressed image data on the basis of the selected feature, and selecting 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, the image can be compressed so that the image quality of the image after compression becomes a desired image quality.

映像記録システムの概要を説明するための図である。It is a figure for demonstrating the outline | summary of a video recording system. 画像圧縮装置の機能構成を示す図である。It is a figure showing the functional composition of an image compression device. 圧縮後画像をフレームごとに評価した評価結果をプロットしたグラフを模式的に示す図である。It is a figure which shows typically the graph which plotted the evaluation result which evaluated the image after compression for every flame | frame. 一部の領域に関連付けて目標情報を取得する処理について説明するための図である。It is a figure for demonstrating the process which links | relates with a partial area | region and acquires target information. 評価結果の変化を説明するための図である。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 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. As shown in FIG. The video recording system S includes a camera 2 for capturing an imaging target, an image compression device 1 for compressing a captured image generated by imaging 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 device 1 acquires an image obtained by imaging the imaging target by the camera 2 and generates a compressed 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 a user) can confirm the state of the area imaged by the camera 2 by visually recognizing the image after compression stored in the video storage device 3.

画像圧縮装置1が圧縮した圧縮後画像の画質は、カメラ2が撮像対象を撮像したときの、撮像対象の動きの量、撮像対象を含む領域における明るさなどの外部環境により変化する。そのため、圧縮後画像の画質を所望の画質にするには、撮像対象及び外部環境に応じて、画像の圧縮の条件を規定する圧縮パラメータを調整する必要がある。所望の画質は、例えば、圧縮後画像を利用して撮像対象を含む領域の状況を監視するユーザが設定した画質の目標である。   The image quality of the compressed image compressed by the image compression device 1 changes according to the external environment such as the amount of movement of the imaging target and the brightness in the area including the imaging target when the camera 2 captures an imaging target. Therefore, in order to set the image quality of the image after compression to a desired image quality, 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 state of the area including the imaging target 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 obtained by 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 is reduced. By doing this, even if the imaging target and the external environment change, the image compression device 1 can make the image quality of the image after compression a desired image quality by adjusting the compression parameter.

図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, and generates compressed image data V1. The compression standard when the compression unit 12 compresses image data is, for example, H.264. H.264, but is not limited thereto. The compression parameters are various setting values that determine the image quality of the image after compression. Specifically, the compression parameters are H. 2 compression standards. In the case of H.264, it is the number of macroblocks per second, the number of macroblocks per frame, and the bit rate. Also, the compression parameters may include insertion intervals of GOPs (Group Of Pictures) and I frames (Key frames).

画質評価部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 image data V0 before compression and the image data V1 after compression after compression by the compression unit 12 to obtain the image after compression. Evaluate the image quality of the data V1. The image quality evaluation unit 13 evaluates that the image quality is higher as the value of the MSE is lower.

画質評価部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 level of the image quality based on the value of the MSE. For example, the image quality evaluation unit 13 evaluates the level of image quality in 10 levels. For example, the image quality evaluation unit 13 evaluates that the MSE is less than 50 as level 0, the MSE is more than 50 and less than 100 as level 1, and the MSE is more than 100 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 view schematically showing a graph in which an evaluation result obtained by evaluating the compressed image for each frame is plotted. In FIG. 3, the horizontal axis indicates time, and the vertical axis indicates the evaluation result (the 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 of arrows I0 and I1 is the timing of I frame. Since the I frame is not affected by data errors in other frames, the evaluation results are better than other frames.

図3において、実線で示す評価結果R1及び評価結果R2は、カメラ2が撮像した映像を圧縮した圧縮後画像をフレームごとに評価した結果である。評価結果R1は、画像間の変化が少ない映像を圧縮した圧縮後画像を評価して得られた評価結果である。画質評価部13は、評価結果R1を、画質レベル1と評価する。   In FIG. 3, an evaluation result R1 and an 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 having 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 many changes between images. The image quality evaluation unit 13 evaluates the evaluation result R2 as the image quality level 3 based on, for example, the value of the average MSE obtained by averaging the values of MSE within a predetermined average period shown by a dashed dotted line M in FIG. The average period is, for example, a period from I frame to the next I frame, but the present invention is not limited to this, and a business operator who operates the video recording system S may appropriately set it.

なお、画質評価部13は、平均期間内におけるMSEの値の最大値に基づいて画質レベルを評価してもよい。平均期間内におけるMSEの値の最大値に基づいて画質レベルを評価する場合、画質評価部13は評価結果M2を画質レベル4と評価する。   The image quality evaluation unit 13 may evaluate the image quality level based on the maximum value of the MSE values in the averaging period. When evaluating the image quality level based on the maximum value of the MSE values within the averaging 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 by calculating not only the MSE but also the peak signal-to-noise ratio or 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 the target of the 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 acquires 2 as a 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 target information in association with at least a part of a plurality of areas of the image data V0. FIG. 4 is a diagram for describing processing of acquiring target information in association with a partial area. In FIG. 4, it is assumed that the image data A is divided into six areas from the area A1 to the area A6. The user can select at least one of the six areas from the area A1 to the area 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. When the target information acquisition unit acquires target information in association with a partial area, the target information acquisition unit notifies the parameter adjustment unit 15 of the acquired target information and information indicating a 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, for example, the compression parameter so that the difference between the evaluation result and the target becomes smaller. Specifically, the parameter adjustment 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 is reduced. For example, the parameter adjustment unit 15 adjusts the value of the compression parameter so that the value obtained by subtracting the target value of the MSE determined by the target from the value of the MSE that is the evaluation result becomes smaller. The parameter adjustment unit 15 may not adjust the compression parameter if the value of the MSE is equal to or less than the target value.

図5は、評価結果の変化を説明するための図である。図5において、横軸は時間を示し、縦軸は評価結果(MSEの値)を示し、目標情報が示す目標により定まる画質レベルを破線で示す。実線で示す評価結果M1は、MSEの値の平均値を時間に対してプロットしたグラフである。   FIG. 5 is a diagram for explaining changes in evaluation results. In FIG. 5, the horizontal axis represents time, the vertical axis represents the evaluation result (the value of MSE), and the image quality level determined by the target indicated by the target information is indicated by a broken line. The evaluation result M1 indicated by a solid line is a graph in which the average value of the MSE values is plotted with respect to 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 adjustment unit 15 adjusts the compression parameter so that the difference between the evaluation result (image quality level 7) in the period T1 and the target (image quality level 2) becomes smaller at time t i . Similarly, at time t i + 1 , the parameter adjustment unit 15 adjusts the compression parameter so that the difference between the evaluation result (image quality level 4) in the period T2 and the target (image quality level 2) decreases. The parameter adjustment unit 15 adjusts the compression parameter so that the difference between the evaluation result (image quality level 3) and the target (image quality level 2) in the period T3 becomes smaller at time t i + 2 . The parameter adjustment unit 15 does not adjust the compression parameter at time t i + 3 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 this, the parameter adjustment unit 15 can compress the image with the image quality desired by the user.

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

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

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

図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 device 1 adjusts compression parameters will be described with reference to FIG. First, the acquisition unit 11 acquires image data V0 obtained by imaging the imaging target by the camera 2 (step S1). The compression unit 12 compresses the image data V0 acquired by the acquisition unit 11 to generate compressed image data V1 (step S2). The image quality evaluation unit 13 evaluates the image quality of the image data V1 after compression (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 target of the image quality of the compressed image data V1 input by the user (step S4). Then, the parameter adjustment unit 15 adjusts the compression parameter based on the difference between the evaluation result and the target of the image quality (step S5). The image compression device 1 can adjust the compression parameters of the image data V0 captured by the camera 2 so that the image quality of the image data V1 after compression becomes the target image quality by repeating steps S1 to S5. . Note that the image compression device 1 may execute either the process of step S1 or the process of step S4 first, or executes the process of steps S1 to S3 and the process of step S4 in parallel. May be

[第1の実施形態に係る画像圧縮装置1の効果]
以上説明したように、映像記録システムSのパラメータ調整部15は、圧縮後画像データV1の画質を評価した評価結果と、圧縮後画像データV1の画質の目標との差に基づいて圧縮パラメータを調整する。このようにすることで、映像記録システムSは、圧縮部12が圧縮した後の画像の画質をユーザが所望する画質にすることができる。
[Effects of Image Compression Device 1 According to 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. Do. By doing this, the video recording system S can make the image quality of the image compressed by the compression unit 12 the image quality desired by the user.

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

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

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

蓄積部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 image data V1 after compression. The characteristic is, for example, the weather such as fine weather, cloudy weather, rainy weather, and snowy weather. The features may be time zones or brightness etc. FIG. 8B schematically shows a data table in which the image data V0, the compressed image data V1, the features of the compressed image data V1 and the evaluation results of the compressed image data V1 are associated. It is.

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

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

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

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

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

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

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

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

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

なお、パラメータ調整部15は、画像データV0又は圧縮後画像データV1を既知の解析手法を用いて解析することにより特徴を特定してもよい。解析手法は、例えば画像データV0から一定の規則や意味を持つ対象を選別して取り出すことにより特徴を特定するパターン認識法である。   The parameter adjustment 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 of specifying a feature by selecting and extracting an object having a certain rule or meaning from the image data V0.

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

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の分散・統合の具体的な実施の形態は、以上の実施の形態に限られず、その全部又は一部について、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を合わせ持つ。   As mentioned above, although the present invention was explained using an embodiment, the technical scope of the present invention is not limited to the range given in the above-mentioned embodiment, and various modification and change are possible within the range of the gist. is there. For example, a specific embodiment of device distribution and integration is not limited to the above embodiment, and all or a part thereof may be functionally or physically distributed and integrated in any unit. Can. In addition, new embodiments produced by any combination of a plurality of embodiments are also included in the embodiments of the present invention. The effects of the new embodiment generated by the combination combine the effects of the original embodiment.

1 画像圧縮装置
2 カメラ
3 映像記憶装置
11 取得部
12 圧縮部
13 画質評価部
14 目標情報取得部
15 パラメータ調整部
16 蓄積部
Reference Signs List 1 image compression device 2 camera 3 image storage device 11 acquisition unit 12 compression unit 13 image quality evaluation unit 14 target information acquisition unit 15 parameter adjustment unit 16 accumulation unit

Claims (7)

画像データを取得する取得部と、
前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部と、
前記圧縮部が圧縮した後の圧縮後画像データの画質を評価する画質評価部と、
前記圧縮後画像データのデータ量と、前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの間の類似度と、に基づいて前記圧縮後画像データの特徴を特定し、特定した特徴に関連付けられた圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部と、
を有する画像圧縮装置。
An acquisition unit for acquiring image data;
A compression unit that compresses the image data based on a predetermined compression parameter;
An image quality evaluation unit that evaluates the image quality of the compressed image data after being compressed by the compression unit;
The compressed image data is determined based on the data amount of the compressed image data and the similarity between the compressed image data before compression by the compression unit and the compressed image data after compression by the compression unit. A parameter adjustment unit that adjusts the compression parameter used by the compression unit by specifying the feature and selecting a compression parameter associated with the specified feature;
An image compression device comprising:
前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記類似度を示す平均二乗誤差の値が第1評価閾値以上である場合に、前記画像データ及び前記圧縮後画像データの特徴が雨天であると特定する、
請求項1に記載の画像圧縮装置。
The parameter adjustment unit may set the image data and the image data when the data amount of the compressed image data is equal to or greater than a first data threshold and the value of the mean square error indicating the similarity is equal to or greater than a first evaluation threshold. Identify the feature of the compressed image data as rainy weather,
An image compression apparatus according to claim 1.
前記パラメータ調整部は、前記圧縮後画像データのデータ量が前記第1データ閾値より小さい第2データ閾値以下である場合に、前記画像データ及び前記圧縮後画像データの特徴が晴天であると特定する、
請求項2に記載の画像圧縮装置。
The parameter adjustment unit specifies that the feature of the image data and the image data after compression is clear when the data amount of the image data after compression is equal to or less than a second data threshold smaller than the first data threshold. ,
The image compression apparatus according to claim 2.
前記パラメータ調整部は、前記圧縮後画像データのデータ量が第1データ閾値以上であり、かつ前記平均二乗誤差の値の値が前記第1評価閾値より小さい第2評価閾値以下である場合に前記画像データ及び前記圧縮後画像データの特徴を特定しない、
請求項2又は3に記載の画像圧縮装置。
The parameter adjustment unit is configured to set the data amount of the image data after compression to a first data threshold or more and the value of the mean square error to be equal to or less than a second evaluation threshold smaller than the first evaluation threshold. Do not specify image data and features of the compressed image data,
An image compression apparatus according to claim 2 or 3.
前記パラメータ調整部は、前記圧縮後画像データのデータ量の増加又は減少の傾向にさらに基づいて前記圧縮後画像データの特徴を特定する、
請求項1から4のいずれか一項に記載の画像圧縮装置。
The parameter adjustment unit specifies a feature of the compressed image data further based on the tendency of increase or decrease of the data amount of the compressed image data.
The image compression device according to any one of claims 1 to 4.
前記パラメータ調整部は、前記類似度の増加又は減少の傾向にさらに基づいて前記圧縮後画像データの特徴を特定する、
請求項1から5のいずれか一項に記載の画像圧縮装置。
The parameter adjustment unit specifies a feature of the compressed image data further based on the tendency of increase or decrease of the similarity.
The image compression device according to any one of claims 1 to 5.
コンピュータを、
画像データを取得する取得部、
前記画像データを所定の圧縮パラメータに基づいて圧縮する圧縮部、
前記圧縮部が圧縮した後の圧縮後画像データの画質を評価する画質評価部、及び
前記圧縮後画像データのデータ量と、前記圧縮部が圧縮する前の画像データと前記圧縮部が圧縮した後の圧縮後画像データとの間の類似度と、に基づいて前記圧縮後画像データの特徴を特定し、特定した特徴に関連付けられた圧縮パラメータを選択することにより、前記圧縮部が使用する前記圧縮パラメータを調整するパラメータ調整部、
として機能させるためのプログラム。

Computer,
Acquisition unit for acquiring image data,
A compression unit that compresses the image data based on predetermined compression parameters;
An image quality evaluation unit that evaluates the image quality of the compressed image data after the compression by the compression unit; an amount of data of the compressed image data; image data before the compression by the compression unit; and after the compression by the compression unit Identifying the feature of the compressed image data based on the degree of similarity with the post-compression image data, and selecting the compression parameter associated with the identified feature, the compression unit uses the compression Parameter adjustment unit to adjust parameters,
Program to function as.

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 true JP2019080314A (en) 2019-05-23
JP6721022B2 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)

Cited By (1)

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

Cited By (2)

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

Also Published As

Publication number Publication date
JP6721022B2 (en) 2020-07-08

Similar Documents

Publication Publication Date Title
Shahid et al. No-reference image and video quality assessment: a classification and review of recent approaches
EP1483909B1 (en) Systems and methods for digitally re-mastering or otherwise modifying motion pictures or other image sequences data
Azimi et al. Evaluating the performance of existing full-reference quality metrics on high dynamic range (HDR) video content
US8493464B2 (en) Resolution adjusting method
TW201310389A (en) Motion object detection method using image contrast enhancement
Nur et al. Advanced adaptation techniques for improved video perception
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
JP3743389B2 (en) Image compression apparatus and image compression program
WO2010103112A1 (en) Method and apparatus for video quality measurement without reference
US9183446B2 (en) Image processing apparatus and image processing method
US20090086024A1 (en) System and method for improving video compression efficiency
CN109462728B (en) Code rate control method and device, image acquisition equipment and readable storage medium
JP2011223054A (en) Image processing apparatus and image processing method
Akramullah et al. Video quality metrics
JP2021175085A (en) Image processing device and program
JP4013024B2 (en) Movie processing apparatus, movie processing method, and recording medium
JP6916618B2 (en) Image coding device and its control method and program
Leventić et al. Compression parameters tuning for automatic image optimization in web applications
CN113347375B (en) Pixel flicker suppression method of pulse image sensor
US11032547B2 (en) Image encoding apparatus, control method thereof, and non-transitory computer-readable storage medium

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