[go: up one dir, main page]

JP2014078177A - Image processing device, and control method of the same - Google Patents

Image processing device, and control method of the same Download PDF

Info

Publication number
JP2014078177A
JP2014078177A JP2012226330A JP2012226330A JP2014078177A JP 2014078177 A JP2014078177 A JP 2014078177A JP 2012226330 A JP2012226330 A JP 2012226330A JP 2012226330 A JP2012226330 A JP 2012226330A JP 2014078177 A JP2014078177 A JP 2014078177A
Authority
JP
Japan
Prior art keywords
color
image data
pixel
input
value
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
JP2012226330A
Other languages
Japanese (ja)
Inventor
Masanori Yokoi
優智 横井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012226330A priority Critical patent/JP2014078177A/en
Publication of JP2014078177A publication Critical patent/JP2014078177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Credit Cards Or The Like (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Image Processing (AREA)

Abstract

【課題】印刷しようとする画像が、通常光下では目視不可若しくは目視し難く、赤外光下において文字や絵柄を識別可能な赤外線効果画像となるために使用できない色を含んでいたとしても、ユーザの事前の確認の下で赤外線効果を期待できる印刷物を得る。
【解決手段】補正画像データ生成部103は、赤外線吸収率が所定値より高い色材の使用を条件として通常光の下で再現可能な色空間と赤外線吸収率が所定値より高い色材を不使用として通常光の下で再現可能な色空間との共通な部分色空間に変換するための複数のアルゴリズムに従って、入力した画像データの各画素値を近似させた複数の近似画像データを生成する。そして、表示選択部106は、生成された近似画像データを選択可能に表示する。印刷画像データ生成部108は、潜像画像生成部102で生成された潜像画像データに従い,選択された近似画像データの各画素値に変えて、赤外線吸収率の高い色材を用いた色、赤外線吸収率の高い色を不使用の色のいずれか一方を選択し、出力する。
【選択図】図1
Even if an image to be printed includes an unusable or difficult to view under normal light and includes an unusable color because it becomes an infrared effect image capable of distinguishing characters and patterns under infrared light, A printed matter that can be expected to have an infrared effect with prior confirmation by the user is obtained.
A corrected image data generation unit 103 rejects a color space reproducible under normal light and a color material having an infrared absorption rate higher than a predetermined value on condition that a color material having an infrared absorption rate higher than a predetermined value is used. A plurality of approximate image data obtained by approximating each pixel value of input image data is generated according to a plurality of algorithms for conversion to a common partial color space that can be reproduced under normal light. The display selection unit 106 displays the generated approximate image data so as to be selectable. The print image data generation unit 108 changes the pixel values of the selected approximate image data according to the latent image data generated by the latent image generation unit 102, and uses a color material that has a high infrared absorption rate, Select one of the colors that do not use a high infrared absorption color and output it.
[Selection] Figure 1

Description

本発明は、赤外光下において、印刷媒体上に、絵柄や文字を顕在化させる印刷画像を生成する技術に関するものである。   The present invention relates to a technique for generating a print image that makes a pattern or a character appear on a print medium under infrared light.

印刷物の偽造防止技術または真偽判定技術に、通常光下では目視不可、もしくは目視し難く、赤外光下において赤外線撮像装置(赤外線カメラ)等の赤外領域に感度のある装置を用いると容易に認識可能となる印刷方法がある。   It is easy to use a device that is sensitive to the infrared region, such as an infrared imaging device (infrared camera) under infrared light, as the technology for preventing counterfeiting or authenticating the printed material. There are printing methods that can be recognized.

代表的なものでは、一般の印刷で使用されるブラック(k)の色材は赤外吸収率が大きく、これを利用して画像を印刷する方法がある(特許文献1)。潜像領域を赤外吸収率が大きいブラック(k)で、背景領域を赤外吸収率が小さいシアン(c)、マゼンタ(m)、イエロー(y)を用いて印刷媒体上に画像を印刷する。そして、出力された印刷画像に赤外光を照射して赤外線撮像装置で文字または絵柄を識別させる。これにより赤外光下で印刷画像に文字または絵柄が確認できれば本物、なければ偽物である、といった真偽判定が可能となる。   As a typical example, a black (k) coloring material used in general printing has a large infrared absorption rate, and there is a method of printing an image using this (Patent Document 1). Print the image on the print medium using black (k), which has a large infrared absorption rate for the latent image area, and cyan (c), magenta (m), and yellow (y), which have a low infrared absorption rate for the background area. . Then, the output print image is irradiated with infrared light, and a character or a pattern is identified by the infrared imaging device. As a result, it is possible to determine whether the printed image is genuine or not if it can be confirmed under infrared light, and whether it is genuine or not.

また、この方法の応用として、潜像領域のブラック(k)の量を少なくし、シアン(c)、マゼンタ(m)、イエロー(y)を混ぜることで、印刷画像に使用できる色数を増やすことも可能である。   As an application of this method, the number of colors that can be used in a printed image is increased by reducing the amount of black (k) in the latent image area and mixing cyan (c), magenta (m), and yellow (y). It is also possible.

特許第3544536号公報Japanese Patent No. 3544536

しかし、上述した方法では、潜像領域に必ず赤外吸収率が大きいブラック(k)が含まれているため印刷画像に使用できる色には自ずと制限がある。例えばチケットやイラストのように複数の色で構成された印刷画像を生成する際、使用できない色が印刷画像内に含まれていることも考えられる。この場合、潜像領域に赤外吸収率が大きいブラック(k)を含ませると、潜像領域と背景領域との色差が大きくなり、通常光下で潜像が目視されてしまうという課題が発生する。また、従来ではユーザが印刷前に印刷画像がどのような仕上がりになるのかを確認することもできない。   However, in the above-described method, the latent image area always includes black (k) having a large infrared absorption rate, so that there are naturally limitations on the colors that can be used for the printed image. For example, when a print image composed of a plurality of colors such as a ticket or an illustration is generated, a color that cannot be used may be included in the print image. In this case, if black (k) having a large infrared absorptance is included in the latent image area, the color difference between the latent image area and the background area increases, and there is a problem that the latent image is visually observed under normal light. To do. Further, conventionally, the user cannot confirm what the printed image will be before printing.

本発明は上述した問題に鑑み成されたものであり、ユーザが印刷しようとする画像が、通常光下では目視不可若しくは目視し難く、赤外光下において文字や絵柄を識別可能な赤外線効果画像となるために使用できない色を含んでいたとしても、ユーザの事前の確認の下で赤外線効果を期待できる印刷物を得る技術を提供しようとするものである。   The present invention has been made in view of the above-described problems, and an infrared effect image in which an image to be printed by a user is not visible or difficult to view under normal light and can identify characters and patterns under infrared light. Therefore, the present invention intends to provide a technique for obtaining a printed matter that can be expected to have an infrared effect even if it contains a color that cannot be used.

この課題を解決するため、例えば本発明の画像処理装置は以下の構成を備える。すなわち、
複数の色材を用いる印刷装置で印刷するための印刷画像データを生成する画像処理装置であって、
印刷対象の画像データ、及び、赤外線撮像装置で撮像した際に識別可能な潜像画像データを入力する入力手段と、
通常光で視覚される目標色に対して赤外線吸収率が所定値より高い色材の使用して近似するための各色材の使用量を規定する第1の色情報と、前記目標色に対して赤外線吸収率が所定値より高い色材を不使用として近似するための各色材の使用量を規定する第2の色情報とで構成される情報を保持する保持手段と、
赤外線吸収率が所定値より高い色材の使用を条件として通常光の下で再現可能な色空間と赤外線吸収率が所定値より高い色材を不使用として通常光の下で再現可能な色空間との共通な部分色空間に、前記入力手段で入力した前記画像データの各画素値を近似させるための、互いに異なるアルゴリズムを用いた複数の色変換手段と、
前記入力手段で入力した画像データに対し、前記複数の色変換手段を適用することで、複数の近似画像データを生成する画像データ生成手段と、
該画像データ生成手段で生成された前記複数の近似画像データの1つを選択可能に表示する表示手段と、
該表示手段で表示された近似画像データのうちユーザが選択した近似画像データの着目画素が表わす色に近似する、前記保持手段が保持する前記第1の色情報、前記第2の色情報のいずれか一方を、前記潜像画像データにおける前記着目画素の位置に対応する画素値に基づき選択し、前記印刷画像データの画素値として出力する出力手段とを有する。
In order to solve this problem, for example, an image processing apparatus of the present invention has the following configuration. That is,
An image processing apparatus for generating print image data for printing by a printing apparatus using a plurality of color materials,
Input means for inputting image data to be printed and latent image data that can be identified when imaged by an infrared imaging device;
First color information that defines the amount of each color material used for approximation with the use of a color material having an infrared absorption rate higher than a predetermined value with respect to a target color viewed with normal light, and for the target color Holding means for holding information composed of second color information that defines the amount of use of each color material for approximating that a color material having an infrared absorption rate higher than a predetermined value as unused;
A color space that can be reproduced under normal light under the condition that a color material having an infrared absorption rate higher than a predetermined value is used, and a color space that can be reproduced under normal light without using a color material having an infrared absorption rate higher than a predetermined value. A plurality of color conversion means using different algorithms for approximating each pixel value of the image data input by the input means in a common partial color space with
Image data generation means for generating a plurality of approximate image data by applying the plurality of color conversion means to the image data input by the input means;
Display means for selectively displaying one of the plurality of approximate image data generated by the image data generating means;
Any of the first color information and the second color information held by the holding unit that approximates the color represented by the target pixel of the approximate image data selected by the user among the approximate image data displayed by the display unit. One of these is selected based on a pixel value corresponding to the position of the pixel of interest in the latent image data, and output means for outputting as a pixel value of the print image data.

本発明によれば、ユーザが印刷しようとする画像が、通常光下では目視不可若しくは目視し難く、赤外光下において文字や絵柄を識別可能な赤外線効果画像となるために使用できない色を含んでいたとしても、ユーザの事前の確認の下で赤外線効果を期待できる印刷物を得ることができる。   According to the present invention, an image to be printed by a user is not visible or difficult to see under normal light, and includes an unusable color because it becomes an infrared effect image that can distinguish characters and designs under infrared light. Even if it is, it is possible to obtain a printed matter that can be expected to have an infrared effect under the prior confirmation of the user.

本実施形態におけるシステム構成図。The system block diagram in this embodiment. , , , , 第1の実施形態における印刷画像の生成処理を示すフローチャート。6 is a flowchart illustrating print image generation processing according to the first embodiment. 印刷画像の概念を示す図。The figure which shows the concept of a printed image. 画像データおよび潜像画像データを例示する図。The figure which illustrates image data and latent image image data. CIE L*a*b*空間における第1の領域、第2の領域のそれぞれの色域を示す図。The figure which shows each color gamut of the 1st area | region and 2nd area | region in CIE L * a * b * space. 潜像画像データを例示する図。The figure which illustrates latent image image data. 補正画像データを例示する図。The figure which illustrates correction image data. 色情報を例示する図。The figure which illustrates color information. 印刷画像を例示する図。The figure which illustrates a printed image. 補正画像データの表示を例示する図。The figure which illustrates the display of correction image data. 本実施形態におけるコンピュータシステムの基本構成を示すブロック図。The block diagram which shows the basic composition of the computer system in this embodiment.

以下、添付図面に従って本発明に係る実施形態を詳細に説明する。   Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

[第1の実施形態]
はじめに、図3を用いて本実施形態における基本概念について簡単に説明する。印刷媒体1001は通常光下(たとえばCIE(国際照明委員会)によって相対分光分布が規定された測色用の光であるD50)では図3(a)のように識別できない(図示の境界線は分かりやすくするためである)。しかし、赤外光下で赤外線撮像装置等の特殊な識別装置で見ると図3(b)のように、文字(または絵柄、マーク)が顕在化する印刷画像300が形成されている。印刷画像300は、図示の場合、「Original」という潜像部分である潜像領域と、それ以外である非潜像領域(以下、背景領域とよぶ)からなる。なお、円形範囲303は「Original」という文字列の最後の文字「l」の部分を拡大したものである。これにより赤外光下で印刷物に文字(または絵柄)が確認できれば本物、なければ偽物である、といった真偽判定が可能となる。
[First Embodiment]
First, the basic concept in the present embodiment will be briefly described with reference to FIG. The print medium 1001 cannot be identified as shown in FIG. 3A under normal light (for example, D50, which is a colorimetric light whose relative spectral distribution is defined by the CIE (International Commission on Illumination)) as shown in FIG. To make it easier to understand.) However, when viewed with a special identification device such as an infrared imaging device under infrared light, as shown in FIG. 3B, a printed image 300 in which characters (or patterns, marks) are manifested is formed. In the illustrated example, the print image 300 includes a latent image area called “Original” and a non-latent image area (hereinafter referred to as a background area). The circular range 303 is an enlarged portion of the last character “l” of the character string “Original”. As a result, it is possible to determine whether the printed material is genuine or not if it can be confirmed under infrared light.

図3(c)は印刷媒体1001に赤外吸収率が小さい色材で構成された背景領域301と赤外吸収率が大きい色材で構成された潜像領域302があり、これを側面から見た図である。   In FIG. 3C, the print medium 1001 includes a background area 301 made of a color material having a low infrared absorption rate and a latent image area 302 made of a color material having a high infrared absorption rate. It is a figure.

この印刷媒体に赤外光IRを照射すると、図3(c)に示すように背景領域301は赤外吸収率が小さいため赤外光IRを反射し、潜像領域302は赤外吸収率が大きいため赤外光IRを吸収する。   When this print medium is irradiated with infrared light IR, as shown in FIG. 3C, the background region 301 reflects infrared light IR because the infrared absorption rate is small, and the latent image region 302 has infrared absorption rate. Since it is large, it absorbs infrared light IR.

これを赤外線撮像装置で見てみると図3(d)に示すように背景領域301は明度が明るくなるのに対して、潜像領域302は明度が暗くなる。   When this is viewed with an infrared imaging device, the brightness of the background area 301 becomes brighter as shown in FIG. 3D, whereas the brightness of the latent image area 302 becomes darker.

一般の印刷装置(プリンタ)で使用されているシアン(c)、マゼンタ(m)、イエロー(y)、ブラック(k)の色材のうち、ブラック(k)はカーボンブラックを主体とした黒色色材で、赤外吸収率が大きい。これに対して、シアン(c)、マゼンタ(m)、イエロー(y)は赤外吸収率が小さいことが知られている。   Of cyan (c), magenta (m), yellow (y), and black (k) color materials used in general printing equipment (printers), black (k) is a black color mainly composed of carbon black. The material has a large infrared absorption rate. On the other hand, cyan (c), magenta (m), and yellow (y) are known to have a low infrared absorptance.

従って、潜像領域をブラック(k)で構成し、背景領域301を潜像領域と色が近似するようにシアン(c)、マゼンタ(m)、イエロー(y)で構成すれば、上述した印刷画像300が生成可能となる。   Therefore, if the latent image area is configured by black (k) and the background area 301 is configured by cyan (c), magenta (m), and yellow (y) so that the color is similar to the latent image area, the above-described printing is performed. The image 300 can be generated.

印刷画像300において、赤外光下で識別できるということは、結局のところ、背景領域301または潜像領域302のどちらか一方だけに赤外吸収率が大きい色材が含まれていればよい。別の言い方をすれば、赤外吸収率の異なる2つの領域を意図的に作ることを意味する。   The fact that the print image 300 can be identified under infrared light means that, as a result, only one of the background region 301 and the latent image region 302 needs to contain a color material having a large infrared absorption rate. In other words, it means intentionally creating two regions with different infrared absorption rates.

従って、背景領域301をシアン(c)、マゼンタ(m)、イエロー(y)で、潜像領域をシアン(c)、マゼンタ(m)、イエロー(y)、ブラック(k)で構成しても、上述した印刷画像300が生成可能である。   Accordingly, the background area 301 may be composed of cyan (c), magenta (m), and yellow (y), and the latent image area may be composed of cyan (c), magenta (m), yellow (y), and black (k). The print image 300 described above can be generated.

以下では、背景領域301をブラック(k)を不使用しないとする条件の下で、シアン(c)、マゼンタ(m)、イエロー(y)の組合わせで表す。そして、潜像領域は、ブラック(k)を必ず使用するという条件の下で、シアン(c)、マゼンタ(m)、イエロー(y)、ブラック(k)の組合わせてで表わす場合について説明する。   In the following, the background area 301 is represented by a combination of cyan (c), magenta (m), and yellow (y) under the condition that black (k) is not used. The case where the latent image area is represented by a combination of cyan (c), magenta (m), yellow (y), and black (k) under the condition that black (k) is always used will be described. .

図5(a)と図5(b)は、シアン(c)、マゼンタ(m)、イエロー(y)で構成し、潜像領域をシアン(c)、マゼンタ(m)、イエロー(y)、ブラック(k)で構成したときの各々表現できる色域をCIE L*a*b*空間で表したものである。通常光下で背景領域の色と潜像領域の色を近似させるということは、背景領域と潜像領域どちらも表現できる色を利用することである。つまり、赤外線吸収率が所定値より高い色材を不使用として通常光の下で再現可能な色空間500と、赤外線吸収率が所定値より高い色材の使用を条件として通常光の下で再現可能な色空間501と共通な部分色空間502が、印刷画像に使用できる色域となる。   5 (a) and 5 (b) are composed of cyan (c), magenta (m), and yellow (y), and the latent image areas are cyan (c), magenta (m), yellow (y), Each color gamut that can be expressed when composed of black (k) is expressed in CIE L * a * b * space. Approximating the color of the background area and the color of the latent image area under normal light means using a color that can express both the background area and the latent image area. In other words, color space 500 that can be reproduced under normal light without using a color material having an infrared absorption rate higher than a predetermined value, and reproduction under normal light on condition that a color material having an infrared absorption rate higher than a predetermined value is used. A partial color space 502 common to the possible color space 501 is a color gamut that can be used for a print image.

しかし、潜像領域に必ず赤外吸収率が大きいブラック(k)が含ませなければならないため、印刷画像に使用できる色(図中の斜線部分)には限りがある。つまり、背景領域の色域と潜像領域の色域とが重ならない領域の色は、印刷画像には使用できない色となる。   However, since black (k) having a high infrared absorption factor must be included in the latent image area, there are limitations on the colors (shaded portions in the figure) that can be used for the printed image. That is, the color of the area where the color gamut of the background area and the latent image area do not overlap becomes a color that cannot be used for the print image.

言い換えると、印刷画像に使用できる色は背景領域の色と潜像領域の色の色差が小さく、印刷画像に使用できない色は背景領域の色と潜像領域の色の色差が大きくなる。   In other words, the color that can be used for the print image has a small color difference between the color of the background region and the color of the latent image region, and the color that cannot be used for the print image has a large color difference between the color of the background region and the color of the latent image region.

ここで、例えば図4(a)に示すように1つの画素値(R2,G2,B2)で構成された画像データをもとに、赤外光を照射して赤外線撮像装置で見ると図4(b)のように、文字が顕在化する印刷画像を生成することを考える。   Here, for example, as shown in FIG. 4 (a), based on image data composed of one pixel value (R2, G2, B2), when viewed with an infrared imaging device by irradiating infrared light, FIG. As shown in (b), let us consider generating a print image in which characters become obvious.

画素値(R2,G2,B2) はCIE L*a*b*空間では図5(a)の点で表され、背景領域の色域と潜像領域の色域とが重ならない領域の色、つまり印刷画像には使用できない色であるとする。   The pixel values (R2, G2, B2) are represented by the points in FIG. 5A in the CIE L * a * b * space, and the color of the area where the color gamut of the background area and the latent image area do not overlap, That is, it is assumed that the color cannot be used for the print image.

この場合、潜像領域に赤外吸収率が大きいブラック(k)を含ませることが出来ない。仮に、赤外吸収率が大きいブラック(k)を含ませた場合、潜像領域の色は、表現したい画素値(R2,G2,B2)の色と異なった色となり、背景領域の色と潜像領域の色の色差が大きくなる。その結果、通常光下で潜像が目視出来てしまうという課題がある。   In this case, black (k) having a large infrared absorption rate cannot be included in the latent image region. If black (k) with a large infrared absorption rate is included, the color of the latent image area will be different from the color of the pixel values (R2, G2, B2) to be expressed, and the color of the background area The color difference between the colors in the image area increases. As a result, there is a problem that the latent image can be visually observed under normal light.

そこで、本実施形態では、印刷画像の色の輝度を低下させる、または、背景領域の色と潜像領域の色の色差が小さく近似した使用できる色に置き換えることにより、印刷画像を生成する。   Therefore, in the present embodiment, the print image is generated by reducing the luminance of the color of the print image or by replacing it with a usable color that has a small color difference between the color of the background area and the color of the latent image area.

例えば、画素値(R1,G1,B1) はCIE L*a*b*空間では図5(a)の点で表され、背景領域の色域と潜像領域の色域とが重なる領域の色、つまり印刷画像には使用できる色であるとする。また、画素値(R4,G4,B4) はCIE L*a*b*空間では図5(a)の点で表され、画素値(R2,G2,B2)の輝度を低下させた色であるとする。   For example, the pixel values (R1, G1, B1) are represented by the points in FIG. 5A in the CIE L * a * b * space, and the color of the region where the color gamut of the background region and the color gamut of the latent image region overlap. That is, it is assumed that the print image has a usable color. In addition, the pixel values (R4, G4, B4) are represented by the points in FIG. 5A in the CIE L * a * b * space, and are colors in which the luminance of the pixel values (R2, G2, B2) is reduced. And

このとき、印刷画像に使用できない色(画素値(R2,G2,B2))を、輝度を低下させた使用できる色(画素値(R4,G4,B4))で表現する、または、色差が近似して使用できる色(画素値(R1,G1,B1))で表現するものである。   At this time, the colors that cannot be used in the printed image (pixel values (R2, G2, B2)) are expressed with the colors that can be used with reduced brightness (pixel values (R4, G4, B4)), or the color difference is approximate. The colors can be used (pixel values (R1, G1, B1)).

また、上記2つの方法を組み合わせて、輝度を低下させ、さらに色差近似した使用できる色(画素値(R5,G5,B5))で表現することも可能である。   In addition, by combining the above two methods, it is possible to reduce the luminance and to express the colors (pixel values (R5, G5, B5)) that can be used with color difference approximation.

尚、以降、本実施形態では、潜像領域に、赤外吸収率が大きい色材を用いる例を説明する。しかしながら、背景領域と潜像領域を反転させる、つまり、背景領域に赤外吸収率が大きい色材を適用可能であることは明らかである。   Hereinafter, in the present embodiment, an example in which a color material having a large infrared absorption rate is used for the latent image region will be described. However, it is obvious that the background material and the latent image region can be reversed, that is, a color material having a large infrared absorption rate can be applied to the background region.

<印刷画像の生成方法>
以下では画像処理装置が、印刷画像を生成するまでの具体的な処理を説明する。図1は本実施形態における画像処理装置の機能構成を示すブロック図である。
<Print image generation method>
Hereinafter, specific processing until the image processing apparatus generates a print image will be described. FIG. 1 is a block diagram showing a functional configuration of an image processing apparatus according to the present embodiment.

図1に示すように、画像処理装置11は、印刷画像を生成可能な装置である。   As shown in FIG. 1, the image processing apparatus 11 is an apparatus that can generate a print image.

画像入力部101は、印刷対象の電子データである画像データの読み取りまたは生成する機能を有する。潜像画像生成部102は、電子データである潜像データを読み取り、潜像画像を生成する機能を有する。なお、画像入力部による入力する画像データの発生源は例えばイメージスキャナとするが、処理可能な電子データ形式の画像データとなっていれば良いので、その発生源の種類は問わない。また、潜像画像生成部102も、最終的に2値画像データとなっていれば良く、例えば、イメージスキャナから原稿を2値画像として読込むことで生成しても良いし、文字コードから文字パターンを発生した2値画像を生成しても良いので、その生成源の種類も問わない。   The image input unit 101 has a function of reading or generating image data that is electronic data to be printed. The latent image generation unit 102 has a function of reading latent image data that is electronic data and generating a latent image. The generation source of the image data input by the image input unit is, for example, an image scanner, but the generation source is not limited as long as it is image data in a processable electronic data format. Also, the latent image generation unit 102 only needs to be finally binary image data. For example, the latent image generation unit 102 may generate the image by reading a document as a binary image from an image scanner, or may generate a character from a character code. Since a binary image in which a pattern is generated may be generated, the type of generation source is not limited.

補正画像データ生成部103は、画像入力部101からの原画像データを色を、互いに異なる複数のアルゴリズムに従って補正(色変換)し、複数の補正画像データ(近似画像データ)を生成する機能を有する。補正画像データには、原画像データの色を色情報選択部105で選択したパレット情報の色に変更した減色画像データ、画像データの輝度を変更した輝度変更画像データ、変更画像データの色を更にパレット情報の色に変更した輝度変更減色画像データの3つのデータを含む。   The corrected image data generation unit 103 has a function of correcting (color conversion) the color of the original image data from the image input unit 101 according to a plurality of different algorithms and generating a plurality of corrected image data (approximate image data). . In the corrected image data, the color-reduced image data in which the color of the original image data is changed to the color of the palette information selected by the color information selection unit 105, the brightness-changed image data in which the brightness of the image data is changed, and the color of the changed image data It includes three pieces of brightness-changed reduced-color image data that have been changed to the palette information color.

閾値保持部104は、色情報を選択する際の色差の閾値を保持する機能を有する。なお、この閾値は、ユーザが不図示の操作部から変更可能となっている。   The threshold value holding unit 104 has a function of holding a color difference threshold value when selecting color information. This threshold value can be changed by the user from an operation unit (not shown).

色情報選択部105は、色情報保持部107から色情報を取得し、閾値保持部104で保持されている色差の閾値をもとに、色情報を選択していき、選択された各色情報をパレット情報として生成する機能を有する。   The color information selection unit 105 acquires color information from the color information holding unit 107, selects color information based on the color difference threshold value held in the threshold value holding unit 104, and selects each selected color information item. It has a function to generate as palette information.

表示・選択部106は、補正画像データ生成部103で生成された複数(実施形態では3つ)の補正画像データを表示し、ユーザが所望の画像データを選択する機能を有する。   The display / selection unit 106 has a function of displaying a plurality (three in the embodiment) of corrected image data generated by the corrected image data generation unit 103 and allowing the user to select desired image data.

色情報保持部107は、印刷媒体上で発色させたい色に対して、赤外線の吸収率が異なる第1の色と第2の色の各記録色材の使用量を示す色情報をテーブルとして保持する機能を有する。   The color information holding unit 107 holds, as a table, color information indicating the usage amounts of the recording colors of the first color and the second color, which have different infrared absorption rates, with respect to the color to be developed on the print medium. It has the function to do.

色情報とは印刷媒体上で発色させたい色、例えば、画像データの画素値(RGB値)と同様の色を発色させたい場合、画像データの画素値に対して、印刷媒体上にどの色材をどの程度の量(以下、色材使用量)で形成するかを示した情報である。図8に示すように、色情報のテーブルは、1つの入力画素値(通常光下で視覚される目標色)に対して、背景領域で用いる第1の色を表わす色材使用量(第1の色情報)、潜像領域で用いる第2の色を表わす色材使用量(第2の色情報)、並びに、入力画素値に対する第1,第2の画素値の差分値である色差値ΔEabで構成される。   The color information is a color to be developed on the print medium, for example, a color material similar to the pixel value (RGB value) of the image data. Is information indicating how much (hereinafter referred to as color material usage) is formed. As shown in FIG. 8, the color information table has a color material usage amount (first color) representing the first color used in the background region for one input pixel value (a target color viewed under normal light). Color information), a color material usage amount (second color information) representing the second color used in the latent image area, and a color difference value ΔEab which is a difference value between the first and second pixel values with respect to the input pixel value. Consists of.

なお、印刷画像に使用できる色は背景領域の色と潜像領域の色の色差が小さく、印刷画像に使用できない色は背景領域の色と潜像領域の色の色差が大きいことに留意されたい。   Note that the colors that can be used for the print image have a small color difference between the background area color and the latent image area color, and the colors that cannot be used for the print image have a large color difference between the background area color and the latent image area color. .

ここで、各RGB値に対して印刷媒体上に単位面積当りの色材が付着する最大量を100とした各色色材の割合を数値で示すこととする。   Here, for each RGB value, the ratio of each color material, where the maximum amount of color material per unit area that adheres to the print medium is 100, is shown as a numerical value.

なお、色情報は、画像データで使用されるすべての画素値に対して、予め保持されているものとする。   Note that the color information is held in advance for all pixel values used in the image data.

印刷画像データ生成部108は、補正画像データ、および潜像画像データと色情報から印刷画像を構成するデータを生成する機能を有する。   The print image data generation unit 108 has a function of generating data constituting a print image from the corrected image data, the latent image data, and the color information.

出力部109は、紙を取り込み、印刷画像データを元に、紙上に印刷画像を印刷する機能を有する。   The output unit 109 has a function of taking paper and printing the print image on the paper based on the print image data.

以下、本実施形態を実現させるための方法を図1の画像処理装置11のブロック図と図2Aのフローチャートに従って説明する。   Hereinafter, a method for realizing the present embodiment will be described with reference to the block diagram of the image processing apparatus 11 in FIG. 1 and the flowchart in FIG. 2A.

まず、画像処理装置11に画像データが入力されると、画像入力部101は、その画像を読み取り、電子データである画像データIを生成して(S201)、補正画像データ生成部103に供給する。ここで画像データIとは、画素単位での扱いが可能な画像である。例えば画像が紙原稿である場合、画像入力部101は電荷結合素子CCDまたは光学センサーを有するものとし、画像入力指示に応じて画像の撮影、電気信号処理、デジタル信号処理等を行って画像データIを生成する。また、画像がページ記述言語で記述されたデータであったり、特有のデータ形式を扱うアプリケーションで作成されたデータである場合には、そのデータ形式を一般的な画像の形式(ビットマップ形式等)に変換し、画像データIとする。ここでは、説明を簡単にするため、生成された画像データIは均一が色の画像、すなわち、図4(a)のように、全画素が同じ画素値(R2,G2,B2)で構成されるものとする。   First, when image data is input to the image processing apparatus 11, the image input unit 101 reads the image, generates image data I as electronic data (S 201), and supplies the image data I to the corrected image data generation unit 103. . Here, the image data I is an image that can be handled in units of pixels. For example, when the image is a paper document, the image input unit 101 includes a charge coupled device CCD or an optical sensor, and performs image capturing, electrical signal processing, digital signal processing, and the like in accordance with an image input instruction to perform image data I Is generated. If the image is data described in a page description language or data created by an application that handles a specific data format, the data format is a general image format (bitmap format, etc.). Into image data I. Here, in order to simplify the description, the generated image data I is a uniform color image, that is, all pixels are configured with the same pixel values (R2, G2, B2) as shown in FIG. Shall be.

次に、潜像画像生成部102は、赤外光下で顕在化させたい絵柄または文字を表す潜像データCが入力されると、潜像画像データIcを生成し、印刷画像データ生成部108に供給する(S202)。   Next, when the latent image data C representing a pattern or a character to be made visible under infrared light is input, the latent image generation unit 102 generates latent image data Ic and print image data generation unit 108. (S202).

ここで、潜像画像データIcとは、画素単位での扱いが可能な2値画像データであり、絵柄または文字部分は「1」、それ以外は「0」で構成されている。言い換えれば、潜像画像データIcとは、各画素が先に説明した背景領域、潜像領域のいずれであるのかを示す情報で構成されるとも言える。   Here, the latent image data Ic is binary image data that can be handled in units of pixels, and the pattern or character portion is “1”, and the others are “0”. In other words, it can be said that the latent image data Ic is composed of information indicating whether each pixel is the background region or the latent image region described above.

図4(b)に示すように潜像データCが「Original」の文字で構成される場合、潜像部分の画素が「1」それ以外の画素が「0」である2値画像データが、潜像画像データIcとなる。なお、ここでは、潜像データCが2値画像の場合そのまま潜像画像データIcとしたが、絵柄または文字を描画する描画情報である場合は、描画情報をもとに2値画像を生成しこれを潜像画像データIcとする。   When the latent image data C is composed of characters “Original” as shown in FIG. 4B, binary image data in which the pixels of the latent image portion are “1” and the other pixels are “0” The latent image data Ic. Here, when the latent image data C is a binary image, the latent image data Ic is used as it is. However, in the case of drawing information for drawing a picture or a character, a binary image is generated based on the drawing information. This is set as latent image data Ic.

なお、印刷画像の大きさは、入力された画像データIと同じ大きさとする。このため、画像データIと潜像画像データIcの大きさが異なる場合がある。今、潜像画像データIcの大きさが画像データIの大きさよりも小さいとすると、例えば図6(a)のように拡大することにより潜像画像データIcを生成する。また、図6(c)のように潜像画像データIcを繰り返すことにより潜像画像データIcを作成しても良い。もし潜像画像データIcの大きさが画像データIの大きさよりも大きい場合は図6(b)のように縮小する。   Note that the size of the print image is the same as that of the input image data I. For this reason, the sizes of the image data I and the latent image data Ic may be different. Now, assuming that the size of the latent image data Ic is smaller than the size of the image data I, for example, the latent image data Ic is generated by enlarging as shown in FIG. Further, the latent image data Ic may be created by repeating the latent image data Ic as shown in FIG. If the size of the latent image data Ic is larger than the size of the image data I, the image is reduced as shown in FIG.

次に、補正画像データ生成部103は、画像入力部101より画像データIを取得すると、画像データの輝度を変更した輝度変更画像データIbを生成する(S203)。また、補正画像データ生成部103は、画像データIの色を色情報選択部105で選択したパレット情報の色に変更した減色画像データIrと、輝度変更画像データIbの色をパレット情報の色に変更した輝度変更減色画像データIbrを生成する(S204)。   Next, when the image data I is acquired from the image input unit 101, the corrected image data generation unit 103 generates brightness-changed image data Ib in which the brightness of the image data is changed (S203). Further, the corrected image data generation unit 103 changes the color of the image data I to the color of the palette information selected by the color information selection unit 105, and the color of the brightness changed image data Ib to the color of the palette information. The changed luminance change reduced color image data Ibr is generated (S204).

そして、輝度変更画像データIb、減色画像データIrおよび、輝度変更減色画像データIbrの3つのデータを補正画像データとして表示・選択部106に供給する。   Then, the three data of the luminance change image data Ib, the reduced color image data Ir, and the luminance change reduced color image data Ibr are supplied to the display / selection unit 106 as corrected image data.

以下では、補正画像データである輝度変更画像データIb、輝度変更減色画像データIbr、減色画像データIrの生成処理を順次説明していく。   In the following, the process of generating the luminance change image data Ib, the luminance change subtractive color image data Ibr, and the subtractive color image data Ir, which are correction image data, will be sequentially described.

なお、以降では説明を簡潔にするため、図4(a)の符号401で示された領域および、図4(b)の符号402で示された領域に着目し説明していく。   For the sake of brevity, the following description focuses on the area indicated by reference numeral 401 in FIG. 4A and the area indicated by reference numeral 402 in FIG. 4B.

図7(a)に図4(a)の領域401を拡大したものを、 図7(b)に図4(b)の領域402を拡大したものを示す。   FIG. 7 (a) shows an enlarged view of the area 401 in FIG. 4 (a), and FIG. 7 (b) shows an enlarged view of the area 402 in FIG. 4 (b).

まず、輝度変更画像データIbの生成処理(第1の変換処理)について、図2Bのフローチャートに従って説明する。   First, the generation process (first conversion process) of the brightness change image data Ib will be described with reference to the flowchart of FIG. 2B.

補正画像データ生成部103は、画像入力部101より原画像データIを取得すると、原画像データIの各画素の輝度値を算出する(S212)。   When the corrected image data generating unit 103 acquires the original image data I from the image input unit 101, the corrected image data generating unit 103 calculates the luminance value of each pixel of the original image data I (S212).

輝度成分値Yの算出は一般的に知られている次式を用いて行う(小文字のyはイエローを示しているで、注意されたい)。
Y = 0.299*R+0.587*G+0.114*B
The luminance component value Y is calculated using the following generally known formula (note that the small letter y indicates yellow, which should be noted).
Y = 0.299 * R + 0.587 * G + 0.114 * B

補正画像データ生成部103は各画素の輝度値を算出していき、画像データIの中で、一番高い輝度値Yh(最大輝度値Yh)として検出し、保持しておく。   The corrected image data generation unit 103 calculates the luminance value of each pixel, detects it as the highest luminance value Yh (maximum luminance value Yh) in the image data I, and holds it.

次に補正画像データ生成部103は、色情報保持部107から閾値保持部104で保持されている色差が閾値以下(この閾値はユーザが設定もしくは指示できる点は既に説明した)で、かつ、一番高い輝度値の色情報を取得する(S213)。これは色情報を上から順に参照し、閾値以下の色情報を見つけ、この閾値以下の色情報に対して上式を用いて輝度値を算出し、一番高い輝度値をYch(最大輝度値Ych)として取得するものである。   Next, the corrected image data generation unit 103 determines that the color difference held by the color information holding unit 107 to the threshold holding unit 104 is less than or equal to the threshold value (this threshold value has already been described by the user). The color information of the highest luminance value is acquired (S213). This refers to the color information in order from the top, finds the color information below the threshold, calculates the luminance value using the above formula for the color information below the threshold, and determines the highest luminance value as Ych (maximum luminance value). Ych).

次に、画像データIの中の最大輝度値YhとYchとの差分を算出し、これを変更量Dとする(S214)。
D=Yh-Ych
そして、変更量Dに着目し、変更量D>0の場合は、画像データIの各画素に対して、輝度値を変更していく(S216)。
Next, the difference between the maximum luminance values Yh and Ych in the image data I is calculated, and this is set as the change amount D (S214).
D = Yh-Ych
Then, paying attention to the change amount D, if the change amount D> 0, the luminance value is changed for each pixel of the image data I (S216).

輝度値変更は、各画素の輝度値を算出して、その輝度値から変更量Dだけ変更し、再びRGBに再変換するものである。対象画素を(R_a,G_a,B_a)とし、輝度変更後の画素を(R_b,G_b,B_b)とすると、変換は以下の式に従って演算すれば良い。
Y = 0.299*R_a+0.587*G_a +0.114*B_a
Cr = 0.500*R_a -0.419*G_a -0.081*B_a
Cb = -0.169*R_a -0.332*G_a +0.500*B_a
R_b=(Y-D)+1.402*Cr
G_b=(Y-D)-0.714*Cr-0.344*Cb
B_b=(Y-D)+1.772*Cb
つまり、各画像の輝度値の輝度を変更量Dだけ下げる処理を行うことになる。
In the luminance value change, the luminance value of each pixel is calculated, changed by the change amount D from the luminance value, and reconverted into RGB again. If the target pixel is (R_a, G_a, B_a) and the pixel after the luminance change is (R_b, G_b, B_b), the conversion may be calculated according to the following equation.
Y = 0.299 * R_a + 0.587 * G_a + 0.114 * B_a
Cr = 0.500 * R_a -0.419 * G_a -0.081 * B_a
Cb = -0.169 * R_a -0.332 * G_a + 0.500 * B_a
R_b = (YD) + 1.402 * Cr
G_b = (YD) -0.714 * Cr-0.344 * Cb
B_b = (YD) + 1.772 * Cb
That is, processing for lowering the luminance value of each image by the change amount D is performed.

以上のようにして、輝度値を変更し、全画素が終了したか否かを判定する(S217)。   As described above, the luminance value is changed, and it is determined whether or not all pixels have been completed (S217).

まだ未処理の画素が残っている場合は対象画素を変更する(S218)。一方、全ての画素の処理が完了した場合には、最終的に生成された輝度変更画像データIbを出力する(S219)。   If unprocessed pixels still remain, the target pixel is changed (S218). On the other hand, when the processing of all the pixels is completed, the finally generated luminance changed image data Ib is output (S219).

例えば、画像データIの画素が図7(a)に示すように(R2,G2,B2)であって、輝度値を算出し、変更後の画素が(R4,G4,B4)とすると、図7(c)に示すような変更画像データIbが生成される。   For example, if the pixel of the image data I is (R2, G2, B2) as shown in FIG. 7A, the luminance value is calculated, and the changed pixel is (R4, G4, B4), Changed image data Ib as shown in FIG. 7 (c) is generated.

なお、変更量DがD<0(0以下)の場合は、輝度を変更することなく、画像データIを輝度変更画像データIbとして出力する(S219)。変更量DがD<0ということは、画像データIの全画素が背景領域の色域と潜像領域の色域とが重なる領域の色、つまり印刷画像に使用できる色である可能性が高く、輝度値変更の必要がないためである。   If the change amount D is D <0 (0 or less), the image data I is output as the brightness change image data Ib without changing the brightness (S219). If the amount of change D is D <0, there is a high possibility that all the pixels of the image data I are colors in the area where the color gamut of the background area overlaps the color gamut of the latent image area, that is, a color that can be used for the print image This is because there is no need to change the luminance value.

以上、輝度変更画像データIbの生成処理について説明した。   Heretofore, the generation processing of the brightness change image data Ib has been described.

次に、輝度変更減色画像データIbrの生成処理(第2の変換処理)について、図2Cのフローチャートに従って説明する。輝度変更減色画像データIbrは、輝度変更画像データIbから生成される。   Next, generation processing (second conversion processing) of luminance change subtractive color image data Ibr will be described with reference to the flowchart of FIG. 2C. The luminance change subtractive color image data Ibr is generated from the luminance change image data Ib.

補正画像データ生成部103は、色情報保持部107から色情報を取得し(S220)、閾値保持部104で保持されている色差の閾値をもとに、色情報を選択していき、選択された各色情報をパレット情報Cpとして生成する(S221)。   The corrected image data generation unit 103 acquires the color information from the color information holding unit 107 (S220), selects the color information based on the color difference threshold held by the threshold holding unit 104, and is selected. Each color information is generated as palette information Cp (S221).

図8は色情報を示しており、この色情報から閾値Th以下の色情報を選択していく。そして選択された色情報がパレット情報Cpとなる。例えば、閾値Th=2とした時、パレット情報Cpは色差が2以下の色で表わされる色の集合、すなわち、Cp={(R1,G1,B1),(R5,G5,B5),・・・}で構成される。   FIG. 8 shows color information, and color information below a threshold value Th is selected from this color information. The selected color information becomes the palette information Cp. For example, when the threshold value Th = 2, the palette information Cp is a set of colors represented by colors having a color difference of 2 or less, that is, Cp = {(R1, G1, B1), (R5, G5, B5),.・}.

このようにして色情報が選択されたパレット情報Cpが生成される。そして、このパレット情報Cpをもとに、輝度変更画像データIbの最初の画素に着目し、輝度変更画像データIbの画素の色を比較していく(S222)。輝度変更画像データIbの画素の色がパレット情報Cpの色と同じならば、色を変更せずに、輝度変更画像データIbに対して全画素終了したが否かを判定する(S225)。もし全画素終了していなければ、対象画素を変更して(S226)、ステップS222以降の処理を行っていく。   In this way, palette information Cp with color information selected is generated. Then, based on the palette information Cp, paying attention to the first pixel of the brightness changed image data Ib, the colors of the pixels of the brightness changed image data Ib are compared (S222). If the color of the pixel of the brightness changed image data Ib is the same as the color of the palette information Cp, it is determined whether or not all pixels have been completed for the brightness changed image data Ib without changing the color (S225). If all the pixels have not been completed, the target pixel is changed (S226), and the processing after step S222 is performed.

輝度変更画像データIbの画素の色がパレット情報Cpの色と異なる場合は、パレット情報Cpから一番近い色情報を選択し、画素の色を変更する(S224)。なお、変更の際には誤差拡散による色の変更を行うものとする。   If the color of the pixel of the brightness change image data Ib is different from the color of the palette information Cp, the closest color information is selected from the palette information Cp, and the color of the pixel is changed (S224). It is assumed that the color is changed by error diffusion when changing.

例えば着目画素値(R2,G2,B2)に、その着目画素よりも前に処理済みの画素(4つ)から拡散した誤差を足し込んだ画素値を(R4,G4,B4)=(128,0,128)とし、この(R4,G4,B4)に対して、パレット情報Cpの中で一番近い色の色情報が(R5,G5,B5)=(128,0,64)であったとする。このときに発生した誤差を、図7(e)の誤差拡散マトリクス内の分配比率に従い、未処理の画素位置に分配する。なお、着目画素が、画像の最初の画素(一般に、ラスタースキャン順に処理するので、画像の左上隅の画素)の場合、それ以前に発生した誤差はゼロと見なす。   For example, the pixel value (R4, G4, B4) = (128, which added the error diffused from the pixel (4) processed before the target pixel to the target pixel value (R2, G2, B2) 0,128), and the color information of the closest color in the palette information Cp with respect to (R4, G4, B4) is (R5, G5, B5) = (128,0,64). The error generated at this time is distributed to unprocessed pixel positions according to the distribution ratio in the error diffusion matrix of FIG. Note that if the pixel of interest is the first pixel of the image (generally, the pixel in the upper left corner of the image is processed in the raster scan order), the error that occurred before that is considered to be zero.

着目画素で派生した誤差は、図7(e)に示す誤差拡散マトリクスに従い、他の未処理の画素位置に分配される。   The error derived from the pixel of interest is distributed to other unprocessed pixel positions in accordance with the error diffusion matrix shown in FIG.

実施形態では、
着目画素値701(R5,G5,B5)=(128,0,64)
として決定され、相対的に隣接の未処理の画素位置702,703,704,705には、以下のように誤差が分配される。
画素702=(+(R4-R5)*7/16, +(R4-R5)*7/16, +(R4-R5)*7/16)
画素703=(+(R4-R5)*3/16, + (R4-R5)*3/16, +(R4-R5)*3/16)
画素704=(+(R4-R5)*5/16, +(R4-R5)*5/16, +(R4-R5)*5/16)
画素705=(+(R4-R5)*1/16, +(R4-R5)*1/16, +(R4-R5)*1/16)
実施形態では、図7(e)に示す誤差拡散マトリクスを用いるので、分配された誤差値を保持するバッファメモリは、1ライン+1画素分の容量があれば十分となる。
In an embodiment,
Pixel value of interest 701 (R5, G5, B5) = (128,0,64)
The error is distributed to the relatively adjacent unprocessed pixel positions 702, 703, 704, and 705 as follows.
Pixel 702 = (+ (R4-R5) * 7/16, + (R4-R5) * 7/16, + (R4-R5) * 7/16)
Pixel 703 = (+ (R4-R5) * 3/16, + (R4-R5) * 3/16, + (R4-R5) * 3/16)
Pixel 704 = (+ (R4-R5) * 5/16, + (R4-R5) * 5/16, + (R4-R5) * 5/16)
Pixel 705 = (+ (R4-R5) * 1/16, + (R4-R5) * 1/16, + (R4-R5) * 1/16)
In the embodiment, since the error diffusion matrix shown in FIG. 7E is used, a buffer memory that holds the distributed error value is sufficient if it has a capacity of 1 line + 1 pixel.

さて、そして画素の色が変更された後は、輝度変更画像データIbに対して全画素終了したか否かを判定する(S225)。もし全画素終了していなければ、対象画素を変更して(S226)、ステップS222以降の処理を行っていく。   Now, after the color of the pixel has been changed, it is determined whether or not all pixels have been completed for the luminance-changed image data Ib (S225). If all the pixels have not been completed, the target pixel is changed (S226), and the processing after step S222 is performed.

一方、全ての画素の処理が終了した場合には、最終的に生成された輝度変更減色画像データIrbを出力する(S227)。   On the other hand, when all the pixels have been processed, the finally generated luminance-changed color-reduced image data Irb is output (S227).

例えば、輝度変更画像データIbの画素が図7(c)に示すように(R4,G4,B4)であって、変更後の画素が(R5,G5,B5)とすると、図7(d)に示すような輝度変更減色画像データIbrが生成される。なお、輝度変更減色画像データIbrはパレット情報Cpの色情報(R1,G1,B1)、(R5,G5,B5)で構成されていることに留意されたい。   For example, assuming that the pixels of the brightness changed image data Ib are (R4, G4, B4) as shown in FIG. 7C and the changed pixels are (R5, G5, B5), FIG. As shown in FIG. 4, luminance-changed subtractive color image data Ibr is generated. It should be noted that the luminance change subtractive color image data Ibr is composed of color information (R1, G1, B1) and (R5, G5, B5) of the palette information Cp.

なお、今回、パレット情報Cpに関して、色情報から閾値Th以下の色情報を選択して生成する方法を説明したが、本発明はこれに限定されない。例えば選択される色数を予め設定し、設定された色数から色情報を区間ごとに区切り、区間内で一番小さい色差の色情報をパレット情報Cpとして選択していくことも可能である。   In addition, although the method of selecting and generating color information of the threshold value Th or less from the color information for the palette information Cp has been described this time, the present invention is not limited to this. For example, the number of colors to be selected can be set in advance, the color information can be divided into sections from the set number of colors, and the color information having the smallest color difference in the section can be selected as the palette information Cp.

例えば、色数を512色として、色情報を512個に分割した場合、図8に示すように区間1で一番小さい色差は(R1,G1,B1)であるため(R1,G1,B1)が選択される。このようにして全512区間に対して同様の処理を行うことにより、パレット情報Cpが生成される。   For example, when the number of colors is 512 and the color information is divided into 512 pieces, the smallest color difference in section 1 is (R1, G1, B1) as shown in FIG. 8 (R1, G1, B1). Is selected. The palette information Cp is generated by performing the same processing for all 512 sections in this way.

以上、変更減色画像データIbrの生成処理について説明した。なお、減色画像データIrは、上述した生成処理を画像データIに対して行うことにより生成できるため詳細な説明は省略する。   In the foregoing, the generation process of the changed color-reduced image data Ibr has been described. The reduced color image data Ir can be generated by performing the above-described generation process on the image data I, and thus detailed description thereof is omitted.

このようにして、輝度変更画像データIb、減色画像データIr、輝度変更減色画像データIbrが生成され、この3つのデータを補正画像データとして表示・選択部106に供給する。   In this way, the brightness change image data Ib, the reduced color image data Ir, and the brightness change reduced color image data Ibr are generated, and these three data are supplied to the display / selection unit 106 as corrected image data.

次に、表示・選択部106は、補正画像データ生成部103から補正画像データが供給されると、補正画像データの各画像データ(実施形態では3つ)を表示させ、その中の1つの画像データをユーザに選択させる(S205)。   Next, when the corrected image data is supplied from the corrected image data generation unit 103, the display / selection unit 106 displays each image data (three in the embodiment) of the corrected image data, and one image among them is displayed. The user is made to select data (S205).

ここで、補正画像データを表示・選択する方法について、図2Dのフローチャートと、図10(a)の表示方法を例示した図で詳細に説明する。   Here, a method of displaying and selecting the corrected image data will be described in detail with reference to the flowchart of FIG. 2D and the diagram illustrating the display method of FIG.

表示・選択部106は、補正画像データ生成部103から補正画像データが供給されると、補正画像データ(実施形態では変更画像データIb、減色画像データIr、変更減色画像データIbr)を選択可能に表示する(S228)。   When the corrected image data is supplied from the corrected image data generation unit 103, the display / selection unit 106 can select corrected image data (changed image data Ib, reduced color image data Ir, and changed reduced color image data Ibr in the embodiment). It is displayed (S228).

図10(a)は、表示方法を例示した図であり、補正画像データである変更画像データIb、減色画像データIr、変更減色画像データIbrがそれぞれ表示されている。   FIG. 10A is a diagram illustrating a display method, in which changed image data Ib, reduced color image data Ir, and changed reduced color image data Ibr, which are corrected image data, are displayed.

次に、ユーザは表示された補正画像データ(変更画像データIb、減色画像データIr、変更減色画像データIbr)の中から印刷したい画像データを1つ選択する(S229)。   Next, the user selects one image data to be printed from the displayed corrected image data (changed image data Ib, reduced color image data Ir, and changed reduced color image data Ibr) (S229).

例えば図10(a)に示すように、各画像データの上部にはチェックボックスが設けられており、選択したい画像データのチェックボックスをオンにすることで所望の画像データを選択することが出来る。   For example, as shown in FIG. 10A, a check box is provided above each image data, and desired image data can be selected by turning on the check box of the image data to be selected.

そして、ユーザが画像データ選択後に、印刷を選択することにより、選択された画像データを、補正画像データとして印刷画像データ生成部108に供給する(S230)。なお、印刷しない場合は、キャンセルを選択することにより、処理が終了する。   Then, when the user selects printing after selecting the image data, the selected image data is supplied to the print image data generation unit 108 as corrected image data (S230). In the case where printing is not performed, the process ends by selecting cancel.

また、上述した表示・選択する方法は、変更画像データIb、減色画像データIr、変更減色画像データIbrを一度に表示し、選択させる方法であったが、順次表示して選択させる方法も考えられる。この場合の処理を、図2Eのフローチャート、図10(b)、図10(c)、図10(d)の表示方法を例示した図で説明する。   In addition, the above-described display / selection method is a method of displaying and selecting the changed image data Ib, the reduced color image data Ir, and the changed reduced color image data Ibr at a time, but a method of sequentially displaying and selecting them is also conceivable. . The processing in this case will be described with reference to the flowchart of FIG. 2E and the display examples of FIGS. 10B, 10C, and 10D.

表示・選択部106は、補正画像データ生成部103から補正画像データが供給されると、まず、補正画像データである輝度変更減色画像データIbrを表示する(S231)。   When the corrected image data is supplied from the corrected image data generation unit 103, the display / selection unit 106 first displays the luminance change subtractive color image data Ibr that is the corrected image data (S231).

図10(b)は、表示方法を例示した図であり、補正画像データである変更減色画像データIbrが表示されている。   FIG. 10B is a diagram illustrating a display method, in which changed color-reduced image data Ibr that is corrected image data is displayed.

次に、ユーザは表示された変更減色画像データIbrが印刷したい画像データであるか否かを決定する(S232)。なお、印刷したいか否かは、図10(b)に示すように、「はい」・「いいえ」ボタンにより選択するものである。印刷したい場合「はい」を選択すると、表示・選択部106は、変更減色画像データIbrを補正画像データとして印刷画像データ生成部108に供給する(S233)。   Next, the user determines whether the displayed changed color-reduced image data Ibr is image data to be printed (S232). Whether or not printing is desired is selected by a “Yes” / “No” button as shown in FIG. If “Yes” is selected for printing, the display / selection unit 106 supplies the changed color-reduced image data Ibr as corrected image data to the print image data generation unit 108 (S233).

印刷しない場合、つまり「いいえ」を選択すると、図10(c)に示すように変更画像データIbを表示する(S234)。   When not printing, that is, when “No” is selected, the changed image data Ib is displayed as shown in FIG. 10C (S234).

そして、ユーザは表示された変更画像データIbが印刷したい画像データであるか否かを決定する(S235)。   Then, the user determines whether the displayed changed image data Ib is image data to be printed (S235).

印刷したい場合「はい」を選択すると、表示・選択部106は、変更画像データIbを補正画像データとして印刷画像データ生成部108に供給する(S236)。   When “Yes” is selected for printing, the display / selection unit 106 supplies the changed image data Ib to the print image data generation unit 108 as corrected image data (S236).

印刷しない場合、つまり「いいえ」を選択すると、図10(d)に示すように減色画像データIrを表示する(S237)。   When printing is not performed, that is, when “NO” is selected, the color-reduced image data Ir is displayed as shown in FIG. 10D (S237).

そして、ユーザは表示された減色画像データIrが印刷したい画像データであるか否かを決定する(S238)。   Then, the user determines whether or not the displayed reduced color image data Ir is image data to be printed (S238).

印刷したい場合「はい」を選択すると、表示・選択部106は、減色画像データIrを補正画像データとして印刷画像データ生成部108に供給する(S239)。   If “Yes” is selected for printing, the display / selection unit 106 supplies the reduced color image data Ir as corrected image data to the print image data generation unit 108 (S239).

もう一度表示させたい場合は、「もう一度はじめから表示」を選択すると、ステップS231に戻って上述した処理を同様に行う。   If it is desired to display again, when “display again from the beginning” is selected, the process returns to step S231 and the above-described processing is similarly performed.

印刷しない場合、つまり「いいえ」を選択すると、処理が終了する。   When printing is not performed, that is, when “No” is selected, the processing is terminated.

以上、補正画像データを表示・選択する方法について説明した。なお、今回補正画像データの表示順序は変更減色画像データ、変更画像データ、減色画像データの順で表示させたが、本件はこれに限定されることなく、どの画像データから表示させてもよい。   The method for displaying and selecting the corrected image data has been described above. Although the display order of the corrected image data this time is displayed in the order of changed subtractive color image data, changed image data, and subtractive color image data, the present invention is not limited to this, and any image data may be displayed.

次に、図2Aのフローチャートに戻って、印刷画像の生成方法について示す。   Next, returning to the flowchart of FIG. 2A, a method for generating a print image will be described.

印刷画像データ生成部108は表示・選択部106より補正画像データが供給されると、色情報保持部107から図8に示すような色情報を読み込み、補正画像データ(変更画像データIb、減色画像データIr、変更減色画像データIbrのいずれか)と潜像画像データIcの最初の画素に着目する。そして、潜像画像データIcにおける着目した画素の値により以降の処理を切り替える(S206)。なお、上記の表示・選択部106で補正画像データとして変更減色画像データIbrが選択されたものとして説明する。   When the corrected image data is supplied from the display / selection unit 106, the print image data generation unit 108 reads color information as shown in FIG. 8 from the color information holding unit 107, and corrects the corrected image data (changed image data Ib, reduced color image). Attention is paid to the first pixel of either the data Ir or the changed color-reduced image data Ibr) and the latent image data Ic. Then, the subsequent processing is switched depending on the value of the focused pixel in the latent image data Ic (S206). It is assumed that the changed color-reduced image data Ibr is selected as the corrected image data by the display / selection unit 106 described above.

まず、潜像画像データIcの値が「1」である場合には、色情報保持部107が保持している色情報を参照し、着目した画素の変更減色画像データIbrの画素値に対応する色材使用量のうち、「潜像領域の色」を印刷画像データとする(S207)。   First, when the value of the latent image image data Ic is “1”, the color information held by the color information holding unit 107 is referred to, and the pixel value of the focused color-changed image data Ibr of the pixel of interest is corresponded. Of the color material usage amount, “color of latent image area” is set as print image data (S207).

例えば、変更画像データIbの画素値が(R5,G5,B5)とすると、(R5,G5,B5)の潜像領域の色である(C,M,Y,K)= (28,23,28,5)を印刷画像データとする。   For example, if the pixel value of the modified image data Ib is (R5, G5, B5), it is the color of the latent image area of (R5, G5, B5) (C, M, Y, K) = (28, 23, 28,5) is the print image data.

なお、図8を見ると、「潜像領域の色」の赤外吸収率が大きい色材(K)の色材使用量は「5」であり、赤外吸収率が大きい色材(K)が含まれていることに留意されたい。   Referring to FIG. 8, the color material usage amount of the color material (K) having a large infrared absorption rate of “color of latent image region” is “5”, and the color material (K) having a large infrared absorption rate. Note that this is included.

そして、潜像画像データIcの値が「0」である場合には、色情報保持部107が保持している色情報を参照し、着目した画素の変更減色画像データIbrの画素値に対応する色材使用量のうち、「背景領域の色」を印刷画像データとする(S208)。   Then, when the value of the latent image data Ic is “0”, the color information held by the color information holding unit 107 is referred to and corresponds to the pixel value of the changed color-reduced image data Ibr of the pixel of interest. Of the color material usage amount, “background area color” is set as print image data (S208).

例えば、変更減色画像データIbrの画素値が(R5,G5,B5)とすると、(R5,G5,B5)の背景領域の色である(C,M,Y,K)= (30,25,30,0)を印刷画像データとする。なお、図8を見ると、「背景領域の色」の赤外吸収率が大きい色材(K)の色材使用量は「0」であり、赤外吸収率が大きい色材(K)が含まれていないことに留意されたい。   For example, if the pixel value of the changed color-reduced image data Ibr is (R5, G5, B5), it is the color of the background area of (R5, G5, B5) (C, M, Y, K) = (30, 25, 30,0) is the print image data. In FIG. 8, the color material usage amount of the color material (K) having a large infrared absorption rate of “background area color” is “0”, and the color material (K) having a large infrared absorption rate is Note that it is not included.

そして、全ての画素を処理したか否かを判定し(S209)、まだ未処理の画素が残っている場合は対象画素を変更する(S210)。一方、全ての画素の処理が完了した場合には、出力部109が最終的に生成された印刷画像データをもとに印刷媒体上に印刷画像を印刷する(S211)。   Then, it is determined whether or not all the pixels have been processed (S209). If there are still unprocessed pixels, the target pixel is changed (S210). On the other hand, when all the pixels have been processed, the output unit 109 prints the print image on the print medium based on the finally generated print image data (S211).

例えば、図7(d)に示す変更減色画像データIbrと、図7(b)に示す潜像画像データIcを使用した場合、図7(f)に示すような印刷画像が生成される。なお、潜像領域に当たる画素706は、「潜像領域の色」が使用されており、赤外吸収率が大きい色材(K)が含まれていることに留意されたい。   For example, when the changed color-reduced image data Ibr shown in FIG. 7D and the latent image data Ic shown in FIG. 7B are used, a print image as shown in FIG. 7F is generated. It should be noted that the pixel 706 corresponding to the latent image region uses “color of the latent image region” and includes a color material (K) having a large infrared absorption rate.

以上の処理を図4(a)に行った場合は、印刷画像は通常光下では図9(a)に示すように見え、赤外光を照射して赤外線撮像装置でみると図9(b)のように識別できる。   When the above processing is performed in FIG. 4 (a), the printed image looks as shown in FIG. 9 (a) under normal light, and when viewed with an infrared imaging device by irradiating infrared light, FIG. ).

以上、ブロック図とフローチャートを用いて、印刷画像を生成するまでの具体的な処理について説明した。   The specific processing until the generation of the print image has been described above using the block diagram and the flowchart.

なお、本実施形態では、表示・選択部106で選択された補正画像データが変更減色画像データとして説明したが、本発明はこれに限定されない。すなわち、減色画像データIrまたは変更画像データIbが選択された場合は、減色画像データIrまたは変更画像データIbに対してステップS206以降の処理を同様に行い、印刷画像を生成すればよい。   In the present embodiment, the corrected image data selected by the display / selection unit 106 has been described as changed color-reduced image data, but the present invention is not limited to this. That is, when the reduced color image data Ir or the changed image data Ib is selected, the process after step S206 is similarly performed on the reduced color image data Ir or the changed image data Ib to generate a print image.

このように、第1の実施形態によれば、ユーザが事前に印刷画像を確認でき、また、印刷画像内に使用できない色が含まれている場合でも、通常光下では目視し難く、赤外光下において文字または絵柄が識別可能な印刷画像を生成することが可能である。   As described above, according to the first embodiment, the user can confirm the print image in advance, and even when a color that cannot be used is included in the print image, it is difficult to visually recognize the image under normal light. It is possible to generate a printed image in which characters or designs can be identified under light.

[第2の実施形態]
本第2の実施形態では、第1の実施形態に係る夫々の処理をパーソナルコンピュータに代表される情報処理装置上で実行するアプリケーションで実現する。
[Second Embodiment]
In the second embodiment, each process according to the first embodiment is realized by an application executed on an information processing apparatus represented by a personal computer.

図11は情報処理装置(コンピュータ)の基本構成を示す図である。例えばこのコンピュータにおいて、全ての機能を実行する場合、各機能構成をプログラムにより表現し、このコンピュータに読み込ませることで、このコンピュータで第1の実施形態の全ての機能を実現することが出来る。   FIG. 11 is a diagram illustrating a basic configuration of an information processing apparatus (computer). For example, when all functions are executed in this computer, all the functions of the first embodiment can be realized on this computer by expressing each function configuration by a program and causing the computer to read it.

同図において、1101はCPUで、RAM1102やROM1103に格納されているプログラムやデータを用いて、コンピュータ全体の制御を行うと共に、上記実施形態で説明した各処理を行う。   In the figure, reference numeral 1101 denotes a CPU, which controls the entire computer using programs and data stored in a RAM 1102 and a ROM 1103 and performs each process described in the above embodiment.

1102はRAMで、外部記憶装置1108からロードされたプログラムやデータ、他のコンピュータシステム1114からI/F(インターフェース)1115を介してダウンロードしたプログラムやデータを一時的に記憶するエリアを備える。そして、CPU1101が各種の処理を行うために必要とするエリアを備える。   Reference numeral 1102 denotes a RAM which has an area for temporarily storing programs and data loaded from the external storage device 1108 and programs and data downloaded from other computer systems 1114 via an I / F (interface) 1115. The CPU 1101 includes an area necessary for performing various processes.

1103はROMで、コンピュータの機能プログラムや設定データなどを記憶する。1104はディスプレイ制御装置で、画像や文字等をディスプレイ1105に表示させるための制御処理を行う。1105はディスプレイで、画像や文字などを表示する。なお、ディスプレイとしてはCRTや液晶画面などが適用可能である。   Reference numeral 1103 denotes a ROM which stores computer function programs and setting data. Reference numeral 1104 denotes a display control apparatus, which performs control processing for displaying images, characters, and the like on the display 1105. Reference numeral 1105 denotes a display that displays images, characters, and the like. As a display, a CRT or a liquid crystal screen can be applied.

1106は操作入力デバイスで、キーボードやマウスなど、CPU1101に各種の指示を入力することのできるデバイスにより構成されている。1107は操作入力デバイス1106を介して入力された各種の指示等をCPU1101に通知するためのI/Oである。   An operation input device 1106 is configured by a device that can input various instructions to the CPU 1101 such as a keyboard and a mouse. Reference numeral 1107 denotes an I / O for notifying the CPU 1101 of various instructions input via the operation input device 1106.

1108はハードディスクなどの大容量情報記憶装置として機能する外部記憶装置で、OS(オペレーティングシステム)や上記各実施形態に係る処理をCPU1101に実行させるためのプログラム、入出力原稿画像などを記憶する。外部記憶装置1108への情報の書き込みや外部記憶装置1108からの情報の読み出しはI/O1109を介して行われる。   Reference numeral 1108 denotes an external storage device that functions as a large-capacity information storage device such as a hard disk, and stores an OS (Operating System), a program for causing the CPU 1101 to execute processing according to each of the above embodiments, input / output original images, and the like. Writing information to the external storage device 1108 and reading information from the external storage device 1108 are performed via the I / O 1109.

1110は文書や画像を出力する為のプリンタで、出力データはI/O1111を介してRAM1102、もしくは外部記憶装置1108から送られる。なお、文書や画像を出力する為のプリンタとしては、例えばインクジェットプリンタ、レーザビームプリンタ、熱転写型プリンタ、ドットインパクトプリンタなどが挙げられる。   Reference numeral 1110 denotes a printer for outputting documents and images. Output data is sent from the RAM 1102 or the external storage device 1108 via the I / O 1111. Examples of printers for outputting documents and images include ink jet printers, laser beam printers, thermal transfer printers, and dot impact printers.

1112は文書や画像を読み取るためのスキャナで、入力データはI/O1113を介してRAM1102、もしくは外部記憶装置1108に送られる。   Reference numeral 1112 denotes a scanner for reading a document or an image. Input data is sent to the RAM 1102 or the external storage device 1108 via the I / O 1113.

1116は、CPU1101、ROM1103、RAM1102、I/O1111、I/O1109、ディスプレイ制御装置1104、I/F1115、I/O1107、I/O1113を繋ぐバスである。   Reference numeral 1116 denotes a bus connecting the CPU 1101, ROM 1103, RAM 1102, I / O 1111, I / O 1109, display control device 1104, I / F 1115, I / O 1107, and I / O 1113.

上記構成において、CPU1101が実行するプログラムにより、CPU1001が図1の各構成要素として機能することになる。なお、第2の実施形態が適用する対象としては、画像編集アプリケーションはもちろんのこと、プリンタドライバに適用することができる。プリンタドライバに適用する場合、利用するプリンタのライセンス情報で表わされる潜像画像を生成し、印刷することが考えられる。   In the above configuration, the CPU 1001 functions as each component in FIG. 1 by a program executed by the CPU 1101. Note that the second embodiment can be applied not only to an image editing application but also to a printer driver. When applied to a printer driver, it is conceivable to generate and print a latent image represented by license information of a printer to be used.

なお本実施形態では、スキャンやプリンタを除く処理をコンピュータにより行っているが、スキャナやプリンタ内部の専用のハードウェア回路を用いて、コンピュータで行う処理を代行しても良い。   In the present embodiment, processing other than scanning and printer is performed by a computer. However, processing performed by a computer may be performed by using a dedicated hardware circuit inside a scanner or printer.

なお、上記各実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   Each of the above-described embodiments is merely a specific example for carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

なお、実施形態では、赤外線の吸収の程度が大きい部材を、カーボンとしたため、単独で黒色を再現するブラック(k)を含むCMYK色空間と、黒をC,M,Yで再現するCMY色空間との関係で説明したが、赤外線の吸収度合の大きな色材を、他の色材の組合わせて表現できるものであれば良いので、上記実施形態に限定されるものではない。   In the embodiment, since the member that absorbs a large amount of infrared light is carbon, a CMYK color space including black (k) that reproduces black alone and a CMY color space that reproduces black in C, M, and Y. However, the present invention is not limited to the above-described embodiment, as long as it can express a color material having a large infrared absorption degree in combination with other color materials.

また、実施形態では、ユーザに提示する補正画像データとして、輝度変更画像データIb、輝度変更減色画像データIbr、減色画像データIrを例示したがこれによって本発明が限定されるものでもない。要は、高い赤外線吸収率を色材を所定量(実施形態では100に対する5という割合)を必ず用いるとの条件で再現できる色空間と、高い赤外線吸収率を用いないで再現できる色空間との共有部分色空間に、オリジナルの色空間を幾つかの手法で近似させた場合のサンプル画像を表示し、選択させれば良い。   Further, in the embodiment, as the corrected image data presented to the user, the brightness change image data Ib, the brightness change color reduction image data Ibr, and the color reduction image data Ir are exemplified, but the present invention is not limited thereto. In short, there is a color space that can be reproduced under the condition that a predetermined amount of color material (a ratio of 5 to 100 in the embodiment) is always used, and a color space that can be reproduced without using a high infrared absorption rate. A sample image obtained by approximating the original color space by some methods may be displayed and selected in the shared partial color space.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (8)

複数の色材を用いる印刷装置で印刷するための印刷画像データを生成する画像処理装置であって、
印刷対象の画像データ、及び、赤外線撮像装置で撮像した際に識別可能な潜像画像データを入力する入力手段と、
通常光で視覚される目標色に対して赤外線吸収率が所定値より高い色材を使用して近似するための各色材の使用量を規定する第1の色情報と、前記目標色に対して赤外線吸収率が所定値より高い色材を不使用として近似するための各色材の使用量を規定する第2の色情報とで構成される情報を保持する保持手段と、
赤外線吸収率が所定値より高い色材の使用を条件として通常光の下で再現可能な色空間と赤外線吸収率が所定値より高い色材を不使用として通常光の下で再現可能な色空間との共通な部分色空間に、前記入力手段で入力した前記画像データの各画素値を近似させるための、互いに異なるアルゴリズムを用いた複数の色変換手段と、
前記入力手段で入力した画像データに対し、前記複数の色変換手段を適用することで、複数の近似画像データを生成する画像データ生成手段と、
該画像データ生成手段で生成された前記複数の近似画像データの1つを選択可能に表示する表示手段と、
該表示手段で表示された近似画像データのうちユーザが選択した近似画像データの着目画素が表わす色に近似する、前記保持手段が保持する前記第1の色情報、前記第2の色情報のいずれか一方を、前記潜像画像データにおける前記着目画素の位置に対応する画素値に基づき選択し、前記印刷画像データの画素値として出力する出力手段と
を有することを特徴とする画像処理装置。
An image processing apparatus for generating print image data for printing by a printing apparatus using a plurality of color materials,
Input means for inputting image data to be printed and latent image data that can be identified when imaged by an infrared imaging device;
First color information that defines the amount of each color material used for approximation using a color material having an infrared absorption rate higher than a predetermined value with respect to a target color viewed with normal light, and for the target color Holding means for holding information composed of second color information that defines the amount of use of each color material for approximating that a color material having an infrared absorption rate higher than a predetermined value as unused;
A color space that can be reproduced under normal light under the condition that a color material having an infrared absorption rate higher than a predetermined value is used, and a color space that can be reproduced under normal light without using a color material having an infrared absorption rate higher than a predetermined value. A plurality of color conversion means using different algorithms for approximating each pixel value of the image data input by the input means in a common partial color space with
Image data generation means for generating a plurality of approximate image data by applying the plurality of color conversion means to the image data input by the input means;
Display means for selectively displaying one of the plurality of approximate image data generated by the image data generating means;
Any of the first color information and the second color information held by the holding unit that approximates the color represented by the target pixel of the approximate image data selected by the user among the approximate image data displayed by the display unit. An image processing apparatus comprising: an output unit that selects either one based on a pixel value corresponding to a position of the target pixel in the latent image data and outputs the selected pixel value as the pixel value of the print image data.
前記保持手段は、前記第1の色情報、第2の色情報で再現可能な色と、前記目標色の色の差分値を更に保持し、
前記複数の色変換手段は、
輝度成分を変換する第1の変換手段と、
前記保持手段が保持する前記差分値が予め設定された閾値以下の前記目標色の中の、前記入力手段で入力した前記画像データの着目画素が表わす色に最も近似する1つに変換する第2の変換手段とを含む
ことを特徴とする請求項1に記載の画像処理装置。
The holding unit further holds a difference value between a color that can be reproduced with the first color information and the second color information and a color of the target color,
The plurality of color conversion means include
First conversion means for converting a luminance component;
A second color value that is converted into one closest to the color represented by the pixel of interest of the image data input by the input means, out of the target colors having the difference value held by the holding means equal to or less than a preset threshold value; The image processing apparatus according to claim 1, further comprising:
前記第1の変換手段は、
前記入力手段で入力した印刷対象の画像データにおける最大輝度値Yhを検出すると共に、前記保持手段が保持する前記差分値が予め設定された閾値以下の中で最大輝度値Ychを検出する検出手段と、
該検出手段で検出した最大輝度値YhとYchの差分を次式により変更量Dとして求め、
D=Yh-Ych
変更量Dが0より大きい場合には前記入力手段で入力した印刷対象の画像データにおける各画素値の輝度成分値から前記変更量Dだけ減じた結果を出力し、前記変更量Dが0以下の場合には、前記入力手段で入力した印刷対象の画像データをそのまま変換の結果として出力する輝度変更手段と
を含むことを特徴とする請求項2に記載の画像処理装置。
The first conversion means includes
Detecting means for detecting the maximum brightness value Yh in the image data to be printed input by the input means, and detecting the maximum brightness value Ych when the difference value held by the holding means is less than or equal to a preset threshold value; ,
The difference between the maximum luminance values Yh and Ych detected by the detection means is obtained as a change amount D by the following equation,
D = Yh-Ych
When the change amount D is larger than 0, a result obtained by subtracting the change amount D from the luminance component value of each pixel value in the image data to be printed input by the input unit is output, and the change amount D is 0 or less. 3. The image processing apparatus according to claim 2, further comprising: a brightness changing unit that directly outputs the image data to be printed input by the input unit as a result of the conversion.
前記第2の変換手段は、前記入力手段で入力した前記画像データの着目画素が表わす色と変換した後の色との差分を、予め設定された分配比率を示すマトリクスを参照し、未処理の画素位置に分配する分配手段を有することを特徴とする請求項2又は3に記載の画像処理装置。   The second conversion unit refers to a matrix indicating a preset distribution ratio with respect to the difference between the color represented by the pixel of interest of the image data input by the input unit and the color after conversion, and performs unprocessed processing. The image processing apparatus according to claim 2, further comprising a distribution unit that distributes the pixel positions. 前記色材は、シアン、マゼンタ、イエロー、ブラックであって、
前記赤外線吸収率が所定値より高い色材はブラックとする
ことを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。
The color material is cyan, magenta, yellow, black,
The image processing apparatus according to claim 1, wherein the color material having an infrared absorption rate higher than a predetermined value is black.
通常光で視覚される目標色に対して赤外線吸収率が所定値より高い色材を使用して近似するための各色材の使用量を規定する第1の色情報と、前記目標色に対して赤外線吸収率が所定値より高い色材を不使用として近似するための各色材の使用量を規定する第2の色情報とで構成される情報を保持する保持手段を有し、複数の色材を用いる印刷装置で印刷するための印刷画像データを生成する画像処理装置の制御方法であって、
入力手段が、印刷対象の画像データ、及び、赤外線撮像装置で撮像した際に識別可能な潜像画像データを入力する入力工程と、
互いに異なるアルゴリズムの複数の色変換手段それぞれが、赤外線吸収率が所定値より高い色材の使用を条件として通常光の下で再現可能な色空間と赤外線吸収率が所定値より高い色材を不使用として通常光の下で再現可能な色空間との共通な部分色空間に、前記入力工程で入力した前記画像データの各画素値を近似させる複数の色変換工程と、
画像データ生成手段が、前記入力工程で入力した画像データに対し、前記複数の色変換工程を適用することで、複数の近似画像データを生成する画像データ生成工程と、
表示手段が、該画像データ生成工程で生成された前記複数の近似画像データの1つを選択可能に表示する表示工程と、
出力手段が、該表示工程で表示された近似画像データのうちユーザが選択した近似画像データの着目画素が表わす色に近似する、前記保持手段が保持する前記第1の色情報、前記第2の色情報のいずれか一方を、前記潜像画像データにおける前記着目画素の位置に対応する画素値に基づき選択し、前記印刷画像データの画素値として出力する出力工程と
を有することを特徴とする画像処理装置の制御方法。
First color information that defines the amount of each color material used for approximation using a color material having an infrared absorption rate higher than a predetermined value with respect to a target color viewed with normal light, and for the target color A plurality of color materials having holding means for holding information composed of second color information that defines a use amount of each color material for approximating that a color material having an infrared absorption rate higher than a predetermined value as unused; A control method for an image processing apparatus for generating print image data for printing by a printing apparatus using
An input step for inputting image data to be printed and latent image data that can be identified when captured by an infrared imaging device;
Each of a plurality of color conversion means of different algorithms has a color space that can be reproduced under normal light and a color material with an infrared absorption rate higher than a predetermined value under the condition that a color material having an infrared absorption rate higher than a predetermined value is used. A plurality of color conversion steps for approximating each pixel value of the image data input in the input step to a common partial color space with a color space reproducible under normal light as usage;
An image data generation unit that generates a plurality of approximate image data by applying the plurality of color conversion steps to the image data input in the input step;
A display step in which display means displays one of the plurality of approximate image data generated in the image data generation step in a selectable manner;
The output means approximates the color represented by the target pixel of the approximate image data selected by the user from the approximate image data displayed in the display step, the first color information held by the holding means, the second color information An output step of selecting any one of the color information based on a pixel value corresponding to the position of the pixel of interest in the latent image data and outputting the selected pixel value as the pixel value of the print image data. A method for controlling a processing apparatus.
コンピュータに読み込ませ実行させることで、前記コンピュータを、請求項1乃至5のいずれか1項に記載の画像処理装置として機能させるためのプログラム。   A program for causing a computer to function as the image processing apparatus according to claim 1 by being read and executed by a computer. 請求項7に記載のプログラムを格納したことを特徴とするコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 7.
JP2012226330A 2012-10-11 2012-10-11 Image processing device, and control method of the same Pending JP2014078177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012226330A JP2014078177A (en) 2012-10-11 2012-10-11 Image processing device, and control method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012226330A JP2014078177A (en) 2012-10-11 2012-10-11 Image processing device, and control method of the same

Publications (1)

Publication Number Publication Date
JP2014078177A true JP2014078177A (en) 2014-05-01

Family

ID=50783420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012226330A Pending JP2014078177A (en) 2012-10-11 2012-10-11 Image processing device, and control method of the same

Country Status (1)

Country Link
JP (1) JP2014078177A (en)

Similar Documents

Publication Publication Date Title
JP4883789B2 (en) Image processing apparatus and image processing method
JP5525548B2 (en) Image processing system for processing digital image and image processing method for processing digital image
JP5014284B2 (en) Image processing apparatus, image processing method, and program
CN102211476B (en) Image processing apparatus
CN112000303B (en) Processing method and device capable of realizing watermark printing, electronic equipment and storage medium
US8237727B2 (en) Image processing apparatus and method
JP5095667B2 (en) Output instruction apparatus, image forming system, output instruction method, control program, and recording medium therefor
CN114070952B (en) Information processing device
JP2007336549A (en) Image forming apparatus and image forming method
US9077914B2 (en) Image processing apparatus and control method thereof printing image data having M tones under infrared light
US8922839B2 (en) Information processing apparatus and information processing method
JP6087334B2 (en) Image processing apparatus and image forming apparatus
JP6794821B2 (en) Image processing equipment and computer programs
US10482360B2 (en) Method for improving hybrid halftoning and apparatus therefor
US9681024B2 (en) Image processing apparatus, control method, and computer-readable recording medium configured to perform error diffusion process having and adder to add an error intergrated value diffused to the target pixel, the green noise and the predetermined noise, to the pixel value of the target pixel
JP6171727B2 (en) Image processing device, sheet, computer program
JP2014078177A (en) Image processing device, and control method of the same
JP4208877B2 (en) Image processing apparatus and method, computer program, and storage medium
US8482825B2 (en) Image processing apparatus and image processing method
JP2011130092A (en) Image forming apparatus and image forming method
JP2005275787A (en) Image processing method and device, and printer
JP5732864B2 (en) Information processing apparatus, program, and printing method
JP2021053828A (en) Image processing device
JP2006260533A (en) Image processing apparatus and image processing method
JP2020082451A (en) Image formation apparatus