JP2010045558A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2010045558A
JP2010045558A JP2008207692A JP2008207692A JP2010045558A JP 2010045558 A JP2010045558 A JP 2010045558A JP 2008207692 A JP2008207692 A JP 2008207692A JP 2008207692 A JP2008207692 A JP 2008207692A JP 2010045558 A JP2010045558 A JP 2010045558A
Authority
JP
Japan
Prior art keywords
pixel value
image processing
input
output
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008207692A
Other languages
Japanese (ja)
Other versions
JP5131083B2 (en
Inventor
Tomoshi Hosokawa
知志 細川
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2008207692A priority Critical patent/JP5131083B2/en
Publication of JP2010045558A publication Critical patent/JP2010045558A/en
Application granted granted Critical
Publication of JP5131083B2 publication Critical patent/JP5131083B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor for achieving lookup table (LUT) making when an output value for an input value is obtained even for image processing for which the contents of an operation are unclear or difficult to specify. <P>SOLUTION: A learning part 10 includes: an image processing means 11 which executes an operation to be the object of LUT making and observes the output value for the input value; an input means 12 for inputting a pixel value in an input color space to the image processing means 11; and an updating means 13 for writing the correspondence of the pixel value in the input color space and an output pixel value obtained as the result of inputting the pixel value to the image processing means 11 to the LUT 20. A processing part 30 includes an LUT reference means 33 for reading the output pixel value corresponding to the input pixel value to be the object of the image processing from the LUT 20. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は画像処理装置に関し、特にルックアップテーブルを用いた画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus using a lookup table.

表示装置を備えた携帯電話機など、画像処理機能を有する電子機器においては、画像を構成する各画素(ピクセル)の値に対して、図7に例示するような種々の演算が行われる。ここで、図7(a)は一般の線形変換・アフィン変換の演算例を示す。また、図7(b)は階調値や輝度値の変換などに使用する非線形変換の演算例を、同図(c)はクリップ処理などに使用する非線形変換の演算例を示す。   In an electronic device having an image processing function, such as a mobile phone provided with a display device, various calculations as illustrated in FIG. 7 are performed on the values of each pixel constituting the image. Here, FIG. 7A shows a calculation example of general linear transformation / affine transformation. FIG. 7B shows a non-linear conversion calculation example used for conversion of gradation values and luminance values, and FIG. 7C shows a non-linear conversion calculation example used for clip processing and the like.

画素値の表現に使用される階調値が信号強度をリニアに表現していないことや、人間の視覚特性を考慮する必要があることなどから、画像処理に要求される演算は図7(b)、(c)に例示したような非線形変換になることが多く、非常に複雑になる。このような複雑な演算を専用の信号処理回路や汎用のDSPを用いて実現すると、回路規模および消費電力が大きくなってしまう。   Since the gradation value used for expressing the pixel value does not represent the signal intensity linearly and it is necessary to consider human visual characteristics, the calculation required for image processing is as shown in FIG. ) And (c) are often nonlinear transformations, which is very complicated. If such a complicated calculation is realized using a dedicated signal processing circuit or a general-purpose DSP, the circuit scale and power consumption increase.

そこで、複雑な演算を全ての画素に対して行うことの非効率さを改善する手法として、ルックアップテーブル(Lookup Table。以下、LUTと略す)方式が知られている。例えば非特許文献1には、ガンマ補正をLUTで実現することが記載されている。ガンマ補正は、ガンマ補正値をγ、補正前の輝度値をsrc、補正後の輝度値をdstとすると、補正式は例えば図7(d)で与えられるため、srcの各値(例えば0〜255)を図7の演算式に代入してdstの値を計算し、srcの値とdstの値との対応をLUTに格納しておく。ガンマ補正時には、各画素のsrcでLUTを検索し、対応するdstの値を読み出す。これにより、複雑な演算がLUTの検索という単純な処理で代用でき、回路規模の縮小と省電力化が実現できる。   Therefore, a lookup table (hereinafter referred to as LUT) method is known as a technique for improving the inefficiency of performing complex operations on all pixels. For example, Non-Patent Document 1 describes that gamma correction is realized by an LUT. In the gamma correction, assuming that the gamma correction value is γ, the luminance value before correction is src, and the luminance value after correction is dst, the correction formula is given by, for example, FIG. 255) is substituted into the arithmetic expression of FIG. 7 to calculate the value of dst, and the correspondence between the value of src and the value of dst is stored in the LUT. At the time of gamma correction, the LUT is searched with the src of each pixel, and the corresponding dst value is read out. As a result, complicated operations can be substituted with a simple process of LUT search, and the circuit scale can be reduced and power can be saved.

また特許文献1には、RGB信号をCMY信号に変換する画像処理にLUTを利用する技術が開示されている。具体的には、RGBの色空間に設定される格子点に対応するCMY系の画像データをLUTに書き込んでおき、処理対象となるRGB信号に対応する格子点のCMY系の画像データをLUTから読み出し、この読み出したCMY系の画像データを用いて補間処理を行うことによって、処理対象となるRGB信号に対応する補間処理されたCMY系の画像データを生成する。格子点の設定方法としては、色空間を立方体や直方体の小領域に分割し、それらの頂点を格子点とする方法が記載されている。また、補間に使用する格子点の数としては、8点補間や4点補間が示されている。   Japanese Patent Application Laid-Open No. H10-228561 discloses a technique that uses an LUT for image processing for converting RGB signals into CMY signals. Specifically, the CMY image data corresponding to the grid points set in the RGB color space is written in the LUT, and the CMY image data of the grid points corresponding to the RGB signals to be processed is read from the LUT. The CMY image data subjected to the interpolation processing corresponding to the RGB signal to be processed is generated by performing the interpolation process using the read CMY image data. As a method for setting lattice points, a method is described in which a color space is divided into small regions such as a cube and a rectangular parallelepiped, and the vertices thereof are used as lattice points. As the number of grid points used for interpolation, 8-point interpolation or 4-point interpolation is shown.

特開2007−208956号公報JP 2007-208956 A 「画像処理ソリューション ルックアップテーブル(ガンマ補正の例)」、[平成20年8月1日検索]、インターネット<URL:http://imagingsolution.blog107.fc2.com/blog-entry-67.html>"Image processing solution look-up table (example of gamma correction)", [Search on August 1, 2008], Internet <URL: http://imagingsolution.blog107.fc2.com/blog-entry-67.html>

複雑な演算による画像処理をLUT方式で実現する場合、事前に演算結果を計算してLUTに格納しておく必要がある。このため、LUT化されている例は尽く、演算の内容が明らかになっている画像処理に限られており、どのような演算が行われているか不明か、特定することが困難な画像処理については、そのLUT化は端から不可能であるとするのが当技術分野の常識であった。   When image processing by complex computation is realized by the LUT method, it is necessary to calculate the computation result in advance and store it in the LUT. For this reason, the examples of LUTs are exhausted, and the image processing is limited to image processing in which the contents of the calculation are clarified, and it is difficult to specify what kind of calculation is being performed. It was common knowledge in this technical field that LUT conversion was impossible from the end.

本発明の目的は、演算の内容が不明あるいは特定困難な画像処理であっても、入力値に対する出力値が得られるのであれば、LUT化を実現することのできる画像処理装置を提供することにある。   An object of the present invention is to provide an image processing apparatus capable of realizing LUT as long as an output value with respect to an input value can be obtained even in the case of image processing in which the content of calculation is unknown or difficult to specify. is there.

本発明の第1の画像処理装置は、学習部とルックアップテーブルと処理部とで構成され、学習部は、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段と、入力色空間における画素値を画像処理手段に入力する入力手段と、入力色空間における画素値とこの画素値を画像処理手段に入力した結果得られる出力画素値との対応をルックアップテーブルに書き込む更新手段とを備え、処理部は、画像処理の対象となる入力画素値に対応する出力画素値をルックアップテーブルから読み出す読み出し手段を備える。   A first image processing apparatus according to the present invention includes a learning unit, a look-up table, and a processing unit. The learning unit is an image processing unit that performs an operation to be a lookup table, and performs an operation on an input value. Image processing means capable of observing output values, input means for inputting pixel values in the input color space to the image processing means, pixel values in the input color space, and results obtained by inputting the pixel values to the image processing means Updating means for writing the correspondence with the output pixel value in the lookup table, and the processing unit comprises a reading means for reading out the output pixel value corresponding to the input pixel value to be subjected to image processing from the lookup table.

本発明の第2の画像処理装置は、ルックアップテーブルと処理部とで構成され、ルックアップテーブルは、入力色空間における画素値と、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段に対して画素値を入力したときに画像処理手段から出力される出力画素値との対応が書き込まれており、処理部は、画像処理の対象となる入力画素値に対応する出力画素値をルックアップテーブルから読み出す読み出し手段を備える。   The second image processing apparatus of the present invention includes a look-up table and a processing unit, and the look-up table performs image processing means for executing a pixel value in the input color space and a calculation target for the look-up table. The correspondence with the output pixel value output from the image processing means when the pixel value is input to the image processing means capable of observing the output value with respect to the input value is written. Readout means for reading out an output pixel value corresponding to an input pixel value to be subjected to image processing from a lookup table is provided.

本発明の第1のルックアップテーブル作成装置は、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段と、入力色空間における画素値を画像処理手段に入力する入力手段と、入力色空間における画素値とこの画素値を画像処理手段に入力した結果得られる出力画素値との対応をルックアップテーブルに書き込む更新手段とを備える。   The first look-up table creation apparatus of the present invention is an image processing means for executing an operation to be a look-up table and capable of observing an output value with respect to an input value, and an input color space. Input means for inputting the pixel value in the image processing means, and update means for writing the correspondence between the pixel value in the input color space and the output pixel value obtained as a result of inputting the pixel value to the image processing means in the lookup table. Prepare.

本発明の第1の画像処理方法は、a)学習部が、ルックアップテーブル化の対象となる演算を実行する画像処理手段に対して入力色空間における画素値を入力し、この入力した画素値に対して画像処理手段から出力される画素値を取得するステップと、b)学習部が、画像処理手段に対して入力した画素値とこの画素値に対して画像処理手段から出力される画素値との対応をルックアップテーブルに書き込むステップと、c)処理部が、画像処理の対象となる入力画素値に対する出力画素値をルックアップテーブルから読み出すステップとを含む。   According to the first image processing method of the present invention, a) the learning unit inputs a pixel value in the input color space to the image processing unit that executes an operation to be a lookup table, and the input pixel value A step of acquiring a pixel value output from the image processing means with respect to the image processing means; b) a pixel value input to the image processing means by the learning unit and a pixel value output from the image processing means for this pixel value And c) a processing unit reads out an output pixel value corresponding to an input pixel value to be subjected to image processing from the lookup table.

本発明の第1のプログラムは、ルックアップテーブルを有するコンピュータを、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段に対して、入力色空間における画素値を入力する入力手段と、入力色空間における画素値とこの画素値を画像処理手段に入力した結果得られる出力画素値との対応をルックアップテーブルに書き込む更新手段と、画像処理の対象となる入力画素値に対応する出力画素値をルックアップテーブルから読み出す読み出し手段として機能させる。   According to a first program of the present invention, a computer having a look-up table is used as an image processing means for executing an operation to be a look-up table and capable of observing an output value with respect to an input value. On the other hand, input means for inputting pixel values in the input color space, and update means for writing the correspondence between the pixel values in the input color space and output pixel values obtained as a result of inputting the pixel values to the image processing means in the lookup table Then, the output pixel value corresponding to the input pixel value to be subjected to image processing is made to function as a reading unit that reads from the lookup table.

本発明によれば、演算の内容が不明あるいは特定困難な画像処理であっても、入力値に対する出力値が得られる画像処理であればLUT化が可能になる。   According to the present invention, even if the image processing is unclear or difficult to specify, it is possible to make an LUT as long as the image processing can obtain an output value for the input value.

次に本発明の実施の形態について図面を参照して詳細に説明する。なお、人間の眼は3種類の錐体細胞をもつため、色空間の表現は3次元となり、画素値も3値ベクトルで表現する方法が一般的である。そこで、以下の説明では画素値が3値ベクトルであるものとして説明を行う。しかし、本発明は画素値が2値以下あるいは4値以上の場合にも適用可能である。   Next, embodiments of the present invention will be described in detail with reference to the drawings. Since the human eye has three types of pyramidal cells, the color space is represented in three dimensions, and the pixel value is generally represented by a ternary vector. Therefore, the following description will be made assuming that the pixel value is a ternary vector. However, the present invention is also applicable when the pixel value is 2 or less or 4 or more.

[第1の実施の形態]
図1を参照すると、本発明の第1の実施の形態に係る画像処理装置は、学習部10とLUT20と処理部30とで構成される。
[First Embodiment]
Referring to FIG. 1, the image processing apparatus according to the first embodiment of the present invention includes a learning unit 10, an LUT 20, and a processing unit 30.

LUT20は、入力色空間における入力画素値に対応する出力画素値を記憶するメモリである。入力画素値に対応する出力画素値をすべて記憶してもよいが、必要なメモリ容量が膨大となる。このため、本実施の形態では、ある程度間引いたデータを記憶し、その間引いた箇所は、補間演算により求めることで、LUT20に必要なメモリ容量を削減している。   The LUT 20 is a memory that stores output pixel values corresponding to input pixel values in the input color space. Although all the output pixel values corresponding to the input pixel values may be stored, the required memory capacity becomes enormous. For this reason, in the present embodiment, data thinned out to some extent is stored, and the thinned portion is obtained by interpolation calculation, thereby reducing the memory capacity required for the LUT 20.

具体的には、本実施の形態におけるLUT20は、入力色空間における各画素値が取り得る範囲を小領域である要素に区切り、各要素の頂点に相当する画素値を入力とした場合の出力画素値を記憶する。要素の形状および区切り方は任意であるが、本実施の形態では、図2に示すように、3次元の色空間の各軸に沿って画素値(図2では各成分は1に正規化されている)をN分割することで、入力色空間を直方体(正確には立方体)の形状を有する要素に分割し、各直方体の要素の頂点毎に、それに対応する出力画素値を記憶する。ここで、Nは2のべき乗であることが望ましい。その理由は、Nが2のべき乗であれば、入力画素値が属する要素は、その入力画素値の各成分を1/Nで除することで求めることができ、且つ、コストのかかる除算のかわりにシフト演算によって要素を求めることができるためである。なお、Nは、16(=24)程度が望ましい。 Specifically, the LUT 20 in the present embodiment divides the possible range of each pixel value in the input color space into elements that are small regions, and outputs pixels when the pixel values corresponding to the vertices of each element are input. Store the value. The shape of the element and the way of dividing are arbitrary, but in this embodiment, as shown in FIG. 2, pixel values are normalized along the respective axes of the three-dimensional color space (in FIG. 2, each component is normalized to 1). The input color space is divided into elements having a rectangular parallelepiped (exactly cubic) shape, and the output pixel value corresponding to each vertex of each rectangular parallelepiped element is stored. Here, N is preferably a power of 2. The reason is that if N is a power of 2, the element to which the input pixel value belongs can be obtained by dividing each component of the input pixel value by 1 / N, and instead of costly division This is because the element can be obtained by a shift operation. Incidentally, N is the 16 (= 2 4) degree is desirable.

学習部10は、LUT化の対象となる演算について入力色空間における入力画素値と出力画素値との対応関係を学習し、LUT20に格納する機能を有する。本実施の形態の学習部10は、LUT化対象画像処理手段11と、入力手段12と、更新手段13とを有する。   The learning unit 10 has a function of learning a correspondence relationship between an input pixel value and an output pixel value in the input color space for an operation to be converted into an LUT, and storing it in the LUT 20. The learning unit 10 according to the present embodiment includes an LUT target image processing unit 11, an input unit 12, and an update unit 13.

LUT化対象画像処理手段11は、LUT化の対象となる演算を実行する手段であり、入力端子11aと出力端子11bとを有し、入力端子11aから入力された画素値に対して内部において種々の演算を行い、その演算の結果得られた画素値を出力端子11bから出力する機能を有する。LUT化対象画像処理手段11の内部で行われている演算の種類やその実現構成は既知である必要はなく、入力値に対する出力値を観測することができれば良い。LUT対象画像処理手段11の一例としては、画素値を入力として受け取って演算結果の画素値を出力するプログラムモジュールやハードウェア回路などがある。   The LUT target image processing means 11 is a means for executing an operation to be LUT-targeted. The LUT target image processing means 11 has an input terminal 11a and an output terminal 11b, and has various internal values for pixel values input from the input terminal 11a. And a pixel value obtained as a result of the calculation is output from the output terminal 11b. The type of operation performed in the LUT target image processing unit 11 and the implementation configuration thereof need not be known, and it is only necessary to observe the output value with respect to the input value. As an example of the LUT target image processing means 11, there is a program module or a hardware circuit that receives a pixel value as an input and outputs a pixel value as a calculation result.

入力手段12は、入力色空間における画素値をLUT化対象画像処理手段11に入力すると同時に更新手段13に通知する手段である。具体的には、図2に示した入力色空間を構成する各要素の頂点の画素値を生成し、LUT化対象画像処理手段11および更新手段13に対して送出する。   The input unit 12 is a unit that inputs the pixel value in the input color space to the LUT target image processing unit 11 and notifies the update unit 13 at the same time. Specifically, the pixel values of the vertices of each element constituting the input color space shown in FIG. 2 are generated and sent to the LUT target image processing unit 11 and the updating unit 13.

更新手段13は、入力手段12から受け取った画素値と、この画素値の入力に対してLUT化対象画像処理手段11から出力された画素値との対応をLUT20に書き込む手段である。   The updating unit 13 is a unit that writes the correspondence between the pixel value received from the input unit 12 and the pixel value output from the LUT target image processing unit 11 in the LUT 20 in response to the input of this pixel value.

他方、処理部30は、LUT20を用いて実際の画像処理を行う部分であり、例えば画像を表示するための入力信号を入力し、入力信号中の各画素値に対してLUT20を用いて画像処理を施し、画像処理後の画素値を含む出力信号を、図示しないラスタ表示装置へ出力する。本実施の形態の処理部30は、事前変換手段31と、要素算出手段32と、LUT参照手段33と、補間手段34とを有する。   On the other hand, the processing unit 30 is a part that performs actual image processing using the LUT 20. For example, the processing unit 30 inputs an input signal for displaying an image, and performs image processing using the LUT 20 for each pixel value in the input signal. And an output signal including the pixel value after image processing is output to a raster display device (not shown). The processing unit 30 according to the present embodiment includes a pre-conversion unit 31, an element calculation unit 32, an LUT reference unit 33, and an interpolation unit 34.

事前変換手段31は、入力信号に対して、図7(a)で示したような線形変換やアフィン変換を施し、後段の処理に都合の良い色空間に変換する手段である。ただし、事前変換手段31は、入力信号の色空間がRGB空間の場合など、そのままで取扱いが容易な色空間の場合は、省略することができる。なお、図2で示したように入力画素値の各成分を1に正規化する場合、その処理はこの事前変換手段31で実施してもよい。   The pre-conversion unit 31 is a unit that performs linear conversion or affine conversion as shown in FIG. 7A on the input signal and converts the input signal into a color space convenient for subsequent processing. However, the pre-conversion unit 31 can be omitted when the color space of the input signal is an RGB space or the like and is easy to handle as it is. In the case where each component of the input pixel value is normalized to 1 as shown in FIG. 2, the processing may be performed by the prior conversion means 31.

要素算出手段32は、後段のLUT参照手段33において入力信号中の各画素値を含む領域の頂点の出力画素値をLUT20から取得できるようにするために、入力画素値が属する要素を求める手段である。前述したように、本実施の形態は、入力色空間を規定する各軸を2のべき乗の値Nで分割してできる直方体を要素とするため、要素算出手段32は、入力画素値の各成分を1/Nで除することで、属する要素を求めることができる。   The element calculation means 32 is a means for obtaining an element to which the input pixel value belongs so that the LUT reference means 33 in the subsequent stage can obtain the output pixel value of the vertex of the area including each pixel value in the input signal from the LUT 20. is there. As described above, since the present embodiment uses a rectangular parallelepiped that is obtained by dividing each axis that defines the input color space by a power value N of 2, the element calculation means 32 is configured so that each component of the input pixel value By dividing 1 by N, the element to which it belongs can be obtained.

LUT参照手段33は、要素算出手段32で求められた要素の各頂点が持つ出力画素値をLUT20から取得する手段である。   The LUT reference unit 33 is a unit that acquires, from the LUT 20, an output pixel value that each vertex of the element obtained by the element calculation unit 32 has.

補間手段34は、LUT参照手段33で取得された要素の各頂点が持つ出力画素値を用いて補間処理を行うことによって、入力画素値に対応する補間処理された出力画素値を生成する手段である。本実施の形態の場合、要素は直方体であり、LUT20には各要素の頂点に対応する出力画素値が格納されているため、補間手段34は、入力画素値が属する要素の各頂点に対応する出力画素値から一次関数を使用して補間する。具体的な補間処理の例を以下に説明する。   The interpolation unit 34 is a unit that generates an output pixel value subjected to the interpolation process corresponding to the input pixel value by performing an interpolation process using the output pixel value of each vertex of the element acquired by the LUT reference unit 33. is there. In the case of the present embodiment, since the element is a rectangular parallelepiped, and the output pixel value corresponding to the vertex of each element is stored in the LUT 20, the interpolation unit 34 corresponds to each vertex of the element to which the input pixel value belongs. Interpolate from the output pixel value using a linear function. A specific example of interpolation processing will be described below.

今、入力画素値をQとし、この入力画素値Qを含む直方体要素の各頂点に対応する出力画素値を、図3に示すように、P(0,0,0)、P(0,0,1)、P(0,1,0)、P(0,1,1)、P(1,0,0)、P(1,0,1)、P(1,1,0)、P(1,1,1)とする。また、入力画素値Qの要素内における座標を(r0,r1,r2)とする。この場合、入力画素値Qに対応する出力画素値Q'は、3軸のうちの何れか1つの軸上における補間(0軸上の補間と呼ぶ)、残り2軸のうちの何れか1つの軸上における補間(1軸上の補間と呼ぶ)、最後に残った1軸上における補間(2軸上の補間と呼ぶ)を順番に行うことによって、以下のようにして求められる。   Now, let the input pixel value be Q, and output pixel values corresponding to the vertices of the rectangular parallelepiped element including this input pixel value Q are P (0,0,0), P (0,0) as shown in FIG. , 1), P (0,1,0), P (0,1,1), P (1,0,0), P (1,0,1), P (1,1,0), P (1,1,1). Also, the coordinates in the element of the input pixel value Q are (r0, r1, r2). In this case, the output pixel value Q ′ corresponding to the input pixel value Q is interpolated on any one of the three axes (referred to as interpolation on the zero axis) and any one of the remaining two axes. By performing interpolation on the axis (referred to as interpolation on one axis) and interpolation on the last remaining one axis (referred to as interpolation on two axes) in order, it is obtained as follows.

(1)0軸上の補間:
P'(0,0)=(1-r0)×P(0,0,0)+r0×P(0,0,1)
P'(0,1)=(1-r0)×P(0,1,0)+r0×P(0,1,1)
P'(1,0)=(1-r0)×P(1,0,0)+r0×P(1,0,1)
P'(1,1)=(1-r0)×P(1,1,0)+r0×P(1,1,1)
(2)1軸上の補間:
P''(0)=(1-r1)×P'(0,0)+r1×P'(0,1)
P''(1)=(1-r1)×P'(1,0)+r1×P'(1,1)
(3)2軸上の補間:
Q'=(1-r2)×P''(0)+r2×P''(1)
(1) Interpolation on axis 0:
P ′ (0,0) = (1-r0) × P (0,0,0) + r0 × P (0,0,1)
P ′ (0,1) = (1-r0) × P (0,1,0) + r0 × P (0,1,1)
P ′ (1,0) = (1-r0) × P (1,0,0) + r0 × P (1,0,1)
P ′ (1,1) = (1-r0) × P (1,1,0) + r0 × P (1,1,1)
(2) Interpolation on one axis:
P ″ (0) = (1−r1) × P ′ (0,0) + r1 × P ′ (0,1)
P ″ (1) = (1−r1) × P ′ (1,0) + r1 × P ′ (1,1)
(3) Interpolation on two axes:
Q ′ = (1-r2) × P ″ (0) + r2 × P ″ (1)

次に本実施の形態の動作を説明する。   Next, the operation of the present embodiment will be described.

本実施の形態に係る画像処理装置の動作は、学習動作と画像処理動作とに大別される。   The operation of the image processing apparatus according to the present embodiment is roughly divided into a learning operation and an image processing operation.

学習動作は、学習部10によってLUT化対象画像処理手段11の入力画素値と出力画素値との関係を学習し、その学習結果をLUT20に書き込む動作である。学習動作の流れを図4に示す。   The learning operation is an operation in which the learning unit 10 learns the relationship between the input pixel value and the output pixel value of the LUT target image processing unit 11 and writes the learning result to the LUT 20. The flow of the learning operation is shown in FIG.

図4を参照すると、まず、学習部10の入力手段12は、LUT20に格納する1つの出力画素値に対応する入力画素値を生成する(ステップS101)。本実施の形態は、入力色空間を規定する各軸を図2に示したように2のべき乗の値Nで分割して直方体要素を生成し、LUT20には各直方体要素の頂点に対応して1つの出力画素値を格納するため、入力手段12は、直方体要素の頂点の座標を1つずつ順番に発生する。従って、1に正規化された入力画素値を(x,y,z)とすると、x,y,zはそれぞれ0,1/N,2/N,…,N/Nの値をとるように、入力画素値を生成する。   Referring to FIG. 4, first, the input unit 12 of the learning unit 10 generates an input pixel value corresponding to one output pixel value stored in the LUT 20 (step S101). In the present embodiment, each axis defining the input color space is divided by a power-of-two value N as shown in FIG. 2 to generate a rectangular parallelepiped element, and the LUT 20 corresponds to the vertex of each rectangular parallelepiped element. In order to store one output pixel value, the input unit 12 sequentially generates the coordinates of the vertices of the rectangular parallelepiped elements one by one. Therefore, if the input pixel value normalized to 1 is (x, y, z), x, y, z take values of 0, 1 / N, 2 / N, ..., N / N, respectively. , Generate the input pixel value.

次に入力手段12は、生成した1つの入力画素値をLUT化対象画像処理手段11の入力端子11aに入力し、同時に更新手段13に通知する(ステップS102)。   Next, the input unit 12 inputs the generated one input pixel value to the input terminal 11a of the LUT target image processing unit 11 and simultaneously notifies the update unit 13 (step S102).

LUT化対象画像処理手段11は、入力端子11aから入力された画素値に対して内部において種々の画像処理を行い、結果の画素値を出力する(ステップS103)。   The LUT target image processing means 11 internally performs various image processing on the pixel value input from the input terminal 11a, and outputs the resulting pixel value (step S103).

学習部10の更新手段13は、LUT化対象画像処理手段11の出力端子11bから出力された画素値を取得し(ステップS104)、入力手段12から通知された入力画素値と前記取得した出力画素値との対応をLUT20に格納する(ステップS105)。具体的には、本実施の形態の場合、LUT20を(N+1)×(N+1)×(N+1)の3次元配列で構成し、LUT化対象画像処理手段11から出力された画素値を、その出力画素値の生成に用いた入力画素値の頂点に対応する配列に記憶する。   The updating unit 13 of the learning unit 10 acquires the pixel value output from the output terminal 11b of the LUT target image processing unit 11 (step S104), the input pixel value notified from the input unit 12, and the acquired output pixel. The correspondence with the value is stored in the LUT 20 (step S105). Specifically, in the case of the present embodiment, the LUT 20 is configured by a (N + 1) × (N + 1) × (N + 1) three-dimensional array, and the pixel value output from the LUT target image processing unit 11 is output as the LUT 20. The data is stored in an array corresponding to the vertex of the input pixel value used for generating the pixel value.

以上の処理で、LUT20に1つの要素の頂点の入力画素値に対応する出力画素値が格納されたことになる。   With the above processing, the output pixel value corresponding to the input pixel value of the vertex of one element is stored in the LUT 20.

入力手段12は、入力色空間における全ての要素の全ての頂点に対応する入力画素値を生成し終えたかどうかを判定する(ステップS106)。若し、未だ生成し終えていなければ(ステップS106でNO)、次の1つの入力画素値を生成し(ステップS107)、ステップS102に戻って上述した処理と同様の処理を繰り返す。全要素の全頂点に対応する入力画素値の生成を終えていれば(ステップS106でYES)、学習処理を終える。   The input unit 12 determines whether or not input pixel values corresponding to all vertices of all elements in the input color space have been generated (step S106). If it has not been generated yet (NO in step S106), the next one input pixel value is generated (step S107), and the process returns to step S102 and the same processing as described above is repeated. If the generation of input pixel values corresponding to all vertices of all elements has been completed (YES in step S106), the learning process ends.

次に画像処理動作について説明する。画像処理動作の流れを図5に示す。   Next, an image processing operation will be described. The flow of the image processing operation is shown in FIG.

図5を参照すると、まず処理部30の事前変換手段31は、入力信号から処理対象となる画素値を入力し(ステップS111)、予め定められた事前変換処理を実施し、結果の画素値を要素算出手段32に通知する(ステップS112)。   Referring to FIG. 5, first, the pre-conversion unit 31 of the processing unit 30 inputs a pixel value to be processed from an input signal (step S111), performs a predetermined pre-conversion process, and obtains a pixel value as a result. The element calculation means 32 is notified (step S112).

次に要素算出手段32は、事前変換手段31から通知された画素値の各成分を1/Nで除することで、当該画素値が属する要素を算出し、LUT参照手段33に通知する(ステップS113)。   Next, the element calculation unit 32 calculates the element to which the pixel value belongs by dividing each component of the pixel value notified from the pre-conversion unit 31 by 1 / N, and notifies the LUT reference unit 33 (step). S113).

次にLUT参照手段33は、要素算出手段32から通知された要素の各頂点がLUT20を構成する3次元配列上のどの要素に対応するかを求め、求めた配列要素に記憶されている出力画素値を読み出し、補間手段34に通知する(ステップS114)。   Next, the LUT reference unit 33 determines which element on the three-dimensional array constituting the LUT 20 each vertex of the element notified from the element calculation unit 32 corresponds to, and the output pixel stored in the determined array element The value is read and notified to the interpolation means 34 (step S114).

次に補間手段34は、LUT参照手段33から通知された各頂点に対応する出力画素値と入力画素値の要素内における座標とに基づいて、前述した一次関数による補間処理を行い(ステップS115)、入力画素値に対応する補間処理された出力画素値を求めて出力する(ステップS116)。   Next, the interpolation means 34 performs the interpolation process by the above-mentioned linear function based on the output pixel value corresponding to each vertex notified from the LUT reference means 33 and the coordinates in the element of the input pixel value (step S115). The output pixel value subjected to the interpolation processing corresponding to the input pixel value is obtained and output (step S116).

次に本実施の形態の効果を説明する。   Next, the effect of this embodiment will be described.

本実施の形態によれば、演算の内容が不明あるいは特定困難な画像処理であっても、入力値に対する出力値が得られる画像処理であればLUT化が可能になる。その理由は、LUT化対象画像処理手段11に対して入力色空間における画素値を入力する入力手段と、この入力画素値の入力に対してLUT化対象画像処理手段11で得られる出力画素値を取得し、入力画素値と出力画素値との対応をLUT20に書き込む更新手段13とを有する学習部10を備えているためである。   According to the present embodiment, even if the image processing is unknown or difficult to specify, it is possible to make an LUT as long as the image processing can obtain an output value for the input value. The reason is that an input means for inputting a pixel value in the input color space to the LUT target image processing means 11 and an output pixel value obtained by the LUT target image processing means 11 for the input of this input pixel value. This is because the learning unit 10 including the update unit 13 that acquires and writes the correspondence between the input pixel value and the output pixel value in the LUT 20 is provided.

LUT20に必要なメモリ容量の削減が可能である。その理由は、LUT20には、ある程度間引いたデータを記憶し、その間引いた箇所は、補間処理により求めるようにしているためである。   The memory capacity required for the LUT 20 can be reduced. The reason is that the LUT 20 stores data thinned out to some extent, and the thinned portion is obtained by interpolation processing.

複雑な画像処理であっても高速かつ低消費電力で実行することができる。その理由は、複雑な画像処理を行うLUT化対象画像処理手段11の入力画素値と出力画素値との関係を学習部10によって学習してLUT20に記憶し、実際の画像処理では複雑な演算をLUT20の検索という単純な処理で代用できるためである。また別の理由は、入力色空間の各軸を2のべき乗であるNで分割してできる直方体を要素としていること、各要素の頂点に対応して出力画素値を保持し、補間処理に一次関数を用いることにより、LUT20から参照すべき要素の決定および補間処理自体も簡易に行えるためである。   Even complex image processing can be executed at high speed and with low power consumption. The reason is that the learning unit 10 learns the relationship between the input pixel value and the output pixel value of the LUT target image processing unit 11 that performs complex image processing, stores the relationship in the LUT 20, and performs complex operations in actual image processing. This is because a simple process of searching the LUT 20 can be substituted. Another reason is that a rectangular parallelepiped formed by dividing each axis of the input color space by N that is a power of 2 is used as an element, an output pixel value is held corresponding to the vertex of each element, and the interpolation process is performed primarily. This is because, by using a function, determination of an element to be referred to from the LUT 20 and interpolation processing itself can be easily performed.

[第2の実施の形態]
図6を参照すると、本発明の第2の実施の形態に係る画像処理装置は、図1に示した第1の画像処理装置と比較して、学習部10におけるLUT化対象画像処理手段11がLUT化対象画像処理手段14に置き換えられている点、パラメータ設定部15が新たに設けられている点で相違し、それ以外は第1の実施の形態と同じである。
[Second Embodiment]
Referring to FIG. 6, the image processing apparatus according to the second embodiment of the present invention has an LUT target image processing means 11 in the learning unit 10 as compared with the first image processing apparatus shown in FIG. The second embodiment is different from the first embodiment in that it is replaced with the LUT target image processing means 14 and a parameter setting unit 15 is newly provided.

LUT化対象画像処理手段14は、入力端子11aに入力される画素値に対して、処理手段1、処理手段2、…、処理手段Nにより順番にN通りの処理を施し、その最後の処理手段Nによる処理結果の画素値を出力端子11bから出力する。それぞれの処理手段1〜Nは、それぞれ異なる複数通りの処理を行うことができ、そのうちの何れの処理を行うかは、各処理手段1〜Nに1対1に対応して設けられているパラメータ記憶部PR1〜PRNに記憶されているパラメータP1〜PNの値で決定される。例えば、或る処理手段は図7(a)に示す変換処理を行い、この変換処理で使用する定数a、bの値が対応するパラメータ記憶部によりパラメータとして与えられる。また、別の処理手段は図7(b)に示す変換処理を行い、この変換処理で使用する0.055や1.055などの定数が対応するパラメータ記憶部によりパラメータとして与えられる。   The LUT target image processing means 14 performs N processes in order by the processing means 1, processing means 2,..., Processing means N on the pixel value input to the input terminal 11a, and the last processing means. The pixel value of the processing result by N is output from the output terminal 11b. Each of the processing units 1 to N can perform a plurality of different types of processing, and which one of the processings is performed is a parameter provided in a one-to-one correspondence with each of the processing units 1 to N. It is determined by the values of parameters P1 to PN stored in storage units PR1 to PRN. For example, a certain processing means performs the conversion process shown in FIG. 7A, and the values of constants a and b used in this conversion process are given as parameters by the corresponding parameter storage unit. Another processing means performs the conversion process shown in FIG. 7B, and constants such as 0.055 and 1.055 used in this conversion process are given as parameters by the corresponding parameter storage unit.

パラメータ設定部15は、パラメータ記憶部PR1〜PRNにパラメータを設定するためのユーザインタフェースである。パラメータ設定部15は、図示しない表示装置の画面にパラメータ設定画面を表示し、その画面を通じて利用者からパラメータの入力を受け付け、受け付けたパラメータをパラメータ記憶部PR1〜PRNに格納する。   The parameter setting unit 15 is a user interface for setting parameters in the parameter storage units PR1 to PRN. The parameter setting unit 15 displays a parameter setting screen on a screen of a display device (not shown), receives parameter input from the user through the screen, and stores the received parameters in the parameter storage units PR1 to PRN.

本実施の形態の動作は、学習動作を開始するのに先立って、パラメータ設定部15を通じてLUT化対象画像処理手段14に対してパラメータを設定する動作が新たに加わる点で、第1の実施の形態の動作と相違する。   The operation of the present embodiment is that the operation of setting parameters for the LUT target image processing means 14 is newly added through the parameter setting unit 15 prior to the start of the learning operation. It is different from the operation of the form.

本実施の形態によれば、利用者がパラメータ設定部15を通じてLUT化対象画像処理手段14で実施される画像処理の内容を変更してからLUT20の学習動作を再度行うことにより、実際の画像処理で使用するLUT20の内容を適宜変更することができる。   According to the present embodiment, the user changes the content of the image processing performed by the LUT target image processing means 14 through the parameter setting unit 15 and then performs the learning operation of the LUT 20 again, thereby performing actual image processing. The contents of the LUT 20 used in the above can be changed as appropriate.

[その他の実施の形態]
以上の実施の形態では、入力色空間を直方体の要素に区切り、各要素の頂点に対応する出力画素値をLUT20に記憶し、入力画素値の属する直方体要素の8個の頂点の出力画素値に基づいて、一次関数による補間演算を行うことにより、入力画素値に対応する補間処理された出力画素値を算出した。このような補間は、一般に直方体一次要素による補間と呼ばれる。しかし、本発明は直方体一次要素による補間に限定されるわけではなく、他の任意の補間を適用することが可能である。例えば、直方体の頂点だけでなく辺上の節点に対応する出力画素値をLUT20に記憶し、入力画素値が属する直方体要素の8個の頂点と12個の節点との合計20個の点の出力画素値に基づいて、二次関数によって補間処理を行う直方体二次要素による補間も適用可能である。また、入力色空間を各軸が直交していない四面体などの要素に区切り、各要素の格子点(頂点または/および節点)に対応する出力画素値をLUT20に記憶し、入力画素値が属する要素の格子点の出力画素値に基づいて、一次関数や二次関数を用いて補間を行う、四面体一次要素による補間や、四面体二次要素による補間なども適用可能である。ただし、一般的には直方体一次要素による補間が最も計算量等が少なく負荷の軽い簡易な補間になる。
[Other embodiments]
In the above embodiment, the input color space is divided into rectangular parallelepiped elements, the output pixel values corresponding to the vertices of each element are stored in the LUT 20, and the output pixel values of the eight vertices of the rectangular parallelepiped element to which the input pixel values belong are stored. Based on this, an interpolation operation using a linear function was performed to calculate an interpolated output pixel value corresponding to the input pixel value. Such interpolation is generally called interpolation by a rectangular parallelepiped primary element. However, the present invention is not limited to interpolation by a rectangular parallelepiped primary element, and any other interpolation can be applied. For example, output pixel values corresponding not only to the vertices of the rectangular parallelepiped but also to nodes on the side are stored in the LUT 20, and a total of 20 points including eight vertices and 12 nodes of the rectangular parallelepiped element to which the input pixel value belongs are output. Interpolation by a rectangular parallelepiped secondary element that performs interpolation processing by a quadratic function based on the pixel value is also applicable. Further, the input color space is divided into elements such as tetrahedrons whose axes are not orthogonal to each other, output pixel values corresponding to lattice points (vertices and / or nodes) of each element are stored in the LUT 20, and the input pixel values belong to them. Interpolation using a tetrahedral primary element, interpolation using a tetrahedral secondary element, or the like that performs interpolation using a linear function or a quadratic function based on an output pixel value of an element lattice point is also applicable. However, in general, interpolation by a rectangular parallelepiped primary element is a simple interpolation with the least amount of calculation and a light load.

また以上の実施の形態においては、学習部10とLUT20および処理部30とは一体として構成されていたが、学習部10とLUT20および処理部30とを分離可能に構成し、学習動作によって必要なデータを記憶したLUT20と処理部30を学習部10から分離して、携帯電話機などの画像表示装置に組み込む実施の形態も考えられる。   In the above embodiment, the learning unit 10, the LUT 20, and the processing unit 30 are configured as a single unit. However, the learning unit 10, the LUT 20, and the processing unit 30 are configured so as to be separable, and are necessary for the learning operation. An embodiment in which the LUT 20 storing data and the processing unit 30 are separated from the learning unit 10 and incorporated in an image display device such as a mobile phone is also conceivable.

また、処理部30の各手段31〜34および学習部10の各手段11〜14は、ハードウェア回路で実現することができることは勿論のこと、コンピュータとプログラムとで実現することができる。プログラムは磁気ディスクや半導体メモリ等のコンピュータ可読記録媒体に記録されて提供され、コンピュータの立ち上げ時などにコンピュータに読み取られ、コンピュータの動作を制御することにより、コンピュータ上に各手段11〜14、31〜34を実現する。   Further, each means 31 to 34 of the processing unit 30 and each means 11 to 14 of the learning unit 10 can be realized by a hardware circuit, and can be realized by a computer and a program. The program is provided by being recorded on a computer-readable recording medium such as a magnetic disk or a semiconductor memory, read by the computer when the computer is started up, etc., and controls the operation of the computer, thereby controlling each means 11-14 on the computer. 31 to 34 are realized.

本発明の第1の実施の形態のブロック図である。It is a block diagram of a 1st embodiment of the present invention. 本発明の第1の実施の形態における入力色空間の分割方法の一例を示す図である。It is a figure which shows an example of the division | segmentation method of the input color space in the 1st Embodiment of this invention. 本発明の第1の実施の形態における補間処理の説明図である。It is explanatory drawing of the interpolation process in the 1st Embodiment of this invention. 本発明の第1の実施の形態における学習動作の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of learning operation | movement in the 1st Embodiment of this invention. 本発明の第1の実施の形態における実際の画像処理動作の手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a procedure of an actual image processing operation in the first embodiment of the present invention. 本発明の第2の実施の形態のブロック図である。It is a block diagram of the 2nd Embodiment of this invention. 画像を構成する各画素値に対して行われる演算例を示す図である。It is a figure which shows the example of a calculation performed with respect to each pixel value which comprises an image.

符号の説明Explanation of symbols

10…学習部
11、14…LUT化対象画像処理手段
11a…入力端子
11b…出力端子
12…入力手段
13…更新手段
15…パラメータ設定手段
20…LUT(ルックアップテーブル)
30…処理部
31…事前変換手段
32…要素算出手段
33…LUT参照手段
34…補間手段
DESCRIPTION OF SYMBOLS 10 ... Learning part 11, 14 ... LUT conversion object image processing means 11a ... Input terminal 11b ... Output terminal 12 ... Input means 13 ... Update means 15 ... Parameter setting means 20 ... LUT (lookup table)
30 ... Processing unit 31 ... Pre-conversion means 32 ... Element calculation means 33 ... LUT reference means 34 ... Interpolation means

Claims (13)

学習部とルックアップテーブルと処理部とで構成され、
前記学習部は、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段と、入力色空間における画素値を前記画像処理手段に入力する入力手段と、入力色空間における画素値と該画素値を前記画像処理手段に入力した結果得られる出力画素値との対応を前記ルックアップテーブルに書き込む更新手段とを備え、
前記処理部は、画像処理の対象となる入力画素値に対応する出力画素値を前記ルックアップテーブルから読み出す読み出し手段を備えることを特徴とする画像処理装置。
It consists of a learning unit, a lookup table, and a processing unit.
The learning unit is an image processing unit that performs an operation to be a lookup table and can observe an output value with respect to an input value; and a pixel value in an input color space is the image processing unit. Input means for input to the input table, and update means for writing the correspondence between the pixel value in the input color space and the output pixel value obtained as a result of inputting the pixel value to the image processing means into the lookup table,
The image processing apparatus, wherein the processing unit includes a reading unit that reads an output pixel value corresponding to an input pixel value to be subjected to image processing from the lookup table.
前記学習部の前記入力手段は、入力色空間に設定された格子点の画素値を前記画像処理手段に入力するものであり、前記学習部の前記更新手段は、入力色空間における格子点の画素値と該画素値を前記画像処理手段に入力した結果得られる出力画素値との対応を前記ルックアップテーブルに書き込むものであり、前記処理部の前記読み出し手段は、入力画素値近傍の複数の格子点の出力画素値を前記ルックアップテーブルから読み出すものであり、且つ、前記処理部に、前記読み出し手段により読み出された出力画素値を用いて補間処理を行うことによって、前記入力画素値に対応する補間処理された出力画素値を生成する補間手段を備えることを特徴とする請求項1に記載の画像処理装置。   The input unit of the learning unit inputs pixel values of lattice points set in an input color space to the image processing unit, and the update unit of the learning unit includes pixels of lattice points in the input color space. A correspondence between the value and the output pixel value obtained as a result of inputting the pixel value to the image processing means is written to the lookup table, and the reading means of the processing unit includes a plurality of grids in the vicinity of the input pixel value. The output pixel value of the point is read from the lookup table, and the processing unit is adapted to the input pixel value by performing an interpolation process using the output pixel value read by the reading unit. The image processing apparatus according to claim 1, further comprising an interpolation unit that generates an output pixel value subjected to interpolation processing. 前記画像処理手段は、1以上の処理手段を含み、前記処理手段で実行される処理の内容は外部から与えられるパラメータによって決定されることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the image processing unit includes one or more processing units, and the content of the processing executed by the processing unit is determined by a parameter given from outside. 前記学習部は、前記画像処理手段の前記処理手段に対するパラメータの設定変更を行うパラメータ設定手段を備えることを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the learning unit includes a parameter setting unit that changes a parameter setting for the processing unit of the image processing unit. 入力色空間を複数の小領域である要素に分割した場合の各要素の頂点を前記格子点とすることを特徴とする請求項2乃至4の何れか1項に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein vertices of each element when the input color space is divided into elements that are a plurality of small regions are set as the lattice points. 前記要素が直方体の形状を有することを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the element has a rectangular parallelepiped shape. 前記ルックアップテーブルは、前記要素の頂点に対応する出力画素値を各頂点に1対1に対応する要素から構成される3次元配列中の当該頂点に対応する配列要素に記憶することを特徴とする請求項6に記載の画像処理装置。   The look-up table stores an output pixel value corresponding to a vertex of the element in an array element corresponding to the vertex in a three-dimensional array composed of elements corresponding to each vertex on a one-to-one basis. The image processing apparatus according to claim 6. 入力色空間の各軸を2のべき乗である値Nで分割してできる直方体を前記要素とする請求項6に記載の画像処理装置。   7. The image processing apparatus according to claim 6, wherein a rectangular parallelepiped formed by dividing each axis of the input color space by a value N that is a power of 2 is used as the element. 請求項1乃至8の何れか1項に記載する画像処理装置を内蔵する画像表示装置。   An image display device incorporating the image processing device according to claim 1. ルックアップテーブルと処理部とで構成され、
前記ルックアップテーブルは、入力色空間における画素値と、ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段に対して前記画素値を入力したときに前記画像処理手段から出力される出力画素値との対応が書き込まれており、
前記処理部は、画像処理の対象となる入力画素値に対応する出力画素値を前記ルックアップテーブルから読み出す読み出し手段を備えることを特徴とする画像処理装置。
It consists of a lookup table and a processing unit.
The look-up table is an image processing unit that executes a pixel value in the input color space and an operation that is a target of the look-up table, and is an image processing unit that can observe an output value for the input value. The correspondence with the output pixel value output from the image processing means when the pixel value is input is written,
The image processing apparatus, wherein the processing unit includes a reading unit that reads an output pixel value corresponding to an input pixel value to be subjected to image processing from the lookup table.
ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段と、入力色空間における画素値を前記画像処理手段に入力する入力手段と、入力色空間における画素値と該画素値を前記画像処理手段に入力した結果得られる出力画素値との対応をルックアップテーブルに書き込む更新手段とを備えることを特徴とするルックアップテーブル作成装置。   Image processing means for executing an operation to be looked up into a table and capable of observing an output value with respect to an input value; and input means for inputting a pixel value in an input color space to the image processing means And an update means for writing a correspondence between a pixel value in the input color space and an output pixel value obtained as a result of inputting the pixel value to the image processing means into a look-up table. . a)学習部が、ルックアップテーブル化の対象となる演算を実行する画像処理手段に対して入力色空間における画素値を入力し、該入力した画素値に対して前記画像処理手段から出力される画素値を取得するステップと、
b)前記学習部が、前記画像処理手段に対して入力した画素値と該画素値に対して前記画像処理手段から出力される画素値との対応をルックアップテーブルに書き込むステップと、
c)処理部が、画像処理の対象となる入力画素値に対する出力画素値を前記ルックアップテーブルから読み出すステップとを含むことを特徴とする画像処理方法。
a) The learning unit inputs a pixel value in the input color space to an image processing unit that executes an operation to be a lookup table, and the input pixel value is output from the image processing unit. Obtaining a pixel value;
b) the learning unit writing a correspondence between a pixel value input to the image processing unit and a pixel value output from the image processing unit to the pixel value in a lookup table;
and c) a step of reading out an output pixel value corresponding to an input pixel value to be subjected to image processing from the lookup table.
ルックアップテーブルを有するコンピュータを、
ルックアップテーブル化の対象となる演算を実行する画像処理手段であって入力値に対する出力値を観測することのできる画像処理手段に対して、入力色空間における画素値を入力する入力手段と、
入力色空間における画素値と該画素値を前記画像処理手段に入力した結果得られる出力画素値との対応を前記ルックアップテーブルに書き込む更新手段と、
画像処理の対象となる入力画素値に対応する出力画素値を前記ルックアップテーブルから読み出す読み出し手段として機能させるためのプログラム。
A computer having a lookup table,
An input means for inputting a pixel value in the input color space to an image processing means for executing an operation to be looked up table and capable of observing an output value for the input value;
Updating means for writing a correspondence between a pixel value in the input color space and an output pixel value obtained as a result of inputting the pixel value to the image processing means to the lookup table;
A program for causing an output pixel value corresponding to an input pixel value to be subjected to image processing to function as a reading unit that reads from the lookup table.
JP2008207692A 2008-08-12 2008-08-12 Image processing device Expired - Fee Related JP5131083B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008207692A JP5131083B2 (en) 2008-08-12 2008-08-12 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008207692A JP5131083B2 (en) 2008-08-12 2008-08-12 Image processing device

Publications (2)

Publication Number Publication Date
JP2010045558A true JP2010045558A (en) 2010-02-25
JP5131083B2 JP5131083B2 (en) 2013-01-30

Family

ID=42016577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008207692A Expired - Fee Related JP5131083B2 (en) 2008-08-12 2008-08-12 Image processing device

Country Status (1)

Country Link
JP (1) JP5131083B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082174A1 (en) * 2014-11-28 2016-06-02 深圳市尊正数字视频有限公司 Toning monitor and real-time toning method
WO2021166254A1 (en) * 2020-02-21 2021-08-26 ソニーグループ株式会社 Information processing device, program, and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102865A (en) * 1994-08-03 1996-04-16 Fuji Xerox Co Ltd Method and device for deciding color conversion coefficient
JP2007208956A (en) * 2006-01-05 2007-08-16 Sharp Corp Image processing apparatus, image forming apparatus, control method of image processing apparatus, image processing program, and computer-readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102865A (en) * 1994-08-03 1996-04-16 Fuji Xerox Co Ltd Method and device for deciding color conversion coefficient
JP2007208956A (en) * 2006-01-05 2007-08-16 Sharp Corp Image processing apparatus, image forming apparatus, control method of image processing apparatus, image processing program, and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016082174A1 (en) * 2014-11-28 2016-06-02 深圳市尊正数字视频有限公司 Toning monitor and real-time toning method
WO2021166254A1 (en) * 2020-02-21 2021-08-26 ソニーグループ株式会社 Information processing device, program, and method

Also Published As

Publication number Publication date
JP5131083B2 (en) 2013-01-30

Similar Documents

Publication Publication Date Title
JP5914045B2 (en) Image processing apparatus, image processing method, and program
US10424269B2 (en) Flexible addressing for a three dimensional (3-D) look up table (LUT) used for gamut mapping
US11170690B2 (en) Pixel leakage and internal resistance compensation systems and methods
JP5131083B2 (en) Image processing device
JP2006238188A (en) Interpolation filter and video signal processing device
JP5757463B2 (en) 2D color gradation display device
JP2016158223A (en) Image compression device, image compression method and image compression program
KR20070084887A (en) Visualization method and tuning method of 3*3 matrix&#39;s coefficients for color correction and computer-readable medium for recording the method
JP2009044426A (en) Image processor
JP6361195B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP4693649B2 (en) Image processing apparatus and image data interpolation method
JPH01121930A (en) Data processor
JP7500254B2 (en) Data processing device and control method thereof
JP2004246671A (en) Lookup table formation method, computer program, and imaging device
JP5349931B2 (en) Information processing apparatus, information processing method, and program
JP4416415B2 (en) Look-up table creation method, computer program, and imaging apparatus
KR101835764B1 (en) Driver ic apparatus including correction function
JP2004309736A (en) Special effect device, and device, method, and program for generation of address signal
JP2008054294A (en) Color conversion method, color conversion program and color conversion apparatus
JP5441539B2 (en) Color processing apparatus, color processing method, and program
JP2021189458A (en) Device, method, and program
JP2007288590A (en) Color conversion method
JP2014165584A (en) Image reduction device, radar system, image reduction method and program
JP2020170221A (en) Program for converting program, information processing apparatus and information processing method
JP2005301540A (en) Memory device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120625

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20120712

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

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

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees