JP2014093592A - Image processing device and image processing program - Google Patents

Image processing device and image processing program Download PDF

Info

Publication number
JP2014093592A
JP2014093592A JP2012241736A JP2012241736A JP2014093592A JP 2014093592 A JP2014093592 A JP 2014093592A JP 2012241736 A JP2012241736 A JP 2012241736A JP 2012241736 A JP2012241736 A JP 2012241736A JP 2014093592 A JP2014093592 A JP 2014093592A
Authority
JP
Japan
Prior art keywords
color
conversion
conversion unit
area
signal
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
JP2012241736A
Other languages
Japanese (ja)
Inventor
Shinji Hanaoka
新治 花岡
Hiroyoshi Kamijo
裕義 上條
Tadashi Amaya
征 天谷
Kazuhiro Otani
和宏 大谷
Shigeru Okada
茂 岡田
Minoru Sodeura
稔 袖浦
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2012241736A priority Critical patent/JP2014093592A/en
Publication of JP2014093592A publication Critical patent/JP2014093592A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device which, in a simple configuration as compared with the case without the present configuration, can perform color conversion in each of color regions with optimum accuracy.SOLUTION: A first conversion unit 11 obtains a color signal after conversion corresponding to a color signal imparted by interpolation by using a conversion table in which a color value after conversion is correlated with a color point arranged in a given color region. A second conversion unit 12 obtains a color signal after conversion corresponding to a color signal imparted by interpolation by using a conversion table in which a color value after conversion is correlated with a color point arranged in a partial color region of the color region subject to conversion by the first conversion unit 11. Color conversion by the first conversion unit 11 and the second conversion unit 12 are executed in parallel, and either a color signal after conversion by the first conversion unit 11 or a color signal after conversion by the second conversion unit 12 is selected in a selection unit 13 before being outputted.

Description

本発明は、画像処理装置及び画像処理プログラムに関するものである。   The present invention relates to an image processing apparatus and an image processing program.

従来より、例えばある色空間の色信号から別の色空間の色信号へ変換するなど、与えられた色信号を別の色信号へ変換する色変換の処理が行われている。色変換を行う方法の一つとして、変換前の色と変換後の色を対応づけた変換表を用いる方法がある。例えば、ある色空間のある色領域に色点を配置し、その色点に変換後の色値を対応づけた変換表を作成しておく。そして、与えられた色信号から変換表に登録されているいくつかの色点を特定して、対応づけられている変換後の色値を得て補間し、与えられた色信号に対応する変換後の色信号を得る。   Conventionally, color conversion processing for converting a given color signal into another color signal, such as conversion from a color signal in one color space into a color signal in another color space, has been performed. One method for performing color conversion is to use a conversion table in which colors before conversion and colors after conversion are associated with each other. For example, a color point is arranged in a certain color area of a certain color space, and a conversion table in which the converted color value is associated with the color point is created. Then, it identifies some color points registered in the conversion table from the given color signal, obtains the corresponding color value after conversion and interpolates it, and converts it corresponding to the given color signal A later color signal is obtained.

色領域に配置する色点は、その色空間を構成する各色成分の値の範囲をいくつかに分割し、各色成分における分割点の組み合わせとなる色を用いている場合がある。このような場合、分割数を多くするほど補間によって得られる変換後の色信号の精度は向上するが、組み合わせの数が多くなって変換表のデータ量が増加することになる。   In some cases, the color points arranged in the color area divide the range of the values of each color component constituting the color space into several parts and use a color that is a combination of the division points in each color component. In such a case, the accuracy of the color signal after conversion obtained by interpolation increases as the number of divisions increases, but the number of combinations increases and the amount of data in the conversion table increases.

ある変換表を用いて色変換を行った場合、色領域の部分によって、精度のバラツキがあり、また、必要とされる精度にも違いがある。このように色領域の中でも部分により精度の違いがあること対応し、例えば特許文献1では、色成分の値の範囲を等分せずに、精度の違いに応じて分割して色点を配置し、色領域の各部分に応じた精度を得ている。   When color conversion is performed using a certain conversion table, there are variations in accuracy depending on the portion of the color area, and the required accuracy is also different. In this way, it corresponds to the difference in accuracy depending on the part in the color region. For example, in Patent Document 1, the color point value is divided and arranged according to the difference in accuracy without equally dividing the range of color component values. In addition, the accuracy corresponding to each part of the color region is obtained.

また、特許文献2では、変換表として基本テーブルと詳細テーブルを備え、基本テーブルよりも精度を要求される部分については、変換後の色値に代えて詳細テーブルへのアドレス情報を対応づけておき、そのアドレス情報に従って詳細テーブルを参照して色変換を行っている。この構成の場合、詳細テーブルを使用して色変換を行う際には最初に基本テーブルを参照してから詳細テーブルを参照することになる。また、基本テーブルには、変換後の色値と詳細テーブルへのアドレス情報という、異なる種類の情報が混在することになり、いずれの情報であるかを判定しながら処理を行ってゆくことになる。   Further, in Patent Document 2, a basic table and a detailed table are provided as conversion tables, and for parts that require higher accuracy than the basic table, address information to the detailed table is associated in place of the converted color values. The color conversion is performed by referring to the detailed table according to the address information. In the case of this configuration, when performing color conversion using the detailed table, the basic table is first referred to and then the detailed table is referred to. In addition, different types of information, that is, the converted color value and the address information to the detailed table, are mixed in the basic table, and processing is performed while determining which information is the information. .

特開2005−244620号公報JP 2005-244620 A 特開2011−029853号公報JP 2011-029853 A

本発明は、本構成を有しない場合に比べて簡易な構成で、色領域の各部において最適な精度で色変換を行うことができる画像処理装置および画像処理プログラムを提供することを目的とするものである。   It is an object of the present invention to provide an image processing apparatus and an image processing program capable of performing color conversion with optimum accuracy in each part of a color area with a simpler configuration than the case without this configuration. It is.

本願請求項1に記載の発明は、ある色領域に配置した色点に変換後の色値を対応づけた変換表を用いて補間により与えられた色信号に対応する変換後の色信号を得る第1の変換手段と、前記色領域の部分色領域に配置した色点に変換後の色値を対応づけた変換表を用いて補間により与えられた色信号に対応する変換後の色信号を得る1以上の第2の変換手段と、与えられた色信号により前記第1の変換手段またはいずれかの前記第2の変換手段を選択する選択手段を有することを特徴とする画像処理装置である。   The invention according to claim 1 of the present application obtains a color signal after conversion corresponding to a color signal given by interpolation using a conversion table in which color values after conversion are associated with color points arranged in a certain color area. A converted color signal corresponding to a color signal given by interpolation using a first conversion means and a conversion table in which the converted color value is associated with a color point arranged in the partial color area of the color area. An image processing apparatus comprising: one or more second conversion means to be obtained; and a selection means for selecting the first conversion means or any one of the second conversion means according to a given color signal. .

本願請求項2に記載の発明は、本願請求項1に記載の発明における前記部分色領域が、前記色領域のうちの予め決められた明度以上の明度の色の領域であることを特徴とする画像処理装置である。   The invention according to claim 2 of the present application is characterized in that the partial color region in the invention according to claim 1 of the present invention is a color region having a lightness equal to or higher than a predetermined lightness in the color region. An image processing apparatus.

本願請求項3に記載の発明は、本願請求項1に記載の発明における前記部分色領域が、前記色領域のうちの予め決められた彩度以下の彩度の色の領域であることを特徴とする画像処理装置である。   The invention according to claim 3 of the present application is characterized in that the partial color area in the invention according to claim 1 of the present invention is an area of a color of saturation less than or equal to a predetermined saturation in the color area. The image processing apparatus.

本願請求項4に記載の発明は、コンピュータに、請求項1から請求項3のいずれか1項に記載の画像処理装置の機能を実行させるものであることを特徴とする画像処理プログラムである。   An invention according to claim 4 of the present application is an image processing program for causing a computer to execute the function of the image processing apparatus according to any one of claims 1 to 3.

本願請求項1に記載の発明によれば、本構成を有しない場合に比べて簡易な構成で、色領域の各部において最適な精度で色変換を行うことができるという効果がある。   According to the first aspect of the present invention, there is an effect that it is possible to perform color conversion with optimum accuracy in each part of the color region with a simple configuration as compared with the case where this configuration is not provided.

本願請求項2に記載の発明によれば、予め決められた明度以上の明度の色の領域において、本構成を有しない場合に比べて精度よく色変換を行うことができる。   According to the second aspect of the present invention, it is possible to perform color conversion with higher accuracy in a color region having a lightness equal to or higher than a predetermined lightness as compared with a case where the present configuration is not provided.

本願請求項3に記載の発明によれば、予め決められた彩度以下の彩度の色の領域において、本構成を有しない場合に比べて精度よく色変換を行うことができる。   According to the third aspect of the present invention, color conversion can be performed with higher accuracy in a color area having a saturation equal to or lower than a predetermined saturation as compared with a case where the present configuration is not provided.

本願請求項4に記載の発明によれば、本願請求項1から請求項3のいずれか1項に記載の発明の効果を得ることができる。   According to the invention described in claim 4 of the present application, the effect of the invention described in any one of claims 1 to 3 of the present application can be obtained.

本発明の実施の一形態を示す構成図である。It is a block diagram which shows one Embodiment of this invention. 第1変換部11で用いられる変換表の一例の説明図である。It is explanatory drawing of an example of the conversion table used by the 1st conversion part. 第2変換部12における部分色領域の一例の説明図である。FIG. 10 is an explanatory diagram illustrating an example of a partial color area in a second conversion unit. 本発明の実施の一形態の変形例を示す構成図である。It is a block diagram which shows the modification of one Embodiment of this invention. 本発明の実施の一形態及びその変形例で説明した機能をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体とコンピュータの一例の説明図である。FIG. 16 is an explanatory diagram of an example of a computer program, a storage medium storing the computer program, and a computer when the functions described in the embodiment of the present invention and the modifications thereof are realized by a computer program.

図1は、本発明の実施の一形態を示す構成図である。図中、11は第1変換部、12は第2変換部、13は選択部である。図1においては、一例としてLAB色空間の色信号が与えられ、CMYK色空間の色信号に変換するものとして示し、以降はこの例に沿って説明する。しかし、与えられる色信号の色空間及び変換後の色信号の色空間はこの例に限られるものではなく、いずれも種々の色空間であってよい。   FIG. 1 is a configuration diagram showing an embodiment of the present invention. In the figure, 11 is a first conversion unit, 12 is a second conversion unit, and 13 is a selection unit. In FIG. 1, a color signal in the LAB color space is given as an example, and it is shown that it is converted into a color signal in the CMYK color space, and the following description will be given along this example. However, the color space of the given color signal and the color space of the color signal after conversion are not limited to this example, and any color space may be used.

第1変換部11は、ある色領域に配置した色点に変換後の色値を対応づけた変換表を用いて、補間により与えられた色信号に対応する変換後の色信号を得る。色領域は、与えられる色信号の色空間において色信号が取り得る色を含む領域である。   The first conversion unit 11 obtains a color signal after conversion corresponding to the color signal given by interpolation, using a conversion table in which the converted color value is associated with color points arranged in a certain color area. The color area is an area including colors that can be taken by the color signal in the color space of the given color signal.

第2変換部12は、第1変換部11が色変換の対象としている色領域のうちの部分色領域を変換の対象とし、その部分色領域に配置した色点に変換後の色値を対応づけた変換表を用いて、補間により与えられた色信号に対応する変換後の色信号を得る。部分色領域は、例えば、第1変換部11が色変換の対象としている色領域のうちの予め決められた明度以上の明度の色の領域や、予め決められた彩度以下の彩度の色の領域などとするとよい。部分色領域に配置する色点は、少なくとも当該部分色領域においては第1変換部11で使用する変換表で配置されている色点よりも多く配置され、当該部分色領域では第1変換部11よりも精度よく色変換が行われる。   The second conversion unit 12 converts the partial color region of the color region that is the target of the color conversion by the first conversion unit 11 and converts the converted color value to the color point arranged in the partial color region. Using the converted conversion table, a color signal after conversion corresponding to the color signal given by interpolation is obtained. The partial color area is, for example, a color area having a lightness equal to or higher than a predetermined lightness among color areas targeted for color conversion by the first conversion unit 11 or a color having a saturation lower than a predetermined saturation. It is good to set it as the area. The number of color points to be arranged in the partial color area is arranged more than the color points arranged in the conversion table used in the first conversion unit 11 at least in the partial color area, and the first conversion unit 11 in the partial color area. Color conversion is performed with higher accuracy.

なお、この第2変換部12は、この例では1つを図示しているが、2以上設けて、第1変換部11が色変換の対象としている色領域のうちの複数の部分色領域でそれぞれ対応する第2変換部12が色変換を行ってもよい。   In this example, one second conversion unit 12 is illustrated, but two or more second conversion units 12 are provided, and a plurality of partial color regions of the color regions that the first conversion unit 11 is subject to color conversion are provided. The corresponding second conversion units 12 may perform color conversion.

選択部13は、与えられた色信号により第1変換部11または第2変換部12(第2変換部12が複数存在する場合にはそのいずれか)を選択する。図1に示した例では、第1変換部11で変換された色信号または第2変換部12で変換された色信号のいずれかを選択して色変換結果としている。   The selection unit 13 selects the first conversion unit 11 or the second conversion unit 12 (if there are a plurality of second conversion units 12) based on the given color signal. In the example illustrated in FIG. 1, either the color signal converted by the first conversion unit 11 or the color signal converted by the second conversion unit 12 is selected to obtain a color conversion result.

上述した本発明の実施の一形態における構成について、さらに説明する。第1変換部11は従来から行われている変換表を用いた色変換処理を行うが、簡単にその処理の概要を説明しておく。図2は、第1変換部11で用いられる変換表の一例の説明図である。図2(A)には、色領域に色点を配置した一例を示している。与えられる色信号の色空間を、ここではLAB色空間としているので、それぞれの色成分が取り得る値の範囲を、L* 成分がLl以上Lh以下、a* 成分がal以上ah以下、b* 成分がbl以上bh以下とし、この範囲が変換の対象となる色領域とする。そして、それぞれの色成分が取り得る範囲をいくつかに分割し、それぞれの色成分における分割点の組み合わせで表される色点を、図2(A)では黒点により示している。この黒点で示した色点について色変換後の色値を求め、対応づけてゆく。例えばそれぞれの色成分の範囲をn分割する場合、始点及び終点を含めた分割点は(n+1)個であり、3つの色成分について分割点の組み合わせは(n+1)3 個となる。変換表には、この(n+1)3 個の色点に対応するアドレスに、それぞれの変換後の色値が格納される。変換表の一例を図2(B)に示している。 The configuration in the embodiment of the present invention described above will be further described. The first conversion unit 11 performs a color conversion process using a conversion table that has been conventionally performed. The outline of the process will be briefly described. FIG. 2 is an explanatory diagram of an example of a conversion table used in the first conversion unit 11. FIG. 2A shows an example in which color points are arranged in the color area. Since the color space of the given color signal is the LAB color space here, the range of values that each color component can take is as follows: L * component is L1 to Lh, a * component is al to ah, b * The component is bl to bh, and this range is the color area to be converted. Then, the range that each color component can take is divided into several parts, and the color point represented by the combination of division points in each color component is indicated by a black dot in FIG. The color values after color conversion are obtained for the color points indicated by the black dots, and are associated with each other. For example, when each color component range is divided into n, the number of division points including the start point and the end point is (n + 1), and there are (n + 1) 3 combinations of division points for the three color components. In the conversion table, the converted color values are stored at addresses corresponding to the (n + 1) 3 color points. An example of the conversion table is shown in FIG.

第1変換部11では、このような変換表を用い、変換表に登録されている変換後の色値を補間処理することにより、与えられた色信号に対応する変換後の色値を算出する。色信号が与えられると、その色信号に応じて変換表に登録されている変換後の色値が読み出され、補間処理が行われる。補間方法は既存の方法でよく、使用する補間方法に応じて変換表から変換後の色値が読み出され、補間処理が行われることになる。例えば三角錐補間であれば、与えられた色信号の色が含まれる三角錐を特定して頂点となる4つの色点に対応する色値を変換表から読み出し、補間処理を行えばよい。立方体補間を行うのであれば、与えられた色信号の色が含まれる立方体(直方体)を特定して頂点となる8つの色点に対応する色値を変換表から読み出し、補間処理を行えばよい。他の補間方法でも、その方法に応じて色点に対応する変換後の色値を変換表から読み出して補間処理を行えばよい。得られた値を、与えられた色信号に対応する変換後の色信号として出力する。図1に示した例では、第1変換部11による変換後の色信号をC1M1Y1K1としている。   The first conversion unit 11 calculates a color value after conversion corresponding to a given color signal by interpolating the color value after conversion registered in the conversion table using such a conversion table. . When a color signal is given, the converted color value registered in the conversion table is read according to the color signal, and interpolation processing is performed. The interpolation method may be an existing method, and color values after conversion are read from the conversion table according to the interpolation method to be used, and interpolation processing is performed. For example, in the case of triangular pyramid interpolation, a triangular pyramid including the color of a given color signal is specified, and color values corresponding to four color points that are vertices are read from the conversion table, and interpolation processing is performed. If cube interpolation is to be performed, a cube (rectangular solid) containing the color of the given color signal is specified, color values corresponding to the eight color points at the vertices are read from the conversion table, and interpolation processing is performed. . In other interpolation methods, the color value after conversion corresponding to the color point may be read from the conversion table according to the method, and interpolation processing may be performed. The obtained value is output as a color signal after conversion corresponding to the given color signal. In the example shown in FIG. 1, the color signal after the conversion by the first conversion unit 11 is C1M1Y1K1.

第2変換部12も、補間方法に応じて変換表から変換後の色値を読み出して補間処理を行う。その際の変換表として、第1変換部11が色変換の対象としている色領域のうちの部分色領域において作成した変換表を用いる。図3は、第2変換部12における部分色領域の一例の説明図である。図3(B)には図2(A)に示した第1変換部11で用いる変換表を作成する際の色領域及び色点を示している。第2変換部12で用いる変換表は、図3(B)に示した色点を含む色領域のうちの部分色領域において作成される。部分色領域の例を図3(A)に示している。部分色領域は、L* 成分がLx1以上Lx2以下(Ll≦Lx1、Lx2≦Lh)、a* 成分がay1以上ay2以下(al≦ay1、ay2≦ah)、b* 成分がbz1以上bz2以下(bl≦bz1、bz2≦bh)の範囲として設定すればよい。この例では、明度(L* )軸を含みLx2=Lhとなる、明度がLx1以上の色領域を部分色領域としている。部分色領域の一例を図3(A)に示している。 The second conversion unit 12 also reads out the converted color value from the conversion table according to the interpolation method, and performs an interpolation process. As the conversion table at that time, a conversion table created by the first conversion unit 11 in the partial color region of the color regions to be subjected to color conversion is used. FIG. 3 is an explanatory diagram of an example of a partial color area in the second conversion unit 12. FIG. 3B shows color areas and color points when creating a conversion table used in the first conversion unit 11 shown in FIG. The conversion table used in the second conversion unit 12 is created in the partial color area of the color area including the color point shown in FIG. An example of the partial color area is shown in FIG. In the partial color region, the L * component is Lx1 or more and Lx2 or less (L1 ≦ Lx1, Lx2 ≦ Lh), the a * component is ay1 or more and ay2 or less (al ≦ ay1, ay2 ≦ ah), and the b * component is bz1 or more and bz2 or less ( bl ≦ bz1, bz2 ≦ bh). In this example, a color region including the lightness (L * ) axis and having Lx2 = Lh and having a lightness of Lx1 or more is defined as a partial color region. An example of the partial color area is shown in FIG.

このような部分色空間に色点を配置し、色点に対応する変換後の色値を変換表に登録する。配置する色点は、例えば部分色領域における各色成分の取り得る範囲をいくつかに分割し、それぞれの色成分における分割点の組み合わせで表される色点とする。この色点を、図3(A)では黒点により示している。色点は、少なくとも当該部分色領域においては第1変換部11で使用する変換表で配置されている色点よりも多く配置する。図3(A)に示した例では、色点の間隔を図3(B)に黒点で示した色点の間隔に比べて1/2にしている。もちろん、どの程度の色点を配置するかはこの例に限られるものではない。図3(A)に黒点で示した色点について色変換後の色値を求め、対応づけてゆく。変換表には、それぞれの色点に対応するアドレスに、それぞれの変換後の色値が格納される。   Color points are arranged in such a partial color space, and converted color values corresponding to the color points are registered in the conversion table. The color point to be arranged is, for example, a color point represented by a combination of division points in each color component by dividing a range that can be taken by each color component in the partial color region. This color point is indicated by a black dot in FIG. At least in the partial color area, the color points are arranged more than the color points arranged in the conversion table used in the first conversion unit 11. In the example shown in FIG. 3A, the color point interval is halved compared to the color point interval shown by the black dots in FIG. Of course, how many color points are arranged is not limited to this example. Color values after color conversion are obtained for color points indicated by black dots in FIG. In the conversion table, each converted color value is stored at an address corresponding to each color point.

第2変換部12では、部分色領域において作成された変換表を用い、与えられた色信号に対して補間方法に応じて変換表から変換後の色値を読み出し、補間処理を行って、与えられた色信号に対応する変換後の色信号を得る。部分色領域においては第1変換部11で用いる変換表よりも色点が多く配置されており、その部分色領域では第1変換部11よりも精度よく色変換された色信号が得られる。第2変換部12で変換された後の色信号を、図1においてはC2M2Y2K2としている。   The second conversion unit 12 uses the conversion table created in the partial color region, reads the converted color value from the conversion table according to the interpolation method for the given color signal, performs interpolation processing, and gives A converted color signal corresponding to the received color signal is obtained. In the partial color region, more color points are arranged than in the conversion table used in the first conversion unit 11, and in the partial color region, a color signal subjected to color conversion with higher accuracy than the first conversion unit 11 is obtained. The color signal after being converted by the second converter 12 is C2M2Y2K2 in FIG.

なお、与えられた色信号は部分色領域外の色を示している場合もある。そのような場合には、それぞれの色成分について範囲の端点、具体的にはL* 成分であればLx1またはLx2、a* 成分であればay1またはay2、b* 成分であればbz1またはbz2として変換後の色信号を得ればよい。あるいは、変換後の色信号を固定値とするなど、どのような値としてもよい。 The given color signal may indicate a color outside the partial color area. In such a case, the end point of the range for each color component, specifically, Lx1 or Lx2 for the L * component, ay1 or ay2 for the a * component, bz1 or bz2 for the b * component What is necessary is just to obtain the color signal after conversion. Alternatively, any value such as a fixed color signal after conversion may be used.

図3(A)に示した部分色領域の例では、明度がLx1以上の明度軸を含む領域とした。この部分色領域では、画像を形成する際の媒体の色を補正していたり、灰色について明度軸との相違を補正しているなど、他の部分色領域に比べて色変換の際の精度が要求される領域である。この部分色領域における色変換を第2変換部12で行えば、第1変換部11で色変換を行う場合に比べて精度よく色変換が行われることになる。   In the example of the partial color region shown in FIG. 3A, the region includes a lightness axis having a lightness of Lx1 or more. In this partial color area, the color at the time of color conversion is corrected compared to other partial color areas, such as correcting the color of the medium at the time of image formation or correcting the difference from the lightness axis for gray. This is the required area. If the color conversion in the partial color region is performed by the second conversion unit 12, the color conversion is performed with higher accuracy than when the first conversion unit 11 performs the color conversion.

さらに、図3(A)に示した部分色領域の例では、a* 成分をay1以上ay2以下、b* 成分をbz1以上bz2以下の範囲として、彩度を予め決められた彩度以下の領域に制限している。この場合、低彩度色において第1変換部11で色変換を行う場合に比べて精度よく色変換が行われ、低彩度色における色の識別性を向上させている。もちろん、他の領域を部分色領域としてもよいし、複数の部分色領域を設定し、それぞれの部分色領域に対応した第2変換部12を設けてもよい。 Furthermore, in the example of the partial color area shown in FIG. 3A, the a * component is in the range of ay1 to ay2 and the b * component is in the range of bz1 to bz2, and the saturation is a predetermined saturation or less area. Restricted to In this case, color conversion is performed with higher accuracy than in the case where the first conversion unit 11 performs color conversion in a low-saturation color, and the color discrimination in the low-saturation color is improved. Of course, other regions may be used as partial color regions, or a plurality of partial color regions may be set, and the second conversion unit 12 corresponding to each partial color region may be provided.

選択部13は、与えられた色信号により第1変換部11または第2変換部12を選択する。図1に示した例では、第1変換部11で変換された色信号であるC1M1Y1K1または第2変換部12で変換された色信号であるC2M2Y2K2のいずれかを選択して色変換結果CMYKとする。ここでは、第2変換部12で変換対象とする部分色領域をL* 成分がLx1以上Lx2以下(Ll≦Lx1、Lx2≦Lh)、a* 成分がay1以上ay2以下(al≦ay1、ay2≦ah)、b* 成分がbz1以上bz2以下(bl≦bz1、bz2≦bh)の範囲としている。与えられた色信号を(Li,ai,bi)とすると、Lx1≦Li≦Lx2、かつ、ay1≦ai≦ay2、かつ、bz1≦bi≦bz2である場合に第2変換部12の変換結果を選択し、この条件を満たさない場合に第1変換部11の変換結果を選択すればよい。 The selection unit 13 selects the first conversion unit 11 or the second conversion unit 12 based on the given color signal. In the example illustrated in FIG. 1, the color conversion result CMYK is selected by selecting either C1M1Y1K1 that is the color signal converted by the first conversion unit 11 or C2M2Y2K2 that is the color signal converted by the second conversion unit 12. . Here, the L * component is Lx1 or more and Lx2 or less (Ll ≦ Lx1, Lx2 ≦ Lh) and the a * component is ay1 or more and ay2 or less (al ≦ ay1, ay2 ≦). ah), b * component is in the range of bz1 to bz2 (bl ≦ bz1, bz2 ≦ bh). When the given color signal is (Li, ai, bi), the conversion result of the second conversion unit 12 is obtained when Lx1 ≦ Li ≦ Lx2, ay1 ≦ ai ≦ ay2, and bz1 ≦ bi ≦ bz2. If this condition is not satisfied, the conversion result of the first conversion unit 11 may be selected.

この条件は、与えられた色信号が部分色領域の色であるか否かを判定するものである。与えられた色信号が部分色領域の色であれば第2変換部12の変換結果を選択し、部分色領域の色でなければ第1変換部11の変換結果を選択することになる。もちろん、選択の条件は第2変換部12が色変換を行う部分色領域によって決まるものであり、上述の例に限られないことは言うまでもない。また、第2変換部12が複数存在する場合には、与えられた色信号がそれぞれの部分色領域の色であるか否かを判定し、いずれかの部分色領域の色であれば対応する第2変換部12の変換結果を選択し、いずれの部分色領域の色でもなければ第1変換部11の変換結果を選択すればよい。   This condition determines whether or not a given color signal is a color of a partial color area. If the given color signal is a color in the partial color region, the conversion result of the second conversion unit 12 is selected. If the color signal is not in the partial color region, the conversion result of the first conversion unit 11 is selected. Needless to say, the selection condition is determined by the partial color region in which the second conversion unit 12 performs color conversion, and is not limited to the above example. Further, when there are a plurality of second conversion units 12, it is determined whether or not a given color signal is a color of each partial color region, and if it is a color of any partial color region, it corresponds. The conversion result of the first conversion unit 11 may be selected if the conversion result of the second conversion unit 12 is selected and the color of any partial color region is not selected.

このような構成では、第1変換部11で用いる変換表を作成する際の色点の個数を色領域全体に渡って増やすよりも、部分色領域について色点を増やした変換表を用いた方がデータ量は少なくて済み、また、精度が要求される部分色領域について他の色領域よりも精度よく色変換が行われることになる。第1変換部11と第2変換部12による色変換の処理は並行して行われ、従来のように第1変換部11の変換表をアクセスしてから第2変換部12で色変換を行うといった順次処理は行われない。   In such a configuration, a method using a conversion table in which the color points are increased for the partial color area, rather than increasing the number of color points when creating the conversion table used in the first conversion unit 11 over the entire color area. However, the amount of data is small, and the color conversion is performed with higher accuracy in the partial color area where accuracy is required than in the other color areas. The color conversion processing by the first conversion unit 11 and the second conversion unit 12 is performed in parallel, and the second conversion unit 12 performs color conversion after accessing the conversion table of the first conversion unit 11 as in the past. Such sequential processing is not performed.

図4は、本発明の実施の一形態の変形例を示す構成図である。この変形例では、選択部13を第1変換部11及び第2変換部12の前段に設けた例を示している。選択部13は、与えられた色信号により第1変換部11または第2変換部12を選択して、選択した変換部へ与えられた色信号を渡し、色変換させる。第2変換部12が色変換を行う部分色領域が、L* 成分がLx1以上Lx2以下(Ll≦Lx1、Lx2≦Lh)、a* 成分がay1以上ay2以下(al≦ay1、ay2≦ah)、b* 成分がbz1以上bz2以下(bl≦bz1、bz2≦bh)の範囲である場合、与えられた色信号を(Li,ai,bi)とすると、Lx1≦Li≦Lx2、かつ、ay1≦ai≦ay2、かつ、bz1≦bi≦bz2の条件を満たす場合に与えられた色信号を第2変換部12に渡し、この条件を満たさない場合に与えられた色信号を第1変換部11に渡せばよい。選択部13から色信号が渡された第1変換部11または第2変換部12が色変換を行い、色変換後の色信号を出力することになる。 FIG. 4 is a configuration diagram showing a modification of the embodiment of the present invention. In this modification, an example is shown in which the selection unit 13 is provided upstream of the first conversion unit 11 and the second conversion unit 12. The selection unit 13 selects the first conversion unit 11 or the second conversion unit 12 based on the supplied color signal, passes the supplied color signal to the selected conversion unit, and performs color conversion. The partial color region in which the second conversion unit 12 performs color conversion is such that the L * component is Lx1 or more and Lx2 or less (L1 ≦ Lx1, Lx2 ≦ Lh), and the a * component is ay1 or more and ay2 or less (al ≦ ay1, ay2 ≦ ah) , B * component is in the range of bz1 or more and bz2 or less (bl ≦ bz1, bz2 ≦ bh), assuming that a given color signal is (Li, ai, bi), Lx1 ≦ Li ≦ Lx2 and ay1 ≦ The color signal given when the conditions of ai ≦ ay2 and bz1 ≦ bi ≦ bz2 are satisfied is passed to the second conversion unit 12, and the color signal given when the conditions are not satisfied is sent to the first conversion unit 11. Just give it. The first conversion unit 11 or the second conversion unit 12 to which the color signal is passed from the selection unit 13 performs color conversion and outputs the color signal after color conversion.

この変形例の構成では、第1変換部11と第2変換部12のいずれかによって色変換の処理が行われ、従来のように第1変換部11の変換表をアクセスしてから第2変換部12で色変換を行うといった順次処理は行われない。   In the configuration of this modification, the color conversion process is performed by either the first conversion unit 11 or the second conversion unit 12, and the second conversion is performed after accessing the conversion table of the first conversion unit 11 as in the past. Sequential processing such as color conversion by the unit 12 is not performed.

図5は、本発明の実施の一形態及びその変形例で説明した機能をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体とコンピュータの一例の説明図である。図中、21はプログラム、22はコンピュータ、31は光磁気ディスク、32は光ディスク、33は磁気ディスク、34はメモリ、41はCPU、42は内部メモリ、43は読取部、44はハードディスク、45はインタフェース、46は通信部である。   FIG. 5 is an explanatory diagram of an example of a computer program, a storage medium storing the computer program, and a computer when the functions described in the embodiment of the present invention and the modifications thereof are realized by a computer program. In the figure, 21 is a program, 22 is a computer, 31 is a magneto-optical disk, 32 is an optical disk, 33 is a magnetic disk, 34 is a memory, 41 is a CPU, 42 is an internal memory, 43 is a reading unit, 44 is a hard disk, 45 is An interface 46 is a communication unit.

上述の本発明の実施の一形態及びその変形例として説明した各部の機能の全部または部分的に、コンピュータが実行するプログラム21によって実現してもよい。その場合、そのプログラム21およびそのプログラムが用いるデータなどは、コンピュータによって読み取られる記憶媒体に記憶させておけばよい。記憶媒体とは、コンピュータのハードウェア資源に備えられている読取部43に対して、プログラムの記述内容に応じて、磁気、光、電気等のエネルギーの変化状態を引き起こして、それに対応する信号の形式で、読取部43にプログラムの記述内容を伝達するものである。例えば、光磁気ディスク31,光ディスク32(CDやDVDなどを含む)、磁気ディスク33,メモリ34(ICカード、メモリカード、フラッシュメモリなどを含む)等である。もちろんこれらの記憶媒体は、可搬型に限られるものではない。   You may implement | achieve the whole or a part of function of each part demonstrated as one Embodiment and its modification of the above-mentioned this invention with the program 21 which a computer runs. In this case, the program 21 and data used by the program may be stored in a storage medium that can be read by a computer. The storage medium refers to the reading unit 43 provided in the hardware resource of the computer, causing a change state of energy such as magnetism, light, electricity, etc. according to the description content of the program, and corresponding signals. In this format, the description content of the program is transmitted to the reading unit 43. For example, there are a magneto-optical disk 31, an optical disk 32 (including a CD and a DVD), a magnetic disk 33, a memory 34 (including an IC card, a memory card, a flash memory, and the like). Of course, these storage media are not limited to portable types.

これらの記憶媒体にプログラム21を格納しておき、例えばコンピュータ22の読取部43あるいはインタフェース45にこれらの記憶媒体を装着して、コンピュータからプログラム21を読み出し、内部メモリ42またはハードディスク44(磁気ディスクやシリコンディスクなどを含む)に記憶し、CPU41によってプログラム21を実行し、上述の本発明の実施の一形態及びその変形例として説明した機能が全部又は部分的に実現される。あるいは、通信路を介してプログラム21をコンピュータ22に転送し、コンピュータ22では通信部46でプログラム21を受信して内部メモリ42またはハードディスク44に記憶し、CPU41によってプログラム21を実行して実現してもよい。   The program 21 is stored in these storage media. For example, the storage medium 43 is mounted on the reading unit 43 or the interface 45 of the computer 22 to read the program 21 from the computer, and the internal memory 42 or the hard disk 44 (magnetic disk or the like). (Including a silicon disk etc.) and the program 21 is executed by the CPU 41, and the functions described as the above-described embodiment of the present invention and modifications thereof are realized in whole or in part. Alternatively, the program 21 is transferred to the computer 22 via the communication path, and the computer 22 receives the program 21 by the communication unit 46 and stores it in the internal memory 42 or the hard disk 44, and the program 21 is executed by the CPU 41. Also good.

なお、第1変換部11及び第2変換部12の処理で用いる変換表や部分色領域に関する情報についても、記憶媒体から読み出し、あるいは通信路を介して受け取って、内部メモリ42またはハードディスク44に記憶しておき、色信号の変換処理の際に読み出して使用すればよい。   Note that the information about the conversion table and the partial color area used in the processing of the first conversion unit 11 and the second conversion unit 12 is also read from the storage medium or received via a communication path and stored in the internal memory 42 or the hard disk 44. In addition, it may be read and used in the color signal conversion process.

コンピュータ22には、このほかインタフェース45を介して様々な装置と接続してもよい。例えば画像形成手段が接続され、色変換後の色信号に従って媒体上に画像を形成するように構成されていてもよい。あるいは表示手段が接続され、色変換後の色信号に従って画像を表示する構成であってもよい。さらに、画像読取装置が接続され、その画像読取装置で読み取った画像を色変換の対象としてもよい。もちろん、その他の装置が接続されていてもよいことは言うまでもない。   In addition, the computer 22 may be connected to various devices via an interface 45. For example, an image forming unit may be connected and configured to form an image on a medium according to the color signal after color conversion. Or a display means may be connected and the structure which displays an image according to the color signal after color conversion may be sufficient. Furthermore, an image reading device may be connected, and an image read by the image reading device may be a target for color conversion. Of course, it goes without saying that other devices may be connected.

なお、各構成が1台のコンピュータにおいて動作する必要はなく、処理段階に応じて別のコンピュータにより処理が実行されてもよい。また、他の処理とともに色変換の処理を行う場合には、他の処理を行うプログラムと一体として構成してもよい。さらに、部分的にハードウェアによって構成してもよいし、あるいは、すべてをハードウェアで構成してもよい。   Note that each component does not have to operate on one computer, and the processing may be executed by another computer depending on the processing stage. In addition, when color conversion processing is performed together with other processing, it may be configured integrally with a program for performing other processing. Furthermore, it may be partially configured by hardware, or all may be configured by hardware.

11…第1変換部、12…第2変換部、13…選択部、21…プログラム、22…コンピュータ、31…光磁気ディスク、32…光ディスク、33…磁気ディスク、34…メモリ、41…CPU、42…内部メモリ、43…読取部、44…ハードディスク、45…インタフェース、46…通信部。   DESCRIPTION OF SYMBOLS 11 ... 1st conversion part, 12 ... 2nd conversion part, 13 ... Selection part, 21 ... Program, 22 ... Computer, 31 ... Magneto-optical disk, 32 ... Optical disk, 33 ... Magnetic disk, 34 ... Memory, 41 ... CPU, 42 ... Internal memory, 43 ... Reading unit, 44 ... Hard disk, 45 ... Interface, 46 ... Communication unit.

Claims (4)

ある色領域に配置した色点に変換後の色値を対応づけた変換表を用いて補間により与えられた色信号に対応する変換後の色信号を得る第1の変換手段と、前記色領域の部分色領域に配置した色点に変換後の色値を対応づけた変換表を用いて補間により与えられた色信号に対応する変換後の色信号を得る1以上の第2の変換手段と、与えられた色信号により前記第1の変換手段またはいずれかの前記第2の変換手段を選択する選択手段を有することを特徴とする画像処理装置。   First conversion means for obtaining a color signal after conversion corresponding to a color signal given by interpolation using a conversion table in which color values after conversion are associated with color points arranged in a certain color area; and the color area One or more second conversion means for obtaining a color signal after conversion corresponding to a color signal given by interpolation using a conversion table in which color values after conversion are associated with color points arranged in the partial color area; An image processing apparatus comprising: a selection unit that selects the first conversion unit or any one of the second conversion units according to a given color signal. 前記部分色領域は、前記色領域のうちの予め決められた明度以上の明度の色の領域であることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the partial color area is a color area having a lightness equal to or higher than a predetermined lightness of the color areas. 前記部分色領域は、前記色領域のうちの予め決められた彩度以下の彩度の色の領域であることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the partial color area is an area having a saturation color equal to or lower than a predetermined saturation in the color area. コンピュータに、請求項1から請求項3のいずれか1項に記載の画像処理装置の機能を実行させるものであることを特徴とする画像処理プログラム。   An image processing program for causing a computer to execute the function of the image processing apparatus according to any one of claims 1 to 3.
JP2012241736A 2012-11-01 2012-11-01 Image processing device and image processing program Pending JP2014093592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012241736A JP2014093592A (en) 2012-11-01 2012-11-01 Image processing device and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012241736A JP2014093592A (en) 2012-11-01 2012-11-01 Image processing device and image processing program

Publications (1)

Publication Number Publication Date
JP2014093592A true JP2014093592A (en) 2014-05-19

Family

ID=50937406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012241736A Pending JP2014093592A (en) 2012-11-01 2012-11-01 Image processing device and image processing program

Country Status (1)

Country Link
JP (1) JP2014093592A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016190106A1 (en) * 2015-05-28 2016-12-01 シャープ株式会社 Image processing device and method for controlling same, and integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016190106A1 (en) * 2015-05-28 2016-12-01 シャープ株式会社 Image processing device and method for controlling same, and integrated circuit

Similar Documents

Publication Publication Date Title
US9710885B2 (en) Image processing apparatus, image processing method, and image processing system for performing sub-pixel interpolation
US11721000B2 (en) Image denoising method and apparatus, electronic device and non-transitory computer readalble storage medium
CN102918561B (en) The image processing pipeline of hardware and software boundary
CN102957846B (en) Image processing method, image processing apparatus and image pick-up device
US8824778B2 (en) Systems and methods for depth map generation
US10158790B2 (en) Image processing apparatus, image processing system, and image processing method
JP2007166562A (en) Color conversion apparatus and method, color conversion program, and storage medium
WO2017004953A1 (en) Numerical image conversion method and device, and storage medium and device
JP2014093592A (en) Image processing device and image processing program
JP5846363B2 (en) Image processing apparatus and image processing program
JP2010103733A (en) Color conversion table generating device, color conversion table, and image processing apparatus
JP5441535B2 (en) Image processing apparatus and image processing method
JP4849275B2 (en) Color conversion device, color conversion table generation device, image processing device, profile generation device, color conversion program, color conversion table generation program, image processing program, profile generation program
JP5494931B2 (en) Color conversion device, image signal pair storage device, image processing device, image forming device, color conversion processing program, image processing program
JP5696865B1 (en) Display control system, display control method, and display control program
CN103020896A (en) Image processing apparatus and image processing method
US11967297B2 (en) Color modulation method and apparatus for display, electronic device, and storage medium
EP2938059A2 (en) Color processing apparatus and color processing method
WO2023036182A1 (en) Method and apparatus for generating color mapping card
JP5692554B1 (en) Color conversion apparatus and color conversion program
JP6315937B2 (en) Data converter
JP5717176B2 (en) Image processing device
JP5488853B1 (en) Image reader with aberration correction function
JP5892313B2 (en) Color processing apparatus and color processing program
JP6233002B2 (en) Color conversion apparatus, method, and program