JP2007243529A - Image forming system and image forming method - Google Patents
Image forming system and image forming method Download PDFInfo
- Publication number
- JP2007243529A JP2007243529A JP2006062304A JP2006062304A JP2007243529A JP 2007243529 A JP2007243529 A JP 2007243529A JP 2006062304 A JP2006062304 A JP 2006062304A JP 2006062304 A JP2006062304 A JP 2006062304A JP 2007243529 A JP2007243529 A JP 2007243529A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- color
- patch
- boundary surface
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は画像形成システムに関し、特に手書き要素と他の画像とを合成する技術に関する。 The present invention relates to an image forming system, and more particularly to a technique for synthesizing a handwritten element and another image.
従来、記録媒体に記録されている画像と専用の用紙に記録された手書き要素とを合成して印刷する機能を有する画像形成システムが知られている(例えば特許文献1参照)。このような画像形成システムは、手書き要素が記録された用紙の読み取り機能と、用紙から読み取られた画像データから手書き要素の領域を記録媒体に格納されている画像データに重畳して合成画像データを形成する合成機能とを有する。 2. Description of the Related Art Conventionally, an image forming system having a function of combining and printing an image recorded on a recording medium and handwritten elements recorded on a dedicated sheet is known (see, for example, Patent Document 1). Such an image forming system has a function of reading a sheet on which handwritten elements are recorded, and superimposing a region of the handwritten elements on the image data stored on the recording medium from the image data read from the sheet. And a synthetic function to form.
本発明は、読み取られた手書き要素と他の画像が合成されると得られる合成画像をユーザが正確に認識しながらその手書き要素を用紙に記録することができ、また、手書き要素を記録するための用紙のレイアウトの自由度を高めることができる、画像形成システム及び画像形成方法を提供することを目的とする。 The present invention enables a user to record a handwritten element on a sheet while accurately recognizing a composite image obtained when the read handwritten element is combined with another image, and to record the handwritten element. An object of the present invention is to provide an image forming system and an image forming method that can increase the degree of freedom of the layout of the paper.
(1)上記問題を解決するための画像形成システムは、ユーザ画像データを取得するユーザ画像取得ユニットと、前記ユーザ画像データの色域を3次元色空間内の第一境界面以上に淡い色域内に減縮することにより背景画像データを生成し、前記背景画像データに基づいて背景画像が描画領域に印刷され、前記第一境界面を基準に定められたパッチ色データに基づいてカラーパッチが標本領域に印刷されたオーダシートをプリントユニットに作成させるオーダシート印刷制御ユニットと、前記オーダシートの前記標本領域をスキャンユニットに読み取らせることによりパッチ画像データを取得し、前記オーダーシートの前記描画領域を前記スキャンユニットに読み取らせることにより描画領域画像データを取得するスキャン制御ユニットと、前記パッチ画像データに基づいて3次元色空間内の第二境界面を設定し、前記第二境界面より濃い色域内の色が表されている前記描画領域画像データの領域を前記ユーザ画像に重畳することにより合成画像データを形成する合成ユニットと、前記合成画像データに基づいて合成画像を前記プリントユニットに印刷させる合成印刷制御ユニットと、を備える。 (1) An image forming system for solving the above problems includes a user image acquisition unit for acquiring user image data, and a color gamut of the user image data within a color gamut lighter than a first boundary surface in a three-dimensional color space. The background image data is generated by reducing the image to the background, the background image is printed on the drawing area based on the background image data, and the color patch is formed on the sample area based on the patch color data determined based on the first boundary surface. An order sheet printing control unit that causes the print unit to create an order sheet printed on the print sheet; and a patch unit that obtains patch image data by causing the scan unit to read the specimen area of the order sheet; and scans the drawing area of the order sheet A scan control unit that acquires drawing area image data by causing the unit to read; A second boundary surface in a three-dimensional color space is set based on the patch image data, and the region of the drawing region image data in which a color in a color gamut darker than the second boundary surface is represented is superimposed on the user image A composition unit that forms composite image data, and a composite print control unit that causes the print unit to print a composite image based on the composite image data.
この画像形成システムによると、ユーザが手書き要素を記録し手書き要素をスキャンユニットに読み取らせるための用紙であるオーダシートの描画領域に、手書き要素と合成されるユーザ画像データに基づいて背景画像が印刷される。手書き要素が背景画像に上書きされている描画領域からは、手書き要素の領域を含む描画領域画像データが読み取られる。この描画領域画像データから手書き要素の領域が分割され、手書き要素の領域だけがユーザ画像データに重畳されると、ユーザ画像データに基づいて印刷されたユーザ画像の上に直接手書き要素を上書きしたような合成画像を印刷するための合成画像データが形成される。描画領域画像データから手書き要素の領域を分割するためには、手書き要素の領域の色域と背景画像の領域の色域が分かれていなければならない。また手書き要素は、合成画像において識別可能である必要があるから、一般に濃い色で描かれる。そこでこの画像形成システムでは、背景画像を淡く印刷するため、ユーザ画像データの色域を第一境界面以上に淡い色域に減縮することにより背景画像データを生成する。背景画像データに基づいて背景画像が印刷されている描画領域にユーザは手書き要素を記録することができるため、ユーザは先に選択したユーザ画像データと手書き要素とがどのように合成されるのかを正確に認識しながら手書き要素をオーダシートに記録することができる。 According to this image forming system, a background image is printed based on user image data combined with a handwritten element in a drawing area of an order sheet that is a sheet for a user to record a handwritten element and cause the scan unit to read the handwritten element. Is done. The drawing area image data including the area of the handwritten element is read from the drawing area in which the handwritten element is overwritten on the background image. When the handwritten element area is divided from the drawing area image data and only the handwritten element area is superimposed on the user image data, the handwritten element is directly overwritten on the user image printed based on the user image data. Composite image data for printing a composite image is formed. In order to divide the handwritten element area from the drawing area image data, the color gamut of the handwritten element area and the background image area must be separated. Since handwritten elements need to be identifiable in the composite image, they are generally drawn in a dark color. Therefore, in this image forming system, in order to print the background image lightly, the background image data is generated by reducing the color gamut of the user image data to a color gamut lighter than the first boundary surface. Since the user can record the handwritten element in the drawing area where the background image is printed based on the background image data, the user can see how the previously selected user image data and the handwritten element are combined. Handwritten elements can be recorded on the order sheet while accurately recognizing.
ところで、用紙の地色や色変換誤差によって生じるプリントユニットからスキャンユニットへの色伝達誤差が存在するため、背景画像データの色そのものが背景画像の色として読み取られるわけではない。すなわち、背景画像データの色域が予め決められた第一境界面以上に淡いとしても、スキャンユニットに読み取られた描画領域画像データの背景画像の領域の色域が第一境界面以上に淡い保障はない。したがって、描画領域画像データの第一境界面以上に濃い色の領域を手書き要素の領域とみなして領域分割をすると、手書き要素として分割される領域に背景画像の領域が含まれるおそれがある。もちろん、背景画像に手書き要素がどのように上書きされるかを予測することは不可能であるから、背景画像が印刷されている描画領域から読み取った色に基づいて第一境界面がどのようにずれているかを特定することもできない。そこでこの画像形成システムでは、第一境界面を基準に定められた色を表すパッチ色データに基づいてカラーパッチを背景画像と共に背景画像とは別の領域(標本領域)に印刷し、カラーパッチからパッチ画像データを読み取る。これにより、プリントユニットで印刷されてスキャンユニットで読み取られるまでの過程で第一境界面がどれだけずれたかを特定できるため、どの境界面よりも濃い色域の色として読み取られている領域を手書き要素の領域として描画領域画像データから分割すればよいかを特定できる。すなわち、領域分割のために用いられる第二境界面を、カラーパッチから読み取ったパッチ画像データに基づいて設定できる。 By the way, since there is a color transmission error from the print unit to the scan unit caused by the ground color of the paper or a color conversion error, the color of the background image data itself is not read as the color of the background image. That is, even if the color gamut of the background image data is lighter than the predetermined first boundary surface, the color gamut of the background image region of the drawing region image data read by the scan unit is lighter than the first boundary surface. There is no. Therefore, when region division is performed by regarding a region darker than the first boundary surface of the drawing region image data as a region of a handwritten element, the region of the background image may be included in the region divided as the handwritten element. Of course, since it is impossible to predict how handwritten elements will be overwritten on the background image, how the first boundary surface will be based on the color read from the drawing area where the background image is printed It is also impossible to specify whether it is shifted. Therefore, in this image forming system, a color patch is printed in a region (sample region) different from the background image together with the background image based on the patch color data representing the color defined with reference to the first boundary surface. Read the patch image data. As a result, it is possible to specify how much the first boundary surface has shifted in the process from being printed by the print unit to being read by the scan unit. It is possible to specify whether the image should be divided from the drawing area image data as the area. That is, the second boundary surface used for area division can be set based on the patch image data read from the color patch.
また、プリントユニットで印刷してからスキャンユニットで読み取るまでの過程において、背景画像データの色域を完全に伝達するためには、原則として、第一境界面以上に淡い色域内の全ての色を表すパッチ色データに基づいて多数のカラーパッチを背景画像と共に印刷しなければならない。1つのパッチ色データに基づいて印刷されるカラーパッチは、カラーパッチ内で色のばらつきが生じるため、ある程度の面積を持たなければならない。したがって、手書き要素を記録するための用紙であるオーダーシートにカラーパッチ1つあたりが占める面積をそれほど小さくできないために、第一境界面以上に淡い色域内の全ての色に対応する多数のカラーパッチを印刷するとすれば、カラーパッチだけでオーダーシートの大部分の面積が占められる。しかし、この画像形成システムでは、第一境界面を基準にパッチ色データが定められているため、カラーパッチがオーダシートに占める面積割合を低減することができる。その結果、背景画像データの色域がある程度広くても、すなわち背景画像データがカラー画像データであっても、手書き要素の領域を描画領域画像データから分割するために必須のカラーパッチをオーダシートに印刷できるようになる。すなわち、第一境界面を基準にパッチ色データを定めることによって、背景画像をカラー印刷することが現実的になる。 In addition, in order to completely transmit the color gamut of the background image data in the process from printing by the print unit to reading by the scan unit, in principle, all colors in the color gamut lighter than the first boundary surface are represented. A number of color patches must be printed with the background image based on the patch color data. A color patch printed based on one patch color data must have a certain area because color variation occurs in the color patch. Accordingly, since the area occupied by one color patch on the order sheet, which is a sheet for recording handwritten elements, cannot be reduced so much, a large number of color patches corresponding to all colors in a color gamut lighter than the first boundary surface. Is printed, the color patch alone occupies the most area of the order sheet. However, in this image forming system, since the patch color data is determined based on the first boundary surface, the area ratio of the color patch to the order sheet can be reduced. As a result, even if the color gamut of the background image data is wide to some extent, that is, the background image data is color image data, the color patches that are essential for dividing the handwritten element area from the drawing area image data are included in the order sheet. It becomes possible to print. That is, it is practical to color-print the background image by determining the patch color data based on the first boundary surface.
第一境界面を基準にパッチ色データを定めることにより、領域分割に必要なカラーパッチの数を低減できる理由をより具体的に説明すると次の通りである。プリントユニットでは、印刷対象の画像データの色空間(例えばsRGB)を3次元色変換テーブルや行列を用いてインクの色空間(例えばCMYK)に変換する。この変換において、入力と出力の関係は一般に単調増加である。またスキャンユニットでは、イメージセンサの出力信号に対してガンマ変換などを施して画像データの色を出力する。この変換においても、入力と出力の関係は一般に単調増加である。したがって、プリントユニットで印刷してからスキャンユニットで読み取るまでの過程において、印刷対象の画像データの濃淡と読み取られた画像データの濃淡の関係は一般に単調増加になる。つまり、プリントユニットで印刷してからスキャンユニットで読み取るまでの過程において、濃淡の異なる2つの色の濃淡の関係が逆転することは一般にはない。したがって、第一境界面を基準に定めた少なくとも1つの色に対応するカラーパッチを印刷すれば、そのカラーパッチを読み取ることによって得られるパッチ画像データに基づいて、描画領域画像データから手書き要素の領域を分割するための第二境界面を適正に設定することができる。すなわち、この画像形成システムによると、第一境界面以上に淡い色域内の全ての色に対応するカラーパッチを印刷しなくても、描画領域画像データから手書き要素の領域を分割できるため、印刷しなければならないカラーパッチの数を低減することができ、その結果、オーダシートのレイアウトの自由度を高めることができる。 The reason why the number of color patches necessary for area division can be reduced by defining the patch color data with reference to the first boundary surface is as follows. The print unit converts a color space (for example, sRGB) of image data to be printed into an ink color space (for example, CMYK) using a three-dimensional color conversion table or matrix. In this conversion, the relationship between input and output is generally monotonically increasing. The scan unit outputs the color of the image data by performing gamma conversion or the like on the output signal of the image sensor. Also in this conversion, the relationship between input and output is generally monotonically increasing. Therefore, in the process from printing with the print unit to reading with the scan unit, the relationship between the density of the image data to be printed and the density of the read image data generally increases monotonously. That is, in the process from printing with the print unit to reading with the scan unit, the relationship between the shades of two different shades is generally not reversed. Therefore, if a color patch corresponding to at least one color determined with reference to the first boundary surface is printed, the region of the handwritten element is drawn from the drawing region image data based on the patch image data obtained by reading the color patch. 2nd boundary surface for dividing | segmenting can be set appropriately. In other words, according to this image forming system, the area of the handwritten element can be divided from the drawing area image data without printing color patches corresponding to all colors in the color gamut lighter than the first boundary surface. The number of color patches that must be reduced can be reduced, and as a result, the degree of freedom in order sheet layout can be increased.
(2)上記目的を達成するための画像形成システムにおいて、前記第一境界面及び前記第二境界面はいずれも6面体の1頂点を共有する3つの側面で構成される面であってもよい。
この画像形成システムによると、第一境界面が単純な構成であるため、それに対応する第二境界面をパッチ画像データの色に基づいて設定する処理が簡素になり高速化される。
(2) In the image forming system for achieving the above object, each of the first boundary surface and the second boundary surface may be a surface constituted by three side surfaces sharing one vertex of a hexahedron. .
According to this image forming system, since the first boundary surface has a simple configuration, the processing for setting the corresponding second boundary surface based on the color of the patch image data is simplified and speeded up.
(3)上記目的を達成するための画像形成システムにおいて、前記パッチ色データは、3つの前記側面が共有する1頂点の色を表してもよい。
この画像形成システムによると、背景画像の色域内で最も濃い1個のカラーパッチを印刷するだけで第二境界面を設定することも可能である。
(3) In the image forming system for achieving the above object, the patch color data may represent a color of one vertex shared by the three side surfaces.
According to this image forming system, it is possible to set the second boundary surface by printing only the darkest color patch within the color gamut of the background image.
(4)上記目的を達成するための画像形成システムにおいて、前記パッチ色データは、3つの前記側面の各頂点の色を表してもよい。
この画像形成システムによると、7個のカラーパッチを印刷するだけで第二境界面を設定することも可能である。
(4) In the image forming system for achieving the above object, the patch color data may represent the color of each vertex of the three side surfaces.
According to this image forming system, the second boundary surface can be set only by printing seven color patches.
(5)上記目的を達成するための画像形成システムにおいて、前記パッチ色データは、前記側面の中央部に含まれる色を表してもよい。
この画像形成システムによると、プリントユニットで印刷してからスキャンユニットで読み取るまでの過程において、印刷対象の画像データの濃淡と読み取られた画像データの濃淡の関係が色の極端なねじれによって局所的に単調増加になっていないような場合であっても、適正な第二境界面を設定することができる。
(5) In the image forming system for achieving the above object, the patch color data may represent a color included in a central portion of the side surface.
According to this image forming system, the relationship between the density of image data to be printed and the density of the read image data is monotonically locally due to extreme twisting of the color in the process from printing with the printing unit to reading with the scanning unit. Even if it does not increase, an appropriate second boundary surface can be set.
(6)上記目的を達成するための画像形成方法は、ユーザ画像データを取得し、前記ユーザ画像データの色域を第一境界面以上に淡い色域内に減縮することにより背景画像データを生成し、前記背景画像データに基づいて背景画像が描画領域に印刷され、前記第一境界面を基準に定められたパッチ色データに基づいてカラーパッチが標本領域に印刷されたオーダシートをプリントユニットに作成させ、前記オーダーシートの前記標本領域をスキャンユニットに読み取らせることによりパッチ画像データを取得し、前記オーダーシートの前記描画領域を前記スキャンユニットに読み取らせることにより描画領域画像データを取得し、前記パッチ画像データに基づいて色空間内の第二境界面を設定し、前記第二境界面より濃い色域内の色が表されている前記描画領域画像データの領域を前記ユーザ画像データに重畳することにより合成画像データを形成し、前記合成画像データに基づいて合成画像を前記プリントユニットに印刷させる、ことを含む。
この画像形成方法によると、読み取られた手書き要素と他の画像が合成されると得られる合成画像をユーザが正確に認識しながらその手書き要素を用紙に記録することができ、また、その用紙のレイアウトの自由度を高めることができる。
(6) In an image forming method for achieving the above object, user image data is acquired, and background image data is generated by reducing the color gamut of the user image data to a color gamut lighter than the first boundary surface. The print unit creates an order sheet in which a background image is printed in the drawing area based on the background image data, and a color patch is printed in the sample area based on the patch color data determined based on the first boundary surface. The patch image data is obtained by causing the scan unit to read the specimen area of the order sheet, the drawing area image data is obtained by causing the scan unit to read the drawing area of the order sheet, and the patch image A second boundary surface in the color space is set based on the data, and a color in a color gamut that is darker than the second boundary surface is represented. Wherein an area of the drawing region image data synthesized image data is formed by superimposing the user image data, to print the synthesized image based on the synthesized image data to the print unit are includes.
According to this image forming method, the user can record the handwritten element on the paper while accurately recognizing the composite image obtained when the read handwritten element and the other image are combined. The degree of freedom in layout can be increased.
尚、上記の各発明は装置及び方法の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても特定することができる。 Each of the above inventions can be specified not only as an apparatus and method invention, but also as a program invention and a recording medium recording the program.
以下、図面を参照しながら本発明の実施の形態を説明する。
1.画像形成システムの構成
図2は、本発明による画像形成システムの一実施形態としてのMPF(Multi Function Printer)1の外観を示す図である。図3は、MPF1のハードウェア構成を示すブロック図である。MPF1は、リムーバブルメモリ20や図示しないPC(Personal Computer)や携帯型電話機やPDAから入力される画像データに基づいて画像を印刷する機能と、複写機能とを有する。尚、画像形成システムは、画像の読み取り機能を有するスキャナと、印刷機能を有するプリンタと、スキャナとプリンタの制御機能を有するPCとで構成してもよい。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
1. Configuration of Image Forming System FIG. 2 is a diagram showing an appearance of an MPF (Multi Function Printer) 1 as an embodiment of the image forming system according to the present invention. FIG. 3 is a block diagram illustrating a hardware configuration of the
スキャンユニット50は、主に上部ケース14に収容され、照明部52、イメージセンサ54、AFE(Analog Front End)部56、センサ駆動部74、センサキャリッジ駆動部76等を備える。センサ駆動部74に駆動されるイメージセンサ54は、RGBの3チャネルの光電素子群を備えるカラーCCDリニアイメージセンサ等のリニアイメージセンサである。イメージセンサ54は、透明な原稿台12と平行に移動する図示しないセンサキャリッジに搭載されている。イメージセンサ54は、照明部52によって照明され図示しないレンズ及びミラーにより受光面に結像される原稿の光学像の濃淡に相関する電気信号を出力する。センサキャリッジ駆動部76は、主走査方向に垂直に架設された図示しないガイドロッドに沿ってセンサキャリッジを往復移動させる。イメージセンサ54が主走査方向と垂直な方向に移動することにより二次元画像を読み取り可能となる。AFE部56は、増幅、ノイズ除去等のアナログ信号処理回路、A/D変換器等を備える。
The
プリントユニット86は、主に下部ケース16に収容され、インクジェット方式で用紙に画像を形成するための印字ヘッド84、ヘッドキャリッジ駆動部78、送紙部80、これらを制御する印刷制御部82等を備える。尚、プリントユニット86はレーザ方式等の他の印刷方式に対応する構成でもよい。印字ヘッド84は、インクカートリッジが搭載される図示しないヘッドキャリッジに設けられ、ノズル、ピエゾ素子、ピエゾ素子に印加する駆動信号を出力するピエゾ駆動回路等を備える。ピエゾ駆動回路はピエゾ素子に印加する駆動信号の波形によって、ノズルから噴射されるインク滴を大中小の3段階に制御することができる。ピエゾ駆動回路は、印刷制御部82から出力される制御信号に応じて所定の波形の駆動信号をピエゾ素子に印加する。ヘッドキャリッジ駆動部78は、図示しないモータ、駆動ベルト、モータ駆動回路等を備える。ヘッドキャリッジ駆動部78は、用紙の搬送方向と垂直に印字ヘッド84を往復移動させる。送紙部80は、図示しない用紙搬送ローラ、モータ、モータ駆動回路等を備える。送紙部80は、用紙搬送ローラを回転させることにより用紙を印字ヘッド84の移動方向軸線と垂直な方向に搬送する。印刷制御部82は、RAM60から順次印字データが転送されるバッファメモリと、バッファメモリに格納された印字データを印字ヘッド84に出力するタイミングをヘッドキャリッジの位置に応じて制御する機能と、ヘッドキャリッジ駆動部78を制御する機能と、送紙部80を制御する機能とを備えるASICである。
The
外部メモリコントローラ70は、カードスロット18から挿入されたリムーバブルメモリ20に接続される。リムーバブルメモリ20に格納されたデータは外部メモリコントローラ70によって読み出され、RAM60に転送される。
通信部69は、制御部58がPC、携帯型電話端末、PDA等の外部のシステムと通信するための通信インタフェースである。通信部69は、LAN、インターネット、USB等を通じて外部のシステムと通信する。
The
The
操作部68は、メニューを表示するための表示パネル24と、メニューを操作するための十字ボタン22、OKボタン28、キャンセルボタン21、印刷指示ボタン30、テンキー26等の各種の押しボタンを備える。尚、操作部68をタッチパネル、ポインティングデバイス等で構成してもよい。
The
制御部58は、RAM60、ROM62及びCPU64を備える。CPU64はROM62に格納されている制御プログラムを実行してMPF1の各部を制御する。ROM62は、制御プログラムを格納している不揮発性メモリである。RAM60は、外部メモリコントローラ70、通信部69又はスキャンユニット50から制御部58が取得する画像データや制御プログラムが一時的に格納される揮発性メモリである。制御プログラムは遠隔地のサーバからネットワークを経由してROM62に格納してもよいし、リムーバブルメモリ20等のコンピュータ読み取り可能な記録媒体を経由してROM62に格納してもよい。制御部58は制御プログラムを実行することにより、ユーザ画像取得ユニット、オーダシート印刷制御ユニット、合成ユニット及び合成印刷制御ユニットとして機能する。
The
ディジタル画像処理部66は、JEPG画像データのデコード、解像度変換、アンシャープ処理、階調補正、二値化、分版処理等の画像処理をCPU64と協働して実行するDSP等の専用回路である。
以上、MPF1のハードウェア構成について説明した。次にユーザ画像データに手書き要素を合成する一連の処理の概要について説明する。
The digital
Heretofore, the hardware configuration of the
図1は、ユーザ画像データに手書き要素を合成する一連の処理に関わる画像データと印刷された画像との関係を示す模式図である。
ユーザに選択されたユーザ画像データ202は、淡色化されることによって背景画像データ204に変換される。オーダシートを印刷するためのテンプレート200が定める描画領域100に背景画像データを割り付けて印刷するとオーダシート206が作成される。オーダシート206には背景画像101とカラーパッチ96が印刷されている。カラーパッチ96はテンプレート200で定められているパッチ色データ99に基づいて印刷される。ユーザはオーダシート206を取得すると、背景画像101の上に手書き要素(図では「Hello」という手書き文字が手書き要素として例示されている。)を記録する。手書き要素が記録されたオーダシートから描画領域画像データ210とパッチ画像データ212とが読み取られる。パッチ画像データ212に基づいて描画領域画像データ210から手書き要素の領域が分割される。具体的には、手書き要素の領域では手書き要素の領域の画素値を優先し、それ以外の領域ではユーザ画像データの画素値を優先するαチャネル214が描画領域画像データ210について形成される。αチャネル214を用いてユーザ画像データ202と描画領域画像データ210とが合成されると、描画領域画像データ210の手書き要素の領域のみがユーザ画像データ202の上に重畳された合成画像データ218が形成される。
FIG. 1 is a schematic diagram showing a relationship between image data related to a series of processes for combining handwritten elements with user image data and a printed image.
The
3.オーダシートの印刷処理
図4はオーダシートの印刷処理の流れを示すフローチャートである。図4に示す処理は、モード選択メニューでオーダシート印刷モードが選択されると開始され、制御部58がROM62に格納された制御プログラムの所定のモジュールを実行することにより実行される。
3. Order Sheet Printing Processing FIG. 4 is a flowchart showing the flow of order sheet printing processing. The process shown in FIG. 4 is started when the order sheet printing mode is selected from the mode selection menu, and is executed by the
はじめに制御部58は合成対象のユーザ画像データを設定する(ステップS100)。具体的には例えば、制御部58は、リムーバブルメモリ20に格納されたユーザ画像データをLCD24に表示し、十字ボタン22、OKボタン28等の操作によるユーザ画像データの選択指示を受け付けると、選択指示に応じたユーザ画像データを合成対象として設定する。選択されたユーザ画像データは、制御部58によって取得され、RAM60に格納される。
First, the
背景画像データの元になるユーザ画像データは、文字等の手書き要素と合成される最高解像度の画像データでもよいし、サムネイル画像データでもよい。サムネイル画像データに基づいて背景画像データを形成することにより、処理時間を短縮することができる。JPEGフォーマット等のユーザ画像データはデコードされるとRGBの3つのカラーチャネルを有する。ユーザ画像データの最大色域は、各チャネルの階調値が1バイトで構成されると、16777216色(256ラ256ラ256)である。ユーザ画像データの色域がRGB色空間の全体に拡がっている場合、印刷されたユーザ画像の上にカラーペンなどで書き込まれた手書き要素の領域を光学的に認識することは極めて困難である。ユーザ画像の色域と手書き要素の領域の色域が重なっていない場合、特定の色域内の画素を手書き要素の領域の画素と判定することができる。ユーザ画像の上に書き込むことのできる文字などの手書き要素の色域の範囲を広げるためには、すなわち、ユーザが利用可能な色を多くするためには、手書き要素の下に印刷されているユーザ画像の色域を狭くしなければならない。 The user image data that is the basis of the background image data may be image data with the highest resolution combined with handwritten elements such as characters, or thumbnail image data. By forming the background image data based on the thumbnail image data, the processing time can be shortened. When decoded, user image data such as JPEG format has three color channels of RGB. The maximum color gamut of user image data is 1,677,216 colors (256, 256, 256) when the gradation value of each channel is composed of 1 byte. When the color gamut of the user image data extends over the entire RGB color space, it is extremely difficult to optically recognize the handwritten element region written with a color pen or the like on the printed user image. When the color gamut of the user image does not overlap with the color gamut of the handwritten element region, the pixel in the specific color gamut can be determined as the pixel of the handwritten element region. In order to increase the range of the color gamut of handwritten elements such as characters that can be written on the user image, that is, to increase the colors available to the user, the user printed under the handwritten element The color gamut of the image must be narrowed.
図5はユーザ画像データの最大色域と背景画像データの最大色域を示す模式図である。ユーザ画像データが表す対象物は任意であるためユーザ画像データの最大色域はフルカラー(例えば16777216色)の色域である。図5において背景画像データの色域はハッチングが付された領域である。 FIG. 5 is a schematic diagram showing the maximum color gamut of user image data and the maximum color gamut of background image data. Since the object represented by the user image data is arbitrary, the maximum color gamut of the user image data is a full color (for example, 16777216 colors) color gamut. In FIG. 5, the color gamut of the background image data is a hatched area.
ステップS102では、制御部58はユーザ画像データから背景画像データを生成する。制御部58はユーザ画像データの色域を例えばR≧200、G≧200、B≧200の淡い色域に減縮することにより、背景画像データを生成する。この場合、制御部58は、R=200、R=255、G=200、G=255、B=200、B=255の6個の平面によって囲まれる色域内にユーザ画像データの色域を減縮することになる。すなわち、減縮後の色域は6面体となるため、制御部58はこの6面体のグレー軸上の頂点(R=G=B=200)を共有する3つの側面(R=200、G=200、B=200)で構成される境界面(この境界面を第一境界面という。)以上に淡い領域にユーザ画像データの色域を減縮する。このように第一境界面を6面体の1つの頂点で交わる3つの側面で構成される面とすることにより、後述する描画領域画像データ及びパッチ画像データの色域の境界面(この境界面を第二境界面という。)も、ほぼ、6面体の1つの頂点で交わる3つの平面で構成される面となる。その結果、描画領域画像データから手書き要素の領域を分割するために用いる第二境界面をパッチ画像データに基づいて設定する処理が簡素になり高速になる。
In step S102, the
色域の減縮は、ユーザ画像データのRチャネル、Gチャネル及びBチャネルの階調レベルをそれぞれ、Rin、Gin、Binとし、背景画像データのRチャネル、Gチャネル及びBチャネルの階調レベルをそれぞれ、Rout、Gout、Boutとすると、次式の線形変換となる。
Rout=55/255×Rin+200
Gout=55/255×Gin+200
Bout=55/255×Bin+200
The reduction of the color gamut is performed by setting the gradation levels of the R channel, G channel, and B channel of the user image data to R in , G in , and B in , respectively, and the gradation of the R channel, G channel, and B channel of the background image data. each level, R out, G out, When B out, a linear transformation of the following equation.
R out = 55/255 × R in +200
G out = 55/255 × G in +200
B out = 55/255 × B in +200
ところで、第一境界面をどのように設定するか、すなわちどのような色域にユーザ画像の色域を減縮するかは任意に設定可能である。例えば、第一境界面を構成する3つの平面の方程式の定数はどのように設定することもできるし、第一境界面は必ずしも平面の組み合わせからなる面でなくてもよい。 By the way, it is possible to arbitrarily set how to set the first boundary surface, that is, to which color gamut the color gamut of the user image is reduced. For example, the constants of equations of three planes constituting the first boundary surface can be set in any way, and the first boundary surface does not necessarily have to be a plane composed of a combination of planes.
制御部58は、背景画像データを形成すると、オーダシートを印刷するためのテンプレートに背景画像データを割り付けてオーダシート画像データを形成する(ステップS104)。
図6はオーダシートを印刷するためのテンプレート(以下、オーダシートを印刷するためのテンプレートを単にテンプレートという。)の構成要素を説明するための平面図である。すなわち、図6は描画領域100及び補助画像領域102に何も印刷されていないオーダシートの平面図である。テンプレートの画像データはカラーパッチ96などの構成要素の描画命令の組み合わせとしてROM62に格納してもよいし、全体として1つの画像データとしてROM62に格納してもよい。位置基準マーク90、98は、原稿台12に載置されたオーダシートの位置及び傾きを制御部58に認識させるためのマークである。ブロックコード92は、オーダシートの種類を制御部58に認識させるためのマークである。複数のチェックサークル94は印刷部数、手書き文字とユーザ画像の境界処理条件等の合成印刷条件を制御部58に認識させるために塗りつぶす位置をユーザに示すマークである。十字マーク106、108、110、112は描画領域100を制御部58に認識させるためのマークである。十字マーク106、108、110、112は描画領域100の近傍に配置されている。
When the background image data is formed, the
FIG. 6 is a plan view for explaining components of a template for printing an order sheet (hereinafter, a template for printing an order sheet is simply referred to as a template). That is, FIG. 6 is a plan view of an order sheet on which nothing is printed in the
カラーパッチ96は、標本領域97に1つ以上印刷される。各カラーパッチ96は、単色のパッチ色データに基づいて印刷される。テンプレートの画像データが全体として1つの画像データで構成される場合、各カラーパッチ96に対応する領域の画素値(R、G、B)がパッチ色データに相当する。テンプレートの画像データが構成要素の割り付け命令の組み合わせとして構成される場合、各カラーパッチ96を印刷するための描画命令の引数であるRGBの3チャネルの階調レベルの組み合わせがパッチ色データに相当する。
One or
テンプレートには描画領域100に背景画像データを割り付ける描画命令と、ユーザ画像データをそのままの階調特性で補助画像領域102に割り付ける描画命令が含まれている。背景画像データは向かい合う頂点の座標などがROM62に記録されている矩形の描画領域100に所定の割り付け規則に従って割り付けられる。例えば、背景画像データの対角線の交点と描画領域100の対角線の交点が一致し、描画領域100に余白がなく、かつ描画領域100の二辺と背景画像データの二辺が重なる割り付け規則に従って描画領域100に背景画像データが割り付けられる。補助画像領域102は、向かい合う頂点の座標がROM62に記憶されており、ユーザ画像データがそのままの階調特性で割り付けられる。補助画像領域102に割り付けられるユーザ画像データは取得しうる最高解像度の画像データでもよいし、最高解像度の画像データに添付されているサムネイル画像データでもよい。描画領域100に背景画像データが割り付けられ、補助画像領域102にユーザ画像データが割り付けられると、オーダシート画像データが形成される。
The template includes a drawing command for assigning background image data to the
ステップS112では、制御部58はオーダシート画像データに基づいてプリントユニット86に印刷を実行させることにより、プリントユニット86にオーダシートを作成させる。図7はオーダシート画像データに基づいて作成されるオーダシートの一例を示す平面図である。オーダシートの描画領域100には、背景画像データに基づいて背景画像101が印刷される。オーダシートの補助画像領域102にはユーザ画像データに基づいて補助画像95が印刷される。補助画像95を見ることによってユーザはユーザ画像データの内容をより正確に確認することができる。
In step S112, the
3.パッチ色データ
次に図5に基づいてパッチ色データを詳細に説明する。本実施形態では、パッチ色データは、それが表す色が第一境界面上に位置するように設定される。ただし、パッチ色データが表す色は、第一境界面を基準に定められる色であればよく、必ずしも第一境界面上に位置するものでなくともよい。パッチ色データが表す色が第一境界面を基準に定められる色である限り、パッチ色データに基づいてカラーパッチ96を印刷し、カラーパッチ96からパッチ画像データを読み取ると、読み取ったパッチ画像データに基づいて、描画領域画像データから手書き要素の領域を分割するために用いる第二境界面を設定することができる。なぜならば、第一境界面とパッチ色データが表す色との位置関係と、第二境界面とパッチ画像データが表す色との位置関係とには、プリントユニット86への入力からスキャンユニット50の出力までの色伝達特性によって決まる相関関係があるからである。ただし、パッチ色データが表す色は第一境界面の近傍に位置することが望ましい。
3. Patch Color Data Next, the patch color data will be described in detail based on FIG. In the present embodiment, the patch color data is set so that the color it represents is located on the first boundary surface. However, the color represented by the patch color data may be a color determined based on the first boundary surface, and does not necessarily have to be located on the first boundary surface. As long as the color represented by the patch color data is determined based on the first boundary surface, when the
パッチ色データは、グレー軸と第一境界面との交点に相当する第一境界面の頂点136に位置する色を表すものが少なくとも1つあることが望ましい。なぜならば、本実施形態のように第一境界面がR=0、G=0、B=0の3つの平面にそれぞれ平行な3つの面で構成されている場合には、グレー軸と第一境界面との交点は、背景画像データの色域のうち最も濃い色の位置になるからである。例えば、グレー軸と第一境界面との交点に相当する第一境界面の頂点136に位置する色を表すパッチ色データが唯一のパッチ色データである場合、そのパッチ色データに基づいてカラーパッチ96を印刷し、カラーパッチ96からパッチ画像データを読み取ると、読み取ったパッチ画像データが表す色を含み、R=0、G=0、B=0の3つの平面にそれぞれ平行な3つの面に対応する第二境界面を設定することができる。このようにグレー軸と第一境界面との交点に相当する第一境界面の頂点136に対応するカラーパッチ96のみをオーダシートにレイアウトする場合、カラーパッチ96の面積がオーダシート全体の面積に対して占める割合を非常に小さくできるため、オーダシートのレイアウトの自由度が増加する。例えば、描画領域100の面積を大きく取るレイアウトが可能になる。
Desirably, the patch color data includes at least one color representing the color located at the
第一境界面の各頂点(すなわち背景画像データの色域を構成する6面体の頂点のうちの7個の頂点)135、136、137、138、139、140、143に位置する色を表すパッチ色データに基づいて2以上のカラーパッチ96を印刷することが望ましい。なぜならば、プリントユニット86への入力からスキャンユニット50の出力までの色伝達特性が非線形である場合には、第一境界面はプリントユニット86へ入力されてからスキャンユニット50から出力されるまでにR=0、G=0、B=0に平行でない3つの平面で構成される面に変わることがあるからである。この場合、背景画像データの色域を構成する6面体の7個の頂点がプリントユニット86へ入力されてからスキャンユニット50から出力されるまでにどのように移動したかを、対応するパッチ画像データに基づいて特定すれば、適正な第二境界面を設定することができる。
A patch representing a color located at each vertex of the first boundary plane (that is, seven vertices of the hexahedron constituting the color gamut of the background image data) 135, 136, 137, 138, 139, 140, 143 It is desirable to print two or
プリントユニット86への入力からスキャンユニット50の出力までの色伝達特性が非線形であって、第一境界面がプリントユニット86へ入力されてからスキャンユニット50から出力されるまでにR=0、G=0、B=0に平行でない3つの曲面(これらの面は平面ではないが平面的である。)で構成される複雑な形状の面に変わる場合には、背景画像データの色域を構成する6面体の3つの側面のそれぞれの中央部に位置する色を表すパッチ色データに基づいてさらに多くのカラーパッチ96を印刷することが望ましい。背景画像データの色域を構成する6面体の3つの側面のそれぞれの中央部に位置する色は、図5において符号130、132、134で示されている。また、この場合には、第一境界面を構成する7個の辺の各中央部に位置する色を表すパッチ色データに基づいて、さらに多くのカラーパッチ96を印刷することが望ましい。第一境界面を構成する7個の辺の各中央部に位置する色は、図5において符号142で示されている。
The color transfer characteristic from the input to the
プリントユニット86への入力からスキャンユニット50による出力までの色伝達特性が非線形であって、第一境界面がプリントユニット86へ入力されてからスキャンユニット50から出力されるまでにR=0、G=0、B=0に平行でない3つの曲面(これらの面は平面ではないが平面的である。)で構成される複雑な形状の面に変わる場合には、第一境界面に完全に対応する第二境界面を設定するには相当複雑な処理が必要となる。そこで、本実施形態では、後述するようにR=0、G=0、B=0の3平面で構成される面に第二境界面が設定される。
The color transfer characteristic from the input to the
以上、パッチ色データについて説明したが、標本領域97に印刷するカラーパッチ96の数は1以上であれば特に制限はない。本実施形態では、第一境界面を基準にしてパッチ色データを設定するため、背景画像データの色域内に満遍なくパッチ色データが表す色を設定する必要がない。したがって、本実施形態によると、標本領域97に印刷するカラーパッチ96の数を低減することができ、その結果、オーダシート全体に対して標本領域97が占める割合を低減することができ、逆にオーダシート全体に対して描画領域100が占める割合を増大させることができる。
Although the patch color data has been described above, there is no particular limitation as long as the number of
4.オーダシートへの手書き要素の記録
図8は手書き要素が記録されたオーダシートの一例を示す平面図である。オーダシートには描画領域100に手書き要素を記録するようにユーザを案内するための図示しない文字や図形が印刷される。ユーザはこの案内に従って描画領域100に手書き要素を記録する。すなわち、ユーザは背景画像101に文字などの手書き要素を上書きする。図7では手書き要素として「Hello」という手書き文字を例示しているが、手書き要素は手書きの図形でもよい。また、雑誌の切り抜きやシールなどを描画領域100に貼付すれば、ユーザ画像データに基づいて印刷されたユーザ画像の上に直接雑誌の切り抜きやシールを貼付したような合成画像が印刷される。また、オーダシート自体を印刷用紙とし、描画領域100に文字や記号や画像や図形を手書き要素として印刷してもよい。本明細書では、雑誌の切り抜きやシールや印刷された文字や記号や図形を含めて、背景画像の上に記録される対象物を手書き要素というものとする。
4). Recording of Handwritten Elements on Order Sheet FIG. 8 is a plan view showing an example of an order sheet on which handwritten elements are recorded. On the order sheet, characters and figures (not shown) for guiding the user to record handwritten elements in the
ユーザが描画領域100に手書き要素を記録するとき、描画領域100にはユーザ画像データに基づいて印刷されるユーザ画像と線要素の構成が等しい背景画像101が淡く印刷されているため、ユーザは先に選択したユーザ画像データと手書き要素とがどのように合成されるのかを正確に認識しながら手書き要素をオーダシートに記録することができる。特に、ユーザ画像データがエッジの少ない画像データである場合であっても、本実施形態ではカラーで背景画像が印刷されるため、ユーザは先に選択したユーザ画像データと手書き要素とがどのように合成されるのかを正確に認識しながら手書き要素をオーダシートに記録することができる。
When the user records a handwritten element in the
5.ユーザ画像データと手書き要素との合成
図9は、MPF1がオーダシートを読み取り、オーダシートに記録された手書き要素とユーザ画像データとを合成して印刷する処理の流れを示すフローチャートである。図9に示す処理は、手書き要素を記録したオーダシートをMPF1の原稿台12に載置した状態で操作部68を用いた所定の操作によりオーダシートの読み取りをMPF1に指示することによって開始される。
5). Combining User Image Data and Handwritten Elements FIG. 9 is a flowchart showing the flow of processing in which the
ステップS200では、スキャンユニット50は制御部58の制御下でオーダシートを二値で読み取る。具体的には、原稿台12に載置されたオーダシートの全体から画像データがスキャンユニット50によって読み取られ、読み取られた画像データがRAM60に格納される。制御部58はRAM60に格納された画像データを所定のしきい値(例えば128/256)で二値化する。
In step S200, the
ステップS202では、制御部58は二値化されたオーダシートの全体を表す画像データをOMR(Optical Mark Recognition)処理することにより、塗りつぶされたチェックサークル94に応じた印刷条件を設定する。このとき、位置基準マーク90、98の位置を基準にしてオーダシート上に印刷されている画像部品(カラーパッチ、チェックサークル、十字マーク等)の位置が比較的低い精度で認識され、十字マーク106、108、110、112の位置に基づいて描画領域100が高い精度で認識される。
In step S202, the
ステップS204では、MPF1はカラーパッチ96からパッチ画像データを読み取る。具体的には、標本領域97からカラーパッチ96を表す標本領域画像データがスキャンユニット50によって読み取られ、標本領域画像データがRAM60に格納される。標本領域画像データには、1つのカラーパッチを表すパッチ画像データが標本領域画像データの部分領域として少なくとも1つ含まれる。
In step S <b> 204, the
第一境界面は、プリントユニット86に入力されてからスキャンユニット50から出力されるまでの色伝達特性に応じて、第一境界面とは異なる第二境界面に変換されるために、第一境界面を基準に用いても手書き要素の領域を描画領域画像データから正確に分割することはできない。
そこでステップS206において、制御部58はパッチ画像データに基づいて第二境界面を設定する。
The first boundary surface is converted into a second boundary surface different from the first boundary surface according to the color transfer characteristics from the time when the first boundary surface is input to the
In step S206, the
図10はパッチ色データが表す色がプリントユニット86に入力されてからスキャンユニット50から出力されるまでにどのように伝達されるかを説明するための模式図である。図10においては、図5に示された色に対応する符号を、その色がプリントユニット86に入力されスキャンユニット50から出力されることによって制御部58に取得される色に付している。例えば、図5において(R、G、B)=(200、200、200)に付された符号136を、(R、G、B)=(200、200、200)がプリントユニット86に入力されスキャンユニット50から出力されることによって制御部58が取得する色に付している。また図10においては、第二境界面より淡い領域を3次元色空間内の太線で囲って示し、第一境界面より淡い領域を3次元色空間内の細線で囲って示している。図10に示すように、パッチ色データが表す色はプリントユニット86に入力されスキャンユニット50から出力されることによって異なる色になる。パッチ色データは第一境界面上の色を表しているため、全てのパッチ画像データが表す色を含む面が第二境界面として設定されるべき面である。しかし、全てのパッチ画像データが表す色を含む面が平面で構成されるとは限らないため、複数のパッチ画像データが表す複数の色を含む曲面を設定し、その曲面に基づいて領域分割を実施するとすれば、これらの処理は相当複雑になる。
FIG. 10 is a schematic diagram for explaining how the color represented by the patch color data is transmitted from the input to the
そこで本実施形態では次のようにして平面のみで構成される第二境界面を設定する。本実施形態では、描画領域画像データの第二境界面よりも濃い領域を手書き要素の領域として認識するため、仮に描画領域画像データの第二境界面よりも濃い領域に背景画像の領域があるとすれば背景画像の領域が手書き要素の領域として認識されることになる。逆に、描画領域画像データの第二境界面よりも薄い領域に手書き要素の領域があるとすれば、その領域にある手書き要素は手書き要素として認識されないのであるが、このような不具合はユーザに濃い色で手書き要素を記録させることにより解消することができる。したがって本実施形態では、描画領域画像データの第二境界面よりも濃い領域に背景画像の領域が存在しないことが保障されるように、パッチ画像データが表す最も濃い色を基準にして第二境界面が設定される。 Therefore, in the present embodiment, a second boundary surface constituted only by a plane is set as follows. In this embodiment, since a region darker than the second boundary surface of the drawing region image data is recognized as a region of the handwritten element, if there is a background image region in a region darker than the second boundary surface of the drawing region image data Then, the area of the background image is recognized as the area of the handwritten element. Conversely, if there is a handwritten element area in an area thinner than the second boundary surface of the drawing area image data, the handwritten element in that area is not recognized as a handwritten element. This can be solved by recording handwritten elements in a dark color. Therefore, in this embodiment, the second boundary is based on the darkest color represented by the patch image data so as to ensure that the background image area does not exist in the darker area than the second boundary surface of the drawing area image data. The face is set.
具体的には、制御部58は、複数のパッチ画像データが表す全ての色を母集団として、Rチャネルの最小値Rmin、Gチャネルの最小値Gmin、Bチャネルの最小値Bminを特定する。そして制御部58は、R=Rmin、G=Gmin、B=Bminという3つの平面で第二境界面を構成する。すなわち、それら3つの平面とR=255、G=255、B=255という3つの平面で囲まれる6面体領域の6つの側面のうち、R=255、G=255、B=255のいずれでもない3つの側面で構成される面を第二境界面として設定する。尚、このことは、描画領域画像データからR<RminかつG<GminかつB<Bminを満たす領域を手書き要素の領域として分割するためにRmin、Gmin、Bminの値を特定の変数(以下、この変数をRd、Gd、Bdとする。)に設定することを単に意味する。また、安全のため、Rチャネルの最小値Rmin、Gチャネルの最小値Gmin、Bチャネルの最小値Bminのそれぞれよりも少し小さい値をRd、Gd、Bdに設定してもよい。
Specifically, the
ステップS208では、スキャンユニット50は制御部58の制御下でオーダシートの描画領域100から描画領域画像データを読み取る。スキャンユニット50が読み取った描画領域画像データは制御部58によって取得され、RAM60に格納される。
ステップS210では、制御部58は描画領域画像データとユーザ画像データとを合成することにより合成画像データを形成する。
In step S <b> 208, the
In step S210, the
図11は、制御部58による合成画像データの形成処理の流れを示すフローチャートである。
ステップS300では、描画領域画像データから注目画素が選択される。
ステップS302では、注目画素の色が第二境界面より濃いか否かが判定される。具体的な判定方法は次のとおりである。すなわち、注目画素の色のR成分がRminより小さく、かつそのG成分がGminより小さく、かつそのB成分がBminより小さいという条件を満たしている場合には、注目画素の色が第二境界面より濃いと判定され、そうでない場合には注目画素の色が第二境界面より淡いと判定される。このアルゴリズムは極めて単純であるため、このアルゴリズムによると高速な判定が可能である。
FIG. 11 is a flowchart showing the flow of the composite image data forming process by the
In step S300, the target pixel is selected from the drawing area image data.
In step S302, it is determined whether the color of the target pixel is darker than the second boundary surface. A specific determination method is as follows. That is, when the condition that the R component of the color of the target pixel is smaller than R min , the G component is smaller than G min , and the B component is smaller than B min is satisfied, the color of the target pixel is It is determined that it is darker than the second boundary surface, and otherwise, it is determined that the color of the pixel of interest is lighter than the second boundary surface. Since this algorithm is extremely simple, high-speed determination is possible with this algorithm.
注目画素の色が第二境界面より濃い場合、その注目画素は手書き要素の領域に属するとみなされ、注目画素のαチャネルが不透明に設定される(ステップS304)。ここでいう不透明は、ユーザ画像データの上に描画領域画像データを重畳することを前提にしている。
注目画素の色が第二境界面より濃くはない場合、その注目画素は背景画像の領域に属するとみなされ、注目画素のαチャネルが透明に設定される(ステップS306)。
制御部58はここまでの一連の処理を、注目画素を順次選択しながら、最後の画素まで繰り返す。
When the color of the target pixel is darker than the second boundary surface, the target pixel is regarded as belonging to the handwritten element region, and the α channel of the target pixel is set to be opaque (step S304). Opaque here is based on the premise that drawing area image data is superimposed on user image data.
If the color of the target pixel is not darker than the second boundary surface, the target pixel is considered to belong to the region of the background image, and the α channel of the target pixel is set to be transparent (step S306).
The
ステップS308において注目画素が最後の画素と判定されると、ユーザ画像データの上にαチャネルを用いて描画領域画像データが重畳される。具体的には次のとおりである。まず、ユーザ画像データの画素値を(R1、G1、B1)とし、これに対応する描画領域画像データの画素値を(R2、G2、B2)とし、これらに対応する合成画像データの画素値を(Rm、Gm、Bm)とする。αチャネルが不透明である場合、Rm=R2、Gm=G2、Bm=G2となる。αチャネルが透明である場合、Rm=R1、Gm=G1、Bm=G1となる。ここで、ユーザ画像データの画素と描画領域画像データの画素との対応関係は、描画領域100に対する背景画像データの割り付け規則と、ユーザ画像データの画素数と、描画領域画像データの画素数とに応じて一義的に決まる。
ステップS214(図9参照)では、プリントユニット86は制御部58の制御下で合成画像データに基づいて合成画像を印刷する。
If it is determined in step S308 that the target pixel is the last pixel, the drawing area image data is superimposed on the user image data using the α channel. Specifically, it is as follows. First, the pixel values of the user image data are (R 1 , G 1 , B 1 ), the pixel values of the drawing area image data corresponding thereto are (R 2 , G 2 , B 2 ), and the corresponding synthesis is performed. the pixel values of the image data and (R m, G m, B m). When the α channel is opaque, R m = R 2 , G m = G 2 , and B m = G 2 . When the α channel is transparent, R m = R 1 , G m = G 1 , and B m = G 1 . Here, the correspondence relationship between the pixels of the user image data and the pixels of the drawing area image data is determined by the background image data allocation rule for the
In step S214 (see FIG. 9), the
[他の実施形態]
尚、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の形態で実施可能である。例えば、背景画像データはカラーではなく、モノトーンであってもよい。また、上記実施形態では第一境界面が任意の背景画像データの最大色域を基準にして予め決められているものとして説明したが、第一境界面は合成対象のユーザ画像データの実際の色域を基準にしてユーザ画像データ毎に決められるものであってもよい。
[Other Embodiments]
In addition, this invention is not limited to the said embodiment, In the range which does not deviate from the summary, it can implement with a various form. For example, the background image data may be monotone instead of color. In the above embodiment, the first boundary surface is described as being determined in advance with reference to the maximum color gamut of arbitrary background image data. However, the first boundary surface is the actual color of the user image data to be synthesized. It may be determined for each user image data on the basis of the area.
1:MPF(画像形成システム)、50:スキャンユニット、58:制御部(ユーザ画像取得ユニット、オーダシート印刷制御ユニット、スキャン制御ユニット、合成ユニット、合成印刷制御ユニット)、86:プリントユニット、96:カラーパッチ、97:標本領域、99:パッチ色データ、100:描画領域、101:背景画像、200:テンプレート、202:ユーザ画像データ、204:背景画像データ、206:オーダシート、210:描画領域画像データ、212:パッチ画像データ、218:合成画像データ 1: MPF (image forming system), 50: scan unit, 58: control unit (user image acquisition unit, order sheet print control unit, scan control unit, composite unit, composite print control unit), 86: print unit, 96: color Patch: 97: Sample area, 99: Patch color data, 100: Drawing area, 101: Background image, 200: Template, 202: User image data, 204: Background image data, 206: Order sheet, 210: Drawing area image data 212: Patch image data, 218: Composite image data
Claims (6)
前記ユーザ画像データの色域を3次元色空間内の第一境界面以上に淡い色域内に減縮することにより背景画像データを生成し、前記背景画像データに基づいて背景画像が描画領域に印刷され、前記第一境界面を基準に定められたパッチ色データに基づいてカラーパッチが標本領域に印刷されたオーダシートをプリントユニットに作成させるオーダシート印刷制御ユニットと、
前記オーダーシートの前記標本領域をスキャンユニットに読み取らせることによりパッチ画像データを取得し、前記オーダーシートの前記描画領域を前記スキャンユニットに読み取らせることにより描画領域画像データを取得するスキャン制御ユニットと、
前記パッチ画像データに基づいて3次元色空間内の第二境界面を設定し、前記第二境界面より濃い色域内の色が表されている前記描画領域画像データの領域を前記ユーザ画像データに重畳することにより合成画像データを形成する合成ユニットと、
前記合成画像データに基づいて合成画像を前記プリントユニットに印刷させる合成印刷制御ユニットと、
を備える画像形成システム。 A user image acquisition unit for acquiring user image data;
Background image data is generated by reducing the color gamut of the user image data to a color gamut lighter than the first boundary surface in the three-dimensional color space, and the background image is printed in the drawing area based on the background image data An order sheet print control unit that causes the print unit to create an order sheet in which a color patch is printed in the sample area based on the patch color data determined based on the first boundary surface;
A scan control unit for acquiring patch image data by causing the scan unit to read the specimen region of the order sheet, and acquiring a drawing region image data by causing the scan unit to read the drawing region of the order sheet;
A second boundary surface in a three-dimensional color space is set on the basis of the patch image data, and an area of the drawing region image data in which a color in a color gamut darker than the second boundary surface is represented as the user image data. A compositing unit that forms composite image data by superimposing;
A composite print control unit that causes the print unit to print a composite image based on the composite image data;
An image forming system comprising:
請求項1に記載の画像形成システム。 The first boundary surface and the second boundary surface are both surfaces composed of three side surfaces sharing one vertex of a hexahedron,
The image forming system according to claim 1.
請求項2に記載の画像形成システム。 The patch color data represents the color of one vertex shared by the three side surfaces.
The image forming system according to claim 2.
請求項2に記載の画像形成システム。 The patch color data represents the color of each vertex of the three side surfaces,
The image forming system according to claim 2.
請求項2に記載の画像形成システム。 The patch color data represents a color included in a central portion of the side surface.
The image forming system according to claim 2.
前記ユーザ画像データの色域を第一境界面以上に淡い色域内に減縮することにより背景画像データを生成し、
前記背景画像データに基づいて背景画像が描画領域に印刷され、前記第一境界面を基準に定められたパッチ色データに基づいてカラーパッチが標本領域に印刷されたオーダシートをプリントユニットに作成させ、
前記オーダーシートの前記標本領域をスキャンユニットに読み取らせることによりパッチ画像データを取得し、
前記オーダーシートの前記描画領域を前記スキャンユニットに読み取らせることにより描画領域画像データを取得し、
前記パッチ画像データに基づいて色空間内の第二境界面を設定し、
前記第二境界面より濃い色域内の色が表されている前記描画領域画像データの領域を前記ユーザ画像データに重畳することにより合成画像データを形成し、
前記合成画像データに基づいて合成画像を前記プリントユニットに印刷させる、
ことを含む画像形成方法。
Get user image data,
Generating background image data by reducing the color gamut of the user image data to a color gamut lighter than the first boundary surface;
A background image is printed in the drawing area based on the background image data, and an order sheet in which a color patch is printed in the sample area based on the patch color data determined based on the first boundary surface is generated in the print unit.
Patch image data is obtained by causing the scan unit to read the specimen region of the order sheet,
Drawing area image data is obtained by causing the scanning unit to read the drawing area of the order sheet,
Setting a second boundary surface in the color space based on the patch image data;
Forming the composite image data by superimposing the region of the drawing region image data in which the color in the color gamut darker than the second boundary surface is represented on the user image data;
Causing the print unit to print a composite image based on the composite image data;
An image forming method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006062304A JP4645485B2 (en) | 2006-03-08 | 2006-03-08 | Image forming system and image forming method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006062304A JP4645485B2 (en) | 2006-03-08 | 2006-03-08 | Image forming system and image forming method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007243529A true JP2007243529A (en) | 2007-09-20 |
JP4645485B2 JP4645485B2 (en) | 2011-03-09 |
Family
ID=38588625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006062304A Expired - Fee Related JP4645485B2 (en) | 2006-03-08 | 2006-03-08 | Image forming system and image forming method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4645485B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007124617A (en) * | 2005-09-30 | 2007-05-17 | Canon Inc | Image combining apparatus and control method for the same |
JP2010045444A (en) * | 2008-08-08 | 2010-02-25 | Canon Inc | Image forming system, and image forming method |
US7986832B2 (en) | 2005-09-30 | 2011-07-26 | Canon Kabushiki Kaisha | Image combining apparatus and control method for the same |
JP2016032259A (en) * | 2014-07-30 | 2016-03-07 | ブラザー工業株式会社 | Image processing system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006013956A1 (en) * | 2004-08-06 | 2006-02-09 | Seiko Epson Corporation | Image processing system and image processing method |
-
2006
- 2006-03-08 JP JP2006062304A patent/JP4645485B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006013956A1 (en) * | 2004-08-06 | 2006-02-09 | Seiko Epson Corporation | Image processing system and image processing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007124617A (en) * | 2005-09-30 | 2007-05-17 | Canon Inc | Image combining apparatus and control method for the same |
US7986832B2 (en) | 2005-09-30 | 2011-07-26 | Canon Kabushiki Kaisha | Image combining apparatus and control method for the same |
JP2010045444A (en) * | 2008-08-08 | 2010-02-25 | Canon Inc | Image forming system, and image forming method |
US8542401B2 (en) | 2008-08-08 | 2013-09-24 | Canon Kabushiki Kaisha | Image processing apparatus and method for controlling the same |
JP2016032259A (en) * | 2014-07-30 | 2016-03-07 | ブラザー工業株式会社 | Image processing system |
Also Published As
Publication number | Publication date |
---|---|
JP4645485B2 (en) | 2011-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7646517B2 (en) | Image processing system and image processing method | |
US8023145B2 (en) | Image processing system and image processing method | |
EP1696658B1 (en) | Image processing system and image processing method | |
JP4457998B2 (en) | Composite image forming system | |
US8363260B2 (en) | Image processing apparatus and image processing method | |
US20050213174A1 (en) | Image processing system and image processing method | |
JP4645485B2 (en) | Image forming system and image forming method | |
JP4379460B2 (en) | Image forming system, image forming program, and recording medium | |
CN110263306B (en) | Image processing system and image forming apparatus | |
US20160277635A1 (en) | Information processing apparatus, image forming apparatus, image processing method, and non-transitory computer-readable medium | |
JP4674123B2 (en) | Image processing system and image processing method | |
JP2006352526A (en) | Image forming system, image forming method, and image forming program | |
JP4428297B2 (en) | Frame generating sheet, frame generating method and frame generating system | |
JP4690676B2 (en) | Image processing system, image processing method, and image processing program | |
JP4661446B2 (en) | Composite image forming device | |
JP4581902B2 (en) | Composite image forming device | |
JP4289317B2 (en) | Image forming system | |
JP4289316B2 (en) | Image forming system | |
JP3778293B2 (en) | Image processing system and image processing method | |
JP4363352B2 (en) | Image forming system | |
JP4581901B2 (en) | Composite image forming device | |
JP6927097B2 (en) | Image processing system and image forming equipment | |
JP4363351B2 (en) | Image forming system | |
JP6777111B2 (en) | Image processing system and image forming equipment | |
JP6874721B2 (en) | Image processing system and image forming equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090210 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100810 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101006 |
|
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: 20101109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101122 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131217 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |