Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6740853B2 - Color conversion device and program - Google Patents
[go: Go Back, main page]

JP6740853B2 - Color conversion device and program - Google Patents

Color conversion device and program Download PDF

Info

Publication number
JP6740853B2
JP6740853B2 JP2016206099A JP2016206099A JP6740853B2 JP 6740853 B2 JP6740853 B2 JP 6740853B2 JP 2016206099 A JP2016206099 A JP 2016206099A JP 2016206099 A JP2016206099 A JP 2016206099A JP 6740853 B2 JP6740853 B2 JP 6740853B2
Authority
JP
Japan
Prior art keywords
color system
output value
unit
color
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016206099A
Other languages
Japanese (ja)
Other versions
JP2018067839A (en
Inventor
上田 健次
健次 上田
のり子 荒井
のり子 荒井
ちひろ 松隈
ちひろ 松隈
達也 並木
達也 並木
由利恵 石川
由利恵 石川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2016206099A priority Critical patent/JP6740853B2/en
Publication of JP2018067839A publication Critical patent/JP2018067839A/en
Application granted granted Critical
Publication of JP6740853B2 publication Critical patent/JP6740853B2/en
Active 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)

Description

本発明は、色変換装置及びプログラムに関する。 The present invention relates to a color conversion device and a program.

画像のハイライト領域におけるかぶりを抑制するために、色変換の出力値に負の数を設定する技術が知られている(例えば、特許文献1)。 There is known a technique of setting a negative number to an output value of color conversion in order to suppress fogging in a highlight region of an image (for example, Patent Document 1).

特開2003−153017号公報JP, 2003-153017, A

色変換の出力値に負の数を設定すると、ソフトウェアでの処理の高速化が困難である。高速化のためには、負の数が設定された出力値を0に変更するという方法が考えられるが、この方法では、出力値が負の数の場合と比べてかぶりが増えてしまう。
本発明は、ハイライト領域のかぶりの抑制とソフトウェア処理の高速化とを両立させることを目的とする。
If a negative number is set for the output value of color conversion, it is difficult to speed up the processing by software. For speeding up, a method of changing an output value set with a negative number to 0 is conceivable, but this method causes more fogging than a case where the output value is a negative number.
An object of the present invention is to achieve both suppression of fog in the highlight area and speeding up of software processing.

請求項1に係る発明は、第1表色系の色空間における格子点に第2表色系の出力値を対応付けたテーブルを有し、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点において、負の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を0に変更するとともに、正の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を予め定められた規則に従って削減する削減手段と、前記削減手段による削減後の前記第2表色系の出力値を用いた補間により、前記第1表色系の入力値に対する出力値を出力する出力手段とを備える色変換装置を提供する。
請求項2に係る発明は、請求項1に記載の色変換装置において、前記削減手段は、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点に対応付けられた0又は負の数の前記第2表色系の出力値の個数に応じて、正の数の前記第2表色系の出力値の値を削減する。
請求項3に係る発明は、請求項1に記載の色変換装置において、前記削減手段は、入力された前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点の各々について、当該格子点に対応付けられた前記第2表色系の出力値の値に応じて、当該出力値の値を削減する。
請求項4に係る発明は、コンピュータを、第1表色系の色空間における格子点に第2表色系の出力値を対応付けたテーブルを有し、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点において、負の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を0に変更するとともに、正の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を予め定められた規則に従って削減する削減手段と、前記削減手段による削減後の前記第2表色系の出力値を用いた補間により、前記第1表色系の入力値に対する出力値を出力する出力手段として機能させるためのプログラムを提供する。
The invention according to claim 1 has a table in which a grid point in a color space of the first color system is associated with an output value of the second color system, and the second value corresponding to the input value of the first color system is provided. If a negative number of output values of the second color system is associated with the plurality of grid points that interpolate the output value of the color system, the output value is changed to 0 and When a number of output values of the second color system are associated with each other, reduction means for reducing the output value according to a predetermined rule, and the second color system after reduction by the reduction means There is provided a color conversion device comprising: an output unit that outputs an output value corresponding to an input value of the first color system by interpolation using the output value.
The invention according to claim 2 is the color conversion device according to claim 1, wherein the reducing unit interpolates an output value of the second color system with respect to an input value of the first color system. The positive output value of the second color system is reduced according to the number of 0 or negative output values of the second color system associated with the point.
According to a third aspect of the present invention, in the color conversion apparatus according to the first aspect, the reduction unit interpolates a plurality of input values of the first color system and output values of the second color system. For each of the grid points of, the value of the output value is reduced according to the value of the output value of the second color system associated with the grid point.
According to a fourth aspect of the invention, the computer has a table in which the output values of the second color system are associated with the grid points in the color space of the first color system, and for the input values of the first color system. If a negative number of output values of the second color system is associated with the plurality of grid points that interpolate the output value of the second color system, the output value is changed to 0 and , A positive number is associated with the output value of the second color system, reduction means for reducing the output value according to a predetermined rule, and the second table after reduction by the reduction means. A program is provided for causing the output unit to output an output value corresponding to the input value of the first color system by interpolation using the output value of the color system.

請求項1、4に係る発明によれば、ハイライト領域のかぶりの抑制とソフトウェア処理の高速化とを両立させることができる。
請求項2に係る発明によれば、0又は負の数の出力値の個数に応じて、正の数の出力値の削減量を調整することができる
請求項3に係る発明によれば、出力値の値に応じて、出力値の削減量を調整することができる。
According to the inventions of claims 1 and 4, it is possible to achieve both suppression of fog in the highlight area and high-speed software processing.
According to the invention of claim 2, the reduction amount of the positive output value can be adjusted according to the number of output values of 0 or negative number. The reduction amount of the output value can be adjusted according to the value of the value.

複写機10の構成を示す図。FIG. 1 is a diagram showing a configuration of a copying machine 10. 色変換装置40のハードウェア構成を示す図。FIG. 3 is a diagram showing a hardware configuration of a color conversion device 40. L*a*b*表色系の色空間を示す図。The figure which shows the color space of L*a*b* color system. 1個の格子点を共有する8個の単位立方体を示す図。The figure which shows eight unit cubes which share one grid point. 色変換処理に係る機能ブロックを示す図。The figure which shows the functional block which concerns on a color conversion process. 第2色変換部22に係る色変換処理の手順を示す流れ図。The flowchart which shows the procedure of the color conversion process which concerns on the 2nd color conversion part 22. 色変換処理の手順を示す流れ図。6 is a flowchart showing the procedure of color conversion processing.

<第1実施形態>
本発明を実施するための形態の一例について説明する。本実施形態は、本発明を複写機に適用した例である。
<First Embodiment>
An example of a mode for carrying out the present invention will be described. This embodiment is an example in which the present invention is applied to a copying machine.

図1は、複写機10の構成を示す図である。複写機10は、読取部12、A/D変換部14、補正部16、第1色変換部18、画像処理部20、第2色変換部22、階調補正部24、画像形成部26を備える。 FIG. 1 is a diagram showing the configuration of the copying machine 10. The copying machine 10 includes a reading unit 12, an A/D conversion unit 14, a correction unit 16, a first color conversion unit 18, an image processing unit 20, a second color conversion unit 22, a gradation correction unit 24, and an image forming unit 26. Prepare

読取部12は、原稿を読み取って原稿の画像を表す画像データを生成する。読取部12は、複数のCCD(Charge-Coupled Devices)を備え、R(Red)、G(Green)、B(Blue)の色成分毎の信号を出力する。A/D変換部14は、読取部12の出力信号をデジタルの画像データに変換する。補正部16は、この画像データにシェーディング補正などを施す。 The reading unit 12 reads a document and generates image data representing an image of the document. The reading unit 12 includes a plurality of CCDs (Charge-Coupled Devices) and outputs signals for each color component of R (Red), G (Green), and B (Blue). The A/D conversion unit 14 converts the output signal of the reading unit 12 into digital image data. The correction unit 16 performs shading correction and the like on this image data.

第1色変換部18は、補正部16から供給された画像データに色変換を施す。具体的には、第1色変換部18は、読取部12のCCDセンサの特性を示す予め設定されたデータに基づいて、RGB表色系の画像データをL*a*b*表色系の画像データに変換する。
なお、RGB表色系はデバイスに依存する第1表色系の一例であり、他の表色系を用いてもよい。また、L*a*b*表色系はデバイスに依存しない第2表色系の一例であり、他の表色系を用いてもよい。
The first color conversion unit 18 performs color conversion on the image data supplied from the correction unit 16. Specifically, the first color conversion unit 18 converts the RGB color system image data into the L*a*b* color system based on preset data indicating the characteristics of the CCD sensor of the reading unit 12. Convert to image data.
The RGB color system is an example of the first color system that depends on the device, and other color systems may be used. The L*a*b* color system is an example of the second color system that does not depend on the device, and other color systems may be used.

画像処理部20は、第1色変換部18による色変換後の画像データに対して画像処理を施す。具体的には、画像処理部20は、第1色変換部18から供給されたL*a*b*表色系の画像データに対して、印刷指示に応じた拡大・縮小処理、MTF(Modulation Transfer Function)補正などの先鋭化処理、原稿の種類(藁半紙、再生紙、色紙等)に応じた地肌成分を除去する地肌除去処理などの各種画像処理を施して、第2色変換部22へ供給する。 The image processing unit 20 performs image processing on the image data after the color conversion by the first color conversion unit 18. Specifically, the image processing unit 20 performs an enlarging/reducing process according to a print instruction on the image data of the L*a*b* color system supplied from the first color converting unit 18, and an MTF (Modulation). Transfer Function) Sharpening processing such as correction, various image processing such as background removal processing to remove background components according to the type of original (straw paper, recycled paper, colored paper, etc.) are supplied to the second color conversion unit 22. To do.

第2色変換部22は、画像処理部20から供給されたL*a*b*表色系の画像データをYMCK表色系の画像データに変換して階調補正部24へ供給する。第2色変換部22は、DLUT(Direct Lookup Table)を備える。このDLUTは、L*、a*、b*の組合せと、この組合せで表される色をY、M、C、Kの色材を用いて出力するためのY、M、C、Kの各色成分の濃度値の組合せとの対応関係を示す3次元LUTである。第2色変換部22の機能は、後述する色変換装置40によって実現される。 The second color conversion unit 22 converts the image data of the L*a*b* color system supplied from the image processing unit 20 into image data of the YMCK color system and supplies the image data to the gradation correction unit 24. The second color conversion unit 22 includes a DLUT (Direct Lookup Table). This DLUT is a combination of L*, a*, b*, and each color of Y, M, C, K for outputting the color represented by this combination using Y, M, C, K color materials. It is a three-dimensional LUT that shows the correspondence relationship with the combination of component density values. The function of the second color conversion unit 22 is realized by the color conversion device 40 described later.

階調補正部24は、第2色変換部22から供給された画像データの各画素について、Y、M、C、Kの各濃度値を階調補正して濃度値Y’、M’、C’、K’に変換し、変換後の画像データを画像形成部26に供給する。階調補正部24は、Y、M、C、Kの各濃度値と、これらの濃度値に対応する濃度の画像を画像形成部26で形成するための階調補正された濃度値Y’、M’、C’、K’との対応関係を示すLUTを備える。このLUTは、画像形成部26でテスト用の画像を形成して求めた画像形成部26の出力特性に基づいて予め設定されている。 The gradation correction unit 24 performs gradation correction on the density values of Y, M, C, and K for each pixel of the image data supplied from the second color conversion unit 22 to obtain density values Y′, M′, and C. The image data is converted into “, K” and the converted image data is supplied to the image forming unit 26. The gradation correction unit 24 has density values Y′, M, C, and K and gradation-corrected density values Y′ for forming an image of a density corresponding to these density values in the image forming unit 26. It is provided with an LUT showing a correspondence relationship with M′, C′, and K′. This LUT is preset based on the output characteristics of the image forming unit 26 obtained by forming a test image in the image forming unit 26.

画像形成部26は、階調補正部24から供給された画像データに基づく画像を、Y、M、C、Kの色材を用いて記録媒体に形成する。一例として、画像形成部26は、Y、M、C、Kの色毎の画像形成ユニットを備える。画像形成ユニットは、感光体と、画像データに基づいて感光体に静電潜像を書き込む書込部と、書き込まれた静電潜像をトナーを用いて現像する現像部と、現像されたトナー像を記録媒体に転写する転写部とを備える。 The image forming unit 26 forms an image based on the image data supplied from the gradation correction unit 24 on a recording medium using Y, M, C, and K color materials. As an example, the image forming unit 26 includes an image forming unit for each of Y, M, C, and K colors. The image forming unit includes a photoconductor, a writing unit that writes an electrostatic latent image on the photoconductor based on image data, a developing unit that develops the written electrostatic latent image using toner, and a developed toner. And a transfer unit that transfers an image onto a recording medium.

図2は、色変換装置40のハードウェア構成を示す図である。色変換装置40は、制御部42、記憶部44、通信部46を備える。制御部42は、CPU(Central Processing Unit)などの演算装置と、ROM(Read Only Memory)やRAM(Random Access Memory)などの記憶装置とを備える。ROMには、ハードウェアやOS(Operating System)の起動の手順を記述したファームウェアが記憶される。RAMには、CPUが演算を実行する際のデータが記憶される。記憶部44は、ハードディスク記憶装置や半導体メモリなどを備え、OSやアプリケーションプログラムなどが記憶される。通信部46は、色変換装置40と外部との通信I/F(Interface)である。色変換装置40には、色変換処理の手順を記述したソフトウェアがインストールされている。前述した第2色変換部22の機能は、制御部42がこのソフトウェアを実行することで実現される。 FIG. 2 is a diagram showing a hardware configuration of the color conversion device 40. The color conversion device 40 includes a control unit 42, a storage unit 44, and a communication unit 46. The control unit 42 includes an arithmetic device such as a CPU (Central Processing Unit) and a storage device such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The ROM stores firmware that describes a procedure for activating hardware and an OS (Operating System). The RAM stores data when the CPU executes the calculation. The storage unit 44 includes a hard disk storage device, a semiconductor memory, etc., and stores an OS, application programs, and the like. The communication unit 46 is a communication I/F (Interface) between the color conversion device 40 and the outside. The color conversion device 40 is installed with software describing a procedure of color conversion processing. The function of the second color conversion unit 22 described above is realized by the control unit 42 executing this software.

図3は、L*a*b*表色系の色空間を示す図である。例えば、L*a*b*表色系におけるL*、a*、b*がいずれも8ビットのデータで表され、0から255までの256階調の値をとり得る。各座標軸は16階調ずつの16領域に分割され、1辺の長さが16階調に相当する仮想的な単位立方体が形成される。各単位立方体の頂点を、この色空間における格子点と定義する。 FIG. 3 is a diagram showing a color space of the L*a*b* color system. For example, L*, a*, and b* in the L*a*b* color system are all represented by 8-bit data, and can take 256 gradation values from 0 to 255. Each coordinate axis is divided into 16 regions of 16 gradations, and a virtual unit cube whose length of one side corresponds to 16 gradations is formed. The vertices of each unit cube are defined as grid points in this color space.

画像処理部20から供給されるL*a*b*表色系の画像データは、画素毎のL*、a*、b*の値を示すデータである。L*、a*、b*の上位4ビットにより、このL*、a*、b*の組合せが含まれる単位立方体が特定され、下位4ビットにより、このL*、a*、b*の組合せの当該単位立方体内での位置が特定される。 The L*a*b* color system image data supplied from the image processing unit 20 is data indicating the values of L*, a*, and b* for each pixel. The upper 4 bits of L*, a*, b* specify the unit cube containing the combination of L*, a*, b*, and the lower 4 bits of this combination of L*, a*, b*. The position within the unit cube is identified.

第2色変換部22に備えられたDLUTは、各格子点におけるL*、a*、b*の組合せと、この組合せで表される色をY、M、C、Kの色材を用いて出力するためのY、M、C、Kの各色成分の濃度値の組合せとの対応関係を示す3次元LUTである。DLUTに入力されたL*、a*、b*の組合せが格子点のいずれかに該当する場合には、その格子点に対応するY、M、C、Kの出力値が出力される。DLUTに入力されたL*、a*、b*の組合せに該当する格子点が存在しない場合には、このL*、a*、b*の組合せに近接した複数の格子点からの補間によりY、M、C、Kの出力値が求められる。 The DLUT provided in the second color conversion unit 22 uses a combination of L*, a*, and b* at each grid point and a color represented by this combination using Y, M, C, and K color materials. 3 is a three-dimensional LUT showing a correspondence relationship with a combination of density values of Y, M, C, and K color components for output. When the combination of L*, a*, and b* input to the DLUT corresponds to any of the grid points, the output values of Y, M, C, and K corresponding to the grid point are output. If there is no grid point corresponding to the combination of L*, a*, b* input to the DLUT, Y is obtained by interpolation from a plurality of grid points close to this combination of L*, a*, b*. , M, C, K output values are obtained.

図4は、1個の格子点を共有する8個の単位立方体を示す図である。DLUTに入力されたL*、a*、b*の組合せに該当する格子点が存在しない場合には、このL*、a*、b*の組合せに最も近接した格子点P0が特定される。格子点P0に隣接する格子点として、6個の格子点P1乃至P6が特定される。DLUTに入力されたL*、a*、b*の組合せに対応するY、M、C、Kは、格子点P0と、格子点P1乃至P6のうちの1個以上の格子点との補間によって求められる。なお、補間の手法については公知の手法が用いられるため、その説明は省略する。 FIG. 4 is a diagram showing eight unit cubes sharing one lattice point. When there is no grid point corresponding to the combination of L*, a*, b* input to the DLUT, the grid point P0 closest to this combination of L*, a*, b* is specified. Six grid points P1 to P6 are specified as the grid points adjacent to the grid point P0. Y, M, C and K corresponding to the combination of L*, a* and b* input to the DLUT are obtained by interpolation of the grid point P0 and one or more grid points of the grid points P1 to P6. Desired. Since a known method is used as the interpolation method, the description thereof will be omitted.

図5は、色変換処理に係る機能ブロックを示す図である。削減手段401は、第1表色系の色空間における格子点に第2表色系の出力値を対応付けたテーブルを有し、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点において、負の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を0に変更するとともに、正の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を予め定められた規則に従って削減する。出力手段402は、前記削減手段401による削減後の前記第2表色系の出力値を用いた補間により、前記第1表色系の入力値に対する出力値を出力する。具体的には、以下のとおりである。 FIG. 5 is a diagram showing functional blocks related to color conversion processing. The reducing unit 401 has a table in which the grid points in the color space of the first color system are associated with the output values of the second color system, and the second color system with respect to the input values of the first color system. If a negative number of the output values of the second color system is associated with the plurality of grid points that interpolate the output value of, the output value is changed to 0 and a positive number of When the output values of the second color system are associated, the output values are reduced according to a predetermined rule. The output unit 402 outputs the output value corresponding to the input value of the first color system by interpolation using the output value of the second color system after the reduction by the reduction unit 401. Specifically, it is as follows.

図6は、第2色変換部22に係る色変換処理の手順を示す流れ図である。この色変換処理は、色変換装置40の制御部42がソフトウェアを実行することで実現される。画像処理部20から供給されたL*a*b*表色系の画像データにおける各画素について、Y、M、C、Kの色成分毎に、図示した流れ図に従う処理が実行される。以下の説明では、Y成分を出力する例を示すが、M、C、Kの各成分についても同様の処理が行われる。 FIG. 6 is a flowchart showing the procedure of the color conversion process performed by the second color conversion unit 22. This color conversion process is realized by the control unit 42 of the color conversion device 40 executing software. For each pixel in the image data of the L*a*b* color system supplied from the image processing unit 20, the process according to the flowchart shown in the drawing is executed for each of the Y, M, C, and K color components. In the following description, an example of outputting the Y component is shown, but similar processing is performed for each of the M, C, and K components.

<ステップA01>
制御部42が、L*、a*、b*の値を取得する。具体的には、画像処理部20から供給されたL*a*b*表色系の画像データから、1個の画素のL*、a*、b*の値を取得する。
<Step A01>
The control unit 42 acquires the values of L*, a*, and b*. Specifically, the L*, a*, and b* values of one pixel are acquired from the image data of the L*a*b* color system supplied from the image processing unit 20.

<ステップA02>
制御部42が、L*、a*、b*の組合せに最も近接した格子点P0を特定する。
<Step A02>
The control unit 42 identifies the lattice point P0 closest to the combination of L*, a*, and b*.

<ステップA03>
制御部42が、格子点P0近傍の6個の格子点P1乃至P6を特定する。
<Step A03>
The control unit 42 identifies six grid points P1 to P6 near the grid point P0.

<ステップA04>
制御部42が、格子点P0の出力値Yが正の値であるか否かを判定する。出力値Yが正の値である場合(ステップA04:YES)には、制御部42は処理を終了する。出力値Yが正の値でない場合(ステップA04:NO)には、制御部42の処理はステップA05に進む。
<Step A04>
The control unit 42 determines whether the output value Y of the grid point P0 is a positive value. When the output value Y is a positive value (step A04: YES), the control unit 42 ends the process. When the output value Y is not a positive value (step A04: NO), the process of the control unit 42 proceeds to step A05.

<ステップA05>
制御部42が、格子点P0の出力値Yを0に変更する。
<Step A05>
The control unit 42 changes the output value Y of the grid point P0 to 0.

<ステップA06>
制御部42が、格子点P0近傍の6個の格子点P1乃至P6について、0又は負の出力値Yの個数をカウントする。0又は負の出力値Yの個数が0の場合(ステップA06:個数=0)には、制御部42の処理はステップA10に進む。0又は負の出力値Yの個数が1、2、3、4、5、6の場合(ステップA06:個数=1、2、3、4、5、6)には、制御部42の処理はそれぞれステップA11、A12、A13、A14、A15、A16に進む。
<Step A06>
The control unit 42 counts the number of 0 or negative output values Y for the six grid points P1 to P6 near the grid point P0. If 0 or the number of negative output values Y is 0 (step A06: number=0), the process of the control unit 42 proceeds to step A10. When the number of 0 or negative output values Y is 1, 2, 3, 4, 5, 6, (step A06: number=1, 2, 3, 4, 5, 6), the processing of the control unit 42 is Proceed to steps A11, A12, A13, A14, A15, A16, respectively.

<ステップA10>
制御部42が、出力値Yの再計算を行わない。
<Step A10>
The control unit 42 does not recalculate the output value Y.

<ステップA11>
制御部42が、出力値Yに5/6を乗算する。その結果、出力値Yがおよそ17%削減される。ただし、負の出力値Yは0に変更する。
<Step A11>
The control unit 42 multiplies the output value Y by 5/6. As a result, the output value Y is reduced by about 17%. However, the negative output value Y is changed to 0.

<ステップA12>
制御部42が、出力値Yに4/6を乗算する。その結果、出力値Yがおよそ34%削減される。ただし、負の出力値Yは0に変更する。
<Step A12>
The control unit 42 multiplies the output value Y by 4/6. As a result, the output value Y is reduced by about 34%. However, the negative output value Y is changed to 0.

<ステップA13>
制御部42が、出力値Yに3/6を乗算する。その結果、出力値Yがおよそ50%削減される。ただし、負の出力値Yは0に変更する。
<Step A13>
The control unit 42 multiplies the output value Y by 3/6. As a result, the output value Y is reduced by about 50%. However, the negative output value Y is changed to 0.

<ステップA14>
制御部42が、出力値Yに2/6を乗算する。その結果、出力値Yがおよそ67%削減される。ただし、負の出力値Yは0に変更する。
<Step A14>
The control unit 42 multiplies the output value Y by 2/6. As a result, the output value Y is reduced by about 67%. However, the negative output value Y is changed to 0.

<ステップA15>
制御部42が、出力値Yに1/6を乗算する。その結果、出力値Yがおよそ83%削減される。ただし、負の出力値Yは0に変更する。
<Step A15>
The control unit 42 multiplies the output value Y by 1/6. As a result, the output value Y is reduced by about 83%. However, the negative output value Y is changed to 0.

<ステップA16>
制御部42が、出力値Yを0に変更する。
換言すると、ステップA11乃至A16の処理は、出力値Yに(6−n)/6を乗算する処理である(nは、0又は負の出力値Yの個数)。以上が、色変換処理の手順である。
<Step A16>
The control unit 42 changes the output value Y to 0.
In other words, the process of steps A11 to A16 is a process of multiplying the output value Y by (6-n)/6 (n is 0 or the number of negative output values Y). The above is the procedure of the color conversion process.

次に、上記の手順に従った具体例を説明する。ステップA01で取得されたL*、a*、b*に対して、ステップA02で下記の格子点P0が特定され、ステップA03で下記の格子点P1乃至P6が特定されたとする。ここでは、(L*、a*、b*:Y)の順に記載している。また、理解を容易にするために、L*、a*、b*を10階調間隔の値とした(図3では16階調間隔)。
P0( 90、−10、 0:−5)
P1( 80、−10、 0:10)
P2( 90、−20、 0: 5)
P3( 90、−10、 10: 5)
P4( 90、−10、−10: 5)
P5( 90、 0、 0:−5)
P6(100、−10、 0: 0)
Next, a specific example according to the above procedure will be described. For the L*, a*, and b* acquired in step A01, it is assumed that the following grid point P0 is specified in step A02 and the following grid points P1 to P6 are specified in step A03. Here, they are described in the order of (L*, a*, b*:Y). Further, in order to facilitate understanding, L*, a*, and b* are values of 10 gradation intervals (16 gradation intervals in FIG. 3).
P0 (90, -10, 0:-5)
P1 (80, -10, 0:10)
P2 (90, -20, 0: 5)
P3 (90, -10, 10: 5)
P4 (90, -10, -10: 5)
P5 (90, 0, 0:-5)
P6 (100, -10, 0:0)

格子点P0の出力値Yが正の数でないから(ステップA04:NO)、格子点P0の出力値Yが0に変更される(ステップA05)。次に、格子点P1乃至P6について、0又は負の出力値Yの個数をカウントすると2であるから(ステップA06:個数=2)、出力値Yに4/6が乗算される(ステップA12)。負の出力値Yは0に変更される(格子点P5)。その結果、各格子点の出力値は下記のように設定される。なお、この例では、出力値Yを四捨五入により小数第1位まで求めた。
P0( 90、−10、 0: 0)
P1( 80、−10、 0: 6.7)
P2( 90、−20、 0: 3.3)
P3( 90、−10、 10: 3.3)
P4( 90、−10、−10: 3.3)
P5( 90、 0、 0: 0)
P6(100、−10、 0: 0)
Since the output value Y of the grid point P0 is not a positive number (step A04: NO), the output value Y of the grid point P0 is changed to 0 (step A05). Next, when the number of 0 or negative output values Y is counted for the grid points P1 to P6, it is 2 (step A06: number=2), so the output value Y is multiplied by 4/6 (step A12). .. The negative output value Y is changed to 0 (lattice point P5). As a result, the output value of each grid point is set as follows. In this example, the output value Y was rounded to the first decimal place.
P0 (90, -10, 0:0)
P1 (80, -10, 0: 6.7)
P2 (90, -20, 0: 3.3)
P3 (90, -10, 10: 3.3)
P4 (90, -10, -10: 3.3)
P5 (90, 0, 0:0)
P6 (100, -10, 0:0)

本実施形態によれば、負の出力値が0に変更されるから、処理速度が高速化される。また、正の出力値が削減されるから、背景のかぶりが抑制される。よって、本実施形態によれば、処理速度の高速化と背景のかぶりの抑制が両立される。 According to this embodiment, since the negative output value is changed to 0, the processing speed is increased. Further, since the positive output value is reduced, the background fog is suppressed. Therefore, according to the present embodiment, both high processing speed and suppression of background fog are achieved.

<第2実施形態>
図7は、色変換処理の手順を示す流れ図である。第2実施形態に係る色変換処理は、第1実施形態に係る色変換処理と異なる手順を有する。以下の説明では、Y成分を出力する例を示すが、M、C、Kの各成分についても同様の処理が行われる。
<Second Embodiment>
FIG. 7 is a flowchart showing the procedure of color conversion processing. The color conversion process according to the second embodiment has a procedure different from that of the color conversion process according to the first embodiment. In the following description, an example of outputting the Y component is shown, but similar processing is performed for each of the M, C, and K components.

<ステップB01>
制御部42が、L*、a*、b*の値を取得する。具体的には、画像処理部20から供給されたL*a*b*表色系の画像データから、1個の画素のL*、a*、b*の値を取得する。
<Step B01>
The control unit 42 acquires the values of L*, a*, and b*. Specifically, the L*, a*, and b* values of one pixel are acquired from the image data of the L*a*b* color system supplied from the image processing unit 20.

<ステップB02>
制御部42が、L*、a*、b*の組合せに最も近接した格子点P0を特定する。
<Step B02>
The control unit 42 identifies the lattice point P0 closest to the combination of L*, a*, and b*.

<ステップB03>
制御部42が、格子点P0近傍の6個の格子点P1乃至P6を特定する。
<Step B03>
The control unit 42 identifies six grid points P1 to P6 near the grid point P0.

<ステップB04>
制御部42が、格子点P0の出力値Yが正の値であるか否かを判定する。出力値Yが正の値である場合(ステップB04:YES)には、制御部42は処理を終了する。出力値Yが正の値でない場合(ステップB04:NO)には、制御部42の処理はステップB05に進む。
<Step B04>
The control unit 42 determines whether the output value Y of the grid point P0 is a positive value. When the output value Y is a positive value (step B04: YES), the control unit 42 ends the process. If the output value Y is not a positive value (step B04: NO), the process of the control unit 42 proceeds to step B05.

<ステップB05>
制御部42が、次式により出力値Yを求める。
Y=T×(T/(T+|S|)) 式(1)
ただし、
S:格子点P0の出力値Y、
T:格子点P1乃至P6の出力値Y
S、Tともに0又は負の数である場合は、出力値Yを0に変更する。
<Step B05>
The control unit 42 obtains the output value Y by the following equation.
Y=T×(T/(T+|S|)) Formula (1)
However,
S: output value Y of grid point P0,
T: output value Y of grid points P1 to P6
When both S and T are 0 or a negative number, the output value Y is changed to 0.

<ステップB06>
制御部42が、格子点P0の出力値Yを0に変更する。
<Step B06>
The control unit 42 changes the output value Y of the grid point P0 to 0.

次に、上記の手順に従った具体例を説明する。ステップB01で取得されたL*、a*、b*に対して、ステップB02で下記の格子点P0が特定され、ステップB03で下記の格子点P1乃至P6が特定されたとする。
P0( 90、−10、 0:−5)
P1( 80、−10、 0:10)
P2( 90、−20、 0: 5)
P3( 90、−10、 10: 5)
P4( 90、−10、−10: 5)
P5( 90、 0、 0:−5)
P6(100、−10、 0: 0)
Next, a specific example according to the above procedure will be described. For the L*, a*, and b* acquired in step B01, it is assumed that the following grid point P0 is specified in step B02 and the following grid points P1 to P6 are specified in step B03.
P0 (90, -10, 0:-5)
P1 (80, -10, 0:10)
P2 (90, -20, 0: 5)
P3 (90, -10, 10: 5)
P4 (90, -10, -10: 5)
P5 (90, 0, 0:-5)
P6 (100, -10, 0:0)

格子点P0の出力値Yが正の数でないから(ステップB04:NO)、式(1)により出力値Yが求められ(ステップB05)、格子点P0の出力値Yが0に変更される(ステップB06)。その結果、各格子点の出力値は下記のように設定される。なお、この例では、出力値Yを四捨五入により小数第1位まで求めた。
P0( 90、−10、 0:0)
P1( 80、−10、 0:6.7)
P2( 90、−20、 0:2.5)
P3( 90、−10、 10:2.5)
P4( 90、−10、−10:2.5)
P5( 90、 0、 0:0)
P6(100、−10、 0:0)
Since the output value Y of the grid point P0 is not a positive number (step B04: NO), the output value Y is obtained by the equation (1) (step B05), and the output value Y of the grid point P0 is changed to 0 ( Step B06). As a result, the output value of each grid point is set as follows. In this example, the output value Y was rounded to the first decimal place.
P0 (90, -10, 0:0)
P1 (80, -10, 0:6.7)
P2 (90, -20, 0:2.5)
P3 (90, -10, 10:2.5)
P4 (90, -10, -10:2.5)
P5 (90, 0, 0:0)
P6 (100, -10, 0:0)

本実施形態によれば、補間に用いる格子点の負の出力値の絶対値が大きいほど出力値の削減量が大きくなる。 According to the present embodiment, the greater the absolute value of the negative output value of the grid point used for interpolation, the greater the reduction amount of the output value.

上記の実施形態を以下のように変形してもよい。
<変形例1>
実施形態では、第2色変換部22に係る色変換処理を色変換装置40がソフトウェアで実現する例を示したが、第1色変換部18、画像処理部20、階調補正部24などに係る処理の一部又は全部をソフトウェアで実現する構成が色変換装置40に兼ね備えられてもよい。また、複写機10の全体を制御する制御装置に色変換装置40の機能が備えられてもよい。
The above embodiment may be modified as follows.
<Modification 1>
In the embodiment, the example in which the color conversion device 40 realizes the color conversion process related to the second color conversion unit 22 by software has been described. However, the first color conversion unit 18, the image processing unit 20, the gradation correction unit 24, and the like are provided. The color conversion device 40 may have a configuration in which a part or all of the processing is implemented by software. Further, the function of the color conversion device 40 may be provided in a control device that controls the entire copying machine 10.

<変形例2>
上記の実施形態では、本発明を複写機に適用した例を示したが、外部から取得したPDL(ページ記述言語)データやビットマップデータに基づく画像を形成する画像形成装置に本発明を適用してもよい。
<Modification 2>
In the above embodiment, an example in which the present invention is applied to a copying machine is shown. However, the present invention is applied to an image forming apparatus that forms an image based on PDL (Page Description Language) data or bitmap data acquired from the outside. May be.

10…複写機、12…読取部、14…A/D変換部、16…補正部、18…第1色変換部、20…画像処理部、22…第2色変換部、24…階調補正部、26…画像形成部、40…色変換装置、42…制御部、44…記憶部、46…通信部 DESCRIPTION OF SYMBOLS 10... Copier, 12... Reading unit, 14... A/D conversion unit, 16... Correction unit, 18... First color conversion unit, 20... Image processing unit, 22... Second color conversion unit, 24... Gradation correction Unit, 26... Image forming unit, 40... Color conversion device, 42... Control unit, 44... Storage unit, 46... Communication unit

Claims (4)

第1表色系の色空間における格子点に第2表色系の出力値を対応付けたテーブルを有し、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点において、負の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を0に変更するとともに、正の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を予め定められた規則に従って削減する削減手段と、
前記削減手段による削減後の前記第2表色系の出力値を用いた補間により、前記第1表色系の入力値に対する出力値を出力する出力手段と
を備える色変換装置。
There is a table in which the output values of the second color system are associated with the grid points in the color space of the first color system, and the output values of the second color system are interpolated with respect to the input values of the first color system. When a negative number of output values of the second color system is associated with the plurality of grid points, the output value is changed to 0 and a positive number of the second color system is used. When the output value of is associated with a reduction means for reducing the output value according to a predetermined rule,
An output unit that outputs an output value corresponding to the input value of the first color system by interpolation using the output value of the second color system after reduction by the reduction unit.
前記削減手段は、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点に対応付けられた0又は負の数の前記第2表色系の出力値の個数に応じて、正の数の前記第2表色系の出力値の値を削減する
請求項1に記載の色変換装置。
The reduction unit may be a 0 or a negative number of the second color system associated with the plurality of grid points for interpolating the output value of the second color system with respect to the input value of the first color system. The color conversion device according to claim 1, wherein a positive number of output values of the second color system is reduced according to the number of output values.
前記削減手段は、入力された前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点の各々について、当該格子点に対応付けられた前記第2表色系の出力値の値に応じて、当該出力値の値を削減する
請求項1に記載の色変換装置。
The reducing unit, for each of the plurality of grid points that interpolates the output value of the second color system with respect to the input value of the input first color system, the second unit associated with the grid point. The color conversion device according to claim 1, wherein the value of the output value is reduced according to the value of the output value of the color system.
コンピュータを、
第1表色系の色空間における格子点に第2表色系の出力値を対応付けたテーブルを有し、前記第1表色系の入力値に対する前記第2表色系の出力値を補間する複数の前記格子点において、負の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を0に変更するとともに、正の数の前記第2表色系の出力値が対応付けられている場合には当該出力値を予め定められた規則に従って削減する削減手段と、
前記削減手段による削減後の前記第2表色系の出力値を用いた補間により、前記第1表色系の入力値に対する出力値を出力する出力手段
として機能させるためのプログラム。
Computer,
There is a table in which the output values of the second color system are associated with the grid points in the color space of the first color system, and the output values of the second color system are interpolated with respect to the input values of the first color system. When a negative number of output values of the second color system is associated with the plurality of grid points, the output value is changed to 0 and a positive number of the second color system is used. When the output value of is associated with a reduction means for reducing the output value according to a predetermined rule,
A program for functioning as an output unit that outputs an output value corresponding to an input value of the first color system by interpolation using the output value of the second color system after reduction by the reduction unit.
JP2016206099A 2016-10-20 2016-10-20 Color conversion device and program Active JP6740853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016206099A JP6740853B2 (en) 2016-10-20 2016-10-20 Color conversion device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016206099A JP6740853B2 (en) 2016-10-20 2016-10-20 Color conversion device and program

Publications (2)

Publication Number Publication Date
JP2018067839A JP2018067839A (en) 2018-04-26
JP6740853B2 true JP6740853B2 (en) 2020-08-19

Family

ID=62086426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016206099A Active JP6740853B2 (en) 2016-10-20 2016-10-20 Color conversion device and program

Country Status (1)

Country Link
JP (1) JP6740853B2 (en)

Also Published As

Publication number Publication date
JP2018067839A (en) 2018-04-26

Similar Documents

Publication Publication Date Title
JP6649750B2 (en) Image processing apparatus and image processing method
JP6029344B2 (en) Image processing apparatus, image processing method, and program
JP4940050B2 (en) Image processing method, program, and recording medium for correcting distortion aberration for image data
JP6403490B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program.
JP6251029B2 (en) Control device, image processing device, control method, and program
JP4618457B2 (en) Color signal processing device, color conversion device, color signal processing program, color conversion program
KR102067319B1 (en) Image processing apparatus, method of controlling the same, and storage medium
US20190079707A1 (en) Information processing apparatus for performing image conversion
JP5932853B2 (en) Image processing apparatus and image processing method
JP6740853B2 (en) Color conversion device and program
JP2007013551A (en) Image processing apparatus and image processing method
JP4992023B2 (en) Apparatus and method for color conversion
JP2011255634A (en) Image processor, image forming apparatus, image processing method, image processing program and recording medium
JP5159565B2 (en) Color processing apparatus and method
JP2008245024A (en) Create lookup table
JP2006121530A (en) Color conversion apparatus, image forming apparatus, color conversion method, and computer program
JP5772253B2 (en) Image processing apparatus and program
JP2005094126A (en) Image processing apparatus, image processing method, and computer-executable image processing program
JP2012129685A (en) Image processing device and program
JP5753370B2 (en) Image processing apparatus, method, and program
JP4905425B2 (en) Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device
JP2018085578A (en) Image processing apparatus, image processing method, and program
JP5609341B2 (en) Image processing apparatus, image forming apparatus, image processing method, and image processing program
JP6446898B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program thereof
JP2013125993A (en) Image processing apparatus, image processing method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200605

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200706

R150 Certificate of patent or registration of utility model

Ref document number: 6740853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350