JP4414464B2 - Visual processing device, visual processing method, visual processing program, and semiconductor device - Google Patents

Visual processing device, visual processing method, visual processing program, and semiconductor device Download PDF

Info

Publication number
JP4414464B2
JP4414464B2 JP2008010747A JP2008010747A JP4414464B2 JP 4414464 B2 JP4414464 B2 JP 4414464B2 JP 2008010747 A JP2008010747 A JP 2008010747A JP 2008010747 A JP2008010747 A JP 2008010747A JP 4414464 B2 JP4414464 B2 JP 4414464B2
Authority
JP
Japan
Prior art keywords
image
gradation
area
processing
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008010747A
Other languages
Japanese (ja)
Other versions
JP2008108286A5 (en
JP2008108286A (en
Inventor
春生 山下
辰巳 渡辺
祐亮 物部
武志 井東
章夫 小嶋
康浩 桑原
俊晴 黒沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2008010747A priority Critical patent/JP4414464B2/en
Publication of JP2008108286A publication Critical patent/JP2008108286A/en
Publication of JP2008108286A5 publication Critical patent/JP2008108286A5/ja
Application granted granted Critical
Publication of JP4414464B2 publication Critical patent/JP4414464B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、視覚処理装置、特に、画像信号の階調処理を行う視覚処理装置に関する。また、別の本発明は、視覚処理方法、視覚処理プログラムおよび半導体装置に関する。   The present invention relates to a visual processing device, and more particularly to a visual processing device that performs gradation processing of an image signal. The present invention also relates to a visual processing method, a visual processing program, and a semiconductor device.

原画像の画像信号の視覚処理として、空間処理と階調処理とが知られている。
空間処理とは、処理対象となる対象画素の周辺の画素を用い、対象画素の処理を行うことである。また、空間処理された画像信号を用いて、原画像のコントラスト強調、ダイナミックレンジ(DR)圧縮など行う技術が知られている。コントラスト強調では、原画像とボケ信号との差分(画像の鮮鋭成分)を原画像に加え、画像の鮮鋭化が行われる。DR圧縮では、原画像からボケ信号の一部が減算され、ダイナミックレンジの圧縮が行われる。
階調処理とは、対象画素の周辺の画素とは無関係に、対象画素毎にルックアップテーブル(LUT)などを用いて画素値の変換を行う処理であり、ガンマ補正と呼ばれることもある。例えば、コントラスト強調する場合、原画像での出現頻度の高い階調レベルの階調を強調するLUTを用いて画素値の変換が行われる。LUTを用いた階調処理として、原画像全体に1つのLUTを決定して用いる階調処理(ヒストグラム均等化法)と、原画像を複数に分割した画像領域のそれぞれについてLUTを決定して用いる階調処理(局所的ヒストグラム均等化法)とが知られている(例えば、特許文献1参照。)。
As visual processing of an image signal of an original image, spatial processing and gradation processing are known.
Spatial processing is to perform processing of a target pixel using pixels around the target pixel to be processed. Further, a technique for performing contrast enhancement of an original image, dynamic range (DR) compression, or the like using a spatially processed image signal is known. In contrast enhancement, the difference between the original image and the blur signal (sharp component of the image) is added to the original image to sharpen the image. In DR compression, a part of the blur signal is subtracted from the original image, and dynamic range compression is performed.
The gradation processing is processing for converting pixel values using a lookup table (LUT) or the like for each target pixel regardless of the surrounding pixels of the target pixel, and is sometimes called gamma correction. For example, when contrast enhancement is performed, pixel values are converted using an LUT that enhances gradations having a high gradation frequency in the original image. As gradation processing using the LUT, gradation processing (histogram equalization method) that determines and uses one LUT for the entire original image, and determines and uses the LUT for each of the image areas obtained by dividing the original image into a plurality of parts. Gradation processing (local histogram equalization method) is known (for example, refer to Patent Document 1).

図33〜図36を用いて、原画像を複数に分割した画像領域のそれぞれについてLUTを決定して用いる階調処理について説明する。
図33に、原画像を複数に分割した画像領域のそれぞれについてLUTを決定して用いる視覚処理装置300を示す。視覚処理装置300は、入力信号ISとして入力される原画像を複数の画像領域Sm(1≦m≦n:nは原画像の分割数)に分割する画像分割部301と、それぞれの画像領域Smに対して階調変換曲線Cmを導出する階調変換曲線導出部310と、階調変換曲線Cmをロードしそれぞれの画像領域Smに対して階調処理した出力信号OSを出力する階調処理部304とを備えている。階調変換曲線導出部310は、それぞれの画像領域Sm内の明度ヒストグラムHmを作成するヒストグラム作成部302と、作成された明度ヒストグラムHmからそれぞれの画像領域Smに対する階調変換曲線Cmを作成する階調曲線作成部303とから構成される。
With reference to FIGS. 33 to 36, a description will be given of the gradation processing for determining and using the LUT for each of the image regions obtained by dividing the original image into a plurality of parts.
FIG. 33 shows a visual processing device 300 that determines and uses an LUT for each of image areas obtained by dividing an original image into a plurality of parts. The visual processing device 300 divides an original image input as the input signal IS into a plurality of image regions Sm (1 ≦ m ≦ n: n is the number of divisions of the original image), and each image region Sm. A gradation conversion curve deriving unit 310 for deriving a gradation conversion curve Cm, and a gradation processing unit for loading the gradation conversion curve Cm and outputting an output signal OS obtained by performing gradation processing on each image region Sm 304. The gradation conversion curve deriving unit 310 creates a lightness histogram Hm in each image area Sm, and a floor for creating a gradation conversion curve Cm for each image area Sm from the created lightness histogram Hm. And an adjustment curve creation unit 303.

図34〜図36を用いて、各部の動作について説明を加える。画像分割部301は、入力信号ISとして入力される原画像を複数(n個)の画像領域に分割する(図34(a)参照。)。ヒストグラム作成部302は、それぞれの画像領域Smの明度ヒストグラムHmを作成する(図35参照。)。それぞれの明度ヒストグラムHmは、画像領域Sm内の全画素の明度値の分布状態を示している。すなわち、図35(a)〜(d)に示す明度ヒストグラムHmにおいて、横軸は入力信号ISの明度レベルを、縦軸は画素数を示している。階調曲線作成部303は、明度ヒストグラムHmの「画素数」を明度の順に累積し、この累積曲線を階調変換曲線Cmとする(図36参照。)。図36に示す階調変換曲線Cmにおいて、横軸は入力信号ISにおける画像領域Smの画素の明度値を、縦軸は出力信号OSにおける画像領域Smの画素の明度値を示している。階調処理部304は、階調変換曲線Cmをロードし階調変換曲線Cmに基づいて、入力信号ISにおける画像領域Smの画素の明度値を変換する。こうすることにより、各ブロックにおいて出現頻度の高い階調の傾きを立てることとなり、ブロックごとのコントラスト感が向上するものである。
特開2000−57335号公報(第3頁,第13図〜第16図)
The operation of each part will be described with reference to FIGS. The image dividing unit 301 divides the original image input as the input signal IS into a plurality (n) of image regions (see FIG. 34A). The histogram creation unit 302 creates a brightness histogram Hm for each image region Sm (see FIG. 35). Each brightness histogram Hm shows the distribution state of brightness values of all pixels in the image area Sm. That is, in the brightness histogram Hm shown in FIGS. 35A to 35D, the horizontal axis indicates the brightness level of the input signal IS, and the vertical axis indicates the number of pixels. The gradation curve creation unit 303 accumulates the “number of pixels” of the brightness histogram Hm in the order of brightness, and sets this accumulated curve as the gradation conversion curve Cm (see FIG. 36). In the gradation conversion curve Cm shown in FIG. 36, the horizontal axis indicates the brightness value of the pixel in the image area Sm in the input signal IS, and the vertical axis indicates the brightness value of the pixel in the image area Sm in the output signal OS. The gradation processing unit 304 loads the gradation conversion curve Cm and converts the brightness value of the pixel in the image area Sm in the input signal IS based on the gradation conversion curve Cm. By doing so, the gradient of the frequently occurring gradation is set in each block, and the sense of contrast for each block is improved.
JP 2000-57335 A (page 3, FIGS. 13 to 16)

ヒストグラム作成部302では、画像領域Sm内の画素の明度ヒストグラムHmから階調変換曲線Cmを作成する。画像領域Smに適用する階調変換曲線Cmをより適切に作成するには、画像の暗部(シャドー)から明部(ハイライト)までを満遍なく有していることが必要であり、より多くの画素を参照する必要がある。このため、それぞれの画像領域Smをあまり小さくすることができない、すなわち原画像の分割数nをあまり大きくすることができない。分割数nとしては、画像内容によって異なるが、経験的に、4〜16の分割数が用いられている。
それぞれの画像領域Smをあまり小さくすることができないため、階調処理後の出力信号OSにおいては、次の問題が発生することがある。すなわち、それぞれの画像領域Smごとに1つの階調変換曲線Cmを用いて階調処理するため、それぞれの画像領域Smの境界のつなぎ目が不自然に目立ったり、画像領域Sm内で疑似輪郭が発生する場合がある。また、分割数がせいぜい4〜16では画像領域Smが大きいため、画像領域間で極端に異なる画像が存在する場合、画像領域間の濃淡変化が大きく、擬似輪郭の発生を防止することが難しい。例えば、図34(b)、図34(c)のように、画像(例えば、画像中の物体など)と画像領域Smとの位置関係で極端に濃淡が変化する。
The histogram creation unit 302 creates a gradation conversion curve Cm from the brightness histogram Hm of the pixels in the image area Sm. In order to more appropriately create the gradation conversion curve Cm to be applied to the image area Sm, it is necessary to have all the pixels from the dark part (shadow) to the bright part (highlight) of the image. Need to refer to. For this reason, each image area Sm cannot be made very small, that is, the original image division number n cannot be made too large. The division number n varies depending on the image content, but empirically, a division number of 4 to 16 is used.
Since each image area Sm cannot be made very small, the following problem may occur in the output signal OS after gradation processing. That is, since gradation processing is performed using one gradation conversion curve Cm for each image region Sm, the boundary of the boundary of each image region Sm is unnaturally noticed, or a pseudo contour is generated in the image region Sm. There is a case. In addition, since the image area Sm is large when the number of divisions is 4 to 16 at most, when there are extremely different images between the image areas, the shading change between the image areas is large, and it is difficult to prevent the occurrence of the pseudo contour. For example, as shown in FIGS. 34 (b) and 34 (c), the density changes extremely depending on the positional relationship between the image (for example, an object in the image) and the image region Sm.

そこで、本発明では、さらに視覚的効果を向上させる階調処理を実現する視覚処理装置を提供することを課題とする。   Accordingly, an object of the present invention is to provide a visual processing device that realizes gradation processing that further improves the visual effect.

第1の発明は、画像分割部と、選択信号導出部と、階調処理部と、を含む視覚処理装置である。画像分割部は、入力画像を複数の画像領域に分割する。選択信号導出部は、画像領域のうち階調処理の対象となる対象画像領域の周囲の複数の画像領域を少なくとも含む広域画像領域の特徴パラメータを用いて、対象画像領域に適用される階調変換曲線を選択するための選択信号を決定する。階調処理部は、対象画像領域に含まれる画素値である入力信号と選択信号とを入力し、入力信号を階調変換曲線により階調処理する。
第2の発明は、第1の発明であって、広域画像領域は、対象画像領域を中心に、画像領域を垂直方向に5個以上及び画像領域を水平方向に5個以上含む領域である。
第3の発明は、第1または第2の発明であって、画像分割部は、入力画像データを、「16」より大きなブロック数に画像データを分割する。
A first invention is a visual processing device including an image dividing unit, a selection signal deriving unit, and a gradation processing unit. The image dividing unit divides the input image into a plurality of image areas. The selection signal deriving unit uses the feature parameters of the wide-area image region including at least a plurality of image regions around the target image region to be subjected to gradation processing in the image region, and performs gradation conversion applied to the target image region. A selection signal for selecting a curve is determined. The gradation processing unit inputs an input signal that is a pixel value included in the target image region and a selection signal, and performs gradation processing on the input signal using a gradation conversion curve.
2nd invention is 1st invention, Comprising: A wide area | region image area | region is an area | region including 5 or more image areas in a vertical direction and 5 or more image areas in a horizontal direction centering | focusing on an object image area | region.
3rd invention is 1st or 2nd invention, Comprising: An image division part divides | segments input image data into image data larger than "16".

第4の発明は、第1の発明であって、広域画像領域は、対象画像領域を含まない対象画像領域の周囲の画像領域である。
第5の発明は、第1から第4のいずれかの発明であって、特徴パラメータは、広域画像領域の平均明度値である。
第6の発明は、第5の発明であって、選択信号導出部は、分割された画像領域毎に平均明度を導出し、複数の平均明度から平均明度を導出する。
第7の発明は、第6の発明であって、選択信号導出部は、対象画像領域の平均明度値と大きく異なる平均明度値を有する画像領域の平均明度に対し、重み付けを小さくあるいは「0」として、広域画像領域の平均明度を導出する。
第8の発明は、第1から第4のいずれかの発明であって、選択信号導出部は、分割された画像領域毎に特徴データを導出し、対象画像領域の特徴データと大きく異なる特徴データを有する画像領域の特徴データに対し、重み付けを小さくあるいは「0」として、広域画像領域の特徴パラメータを導出する。
4th invention is 1st invention, Comprising: A wide area | region image area | region is an image area | region around the target image area | region which does not contain a target image area | region.
The fifth invention is any one of the first to fourth inventions, wherein the characteristic parameter is an average brightness value of the wide area image region.
The sixth invention is the fifth invention, wherein the selection signal deriving unit derives the average brightness for each of the divided image areas, and derives the average brightness from the plurality of average brightness.
The seventh invention is the sixth invention, wherein the selection signal deriving unit reduces the weighting to an average brightness of an image area having an average brightness value significantly different from the average brightness value of the target image area, or “0”. The average brightness of the wide area image area is derived as follows.
The eighth invention is any one of the first to fourth inventions, wherein the selection signal deriving unit derives the feature data for each of the divided image areas, and the feature data that is significantly different from the feature data of the target image area The feature parameter of the wide area image area is derived by setting the weighting to be small or “0” for the characteristic data of the image area having.

第9の発明は、第1から第4のいずれかの発明であって、選択信号導出部は、分割された画像領域毎に特徴データを導出し、対象画像領域と距離が離れた画像領域の特徴データに対し、重み付けを小さくあるいは「0」として、広域画像領域の特徴パラメータを導出する。
第10の発明は、第1から第9のいずれかの発明であって、更に、対象画像領域に対して決定された選択信号を画素単位に補正する選択信号補正部を備える。
第11の発明は、第10の発明であって、選択信号補正部は、対象画像領域の周囲の複数の画像領域を、選択信号の決定のみを行う仮の対象画像領域とし、仮の対象画像領域に対する広域画像領域の特徴パラメータにより決定されたそれぞれの選択信号を求め、対象画像領域が含む画素の位置座標により、仮の対象画像領域および対象画像領域に対して決定されたそれぞれの選択信号を内分することで、前期対象画像領域に対して決定された選択信号を画素単位に補正する。
A ninth invention is any one of the first to fourth inventions, wherein the selection signal deriving unit derives the feature data for each of the divided image areas, and the image area is separated from the target image area. For the feature data, the feature parameter of the wide area image area is derived with a small weight or “0”.
A tenth aspect of the invention is any one of the first to ninth aspects of the invention, and further includes a selection signal correction unit that corrects the selection signal determined for the target image area in units of pixels.
The eleventh invention is the tenth invention, wherein the selection signal correction unit sets a plurality of image areas around the target image area as a temporary target image area for performing only selection signal determination, and sets the temporary target image. Each selection signal determined by the feature parameter of the wide area image area with respect to the area is obtained, and each of the selection signals determined for the provisional target image area and the target image area is determined by the position coordinates of the pixels included in the target image area. By performing the internal division, the selection signal determined for the target image area in the previous period is corrected in units of pixels.

第12の発明は、第1から第11のいずれかの発明であって、階調処理部は、選択信号を入力し、階調処理信号を出力する階調処理実行部と、階調処理信号の階調を補正した出力信号を出力する階調補正部と、を含む。
第13の発明は、第1から第12のいずれかの発明であって、階調処理部は、対象画像領域を含む周辺の画像領域に対する複数の選択信号を入力し、複数の階調処理信号を出力する階調処理実行部と、複数の階調処理信号を用いて対象画像領域が含む画素の位置に応じて階調を補正した出力信号を出力する階調補正部と、を含む。
第14の発明は、画像分割部と、階調変換特性導出部と、階調処理部と、を含む視覚処理装置である。画像分割部は、入力画像データから第1の領域を抽出する。階調変換特性導出部は、第1の領域に含まれる複数の画素値の変換特性を、少なくとも第1の領域に対する周辺画像領域の画像データあるいは画像データから導出されるデータを用いて決定する。階調処理部は、第1の領域に含まれる対象画素を変換特性により階調変換する。
A twelfth aspect of the invention is any one of the first to eleventh aspects of the invention, wherein the gradation processing unit receives a selection signal and outputs a gradation processing signal, and a gradation processing signal. And a tone correction unit that outputs an output signal in which the tone is corrected.
A thirteenth invention is any one of the first to twelfth inventions, wherein the gradation processing unit inputs a plurality of selection signals for peripheral image areas including the target image area, and a plurality of gradation processing signals. And a gradation correction unit that outputs an output signal in which gradation is corrected according to the position of the pixel included in the target image region using a plurality of gradation processing signals.
A fourteenth invention is a visual processing device including an image dividing unit, a gradation conversion characteristic deriving unit, and a gradation processing unit. The image dividing unit extracts the first region from the input image data. The gradation conversion characteristic deriving unit determines conversion characteristics of a plurality of pixel values included in the first area using at least image data of the peripheral image area for the first area or data derived from the image data. The gradation processing unit performs gradation conversion on the target pixel included in the first area based on conversion characteristics.

第15の発明は、第14の発明であって、第1の領域に隣接する第2の領域に含まれる画素の画素値の変換特性を、第1の領域の変換特性の決定に用いた周辺画像領域と重なる画素を有する新たな周辺画像領域の画素値を用いて決定する。
第16の発明は、第14の発明であって、階調変換特性導出部は、第1の領域に含まれる複数の画素値の変換特性を、第1の領域の周辺画像領域の画像データのサンプリングデータを用いて決定する。
第17の発明は、画像分割部と、階調変換特性導出部と、階調処理部と、を備える視覚処理装置である。画像分割部は、入力画像データを複数の画像領域に分割する。階調変換特性導出部は、処理対象画素を含む画像領域である対象画像領域Pmの周辺に複数の画像領域を含む広域画像領域を設定し、対象画像領域を含む広域画像領域の画像データを用いて対象画像領域の階調変換特性を決定する。階調処理部は、階調変換特性を用いて、対象画像領域に含まれる対象画素の階調変換を行う。
A fifteenth aspect of the invention is the fourteenth aspect of the invention, wherein the conversion characteristics of the pixel values of the pixels included in the second area adjacent to the first area are used for determining the conversion characteristics of the first area. This is determined using the pixel value of a new peripheral image area having pixels that overlap the image area.
In a sixteenth aspect based on the fourteenth aspect, the gradation conversion characteristic deriving unit converts the conversion characteristic of the plurality of pixel values included in the first area into the image data of the peripheral image area of the first area. Determined using sampling data.
A seventeenth aspect of the invention is a visual processing device that includes an image dividing unit, a gradation conversion characteristic deriving unit, and a gradation processing unit. The image dividing unit divides input image data into a plurality of image regions. The gradation conversion characteristic deriving unit sets a wide area image area including a plurality of image areas around the target image area Pm, which is an image area including the processing target pixel, and uses image data of the wide area image area including the target image area. The gradation conversion characteristics of the target image area are determined. The gradation processing unit performs gradation conversion of the target pixel included in the target image region using the gradation conversion characteristic.

第18の発明は、第17の発明であって、階調変換特性導出部は、対象画像領域を中心に、画像領域を垂直方向に5個以上及び画像領域を水平方向に5個以上含む領域を用いて広域画像領域を設定する。
第19の発明は、第17または第18の発明であって、画像データは、広域画像領域の明度ヒストグラムである。
第20の発明は、第17から第20のいずれかの発明であって、階調変換特性導出部は、広域画像領域の明度ヒストグラムを作成するヒストグラム作成部と、明度ヒストグラムから対象画像領域に適用する階調変換曲線を作成する階調曲線作成部と、を含む。
第21の発明は、視覚処理装置で用いられる階調処理方法であって、入力画像を複数の画像領域に分割する工程と、選択信号を決定する工程と、階調処理する工程と、を含む。選択信号を決定する工程では、画像領域のうち階調処理の対象となる対象画像領域の周囲の複数の画像領域からなり、対象画像領域を含む、または含まない広域画像領域の特徴パラメータを用いて、対象画像領域に適用される階調変換曲線を選択するための選択信号を決定する。階調処理する工程では、対象画像領域に含まれる画素値である入力信号と選択信号とを入力し、入力信号を階調変換曲線により階調処理する。
An eighteenth aspect is the seventeenth aspect, wherein the gradation conversion characteristic deriving unit includes at least five image areas in the vertical direction and five or more image areas in the horizontal direction, with the target image area as a center. A wide image area is set using.
The nineteenth invention is the seventeenth or eighteenth invention, wherein the image data is a brightness histogram of a wide area image region.
The twentieth invention is the invention according to any one of the seventeenth to twentieth inventions, wherein the gradation conversion characteristic deriving unit is applied to the target image region from the histogram creating unit that creates the brightness histogram of the wide area image region. A gradation curve creating unit that creates a gradation conversion curve to be performed.
A twenty-first invention is a gradation processing method used in a visual processing device, and includes a step of dividing an input image into a plurality of image regions, a step of determining a selection signal, and a step of gradation processing. . The step of determining the selection signal includes a plurality of image areas around the target image area to be subjected to gradation processing in the image area, and using the feature parameters of the wide area image area including or not including the target image area. Then, a selection signal for selecting a gradation conversion curve to be applied to the target image area is determined. In the gradation processing step, an input signal that is a pixel value included in the target image region and a selection signal are input, and the input signal is subjected to gradation processing using a gradation conversion curve.

第22の発明は、コンピュータに、入力画像を複数の画像領域に分割するステップと、選択信号を決定するステップと、階調処理するステップと、実行させるためのプログラムである。選択信号を決定するステップでは、画像領域のうち階調処理の対象となる対象画像領域の周囲の複数の画像領域からなり、対象画像領域を含む、または含まない広域画像領域の特徴パラメータを用いて、対象画像領域に適用される階調変換曲線を選択するための選択信号を決定する。階調処理するステップでは、対象画像領域に含まれる画素値である入力信号と選択信号とを入力し、入力信号を階調変換曲線により階調処理する。
第23の発明は、視覚処理装置で用いられる半導体装置であって、入力画像を複数の画像領域に分割する処理と、選択信号を決定する処理と、階調処理する処理と、を実行する。選択信号を決定する処理では、画像領域のうち階調処理の対象となる対象画像領域の周囲の複数の画像領域からなり、対象画像領域を含む、または含まない広域画像領域の特徴パラメータを用いて、対象画像領域に適用される階調変換曲線を選択するための選択信号を決定する。階調処理する処理では、対象画像領域に含まれる画素値である入力信号と選択信号とを入力し、入力信号を階調変換曲線により階調処理する。
A twenty-second invention is a program for causing a computer to execute a step of dividing an input image into a plurality of image regions, a step of determining a selection signal, a step of gradation processing. In the step of determining the selection signal, a plurality of image areas around the target image area to be subjected to gradation processing among the image areas are used, and feature parameters of the wide area image area including or not including the target image area are used. Then, a selection signal for selecting a gradation conversion curve to be applied to the target image area is determined. In the gradation processing step, an input signal that is a pixel value included in the target image region and a selection signal are input, and the input signal is subjected to gradation processing using a gradation conversion curve.
A twenty-third invention is a semiconductor device used in a visual processing device, and executes processing for dividing an input image into a plurality of image regions, processing for determining a selection signal, and processing for gradation processing. In the process of determining the selection signal, a plurality of image areas around the target image area to be subjected to the gradation process among the image areas are used, and feature parameters of the wide area image area including or not including the target image area are used. Then, a selection signal for selecting a gradation conversion curve to be applied to the target image area is determined. In the gradation processing, an input signal that is a pixel value included in the target image area and a selection signal are input, and the input signal is subjected to gradation processing using a gradation conversion curve.

本発明の視覚処理装置により、さらに視覚的効果を向上させる階調処理を実現することが可能となる。   The visual processing device of the present invention makes it possible to realize gradation processing that further improves the visual effect.

[第1実施形態]
本発明の第1実施形態としての視覚処理装置1について図1〜図5を用いて説明する。視覚処理装置1は、例えば、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDAなど、画像を取り扱う機器に内蔵、あるいは接続されて、画像の階調処理を行う装置である。視覚処理装置1は、従来に比して細かく分割された画像領域のそれぞれについて階調処理を行う点を特徴として有している。
〈構成〉
図1に、視覚処理装置1の構造を説明するブロック図を示す。視覚処理装置1は、入力信号ISとして入力される原画像を複数の画像領域Pm(1≦m≦n:nは原画像の分割数)に分割する画像分割部2と、それぞれの画像領域Pmに対して階調変換曲線Cmを導出する階調変換曲線導出部10と、階調変換曲線Cmをロードしそれぞれの画像領域Pmに対して階調処理した出力信号OSを出力する階調処理部5とを備えている。階調変換曲線導出部10は、それぞれの画像領域Pmと画像領域Pm周辺の画像領域とから構成される広域画像領域Emの画素の明度ヒストグラムHmを作成するヒストグラム作成部3と、作成された明度ヒストグラムHmからそれぞれの画像領域Pmに対する階調変換曲線Cmを作成する階調曲線作成部4とから構成される。
[First Embodiment]
A visual processing device 1 as a first embodiment of the present invention will be described with reference to FIGS. The visual processing device 1 is a device that performs gradation processing of an image by being incorporated in or connected to a device that handles images, such as a computer, a television, a digital camera, a mobile phone, and a PDA. The visual processing device 1 is characterized in that gradation processing is performed on each of the image areas finely divided as compared with the conventional art.
<Constitution>
FIG. 1 is a block diagram illustrating the structure of the visual processing device 1. The visual processing device 1 includes an image dividing unit 2 that divides an original image input as an input signal IS into a plurality of image regions Pm (1 ≦ m ≦ n: n is the number of divisions of the original image), and each image region Pm. A gradation conversion curve deriving unit 10 for deriving a gradation conversion curve Cm, and a gradation processing unit for loading the gradation conversion curve Cm and outputting an output signal OS obtained by performing gradation processing on each image region Pm. And 5. The gradation conversion curve deriving unit 10 creates a brightness histogram Hm of pixels in the wide-area image region Em composed of the respective image regions Pm and image regions around the image region Pm, and the created brightness. The gradation curve creating unit 4 creates a gradation conversion curve Cm for each image region Pm from the histogram Hm.

〈作用〉
図2〜図4を用いて、各部の動作について説明を加える。画像分割部2は、入力信号ISとして入力される原画像を複数(n個)の画像領域Pmに分割する(図2参照。)。ここで、原画像の分割数は、図33に示す従来の視覚処理装置300の分割数(例えば、4〜16分割)よりも多く、例えば、横方向に80分割し縦方向に60分割する4800分割などである。
ヒストグラム作成部3は、それぞれの画像領域Pmに対して広域画像領域Emの明度ヒストグラムHmを作成する。ここで、広域画像領域Emとは、それぞれの画像領域Pmを含む複数の画像領域の集合であり、例えば、画像領域Pmを中心とする縦方向5ブロック、横方向5ブロックの25個の画像領域の集合である。なお、画像領域Pmの位置によっては、画像領域Pmの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Emを取ることができない場合がある。例えば、原画像の周辺に位置する画像領域Plに対して、画像領域Plの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Elを取ることができない。この場合には、画像領域Plを中心とする縦方向5ブロック横方向5ブロックの領域と原画像とが重なる領域が広域画像領域Elとして採用される。ヒストグラム作成部3が作成する明度ヒストグラムHmは広域画像領域Em内の全画素の明度値の分布状態を示している。すなわち、図3(a)〜(c)に示す明度ヒストグラムHmにおいて、横軸は入力信号ISの明度レベルを、縦軸は画素数を示している。
<Action>
The operation of each part will be described with reference to FIGS. The image dividing unit 2 divides the original image input as the input signal IS into a plurality (n) of image regions Pm (see FIG. 2). Here, the number of divisions of the original image is larger than the number of divisions (for example, 4 to 16 divisions) of the conventional visual processing device 300 shown in FIG. 33. For example, 4800 is divided into 80 in the horizontal direction and 60 in the vertical direction. Such as division.
The histogram creation unit 3 creates a brightness histogram Hm of the wide-area image region Em for each image region Pm. Here, the wide area image area Em is a set of a plurality of image areas including the respective image areas Pm. For example, 25 image areas having 5 blocks in the vertical direction and 5 blocks in the horizontal direction centering on the image area Pm. Is a set of Depending on the position of the image area Pm, there may be a case where the wide area image area Em of 5 blocks in the vertical direction and 5 blocks in the horizontal direction cannot be taken around the image area Pm. For example, with respect to the image area Pl located around the original image, it is not possible to take a wide area image area El of 5 blocks in the vertical direction and 5 blocks in the horizontal direction around the image area Pl. In this case, an area where the area of 5 blocks in the vertical direction and 5 blocks in the horizontal direction centering on the image area Pl overlaps with the original image is adopted as the wide area image area El. The brightness histogram Hm created by the histogram creation unit 3 indicates the distribution state of the brightness values of all the pixels in the wide area image area Em. That is, in the brightness histograms Hm shown in FIGS. 3A to 3C, the horizontal axis indicates the brightness level of the input signal IS, and the vertical axis indicates the number of pixels.

階調曲線作成部4は、広域画像領域Emの明度ヒストグラムHmの「画素数」を明度の順に累積し、この累積曲線を画像領域Pmの階調変換曲線Cmとする(図4参照。)。図4に示す階調変換曲線Cmにおいて、横軸は入力信号ISにおける画像領域Pmの画素の明度値を、縦軸は出力信号OSにおける画像領域Pmの画素の明度値を示している。階調処理部5は、階調変換曲線Cmをロードし階調変換曲線Cmに基づいて、入力信号ISにおける画像領域Pmの画素の明度値を変換する。
〈視覚処理方法および視覚処理プログラム〉
図5に、視覚処理装置1における視覚処理方法を説明するフローチャートを示す。図5に示す視覚処理方法は、視覚処理装置1においてハードウェアにより実現され、入力信号IS(図1参照)の階調処理を行う方法である。図5に示す視覚処理方法では、入力信号ISは、画像単位で処理される(ステップS10〜S16)。入力信号ISとして入力される原画像は、複数の画像領域Pm(1≦m≦n:nは原画像の分割数)に分割され(ステップS11)、画像領域Pm毎に階調処理される(ステップS12〜S15)。
The gradation curve creating unit 4 accumulates the “number of pixels” of the brightness histogram Hm of the wide area image area Em in the order of brightness, and uses this accumulated curve as the gradation conversion curve Cm of the image area Pm (see FIG. 4). In the gradation conversion curve Cm shown in FIG. 4, the horizontal axis indicates the brightness value of the pixel in the image area Pm in the input signal IS, and the vertical axis indicates the brightness value of the pixel in the image area Pm in the output signal OS. The gradation processing unit 5 loads the gradation conversion curve Cm, and converts the brightness value of the pixel in the image region Pm in the input signal IS based on the gradation conversion curve Cm.
<Visual processing method and visual processing program>
FIG. 5 is a flowchart illustrating a visual processing method in the visual processing device 1. The visual processing method shown in FIG. 5 is realized by hardware in the visual processing device 1 and is a method for performing gradation processing of the input signal IS (see FIG. 1). In the visual processing method shown in FIG. 5, the input signal IS is processed in units of images (steps S10 to S16). The original image input as the input signal IS is divided into a plurality of image regions Pm (1 ≦ m ≦ n: n is the number of divisions of the original image) (step S11), and gradation processing is performed for each image region Pm (step S11). Steps S12 to S15).

それぞれの画像領域Pmと画像領域Pm周辺の画像領域とから構成される広域画像領域Emの画素の明度ヒストグラムHmが作成される(ステップS12)。さらに、明度ヒストグラムHmに基づいて、それぞれの画像領域Pmに対する階調変換曲線Cmが作成される(ステップS13)。ここで、明度ヒストグラムHmおよび階調変換曲線Cmについては、説明を省略する(上記〈作用〉の欄参照。)。作成された階調変換曲線Cmを用いて、画像領域Pmの画素について階調処理が行われる(ステップS14)。さらに、全ての画像領域Pmについての処理が終了したか否かを判定し(ステップS15)、処理が終了したと判定されるまで、ステップS12〜S15の処理を原画像の分割数回繰り返す。以上により、画像単位の処理が終了する(ステップS16)。
なお、図5に示す視覚処理方法のそれぞれのステップは、コンピュータなどにより、視覚処理プログラムとして実現されるものであっても良い。
A brightness histogram Hm of the pixels of the wide area image area Em composed of the respective image areas Pm and the image areas around the image area Pm is created (step S12). Further, a gradation conversion curve Cm for each image region Pm is created based on the lightness histogram Hm (step S13). Here, the description of the lightness histogram Hm and the gradation conversion curve Cm is omitted (see the section <Action> above). Using the created gradation conversion curve Cm, gradation processing is performed on the pixels in the image region Pm (step S14). Further, it is determined whether or not the processing for all the image regions Pm has been completed (step S15), and the processing of steps S12 to S15 is repeated several times until the processing is determined to be completed. Thus, the processing for each image is completed (step S16).
Note that each step of the visual processing method shown in FIG. 5 may be realized as a visual processing program by a computer or the like.

〈効果〉
(1)
階調変換曲線Cmは、それぞれの画像領域Pmに対して作成される。このため、原画像全体に対して同一の階調変換を行う場合に比して、適切な階調処理を行うことが可能となる。
(2)
それぞれの画像領域Pmに対して作成される階調変換曲線Cmは、広域画像領域Emの明度ヒストグラムHmに基づいて作成される。このため、画像領域Pm毎の大きさは小さくとも十分な明度値のサンプリングが可能となる。また、この結果、小さな画像領域Pmに対しても、適切な階調変換曲線Cmを作成することが可能となる。
<effect>
(1)
The gradation conversion curve Cm is created for each image region Pm. Therefore, it is possible to perform appropriate gradation processing as compared with the case where the same gradation conversion is performed on the entire original image.
(2)
The gradation conversion curve Cm created for each image area Pm is created based on the brightness histogram Hm of the wide area image area Em. For this reason, even if the size of each image region Pm is small, sufficient brightness values can be sampled. As a result, an appropriate gradation conversion curve Cm can be created even for a small image region Pm.

(3)
隣接する画像領域に対する広域画像領域は、重なりを有している。このため、隣接する画像領域に対する階調変換曲線は、お互いに似通った傾向を示すことが多い。このため、画像領域毎の階調処理に空間処理的効果を加えることが可能となり隣接する画像領域の境界のつなぎ目が不自然に目立つことが防止可能となる。
(4)
それぞれの画像領域Pmの大きさは、従来に比して小さい。このため、画像領域Pm内での疑似輪郭の発生を抑えることが可能となる。
〈変形例〉
本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の変形が可能である。
(3)
Wide area image areas with respect to adjacent image areas have an overlap. For this reason, the tone conversion curves for adjacent image regions often show similar tendencies. For this reason, it is possible to add a spatial processing effect to the gradation processing for each image region, and it is possible to prevent the boundary between adjacent image regions from being unnaturally conspicuous.
(4)
The size of each image region Pm is smaller than in the past. For this reason, it becomes possible to suppress generation | occurrence | production of the pseudo contour in the image area | region Pm.
<Modification>
The present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention.

(1)
上記実施形態では、原画像の分割数の一例として、4800分割としたが、本発明の効果は、この場合に限定されるものではなく、他の分割数でも同様の効果を得ることが可能である。なお、階調処理の処理量と視覚的効果とは分割数についてトレードオフの関係にある。すなわち、分割数を増やすと階調処理の処理量は増加するがより良好な視覚的効果(例えば、疑似輪郭の抑制など)を得ることが可能となる。
(2)
上記実施形態では、広域画像領域を構成する画像領域の個数の一例として、25個としたが、本発明の効果は、この場合に限定されるものではなく、他の個数でも同様の効果を得ることが可能である。
(1)
In the above embodiment, the number of divisions of the original image is 4800 divisions, but the effect of the present invention is not limited to this case, and the same effect can be obtained with other division numbers. is there. Note that the amount of gradation processing and the visual effect are in a trade-off relationship with respect to the number of divisions. That is, when the number of divisions is increased, the amount of gradation processing increases, but a better visual effect (for example, suppression of pseudo contours) can be obtained.
(2)
In the above embodiment, the number of image areas constituting the wide-area image area is 25, but the effect of the present invention is not limited to this case, and the same effect can be obtained with other numbers. It is possible.

[第2実施形態]
本発明の第2実施形態としての視覚処理装置11について図6〜図18を用いて説明する。視覚処理装置11は、例えば、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDAなど、画像を取り扱う機器に内蔵、あるいは接続されて、画像の階調処理を行う装置である。視覚処理装置11は、あらかじめLUTとして記憶した複数の階調変換曲線を切り換えて用いる点を特徴として有している。
〈構成〉
図6に、視覚処理装置11の構造を説明するブロック図を示す。視覚処理装置11は、画像分割部12と、選択信号導出部13と、階調処理部20とを備えている。画像分割部12は、入力信号ISを入力とし、入力信号ISとして入力される原画像を複数に分割した画像領域Pm(1≦m≦n:nは原画像の分割数)を出力とする。選択信号導出部13は、それぞれの画像領域Pmの階調処理に適用される階調変換曲線Cmを選択するための選択信号Smを出力する。階調処理部20は、階調処理実行部14と、階調補正部15とを備えている。階調処理実行部14は、複数の階調変換曲線候補G1〜Gp(pは候補数)を2次元LUTとして備えており、入力信号ISと選択信号Smとを入力とし、それぞれの画像領域Pm内の画素について階調処理した階調処理信号CSを出力とする。階調補正部15は、階調処理信号CSを入力とし、階調処理信号CSの階調を補正した出力信号OSを出力とする。
[Second Embodiment]
A visual processing device 11 as a second embodiment of the present invention will be described with reference to FIGS. The visual processing device 11 is a device that performs gradation processing of an image by being incorporated in or connected to a device that handles images, such as a computer, a television, a digital camera, a mobile phone, and a PDA. The visual processing device 11 is characterized in that a plurality of gradation conversion curves stored in advance as LUTs are switched and used.
<Constitution>
FIG. 6 is a block diagram illustrating the structure of the visual processing device 11. The visual processing device 11 includes an image dividing unit 12, a selection signal deriving unit 13, and a gradation processing unit 20. The image dividing unit 12 receives the input signal IS and outputs an image area Pm (1 ≦ m ≦ n: n is the number of divisions of the original image) obtained by dividing the original image input as the input signal IS into a plurality of parts. The selection signal deriving unit 13 outputs a selection signal Sm for selecting a gradation conversion curve Cm applied to the gradation processing of each image region Pm. The gradation processing unit 20 includes a gradation processing execution unit 14 and a gradation correction unit 15. The gradation processing execution unit 14 includes a plurality of gradation conversion curve candidates G1 to Gp (p is the number of candidates) as a two-dimensional LUT, and receives an input signal IS and a selection signal Sm as input, and each image region Pm. A gradation processing signal CS obtained by performing gradation processing on the pixels inside is output. The gradation correction unit 15 receives the gradation processing signal CS and outputs an output signal OS obtained by correcting the gradation of the gradation processing signal CS.

(階調変換曲線候補について)
図7を用いて、階調変換曲線候補G1〜Gpについて説明する。階調変換曲線候補G1〜Gpは、入力信号ISの画素の明度値と階調処理信号CSの画素の明度値との関係を与える曲線である。図7において、横軸は入力信号ISにおける画素の明度値を、縦軸は階調処理信号CSにおける画素の明度値を示している。階調変換曲線候補G1〜Gpは、添え字について単調減少する関係にあり、全ての入力信号ISの画素の明度値に対して、G1≧G2≧・・・≧Gpの関係を満たしている。例えば、階調変換曲線候補G1〜Gpがそれぞれ入力信号ISの画素の明度値を変数とする「べき関数」であり、Gm=x^(δm)と表される場合(1≦m≦p、xは変数、δmは定数)、δ1≦δ2≦・・・≦δpの関係を満たしている。ここで、入力信号ISの明度値は、値[0.0〜1.0]の範囲であるとする。
(About gradation conversion curve candidates)
The gradation conversion curve candidates G1 to Gp will be described with reference to FIG. The tone conversion curve candidates G1 to Gp are curves that give the relationship between the brightness value of the pixel of the input signal IS and the brightness value of the pixel of the tone processing signal CS. In FIG. 7, the horizontal axis indicates the pixel brightness value in the input signal IS, and the vertical axis indicates the pixel brightness value in the gradation processing signal CS. The gradation conversion curve candidates G1 to Gp are in a monotonically decreasing relationship with respect to the subscripts, and satisfy the relationship of G1 ≧ G2 ≧. For example, the gradation conversion curve candidates G1 to Gp are “power functions” each having the brightness value of the pixel of the input signal IS as a variable, and expressed as Gm = x ^ (δm) (1 ≦ m ≦ p, x is a variable, δm is a constant), and δ1 ≦ δ2 ≦. Here, it is assumed that the lightness value of the input signal IS is in the range of values [0.0 to 1.0].

なお、以上の階調変換曲線候補G1〜Gpの関係は、添え字の大きい階調変換曲線候補について、入力信号ISが小さい場合、若しくは、添え字の小さい階調変換曲線候補について、入力信号ISが大きい場合、において、成立していなくてもよい。このような場合は、ほとんど無く、画質への影響が小さいためである。
階調処理実行部14は、階調変換曲線候補G1〜Gpを2次元LUTとして備えている。すなわち、2次元LUTは、入力信号ISの画素の明度値と階調変換曲線候補G1〜Gpを選択する選択信号Smとに対して、階調処理信号CSの画素の明度値を与えるルックアップテーブル(LUT)である。図8に、この2次元LUTの一例を示す。図8に示す2次元LUT41は、64行64列のマトリクスであり、それぞれの階調変換曲線候補G1〜G64を行方向(横方向)に並べたものとなっている。マトリクスの列方向(縦方向)には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値、すなわち64段階に分けられた入力信号ISの値に対する階調処理信号CSの画素値が並んでいる。階調処理信号CSの画素値は、階調変換曲線候補G1〜Gpが「べき関数」である場合、例えば、値[0.0〜1.0]の範囲の値を有する。
It should be noted that the relationship between the tone conversion curve candidates G1 to Gp described above is that the input signal IS for the tone conversion curve candidate with a large subscript is small when the input signal IS is small, or for the tone conversion curve candidate with a small subscript. When is large, it may not be established. In such a case, there is almost no effect on the image quality.
The gradation processing execution unit 14 includes gradation conversion curve candidates G1 to Gp as a two-dimensional LUT. That is, the two-dimensional LUT is a look-up table that gives the lightness value of the pixel of the gradation processing signal CS to the lightness value of the pixel of the input signal IS and the selection signal Sm for selecting the gradation conversion curve candidates G1 to Gp. (LUT). FIG. 8 shows an example of this two-dimensional LUT. The two-dimensional LUT 41 shown in FIG. 8 is a matrix of 64 rows and 64 columns, and the respective tone conversion curve candidates G1 to G64 are arranged in the row direction (horizontal direction). In the column direction (vertical direction) of the matrix, for example, the value of the upper 6 bits of the pixel value of the input signal IS represented by 10 bits, that is, the value of the gradation processing signal CS corresponding to the value of the input signal IS divided into 64 stages. Pixel values are lined up. The pixel value of the gradation processing signal CS has a value in the range of [0.0 to 1.0], for example, when the gradation conversion curve candidates G1 to Gp are “power functions”.

〈作用〉
各部の動作について説明を加える。画像分割部12は、図1の画像分割部2とほぼ同様に動作し、入力信号ISとして入力される原画像を複数(n個)の画像領域Pmに分割する(図2参照)。ここで、原画像の分割数は、図33に示す従来の視覚処理装置300の分割数(例えば、4〜16分割)よりも多く、例えば、横方向に80分割し縦方向に60分割する4800分割などである。
選択信号導出部13は、それぞれの画像領域Pmに対して適用される階調変換曲線Cmを階調変換曲線候補G1〜Gpの中から選択する。具体的には、選択信号導出部13は、画像領域Pmの広域画像領域Emの平均明度値を計算し、計算された平均明度値に応じて階調変換曲線候補G1〜Gpのいずれかの選択を行う。すなわち、階調変換曲線候補G1〜Gpは、広域画像領域Emの平均明度値に関連づけられており、平均明度値が大きくなるほど、添え字の大きい階調変換曲線候補G1〜Gpが選択される。
<Action>
The operation of each part will be described. The image dividing unit 12 operates in substantially the same manner as the image dividing unit 2 in FIG. 1, and divides the original image input as the input signal IS into a plurality (n) of image regions Pm (see FIG. 2). Here, the number of divisions of the original image is larger than the number of divisions (for example, 4 to 16 divisions) of the conventional visual processing device 300 shown in FIG. 33. For example, 4800 is divided into 80 in the horizontal direction and 60 in the vertical direction. Such as division.
The selection signal deriving unit 13 selects a gradation conversion curve Cm to be applied to each image region Pm from the gradation conversion curve candidates G1 to Gp. Specifically, the selection signal deriving unit 13 calculates the average brightness value of the wide area image area Em of the image area Pm, and selects any one of the gradation conversion curve candidates G1 to Gp according to the calculated average brightness value. I do. That is, the tone conversion curve candidates G1 to Gp are associated with the average brightness value of the wide area image region Em, and the tone conversion curve candidates G1 to Gp with larger subscripts are selected as the average brightness value increases.

ここで、広域画像領域Emとは、[第1実施形態]において図2を用いて説明したのと同様である。すなわち、広域画像領域Emは、それぞれの画像領域Pmを含む複数の画像領域の集合であり、例えば、画像領域Pmを中心とする縦方向5ブロック、横方向5ブロックの25個の画像領域の集合である。なお、画像領域Pmの位置によっては、画像領域Pmの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Emを取ることができない場合がある。例えば、原画像の周辺に位置する画像領域Plに対して、画像領域Plの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Elを取ることができない。この場合には、画像領域Plを中心とする縦方向5ブロック横方向5ブロックの領域と原画像とが重なる領域が広域画像領域Elとして採用される。
選択信号導出部13の選択結果は、階調変換曲線候補G1〜Gpのいずれかを示す選択信号Smとして出力される。より具体的には、選択信号Smは、階調変換曲線候補G1〜Gpの添え字(1〜p)の値として出力される。
Here, the wide area image region Em is the same as that described with reference to FIG. 2 in the first embodiment. That is, the wide area image area Em is a set of a plurality of image areas including each of the image areas Pm. It is. Depending on the position of the image area Pm, there may be a case where the wide area image area Em of 5 blocks in the vertical direction and 5 blocks in the horizontal direction cannot be taken around the image area Pm. For example, with respect to the image area Pl located around the original image, it is not possible to take a wide area image area El of 5 blocks in the vertical direction and 5 blocks in the horizontal direction around the image area Pl. In this case, an area where the area of 5 blocks in the vertical direction and 5 blocks in the horizontal direction centering on the image area Pl overlaps with the original image is adopted as the wide area image area El.
The selection result of the selection signal deriving unit 13 is output as a selection signal Sm indicating any one of the gradation conversion curve candidates G1 to Gp. More specifically, the selection signal Sm is output as the value of the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp.

階調処理実行部14は、入力信号ISが含む画像領域Pmの画素の明度値と選択信号Smとを入力とし、例えば、図8に示す2次元LUT41を用いて、階調処理信号CSの明度値を出力する。
階調補正部15は、階調処理信号CSが含む画像領域Pmの画素の明度値を画素の位置と画像領域Pmおよび画像領域Pmの周辺の画像領域に対して選択された階調変換曲線とに基づいて補正する。例えば、画像領域Pmが含む画素に適用された階調変換曲線Cmと画像領域Pmの周辺の画像領域に対して選択された階調変換曲線とを画素位置の内分比で補正し、補正後の画素の明度値を求める。
図9を用いて、階調補正部15の動作についてさらに詳しく説明する。図9は、画像領域Po,Pp,Pq,Pr(o,p,q,rは分割数n(図2参照。)以下の正整数)の階調変換曲線Co,Cp,Cq,Crが階調変換曲線候補Gs,Gt,Gu,Gv(s,t,u,vは階調変換曲線の候補数p以下の正整数)と選択されたことを示している。
The gradation processing execution unit 14 receives the lightness value of the pixel in the image region Pm included in the input signal IS and the selection signal Sm, and uses, for example, the lightness of the gradation processing signal CS using the two-dimensional LUT 41 shown in FIG. Output the value.
The gradation correction unit 15 determines the brightness value of the pixel in the image area Pm included in the gradation processing signal CS, the gradation conversion curve selected for the pixel position, the image area Pm, and the image area around the image area Pm. Correct based on For example, the gradation conversion curve Cm applied to the pixels included in the image region Pm and the gradation conversion curve selected for the image region around the image region Pm are corrected by the internal ratio of the pixel position, and after the correction The brightness value of the pixel is obtained.
The operation of the gradation correction unit 15 will be described in more detail with reference to FIG. FIG. 9 shows gradation conversion curves Co, Cp, Cq, and Cr of image areas Po, Pp, Pq, and Pr (o, p, q, and r are positive integers equal to or less than the division number n (see FIG. 2)). It shows that the key conversion curve candidates Gs, Gt, Gu, and Gv (s, t, u, and v are positive integers less than or equal to the number of gradation conversion curve candidates p) are selected.

ここで、階調補正の対象となる画像領域Poの画素x(明度値[x]とする)の位置を、画像領域Poの中心と画像領域Ppの中心とを[i:1−i]に内分し、かつ、画像領域Poの中心と画像領域Pqの中心とを[j:1−j]に内分する位置であるとする。この場合、階調補正後の画素xの明度値[x’]は、[x’]={(1−j)・(1−i)・[Gs]+(1−j)・(i)・[Gt]+(j)・(1−i)・[Gu]+(j)・(i)・[Gv]}・{[x]/[Gs]}と求められる。なお、[Gs],[Gt],[Gu],[Gv]は、明度値[x]に対して、階調変換曲線候補Gs,Gt,Gu,Gvを適用した場合の明度値であるとする。
〈視覚処理方法および視覚処理プログラム〉
図10に、視覚処理装置11における視覚処理方法を説明するフローチャートを示す。図10に示す視覚処理方法は、視覚処理装置11においてハードウェアにより実現され、入力信号IS(図6参照)の階調処理を行う方法である。図10に示す視覚処理方法では、入力信号ISは、画像単位で処理される(ステップS20〜S26)。入力信号ISとして入力される原画像は、複数の画像領域Pm(1≦m≦n:nは原画像の分割数)に分割され(ステップS21)、画像領域Pm毎に階調処理される(ステップS22〜S24)。
Here, the position of the pixel x (value value [x]) of the image area Po to be subjected to gradation correction is set to [i: 1-i] between the center of the image area Po and the center of the image area Pp. Assume that the position is a position where the center of the image area Po and the center of the image area Pq are internally divided into [j: 1-j]. In this case, the brightness value [x ′] of the pixel x after gradation correction is [x ′] = {(1−j) · (1−i) · [Gs] + (1−j) · (i). [Gt] + (j). (1-i). [Gu] + (j). (I). [Gv]}. {[X] / [Gs]}. [Gs], [Gt], [Gu], and [Gv] are the lightness values when the gradation conversion curve candidates Gs, Gt, Gu, and Gv are applied to the lightness value [x]. To do.
<Visual processing method and visual processing program>
FIG. 10 shows a flowchart for explaining the visual processing method in the visual processing device 11. The visual processing method shown in FIG. 10 is realized by hardware in the visual processing device 11, and is a method for performing gradation processing of the input signal IS (see FIG. 6). In the visual processing method shown in FIG. 10, the input signal IS is processed in units of images (steps S20 to S26). The original image input as the input signal IS is divided into a plurality of image regions Pm (1 ≦ m ≦ n: n is the number of divisions of the original image) (step S21), and gradation processing is performed for each image region Pm (step S21). Steps S22 to S24).

画像領域Pm毎の処理では、それぞれの画像領域Pmに対して適用される階調変換曲線Cmが階調変換曲線候補G1〜Gpの中から選択される(ステップS22)。具体的には、画像領域Pmの広域画像領域Emの平均明度値を計算し、計算された平均明度値に応じて階調変換曲線候補G1〜Gpのいずれかの選択が行われる。階調変換曲線候補G1〜Gpは、広域画像領域Emの平均明度値に関連づけられており、平均明度値が大きくなるほど、添え字の大きい階調変換曲線候補G1〜Gpが選択される。ここで、広域画像領域Emについては、説明を省略する(上記〈作用〉の欄参照。)。
入力信号ISが含む画像領域Pmの画素の明度値と階調変換曲線候補G1〜GpのうちステップS22で選択された階調変換曲線候補を示す選択信号Smとに対して、例えば、図8に示す2次元LUT41を用いて、階調処理信号CSの明度値が出力される(ステップS23)。さらに、全ての画像領域Pmについての処理が終了したか否かを判定し(ステップS24)、処理が終了したと判定されるまで、ステップS22〜S24の処理を原画像の分割数回繰り返す。以上により、画像領域単位の処理が終了する。
In the processing for each image region Pm, the gradation conversion curve Cm applied to each image region Pm is selected from the gradation conversion curve candidates G1 to Gp (step S22). Specifically, the average brightness value of the wide area image area Em of the image area Pm is calculated, and any one of the gradation conversion curve candidates G1 to Gp is selected according to the calculated average brightness value. The tone conversion curve candidates G1 to Gp are associated with the average brightness value of the wide area image region Em, and the tone conversion curve candidates G1 to Gp with larger subscripts are selected as the average brightness value increases. Here, the description of the wide area image region Em is omitted (see the column of <Action> above).
For example, FIG. 8 shows the brightness value of the pixel in the image area Pm included in the input signal IS and the selection signal Sm indicating the gradation conversion curve candidate selected in step S22 among the gradation conversion curve candidates G1 to Gp. The brightness value of the gradation processing signal CS is output using the two-dimensional LUT 41 shown (step S23). Further, it is determined whether or not the processing for all the image regions Pm has been completed (step S24), and the processing of steps S22 to S24 is repeated several times until the processing is determined to be completed. Thus, the processing for each image area is completed.

階調処理信号CSが含む画像領域Pmの画素の明度値は、画素の位置と画像領域Pmおよび画像領域Pmの周辺の画像領域に対して選択された階調変換曲線とに基づいて補正される(ステップS25)。例えば、画像領域Pmが含む画素に適用された階調変換曲線Cmと画像領域Pmの周辺の画像領域に対して選択された階調変換曲線とを画素位置の内分比で補正し、補正後の画素の明度値が求められる。補正の詳細な内容については、説明を省略する(上記〈作用〉の欄、図9参照。)。
以上により、画像単位の処理が終了する(ステップS26)。
なお、図10に示す視覚処理方法のそれぞれのステップは、コンピュータなどにより、視覚処理プログラムとして実現されるものであっても良い。
〈効果〉
本発明により、上記[第1実施形態]の〈効果〉とほぼ同様の効果を得ることが可能である。以下、第2実施形態特有の効果を記載する。
The brightness value of the pixel in the image area Pm included in the gradation processing signal CS is corrected based on the position of the pixel and the gradation conversion curve selected for the image area Pm and the image area around the image area Pm. (Step S25). For example, the gradation conversion curve Cm applied to the pixels included in the image region Pm and the gradation conversion curve selected for the image region around the image region Pm are corrected by the internal ratio of the pixel position, and after the correction Are obtained. The detailed description of the correction will be omitted (see the section <Action> in FIG. 9).
Thus, the processing for each image is completed (step S26).
Each step of the visual processing method shown in FIG. 10 may be realized as a visual processing program by a computer or the like.
<effect>
According to the present invention, it is possible to obtain substantially the same effect as the <Effect> of the above [First Embodiment]. Hereinafter, effects unique to the second embodiment will be described.

(1)
それぞれの画像領域Pmに対して選択される階調変換曲線Cmは、広域画像領域Emの平均明度値に基づいて作成される。このため、画像領域Pmの大きさは小さくとも十分な明度値のサンプリングが可能となる。また、この結果、小さな画像領域Pmに対しても、適切な階調変換曲線Cmを選択して適用することが可能となる。
(2)
階調処理実行部14は、あらかじめ作成された2次元LUTを有している。このため、階調処理に要する処理負荷、より具体的には、階調変換曲線Cmの作成に要する処理負荷を削減することが可能となる。この結果、画像領域Pmの階調処理に要する処理を高速化することが可能となる。
(1)
The gradation conversion curve Cm selected for each image area Pm is created based on the average brightness value of the wide area image area Em. For this reason, even if the size of the image region Pm is small, it is possible to sample a sufficient brightness value. As a result, an appropriate gradation conversion curve Cm can be selected and applied to a small image region Pm.
(2)
The gradation processing execution unit 14 has a two-dimensional LUT created in advance. For this reason, it is possible to reduce the processing load required for gradation processing, more specifically, the processing load required for creating the gradation conversion curve Cm. As a result, it is possible to speed up the processing required for the gradation processing of the image region Pm.

(3)
階調処理実行部14は、2次元LUTを用いて階調処理を実行する。2次元LUTは、視覚処理装置11が備えるハードディスクあるいはROMなどの記憶装置から読み出されて階調処理に用いられる。読み出す2次元LUTの内容を変更することにより、ハードウェアの構成を変更せずに様々な階調処理を実現することが可能となる。すなわち、原画像の特性により適した階調処理を実現することが可能となる。
(4)
階調補正部15は、1つの階調変換曲線Cmを用いて階調処理された画像領域Pmの画素の階調を補正する。このため、より適切に階調処理された出力信号OSを得ることができる。例えば、疑似輪郭の発生を抑制することが可能となる。また、出力信号OSにおいては、それぞれの画像領域Pmの境界のつなぎ目が不自然に目立つことがさらに防止可能となる。
(3)
The gradation processing execution unit 14 executes gradation processing using a two-dimensional LUT. The two-dimensional LUT is read from a storage device such as a hard disk or a ROM provided in the visual processing device 11 and used for gradation processing. By changing the contents of the two-dimensional LUT to be read out, various gradation processes can be realized without changing the hardware configuration. That is, it is possible to realize gradation processing more suitable for the characteristics of the original image.
(4)
The gradation correction unit 15 corrects the gradation of the pixels in the image region Pm that has been subjected to gradation processing using one gradation conversion curve Cm. For this reason, it is possible to obtain an output signal OS subjected to more appropriate gradation processing. For example, it becomes possible to suppress the generation of pseudo contours. Further, in the output signal OS, it is possible to further prevent the joint at the boundary of each image region Pm from being unnaturally conspicuous.

〈変形例〉
本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の変形が可能である。
(1)
上記実施形態では、原画像の分割数の一例として、4800分割としたが、本発明の効果は、この場合に限定されるものではなく、他の分割数でも同様の効果を得ることが可能である。なお、階調処理の処理量と視覚的効果とは分割数についてトレードオフの関係にある。すなわち、分割数を増やすと階調処理の処理量は増加するがより良好な視覚的効果(例えば、疑似輪郭の抑制された画像など)を得ることが可能となる。
(2)
上記実施形態では、広域画像領域を構成する画像領域の個数の一例として、25個としたが、本発明の効果は、この場合に限定されるものではなく、他の個数でも同様の効果を得ることが可能である。
<Modification>
The present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention.
(1)
In the above embodiment, the number of divisions of the original image is 4800 divisions, but the effect of the present invention is not limited to this case, and the same effect can be obtained with other division numbers. is there. Note that the amount of gradation processing and the visual effect are in a trade-off relationship with respect to the number of divisions. That is, when the number of divisions is increased, the processing amount of gradation processing increases, but a better visual effect (for example, an image in which pseudo contour is suppressed) can be obtained.
(2)
In the above embodiment, the number of image areas constituting the wide-area image area is 25, but the effect of the present invention is not limited to this case, and the same effect can be obtained with other numbers. It is possible.

(3)
上記実施形態では、64行64列のマトリクスからなる2次元LUT41を2次元LUTの一例とした。ここで、本発明の効果は、このサイズの2次元LUTに限定されるものではない。例えば、さらに多くの階調変換曲線候補を行方向に並べたマトリクスであっても良い。また、入力信号ISの画素値をさらに細かいステップに区切った値に対する階調処理信号CSの画素値をマトリクスの列方向に並べたもので有っても良い。具体的には、例えば10ビットで表される入力信号ISのそれぞれの画素値に対して、階調処理信号CSの画素値を並べたもので有っても良い。
2次元LUTのサイズが大きくなれば、より適切な階調処理を行うことが可能となり、小さくなれば、2次元LUTを記憶するメモリの削減などが可能となる。
(3)
In the above-described embodiment, the two-dimensional LUT 41 including a 64 × 64 matrix is taken as an example of the two-dimensional LUT. Here, the effect of the present invention is not limited to the two-dimensional LUT of this size. For example, it may be a matrix in which more gradation conversion curve candidates are arranged in the row direction. Further, the pixel values of the gradation processing signal CS corresponding to the values obtained by dividing the pixel values of the input signal IS into finer steps may be arranged in the column direction of the matrix. Specifically, for example, the pixel value of the gradation processing signal CS may be arranged for each pixel value of the input signal IS represented by 10 bits.
If the size of the two-dimensional LUT is increased, more appropriate gradation processing can be performed, and if the size is decreased, the memory for storing the two-dimensional LUT can be reduced.

(4)
上記実施形態では、マトリクスの列方向には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値、すなわち64段階に分けられた入力信号ISの値に対する階調処理信号CSの画素値が並んでいる、と説明した。ここで、階調処理信号CSは、階調処理実行部14により、入力信号ISの画素値の下位4ビットの値で線形補間されたマトリクスの成分として出力されるものであっても良い。すなわち、マトリクスの列方向には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値に対するマトリクスの成分が並んでおり、入力信号ISの画素値の上位6ビットの値に対するマトリクスの成分と、入力信号ISの画素値の上位6ビットの値に[1]を加えた値に対するマトリクスの成分(例えば、図8では、1行下の成分)とを入力信号ISの画素値の下位4ビットの値を用いて線形補間し、階調処理信号CSとして出力する。
(4)
In the above embodiment, in the column direction of the matrix, for example, the gradation processing signal CS corresponding to the value of the upper 6 bits of the pixel value of the input signal IS represented by 10 bits, that is, the value of the input signal IS divided into 64 stages. It was explained that the pixel values of are arranged. Here, the gradation processing signal CS may be output as a matrix component that is linearly interpolated by the gradation processing execution unit 14 with the lower 4 bits of the pixel value of the input signal IS. That is, in the column direction of the matrix, for example, the components of the matrix corresponding to the upper 6 bits of the pixel value of the input signal IS represented by 10 bits are arranged, and the upper 6 bits of the pixel value of the input signal IS are arranged. The matrix component and the matrix component (for example, the component one row lower in FIG. 8) with respect to the value obtained by adding [1] to the upper 6 bits of the pixel value of the input signal IS are the pixel values of the input signal IS. Is linearly interpolated using the value of the lower 4 bits and output as a gradation processing signal CS.

これにより、2次元LUT41(図8参照)のサイズが小さくとも、より適切な階調処理を行うことが可能となる。
(5)
上記実施形態では、広域画像領域Emの平均明度値に基づいて、画像領域Pmに適用する階調変換曲線Cmを選択すると説明した。ここで、階調変換曲線Cmの選択方法は、この方法に限られない。例えば、広域画像領域Emの最大明度値、あるいは最小明度値に基づいて、画像領域Pmに適用する階調変換曲線Cmを選択してもよい。なお、階調変換曲線Cmの選択に際して、選択信号Smの値[Sm]は、広域画像領域Emの平均明度値、最大明度値、あるいは最小明度値そのものであってもよい。この場合、選択信号Smの取りうる値を64段階に分けたそれぞれの値に対して、階調変換曲線候補G1〜G64が関連付けられていることとなる。
As a result, even if the size of the two-dimensional LUT 41 (see FIG. 8) is small, more appropriate gradation processing can be performed.
(5)
In the above embodiment, it has been described that the gradation conversion curve Cm to be applied to the image area Pm is selected based on the average brightness value of the wide area image area Em. Here, the method of selecting the gradation conversion curve Cm is not limited to this method. For example, the gradation conversion curve Cm to be applied to the image area Pm may be selected based on the maximum brightness value or the minimum brightness value of the wide area image area Em. In selecting the gradation conversion curve Cm, the value [Sm] of the selection signal Sm may be the average brightness value, the maximum brightness value, or the minimum brightness value of the wide area image area Em. In this case, the gradation conversion curve candidates G1 to G64 are associated with the respective values obtained by dividing the possible values of the selection signal Sm into 64 levels.

また例えば、次のようにして画像領域Pmに適用する階調変換曲線Cmを選択してもよい。すなわち、それぞれの画像領域Pmについて平均明度値を求め、それぞれの平均明度値からそれぞれの画像領域Pmについての仮の選択信号Sm’を求める。ここで、仮の選択信号Sm’は、階調変換曲線候補G1〜Gpの添え字の番号を値としている。さらに、広域画像領域Emが含むそれぞれの画像領域について、仮の選択信号Sm’の値を平均し、画像領域Pmの選択信号Smの値[Sm]を求め、階調変換曲線候補G1〜Gpのうち値[Sm]に最も近い整数を添え字とする候補を階調変換曲線Cmとして選択する。
(6)
上記実施形態では、広域画像領域Emの平均明度値に基づいて、画像領域Pmに適用する階調変換曲線Cmを選択すると説明した。ここで、広域画像領域Emの単純平均でなく、加重平均(重み付き平均)に基づいて、画像領域Pmに適用する階調変換曲線Cmを選択してもよい。例えば、図11に示すように、広域画像領域Emを構成するそれぞれの画像領域の平均明度値を求め、画像領域Pmの平均明度値と大きく異なる平均明度値を持つ画像領域Ps1,Ps2,・・・については、重み付けを軽くして、あるいは除外して、広域画像領域Emの平均明度値を求める。
For example, the gradation conversion curve Cm applied to the image region Pm may be selected as follows. That is, an average brightness value is obtained for each image region Pm, and a provisional selection signal Sm ′ for each image region Pm is obtained from each average brightness value. Here, the provisional selection signal Sm ′ has the values of the subscript numbers of the gradation conversion curve candidates G1 to Gp as values. Further, for each image area included in the wide area image area Em, the value of the temporary selection signal Sm ′ is averaged to obtain the value [Sm] of the selection signal Sm of the image area Pm, and the gradation conversion curve candidates G1 to Gp Among these, a candidate having an integer closest to the value [Sm] as a subscript is selected as the gradation conversion curve Cm.
(6)
In the above embodiment, it has been described that the gradation conversion curve Cm to be applied to the image area Pm is selected based on the average brightness value of the wide area image area Em. Here, the gradation conversion curve Cm to be applied to the image region Pm may be selected based on a weighted average (weighted average) instead of a simple average of the wide area image region Em. For example, as shown in FIG. 11, the average brightness value of each image area constituting the wide area image area Em is obtained, and the image areas Ps1, Ps2,. For ・, the average brightness value of the wide-area image region Em is obtained by reducing or excluding weights.

これにより、広域画像領域Emが明度的に特異的な領域を含む場合(例えば、広域画像領域Emが2つの明度値の異なる物体の境界を含む場合)であっても、画像領域Pmに適用される階調変換曲線Cmの選択に対して、その特異的な領域の明度値が与える影響が少なくなり、さらに適切な階調処理が行われることとなる。
(7)
上記実施形態において、階調補正部15の存在は任意としても良い。すなわち、階調処理信号CSを出力とした場合であっても、従来の視覚処理装置300(図33参照)に比して、[第1実施形態]の〈効果〉に記載したのと同様の効果、および[第2実施形態]の〈効果〉(1)および(2)に記載したのと同様の効果を得ることが可能である。
(8)
上記実施形態では、階調変換曲線候補G1〜Gpは、添え字について単調減少する関係にあり、全ての入力信号ISの画素の明度値に対して、G1≧G2≧・・・≧Gpの関係を満たしていると説明した。ここで、2次元LUTが備える階調変換曲線候補G1〜Gpは、入力信号ISの画素の明度値の一部に対して、G1≧G2≧・・・≧Gpの関係を満たしていなくてもよい。すなわち、階調変換曲線候補G1〜Gpのいずれかが、互いに交差する関係にあってもよい。
As a result, even when the wide area image region Em includes an area specific to brightness (for example, when the wide area image area Em includes a boundary between two objects having different brightness values), the image area Pm is applied. Therefore, the influence of the brightness value of the specific area on the selection of the gradation conversion curve Cm is reduced, and more appropriate gradation processing is performed.
(7)
In the embodiment, the presence of the gradation correction unit 15 may be arbitrary. That is, even when the gradation processing signal CS is output, as compared with the conventional visual processing device 300 (see FIG. 33), it is the same as described in <Effect> of the [first embodiment]. Effects and [Effects] of [Second Embodiment] (1) It is possible to obtain the same effects as described in (2).
(8)
In the above embodiment, the gradation conversion curve candidates G1 to Gp are in a monotonically decreasing relationship with respect to the subscript, and the relationship of G1 ≧ G2 ≧. Explained that Here, the tone conversion curve candidates G1 to Gp included in the two-dimensional LUT may not satisfy the relationship of G1 ≧ G2 ≧... ≧ Gp with respect to a part of the brightness value of the pixel of the input signal IS. Good. That is, any one of the gradation conversion curve candidates G1 to Gp may be in a crossing relationship with each other.

例えば、暗い夜景の中にある小さい明かりの部分など(夜景の中にあるネオン部分など)、入力信号ISの値は大きいが、広域画像領域Emの平均明度値は小さい場合、階調処理された画像信号の値が画質に与える影響は小さい。このような場合には、2次元LUTが備える階調変換曲線候補G1〜Gpは、入力信号ISの画素の明度値の一部に対して、G1≧G2≧・・・≧Gpの関係を満たしていなくてもよい。すなわち、階調処理後の値が画質に与える影響が小さい部分では、2次元LUTが格納する値は、任意であってよい。
なお、2次元LUTが格納する値が任意である場合にも、同じ値の入力信号ISと選択信号Smとに対して格納されている値は、入力信号ISと選択信号Smとの値に対して、単調増加、あるいは単調減少する関係を維持していることが望ましい。
For example, if the value of the input signal IS is large but the average brightness value of the wide area image area Em is small, such as a small light part in a dark night scene (neon part in a night scene, etc.), gradation processing is performed. The influence of the image signal value on the image quality is small. In such a case, the gradation conversion curve candidates G1 to Gp included in the two-dimensional LUT satisfy the relationship of G1 ≧ G2 ≧... Gp with respect to a part of the brightness value of the pixel of the input signal IS. It does not have to be. That is, the value stored in the two-dimensional LUT may be arbitrary in a part where the value after gradation processing has little influence on the image quality.
Even when the values stored in the two-dimensional LUT are arbitrary, the values stored for the input signal IS and the selection signal Sm having the same value are the same as the values of the input signal IS and the selection signal Sm. It is desirable to maintain a monotonically increasing or monotonically decreasing relationship.

また、上記実施形態では、2次元LUTが備える階調変換曲線候補G1〜Gpは、「べき関数」であると説明した。ここで、階調変換曲線候補G1〜Gpは、厳密に「べき関数」として定式化されるもので無くともよい。また、S字、逆S字などといった形状を有する関数であってもよい。
(9)
視覚処理装置11では、2次元LUTが格納する値であるプロファイルデータを作成するプロファイルデータ作成部をさらに備えていても良い。具体的には、プロファイルデータ作成部は、視覚処理装置1(図1参照)における画像分割部2と階調変換曲線導出部10とから構成されており、作成された複数の階調変換曲線の集合をプロファイルデータとして2次元LUTに格納する。
In the above embodiment, the gradation conversion curve candidates G1 to Gp included in the two-dimensional LUT are described as “power functions”. Here, the gradation conversion curve candidates G1 to Gp may not be strictly formulated as “power functions”. Further, it may be a function having a shape such as an S-shape or an inverted S-shape.
(9)
The visual processing device 11 may further include a profile data creation unit that creates profile data that is a value stored in the two-dimensional LUT. Specifically, the profile data creation unit includes an image dividing unit 2 and a tone conversion curve deriving unit 10 in the visual processing device 1 (see FIG. 1). The set is stored in the two-dimensional LUT as profile data.

また、2次元LUTに格納される階調変換曲線のそれぞれは、空間処理された入力信号ISに関連づけられていてもかまわない。この場合、視覚処理装置11では、画像分割部12と選択信号導出部13とを、入力信号ISを空間処理する空間処理部に置き換えても良い。
(10)
上記実施形態において、入力信号ISの画素の明度値は、値[0.0〜1.0]の範囲の値でなくてもよい。入力信号ISが他の範囲の値として入力される場合には、その範囲の値を値[0.0〜1.0]に正規化して用いてもよい。また、正規化は行わず、上記した処理において取り扱う値を適宜変更してもよい。
(11)
階調変換曲線候補G1〜Gpのそれぞれは、通常のダイナミックレンジよりも広いダイナミックレンジを有する入力信号ISを階調処理し、通常のダイナミックレンジの階調処理信号CSを出力する階調変換曲線であってもよい。
Further, each of the gradation conversion curves stored in the two-dimensional LUT may be associated with the spatially processed input signal IS. In this case, in the visual processing device 11, the image dividing unit 12 and the selection signal deriving unit 13 may be replaced with a spatial processing unit that spatially processes the input signal IS.
(10)
In the above embodiment, the brightness value of the pixel of the input signal IS may not be a value in the range of the value [0.0 to 1.0]. When the input signal IS is input as a value in another range, the value in that range may be normalized to a value [0.0 to 1.0]. Further, normalization is not performed, and the values handled in the above-described processing may be changed as appropriate.
(11)
Each of the gradation conversion curve candidates G1 to Gp is a gradation conversion curve that performs gradation processing on an input signal IS having a dynamic range wider than the normal dynamic range and outputs a gradation processing signal CS having a normal dynamic range. There may be.

近年、S/Nの良いCCDを光量を絞って使用する、電子シャッタを長短2回開く、あるいは低感度・高感度の画素を持つセンサを使用する、などの方法により、通常のダイナミックレンジよりも1〜3桁広いダイナミックレンジを扱うことができる機器の開発が進んでいる。
これに伴って、入力信号ISが通常のダイナミックレンジ(例えば、値[0.0〜1.0]の範囲の信号)よりも広いダイナミックレンジを有する場合にも、適切に階調処理することが求められている。
ここで、図12に示すように、値[0.0〜1.0]を超える範囲の入力信号ISに対しても、値[0.0〜1.0]の階調処理信号CSを出力するような階調変換曲線を用いる。
In recent years, by using a CCD with good S / N with a reduced amount of light, opening the electronic shutter twice long or short, or using a sensor with low-sensitivity / high-sensitivity pixels, it is possible to achieve a higher dynamic range than the normal dynamic range. Development of devices that can handle a dynamic range that is one to three digits wider is advancing.
Accordingly, even when the input signal IS has a wider dynamic range than a normal dynamic range (for example, a signal in the range of value [0.0 to 1.0]), gradation processing can be appropriately performed. It has been demanded.
Here, as shown in FIG. 12, the gradation processing signal CS having the value [0.0 to 1.0] is output even for the input signal IS in the range exceeding the value [0.0 to 1.0]. Such a gradation conversion curve is used.

これにより、広いダイナミックレンジを有する入力信号ISに対しても、適切な階調処理を行い、通常のダイナミックレンジの階調処理信号CSを出力することが可能となる。
また、上記実施形態では、「階調処理信号CSの画素値は、階調変換曲線候補G1〜Gpが「べき関数」である場合、例えば、値[0.0〜1.0]の範囲の値を有する。」と記載した。ここで、階調処理信号CSの画素値は、この範囲に限られない。例えば、値[0.0〜1.0]の入力信号ISに対して、階調変換曲線候補G1〜Gpは、ダイナミックレンジ圧縮を行うものであってもよい。
(12)
上記実施形態では、「階調処理実行部14は、階調変換曲線候補G1〜Gpを2次元LUTとして有している。」と説明した。ここで、階調処理実行部14は、階調変換曲線候補G1〜Gpを特定するための曲線パラメータと選択信号Smとの関係を格納する1次元LUTを有するものであってもよい。
As a result, it is possible to perform appropriate gradation processing even on an input signal IS having a wide dynamic range, and to output a gradation processing signal CS having a normal dynamic range.
In the above-described embodiment, “the pixel value of the gradation processing signal CS is, for example, in the range of values [0.0 to 1.0] when the gradation conversion curve candidates G1 to Gp are“ power functions ”. Has a value. ". Here, the pixel value of the gradation processing signal CS is not limited to this range. For example, the gradation conversion curve candidates G1 to Gp may perform dynamic range compression on the input signal IS having a value [0.0 to 1.0].
(12)
In the embodiment described above, “the gradation processing execution unit 14 has the gradation conversion curve candidates G1 to Gp as a two-dimensional LUT”. Here, the gradation processing execution unit 14 may have a one-dimensional LUT that stores the relationship between the curve parameter for specifying the gradation conversion curve candidates G1 to Gp and the selection signal Sm.

《構成》
図13に、階調処理実行部14の変形例としての階調処理実行部44の構造を説明するブロック図を示す。階調処理実行部44は、入力信号ISと選択信号Smとを入力とし、階調処理された入力信号ISである階調処理信号CSを出力とする。階調処理実行部44は、曲線パラメータ出力部45と演算部48とを備えている。
曲線パラメータ出力部45は、第1LUT46と第2LUT47から構成される。第1LUT46および第2LUT47は、選択信号Smを入力とし、選択信号Smが指定する階調変換曲線候補Gmの曲線パラメータP1およびP2をそれぞれ出力する。
演算部48は、曲線パラメータP1およびP2と、入力信号ISとを入力とし、階調処理信号CSを出力とする。
"Constitution"
FIG. 13 is a block diagram illustrating the structure of a gradation processing execution unit 44 as a modification of the gradation processing execution unit 14. The gradation processing execution unit 44 receives the input signal IS and the selection signal Sm, and outputs a gradation processing signal CS that is the input signal IS subjected to gradation processing. The gradation processing execution unit 44 includes a curve parameter output unit 45 and a calculation unit 48.
The curve parameter output unit 45 includes a first LUT 46 and a second LUT 47. The first LUT 46 and the second LUT 47 receive the selection signal Sm and output the curve parameters P1 and P2 of the gradation conversion curve candidate Gm specified by the selection signal Sm, respectively.
The calculation unit 48 receives the curve parameters P1 and P2 and the input signal IS and outputs the gradation processing signal CS.

《1次元LUTについて》
第1LUT46および第2LUT47は、それぞれ選択信号Smに対する曲線パラメータP1およびP2の値を格納する1次元LUTである。第1LUT46および第2LUT47について詳しく説明する前に、曲線パラメータP1およびP2の内容について説明する。
図14を用いて、曲線パラメータP1およびP2と、階調変換曲線候補G1〜Gpとの関係について説明する。図14は、階調変換曲線候補G1〜Gpを示している。ここで、階調変換曲線候補G1〜Gpは、添え字について単調減少する関係にあり、全ての入力信号ISの画素の明度値に対して、G1≧G2≧・・・≧Gpの関係を満たしている。なお、以上の階調変換曲線候補G1〜Gpの関係は、添え字の大きい階調変換曲線候補について、入力信号ISが小さい場合、若しくは、添え字の小さい階調変換曲線候補について、入力信号ISが大きい場合、などにおいて成立していなくてもよい。
<< About 1D LUT >>
The first LUT 46 and the second LUT 47 are one-dimensional LUTs that store the values of the curve parameters P1 and P2 for the selection signal Sm, respectively. Before describing the first LUT 46 and the second LUT 47 in detail, the contents of the curve parameters P1 and P2 will be described.
The relationship between the curve parameters P1 and P2 and the gradation conversion curve candidates G1 to Gp will be described with reference to FIG. FIG. 14 shows tone conversion curve candidates G1 to Gp. Here, the gradation conversion curve candidates G1 to Gp are in a monotonically decreasing relationship with respect to the subscript, and satisfy the relationship of G1 ≧ G2 ≧... ≧ Gp with respect to the brightness values of the pixels of all the input signals IS. ing. It should be noted that the relationship between the tone conversion curve candidates G1 to Gp described above is that the input signal IS for the tone conversion curve candidate with a large subscript is small when the input signal IS is small, or for the tone conversion curve candidate with a small subscript. This may not be the case when the is large.

曲線パラメータP1およびP2は、入力信号ISの所定の値に対する階調処理信号CSの値として出力される。すなわち、選択信号Smにより階調変換曲線候補Gmが指定された場合、曲線パラメータP1の値は、入力信号ISの所定の値[X1]に対する階調変換曲線候補Gmの値[R1m]として出力され、曲線パラメータP2の値は、入力信号ISの所定の値[X2]に対する階調変換曲線候補Gmの値[R2m]として出力される。ここで、値[X2]は、値[X1]よりも大きい値である。
次に、第1LUT46および第2LUT47について説明する。
第1LUT46および第2LUT47は、それぞれ選択信号Smに対する曲線パラメータP1およびP2の値を格納している。より具体的には、例えば、6ビットの信号として与えられるそれぞれの選択信号Smに対して、曲線パラメータP1およびP2の値がそれぞれ6ビットで与えられる。ここで、選択信号Smや曲線パラメータP1およびP2にたいして確保されるビット数はこれに限られない。
The curve parameters P1 and P2 are output as the value of the gradation processing signal CS with respect to a predetermined value of the input signal IS. That is, when the gradation conversion curve candidate Gm is designated by the selection signal Sm, the value of the curve parameter P1 is output as the value [R1m] of the gradation conversion curve candidate Gm with respect to the predetermined value [X1] of the input signal IS. The value of the curve parameter P2 is output as the value [R2m] of the gradation conversion curve candidate Gm for the predetermined value [X2] of the input signal IS. Here, the value [X2] is larger than the value [X1].
Next, the first LUT 46 and the second LUT 47 will be described.
The first LUT 46 and the second LUT 47 store the values of the curve parameters P1 and P2 for the selection signal Sm, respectively. More specifically, for example, for each selection signal Sm given as a 6-bit signal, the values of the curve parameters P1 and P2 are given in 6 bits. Here, the number of bits secured for the selection signal Sm and the curve parameters P1 and P2 is not limited to this.

図15を用いて、曲線パラメータP1およびP2と、選択信号Smとの関係について説明する。図15は、選択信号Smに対する曲線パラメータP1およびP2の値の変化を示している。第1LUT46および第2LUT47には、それぞれの選択信号Smに対する曲線パラメータP1およびP2の値が格納されている。例えば、選択信号Smに対する曲線パラメータP1の値として、値[R1m]が格納されており、曲線パラメータP2の値として、値[R2m]が格納されている。
以上の第1LUT46および第2LUT47により、入力された選択信号Smに対して、曲線パラメータP1およびP2が出力される。
《演算部48について》
演算部48は、取得した曲線パラメータP1およびP2(値[R1m]および値[R2m])に基づいて、入力信号ISに対する階調処理信号CSを導出する。具体的な手順を以下記載する。ここで、入力信号ISの値は、値[0.0〜1.0]の範囲で与えられるものとする。また、階調変換曲線候補G1〜Gpは、値[0.0〜1.0]の範囲で与えられる入力信号ISを、値[0.0〜1.0]の範囲に階調変換するものとする。なお、本発明は、入力信号ISをこの範囲に限定しない場合にも適用可能である。
The relationship between the curve parameters P1 and P2 and the selection signal Sm will be described with reference to FIG. FIG. 15 shows changes in the values of the curve parameters P1 and P2 with respect to the selection signal Sm. The first LUT 46 and the second LUT 47 store the values of the curve parameters P1 and P2 for the respective selection signals Sm. For example, the value [R1m] is stored as the value of the curve parameter P1 for the selection signal Sm, and the value [R2m] is stored as the value of the curve parameter P2.
By the first LUT 46 and the second LUT 47 described above, the curve parameters P1 and P2 are output for the input selection signal Sm.
<< Calculation unit 48 >>
The computing unit 48 derives the gradation processing signal CS for the input signal IS based on the acquired curve parameters P1 and P2 (value [R1m] and value [R2m]). The specific procedure is described below. Here, the value of the input signal IS is given in the range of values [0.0 to 1.0]. Further, the gradation conversion curve candidates G1 to Gp convert the input signal IS given in the range of the value [0.0 to 1.0] into the range of the value [0.0 to 1.0]. And The present invention can also be applied when the input signal IS is not limited to this range.

まず、演算部48は、入力信号ISの値と、所定の値[X1],[X2]との比較を行う。
入力信号ISの値(値[X]とする)が[0.0]以上[X1]未満である場合、図14における原点と座標([X1],[R1m])とを結ぶ直線上において、値[X]に対する階調処理信号CSの値(値[Y]とする)が求められる。より具体的には、値[Y]は、次式[Y]=([X]/[X1])*[R1m]、により求められる。
入力信号ISの値が[X1]以上[X2]未満である場合、図14における座標([X1],[R1m])と座標([X2],[R2m])とを結ぶ直線上において、値[X]に対する値[Y]が求められる。より具体的には、値[Y]は、次式[Y]=[R1m]+{([R2m]−[R1m])/([X2]−[X1])}*([X]−[X1])、により求められる。
First, the calculation unit 48 compares the value of the input signal IS with predetermined values [X1] and [X2].
When the value of the input signal IS (value [X]) is not less than [0.0] and less than [X1], on the straight line connecting the origin and the coordinates ([X1], [R1m]) in FIG. A value of gradation processing signal CS (value [Y]) with respect to value [X] is obtained. More specifically, the value [Y] is obtained by the following formula [Y] = ([X] / [X1]) * [R1m].
When the value of the input signal IS is not less than [X1] and less than [X2], the value on the straight line connecting the coordinates ([X1], [R1m]) and the coordinates ([X2], [R2m]) in FIG. A value [Y] for [X] is determined. More specifically, the value [Y] is expressed by the following formula [Y] = [R1m] + {([R2m] − [R1m]) / ([X2] − [X1])} * ([X] − [ X1]).

入力信号ISの値が[X2]以上[1.0]以下である場合、図14における座標([X2],[R2m])と座標([1.0],[1.0])とを結ぶ直線上において、値[X]に対する値[Y]が求められる。より具体的には、値[Y]は、次式[Y]=[R2m]+{([1.0]−[R2m])/([1.0]−[X2])}*([X]−[X2])、により求められる。
以上の演算により、演算部48は、入力信号ISに対する階調処理信号CSを導出する。
《階調処理方法・プログラム》
上述の処理は、階調処理プログラムとして、コンピュータなどにより実行されるものであってもよい。階調処理プログラムは、以下記載する階調処理方法をコンピュータに実行させるためのプログラムである。
When the value of the input signal IS is not less than [X2] and not more than [1.0], the coordinates ([X2], [R2m]) and the coordinates ([1.0], [1.0]) in FIG. A value [Y] with respect to the value [X] is obtained on the connecting straight line. More specifically, the value [Y] is expressed by the following formula [Y] = [R2m] + {([1.0] − [R2m]) / ([1.0] − [X2])} * ([ X]-[X2]).
Through the above calculation, the calculation unit 48 derives the gradation processing signal CS for the input signal IS.
<< Tone Processing Method / Program >>
The above processing may be executed by a computer or the like as a gradation processing program. The gradation processing program is a program for causing a computer to execute the gradation processing method described below.

階調処理方法は、入力信号ISと選択信号Smとを取得し、階調処理信号CSを出力する方法であって、入力信号ISを1次元LUTを用いて階調処理する点に特徴を有している。
まず、選択信号Smが取得されると、第1LUT46および第2LUT47から曲線パラメータP1およびP2が出力される。第1LUT46、第2LUT47、曲線パラメータP1およびP2については、詳細な説明を省略する。
さらに、曲線パラメータP1およびP2に基づいて、入力信号ISの階調処理が行われる。階調処理の詳しい内容は、演算部48についての説明のなかで記載したため省略する。
以上の階調処理方法により、入力信号ISに対する階調処理信号CSが導出される。
The gradation processing method is a method of acquiring the input signal IS and the selection signal Sm and outputting the gradation processing signal CS, and is characterized in that the input signal IS is subjected to gradation processing using a one-dimensional LUT. is doing.
First, when the selection signal Sm is acquired, the curve parameters P1 and P2 are output from the first LUT 46 and the second LUT 47. Detailed descriptions of the first LUT 46, the second LUT 47, and the curve parameters P1 and P2 are omitted.
Further, gradation processing of the input signal IS is performed based on the curve parameters P1 and P2. The detailed content of the gradation processing is omitted because it has been described in the description of the calculation unit 48.
With the above gradation processing method, the gradation processing signal CS for the input signal IS is derived.

《効果》
階調処理実行部14の変形例としての階調処理実行部44では、2次元LUTではなく、2つの1次元LUTを備えている。このため、ルックアップテーブルを記憶するための記憶容量を削減することが可能となる。
《変形例》
(1)
上記変形例では、「曲線パラメータP1およびP2の値は、入力信号ISの所定の値に対する階調変換曲線候補Gmの値である。」、と説明した。ここで、曲線パラメータP1およびP2は、階調変換曲線候補Gmの他の曲線パラメータであってもよい。以下、具体的に説明を加える。
"effect"
A gradation processing execution unit 44 as a modification of the gradation processing execution unit 14 includes two one-dimensional LUTs instead of a two-dimensional LUT. For this reason, it is possible to reduce the storage capacity for storing the lookup table.
<Modification>
(1)
In the above modification, it has been described that “the values of the curve parameters P1 and P2 are the values of the tone conversion curve candidate Gm with respect to the predetermined value of the input signal IS”. Here, the curve parameters P1 and P2 may be other curve parameters of the tone conversion curve candidate Gm. A specific description will be added below.

(1−1)
曲線パラメータは、階調変換曲線候補Gmの傾きであってもよい。図14を用いて具体的に説明する。選択信号Smにより階調変換曲線候補Gmが指定された場合、曲線パラメータP1の値は、入力信号ISの所定の範囲[0.0〜X1]における階調変換曲線候補Gmの傾きの値[K1m]であり、曲線パラメータP2の値は、入力信号ISの所定の範囲[X1〜X2]における階調変換曲線候補Gmの傾きの値[K2m]である。
図16を用いて、曲線パラメータP1およびP2と、選択信号Smとの関係について説明する。図16は、選択信号Smに対する曲線パラメータP1およびP2の値の変化を示している。第1LUT46および第2LUT47には、それぞれの選択信号Smに対する曲線パラメータP1およびP2の値が格納されている。例えば、選択信号Smに対する曲線パラメータP1の値として、値[K1m]が格納されており、曲線パラメータP2の値として、値[K2m]が格納されている。
(1-1)
The curve parameter may be the slope of the gradation conversion curve candidate Gm. This will be specifically described with reference to FIG. When the gradation conversion curve candidate Gm is designated by the selection signal Sm, the value of the curve parameter P1 is the slope value [K1m] of the gradation conversion curve candidate Gm in the predetermined range [0.0 to X1] of the input signal IS. The value of the curve parameter P2 is the slope value [K2m] of the gradation conversion curve candidate Gm in the predetermined range [X1 to X2] of the input signal IS.
The relationship between the curve parameters P1 and P2 and the selection signal Sm will be described with reference to FIG. FIG. 16 shows changes in the values of the curve parameters P1 and P2 with respect to the selection signal Sm. The first LUT 46 and the second LUT 47 store the values of the curve parameters P1 and P2 for the respective selection signals Sm. For example, the value [K1m] is stored as the value of the curve parameter P1 for the selection signal Sm, and the value [K2m] is stored as the value of the curve parameter P2.

以上の第1LUT46および第2LUT47により、入力された選択信号Smに対して、曲線パラメータP1およびP2が出力される。
演算部48では、取得した曲線パラメータP1およびP2に基づいて、入力信号ISに対する階調処理信号CSを導出する。具体的な手順を以下記載する。
まず、演算部48は、入力信号ISの値と、所定の値[X1],[X2]との比較を行う。
入力信号ISの値(値[X]とする)が[0.0]以上[X1]未満である場合、図14における原点と座標([X1],[K1m]*[X1](以下、[Y1]と記載する))とを結ぶ直線上において、値[X]に対する階調処理信号CSの値(値[Y]とする)が求められる。より具体的には、値[Y]は、次式[Y]=[K1m]*[X]、により求められる。
By the first LUT 46 and the second LUT 47 described above, the curve parameters P1 and P2 are output for the input selection signal Sm.
The computing unit 48 derives a gradation processing signal CS for the input signal IS based on the acquired curve parameters P1 and P2. The specific procedure is described below.
First, the calculation unit 48 compares the value of the input signal IS with predetermined values [X1] and [X2].
When the value of the input signal IS (value [X]) is not less than [0.0] and less than [X1], the origin and coordinates ([X1], [K1m] * [X1] in FIG. Y1])))), the value of the gradation processing signal CS for the value [X] (referred to as value [Y]) is obtained. More specifically, the value [Y] is obtained by the following equation [Y] = [K1m] * [X].

入力信号ISの値が[X1]以上[X2]未満である場合、図14における座標([X1],[Y1])と座標([X2],[K1m]*[X1]+[K2m]*([X2]−[X1])(以下、[Y2]と記載する))とを結ぶ直線上において、値[X]に対する値[Y]が求められる。より具体的には、値[Y]は、次式[Y]=[Y1]+[K2m]*([X]−[X1])、により求められる。
入力信号ISの値が[X2]以上[1.0]以下である場合、図14における座標([X2],[Y2])と座標(1.0,1.0)とを結ぶ直線上において、値[X]に対する値[Y]が求められる。より具体的には、値[Y]は、次式[Y]=[Y2]+{([1.0]−[Y2])/([1.0]−[X2])}*([X]−[X2])、により求められる。
When the value of the input signal IS is [X1] or more and less than [X2], the coordinates ([X1], [Y1]) and the coordinates ([X2], [K1m] * [X1] + [K2m] * in FIG. 14) A value [Y] with respect to the value [X] is obtained on a straight line connecting ([X2]-[X1]) (hereinafter referred to as [Y2]). More specifically, the value [Y] is obtained by the following formula [Y] = [Y1] + [K2m] * ([X] − [X1]).
When the value of the input signal IS is [X2] or more and [1.0] or less, on the straight line connecting the coordinates ([X2], [Y2]) and the coordinates (1.0, 1.0) in FIG. The value [Y] for the value [X] is obtained. More specifically, the value [Y] is expressed by the following formula [Y] = [Y2] + {([1.0] − [Y2]) / ([1.0] − [X2])} * ([ X]-[X2]).

以上の演算により、演算部48は、入力信号ISに対する階調処理信号CSを導出する。
(1−2)
曲線パラメータは、階調変換曲線候補Gm上の座標であってもよい。図17を用いて具体的に説明する。選択信号Smにより階調変換曲線候補Gmが指定された場合、曲線パラメータP1の値は、階調変換曲線候補Gm上の座標の一方の成分の値[Mm]であり、曲線パラメータP2の値は、階調変換曲線候補Gm上の座標の他方の成分の値[Nm]である。さらに、階調変換曲線候補G1〜Gpは、全て座標(X1,Y1)を通過する曲線である。
図18を用いて、曲線パラメータP1およびP2と、選択信号Smとの関係について説明する。図18は、選択信号Smに対する曲線パラメータP1およびP2の値の変化を示している。第1LUT46および第2LUT47には、それぞれの選択信号Smに対する曲線パラメータP1およびP2の値が格納されている。例えば、選択信号Smに対する曲線パラメータP1の値として、値[Mm]が格納されており、曲線パラメータP2の値として、値[Nm]が格納されている。
Through the above calculation, the calculation unit 48 derives the gradation processing signal CS for the input signal IS.
(1-2)
The curve parameter may be a coordinate on the gradation conversion curve candidate Gm. This will be specifically described with reference to FIG. When the gradation conversion curve candidate Gm is specified by the selection signal Sm, the value of the curve parameter P1 is the value [Mm] of one component of the coordinates on the gradation conversion curve candidate Gm, and the value of the curve parameter P2 is The value [Nm] of the other component of the coordinates on the gradation conversion curve candidate Gm. Further, the gradation conversion curve candidates G1 to Gp are all curves that pass through the coordinates (X1, Y1).
The relationship between the curve parameters P1 and P2 and the selection signal Sm will be described with reference to FIG. FIG. 18 shows changes in the values of the curve parameters P1 and P2 with respect to the selection signal Sm. The first LUT 46 and the second LUT 47 store the values of the curve parameters P1 and P2 for the respective selection signals Sm. For example, the value [Mm] is stored as the value of the curve parameter P1 for the selection signal Sm, and the value [Nm] is stored as the value of the curve parameter P2.

以上の第1LUT46および第2LUT47により、入力された選択信号Smに対して、曲線パラメータP1およびP2が出力される。
演算部48では、図14を用いて説明した変形例と同様の処理により、入力信号ISから階調処理信号CSが導出される。詳しい説明は、省略する。
(1−3)
以上の変形例は、一例であり、曲線パラメータP1およびP2は、階調変換曲線候補Gmのさらに他の曲線パラメータであってもよい。
また、曲線パラメータの個数も上記に限られない。さらに少なくてもよいし、さらに多くてもよい。
演算部48についての説明では、階調変換曲線候補G1〜Gpが直線の線分から構成される曲線である場合についての演算について記載した。ここで、階調変換曲線候補G1〜Gp上の座標が曲線パラメータとして与えられる場合には、与えられた座標を通過する滑らかな曲線が作成され(カーブフィッティング)、作成された曲線を用いて、階調変換処理が行われるものであってもよい。
By the first LUT 46 and the second LUT 47 described above, the curve parameters P1 and P2 are output for the input selection signal Sm.
In the calculation unit 48, the gradation processing signal CS is derived from the input signal IS by the same processing as that of the modification described with reference to FIG. Detailed description is omitted.
(1-3)
The above modification is an example, and the curve parameters P1 and P2 may be other curve parameters of the tone conversion curve candidate Gm.
Further, the number of curve parameters is not limited to the above. There may be fewer or more.
In the description of the calculation unit 48, the calculation for the case where the gradation conversion curve candidates G1 to Gp are curves composed of straight line segments is described. Here, when the coordinates on the gradation conversion curve candidates G1 to Gp are given as curve parameters, a smooth curve passing through the given coordinates is created (curve fitting), and the created curve is used. A gradation conversion process may be performed.

(2)
上記変形例では、「曲線パラメータ出力部45は、第1LUT46と第2LUT47から構成される。」と説明した。ここで、曲線パラメータ出力部45は、選択信号Smの値に対する曲線パラメータP1およびP2の値を格納するLUTを備えないものであってもよい。
この場合、曲線パラメータ出力部45は、曲線パラメータP1およびP2の値を演算する。より具体的には、曲線パラメータ出力部45は、図15、図16、図18などに示される曲線パラメータP1およびP2のグラフを表すパラメータを記憶している。曲線パラメータ出力部45は、記憶されたパラメータから曲線パラメータP1およびP2のグラフを特定する。さらに、曲線パラメータP1およびP2のグラフを用いて、選択信号Smに対する曲線パラメータP1およびP2の値を出力する。
(2)
In the above modification, “the curve parameter output unit 45 includes the first LUT 46 and the second LUT 47” has been described. Here, the curve parameter output unit 45 may not include an LUT that stores the values of the curve parameters P1 and P2 with respect to the value of the selection signal Sm.
In this case, the curve parameter output unit 45 calculates the values of the curve parameters P1 and P2. More specifically, the curve parameter output unit 45 stores parameters representing graphs of the curve parameters P1 and P2 shown in FIG. 15, FIG. 16, FIG. The curve parameter output unit 45 specifies graphs of the curve parameters P1 and P2 from the stored parameters. Further, the values of the curve parameters P1 and P2 with respect to the selection signal Sm are output using the graphs of the curve parameters P1 and P2.

ここで、曲線パラメータP1およびP2のグラフを特定するためのパラメータとは、グラフ上の座標、グラフの傾き、曲率などである。例えば、曲線パラメータ出力部45は、図15に示す曲線パラメータP1およびP2のグラフ上のそれぞれ2点の座標を記憶しており、この2点の座標を結ぶ直線を、曲線パラメータP1およびP2のグラフとして用いる。
ここで、パラメータから曲線パラメータP1およびP2のグラフを特定する際には、直線近似だけでなく、折れ線近似、曲線近似などを用いてもよい。
これにより、LUTを記憶するためのメモリを用いずに曲線パラメータを出力することが可能となる。すなわち、装置が備えるメモリの容量をさらに削減することが可能となる。
Here, the parameters for specifying the graphs of the curve parameters P1 and P2 are coordinates on the graph, inclination of the graph, curvature, and the like. For example, the curve parameter output unit 45 stores the coordinates of two points on the graph of the curve parameters P1 and P2 shown in FIG. 15, and the straight line connecting the coordinates of the two points is represented by the graph of the curve parameters P1 and P2. Used as
Here, when specifying the graphs of the curve parameters P1 and P2 from the parameters, not only linear approximation but also broken line approximation, curve approximation, or the like may be used.
This makes it possible to output curve parameters without using a memory for storing the LUT. That is, it is possible to further reduce the capacity of the memory provided in the apparatus.

[第3実施形態]
本発明の第3実施形態としての視覚処理装置21について図19〜図21を用いて説明する。視覚処理装置21は、例えば、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDAなど、画像を取り扱う機器に内蔵、あるいは接続されて、画像の階調処理を行う装置である。視覚処理装置21は、あらかじめLUTとして記憶した複数の階調変換曲線を階調処理の対象となる画素ごとに切り換えて用いる点を特徴として有している。
〈構成〉
図19に、視覚処理装置21の構造を説明するブロック図を示す。視覚処理装置21は、画像分割部22と、選択信号導出部23と、階調処理部30とを備えている。画像分割部22は、入力信号ISを入力とし、入力信号ISとして入力される原画像を複数に分割した画像領域Pm(1≦m≦n:nは原画像の分割数)を出力とする。選択信号導出部23は、それぞれの画像領域Pmに対して階調変換曲線Cmを選択するための選択信号Smを出力する。階調処理部30は、選択信号補正部24と、階調処理実行部25とを備えている。選択信号補正部24は、選択信号Smを入力とし、それぞれの画像領域Pm毎の選択信号Smを補正した信号である画素毎の選択信号SSを出力する。階調処理実行部25は、複数の階調変換曲線候補G1〜Gp(pは候補数)を2次元LUTとして備えており、入力信号ISと画素毎の選択信号SSとを入力とし、それぞれの画素について階調処理した出力信号OSを出力とする。
[Third Embodiment]
A visual processing device 21 as a third embodiment of the present invention will be described with reference to FIGS. The visual processing device 21 is a device that performs gradation processing of an image by being incorporated in or connected to a device that handles images, such as a computer, a television, a digital camera, a mobile phone, and a PDA. The visual processing device 21 is characterized in that a plurality of gradation conversion curves stored in advance as LUTs are switched for each pixel to be subjected to gradation processing.
<Constitution>
FIG. 19 is a block diagram illustrating the structure of the visual processing device 21. The visual processing device 21 includes an image dividing unit 22, a selection signal deriving unit 23, and a gradation processing unit 30. The image dividing unit 22 receives the input signal IS and outputs an image area Pm (1 ≦ m ≦ n: n is the number of divisions of the original image) obtained by dividing the original image input as the input signal IS into a plurality of parts. The selection signal deriving unit 23 outputs a selection signal Sm for selecting the gradation conversion curve Cm for each image region Pm. The gradation processing unit 30 includes a selection signal correction unit 24 and a gradation processing execution unit 25. The selection signal correction unit 24 receives the selection signal Sm and outputs a selection signal SS for each pixel, which is a signal obtained by correcting the selection signal Sm for each image region Pm. The gradation processing execution unit 25 includes a plurality of gradation conversion curve candidates G1 to Gp (p is the number of candidates) as a two-dimensional LUT, and receives an input signal IS and a selection signal SS for each pixel as input. An output signal OS obtained by performing gradation processing on the pixel is set as an output.

(階調変換曲線候補について)
階調変換曲線候補G1〜Gpについては、[第2実施形態]において図7を用いて説明したのとほぼ同様であるため、ここでは説明を省略する。但し、本実施形態においては、階調変換曲線候補G1〜Gpは、入力信号ISの画素の明度値と出力信号OSの画素の明度値との関係を与える曲線である。
階調処理実行部25は、階調変換曲線候補G1〜Gpを2次元LUTとして備えている。すなわち、2次元LUTは、入力信号ISの画素の明度値と階調変換曲線候補G1〜Gpを選択する選択信号SSとに対して、出力信号OSの画素の明度値を与えるルックアップテーブル(LUT)である。具体例は、[第2実施形態]において図8を用いて説明したのとほぼ同様であるため、ここでは説明を省略する。但し、本実施形態においては、マトリクスの列方向には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値に対する出力信号OSの画素値が並んでいる。
(About gradation conversion curve candidates)
The gradation conversion curve candidates G1 to Gp are substantially the same as those described with reference to FIG. 7 in [Second Embodiment], and thus description thereof is omitted here. However, in the present embodiment, the tone conversion curve candidates G1 to Gp are curves that give the relationship between the brightness value of the pixel of the input signal IS and the brightness value of the pixel of the output signal OS.
The gradation processing execution unit 25 includes gradation conversion curve candidates G1 to Gp as a two-dimensional LUT. That is, the two-dimensional LUT is a look-up table (LUT) that gives the lightness value of the pixel of the output signal OS to the lightness value of the pixel of the input signal IS and the selection signal SS for selecting the gradation conversion curve candidates G1 to Gp. ). A specific example is substantially the same as that described with reference to FIG. 8 in [Second Embodiment], and thus the description thereof is omitted here. However, in the present embodiment, the pixel values of the output signal OS are arranged in the column direction of the matrix with respect to the upper 6 bits of the pixel value of the input signal IS represented by 10 bits, for example.

〈作用〉
各部の動作について説明を加える。画像分割部22は、図1の画像分割部2とほぼ同様に動作し、入力信号ISとして入力される原画像を複数(n個)の画像領域Pmに分割する(図2参照)。ここで、原画像の分割数は、図33に示す従来の視覚処理装置300の分割数(例えば、4〜16分割)よりも多く、例えば、横方向に80分割し縦方向に60分割する4800分割などである。
選択信号導出部23は、それぞれの画像領域Pmに対して階調変換曲線Cmを階調変換曲線候補G1〜Gpの中から選択する。具体的には、選択信号導出部23は、画像領域Pmの広域画像領域Emの平均明度値を計算し、計算された平均明度値に応じて階調変換曲線候補G1〜Gpのいずれかの選択を行う。すなわち、階調変換曲線候補G1〜Gpは、広域画像領域Emの平均明度値に関連づけられており、平均明度値が大きくなるほど、添え字の大きい階調変換曲線候補G1〜Gpが選択される。
<Action>
The operation of each part will be described. The image dividing unit 22 operates in substantially the same manner as the image dividing unit 2 in FIG. 1, and divides the original image input as the input signal IS into a plurality (n) of image regions Pm (see FIG. 2). Here, the number of divisions of the original image is larger than the number of divisions (for example, 4 to 16 divisions) of the conventional visual processing device 300 shown in FIG. 33. For example, 4800 is divided into 80 in the horizontal direction and 60 in the vertical direction. Such as division.
The selection signal deriving unit 23 selects a gradation conversion curve Cm from the gradation conversion curve candidates G1 to Gp for each image region Pm. Specifically, the selection signal deriving unit 23 calculates the average brightness value of the wide area image area Em of the image area Pm, and selects any one of the gradation conversion curve candidates G1 to Gp according to the calculated average brightness value. I do. That is, the tone conversion curve candidates G1 to Gp are associated with the average brightness value of the wide area image region Em, and the tone conversion curve candidates G1 to Gp with larger subscripts are selected as the average brightness value increases.

ここで、広域画像領域Emとは、[第1実施形態]において図2を用いて説明したのと同様である。すなわち、広域画像領域Emは、それぞれの画像領域Pmを含む複数の画像領域の集合であり、例えば、画像領域Pmを中心とする縦方向5ブロック、横方向5ブロックの25個の画像領域の集合である。なお、画像領域Pmの位置によっては、画像領域Pmの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Emを取ることができない場合がある。例えば、原画像の周辺に位置する画像領域Plに対して、画像領域Plの周辺に縦方向5ブロック、横方向5ブロックの広域画像領域Elを取ることができない。この場合には、画像領域Plを中心とする縦方向5ブロック横方向5ブロックの領域と原画像とが重なる領域が広域画像領域Elとして採用される。
選択信号導出部23の選択結果は、階調変換曲線候補G1〜Gpのいずれかを示す選択信号Smとして出力される。より具体的には、選択信号Smは、階調変換曲線候補G1〜Gpの添え字(1〜p)の値として出力される。
Here, the wide area image region Em is the same as that described with reference to FIG. 2 in the first embodiment. That is, the wide area image area Em is a set of a plurality of image areas including each of the image areas Pm. It is. Depending on the position of the image area Pm, there may be a case where the wide area image area Em of 5 blocks in the vertical direction and 5 blocks in the horizontal direction cannot be taken around the image area Pm. For example, with respect to the image area Pl located around the original image, it is not possible to take a wide area image area El of 5 blocks in the vertical direction and 5 blocks in the horizontal direction around the image area Pl. In this case, an area where the area of 5 blocks in the vertical direction and 5 blocks in the horizontal direction centering on the image area Pl overlaps with the original image is adopted as the wide area image area El.
The selection result of the selection signal deriving unit 23 is output as a selection signal Sm indicating any one of the gradation conversion curve candidates G1 to Gp. More specifically, the selection signal Sm is output as the value of the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp.

選択信号補正部24は、それぞれの画像領域Pmに対して出力されたそれぞれの選択信号Smを用いた補正により、入力信号ISを構成する画素毎に階調変換曲線を選択するための画素毎の選択信号SSを出力する。例えば、画像領域Pmに含まれる画素に対する選択信号SSは、画像領域Pmおよび画像領域Pmの周辺の画像領域に対して出力された選択信号の値を画素位置の内分比で補正して求められる。
図20を用いて、選択信号補正部24の動作についてさらに詳しく説明する。図20は、画像領域Po,Pp,Pq,Pr(o,p,q,rは分割数n(図2参照。)以下の正整数)に対して選択信号So,Sp,Sq,Srが出力された状態を示している。
ここで、階調補正の対象となる画素xの位置を、画像領域Poの中心と画像領域Ppの中心とを[i:1−i]に内分し、かつ、画像領域Poの中心と画像領域Pqの中心とを[j:1−j]に内分する位置であるとする。この場合、画素xに対する選択信号SSの値[SS]は、[SS]={(1−j)・(1−i)・[So]+(1−j)・(i)・[Sp]+(j)・(1−i)・[Sq]+(j)・(i)・[Sr]}と求められる。なお、[So],[Sp],[Sq],[Sr]は、選択信号So,Sp,Sq,Srの値であるとする。
The selection signal correction unit 24 performs pixel-by-pixel selection for selecting a gradation conversion curve for each pixel constituting the input signal IS by correction using each selection signal Sm output for each image region Pm. The selection signal SS is output. For example, the selection signal SS for the pixels included in the image region Pm is obtained by correcting the value of the selection signal output for the image region Pm and the image region around the image region Pm with the internal division ratio of the pixel position. .
The operation of the selection signal correction unit 24 will be described in more detail with reference to FIG. In FIG. 20, selection signals So, Sp, Sq, and Sr are output for image regions Po, Pp, Pq, and Pr (o, p, q, and r are positive integers equal to or less than the division number n (see FIG. 2)). It shows the state that was done.
Here, the position of the pixel x to be subjected to gradation correction is divided into [i: 1-i] between the center of the image area Po and the center of the image area Pp, and the center of the image area Po and the image. It is assumed that the position is a position that internally divides the center of the region Pq into [j: 1-j]. In this case, the value [SS] of the selection signal SS for the pixel x is [SS] = {(1-j). (1-i). [So] + (1-j). (I). [Sp] + (J). (1-i). [Sq] + (j). (I). [Sr]}. [So], [Sp], [Sq], and [Sr] are values of the selection signals So, Sp, Sq, and Sr.

階調処理実行部25は、入力信号ISが含む画素の明度値と選択信号SSとを入力とし、例えば図8に示す2次元LUT41を用いて、出力信号OSの明度値を出力する。
なお、選択信号SSの値[SS]が、2次元LUT41の備える階調変換曲線候補G1〜Gpの添え字(1〜p)と等しい値にならない場合、値[SS]に最も近い整数を添え字とする階調変換曲線候補G1〜Gpが入力信号ISの階調処理に用いられる。
〈視覚処理方法および視覚処理プログラム〉
図21に、視覚処理装置21における視覚処理方法を説明するフローチャートを示す。図21に示す視覚処理方法は、視覚処理装置21においてハードウェアにより実現され、入力信号IS(図19参照)の階調処理を行う方法である。図21に示す視覚処理方法では、入力信号ISは、画像単位で処理される(ステップS30〜S37)。入力信号ISとして入力される原画像は、複数の画像領域Pm(1≦m≦n:nは原画像の分割数)に分割され(ステップS31)、画像領域Pm毎に階調変換曲線Cmが選択され(ステップS32〜S33)、画像領域Pm毎に階調変換曲線Cmを選択するための選択信号Smに基づいて、原画像の画素毎に階調変換曲線が選択され、画素単位での階調処理が行われる(ステップS34〜S36)。
The gradation processing execution unit 25 receives the lightness value of the pixel included in the input signal IS and the selection signal SS, and outputs the lightness value of the output signal OS using, for example, a two-dimensional LUT 41 shown in FIG.
When the value [SS] of the selection signal SS is not equal to the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp included in the two-dimensional LUT 41, an integer closest to the value [SS] is added. The tone conversion curve candidates G1 to Gp to be used as characters are used for tone processing of the input signal IS.
<Visual processing method and visual processing program>
FIG. 21 shows a flowchart for explaining a visual processing method in the visual processing device 21. The visual processing method shown in FIG. 21 is realized by hardware in the visual processing device 21, and is a method for performing gradation processing of the input signal IS (see FIG. 19). In the visual processing method shown in FIG. 21, the input signal IS is processed in units of images (steps S30 to S37). The original image input as the input signal IS is divided into a plurality of image regions Pm (1 ≦ m ≦ n: n is the number of divisions of the original image) (step S31), and a gradation conversion curve Cm is generated for each image region Pm. A gradation conversion curve is selected for each pixel of the original image on the basis of the selection signal Sm for selecting the gradation conversion curve Cm for each image region Pm (steps S32 to S33). Tone processing is performed (steps S34 to S36).

それぞれのステップについて具体的に説明を加える。
それぞれの画像領域Pmに対して階調変換曲線Cmが階調変換曲線候補G1〜Gpの中から選択される(ステップS32)。具体的には、画像領域Pmの広域画像領域Emの平均明度値を計算し、計算された平均明度値に応じて階調変換曲線候補G1〜Gpのいずれかの選択が行われる。階調変換曲線候補G1〜Gpは、広域画像領域Emの平均明度値に関連づけられており、平均明度値が大きくなるほど、添え字の大きい階調変換曲線候補G1〜Gpが選択される。ここで、広域画像領域Emについては、説明を省略する(上記〈作用〉の欄参照。)。選択結果は、階調変換曲線候補G1〜Gpのいずれかを示す選択信号Smとして出力される。より具体的には、選択信号Smは、階調変換曲線候補G1〜Gpの添え字(1〜p)の値として出力される。さらに、全ての画像領域Pmについての処理が終了したか否かを判定し(ステップS33)、処理が終了したと判定されるまで、ステップS32〜S33の処理を原画像の分割数回繰り返す。以上により、画像領域単位の処理が終了する。
Specific explanation will be given for each step.
A gradation conversion curve Cm is selected from the gradation conversion curve candidates G1 to Gp for each image region Pm (step S32). Specifically, the average brightness value of the wide area image area Em of the image area Pm is calculated, and any one of the gradation conversion curve candidates G1 to Gp is selected according to the calculated average brightness value. The tone conversion curve candidates G1 to Gp are associated with the average brightness value of the wide area image region Em, and the tone conversion curve candidates G1 to Gp with larger subscripts are selected as the average brightness value increases. Here, the description of the wide area image region Em is omitted (see the column of <Action> above). The selection result is output as a selection signal Sm indicating any one of the gradation conversion curve candidates G1 to Gp. More specifically, the selection signal Sm is output as the value of the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp. Further, it is determined whether or not the processing for all the image areas Pm has been completed (step S33), and the processing in steps S32 to S33 is repeated several times until the processing is determined to be completed. Thus, the processing for each image area is completed.

それぞれの画像領域Pmに対して出力されたそれぞれの選択信号Smを用いた補正により、入力信号ISを構成する画素毎に階調変換曲線を選択するための画素毎の選択信号SSが出力される(ステップS34)。例えば、画像領域Pmに含まれる画素に対する選択信号SSは、画像領域Pmおよび画像領域Pmの周辺の画像領域に対して出力された選択信号の値を画素位置の内分比で補正して求められる。補正の詳細な内容については、説明を省略する(上記〈作用〉の欄、図20参照。)。
入力信号ISが含む画素の明度値と選択信号SSとを入力とし、例えば図8に示す2次元LUT41を用いて、出力信号OSの明度値が出力される(ステップS35)。さらに、全ての画素についての処理が終了したか否かを判定し(ステップS36)、処理が終了したと判定されるまで、ステップS34〜S36の処理を画素数回繰り返す。以上により、画像単位の処理が終了する。
By using the selection signal Sm output for each image region Pm, a selection signal SS for each pixel for selecting a gradation conversion curve is output for each pixel constituting the input signal IS. (Step S34). For example, the selection signal SS for the pixels included in the image region Pm is obtained by correcting the value of the selection signal output for the image region Pm and the image region around the image region Pm with the internal division ratio of the pixel position. . The detailed description of the correction will be omitted (see the section <Action> in FIG. 20).
The brightness value of the pixel included in the input signal IS and the selection signal SS are input, and the brightness value of the output signal OS is output using, for example, the two-dimensional LUT 41 shown in FIG. 8 (step S35). Further, it is determined whether or not the processing for all the pixels has been completed (step S36), and the processing of steps S34 to S36 is repeated several times until it is determined that the processing has been completed. Thus, the process for each image is completed.

なお、図21に示す視覚処理方法のそれぞれのステップは、コンピュータなどにより、視覚処理プログラムとして実現されるものであっても良い。
〈効果〉
本発明により、上記[第1実施形態]および[第2実施形態]の〈効果〉とほぼ同様の効果を得ることが可能である。以下、第3実施形態特有の効果を記載する。
(1)
それぞれの画像領域Pmに対して選択される階調変換曲線Cmは、広域画像領域Emの平均明度値に基づいて作成される。このため、画像領域Pmの大きさは小さくとも十分な明度値のサンプリングが可能となる。また、この結果、小さな画像領域Pmに対しても、適切な階調変換曲線Cmが選択される。
Each step of the visual processing method shown in FIG. 21 may be realized as a visual processing program by a computer or the like.
<effect>
According to the present invention, it is possible to obtain substantially the same effect as the <Effect> of the above [First Embodiment] and [Second Embodiment]. Hereinafter, effects unique to the third embodiment will be described.
(1)
The gradation conversion curve Cm selected for each image area Pm is created based on the average brightness value of the wide area image area Em. For this reason, even if the size of the image region Pm is small, it is possible to sample a sufficient brightness value. As a result, an appropriate gradation conversion curve Cm is selected even for a small image region Pm.

(2)
選択信号補正部24は、画像領域単位で出力される選択信号Smに基づいた補正により、画素毎の選択信号SSを出力する。入力信号ISを構成する原画像の画素は、画素毎の選択信号SSが指定する階調変換曲線候補G1〜Gpを用いて、階調処理される。このため、より適切に階調処理された出力信号OSを得ることができる。例えば、疑似輪郭の発生を抑制することが可能となる。また、出力信号OSにおいては、それぞれの画像領域Pmの境界のつなぎ目が不自然に目立つことがさらに防止可能となる。
(3)
階調処理実行部25は、あらかじめ作成された2次元LUTを有している。このため、階調処理に要する処理負荷を削減すること、より具体的には、階調変換曲線Cmの作成に要する処理負荷を削減することが可能となる。この結果、階調処理を高速化することが可能となる。
(2)
The selection signal correction unit 24 outputs a selection signal SS for each pixel by correction based on the selection signal Sm output in units of image regions. The pixels of the original image constituting the input signal IS are subjected to gradation processing using the gradation conversion curve candidates G1 to Gp designated by the selection signal SS for each pixel. For this reason, it is possible to obtain an output signal OS subjected to more appropriate gradation processing. For example, it becomes possible to suppress the generation of pseudo contours. Further, in the output signal OS, it is possible to further prevent the joint at the boundary of each image region Pm from being unnaturally conspicuous.
(3)
The gradation processing execution unit 25 has a two-dimensional LUT created in advance. For this reason, it is possible to reduce the processing load required for the gradation processing, more specifically, it is possible to reduce the processing load required for creating the gradation conversion curve Cm. As a result, the gradation processing can be speeded up.

(4)
階調処理実行部25は、2次元LUTを用いて階調処理を実行する。ここで、2次元LUTの内容は、視覚処理装置21が備えるハードディスクあるいはROMなどの記憶装置から読み出されて階調処理に用いられる。読み出す2次元LUTの内容を変更することにより、ハードウェアの構成を変更せずに様々な階調処理を実現することが可能となる。すなわち、原画像の特性により適した階調処理を実現することが可能となる。
〈変形例〉
本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の変形が可能である。例えば、上記[第2実施形態]〈変形例〉とほぼ同様の変形を第3実施形態に適用することが可能である。特に、[第2実施形態]〈変形例〉の(10)〜(12)では、選択信号Smを選択信号SSと、階調処理信号CSを出力信号OSと読み替えることにより、同様に適用可能である。
(4)
The gradation processing execution unit 25 executes gradation processing using a two-dimensional LUT. Here, the contents of the two-dimensional LUT are read from a storage device such as a hard disk or a ROM provided in the visual processing device 21 and used for gradation processing. By changing the contents of the two-dimensional LUT to be read out, various gradation processes can be realized without changing the hardware configuration. That is, it is possible to realize gradation processing more suitable for the characteristics of the original image.
<Modification>
The present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. For example, it is possible to apply substantially the same modification as the above [Second Embodiment] <Modification> to the third embodiment. In particular, in (10) to (12) of [Second Embodiment] <Modification>, the selection signal Sm is replaced with the selection signal SS, and the gradation processing signal CS is replaced with the output signal OS. is there.

以下、第3実施形態特有の変形例を記載する。
(1)
上記実施形態では、64行64列のマトリクスからなる2次元LUT41を2次元LUTの一例とした。ここで、本発明の効果は、このサイズの2次元LUTに限定されるものではない。例えば、さらに多くの階調変換曲線候補を行方向に並べたマトリクスであっても良い。また、入力信号ISの画素値をさらに細かいステップに区切った値に対する出力信号OSの画素値をマトリクスの列方向に並べたもので有っても良い。具体的には、例えば10ビットで表される入力信号ISのそれぞれの画素値に対して、出力信号OSの画素値を並べたもので有っても良い。
2次元LUTのサイズが大きくなれば、より適切な階調処理を行うことが可能となり、小さくなれば、2次元LUTを記憶するメモリの削減などが可能となる。
Hereinafter, modifications specific to the third embodiment will be described.
(1)
In the above-described embodiment, the two-dimensional LUT 41 including a 64 × 64 matrix is taken as an example of the two-dimensional LUT. Here, the effect of the present invention is not limited to the two-dimensional LUT of this size. For example, it may be a matrix in which more gradation conversion curve candidates are arranged in the row direction. Further, the pixel values of the output signal OS corresponding to the values obtained by dividing the pixel values of the input signal IS into smaller steps may be arranged in the column direction of the matrix. Specifically, for example, the pixel value of the output signal OS may be arranged for each pixel value of the input signal IS represented by 10 bits.
If the size of the two-dimensional LUT is increased, more appropriate gradation processing can be performed, and if the size is decreased, the memory for storing the two-dimensional LUT can be reduced.

(2)
上記実施形態では、選択信号SSの値[SS]が、2次元LUT41(図8参照)の備える階調変換曲線候補G1〜Gpの添え字(1〜p)と等しい値にならない場合、値[SS]に最も近い整数を添え字とする階調変換曲線候補G1〜Gpが入力信号ISの階調処理に用いられる、と説明した。ここで、選択信号SSの値[SS]が、2次元LUT41の備える階調変換曲線候補G1〜Gpの添え字(1〜p)と等しい値にならない場合、選択信号SSの値[SS]を超えない最大の整数(k)を添え字とする階調変換曲線候補Gk(1≦k≦p−1)と、[SS]を超える最小の整数(k+1)を添え字とする階調変換曲線候補Gk+1との双方を用いて階調処理した入力信号ISの画素値を、選択信号SSの値[SS]の小数点以下の値を用いて加重平均(内分)し、出力信号OSを出力してもよい。
(2)
In the above embodiment, when the value [SS] of the selection signal SS is not equal to the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp included in the two-dimensional LUT 41 (see FIG. 8), the value [ It has been described that the gradation conversion curve candidates G1 to Gp with the integer closest to SS] as subscripts are used for the gradation processing of the input signal IS. Here, when the value [SS] of the selection signal SS is not equal to the subscripts (1 to p) of the gradation conversion curve candidates G1 to Gp included in the two-dimensional LUT 41, the value [SS] of the selection signal SS is set. Gradation conversion curve candidate Gk (1 ≦ k ≦ p−1) with a maximum integer (k) not exceeding as a subscript and gradation conversion curve with a minimum integer (k + 1) exceeding [SS] as a subscript The pixel value of the input signal IS subjected to gradation processing using both the candidate Gk + 1 and the weighted average (internal division) using the value after the decimal point of the value [SS] of the selection signal SS is output, and the output signal OS is output. May be.

(3)
上記実施形態では、マトリクスの列方向には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値に対する出力信号OSの画素値が並んでいる、と説明した。ここで、出力信号OSは、階調処理実行部25により、入力信号ISの画素値の下位4ビットの値で線形補間されたマトリクスの成分として出力されるものであっても良い。すなわち、マトリクスの列方向には、例えば10ビットで表される入力信号ISの画素値の上位6ビットの値に対するマトリクスの成分が並んでおり、入力信号ISの画素値の上位6ビットの値に対するマトリクスの成分と、入力信号ISの画素値の上位6ビットの値に[1]を加えた値に対するマトリクスの成分(例えば、図8では、1行下の成分)とを入力信号ISの画素値の下位4ビットの値を用いて線形補間し、出力信号OSとして出力する。
(3)
In the above-described embodiment, it has been described that the pixel values of the output signal OS are arranged in the column direction of the matrix with respect to the upper 6 bits of the pixel value of the input signal IS represented by 10 bits, for example. Here, the output signal OS may be output as a component of a matrix that is linearly interpolated by the gradation processing execution unit 25 with the lower 4 bits of the pixel value of the input signal IS. That is, in the column direction of the matrix, for example, the components of the matrix corresponding to the upper 6 bits of the pixel value of the input signal IS represented by 10 bits are arranged, and the upper 6 bits of the pixel value of the input signal IS are arranged. The matrix component and the matrix component for the value obtained by adding [1] to the upper 6 bits of the pixel value of the input signal IS (for example, the component one row below in FIG. 8) are the pixel values of the input signal IS. Are linearly interpolated using the value of the lower 4 bits and output as the output signal OS.

これにより、2次元LUT41(図8参照)のサイズが小さくとも、より適切な階調処理を行うことが可能となる。
(4)
上記実施形態では、広域画像領域Emの平均明度値に基づいて、画像領域Pmに対する選択信号Smを出力すると説明した。ここで、選択信号Smの出力方法は、この方法に限られない。例えば、広域画像領域Emの最大明度値、あるいは最小明度値に基づいて、画像領域Pmに対する選択信号Smを出力してもよい。なお、選択信号Smの値[Sm]は、広域画像領域Emの平均明度値、最大明度値、あるいは最小明度値そのものであってもよい。
また例えば、次のようにして画像領域Pmに対する選択信号Smを出力してもよい。すなわち、それぞれの画像領域Pmについて平均明度値を求め、それぞれの平均明度値からそれぞれの画像領域Pmについての仮の選択信号Sm’を求める。ここで、仮の選択信号Sm’は、階調変換曲線候補G1〜Gpの添え字の番号を値としている。さらに、広域画像領域Emが含むそれぞれの画像領域について、仮の選択信号Sm’の値を平均し、画像領域Pmの選択信号Smとする。
As a result, even if the size of the two-dimensional LUT 41 (see FIG. 8) is small, more appropriate gradation processing can be performed.
(4)
In the embodiment described above, the selection signal Sm for the image area Pm is output based on the average brightness value of the wide area image area Em. Here, the method of outputting the selection signal Sm is not limited to this method. For example, the selection signal Sm for the image area Pm may be output based on the maximum brightness value or the minimum brightness value of the wide area image area Em. The value [Sm] of the selection signal Sm may be the average brightness value, the maximum brightness value, or the minimum brightness value of the wide area image area Em.
For example, the selection signal Sm for the image region Pm may be output as follows. That is, an average brightness value is obtained for each image region Pm, and a provisional selection signal Sm ′ for each image region Pm is obtained from each average brightness value. Here, the provisional selection signal Sm ′ has the values of the subscript numbers of the gradation conversion curve candidates G1 to Gp as values. Further, for each image area included in the wide area image area Em, the value of the temporary selection signal Sm ′ is averaged to obtain the selection signal Sm of the image area Pm.

(5)
上記実施形態では、広域画像領域Emの平均明度値に基づいて、画像領域Pmに対する選択信号Smを出力すると説明した。ここで、広域画像領域Emの単純平均でなく、加重平均(重み付き平均)に基づいて、画像領域Pmに対する選択信号Smを出力しても良い。詳細は、上記[第2実施形態]で図11を用いて説明したのと同様であり、広域画像領域Emを構成するそれぞれの画像領域の平均明度値を求め、画像領域Pmの平均明度値と大きく異なる平均明度値を持つ画像領域Ps1,Ps2,・・・については、重み付けを軽くして広域画像領域Emの平均明度値を求める。
これにより、広域画像領域Emが明度的に特異的な領域を含む場合(例えば、広域画像領域Emが2つの明度値の異なる物体の境界を含む場合)であっても、選択信号Smの出力に対して、その特異的な領域の明度値が与える影響が少なくなり、さらに適切な選択信号Smの出力が行われることとなる。
(5)
In the embodiment described above, the selection signal Sm for the image area Pm is output based on the average brightness value of the wide area image area Em. Here, the selection signal Sm for the image area Pm may be output based on a weighted average (weighted average) instead of a simple average of the wide area image area Em. The details are the same as those described with reference to FIG. 11 in the above [Second Embodiment]. The average brightness value of each image area constituting the wide area image area Em is obtained, and the average brightness value of the image area Pm is calculated. For the image areas Ps1, Ps2,... Having significantly different average brightness values, the weighting is reduced and the average brightness value of the wide area image area Em is obtained.
As a result, even when the wide area image region Em includes an area specific to brightness (for example, when the wide area image area Em includes a boundary between two objects having different brightness values), the selection signal Sm is output. On the other hand, the influence of the brightness value of the specific area is reduced, and an appropriate selection signal Sm is output.

(6)
視覚処理装置21では、2次元LUTが格納する値であるプロファイルデータを作成するプロファイルデータ作成部をさらに備えていても良い。具体的には、プロファイルデータ作成部は、視覚処理装置1(図1参照)における画像分割部2と階調変換曲線導出部10とから構成されており、作成された複数の階調変換曲線の集合をプロファイルデータとして2次元LUTに格納する。
また、2次元LUTに格納される階調変換曲線のそれぞれは、空間処理された入力信号ISに関連づけられていてもかまわない。この場合、視覚処理装置21では、画像分割部22と選択信号導出部23と選択信号補正部24とを、入力信号ISを空間処理する空間処理部に置き換えても良い。
(6)
The visual processing device 21 may further include a profile data creation unit that creates profile data that is a value stored in the two-dimensional LUT. Specifically, the profile data creation unit includes an image dividing unit 2 and a tone conversion curve deriving unit 10 in the visual processing device 1 (see FIG. 1). The set is stored in the two-dimensional LUT as profile data.
Further, each of the gradation conversion curves stored in the two-dimensional LUT may be associated with the spatially processed input signal IS. In this case, in the visual processing device 21, the image dividing unit 22, the selection signal deriving unit 23, and the selection signal correcting unit 24 may be replaced with a spatial processing unit that spatially processes the input signal IS.

[第4実施形態]
図22〜図25を用いて本発明の第4実施形態としての視覚処理装置61について説明する。
図22に示す視覚処理装置61は、画像信号の空間処理、階調処理など視覚処理を行う装置である。視覚処理装置61は、例えば、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDA、プリンタ、スキャナなどの画像を取り扱う機器において、画像信号の色処理を行う装置とともに画像処理装置を構成する。
視覚処理装置61は、画像信号と、画像信号に対して空間処理(ボケフィルタ処理)を施したボケ信号とを用いた視覚処理を行う装置であり、空間処理において特徴を有している。
[Fourth Embodiment]
A visual processing device 61 according to a fourth embodiment of the present invention will be described with reference to FIGS.
A visual processing device 61 shown in FIG. 22 is a device that performs visual processing such as spatial processing and gradation processing of an image signal. The visual processing device 61 constitutes an image processing device together with a device that performs color processing of an image signal in a device that handles images, such as a computer, a television, a digital camera, a mobile phone, a PDA, a printer, and a scanner.
The visual processing device 61 is a device that performs visual processing using an image signal and a blur signal obtained by performing spatial processing (blur filter processing) on the image signal, and has a feature in spatial processing.

従来、対象画素の周辺の画素を用いてボケ信号を導出する際に、周辺の画素が対象画素と大きく濃度の異なる画素を含むと、ボケ信号は、濃度の異なる画素の影響を受ける。すなわち、画像において物体のエッジ近傍の画素を空間処理する場合、本来エッジでない画素がエッジの濃度の影響を受けることとなる。このため、この空間処理により、例えば、擬似輪郭の発生などが引き起こされることとなる。
そこで、空間処理を画像の内容に適応させて行うことが求められる。これに対して、例えば、特開平10−75395号公報は、ボケ度合いの異なる複数のボケ信号を作成し、それぞれのボケ信号を合成、あるいは切り替えることにより適切なボケ信号を出力する。これにより、空間処理のフィルタサイズを変更し、濃度の異なる画素の影響を抑制することを目的とする。
Conventionally, when a blur signal is derived using pixels around a target pixel, if the peripheral pixel includes a pixel having a large density different from that of the target pixel, the blur signal is affected by a pixel having a different density. That is, when spatially processing pixels near the edge of an object in an image, pixels that are not originally edges are affected by the edge density. For this reason, for example, the generation of a pseudo contour is caused by this spatial processing.
Therefore, it is required to perform spatial processing in accordance with the content of the image. On the other hand, for example, Japanese Patent Laid-Open No. 10-75395 generates a plurality of blur signals having different degrees of blur, and outputs appropriate blur signals by combining or switching the respective blur signals. Accordingly, an object is to change the filter size of the spatial processing and suppress the influence of pixels having different densities.

一方、上記公報では、複数のボケ信号を作成し、それぞれのボケ信号を合成、あるいは切り替えることとなるため、装置における回路規模、あるいは処理負荷が大きくなる。
そこで、本発明の第4実施形態としての視覚処理装置61では、適切なボケ信号を出力することを目的とし、かつ、装置における回路規模、あるいは処理負荷を削減することを目的とする。
〈視覚処理装置61〉
図22に、画像信号(入力信号IS)に視覚処理を行い視覚処理画像(出力信号OS)を出力する視覚処理装置61の基本構成を示す。視覚処理装置61は、入力信号ISとして取得した原画像の画素ごとの明度値に空間処理を実行しアンシャープ信号USを出力する空間処理部62と、同じ画素についての入力信号ISとアンシャープ信号USとを用いて、原画像の視覚処理を行い、出力信号OSを出力する視覚処理部63とを備えている。
On the other hand, in the above publication, a plurality of blur signals are created, and the respective blur signals are combined or switched, which increases the circuit scale or processing load in the apparatus.
Therefore, the visual processing device 61 according to the fourth embodiment of the present invention aims to output an appropriate blur signal and to reduce the circuit scale or processing load in the device.
<Visual processing device 61>
FIG. 22 shows a basic configuration of a visual processing device 61 that performs visual processing on an image signal (input signal IS) and outputs a visually processed image (output signal OS). The visual processing device 61 performs spatial processing on the brightness value of each pixel of the original image acquired as the input signal IS and outputs an unsharp signal US, and the input signal IS and unsharp signal for the same pixel. A visual processing unit 63 that performs visual processing of an original image using US and outputs an output signal OS is provided.

〈空間処理部62〉
図23を用いて、空間処理部62の空間処理について説明する。空間処理部62は、空間処理の対象となる対象画素65と、対象画素65の周辺領域の画素(以下、周辺画素66という)との画素値を入力信号ISから取得する。
周辺画素66は、対象画素65の周辺領域に位置する画素であり、対象画素65を中心として広がる縦9画素、横9画素の周辺領域に含まれる画素である。なお、周辺領域の大きさは、この場合に限定されず、より小さくてもよいし、より大きくてもよい。また、周辺画素66は、対象画素65からの距離に応じて近いものから第1周辺画素67、第2周辺画素68と分けられている。図23では、第1周辺画素67は、対象画素65を中心とする縦5画素、横5画素の領域に含まれる画素であるとする。さらに第2周辺画素68は、第1周辺画素67の周辺に位置する画素であるとする。
<Spatial processing unit 62>
The spatial processing of the spatial processing unit 62 will be described with reference to FIG. The spatial processing unit 62 acquires the pixel values of the target pixel 65 to be subjected to spatial processing and the pixels in the peripheral area of the target pixel 65 (hereinafter referred to as the peripheral pixel 66) from the input signal IS.
The peripheral pixel 66 is a pixel located in the peripheral region of the target pixel 65 and is a pixel included in the peripheral region of 9 pixels in the vertical direction and 9 pixels in the horizontal direction that spreads around the target pixel 65. Note that the size of the peripheral region is not limited to this case, and may be smaller or larger. Further, the peripheral pixel 66 is divided into a first peripheral pixel 67 and a second peripheral pixel 68 that are close to each other according to the distance from the target pixel 65. In FIG. 23, it is assumed that the first peripheral pixel 67 is a pixel included in an area of 5 pixels vertically and 5 pixels horizontally with the target pixel 65 as the center. Furthermore, the second peripheral pixel 68 is a pixel located around the first peripheral pixel 67.

空間処理部62は、対象画素65に対してフィルタ演算を行う。フィルタ演算では、対象画素65と周辺画素66との画素値とが、対象画素65と周辺画素66との画素値の差および距離に基づく重みを用いて、加重平均される。加重平均は、次式F=(Σ[Wij]*[Aij])/(Σ[Wij])に基づいて計算される。ここで、[Wij]は、対象画素65および周辺画素66において、i行j列目に位置する画素の重み係数であり、[Aij]は、対象画素65および周辺画素66において、i行j列目に位置する画素の画素値である。また、「Σ」は、対象画素65および周辺画素66のそれぞれの画素についての合計の計算を行うことを意味している。
図24を用いて、重み係数[Wij]について説明する。重み係数[Wij]は、対象画素65と周辺画素66との画素値の差および距離に基づいて定められる値である。より具体的には、画素値の差の絶対値が大きいほど小さい値の重み係数が与えられる。また、距離が大きいほど小さい重み係数が与えられる。
The spatial processing unit 62 performs a filter operation on the target pixel 65. In the filter calculation, the pixel values of the target pixel 65 and the peripheral pixel 66 are weighted and averaged using a weight based on the difference and distance between the pixel values of the target pixel 65 and the peripheral pixel 66. The weighted average is calculated based on the following formula F = (Σ [Wij] * [Aij]) / (Σ [Wij]). Here, [Wij] is the weighting factor of the pixel located in the i-th row and j-th column in the target pixel 65 and the peripheral pixel 66, and [Aij] is the i-th row and j-th column in the target pixel 65 and the peripheral pixel 66. This is the pixel value of the pixel located in the eye. Further, “Σ” means that a total calculation is performed for each of the target pixel 65 and the peripheral pixel 66.
The weighting coefficient [Wij] will be described with reference to FIG. The weighting coefficient [Wij] is a value determined based on the difference in pixel value and the distance between the target pixel 65 and the peripheral pixel 66. More specifically, a smaller weight coefficient is given as the absolute value of the pixel value difference increases. Also, a smaller weighting factor is given as the distance increases.

例えば、対象画素65に対しては、重み係数[Wij]は、値[1]である。
第1周辺画素67のうち、対象画素65の画素値との差の絶対値が所定の閾値よりも小さい画素値を有する画素に対しては、重み係数[Wij]は、値[1]である。第1周辺画素67のうち、差の絶対値が所定の閾値よりも大きい画素値を有する画素に対しては、重み係数[Wij]は、値[1/2]である。すなわち、第1周辺画素67に含まれる画素であっても、画素値に応じて与えられる重み係数が異なっている。
第2周辺画素68のうち、対象画素65の画素値との差の絶対値が所定の閾値よりも小さい画素値を有する画素に対しては、重み係数[Wij]は、値[1/2]である。第2周辺画素68のうち、差の絶対値が所定の閾値よりも大きい画素値を有する画素に対しては、重み係数[Wij]は、値[1/4]である。すなわち、第2周辺画素68に含まれる画素であっても、画素値に応じて与えられる重み係数が異なっている。また、対象画素65からの距離が第1周辺画素67よりも大きい第2周辺画素68では、より小さい重み係数が与えられている。
For example, for the target pixel 65, the weighting coefficient [Wij] is the value [1].
Of the first peripheral pixels 67, the weight coefficient [Wij] is a value [1] for a pixel having a pixel value whose absolute value of the difference from the pixel value of the target pixel 65 is smaller than a predetermined threshold value. . Of the first peripheral pixels 67, the weight coefficient [Wij] is a value [1/2] for a pixel having a pixel value whose absolute value of the difference is larger than a predetermined threshold value. In other words, even the pixels included in the first peripheral pixel 67 have different weighting coefficients given according to the pixel values.
Of the second peripheral pixels 68, for a pixel having a pixel value whose absolute value of the difference from the pixel value of the target pixel 65 is smaller than a predetermined threshold, the weighting coefficient [Wij] is a value [1/2]. It is. Of the second peripheral pixels 68, the weight coefficient [Wij] is a value [1/4] for a pixel having a pixel value whose absolute value of the difference is larger than a predetermined threshold value. That is, even the pixels included in the second peripheral pixel 68 have different weighting coefficients given according to the pixel values. In addition, a smaller weight coefficient is given to the second peripheral pixel 68 whose distance from the target pixel 65 is larger than that of the first peripheral pixel 67.

ここで、所定の閾値とは、値[0.0〜1.0]の範囲の値をとる対象画素65の画素値に対して、値[20/256〜60/256]などといった大きさの値である。
以上により計算された加重平均が、アンシャープ信号USとして出力される。
〈視覚処理部63〉
視覚処理部63では、同一の画素についての入力信号ISとアンシャープ信号USとの値を用いて、視覚処理を行う。ここで行われる視覚処理は、入力信号ISのコントラスト強調、あるいはダイナミックレンジ圧縮などといった処理である。コントラスト強調では、入力信号ISとアンシャープ信号USとの差、あるいは比を強調する関数を用いて強調した信号を入力信号ISに加え、画像の鮮鋭化が行われる。ダイナミックレンジ圧縮では、入力信号ISからアンシャープ信号USが減算される。
Here, the predetermined threshold is a value [20/256 to 60/256] or the like with respect to the pixel value of the target pixel 65 that takes a value in the range of [0.0 to 1.0]. Value.
The weighted average calculated as described above is output as the unsharp signal US.
<Visual processing unit 63>
The visual processing unit 63 performs visual processing using the values of the input signal IS and the unsharp signal US for the same pixel. The visual processing performed here is processing such as contrast enhancement of the input signal IS or dynamic range compression. In contrast enhancement, a signal enhanced using a function that enhances the difference or ratio between the input signal IS and the unsharp signal US is added to the input signal IS to sharpen the image. In dynamic range compression, the unsharp signal US is subtracted from the input signal IS.

視覚処理部63における処理は、入力信号ISとアンシャープ信号USとを入力として出力信号OSを出力する2次元LUTを用いて行われても良い。
〈視覚処理方法・プログラム〉
上述の処理は、視覚処理プログラムとして、コンピュータなどにより実行されるものであってもよい。視覚処理プログラムは、以下記載する視覚処理方法をコンピュータに実行させるためのプログラムである。
視覚処理方法は、入力信号ISとして取得した原画像の画素ごとの明度値に空間処理を実行しアンシャープ信号USを出力する空間処理ステップと、同じ画素についての入力信号ISとアンシャープ信号USとを用いて、原画像の視覚処理を行い、出力信号OSを出力する視覚処理ステップとを備えている。
The processing in the visual processing unit 63 may be performed using a two-dimensional LUT that receives the input signal IS and the unsharp signal US and outputs the output signal OS.
<Visual processing method / program>
The above-described processing may be executed by a computer or the like as a visual processing program. The visual processing program is a program for causing a computer to execute the visual processing method described below.
The visual processing method includes a spatial processing step of performing spatial processing on the brightness value for each pixel of the original image acquired as the input signal IS and outputting an unsharp signal US, and an input signal IS and an unsharp signal US for the same pixel. And a visual processing step for performing visual processing of the original image and outputting an output signal OS.

空間処理ステップでは、入力信号ISの画素毎に、空間処理部62の説明において記載した加重平均を行い、アンシャープ信号USを出力する。詳細については、上述したため省略する。
視覚処理ステップでは、同じ画素についての入力信号ISとアンシャープ信号USとを用いて、視覚処理部63の説明において記載した視覚処理を行い出力信号OSを出力する。詳細については、上述したため省略する。
〈効果〉
図25(a)〜(b)を用いて、視覚処理装置61による視覚処理の効果を説明する。図25(a)と図25(b)とは、従来のフィルタによる処理を示している。図25(b)は、本発明のフィルタによる処理を示している。
In the spatial processing step, the weighted average described in the description of the spatial processing unit 62 is performed for each pixel of the input signal IS, and the unsharp signal US is output. Details are omitted because they have been described above.
In the visual processing step, the visual processing described in the description of the visual processing unit 63 is performed using the input signal IS and the unsharp signal US for the same pixel, and the output signal OS is output. Details are omitted because they have been described above.
<effect>
The effect of the visual processing by the visual processing device 61 will be described with reference to FIGS. FIG. 25A and FIG. 25B show processing by a conventional filter. FIG. 25B shows processing by the filter of the present invention.

図25(a)は、周辺画素66が濃度の異なる物体71を含む様子を示している。対象画素65の空間処理では、所定のフィルタ係数を持つ平滑化フィルタが用いられる。このため、本来物体71の一部でない対象画素65が物体71の濃度の影響を受けることとなる。
図25(b)は、本発明の空間処理の様子を示している。本発明の空間処理では、周辺画素66が物体71を含む部分66a、物体71を含まない第1周辺画素67、物体71を含まない第2周辺画素68、対象画素65、のそれぞれに対して、異なる重み係数を用いて空間処理が行われる。このため、空間処理された対象画素65が極端に濃度の異なる画素から受ける影響を抑えることが可能となり、より適切な空間処理が可能となる。
また、視覚処理装置61では、特開平10−75395号公報のように複数のボケ信号を作成する必要が無い。このため、装置における回路規模、あるいは処理負荷を削減することが可能となる。
FIG. 25A shows a state in which the peripheral pixels 66 include objects 71 having different densities. In the spatial processing of the target pixel 65, a smoothing filter having a predetermined filter coefficient is used. For this reason, the target pixel 65 that is not originally part of the object 71 is affected by the density of the object 71.
FIG. 25B shows the state of the spatial processing of the present invention. In the spatial processing of the present invention, each of the peripheral pixel 66 including the portion 66a including the object 71, the first peripheral pixel 67 not including the object 71, the second peripheral pixel 68 not including the object 71, and the target pixel 65, Spatial processing is performed using different weighting factors. For this reason, it is possible to suppress the influence of the spatially processed target pixel 65 from pixels with extremely different densities, and more appropriate spatial processing is possible.
Further, in the visual processing device 61, it is not necessary to create a plurality of blur signals as in JP-A-10-75395. For this reason, it becomes possible to reduce the circuit scale or processing load in the apparatus.

さらに、視覚処理装置61では、実質的に、空間フィルタのフィルタサイズ、およびフィルタが参照する画像の形状を画像内容に応じて適応的に変更することが可能である。このため、画像内容に適した空間処理を行うことが可能となる。
〈変形例〉
(1)
上記した周辺画素66、第1周辺画素67、第2周辺画素などの大きさは、一例であり、他の大きさであってもよい。
上記した重み係数は、一例であり、他のものであっても良い。例えば、画素値の差の絶対値が所定の閾値を超える場合に、重み係数を値[0]として与えてもよい。これにより、空間処理された対象画素65が極端に濃度の異なる画素から受ける影響を無くすことが可能となる。このことは、コントラスト強調を目的とした応用では、元々ある程度コントラストの大きい部分におけるコントラストを過剰に強調しないという効果がある。
Further, the visual processing device 61 can substantially adaptively change the filter size of the spatial filter and the shape of the image referred to by the filter in accordance with the image content. For this reason, it is possible to perform spatial processing suitable for the image content.
<Modification>
(1)
The sizes of the peripheral pixel 66, the first peripheral pixel 67, the second peripheral pixel, and the like described above are merely examples, and other sizes may be used.
The weighting factor described above is an example and may be other. For example, when the absolute value of the pixel value difference exceeds a predetermined threshold, the weighting factor may be given as the value [0]. As a result, it is possible to eliminate the influence of the spatially processed target pixel 65 from pixels with extremely different densities. This has the effect of not over-enhancing the contrast in a part where the contrast is originally large to some extent in the application aiming at contrast enhancement.

また、重み係数は、次に示すような関数の値として与えられるものであってもよい。
(1−a)
画素値の差の絶対値を変数とする関数により重み係数の値を与えてもよい。関数は、例えば、画素値の差の絶対値が小さいときは重み係数が大きく(1に近く)、画素値の差の絶対値が大きいときは重み係数が小さく(0に近く)なるような、画素値の差の絶対値に対して単調減少する関数である。
(1−b)
対象画素65からの距離を変数とする関数により重み係数の値をあたえてもよい。関数は、例えば、対象画素65からの距離が近いときには重み係数が大きく(1に近く)、対象画素65からの距離が遠いときには重み係数が小さく(0に近く)なるような、対象画素65からの距離に対して単調減少する関数である。
The weighting factor may be given as a function value as shown below.
(1-a)
The value of the weighting coefficient may be given by a function having the absolute value of the difference between pixel values as a variable. For example, the function is such that the weighting factor is large (close to 1) when the absolute value of the pixel value difference is small, and the weighting factor is small (close to 0) when the absolute value of the pixel value difference is large. This is a function that monotonously decreases with respect to the absolute value of the difference between pixel values.
(1-b)
The value of the weighting coefficient may be given by a function using the distance from the target pixel 65 as a variable. For example, the function is such that the weighting factor is large (close to 1) when the distance from the target pixel 65 is short, and the weighting factor is small (close to 0) when the distance from the target pixel 65 is long. Is a monotonically decreasing function with respect to the distance.

上記(1−a)、(1−b)では、重み係数がより連続的に与えられることとなる。このため、閾値を用いた場合に比して、より適切な重み係数を与えることが可能となり、過剰なコントラスト強調を抑制し、擬似輪郭の発生などを抑制し、より視覚的効果の高い処理を行うことが可能となる。
(2)
上記したそれぞれの画素についての処理は、複数の画素を含むブロックを単位として行われても良い。具体的には、まず、空間処理の対象となる対象ブロックの平均画素値と、対象ブロックの周辺の周辺ブロックの平均画素値とが計算される。さらに、それぞれの平均画素値が上記と同様の重み係数を用いて加重平均される。これにより、対象ブロックの平均画素値がさらに空間処理されることとなる。
In the above (1-a) and (1-b), the weight coefficient is given more continuously. For this reason, it is possible to give a more appropriate weighting coefficient as compared with the case of using a threshold, to suppress excessive contrast enhancement, to suppress generation of pseudo contours, and to perform processing with higher visual effect. Can be done.
(2)
The processing for each pixel described above may be performed in units of blocks including a plurality of pixels. Specifically, first, an average pixel value of a target block to be subjected to spatial processing and an average pixel value of peripheral blocks around the target block are calculated. Further, each average pixel value is weighted and averaged using the same weighting factor as described above. As a result, the average pixel value of the target block is further spatially processed.

このような場合には、空間処理部62を選択信号導出部13(図6参照)あるいは選択信号導出部23(図19参照)として用いることも可能である。この場合、[第2実施形態]〈変形例〉(6)、あるいは[第3実施形態]〈変形例〉(5)に記載したのと同様である。
これに関し、図26〜図28を用いて説明を加える。
《構成》
図26は、図22〜図25を用いて説明した処理を複数の画素を含むブロック単位で行う視覚処理装置961の構成を示すブロック図である。
視覚処理装置961は、入力信号ISとして入力される画像を複数の画像ブロックに分割する画像分割部964と、分割された画像ブロック毎の空間処理を行う空間処理部962と、入力信号ISと空間処理部962の出力である空間処理信号US2とを用いて視覚処理を行う視覚処理部963とから構成されている。
In such a case, the spatial processing unit 62 can be used as the selection signal deriving unit 13 (see FIG. 6) or the selection signal deriving unit 23 (see FIG. 19). In this case, it is the same as described in [Second Embodiment] <Modification> (6) or [Third Embodiment] <Modification> (5).
This will be described with reference to FIGS.
"Constitution"
FIG. 26 is a block diagram illustrating a configuration of a visual processing device 961 that performs the processing described with reference to FIGS. 22 to 25 in units of blocks including a plurality of pixels.
The visual processing device 961 includes an image dividing unit 964 that divides an image input as an input signal IS into a plurality of image blocks, a spatial processing unit 962 that performs spatial processing for each divided image block, and an input signal IS and a space. The visual processing unit 963 performs visual processing using the spatial processing signal US2 that is the output of the processing unit 962.

画像分割部964は、入力信号ISとして入力される画像を複数の画像ブロックに分割する。さらに、分割された画像ブロック毎の特徴パラメータを含む処理信号US1を導出する。特徴パラメータとは、例えば、分割された画像ブロック毎の画像の特徴を表すパラメータであり、例えば、平均値(単純平均、加重平均など)や代表値(最大値、最小値、中央値など)である。
空間処理部962は、画像ブロック毎の特徴パラメータを含む処理信号US1を取得し、空間処理を行う。
図27を用いて、空間処理部962の空間処理について説明する。図27は、複数画素を含む画像ブロックに分割された入力信号ISを示している。ここで、それぞれの画像ブロックは、縦3画素・横3画素の9画素を含む領域に分割されている。なお、この分割方法は、一例であり、このような分割方法に限定されるわけではない。また、視覚処理効果を十分に発揮するためには、かなり広い領域を対象として空間処理信号US2を生成することが好ましい。
The image dividing unit 964 divides an image input as the input signal IS into a plurality of image blocks. Further, a processing signal US1 including a feature parameter for each divided image block is derived. The feature parameter is, for example, a parameter that represents the feature of an image for each divided image block, and is, for example, an average value (simple average, weighted average, etc.) or a representative value (maximum value, minimum value, median value, etc.). is there.
The spatial processing unit 962 acquires a processing signal US1 including a feature parameter for each image block, and performs spatial processing.
The spatial processing of the spatial processing unit 962 will be described using FIG. FIG. 27 shows an input signal IS divided into image blocks including a plurality of pixels. Here, each image block is divided into regions including 9 pixels of 3 vertical pixels and 3 horizontal pixels. Note that this division method is an example, and is not limited to such a division method. Further, in order to sufficiently exhibit the visual processing effect, it is preferable to generate the spatial processing signal US2 for a considerably wide area.

空間処理部962は、空間処理の対象となる対象画像ブロック965と、対象画像ブロック965の周辺に位置する周辺領域966に含まれるそれぞれの周辺画像ブロックとの特徴パラメータを処理信号US1から取得する。
周辺領域966は、対象画像ブロック965の周辺に位置する領域であり、対象画像ブロック965を中心として広がる縦5ブロック、横5ブロックの領域である。なお、周辺領域966の大きさは、この場合に限定されず、より小さくてもよいし、より大きくてもよい。また、周辺領域966は、対象画像ブロック965からの距離に応じて近いものから第1周辺領域967、第2周辺領域968と分けられている。
図27では、第1周辺領域967は、対象画像ブロック965を中心とする縦3ブロック、横3ブロックの領域であるとする。さらに第2周辺領域968は、第1周辺領域967の周辺に位置する領域であるとする。
The spatial processing unit 962 acquires the characteristic parameters of the target image block 965 to be subjected to spatial processing and the respective peripheral image blocks included in the peripheral region 966 located around the target image block 965 from the processing signal US1.
The peripheral area 966 is an area located around the target image block 965, and is an area of five vertical blocks and five horizontal blocks that spread around the target image block 965. Note that the size of the peripheral region 966 is not limited to this case, and may be smaller or larger. Further, the peripheral area 966 is divided into a first peripheral area 967 and a second peripheral area 968 that are close to each other according to the distance from the target image block 965.
In FIG. 27, the first peripheral area 967 is assumed to be an area of three vertical blocks and three horizontal blocks centering on the target image block 965. Furthermore, the second peripheral area 968 is assumed to be an area located around the first peripheral area 967.

空間処理部962は、対象画像ブロック965の特徴パラメータに対してフィルタ演算を行う。
フィルタ演算では、対象画像ブロック965と周辺領域966の周辺画像ブロックとの特徴パラメータの値が加重平均される。ここで加重平均の重みは、対象画像ブロック965と周辺画像ブロックとの距離および特徴パラメータの値の差に基づいて定められている。
より具体的には、加重平均は、次式F=(Σ[Wij]*[Aij])/(Σ[Wij])に基づいて計算される。
ここで、[Wij]は、対象画像ブロック965および周辺領域966において、i行j列目に位置する画像ブロックに対する重み係数であり、[Aij]は、対象画像ブロック965および周辺領域966において、i行j列目に位置する画像ブロックの特徴パラメータの値である。また、「Σ」は、対象画像ブロック965および周辺領域966のそれぞれの画像ブロックについての合計の計算を行うことを意味している。
The spatial processing unit 962 performs a filter operation on the feature parameter of the target image block 965.
In the filter calculation, the feature parameter values of the target image block 965 and the peripheral image blocks in the peripheral region 966 are weighted averaged. Here, the weight of the weighted average is determined based on the distance between the target image block 965 and the peripheral image block and the difference in the characteristic parameter values.
More specifically, the weighted average is calculated based on the following formula F = (Σ [Wij] * [Aij]) / (Σ [Wij]).
Here, [Wij] is a weighting factor for the image block located in the i-th row and j-th column in the target image block 965 and the peripheral region 966, and [Aij] is i in the target image block 965 and the peripheral region 966. This is the value of the feature parameter of the image block located in the row j column. Further, “Σ” means that a total calculation is performed for each image block of the target image block 965 and the peripheral region 966.

図28を用いて、重み係数[Wij]について説明する。
重み係数[Wij]は、対象画像ブロック965と周辺領域966の周辺画像ブロックとの距離および特徴パラメータの値の差に基づいて定められる値である。より具体的には、特徴パラメータの値の差の絶対値が大きいほど小さい値の重み係数が与えられる。また、距離が大きいほど小さい重み係数が与えられる。
例えば、対象画像ブロック965に対しては、重み係数[Wij]は、値[1]である。
第1周辺領域967のうち、対象画像ブロック965の特徴パラメータの値との差の絶対値が所定の閾値よりも小さい特徴パラメータの値を有する周辺画像ブロックに対しては、重み係数[Wij]は、値[1]である。第1周辺領域967のうち、差の絶対値が所定の閾値よりも大きい特徴パラメータの値を有する周辺画像ブロックに対しては、重み係数[Wij]は、値[1/2]である。すなわち、第1周辺領域967に含まれる周辺画像ブロックであっても、特徴パラメータの値に応じて与えられる重み係数が異なっている。
The weighting coefficient [Wij] will be described with reference to FIG.
The weighting coefficient [Wij] is a value determined based on the distance between the target image block 965 and the surrounding image blocks in the surrounding area 966 and the difference between the characteristic parameter values. More specifically, a smaller weight coefficient is given as the absolute value of the difference between the characteristic parameter values is larger. Also, a smaller weighting factor is given as the distance increases.
For example, for the target image block 965, the weighting coefficient [Wij] is the value [1].
In the first peripheral region 967, for a peripheral image block having a feature parameter value whose absolute value of a difference from the feature parameter value of the target image block 965 is smaller than a predetermined threshold, the weighting coefficient [Wij] is , Value [1]. In the first peripheral region 967, the weight coefficient [Wij] is a value [1/2] for a peripheral image block having a feature parameter value whose absolute value of the difference is larger than a predetermined threshold value. That is, even in the peripheral image block included in the first peripheral region 967, the weighting coefficient given according to the value of the characteristic parameter is different.

第2周辺領域968のうち、対象画像ブロック965の特徴パラメータの値との差の絶対値が所定の閾値よりも小さい特徴パラメータの値を有する周辺画像ブロックに対しては、重み係数[Wij]は、値[1/2]である。第2周辺領域968のうち、差の絶対値が所定の閾値よりも大きい特徴パラメータの値を有する周辺画像ブロックに対しては、重み係数[Wij]は、値[1/4]である。すなわち、第2周辺領域968に含まれる周辺画像ブロックであっても、特徴パラメータの値に応じて与えられる重み係数が異なっている。また、対象画像ブロック965からの距離が第1周辺領域967よりも大きい第2周辺領域968では、より小さい重み係数が与えられている。
ここで、所定の閾値とは、値[0.0〜1.0]の範囲の値をとる対象画像ブロック965の特徴パラメータの値に対して、値[20/256〜60/256]などといった大きさの値である。
In the second peripheral area 968, for a peripheral image block having a feature parameter value whose absolute value of the difference from the feature parameter value of the target image block 965 is smaller than a predetermined threshold, the weighting coefficient [Wij] is , Value [1/2]. In the second peripheral area 968, for a peripheral image block having a characteristic parameter value whose absolute value of the difference is larger than a predetermined threshold, the weighting coefficient [Wij] is a value [1/4]. That is, even in the peripheral image block included in the second peripheral area 968, the weighting coefficient given according to the value of the characteristic parameter is different. Further, a smaller weighting factor is given to the second peripheral area 968 where the distance from the target image block 965 is larger than the first peripheral area 967.
Here, the predetermined threshold is a value [20/256 to 60/256] or the like for the feature parameter value of the target image block 965 taking a value in the range of [0.0 to 1.0]. It is a magnitude value.

以上により計算された加重平均が、空間処理信号US2として出力される。
視覚処理部963では、視覚処理部63(図22参照)と同様の視覚処理が行われる。ただし、視覚処理部63との相違点は、アンシャープ信号USの代わりに、視覚処理の対象となる対象画素を含む対象画像ブロックの空間処理信号US2が用いられる点である。 また、視覚処理部963における処理は、対象画素を含む対象画像ブロック単位で一括して処理されてもよいが、入力信号ISから取得される画素の順序で空間処理信号US2を切り換えて処理されてもよい。
以上の処理が、入力信号ISに含まれる全ての画素について行われる。
《効果》
空間処理部962の処理では、画像ブロックを単位とした処理が行われる。このため、空間処理部962の処理量を削減でき、より高速の視覚処理が実現可能となる。また、ハードウェア規模を小さくすることが可能となる。
The weighted average calculated as described above is output as the spatial processing signal US2.
The visual processing unit 963 performs visual processing similar to that of the visual processing unit 63 (see FIG. 22). However, the difference from the visual processing unit 63 is that, instead of the unsharp signal US, the spatial processing signal US2 of the target image block including the target pixel to be subjected to visual processing is used. The processing in the visual processing unit 963 may be processed in batches for each target image block including the target pixel, but is processed by switching the spatial processing signal US2 in the order of the pixels acquired from the input signal IS. Also good.
The above processing is performed for all the pixels included in the input signal IS.
"effect"
In the processing of the spatial processing unit 962, processing in units of image blocks is performed. For this reason, the processing amount of the spatial processing unit 962 can be reduced, and higher-speed visual processing can be realized. In addition, the hardware scale can be reduced.

《変形例》
上記では、正方のブロック単位で処理を行うと記載した。ここで、ブロックの形状は、任意としてもよい。
また、上記した重み係数、閾値なども適宜変更可能である。
ここで、重み係数の一部の値は、値[0]であってもよい。この場合には、周辺領域966の形状を任意の形状とすることと同じこととなる。
また、空間処理部962では、対象画像ブロック965と周辺領域966との特徴パラメータを用いて空間処理を行うと説明したが、空間処理は、周辺領域966のみの特徴パラメータを用いて行うものであってもよい。すなわち、空間処理の加重平均の重みにおいて、対象画像ブロック965の重みを値[0]としてもよい。
<Modification>
In the above description, the processing is performed in units of square blocks. Here, the shape of the block may be arbitrary.
Further, the above-described weighting factor, threshold value, and the like can be appropriately changed.
Here, some values of the weighting coefficient may be the value [0]. In this case, it is the same as making the shape of the peripheral region 966 an arbitrary shape.
Further, although it has been described that the spatial processing unit 962 performs spatial processing using the feature parameters of the target image block 965 and the peripheral region 966, the spatial processing is performed using feature parameters of only the peripheral region 966. May be. That is, the weight of the target image block 965 may be the value [0] in the weighted average weight of the spatial processing.

(3)
視覚処理部63における処理は、上記したものに限られない。例えば、視覚処理部63は、入力信号ISの値A、アンシャープ信号USの値B、ダイナミックレンジ圧縮関数F4、強調関数F5を用いて、次式C=F4(A)*F5(A/B)により演算される値Cを出力信号OSの値として出力するものであってもかまわない。ここで、ダイナミックレンジ圧縮関数F4は、上に凸のべき関数などの単調増加関数であり、例えば、F4(x)=x^γ(0<γ<1)と表される。強調関数F5は、べき関数であり、例えば、F5(x)=x^α(0<α≦1)と表される。
視覚処理部63においてこのような処理が行われる場合、本発明の空間処理部62により出力された適切なアンシャープ信号USが用いられれば、入力信号ISのダイナミックレンジを圧縮しつつ、局所的なコントラストを強調することが可能となる。
(3)
The processing in the visual processing unit 63 is not limited to the above. For example, the visual processing unit 63 uses the value A of the input signal IS, the value B of the unsharp signal US, the dynamic range compression function F4, and the enhancement function F5 to obtain the following expression C = F4 (A) * F5 (A / B ) May be output as the value of the output signal OS. Here, the dynamic range compression function F4 is a monotonically increasing function such as an upward convex power function, and is represented by, for example, F4 (x) = x ^ γ (0 <γ <1). The enhancement function F5 is a power function, and is expressed as, for example, F5 (x) = x ^ α (0 <α ≦ 1).
When such processing is performed in the visual processing unit 63, if an appropriate unsharp signal US output by the spatial processing unit 62 of the present invention is used, the dynamic range of the input signal IS is compressed and the local range is reduced. The contrast can be enhanced.

一方、アンシャープ信号USが適切でなく、ボケが少なすぎる場合には、エッジ強調的ではあるがコントラストの強調が適切に行えない。また、ボケが多すぎる場合には、コントラストの強調は行えるが、ダイナミックレンジの圧縮が適切に行えない。
[第5実施形態]
本発明の第5実施形態として、上記第1〜第4実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムの応用例と、それを用いたシステムとについて説明する。
視覚処理装置は、例えば、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDAなど、画像を取り扱う機器に内蔵、あるいは接続されて、画像の階調処理を行う装置であり、LSIなどの集積回路として実現される。
より詳しくは、上記実施形態の各機能ブロックは、個別に1チップ化されても良いし、一部又は全てを含むように1チップ化されても良い。なお、ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。
On the other hand, when the unsharp signal US is not appropriate and there is too little blur, it is possible to enhance the contrast appropriately although it is edge enhancement. If there is too much blur, contrast can be enhanced, but dynamic range compression cannot be performed properly.
[Fifth Embodiment]
As the fifth embodiment of the present invention, application examples of the visual processing device, the visual processing method, and the visual processing program described in the first to fourth embodiments and a system using the visual processing apparatus will be described.
A visual processing device is a device that performs built-in or connected image processing devices such as computers, televisions, digital cameras, mobile phones, and PDAs, and performs image gradation processing, and is realized as an integrated circuit such as an LSI. Is done.
More specifically, each functional block of the above embodiment may be individually made into one chip, or may be made into one chip so as to include a part or all. Note that the name used here is LSI, but it may also be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.

また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサーを利用しても良い。
さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。
図1、図6、図19、図22、図26の各ブロックの処理は、例えば、視覚処理装置が備える中央演算装置(CPU)により行われる。また、それぞれの処理を行うためのプログラムは、ハードディスク、ROMなどの記憶装置に格納されており、ROMにおいて、あるいはRAMに読み出されて実行される。また、図6、図19の階調処理実行部14,25において参照される2次元LUTは、ハードディスク、ROMなどの記憶装置に格納されており、必要に応じて参照される。さらに、2次元LUTは、視覚処理装置に直接的に接続される、あるいはネットワークを介して間接的に接続される2次元LUTの提供装置から提供されるものであってもよい。また、図13の階調処理実行部44において参照される1次元LUTについても同様である。
Further, the method of circuit integration is not limited to LSI, and implementation with a dedicated circuit or a general-purpose processor is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI or a reconfigurable processor that can reconfigure the connection and setting of the circuit cells inside the LSI may be used.
Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.
Processing of each block of Drawing 1, Drawing 6, Drawing 19, Drawing 22, and Drawing 26 is performed by a central processing unit (CPU) with which a visual processing unit is provided, for example. In addition, a program for performing each processing is stored in a storage device such as a hard disk or a ROM, and is read out and executed in the ROM or the RAM. Further, the two-dimensional LUT referred to in the gradation processing execution units 14 and 25 in FIGS. 6 and 19 is stored in a storage device such as a hard disk or ROM, and is referred to as necessary. Further, the two-dimensional LUT may be provided from a two-dimensional LUT providing device that is directly connected to the visual processing device or indirectly connected via a network. The same applies to the one-dimensional LUT referred to in the gradation processing execution unit 44 of FIG.

また、視覚処理装置は、動画像を取り扱う機器に内蔵、あるいは接続されて、フレーム毎(フィールド毎)の画像の階調処理を行う装置であってもよい。
また、それぞれの視覚処理装置では、上記第1〜第4実施形態で説明した視覚処理方法が実行される。
視覚処理プログラムは、コンピュータ、テレビ、デジタルカメラ、携帯電話、PDAなど、画像を取り扱う機器に内蔵、あるいは接続される装置において、ハードディスク、ROMなどの記憶装置に記憶され、画像の階調処理を実行するプログラムであり、例えば、CD−ROMなどの記録媒体を介して、あるいはネットワークを介して提供される。
上記実施形態では、それぞれの画素の明度値について処理を行うと説明した。ここで、本発明は、入力信号ISの色空間に依存するものではない。すなわち、上記実施形態における処理は、入力信号ISがYCbCr色空間、YUV色空間、Lab色空間、Luv色空間、YIQ色空間、XYZ色空間、YPbPr色空間、RGB色空間などで表されている場合に、それぞれの色空間の輝度、明度に対して、同様に適用可能である。
In addition, the visual processing device may be a device that performs gradation processing of an image for each frame (for each field) built in or connected to a device that handles moving images.
In each visual processing device, the visual processing method described in the first to fourth embodiments is executed.
The visual processing program is stored in a storage device such as a hard disk or ROM in a device that handles images, such as a computer, television, digital camera, mobile phone, PDA, etc., and executes gradation processing of the image. For example, the program is provided via a recording medium such as a CD-ROM or via a network.
In the above embodiment, it has been described that the processing is performed on the brightness value of each pixel. Here, the present invention does not depend on the color space of the input signal IS. That is, in the processing in the above embodiment, the input signal IS is expressed in the YCbCr color space, YUV color space, Lab color space, Luv color space, YIQ color space, XYZ color space, YPbPr color space, RGB color space, and the like. In this case, the present invention can be similarly applied to the luminance and brightness of each color space.

また入力信号ISがRGB色空間で表されている場合に、上記実施形態における処理は、RGBそれぞれの成分に対して独立に行われるものであってもよい。
[第6実施形態]
本発明の第6実施形態として、上記で説明した視覚処理装置、視覚処理方法、視覚処理プログラムの応用例とそれを用いたシステムを図29〜図32を用いて説明する。
図29は、コンテンツ配信サービスを実現するコンテンツ供給システムex100の全体構成を示すブロック図である。通信サービスの提供エリアを所望の大きさに分割し、各セル内にそれぞれ固定無線局である基地局ex107〜ex110が設置されている。
このコンテンツ供給システムex100は、例えば、インターネットex101にインターネットサービスプロバイダex102および電話網ex104、および基地局ex107〜ex110を介して、コンピュータex111、PDA(personal digital assistant)ex112、カメラex113、携帯電話ex114、カメラ付きの携帯電話ex115などの各機器が接続される。
Further, when the input signal IS is expressed in the RGB color space, the processing in the above embodiment may be performed independently for each component of RGB.
[Sixth Embodiment]
As a sixth embodiment of the present invention, an application example of the visual processing device, visual processing method, and visual processing program described above and a system using the same will be described with reference to FIGS.
FIG. 29 is a block diagram showing an overall configuration of a content supply system ex100 that implements a content distribution service. The communication service providing area is divided into desired sizes, and base stations ex107 to ex110, which are fixed wireless stations, are installed in each cell.
The content supply system ex100 includes, for example, a computer ex111, a PDA (personal digital assistant) ex112, a camera ex113, a mobile phone ex114, a camera via the Internet ex101, the Internet service provider ex102, the telephone network ex104, and the base stations ex107 to ex110. Each device such as the attached mobile phone ex115 is connected.

しかし、コンテンツ供給システムex100は図29のような組合せに限定されず、いずれかを組み合わせて接続するようにしてもよい。また、固定無線局である基地局ex107〜ex110を介さずに、各機器が電話網ex104に直接接続されてもよい。
カメラex113はデジタルビデオカメラ等の動画撮影が可能な機器である。また、携帯電話は、PDC(Personal Digital Communications)方式、CDMA(Code Division Multiple Access)方式、W−CDMA(Wideband-Code Division Multiple Access)方式、若しくはGSM(Global System for Mobile Communications)方式の携帯電話機、またはPHS(Personal Handyphone System)等であり、いずれでも構わない。
また、ストリーミングサーバex103は、カメラex113から基地局ex109、電話網ex104を通じて接続されており、カメラex113を用いてユーザが送信する符号化処理されたデータに基づいたライブ配信等が可能になる。撮影したデータの符号化処理はカメラex113で行っても、データの送信処理をするサーバ等で行ってもよい。また、カメラex116で撮影した動画データはコンピュータex111を介してストリーミングサーバex103に送信されてもよい。カメラex116はデジタルカメラ等の静止画、動画が撮影可能な機器である。この場合、動画データの符号化はカメラex116で行ってもコンピュータex111で行ってもどちらでもよい。また、符号化処理はコンピュータex111やカメラex116が有するLSIex117において処理することになる。なお、画像符号化・復号化用のソフトウェアをコンピュータex111等で読み取り可能な記録媒体である何らかの蓄積メディア(CD−ROM、フレキシブルディスク、ハードディスクなど)に組み込んでもよい。さらに、カメラ付きの携帯電話ex115で動画データを送信してもよい。このときの動画データは携帯電話ex115が有するLSIで符号化処理されたデータである。
However, the content supply system ex100 is not limited to the combination as shown in FIG. 29, and any combination may be connected. Also, each device may be directly connected to the telephone network ex104 without going through the base stations ex107 to ex110 which are fixed wireless stations.
The camera ex113 is a device capable of shooting a moving image such as a digital video camera. The mobile phone is a PDC (Personal Digital Communications) system, a CDMA (Code Division Multiple Access) system, a W-CDMA (Wideband-Code Division Multiple Access) system, or a GSM (Global System for Mobile Communications) system mobile phone, Alternatively, PHS (Personal Handyphone System) or the like may be used.
Further, the streaming server ex103 is connected from the camera ex113 through the base station ex109 and the telephone network ex104, and live distribution based on the encoded data transmitted by the user using the camera ex113 can be performed. The encoding processing of the captured data may be performed by the camera ex113 or may be performed by a server or the like that performs data transmission processing. The moving image data shot by the camera ex116 may be transmitted to the streaming server ex103 via the computer ex111. The camera ex116 is a device such as a digital camera that can shoot still images and moving images. In this case, the moving image data may be encoded by the camera ex116 or the computer ex111. The encoding process is performed in the LSI ex117 included in the computer ex111 and the camera ex116. Note that image encoding / decoding software may be incorporated in some storage medium (CD-ROM, flexible disk, hard disk, etc.) that is a recording medium readable by the computer ex111 or the like. Furthermore, you may transmit moving image data with the mobile phone ex115 with a camera. The moving image data at this time is data encoded by the LSI included in the mobile phone ex115.

このコンテンツ供給システムex100では、ユーザがカメラex113、カメラex116等で撮影しているコンテンツ(例えば、音楽ライブを撮影した映像等)を符号化処理してストリーミングサーバex103に送信する一方で、ストリーミングサーバex103は要求のあったクライアントに対して上記コンテンツデータをストリーム配信する。クライアントとしては、符号化処理されたデータを復号化することが可能な、コンピュータex111、PDAex112、カメラex113、携帯電話ex114等がある。このようにすることでコンテンツ供給システムex100は、符号化されたデータをクライアントにおいて受信して再生することができ、さらにクライアントにおいてリアルタイムで受信して復号化し、再生することにより、個人放送をも実現可能になるシステムである。   In the content supply system ex100, the content (for example, a video image of music live) captured by the user with the camera ex113, the camera ex116, and the like is encoded and transmitted to the streaming server ex103, while the streaming server ex103. Distributes the content data to the requested client. Examples of the client include a computer ex111, a PDA ex112, a camera ex113, and a mobile phone ex114 that can decode the encoded data. In this way, the content supply system ex100 can receive and play back the encoded data at the client, and can also receive a private broadcast by receiving, decoding, and playing back at the client in real time. It is a system that becomes possible.

コンテンツの表示に際して、上記実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムを用いても良い。例えば、コンピュータex111、PDAex112、カメラex113、携帯電話ex114等は、上記実施形態で示した視覚処理装置を備え、視覚処理方法、視覚処理プログラムを実現するものであっても良い。
また、ストリーミングサーバex103は、視覚処理装置に対して、インターネットex101を介してプロファイルデータを提供するものであっても良い。さらに、ストリーミングサーバex103は、複数台存在し、それぞれ異なるプロファイルデータを提供するものであっても良い。さらに、ストリーミングサーバex103は、プロファイルの作成を行うものであっても良い。このように、インターネットex101を介して、視覚処理装置がプロファイルデータを取得できる場合、視覚処理装置は、あらかじめ視覚処理に用いるプロファイルデータを記憶しておく必要が無く、視覚処理装置の記憶容量を削減することも可能となる。また、インターネットex101介して接続される複数のサーバからプロファイルデータを取得できるため、異なる視覚処理を実現することが可能となる。
When displaying content, the visual processing device, visual processing method, and visual processing program described in the above embodiment may be used. For example, the computer ex111, the PDA ex112, the camera ex113, the mobile phone ex114, and the like may be provided with the visual processing device described in the above embodiment and realize a visual processing method and a visual processing program.
Further, the streaming server ex103 may provide profile data to the visual processing device via the Internet ex101. Furthermore, there may be a plurality of streaming servers ex103 that provide different profile data. Further, the streaming server ex103 may create a profile. As described above, when the visual processing device can acquire the profile data via the Internet ex101, the visual processing device does not need to store the profile data used for the visual processing in advance, and the storage capacity of the visual processing device is reduced. It is also possible to do. Further, since profile data can be acquired from a plurality of servers connected via the Internet ex101, different visual processing can be realized.

一例として携帯電話について説明する。
図30は、上記実施形態の視覚処理装置を備えた携帯電話ex115を示す図である。携帯電話ex115は、基地局ex110との間で電波を送受信するためのアンテナex201、CCDカメラ等の映像、静止画を撮ることが可能なカメラ部ex203、カメラ部ex203で撮影した映像、アンテナex201で受信した映像等が復号化されたデータを表示する液晶ディスプレイ等の表示部ex202、操作キーex204群から構成される本体部、音声出力をするためのスピーカ等の音声出力部ex208、音声入力をするためのマイク等の音声入力部ex205、撮影した動画もしくは静止画のデータ、受信したメールのデータ、動画のデータもしくは静止画のデータ等、符号化されたデータまたは復号化されたデータを保存するための記録メディアex207、携帯電話ex115に記録メディアex207を装着可能とするためのスロット部ex206を有している。記録メディアex207はSDカード等のプラスチックケース内に電気的に書換えや消去が可能な不揮発性メモリであるEEPROM(Electrically Erasable and Programmable Read Only Memory)の一種であるフラッシュメモリ素子を格納したものである。
A mobile phone will be described as an example.
FIG. 30 is a diagram illustrating a mobile phone ex115 including the visual processing device according to the embodiment. The mobile phone ex115 includes an antenna ex201 for transmitting and receiving radio waves to and from the base station ex110, a video from a CCD camera, a camera unit ex203 capable of taking a still image, a video shot by the camera unit ex203, and an antenna ex201. A display unit ex202 such as a liquid crystal display that displays data obtained by decoding received video and the like, a main body unit composed of a group of operation keys ex204, an audio output unit ex208 such as a speaker for audio output, and audio input To store encoded data or decoded data such as a voice input unit ex205 such as a microphone, captured video or still image data, received mail data, video data or still image data, etc. Recording media ex207 and mobile phone ex115 with recording media ex207 And a slot portion ex206 to ability. The recording medium ex207 stores a flash memory element, which is a kind of EEPROM (Electrically Erasable and Programmable Read Only Memory), which is a nonvolatile memory that can be electrically rewritten and erased, in a plastic case such as an SD card.

さらに、携帯電話ex115について図31を用いて説明する。携帯電話ex115は表示部ex202および操作キーex204を備えた本体部の各部を統括的に制御するようになされた主制御部ex311に対して、電源回路部ex310、操作入力制御部ex304、画像符号化部ex312、カメラインターフェース部ex303、LCD(Liquid Crystal Display)制御部ex302、画像復号化部ex309、多重分離部ex308、記録再生部ex307、変復調回路部ex306および音声処理部ex305が同期バスex313を介して互いに接続されている。
電源回路部ex310は、ユーザの操作により終話および電源キーがオン状態にされると、バッテリパックから各部に対して電力を供給することによりカメラ付ディジタル携帯電話ex115を動作可能な状態に起動する。
Further, the cellular phone ex115 will be described with reference to FIG. The mobile phone ex115 controls the main control unit ex311 which controls the respective units of the main body unit including the display unit ex202 and the operation key ex204. The power supply circuit unit ex310, the operation input control unit ex304, and the image encoding Unit ex312, camera interface unit ex303, LCD (Liquid Crystal Display) control unit ex302, image decoding unit ex309, demultiplexing unit ex308, recording / reproducing unit ex307, modulation / demodulation circuit unit ex306, and audio processing unit ex305 via a synchronization bus ex313 Are connected to each other.
When the end of call and the power key are turned on by a user operation, the power supply circuit ex310 starts up the camera-equipped digital mobile phone ex115 in an operable state by supplying power from the battery pack to each unit. .

携帯電話ex115は、CPU、ROMおよびRAM等でなる主制御部ex311の制御に基づいて、音声通話モード時に音声入力部ex205で集音した音声信号を音声処理部ex305によってディジタル音声データに変換し、これを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理および周波数変換処理を施した後にアンテナex201を介して送信する。また携帯電話ex115は、音声通話モード時にアンテナex201で受信した受信信号を増幅して周波数変換処理およびアナログディジタル変換処理を施し、変復調回路部ex306でスペクトラム逆拡散処理し、音声処理部ex305によってアナログ音声信号に変換した後、これを音声出力部ex208を介して出力する。
さらに、データ通信モード時に電子メールを送信する場合、本体部の操作キーex204の操作によって入力された電子メールのテキストデータは操作入力制御部ex304を介して主制御部ex311に送出される。主制御部ex311は、テキストデータを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理および周波数変換処理を施した後にアンテナex201を介して基地局ex110へ送信する。
The cellular phone ex115 converts the voice signal collected by the voice input unit ex205 in the voice call mode into digital voice data by the voice processing unit ex305 based on the control of the main control unit ex311 including a CPU, a ROM, a RAM, and the like. The modulation / demodulation circuit unit ex306 performs spread spectrum processing, the transmission / reception circuit unit ex301 performs digital analog conversion processing and frequency conversion processing, and then transmits the result via the antenna ex201. In addition, the cellular phone ex115 amplifies the received signal received by the antenna ex201 in the voice call mode, performs frequency conversion processing and analog-digital conversion processing, performs spectrum despreading processing by the modulation / demodulation circuit unit ex306, and analog audio by the voice processing unit ex305. After conversion into a signal, this is output via the audio output unit ex208.
Further, when an e-mail is transmitted in the data communication mode, text data of the e-mail input by operating the operation key ex204 of the main body is sent to the main control unit ex311 via the operation input control unit ex304. The main control unit ex311 performs spread spectrum processing on the text data in the modulation / demodulation circuit unit ex306, performs digital analog conversion processing and frequency conversion processing in the transmission / reception circuit unit ex301, and then transmits the text data to the base station ex110 via the antenna ex201.

データ通信モード時に画像データを送信する場合、カメラ部ex203で撮像された画像データをカメラインターフェース部ex303を介して画像符号化部ex312に供給する。また、画像データを送信しない場合には、カメラ部ex203で撮像した画像データをカメラインターフェース部ex303およびLCD制御部ex302を介して表示部ex202に直接表示することも可能である。
画像符号化部ex312は、カメラ部ex203から供給された画像データを圧縮符号化することにより符号化画像データに変換し、これを多重分離部ex308に送出する。また、このとき同時に携帯電話ex115は、カメラ部ex203で撮像中に音声入力部ex205で集音した音声を音声処理部ex305を介してディジタルの音声データとして多重分離部ex308に送出する。
When transmitting image data in the data communication mode, the image data captured by the camera unit ex203 is supplied to the image encoding unit ex312 via the camera interface unit ex303. When image data is not transmitted, the image data captured by the camera unit ex203 can be directly displayed on the display unit ex202 via the camera interface unit ex303 and the LCD control unit ex302.
The image encoding unit ex312 converts the image data supplied from the camera unit ex203 into encoded image data by compression encoding, and sends the encoded image data to the demultiplexing unit ex308. At the same time, the cellular phone ex115 sends the sound collected by the audio input unit ex205 during imaging by the camera unit ex203 to the demultiplexing unit ex308 as digital audio data via the audio processing unit ex305.

多重分離部ex308は、画像符号化部ex312から供給された符号化画像データと音声処理部ex305から供給された音声データとを所定の方式で多重化し、その結果得られる多重化データを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理および周波数変換処理を施した後にアンテナex201を介して送信する。
データ通信モード時にホームページ等にリンクされた動画像ファイルのデータを受信する場合、アンテナex201を介して基地局ex110から受信した受信信号を変復調回路部ex306でスペクトラム逆拡散処理し、その結果得られる多重化データを多重分離部ex308に送出する。
また、アンテナex201を介して受信された多重化データを復号化するには、多重分離部ex308は、多重化データを分離することにより画像データの符号化ビットストリームと音声データの符号化ビットストリームとに分け、同期バスex313を介して当該符号化画像データを画像復号化部ex309に供給すると共に当該音声データを音声処理部ex305に供給する。
The demultiplexing unit ex308 multiplexes the encoded image data supplied from the image encoding unit ex312 and the audio data supplied from the audio processing unit ex305 by a predetermined method, and the resulting multiplexed data is a modulation / demodulation circuit unit Spread spectrum processing is performed in ex306, digital analog conversion processing and frequency conversion processing are performed in the transmission / reception circuit unit ex301, and then transmitted through the antenna ex201.
When receiving data of a moving image file linked to a homepage or the like in the data communication mode, the received signal received from the base station ex110 via the antenna ex201 is subjected to spectrum despreading processing by the modulation / demodulation circuit unit ex306, and the resulting multiplexing is obtained. Data is sent to the demultiplexing unit ex308.
In addition, in order to decode the multiplexed data received via the antenna ex201, the demultiplexing unit ex308 separates the multiplexed data to generate an encoded bitstream of image data and an encoded bitstream of audio data. The encoded image data is supplied to the image decoding unit ex309 via the synchronization bus ex313, and the audio data is supplied to the audio processing unit ex305.

次に、画像復号化部ex309は、画像データの符号化ビットストリームを復号することにより再生動画像データを生成し、これをLCD制御部ex302を介して表示部ex202に供給し、これにより、例えばホームページにリンクされた動画像ファイルに含まれる動画データが表示される。このとき同時に音声処理部ex305は、音声データをアナログ音声信号に変換した後、これを音声出力部ex208に供給し、これにより、例えばホームページにリンクされた動画像ファイルに含まる音声データが再生される。
以上の構成において、画像復号化部ex309は、上記実施形態の視覚処理装置を備えていても良い。
なお、上記システムの例に限られず、最近は衛星、地上波によるディジタル放送が話題となっており、図32に示すようにディジタル放送用システムにも上記実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムを組み込むことができる。具体的には、放送局ex409では映像情報の符号化ビットストリームが電波を介して通信または放送衛星ex410に伝送される。これを受けた放送衛星ex410は、放送用の電波を発信し、この電波を衛星放送受信設備をもつ家庭のアンテナex406で受信し、テレビ(受信機)ex401またはセットトップボックス(STB)ex407などの装置により符号化ビットストリームを復号化してこれを再生する。ここで、テレビ(受信機)ex401またはセットトップボックス(STB)ex407などの装置が上記実施形態で説明した視覚処理装置を備えていてもよい。また、上記実施形態の視覚処理方法を用いるものであってもよい。さらに、視覚処理プログラムを備えていてもよい。また、記録媒体であるCDやDVD等の蓄積メディアex402に記録した符号化ビットストリームを読み取り、復号化する再生装置ex403にも上記実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムを実装することが可能である。この場合、再生された映像信号はモニタex404に表示される。また、ケーブルテレビ用のケーブルex405または衛星/地上波放送のアンテナex406に接続されたセットトップボックスex407内に上記実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムを実装し、これをテレビのモニタex408で再生する構成も考えられる。このときセットトップボックスではなく、テレビ内に上記実施形態で説明した視覚処理装置を組み込んでも良い。また、アンテナex411を有する車ex412で衛星ex410からまたは基地局ex107等から信号を受信し、車ex412が有するカーナビゲーションex413等の表示装置に動画を再生することも可能である。
Next, the image decoding unit ex309 generates reproduction moving image data by decoding the encoded bit stream of the image data, and supplies this to the display unit ex202 via the LCD control unit ex302. The moving image data included in the moving image file linked to the home page is displayed. At the same time, the audio processing unit ex305 converts the audio data into an analog audio signal, and then supplies the analog audio signal to the audio output unit ex208. Thus, for example, the audio data included in the moving image file linked to the home page is reproduced. The
In the above configuration, the image decoding unit ex309 may include the visual processing device of the above embodiment.
It should be noted that the present invention is not limited to the above-described system, and recently, digital broadcasting using satellites and terrestrial waves has become a hot topic. As shown in FIG. Methods and visual processing programs can be incorporated. Specifically, in the broadcasting station ex409, a coded bit stream of video information is transmitted to a communication or broadcasting satellite ex410 via radio waves. Receiving this, the broadcasting satellite ex410 transmits a radio wave for broadcasting, and receives the radio wave with a home antenna ex406 having a satellite broadcasting receiving facility, such as a television (receiver) ex401 or a set top box (STB) ex407. The device decodes the encoded bit stream and reproduces it. Here, a device such as the television (receiver) ex401 or the set-top box (STB) ex407 may include the visual processing device described in the above embodiment. Moreover, you may use the visual processing method of the said embodiment. Furthermore, a visual processing program may be provided. In addition, the visual processing device, the visual processing method, and the visual processing program described in the above embodiment are also applied to the playback device ex403 that reads and decodes the encoded bitstream recorded on the storage medium ex402 such as a CD or DVD that is a recording medium. It is possible to implement. In this case, the reproduced video signal is displayed on the monitor ex404. In addition, the visual processing device, the visual processing method, and the visual processing program described in the above embodiment are mounted in a set-top box ex407 connected to a cable ex405 for cable television or an antenna ex406 for satellite / terrestrial broadcasting. A configuration of reproducing on a television monitor ex408 can also be considered. At this time, the visual processing device described in the above embodiment may be incorporated in the television instead of the set top box. It is also possible to receive a signal from the satellite ex410 or the base station ex107 by the car ex412 having the antenna ex411 and reproduce the moving image on a display device such as the car navigation ex413 that the car ex412 has.

更に、画像信号を符号化し、記録媒体に記録することもできる。具体例としては、DVDディスクex421に画像信号を記録するDVDレコーダや、ハードディスクに記録するディスクレコーダなどのレコーダex420がある。更にSDカードex422に記録することもできる。レコーダex420が上記実施形態の復号化装置を備えていれば、DVDディスクex421やSDカードex422に記録した画像信号を補間して再生し、モニタex408に表示することができる。
なお、カーナビゲーションex413の構成は例えば図31に示す構成のうち、カメラ部ex203とカメラインターフェース部ex303、画像符号化部ex312を除いた構成が考えられ、同様なことがコンピュータex111やテレビ(受信機)ex401等でも考えられる。
Furthermore, an image signal can be encoded and recorded on a recording medium. Specific examples include a recorder ex420 such as a DVD recorder that records image signals on a DVD disk ex421 and a disk recorder that records data on a hard disk. Further, it can be recorded on the SD card ex422. If the recorder ex420 includes the decoding device of the above embodiment, the image signal recorded on the DVD disc ex421 or the SD card ex422 can be interpolated and reproduced and displayed on the monitor ex408.
For example, the configuration of the car navigation ex413 may be a configuration excluding the camera unit ex203, the camera interface unit ex303, and the image encoding unit ex312 in the configuration illustrated in FIG. ) Ex401 can also be considered.

また、上記携帯電話ex114等の端末は、符号化器・復号化器を両方持つ送受信型の端末の他に、符号化器のみの送信端末、復号化器のみの受信端末の3通りの実装形式が考えられる。
このように、上記実施形態で説明した視覚処理装置、視覚処理方法、視覚処理プログラムを上述したいずれの機器・システムに用いることは可能であり、上記実施形態で説明した効果を得ることができる。
[付記]
上記実施形態に記載の本発明は、次のように表現することも可能である。
〈付記の内容〉
(付記1)
入力された画像信号を複数の画像領域に分割する画像領域分割手段と、
前記画像領域毎に階調変換特性を導出する手段であって、前記階調変換特性の導出対象となる対象画像領域と前記対象画像領域の周辺画像領域との階調特性を用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出手段と、
導出された前記階調変換特性に基づいて、前記画像信号の階調処理を行う階調処理手段と、
を備える視覚処理装置。
In addition to the transmission / reception type terminal having both the encoder and the decoder, the terminal such as the mobile phone ex114 has three mounting formats, that is, a transmitting terminal having only an encoder and a receiving terminal having only a decoder. Can be considered.
As described above, the visual processing device, the visual processing method, and the visual processing program described in the above embodiment can be used in any of the devices and systems described above, and the effects described in the above embodiment can be obtained.
[Appendix]
The present invention described in the above embodiment can also be expressed as follows.
<Contents of supplementary notes>
(Appendix 1)
Image region dividing means for dividing the input image signal into a plurality of image regions;
Means for deriving gradation conversion characteristics for each image area, wherein the target is obtained by using gradation characteristics of a target image area from which the gradation conversion characteristics are derived and a peripheral image area of the target image area; Gradation conversion characteristic deriving means for deriving the gradation conversion characteristic of the image area;
Gradation processing means for performing gradation processing of the image signal based on the derived gradation conversion characteristics;
A visual processing device comprising:

(付記2)
前記階調変換特性は、階調変換曲線であり、
前記階調変換特性導出手段は、前記階調特性を用いてヒストグラムを作成するヒストグラム作成手段と、作成された前記ヒストグラムに基づいて前記階調変換曲線を作成する階調曲線作成手段とを有している、
付記1に記載の視覚処理装置。
(付記3)
前記階調変換特性は、前記画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号であり、
前記階調処理手段は、前記複数の階調変換テーブルを2次元LUTとして有している、
付記1に記載の視覚処理装置。
(Appendix 2)
The gradation conversion characteristic is a gradation conversion curve,
The gradation conversion characteristic deriving unit includes a histogram generation unit that generates a histogram using the gradation characteristic, and a gradation curve generation unit that generates the gradation conversion curve based on the generated histogram. ing,
The visual processing device according to attachment 1.
(Appendix 3)
The gradation conversion characteristic is a selection signal for selecting one gradation conversion table from among a plurality of gradation conversion tables for gradation-processing the image signal,
The gradation processing means has the plurality of gradation conversion tables as a two-dimensional LUT.
The visual processing device according to attachment 1.

(付記4)
前記2次元LUTは、前記画像信号の全ての値において、前記選択信号の値に対する階調処理された前記画像信号の値が単調増加あるいは単調減少する順序で前記複数の階調変換テーブルを格納している、
付記3に記載の視覚処理装置。
(付記5)
前記2次元LUTは、プロファイルデータの登録により変更可能である、
付記3又は4に記載の視覚処理装置。
(付記6)
前記選択信号の値は、前記対象画像領域と前記周辺画像領域とのそれぞれの画像領域について導出された選択信号である個別選択信号の特徴量として導出される、
付記3〜5のいずれかに記載の視覚処理装置。
(Appendix 4)
The two-dimensional LUT stores the plurality of gradation conversion tables in the order in which the value of the image signal subjected to gradation processing with respect to the value of the selection signal monotonously increases or decreases monotonously for all values of the image signal. ing,
The visual processing device according to attachment 3.
(Appendix 5)
The two-dimensional LUT can be changed by registering profile data.
The visual processing device according to attachment 3 or 4.
(Appendix 6)
The value of the selection signal is derived as a feature amount of an individual selection signal that is a selection signal derived for each of the target image region and the peripheral image region.
The visual processing device according to any one of appendices 3 to 5.

(付記7)
前記選択信号は、前記対象画像領域と前記周辺画像領域との階調特性を用いて導出される特徴量である階調特性特徴量に基づいて導出される、
付記3〜5のいずれかに記載の視覚処理装置。
(付記8)
前記階調処理手段は、前記選択信号が選択する前記階調変換テーブルを用いて前記対象画像領域の階調処理を実行する階調処理実行手段と、前記階調処理された前記画像信号の階調を補正する手段であって、補正の対象となる対象画素を含む画像領域と前記対象画素を含む前記画像領域の隣接画像領域とについて選択された前記階調処理テーブルに基づいて、前記対象画素の階調を補正する補正手段とを有している、
付記3〜7のいずれかに記載の視覚処理装置。
(Appendix 7)
The selection signal is derived based on a gradation characteristic feature amount that is a feature amount derived using gradation characteristics of the target image region and the peripheral image region.
The visual processing device according to any one of appendices 3 to 5.
(Appendix 8)
The gradation processing means includes gradation processing execution means for executing gradation processing of the target image area using the gradation conversion table selected by the selection signal, and gradation of the image signal subjected to the gradation processing. Means for correcting a tone, the target pixel based on the gradation processing table selected for an image area including the target pixel to be corrected and an image area adjacent to the image area including the target pixel Correction means for correcting the gradation of
The visual processing device according to any one of appendices 3 to 7.

(付記9)
前記階調処理手段は、前記選択信号を補正し、前記画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する補正手段と、前記補正選択信号が選択する前記階調変換テーブルを用いて前記画像信号の階調処理を実行する階調処理実行手段とを有している、
付記3〜7のいずれかに記載の視覚処理装置。
(付記10)
入力された画像信号を複数の画像領域に分割する画像領域分割ステップと、
前記画像領域毎に階調変換特性を導出するステップであって、前記階調変換特性の導出対象となる対象画像領域と前記対象画像領域の周辺画像領域との階調特性を用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法。
(Appendix 9)
The gradation processing means corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal; and the gradation selected by the correction selection signal Gradation processing execution means for executing gradation processing of the image signal using a conversion table;
The visual processing device according to any one of appendices 3 to 7.
(Appendix 10)
An image region dividing step for dividing the input image signal into a plurality of image regions;
A step of deriving gradation conversion characteristics for each of the image areas, wherein the target is obtained using gradation characteristics of a target image area from which the gradation conversion characteristics are derived and a peripheral image area of the target image area; A gradation conversion characteristic deriving step for deriving the gradation conversion characteristic of the image region;
A gradation processing step for performing gradation processing of the image signal based on the derived gradation conversion characteristics;
A visual processing method comprising:

(付記11)
前記階調変換特性は、階調変換曲線であり、
前記階調変換特性導出ステップは、前記階調特性を用いてヒストグラムを作成するヒストグラム作成ステップと、作成された前記ヒストグラムに基づいて前記階調変換曲線を作成する階調曲線作成ステップとを有している、
付記10に記載の視覚処理方法。
(付記12)
前記階調変換特性は、前記画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号であり、
前記階調処理ステップは、前記選択信号が選択する前記階調変換テーブルを用いて前記対象画像領域の階調処理を実行する階調処理実行ステップと、前記階調処理された前記画像信号の階調を補正するステップであって、補正の対象となる対象画素を含む画像領域と前記対象画素を含む前記画像領域の隣接画像領域とについて選択された前記階調処理テーブルに基づいて、前記対象画素の階調を補正する補正ステップとを有している、
付記10に記載の視覚処理方法。
(Appendix 11)
The gradation conversion characteristic is a gradation conversion curve,
The gradation conversion characteristic deriving step includes a histogram creation step of creating a histogram using the gradation characteristic, and a gradation curve creation step of creating the gradation conversion curve based on the created histogram. ing,
The visual processing method according to attachment 10.
(Appendix 12)
The gradation conversion characteristic is a selection signal for selecting one gradation conversion table from among a plurality of gradation conversion tables for gradation-processing the image signal,
The gradation processing step includes a gradation processing execution step of performing gradation processing of the target image region using the gradation conversion table selected by the selection signal, and a gradation of the image signal subjected to the gradation processing. Correcting the tone, the target pixel based on the gradation processing table selected for the image region including the target pixel to be corrected and the image region adjacent to the image region including the target pixel A correction step for correcting the gradation of
The visual processing method according to attachment 10.

(付記13)
前記階調変換特性は、前記画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号であり、
前記階調処理ステップは、前記選択信号を補正し、前記画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する補正ステップと、前記補正選択信号が選択する前記階調変換テーブルを用いて前記画像信号の階調処理を実行する階調処理実行ステップとを有している、
付記10に記載の視覚処理方法。
(付記14)
コンピュータにより視覚処理方法を行うための視覚処理プログラムであって、
前記視覚処理プログラムは、コンピュータに、
入力された画像信号を複数の画像領域に分割する画像領域分割ステップと、
前記画像領域毎に階調変換特性を導出するステップであって、前記階調変換特性の導出対象となる対象画像領域と前記対象画像領域の周辺画像領域との階調特性を用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法を行わせるものである、
視覚処理プログラム。
(Appendix 13)
The gradation conversion characteristic is a selection signal for selecting one gradation conversion table from among a plurality of gradation conversion tables for gradation-processing the image signal,
The gradation processing step corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal, and the gradation selected by the correction selection signal A gradation processing execution step for performing gradation processing of the image signal using a conversion table;
The visual processing method according to attachment 10.
(Appendix 14)
A visual processing program for performing a visual processing method by a computer,
The visual processing program is stored in a computer.
An image region dividing step for dividing the input image signal into a plurality of image regions;
A step of deriving gradation conversion characteristics for each of the image areas, wherein the target is obtained using gradation characteristics of a target image area from which the gradation conversion characteristics are derived and a peripheral image area of the target image area; A gradation conversion characteristic deriving step for deriving the gradation conversion characteristic of the image region;
A gradation processing step for performing gradation processing of the image signal based on the derived gradation conversion characteristics;
A visual processing method comprising:
Visual processing program.

(付記15)
前記階調変換特性は、階調変換曲線であり、
前記階調変換特性導出ステップは、前記階調特性を用いてヒストグラムを作成するヒストグラム作成ステップと、作成された前記ヒストグラムに基づいて前記階調変換曲線を作成する階調曲線作成ステップとを有している、
付記14に記載の視覚処理プログラム。
(付記16)
前記階調変換特性は、前記画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号であり、
前記階調処理ステップは、前記選択信号が選択する前記階調変換テーブルを用いて前記対象画像領域の階調処理を実行する階調処理実行ステップと、前記階調処理された前記画像信号の階調を補正するステップであって、補正の対象となる対象画素を含む画像領域と前記対象画素を含む前記画像領域の隣接画像領域とについて選択された前記階調処理テーブルに基づいて、前記対象画素の階調を補正する補正ステップとを有している、
付記14に記載の視覚処理プログラム。
(Appendix 15)
The gradation conversion characteristic is a gradation conversion curve,
The gradation conversion characteristic deriving step includes a histogram creation step of creating a histogram using the gradation characteristic, and a gradation curve creation step of creating the gradation conversion curve based on the created histogram. ing,
The visual processing program according to attachment 14.
(Appendix 16)
The gradation conversion characteristic is a selection signal for selecting one gradation conversion table from among a plurality of gradation conversion tables for gradation-processing the image signal,
The gradation processing step includes a gradation processing execution step of performing gradation processing of the target image region using the gradation conversion table selected by the selection signal, and a gradation of the image signal subjected to the gradation processing. Correcting the tone, the target pixel based on the gradation processing table selected for the image region including the target pixel to be corrected and the image region adjacent to the image region including the target pixel A correction step for correcting the gradation of
The visual processing program according to attachment 14.

(付記17)
前記階調変換特性は、前記画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号であり、
前記階調処理ステップは、前記選択信号を補正し、前記画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する補正ステップと、前記補正選択信号が選択する前記階調変換テーブルを用いて前記画像信号の階調処理を実行する階調処理実行ステップとを有している、
付記14に記載の視覚処理プログラム。
(付記18)
前記階調処理手段は、前記画像信号を階調処理するための階調変換曲線の曲線パラメータを、前記階調変換特性に基づいて出力するパラメータ出力手段を有しており、前記階調変換特定と前記曲線パラメータとに基づいて特定される前記階調変換曲線を用いて、前記画像信号を階調処理する、
付記1に記載の視覚処理装置。
(Appendix 17)
The gradation conversion characteristic is a selection signal for selecting one gradation conversion table from among a plurality of gradation conversion tables for gradation-processing the image signal,
The gradation processing step corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal, and the gradation selected by the correction selection signal A gradation processing execution step for performing gradation processing of the image signal using a conversion table;
The visual processing program according to attachment 14.
(Appendix 18)
The gradation processing means has parameter output means for outputting a curve parameter of a gradation conversion curve for gradation processing of the image signal based on the gradation conversion characteristics, and the gradation conversion specification And gradation processing the image signal using the gradation conversion curve specified based on the curve parameter and
The visual processing device according to attachment 1.

(付記19)
前記パラメータ出力手段は、前記階調変換特性と前記曲線パラメータとの関係を格納するルックアップテーブルである、
付記18に記載の視覚処理装置。
(付記20)
前記曲線パラメータは、前記画像信号の所定の値に対する前記階調処理された画像信号の値を含む、
付記18または19に記載の視覚処理装置。
(付記21)
前記曲線パラメータは、前記画像信号の所定の区間における前記階調変換曲線の傾きを含む、
付記18〜20のいずれかに記載の視覚処理装置。
(Appendix 19)
The parameter output means is a lookup table that stores a relationship between the gradation conversion characteristics and the curve parameters.
The visual processing device according to appendix 18.
(Appendix 20)
The curve parameter includes a value of the gradation-processed image signal with respect to a predetermined value of the image signal.
The visual processing device according to appendix 18 or 19.
(Appendix 21)
The curve parameter includes an inclination of the gradation conversion curve in a predetermined section of the image signal.
The visual processing device according to any one of appendices 18 to 20.

(付記22)
前記曲線パラメータは、前記階調変換曲線が通る少なくとも1点の座標を含む、
付記18〜21のいずれかに記載の視覚処理装置。
(付記23)
入力された画像信号における複数の画像領域毎の空間処理を行い空間処理信号を導出する手段であって、前記空間処理では、前記空間処理の対象となる対象画像領域と前記対象画像領域の周辺画像領域との階調特性の差に基づいた重み付けを用いて、前記対象画像領域と前記周辺画像領域との階調特性の加重平均を行う、空間処理手段と、
前記対象画像領域の階調特性と前記空間処理信号とに基づいて、前記対象画像領域の視覚処理を行う視覚処理手段と、
を備える視覚処理装置。
(Appendix 22)
The curve parameter includes coordinates of at least one point through which the gradation conversion curve passes.
The visual processing device according to any one of appendices 18 to 21.
(Appendix 23)
A means for performing spatial processing for each of a plurality of image regions in an input image signal to derive a spatial processing signal, wherein the spatial processing includes a target image region that is a target of the spatial processing and a peripheral image of the target image region Spatial processing means for performing weighted averaging of the gradation characteristics of the target image area and the surrounding image area using weighting based on a difference in gradation characteristics with the area;
Visual processing means for performing visual processing of the target image region based on the gradation characteristics of the target image region and the spatial processing signal;
A visual processing device comprising:

(付記24)
前記重み付けは、前記階調特性の差の絶対値が大きいほど小さくなる、
付記23に記載の視覚処理装置。
(付記25)
前記重み付けは、前記対象画像領域と前記周辺画像領域との距離が大きいほど小さくなる、
付記23または24に記載の視覚処理装置。
(付記26)
前記画像領域は、複数の画素から構成されており、
前記対象画像領域と前記周辺画像領域との階調特性は、それぞれの画像領域を構成する画素値の特徴量として定められている、
付記23〜25のいずれかに記載の視覚処理装置。
(Appendix 24)
The weighting decreases as the absolute value of the difference in gradation characteristics increases.
The visual processing device according to attachment 23.
(Appendix 25)
The weighting decreases as the distance between the target image area and the peripheral image area increases.
The visual processing device according to attachment 23 or 24.
(Appendix 26)
The image area is composed of a plurality of pixels,
The gradation characteristics of the target image area and the peripheral image area are determined as feature values of pixel values constituting each image area.
The visual processing device according to any one of appendices 23 to 25.

(付記27)
入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する対象画像領域決定手段と、
前記対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する周辺画像領域決定手段と、
前記周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出手段と、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理手段と、
を備える視覚処理装置。
(Appendix 27)
Target image area determining means for determining a target image area from which to derive the gradation conversion characteristics from the input image signal;
A peripheral image region determining means for determining at least one peripheral image region including a plurality of pixels located around the target image region;
Gradation conversion characteristic deriving means for deriving the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area;
Gradation processing means for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing device comprising:

(付記28)
入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する対象画像領域決定ステップと、
前記対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する周辺画像領域決定ステップと、
前記周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法。
(Appendix 28)
A target image region determination step for determining a target image region from which the gradation conversion characteristics are derived from the input image signal;
A peripheral image region determining step for determining at least one peripheral image region including a plurality of pixels located around the target image region;
A gradation conversion characteristic deriving step for deriving the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area;
A gradation processing step for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing method comprising:

(付記29)
コンピュータを用いて、入力された画像信号の視覚処理を行う視覚処理方法を行うための視覚処理プログラムであって、
前記視覚処理方法は、
入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する対象画像領域決定ステップと、
前記対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する周辺画像領域決定ステップと、
前記周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法である、
視覚処理プログラム。
(Appendix 29)
A visual processing program for performing a visual processing method for performing visual processing of an input image signal using a computer,
The visual processing method includes:
A target image region determination step for determining a target image region from which the gradation conversion characteristics are derived from the input image signal;
A peripheral image region determining step for determining at least one peripheral image region including a plurality of pixels located around the target image region;
A gradation conversion characteristic deriving step for deriving the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area;
A gradation processing step for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing method comprising:
Visual processing program.

(付記30)
入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する対象画像領域決定部と、
前記対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する周辺画像領域決定部と、
前記周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出部と、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理部と、
を備える半導体装置。
(Appendix 30)
A target image region determination unit that determines a target image region from which the gradation conversion characteristics are derived from the input image signal;
A peripheral image region determining unit that determines at least one peripheral image region including a plurality of pixels located around the target image region;
A gradation conversion characteristic deriving unit that derives the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area;
A gradation processing unit that performs gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A semiconductor device comprising:

〈付記の説明〉
付記1に記載の視覚処理装置は、画像領域分割手段と、階調変換特性導出手段と、階調処理手段とを備えている。画像領域分割手段は、入力された画像信号を複数の画像領域に分割する。階調変換特性導出手段は、画像領域毎に階調変換特性を導出する手段であって、階調変換特性の導出対象となる対象画像領域と対象画像領域の周辺画像領域との階調特性を用いて、対象画像領域の階調変換特性を導出する。階調処理手段は、導出された階調変換特性に基づいて、画像信号の階調処理を行う。
ここで、階調変換特性とは、画像領域毎の階調処理の特性である。階調特性とは、例えば、画素毎の輝度、明度などといった画素値である。
本発明の視覚処理装置では、画像領域毎の階調変換特性を判断する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の画像領域の階調特性を用いて判断を行う。このため、画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
<Explanation of Supplementary Notes>
The visual processing device according to attachment 1 includes image region dividing means, gradation conversion characteristic deriving means, and gradation processing means. The image area dividing means divides the input image signal into a plurality of image areas. The gradation conversion characteristic deriving means is a means for deriving the gradation conversion characteristic for each image area, and calculates the gradation characteristic between the target image area from which the gradation conversion characteristic is derived and the peripheral image area of the target image area. To derive the gradation conversion characteristics of the target image area. The gradation processing means performs gradation processing of the image signal based on the derived gradation conversion characteristics.
Here, the gradation conversion characteristic is a characteristic of gradation processing for each image region. The gradation characteristics are pixel values such as brightness and brightness for each pixel, for example.
In the visual processing device of the present invention, when determining the gradation conversion characteristics for each image area, not only the gradation characteristics for each image area but also the gradation characteristics of a wide image area including the peripheral image areas are used. Make a decision. For this reason, it is possible to add a spatial processing effect to the gradation processing for each image region, and it is possible to realize gradation processing that further improves the visual effect.

付記2に記載の視覚処理装置は、付記1に記載の視覚処理装置であって、階調変換特性は、階調変換曲線である。階調変換特性導出手段は、階調特性を用いてヒストグラムを作成するヒストグラム作成手段と、作成されたヒストグラムに基づいて階調変換曲線を作成する階調曲線作成手段とを有している。
ここで、ヒストグラムとは、例えば、対象画像領域および周辺画像領域が含む画素の階調特性に対する分布である。階調曲線作成手段は、例えば、ヒストグラムの値を累積した累積曲線を階調変換曲線とする。
本発明の視覚処理装置では、ヒストグラムを作成する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の階調特性を用いてヒストグラムの作成を行う。このため、画像信号の分割数を増やし画像領域の大きさを小さくすることが可能となり、階調処理による疑似輪郭の発生を抑制することが可能となる。また、画像領域の境界が不自然に目立つことが防止可能となる。
The visual processing device according to attachment 2 is the visual processing device according to attachment 1, in which the gradation conversion characteristic is a gradation conversion curve. The gradation conversion characteristic deriving unit includes a histogram generation unit that generates a histogram using the gradation characteristic, and a gradation curve generation unit that generates a gradation conversion curve based on the generated histogram.
Here, the histogram is, for example, a distribution with respect to gradation characteristics of pixels included in the target image area and the peripheral image area. For example, the gradation curve creating means sets a cumulative curve obtained by accumulating histogram values as a gradation conversion curve.
In the visual processing device of the present invention, when creating a histogram, the histogram is created using not only the gradation characteristics for each image area but also the wide-range gradation characteristics including the surrounding image areas. For this reason, it is possible to increase the number of divisions of the image signal and reduce the size of the image area, and to suppress the generation of pseudo contour due to gradation processing. Further, it is possible to prevent the boundary of the image area from being unnaturally conspicuous.

付記3に記載の視覚処理装置は、付記1に記載の視覚処理装置であって、階調変換特性は、画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号である。階調処理手段は、複数の階調変換テーブルを2次元LUTとして有している。
ここで、階調変換テーブルとは、例えば、画像信号の画素値に対して階調処理された画像信号の画素値を記憶するルックアップテーブル(LUT)などである。
選択信号は、例えば、複数の階調変換テーブルのそれぞれに割り付けられた値の中から選択される1つの階調変換テーブルに割り付けられた値を有している。階調処理手段は、選択信号の値と画像信号の画素値とから2次元LUTを参照して階調処理された画像信号の画素値を出力する。
The visual processing device according to attachment 3 is the visual processing device according to attachment 1, wherein the gradation conversion characteristic is one gradation conversion table among a plurality of gradation conversion tables for gradation processing of the image signal. Is a selection signal for selecting. The gradation processing means has a plurality of gradation conversion tables as a two-dimensional LUT.
Here, the gradation conversion table is, for example, a look-up table (LUT) that stores pixel values of an image signal subjected to gradation processing with respect to pixel values of the image signal.
For example, the selection signal has a value assigned to one gradation conversion table selected from values assigned to each of the plurality of gradation conversion tables. The gradation processing means outputs the pixel value of the image signal subjected to gradation processing with reference to the two-dimensional LUT from the value of the selection signal and the pixel value of the image signal.

本発明の視覚処理装置では、階調処理を2次元LUTを参照して行う。このため、階調処理を高速化することが可能となる。また、複数の階調変換テーブルから1つの階調変換テーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。
付記4に記載の視覚処理装置は、付記3に記載の視覚処理装置であって、2次元LUTは、画像信号の全ての値において、選択信号の値に対する階調処理された画像信号の値が単調増加あるいは単調減少する順序で複数の階調変換テーブルを格納している。
本発明の視覚処理装置では、例えば、選択信号の値が階調変換の度合いを示すこととなる。
付記5に記載の視覚処理装置は、付記3又は4に記載の視覚処理装置であって、2次元LUTは、プロファイルデータの登録により変更可能である。
In the visual processing device of the present invention, gradation processing is performed with reference to a two-dimensional LUT. For this reason, it is possible to speed up the gradation processing. Also, since gradation processing is performed by selecting one gradation conversion table from a plurality of gradation conversion tables, appropriate gradation processing can be performed.
The visual processing device according to appendix 4 is the visual processing device according to appendix 3, wherein the two-dimensional LUT has a value of the image signal subjected to gradation processing with respect to the value of the selection signal in all values of the image signal. A plurality of gradation conversion tables are stored in the order of monotone increase or monotone decrease.
In the visual processing device of the present invention, for example, the value of the selection signal indicates the degree of gradation conversion.
The visual processing device according to attachment 5 is the visual processing device according to attachment 3 or 4, and the two-dimensional LUT can be changed by registering profile data.

ここで、プロファイルデータとは、2次元LUTに格納されるデータであり、例えば、階調処理された画像信号の画素値を要素としている。
本発明の視覚処理装置では、2次元LUTを変更することにより、ハードウェアの構成を変更せずに階調処理の特性を様々に変更することが可能となる。
付記6に記載の視覚処理装置は、付記3〜5のいずれかに記載の視覚処理装置であって、選択信号の値は、対象画像領域と周辺画像領域とのそれぞれの画像領域について導出された選択信号である個別選択信号の特徴量として導出される。
ここで、個別選択信号の特徴量とは、例えば、それぞれの画像領域について導出された選択信号の平均値(単純平均または加重平均)、最大値、あるいは最小値などである。
本発明の視覚処理装置では、対象画像領域に対する選択信号を周辺画像領域を含む広域の画像領域に対する選択信号の特徴量として導出する。このため、選択信号について空間処理的効果を加えることが可能となり、画像領域の境界が不自然に目立つことが防止可能となる。
Here, the profile data is data stored in the two-dimensional LUT and includes, for example, pixel values of the image signal subjected to gradation processing as elements.
In the visual processing device of the present invention, by changing the two-dimensional LUT, it is possible to variously change the characteristics of gradation processing without changing the hardware configuration.
The visual processing device according to attachment 6 is the visual processing device according to any one of attachments 3 to 5, wherein the value of the selection signal is derived for each of the target image region and the peripheral image region. It is derived as a feature quantity of the individual selection signal that is the selection signal.
Here, the feature amount of the individual selection signal is, for example, an average value (simple average or weighted average), maximum value, minimum value, or the like of the selection signal derived for each image region.
In the visual processing device of the present invention, the selection signal for the target image area is derived as the feature amount of the selection signal for the wide-area image area including the peripheral image area. For this reason, it is possible to add a spatial processing effect to the selection signal, and it is possible to prevent the boundary of the image area from being unnaturally conspicuous.

付記7に記載の視覚処理装置は、付記3〜5のいずれかに記載の視覚処理装置であって、選択信号は、対象画像領域と周辺画像領域との階調特性を用いて導出される特徴量である階調特性特徴量に基づいて導出される。
ここで、階調特性特徴量とは、例えば、対象画像領域と周辺画像領域との広域の階調特性の平均値(単純平均または加重平均)、最大値、あるいは最小値などである。
本発明の視覚処理装置では、対象画像領域に対する選択信号を周辺画像領域を含む広域の画像領域に対する階調特性特徴量に基づいて導出する。このため、選択信号について空間処理的効果を加えることが可能となり、画像領域の境界が不自然に目立つことが防止可能となる。
付記8に記載の視覚処理装置は、付記3〜7のいずれかに記載の視覚処理装置であって、階調処理手段は、階調処理実行手段と、補正手段とを有している。階調処理実行手段は、選択信号が選択する階調変換テーブルを用いて対象画像領域の階調処理を実行する。補正手段は、階調処理された画像信号の階調を補正する手段であって、補正の対象となる対象画素を含む画像領域と対象画素を含む画像領域の隣接画像領域とについて選択された階調処理テーブルに基づいて、対象画素の階調を補正する。
The visual processing device according to attachment 7 is the visual processing device according to any one of attachments 3 to 5, wherein the selection signal is derived using the gradation characteristics of the target image region and the peripheral image region. It is derived based on the gradation characteristic feature quantity which is a quantity.
Here, the gradation characteristic feature amount is, for example, an average value (simple average or weighted average), maximum value, or minimum value of gradation characteristics in a wide area between the target image area and the peripheral image area.
In the visual processing device of the present invention, the selection signal for the target image area is derived based on the gradation characteristic feature amount for the wide-area image area including the peripheral image area. For this reason, it is possible to add a spatial processing effect to the selection signal, and it is possible to prevent the boundary of the image area from being unnaturally conspicuous.
The visual processing device according to attachment 8 is the visual processing device according to any one of attachments 3 to 7, in which the gradation processing means includes gradation processing execution means and correction means. The gradation processing execution means executes gradation processing of the target image area using the gradation conversion table selected by the selection signal. The correction unit is a unit that corrects the gradation of the gradation-processed image signal, and is selected for the image region including the target pixel to be corrected and the image region adjacent to the image region including the target pixel. Based on the tone processing table, the gradation of the target pixel is corrected.

ここで、隣接画像領域とは、階調変換特性を導出する際の周辺画像領域と同じ画像領域であってもよいし、異なる画像領域であってもよい。例えば、隣接画像領域は、対象画素を含む画像領域に隣接する画像領域のうち、対象画素からの距離が短い3つの画像領域として選択される。
補正手段は、例えば、対象画像領域毎に同一の階調変換テーブルを用いて階調処理された画像信号の階調を補正する。対象画素の補正は、例えば、対象画素の位置に応じて、隣接画像領域について選択されたそれぞれの階調変換テーブルの影響が現れるように行われる。
本発明の視覚処理装置では、画像信号の階調を画素毎に補正することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
Here, the adjacent image region may be the same image region as the peripheral image region when the gradation conversion characteristic is derived, or may be a different image region. For example, the adjacent image regions are selected as three image regions having a short distance from the target pixel among the image regions adjacent to the image region including the target pixel.
For example, the correcting unit corrects the gradation of the image signal subjected to the gradation processing using the same gradation conversion table for each target image region. The correction of the target pixel is performed so that, for example, the influence of each gradation conversion table selected for the adjacent image region appears according to the position of the target pixel.
In the visual processing device of the present invention, it is possible to correct the gradation of the image signal for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.

付記9に記載の視覚処理装置は、付記3〜7のいずれかに記載の視覚処理装置であって、階調処理手段は、補正手段と、階調処理実行手段とを有している。補正手段は、選択信号を補正し、画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する。階調処理実行手段は、補正選択信号が選択する階調変換テーブルを用いて画像信号の階調処理を実行する。
補正手段は、例えば、対象画像領域毎に導出された選択信号を画素位置および対象画像領域に隣接する画像領域について導出された選択信号に基づいて補正し、画素毎の選択信号を導出する。
本発明の視覚処理装置では、画素毎に選択信号を導出することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
The visual processing device according to attachment 9 is the visual processing device according to any one of attachments 3 to 7, wherein the gradation processing means includes a correction means and a gradation processing execution means. The correction means corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal. The gradation processing execution means executes gradation processing of the image signal using the gradation conversion table selected by the correction selection signal.
For example, the correction unit corrects the selection signal derived for each target image region based on the pixel position and the selection signal derived for the image region adjacent to the target image region, and derives a selection signal for each pixel.
In the visual processing device of the present invention, it is possible to derive a selection signal for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.

付記10に記載の視覚処理方法は、画像領域分割ステップと、階調変換特性導出ステップと、階調処理ステップとを備えている。画像領域分割ステップは、入力された画像信号を複数の画像領域に分割する。階調変換特性導出ステップは、画像領域毎に階調変換特性を導出するステップであって、階調変換特性の導出対象となる対象画像領域と対象画像領域の周辺画像領域との階調特性を用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、画像信号の階調処理を行う。
ここで、階調変換特性とは、画像領域毎の階調処理の特性である。階調特性とは、例えば、画素毎の輝度、明度などといった画素値である。
本発明の視覚処理方法では、画像領域毎の階調変換特性を判断する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の画像領域の階調特性を用いて判断を行う。このため、画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果の高い階調処理を実現することが可能となる。
The visual processing method according to attachment 10 includes an image region dividing step, a gradation conversion characteristic deriving step, and a gradation processing step. The image region dividing step divides the input image signal into a plurality of image regions. The gradation conversion characteristic deriving step is a step of deriving the gradation conversion characteristic for each image area, and the gradation characteristics of the target image area from which the gradation conversion characteristic is derived and the surrounding image area of the target image area are calculated. To derive the gradation conversion characteristics of the target image area. In the gradation processing step, gradation processing of the image signal is performed based on the derived gradation conversion characteristics.
Here, the gradation conversion characteristic is a characteristic of gradation processing for each image region. The gradation characteristics are pixel values such as brightness and brightness for each pixel, for example.
In the visual processing method of the present invention, when determining the gradation conversion characteristics for each image area, not only the gradation characteristics for each image area but also the gradation characteristics of a wide image area including the peripheral image areas are used. Make a decision. For this reason, it is possible to add a spatial processing effect to the gradation processing for each image region, and it is possible to realize gradation processing with a higher visual effect.

付記11に記載の視覚処理方法は、付記10に記載の視覚処理方法であって、階調変換特性は、階調変換曲線である。階調変換特性導出ステップは、階調特性を用いてヒストグラムを作成するヒストグラム作成ステップと、作成されたヒストグラムに基づいて階調変換曲線を作成する階調曲線作成ステップとを有している。
ここで、ヒストグラムとは、例えば、対象画像領域および周辺画像領域が含む画素の階調特性に対する分布である。階調曲線作成ステップは、例えば、ヒストグラムの値を累積した累積曲線を階調変換曲線とする。
本発明の視覚処理方法では、ヒストグラムを作成する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の階調特性を用いてヒストグラムの作成を行う。このため、画像信号の分割数を増やし画像領域の大きさを小さくすることが可能となり、階調処理による疑似輪郭の発生を抑制することが可能となる。また、画像領域の境界が不自然に目立つことが防止可能となる。
The visual processing method according to attachment 11 is the visual processing method according to attachment 10, in which the gradation conversion characteristic is a gradation conversion curve. The gradation conversion characteristic deriving step includes a histogram creation step for creating a histogram using the gradation characteristics, and a gradation curve creation step for creating a gradation conversion curve based on the created histogram.
Here, the histogram is, for example, a distribution with respect to gradation characteristics of pixels included in the target image area and the peripheral image area. In the gradation curve creating step, for example, a cumulative curve obtained by accumulating histogram values is used as a gradation conversion curve.
In the visual processing method of the present invention, when creating a histogram, the histogram is created using not only the gradation characteristics for each image area but also the wide-range gradation characteristics including the peripheral image areas. For this reason, it is possible to increase the number of divisions of the image signal and reduce the size of the image area, and to suppress the generation of pseudo contour due to gradation processing. Further, it is possible to prevent the boundary of the image area from being unnaturally conspicuous.

付記12に記載の視覚処理方法は、付記10に記載の視覚処理方法であって、階調変換特性は、画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号である。また、階調処理ステップは、階調処理実行ステップと、補正ステップとを有している。階調処理実行ステップは、選択信号が選択する階調変換テーブルを用いて対象画像領域の階調処理を実行する。補正ステップは、階調処理された画像信号の階調を補正するステップであって、補正の対象となる対象画素を含む画像領域と対象画素を含む画像領域の隣接画像領域とについて選択された階調処理テーブルに基づいて、対象画素の階調を補正する。
ここで、階調変換テーブルとは、例えば、画像信号の画素値に対して階調処理された画像信号の画素値を記憶するルックアップテーブル(LUT)などである。隣接画像領域とは、階調変換特性を導出する際の周辺画像領域と同じ画像領域であってもよいし、異なる画像領域であってもよい。例えば、隣接画像領域は、対象画素を含む画像領域に隣接する画像領域のうち、対象画素からの距離が短い3つの画像領域として選択される。
The visual processing method according to attachment 12 is the visual processing method according to attachment 10, wherein the gradation conversion characteristic is one gradation conversion table among a plurality of gradation conversion tables for gradation processing of an image signal. Is a selection signal for selecting. The gradation processing step includes a gradation processing execution step and a correction step. In the gradation processing execution step, gradation processing of the target image area is executed using a gradation conversion table selected by the selection signal. The correction step is a step of correcting the gradation of the image signal that has been subjected to the gradation processing, and is performed for the image area including the target pixel to be corrected and an image area adjacent to the image area including the target pixel. Based on the tone processing table, the gradation of the target pixel is corrected.
Here, the gradation conversion table is, for example, a look-up table (LUT) that stores pixel values of an image signal subjected to gradation processing with respect to pixel values of the image signal. The adjacent image region may be the same image region as the peripheral image region when the gradation conversion characteristics are derived, or may be a different image region. For example, the adjacent image regions are selected as three image regions having a short distance from the target pixel among the image regions adjacent to the image region including the target pixel.

選択信号は、例えば、複数の階調変換テーブルのそれぞれに割り付けられた値の中から選択される1つの階調変換テーブルに割り付けられた値を有している。階調処理ステップは、選択信号の値と画像信号の画素値とからLUTを参照して階調処理された画像信号の画素値を出力する。補正ステップは、例えば、対象画像領域毎に同一の階調変換テーブルを用いて階調処理された画像信号の階調を補正する。対象画素の補正は、例えば、対象画素の位置に応じて、隣接画像領域について選択されたそれぞれの階調変換テーブルの影響が現れるように行われる。
本発明の視覚処理方法では、階調処理をLUTを参照して行う。このため、階調処理を高速化することが可能となる。また、複数の階調変換テーブルから1つの階調変換テーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。さらに、画像信号の階調を画素毎に補正することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
For example, the selection signal has a value assigned to one gradation conversion table selected from values assigned to each of the plurality of gradation conversion tables. In the gradation processing step, the pixel value of the image signal subjected to the gradation processing with reference to the LUT from the value of the selection signal and the pixel value of the image signal is output. In the correction step, for example, the gradation of the image signal subjected to gradation processing is corrected using the same gradation conversion table for each target image area. The correction of the target pixel is performed so that, for example, the influence of each gradation conversion table selected for the adjacent image region appears according to the position of the target pixel.
In the visual processing method of the present invention, gradation processing is performed with reference to the LUT. For this reason, it is possible to speed up the gradation processing. Also, since gradation processing is performed by selecting one gradation conversion table from a plurality of gradation conversion tables, appropriate gradation processing can be performed. Furthermore, the gradation of the image signal can be corrected for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.

付記13に記載の視覚処理方法は、付記10に記載の視覚処理方法であって、階調変換特性は、画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号である。また、階調処理ステップは、補正ステップと、階調処理実行ステップとを有している。補正ステップは、選択信号を補正し、画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する。階調処理実行ステップは、補正選択信号が選択する階調変換テーブルを用いて画像信号の階調処理を実行する。
ここで、階調変換テーブルとは、例えば、画像信号の画素値に対して階調処理された画像信号の画素値を記憶するルックアップテーブル(LUT)などである。
選択信号は、例えば、複数の階調変換テーブルのそれぞれに割り付けられた値の中から選択される1つの階調変換テーブルに割り付けられた値を有している。階調処理ステップは、選択信号の値と画像信号の画素値とから2次元LUTを参照して階調処理された画像信号の画素値を出力する。補正ステップは、例えば、対象画像領域毎に導出された選択信号を画素位置および対象画像領域に隣接する画像領域について導出された選択信号に基づいて補正し、画素毎の選択信号を導出する。
The visual processing method according to attachment 13 is the visual processing method according to attachment 10, wherein the gradation conversion characteristic is one gradation conversion table among a plurality of gradation conversion tables for gradation processing of an image signal. Is a selection signal for selecting. Further, the gradation processing step has a correction step and a gradation processing execution step. The correction step corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal. In the gradation processing execution step, gradation processing of the image signal is executed using a gradation conversion table selected by the correction selection signal.
Here, the gradation conversion table is, for example, a look-up table (LUT) that stores pixel values of an image signal subjected to gradation processing with respect to pixel values of the image signal.
For example, the selection signal has a value assigned to one gradation conversion table selected from values assigned to each of the plurality of gradation conversion tables. In the gradation processing step, the pixel value of the image signal subjected to gradation processing is output with reference to the two-dimensional LUT from the value of the selection signal and the pixel value of the image signal. In the correction step, for example, the selection signal derived for each target image region is corrected based on the pixel position and the selection signal derived for the image region adjacent to the target image region, and a selection signal for each pixel is derived.

本発明の視覚処理方法では、階調処理をLUTを参照して行う。このため、階調処理を高速化することが可能となる。また、複数の階調変換テーブルから1つの階調変換テーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。さらに、画素毎に選択信号を導出することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
付記14に記載の視覚処理プログラムは、コンピュータにより、画像領域分割ステップと、階調変換特性導出ステップと、階調処理ステップとを備える視覚処理方法を行わせる視覚処理プログラムである。画像領域分割ステップは、入力された画像信号を複数の画像領域に分割する。階調変換特性導出ステップは、画像領域毎に階調変換特性を導出するステップであって、階調変換特性の導出対象となる対象画像領域と対象画像領域の周辺画像領域との階調特性を用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、画像信号の階調処理を行う。
In the visual processing method of the present invention, gradation processing is performed with reference to the LUT. For this reason, it is possible to speed up the gradation processing. Also, since gradation processing is performed by selecting one gradation conversion table from a plurality of gradation conversion tables, appropriate gradation processing can be performed. Furthermore, a selection signal can be derived for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.
The visual processing program according to attachment 14 is a visual processing program that causes a computer to perform a visual processing method including an image region dividing step, a gradation conversion characteristic deriving step, and a gradation processing step. The image region dividing step divides the input image signal into a plurality of image regions. The gradation conversion characteristic deriving step is a step of deriving the gradation conversion characteristic for each image area, and the gradation characteristics of the target image area from which the gradation conversion characteristic is derived and the surrounding image area of the target image area are calculated. To derive the gradation conversion characteristics of the target image area. In the gradation processing step, gradation processing of the image signal is performed based on the derived gradation conversion characteristics.

ここで、階調変換特性とは、画像領域毎の階調処理の特性である。階調特性とは、例えば、画素毎の輝度、明度などといった画素値である。
本発明の視覚処理プログラムでは、画像領域毎の階調変換特性を判断する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の画像領域の階調特性を用いて判断を行う。このため、画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果の高い階調処理を実現することが可能となる。
付記15に記載の視覚処理プログラムは、付記14に記載の視覚処理プログラムであって、階調変換特性は、階調変換曲線である。階調変換特性導出ステップは、階調特性を用いてヒストグラムを作成するヒストグラム作成ステップと、作成されたヒストグラムに基づいて階調変換曲線を作成する階調曲線作成ステップとを有している。
Here, the gradation conversion characteristic is a characteristic of gradation processing for each image region. The gradation characteristics are pixel values such as brightness and brightness for each pixel, for example.
In the visual processing program of the present invention, when determining the gradation conversion characteristics for each image area, not only the gradation characteristics for each image area but also the gradation characteristics of a wide image area including the peripheral image areas are used. Make a decision. For this reason, it is possible to add a spatial processing effect to the gradation processing for each image region, and it is possible to realize gradation processing with a higher visual effect.
The visual processing program described in appendix 15 is the visual processing program described in appendix 14, and the gradation conversion characteristic is a gradation conversion curve. The gradation conversion characteristic deriving step includes a histogram creation step for creating a histogram using the gradation characteristics, and a gradation curve creation step for creating a gradation conversion curve based on the created histogram.

ここで、ヒストグラムとは、例えば、対象画像領域および周辺画像領域が含む画素の階調特性に対する分布である。階調曲線作成ステップは、例えば、ヒストグラムの値を累積した累積曲線を階調変換曲線とする。
本発明の視覚処理プログラムでは、ヒストグラムを作成する際に、画像領域毎の階調特性だけでなく、周辺の画像領域を含めた広域の階調特性を用いてヒストグラムの作成を行う。このため、画像信号の分割数を増やし画像領域の大きさを小さくすることが可能となり、階調処理による疑似輪郭の発生を抑制することが可能となる。また、画像領域の境界が不自然に目立つことが防止可能となる。
付記16に記載の視覚処理プログラムは、付記14に記載の視覚処理プログラムであって、階調変換特性は、画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号である。また、階調処理ステップは、階調処理実行ステップと、補正ステップとを有している。階調処理実行ステップは、選択信号が選択する階調変換テーブルを用いて対象画像領域の階調処理を実行する。補正ステップは、階調処理された画像信号の階調を補正するステップであって、補正の対象となる対象画素を含む画像領域と対象画素を含む画像領域の隣接画像領域とについて選択された階調処理テーブルに基づいて、対象画素の階調を補正する。
Here, the histogram is, for example, a distribution with respect to gradation characteristics of pixels included in the target image area and the peripheral image area. In the gradation curve creating step, for example, a cumulative curve obtained by accumulating histogram values is used as a gradation conversion curve.
In the visual processing program of the present invention, when creating a histogram, the histogram is created using not only the gradation characteristics for each image area but also the wide-range gradation characteristics including the peripheral image areas. For this reason, it is possible to increase the number of divisions of the image signal and reduce the size of the image area, and to suppress the generation of pseudo contour due to gradation processing. Further, it is possible to prevent the boundary of the image area from being unnaturally conspicuous.
The visual processing program according to attachment 16 is the visual processing program according to attachment 14, wherein the gradation conversion characteristic is one gradation conversion table among a plurality of gradation conversion tables for gradation processing of an image signal. Is a selection signal for selecting. The gradation processing step includes a gradation processing execution step and a correction step. In the gradation processing execution step, gradation processing of the target image area is executed using a gradation conversion table selected by the selection signal. The correction step is a step of correcting the gradation of the image signal that has been subjected to the gradation processing, and is performed for the image area including the target pixel to be corrected and an image area adjacent to the image area including the target pixel. Based on the tone processing table, the gradation of the target pixel is corrected.

ここで、階調変換テーブルとは、例えば、画像信号の画素値に対して階調処理された画像信号の画素値を記憶するルックアップテーブル(LUT)などである。隣接画像領域とは、階調変換特性を導出する際の周辺画像領域と同じ画像領域であってもよいし、異なる画像領域であってもよい。例えば、隣接画像領域は、対象画素を含む画像領域に隣接する画像領域のうち、対象画素からの距離が短い3つの画像領域として選択される。
選択信号は、例えば、複数の階調変換テーブルのそれぞれに割り付けられた値の中から選択される1つの階調変換テーブルに割り付けられた値を有している。階調処理ステップは、選択信号の値と画像信号の画素値とからLUTを参照して階調処理された画像信号の画素値を出力する。補正ステップは、例えば、対象画像領域毎に同一の階調変換テーブルを用いて階調処理された画像信号の階調を補正する。対象画素の補正は、例えば、対象画素の位置に応じて、隣接画像領域について選択されたそれぞれの階調変換テーブルの影響が現れるように行われる。
Here, the gradation conversion table is, for example, a look-up table (LUT) that stores pixel values of an image signal subjected to gradation processing with respect to pixel values of the image signal. The adjacent image region may be the same image region as the peripheral image region when the gradation conversion characteristics are derived, or may be a different image region. For example, the adjacent image regions are selected as three image regions having a short distance from the target pixel among the image regions adjacent to the image region including the target pixel.
For example, the selection signal has a value assigned to one gradation conversion table selected from values assigned to each of the plurality of gradation conversion tables. In the gradation processing step, the pixel value of the image signal subjected to the gradation processing with reference to the LUT from the value of the selection signal and the pixel value of the image signal is output. In the correction step, for example, the gradation of the image signal subjected to gradation processing is corrected using the same gradation conversion table for each target image area. The correction of the target pixel is performed so that, for example, the influence of each gradation conversion table selected for the adjacent image region appears according to the position of the target pixel.

本発明の視覚処理プログラムでは、階調処理をLUTを参照して行う。このため、階調処理を高速化することが可能となる。また、複数の階調変換テーブルから1つの階調変換テーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。さらに、画像信号の階調を画素毎に補正することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
付記17に記載の視覚処理プログラムは、付記14に記載の視覚処理プログラムであって、階調変換特性は、画像信号を階調処理する複数の階調変換テーブルの中から1つの階調変換テーブルを選択するための選択信号である。また、階調処理ステップは、補正ステップと、階調処理実行ステップとを有している。補正ステップは、選択信号を補正し、画像信号の画素毎に階調処理テーブルを選択するための補正選択信号を導出する。階調処理実行ステップは、補正選択信号が選択する階調変換テーブルを用いて画像信号の階調処理を実行する。
In the visual processing program of the present invention, gradation processing is performed with reference to the LUT. For this reason, it is possible to speed up the gradation processing. Also, since gradation processing is performed by selecting one gradation conversion table from a plurality of gradation conversion tables, appropriate gradation processing can be performed. Furthermore, the gradation of the image signal can be corrected for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.
The visual processing program according to appendix 17 is the visual processing program according to appendix 14, wherein the gradation conversion characteristic is one gradation conversion table among a plurality of gradation conversion tables for gradation processing of an image signal. Is a selection signal for selecting. Further, the gradation processing step has a correction step and a gradation processing execution step. The correction step corrects the selection signal and derives a correction selection signal for selecting a gradation processing table for each pixel of the image signal. In the gradation processing execution step, gradation processing of the image signal is executed using a gradation conversion table selected by the correction selection signal.

ここで、階調変換テーブルとは、例えば、画像信号の画素値に対して階調処理された画像信号の画素値を記憶するルックアップテーブル(LUT)などである。
選択信号は、例えば、複数の階調変換テーブルのそれぞれに割り付けられた値の中から選択される1つの階調変換テーブルに割り付けられた値を有している。階調処理ステップは、選択信号の値と画像信号の画素値とから2次元LUTを参照して階調処理された画像信号の画素値を出力する。補正ステップは、例えば、対象画像領域毎に導出された選択信号を画素位置および対象画像領域に隣接する画像領域について導出された選択信号に基づいて補正し、画素毎の選択信号を導出する。
本発明の視覚処理プログラムでは、階調処理をLUTを参照して行う。このため、階調処理を高速化することが可能となる。また、複数の階調変換テーブルから1つの階調変換テーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。さらに、画素毎に選択信号を導出することが可能となる。このため、画像領域の境界が不自然に目立つことがさらに防止され、視覚的効果を向上させることが可能となる。
Here, the gradation conversion table is, for example, a look-up table (LUT) that stores pixel values of an image signal subjected to gradation processing with respect to pixel values of the image signal.
For example, the selection signal has a value assigned to one gradation conversion table selected from values assigned to each of the plurality of gradation conversion tables. In the gradation processing step, the pixel value of the image signal subjected to gradation processing is output with reference to the two-dimensional LUT from the value of the selection signal and the pixel value of the image signal. In the correction step, for example, the selection signal derived for each target image region is corrected based on the pixel position and the selection signal derived for the image region adjacent to the target image region, and a selection signal for each pixel is derived.
In the visual processing program of the present invention, gradation processing is performed with reference to the LUT. For this reason, it is possible to speed up the gradation processing. Also, since gradation processing is performed by selecting one gradation conversion table from a plurality of gradation conversion tables, appropriate gradation processing can be performed. Furthermore, a selection signal can be derived for each pixel. For this reason, it is further prevented that the boundary of the image area stands out unnaturally, and the visual effect can be improved.

付記18に記載の視覚処理装置は、付記1に記載の視覚処理装置であって、階調処理手段は、画像信号を階調処理するための階調変換曲線の曲線パラメータを、階調変換特性に基づいて出力するパラメータ出力手段を有している。階調処理手段は、階調変換特定と曲線パラメータとに基づいて特定される階調変換曲線を用いて、画像信号を階調処理する。
ここで、階調変換曲線とは、少なくとも一部が直線であるようなものも含んでいる。曲線パラメータとは、階調変換曲線を他の階調変換曲線と区別するためのパラメータであり、例えば、階調変換曲線上の座標、階調変換曲線の傾き、曲率などである。パラメータ出力手段は、例えば、階調変換特性に対する曲線パラメータを格納するルックアップテーブルや、所定の階調変換特性に対する曲線パラメータを用いた曲線近似などの演算により曲線パラメータを求める演算手段などである。
The visual processing device according to attachment 18 is the visual processing device according to attachment 1, in which the gradation processing means uses the gradation conversion characteristics for the gradation conversion curve for performing gradation processing on the image signal as gradation conversion characteristics. Parameter output means for outputting based on the above. The gradation processing means performs gradation processing on the image signal using the gradation conversion curve specified based on the gradation conversion specification and the curve parameter.
Here, the gradation conversion curve includes at least part of which is a straight line. The curve parameter is a parameter for distinguishing the gradation conversion curve from other gradation conversion curves, and includes, for example, coordinates on the gradation conversion curve, inclination of the gradation conversion curve, curvature, and the like. The parameter output means is, for example, a lookup table that stores curve parameters for gradation conversion characteristics, or an operation means for obtaining curve parameters by calculation such as curve approximation using curve parameters for predetermined gradation conversion characteristics.

本発明の視覚処理装置では、階調変換特性に応じて画像信号を階調処理する。このため、より適切に階調処理を行うことが可能となる。また、階調処理に用いられる全ての階調変換曲線の値をあらかじめ記憶しておく必要がなく、出力された曲線パラメータから階調変換曲線を特定して階調処理を行う。このため、階調変換曲線を記憶するための記憶容量を削減することが可能となる。
付記19に記載の視覚処理装置は、付記18に記載の視覚処理装置であって、パラメータ出力手段は、階調変換特性と曲線パラメータとの関係を格納するルックアップテーブルである。
ルックアップテーブルは、階調変換特性と曲線パラメータとの関係を格納している。階調処理手段は、特定された階調変換曲線を用いて、画像信号を階調処理する。
In the visual processing device of the present invention, gradation processing is performed on an image signal according to gradation conversion characteristics. For this reason, it is possible to perform gradation processing more appropriately. Further, it is not necessary to store in advance the values of all the gradation conversion curves used for gradation processing, and gradation processing is performed by specifying the gradation conversion curve from the output curve parameters. For this reason, it is possible to reduce the storage capacity for storing the gradation conversion curve.
The visual processing device according to attachment 19 is the visual processing device according to attachment 18 in which the parameter output means is a look-up table that stores the relationship between the gradation conversion characteristics and the curve parameters.
The look-up table stores the relationship between gradation conversion characteristics and curve parameters. The gradation processing means performs gradation processing on the image signal using the specified gradation conversion curve.

本発明の視覚処理装置では、階調変換特性に応じて画像信号を階調処理する。このため、より適切に階調処理を行うことが可能となる。さらに、用いられる全ての階調変換曲線の値をあらかじめ記憶しておく必要がなく、曲線パラメータを記憶するのみである。このため、階調変換曲線を記憶するための記憶容量を削減することが可能となる。
付記20に記載の視覚処理装置は、付記18または19に記載の視覚処理装置であって、曲線パラメータは、画像信号の所定の値に対する階調処理された画像信号の値を含む。
階調処理手段では、画像信号の所定の値と視覚処理の対象となる画像信号の値との関係を用いて、曲線パラメータが含む階調処理された画像信号の値を非線形あるいは線形に内分し、階調処理された画像信号の値を導出する。
本発明の視覚処理装置では、画像信号の所定の値に対する階調処理された画像信号の値から階調変換曲線を特定し、階調処理を行うことが可能となる。
In the visual processing device of the present invention, gradation processing is performed on an image signal according to gradation conversion characteristics. For this reason, it is possible to perform gradation processing more appropriately. Furthermore, it is not necessary to store in advance the values of all the gradation conversion curves used, and only the curve parameters are stored. For this reason, it is possible to reduce the storage capacity for storing the gradation conversion curve.
The visual processing device according to attachment 20 is the visual processing device according to attachment 18 or 19, wherein the curve parameter includes a value of the image signal subjected to gradation processing with respect to a predetermined value of the image signal.
The tone processing means uses the relationship between the predetermined value of the image signal and the value of the image signal to be visually processed to nonlinearly or linearly divide the value of the tone processed image signal included in the curve parameter. Then, the value of the gradation-processed image signal is derived.
In the visual processing device of the present invention, it is possible to perform gradation processing by specifying a gradation conversion curve from the value of a gradation-processed image signal for a predetermined value of the image signal.

付記21に記載の視覚処理装置は、付記18〜20のいずれかに記載の視覚処理装置であって、曲線パラメータは、画像信号の所定の区間における階調変換曲線の傾きを含む。
階調処理手段では、画像信号の所定の区間における階調変換曲線の傾きにより、階調変換曲線が特定される。さらに、特定された階調変換曲線を用いて、画像信号の値に対する階調処理された画像信号の値が導出される。
本発明の視覚処理装置では、画像信号の所定の区間における階調変換曲線の傾きにより、階調変換曲線を特定し、階調処理を行うことが可能となる。
付記22に記載の視覚処理装置は、付記18〜21のいずれかに記載の視覚処理装置であって、曲線パラメータは、階調変換曲線が通る少なくとも1点の座標を含む。
曲線パラメータでは、階調変換曲線が通る少なくとも1点の座標が特定されている。すなわち画像信号の値に対する階調処理後の画像信号の値が少なくとも1点特定されている。階調処理手段では、特定された画像信号の値と、視覚処理の対象となる画像信号の値との関係を用いて、特定された階調処理後の画像信号の値を非線形あるいは線形に内分することにより階調処理された画像信号の値を導出する。
The visual processing device according to attachment 21 is the visual processing device according to any one of attachments 18 to 20, wherein the curve parameter includes the gradient of the gradation conversion curve in a predetermined section of the image signal.
In the gradation processing means, the gradation conversion curve is specified by the slope of the gradation conversion curve in a predetermined section of the image signal. Furthermore, the value of the image signal subjected to the gradation process with respect to the value of the image signal is derived using the specified gradation conversion curve.
In the visual processing device of the present invention, it is possible to specify the gradation conversion curve based on the gradient of the gradation conversion curve in a predetermined section of the image signal and perform gradation processing.
The visual processing device according to attachment 22 is the visual processing device according to any one of attachments 18 to 21, wherein the curve parameter includes coordinates of at least one point through which the gradation conversion curve passes.
In the curve parameter, the coordinates of at least one point through which the gradation conversion curve passes are specified. That is, at least one point of the value of the image signal after gradation processing with respect to the value of the image signal is specified. The gradation processing means uses the relationship between the value of the specified image signal and the value of the image signal to be subjected to visual processing to add the value of the specified image signal after gradation processing in a nonlinear or linear manner. By dividing, the value of the image signal subjected to gradation processing is derived.

本発明の視覚処理装置では、階調変換曲線が通る少なくとも1点の座標により、階調変換曲線を特定し、階調処理を行うことが可能となる。
付記23に記載の視覚処理装置は、空間処理手段と、視覚処理手段とを備えている。空間処理手段は、入力された画像信号における複数の画像領域毎の空間処理を行い空間処理信号を導出する手段である。空間処理では、空間処理の対象となる対象画像領域と対象画像領域の周辺画像領域との階調特性の差に基づいた重み付けを用いて、対象画像領域と周辺画像領域との階調特性の加重平均を行う。視覚処理手段は、対象画像領域の階調特性と空間処理信号とに基づいて、対象画像領域の視覚処理を行う。
ここで、画像領域とは、画像において、複数の画素を含む領域、あるいは画素そのものを意味している。階調特性とは、画素毎の輝度、明度などといった画素値に基づく値である。例えば、画像領域の階調特性とは、画像領域が含む画素の画素値の平均値(単純平均または加重平均)、最大値、あるいは最小値などである。
In the visual processing device of the present invention, the gradation conversion curve can be identified and the gradation processing can be performed by the coordinates of at least one point through which the gradation conversion curve passes.
The visual processing device according to attachment 23 includes spatial processing means and visual processing means. The spatial processing means is means for performing spatial processing for each of a plurality of image regions in the input image signal to derive a spatial processing signal. In spatial processing, weighting of gradation characteristics between the target image area and the surrounding image area is performed using weighting based on a difference in gradation characteristics between the target image area to be subjected to spatial processing and the surrounding image area of the target image area. Do the average. The visual processing means performs visual processing of the target image area based on the gradation characteristics of the target image area and the spatial processing signal.
Here, the image area means an area including a plurality of pixels in the image, or a pixel itself. The gradation characteristics are values based on pixel values such as brightness and brightness for each pixel. For example, the gradation characteristics of the image area include an average value (simple average or weighted average) of pixel values included in the image area, a maximum value, or a minimum value.

空間処理手段は、周辺画像領域の階調特性を用いて、対象画像領域の空間処理を行う。空間処理では、対象画像領域と周辺画像領域との階調特性が加重平均される。加重平均における重みは、対象画像領域と周辺画像領域との階調特性の差に基づいて設定される。
本発明の視覚処理装置では、空間処理信号において、階調特性が大きく異なる画像領域から受ける影響を抑制することなどが可能となる。例えば、周辺画像領域が物体の境界などを含む画像であり、対象画像領域とは階調特性が大きく異なる場合にも、適切な空間処理信号を導出することが可能となる。この結果、空間処理信号を用いた視覚処理においても、特に擬似輪郭などの発生を抑制することなどが可能となる。このため、視覚的効果を向上させる視覚処理を実現することが可能となる。
付記24に記載の視覚処理装置は、付記23に記載の視覚処理装置であって、重み付けは、階調特性の差の絶対値が大きいほど小さくなる。
The spatial processing means performs spatial processing of the target image region using the gradation characteristics of the peripheral image region. In the spatial processing, the gradation characteristics of the target image area and the peripheral image area are weighted averaged. The weight in the weighted average is set based on a difference in gradation characteristics between the target image area and the peripheral image area.
In the visual processing device of the present invention, it is possible to suppress the influence of the spatially processed signal from image regions having greatly different gradation characteristics. For example, it is possible to derive an appropriate spatial processing signal even when the peripheral image region is an image including the boundary of an object and the gradation characteristics are significantly different from the target image region. As a result, even in visual processing using a spatial processing signal, it is possible to suppress the occurrence of pseudo contours. For this reason, it is possible to realize visual processing that improves the visual effect.
The visual processing device according to attachment 24 is the visual processing device according to attachment 23, in which the weighting decreases as the absolute value of the difference in gradation characteristics increases.

ここで、重みは、階調特性の差に応じて単調減少する値として与えられるものであってもよいし、所定の閾値と階調特性の差との比較により、所定の値に設定されるものであってもよい。
本発明の視覚処理装置では、空間処理信号において、階調特性が大きく異なる画像領域から受ける影響を抑制することなどが可能となる。例えば、周辺画像領域が物体の境界などを含む画像であり、対象画像領域とは階調特性が大きく異なる場合にも、適切な空間処理信号を導出することが可能となる。この結果、空間処理信号を用いた視覚処理においても、特に擬似輪郭などの発生を抑制することなどが可能となる。このため、視覚的効果を向上させる視覚処理を実現することが可能となる。
付記25に記載の視覚処理装置は、付記23または24に記載の視覚処理装置であって、重み付けは、対象画像領域と周辺画像領域との距離が大きいほど小さくなる。
Here, the weight may be given as a value that monotonously decreases in accordance with the difference in gradation characteristics, or is set to a predetermined value by comparing the predetermined threshold value with the difference in gradation characteristics. It may be a thing.
In the visual processing device of the present invention, it is possible to suppress the influence of the spatially processed signal from image regions having greatly different gradation characteristics. For example, it is possible to derive an appropriate spatial processing signal even when the peripheral image region is an image including the boundary of an object and the gradation characteristics are significantly different from the target image region. As a result, even in visual processing using a spatial processing signal, it is possible to suppress the occurrence of pseudo contours. For this reason, it is possible to realize visual processing that improves the visual effect.
The visual processing device according to attachment 25 is the visual processing device according to attachment 23 or 24, in which the weighting decreases as the distance between the target image region and the peripheral image region increases.

ここで、重みは、対象画像領域と周辺画像領域との距離の大きさに応じて単調減少する値として与えられるものであってもよいし、所定の閾値と距離の大きさとの比較により、所定の値に設定されるものであってもよい。
本発明の視覚処理装置では、空間処理信号において、対象画像領域と離れた周辺画像領域から受ける影響を抑制することなどが可能となる。このため、周辺画像領域が物体の境界などを含む画像であり、対象画像領域とは階調特性が大きく異なる場合にも、周辺画像領域と対象画像領域とが離れている場合には、周辺画像領域から受ける影響を抑制し、より適切な空間処理信号を導出することが可能となる。
付記26に記載の視覚処理装置は、付記23〜25のいずれかに記載の視覚処理装置であって、画像領域は、複数の画素から構成されている。対象画像領域と周辺画像領域との階調特性は、それぞれの画像領域を構成する画素値の特徴量として定められている。
Here, the weight may be given as a value that monotonously decreases in accordance with the distance between the target image area and the surrounding image area, or may be determined by comparing the predetermined threshold with the distance. It may be set to the value of.
In the visual processing device of the present invention, it is possible to suppress the influence of the spatially processed signal from the peripheral image region that is separated from the target image region. For this reason, if the peripheral image area is an image including the boundary of an object and the gradation characteristics are significantly different from the target image area, the peripheral image area is separated from the target image area. It is possible to suppress the influence from the region and derive a more appropriate spatial processing signal.
The visual processing device according to attachment 26 is the visual processing device according to any one of attachments 23 to 25, in which the image region is composed of a plurality of pixels. The gradation characteristics of the target image area and the peripheral image area are determined as feature values of pixel values constituting each image area.

本発明の視覚処理装置では、画像領域毎の空間処理を行う際に、画像領域毎に含まれる画素だけでなく、周辺の画像領域を含めた広域の画像領域に含まれる画素の階調特性を用いて処理を行う。このため、より適切な空間処理を行うことが可能となる。この結果、空間処理信号を用いた視覚処理においても、特に擬似輪郭などの発生を抑制することなどが可能となる。このため、視覚的効果を向上させる視覚処理を実現することが可能となる。
付記27に記載の視覚処理装置は、対象画像領域決定手段と、周辺画像領域決定手段と、階調変換特性導出手段と、階調処理手段とを備えている。対象画像領域決定手段は、入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する。周辺画像領域決定手段は、対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する。階調変換特性導出手段は、周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理手段は、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
In the visual processing device of the present invention, when performing spatial processing for each image region, not only the pixels included in each image region, but also the gradation characteristics of pixels included in a wide image region including peripheral image regions. To process. For this reason, it is possible to perform more appropriate spatial processing. As a result, even in visual processing using a spatial processing signal, it is possible to suppress the occurrence of pseudo contours. For this reason, it is possible to realize visual processing that improves the visual effect.
The visual processing device according to attachment 27 includes target image region determination means, peripheral image region determination means, gradation conversion characteristic derivation means, and gradation processing means. The target image area determining means determines a target image area from which the gradation conversion characteristics are derived from the input image signal. The peripheral image region determining means determines at least one peripheral image region including a plurality of pixels located around the target image region. The gradation conversion characteristic deriving means derives the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area. The gradation processing means performs gradation processing of the image signal in the target image area based on the derived gradation conversion characteristics.

対象画像領域とは、例えば、画像信号に含まれる画素や、画像信号を所定の単位に分割した画像ブロックその他の複数の画素から構成される領域などである。周辺画像領域とは、例えば、画像信号を所定の単位に分割した画像ブロックその他の複数の画素から構成される領域である。周辺画像データとは、周辺画像領域の画像データあるいは画像データから導出されるデータなどであり、例えば、周辺画像領域の画素値、階調特性(画素毎の輝度や明度)、サムネイル(縮小画像や解像度を落とした間引き画像)などである。また、周辺画像領域は、対象画像領域の周辺に位置すればよく、対象画像領域を取り囲む領域である必要はない。
本発明の視覚処理装置では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The target image region is, for example, a pixel included in the image signal, an image block obtained by dividing the image signal into predetermined units, or a region composed of a plurality of other pixels. The peripheral image area is, for example, an area constituted by an image block obtained by dividing an image signal into predetermined units and other plural pixels. The peripheral image data is image data of the peripheral image region or data derived from the image data. For example, the pixel value of the peripheral image region, gradation characteristics (brightness or brightness for each pixel), thumbnail (reduced image or Thinned image with reduced resolution). Further, the peripheral image area only needs to be positioned around the target image area, and does not need to be an area surrounding the target image area.
In the visual processing device of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記28に記載の視覚処理方法は、対象画像領域決定ステップと、周辺画像領域決定ステップと、階調変換特性導出ステップと、階調処理ステップとを備えている。対象画像領域決定ステップは、入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する。周辺画像領域決定ステップは、対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する。階調変換特性導出ステップは、周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の視覚処理方法では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing method according to attachment 28 includes a target image region determination step, a peripheral image region determination step, a gradation conversion characteristic derivation step, and a gradation processing step. The target image region determination step determines a target image region from which the gradation conversion characteristics are derived from the input image signal. The peripheral image region determination step determines at least one peripheral image region including a plurality of pixels located around the target image region. In the gradation conversion characteristic deriving step, the gradation conversion characteristic of the target image area is derived using the peripheral image data of the peripheral image area. In the gradation processing step, gradation processing of the image signal in the target image area is performed based on the derived gradation conversion characteristics.
In the visual processing method of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記29に記載の視覚処理プログラムは、コンピュータを用いて、入力された画像信号の視覚処理を行う視覚処理方法を行うための視覚処理プログラムである。視覚処理方法は、対象画像領域決定ステップと、周辺画像領域決定ステップと、階調変換特性導出ステップと、階調処理ステップとを備えている。対象画像領域決定ステップは、入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する。周辺画像領域決定ステップは、対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する。階調変換特性導出ステップは、周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の視覚処理プログラムでは、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing program according to attachment 29 is a visual processing program for performing a visual processing method for performing visual processing of an input image signal using a computer. The visual processing method includes a target image region determination step, a peripheral image region determination step, a gradation conversion characteristic derivation step, and a gradation processing step. The target image region determination step determines a target image region from which the gradation conversion characteristics are derived from the input image signal. The peripheral image region determination step determines at least one peripheral image region including a plurality of pixels located around the target image region. In the gradation conversion characteristic deriving step, the gradation conversion characteristic of the target image area is derived using the peripheral image data of the peripheral image area. In the gradation processing step, gradation processing of the image signal in the target image area is performed based on the derived gradation conversion characteristics.
In the visual processing program of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記30に記載の半導体装置は、対象画像領域決定部と、周辺画像領域決定部と、階調変換特性導出部と、階調処理部とを備えている。対象画像領域決定部は、入力された画像信号から階調変換特性の導出対象となる対象画像領域を決定する。周辺画像領域決定部は、対象画像領域の周辺に位置し複数の画素を含む少なくとも1つの周辺画像領域を決定する。階調変換特性導出部は、周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理部は、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の半導体装置では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The semiconductor device according to attachment 30 includes a target image region determining unit, a peripheral image region determining unit, a gradation conversion characteristic deriving unit, and a gradation processing unit. The target image region determination unit determines a target image region from which the gradation conversion characteristics are derived from the input image signal. The peripheral image region determination unit determines at least one peripheral image region including a plurality of pixels located around the target image region. The gradation conversion characteristic deriving unit derives the gradation conversion characteristic of the target image area using the peripheral image data of the peripheral image area. The gradation processing unit performs gradation processing of the image signal in the target image area based on the derived gradation conversion characteristics.
In the semiconductor device of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

[第2付記]
さらに、上記実施形態に記載の本発明は、次のように表現することも可能である。
〈第2付記の内容〉
(付記201)
入力された画像信号を画像領域毎に階調処理する視覚処理装置であって、
前記階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、前記対象画像領域の階調変換特性を導出する階調変換特性導出手段と、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理手段と、
を備える視覚処理装置。
[Second note]
Furthermore, the present invention described in the above embodiment can also be expressed as follows.
<Content of second supplementary note>
(Appendix 201)
A visual processing device that performs gradation processing on an input image signal for each image region,
A gradation conversion characteristic of the target image area using peripheral image data of at least one peripheral image area that is located around the target image area to be subjected to the gradation processing and includes a plurality of pixels Gradation conversion characteristic deriving means for deriving
Gradation processing means for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing device comprising:

(付記202)
前記周辺画像領域は、前記画像信号を所定の単位に分割した画像ブロックである、
付記201に記載の視覚処理装置。
(付記203)
前記階調変換特性導出手段は、前記対象画像領域の対象画像データをさらに用いて、前記対象画像領域の前記階調変換特性を導出する、
付記201または202に記載の視覚処理装置。
(付記204)
前記階調変換特性導出手段は、前記対象画像データおよび前記周辺画像データを用いて前記対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出手段と、前記特徴パラメータ導出手段で導出された前記対象画像領域の前記特徴パラメータに基づいて前記階調変換特性を決定する階調変換特性決定手段とを有している、
付記203に記載の視覚処理装置。
(Appendix 202)
The peripheral image region is an image block obtained by dividing the image signal into predetermined units.
The visual processing device according to attachment 201.
(Appendix 203)
The gradation conversion characteristic deriving means derives the gradation conversion characteristic of the target image area by further using the target image data of the target image area.
The visual processing device according to attachment 201 or 202.
(Appendix 204)
The gradation conversion characteristic deriving unit derives a feature parameter that is a parameter indicating a feature of the target image region using the target image data and the peripheral image data, and is derived by the feature parameter deriving unit. Gradation conversion characteristic determination means for determining the gradation conversion characteristic based on the feature parameter of the target image area
The visual processing device according to attachment 203.

(付記205)
前記特徴パラメータは、ヒストグラムであることを特徴とする、
付記204に記載の視覚処理装置。
(付記206)
前記階調変換特性決定手段は、前記特徴パラメータを用いて予めテーブル化された前記階調変換特性を選択することを特徴とする、
付記204に記載の視覚処理装置。
(付記207)
予めテーブル化された前記階調変換特性は、変更可能なことを特徴とする、
付記206に記載の視覚処理装置。
(Appendix 205)
The feature parameter is a histogram,
The visual processing device according to attachment 204.
(Appendix 206)
The gradation conversion characteristic determining means selects the gradation conversion characteristic tabulated in advance using the feature parameter,
The visual processing device according to attachment 204.
(Appendix 207)
The gradation conversion characteristics tabulated in advance can be changed.
The visual processing device according to attachment 206.

(付記208)
前記階調変換特性の変更は、前記階調変換特性の少なくとも一部を補正することによって実現されることを特徴とする、
付記207に記載の視覚処理装置。
(付記209)
前記階調変換特性決定手段は、前記特徴パラメータを用いて予め決定された演算により前記階調変換特性を生成することを特徴とする、
付記204に記載の視覚処理装置。
(付記210)
予め決定された前記演算は、変更可能なことを特徴とする、
付記209に記載の視覚処理装置。
(Appendix 208)
The change of the gradation conversion characteristic is realized by correcting at least a part of the gradation conversion characteristic,
The visual processing device according to attachment 207.
(Appendix 209)
The gradation conversion characteristic determining means generates the gradation conversion characteristic by a predetermined operation using the feature parameter;
The visual processing device according to attachment 204.
(Appendix 210)
The predetermined calculation can be changed,
The visual processing device according to attachment 209.

(付記211)
前記演算の変更は、前記演算の少なくとも一部を補正することによって実現されることを特徴とする、
付記210に記載の視覚処理装置。
(付記212)
前記階調変換特性は、複数の前記階調変換特性を内挿または外挿して得られるものであることを特徴とする、
付記204記載の視覚処理装置。
(付記213)
入力された画像信号を画像領域毎に階調処理する視覚処理方法であって、
前記階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法。
(Appendix 211)
The change of the calculation is realized by correcting at least a part of the calculation,
The visual processing device according to attachment 210.
(Appendix 212)
The gradation conversion characteristic is obtained by interpolating or extrapolating a plurality of the gradation conversion characteristics,
The visual processing device according to attachment 204.
(Appendix 213)
A visual processing method for gradation-processing an input image signal for each image area,
The gradation conversion of the target image region using peripheral image data of at least one peripheral image region that is located around the target image region to be subjected to the gradation processing and includes a plurality of pixels Gradation conversion characteristic deriving step for deriving characteristics;
A gradation processing step for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing method comprising:

(付記214)
前記周辺画像領域は、前記画像信号を所定の単位に分割した画像ブロックである、
付記213に記載の視覚処理方法。
(付記215)
前記階調変換特性導出ステップは、前記対象画像領域の対象画像データをさらに用いて、前記対象画像領域の前記階調変換特性を導出する、
付記213または214に記載の視覚処理方法。
(付記216)
前記階調変換特性導出ステップは、前記対象画像データおよび前記周辺画像データを用いて前記対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出ステップと、前記特徴パラメータ導出ステップで導出された前記対象画像領域の前記特徴パラメータに基づいて前記階調変換特性を決定する階調変換特性決定ステップとを有している、
付記215に記載の視覚処理方法。
(Appendix 214)
The peripheral image region is an image block obtained by dividing the image signal into predetermined units.
The visual processing method according to attachment 213.
(Appendix 215)
The gradation conversion characteristic deriving step derives the gradation conversion characteristic of the target image area by further using target image data of the target image area.
The visual processing method according to attachment 213 or 214.
(Appendix 216)
In the gradation conversion characteristic deriving step, a characteristic parameter deriving step for deriving a characteristic parameter that is a parameter indicating a characteristic of the target image region using the target image data and the peripheral image data, and deriving in the characteristic parameter deriving step A gradation conversion characteristic determination step for determining the gradation conversion characteristic based on the feature parameter of the target image area
The visual processing method according to attachment 215.

(付記217)
コンピュータを用いて、入力された画像信号を画像領域毎に階調処理する視覚処理方法を行うための視覚処理プログラムであって、
前記視覚処理方法は、
前記階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出ステップと、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理ステップと、
を備える視覚処理方法である、
視覚処理プログラム。
(Appendix 217)
A visual processing program for performing a visual processing method for performing gradation processing on an input image signal for each image region using a computer,
The visual processing method includes:
The gradation conversion of the target image region using peripheral image data of at least one peripheral image region that is located around the target image region to be subjected to the gradation processing and includes a plurality of pixels Gradation conversion characteristic deriving step for deriving characteristics;
A gradation processing step for performing gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A visual processing method comprising:
Visual processing program.

(付記218)
前記周辺画像領域は、前記画像信号を所定の単位に分割した画像ブロックである、
付記217に記載の視覚処理プログラム。
(付記219)
前記階調変換特性導出ステップは、前記対象画像領域の対象画像データをさらに用いて、前記対象画像領域の前記階調変換特性を導出する、
付記217または218に記載の視覚処理プログラム。
(付記220)
前記階調変換特性導出ステップは、前記対象画像データおよび前記周辺画像データを用いて前記対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出ステップと、前記特徴パラメータ導出ステップで導出された前記対象画像領域の前記特徴パラメータに基づいて前記階調変換特性を決定する階調変換特性決定ステップとを有している、
付記219に記載の視覚処理プログラム。
(Appendix 218)
The peripheral image region is an image block obtained by dividing the image signal into predetermined units.
The visual processing program according to attachment 217.
(Appendix 219)
The gradation conversion characteristic deriving step derives the gradation conversion characteristic of the target image area by further using target image data of the target image area.
The visual processing program according to attachment 217 or 218.
(Appendix 220)
In the gradation conversion characteristic deriving step, a characteristic parameter deriving step for deriving a characteristic parameter that is a parameter indicating a characteristic of the target image region using the target image data and the peripheral image data, and deriving in the characteristic parameter deriving step A gradation conversion characteristic determination step for determining the gradation conversion characteristic based on the feature parameter of the target image area
The visual processing program according to attachment 219.

(付記221)
入力された画像信号を画像領域毎に階調処理する半導体装置であって、
前記階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、前記対象画像領域の前記階調変換特性を導出する階調変換特性導出部と、
導出された前記階調変換特性に基づいて、前記対象画像領域の画像信号の階調処理を行う階調処理部と、
を備える半導体装置。
(付記222)
前記周辺画像領域は、前記画像信号を所定の単位に分割した画像ブロックである、
付記221に記載の半導体装置。
(Appendix 221)
A semiconductor device that performs gradation processing on an input image signal for each image region,
The gradation conversion of the target image region using peripheral image data of at least one peripheral image region that is located around the target image region to be subjected to the gradation processing and includes a plurality of pixels A gradation conversion characteristic deriving unit for deriving the characteristic;
A gradation processing unit that performs gradation processing of an image signal of the target image area based on the derived gradation conversion characteristics;
A semiconductor device comprising:
(Appendix 222)
The peripheral image region is an image block obtained by dividing the image signal into predetermined units.
The semiconductor device according to appendix 221.

(付記223)
前記階調変換特性導出部は、前記対象画像領域の対象画像データをさらに用いて、前記対象画像領域の前記階調変換特性を導出する、
付記221または222に記載の半導体装置。
(付記224)
前記階調変換特性導出部は、前記対象画像データおよび前記周辺画像データを用いて前記対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出部と、前記特徴パラメータ導出部で導出された前記対象画像領域の前記特徴パラメータに基づいて前記階調変換特性を決定する階調変換特性決定部とを有している、
付記223に記載の半導体装置。
(Appendix 223)
The gradation conversion characteristic deriving unit derives the gradation conversion characteristic of the target image area by further using the target image data of the target image area;
The semiconductor device according to appendix 221 or 222.
(Appendix 224)
The gradation conversion characteristic deriving unit derives a feature parameter that is a parameter indicating a feature of the target image region using the target image data and the peripheral image data, and is derived by the feature parameter deriving unit. A gradation conversion characteristic determination unit that determines the gradation conversion characteristic based on the feature parameter of the target image area
The semiconductor device according to appendix 223.

〈第2付記の説明〉
付記201に記載の視覚処理装置は、入力された画像信号を画像領域毎に階調処理する視覚処理装置であって、階調変換特性導出手段と、階調処理手段とを備えている。階調変換特性導出手段は、階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理手段は、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
対象画像領域とは、例えば、画像信号に含まれる画素や、画像信号を所定の単位に分割した画像ブロックその他の複数の画素から構成される領域などである。周辺画像領域とは、例えば、画像信号を所定の単位に分割した画像ブロックその他の複数の画素から構成される領域である。周辺画像データとは、周辺画像領域の画像データあるいは画像データから導出されるデータなどであり、例えば、周辺画像領域の画素値、階調特性(画素毎の輝度や明度)、サムネイル(縮小画像や解像度を落とした間引き画像)などである。また、周辺画像領域は、対象画像領域の周辺に位置すればよく、対象画像領域を取り囲む領域である必要はない。
<Explanation of second supplementary note>
The visual processing device according to attachment 201 is a visual processing device that performs gradation processing on an input image signal for each image region, and includes gradation conversion characteristic deriving means and gradation processing means. The gradation conversion characteristic deriving means is an image area located around the target image area to be subjected to gradation processing, and uses the peripheral image data of at least one peripheral image area including a plurality of pixels, The gradation conversion characteristics of the area are derived. The gradation processing means performs gradation processing of the image signal in the target image area based on the derived gradation conversion characteristics.
The target image region is, for example, a pixel included in the image signal, an image block obtained by dividing the image signal into predetermined units, or a region composed of a plurality of other pixels. The peripheral image area is, for example, an area constituted by an image block obtained by dividing an image signal into predetermined units and other plural pixels. The peripheral image data is image data of the peripheral image region or data derived from the image data. For example, the pixel value of the peripheral image region, gradation characteristics (brightness or brightness for each pixel), thumbnail (reduced image or Thinned image with reduced resolution). Further, the peripheral image area only needs to be positioned around the target image area, and does not need to be an area surrounding the target image area.

本発明の視覚処理装置では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
付記202に記載の視覚処理装置は、付記201に記載の視覚処理装置であって、周辺画像領域は、画像信号を所定の単位に分割した画像ブロックである。
ここで、画像ブロックとは、画像信号を矩形に分割したそれぞれの領域である。
本発明の視覚処理装置では、周辺画像領域を画像ブロック単位で処理することが可能となる。このため、周辺画像領域の決定や、階調変換特性の導出に要する処理負荷を低減することが可能となる。
In the visual processing device of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.
The visual processing device according to attachment 202 is the visual processing device according to attachment 201, in which the peripheral image region is an image block obtained by dividing an image signal into predetermined units.
Here, the image block is an area obtained by dividing the image signal into rectangles.
In the visual processing device according to the present invention, it is possible to process the peripheral image area in units of image blocks. For this reason, it is possible to reduce the processing load required to determine the peripheral image region and to derive the gradation conversion characteristics.

付記203に記載の視覚処理装置は、付記201または202に記載の視覚処理装置であって、階調変換特性導出手段は、対象画像領域の対象画像データをさらに用いて、対象画像領域の階調変換特性を導出する。
対象画像データとは、対象画像領域の画像データあるいは画像データから導出されるデータなどであり、例えば、対象画像領域の画素値、階調特性(画素毎の輝度や明度)、サムネイル(縮小画像や解像度を落とした間引き画像)などである。
本発明の視覚処理装置では、対象画像領域の階調変換特性を判断する際に、対象画像領域の対象画像データだけでなく、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing device according to attachment 203 is the visual processing device according to attachment 201 or 202, wherein the gradation conversion characteristic deriving means further uses the target image data of the target image region to Derivation of conversion characteristics.
The target image data is image data of the target image region or data derived from the image data. For example, the pixel value of the target image region, gradation characteristics (brightness or brightness for each pixel), thumbnail (reduced image or Thinned image with reduced resolution).
In the visual processing device of the present invention, when determining the gradation conversion characteristics of the target image area, the determination is performed using not only the target image data of the target image area but also the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記204に記載の視覚処理装置は、付記203に記載の視覚処理装置であって、階調変換特性導出手段は、対象画像データおよび周辺画像データを用いて対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出手段と、特徴パラメータ導出手段で導出された対象画像領域の特徴パラメータに基づいて階調変換特性を決定する階調変換特性決定手段とを有している。
特徴パラメータとは、例えば、対象画像データおよび周辺画像データなどの平均値(単純平均値、加重平均値など)や、代表値(最大値、最小値、中央値など)や、ヒストグラムなどである。ここで、ヒストグラムとは、例えば、対象画像データおよび周辺画像データの階調特性の分布である。
本発明の視覚処理装置では、対象画像データだけでなく、周辺画像データを用いて特徴パラメータを導出する。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。より具体的な効果として、階調処理による疑似輪郭の発生を抑制することが可能となる。また、対象画像領域の境界が不自然に目立つことが防止可能となる。
The visual processing device according to attachment 204 is the visual processing device according to attachment 203, in which the gradation conversion characteristic deriving means is a parameter indicating the characteristics of the target image region using the target image data and the peripheral image data. Feature parameter deriving means for deriving feature parameters, and tone conversion characteristic determining means for determining tone conversion characteristics based on the feature parameters of the target image area derived by the feature parameter deriving means.
The characteristic parameter is, for example, an average value (simple average value, weighted average value, etc.) of target image data and peripheral image data, a representative value (maximum value, minimum value, median value, etc.), a histogram, or the like. Here, the histogram is a distribution of gradation characteristics of the target image data and the peripheral image data, for example.
In the visual processing device of the present invention, feature parameters are derived using not only target image data but also peripheral image data. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect. As a more specific effect, it is possible to suppress the occurrence of a pseudo contour due to gradation processing. In addition, it is possible to prevent the boundary of the target image area from being unnaturally conspicuous.

付記205に記載の視覚処理装置は、付記204に記載の視覚処理装置であって、特徴パラメータは、ヒストグラムであることを特徴とする。
階調変換特性決定手段は、例えば、ヒストグラムの値を累積した累積曲線を階調変換特性として決定する、あるいはヒストグラムに応じた階調変換特性を選択する。
本発明の視覚処理装置では、対象画像データだけでなく、周辺画像データを用いてヒストグラムを作成する。このため、階調処理による疑似輪郭の発生を抑制することが可能となる。また、対象画像領域の境界が不自然に目立つことが防止可能となる。
付記206に記載の視覚処理装置は、付記204に記載の視覚処理装置であって、階調変換特性決定手段は、特徴パラメータを用いて予めテーブル化された階調変換特性を選択することを特徴とする。
The visual processing device according to attachment 205 is the visual processing device according to attachment 204, wherein the characteristic parameter is a histogram.
The gradation conversion characteristic determining means determines, for example, a cumulative curve obtained by accumulating histogram values as the gradation conversion characteristic, or selects a gradation conversion characteristic corresponding to the histogram.
In the visual processing device of the present invention, a histogram is created using not only target image data but also peripheral image data. For this reason, it is possible to suppress the occurrence of a pseudo contour due to gradation processing. In addition, it is possible to prevent the boundary of the target image area from being unnaturally conspicuous.
The visual processing device according to attachment 206 is the visual processing device according to attachment 204, wherein the gradation conversion characteristic determining means selects the gradation conversion characteristics tabulated in advance using the characteristic parameter. And

ここで、階調変換特性は、テーブル化されたデータであり、テーブルには、対象画像データに対する階調処理後の対象画像データの特性が格納されている。
階調変換特性決定手段は、特徴パラメータの値のそれぞれに対応するテーブルを選択する。
本発明の視覚処理装置では、テーブル化された階調変換特性を用いて階調処理を行う。このため、階調処理を高速化することが可能となる。また、複数のテーブルから1つのテーブルを選択して階調処理を行うため、適切な階調処理を行うことが可能となる。
付記207に記載の視覚処理装置は、付記206に記載の視覚処理装置であって、予めテーブル化された階調変換特性は、変更可能なことを特徴とする。
本発明の視覚処理装置では、階調変換特性を変更することにより、ハードウェア構成を変更せずに階調処理の特性を様々に変更することが可能となる。
Here, the gradation conversion characteristics are tabulated data, and the characteristics of the target image data after gradation processing on the target image data are stored in the table.
The gradation conversion characteristic determining means selects a table corresponding to each of the characteristic parameter values.
In the visual processing device of the present invention, gradation processing is performed using the tabulated gradation conversion characteristics. For this reason, it is possible to speed up the gradation processing. In addition, since one table is selected from a plurality of tables and gradation processing is performed, appropriate gradation processing can be performed.
The visual processing device according to attachment 207 is the visual processing device according to attachment 206, wherein the gradation conversion characteristics tabulated in advance can be changed.
In the visual processing device of the present invention, by changing the tone conversion characteristics, the tone processing characteristics can be variously changed without changing the hardware configuration.

付記208に記載の視覚処理装置は、付記207に記載の視覚処理装置であって、階調変換特性の変更は、階調変換特性の少なくとも一部を補正することによって実現されることを特徴とする。
本発明の視覚処理装置では、階調変換特性の少なくとも一部を補正することにより階調変換特性の変更を行う。このため、階調変換特性のための記憶容量を削減しつつ、様々な階調処理を実現することが可能となる。
付記209に記載の視覚処理装置は、付記204に記載の視覚処理装置であって、階調変換特性決定手段は、特徴パラメータを用いて予め決定された演算により階調変換特性を生成することを特徴とする。
ここで、階調変換特性は、対象画像データに対する階調処理後の対象画像データを与える。また、階調変換特性を生成する演算は、特徴パラメータを用いて予め決定されている。より詳しくは、例えば、特徴パラメータの値のそれぞれに対応する演算が選択される、あるいは特徴パラメータの値に応じて演算が生成される。
The visual processing device according to attachment 208 is the visual processing device according to attachment 207, wherein the change of the gradation conversion characteristic is realized by correcting at least a part of the gradation conversion characteristic. To do.
In the visual processing device of the present invention, the gradation conversion characteristic is changed by correcting at least a part of the gradation conversion characteristic. For this reason, various gradation processes can be realized while reducing the storage capacity for the gradation conversion characteristics.
The visual processing device according to attachment 209 is the visual processing device according to attachment 204, wherein the gradation conversion characteristic determining means generates the gradation conversion characteristic by a predetermined operation using the characteristic parameter. Features.
Here, the gradation conversion characteristic gives the target image data after gradation processing on the target image data. In addition, the calculation for generating the gradation conversion characteristic is determined in advance using the feature parameter. More specifically, for example, an operation corresponding to each feature parameter value is selected, or an operation is generated according to the feature parameter value.

本発明の視覚処理装置では、階調変換特性を予め記憶しておく必要が無く、階調変換特性を記憶するための記憶容量を削減することが可能となる。
付記210に記載の視覚処理装置は、付記209に記載の視覚処理装置であって、予め決定された演算は、変更可能なことを特徴とする。
本発明の視覚処理装置では、演算を変更することにより、階調処理の特性を様々に変更することが可能となる。
付記211に記載の視覚処理装置は、付記210に記載の視覚処理装置であって、演算の変更は、演算の少なくとも一部を補正することによって実現されることを特徴とする。
本発明の視覚処理装置では、演算の少なくとも一部を補正することにより階調変換特性が変更される。このため、演算を記憶するための記憶容量が同じであっても、さらに多様な階調処理を実現することが可能となる。
In the visual processing device of the present invention, it is not necessary to store gradation conversion characteristics in advance, and the storage capacity for storing gradation conversion characteristics can be reduced.
The visual processing device according to attachment 210 is the visual processing device according to attachment 209, wherein a predetermined calculation can be changed.
In the visual processing device of the present invention, it is possible to change the characteristics of gradation processing in various ways by changing the calculation.
The visual processing device according to attachment 211 is the visual processing device according to attachment 210, characterized in that the change of the calculation is realized by correcting at least a part of the calculation.
In the visual processing device of the present invention, the gradation conversion characteristic is changed by correcting at least a part of the calculation. For this reason, even if the storage capacities for storing the calculations are the same, it is possible to realize more various gradation processes.

付記212に記載の視覚処理装置は、付記204に記載の視覚処理装置であって、階調変換特性は、複数の階調変換特性を内挿または外挿して得られるものであることを特徴とする。
ここで、階調変換特性とは、例えば、対象画像データに対する階調処理後の対象画像データの特性である。階調変換特性は、例えば、テーブル形式、あるいは演算形式で与えられている。
本発明の視覚処理装置では、複数の階調変換特性を内挿あるいは外挿することにより得られる新たな階調変換特性を用いて、階調処理を行うことが可能となる。このため、階調変換特性を記憶するための記憶容量を削減しても、より多様な階調処理を実現することが可能となる。
The visual processing device according to attachment 212 is the visual processing device according to attachment 204, wherein the gradation conversion characteristics are obtained by interpolating or extrapolating a plurality of gradation conversion characteristics. To do.
Here, the gradation conversion characteristics are, for example, characteristics of target image data after gradation processing on the target image data. The gradation conversion characteristics are given in, for example, a table format or a calculation format.
In the visual processing device of the present invention, it is possible to perform gradation processing using a new gradation conversion characteristic obtained by interpolating or extrapolating a plurality of gradation conversion characteristics. For this reason, even if the storage capacity for storing the gradation conversion characteristics is reduced, more various gradation processes can be realized.

付記213に記載の視覚処理方法は、入力された画像信号を画像領域毎に階調処理する視覚処理方法であって、階調変換特性導出ステップと、階調処理ステップとを備えている。階調変換特性導出ステップは、階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の視覚処理方法では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing method according to attachment 213 is a visual processing method for performing gradation processing on an input image signal for each image area, and includes a gradation conversion characteristic deriving step and a gradation processing step. The gradation conversion characteristic deriving step is an image area located around the target image area to be subjected to gradation processing, and uses the peripheral image data of at least one peripheral image area including a plurality of pixels, The gradation conversion characteristics of the area are derived. In the gradation processing step, gradation processing of the image signal in the target image area is performed based on the derived gradation conversion characteristics.
In the visual processing method of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記214に記載の視覚処理方法は、付記213に記載の視覚処理方法であって、周辺画像領域は、画像信号を所定の単位に分割した画像ブロックである。
本発明の視覚処理方法では、周辺画像領域を画像ブロック単位で処理することが可能となる。このため、周辺画像領域の決定や、階調変換特性の導出に要する処理負荷を低減することが可能となる。
付記215に記載の視覚処理方法は、付記213または214に記載の視覚処理方法であって、階調変換特性導出ステップは、対象画像領域の対象画像データをさらに用いて、対象画像領域の階調変換特性を導出する。
本発明の視覚処理方法では、対象画像領域の階調変換特性を判断する際に、対象画像領域の対象画像データだけでなく、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing method according to attachment 214 is the visual processing method according to attachment 213, in which the peripheral image region is an image block obtained by dividing the image signal into predetermined units.
In the visual processing method of the present invention, it is possible to process the peripheral image area in units of image blocks. For this reason, it is possible to reduce the processing load required to determine the peripheral image region and to derive the gradation conversion characteristics.
The visual processing method according to attachment 215 is the visual processing method according to attachment 213 or 214, in which the gradation conversion characteristic deriving step further uses the target image data of the target image area to perform gradation of the target image area. Derivation of conversion characteristics.
In the visual processing method of the present invention, when determining the gradation conversion characteristics of the target image area, the determination is performed using not only the target image data of the target image area but also the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記216に記載の視覚処理方法は、付記215に記載の視覚処理方法であって、階調変換特性導出ステップは、対象画像データおよび周辺画像データを用いて対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出ステップと、特徴パラメータ導出ステップで導出された対象画像領域の特徴パラメータに基づいて階調変換特性を決定する階調変換特性決定ステップとを有している。
本発明の視覚処理方法では、対象画像データだけでなく、周辺画像データを用いて特徴パラメータを導出する。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。より具体的な効果として、階調処理による疑似輪郭の発生を抑制することが可能となる。また、対象画像領域の境界が不自然に目立つことが防止可能となる。
The visual processing method according to attachment 216 is the visual processing method according to attachment 215, and the gradation conversion characteristic deriving step is a parameter indicating the characteristics of the target image region using the target image data and the peripheral image data. A feature parameter deriving step for deriving the feature parameter; and a tone conversion property determining step for determining the tone conversion property based on the feature parameter of the target image region derived in the feature parameter deriving step.
In the visual processing method of the present invention, feature parameters are derived using not only target image data but also peripheral image data. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect. As a more specific effect, it is possible to suppress the occurrence of a pseudo contour due to gradation processing. In addition, it is possible to prevent the boundary of the target image area from being noticeable unnaturally.

付記217に記載の視覚処理プログラムは、コンピュータを用いて、入力された画像信号を画像領域毎に階調処理する視覚処理方法を行うための視覚処理プログラムである。視覚処理方法は、階調変換特性導出ステップと、階調処理ステップとを備えている。階調変換特性導出ステップは、階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理ステップは、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の視覚処理プログラムでは、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing program described in appendix 217 is a visual processing program for performing a visual processing method for performing gradation processing on an input image signal for each image region using a computer. The visual processing method includes a gradation conversion characteristic deriving step and a gradation processing step. The gradation conversion characteristic deriving step is an image area located around the target image area to be subjected to gradation processing, and uses the peripheral image data of at least one peripheral image area including a plurality of pixels, The gradation conversion characteristics of the area are derived. In the gradation processing step, gradation processing of the image signal in the target image area is performed based on the derived gradation conversion characteristics.
In the visual processing program of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記218に記載の視覚処理プログラムは、付記217に記載の視覚処理プログラムであって、周辺画像領域は、画像信号を所定の単位に分割した画像ブロックである。
本発明の視覚処理プログラムでは、周辺画像領域を画像ブロック単位で処理することが可能となる。このため、周辺画像領域の決定や、階調変換特性の導出に要する処理負荷を低減することが可能となる。
付記219に記載の視覚処理プログラムは、付記217または218に記載の視覚処理プログラムであって、階調変換特性導出ステップは、対象画像領域の対象画像データをさらに用いて、対象画像領域の階調変換特性を導出する。
本発明の視覚処理プログラムでは、対象画像領域の階調変換特性を判断する際に、対象画像領域の対象画像データだけでなく、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The visual processing program described in appendix 218 is the visual processing program described in appendix 217, and the peripheral image area is an image block obtained by dividing an image signal into predetermined units.
In the visual processing program of the present invention, it is possible to process the peripheral image area in units of image blocks. For this reason, it is possible to reduce the processing load required to determine the peripheral image region and to derive the gradation conversion characteristics.
The visual processing program according to attachment 219 is the visual processing program according to attachment 217 or 218, wherein the gradation conversion characteristic deriving step further uses the target image data of the target image area to Derivation of conversion characteristics.
In the visual processing program of the present invention, when determining the gradation conversion characteristics of the target image area, the determination is performed using not only the target image data of the target image area but also the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記220に記載の視覚処理プログラムは、付記219に記載の視覚処理プログラムであって、階調変換特性導出ステップは、対象画像データおよび周辺画像データを用いて対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出ステップと、特徴パラメータ導出ステップで導出された対象画像領域の特徴パラメータに基づいて階調変換特性を決定する階調変換特性決定ステップとを有している。
本発明の視覚処理プログラムでは、対象画像データだけでなく、周辺画像データを用いて特徴パラメータを導出する。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。より具体的な効果として、階調処理による疑似輪郭の発生を抑制することが可能となる。また、対象画像領域の境界が不自然に目立つことが防止可能となる。
The visual processing program described in appendix 220 is the visual processing program described in appendix 219, and the gradation conversion characteristic deriving step is a parameter indicating the characteristics of the target image region using the target image data and the peripheral image data. A characteristic parameter deriving step for deriving the characteristic parameter; and a gradation conversion characteristic determining step for determining the gradation conversion characteristic based on the characteristic parameter of the target image region derived in the characteristic parameter deriving step.
In the visual processing program of the present invention, feature parameters are derived using not only target image data but also peripheral image data. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect. As a more specific effect, it is possible to suppress the occurrence of a pseudo contour due to gradation processing. In addition, it is possible to prevent the boundary of the target image area from being unnaturally conspicuous.

付記221に記載の半導体装置は、入力された画像信号を画像領域毎に階調処理する半導体装置であって、階調変換特性導出部と、階調処理部とを備えている。階調変換特性導出部は、階調処理の対象となる対象画像領域の周辺に位置する画像領域であって、複数の画素を含む少なくとも1つの周辺画像領域の周辺画像データを用いて、対象画像領域の階調変換特性を導出する。階調処理部は、導出された階調変換特性に基づいて、対象画像領域の画像信号の階調処理を行う。
本発明の半導体装置では、対象画像領域の階調変換特性を判断する際に、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域毎の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The semiconductor device described in appendix 221 is a semiconductor device that performs gradation processing on an input image signal for each image region, and includes a gradation conversion characteristic deriving unit and a gradation processing unit. The gradation conversion characteristic deriving unit is an image area located in the periphery of the target image area to be subjected to gradation processing, and uses the peripheral image data of at least one peripheral image area including a plurality of pixels. The gradation conversion characteristics of the area are derived. The gradation processing unit performs gradation processing of the image signal in the target image area based on the derived gradation conversion characteristics.
In the semiconductor device of the present invention, when the gradation conversion characteristic of the target image area is determined, the determination is performed using the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing for each target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記222に記載の半導体装置は、付記221に記載の半導体装置であって、周辺画像領域は、画像信号を所定の単位に分割した画像ブロックである。
本発明の半導体装置では、周辺画像領域を画像ブロック単位で処理することが可能となる。このため、周辺画像領域の決定や、階調変換特性の導出に要する処理負荷を低減することが可能となる。
付記223に記載の半導体装置は、付記221または222に記載の半導体装置であって、階調変換特性導出部は、対象画像領域の対象画像データをさらに用いて、対象画像領域の階調変換特性を導出する。
本発明の半導体装置では、対象画像領域の階調変換特性を判断する際に、対象画像領域の対象画像データだけでなく、周辺画像領域の周辺画像データを用いて判断を行う。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。
The semiconductor device described in appendix 222 is the semiconductor device described in appendix 221, and the peripheral image region is an image block obtained by dividing an image signal into predetermined units.
In the semiconductor device of the present invention, it is possible to process the peripheral image area in units of image blocks. For this reason, it is possible to reduce the processing load required to determine the peripheral image region and to derive the gradation conversion characteristics.
The semiconductor device described in appendix 223 is the semiconductor device described in appendix 221 or 222, wherein the gradation conversion characteristic deriving unit further uses the target image data of the target image area to perform gradation conversion characteristics of the target image area. Is derived.
In the semiconductor device of the present invention, when determining the gradation conversion characteristics of the target image area, the determination is performed using not only the target image data of the target image area but also the peripheral image data of the peripheral image area. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect.

付記224に記載の半導体装置は、付記223に記載の半導体装置であって、階調変換特性導出部は、対象画像データおよび周辺画像データを用いて対象画像領域の特徴を示すパラメータである特徴パラメータを導出する特徴パラメータ導出部と、特徴パラメータ導出部で導出された対象画像領域の特徴パラメータに基づいて階調変換特性を決定する階調変換特性決定部とを有している。
本発明の半導体装置では、対象画像データだけでなく、周辺画像データを用いて特徴パラメータを導出する。このため、対象画像領域の階調処理に空間処理的効果を加えることが可能となり、さらに視覚的効果を向上させる階調処理を実現することが可能となる。より具体的な効果として、階調処理による疑似輪郭の発生を抑制することが可能となる。また、対象画像領域の境界が不自然に目立つことが防止可能となる。
The semiconductor device described in appendix 224 is the semiconductor device described in appendix 223, wherein the gradation conversion characteristic deriving unit is a feature parameter that is a parameter indicating the feature of the target image region using the target image data and the peripheral image data. And a tone conversion characteristic determining unit that determines the tone conversion characteristic based on the feature parameter of the target image area derived by the feature parameter deriving unit.
In the semiconductor device of the present invention, feature parameters are derived using not only target image data but also peripheral image data. For this reason, it is possible to add a spatial processing effect to the gradation processing of the target image region, and it is possible to realize gradation processing that further improves the visual effect. As a more specific effect, it is possible to suppress the occurrence of a pseudo contour due to gradation processing. In addition, it is possible to prevent the boundary of the target image area from being unnaturally conspicuous.

本発明にかかる視覚処理装置は、さらに視覚的効果を向上させる階調処理を実現することが必要な画像信号の階調処理を行う視覚処理装置などの用途にも適用可能である。   The visual processing device according to the present invention can also be applied to uses such as a visual processing device that performs gradation processing of an image signal that needs to realize gradation processing that further improves the visual effect.

視覚処理装置1の構造を説明するブロック図(第1実施形態)Block diagram for explaining the structure of the visual processing device 1 (first embodiment) 画像領域Pmについて説明する説明図(第1実施形態)Explanatory drawing explaining image area Pm (1st Embodiment). 明度ヒストグラムHmについて説明する説明図(第1実施形態)Explanatory drawing explaining the brightness histogram Hm (1st Embodiment). 階調変換曲線Cmについて説明する説明図(第1実施形態)Explanatory drawing explaining the gradation conversion curve Cm (first embodiment) 視覚処理方法について説明するフローチャート(第1実施形態)Flowchart for explaining visual processing method (first embodiment) 視覚処理装置11の構造を説明するブロック図(第2実施形態)Block diagram for explaining the structure of the visual processing device 11 (second embodiment) 階調変換曲線候補G1〜Gpについて説明する説明図(第2実施形態)Explanatory drawing explaining gradation conversion curve candidate G1-Gp (2nd Embodiment). 2次元LUT41について説明する説明図(第2実施形態)Explanatory drawing explaining 2D LUT41 (2nd Embodiment). 階調補正部15の動作について説明する説明図(第2実施形態)Explanatory drawing explaining operation | movement of the gradation correction | amendment part 15 (2nd Embodiment). 視覚処理方法について説明するフローチャート(第2実施形態)Flowchart explaining visual processing method (second embodiment) 階調変換曲線Cmの選択の変形例について説明する説明図(第2実施形態)Explanatory drawing explaining the modification of selection of the gradation conversion curve Cm (2nd Embodiment). 変形例としての階調処理について説明する説明図(第2実施形態)Explanatory drawing explaining the gradation process as a modification (2nd Embodiment) 階調処理実行部44の構造を説明するブロック図(第2実施形態)Block diagram for explaining the structure of the gradation processing execution unit 44 (second embodiment) 曲線パラメータP1およびP2と、階調変換曲線候補G1〜Gpとの関係について説明する説明図(第2実施形態)Explanatory drawing explaining the relationship between curve parameter P1 and P2 and gradation conversion curve candidate G1-Gp (2nd Embodiment). 曲線パラメータP1およびP2と、選択信号Smとの関係について説明する説明図(第2実施形態)Explanatory drawing explaining the relationship between curve parameter P1 and P2 and the selection signal Sm (2nd Embodiment). 曲線パラメータP1およびP2と、選択信号Smとの関係について説明する説明図(第2実施形態)Explanatory drawing explaining the relationship between curve parameter P1 and P2 and the selection signal Sm (2nd Embodiment). 曲線パラメータP1およびP2と、階調変換曲線候補G1〜Gpとの関係について説明する説明図(第2実施形態)Explanatory drawing explaining the relationship between curve parameter P1 and P2 and gradation conversion curve candidate G1-Gp (2nd Embodiment). 曲線パラメータP1およびP2と、選択信号Smとの関係について説明する説明図(第2実施形態)Explanatory drawing explaining the relationship between curve parameter P1 and P2 and the selection signal Sm (2nd Embodiment). 視覚処理装置21の構造を説明するブロック図(第3実施形態)Block diagram for explaining the structure of the visual processing device 21 (third embodiment) 選択信号補正部24の動作について説明する説明図(第3実施形態)Explanatory drawing explaining operation | movement of the selection signal correction | amendment part 24 (3rd Embodiment). 視覚処理方法について説明するフローチャート(第3実施形態)Flowchart explaining visual processing method (third embodiment) 視覚処理装置61の構造を説明するブロック図(第4実施形態)Block diagram for explaining the structure of the visual processing device 61 (fourth embodiment) 空間処理部62の空間処理について説明する説明図(第4実施形態)Explanatory drawing explaining the spatial processing of the spatial processing part 62 (4th Embodiment). 重み係数[Wij]について説明する表(第4実施形態)Table for explaining weighting factor [Wij] (fourth embodiment) 視覚処理装置61による視覚処理の効果を説明する説明図(第4実施形態)Explanatory drawing explaining the effect of the visual processing by the visual processing device 61 (4th Embodiment). 視覚処理装置961の構造を説明するブロック図(第4実施形態)Block diagram for explaining the structure of the visual processing device 961 (fourth embodiment) 空間処理部962の空間処理について説明する説明図(第4実施形態)Explanatory drawing explaining the spatial processing of the spatial processing part 962 (4th Embodiment). 重み係数[Wij]について説明する表(第4実施形態)Table for explaining weighting factor [Wij] (fourth embodiment) コンテンツ供給システムの全体構成について説明するブロック図(第6実施形態)Block diagram for explaining the overall configuration of the content supply system (sixth embodiment) 本発明の視覚処理装置を搭載する携帯電話の例(第6実施形態)Example of mobile phone equipped with visual processing device of the present invention (sixth embodiment) 携帯電話の構成について説明するブロック図(第6実施形態)Block diagram for explaining the configuration of a mobile phone (sixth embodiment) ディジタル放送用システムの例(第6実施形態)Example of digital broadcasting system (sixth embodiment) 視覚処理装置300の構造を説明するブロック図(背景技術)Block diagram for explaining the structure of the visual processing device 300 (background art) 画像領域Smについて説明する説明図(背景技術)Explanatory drawing explaining image area Sm (background art) 明度ヒストグラムHmについて説明する説明図(背景技術)Explanatory drawing explaining brightness histogram Hm (background art) 階調変換曲線Cmについて説明する説明図(背景技術)Explanatory drawing explaining the gradation conversion curve Cm (background art)

符号の説明Explanation of symbols

1,11,21,61 視覚処理装置
2,12,22 画像分割部
3 ヒストグラム作成部
4 階調曲線作成部
5,20,30 階調処理部
10 階調変換曲線導出部
13,23 選択信号導出部
14,25 階調処理実行部
15 階調補正部
24 選択信号補正部
IS 入力信号
OS 出力信号
Pm 画像領域
Em 広域画像領域
Hm 明度ヒストグラム
Cm 階調変換曲線
Sm 選択信号
SS 画素毎の選択信号
CS 階調処理信号
1,11,21,61 Visual processing device 2,12,22 Image segmentation unit 3 Histogram creation unit 4 Tone curve creation unit 5, 20, 30 Tone processing unit 10 Tone conversion curve derivation unit 13, 23 Selection signal derivation Units 14, 25 gradation processing execution unit 15 gradation correction unit 24 selection signal correction unit IS input signal OS output signal Pm image area Em wide area image area Hm brightness histogram Cm gradation conversion curve Sm selection signal SS selection signal CS for each pixel Gradation processing signal

Claims (9)

入力画像を複数の画像領域に分割する画像分割部と、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出部と、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理部と、
を備えることを特徴とする、
階調変換処理装置。
An image dividing unit for dividing the input image into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving unit for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing unit that obtains a conversion pixel value of the conversion target pixel according to conversion characteristics and a position coordinate of the conversion target pixel;
Characterized by comprising,
Gradation conversion processing device.
前記階調処理部は、
前記対象画像領域に対する前記領域階調変換特性と前記隣接画像領域に対する前記領域階調変換特性とを、
前記位置座標に応じて補正した階調変換特性により、前記画素値を変換することを特徴とする、
請求項1に記載の階調変換処理装置。
The gradation processing unit
The area gradation conversion characteristics for the target image area and the area gradation conversion characteristics for the adjacent image area,
The pixel value is converted by a gradation conversion characteristic corrected according to the position coordinates,
The gradation conversion processing apparatus according to claim 1.
入力画像を複数の画像領域に分割する画像分割部と、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出部と、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理部と、
前記階調処理された処理信号を表示する表示部と、
を備えることを特徴とする、
画像表示装置。
An image dividing unit for dividing the input image into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving unit for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing unit that obtains a conversion pixel value of the conversion target pixel according to conversion characteristics and a position coordinate of the conversion target pixel;
A display unit for displaying the processed signal after gradation processing;
Characterized by comprising,
Image display device.
映像信号を受信する受信部と、
前記映像信号を復号し画像信号を出力する復号部と、
前記画像信号を複数の画像領域に分割する画像分割部と、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出部と、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理部と、
前記階調処理された処理信号を表示する表示部と、
を備えることを特徴とする、
テレビジョン。
A receiver for receiving a video signal;
A decoding unit for decoding the video signal and outputting an image signal;
An image dividing unit for dividing the image signal into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving unit for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing unit that obtains a conversion pixel value of the conversion target pixel according to conversion characteristics and a position coordinate of the conversion target pixel;
A display unit for displaying the processed signal after gradation processing;
Characterized by comprising,
television.
映像信号を受信する受信部と、
前記映像信号を復号し画像信号を出力する復号部と、
前記画像信号を複数の画像領域に分割する画像分割部と、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出部と、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理部と、
前記階調処理された処理信号を表示する表示部と、
を備えることを特徴とする、
携帯情報端末。
A receiver for receiving a video signal;
A decoding unit for decoding the video signal and outputting an image signal;
An image dividing unit for dividing the image signal into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving unit for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing unit that obtains a conversion pixel value of the conversion target pixel according to conversion characteristics and a position coordinate of the conversion target pixel;
A display unit for displaying the processed signal after gradation processing;
Characterized by comprising,
Mobile information terminal.
画像を行う撮影して画像信号を生成する撮影部と、
前記画像信号を複数の画像領域に分割する画像分割部と、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出部と、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理部と、
を備えることを特徴とする、カメラ。
A shooting unit for shooting an image and generating an image signal;
An image dividing unit for dividing the image signal into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving unit for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing unit that obtains a conversion pixel value of the conversion target pixel according to conversion characteristics and a position coordinate of the conversion target pixel;
A camera, comprising:
入力画像を複数の画像領域に分割する画像分割ステップと、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出ステップと、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理ステップと、
を含むことを特徴とする、
階調変換処理方法。
An image dividing step for dividing the input image into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving step for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing step for obtaining a conversion pixel value of the conversion target pixel according to the conversion characteristics and the position coordinates of the conversion target pixel;
Including,
Gradation conversion processing method.
階調変換処理装置に用いられる集積回路であって、
入力画像を複数の画像領域に分割する画像分割ステップと、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出ステップと、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理ステップと、
を実行する、
階調変換処理装置に用いられることを特徴とする、
集積回路。
An integrated circuit used in a gradation conversion processing device,
An image dividing step for dividing the input image into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving step for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing step for obtaining a conversion pixel value of the conversion target pixel according to the conversion characteristics and the position coordinates of the conversion target pixel;
Run the
It is used for a gradation conversion processing device,
Integrated circuit.
コンピュータにより階調変換処理を行う画像処理プログラムであって、
前記画像処理プログラムは、
入力画像を複数の画像領域に分割する画像分割ステップと、
前記画像領域ごとに、前記画像領域の周辺の複数の画像領域で構成される、広域画像領域を決定し、
前記広域画像領域の特徴量に応じて、前記画像領域に対する領域階調変換特性を導出する領域変換特性導出ステップと、
前記入力画像に含まれる変換対象画素の画素値と、前記変換対象画素を含む画像領域である対象画像領域に対する前記領域階調変換特性と、前記対象画像領域に隣接する隣接画像領域に対する領域階調変換特性と、前記変換対象画素の位置座標に応じて、前記変換対象画素の変換画素値を得る階調処理ステップと、
を含むことを特徴とする、階調変換処理方法、
をコンピュータに行わせるものであることを特徴とする、
画像処理プログラム。

An image processing program for performing gradation conversion processing by a computer,
The image processing program includes:
An image dividing step for dividing the input image into a plurality of image regions;
For each image area, determine a wide area image area composed of a plurality of image areas around the image area ,
An area conversion characteristic deriving step for deriving an area gradation conversion characteristic for the image area according to the feature amount of the wide area image area;
The pixel value of the conversion target pixel included in the input image, the region gradation conversion characteristic for the target image region that is the image region including the conversion target pixel, and the region gradation for the adjacent image region adjacent to the target image region A gradation processing step for obtaining a conversion pixel value of the conversion target pixel according to the conversion characteristics and the position coordinates of the conversion target pixel;
A gradation conversion processing method, comprising:
Is characterized by having the computer perform
Image processing program.

JP2008010747A 2003-09-11 2008-01-21 Visual processing device, visual processing method, visual processing program, and semiconductor device Active JP4414464B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010747A JP4414464B2 (en) 2003-09-11 2008-01-21 Visual processing device, visual processing method, visual processing program, and semiconductor device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003320059 2003-09-11
JP2004115166 2004-04-09
JP2008010747A JP4414464B2 (en) 2003-09-11 2008-01-21 Visual processing device, visual processing method, visual processing program, and semiconductor device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004264005A Division JP4126298B2 (en) 2003-09-11 2004-09-10 Visual processing device, visual processing method, visual processing program, and semiconductor device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009113313A Division JP2009211708A (en) 2003-09-11 2009-05-08 Gray-scale conversion processor, television, information portable terminal, camera, gray-scale conversion processing method, and processor

Publications (3)

Publication Number Publication Date
JP2008108286A JP2008108286A (en) 2008-05-08
JP2008108286A5 JP2008108286A5 (en) 2009-07-30
JP4414464B2 true JP4414464B2 (en) 2010-02-10

Family

ID=39441538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010747A Active JP4414464B2 (en) 2003-09-11 2008-01-21 Visual processing device, visual processing method, visual processing program, and semiconductor device

Country Status (1)

Country Link
JP (1) JP4414464B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6931475B2 (en) * 2016-12-01 2021-09-08 株式会社サイバーコア Image processing device

Also Published As

Publication number Publication date
JP2008108286A (en) 2008-05-08

Similar Documents

Publication Publication Date Title
JP2009211708A (en) Gray-scale conversion processor, television, information portable terminal, camera, gray-scale conversion processing method, and processor
JP4157592B2 (en) Visual processing device, display device, visual processing method, program, and integrated circuit
JP4745458B2 (en) Visual processing device
JP4410304B2 (en) Visual processing device, visual processing method, image display device, television, portable information terminal, camera, and processor
JP5259785B2 (en) Visual processing device, visual processing method, television, portable information terminal, camera and processor
JP4437150B2 (en) Visual processing device, display device, visual processing method, program, and integrated circuit
KR101314390B1 (en) Visual processing apparatus, visual processing method, program, recording medium, display, and integrated circuit
JP4641784B2 (en) Gradation conversion processing device, gradation conversion processing method, image display device, television, portable information terminal, camera, integrated circuit, and image processing program
JP4440245B2 (en) Visual processing device, display device, and integrated circuit
JP2008159069A5 (en)
JP4126297B2 (en) Visual processing device, visual processing method, visual processing program, integrated circuit, display device, photographing device, and portable information terminal
JP4414307B2 (en) Visual processing device, visual processing method, visual processing program, and semiconductor device
JP2006024176A5 (en)
JP4414464B2 (en) Visual processing device, visual processing method, visual processing program, and semiconductor device
JP4094652B2 (en) Visual processing device, visual processing method, program, recording medium, display device, and integrated circuit
JP4126298B2 (en) Visual processing device, visual processing method, visual processing program, and semiconductor device
JP4437149B2 (en) Visual processing device, visual processing method, program, recording medium, display device, and integrated circuit
JP2005322205A5 (en)

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090916

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

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

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4414464

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131127

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350