JP4641957B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP4641957B2
JP4641957B2 JP2006080080A JP2006080080A JP4641957B2 JP 4641957 B2 JP4641957 B2 JP 4641957B2 JP 2006080080 A JP2006080080 A JP 2006080080A JP 2006080080 A JP2006080080 A JP 2006080080A JP 4641957 B2 JP4641957 B2 JP 4641957B2
Authority
JP
Japan
Prior art keywords
value
difference value
correction
difference
correction value
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.)
Expired - Fee Related
Application number
JP2006080080A
Other languages
Japanese (ja)
Other versions
JP2007257237A (en
JP2007257237A5 (en
Inventor
彰 吉田
Original Assignee
彰 吉田
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 彰 吉田 filed Critical 彰 吉田
Priority to JP2006080080A priority Critical patent/JP4641957B2/en
Priority to PCT/JP2006/322689 priority patent/WO2007108164A1/en
Publication of JP2007257237A publication Critical patent/JP2007257237A/en
Publication of JP2007257237A5 publication Critical patent/JP2007257237A5/ja
Application granted granted Critical
Publication of JP4641957B2 publication Critical patent/JP4641957B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Description

本発明は画像処理装置および画像処理プログラムに関し、特に、画像データに対して所定の画素値変換処理を行うことによって画像効果を付与する装置またはプログラムに用いて好適なものである。   The present invention relates to an image processing apparatus and an image processing program, and is particularly suitable for use in an apparatus or a program that imparts an image effect by performing predetermined pixel value conversion processing on image data.

従来、画像データに対して所定の画素値変換処理を行うことによって画像効果を付与する装置が提供されている。この種の画像処理装置の多くは、変換対象とする注目画素の画素値と、その周辺に位置する周辺画素の画素値とを用いて所定の演算を行い、その結果得られた値を注目画素の新たな画素値として置き換えるという手法を採用している。その中に、注目画素の画素値と周辺画素の画素値との差分を求め、この差分値を利用して新たな画素値を求めるものが存在する。   2. Description of the Related Art Conventionally, an apparatus for providing an image effect by performing predetermined pixel value conversion processing on image data has been provided. Many of this type of image processing apparatus performs a predetermined calculation using the pixel value of a target pixel to be converted and the pixel values of peripheral pixels located around the target pixel, and uses the resulting value as the target pixel. A new pixel value is used as a new pixel value. Among them, there is one that obtains a difference between a pixel value of a target pixel and pixel values of surrounding pixels and obtains a new pixel value using the difference value.

例えば、注目画素とその周辺画素との色相を比較して、両者の色相の差が所定値を超えたときに、注目画素が偽色であると判断し、注目画素の色相をその周辺の支配的な色相に置き換えるものがある(例えば、特許文献1参照)。この特許文献1には、注目画素の色相と周辺画素の色相との差を求め、差が小さい場合には重みを大きく、差が大きい場合には重みを小さくして入力画像に対する重み係数を求めることも記載されている。
特開2005−260675号公報
For example, the hues of the target pixel and its surrounding pixels are compared, and when the difference between the two hues exceeds a predetermined value, it is determined that the target pixel is a false color, and the hue of the target pixel is controlled by the surroundings. Some of them are replaced with typical hues (see, for example, Patent Document 1). In Patent Document 1, the difference between the hue of the pixel of interest and the hue of surrounding pixels is obtained, and when the difference is small, the weight is increased, and when the difference is large, the weight is decreased and the weight coefficient for the input image is obtained. It is also described.
JP-A-2005-260675

また、輝度信号の信号レベルに応じた補正係数を演算する係数演算手段と、この補正係数に基づいて輝度信号を補正する補正手段とを備え、隣接画素間の輝度信号レベルの差が大きい高周波領域では狭帯域の補正係数を補正手段に設定し、輝度信号レベルの差が小さい低周波領域では広帯域の補正係数を補正手段に設定することにより、より一層高精度に画像の輪郭を強調できるようにした装置も提供されている(例えば、特許文献2参照)。
特開2000−13642号公報
Also, a high frequency region having a coefficient difference calculating means for calculating a correction coefficient corresponding to the signal level of the luminance signal and a correcting means for correcting the luminance signal based on the correction coefficient, wherein the difference in the luminance signal level between adjacent pixels is large. Then, by setting a narrowband correction coefficient in the correction means, and setting a wideband correction coefficient in the correction means in the low frequency region where the difference in luminance signal level is small, the contour of the image can be enhanced with higher accuracy. Such a device is also provided (see, for example, Patent Document 2).
JP 2000-13642 A

また、注目画素の画素値と周辺画素の画素値との差分値を算出する差分値算出部と、算出された差分値に基づいて周辺画素に対するフィルタ係数を算出するフィルタ係数算出部と、算出されたフィルタ係数を用いて注目画素の画素値に対してフィルタ処理を行うフィルタ処理部とを備えることにより、ブロック符号化によって生じたモスキートノイズを有効に除去した復元画像を生成する装置も提供されている(例えば、特許文献3参照)。
特開2004−159311号公報
Further, a difference value calculation unit that calculates a difference value between the pixel value of the target pixel and the pixel values of the surrounding pixels, a filter coefficient calculation unit that calculates a filter coefficient for the surrounding pixels based on the calculated difference value, and There is also provided an apparatus for generating a restored image in which mosquito noise generated by block coding is effectively removed by including a filter processing unit that performs a filtering process on the pixel value of the target pixel using the filter coefficient obtained. (For example, see Patent Document 3).
JP 2004-159511 A

さらに、入力された画像データのエッジ特性を検出し、検出されたエッジ特性からエッジの度合いを表す値kを求めるとともに、変換テーブルにより上記kに対応した値dを求め、当該求めたdの値を利用して平滑化フィルタの各要素の成分値を求めるようにした装置も存在する(例えば、特許文献4参照)。
特開平11−185036号公報
Further, the edge characteristic of the input image data is detected, a value k indicating the degree of edge is obtained from the detected edge characteristic, a value d corresponding to the k is obtained by a conversion table, and the obtained value of d is obtained. There is also an apparatus that obtains the component value of each element of the smoothing filter by using (see, for example, Patent Document 4).
Japanese Patent Laid-Open No. 11-185036

上記特許文献1〜4のような従来の技術では、注目画素と周辺画素との画素値の差分に応じて、入力画像に対して乗算する補正係数を可変とすることにより、例えば輪郭に相当する部分のみを強調したり、偽色やモスキートノイズに相当する部分のみをぼかしたりすることが可能となる。   In the conventional techniques such as Patent Documents 1 to 4, the correction coefficient to be multiplied with respect to the input image is made variable according to the difference between the pixel values of the target pixel and the peripheral pixels, for example, corresponding to the contour. Only the portion can be emphasized, or only the portion corresponding to false color or mosquito noise can be blurred.

しかしながら、上記従来の技術では、補正係数を用いた画素値変換処理によって得られる画像は、その画質が必ずしも良くないという問題があった。例えば、上記従来の技術において、画像効果の強さを変えるには、補正係数の値を変えるしかない。例えば、輪郭の強調度を強くするためには、補正係数値を大きくする必要がある。ところが、そうすると、強調された輪郭部分とその周辺部分との画素値の差分が不自然に大きくなり、輪郭強調度は強くなっているものの、見苦しい画像になってしまう。ぼかし効果についても同様のことが言える。   However, the conventional technique has a problem that the image quality obtained by the pixel value conversion process using the correction coefficient is not always good. For example, in the conventional technique, the only way to change the strength of the image effect is to change the value of the correction coefficient. For example, in order to increase the degree of contour enhancement, it is necessary to increase the correction coefficient value. However, in this case, the difference in pixel values between the emphasized contour portion and the peripheral portion thereof becomes unnaturally large, and the contour enhancement degree is increased, but the image becomes unsightly. The same is true for the blur effect.

また、上記従来の技術では、輪郭強調なら輪郭強調、ぼかしならぼかしといったように、1枚の画像に対して同じ画像効果しか付与することができない。そのため、輪郭強調をしながらモスキートノイズを抑制するとか、輪郭強調をしながらも強調された輪郭部分とその周辺部分との違和感を抑制するといったような、複合的な画像効果を付与することができない。つまり、従来の技術では、一辺倒の画像効果しか付与することができず、その画像効果付与によって得られる画像の画質が必ずしも良くないという問題があった。   Further, in the above conventional technique, only the same image effect can be applied to one image, such as contour enhancement for contour enhancement and blurring for blur. Therefore, composite image effects such as suppressing mosquito noise while emphasizing contours, or suppressing discomfort between the contour portion emphasized while emphasizing contours and its peripheral portion cannot be provided. . In other words, the conventional technique can only give a side effect, and there is a problem that the image quality obtained by the image effect is not always good.

本発明は、このような問題を解決するために成されたものであり、注目画素とその周辺画素との間の画素値の差分に応じて決められる補正係数を用いた画素値変換処理によって画像効果が付与された画像の画質を向上させることができるようにすることを目的とする。   The present invention has been made to solve such a problem, and an image is obtained by pixel value conversion processing using a correction coefficient determined according to a difference in pixel value between a pixel of interest and its surrounding pixels. It is an object to improve the image quality of an image to which an effect is given.

上記した課題を解決するために、本発明の画像処理装置では、差分をとる2つの画素の位置関係として複数のパターンを用意し、パターン毎に異なる補正値を記憶した複数のテーブル情報を備える。そして、画素間の差分値をパターン毎に算出し、その算出した差分値に基づいて、当該差分値を求めたパターンと同じパターンに関するテーブル情報を参照し、当該差分値に応じた補正値を求めるようにしている。ここで、画素間の差分値は全てのパターンについて算出する必要はない。   In order to solve the above-described problem, the image processing apparatus according to the present invention includes a plurality of patterns prepared as a positional relationship between two pixels for which a difference is taken, and stored with different correction values for each pattern. Then, a difference value between the pixels is calculated for each pattern, and based on the calculated difference value, the table information regarding the same pattern as the pattern for which the difference value is obtained is referred to, and a correction value corresponding to the difference value is obtained. I am doing so. Here, the difference value between pixels does not need to be calculated for all patterns.

上記のように構成した本発明によれば、差分をとった2つの画素間の位置関係に応じて、異なるテーブル情報が参照され、そのテーブル情報から補正値が求められることとなる。複数のテーブル情報はその内容を任意に設定することが可能であり、同じ差分値であっても、テーブル毎に異なる補正値を設定しておくことが可能である。このようにすれば、算出された差分値が同じとなっても、その差分をとった2つの画素間の位置関係に応じて、得られる補正値が異なるものとすることができる。また、どのパターンの位置関係について差分値を求めるか、つまりどのパターンのテーブル情報を利用して補正値を求めるかによっても、得られる補正値が異なるものとすることができる。   According to the present invention configured as described above, different table information is referred to according to the positional relationship between two pixels that have taken a difference, and a correction value is obtained from the table information. The contents of a plurality of table information can be arbitrarily set, and even if the difference value is the same, different correction values can be set for each table. In this way, even if the calculated difference values are the same, the correction values obtained can be different depending on the positional relationship between the two pixels that have taken the difference. Further, the obtained correction value can be different depending on which pattern's positional relationship the difference value is obtained, that is, which pattern's table information is used to obtain the correction value.

これにより、利用するテーブル情報またはその組み合わせによって、今までにはなかった豊富なバリエーションの画像効果を付与することができる。例えば、輪郭強調+ぼかしといった新規な画像効果を付与することができるようになる。また、差分をとる画素間の位置関係に応じて適切な補正値を設定することができるので、その補正値を用いた画素値変換処理によって得られる画像の画質を向上させることもできる。   Accordingly, abundant variations of image effects that have not been available can be provided by using table information or a combination thereof. For example, a new image effect such as contour enhancement + blurring can be given. In addition, since an appropriate correction value can be set according to the positional relationship between the pixels taking the difference, the image quality of the image obtained by the pixel value conversion process using the correction value can also be improved.

以下、本発明の一実施形態を図面に基づいて説明する。図1は、本実施形態による画像処理装置の構成例を示す機能ブロック図である。図1に示すように、本実施形態の画像処理装置は、差分値演算部1と、テーブル情報記憶部2と、補正値取得部3と、画素値変換部4とを備えて構成されている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a functional block diagram illustrating a configuration example of the image processing apparatus according to the present embodiment. As shown in FIG. 1, the image processing apparatus according to this embodiment includes a difference value calculation unit 1, a table information storage unit 2, a correction value acquisition unit 3, and a pixel value conversion unit 4. .

差分値演算部1は、入力画像の一部に対して縦m個×横n個(m,nはそれぞれ1以上の整数で、少なくとも一方は2以上)の画素の範囲から成る処理領域を設定し、その処理領域内において、所定の位置関係にある2つの画素について画素値(例えば輝度値)の差分を算出する。ここで、差分値演算部1は、複数パターンの差分演算部1−1,1−2,・・・1−k(kは2以上の整数)を有し、所定の位置関係として用意した複数のパターン毎に、2画素間の差分値を算出する。 The difference value calculation unit 1 sets a processing area composed of a range of m pixels vertically and n pixels horizontally (m and n are integers of 1 or more and at least one is 2 or more) for a part of the input image. Then, within the processing area, a difference between pixel values (for example, luminance values) is calculated for two pixels having a predetermined positional relationship. Here, the difference value calculation unit 1 includes a plurality of patterns of difference calculation units 1 −1 , 1 −2 ,..., 1 −k (k is an integer of 2 or more), and a plurality of prepared positional relationships. For each pattern, a difference value between two pixels is calculated.

図2〜図4は、差分をとる2つの画素の位置関係として考えられるパターンの例を示す図である。図2〜図4において、A〜Iはそれぞれ画素またはその画素値を示す。ここでは、縦3個×横3個の9画素の範囲を処理領域とする例について示している。また、k=3の場合の例について示している。   2-4 is a figure which shows the example of the pattern considered as a positional relationship of the two pixels which take a difference. 2 to 4, A to I each represent a pixel or a pixel value thereof. Here, an example is shown in which a range of 9 pixels of 3 vertical pixels × 3 horizontal pixels is used as a processing region. An example in the case of k = 3 is shown.

図2に示す第1のパターンにおいて、差分値演算部1は、処理領域内の中央に設定された注目画素Eと、注目画素Eに対して縦方向および横方向に位置する周辺画素(隣接画素)B,D,F,Hとの差分値をそれぞれ算出する。すなわち、第1のパターンの差分演算部1−1は、以下に示す4つの差分値be,de,fe,heを算出する。
be=B−E、de=D−E、fe=F−E、he=H−E
In the first pattern shown in FIG. 2, the difference value calculation unit 1 includes a target pixel E set at the center in the processing region and peripheral pixels (adjacent pixels) positioned in the vertical and horizontal directions with respect to the target pixel E. ) Calculate difference values from B, D, F, and H, respectively. That is, the difference computing section 1 -1 of the first pattern, four difference values be shown below to calculate de, fe, the he.
be = BE, de = DE, fe = FE, he = HE

図3に示す第2のパターンにおいて、差分値演算部1は、処理領域内の中央に設定された注目画素Eを挟んで縦方向に位置する2つの周辺画素B,H間の差分値および注目画素Eを挟んで横方向に位置する2つの周辺画素D,F間の差分値を算出する。すなわち、第2のパターンの差分演算部1−2は、以下に示す2つの差分値bh,dfを算出する。なお、||は絶対値であることを示す。
bh=|B−H|、df=|D−F|
In the second pattern shown in FIG. 3, the difference value calculation unit 1 calculates the difference value between two peripheral pixels B and H positioned in the vertical direction with the target pixel E set at the center in the processing region, and the target The difference value between the two peripheral pixels D and F located in the horizontal direction across the pixel E is calculated. That is, the difference computing section 1 -2 second pattern, two difference values bh shown below to calculate the df. Note that || indicates an absolute value.
bh = | B−H |, df = | D−F |

図4に示す第3のパターンにおいて、差分値演算部1は、処理領域内の中央に設定された注目画素Eと、注目画素Eに対して斜め方向に位置する周辺画素A,C,G,Iとの差分値をそれぞれ算出する。すなわち、第3のパターンの差分演算部1−3は、以下に示す4つの差分値ae,ce,ge,ieを算出する。
ae=A−E、ce=C−E、ge=G−E、ie=I−E
In the third pattern shown in FIG. 4, the difference value calculation unit 1 includes a pixel of interest E set at the center in the processing region and peripheral pixels A, C, G, A difference value from I is calculated. That is, the third pattern difference computing section 1 -3 of the four difference values ae shown below to calculate ce, ge, and ie.
ae = AE, ce = CE, ge = GE, ie = IE

図1に戻って説明する。テーブル情報記憶部2は、2画素間の差分値に応じた補正値をテーブル情報としてあらかじめ記憶しているものであり、例えばハードディスク、半導体メモリ、CD(Compact Disc)、DVD(Digital Versatile Disk)、ROMあるいはRAMなどの記録媒体により構成されている。このテーブル情報記憶部2は、図2〜図4で例示した複数のパターン毎に異なる補正値を記憶した複数パターンのテーブル2−1,2−2,・・・2−kを記憶している。 Returning to FIG. The table information storage unit 2 stores in advance correction values corresponding to the difference values between two pixels as table information. For example, a hard disk, a semiconductor memory, a CD (Compact Disc), a DVD (Digital Versatile Disk), It is constituted by a recording medium such as a ROM or a RAM. The table information storage unit 2 stores a plurality of patterns of tables 2 −1 , 2 −2 ,..., 2- k storing different correction values for the plurality of patterns illustrated in FIGS. .

補正値取得部3は、差分値演算部1により算出された差分値に基づいて、テーブル情報記憶部2に記憶されているテーブル情報を参照し、差分値に応じた補正値を求める。ここで、補正値取得部3は、上述した複数のパターンに対応した複数の補正値取得部3−1,3−2,・・・3−kを有している。各パターンの補正値取得部3−1,3−2,・・・3−kは、差分値演算部1−1,1−2,・・・1−kによりパターン毎に算出された差分値に基づいて、当該差分値を求めたパターンと同じパターンに関する補正値テーブル2−1,2−2,・・・2−kを参照して差分値に応じた補正値を求める。 The correction value acquisition unit 3 refers to the table information stored in the table information storage unit 2 based on the difference value calculated by the difference value calculation unit 1 and obtains a correction value corresponding to the difference value. Here, the correction value acquisition unit 3 includes a plurality of correction value acquisition units 3 −1 , 3 −2 ,..., 3- k corresponding to the plurality of patterns described above. The correction value acquisition units 3 −1 , 3 −2 ,..., 3- k of each pattern are difference values calculated for each pattern by the difference value calculation units 1 −1 , 1 −2 ,. The correction value corresponding to the difference value is obtained with reference to the correction value tables 2 −1 , 2 −2 ,.

例えば、第1のパターンの補正値取得部3−1は、差分値演算部1−1により第1のパターンに基づき算出された差分値be,de,fe,heに基づいて、第1のパターンの補正値テーブル2−1を参照することにより、第1のパターンに対応した補正値を求める。この場合、第1のパターンの補正値取得部3−1は、4つの差分値be,de,fe,heに対応する4つの補正値Tbe,Tde,Tfe,Theを求めて出力する。 For example, the correction value acquisition unit 3 -1 of the first pattern, the difference value calculating unit 1 -1 by the difference value calculated based on the first pattern BE, de, fe, based on he, the first pattern By referring to the correction value table 2-1 , the correction value corresponding to the first pattern is obtained. In this case, the correction value acquisition unit 3 -1 of the first pattern, four difference values BE, de, fe, four correction values Tbe corresponding to he, Tde, Tfe, obtains and outputs the The.

また、第2のパターンの補正値取得部3−2は、差分値演算部1−2により第2のパターンに基づき算出された差分値bh,dfに基づいて、第2のパターンの補正値テーブル2−2を参照することにより、第2のパターンに対応した補正値を求める。この場合、第2のパターンの補正値取得部3−2は、2つの差分値bh,dfに対応する2つの補正値Tbh,Tdfを求めて出力する。 The correction value acquisition unit 3 -2 of the second pattern, the difference value calculating unit 1 -2 by the second based on the pattern calculated difference value bh, based on df, the correction value of the second pattern table By referring to 2-2 , a correction value corresponding to the second pattern is obtained. In this case, the correction value acquisition unit 3 -2 of the second pattern, two difference values bh, two correction values Tbh corresponding to df, determines and outputs a Tdf.

また、第3のパターンの補正値取得部3−3は、差分値演算部1−3により第3のパターンに基づき算出された差分値ae,ce,ge,ieに基づいて、第3のパターンの補正値テーブル2−3を参照することにより、第3のパターンに対応した補正値を求める。この場合、第3のパターンの補正値取得部3−3は、4つの差分値ae,ce,ge,ieに対応する4つの補正値Tae,Tce,Tge,Tieを求めて出力する。 The correction value acquisition unit 3-3 of the third pattern, based differential value calculating section 1 -3 by a third, based on the pattern calculated difference value ae, ce, ge, the ie, the third pattern by referring to the correction value table 2 -3, to obtain a correction value corresponding to the third pattern. In this case, the correction value acquisition unit 3-3 of the third pattern, the four difference values ae, ce, ge, four correction values Tae corresponding to ie, Tce, Tge, obtains and outputs the Tie.

画素値変換部4は、補正値取得部3により複数のパターン毎に求められた補正値を用いて、処理領域内の中央に設定された注目画素Eの画素値に対して画素値変換処理を行う。画素値変換処理の演算内容としては、種々のものが適用可能である。例えば、注目画素Eの画素値に対して、補正値取得部3により求められた複数の補正値を全て加算することによって画素値変換を行う。   The pixel value conversion unit 4 performs a pixel value conversion process on the pixel value of the target pixel E set at the center in the processing region using the correction values obtained for each of the plurality of patterns by the correction value acquisition unit 3. Do. Various calculation contents of the pixel value conversion process can be applied. For example, pixel value conversion is performed by adding all of a plurality of correction values obtained by the correction value acquisition unit 3 to the pixel value of the target pixel E.

この場合、加算した値が画素値としてとり得る範囲を超えてしまうことも考えられる。例えば、1つの画素値を8ビットのデータで表すとすると、画素値のとり得る範囲は0〜255となる。そこで、画素値変換部4は、加算した値が0より小さくなったときは、その値を0に置き換える。また、加算した値が255より大きくなったときは、その値を255に置き換える。   In this case, it is also conceivable that the added value exceeds the range that can be taken as the pixel value. For example, if one pixel value is represented by 8-bit data, the possible range of the pixel value is 0 to 255. Therefore, when the added value becomes smaller than 0, the pixel value conversion unit 4 replaces the value with 0. When the added value becomes larger than 255, the value is replaced with 255.

画素値変換部4は、注目画素Eに対する以上のような画素値変換処理によって得た画素値を、注目画素Eの補正画素値として出力する。画像の全範囲にわたって処理領域を順次スキャンし、各注目画素の補正画素値を求めて出力することにより、画素値変換処理された画像、すなわち、所望の画像効果が付与された画像を得ることができる。   The pixel value conversion unit 4 outputs the pixel value obtained by the pixel value conversion process for the target pixel E as described above as the corrected pixel value of the target pixel E. By sequentially scanning the processing region over the entire range of the image and obtaining and outputting the corrected pixel value of each pixel of interest, it is possible to obtain an image subjected to pixel value conversion processing, that is, an image to which a desired image effect is given. it can.

以下、様々な画像効果を付与する際に使用するパターンの種類および補正値テーブルの内容例について説明する。   Hereinafter, the types of patterns used when applying various image effects and the contents of the correction value table will be described.

<ピンボケ補正(輪郭強調)>
ピンボケ補正は、曖昧な輪郭境目の輝度差を大きくすることによって、シャープな奥ゆき感のある画像に変換するものである。具体的には、画像の輝度差をある程度有する輪郭に相当するエッジ部において、薄い(明るい)方のエリアで境界から1〜2ライン分の画素値を加算強調(より明るく)するか、濃い(暗い)方のエリアで境界から1〜2ライン分の画素値を減算強調(より暗く)することによって、輪郭境目を際立たせてピンボケを緩和する。
<Defocus Correction (Outline Enhancement)>
In the blur correction, an image having a sharp sense of depth is converted by increasing a luminance difference between ambiguous contour boundaries. Specifically, in an edge portion corresponding to a contour having a certain degree of luminance difference between images, pixel values for one to two lines from the boundary are added and emphasized (brighter) or darker in a lighter (brighter) area or darker ( By subtracting and emphasizing (making darker) the pixel values for one or two lines from the boundary in the darker area, the outline boundary is made to stand out and blurring is alleviated.

ここで、ピンボケ補正用として各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容について詳しく説明する。第1のパターンの補正値テーブル2−1としては、図5に示すような内容のテーブル情報を使用する。このテーブル情報は、輝度の差分値が小さいほど補正値が大きくなり、差分値が大きいほど補正値が小さくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。また、差分値が負の値のときに補正値は正の値、差分値が正の値のときに補正値は負の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。 Here, the contents of the correction values set in the correction value tables 2 −1 , 2 −2 ,..., 2- k for blur correction will be described in detail. As the correction value table 2-1 for the first pattern, table information having contents as shown in FIG. 5 is used. The table information is set such that the smaller the luminance difference value is, the larger the correction value is, and the larger the difference value is, the smaller the correction value is. The difference value and the correction value are linear functions (solid lines in the figure). ). Also, the correction value is positive when the difference value is negative, the correction value is negative when the difference value is positive, and the correction value is also zero when the difference value is zero. Is set.

ここで言う1次関数とは、厳密な意味での直線性を要求するものではない。厳密な意味で直線性を有する1次関数であれば、−255〜255の511個の差分値に対応して511個の補正値をテーブル情報として持つ必要がある。これに対して、差分値を所定の範囲毎にグループ化し(例えば、−255〜−240、−239〜−224、・・・、240〜255)、グループ毎に補正値を設定するようにしても良い。以下に述べる1次関数も全て同様である。   The linear function here does not require linearity in a strict sense. In the case of a linear function having linearity in a strict sense, it is necessary to have 511 correction values as table information corresponding to 511 difference values of −255 to 255. On the other hand, the difference values are grouped for each predetermined range (for example, −255 to −240, −239 to −224,..., 240 to 255), and a correction value is set for each group. Also good. The same applies to the linear functions described below.

なお、図5に実線のグラフで示したテーブル情報の各補正値は単なる一例に過ぎず、これに限定されるものではない。すなわち、図5において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図5に実線のグラフで示したものと異なる補正値とすることも可能である。例えば、強調の度合いを弱くしたい場合は直線の傾きが小さくなるように各補正値を設定し、強調の度合いを強くしたい場合は直線の傾きが大きくなるように各補正値を設定すれば良い。また、必ずしも1次関数の形をとる必要はなく、2次関数等の曲線であっても良い。また、差分値が−255〜255の全領域(差分値0の点を除く)に渡って補正値をゼロ以外の値にする必要は必ずしもなく、例えば差分値の絶対値が所定値より大きい範囲では補正値がゼロとなるようにしても良い。   Note that each correction value of the table information indicated by the solid line graph in FIG. 5 is merely an example, and the present invention is not limited to this. That is, in FIG. 5, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably taken as the correction value. As long as it is within the range surrounded by the alternate long and short dash line, a correction value different from that indicated by the solid line graph in FIG. 5 can be used. For example, when it is desired to reduce the degree of emphasis, each correction value is set so that the inclination of the straight line is reduced. When it is desired to increase the degree of emphasis, each correction value is set so that the inclination of the straight line is increased. Further, it is not always necessary to take the form of a linear function, and a curve such as a quadratic function may be used. In addition, it is not always necessary to set the correction value to a value other than zero over the entire range where the difference value is −255 to 255 (excluding the point where the difference value is 0), for example, a range where the absolute value of the difference value is larger than a predetermined value Then, the correction value may be zero.

また、第2のパターンの補正値テーブル2−2としては、図6に示すような内容のテーブル情報を使用する。ここで、図6(a)は、画像の輪郭に相当するエッジ部において、薄い(明るい)方のエリアおよび濃い(暗い)方のエリアの画素値を減算強調(より暗く)する場合に使用するテーブル情報である。また、図6(b)は、画像の輪郭に相当するエッジ部において、薄い(明るい)方のエリアおよび濃い(暗い)方のエリアの画素値を加算強調(より明るく)する場合に使用するテーブル情報である。 Also, as the correction value table 2-2 for the second pattern, table information having contents as shown in FIG. 6 is used. Here, FIG. 6A is used when the pixel values of the lighter (brighter) area and the darker (darker) area are subtracted and emphasized (darker) at the edge corresponding to the contour of the image. Table information. FIG. 6B is a table used when the pixel values of the lighter (brighter) area and the darker (darker) area are added and emphasized (brighter) at the edge corresponding to the contour of the image. Information.

図6(a)に示すテーブル情報は、輝度の差分値が小さいほど補正値が大きくなり、差分値が大きいほど補正値が小さくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。ただし、図3で説明したように第2のパターンでは差分値の絶対値をとっているので、差分値が負の値となることはなく、差分値が正の値となるときの補正値のみが設定されている。この図6(a)では、差分値が正の値のときに補正値は負の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。   The table information shown in FIG. 6A is set so that the correction value increases as the luminance difference value decreases, and the correction value decreases as the difference value increases. The relationship is represented by a function (solid line in the figure). However, since the absolute value of the difference value is taken in the second pattern as described in FIG. 3, the difference value does not become a negative value, but only the correction value when the difference value becomes a positive value. Is set. In FIG. 6A, the correction value is set to a negative value when the difference value is a positive value, and the correction value is set to zero when the difference value is zero.

図6(b)に示すテーブル情報は、差分値が小さいほど補正値が小さくなり、差分値が大きいほど補正値が大きくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。ここでも、差分値が正の値となるときの補正値のみが設定されている。この図6(b)では、差分値が正の値のときに補正値は正の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。なお、図6において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図6に実線のグラフで示したものと異なる補正値とすることも可能である。   The table information shown in FIG. 6B is set such that the smaller the difference value, the smaller the correction value, and the larger the difference value, the larger the correction value. The difference value and the correction value are linear functions ( The relationship is represented by a solid line in the figure. Again, only the correction value when the difference value becomes a positive value is set. In FIG. 6B, the correction value is set to a positive value when the difference value is a positive value, and the correction value is also set to zero when the difference value is zero. In FIG. 6, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably adopted as the correction value. As long as it is within the range surrounded by the alternate long and short dash line, a correction value different from that indicated by the solid line graph in FIG. 6 can be used.

また、第3のパターンの補正値テーブル2−3としては、図7に示すような内容のテーブル情報を使用する。このテーブル情報は、輝度の差分値が小さいほど補正値が大きくなり、差分値が大きいほど補正値が小さくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。また、差分値が負の値のときに補正値は正の値、差分値が正の値のときに補正値は負の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。この第3のパターンの補正値テーブル2−3は、第1のパターンの補正値テーブル2−1と同じものを使用しても良い。なお、図7において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図7に実線のグラフで示したものと異なる補正値とすることも可能である。 As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG. The table information is set such that the smaller the luminance difference value is, the larger the correction value is, and the larger the difference value is, the smaller the correction value is. The difference value and the correction value are linear functions (solid lines in the figure). ). Also, the correction value is positive when the difference value is negative, the correction value is negative when the difference value is positive, and the correction value is also zero when the difference value is zero. Is set. The third pattern correction value table 2 -3 may be the same as the correction value table 2 -1 of the first pattern. In FIG. 7, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably taken as a correction value. As long as it is within the range surrounded by the one-dot chain line, a correction value different from that shown in the solid line graph in FIG. 7 can be used.

図8は、第1のパターンの補正値テーブル2−1および第3のパターンの補正値テーブル2−3による強調ラインについて説明するための図である。ここで、図8(a)は、第1のパターンの補正値テーブル2−1に基づく強調ラインを説明するものである。図8(a)において、11は1番目の処理領域、12はこれを水平方向に1画素ずらした2番目の処理領域である。また、11Eは1番目の処理領域11で中央にある注目画素、12Eは2番目の処理領域12で中央にある注目画素である。 Figure 8 is a diagram for explaining enhancement line by the correction value table 2 -3 correction value table 2 -1 and the third pattern of the first pattern. Here, FIG. 8A illustrates an emphasis line based on the correction value table 2-1 of the first pattern. In FIG. 8A, reference numeral 11 denotes a first processing area, and 12 denotes a second processing area obtained by shifting this by one pixel in the horizontal direction. Reference numeral 11E denotes a target pixel in the center of the first processing area 11, and reference numeral 12E denotes a target pixel in the center of the second processing area 12.

図2で説明したように、第1のパターンでは、処理領域11,12内の中央に設定された注目画素11E,12Eと、注目画素11E,12Eに対して縦方向および横方向に位置する4つの周辺画素(隣接画素)との差分値をそれぞれ算出する。矢印X1は、1番目の処理領域11において、注目画素11Eとその上方にある隣接画素との間で差分値を算出することを示している。また、矢印X2は、2番目の処理領域12において、注目画素12Eとその上方にある隣接画素との間で差分値を算出することを示している。   As described with reference to FIG. 2, in the first pattern, the target pixels 11E and 12E set at the center in the processing regions 11 and 12, and the 4 positions positioned in the vertical and horizontal directions with respect to the target pixels 11E and 12E. Difference values from two neighboring pixels (adjacent pixels) are calculated. The arrow X1 indicates that, in the first processing region 11, a difference value is calculated between the target pixel 11E and the adjacent pixel above it. An arrow X2 indicates that, in the second processing region 12, a difference value is calculated between the target pixel 12E and the adjacent pixel above it.

1番目の処理領域11では、矢印X1で示される画素間の差分値は10であるので、その値に応じた補正値が第1のパターンの補正値テーブル2−1から求められる。これに対して、矢印X2で示される画素間の差分値はゼロなので、補正値もゼロとなる。これから分かるように、第1のパターンの補正値テーブル2−1は、1ライン分の輪郭強調用として用いられる。 In the first processing region 11, since the difference value between the pixel indicated by the arrow X1 is 10, the correction value corresponding to the value obtained from the correction value table 2 -1 of the first pattern. On the other hand, since the difference value between the pixels indicated by the arrow X2 is zero, the correction value is also zero. As can be seen, the correction value table 2-1 of the first pattern is used for contour enhancement for one line.

一方、図8(b)は、第3のパターンの補正値テーブル2−3に基づく強調ラインを説明するものである。図4で説明したように、第3のパターンでは、処理領域11,12内の中央に設定された注目画素11E,12Eと、注目画素11E,12Eに対して斜め方向に位置する4つの周辺画素(隣接画素)との差分値をそれぞれ算出する。矢印Y1は、1番目の処理領域11において、注目画素11Eとその左斜め上方にある隣接画素との間で差分値を算出することを示している。また、矢印Y2は、2番目の処理領域12において、注目画素12Eとその左斜め上方にある隣接画素との間で差分値を算出することを示している。 On the other hand, FIG. 8 (b) illustrate the emphasis line based on the correction value table 2 -3 of the third pattern. As described with reference to FIG. 4, in the third pattern, the target pixels 11E and 12E set at the center in the processing regions 11 and 12 and the four peripheral pixels positioned obliquely with respect to the target pixels 11E and 12E Difference values from (adjacent pixels) are calculated. An arrow Y1 indicates that, in the first processing region 11, a difference value is calculated between the target pixel 11E and an adjacent pixel diagonally above and to the left. An arrow Y2 indicates that, in the second processing region 12, a difference value is calculated between the target pixel 12E and an adjacent pixel diagonally above and to the left.

1番目の処理領域11では、矢印Y1で示される画素間の差分値は10であるので、その値に応じた補正値が第3のパターンの補正値テーブル2−3から求められる。これと同様に、矢印Y2で示される画素間の差分値も10なので、その値に応じた補正値が第3のパターンの補正値テーブル2−3から求められる。これから分かるように、第3のパターンの補正値テーブル2−3は、2ライン分の輪郭強調用として用いられる。 In the first processing region 11, since the difference value between the pixel indicated by arrow Y1 is 10, the correction value corresponding to the value obtained from the correction value table 2 -3 of the third pattern. Similarly, since the difference value is also 10 between pixels indicated by the arrow Y2, the correction value corresponding to the value obtained from the correction value table 2 -3 of the third pattern. As can be seen, the correction value table 2 -3 of the third pattern is used for the edge enhancement of the two lines.

なお、第2のパターンの補正値テーブル2−2による強調ラインについては図示を省略しているが、第1のパターンの補正値テーブル2−1と同様に1ライン分の輪郭強調用である。特に、この第2のパターンの補正値テーブル2−2は、強調度の微調整用として用いている。 The emphasis lines in the correction value table 2-2 for the second pattern are not shown, but are used for contour emphasis for one line as in the correction value table 2-1 for the first pattern. In particular, the correction value table 2-2 of the second pattern is used for fine adjustment of the enhancement degree.

図9は、上述した各パターンの補正値テーブル2−1〜2−3を用いた様々な輪郭強調パターンの例をイメージ的に示す図である。図9において、横方向は画素位置を示し、縦方向は画素値を示している。また、太い実線は原画像の各画素における画素値を示し、一点鎖線は画素値変換処理後における強調画像の各画素における画素値を示している。 Figure 9 is a diagram showing an example of a different edge enhancement pattern using the correction value table 2 -1 to 2 -3 of each pattern described above in image manner. In FIG. 9, the horizontal direction indicates the pixel position, and the vertical direction indicates the pixel value. A thick solid line indicates a pixel value in each pixel of the original image, and a one-dot chain line indicates a pixel value in each pixel of the emphasized image after the pixel value conversion processing.

太い実線で示すように、原画像の画素値は、ある画素位置を境として輝度値に比較的大きな差分が生じている。ここが画像の輪郭部に相当する。このような輪郭部を境として前後2ライン分の画素値と、各パターンの補正値テーブル2−1〜2−3に格納されている補正値とを用いて所定の演算をすることによって輪郭強調を行う。21a,21bは第1のパターンの補正値テーブル2−1に基づく1ライン分の輪郭強調を示し、22a,22bは第3のパターンの補正値テーブル2−3に基づく2ライン分の輪郭強調を示す。なお、ここでは第2のパターンの補正値テーブル2−2に基づく1ライン分の輪郭強調は図示を省略している。 As indicated by the thick solid line, the pixel value of the original image has a relatively large difference in luminance value at a certain pixel position. This corresponds to the contour portion of the image. Contour enhancement by a predetermined calculation using the pixel values of two lines before and after, and a correction value stored in the correction value table 2 -1 to 2 -3 of each pattern such contour as a boundary I do. 21a, 21b show a line of edge enhancement based on the correction value table 2 -1 of the first pattern, 22a, 22b are the two lines of edge enhancement based on the correction value table 2 -3 of the third pattern Show. Note that, here, the outline enhancement for one line based on the correction value table 2-2 of the second pattern is omitted.

例えば、図9(a)では、第1のパターンの補正値テーブル2−1に基づいて、輪郭の境目に接する1ライン分の輝度差がプラス方向(明るい方向)にもマイナス方向(暗い方向)にも大きくなるように輪郭強調している。同様に、第3のパターンの補正値テーブル2−3に基づいて、輪郭の境目に接する2ライン分の輝度差がプラス方向にもマイナス方向にも大きくなるように輪郭強調している。 For example, in FIG. 9A, based on the correction value table 2-1 for the first pattern, the luminance difference for one line in contact with the boundary of the contour is in the plus direction (bright direction) and in the minus direction (dark direction). The contour is emphasized so that it becomes larger. Similarly, based on the correction value table 2 -3 of the third pattern, the luminance difference between two lines of contact with the boundary of the contour is the contour emphasis so also increases in the negative direction to the positive direction.

これにより、輪郭境目から1ライン分では第1のパターンおよび第3のパターンそれぞれの輪郭強調が加算されて強い強調となり、2ライン目では第3のパターンに基づく輪郭強調だけで、1ライン目よりは弱い(原画像の画素値に近い)輪郭強調となる。このようにすれば、輪郭部の強調度を大きくして画像をシャープにするとともに、強調された輪郭部の画素からその周辺画素へと比較的滑らかに画素値が変化していく自然な画像にすることができる。   As a result, the outline emphasis of each of the first pattern and the third pattern is added for one line from the outline boundary, resulting in strong emphasis, and the second line is more than the outline emphasis based on the third pattern. Is weak (close to the pixel value of the original image). In this way, the image is sharpened by increasing the degree of emphasis of the contour portion, and a natural image in which the pixel value changes relatively smoothly from the pixel of the emphasized contour portion to its surrounding pixels. can do.

各補正値テーブル2−1〜2−3の補正値を変えることによって、図9(b)や図9(c)に例示するような様々なパターンで輪郭強調を行うことも可能である。ちなみに、図9(b)は、輪郭境目に接する1〜2ライン目の輝度差がプラス方向にのみ大きくなるように輪郭強調するパターンを示している。図9(c)は、第1のパターンと第3のパターンとで強調する方向を異ならせたパターンを示している。この場合、第1のパターンの補正値テーブル2−1は、ぼかし効果を生じる方向に作用し、第3のパターンの補正値テーブル2−3による1ライン目の強調を弱くしている。 By changing the correction value of the correction value table 2 -1 to 2 -3, it is also possible to perform edge enhancement in a variety of patterns as illustrated in FIG. 9 (b) and FIG. 9 (c). Incidentally, FIG. 9B shows a pattern in which the contour is emphasized so that the luminance difference between the first and second lines in contact with the contour boundary increases only in the plus direction. FIG. 9C shows a pattern in which the emphasis directions are different between the first pattern and the third pattern. In this case, the correction value table 2 -1 of the first pattern, and acts to produce a blurring effect, has weakened the first line of emphasis by the correction value table 2 -3 of the third pattern.

このように、本実施形態では、差分をとる2つの画素の位置関係に応じて異なるパターンの補正値テーブル2−1〜2−kを使用し、画素間の位置関係とその差分値との双方に応じた補正値を求めるようにしている。これにより、単に差分値に応じて補正値を決めるのではなく、画素の位置を選んで適切な補正値を決定することができる。したがって、強調度を変えるのに単純に補正値を変えていただけの従来技術に比べて、補正値を用いた画素値変換処理によって得られる画像の画質を向上させることができる。 As described above, in the present embodiment, the correction value tables 2 −1 to 2 -k having different patterns are used according to the positional relationship between the two pixels taking the difference, and both the positional relationship between the pixels and the difference value thereof are used. The correction value corresponding to the is obtained. Thereby, instead of simply determining the correction value according to the difference value, it is possible to select a pixel position and determine an appropriate correction value. Therefore, the image quality of the image obtained by the pixel value conversion process using the correction value can be improved as compared with the conventional technique in which the correction value is simply changed to change the enhancement degree.

また、各補正値テーブル2−1,2−2,・・・2−kの組み合わせおよび補正値を変えることによって、輪郭境目における強調ラインの幅を変更することもできる。例えば、文字で言えば、必ず背景と文字との輝度差が大きくなっているため、処理領域内の中央にある注目画素とその周辺画素との画素値(輝度値)の差分はある程度大きくなる。例えば、図10に示すように、注目画素と周辺画素との輝度差が大きい領域では第3のパターンの補正値テーブル2−3によって輪郭境目を2ライン幅で強調し、小さい輝度差の場合は第1のパターンの補正値テーブル2−1によって1ライン幅で強調することによって、文字を一層シャープにして見やすくすることができる。 Further, the width of the emphasis line at the contour boundary can be changed by changing the combination of the correction value tables 2 −1 , 2 −2 ,. For example, in terms of characters, the difference in luminance between the background and the character is always large, so the difference in pixel value (luminance value) between the pixel of interest in the center of the processing region and its surrounding pixels increases to some extent. For example, as shown in FIG. 10, in the region luminance difference is large between the target pixel and the surrounding pixels to emphasize the contour boundary at 2 line width by the correction value table 2 -3 of the third pattern, when small luminance difference by highlighting the correction value table 2 -1 by 1 line width of the first pattern, it can be easily viewed by the character more sharply.

また、輪郭境目の明るいエリアと暗いエリアとの強調比率を変えることによって、暗いエリアの強調幅を広くしたり狭くしたりすることも可能である。例えば、黒文字を太くして読みやすくする場合は、通常の明るいエリアの輪郭強調(プラス補正)をせずに、逆のマイナス補正値を与えることによって可能である。このような使い方により、画像はより美しく、字幕はより認識しやすくなるようにすることができる。   It is also possible to increase or decrease the emphasis width of the dark area by changing the emphasis ratio between the bright area and the dark area of the contour boundary. For example, in order to make black characters thick and easy to read, it is possible to give a reverse negative correction value without performing normal edge enhancement (plus correction) in a bright area. By using such a method, the image can be made more beautiful and the subtitles can be recognized more easily.

また、本実施形態では、各補正値テーブル2−1,2−2,・・・2−kの補正値を変えることにより、強調度を任意に変えることもできる。例えば、人物の肌にある薄いそばかす等のように、注目画素と周辺画素との輝度差が小さいものは強調度を弱くし(補正を行いたくない差分値の範囲では強調度が弱くなるように各補正値テーブル2−1,2−2,・・・2−kの補正値を決める)、他の輝度差は強調度を強くすることで、そばかすの強調を避けながら、輪郭を強調した違和感のない画像が得られる。また、画像圧縮(JPG、MPEG等)により発生するモスキートノイズやブロックノイズなどは輝度差があまり大きくないので、そのように輝度差の小さいものも強調度を弱くすると良い。 In the present embodiment, the degree of emphasis can be arbitrarily changed by changing the correction values of the correction value tables 2 −1 , 2 −2 ,. For example, if the brightness difference between the pixel of interest and the surrounding pixels is small, such as a thin freckle on the skin of a person, the enhancement level is weakened (the enhancement level is weakened in the range of difference values where correction is not desired). The correction value of each correction value table 2 −1 , 2 −2 ,..., 2- k is determined), and other luminance differences are enhanced by increasing the degree of emphasis, thereby avoiding emphasis on freckles and emphasizing the outline A clear image is obtained. Further, since the mosquito noise, block noise, and the like generated by image compression (JPG, MPEG, etc.) do not have a large luminance difference, it is preferable to reduce the enhancement degree for such a small luminance difference.

図11は、本実施形態の手法を使って実際にピンボケ補正の画像効果を付与した画像の例を示す図である。図11(a)は原画像、図11(b)はピンボケ補正画像である。   FIG. 11 is a diagram illustrating an example of an image to which an image effect of defocus correction is actually applied using the method of the present embodiment. FIG. 11A is an original image, and FIG. 11B is a defocus corrected image.

<ぼかし>
ぼかしの画像効果は、画像の輪郭に相当するエッジ部の画素値の差分が小さくなるように補正することによって、輪郭境目の画素値の変化を滑らかにするものである。このぼかし効果は、輪郭境目における1〜4ラインのぼかしを1つのアルゴリズムで実現することが可能である。また、このぼかし効果は、フィルタ機能として使用することも可能である。例えば、処理領域内の中央に設定された注目画素が周辺画素に比べて突出して明るい粒子のみの緩和、突出して暗い粒子のみの緩和、明るい粒子および暗い粒子の両者の緩和、画像圧縮により発生するモスキートノイズやブロックノイズの緩和などが可能である。
<Blur>
The blur image effect is to smooth the change in the pixel value at the boundary of the contour by correcting the difference in the pixel value of the edge corresponding to the contour of the image to be small. With this blurring effect, blurring of 1 to 4 lines at the boundary between the contours can be realized with one algorithm. This blur effect can also be used as a filter function. For example, the pixel of interest set at the center in the processing area protrudes compared to the surrounding pixels and is relaxed only by bright particles, only protrudes dark particles, relaxes both bright and dark particles, and is generated by image compression. Mosquito noise and block noise can be reduced.

ここで、ぼかし用として各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容について詳しく説明する。第1のパターンの補正値テーブル2−1としては、図12に示すような内容のテーブル情報を使用する。このテーブル情報は、輝度の差分値が小さいほど補正値が小さくなり、差分値が大きいほど補正値が大きくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。また、差分値が負の値のときに補正値は負の値、差分値が正の値のときに補正値は正の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。なお、図12において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図12に実線のグラフで示したものと異なる補正値とすることも可能である。 Here, the details of the correction values set in the correction value tables 2 −1 , 2 −2 ,..., 2- k for blurring will be described in detail. As the correction value table 2-1 for the first pattern, table information having contents as shown in FIG. 12 is used. The table information is set such that the smaller the luminance difference value is, the smaller the correction value is, and the larger the difference value is, the larger the correction value is. The difference value and the correction value are linear functions (solid lines in the figure). ). The correction value is negative when the difference value is negative, the correction value is positive when the difference value is positive, and the correction value is also zero when the difference value is zero. Is set. In FIG. 12, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably taken as a correction value. As long as it is within the range surrounded by the one-dot chain line, a correction value different from that indicated by the solid line graph in FIG. 12 may be used.

また、第2のパターンの補正値テーブル2−2としては、図13に示すような内容のテーブル情報を使用する。上述したように、第2のパターンでは差分値の絶対値をとっているので、差分値が負の値となることはなく、差分値が正の値となるときの補正値のみが設定されている。この図13では、差分値によらず補正値が全てゼロとなるように設定されている。補正値が全てゼロというのは、第2のパターンの補正値テーブル2−2を未使用ということであるが、ぼかし効果の微調整を行いたい場合は、ゼロ以外の値に設定すれば良い。この場合に好ましい補正値の範囲は、図6に示したのと同様である。 Further, as the correction value table 2-2 of the second pattern, table information having contents as shown in FIG. 13 is used. As described above, since the absolute value of the difference value is taken in the second pattern, the difference value never becomes a negative value, and only the correction value when the difference value becomes a positive value is set. Yes. In FIG. 13, the correction values are all set to zero regardless of the difference value. The fact that all correction values are zero means that the correction value table 2-2 of the second pattern is not used. However, if fine adjustment of the blurring effect is desired, a value other than zero may be set. In this case, a preferable correction value range is the same as that shown in FIG.

また、第3のパターンの補正値テーブル2−3としては、図14に示すような内容のテーブル情報を使用する。このテーブル情報は、差分値が小さいほど補正値が小さくなり、差分値が大きいほど補正値が大きくなるように設定されており、差分値と補正値とは1次関数(図中の実線)で表される関係となっている。また、差分値が負の値のときに補正値は負の値、差分値が正の値のときに補正値は正の値となり、差分値がゼロのときは補正値もゼロとなるように設定されている。この第3のパターンの補正値テーブル2−3は、第1のパターンの補正値テーブル2−1と同じものを使用しても良い。なお、図14において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図14に実線のグラフで示したものと異なる補正値とすることも可能である。 As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG. 14. The table information is set such that the smaller the difference value, the smaller the correction value, and the larger the difference value, the larger the correction value. The difference value and the correction value are linear functions (solid lines in the figure). The relationship is expressed. The correction value is negative when the difference value is negative, the correction value is positive when the difference value is positive, and the correction value is also zero when the difference value is zero. Is set. The third pattern correction value table 2 -3 may be the same as the correction value table 2 -1 of the first pattern. In FIG. 14, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably taken as a correction value. As long as it is within the range surrounded by the one-dot chain line, a correction value different from that indicated by the solid line graph in FIG. 14 may be used.

以上のように補正値を設定した第1のパターンの補正値テーブル2−1および第3のパターンの補正値テーブル2−3によるぼかしラインも、図8と同様に考えることができる。第3のパターンの補正値テーブル2−3は使わず、第1のパターンの補正値テーブル2−1だけを使えば、輪郭境目における1〜2ラインの単純なぼかし効果を付与することができる。また、第1のパターンの補正値テーブル2−1に加えて第3のパターンの補正値テーブル2−3も使えば、3〜4ラインに渡るぼかし効果を付与することができる。 More first sets the correction value as the pattern of the correction value table 2 -1 and the third pattern blurring the line by the correction value table 2 -3 may be considered in the same manner as in FIG. Correction value table 2 -3 of the third pattern without, With only correction value table 2 -1 of the first pattern, it is possible to impart a simple blurring effect of 1-2 lines in the edge boundary. You can also use the correction value table 2 -3 of the third pattern in addition to the correction value table 2 -1 of the first pattern, it is possible to impart blur effect over 3-4 line.

また、第1のパターンの補正値テーブル2−1で使用するテーブル情報の内容として、図12に示したものの代わりに、図15のようなものを用いると、画像にフィルタ効果を付与することができる。例えば、画像圧縮により発生するモスキートノイズやブロックノイズを緩和することが可能である。具体的には、差分値が±1〜±32前後の範囲においてぼかし度合いを強くするとともに、他の差分値の範囲ではぼかし度合いをやや弱くする。 Further, as the contents of the table information used in the correction value table 2-1 of the first pattern, instead of the information shown in FIG. 12, the one shown in FIG. 15 can be used to give a filter effect to the image. it can. For example, it is possible to reduce mosquito noise and block noise generated by image compression. Specifically, the blurring degree is increased in the range where the difference value is around ± 1 to ± 32, and the blurring degree is slightly reduced in the other difference value ranges.

図16は、本実施形態の手法を使って実際にぼかし効果を付与した画像の例を示す図である。ここで、図16(a)は原画像、図16(b)はぼかし画像である。   FIG. 16 is a diagram illustrating an example of an image that is actually provided with the blurring effect using the method of the present embodiment. Here, FIG. 16A is an original image, and FIG. 16B is a blurred image.

<ぼかし+ピンボケ補正>
ぼかし+ピンボケ補正は、ぼかし補正により荒れた画像を滑らかにし、かつ、それによるピンボケ感をピンボケ補正で緩和するものである。この画像効果はフィルタとして機能するもので、中央の注目画素が周辺画素に対して薄い(明るい)場合の補正、濃い(暗い)場合の補正、その両方の場合の補正を行うことができる。また、画像圧縮により発生するモスキートノイズや、肌の薄いそばかすや小さいホクロ等の緩和もできる。
<Blur + Bokeh correction>
The blur + defocus correction is to smooth an image that has been roughened by the blur correction, and to reduce the defocus feeling caused by the defocus correction. This image effect functions as a filter, and correction can be performed when the pixel of interest at the center is lighter (brighter) than peripheral pixels, when it is darker (darker), or both. In addition, mosquito noise generated by image compression, freckles with thin skin, small moles, etc. can be alleviated.

ここで、ぼかし+ピンボケ補正用として各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容について詳しく説明する。第1のパターンの補正値テーブル2−1としては、図12に示すような内容のテーブル情報を使用する(この場合は未使用の例)。また、第2のパターンの補正値テーブル2−2としては、図13に示すような内容のテーブル情報を使用する。また、第3のパターンの補正値テーブル2−3としては、図7に示すような内容のテーブル情報を使用する。 Here, the contents of the correction values set in the correction value tables 2 −1 , 2 −2 ,..., 2− k for blur + defocus correction will be described in detail. As the correction value table 2-1 for the first pattern, table information having contents as shown in FIG. 12 is used (in this case, an unused example). Further, as the correction value table 2-2 of the second pattern, table information having contents as shown in FIG. 13 is used. As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG.

モスキートノイズや肌の薄いそばかす等を緩和するためのフィルタとして機能させる場合は、第1のパターンの補正値テーブル2−1として、図12に示すような内容のテーブル情報の代わりに、図15に示すような内容のテーブル情報を用いる。具体的には、差分値が±1〜±32前後の範囲において、図7に示す第1のパターンの補正値テーブル2−1ではぼかし度合いを強くするとともに、図14に示す第3のパターンの補正値テーブル2−3ではピンボケ補正の度合いを弱く設定する。他の差分値の範囲では、ピンボケ補正を強くし、ぼかし度合いをやや弱くする。このようにすると、見やすいシャープな画像が得られる。 In the case of functioning as a filter for reducing mosquito noise and freckles with thin skin, the correction value table 2-1 for the first pattern is shown in FIG. 15 instead of the table information having the contents as shown in FIG. Table information with contents as shown is used. Specifically, the difference value is ±. 1 to ± 32 before and after the range, the stronger the first correction value table 2 -1 in the blurring degree of the pattern shown in Figure 7, the third pattern shown in FIG. 14 weakly set degree of correction value table 2 -3 in out-of-focus correction. In other difference value ranges, the blur correction is strengthened and the blurring degree is slightly weakened. In this way, an easy-to-view sharp image can be obtained.

図17は、本実施形態の手法を使って実際にぼかし+ピンボケ補正を付与した画像の例を示す図である。ここで、図17(a)は原画像、図17(b)はぼかし+ピンボケ補正を施した画像である。   FIG. 17 is a diagram illustrating an example of an image that is actually provided with blur + defocus correction using the method of the present embodiment. Here, FIG. 17A is an original image, and FIG. 17B is an image subjected to blur + blur correction.

<全色濃さ変換>
全色濃さ変換は、画像全体の色を変換することにより、例えば暗い夜間の画像を明るく(薄く)したり、白飛びした明るい画像を暗く(濃く)したりするものである。このような濃度変換を行うことにより、画像を見やすくすることができる。また、RGBの各補正値をアンバランスにすれば、いろいろな色変換を行うこともできる。
<All color depth conversion>
In the all color density conversion, for example, a dark night image is brightened (lightened), or a bright white image is darkened (darkened) by converting the color of the entire image. By performing such density conversion, it is possible to make the image easier to see. Various color conversions can also be performed by making the RGB correction values unbalanced.

ここで、全色濃さ変換用として各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容について詳しく説明する。第1のパターンの補正値テーブル2−1および第3のパターンの補正値テーブル2−3としては、図18に示すような内容のテーブル情報を使用する。このテーブル情報は、差分値によらず各補正値を全て同じ値に設定したものである。 Here, the contents of the correction values set in the correction value tables 2 −1 , 2 −2 ,..., 2- k for all color density conversion will be described in detail. The correction value table 2 -3 correction value table 2 -1 and the third pattern of the first pattern, using the table information of contents as shown in FIG. 18. In this table information, all correction values are set to the same value regardless of the difference value.

なお、図18において一点鎖線で囲んだ斜線の範囲は、補正値(全てゼロは含まず)として採るのが好ましい範囲を示している。この一点鎖線で囲んだ範囲内であれば、図18に実線のグラフで示したものと異なる補正値とすることも可能である。例えば、差分値の全領域に渡って補正値を同じ値にする必要は必ずしもない。この場合、差分値の一部の領域においてのみ補正値をゼロとすることも可能である。   In FIG. 18, the hatched range surrounded by the alternate long and short dash line indicates a range that is preferably taken as a correction value (all zeros are not included). As long as it is within the range surrounded by the one-dot chain line, a correction value different from that indicated by the solid line graph in FIG. 18 may be used. For example, it is not always necessary to set the correction value to the same value over the entire range of difference values. In this case, the correction value can be set to zero only in a partial area of the difference value.

また、第2のパターンの補正値テーブル2−2としては、図19に示すような内容のテーブル情報を使用する。このテーブル情報も、差分値によらず各補正値を全て同じ値に設定したものである。ただし、差分値が正の値となるときの補正値のみが設定されている。なお、図19において一点鎖線で囲んだ斜線の範囲は、補正値として採るのが好ましい範囲を示している。 Further, as the correction value table 2-2 for the second pattern, table information having contents as shown in FIG. 19 is used. In this table information, all correction values are set to the same value regardless of the difference value. However, only the correction value when the difference value becomes a positive value is set. In FIG. 19, the hatched range enclosed by the alternate long and short dash line indicates a range that is preferably taken as a correction value.

図20は、本実施形態の手法を使って実際に全色濃さ変換の画像効果を付与した画像の例を示す図である。ここで、図20(a)は原画像、図20(b)は原画像の濃度が濃くなるように変換した画像、図20(c)は原画像の濃度が薄くなるように変換した画像である。   FIG. 20 is a diagram illustrating an example of an image to which an image effect of all color depth conversion is actually applied using the method of the present embodiment. 20A is an original image, FIG. 20B is an image converted so that the density of the original image is high, and FIG. 20C is an image converted so that the density of the original image is low. is there.

<全色濃さ変換+ピンボケ補正>
先ほどは、ぼかし補正とピンボケ補正とを組み合わせた画像効果を付与する例について説明したが、各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容に応じて、他の組み合わせで画像効果を付与することも可能である。全色濃さ変換+ピンボケ補正はその一例である。
<All color density conversion + defocus correction>
As described above, an example in which an image effect obtained by combining blur correction and defocus correction has been described. However, depending on the content of the correction value set in each correction value table 2 −1 , 2 −2 ,. Thus, it is possible to add an image effect in other combinations. One example is full color density conversion + out-of-focus correction.

全色濃さ変換+ピンボケ補正の場合、第1のパターンの補正値テーブル2−1としては、図5に示すような内容のテーブル情報を使用する。また、第2のパターンの補正値テーブル2−2としては、図19に示すような内容のテーブル情報を使用する。また、第3のパターンの補正値テーブル2−3としては、図7に示すような内容のテーブル情報を使用する。 For full color strength conversion + defocus correction, the correction value table 2 -1 of the first pattern, using the table information of contents as shown in FIG. Further, as the correction value table 2-2 for the second pattern, table information having contents as shown in FIG. 19 is used. As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG.

<全色濃さ変換+ぼかし補正>
全色濃さ変換+ぼかし補正の場合、第1のパターンの補正値テーブル2−1としては、図12に示すような内容のテーブル情報を使用する。また、第2のパターンの補正値テーブル2−2としては、図19に示すような内容のテーブル情報を使用する。また、第3のパターンの補正値テーブル2−3としては、図14に示すような内容のテーブル情報を使用する。
<All color density conversion + blur correction>
For full color strength conversion + blur correction, the correction value table 2 -1 of the first pattern, using the table information of contents as shown in FIG. 12. Further, as the correction value table 2-2 for the second pattern, table information having contents as shown in FIG. 19 is used. As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG. 14.

<全色濃さ変換+ぼかし+ピンボケ補正>
全色濃さ変換+ぼかし+ピンボケ補正の場合、第1のパターンの補正値テーブル2−1としては、図12に示すような内容のテーブル情報を使用する。また、第2のパターンの補正値テーブル2−2としては、図19に示すような内容のテーブル情報を使用する。また、第3のパターンの補正値テーブル2−3としては、図7に示すような内容のテーブル情報を使用する。
<All color density conversion + Blur + Defocus correction>
For full color strength conversion + Blur + defocus correction, the correction value table 2 -1 of the first pattern, using the table information of contents as shown in FIG. 12. Further, as the correction value table 2-2 for the second pattern, table information having contents as shown in FIG. 19 is used. As the correction value table 2 -3 of the third pattern uses the table information of contents as shown in FIG.

その他、差分をとる2つの画素の位置関係や、各補正値テーブル2−1,2−2,・・・2−kに設定する補正値の内容を変えることによって、上記以外の様々なバリエーションに富んだ画像効果を実現することができる。 In addition, various variations other than the above can be achieved by changing the positional relationship between the two pixels for which the difference is taken and the contents of the correction values set in the correction value tables 2 −1 , 2 −2 ,. Rich image effects can be realized.

図21は、差分をとる2つの画素の位置関係として第4のパターンを示す図である。第4のパターンにおいて、差分値演算部1は、処理領域内の中央に設定された注目画素Eの縦方向に位置する周辺画素B,Hと横方向に位置する周辺画素D,Fとの差分値を算出する。すなわち、第4のパターンでは、差分値演算部1は、以下に示す4つの差分値bd,bf,dh,fhを算出する。なお、||は絶対値であることを示す。
bd=|B−D|、bf=|B−F|、dh=|D−H|、fh=|F−H|
FIG. 21 is a diagram illustrating a fourth pattern as the positional relationship between two pixels that take a difference. In the fourth pattern, the difference value calculation unit 1 calculates the difference between the peripheral pixels B and H positioned in the vertical direction and the peripheral pixels D and F positioned in the horizontal direction of the target pixel E set at the center in the processing region. Calculate the value. That is, in the fourth pattern, the difference value calculation unit 1 calculates the following four difference values bd, bf, dh, and fh. Note that || indicates an absolute value.
bd = | B−D |, bf = | B−F |, dh = | D−H |, fh = | F−H |

図22は、差分をとる2つの画素の位置関係として第5のパターンを示す図である。第5のパターンにおいて、差分値演算部1は、処理領域内に設定された画素のうち、将棋の桂馬跳びの関係に位置する画素間の差分値をそれぞれ算出する。すなわち、第3のパターンでは、差分値演算部1は、以下に示す8つの差分値af,ah,cd,ch,gb,gf,ib,idを算出する。
af=A−F、ah=A−H、cd=C−D、ch=C−H
gb=G−B、gf=G−F、ib=I−B、id=I−D
FIG. 22 is a diagram illustrating a fifth pattern as the positional relationship between two pixels that take a difference. In the fifth pattern, the difference value calculation unit 1 calculates a difference value between pixels positioned in the relationship of shogi's Katsura jump among the pixels set in the processing region. That is, in the third pattern, the difference value calculation unit 1 calculates the following eight difference values af, ah, cd, ch, gb, gf, ib, and id.
af = A−F, ah = A−H, cd = C−D, ch = C−H
gb = GB, gf = GF, ib = IB, id = ID

<ネガ/ポジ輪郭抽出>
ネガ/ポジ輪郭抽出では、差分値の絶対値の範囲を2つのグループに分け、同じグループ内では差分値によらず各補正値を全て同じ値に設定する。また、異なるグループに属する補正値どうしはその差が大きくなるように設定する。以下では、絶対値が小さい方のグループを第1グループ#1、絶対値が大きい方のグループを第2グループ#2と称する。第1グループ#1と第2グループ#2との変り目となる差分値をゼロに近づければ細かい輪郭が抽出され、逆に遠ざければ細かい輪郭はカットされる。また、各補正値テーブル2−1,2−2,・・・2−kの組み合わせによって、輪郭の幅を細くしたり太くしたりすることもできる。
<Negative / Positive contour extraction>
In negative / positive contour extraction, the range of absolute values of difference values is divided into two groups, and all correction values are set to the same value regardless of the difference values within the same group. Further, correction values belonging to different groups are set so that the difference between them is large. Hereinafter, the group with the smaller absolute value is referred to as the first group # 1, and the group with the larger absolute value is referred to as the second group # 2. If the difference value that is the transition between the first group # 1 and the second group # 2 is close to zero, a fine contour is extracted, and if it is far away, the fine contour is cut. Further, the width of the contour can be narrowed or thickened by a combination of the correction value tables 2 −1 , 2 −2 ,.

図23は、本実施形態の手法を使って実際にネガ/ポジ輪郭抽出の画像効果を付与した画像の例を示す図である。ここで、図23(a)は原画像、図23(b)はネガ輪郭抽出を施した画像、図23(c)はポジ輪郭抽出を施した画像である。   FIG. 23 is a diagram showing an example of an image to which an image effect of negative / positive contour extraction is actually applied using the method of the present embodiment. Here, FIG. 23A is an original image, FIG. 23B is an image subjected to negative contour extraction, and FIG. 23C is an image subjected to positive contour extraction.

以下に述べる幾つかの画風変換効果は、上述した画像効果付与の機能を変則的に組み合わせることによって可能になる。ポイントは、全色濃さ変換を利用し、差分値の絶対値が小さい方の第1グループ#1に対してのみ色濃さ変換補正値を設定することである。この部分的な色濃さ変換は、全色濃さ変換のように画像全体の濃さを均等に強調するものではなく、輪郭の変則的強調を行うものである。ここで言う変則強調とは、注目画素と周辺画素との差分が小さいにも関わらず強度な補正値を与え、色変わりを発生させることとする。   Several style conversion effects described below can be realized by irregularly combining the above-described image effect providing functions. The point is that color density conversion correction values are set only for the first group # 1 with the smaller absolute value of the difference value using all color density conversion. This partial color density conversion does not emphasize the density of the entire image equally as in the case of full color density conversion, but performs irregular enhancement of the contour. In this case, the irregular emphasis is to give a strong correction value to generate a color change even though the difference between the pixel of interest and the surrounding pixels is small.

色変わりは、画像データ(RGB)のパターンによって様々に変化する。例えば、R色およびG色が均一なデータで、B色が不規則なデータであれば、R色とG色は均一に加算強調され、B色は不規則な強調となる。その結果、(RGBで)色変わりが不規則に発生する。この変則強調に対してピンボケ補正、ぼかし補正などを加えることにより、様々な画風変換が可能になる。   The color change varies depending on the pattern of image data (RGB). For example, if the R color and G color are uniform data and the B color is irregular data, the R color and the G color are uniformly added and emphasized, and the B color is irregularly emphasized. As a result, color changes occur irregularly (in RGB). By adding out-of-focus correction, blur correction, etc. to this irregular emphasis, various style conversions are possible.

<水彩画風変換>
水彩画風変換では、差分値の絶対値の範囲を、絶対値が小さい方の第1グループ#1と絶対値が大きい方の第2グループ#2とに分けて、それぞれのグループに対して適当な補正値を与える。ここで言う水彩画風の画像とは、輪郭をあまりシャープにせずに、輪郭を適度に黒色強調したものである。黒色強調は、輪郭境目の1〜4ライン分を黒色化する補正によって実現が可能であり、細い黒色輪郭線から太い黒色輪郭線に変換することができる。また、本画像変換に関して点描効果を加えることも可能である。例えば、各補正値テーブル2−1,2−2,・・・2−kの差分値の絶対値がゼロに近い所定の領域において、補正値をアンバランスに設定すればよい。
<Watercolor style conversion>
In the watercolor style conversion, the range of the absolute value of the difference value is divided into the first group # 1 having the smaller absolute value and the second group # 2 having the larger absolute value. Give a correction value. The watercolor-like image mentioned here is an image in which the outline is moderately black-enhanced without making the outline very sharp. Black emphasis can be realized by correction for blackening one to four lines of the contour boundary, and can be converted from a thin black contour line to a thick black contour line. It is also possible to add a stipple effect for the main image conversion. For example, the correction value may be set unbalanced in a predetermined region where the absolute value of the difference value between the correction value tables 2 −1 , 2 −2 ,.

図24は、本実施形態の手法を使って実際に水彩画風変換の画像効果を付与した画像の例を示す図である。ここで、図24(a)は原画像、図24(b)は水彩画風変換を施した画像である。   FIG. 24 is a diagram illustrating an example of an image to which an image effect of watercolor style conversion is actually applied using the method of the present embodiment. Here, FIG. 24A shows an original image, and FIG. 24B shows an image subjected to watercolor style conversion.

<イラスト風変換>
イラスト風変換においても、差分値の絶対値の範囲を、絶対値が小さい方の第1グループ#1と絶対値が大きい方の第2グループ#2とに分けて、それぞれのグループに対して適当な補正値を与える。ここで言うイラスト風の画像とは、水彩画風より全体画像の色を薄くして、輪郭をシャープにしたものである。この画像変換においても、上述した点描効果を加えることが可能である。
<Illustration-like conversion>
Even in illustration-like transformation, the absolute value range of the difference value is divided into the first group # 1 having the smaller absolute value and the second group # 2 having the larger absolute value, and is appropriate for each group. Correct correction value. The illustration-like image referred to here is one in which the color of the entire image is lighter than the watercolor painting and the outline is sharpened. Also in this image conversion, it is possible to add the above-described stippling effect.

図25は、本実施形態の手法を使って実際にイラスト風変換の画像効果を付与した画像の例を示す図である。ここで、図25(a)は原画像、図25(b)はイラスト風変換を施した画像である。   FIG. 25 is a diagram illustrating an example of an image to which an image effect of illustration-like conversion is actually applied using the method of the present embodiment. Here, FIG. 25A is an original image, and FIG. 25B is an image subjected to illustration-like conversion.

<油絵風変換>
油絵風変換においても、差分値の絶対値の範囲を、絶対値が小さい方の第1グループ#1と絶対値が大きい方の第2グループ#2とに分けて、それぞれのグループに対して適当な補正値を与える。このとき、第2グループ#2に関しては、白色輪郭強調を施す。ここで言う油絵風画像とは、輪郭をぼかすとともに、ピンボケ補正や白色輪郭強調を施したものである。白色輪郭強調は、輪郭境目の1〜4ライン分を白色化する補正によって実現が可能であり、細い白色輪郭線から太い白色輪郭線に変換することができる。この画像変換においても、上述した点描効果を加えることが可能である。
<Oil painting style conversion>
Also in oil painting style conversion, the range of absolute values of difference values is divided into a first group # 1 having a smaller absolute value and a second group # 2 having a larger absolute value, and appropriate for each group. Correct correction value. At this time, white outline enhancement is performed for the second group # 2. The oil painting-like image referred to here is obtained by blurring the outline, and performing defocus correction or white outline enhancement. White contour emphasis can be realized by correction for whitening one to four lines of the contour boundary, and can be converted from a thin white contour line to a thick white contour line. Also in this image conversion, it is possible to add the above-described stippling effect.

図26は、本実施形態の手法を使って実際に油絵風変換の画像効果を付与した画像の例を示す図である。ここで、図26(a)は原画像、図26(b)は油絵+点描風変換を施した画像である。   FIG. 26 is a diagram illustrating an example of an image to which an image effect of oil painting style conversion is actually given using the method of the present embodiment. Here, FIG. 26 (a) is an original image, and FIG. 26 (b) is an image subjected to oil painting + stipple-style conversion.

<幻想風変換>
幻想風変換においても、差分値の絶対値の範囲を、絶対値が小さい方の第1グループ#1と絶対値が大きい方の第2グループ#2とに分けて、それぞれのグループに対して適当な補正値を与える。このとき、第1グループ#1に関しては、−10〜−150の補正値を与える。ここで言う幻想風画像とは、油絵風の全体画像色をより濃くし、輪郭のぼかし、ピンボケ補正、白輪郭強調をしたものである。この画像変換においても、上述した点描効果を加えることが可能である。
<Fantasy transformation>
Even in fantasy-like transformation, the absolute value range of the difference value is divided into a first group # 1 having a smaller absolute value and a second group # 2 having a larger absolute value, and is appropriate for each group. Correct correction value. At this time, a correction value of −10 to −150 is given for the first group # 1. The illusion-like image referred to here is an image in which the overall image color of the oil painting style is made darker, contour blurring, defocus correction, and white contour enhancement are performed. Also in this image conversion, it is possible to add the above-described stippling effect.

図27は、本実施形態の手法を使って実際に幻想風変換の画像効果を付与した画像の例を示す図である。ここで、図27(a)は原画像、図27(b)は幻想風変換を施した画像である。   FIG. 27 is a diagram illustrating an example of an image to which an illusion-like conversion image effect is actually applied using the method of the present embodiment. Here, FIG. 27A is an original image, and FIG. 27B is an image that has been subjected to fantasy-like transformation.

以上詳しく説明したように、本実施形態によれば、差分をとる2つの画素の位置関係に応じて異なるパターンの補正値テーブル2−1〜2−kを使用し、画素間の位置関係とその差分値との双方に応じた補正値を求めるようにしている。各補正値テーブル2−1〜2−kの補正値はその内容を任意に設定することが可能であり、同じ差分値であっても、テーブル毎に異なる補正値を設定しておくことが可能である。 As described above in detail, according to the present embodiment, the correction value tables 2 −1 to 2 -k having different patterns are used in accordance with the positional relationship between the two pixels taking the difference. A correction value corresponding to both the difference value is obtained. The contents of the correction values in each of the correction value tables 2 −1 to 2 -k can be arbitrarily set, and different correction values can be set for each table even if they are the same difference value. It is.

このようにすれば、単に差分値に応じて補正値を決めるのではなく、差分をとる画素間の位置関係に応じて適切な補正値を設定することができる。具体的には、算出された差分値が同じとなっても、その差分をとった2つの画素間の位置関係に応じて、得られる補正値を異ならせて適切なものとすることができる。また、どのパターンの位置関係について差分値を求めるか、つまりどのパターンのテーブル情報を利用して補正値を求めるかによっても、得られる補正値を異ならせて適切なものとすることができる。   In this way, it is possible to set an appropriate correction value according to the positional relationship between the pixels taking the difference, instead of simply determining the correction value according to the difference value. Specifically, even if the calculated difference values are the same, the correction values obtained can be made different depending on the positional relationship between the two pixels that have taken the difference. Also, depending on which pattern's positional relationship the difference value is obtained, that is, which pattern's table information is used to obtain the correction value, the obtained correction value can be made different and appropriate.

これにより、補正値を用いた画素値変換処理によって得られる画像の画質を向上させることができる。また、利用するテーブル情報またはその組み合わせによって、今までにはなかった豊富なバリエーションの画像効果を付与することもできる。また、画素の位置を選んで適切な補正値を決定することができるので、上述ような各種画像効果を付与しながら画像の拡大または縮小を行う際に、補間位置に当たる画素に適切な補正値を与えることにより、強調された画素間を滑らかに補間してジャギーの発生を抑制することもできる。   Thereby, the image quality of the image obtained by the pixel value conversion process using the correction value can be improved. In addition, abundant variations of image effects that have never existed before can be provided by using table information or a combination thereof. Since an appropriate correction value can be determined by selecting the pixel position, an appropriate correction value is applied to the pixel corresponding to the interpolation position when the image is enlarged or reduced while applying various image effects as described above. As a result, jaggies can be prevented from occurring by smoothly interpolating between the emphasized pixels.

以上に説明した本実施形態による画像処理装置は、ハードウェア構成、ゲートアレイ、FPGA(Field Programmable Gate Array)、ソフトウェアの何れによっても実現することが可能である。例えばソフトウェアによって実現する場合、本実施形態の画像処理装置は、実際にはコンピュータのCPUあるいはMPU、RAM、ROMなどを備えて構成され、RAMやROMに記憶されたプログラムが動作することによって実現できる。   The image processing apparatus according to the present embodiment described above can be realized by any of a hardware configuration, a gate array, an FPGA (Field Programmable Gate Array), and software. For example, when realized by software, the image processing apparatus according to the present embodiment is actually configured by including a CPU or MPU of a computer, RAM, ROM, and the like, and can be realized by operating a program stored in the RAM or ROM. .

したがって、コンピュータが上記本実施形態の機能を果たすように動作させるプログラムを例えばCD−ROMのような記録媒体に記録し、コンピュータに読み込ませることによって実現できるものである。上記プログラムを記録する記録媒体としては、CD−ROM以外に、フレキシブルディスク、ハードディスク、磁気テープ、光ディスク、光磁気ディスク、DVD、不揮発性メモリカード等を用いることができる。また、上記プログラムをインターネット等のネットワークを介してコンピュータにダウンロードすることによっても実現できる。   Therefore, it can be realized by recording a program that causes a computer to perform the functions of the above-described embodiment on a recording medium such as a CD-ROM and causing the computer to read the program. As a recording medium for recording the program, a flexible disk, a hard disk, a magnetic tape, an optical disk, a magneto-optical disk, a DVD, a nonvolatile memory card, and the like can be used in addition to the CD-ROM. It can also be realized by downloading the program to a computer via a network such as the Internet.

また、上記本実施形態による画像処理装置の機能をネットワーク環境で実現するべく、全部あるいは一部のプログラムが他のコンピュータで実行されるようになっていても良い。また、コンピュータが供給されたプログラムを実行することにより上述の実施形態の機能が実現されるだけでなく、そのプログラムがコンピュータにおいて稼働しているOS(オペレーティングシステム)あるいは他のアプリケーションソフト等と共同して上述の実施形態の機能が実現される場合や、供給されたプログラムの処理の全てあるいは一部がコンピュータの機能拡張ボードや機能拡張ユニットにより行われて上述の実施形態の機能が実現される場合も、かかるプログラムは本発明の実施形態に含まれる。   Further, in order to realize the functions of the image processing apparatus according to the present embodiment in a network environment, all or a part of the programs may be executed by another computer. In addition, the functions of the above-described embodiments are realized by executing a program supplied by a computer, and the program is used in cooperation with an OS (operating system) or other application software running on the computer. When the functions of the above-described embodiment are realized, or when all or part of the processing of the supplied program is performed by a function expansion board or a function expansion unit of the computer, the function of the above-described embodiment is realized. Such a program is included in the embodiment of the present invention.

なお、上記実施形態は、本発明を実施するにあたっての具体化の一例を示したものに過ぎず、これによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその精神、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   In addition, the said embodiment is only what showed the example of actualization in implementing this invention, and, as a result, the technical scope of this invention should not be interpreted limitedly. In other words, the present invention can be implemented in various forms without departing from the spirit or main features thereof.

本発明は、画像データに対して所定の画素値変換処理を行うことによって画像効果を付与する装置に有用である。   The present invention is useful for an apparatus that imparts an image effect by performing predetermined pixel value conversion processing on image data.

本実施形態による画像処理装置の構成例を示す機能ブロック図である。It is a functional block diagram which shows the structural example of the image processing apparatus by this embodiment. 差分をとる2つの画素の位置関係として第1のパターンを示す図である。It is a figure which shows a 1st pattern as a positional relationship of two pixels which take a difference. 差分をとる2つの画素の位置関係として第2のパターンを示す図である。It is a figure which shows a 2nd pattern as a positional relationship of two pixels which take a difference. 差分をとる2つの画素の位置関係として第3のパターンを示す図である。It is a figure which shows a 3rd pattern as a positional relationship of two pixels which take a difference. ピンボケ補正用として使用する第1のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 1st pattern used for a blurring correction | amendment. ピンボケ補正用として使用する第2のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 2nd pattern used for a blurring correction | amendment. ピンボケ補正用として使用する第3のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 3rd pattern used for a blurring correction | amendment. 第1および第3のパターンの補正値テーブルによる強調ラインを説明するための図である。It is a figure for demonstrating the emphasis line by the correction value table of a 1st and 3rd pattern. 各パターンの補正値テーブルを用いた様々な輪郭強調パターンの例をイメージ的に示す図である。It is a figure which shows the example of various outline emphasis patterns using the correction value table of each pattern. 第1のパターンおよび第3のパターンの補正値テーブルの組み合わせ例を示す図である。It is a figure which shows the example of a combination of the correction value table of a 1st pattern and a 3rd pattern. 本実施形態の手法を使って実際にピンボケ補正の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which actually gave the image effect of a blurring correction | amendment using the method of this embodiment. ぼかし補正用として使用する第1のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 1st pattern used for blurring correction | amendment. ぼかし補正用として使用する第2のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 2nd pattern used for blurring correction | amendment. ぼかし補正用として使用する第3のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 3rd pattern used for blurring correction. フィルタ用として使用する第1のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 1st pattern used for filters. 本実施形態の手法を使って実際にぼかし補正の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which provided the image effect of the blurring correction | amendment actually using the method of this embodiment. 本実施形態の手法を使って実際にぼかし+ピンボケ補正の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which provided the image effect of the blur + defocus correction | amendment actually using the method of this embodiment. 全色濃さ変換用として使用する第1および第3のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 1st and 3rd pattern used for all color density conversion. 全色濃さ変換用としてとして使用する第2のパターンの補正値テーブルの内容例を示す図である。It is a figure which shows the example of the content of the correction value table of the 2nd pattern used as an object for all color density conversion. 本実施形態の手法を使って実際に全色濃さ変換の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image to which the image effect of all the color depth conversion was actually provided using the method of this embodiment. 差分をとる2つの画素の位置関係として第4のパターンを示す図である。It is a figure which shows a 4th pattern as a positional relationship of two pixels which take a difference. 差分をとる2つの画素の位置関係として第5のパターンを示す図である。It is a figure which shows a 5th pattern as a positional relationship of two pixels which take a difference. 本実施形態の手法を使って実際にネガ/ポジ輪郭抽出の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which provided the image effect of negative / positive outline extraction actually using the method of this embodiment. 本実施形態の手法を使って実際に水彩画風変換の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which actually gave the image effect of watercolor style conversion using the method of this embodiment. 本実施形態の手法を使って実際にイラスト風変換の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which provided the image effect of illustration-like conversion actually using the method of this embodiment. 本実施形態の手法を使って実際に油絵風変換の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which provided the image effect of oil painting style conversion actually using the method of this embodiment. 本実施形態の手法を使って実際に幻想風変換の画像効果を付与した画像の例を示す図である。It is a figure which shows the example of the image which actually gave the image effect of the fantasy style conversion using the method of this embodiment.

符号の説明Explanation of symbols

1 差分値演算部
2 テーブル情報記憶部
3 補正値取得部
4 画素値変換部
DESCRIPTION OF SYMBOLS 1 Difference value calculating part 2 Table information storage part 3 Correction value acquisition part 4 Pixel value conversion part

Claims (5)

入力画像の一部を構成する縦m個×横n個(m,nはそれぞれ1以上の整数で、少なくとも一方は2以上)の画素に対して設定された処理領域において、所定の位置関係にある2つの画素について画素値の差分値を算出する差分値演算部と、
上記差分値に応じた補正値をテーブル情報として記憶しているテーブル情報記憶部と、
上記差分値演算部により算出された差分値に基づいて上記テーブル情報を参照し、上記差分値に応じた補正値を求める補正値取得部と、
上記補正値取得部により求められた補正値を用いて、上記処理領域内の注目画素の画素値に対して画素値変換処理を行う画素値変換部とを備え、
上記差分値演算部は、上記所定の位置関係として複数のパターンを用意し、上記差分値をパターン毎に算出するように成され、
上記テーブル情報記憶部は、上記複数のパターン毎に異なる補正値を記憶した複数のテーブル情報を記憶して成り、
上記補正値取得部は、上記差分値演算部により上記パターン毎に算出された差分値に基づいて、上記差分値を求めたパターンと同じパターンに関するテーブル情報を参照して上記差分値に応じた補正値を求めるように成されていることを特徴とする画像処理装置。
In a processing area set for m pixels × n pixels (m and n are each an integer of 1 or more and at least one is 2 or more) constituting a part of the input image, a predetermined positional relationship is established. A difference value calculation unit for calculating a difference value between two pixel values,
A table information storage unit storing correction values corresponding to the difference values as table information;
A correction value acquisition unit that refers to the table information based on the difference value calculated by the difference value calculation unit and obtains a correction value according to the difference value;
A pixel value conversion unit that performs a pixel value conversion process on the pixel value of the pixel of interest in the processing region using the correction value obtained by the correction value acquisition unit;
The difference value calculation unit is configured to prepare a plurality of patterns as the predetermined positional relationship and calculate the difference value for each pattern.
The table information storage unit stores a plurality of table information storing different correction values for the plurality of patterns,
The correction value acquisition unit refers to the table information related to the same pattern as the pattern for which the difference value is obtained based on the difference value calculated for each pattern by the difference value calculation unit, and performs correction according to the difference value. An image processing apparatus characterized in that a value is obtained.
上記差分値演算部は、上記複数のパターンの1つとして、上記処理領域内の中央に設定された注目画素と、上記注目画素に対して縦方向および横方向に位置する周辺画素との差分値を算出することを特徴とする請求項1に記載の画像処理装置。 The difference value calculation unit is, as one of the plurality of patterns, a difference value between a target pixel set at the center in the processing region and peripheral pixels positioned in the vertical and horizontal directions with respect to the target pixel. The image processing apparatus according to claim 1, wherein: 上記差分値演算部は、上記複数のパターンの1つとして、上記処理領域内の中央に設定された注目画素を挟んで縦方向に位置する2つの周辺画素間の差分値および上記注目画素を挟んで横方向に位置する2つの周辺画素間の差分値を算出することを特徴とする請求項1に記載の画像処理装置。 The difference value calculation unit sandwiches a difference value between two neighboring pixels positioned in the vertical direction across the target pixel set in the center of the processing region and the target pixel as one of the plurality of patterns. The image processing apparatus according to claim 1, wherein a difference value between two neighboring pixels positioned in the horizontal direction is calculated. 上記差分値演算部は、上記複数のパターンの1つとして、上記処理領域内の中央に設定された注目画素と、上記注目画素に対して斜め方向に位置する周辺画素との差分値を算出することを特徴とする請求項1に記載の画像処理装置。 The difference value calculation unit calculates, as one of the plurality of patterns, a difference value between a target pixel set at the center in the processing region and a peripheral pixel positioned in an oblique direction with respect to the target pixel. The image processing apparatus according to claim 1. 入力画像の一部を構成する縦m個×横n個(m,nはそれぞれ1以上の整数で、少なくとも一方は2以上)の画素に対して設定された処理領域において、所定の位置関係にある2つの画素について画素値の差分値を算出するものであって、上記所定の位置関係として用意された複数のパターン毎に上記差分値を算出するように成された差分値演算手段、
上記差分値演算手段により上記複数のパターン毎に算出された差分値に基づいて、上記差分値に応じた補正値を上記複数のパターン毎に複数のテーブル情報として記憶しているテーブル情報記憶部を参照し、上記差分値を求めたパターンと同じパターンに関するテーブル情報から上記差分値に応じた補正値を求める補正値取得手段、および
上記補正値取得手段により求められた補正値を用いて、上記処理領域内の注目画素の画素値に対して画素値変換処理を行う画素値変換手段、
の各手段としてコンピュータを機能させるための画像処理プログラム。
In a processing area set for m pixels × n pixels (m and n are each an integer of 1 or more and at least one is 2 or more) constituting a part of the input image, a predetermined positional relationship is established. A difference value calculation means for calculating a difference value of pixel values for a certain two pixels, and calculating the difference value for each of a plurality of patterns prepared as the predetermined positional relationship;
A table information storage unit that stores a correction value corresponding to the difference value as a plurality of table information for each of the plurality of patterns based on the difference value calculated for each of the plurality of patterns by the difference value calculating means. Using the correction value obtaining means for obtaining a correction value according to the difference value from the table information relating to the same pattern as the pattern for which the difference value was obtained, and the correction value obtained by the correction value obtaining means, Pixel value conversion means for performing pixel value conversion processing on the pixel value of the target pixel in the region;
An image processing program for causing a computer to function as each means.
JP2006080080A 2006-03-23 2006-03-23 Image processing apparatus and image processing program Expired - Fee Related JP4641957B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006080080A JP4641957B2 (en) 2006-03-23 2006-03-23 Image processing apparatus and image processing program
PCT/JP2006/322689 WO2007108164A1 (en) 2006-03-23 2006-11-08 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006080080A JP4641957B2 (en) 2006-03-23 2006-03-23 Image processing apparatus and image processing program

Publications (3)

Publication Number Publication Date
JP2007257237A JP2007257237A (en) 2007-10-04
JP2007257237A5 JP2007257237A5 (en) 2009-05-07
JP4641957B2 true JP4641957B2 (en) 2011-03-02

Family

ID=38522202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006080080A Expired - Fee Related JP4641957B2 (en) 2006-03-23 2006-03-23 Image processing apparatus and image processing program

Country Status (2)

Country Link
JP (1) JP4641957B2 (en)
WO (1) WO2007108164A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5434582B2 (en) * 2009-12-28 2014-03-05 カシオ計算機株式会社 Image processing apparatus and image processing program
KR101207084B1 (en) * 2011-02-08 2012-12-04 포항공과대학교 산학협력단 Method of processing image and apparatus for the same
JP2018061187A (en) * 2016-10-07 2018-04-12 キヤノン株式会社 Image processing apparatus and image processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11185036A (en) * 1997-12-18 1999-07-09 Ricoh Co Ltd Image processor
JP2000013642A (en) * 1998-06-18 2000-01-14 Sony Corp Video signal processor
JP2001028691A (en) * 1999-07-14 2001-01-30 Sharp Corp Image processing unit
JP2002369071A (en) * 2001-06-08 2002-12-20 Olympus Optical Co Ltd Picture processing method and digital camera mounted with the same and its program
JP2004159311A (en) * 2002-10-16 2004-06-03 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
JP2005260675A (en) * 2004-03-12 2005-09-22 Olympus Corp Image processor and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11185036A (en) * 1997-12-18 1999-07-09 Ricoh Co Ltd Image processor
JP2000013642A (en) * 1998-06-18 2000-01-14 Sony Corp Video signal processor
JP2001028691A (en) * 1999-07-14 2001-01-30 Sharp Corp Image processing unit
JP2002369071A (en) * 2001-06-08 2002-12-20 Olympus Optical Co Ltd Picture processing method and digital camera mounted with the same and its program
JP2004159311A (en) * 2002-10-16 2004-06-03 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
JP2005260675A (en) * 2004-03-12 2005-09-22 Olympus Corp Image processor and program

Also Published As

Publication number Publication date
JP2007257237A (en) 2007-10-04
WO2007108164A1 (en) 2007-09-27

Similar Documents

Publication Publication Date Title
JP4556276B2 (en) Image processing circuit and image processing method
JP5962393B2 (en) Image processing apparatus, image processing method, and image processing program
JP4534594B2 (en) Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method
JP4847591B2 (en) Image processing apparatus, image processing method, and image processing program
JP2008067373A (en) Image correction method and apparatus
JPWO2011033619A1 (en) Image processing apparatus, image processing method, image processing program, and storage medium
JPH07245709A (en) Method and device for processing picture signal
JP6485068B2 (en) Image processing method and image processing apparatus
US8213736B2 (en) Image processing device and image processing method
US20070237416A1 (en) Resolution enhancing method and apparatus of video
US8300934B2 (en) Image processing device and image correction device
KR20070017391A (en) Gradation correcting apparatus, mobile terminal device, image pickup apparatus, mobile telephone, gradation correcting method, and program
JP4641957B2 (en) Image processing apparatus and image processing program
JP2011065339A (en) Image processing apparatus, image processing method, image processing program and storage medium
JP4658875B2 (en) Image processing device
JP5289540B2 (en) Image processing apparatus and image processing method
JP4962573B2 (en) Image processing device
US20090141998A1 (en) Image processing device, image display device, and image processing method therefor
JP6135937B2 (en) Image processing method and image processing apparatus
JP4708170B2 (en) Outline enhancement circuit and outline enhancement method
US8665315B2 (en) Signal processing device, reproducing device, signal processing method and program
CN113658064A (en) Texture image generation method and device and electronic equipment
JP2014033357A (en) Video signal processor and video signal processing method
KR100506327B1 (en) Video signal contour corrector
JP4235217B2 (en) Filtering type image correction apparatus and filtering type image correction method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090319

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090319

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20090413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090608

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101130

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees