JP2012175368A - Image sharpening device, image output apparatus, and image sharpening program - Google Patents

Image sharpening device, image output apparatus, and image sharpening program Download PDF

Info

Publication number
JP2012175368A
JP2012175368A JP2011034945A JP2011034945A JP2012175368A JP 2012175368 A JP2012175368 A JP 2012175368A JP 2011034945 A JP2011034945 A JP 2011034945A JP 2011034945 A JP2011034945 A JP 2011034945A JP 2012175368 A JP2012175368 A JP 2012175368A
Authority
JP
Japan
Prior art keywords
image
blur
unit
sharpening
insufficient
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
JP2011034945A
Other languages
Japanese (ja)
Other versions
JP5760495B2 (en
Inventor
Susumu Honma
行 本間
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2011034945A priority Critical patent/JP5760495B2/en
Publication of JP2012175368A publication Critical patent/JP2012175368A/en
Application granted granted Critical
Publication of JP5760495B2 publication Critical patent/JP5760495B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image sharpening device, an image output apparatus, and an image sharpening program, capable of forming an image that has optimal sharpness for printing.SOLUTION: An image sharpening device, an image output apparatus, and an image sharpening program of the present invention, includes: an image input unit (12) that obtains an image to be printed; a blur degree determination unit (14,24) that determines blur degree of the image obtained by the image input unit (12); an output size obtaining unit (18) that obtains the output size at the time of printing of the image; an unsharpness calculation unit (20) that calculates unsharpness from sharpness that is optimal for printing in the output size obtained by the output size acquisition unit (18) on the basis of blur degree determined by the blur degree determination unit (14,24); and a sharpening unit (22) that obtains the sharpness image that is optimal for printing by performing sharpening to the image on the basis of the unsharpness obtained by the unsharpness calculation unit (20).

Description

本発明は、画像鮮明化装置、画像出力装置及び画像鮮明化プログラムに関するものである。   The present invention relates to an image sharpening device, an image output device, and an image sharpening program.

銀塩カメラの時代では、L版程度の大きさの印刷が一般的であったが、近年、デジタルカメラとプリンタの普及により、A4サイズやA3サイズ等の大きな写真の印刷が手軽にできるようになった。しかし、大きなサイズでの印刷は、小さなサイズでの印刷時ではわからないボケも目立つようになる。このため、印刷サイズに応じて鮮明化を行う方法が提案されている(例えば、特許文献1参照)。   In the era of silver halide cameras, printing on the order of L size was common, but in recent years, with the widespread use of digital cameras and printers, printing of large photographs such as A4 size and A3 size can be done easily. became. However, when printing at a large size, blurring that cannot be recognized at the time of printing at a small size becomes noticeable. For this reason, a method for sharpening according to the print size has been proposed (see, for example, Patent Document 1).

特表2004−527043号公報Special table 2004-527043 gazette

上記従来の方法は、元画像の鮮明度とは無関係に、印刷サイズに応じて鮮明化を行うものである。したがって、十分な鮮明度を有する画像にも鮮明化を行うこととなる。十分に鮮明な画像に対する鮮明化は、無駄な時間および電力を浪費するばかりか、不要な鮮明化による不自然なエッジ強調やノイズの増加などの画像劣化が起きる可能性もある。   The conventional method described above performs sharpening according to the print size regardless of the sharpness of the original image. Therefore, sharpening is also performed on an image having sufficient sharpness. Sharpening a sufficiently sharp image not only wastes wasted time and power, but may also cause image degradation such as unnatural edge enhancement and increased noise due to unnecessary sharpening.

本発明は、印刷に最適な鮮明度を有する画像を作成可能な画像鮮明化装置、画像出力装置及び画像鮮明化プログラムを提供することを目的とする。   An object of the present invention is to provide an image sharpening device, an image output device, and an image sharpening program capable of creating an image having the optimum sharpness for printing.

本発明は、以下のような解決手段により前記課題を解決する。なお、理解を容易にするために、本発明の実施形態に対応する符号を付して説明するが、これに限定されるものではない。   The present invention solves the above problems by the following means. In addition, in order to make an understanding easy, although the code | symbol corresponding to embodiment of this invention is attached | subjected and demonstrated, it is not limited to this.

請求項1に記載の発明は、印刷を行う画像を取得する画像入力部(12)と、前記画像入力部(12)により取得された画像のボケ度合いを判定するボケ度合い判定部(14,24)と、前記画像を印刷する際の出力サイズを取得する出力サイズ取得部(18)と、前記ボケ度合い判定部(14,24)により判定されたボケ度合をもとに、前記出力サイズ取得部(18)により取得された出力サイズでの印刷に適した鮮明度から不足している不足鮮明度を算出する不足鮮明度算出部(20)と、前記不足鮮明度算出部(20)によって求められた前記不足鮮明度に基づいて前記画像に対して鮮明化を行い、印刷に適した鮮明化画像を取得する鮮明化部(22)と、を備えること、を特徴とする画像鮮明化装置(10,200)である。
請求項2に記載の発明は、請求項1に記載の画像鮮明化装置(10,200)であって、前記画像入力部により取得された画像の画像サイズを取得する画像サイズ取得部(16)をさらに備え、前記不足鮮明度算出部(20)は、前記不足鮮明度の算出の際に、前記画像サイズ取得部(16)により取得された画像サイズに応じて前記不足鮮明度を補正すること、を特徴とする画像鮮明化装置(10,200)である。
請求項3に記載の発明は、請求項1又は2に記載の画像鮮明化装置(10,200)と、前記画像を出力する出力部とを備えること、を特徴とする画像出力装置である。
請求項4に記載の発明は、コンピュータを、印刷を行う画像を取得する画像入力手段と、前記画像入力手段により取得された画像のボケ度合いを判定するボケ度合い判定手段と、前記画像を印刷する際の出力サイズを取得する出力サイズ取得手段と、前記ボケ度合い判定手段により判定されたボケ度合をもとに、前記出力サイズ取得手段により取得された出力サイズでの印刷に適した鮮明度から不足している不足鮮明度を算出する不足鮮明度算出手段と、前記不足鮮明度算出手段によって求められた前記不足鮮明度に基づいて前記画像に対して鮮明化を行い、印刷に適した鮮明化画像を取得する鮮明化手段として機能させること、を特徴とする画像鮮明化プログラム
請求項5に記載の発明は、請求項4に記載の画像鮮明化プログラムであって、コンピュータをさらに、画像の画像サイズを取得する画像サイズ取得手段として機能させ、前記画像サイズ取得手段は、前記不足鮮明度の算出の際に、前記画像入力手段により取得された画像サイズに応じて前記不足鮮明度を補正すること、を特徴とする画像鮮明化プログラムである。
なお、符号を付して説明した構成は、適宜改良してもよく、また、少なくとも一部を他の構成物に代替してもよい。
According to the first aspect of the present invention, an image input unit (12) that acquires an image to be printed and a blur degree determination unit (14, 24) that determines the degree of blur of the image acquired by the image input unit (12). ), An output size acquisition unit (18) for acquiring an output size when printing the image, and the output size acquisition unit based on the degree of blur determined by the blur degree determination unit (14, 24) Calculated by the insufficient definition calculation unit (20) that calculates the insufficient definition that is insufficient from the definition suitable for printing at the output size acquired in (18), and the insufficient definition calculation unit (20). And a sharpening unit (22) for sharpening the image on the basis of the insufficient sharpness and obtaining a sharpened image suitable for printing. (10) , 200).
The invention described in claim 2 is the image sharpening device (10, 200) according to claim 1, wherein the image size acquisition unit (16) acquires the image size of the image acquired by the image input unit. The insufficient definition calculation unit (20) corrects the insufficient definition according to the image size acquired by the image size acquisition unit (16) when calculating the insufficient definition. The image sharpening device (10, 200) characterized by the above.
The invention described in claim 3 is an image output device comprising the image sharpening device (10, 200) described in claim 1 or 2 and an output unit for outputting the image.
According to a fourth aspect of the present invention, the computer causes the image input means for acquiring the image to be printed, the blur degree determination means for determining the degree of blur of the image acquired by the image input means, and the image to be printed. Output size acquisition means for acquiring the output size at the time and lack of clarity suitable for printing with the output size acquired by the output size acquisition means based on the degree of blur determined by the blur degree determination means A deficient sharpness calculating means for calculating the deficient sharpness, and a sharpened image suitable for printing by sharpening the image based on the deficient sharpness calculated by the deficient sharpness calculating means. An image sharpening program characterized in that the image sharpening program functions as a sharpening means for acquiring the image. The invention according to claim 5 is the image sharpening program according to claim 4. The computer further functions as an image size acquisition unit that acquires an image size of an image, and the image size acquisition unit is configured according to the image size acquired by the image input unit when calculating the insufficient sharpness. An image sharpening program characterized by correcting the insufficient sharpness.
Note that the configuration described with reference numerals may be modified as appropriate, and at least a part of the configuration may be replaced with another component.

本発明によれば、印刷に最適な鮮明度を有する画像を作成可能な画像鮮明化装置、画像出力装置及び画像鮮明化プログラムを提供することができる。   According to the present invention, it is possible to provide an image sharpening device, an image output device, and an image sharpening program capable of creating an image having a sharpness optimum for printing.

画像鮮明化装置の構成を示すブロック図である。It is a block diagram which shows the structure of an image sharpening apparatus. 第1実施形態のボケ度合い判定部の構成を示すブロック図である。It is a block diagram which shows the structure of the blurring degree determination part of 1st Embodiment. 図2のボケ付加処理部において用いられるボケフィルターの一例を示したものである。3 shows an example of a blur filter used in the blur addition processing unit of FIG. 2. ボケ度合い判定部におけるボケ判定原理の説明図である。It is explanatory drawing of the blur determination principle in a blurring degree determination part. 第2実施形態のボケ度合い判定部の構成を示すブロック図である。It is a block diagram which shows the structure of the blurring degree determination part of 2nd Embodiment.

(第1実施形態)
以下、図面等を参照して、本発明の第1実施形態にかかる画像鮮明化装置10について説明する。図1は、画像鮮明化装置10の構成を示すブロック図である。本実施形態の画像鮮明化装置10は、プリンタでの印刷の前処理として使用されるものである。
(First embodiment)
Hereinafter, an image sharpening apparatus 10 according to a first embodiment of the present invention will be described with reference to the drawings and the like. FIG. 1 is a block diagram showing the configuration of the image sharpening device 10. The image sharpening device 10 of this embodiment is used as a pre-process for printing by a printer.

画像鮮明化装置10は、例えば、デジタルカメラ等において撮影された元画像が入力される画像入力部12を備える。また、画像鮮明化装置10は、画像入力部12から入力された元画像のボケ度合いを判定するための、後述のボケ度合い判定部14と、画像入力部12から入力された元画像から、その元画像の画像サイズを取得する画像サイズ取得部16と、印刷時の画像の出力サイズを取得する出力サイズ取得部18と、を備える。   The image sharpening device 10 includes, for example, an image input unit 12 to which an original image taken with a digital camera or the like is input. In addition, the image sharpening device 10 determines the degree of blur of the original image input from the image input unit 12 from a blur degree determination unit 14 (to be described later) and the original image input from the image input unit 12. An image size acquisition unit 16 that acquires the image size of the original image and an output size acquisition unit 18 that acquires the output size of the image at the time of printing are provided.

画像鮮明化装置10は、さらに出力サイズ選択部を備えても良く、この場合、出力サイズ取得部18は、出力サイズ選択部により選択された出力サイズを読み取ることで出力サイズを取得してもよい。また、出力サイズが外部装置により設定される場合、外部装置により設定された出力サイズを読み取ることで出力サイズを取得してもよい。   The image sharpening device 10 may further include an output size selection unit. In this case, the output size acquisition unit 18 may acquire the output size by reading the output size selected by the output size selection unit. . When the output size is set by an external device, the output size may be acquired by reading the output size set by the external device.

さらに、画像鮮明化装置10は、画像入力部12で取得された画像を印刷する際の最適な鮮明度に対して、不足している鮮明度を判定する不足鮮明度算出部20と、不足している鮮明度を補い、画像を印刷に最適な鮮明度にする鮮明化部22とを備える。   Furthermore, the image sharpening device 10 is insufficient with an insufficient sharpness calculation unit 20 that determines a lacking sharpness with respect to an optimal sharpness when printing an image acquired by the image input unit 12. And a sharpening unit 22 that compensates for the sharpness of the image and makes the image optimal for printing.

次に、ボケ度合い判定部14の構成について説明する。図2はボケ度合い判定部14の構成を示すブロック図である。ボケ度合い判定部14は、画像入力部12で取得された元画像Voにボケを付加し、ボケ付加画像Vbを作成するボケ付加処理部142と、ボケ付加画像Vbのコントラスト評価値Sbと、元画像Voのコントラスト評価値Soとを算出するコントラスト評価値算出部144と、ボケ付加画像Vbのコントラスト評価値Sbと、元画像Voのコントラスト評価値Soとを比較してコントラスト比較値Sb/Soを求めるコントラスト比較部146と、コントラスト比較値Sb/Soよりボケ度合いを評価するボケ評価部148とを備える。   Next, the configuration of the blur degree determination unit 14 will be described. FIG. 2 is a block diagram illustrating a configuration of the blur degree determination unit 14. The blur degree determination unit 14 adds blur to the original image Vo acquired by the image input unit 12 to create the blur added image Vb, the contrast evaluation value Sb of the blur added image Vb, the original The contrast evaluation value calculation unit 144 that calculates the contrast evaluation value So of the image Vo, the contrast evaluation value Sb of the blurred image Vb, and the contrast evaluation value So of the original image Vo are compared, and the contrast comparison value Sb / So is obtained. A contrast comparison unit 146 to be obtained and a blur evaluation unit 148 that evaluates the degree of blur from the contrast comparison value Sb / So are provided.

この画像鮮明化装置10の動作について説明する。
図1において画像入力部12より印刷対象の元画像Voが入力されると、図2示すボケ度合い判定部14においてボケ度合いが判定される。
ボケ度合い判定部14における処理は、以下のように行われる。
まず、ボケ付加処理部142は、元画像Voにボケを付加する。
ボケの付加の処理としては、例えば、周知のガウシアンフィルタを使用する方法を用いる。図3は、図2のボケ付加処理部142において用いられるボケフィルターの一例を示したものである。ここには、マトリックスサイズ5×5、標準偏差1のガウシアンフィルタを示したが、他のガウシアンフィルタや、他の平均化フィルタなどでも原理的には代用可能である。このフィルタを元画像にコンボリューションすることにより、ボケ付加画像を生成する。
The operation of the image sharpening device 10 will be described.
In FIG. 1, when the original image Vo to be printed is input from the image input unit 12, the degree of blur is determined by the blur degree determination unit 14 illustrated in FIG. 2.
The processing in the blur degree determination unit 14 is performed as follows.
First, the blur addition processing unit 142 adds blur to the original image Vo.
As the blur addition process, for example, a method using a known Gaussian filter is used. FIG. 3 shows an example of a blur filter used in the blur addition processing unit 142 of FIG. Although a Gaussian filter having a matrix size of 5 × 5 and a standard deviation of 1 is shown here, other Gaussian filters, other averaging filters, and the like can be used in principle. A convolution-added image is generated by convolving this filter with the original image.

次に、コントラスト評価値算出部144は、ボケ付加処理部142においてボケが付加された画像Vbに対してコントラスト評価値Sbを算出する。   Next, the contrast evaluation value calculation unit 144 calculates a contrast evaluation value Sb for the image Vb to which blur is added by the blur addition processing unit 142.

コントラスト評価値は以下のように求められる。
xy平面に広がる二次元画像を構成する各画素の輝度成分をV(m,n)(m:x方向の画素番号、n:y方向の画素番号)とすると、この画像のx方向の輪郭を考慮したコントラスト評価値Sは、
S=Σ(V(m,n+1)−V(m,n)) …(1)
となる。
The contrast evaluation value is obtained as follows.
If the luminance component of each pixel constituting the two-dimensional image spreading on the xy plane is V (m, n) (m: pixel number in the x direction, n: pixel number in the y direction), the contour in the x direction of this image is The contrast evaluation value S considered is
S = Σ (V (m, n + 1) −V (m, n)) 2 (1)
It becomes.

また、画像のy方向の輪郭を考慮したコントラスト評価値Sを、
S=Σ(V(m+1,n)−V(m,n)) …(2)
として求め、このコントラスト評価値Sを用いるようにしてもよい。
Further, a contrast evaluation value S in consideration of the y-direction contour of the image,
S = Σ (V (m + 1, n) −V (m, n)) 2 (2)
And the contrast evaluation value S may be used.

さらには、画像のx方向及びy方向双方の輪郭を考慮して、コントラスト評価値Sを、
S=Σ(V(m,n+1)−V(m,n))+Σ(V(m+1,n)−V(m,n)) …(3)
として求め、このコントラスト評価値Sを用いることにより、画像全体のコントラストをより正確に評価することが可能となる。なお、(1)〜(3)式において、Σは、画素番号m,nについての総和を表すものとする。
Furthermore, considering the contours in both the x and y directions of the image, the contrast evaluation value S is
S = Σ (V (m, n + 1) −V (m, n)) 2 + Σ (V (m + 1, n) −V (m, n)) 2 (3)
By using the contrast evaluation value S, the contrast of the entire image can be evaluated more accurately. In the equations (1) to (3), Σ represents the sum of pixel numbers m and n.

一方、コントラスト評価値算出部144は、画像入力部12から直接供給されるボケが付加されていない画像Voのコントラスト評価値Soも算出する。   On the other hand, the contrast evaluation value calculation unit 144 also calculates the contrast evaluation value So of the image Vo to which the blur supplied directly from the image input unit 12 is not added.

そして、コントラスト比較部146は、ボケが付加された画像Vbのコントラスト評価値Sbと、ボケが付加されていない画像Voのコントラスト評価値Soとのコントラスト比Sb/Soを算出する。
次いで、ボケ評価部148は、コントラスト比較部146で算出されたコントラスト比Sb/Soに基づいてボケの度合いBを評価する。
Then, the contrast comparison unit 146 calculates a contrast ratio Sb / So between the contrast evaluation value Sb of the image Vb to which blur is added and the contrast evaluation value So of the image Vo to which no blur is added.
Next, the blur evaluation unit 148 evaluates the degree B of blur based on the contrast ratio Sb / So calculated by the contrast comparison unit 146.

図4は、このボケ度合い判定部14におけるボケ判定原理の説明図である。横軸は、画像のボケの程度を表すボケ量を示し、縦軸は、コントラスト評価値算出部144で算出したコントラスト評価値を示す。   FIG. 4 is an explanatory diagram of the blur determination principle in the blur degree determination unit 14. The horizontal axis indicates the amount of blur indicating the degree of blur of the image, and the vertical axis indicates the contrast evaluation value calculated by the contrast evaluation value calculation unit 144.

入力された画像が、ピントが合っているシャープな画像の場合、ボケが付加された画像のコントラストは大きく低下する。そのため、元画像Voとボケ付加画像Vbのコントラスト評価値の比Sb1/So1は小さな値となる。
一方、元々ぼけている画像は、ボケを付加してもコントラストの低下が小さいので、元画像Voとボケ付加画像Vbのコントラスト評価値の比Sb2/So2は大きな値となる。
よって、元画像Voとボケ付加画像Vbのコントラスト評価値の比Sb/Soにより画像のボケ具合の判定が出来る。この判定結果により求めたボケ度合いをBとする。
If the input image is a sharp image that is in focus, the contrast of the blurred image is greatly reduced. Therefore, the ratio Sb1 / So1 between the contrast evaluation values of the original image Vo and the blurred additional image Vb is a small value.
On the other hand, since the original blurred image has a small decrease in contrast even when blur is added, the ratio Sb2 / So2 between the contrast evaluation values of the original image Vo and the blur added image Vb is a large value.
Therefore, it is possible to determine the degree of blur of the image based on the ratio Sb / So of the contrast evaluation values of the original image Vo and the blurred additional image Vb. Let B be the degree of blur obtained from this determination result.

図1に戻り、画像鮮明化装置10は、画像サイズ取得部16により入力された元画像の画像サイズを取得する。また、出力サイズ取得部18は、設定されている出力サイズを取得する。   Returning to FIG. 1, the image sharpening device 10 acquires the image size of the original image input by the image size acquisition unit 16. Further, the output size acquisition unit 18 acquires the set output size.

不足鮮明度算出部20は、選択された出力サイズで許容できる許容ボケ度合いを求める。
この許容ボケ度合いは、予め許容できる量を求めテーブルなどにしてデータを持っておき、参照により求めるようにすればよい。
この許容ボケ度合いをP(レベルに応じて1,2,3,4等)とする。B(ボケ度合い)−P(許容ボケ度合い)が不足鮮明度Lとなる。
The insufficient sharpness calculation unit 20 obtains an allowable degree of blurring that can be allowed with the selected output size.
The permissible degree of blur may be obtained by referring to an allowable amount in advance and holding data in a table or the like.
Let this allowable blurring degree be P (1, 2, 3, 4, etc. depending on the level). B (blurring degree) −P (allowable blurring degree) is the insufficient sharpness L.

ここで、一般的に画像のボケの度合いは、エッジのつぶれ具合に応じた値になる。ここで、ボケ度合い判定部14は、例えば、白黒の境目のエッジがあり、ボケによりエッジがつぶれ白から黒へ移り変わるのに、中間の輝度値であるグレーのピクセルが10ピクセルある場合、10ピクセルのボケと定義する。
しかし、同じ10ピクセルのボケでも6Mピクセルの画像と24Mピクセルの画像では同じ印刷サイズでは異なったボケ具合に見えてしまう。
よって、不足鮮明度算出部20は、画像サイズにより不足している鮮明化の度合いを補正する。
Here, the degree of blurring of the image is generally a value corresponding to the degree of edge crushing. Here, the blur degree determination unit 14 has, for example, 10 pixels when there are 10 pixels of gray pixels having an intermediate luminance value when there is an edge of a black-and-white boundary and the edge is crushed due to the blur and changes from white to black. It is defined as blurring.
However, even with the same 10-pixel blur, an image of 6M pixels and an image of 24M pixels appear to be differently blurred at the same print size.
Therefore, the insufficient sharpness calculation unit 20 corrects the degree of sharpening that is insufficient depending on the image size.

具体的には、不足鮮明度算出部20は、ボケ度合い判定部14により判定されたボケ量と、画像サイズを加味して、例えば、画像サイズをSとした場合
L=α*(B−P/S^0.5)
等の変更を行う。
Specifically, the deficiency definition calculation unit 20 takes into account the blur amount determined by the blur degree determination unit 14 and the image size, for example, when the image size is S. L = α * (BP /S^0.5)
Etc. are changed.

鮮明化部22は、この不足鮮明度Lの大きさに応じて、鮮明化の度合いを変更する。具体的には、鮮明化部22は、例えばUSM(アンシャープマスク)の場合、標準偏差や強度を変更することにより鮮明化の度合いを変更する。L<0の場合は、画像がその出力サイズに対して十分にシャープであるので、鮮明化を行う必要は無い。   The sharpening unit 22 changes the degree of sharpening according to the magnitude of the insufficient sharpness L. Specifically, in the case of USM (unsharp mask), for example, the sharpening unit 22 changes the degree of sharpening by changing the standard deviation and intensity. When L <0, the image is sufficiently sharp with respect to its output size, so there is no need for sharpening.

以上、第1実施形態によると、元画像の鮮明度をもとに、印刷の出力サイズに応じて鮮明化を行う。したがって、十分な鮮明度を有する画像に鮮明化を行うといったことがなく、無駄な時間および電力の浪費が避けられ、不要な鮮明化による不自然なエッジ強調やノイズの増加などの画像劣化が起きることがない。   As described above, according to the first embodiment, sharpening is performed according to the output size of printing based on the sharpness of the original image. Therefore, an image having sufficient sharpness is not sharpened, wasted time and power is wasted, and image degradation such as unnatural edge enhancement and increased noise due to unnecessary sharpening occurs. There is nothing.

(第2実施形態)
次に、第2実施形態の画像鮮明化装置200について説明する。図1に示す第1実施形態の画像鮮明化装置10と第2実施形態の画像鮮明化装置200とは、ボケ度合い判定部が異なるが、他の構成要素は同一であり、同一の部分の説明は省略する。
(Second Embodiment)
Next, the image sharpening device 200 of the second embodiment will be described. The image sharpening device 10 according to the first embodiment shown in FIG. 1 and the image sharpening device 200 according to the second embodiment have different blur degree determination units, but the other components are the same, and the description of the same parts Is omitted.

図5に第2実施形態のボケ度合い判定部24の構成を示す。第2実施形態の画像鮮明化装置200のボケ度合い判定部24は、画像入力部12から入力された画像Voに対して、ボケ付加度合いの異なるボケ付加処理を施す第1ボケ付加処理部241及び第2ボケ付加処理部242と、コントラスト評価値算出部244と、コントラスト比較部246と、ボケ評価部248とを備える。   FIG. 5 shows a configuration of the blur degree determination unit 24 of the second embodiment. The blur degree determination unit 24 of the image sharpening device 200 according to the second embodiment includes a first blur addition processing unit 241 that performs a blur addition process with a different blur addition degree on the image Vo input from the image input unit 12. A second blur addition processing unit 242, a contrast evaluation value calculation unit 244, a contrast comparison unit 246, and a blur evaluation unit 248 are provided.

第1ボケ付加処理部241と、第2ボケ付加処理部242とのボケ付加度合いは異なっている。元画像に第1ボケ付加処理部241によりボケを付加して第1のボケ付加画像Vb1と、元画像に第2ボケ付加処理部242によりボケを付加して第2のボケ付加画像Vb2を作成する。第2ボケ付加処理部242で付加されるボケ量は、第1ボケ付加処理部241で使われるボケ量よりも大きいものとする。
たとえば、第1ボケ付加処理部241で使われるボケフィルターをマトリックスサイズ5×5、標準偏差1、第2ボケ付加処理部242で使われるボケフィルターをマトリックスサイズ15×15、標準偏差3とする。
The degree of blur addition between the first blur addition processing unit 241 and the second blur addition processing unit 242 is different. The first blur addition processing unit 241 adds blur to the original image to create the first blur addition image Vb1, and the second blur addition processing unit 242 adds blur to the original image to create the second blur addition image Vb2. To do. It is assumed that the amount of blur added by the second blur addition processing unit 242 is larger than the amount of blur used by the first blur addition processing unit 241.
For example, the blur filter used in the first blur addition processing unit 241 has a matrix size of 5 × 5 and standard deviation 1, and the blur filter used in the second blur addition processing unit 242 has a matrix size of 15 × 15 and standard deviation 3.

あるいは、第2ボケ付加処理部242で使われるボケフィルターを第1のものと同じものにして、複数回繰り返すのでも良い。このようにして作成された、第1のボケ付加画像Vb1と第2のボケ付加画像Vb2それぞれの、コントラスト値をS1、S2とする。コントラスト値S1、S2の比、S2/S1で画像のボケ具合の判定が出来る。ボケ付加によるコントラスト値の変化量が、画像のノイズによる影響を受けやすいので、この方法によりノイズの影響を小さくすることが出来る。   Alternatively, the blur filter used in the second blur addition processing unit 242 may be the same as the first filter, and may be repeated a plurality of times. The contrast values of the first blur added image Vb1 and the second blur added image Vb2 created in this way are S1 and S2. The degree of blurring of the image can be determined by the ratio of the contrast values S1 and S2 and S2 / S1. Since the amount of change in contrast value due to blurring is easily affected by image noise, this method can reduce the effect of noise.

以上、第2実施形態によると、第1実施形態の効果に加えて以下の効果を有する。
画像入力部12から入力された画像Voは、第1ボケ付加処理部241及び第2ボケ付加処理部242において、異なるボケ付加処理が施された後、コントラスト比較部246において、ボケ付加された各画像Vb1、Vb2からコントラスト比を算出し、ボケの有無を自動判定している。そのため、画像のエッジ部分以外の情報(ノイズ等)の影響を軽減でき、画像がボケているか否かをより正確に判定することができる。
As mentioned above, according to 2nd Embodiment, in addition to the effect of 1st Embodiment, it has the following effects.
The image Vo input from the image input unit 12 is subjected to different blur addition processing in the first blur addition processing unit 241 and the second blur addition processing unit 242, and then each of the blurs added in the contrast comparison unit 246 is performed. The contrast ratio is calculated from the images Vb1 and Vb2, and the presence or absence of blur is automatically determined. Therefore, it is possible to reduce the influence of information (such as noise) other than the edge portion of the image, and more accurately determine whether or not the image is blurred.

(第3実施形態)
上記の実施形態では、画像鮮明化装置10,24として説明したが、本発明はこれに限定されず、画像鮮明化プログラムであっても良い。また、この画像鮮明化プログラムは、CD等の記録媒体に記録された形であっても良い。
この場合、画像鮮明化プログラムは、コンピュータにインストールされると、コンピュータを、例えば、デジタルカメラ等において撮影された元画像が入力される画像入力手段と、画像入力手段により入力された元画像のボケ度合いを判定する、ボケ度合い判定手段と、画像入力手段により入力された元画像から、その元画像の画像サイズを取得する画像サイズ取得手段と、印刷時の画像の出力サイズを取得する出力サイズ取得手段として機能させる。そして、これらの手段は、第1実施形態の各部と同様に動作する。なお、画像判定プログラムは、コンピュータに対して上記第2実施形態の画像判定装置110の動作を行わすものであっても良い。
(Third embodiment)
In the above embodiment, the image sharpening devices 10 and 24 have been described. However, the present invention is not limited to this and may be an image sharpening program. The image sharpening program may be recorded on a recording medium such as a CD.
In this case, when the image sharpening program is installed in the computer, the computer is caused to input, for example, an image input means for inputting an original image taken by a digital camera or the like, and a blur of the original image input by the image input means. Degree determination, blur degree determination means, image size acquisition means for acquiring the image size of the original image from the original image input by the image input means, and output size acquisition for acquiring the output size of the image at the time of printing It functions as a means. And these means operate | move similarly to each part of 1st Embodiment. The image determination program may be a program that performs the operation of the image determination apparatus 110 of the second embodiment on a computer.

(変形形態)
以上、説明した実施形態に限定されることなく、以下に示すような種々の変形や変更が可能であり、それらも本発明の範囲内である。
本実施形態において画像鮮明化装置及び画像鮮明化プログラムについて説明したが、これに限定されず、画像鮮明化装置及び画像鮮明化プログラムは、画像出力部を備えたプリンタ等の画像出力装置に装備されていても良い。
(Deformation)
The present invention is not limited to the above-described embodiment, and various modifications and changes as described below are possible, and these are also within the scope of the present invention.
Although the image sharpening device and the image sharpening program have been described in the present embodiment, the present invention is not limited to this, and the image sharpening device and the image sharpening program are installed in an image output device such as a printer having an image output unit. May be.

なお、実施形態及び変形形態は、適宜組み合わせて用いることもできるが、詳細な説明は省略する。また、本発明は、以上説明した実施形態によって限定されることはない。   In addition, although embodiment and a deformation | transformation form can also be used in combination as appropriate, detailed description is abbreviate | omitted. Further, the present invention is not limited to the embodiment described above.

10,200:画像鮮明化装置、12:画像入力部、14,24:ボケ度合い判定部、16:画像サイズ取得部、18:出力サイズ取得部、20:不足鮮明度算出部、22:鮮明化部   10, 200: Image sharpening device, 12: Image input unit, 14, 24: Blur degree determination unit, 16: Image size acquisition unit, 18: Output size acquisition unit, 20: Insufficient sharpness calculation unit, 22: Sharpening Part

Claims (5)

印刷を行う画像を取得する画像入力部と、
前記画像入力部により取得された画像のボケ度合いを判定するボケ度合い判定部と、
前記画像を印刷する際の出力サイズを取得する出力サイズ取得部と、
前記ボケ度合い判定部により判定されたボケ度合をもとに、前記出力サイズ取得部により取得された出力サイズでの印刷に適した鮮明度から不足している不足鮮明度を算出する不足鮮明度算出部と、
前記不足鮮明度算出部によって求められた前記不足鮮明度に基づいて前記画像に対して鮮明化を行い、印刷に適した鮮明化画像を取得する鮮明化部と、
を備えること、を特徴とする画像鮮明化装置。
An image input unit for acquiring an image to be printed;
A blur degree determination unit that determines the degree of blur of the image acquired by the image input unit;
An output size acquisition unit for acquiring an output size when printing the image;
Based on the degree of blur determined by the degree-of-blurring determination unit, the insufficient definition calculation that calculates the insufficient definition that is insufficient from the definition suitable for printing at the output size acquired by the output size acquisition unit. And
A sharpening unit that sharpens the image based on the insufficient sharpness calculated by the insufficient sharpness calculation unit, and acquires a sharpened image suitable for printing;
An image sharpening device comprising:
請求項1に記載の画像鮮明化装置であって、
前記画像入力部により取得された画像の画像サイズを取得する画像サイズ取得部をさらに備え、
前記不足鮮明度算出部は、前記不足鮮明度の算出の際に、前記画像サイズ取得部により取得された画像サイズに応じて前記不足鮮明を補正すること、
を特徴とする画像鮮明化装置。
The image sharpening device according to claim 1,
An image size acquisition unit that acquires an image size of the image acquired by the image input unit;
The insufficient definition calculation unit corrects the insufficient definition according to the image size acquired by the image size acquisition unit when calculating the insufficient definition;
An image sharpening device.
請求項1又は2に記載の画像鮮明化装置と、
前記画像を出力する出力部とを備えること、
を特徴とする画像出力装置。
The image sharpening device according to claim 1 or 2,
An output unit for outputting the image;
An image output apparatus characterized by the above.
コンピュータを、
印刷を行う画像を取得する画像入力手段と、
前記画像入力手段により取得された画像のボケ度合いを判定するボケ度合い判定手段と、
前記画像を印刷する際の出力サイズを取得する出力サイズ取得手段と、
前記ボケ度合い判定手段により判定されたボケ度合をもとに、前記出力サイズ取得手段により取得された出力サイズでの印刷に適した鮮明度から不足している不足鮮明度を算出する不足鮮明度算出手段と、
前記不足鮮明度算出手段によって求められた前記不足鮮明度に基づいて前記画像に対して鮮明化を行い、印刷に適した鮮明化画像を取得する鮮明化手段として機能させること、
を特徴とする画像鮮明化プログラム。
Computer
An image input means for acquiring an image to be printed;
A blur degree determination means for determining a blur degree of an image acquired by the image input means;
An output size acquisition means for acquiring an output size when printing the image;
Based on the degree of blur determined by the degree-of-blurring determination unit, the insufficient definition calculation that calculates the lack of definition that is insufficient from the definition suitable for printing at the output size acquired by the output size acquisition unit. Means,
Performing sharpening on the image based on the insufficient sharpness calculated by the insufficient sharpness calculating means, and functioning as a sharpening means for obtaining a sharpened image suitable for printing,
An image sharpening program characterized by
請求項4に記載の画像鮮明化プログラムであって、
コンピュータをさらに、
画像の画像サイズを取得する画像サイズ取得手段として機能させ、
前記画像サイズ取得手段は、前記不足鮮明度の算出の際に、前記画像入力手段により取得された画像サイズに応じて前記不足鮮明度を補正すること、
を特徴とする画像鮮明化プログラム。
The image sharpening program according to claim 4,
Computer
Function as an image size acquisition means for acquiring the image size of the image,
The image size acquisition unit corrects the insufficient definition according to the image size acquired by the image input unit when calculating the insufficient definition;
An image sharpening program characterized by
JP2011034945A 2011-02-21 2011-02-21 Image sharpening device, image output device, image sharpening program, image processing device, and image processing program Active JP5760495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011034945A JP5760495B2 (en) 2011-02-21 2011-02-21 Image sharpening device, image output device, image sharpening program, image processing device, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011034945A JP5760495B2 (en) 2011-02-21 2011-02-21 Image sharpening device, image output device, image sharpening program, image processing device, and image processing program

Publications (2)

Publication Number Publication Date
JP2012175368A true JP2012175368A (en) 2012-09-10
JP5760495B2 JP5760495B2 (en) 2015-08-12

Family

ID=46977845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011034945A Active JP5760495B2 (en) 2011-02-21 2011-02-21 Image sharpening device, image output device, image sharpening program, image processing device, and image processing program

Country Status (1)

Country Link
JP (1) JP5760495B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112005542A (en) * 2018-03-30 2020-11-27 富士胶片株式会社 Image layout/size calculation device and method, image layout/size calculation program, and recording medium storing the program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211325A (en) * 2000-01-28 2001-08-03 Minolta Co Ltd Image processing apparatus
JP2003319183A (en) * 2002-02-20 2003-11-07 Fuji Photo Film Co Ltd Image processing method, image processing apparatus, and image processing program
JP2005269193A (en) * 2004-03-18 2005-09-29 Fuji Photo Film Co Ltd Image processing method and apparatus and program
JP2007104250A (en) * 2005-10-04 2007-04-19 Seiko Epson Corp Image display method, system, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211325A (en) * 2000-01-28 2001-08-03 Minolta Co Ltd Image processing apparatus
JP2003319183A (en) * 2002-02-20 2003-11-07 Fuji Photo Film Co Ltd Image processing method, image processing apparatus, and image processing program
JP2005269193A (en) * 2004-03-18 2005-09-29 Fuji Photo Film Co Ltd Image processing method and apparatus and program
JP2007104250A (en) * 2005-10-04 2007-04-19 Seiko Epson Corp Image display method, system, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112005542A (en) * 2018-03-30 2020-11-27 富士胶片株式会社 Image layout/size calculation device and method, image layout/size calculation program, and recording medium storing the program
CN112005542B (en) * 2018-03-30 2022-08-26 富士胶片株式会社 Image layout size calculation device and method, and recording medium

Also Published As

Publication number Publication date
JP5760495B2 (en) 2015-08-12

Similar Documents

Publication Publication Date Title
US11188777B2 (en) Image processing method, image processing apparatus, learnt model manufacturing method, and image processing system
JP5595121B2 (en) Image processing apparatus, image processing method, and program
JP5342068B2 (en) Multiple frame approach and image upscaling system
US9727984B2 (en) Electronic device and method for processing an image
JP2020010146A (en) Image processing system, image processing method, and program
US8249377B1 (en) Blurred digital image deblurring
JP5012967B2 (en) Image processing apparatus and method, and program
JP4862372B2 (en) Image processing program and image processing apparatus
JP5157678B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
WO2014102876A1 (en) Image processing device and image processing method
Carbajal et al. Blind motion deblurring with pixel-wise kernel estimation via kernel prediction networks
JP5426953B2 (en) Image processing apparatus and method
US20150117719A1 (en) Image processing apparatus, image processing method, and storage medium
JP5760495B2 (en) Image sharpening device, image output device, image sharpening program, image processing device, and image processing program
JP2010068361A (en) Photographic image processing method, photographic image processing program, and photographic image processor
JP4366634B2 (en) Noise pixel map creation method, apparatus and program for implementing the method, and photo print apparatus
JP6566277B2 (en) Image processing device
JP2015170038A (en) Image processor, image processing method, and computer program for executing image processing
JP6564672B2 (en) Image processing apparatus and image forming apparatus
JP4645896B2 (en) Image processing method and program for suppressing minute noise, and noise suppressing module for implementing the method
JP2019146149A (en) Image processing apparatus, image processing method, and program
JP2004246110A (en) Plate inspection apparatus, printing system, method for inspecting printed data on plate, and program
JP2015041200A (en) Image processor, image forming apparatus, and program
JP2008079196A (en) Image correcting method, image correcting program and image correcting module
JP5640779B2 (en) Image determination apparatus, image determination program, camera, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150525

R150 Certificate of patent or registration of utility model

Ref document number: 5760495

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250