JP2008097223A - Image correction and adjustment device, and method - Google Patents

Image correction and adjustment device, and method Download PDF

Info

Publication number
JP2008097223A
JP2008097223A JP2006276854A JP2006276854A JP2008097223A JP 2008097223 A JP2008097223 A JP 2008097223A JP 2006276854 A JP2006276854 A JP 2006276854A JP 2006276854 A JP2006276854 A JP 2006276854A JP 2008097223 A JP2008097223 A JP 2008097223A
Authority
JP
Japan
Prior art keywords
correction adjustment
adjustment table
data
range
straight line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006276854A
Other languages
Japanese (ja)
Inventor
Hisashi Sugawara
久 菅原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006276854A priority Critical patent/JP2008097223A/en
Publication of JP2008097223A publication Critical patent/JP2008097223A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image correction and adjustment device using a correction and adjustment table in which image correction and adjustment information is recorded for properly compressing the correction and adjustment table, and for reducing the capacity required for the recording of the correction and adjustment table. <P>SOLUTION: This image correction and adjustment circuit, for correcting and adjusting and outputting an input image by a correction and adjustment table, configured of a linear section and curve section, is provided with a linear-range determining part for determining that the specific range of the correction and adjustment table is a linear range and a table generating part for generating the correction and adjustment table, by thinning the linear section with predetermined intervals. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は画像データを補正、調整するための装置およびその方法に関する。   The present invention relates to an apparatus and method for correcting and adjusting image data.

近年、カラースキャナやデジタルカメラなどのデジタル画像入力機器が普及している。このようなデジタル画像入力機器により作成されたデジタル画像を画像処理装置によりディスプレイに表示する際、ディスプレイの色再現範囲が十分でないために、黒つぶれや白浮きなどの現象が発生することがある。また、フラットパネルはRGBの特性が均一でない場合があり、RGBに同じ値を入力しても正しい白やグレーにならず、青っぽい色や赤っぽい色がつく場合がある。このような場合には、入力データであるデジタル画像の映像信号に対して画像の階調性に補正や調整を加えて出力する。図11はMPEG技術等により符号化された動画データを補正調整し、フラットパネル等の出力装置に表示する装置の全体構成図である。入力された圧縮ビデオストリームはビデオデコーダ1によりYUV(Yは輝度信号、UおよびVは色差信号)信号にデコードされる。デコードされたデータは、スケーラ2により解像度等が変換される。スケーラから出力されたデータはカラースペースコンバータ3によりRGB信号として出力される。かかるRGB信号は色調整部1101により色調整され、出力装置5に出力される。補正や調整には、入力と出力との関係を参照するために作成した補正調整テーブルである、ルックアップテーブル(Look Up Table;以下、LUTと略称する)が用いられる。また、ビデオ解析部1102はLUTを生成するために画像のRGB値の分布を解析する。この解析結果及びユーザーの設定値等よりCPU7でLUTを生成する。LUTを画像処理用LSI等の記憶部8に記録する場合、記憶部8は論理回路に比べてLSIのチップ面積に影響を与える度合いが大きいため、LUTのデータ数の増加に伴い、LSIのチップ面積は大きくなる。そうすると画像処理装置のプリント基板に実装されるLSIの実装面積が増大することとなり、コストアップの原因となるだけでなく、画像処理装置の小型化を妨げる要因ともなる。   In recent years, digital image input devices such as color scanners and digital cameras have become widespread. When a digital image created by such a digital image input device is displayed on a display by an image processing apparatus, a phenomenon such as blackening or whitening may occur because the color reproduction range of the display is not sufficient. Further, the flat panel may not have uniform RGB characteristics, and even if the same value is input to RGB, it may not be correct white or gray, and may have a bluish or reddish color. In such a case, the image tone of the digital image, which is input data, is corrected and adjusted and output. FIG. 11 is an overall configuration diagram of an apparatus that corrects and adjusts moving image data encoded by the MPEG technology and displays it on an output device such as a flat panel. The input compressed video stream is decoded by the video decoder 1 into a YUV signal (Y is a luminance signal, U and V are color difference signals). The resolution of the decoded data is converted by the scaler 2. Data output from the scaler is output as RGB signals by the color space converter 3. The RGB signals are color-adjusted by the color adjustment unit 1101 and output to the output device 5. For correction and adjustment, a lookup table (Look Up Table; hereinafter abbreviated as LUT), which is a correction adjustment table created to refer to the relationship between input and output, is used. In addition, the video analysis unit 1102 analyzes the distribution of RGB values of the image in order to generate an LUT. The CPU 7 generates an LUT from the analysis result and the user setting value. When the LUT is recorded in the storage unit 8 such as an image processing LSI, the storage unit 8 has a greater influence on the chip area of the LSI than the logic circuit. Therefore, as the number of LUT data increases, the LSI chip is increased. The area becomes larger. As a result, the mounting area of the LSI mounted on the printed circuit board of the image processing apparatus increases, which not only causes an increase in cost, but also hinders downsizing of the image processing apparatus.

図12は従来の補正調整回路の概略図である。入力信号に対して制御回路1201は補正に必要なLUTデータを記憶部12から読み出し、補正後の信号を出力する。   FIG. 12 is a schematic diagram of a conventional correction adjustment circuit. In response to the input signal, the control circuit 1201 reads LUT data necessary for correction from the storage unit 12 and outputs a corrected signal.

特許文献1は、ある出力画像を得るために異なる複数のLUTを用いる必要がある場合、それらのLUTを1つに統合することで、メモリ容量や処理量の大幅な増大を招来することなくユーザが希望する画像処理を実現する画像処理方法を提供している。
特開2002−33922号公報
In Patent Document 1, when it is necessary to use a plurality of different LUTs in order to obtain a certain output image, the LUTs are integrated into a single one without causing a significant increase in memory capacity and processing amount. Provides an image processing method for realizing desired image processing.
JP 2002-33922 A

しかし、近年の高画質化にともない、LUTの階層数は増加する傾向にある。例えば入力データがRGB3原色の画像データの場合、画像データのRGBを各8bitとすると、RGB1原色当り256階調存在するので、RGB別々のLUTを格納すると、256ワード×8bit×3原色で6,144bitのメモリ容量が必要となる。さらに階層数が12bitになると、4,096ワード×12bit×3原色で147,456bitのメモリ容量が必要となる。さらに、輝度情報などを考慮すると、必要なメモリ容量はさらに大きくなる。したがって、階層数が増えると、仮にLUTを1つに統合してもメモリ容量の増大という問題を解決できない。   However, with the recent increase in image quality, the number of LUT layers tends to increase. For example, when the input data is RGB 3 primary color image data, assuming that the RGB of the image data is 8 bits each, there are 256 gradations per RGB primary color. Therefore, if RGB separate LUTs are stored, 256 words × 8 bits × 3 primary colors 6 A 144-bit memory capacity is required. Furthermore, when the number of layers is 12 bits, a memory capacity of 147,456 bits is required for 4,096 words × 12 bits × 3 primary colors. Furthermore, when considering luminance information and the like, the required memory capacity is further increased. Therefore, if the number of hierarchies increases, the problem of increased memory capacity cannot be solved even if LUTs are integrated into one.

本発明は、上記の問題点を解決するためになされたものであり、メモリ容量を大幅に削減することの出来る画像補正調整装置および画像補正調整方法の提供を目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image correction adjustment apparatus and an image correction adjustment method capable of greatly reducing the memory capacity.

上述した課題を解決し、目的を達成するために、本発明に係る画像補正調整回路は、直線部と曲線部により構成された補正調整テーブルにより入力画像を補正調整し出力する画像補正調整回路であって、補正調整テーブルの所定の範囲が直線範囲であることを判定する直線範囲判定部と、直線範囲について所定の間隔で間引きした補正調整テーブルを生成するテーブル生成部と、を有することを特徴とする。   In order to solve the above-described problems and achieve the object, an image correction adjustment circuit according to the present invention is an image correction adjustment circuit that corrects and outputs an input image by using a correction adjustment table configured by a straight line portion and a curve portion. A linear range determination unit that determines that the predetermined range of the correction adjustment table is a linear range, and a table generation unit that generates a correction adjustment table obtained by thinning out the linear range at a predetermined interval. And

上記構成によれば、データの復元が容易な直線部分の補正調整テーブルデータのみを間引くことが出来、補正調整テーブルによる変換精度を損なうことなく、補正調整テーブルの記憶に必要なメモリ容量を削減することが出来る。また、メモリ容量の削減により、メモリ実装に必要なLSIのチップ面積を小さくし、コストダウンを図ることが出来る。   According to the above configuration, it is possible to thin out only the straight line correction adjustment table data for which data restoration is easy, and reduce the memory capacity required for storing the correction adjustment table without impairing the conversion accuracy of the correction adjustment table. I can do it. Further, by reducing the memory capacity, it is possible to reduce the chip area of the LSI required for memory mounting and reduce the cost.

本発明の実施の一形態を図に基づいて説明する。図1は本実施例における画像処理装置全体の構成図である。ビデオデコーダ1は、入力された圧縮ビデオストリームをデコードする。圧縮形式としては例えばMPEGが挙げられるが、これに限定するものではない。スケーラ2は、デコードデータの映像サイズをフラットパネル等の出力装置5に応じて変換する。カラースペースコンバータ3は、YUV信号をRGB信号に変換して出力する。   An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of the entire image processing apparatus according to the present embodiment. The video decoder 1 decodes the input compressed video stream. An example of the compression format is MPEG, but is not limited thereto. The scaler 2 converts the video size of the decoded data according to the output device 5 such as a flat panel. The color space converter 3 converts the YUV signal into an RGB signal and outputs it.

出力されたRGB信号はLUT生成部6および色調整演算部4に入力される。LUT生成部6は、入力された1フレームの映像のRGB値の分布を解析し後述の圧縮方法に基づいて圧縮したLUTを生成する。生成したLUTは、記憶部8に記憶する。また色調整演算部4は、記憶部8に記憶したLUTを参照し、RGB信号の色調整を行い、出力装置5に映像データを出力する。   The output RGB signal is input to the LUT generation unit 6 and the color adjustment calculation unit 4. The LUT generation unit 6 analyzes the RGB value distribution of the input image of one frame and generates a compressed LUT based on a compression method described later. The generated LUT is stored in the storage unit 8. Further, the color adjustment calculation unit 4 refers to the LUT stored in the storage unit 8, performs color adjustment of the RGB signal, and outputs video data to the output device 5.

図2は、図1における色調整演算部4の詳細構成図である。色調整演算部4は、範囲開始レジスタ100、範囲情報レジスタ101、制御回路102、補間演算回路104を備えている。本実施例において、記憶部12は図1における記憶部と同一であるが、LUT記録用に別の記憶部を設けても良い。   FIG. 2 is a detailed configuration diagram of the color adjustment calculation unit 4 in FIG. The color adjustment calculation unit 4 includes a range start register 100, a range information register 101, a control circuit 102, and an interpolation calculation circuit 104. In the present embodiment, the storage unit 12 is the same as the storage unit in FIG. 1, but another storage unit may be provided for LUT recording.

範囲開始レジスタ100は、LUTのグラフを直線範囲および曲線範囲に分割するための分割点を記憶している。範囲情報レジスタ101は、範囲開始レジスタ100により分割された各区間が直線であるか曲線であるかの情報を記憶している。記憶部103は、画像入力データを補正調整するための圧縮されたLUTデータを記憶している。   The range start register 100 stores division points for dividing the LUT graph into a linear range and a curved range. The range information register 101 stores information on whether each section divided by the range start register 100 is a straight line or a curve. The storage unit 103 stores compressed LUT data for correcting and adjusting image input data.

RGBデータが入力されると、制御回路102は範囲開始レジスタ100、範囲情報レジスタ101、および記憶部12を読み出す。制御回路102は読み出したこれらのデータを元に圧縮されたLUTデータから必要な出力データを算出し、さらに後述の通り必要に応じて補間演算回路104により補間演算を行うことで、補正調整後の画像を出力する。   When RGB data is input, the control circuit 102 reads the range start register 100, the range information register 101, and the storage unit 12. The control circuit 102 calculates necessary output data from the compressed LUT data based on these read data, and further performs interpolation calculation by the interpolation calculation circuit 104 as necessary, as described later, so that after the correction adjustment. Output an image.

図3は本実施例におけるLUTデータの入力と出力の関係をグラフ化したものである。本実施例では入力データを0〜255の256階調とし、A=80、B=100、C=160、D=200で直線範囲と曲線範囲に分割しているものとする。また、本実施例では直線範囲を2階調ごとに間引いて記憶している。具体的には、直線範囲において入力データが偶数(0、2、4、・・・)の場合のLUTのみを記憶部12に格納する。図4は範囲開始レジスタ100に記憶したデータを表現したものであり、LUTの直線範囲と曲線範囲との分割点であるA,B,C,Dを記憶している。図5は範囲情報レジスタ101に記憶したデータを表現したものであり、LUTの各範囲が直線範囲であるか曲線範囲であるかを記憶する。本実施例では直線を0、曲線を1として記憶しているが、これに限定するものではない。   FIG. 3 is a graph showing the relationship between input and output of LUT data in this embodiment. In this embodiment, it is assumed that the input data has 256 gradations of 0 to 255, and is divided into a linear range and a curved range with A = 80, B = 100, C = 160, and D = 200. In this embodiment, the linear range is thinned out every two gradations and stored. Specifically, only the LUT when the input data is an even number (0, 2, 4,...) In the linear range is stored in the storage unit 12. FIG. 4 expresses data stored in the range start register 100, and stores A, B, C, and D, which are division points between the LUT linear range and the curved range. FIG. 5 represents data stored in the range information register 101, and stores whether each range of the LUT is a linear range or a curved range. In this embodiment, the straight line is stored as 0 and the curved line is stored as 1, but the present invention is not limited to this.

図6は2階調ごとの間のデータを間引くことが出来るか否かの判定方法を表現したものである。例えば入力データnに対するテーブルデータTnを間引くことが出来るか判定するためには、入力n−1に対するテーブルデータTn-1と、入力n+1に対するテーブルデータTn+1とで補間演算を行い、Tn’を求める。式1は補間演算のための式である。

Figure 2008097223
FIG. 6 represents a method for determining whether or not data between two gradations can be thinned out. For example, in order to determine whether the table data T n for the input data n can be thinned out, an interpolation operation is performed on the table data T n−1 for the input n −1 and the table data T n + 1 for the input n + 1. Find T n '. Expression 1 is an expression for interpolation calculation.
Figure 2008097223

n’−Tnの絶対値|Tn’−Tn|が、あらかじめ決めておいた閾値THよりも大きくなる場合には曲線範囲と判定し、THよりも小さくなる場合には直線範囲と判定する。 'Absolute value of -T n | T n' T n -T n | is determined that the curve range when larger than the threshold TH that has been predetermined, and the linear range in the case of smaller than TH judge.

図7はLUTデータの直線範囲/曲線範囲判定フローである。S100でn=0から開始し、S101でnが奇数か否かを判定する。奇数の場合はS102において式1に基づいてTn’を計算する。S103では計算したTn’と閾値THとを比較し、曲線範囲と判定した場合には判定値An=0とし、曲線範囲と判定した場合にはAn=1とする。S104ではnが1か否かを判定し、1で無い場合はS105を実行する。S105では今回求めたAnと、すでに求めたAn-2とを比較し、An≠An-2の場合には範囲開始レジスタにn−1を格納し(S106)、範囲情報レジスタにAnを格納する(S107)。S108でnをカウントアップし、nが254であれば、本実施例の入力データが256階調なので判定処理を終了する(S109)。 FIG. 7 is a straight line range / curve range determination flow of LUT data. In step S100, the process starts from n = 0. In step S101, it is determined whether n is an odd number. In the case of an odd number, T n ′ is calculated based on Equation 1 in S102. S103 is compared with T n 'with a threshold value TH which calculated in, when it is determined that the curve range and the judgment value A n = 0, when it is determined that the curve range and A n = 1. In S104, it is determined whether or not n is 1. If it is not 1, S105 is executed. In S105, A n obtained this time is compared with A n−2 already obtained. If A n ≠ A n−2 , n−1 is stored in the range start register (S106), and the range information register is stored. An is stored (S107). In step S108, n is incremented. If n is 254, the input data of this embodiment is 256 gradations, and the determination process is terminated (S109).

本実施例において、図4の範囲開始レジスタには、前述の通りA=80、B=100、C=160、D=200が格納され、図5の範囲情報レジスタには0−A間に0、A−B間に1、B−C間に0、C−D間に1、D−255間に0が格納される。   In this embodiment, A = 80, B = 100, C = 160, and D = 200 are stored in the range start register of FIG. 4 as described above, and the range information register of FIG. , 1 between A and B, 0 between B and C, 1 between C and D, and 0 between D and 255.

図8は本実施例における記憶部12のデータ格納イメージである。図8において、Tnは、入力データがnの場合におけるLUTデータを意味している。LUTデータを格納する記憶容量値は、従来の技術では1原色当り256ワードが必要なところ、本実施例では直線範囲を2階調ごとに間引いているため、必要な容量値を80/2+20+60/2+40+56/2=158ワードに削減することが出来る。また、入力データ=255のLUTデータの直線判定は、入力データ=256が存在しないため判定できないので、そのまま格納する。よって、本実施例におけるLUT格納に必要な記憶部12の容量値は158+1=159ワードとなり、約40%の容量削減となる。削減率は、直線範囲が多くなるほど大きくなる。 FIG. 8 is a data storage image of the storage unit 12 in this embodiment. In FIG. 8, T n means LUT data when the input data is n. The storage capacity value for storing the LUT data is 256 words per primary color in the conventional technique. However, in this embodiment, the linear range is thinned out every two gradations, so the required capacity value is 80/2 + 20 + 60 / It can be reduced to 2 + 40 + 56/2 = 158 words. Further, the straight line determination of the LUT data with the input data = 255 cannot be determined because the input data = 256 does not exist, and is stored as it is. Therefore, the capacity value of the storage unit 12 necessary for storing the LUT in this embodiment is 158 + 1 = 159 words, which is a capacity reduction of about 40%. The reduction rate increases as the linear range increases.

図9は入力データをLUTで補正調整し、出力するためのフローである。後述する図10に記載のアドレス算出フローにより、入力データに対応するアドレス値を算出する(S200)。入力データが偶数の場合、または入力データが曲線の範囲にある場合、図8の通りLUTのデータが記憶部に存在する。従って、算出したアドレス値をもとにテーブルデータを読み出し(S202)、読み出したデータをそのまま出力すればよい(S203)。   FIG. 9 is a flow for correcting and outputting input data using the LUT. An address value corresponding to the input data is calculated by an address calculation flow described later with reference to FIG. 10 (S200). When the input data is an even number or when the input data is within the range of the curve, LUT data exists in the storage unit as shown in FIG. Therefore, the table data may be read based on the calculated address value (S202), and the read data may be output as it is (S203).

一方、入力データが奇数であり、かつ直線範囲にある場合、当該データは記憶部の記憶容量削減のために間引いているため、図8のテーブルデータに存在しない。そこで、ステップS200で算出したアドレスAおよびその隣のアドレスA+1に格納されたテーブルデータを読み出す(S204)。読み出したテーブルデータを元に直線補間を行い(S205)、補間演算結果を出力することにより(S206)、入力データが奇数であり、かつ直線範囲にある場合のテーブルデータを出力することが出来る。   On the other hand, when the input data is an odd number and is in the linear range, the data is thinned out to reduce the storage capacity of the storage unit, and therefore does not exist in the table data of FIG. Therefore, the table data stored in the address A calculated in step S200 and the adjacent address A + 1 is read (S204). By performing linear interpolation based on the read table data (S205) and outputting an interpolation calculation result (S206), it is possible to output table data when the input data is an odd number and within the linear range.

図10Aおよび図10Bは、図9のフローにおけるアドレス算出ステップ(S202、S203およびS207)の詳細なフローである。図10Aはアドレス算出のための前準備となるフローであり、図10Bは、図10Aにより算出されたパラメータおよび図4の範囲開始レジスタの値からアドレスを算出するフローである。なお、図10に用いられているnと、図7におけるnとは無関係である。   10A and 10B are detailed flowcharts of the address calculation step (S202, S203, and S207) in the flow of FIG. FIG. 10A is a flow for preparation for address calculation, and FIG. 10B is a flow for calculating an address from the parameter calculated by FIG. 10A and the value of the range start register of FIG. Note that n used in FIG. 10 and n in FIG. 7 are irrelevant.

図10Aでは、範囲情報レジスタの値Inを元に、新たな変数In'の値を定義する。各範囲情報レジスタ値Inについて、In=0の場合、In'=2とし、In=1の場合、In'=1とする(S300)。当該処理はn=0から開始され、n=m−1となるまで繰り返される(S301)。ここで、mは範囲情報レジスタ数である。 In FIG. 10A, based on the value I n of the range information register, to define a new value of the variable I n '. For each range information register value I n , if I n = 0, I n ′ = 2, and if I n = 1, I n ′ = 1 (S300). The process starts from n = 0 and is repeated until n = m−1 (S301). Here, m is the number of range information registers.

図10Bでは、図10Aで求めたIn'および範囲開始レジスタの値Snを用い、入力されたデータDinに対して出力すべきデータが格納されているアドレスを算出する。データDinが入力されると(S400)、DinとS0との大小関係を比較する(S401)。DinがS0以下の場合、アドレスAをステップS410により算出し、アドレス算出処理を終了する。 In FIG. 10B, the address where the data to be output is stored for the input data Din is calculated using I n ′ obtained in FIG. 10A and the value S n of the range start register. When data Din is input (S400), compares the magnitude relation between Din and S 0 (S401). If Din is equal to or less than S 0 , the address A is calculated in step S410, and the address calculation process ends.

DinがS0よりも大きい場合(S401)、まずアドレスAをS0/I0'とする(S402)。nをカウントアップし(S403)、n=m−1かどうかを判定する(S401)。n=m−1である場合、さらにDin=Dmaxであれば(S406)、アドレスAをステップS409により算出し、アドレス算出処理を終了する。一方、Din≠Dmaxであれば(S406)、アドレスAをステップS408により算出し、アドレス算出処理を終了する。なお、DmaxはLUTにおける入力データの最大値であり、本実施例ではDmax=255となる。 Din is larger than S 0 (S401), first, the address A to S 0 / I 0 '(S402 ). n is counted up (S403), and it is determined whether n = m-1 (S401). If n = m−1 and Din = Dmax (S406), the address A is calculated in step S409, and the address calculation process is terminated. On the other hand, if Din ≠ Dmax (S406), the address A is calculated in step S408, and the address calculation process is terminated. Note that Dmax is the maximum value of input data in the LUT, and in this embodiment, Dmax = 255.

ステップS404においてn≠m−1であり、かつDinがSn以下の場合(S405)、ステップS408によりアドレスAを算出し、アドレス算出処理を終了する。 If n ≠ m−1 and Din is equal to or smaller than S n in step S404 (S405), address A is calculated in step S408, and the address calculation process is terminated.

一方、DinがSnよりも大きい場合(S407)、アドレスAをステップS407により算出し、ステップS403から上記の処理を再度行う。そして、n=m−1となるか、あるいはDinがSn以下になるまで処理を繰り返す(S404、S405)。   On the other hand, when Din is larger than Sn (S407), the address A is calculated in step S407, and the above processing is performed again from step S403. Then, the process is repeated until n = m−1 or Din becomes Sn or less (S404, S405).

以上より、曲線部分のLUTデータをそのまま保存し、直線部分のLUTデータを間引くことで、LUTの保持に必要な記憶容量の圧縮を実現する。また、図10のアドレス算出および直線補間演算を行うことにより、圧縮されたLUTデータから、入力データに対応する所望の出力データを得ることが出来る。   As described above, the LUT data of the curve portion is stored as it is, and the LUT data of the straight line portion is thinned out, thereby realizing the compression of the storage capacity necessary for holding the LUT. Further, by performing the address calculation and linear interpolation calculation of FIG. 10, desired output data corresponding to the input data can be obtained from the compressed LUT data.

本実施例における画像処理装置全体の構成図である。It is a block diagram of the whole image processing apparatus in a present Example. 本実施例における補正調整回路の構成図である。It is a block diagram of the correction | amendment adjustment circuit in a present Example. 本実施例におけるLUTをグラフ表示したものである。The LUT in a present Example is displayed as a graph. 本実施例における範囲開始レジスタのメモリマップである。It is a memory map of the range start register in a present Example. 本実施例における範囲情報レジスタのメモリマップである。It is a memory map of the range information register in the present embodiment. 本実施例における直線部の判定をグラフ化したものである。The determination of the straight line part in a present Example is graphed. LUTデータの直線/曲線判定フローである。It is a straight line / curve determination flow of LUT data. 本実施例におけるLUT格納RAMのメモリマップである。It is a memory map of LUT storage RAM in a present Example. 本実施例におけるデータの補正調整フローである。It is a data correction adjustment flow in the present embodiment. 本実施例におけるアドレス算出のための前準備フローである。It is a preparatory flow for address calculation in a present Example. 本実施例におけるアドレス算出フローである。It is an address calculation flow in the present embodiment. 従来技術における画像処理装置全体の構成図である。It is a block diagram of the whole image processing apparatus in a prior art. 従来技術における補正調整回路の構成図である。It is a block diagram of the correction adjustment circuit in a prior art.

符号の説明Explanation of symbols

1 ビデオデコーダ
2 スケーラ
3 カラースペースコンバータ
4 色調整演算部
5 出力装置
6 LUT生成部
7 CPU
8 記憶部
100 範囲開始レジスタ
101 範囲情報レジスタ
102 制御回路
104 補間演算回路
1101 色調整部
1102 ビデオ解析部
1201 制御回路
DESCRIPTION OF SYMBOLS 1 Video decoder 2 Scaler 3 Color space converter 4 Color adjustment calculation part 5 Output device 6 LUT production | generation part 7 CPU
8 Storage Unit 100 Range Start Register 101 Range Information Register 102 Control Circuit 104 Interpolation Operation Circuit 1101 Color Adjustment Unit 1102 Video Analysis Unit 1201 Control Circuit

Claims (5)

直線部と曲線部により構成された補正調整テーブルにより入力データを補正調整し出力する画像補正調整回路であって、
前記補正調整テーブルの所定の範囲が直線範囲であることを判定する直線範囲判定部と、
前記直線範囲について所定の間隔で間引きした補正調整テーブルを生成するテーブル生成部と、
を有することを特徴とする画像補正調整装置。
An image correction adjustment circuit that corrects and outputs input data by a correction adjustment table configured by a straight line portion and a curve portion,
A linear range determination unit that determines that the predetermined range of the correction adjustment table is a linear range;
A table generator for generating a correction adjustment table thinned out at a predetermined interval for the linear range;
An image correction adjustment apparatus comprising:
請求項1に記載の画像補正調整装置であって、さらに
前記補正調整テーブルが格納されたアドレスを算出するアドレス算出部と、
前記アドレス算出部による算出結果に基づき前記補正調整テーブルを読み出すテーブル制御部と、
前記補正調整テーブルが有する間引きされた直線部に対して補間演算を行う補間演算部と、
を有することを特徴とする画像補正調整装置。
The image correction adjustment apparatus according to claim 1, further comprising: an address calculation unit that calculates an address at which the correction adjustment table is stored;
A table control unit that reads out the correction adjustment table based on a calculation result by the address calculation unit;
An interpolation calculation unit that performs an interpolation calculation on the thinned linear part of the correction adjustment table;
An image correction adjustment apparatus comprising:
前記テーブル制御部は、
前記補正調整テーブルについて、前記入力データに隣接する前後のデータに対応する出力データを結ぶ直線にある、該入力データに対応する値と、補正調整テーブルにおける出力データの値との差分の絶対値と、直線部を判定するための閾値とを設け、該差分の絶対値が該閾値よりも小さい場合に直線部と判定する判定部を有することを特徴とする、請求項1または2に記載の画像補正調整装置。
The table control unit
About the correction adjustment table, the absolute value of the difference between the value corresponding to the input data and the value of the output data in the correction adjustment table, which is on a straight line connecting the output data corresponding to the preceding and subsequent data adjacent to the input data, The image according to claim 1, further comprising a determination unit that determines a straight line part when a threshold value for determining a straight line part is provided and the absolute value of the difference is smaller than the threshold value. Correction adjustment device.
請求項1から3のいずれかに記載の画像補正調整装置であって、さらに
前記補正調整テーブルの直線部と曲線部との開始位置を記憶する範囲開始レジスタと、
前記開始位置により分割された前記補正調整テーブルの1つの範囲が直線部であることを記憶する範囲情報レジスタと、
を有することを特徴とする画像補正調整装置。
The image correction adjustment device according to any one of claims 1 to 3, further comprising a range start register that stores a start position of a straight line portion and a curve portion of the correction adjustment table;
A range information register for storing that one range of the correction adjustment table divided by the start position is a linear portion;
An image correction adjustment apparatus comprising:
直線部と曲線部により構成された補正調整テーブルにより入力データを補正調整し出力する画像補正調整方法であって、
前記補正調整テーブルの所定の範囲が直線であることを判定し、
直線部について所定の間隔で間引きした補正調整テーブルを生成し、
入力データに対する補正調整テーブルデータが格納されたアドレスを算出し、
前記アドレスの算出結果に基づき補正調整テーブルデータを読み出し、
前記補正調整テーブルデータが間引き後の直線部である場合には、該直線部に対して補間演算を行う
ことを特徴とする、画像補正調整方法。


An image correction adjustment method for correcting and outputting input data by a correction adjustment table configured by a straight line portion and a curve portion,
Determining that the predetermined range of the correction adjustment table is a straight line;
Generate a correction adjustment table that is thinned at a predetermined interval for the straight line part,
Calculate the address where the correction adjustment table data for the input data is stored,
Read correction adjustment table data based on the calculation result of the address,
When the correction adjustment table data is a linear portion after thinning, an interpolation calculation is performed on the linear portion.


JP2006276854A 2006-10-10 2006-10-10 Image correction and adjustment device, and method Pending JP2008097223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006276854A JP2008097223A (en) 2006-10-10 2006-10-10 Image correction and adjustment device, and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006276854A JP2008097223A (en) 2006-10-10 2006-10-10 Image correction and adjustment device, and method

Publications (1)

Publication Number Publication Date
JP2008097223A true JP2008097223A (en) 2008-04-24

Family

ID=39380022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006276854A Pending JP2008097223A (en) 2006-10-10 2006-10-10 Image correction and adjustment device, and method

Country Status (1)

Country Link
JP (1) JP2008097223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019049705A (en) * 2017-09-11 2019-03-28 アップル インコーポレイテッドApple Inc. Boundary gain system and method for electronic display

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019049705A (en) * 2017-09-11 2019-03-28 アップル インコーポレイテッドApple Inc. Boundary gain system and method for electronic display

Similar Documents

Publication Publication Date Title
US20040213457A1 (en) Image processor, image processing method, and recording medium on which image processing program is recorded
JP2004163842A (en) Image data processor, image data processing method, and liquid crystal display device
JP2004118432A (en) Method and apparatus for gamma correction as well as system for reading pictures
JP2009044500A (en) Image display device, image processor, and image processing method
JP2010183232A (en) Color gamut conversion device
JP2010199659A (en) Image processing apparatus, and image processing method
JP2006145850A (en) Data outputting method and device, liquid crystal panel driving device using the same, and liquid crystal display device
JP6376767B2 (en) Image processing apparatus and image processing method
JP4131158B2 (en) Video signal processing device, gamma correction method, and display device
JP2010245709A (en) Color conversion table preparing method and color conversion output device
JP2006050042A (en) Image processing apparatus
JP2008097223A (en) Image correction and adjustment device, and method
US20090086090A1 (en) Picture signal processing apparatus and picture signal processing method
JP2005260405A (en) Image processor and image processing method
US8264586B2 (en) Imaging apparatus
JP4816129B2 (en) Image processing apparatus and imaging apparatus
JP2008227959A (en) Image processing device, image processing method and image processing system
JP4608509B2 (en) Composite lookup table creation device, composite lookup table creation method, and printing device
JP2014219724A (en) Image processor, method for controlling image processor, and program
JP2005215612A (en) Gradation correcting circuit, image display device and image processing method
JP4773739B2 (en) Image processing method
US8559054B2 (en) Color conversion method based on error correction table
JP2011119928A (en) Image processing device and image processing method
JP2009218962A (en) Color conversion output device, color conversion output method, color conversion output program, color conversion table, color conversion table recording medium, and color conversion integrated circuit
JP2006139697A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080731