JP2015022605A - Image processing system - Google Patents
Image processing system Download PDFInfo
- Publication number
- JP2015022605A JP2015022605A JP2013151273A JP2013151273A JP2015022605A JP 2015022605 A JP2015022605 A JP 2015022605A JP 2013151273 A JP2013151273 A JP 2013151273A JP 2013151273 A JP2013151273 A JP 2013151273A JP 2015022605 A JP2015022605 A JP 2015022605A
- Authority
- JP
- Japan
- Prior art keywords
- image
- histogram
- modeling
- processing system
- color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
この発明は、画像の補正を行う画像処理システムに関する。 The present invention relates to an image processing system for correcting an image.
印刷物や歴史的に有名な絵画等の画像は、塗料の経時変化や異物の付着等によって、元画像に対して、状態が大きく変化する場合がある他、印刷物の画像では、プリンタ個々の配色の違いによっても、元画像に対して状態が大きく変化し、このような状態の変化は、画像の品質(画質)を大きく低下させる。 Images such as printed materials and historically famous paintings may change significantly from the original image due to changes in the paint over time or the adhesion of foreign objects, etc. Even with the difference, the state changes greatly with respect to the original image, and such a change in state greatly reduces the quality (image quality) of the image.
このようにして画質が低下した画像を元の画像に近い状態に戻す技術として、画像を入力する入力手段と、前記入力された画像である入力画像の補正を行う補正手段と、補正手段からの画像を出力画像として出力する出力手段とを備えた画像処理システムが公知である(例えば、特許文献1参照。)。 As a technique for returning an image whose image quality has been lowered in this way to a state close to the original image, an input unit that inputs an image, a correction unit that corrects the input image that is the input image, and a correction unit An image processing system including an output unit that outputs an image as an output image is known (for example, see Patent Document 1).
上記文献の画像処理システムでは、補正手段によって、画像のコントラスト補正処理や、ノイズ低減処理が行われるため、その補正内容が、入力画像の画質劣化の原因に対応したものであれば、補正手段による補正の効果が期待できる一方で、例えば、元画像に対して入力画像が一部欠けている等、その補正内容が画質劣化の原因に対応していない場合には、補正手段による補正の効果が殆ど期待できず、汎用性が低い。 In the image processing system of the above document, the correction means performs image contrast correction processing and noise reduction processing. If the correction content corresponds to the cause of the image quality degradation of the input image, the correction means While the correction effect can be expected, for example, when the correction content does not correspond to the cause of the image quality deterioration, such as when the input image is partially missing from the original image, the correction effect by the correction means is Almost no expectation and low versatility.
本発明は、画像の補正を行う画像処理システムにおいて、入力画像の画質劣化の原因が多種多様である場合にも対応可能で汎用性の高い画像処理システムを提供することを課題としている。 An object of the present invention is to provide a highly versatile image processing system that can cope with various causes of image quality degradation of an input image in an image processing system that performs image correction.
上記課題を解決するため、第1に、入力された画像を補正する画像処理システムであって、画像を入力する入力手段11と、該入力された画像である入力画像に基づいてヒストグラムを生成するヒストグラム生成手段14と、該生成したヒストグラムを、確率分布を用いてモデル化するモデル化手段16と、該モデル化手段16によってモデル化された統計モデルに基づいて、前記入力画像の補正を行う補正手段17と、補正手段17からの画像を出力画像として出力する出力手段19とを備えたことを特徴としている。
In order to solve the above problems, first, an image processing system for correcting an input image, which generates an histogram based on an input means 11 for inputting an image and an input image which is the input image. Histogram generation means 14, modeling means 16 for modeling the generated histogram using a probability distribution, and correction for correcting the input image based on the statistical model modeled by the modeling means 16 It is characterized by comprising
第2に、前記モデル化手段16は、混合ガウス分布を用いて、上記モデル化を行うことを特徴としている。 Second, the modeling means 16 performs the above modeling using a mixed Gaussian distribution.
第3に、上記混合ガウス分布に含まれるパラメータを、変分ベイズ法を用いて、決定するパラメータ決定手段を備えたことを特徴としている。 Third, a parameter determining means for determining parameters included in the mixed Gaussian distribution using a variational Bayes method is provided.
第4に、入力画像であるカラー画像を、予め定めた複数の基準色毎に分割する分割手段13と、分割手段によって分割された複数の基準色画像を合成する合成手段18とを備え、前記ヒストグラム生成手段14は、各基準色画像のヒストグラムを生成し、前記モデル化手段16は、基準色画像毎にヒストグラムの上記モデル化を行い、前記補正手段17は、基準色画像毎に上記補正を行い、前記合成手段18は、補正手段17によって補正された各基準色画像を合成することを特徴としている。
Fourth, the image processing apparatus includes a dividing
第5に、上記基準色が赤、緑及び青の3色であることを特徴としている。 Fifth, the reference color is three colors of red, green and blue.
ヒストグラム生成手段が入力画像に基づいてヒストグラムを生成し、該ヒストグラムを、確率分布を用いて、モデル化手段によりモデル化し、該モデル化された統計モデルに基づいて、入力された画像の補正を行う。この際、上記統計モデルが元画像のヒストグラム推定に大きく寄与し、画質劣化の多種多様な原因に対応可能になるため、汎用性が向上する。 The histogram generation means generates a histogram based on the input image, models the histogram by the modeling means using the probability distribution, and corrects the input image based on the modeled statistical model. . At this time, the statistical model greatly contributes to the histogram estimation of the original image and can cope with various causes of image quality deterioration, so that versatility is improved.
図1(A)撮影した2次元カラーバーコードの写真の取得画像であり、(B)は(A)の写真の歪み補正を行った補正画像である。QRコード(登録商標)等に代表される2次元バーコードは、マトリクスコードとスタックコードとに分類されるが、図示する例は、マトリックスコードであり、長方向又は正方形のマトリックス状に分割された領域内に描かれたグレースケール又はカラー(本例ではカラー)のドットパターンに情報が埋込まれている。 FIG. 1A is an acquired image of a photograph of a photographed two-dimensional color barcode, and FIG. 1B is a corrected image obtained by performing distortion correction on the photograph of FIG. Two-dimensional barcodes typified by QR code (registered trademark) and the like are classified into matrix codes and stack codes, but the example shown is a matrix code, and is divided into a matrix in a long direction or a square. Information is embedded in a gray scale or color (color in this example) dot pattern drawn in the region.
このような2次元カラーバーコードの画像は、まず、コンピュータにおいて、埋込み対象の情報を選定し、この情報を埋込んだ2次元バーコードの画像データ(元画像)を生成し、これを紙等の印刷媒体に印刷する。そして、ユーザは、印刷媒体に印刷された画像(取得対象画像)をカメラ等で撮影するか、或いはスキャナで読取る。 For such a two-dimensional color barcode image, first, information to be embedded is selected in a computer, two-dimensional barcode image data (original image) in which this information is embedded is generated, and this is converted into paper or the like. Print on other print media. Then, the user captures an image (acquisition target image) printed on the print medium with a camera or the like, or reads it with a scanner.
このようにして、デジタルデータとして取得された画像データ(取得画像)1Aは、撮影角度や印刷媒体の凹凸に起因して歪むため、歪み補正を行い、この歪み補正後の画像を、画質を向上させるための画像処理の対象となる画像データ(対象画像)1Bとする。 In this way, the image data (acquired image) 1A acquired as digital data is distorted due to the shooting angle or the unevenness of the print medium. Therefore, distortion correction is performed, and the image quality of the image after the distortion correction is improved. Image data (target image) 1B to be subjected to image processing.
この一連の工程において、印刷媒体への印刷時に用いるプリンタの配色パターンの違いや、印刷後の塗料の経時変化や、撮影時の環境等や、歪み補正によって、対象画像1Bの画質が、元画像に比べて劣化する。このため、この対象画像1Bをそのまま用いて、2次元バーコードに埋込まれている情報を取出すと、上記画質の劣化によって、2次元バーコードに埋込まれた情報を上手く取出せない虞がある。
In this series of steps, the image quality of the
このような事態を防止するツールとして、本発明を適用した画像処理システムを用いる。具体的には、対象画像1Bを元画像の画質の近づけるため画像処理を行い、この補正後の2次元バーコードの画像から、埋込まれた情報を取出す。
An image processing system to which the present invention is applied is used as a tool for preventing such a situation. Specifically, image processing is performed to make the
図2は、本発明を適用した画像処理システムの構成を示すブロック図である。本画像処理システム2は、コンピュータ(画像処理装置)に実装される。
FIG. 2 is a block diagram showing a configuration of an image processing system to which the present invention is applied. The
この画像処理システム2は、取得対象画像を撮影するカメラ又は読取るスキャナ等から構成された画像取得装置3と、CPU4a及びRAM4b等から構成され且つ画像処理を含む各種処理を行う制御部4と、各種データを記憶するHDDやSSD等の記憶装置6と、インターネットやプライベートネットワーク等の通信網を介して他のコンピュータと通信を行う通信手段7と、各種操作を行うマウス、キーボード又はタッチパネルから構成された操作手段8と、取得画像1Aや対象画像1B等を含む各種情報を画面表示するモニタ9とを備えている。
The
図3は、制御部による画像処理の内容を示すブロック図であり、図4は、対象画像の一の基準色におけるヒストグラムと、該ヒストグラムの統計モデルである。制御部4が行う画像処理には、取得画像1Aが入力画像として入力される画像入力手段(入力手段)11と、上記入力画像を受取り且つ該入力画像の歪み補正を行う歪み補正手段12と、歪み補正手段12によって歪みが補正された画像を受取り、該画像を予め定めた複数の基準色(図示する例では、赤と緑と赤)に分割する基準色分割手段(分割手段)13と、それぞれの基準色毎に設けられたヒストグラム生成手段14、モデル化手段16及び補正手段17と、補正後の複数の基準色を合成する合成手段18と、合成手段18によって合成された補正後の画像を出力画像として出力する画像出力手段(出力手段)19とが含まれている。
FIG. 3 is a block diagram showing the contents of image processing by the control unit, and FIG. 4 is a histogram of one reference color of the target image and a statistical model of the histogram. The image processing performed by the
上記画像入力手段11は、画像取得装置3から取得画像1Aを取得するか、記憶装置6に記憶している状態から取得画像1Aを取得する、或いは、通信手段7を介して他のコンピュータから取得画像1Aを取得する。
The
上記歪み補正手段12は、上述した通りであり、図1(A)に示すような画像が同図(B)に示すような画像になるように歪み補正を行い、この歪みを補正した画像を、上述の対象画像1Bとして、基準色分割手段13に渡す。
The distortion correction means 12 is as described above, and performs distortion correction so that an image as shown in FIG. 1A becomes an image as shown in FIG. Then, the image is transferred to the reference
上記基準色分割手段13は、複数の基準色毎に設けられた基準色抽出手段21によって構成されている。各基準色抽出手段21は、自身が担当する基準色を抽出し、該抽出された画像を、基準色画像として、その基準色を担当するヒストグラム生成手段14に渡す。
The reference
上記ヒストグラム生成手段14は、上述した通り、基準色毎に設けられる。各ヒストグラム生成手段14は、同一の基準色を担当する基準色抽出手段21から渡された基準色画像に基づいて、その基準色画像の該基準色でのヒストグラムを生成する。基準色画像は、各画素が、基準色の複数段階(通常は、0〜255までの256段階)の輝度(明暗)で表現され、ヒストグラムの横軸は基準色の各段階(各階調)の値であり、縦軸はある階調において基準色画像に含まれる画素数であり、各階調での画総数の値を示したものがヒストグラムになる。
As described above, the histogram generating means 14 is provided for each reference color. Each
例えば、図4に示す例では、基準色画像を構成する基準色の輝度が低い画素と、輝度が高い画素が多く含まれ且つ中程度の輝度の画素がそれ程多く含まれていない対象画像1Bになっている。
For example, in the example illustrated in FIG. 4, the
そして、各ヒストグラム生成手段14は、基準色画像のヒストグラムを生成すると、同一の基準色を担当するモデル化手段16に、そのヒストグラムを渡す。
Then, when each
上記モデル化手段16は、上述した通り、基準色毎に設けられている。各モデル化手段16は、ヒストグラム生成手段14から渡されたヒストグラムを、確率分布を用いてモデル化し、統計モデルを生成する。この場合に用いられる確率分布として、混同ガウス分布が最も好ましく、各階調での画素数を、各階調での存在確率に見立ててモデル化を行う。
The modeling means 16 is provided for each reference color as described above. Each
混合ガウス分布は、複数のパラメータを有するが、このパラメータを、実際のヒストグラム情報(実データ)から、ベイズの定理を利用して推定し(具体的には、変分ベイズを用いて計算し)、これによって、統計モデルを生成する。すなわち、モデル化手段16は、統計モデルのパラメータを決定するパラメータ決定手段としても機能する。
The mixed Gaussian distribution has a plurality of parameters, but these parameters are estimated from actual histogram information (actual data) using Bayes' theorem (specifically, calculated using variational Bayes). This generates a statistical model. That is, the
そして、各モデル化手段16は、上記のようにして、統計モデルを生成すると、同一の基準色を担当する補正手段17に、上記統計モデルを渡す。
Then, each
上記補正手段17は、上述した通り、基準色毎に設けられている。各補正手段17は、モデル化手段16から統計モデルを受取る他、同一の基準色を担当する基準色抽出手段21及びヒストグラム生成手段14から、基準色画像及びそのヒストグラムを受取る。
The correction means 17 is provided for each reference color as described above. In addition to receiving the statistical model from the
そして、各補正手段17は、受取った基準色画像を、受取ったヒストグラム及び統計モデルに基づいて補正し、合成手段18に渡す。具体的には、基準色画像のヒストグラムが生成した統計モデルに、できるだけ近似されるように該基準色画像の補正(画像処理)を行う。
Then, each correcting
上記合成手段18は、各補正手段17から、補正した画像を受け取り、それらを合成し、この合成された画像を、本画像処理システム1による処理済みの画像(処理済画像)として、画像出力手段19に渡す。
The synthesizing
上記画像出力手段19は、処理済画像を、出力画像として、モニタ9に出力するか、記憶装置6に記憶するか、或いは、通信手段7を介して他のコンピュータに送る。
The image output means 19 outputs the processed image as an output image to the
次に、図5乃至図7に基づき、2次元カラーバーコードの構成について説明する。 Next, the configuration of the two-dimensional color barcode will be described with reference to FIGS.
図5は、2次元カラーバーコードの構成を具体例によって示す説明図である。2次元カラーバーコードの構成を具体的によって示す説明図である。対象画像1Bに描かれる2次元カラーバーコード(2次元バーコード)22は、例えば、図5に示す通り、3行3列の行列状に区画された9つのセルを有し、各セルは4色(白、青、黄、緑)で塗分けられている。このように2のk乗(kは2以上の整数で、同図ではk=2)色のカラーで塗り分けられた2次元カラーバーコード22は、二値化されたk個の2次元二値化バーコード(2次元バーコード)23に分解することが可能である。
FIG. 5 is an explanatory diagram showing the configuration of the two-dimensional color barcode by a specific example. It is explanatory drawing which shows the structure of a two-dimensional color barcode concretely. The two-dimensional color barcode (two-dimensional barcode) 22 drawn in the
例えば、同図の2次元カラーバーコード22は、3行3列のマトリックス状に区画された9個の各セルが4色のカラーで塗分けられているので、3行3列のマトリックス状に区画されて各セルが2色のカラーの何れかで表された2次元二値化バーコード23によって各層が構成される2層の多層化2次元バーコード24に変換可能である。
For example, the two-
多層化2次元バーコード24の情報は、記憶装置6や他のコンピュータ等に記憶したカラーマップMを記し、このカラーマップMの情報及び2次元カラーバーコード22の各セルの色情報に基づいて、各2次元二値化バーコード23を構成する各セルの色情報を取得する。
The information of the multi-layered two-
例えば、同図のカラーマップMによれば、2次元カラーバーコード22のセルの色が白色の場合には2次元二値化バーコード23のその箇所のセルは1層目及び2層目ともに白色になり、2次元カラーバーコード22のセルの色が青色の場合には2次元二値化バーコード24のその箇所のセルは1層目が青色になるとともに2層目が白色になり、2次元カラーバーコード22のセルの色が黄色の場合には2次元二値化バーコード23のその箇所のセルは1層目が白色になるとともに2層目が黄色になり、2次元カラーバーコード22のセルの色が緑色の場合には2次元二値化バーコード23のその箇所のセルは1層目が青色になるとともに2層目が黄色になる旨の情報が格納されている。
For example, according to the color map M in the figure, when the color of the cell of the two-
そして、2次元カラーバーコード22から多層化2次元バーコード24への変換を行う場合と、多層化2次元バーコード24から2次元カラーバーコード22への変換とを行う場合とで、同一のカラーマップMを用いることにより、2次元カラーバーコード22から正しい情報を取出すことが可能になる。
The same applies when the conversion from the two-
具体的には、各2次元二値化バーコードから情報を取出し、取出した複数の情報を事前に定めたルールに基づいて合成することにより、2次元カラーバーコード22に埋込まれた情報を取出すことが可能になる。
Specifically, information embedded in the two-
図6は、2次元カラーバーコードの抽象的な概念図である。本発明の2次元カラーバーコード22は、一般的に、l行m列の行列状に区画されたl×m個の各セルが2のk乗色のカラーの何れかにより表されている(l,mは2以上の整数であり、互いに異なる値でも同一の値でもよい)。
FIG. 6 is an abstract conceptual diagram of a two-dimensional color barcode. In the two-
このため、2次元カラーバーコード22は、l行m列のマトリックス状に区画された各セルが2色のカラーの何れかで表された2次元二値化バーコード23によって各層が構成されるk層の多層化2次元バーコード24に変換可能である。
Therefore, each layer of the two-
図7は、2次元カラーバーコードの具体的構成を示す概念図である。同図に示すように生成された2次元カラーバーコード22は、4辺を有する正方形状をなし、その4辺に沿う帯状領域26が形成されている。帯状領域26は、画像取込み時の領域特定を容易にするため、4辺を外側から囲繞するように方形枠状に形成されている。
FIG. 7 is a conceptual diagram showing a specific configuration of the two-dimensional color barcode. As shown in the figure, the generated two-
4辺の上側に沿う上辺部26aと、4辺の下側に沿う下辺部26bと、4辺の左側に沿う左辺部26cと、4辺の右側に沿う右辺部26dとから構成されている。また、上記4辺の内側の領域は、定められた所定箇所に配置されて方形状のセル内に表示される複数(図示する例では3つ)のファインダーパターン27と、2のk乗色のカラーで色分けされた図1,2に示すドットパターンからなる情報格納領域28とによって構成されている。
It consists of an
上記帯状領域26には、複数の基準カラーが配色されている。上述の多層化2次元バーコード24を構成するk個の2次元二値化バーコード23は、白と、各層によって異なる所定色との2色によって塗り分けられており、上記基準カラーは上記所定色を示している。すなわち、基準カラーはk色存在し、2次元カラーバーコード22の画像取込精度を向上させる。
In the belt-
また、k色の基準カラーはそれぞれ上辺部26a、下辺部26b、左辺部26c及び右辺部26dの何れかに配色され、どの辺部26a,26b,26c,26dにどの基準カラーが配色されたかは配色情報として記憶装置6や他のコンピュータ等に記憶されている。ちなみに、k=4の場合には各辺部26a,26b,26c,26dに1色づつ基本カラーを配色する等、各辺部26a,26b,26c,26dの基本カラーの色数をできるだけ一致させることが好ましい。
In addition, the k reference colors are arranged on any one of the
そして、所定の基準カラーがどの辺部26a,26b,26c,26dに配色されているのかを識別することにより、配色情報に基づいて、2次元カラーバーコード22の方向特定を行うことが可能になる。
The direction of the two-
上記ファインダーパターン27は、省略してもよいが、上述の2次元カラーバーコード22に関する識別子や、その2次元カラーバーコード22のセルを構成する行数及び列数等の情報が含まれる。
The
次に、モデル化手段16が行う統計モデル生成の具体的な手法について詳述する。
Next, a specific method for generating a statistical model performed by the
上記各ヒストグラムのモデル化に用いる混合ガウス分布は、K個のガウス分布の重合せで考えることができ、以下の式で表される。 The mixed Gaussian distribution used for modeling each of the histograms can be considered as a superposition of K Gaussian distributions, and is expressed by the following equation.
Nは個々のガウス分布であり、Kは重ね合わせるガウス分布が個数であり、2次元バーコードの実際の画素データであり、μは平均ベクトルであり、Λは共分散行例であり、πは混合比であって次式に従う。 N is an individual Gaussian distribution, K is the number of superposed Gaussian distributions, actual pixel data of a two-dimensional barcode, μ is an average vector, Λ is an example of covariance row, and π is It is a mixing ratio and follows the following formula.
上記混合ガウス分布を用いた上記統計モデルにおいて、混合比、平均ベクトル、共分散行列を潜在パラメータZとした場合、ベイズの定理では、事後分布を事前分布及び尤度を用いて最大化することを考える。具体的には、変分ベイズの変分近似方を用いて、上述したp(X)の自然対数を、新たな分布qを用いて以下の式で表す。 In the statistical model using the mixed Gaussian distribution, when the mixture ratio, mean vector, and covariance matrix are set as the latent parameter Z, the Bayes' theorem is to maximize the posterior distribution using the prior distribution and likelihood. Think. Specifically, the natural logarithm of p (X) described above is expressed by the following expression using a new distribution q using the variational Bayes variation approximation method.
ただし、L(q)は変分下界であり、KL(q‖p)はKL距離であり、それぞれ以下の式で表される。 However, L (q) is a variational lower bound, and KL (q‖p) is a KL distance, each represented by the following formula.
ここでKL距離の最小化と、L(q)の再計算とを交互に繰返して、パラメータの更新を行う。ちなみに、KL距離の最小化を行い、制限した以下に示すq(Z)を用いて、重ね合せる複数の各ガウス分布の負担率の更新を行う。 Here, the parameter update is performed by alternately repeating the minimization of the KL distance and the recalculation of L (q). Incidentally, the KL distance is minimized, and the burden rate of each of the plurality of Gaussian distributions to be superimposed is updated using the limited q (Z) shown below.
ただし、rnkは、共分散行列の各成分を構成するρを用いて以下の式で与えられる。 However, r nk is given by the following equation using ρ constituting each component of the covariance matrix.
また、上記KL距離の最小化の計算に必要な事前分布には、共役事前分布を用いる。具体的には、混合比πは、ディレクレ分布を用いて以下の式で求める。ちなみに、これによって、混合比の新たな分布qも計算可能となる。 A conjugate prior distribution is used as the prior distribution necessary for the calculation of the KL distance minimization. Specifically, the mixing ratio π is obtained by the following formula using a directory distribution. Incidentally, this makes it possible to calculate a new distribution q of the mixing ratio.
また、平均ベクトル及び共分散行列は、ガウス−ウィシャート事前分布を導入して、以下の式で求められる。ただし、Wの関数は、ウィシャート分布を示している。ちなみに、これによって、平均ベクトル及び共分散行列の新たな分布qも計算可能となる。 In addition, the mean vector and the covariance matrix can be obtained by the following formula by introducing a Gauss-Wishart prior distribution. However, the function of W shows the Wishart distribution. Incidentally, this makes it possible to calculate a new distribution q of the mean vector and the covariance matrix.
以上により、以下に示す5つのハイパーパラメータが見出される。 From the above, the following five hyper parameters are found.
これらの各ハイパーパラメータ及び上述した混合ガウス分布の統計モデルの各パラメータは、各ハイパーパラメータの初期値を決定すれば、上述したK個の各ガウス分布の負担率更新に伴って、順次更新される。この変分ベイズを用いたパラメータ及びハイパーパラメータの更新の概念図を図8に示す。このため、初期値を選定する必要があるが、mは初期状態を零ベクトルとし、Wは初期状態を単位行列として、それぞれ固定し、残りの3つのハイパーパラメータについて、初期値を適切に定める。 Each of these hyper parameters and each parameter of the statistical model of the above-mentioned mixed Gaussian distribution is sequentially updated with the update of the burden rate of each of the K number of Gaussian distributions if the initial value of each hyper parameter is determined. . FIG. 8 shows a conceptual diagram of updating parameters and hyperparameters using variational Bayes. For this reason, it is necessary to select an initial value. However, m is fixed with the initial state being a zero vector, W is fixed with the initial state being a unit matrix, and initial values are appropriately determined for the remaining three hyperparameters.
本願発明者らは、鋭利検討の結果、以下のように3つのハイパーパラメータの初期値を定めた。ちなみに、不要なガウス分布があれば、その比率が自動的に低くなるため、重ね合せるガウス分布の数を示すKは、任意に定めてよい。 The inventors of the present application have determined initial values of the three hyperparameters as follows as a result of keen examination. Incidentally, if there is an unnecessary Gaussian distribution, its ratio is automatically lowered. Therefore, K indicating the number of Gaussian distributions to be superimposed may be arbitrarily determined.
上記初期値の設定によって、各パラメータが繰返し計算に伴い適切に収束していく状態が確認された。 By setting the initial values, it was confirmed that each parameter converged appropriately with repeated calculation.
以上のように構成される画像処理システムによれば、色あせや、プリンタの配色パターンの違いは勿論、画像の一部を欠けているような場合にも、対応可能になり、元画像に近い画質に補正することが可能になり、劣化した2次元カラーバーコードからでも、正しい情報を取出すことが容易になる。 According to the image processing system configured as described above, it is possible to cope with a case where a part of an image is missing as well as fading, a difference in a color scheme pattern of a printer, and the image quality close to the original image. Therefore, it is easy to extract correct information even from a deteriorated two-dimensional color barcode.
なお、対象画像1Bの画像が2次元カラーバーコードの画像である場合について説明したが、対象画像1Bの画像が2次元グレースケールバーコードである場合や、2次元モノクロバーコードである場合にも適用可能である。
In addition, although the case where the image of the
具体的には、これらの画像を、グレースケールの濃淡画像とみなし、図3において、基準色分割手段13及び合成手段17を省略し、ヒストグラム先生手段14、モデル化手段手段16及び補正手段17を、それぞれ1つづつ設け、歪み補正手段12からの対象画像1Bを、ダイレクトにヒストグラム生成手段14に出力し、補正手段17からの画像を、処理済画像として、ダイレクトに画像出力手段19に渡せばよい。
Specifically, these images are regarded as grayscale grayscale images. In FIG. 3, the reference
また、対象画像1Bは、2次元バーコードに限定されず、絵画その他の一般のカラー画像又はグレースケール画像であってもよい。
The
2 画像処理システム
11 画像入力手段(入力手段)
13 基準色分割手段(分割手段)
14 ヒストグラム生成手段
16 モデル化手段
17 補正手段
19 画像出力手段(出力手段)
18 合成手段
2
13 Standard color dividing means (dividing means)
14 Histogram generation means 16 Modeling means 17 Correction means 19 Image output means (output means)
18 Synthesis means
Claims (5)
画像を入力する入力手段と、
該入力された画像である入力画像に基づいてヒストグラムを生成するヒストグラム生成手段と、
該生成したヒストグラムを、確率分布を用いてモデル化するモデル化手段と、
該モデル化手段によってモデル化された統計モデルに基づいて、前記入力画像の補正を行う補正手段と、
補正手段からの画像を出力画像として出力する出力手段とを備えた
ことを特徴とする画像処理システム。 An image processing system for correcting an input image,
An input means for inputting an image;
Histogram generating means for generating a histogram based on the input image which is the input image;
Modeling means for modeling the generated histogram using a probability distribution;
Correction means for correcting the input image based on the statistical model modeled by the modeling means;
An image processing system comprising: output means for outputting an image from the correction means as an output image.
請求項1に記載の画像処理システム。 The image processing system according to claim 1, wherein the modeling unit performs the modeling using a mixed Gaussian distribution.
請求項2に記載の画像処理システム。 The image processing system according to claim 2, further comprising parameter determination means for determining a parameter included in the mixed Gaussian distribution using a variational Bayes method.
分割手段によって分割された複数の基準色画像を合成する合成手段とを備え、
前記ヒストグラム生成手段は、各基準色画像のヒストグラムを生成し、
前記モデル化手段は、基準色画像毎にヒストグラムの上記モデル化を行い、
前記補正手段は、基準色画像毎に上記補正を行い、
前記合成手段は、補正手段によって補正された各基準色画像を合成する
請求項1乃至3の何れかに記載の画像処理システム。 A dividing means for dividing a color image as an input image into a plurality of predetermined reference colors;
Combining means for combining a plurality of reference color images divided by the dividing means,
The histogram generation means generates a histogram of each reference color image,
The modeling means performs the modeling of the histogram for each reference color image,
The correction means performs the correction for each reference color image,
The image processing system according to claim 1, wherein the combining unit combines the reference color images corrected by the correcting unit.
請求項4に記載の画像処理システム。 The image processing system according to claim 4, wherein the reference colors are three colors of red, green, and blue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013151273A JP2015022605A (en) | 2013-07-22 | 2013-07-22 | Image processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013151273A JP2015022605A (en) | 2013-07-22 | 2013-07-22 | Image processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015022605A true JP2015022605A (en) | 2015-02-02 |
Family
ID=52486976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013151273A Pending JP2015022605A (en) | 2013-07-22 | 2013-07-22 | Image processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015022605A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10145590A (en) * | 1996-11-12 | 1998-05-29 | Tsukuba Soft Kenkyusho:Kk | Color/gradation image input/output device and input/ output method |
JPH1166322A (en) * | 1997-08-11 | 1999-03-09 | Tsukuba Soft Kenkyusho:Kk | Communication equipment for color image and gradation image |
JP2009223630A (en) * | 2008-03-17 | 2009-10-01 | Nec Corp | Image processing apparatus, image processing method and image processing program |
-
2013
- 2013-07-22 JP JP2013151273A patent/JP2015022605A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10145590A (en) * | 1996-11-12 | 1998-05-29 | Tsukuba Soft Kenkyusho:Kk | Color/gradation image input/output device and input/ output method |
JPH1166322A (en) * | 1997-08-11 | 1999-03-09 | Tsukuba Soft Kenkyusho:Kk | Communication equipment for color image and gradation image |
JP2009223630A (en) * | 2008-03-17 | 2009-10-01 | Nec Corp | Image processing apparatus, image processing method and image processing program |
Non-Patent Citations (2)
Title |
---|
奥田 真也,外1名: "確率分布を用いたカラーバーコード配色推定", FIT2011 第10回情報科学技術フォーラム 講演論文集, JPN6017016815, 22 August 2011 (2011-08-22), JP, pages 第11頁−第14頁 * |
本多 功,外1名: "変分ベイズ法を用いた色分布情報推定のためのパラメータ検証", FIT2011 第10回情報科学技術フォーラム 講演論文集 第3分冊, JPN6017016817, 22 August 2011 (2011-08-22), JP, pages 第517頁−第520頁 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104008538B (en) | Based on single image super-resolution method | |
US9697583B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium | |
CN110400278B (en) | Full-automatic correction method, device and equipment for image color and geometric distortion | |
JP5197683B2 (en) | Depth signal generation apparatus and method | |
CN107403160A (en) | Image detecting method, equipment and its storage device in a kind of intelligent driving scene | |
JP2013080524A (en) | Image comparison device and image comparison program | |
CN107220934A (en) | Image rebuilding method and device | |
JP7463186B2 (en) | Information processing device, information processing method, and program | |
US20230316697A1 (en) | Association method, association system, and non-transitory computer-readable storage medium | |
US9756220B2 (en) | Image data generating apparatus, printer, image data generating method, and non-transitory computer readable medium for extracting one or more pixels corresponding to a metallic-color region | |
CN111179222A (en) | Intelligent detection method and device for cerebral hemorrhage point and computer readable storage medium | |
JP2015022605A (en) | Image processing system | |
JP7160211B2 (en) | machine learning models, generators, computer programs | |
JP2019140538A (en) | Image processing system, image formation device, image processing method, and program | |
JP5911633B1 (en) | Image processing device | |
US8908986B1 (en) | Systems and methods for selecting ink colors | |
CN110866939A (en) | Robot motion state identification method based on camera pose estimation and deep learning | |
JP2009225446A (en) | Image processing apparatus, image processing method, and image forming apparatus | |
WO2023228717A1 (en) | Computer program, processing method, and processing device | |
JP2021177262A (en) | Restoration function adjustment system, data restoration device, restoration function adjustment method, restoration function generation method, and computer program | |
CN116704513B (en) | Text quality detection method, device, computer equipment and storage medium | |
JP6375778B2 (en) | Image processing method and image processing apparatus | |
WO2023223883A1 (en) | Computer program and data processing device | |
WO2023074565A1 (en) | Machine learning model, computer program, and method | |
JPWO2019082283A1 (en) | Image analyzer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160623 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170405 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170516 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170718 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20171114 |