JP5054562B2 - Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program - Google Patents

Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program Download PDF

Info

Publication number
JP5054562B2
JP5054562B2 JP2008041897A JP2008041897A JP5054562B2 JP 5054562 B2 JP5054562 B2 JP 5054562B2 JP 2008041897 A JP2008041897 A JP 2008041897A JP 2008041897 A JP2008041897 A JP 2008041897A JP 5054562 B2 JP5054562 B2 JP 5054562B2
Authority
JP
Japan
Prior art keywords
color
line
code
intermediate density
ratio
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.)
Expired - Fee Related
Application number
JP2008041897A
Other languages
Japanese (ja)
Other versions
JP2009200953A (en
Inventor
史男 吉澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008041897A priority Critical patent/JP5054562B2/en
Publication of JP2009200953A publication Critical patent/JP2009200953A/en
Application granted granted Critical
Publication of JP5054562B2 publication Critical patent/JP5054562B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、中間濃度の色を擬似的に表現する画像を形成すること、又は読み取ることができる画像形成装置、画像読取装置、画像形成方法、画像読取方法、画像形成プログラム、及び画像読取プログラムに関するものである。   The present invention relates to an image forming apparatus, an image reading apparatus, an image forming method, an image reading method, an image forming program, and an image reading program capable of forming or reading an image that artificially represents an intermediate density color. Is.

近年、QRコード(デンソーウェーブ社の登録商標)などの2次元コードと呼ばれる白黒のコードが普及している。また、次世代のコードとして、マイクロソフト社のHigh Capacity Color Barcodeなどのカラーバーコードと呼ばれるカラーのコードが注目されている。これらのコードは、ヒトが見ただけでは理解できない幾何学模様になっているが、通常のバーコード同様、読取装置で正しく読み取れれば、コンピュータなどの演算装置を用いて情報に変換することができる。   In recent years, a monochrome code called a two-dimensional code such as a QR code (registered trademark of DENSO WAVE INCORPORATED) has become popular. As a next-generation code, a color code called a color barcode such as Microsoft's High Capacity Color Barcode is attracting attention. These codes have a geometric pattern that cannot be understood by human eyes. However, as with normal barcodes, if these codes can be read correctly, they can be converted into information using a computing device such as a computer. it can.

通常のバーコードでは、黒線の太さや組み合わせで情報を表すが、2次元コードやカラーコードでは、セルの色で情報を表す。図22は、QRコードの一例を示す図である。図22に示すように、QRコードは、セルと呼ばれる黒単色の四角形が所定の規則に従い縦横に並んで構成されており、黒色のセルが1、白色のセルが0を表し、2値のデジタルデータを表現している。一方、カラーコードは、中間濃度を含む複数色のセルから構成することで、多値のデジタルデータを表現できるため、同じコード面積で表現する情報量を増やすことが可能となる。   In a normal barcode, information is represented by the thickness or combination of black lines, but in a two-dimensional code or color code, information is represented by a cell color. FIG. 22 is a diagram illustrating an example of a QR code. As shown in FIG. 22, the QR code is composed of black single-colored squares called cells arranged vertically and horizontally according to a predetermined rule. A black cell represents 1 and a white cell represents 0. It represents data. On the other hand, since the color code is composed of cells of a plurality of colors including intermediate densities, multivalued digital data can be expressed, so that the amount of information expressed with the same code area can be increased.

中間濃度のセルを含むコードは、プリンタやコピー機で印刷する場合、ハーフトーン処理等で擬似的に2値画像として表現する必要がある。ハーフトーン処理とは、画像の濃淡を網点と呼ばれる点の大きさを変えて表現する方法の1つである。カラーのハーフトーン処理の場合は、シアン、マゼンタ、イエロー、及びブラックの色材のそれぞれに対して濃淡に応じた網点のパターンを作成し、それらのパターンを重ね合わせることによって中間濃度を表現する。このように印刷された擬似的な色は、ヒトの目には一様に見えるが、スキャナなどの読取装置で読み取った場合、散在した網点が検出される。よって、中間濃度のセルの色を特定して情報に変換するためには、擬似的に表現された色から、各色材が表現しようとする濃度を推定する必要がある。   A code including cells having an intermediate density needs to be expressed as a pseudo binary image by halftone processing or the like when printed by a printer or a copier. Halftone processing is one of the methods for expressing the shade of an image by changing the size of a dot called a halftone dot. In the case of color halftone processing, a halftone dot pattern is created for each color material of cyan, magenta, yellow, and black, and an intermediate density is expressed by superimposing these patterns. . The pseudo color printed in this way looks uniform to the human eye, but when it is read by a reading device such as a scanner, scattered dots are detected. Therefore, in order to identify the color of a cell having an intermediate density and convert it to information, it is necessary to estimate the density that each color material is to express from the pseudo-expressed color.

ハーフトーン処理により得られた白黒の2値画像から、その2値画像が擬似的に表現する色の濃度を逆算する方法がいくつか提案されている。例えば、特許文献1には、ハーフトーン処理によって得られた白黒の2値画像に窓と呼ばれる参照範囲を設定し、該窓に含まれる白面積率と黒面積率の比から、各画素の濃度を推定して多値画像を復元する多値化方法が開示されている。また、特許文献2には、ハーフトーン処理によって得られた白黒の2値画像に対して、ディザ閾値マトリクスを用いたパターンマッチングを行い、網点の大きさから、各画素の濃度を推定して多値画像を復元する多値化方法が開示されている。   Several methods have been proposed for back-calculating the density of the color that the binary image represents in a pseudo manner from a black and white binary image obtained by halftone processing. For example, in Patent Document 1, a reference range called a window is set in a black and white binary image obtained by halftone processing, and the density of each pixel is determined from the ratio of the white area ratio and the black area ratio included in the window. A multi-value conversion method for reconstructing a multi-value image by estimating the value is disclosed. In Patent Document 2, pattern matching using a dither threshold matrix is performed on a black and white binary image obtained by halftone processing, and the density of each pixel is estimated from the size of a halftone dot. A multi-value conversion method for restoring a multi-value image is disclosed.

特許第3091935号公報Japanese Patent No. 3091935 特開2003−134338号公報JP 2003-134338 A

しかしながら、これらの文献に開示されている方法では、いずれも参照範囲内の網点の総面積に基づいて濃度を算出しているため、濃度の推定精度が低いという問題がある。その原因として、ハーフトーン処理により決定されたサイズの網点を正確に印刷できないという印刷時の誤差と、印刷された網点のサイズを正確に読み取れないという読み取り時の誤差とが挙げられる。擬似的に色を表現する場合、プリンタ及びスキャナの解像度は、300〜600dpi程度であることが多い。   However, each of the methods disclosed in these documents has a problem that the density estimation accuracy is low because the density is calculated based on the total area of the halftone dots in the reference range. The cause is an error at the time of printing that the halftone dot of the size determined by the halftone process cannot be printed accurately, and an error at the time of reading that the size of the printed halftone dot cannot be read accurately. When representing colors in a pseudo manner, the resolution of a printer and a scanner is often about 300 to 600 dpi.

印刷時の誤差は、インクのにじみや広がりの程度により本来印刷したい網点のサイズが再現できない、ドットゲインやドットロスといった問題に起因している。この網点のサイズの誤差の程度は印刷媒体の材質、印字速度、及び印刷機器の経時的変動などによって決まるため、補正することが難しい。一方、読み取り時の誤差は、隣接する読取素子の境界に存在する孤立点を両読取素子が読んでしまった結果、その孤立点が実際よりもサイズの大きなものとして認識されることに起因している。よって、これら従来の方法を利用した濃度の推定精度は十分でない。理論上は多数の異なる色で多くの情報を表現することができるとしても、実際にはセルに使用できる色の種類は限られる。   The error at the time of printing is caused by problems such as dot gain and dot loss in which the halftone dot size to be originally printed cannot be reproduced due to the degree of ink bleeding or spreading. Since the degree of the dot size error is determined by the material of the printing medium, the printing speed, and the change over time of the printing device, it is difficult to correct. On the other hand, the reading error is caused by the fact that both reading elements read an isolated point that exists at the boundary between adjacent reading elements, and that the isolated point is recognized as having a size larger than the actual size. Yes. Therefore, the accuracy of density estimation using these conventional methods is not sufficient. Theoretically, even though a large amount of information can be expressed in many different colors, the types of colors that can be used in cells are actually limited.

本発明は、上記に鑑みてなされたものであって、より多くの情報をより小さいコード面積で表現できるコードの形成を実現することを目的とする。また、中間濃度を含む色で表現されたコードであっても、正確に認識できるようにすることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to realize formation of a code capable of expressing more information with a smaller code area. It is another object of the present invention to make it possible to accurately recognize a code expressed in a color including an intermediate density.

上述した課題を解決し、目的を達成するために、第1の発明の画像形成装置は、参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報が格納された格納手段と、前記格納手段に格納される前記中間濃度定義情報を参照して入力データに対応する前記参照コードを探索し、探索された該参照コードに対応するカラーコードを形成するためのカラーコードデータを生成する生成ユニットと、前記生成ユニットで生成された前記カラーコードデータに従い、印刷媒体の前記単位領域に相当する面積内に、前記第1の万線と前記第2の万線とを前記角度で交差するように、それぞれ前記第1の割合と前記第2の割合で印刷することによって前記中間濃度の色を擬似的に表現する書込ユニットと、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, an image forming apparatus according to a first aspect of the present invention provides an intermediate density color, a first line of a first color material, and a second color with respect to a reference code. An angle generated by the intersection of the second line of the color material, a first ratio in which the first line occupies the unit area, and a second ratio in which the second line occupies the unit area. storage means for proportions and, intermediate density definition information put corresponds is stored in, by referring to the intermediate density definition information stored in the storage unit searches the reference code corresponding to the input data, it is searched In addition, in accordance with the color code data generated by the generation unit for generating color code data for forming a color code corresponding to the reference code, within an area corresponding to the unit region of the print medium, The first line and the second A writing unit that simulates the color of the intermediate density by printing at the first rate and the second rate so as to intersect the line at the angle. Features.

また、第2の発明の画像読取装置は、参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報が格納された格納手段と、前記単位領域に相当するセル画像を光学的に読み取って、セル画像データを生成する読取ユニットと、前記セル画像データが、前記中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定し、特定された前記中間濃度の色に基づき前記格納手段に格納される前記中間濃度定義情報を参照し、該中間濃度の色に対応する前記参照コードを取得する解析ユニットと、を備えたことを特徴とする。 In the image reading apparatus of the second invention , the intermediate density color, the first line of the first color material, and the second line of the second color material intersect with the reference code. angle and, said first and percentage of the first parallel line occupies a unit area, the intermediate density definition information second parallel line is attached a second ratio and a corresponds occupying the unit area caused by Storing means storing a cell unit, a reading unit that optically reads a cell image corresponding to the unit region to generate cell image data, and the cell image data created according to the intermediate density definition information, Corresponding to the intermediate density color, referring to the intermediate density definition information stored in the storage means based on the specified intermediate density color, and the reference code corresponding to the intermediate density color JP by comprising an analysis unit for acquiring To.

また、第3の発明の画像形成方法は、参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報を参照して入力データに対応する該参照コードを探索し、探索された該参照コードに対応するカラーコードを形成するためのカラーコードデータを生成する生成工程と、前記生成工程で生成された前記カラーコードデータに従い、印刷媒体の前記単位領域に相当する面積内に、前記第1の万線と前記第2の万線とを前記角度で交差するように、それぞれ前記第1の割合と前記第2の割合で印刷することによって前記中間濃度の色を擬似的に表現する書込工程と、を含むことを特徴とする画像形成方法。 In the image forming method of the third invention , the medium density color, the first line of the first color material, and the second line of the second color material intersect the reference code. angle and, said first and percentage of the first parallel line occupies a unit area, the intermediate density definition information second parallel line is attached a second ratio and a corresponds occupying the unit area caused by Generating a color code data for forming the color code corresponding to the searched reference code, searching for the reference code corresponding to the input data with reference to the input data, and the generating step according color code data, the in area corresponding to the unit area of the print medium, the pre-Symbol first ten thousand lines and the second parallel line to intersect at the angle, and each of the first rate The intermediate density color is simulated by printing at a second rate. Image forming method characterized by comprising a writing step, a of representation.

また、第4の発明の画像読取方法は、単位領域に相当するセル画像を光学的に読み取って、セル画像データを生成する読取工程と、前記セル画像データが、参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が前記単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定し、特定された前記中間濃度の色に基づき前記中間濃度定義情報を参照し、該中間濃度の色に対応する参照コードを取得する解析工程と、を含むことを特徴とする。 According to a fourth aspect of the present invention, there is provided an image reading method in which a cell image corresponding to a unit region is optically read to generate cell image data, and the cell image data has an intermediate density with respect to a reference code. And the angle produced by the intersection of the first line of the first color material and the second line of the second color material, and the first line occupying the unit area 1 of the ratio, and determine whether the second parallel line and a second ratio of occupying the unit area, made in accordance with the intermediate concentration definition information attached corresponds to, correspond to any of the intermediate density color, An analysis step of referring to the intermediate density definition information based on the specified intermediate density color and obtaining a reference code corresponding to the intermediate density color .

第1および第3の発明によれば、中間濃度定義情報に基づき、印刷媒体の単位領域に相当する面積内に、第1の色材の第1の万線と第2の色材の第2の万線とが所定の角度で交差するように、それぞれ所定の割合で印刷されることで中間濃度の色が擬似的に表現されるため、印刷された中間濃度の色を読み取る際に、各色材が表現しようとする濃度を推定する必要がなく、第1及び第2の万線の色と上記角度とを認識するだけで、擬似的に表現された中間濃度の色を特定することができるという効果を奏する。よって、網点により擬似的に表現された色を印刷及び読み取りする際に発生していた誤差が問題となり難く、認識性の高い中間濃度の色の形成及び読み取りを実現できるという効果も奏する。また、認識性の向上により、上記割合と上記角度との組み合わせを、従来と比べてより多くの擬似色について設定し、より多くの擬似色を表現することができるという効果も奏する。 According to the first and third inventions, the first line of the first color material and the second color material of the second color material are within the area corresponding to the unit region of the print medium based on the intermediate density definition information. Since the intermediate density color is simulated by printing at a predetermined ratio so that the lines of the line intersect each other at a predetermined angle, each color is read when reading the printed intermediate density color. It is not necessary to estimate the density to be expressed by the material, and it is possible to specify the color of the intermediate density expressed in a pseudo manner by only recognizing the colors of the first and second lines and the angle. There is an effect. Therefore, an error that has occurred when printing and reading a color that is pseudo-expressed by a halftone dot is unlikely to be a problem, and there is an effect that it is possible to realize formation and reading of an intermediate density color with high recognizability. In addition, the improvement in the recognizability also brings about an effect that the combination of the ratio and the angle can be set for a larger number of pseudo colors than in the prior art and more pseudo colors can be expressed.

また、第2および第4の発明によれば、印刷媒体の単位領域に相当する面積内に、第1の万線と第2の万線とが所定の角度で交差するように、それぞれ所定の割合で印刷されることで中間濃度の色が擬似的に表現される場合に、印刷された中間濃度の色を読み取る際には、各色材が表現しようとする濃度を推定しなくても、中間濃度定義情報に基づき、擬似的に表現された中間濃度の色を容易に特定することができるという効果を奏する。よって、網点により擬似的に表現された色を印刷及び読み取りする際に発生していた誤差が問題となり難く、中間濃度の色を正しく認識できるという効果も奏する。また、認識性の向上により、上記割合と上記角度との組み合わせを、従来と比べてより多くの擬似色について設定し、より多くの擬似色を認識できるという効果も奏する。 In addition, according to the second and fourth inventions, each of the predetermined lines is set so that the first line and the second line intersect at a predetermined angle within an area corresponding to a unit region of the print medium. When the intermediate density color is expressed in a pseudo manner by printing at a ratio, when reading the printed intermediate density color, it is not necessary to estimate the density to be expressed by each color material. Based on the density definition information, it is possible to easily specify a color having an intermediate density expressed in a pseudo manner. Therefore, an error that has occurred when printing and reading a color that is pseudo-expressed by a halftone dot is unlikely to be a problem, and there is also an effect that a medium density color can be correctly recognized. In addition, by improving the recognition, the combination of the ratio and the angle is set for more pseudo colors than in the past, and there is an effect that more pseudo colors can be recognized.

以下に添付図面を参照して、この発明にかかる画像形成装置、画像読取装置、画像形成方法、画像読取方法、画像形成プログラム、及び画像読取プログラムの最良な実施の形態を詳細に説明する。なお、この実施の形態により本発明が限定されるものではない。また、図面は模式的なものであり、各線の太さと間隔の関係、各線の太さ及び間隔と各領域との関係、これら要素間の寸法の比率などは現実のものとは異なる。さらに、図面間において同じ部分を指していても、互いの寸法や比率が異なって示されている場合もある。   Exemplary embodiments of an image forming apparatus, an image reading apparatus, an image forming method, an image reading method, an image forming program, and an image reading program according to the present invention are explained in detail below with reference to the accompanying drawings. In addition, this invention is not limited by this embodiment. Also, the drawings are schematic, and the relationship between the thickness and spacing of each line, the relationship between the thickness and spacing of each line and each region, the ratio of dimensions between these elements, and the like are different from the actual ones. Furthermore, even if the same part is shown between drawings, the dimension and ratio may be shown differently.

図1は、本発明の実施の形態にかかる画像形成装置の概略構成を機能概念的に例示するブロック図である。図1に示すように、本実施の形態にかかる画像形成装置100は、内部バス101に接続される、操作ユニット102と、コード生成ユニット103と、書込ユニット104と、システムコントローラ105と、RAM106と、ROM107と、フレームメモリ(以下、FM)108と、データベース(以下、DB)109とを備える。   FIG. 1 is a functional block diagram illustrating the schematic configuration of an image forming apparatus according to an embodiment of the present invention. As shown in FIG. 1, an image forming apparatus 100 according to the present embodiment includes an operation unit 102, a code generation unit 103, a writing unit 104, a system controller 105, and a RAM 106 connected to an internal bus 101. A ROM 107, a frame memory (hereinafter FM) 108, and a database (hereinafter DB) 109.

操作ユニット102は、タッチパネル式の画面を有し、コード化すべき文字、数字、記号等からなるテキスト情報の入力をユーザから受け付け、該テキスト情報及びその他の情報を画面に表示する。図2は、操作ユニット102に表示される内容の一例を示す図である。図2の例では、英語のアルファベットA〜Z(大文字)及びa〜z(小文字)と、数字0〜9と、各種記号とを入力するためのキーと、確定ボタンとが、画面に表示されている。ユーザが、これらのキーを用いて文字、数字、記号等からなるテキスト情報を入力した後、確定ボタンに触れると、操作ユニット102は、入力内容を、ASCIIコード等の所定の文字コードで表現された入力データとしてRAM106に保存する。なお、操作ユニット102は、上記した構成に限定されない。例えば、テキスト情報の入力を受け付ける手段として、押下によって文字等が入力されるキーボードを有しても良い。   The operation unit 102 has a touch panel screen, receives input of text information composed of characters, numbers, symbols, and the like to be encoded from the user, and displays the text information and other information on the screen. FIG. 2 is a diagram illustrating an example of contents displayed on the operation unit 102. In the example of FIG. 2, English alphabets A to Z (upper case) and a to z (lower case), numbers 0 to 9, keys for inputting various symbols, and a confirmation button are displayed on the screen. ing. When the user touches the confirmation button after inputting text information including letters, numbers, symbols, etc. using these keys, the operation unit 102 expresses the input content in a predetermined character code such as an ASCII code. The input data is stored in the RAM 106. The operation unit 102 is not limited to the configuration described above. For example, as means for receiving input of text information, a keyboard for inputting characters and the like by pressing may be provided.

コード生成ユニット103は、操作ユニット102によって生成された入力データを受け取り、DB109を参照して、該入力データから、シアン、マゼンタ、イエロー、及びブラックの最大4チャンネルから成るビットマップデータを生成する。このビットマップデータは、擬似色のセルを含む複数のセルによって構成されるコードを表すものであり、印刷対象となるカラーコードに相当する。   The code generation unit 103 receives the input data generated by the operation unit 102 and refers to the DB 109 to generate bitmap data composed of a maximum of four channels of cyan, magenta, yellow, and black from the input data. This bitmap data represents a code composed of a plurality of cells including pseudo color cells, and corresponds to a color code to be printed.

書込ユニット104は、例えばシアン(C)、マゼンタ(M)、イエロー(Y)、及びブラック(K)の色材を充填可能とし、コード生成ユニット103が生成したビットマップデータに従って、印刷用紙等の媒体に、シアン、マゼンタ、イエロー、及びブラックの順番で色材を付けて擬似色のセルを含む複数のセルによって構成されるカラーコードを印刷する。   The writing unit 104 can be filled with, for example, cyan (C), magenta (M), yellow (Y), and black (K) color materials, and print paper or the like according to the bitmap data generated by the code generation unit 103. On this medium, a color code composed of a plurality of cells including pseudo-color cells is printed by attaching color materials in the order of cyan, magenta, yellow, and black.

システムコントローラ105は、操作ユニット102、コード生成ユニット103、及び書込ユニット104の動作を制御するプロセッサとして機能し、これらのユニットに必要な設定や、これらのユニットの起動及び終了の指示などを行う。   The system controller 105 functions as a processor that controls operations of the operation unit 102, the code generation unit 103, and the writing unit 104, and performs necessary settings for these units, instructions for starting and ending these units, and the like. .

RAM106は、後述する入力データなど、操作ユニット102、コード生成ユニット103、及び書込ユニット104が処理を行う際に必要となる情報を保存するためのメモリである。ROM107は、操作ユニット102、コード生成ユニット103、及び書込ユニット104が処理を行う際に必要となる制御プログラムや基本データが保存されているメモリである。FM108は、コード生成ユニット103が生成したビットマップデータ(後述するセルビットマップ)を一時的に保存するための動的メモリである。   The RAM 106 is a memory for storing information required when the operation unit 102, the code generation unit 103, and the writing unit 104 perform processing such as input data described later. The ROM 107 is a memory in which a control program and basic data required when the operation unit 102, the code generation unit 103, and the writing unit 104 perform processing are stored. The FM 108 is a dynamic memory for temporarily storing bitmap data (cell bitmap described later) generated by the code generation unit 103.

DB109は、コード生成ユニット103によって参照される定義情報を記録したメモリである。なお、このDB109は、ROM107の一部の記憶領域において構築されていても良い。   The DB 109 is a memory in which definition information referred to by the code generation unit 103 is recorded. The DB 109 may be constructed in a part of the storage area of the ROM 107.

まず、DB109に記録されている定義情報について説明する。図3は、DB109の定義情報の一例を示す図である。図3に示すように、DB109は、16進数0x0〜0xFで表現される16通りの参照コード121と、参照コード121に対応する16色の色122と、色122を擬似的に表現する色成分比123と、色成分比123に基づいて作成される万線スクリーン定義124と、を対応づけている。換言すれば、DB109は、一つのセルを、16値のデータとして識別できるよう、万線スクリーンのカラーパターンで定義している。   First, definition information recorded in the DB 109 will be described. FIG. 3 is a diagram illustrating an example of the definition information in the DB 109. As illustrated in FIG. 3, the DB 109 includes 16 reference codes 121 represented by hexadecimal numbers 0x0 to 0xF, 16 colors 122 corresponding to the reference codes 121, and color components representing the colors 122 in a pseudo manner. The ratio 123 and the line screen definition 124 created based on the color component ratio 123 are associated with each other. In other words, the DB 109 defines one cell with a color pattern of a line screen so that one cell can be identified as 16-value data.

なお、DB109の定義情報は、図3の例に限定されず、画像形成及び画像読取の精度や表現したい情報量に応じて、適宜設定される。例えば、36通りの参照コードのそれぞれに対応する色を、色成分比と万線スクリーンで定義することにより、一つのセルを36値で表現することができる。この例であれば、0〜9の数字及び26種のアルファベットを一つのセルで識別することができる。このように、一つのセルの色分解能を高めれば、そのセルを複数個組み合わせて表現できる情報も増やすことができるが、各セルの中間濃度数も増すため、それら中間濃度による万線スクリーンの正確な印刷及び正確な読み取りが困難になってくる。図3に示した16値データは、その点を考慮した上で最適な定義内容である。   The definition information in the DB 109 is not limited to the example in FIG. 3, and is set as appropriate according to the accuracy of image formation and image reading and the amount of information desired to be expressed. For example, by defining colors corresponding to each of 36 reference codes with a color component ratio and a line screen, one cell can be expressed with 36 values. In this example, numbers 0 to 9 and 26 alphabets can be identified by one cell. As described above, if the color resolution of one cell is increased, information that can be expressed by combining a plurality of cells can be increased. However, since the number of intermediate densities of each cell also increases, the accuracy of the line screen due to these intermediate densities is increased. Printing and accurate reading become difficult. The 16-value data shown in FIG. 3 is the optimum definition content in consideration of this point.

色成分比123は、セルの色122を表現するために必要な各色材シアン、マゼンタ、イエロー、及びブラックが印刷時にセル内を占める度合いを示し、1つのセルをその色材で完全に塗りつぶすために必要な量を最大値100%とした場合の百分率で表される。また、図3の例では、4色の色材を使用して16色のセルを表現しているが、セルの色分解能が低くても構わないのであれば、単色のみでセルの色(濃淡)を擬似的に表現しても良い。例えば、図3の参照コード121のうち、0xB、0xE、0xFの3色は、ブラックのみを用いたグレースケールであるため、これら3色と0x0で表される無色(印刷媒体の地色)とを用いれば、ブラックのみで、4値データを表現することができる。   The color component ratio 123 indicates the degree to which each of the color materials cyan, magenta, yellow, and black necessary for expressing the cell color 122 occupies the cell during printing so that one cell is completely filled with the color material. It is expressed as a percentage when the amount required for the maximum value is 100%. In addition, in the example of FIG. 3, cells of 16 colors are expressed using four color materials. However, if the cell color resolution may be low, the cell color (dark / light) ) May be expressed in a pseudo manner. For example, in the reference code 121 in FIG. 3, the three colors 0xB, 0xE, and 0xF are gray scales using only black, and therefore these three colors and colorless (the ground color of the print medium) represented by 0x0 Can be used to represent quaternary data using only black.

万線スクリーン定義124は、万線処理の有無と、使用する万線の色と、2色以上使用する万線処理の場合に基準となる色材の万線と他の色材の万線との間の角度(以下、「万線角」と称する。)と、を定義する。通常、万線スクリーンとは、万線と呼ばれる規則的に密に並んだ平行線で構成され、この線の太さで色の濃淡を擬似的に表す階調表現であるが、本実施の形態では、後述するように、平行線の間隔の違いによって色の濃淡を擬似的に表す表現も含むものとする。   The line screen definition 124 includes the presence / absence of line processing, the color of the line to be used, the line of the color material used as a reference in the case of line processing to use two or more colors, and the lines of other color materials. (Hereinafter referred to as “line angle”). Normally, the line screen is composed of regularly arranged parallel lines called line lines, and is a gradation expression that artificially represents the shade of color with the thickness of this line. Then, as will be described later, it also includes an expression that artificially represents the shade of the color by the difference in the interval between the parallel lines.

また、万線スクリーン定義124の欄において定義される万線処理とは、互いに異なる傾きの万線を、指定された万線角で交差するよう重ね合わせる処理をいう。よって、同欄には、上記したように、その万線角と、万線角の基準線となる万線の色材とが定められている。なお、図3では、先(左側)に記載されている色の万線が基準線として定められている。   In addition, the line processing defined in the line screen definition 124 field refers to a process of superimposing different lines with different inclinations so as to intersect at a specified line angle. Therefore, in the same column, as described above, the line angle and the line color material that becomes the reference line of the line angle are defined. In FIG. 3, the color lines described above (left side) are defined as reference lines.

図4は、2本の万線の交差によって生じる角度を示す図である。図5は、3本の万線の交差によって生じる角度を示す図である。図4及び図5に示すように、異なる傾きを有する万線の間には、複数の角度が形成されるため、DB109で定義される万線角を一意に定めるための規則を定めておく必要がある。本実施の形態の場合、書込ユニット104が印刷用紙等の媒体上に色材を付けていく順番の逆、すなわち、ブラック、イエロー、マゼンタ、シアンの順番で色材に優先順位を付け、最も優先順位の高い色材の万線を基準線として、この基準線から他の万線までの時計周りの角度を万線角として定めている。   FIG. 4 is a diagram showing an angle generated by the intersection of two lines. FIG. 5 is a diagram illustrating an angle generated by the intersection of three lines. As shown in FIG. 4 and FIG. 5, a plurality of angles are formed between lines having different inclinations. Therefore, it is necessary to establish a rule for uniquely determining the line angle defined in the DB 109. There is. In the case of this embodiment, the writing unit 104 gives priority to the color materials in the reverse order of adding the color materials on the medium such as printing paper, that is, the order of black, yellow, magenta, and cyan. A high-priority color material line is used as a reference line, and the clockwise angle from this reference line to another line is determined as a line angle.

図6は、図3の表によって定義される16色のセルの色122のうち、万線処理によって作成される万線スクリーンを模式的に示す図である。例えば、色2は、マゼンタの万線スクリーンとシアンの万線スクリーンとを重ね合わせて表現されるが、上記優先順位によればマゼンタの優先順位が優るため、マゼンタの万線を基準線として、該基準線からの時計回りの角度が120度となるようにシアンの万線の向きが決まっている(図6の色2のセル参照)。   FIG. 6 is a diagram schematically showing a line screen created by line processing, out of 16 cell colors 122 defined by the table of FIG. For example, color 2 is expressed by superimposing a magenta line screen and a cyan line screen, but according to the above priority, the priority of magenta is superior, so the magenta line is used as a reference line. The direction of the cyan line is determined so that the clockwise angle from the reference line is 120 degrees (see cell of color 2 in FIG. 6).

また、色12は、シアンの万線スクリーンとマゼンタの万線スクリーンとイエローの万線スクリーンとを重ね合わせて表現されるが、イエローの優先順位が最も高いため、イエローの万線を基準線として、該基準線からの時計回りの角度が30度となるようにマゼンタの万線の向きが決まり、且つ、同基準線からの時計回りの角度が90度となるようにシアンの万線の向きが決まっている(図6の色12のセル参照)。   Color 12 is expressed by superimposing a cyan line screen, a magenta line screen, and a yellow line screen, but yellow has the highest priority, so the yellow line is the reference line. The direction of the magenta line is determined so that the clockwise angle from the reference line is 30 degrees, and the direction of the cyan line is determined so that the clockwise angle from the reference line is 90 degrees. (See cell of color 12 in FIG. 6).

このように、優先順位を、印刷用紙等の媒体上に色材を付ける順番と逆にすると、基準となる万線スクリーンが必ず最上面に描画されるため、後述する画像読取装置による基準線の識別が容易になるという利点がある。   In this way, if the priority order is reversed to the order in which the color materials are applied on the medium such as printing paper, the reference line screen is always drawn on the uppermost surface. There is an advantage that identification becomes easy.

ここで、図3において、色0、色1、色7、色10、及び色11に対して定義された「万線処理不要」の内容について説明する。まず、色0は、どの色材も使用しない無色を示しており、当然ながら万線処理は不要である。つまり、色0は、印刷媒体の地色(ここでは白)に相当し、後述する読取ユニットを構成する色センサによって容易に検出することができる。色1、色7、及び色10は、シアン、マゼンタ、及びイエローのうちの2つの色材の色成分比をそれぞれ100%とし、残る色材とブラックの色成分比を0%とした色であり、セル内を、それら100%の色材で均一に塗りつぶすことを意味する。具体的には、色1、色7、及び色10は、それぞれ青、赤、緑のベタ塗りのセルとして再現される。これら三色は、光の三原色に相当するため、色センサによって確実に識別することができる。また、色11は、ブラックの色成分比を100%とし、他の色材の色成分比を0%とした色であり、セル内を、ブラックで均一に塗りつぶすことを意味する。この色11が示すブラックもまた、色センサによって容易に検出することができる。   Here, in FIG. 3, the contents of “no line processing unnecessary” defined for color 0, color 1, color 7, color 10, and color 11 will be described. First, color 0 indicates colorlessness that does not use any color material, and naturally no line processing is required. That is, color 0 corresponds to the ground color (white in this case) of the print medium, and can be easily detected by a color sensor that constitutes a reading unit described later. Color 1, color 7, and color 10 are colors in which the color component ratio of two color materials of cyan, magenta, and yellow is 100%, and the color component ratio of the remaining color material and black is 0%. Yes, it means that the cells are uniformly filled with 100% of the coloring material. Specifically, color 1, color 7, and color 10 are reproduced as blue, red, and green solid cells, respectively. Since these three colors correspond to the three primary colors of light, they can be reliably identified by the color sensor. Color 11 is a color in which the color component ratio of black is 100% and the color component ratio of other color materials is 0%, which means that the inside of the cell is uniformly painted with black. The black indicated by the color 11 can also be easily detected by the color sensor.

また、等間隔の平行線の太さによって擬似的に濃淡を表現する万線スクリーンを用いる場合、図3において色成分比123が大きい色の万線は太く、色成分比123の小さい色の万線は細く描画される。よって、色成分比123が大きい万線同士は、万線角が直角に近くなるように定めることが好ましい。   Further, in the case of using a line screen that artificially expresses shades by the thickness of parallel lines at equal intervals, in FIG. 3, a line having a large color component ratio 123 is thick and a line having a small color component ratio 123 is thin. The line is drawn thin. Therefore, it is preferable that the lines having a large color component ratio 123 are determined so that the line angle is close to a right angle.

図7は、成分比が大きい万線が小さい角度で交わった状態を示す図である。このように、成分比の高い万線は、線が太いため、小さい角度で交わると重なり合う部分が多くなり、万線の読み取りが困難になるが、万線角を直角に近づければ、線が太くても読み取りやすい。例えば図3では、複数の色材で表現する色において、色成分比60%以上の色材の万線と色成分比20%以上の色材の万線との間の万線角を90度に定義している(色3、色12、色13参照)。   FIG. 7 is a diagram showing a state where lines with a large component ratio intersect at a small angle. In this way, the line with a high component ratio is thick, so if it intersects at a small angle, there will be many overlapping parts, making it difficult to read the line. Easy to read even if thick. For example, in FIG. 3, in a color expressed by a plurality of color materials, a line angle between a line of color materials having a color component ratio of 60% or more and a line of color materials having a color component ratio of 20% or more is 90 degrees. (See color 3, color 12, and color 13).

また、本実施の形態では、図3で定義された色14及び色15のように単色の傾きの異なる万線から成るセルの場合は、交点の角度のうち、度数の小さい方を万線角と定めている。よって、色14及び色15のブラックの万線は、図6に示す色14及び色15のセルのように描画される。   Further, in the present embodiment, in the case of a cell composed of parallel lines having different monochromatic inclinations such as the color 14 and the color 15 defined in FIG. 3, the smaller angle of the intersection angles is the line angle. It stipulates. Therefore, the black lines of the color 14 and the color 15 are drawn like the cells of the color 14 and the color 15 shown in FIG.

さらに、等間隔の平行線の太さではなく、等間隔の平行線の数によって擬似的に濃淡を表現する万線スクリーンを用いても良い。この場合、図3において色成分比123が大きい色の場合、1セル内の万線の数は多く、色成分比123の小さい色の場合、1セル内の万線の数は少なく描画される。   Furthermore, a multi-line screen that artificially expresses shading by the number of parallel lines at equal intervals instead of the thickness of the parallel lines at equal intervals may be used. In this case, in FIG. 3, when the color component ratio 123 is large, the number of lines in one cell is large, and in the case of a color with a small color component ratio 123, the number of lines in one cell is small. .

図8は、万線の太さによって色成分比を表現した場合の色3のセルの万線を模式的に示す図である。図9は、万線の数によって色成分比を表現した場合の色3のセルの万線を模式的に示す図である。図3に示した定義に従えば、色3は、シアン60%及びマゼンタ30%から成り、マゼンタの万線からのシアンの万線の時計回りの角度が90度と定義されている。よって、図8の例では、シアンの万線の太さはマゼンタの万線の太さの2倍となっている。また、シアンの万線とマゼンタの万線の数は同じであるため、シアンの万線の間隔dとマゼンタの万線の間隔dも同じになる。一方、図9の例では、シアンの万線の数が、マゼンタの万線の数の2倍となっている。言い換えると、シアンの万線の間隔は、マゼンタの万線の間隔の1/2となっている。なお、ここで、万線の間隔とは、同じ色の平行線の間隔のことを指す。   FIG. 8 is a diagram schematically showing the line of cells of color 3 when the color component ratio is expressed by the thickness of the line. FIG. 9 is a diagram schematically showing the lines of cells of color 3 when the color component ratio is expressed by the number of lines. According to the definition shown in FIG. 3, color 3 is composed of 60% cyan and 30% magenta, and the clockwise angle of the cyan line from the magenta line is defined as 90 degrees. Therefore, in the example of FIG. 8, the thickness of the cyan line is twice the thickness of the magenta line. Further, since the number of cyan lines and the number of magenta lines are the same, the distance d between cyan lines and the distance d between magenta lines are also the same. On the other hand, in the example of FIG. 9, the number of cyan lines is twice the number of magenta lines. In other words, the interval between the cyan lines is ½ of the interval between the magenta lines. Here, the interval between parallel lines refers to the interval between parallel lines of the same color.

上述の説明では、DB109は、参照コード121に、セルの色122、色成分比123、及び万線スクリーン定義124を対応付けているとしたが、参照コード121に、万線スクリーンのビットマップデータそのもの(図6参照)を対応づけてもよい。この場合、万線スクリーンの生成処理は不要となる。   In the above description, the DB 109 associates the cell color 122, the color component ratio 123, and the line screen definition 124 with the reference code 121, but the line code bitmap data with the reference code 121. It may be associated with itself (see FIG. 6). In this case, a line screen generation process is not necessary.

次に、本実施の形態にかかる画像形成装置がカラーのコードを印刷する場合の仕組みについて、具体的な例を挙げて詳細に説明する。図10は、操作ユニット102が入力を受け付けるテキスト情報の一例を示す図である。操作ユニット102は、図10に示す「COLOR−BARCODE」という文字列の入力を受け付けると、該文字列をASCIIコードで表現された入力データとしてRAM106に保存する。この文字列の例では、「434F4C4F522D424152434F4445」という16進数の文字コード列が入力データとなる。   Next, a mechanism when the image forming apparatus according to the present embodiment prints a color code will be described in detail with a specific example. FIG. 10 is a diagram illustrating an example of text information for which the operation unit 102 receives input. When receiving the input of the character string “COLOR-BARCODE” shown in FIG. 10, the operation unit 102 stores the character string in the RAM 106 as input data expressed in ASCII code. In the example of this character string, a hexadecimal character code string “434F4C4F522D4241424434F4445” is input data.

次に、コード生成ユニット103は、DB109を参照して、RAM106に保存された入力データからカラーコードを生成する。そのために、コード生成ユニット103は、16進数の文字コード列を先頭から順に取り出し、取り出したコード(参照コード121)に対応する色成分比123及び万線スクリーン定義124を、DB109を参照して読み出す。コード生成ユニット103は、読み出した色成分比123及び万線スクリーン定義124に基づき、取り出したコード毎に万線スクリーンを生成してFM108に保存する。   Next, the code generation unit 103 refers to the DB 109 and generates a color code from the input data stored in the RAM 106. For this purpose, the code generation unit 103 sequentially extracts a hexadecimal character code string from the top, and reads the color component ratio 123 and the line screen definition 124 corresponding to the extracted code (reference code 121) with reference to the DB 109. . The code generation unit 103 generates a line screen for each extracted code based on the read color component ratio 123 and line screen definition 124 and stores it in the FM 108.

例えば、図10に示す「COLOR−BARCODE」という文字列を上述の通り16進数のASCIIコード列で表現した場合、先頭のコードは「4」である。そこで、コード生成ユニット103は、まず、図3に示すDB109の参照コード121の欄から「0x4」を探し出し、色4を表現するために、シアン30%分の万線とイエロー30%分の万線とを、基準線となるイエローの万線からのシアンの万線の時計回りの角度が60度となるように重ね合わせる。この重ね合わせた結果が、万線スクリーンのビットマップデータ(以下、セルビットマップと称する。)に相当する。このセルビットマップを構成する各画素値は、最大値または0のいずれかの値を示す。その理由について以下に説明する。   For example, when the character string “COLOR-BARCODE” shown in FIG. 10 is expressed as a hexadecimal ASCII code string as described above, the leading code is “4”. Therefore, the code generation unit 103 first searches for “0x4” from the column of the reference code 121 of the DB 109 shown in FIG. 3 and expresses color 4 with 30% cyan for 30% and yellow for 30%. The lines are overlapped so that the clockwise angle of the cyan line from the yellow line as the reference line is 60 degrees. The result of superimposing corresponds to bit map data (hereinafter referred to as cell bit map) of the line screen. Each pixel value constituting this cell bitmap indicates a maximum value or a value of 0. The reason will be described below.

画素値は、本来、中間濃度を表現するために種々の値を取り得るが、上記した万線スクリーンは、色の濃淡を万線の太さ(または間隔)によって表現するため、個々の画素に対して濃淡情報を求めない。換言すれば、万線スクリーンは、色材であるシアン、マゼンタ、イエロー、及びブラックの4色のうちのいずれを使用するのか使用しないのかといった2値情報で構成される。例えば、上記した色4を示すセルビットマップは、CMYKの4つのチャンネルに分解して表した場合、太さ30%の最大の画素値の線が描画されたシアンチャンネルと、太さ30%の最大の画素値の線が描画されたイエローチャンネルと、全く線が描画されていないマゼンタチャンネルとブラックチャンネルとによって構成される。   The pixel value can originally take various values to express the intermediate density. However, the above-described line screen expresses the shade of the color by the thickness (or interval) of the line, and therefore, the individual pixel has a different value. On the other hand, no shading information is required. In other words, the line screen is composed of binary information such as whether to use any of the four color materials, cyan, magenta, yellow, and black. For example, when the above-described cell bitmap indicating color 4 is divided into four channels of CMYK and expressed, a cyan channel in which a line of the maximum pixel value with a thickness of 30% is drawn, and a thickness of 30%. It is composed of a yellow channel in which a line having the maximum pixel value is drawn, and a magenta channel and a black channel in which no line is drawn.

コード生成ユニット103は、上記と同様な手順で、上記ASCIIコード列を構成するコードに対して順次セルビットマップを生成する。生成されたすべてのセルビットマップは最終的に結合され、その結合結果がカラーコードを示すビットマップデータ(以下、カラーコードビットマップと称する。)となる。書込ユニット104は、このカラーコードビットマップを、印刷用紙等の媒体に印刷する。   The code generation unit 103 sequentially generates cell bit maps for the codes constituting the ASCII code string in the same procedure as described above. All the generated cell bitmaps are finally combined, and the combined result is bitmap data indicating a color code (hereinafter referred to as a color code bitmap). The writing unit 104 prints this color code bitmap on a medium such as printing paper.

図11は、入力データの上記例に対応するカラーコードを、色の識別の観点で示した図である。また、図12は、図11に示すカラーコードを、実際に印刷される万線スクリーンの結合として示した図であり、上記したカラーコードビットマップに相当する。図11及び図12において、色4を有するセル130と色3を有するセル131との2つのセルの組み合わせによって、入力された文字列の先頭文字「C」が表わされる。同様に、セル132と133が「0」、セル134と135が「L」、セル136と137が「0」、セル138と139が「R」、セル140と141が「−」、セル142と143が「B」、セル144と145が「A」、セル146と147が「R」、セル148と149が「C」、セル150と151が「0」、セル152と153が「D」、セル154と155が「E」を表している。   FIG. 11 is a diagram showing a color code corresponding to the above example of input data from the viewpoint of color identification. FIG. 12 is a diagram showing the color code shown in FIG. 11 as a combination of line screens that are actually printed, and corresponds to the color code bitmap described above. In FIG. 11 and FIG. 12, the first character “C” of the input character string is represented by a combination of two cells, a cell 130 having color 4 and a cell 131 having color 3. Similarly, cells 132 and 133 are “0”, cells 134 and 135 are “L”, cells 136 and 137 are “0”, cells 138 and 139 are “R”, cells 140 and 141 are “−”, cell 142 And 143 are “B”, cells 144 and 145 are “A”, cells 146 and 147 are “R”, cells 148 and 149 are “C”, cells 150 and 151 are “0”, and cells 152 and 153 are “D”. ”, Cells 154 and 155 represent“ E ”.

図11及び図12に示すカラーコードでは、1行に最大8個のセル(セルビットマップ)を並べ、8個のセル毎に改行してあるが、カラーコード内のセルの配列はこれに限定されない。例えば、情報量が少なければ全てのセルを1行に収めたカラーコードにしても良いし、複数の方向から同様に読み取ることができる配列を有するセルから成る2次元コードにしても良く、用紙などの印刷される媒体の寸法や形状に合わせてセルの配列を適宜決定すれば良い。   In the color code shown in FIG. 11 and FIG. 12, a maximum of 8 cells (cell bitmap) are arranged in one row and line feed is made every 8 cells. However, the arrangement of the cells in the color code is limited to this. Not. For example, if the amount of information is small, it may be a color code in which all cells are stored in one line, or may be a two-dimensional code composed of cells having an array that can be read in a plurality of directions in the same way, such as paper The cell arrangement may be determined as appropriate in accordance with the size and shape of the printed medium.

なお、図6〜図9及び図12では、万線が見やすいように、実際よりも少ない数の万線を示しているが、コードの印刷及び読み取りの精度に合わせて万線の数を設定することが好ましく、本実施の形態では、実際には1インチ当たり200本程度の万線を描画する。また、セルの形状は図示のような正方形に限らず、複数のセルを並べたときに占める面積が小さく、緻密に並べても印刷及び読み取りが容易であれば、別の多角形や曲線を有する形状であっても良い。   6 to 9 and FIG. 12, the number of lines is smaller than the actual number so that the lines can be easily seen, but the number of lines is set in accordance with the printing and reading accuracy of the code. In this embodiment, actually, about 200 lines per inch are drawn. In addition, the shape of the cell is not limited to the square as shown in the figure, but if the area occupied when arranging a plurality of cells is small and printing and reading are easy even when arranged closely, a shape having another polygon or curve It may be.

図13は、本実施の形態にかかる画像形成装置によって実行される画像形成方法の処理の流れを示すフローチャートである。図13に示すように、該画像形成方法は、操作ユニット102が行うエントリ処理(ステップS201)と、コード生成ユニット103が行うデザイン処理(ステップS202)と、書込ユニット104が行うプリント処理(ステップS203)によって実現される。各ステップの処理について、以下に詳しく説明する。   FIG. 13 is a flowchart showing the flow of processing of the image forming method executed by the image forming apparatus according to this embodiment. As shown in FIG. 13, the image forming method includes entry processing (step S201) performed by the operation unit 102, design processing (step S202) performed by the code generation unit 103, and printing processing (step S202) performed by the writing unit 104. S203). The processing of each step will be described in detail below.

まず、上記エントリ処理について説明する。図14は、該エントリ処理の手順を示すフローチャートである。図14に示すように、操作ユニット102は、ユーザによるキー操作を待ち、操作されたキーに対応する英数字または記号を順次画面に表示する(ステップS301)。このキー操作処理は、文字列の入力が確定するまで、すなわち確定ボタンが触れられるまで繰り返される(ステップS302:No)。操作ユニット102は、文字列の入力が確定すると(ステップS302:Yes)、入力された文字列をASCIIコード等の所定の文字コード列に変換し、その文字コード列を入力データとしてRAM106に保存する(ステップS303)。   First, the entry process will be described. FIG. 14 is a flowchart showing the entry processing procedure. As shown in FIG. 14, the operation unit 102 waits for a key operation by the user, and sequentially displays alphanumeric characters or symbols corresponding to the operated key on the screen (step S301). This key operation process is repeated until the input of the character string is confirmed, that is, until the confirmation button is touched (step S302: No). When the input of the character string is confirmed (step S302: Yes), the operation unit 102 converts the input character string into a predetermined character code string such as an ASCII code, and stores the character code string in the RAM 106 as input data. (Step S303).

次に、上記デザイン処理について説明する。図15は、該デザイン処理の手順を示すフローチャートである。図15に示すように、コード生成ユニット103は、RAM106から、上記エントリ処理のステップS303で保存された入力データを読み出し(ステップS401)、DB109を参照して、入力データをカラーコードビットマップに変換し(ステップS402)、そのカラーコードビットマップをFM108に保存する(ステップS403)。   Next, the design process will be described. FIG. 15 is a flowchart showing the procedure of the design process. As shown in FIG. 15, the code generation unit 103 reads the input data stored in step S303 of the entry process from the RAM 106 (step S401), refers to the DB 109, and converts the input data into a color code bitmap. (Step S402), and the color code bitmap is stored in the FM 108 (Step S403).

次に、上記プリント処理について説明する。図16は、該プリント処理の手順を示すフローチャートである。図16に示すように、書込ユニット104は、FM108から、上記デザイン処理のステップS403で保存されたカラーコードビットマップを、シアンチャンネル、マゼンタチャンネル、イエローチャンネル、ブラックチャンネルの順に読み出し(ステップS501)、その順に印刷用紙等の媒体に印刷する(ステップS502)。   Next, the print process will be described. FIG. 16 is a flowchart showing the procedure of the printing process. As shown in FIG. 16, the writing unit 104 reads the color code bitmap stored in step S403 of the design process from the FM 108 in the order of cyan channel, magenta channel, yellow channel, and black channel (step S501). In this order, printing is performed on a medium such as printing paper (step S502).

図17は、本実施の形態にかかる画像読取装置の概略構成を機能概念的に例示するブロック図である。該画像読取装置は、本実施の形態にかかる画像形成装置によって形成されたカラーコードを読み取ることができるように構成された装置である。図17に示すように、本実施の形態にかかる画像読取装置160は、相互に内部バス171を介して接続される、操作ユニット161と、読取ユニット162と、色変換ユニット163と、コード解析ユニット164と、システムコントローラ165と、RAM166と、ROM167と、メディアインタフェースユニット168と、DB169と、FM170と、を備える。   FIG. 17 is a functional block diagram illustrating the schematic configuration of the image reading apparatus according to the present embodiment. The image reading apparatus is an apparatus configured to be able to read a color code formed by the image forming apparatus according to the present embodiment. As shown in FIG. 17, an image reading apparatus 160 according to the present embodiment includes an operation unit 161, a reading unit 162, a color conversion unit 163, and a code analysis unit, which are mutually connected via an internal bus 171. 164, a system controller 165, a RAM 166, a ROM 167, a media interface unit 168, a DB 169, and an FM 170.

操作ユニット161は、ユーザによって操作されることで、画像読取装置160を使用する際に必要となる情報の入力を受け付け、該情報及びその他の情報を画面に表示する。読取ユニット162は、赤、緑、及び青にそれぞれ対応する色センサを備え、それにより画像(カラーコード)を光学的に読み取って、赤、緑、及び青の3チャンネルの画素値から成るデジタル画像データ(以下、RGBデジタル画像データと称する。)を生成する。
色変換ユニット163は、RGBデジタル画像データを、シアン、マゼンタ、イエロー、及びブラックの4チャンネルの画素値から成るデジタル画像データ(以下、CMYKデジタル画像データと称する。)に変換する。FM170は、CMYKデジタル画像データを一時的に保存するための動的メモリである。
The operation unit 161 is operated by a user to receive input of information necessary for using the image reading apparatus 160 and displays the information and other information on the screen. The reading unit 162 includes color sensors respectively corresponding to red, green, and blue, thereby optically reading an image (color code), and a digital image composed of pixel values of three channels of red, green, and blue. Data (hereinafter referred to as RGB digital image data) is generated.
The color conversion unit 163 converts the RGB digital image data into digital image data (hereinafter referred to as CMYK digital image data) composed of four channel pixel values of cyan, magenta, yellow, and black. The FM 170 is a dynamic memory for temporarily storing CMYK digital image data.

コード解析ユニット164は、FM170に保存されたCMYKデジタル画像データに含まれるコードを解析して情報を抽出する。
DB169は、コード解析ユニット164がコードをデジタルの情報に変換するために必要な情報である。DB169の内容は、本実施の形態にかかる画像形成装置のDB109の内容と同等であるため、その説明を省略する。
The code analysis unit 164 analyzes the code included in the CMYK digital image data stored in the FM 170 and extracts information.
The DB 169 is information necessary for the code analysis unit 164 to convert the code into digital information. Since the contents of the DB 169 are the same as the contents of the DB 109 of the image forming apparatus according to the present embodiment, the description thereof is omitted.

メディアインタフェースユニット168は、可搬性の記録媒体に情報を書き出す。システムコントローラ165は、操作ユニット161、読取ユニット162、色変換ユニット163、コード解析ユニット164、及びメディアインタフェースユニット168の動作を制御するプロセッサとして機能し、これらのユニットに必要な設定や、起動及び終了の指示などを行う。   The media interface unit 168 writes information on a portable recording medium. The system controller 165 functions as a processor that controls the operation of the operation unit 161, the reading unit 162, the color conversion unit 163, the code analysis unit 164, and the media interface unit 168. Instructions etc. are performed.

RAM166は、後述する万線角や種々の演算結果など、操作ユニット161、読取ユニット162、色変換ユニット163、コード解析ユニット164、及びメディアインタフェースユニット168が処理を行う際に必要となる情報を保存するためのメモリである。
ROM167は、操作ユニット161、読取ユニット162、色変換ユニット163、コード解析ユニット164、及びメディアインタフェースユニット168が処理を行う際に必要となる制御プログラムや基本データが保存されているメモリである。
The RAM 166 stores information necessary when the operation unit 161, the reading unit 162, the color conversion unit 163, the code analysis unit 164, and the media interface unit 168 perform processing such as a line angle and various calculation results described later. It is a memory to do.
The ROM 167 is a memory in which a control program and basic data required when the operation unit 161, the reading unit 162, the color conversion unit 163, the code analysis unit 164, and the media interface unit 168 perform processing are stored.

図18は、本実施の形態にかかる画像読取装置によって実行される画像読取方法の処理の流れを示すフローチャートである。図18に示すように、該画像読取方法は、読取ユニット162及び色変換ユニット163が行うスキャン処理(ステップS601)と、コード解析ユニット164が行うアナライズ処理(ステップS602)と、システムコントローラ165が行うアウトプット処理(ステップS603)によって実現される。各ステップの処理について、以下に詳しく説明する。   FIG. 18 is a flowchart showing the flow of processing of the image reading method executed by the image reading apparatus according to the present embodiment. As shown in FIG. 18, the image reading method is performed by a scanning process (step S601) performed by the reading unit 162 and the color conversion unit 163, an analyzing process (step S602) performed by the code analysis unit 164, and a system controller 165. This is realized by an output process (step S603). The processing of each step will be described in detail below.

まず、上記スキャン処理について説明する。図19は、該スキャン処理の手順を示すフローチャートである。読取ユニット162に、カラーコードが印刷された媒体が設置されると、読取ユニット162は、操作ユニット161を介したユーザからの読取開始の指示を待つ(ステップS701,ステップS702:No)。読取ユニット162は、読取開始の指示を受け付けると(ステップS702:Yes)、上記カラーコードを光学的に読み取り、RGBデジタル画像データを生成し、生成したRGBデジタル画像データを色変換ユニット163に転送する(ステップS703)。色変換ユニット163は、受信したRGBデジタル画像データをCMYKデジタル画像データに変換し(ステップS704)、該CMYKデジタル画像データをFM170に保存する(ステップS705)。   First, the scan process will be described. FIG. 19 is a flowchart showing the procedure of the scan process. When the medium on which the color code is printed is installed in the reading unit 162, the reading unit 162 waits for an instruction to start reading from the user via the operation unit 161 (Step S701, Step S702: No). Upon receiving an instruction to start reading (step S702: Yes), the reading unit 162 optically reads the color code, generates RGB digital image data, and transfers the generated RGB digital image data to the color conversion unit 163. (Step S703). The color conversion unit 163 converts the received RGB digital image data into CMYK digital image data (step S704), and stores the CMYK digital image data in the FM 170 (step S705).

次に、上記アナライズ処理について説明する。図20は、該アナライズ処理の手順を示すフローチャートである。図20に示すように、コード解析ユニット164は、FM170から、上記スキャン処理のステップS704で保存されたCMYKデジタル画像データを読み出し、該CMYKデジタル画像データからカラーコードの最初のセルを抽出する(ステップS801)。このセルの抽出は、既知の技術によって容易に行える。例えば、カラーコードを含んだ画像をラスタスキャン方式で走査することによってカラーコード領域を特定し、特定したカラーコード領域内に、カラーコードのセルの窓をあてはめていくことで実現できる。   Next, the analysis process will be described. FIG. 20 is a flowchart showing the procedure of the analysis process. As shown in FIG. 20, the code analysis unit 164 reads the CMYK digital image data stored in step S704 of the scan process from the FM 170, and extracts the first cell of the color code from the CMYK digital image data (step S801). This cell extraction can be easily performed by a known technique. For example, this can be realized by specifying a color code area by scanning an image including a color code by a raster scan method, and fitting a window of a color code cell in the specified color code area.

コード解析ユニット164は、セルが抽出されると、そのセルに対して色チャンネル毎に万線処理が施されているか否かを判断する(ステップS802)。この判断は、例えば、セル内において等間隔の複数の平行線を存在するか否かを示す検知結果に基づいて可能となる。   When the code analysis unit 164 extracts a cell, the code analysis unit 164 determines whether or not line processing has been performed on the cell for each color channel (step S802). This determination can be made based on a detection result indicating whether or not there are a plurality of equally-spaced parallel lines in the cell, for example.

コード解析ユニット164は、4色のチャンネルのいずれに対しても万線処理が施されていないと判断した場合(ステップS802:No)、各色について上記セル内の画素値の平均を算出し(ステップS803)、DB169を参照して各色の平均の比から、対応するセルの色(図3に示したセルの色122)を特定する(ステップS804)。例えば、抽出されたセルが255ビット階調のビットマップデータであり、シアンチャンネル、マゼンタチャンネル、イエローチャンネル、及びブラックチャンネルの画素値の平均がそれぞれ248、10、242、35であったとする。この場合、シアンチャンネル及びイエローチャンネルが、マゼンタチャンネル及びブラックチャンネルの画素値と比べて非常に大きな画素値で構成されているため、コード解析ユニット164は、そのセルが、シアンとイエローのベタ塗りによって形成されていると判断し、この結果からさらに、DB169を参照することによって、そのセルが参照コード「0xA」を表していることを突き止める。   If the code analysis unit 164 determines that no line processing has been performed for any of the four color channels (step S802: No), it calculates the average of the pixel values in the cell for each color (step S802). S803), referring to DB 169, the corresponding cell color (cell color 122 shown in FIG. 3) is specified from the average ratio of each color (step S804). For example, assume that the extracted cells are 255-bit gradation bitmap data, and the average pixel values of the cyan channel, magenta channel, yellow channel, and black channel are 248, 10, 242 and 35, respectively. In this case, since the cyan channel and the yellow channel are configured with pixel values that are very large compared to the pixel values of the magenta channel and the black channel, the code analysis unit 164 causes the cell to be filled with cyan and yellow. It is determined that the cell is formed, and from this result, it is further determined by referring to the DB 169 that the cell represents the reference code “0xA”.

コード解析ユニット164は、ステップS802において、そのセルに対して万線処理が施されていると判断した場合(ステップS802:Yes)、万線スクリーンが2色以上で構成されているか否かを判断する(ステップS805)。万線スクリーンが2色以上でないと判断した場合(ステップS805:No)、向きの異なる2種類の万線スクリーンを抽出してそれらの交点の角度を計測し、角度の小さい方を、上述した万線角としてRAM166に保存する(ステップS806)。   If the code analysis unit 164 determines in step S802 that the line processing has been performed on the cell (step S802: Yes), the code analysis unit 164 determines whether the line screen is composed of two or more colors. (Step S805). If it is determined that the line screen is not more than two colors (step S805: No), two types of line screens with different orientations are extracted and the angle of their intersection is measured. The line angle is stored in the RAM 166 (step S806).

コード解析ユニット164は、ステップS805において万線スクリーンが2色以上で構成されている判断した場合(ステップS805:Yes)、各色チャンネルの万線スクリーンを抽出する(ステップS807)。次に、コード解析ユニット164は、上述の優先順位の最も高い色の万線を基準線として認識し(ステップS808)、基準線と他の色の万線との交点の角度を時計回りで計測し、該角度を万線角としてRAM166に保存する(ステップS809)。   If the code analysis unit 164 determines that the line screen is composed of two or more colors in step S805 (step S805: Yes), the code analysis unit 164 extracts the line screen of each color channel (step S807). Next, the code analysis unit 164 recognizes the highest priority color line as the reference line (step S808), and measures the angle of the intersection of the reference line and the other color lines clockwise. Then, the angle is stored in the RAM 166 as a line angle (step S809).

コード解析ユニット164は、ステップS806またはステップS809の処理の後、RAM166に保存された万線角を読み出し、読み出した万線角と該万線角を形成する万線の色との関係が、DB169のいずれの万線スクリーン定義124に相当するのかを決定し、決定した万線スクリーン定義124に対応する参照コード121を、そのセルが表しているコードとしてRAMに保存する(ステップS810)。   The code analysis unit 164 reads the line angle stored in the RAM 166 after the process of step S806 or step S809, and the relationship between the read line angle and the color of the line forming the line angle is DB 169. Which line screen definition 124 corresponds to the line screen definition 124, and the reference code 121 corresponding to the determined line screen definition 124 is stored in the RAM as a code represented by the cell (step S810).

コード解析ユニット164は、カラーコード内の全てのセルに対して参照コード121の特定が終了したか否かを判断し(ステップS811)、終了していないと判断した場合には(ステップS811:No)、次のセルを抽出し(ステップS812)、ステップS802に戻る。コード解析ユニット164は、ステップS811において、コード内の全てのセルに対する参照コード121の特定が終了したと判断した場合には(ステップS811:Yes)、RAM106から、全てのセルに対応する参照コード列を読み出し、読み出した参照コード列を所定の文字コードを用いてテキストに変換し、そのテキスト(英数字・記号)をRAM106に保存する(ステップS813)。   The code analysis unit 164 determines whether or not the identification of the reference code 121 has been completed for all the cells in the color code (step S811), and determines that the reference code 121 has not been completed (step S811: No). ), The next cell is extracted (step S812), and the process returns to step S802. When the code analysis unit 164 determines in step S811 that the identification of the reference code 121 for all the cells in the code has been completed (step S811: Yes), the reference code string corresponding to all the cells from the RAM 106. The read reference code string is converted into text using a predetermined character code, and the text (alphanumeric / symbol) is stored in the RAM 106 (step S813).

次に、上記アウトプット処理について説明する。図21は、該アウトプット処理の手順を示すフローチャートである。図21に示すように、システムコントローラ165は、RAM166から、上記アナライズ処理のステップS813でRAM106に保存されたテキストを読み出し(ステップS901)、読み出したテキストを出力する(ステップS902)。上記アウトプット処理のステップS902における出力の形式は特に限定されない。例えば、ステップS901で読み出されるテキストが図10に示すような文字列であれば、アウトプット処理として、該文字列を操作ユニット161に、画面表示させても良い。また、例えば、全てのセル(カラーコード)がテキストに変換された時点(図20のアナライズ処理のステップS811の完了時)で、該テキストが、システムコントローラ165にて実行可能なコマンドを示すバイナリデータであるか否かをシステムコントローラ165が判断し、バイナリデータであれば、アウトプット処理として該バイナリデータを実行しても良い。さらに、出力すべき情報を、画像読取装置160の外部へ持ち出したい場合は、アウトプット処理として、メディアインタフェースユニット168が可搬性の記録媒体に該テキストを記録しても良い。   Next, the output process will be described. FIG. 21 is a flowchart showing the procedure of the output process. As shown in FIG. 21, the system controller 165 reads from the RAM 166 the text stored in the RAM 106 in step S813 of the analysis process (step S901), and outputs the read text (step S902). The output format in step S902 of the output process is not particularly limited. For example, if the text read in step S901 is a character string as shown in FIG. 10, the character string may be displayed on the operation unit 161 as an output process. Further, for example, when all the cells (color codes) are converted into text (when the analysis process in step S811 in FIG. 20 is completed), the text is binary data indicating a command that can be executed by the system controller 165. In the case of binary data, the binary data may be executed as output processing. Further, when it is desired to take information to be output to the outside of the image reading device 160, the media interface unit 168 may record the text on a portable recording medium as an output process.

次に、本実施の形態の画像形成装置及び画像読取装置で実行される画像形成プログラム及び画像読取プログラムについて説明する。これらのプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供される。   Next, an image forming program and an image reading program executed by the image forming apparatus and the image reading apparatus according to the present embodiment will be described. These programs are recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, and a DVD (Digital Versatile Disk) in an installable or executable format file. Provided.

また、上記プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、インターネット等のネットワーク経由で提供又は配布するように構成しても良い。さらに、ROM等に予め組み込んで提供するように構成してもよい。   Further, the program may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, it may be configured to be provided or distributed via a network such as the Internet. Furthermore, it may be configured to be provided by being incorporated in advance in a ROM or the like.

本実施の形態の画像形成装置で実行される画像形成プログラムは、上述した各ユニット(操作ユニット102、コード生成ユニット103、及び書込ユニット104)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体から画像形成プログラムを読み出して実行することにより上記各ユニットが主記憶装置上にロードされ、上記各ユニットが主記憶装置上に生成されるようになっている。   The image forming program executed by the image forming apparatus according to the present embodiment has a module configuration including the above-described units (the operation unit 102, the code generation unit 103, and the writing unit 104). The CPU (processor) reads out and executes the image forming program from the storage medium, and the units are loaded onto the main storage device, and the units are generated on the main storage device. .

また、本実施の形態の画像読取装置で実行される画像読取プログラムは、上述した各ユニット(操作ユニット161、読取ユニット162、色変換ユニット163、コード解析ユニット164、メディアインタフェースユニット168)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体から画像読取プログラムを読み出して実行することにより上記各ユニットが主記憶装置上にロードされ、上記各ユニットが主記憶装置上に生成されるようになっている。   The image reading program executed by the image reading apparatus according to the present embodiment includes a module including the above-described units (operation unit 161, reading unit 162, color conversion unit 163, code analysis unit 164, media interface unit 168). As actual hardware, a CPU (processor) reads out and executes an image reading program from the storage medium, and the units are loaded onto the main storage device. The units are stored in the main storage device. It is supposed to be generated above.

なお、上述した各ユニットを含む各構成要素は機能概念的なものであり、その機能的及び物理的な構成及び構成関係は、図示されているものに限定されない。各構成要素の全部又は一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的又は物理的に分散・統合して構成可能である。また、上述した処理手順は、各構成要素の分散・統合に応じて適宜変更可能である。   In addition, each component including each unit mentioned above is a functional concept, and the functional and physical structure and structural relationship are not limited to what is shown in figure. All or a part of each component can be configured to be functionally or physically distributed and integrated in an arbitrary unit according to various loads and usage conditions. The processing procedure described above can be changed as appropriate according to the distribution and integration of each component.

以上の通り、本発明によれば、参照コードと、万線スクリーンの色成分比及び万線角とを対応付けたデータベースを用意し、該データベースを参照すれば、中間濃度の色を擬似的に表現可能なセルで構成されたカラーコードを印刷用紙等の媒体に印刷することができる。よって、そのカラーコードを読み取る際には、各色材が表現しようとする濃度を推定する必要がなく、万線スクリーンの色の種類と万線角とを認識するだけで、擬似的に表現されたセルの色を認識すると同時に、該セルを参照コードに変換することが可能となる。従って、中間濃度を擬似的に表現するセルを含むカラーコードであっても、網点により擬似的に表現された色を印刷及び読み取りする際に発生していた誤差が問題となり難く、認識性の高いコードの形成及び読み取りが実現できる。また、認識性の向上により、色成分比と万線角との組み合わせを、従来と比べてより多くの擬似色について設定して、より多くの参照コードに対応づけることができる。これは、同じコード面積で確実に表現可能な情報の量を著しく増大させることを意味する。   As described above, according to the present invention, a database in which the reference code is associated with the color component ratio and the line angle of the line screen is prepared, and by referring to the database, the intermediate density color is simulated. A color code composed of expressible cells can be printed on a medium such as printing paper. Therefore, when reading the color code, it is not necessary to estimate the density to be expressed by each color material, and it is simply expressed by simply recognizing the color type and line angle of the line screen. At the same time as recognizing the color of a cell, the cell can be converted into a reference code. Therefore, even in the case of a color code including a cell that expresses the intermediate density in a pseudo manner, an error that has occurred when printing and reading a color that is expressed in a pseudo manner by a halftone dot is unlikely to be a problem. High code formation and reading can be realized. In addition, the combination of the color component ratio and the line angle can be set for more pseudo colors than the conventional one and the correspondence to more reference codes by improving the recognition. This means that the amount of information that can be reliably represented with the same code area is significantly increased.

光学的に読み取ることで情報に変換できる、カラーコードや中間濃度を含むコードの形成及び読み取りに利用することが可能である。   It can be used for forming and reading a color code or a code including an intermediate density that can be converted into information by optical reading.

本発明の実施の形態にかかる画像形成装置の概略構成を機能概念的に例示するブロック図である。1 is a block diagram illustrating a schematic concept of a schematic configuration of an image forming apparatus according to an embodiment of the present invention. 操作ユニット102に表示される内容の一例を示す図である。6 is a diagram illustrating an example of content displayed on an operation unit 102. FIG. DB109の定義情報の一例を示す図である。It is a figure which shows an example of the definition information of DB109. 2本の万線の交差によって生じる角度を示す図である。It is a figure which shows the angle produced by the crossing of two lines. 3本の万線の交差によって生じる角度を示す図である。It is a figure which shows the angle which arises by the intersection of three lines. 図3の表によって定義される16色のセルの色122のうち、万線処理によって作成される万線スクリーンを模式的に示す図である。FIG. 4 is a diagram schematically showing a line screen created by line processing among the colors 122 of 16 colors defined by the table of FIG. 3. 成分比が大きい万線が小さい角度で交わった状態を示す図である。It is a figure which shows the state where the line with a large component ratio crossed at a small angle. 万線の太さによって色成分比を表現した場合の色3のセルの万線を模式的に示す図である。It is a figure which shows typically the line of the cell of the color 3 at the time of expressing a color component ratio with the thickness of a line. 万線の数によって色成分比を表現した場合の色3のセルの万線を模式的に示す図である。It is a figure which shows typically the line of the cell of the color 3 at the time of expressing a color component ratio with the number of lines. 操作ユニット102が入力を受け付けるテキスト情報の一例を示す図である。It is a figure which shows an example of the text information which the operation unit receives the input. 入力データの上記例に対応するカラーコードを、色の識別の観点で示した図である。It is the figure which showed the color code corresponding to the said example of input data from the viewpoint of the identification of a color. 図11に示すカラーコードを、実際に印刷される万線スクリーンの結合として示した図である。It is the figure which showed the color code shown in FIG. 11 as the coupling | bonding of the line screen actually printed. 本実施の形態にかかる画像形成装置によって実行される画像形成方法の処理の流れを示すフローチャートである。5 is a flowchart showing a flow of processing of an image forming method executed by the image forming apparatus according to the present embodiment. エントリ処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an entry process. デザイン処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a design process. プリント処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of print processing. 本実施の形態にかかる画像読取装置の概略構成を機能概念的に例示するブロック図である。1 is a block diagram illustrating a schematic concept of a schematic configuration of an image reading apparatus according to an embodiment. 本実施の形態にかかる画像読取装置によって実行される画像読取方法の処理の流れを示すフローチャートである。6 is a flowchart showing a flow of processing of an image reading method executed by the image reading apparatus according to the present embodiment. スキャン処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a scanning process. アナライズ処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an analysis process. アウトプット処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an output process. QRコード(デンソーウェーブ社の登録商標)の一例を示す図である。It is a figure which shows an example of QR code (a registered trademark of Denso Wave Inc.).

符号の説明Explanation of symbols

100 画像形成装置
101,171 内部バス
102,161 操作ユニット
103 コード生成ユニット
104 書込ユニット
105,165 システムコントローラ
106,166 RAM
107,167 ROM
108,170 FM
109,169 DB
121 参照コード
122 セルの色
123 色成分比
124 万線スクリーン定義
130〜155 セル
160 画像読取装置
162 読取ユニット
163 色変換ユニット
168 メディアインタフェースユニット
100 Image forming apparatus 101, 171 Internal bus 102, 161 Operation unit 103 Code generation unit 104 Writing unit 105, 165 System controller 106, 166 RAM
107,167 ROM
108,170 FM
109,169 DB
121 Reference Code 122 Cell Color 123 Color Component Ratio 1,240,000 Line Screen Definition 130-155 Cell 160 Image Reading Device 162 Reading Unit 163 Color Conversion Unit 168 Media Interface Unit

Claims (44)

参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報が格納された格納手段と、
前記格納手段に格納される前記中間濃度定義情報を参照して入力データに対応する前記参照コードを探索し、探索された該参照コードに対応するカラーコードを形成するためのカラーコードデータを生成する生成ユニットと、
前記生成ユニットで生成された前記カラーコードデータに従い、印刷媒体の前記単位領域に相当する面積内に、前記第1の万線と前記第2の万線とを前記角度で交差するように、それぞれ前記第1の割合と前記第2の割合で印刷することによって前記中間濃度の色を擬似的に表現する書込ユニットと、
を備えたことを特徴とする画像形成装置。
With respect to the reference code, the intermediate density color, the angle generated by the intersection of the first line of the first color material and the second line of the second color material, and the first number a first ratio of occupying a line unit area, and a second ratio of said second parallel line occupy the unit area, storage means for intermediate density definition information attached corresponds is stored,
The reference code corresponding to the input data is searched with reference to the intermediate density definition information stored in the storage means, and color code data for forming a color code corresponding to the searched reference code is generated. A generating unit;
According to the color code data generated by the generation unit, the first line and the second line are crossed at the angle within an area corresponding to the unit region of the print medium, respectively. A writing unit that artificially represents the intermediate density color by printing at the first ratio and the second ratio;
An image forming apparatus comprising:
前記第1の色材と前記第2の色材は同じ色であり、シアン、マゼンタ、イエロー、ブラックのいずれかの色であることを特徴とする請求項1に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the first color material and the second color material are the same color and are any one of cyan, magenta, yellow, and black. 前記第1の色材と前記第2の色材は、シアン、マゼンタ、イエローのうちの任意の2色であることを特徴とする請求項1に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the first color material and the second color material are any two of cyan, magenta, and yellow. 前記書込ユニットは、前記印刷媒体の前記面積内に前記第1の万線を印刷した後に前記第2の万線を印刷し、
前記角度は、前記第2の万線から前記第1の万線までの角度であることを特徴とする請求項3に記載の画像形成装置。
The writing unit prints the second line after printing the first line within the area of the print medium;
The image forming apparatus according to claim 3, wherein the angle is an angle from the second line to the first line.
前記第1の割合と前記第2の割合は、それぞれ前記第1の万線の各線の太さと前記第2の万線の各線の太さに比例し、
前記角度は、前記第1の万線の各線及び前記第2の万線の各線が太くなるに従って、直角に近くなるように設定されることを特徴とする請求項1〜4のいずれか1つに記載の画像形成装置。
The first ratio and the second ratio are proportional to the thickness of each line of the first line and the thickness of each line of the second line,
5. The angle according to claim 1, wherein the angle is set to be close to a right angle as each line of the first line and each line of the second line become thicker. The image forming apparatus described in 1.
記生成ユニットは、入力データに基づき指定された参照コードに対応する前記中間濃度定義情報の内容に従って、前記書込ユニットによって前記印刷媒体の前記面積内に印刷される画像であるセル画像データを生成し、
前記書込ユニットは、前記印刷媒体の前記面積内に、前記セル画像データが示すセル画像を印刷することを特徴とする請求項1〜5のいずれか1つに記載の画像形成装置。
Before Symbol generation unit according to the contents of the intermediate density definition information corresponding to the reference code specified on the basis of the input data, the cell image data is an image to be printed in the area of the print medium by the writing unit Generate
The image forming apparatus according to claim 1, wherein the writing unit prints a cell image indicated by the cell image data within the area of the print medium.
前記格納手段には、参照コードに対して、中間濃度以外の色と、前記第1の色材が前記単位領域を占める第3の割合と、前記第2の色材が前記単位領域を占める第4の割合と、を対応付ける非中間濃度定義情報がさらに格納され、
前記生成ユニットは、前記格納手段に格納される前記非中間濃度定義情報を参照して入力データに対応する前記参照コードを探索し、探索された該参照コードに対応する前記カラーコードデータを生成し、
前記書込ユニットは、前記生成ユニットで生成された前記カラーコードデータに従い、前記印刷媒体の前記面積内に前記第1の色材と前記第2の色材とを、それぞれ前記第3の割合と前記第4の割合で印刷することによって前記中間濃度以外の色を表現し、
前記第3の割合及び前記第4の割合はそれぞれ、前記単位領域において取り得る最大の割合または0であることを特徴とする請求項3に記載の画像形成装置。
The storage means includes a color other than an intermediate density, a third ratio in which the first color material occupies the unit area, and a second ratio in which the second color material occupies the unit area with respect to a reference code . non intermediate density definition information attached 4 ratio and a corresponds is further stored,
The generating unit searches the reference code corresponding to input data with reference to the non-intermediate density definition information stored in the storage means, and generates the color code data corresponding to the searched reference code. ,
In accordance with the color code data generated by the generation unit, the writing unit distributes the first color material and the second color material within the area of the print medium, respectively, and the third ratio. Expressing colors other than the intermediate density by printing at the fourth ratio,
The image forming apparatus according to claim 3, wherein each of the third ratio and the fourth ratio is a maximum ratio or 0 that can be taken in the unit area.
記生成ユニットは、入力データに基づき指定された参照コードに対応する前記非中間濃度定義情報の内容に従って、前記書込ユニットによって前記印刷媒体の前記面積内に印刷される画像である前記セル画像データを生成し、
前記書込ユニットは、前記印刷媒体の前記面積内に、前記セル画像データが示すセル画像を印刷することを特徴とする請求項7に記載の画像形成装置。
Before Symbol generation unit according to the contents of the non-intermediate density definition information corresponding to the reference code specified on the basis of the input data, the cell images by the writing unit is an image to be printed in the area of the print medium Generate data,
The image forming apparatus according to claim 7, wherein the writing unit prints a cell image indicated by the cell image data within the area of the print medium.
テキスト情報の入力を受け付ける操作ユニットをさらに備え、
前記生成ユニットは、入力された前記テキスト情報に前記参照コードを割り当て、前記テキスト情報を表す少なくとも1つの前記セル画像データを生成することを特徴とする請求項6または8に記載の画像形成装置。
An operation unit that accepts input of text information is further provided,
9. The image forming apparatus according to claim 6, wherein the generation unit assigns the reference code to the input text information and generates at least one cell image data representing the text information.
前記テキスト情報はASCIIコードで構成されることを特徴とする請求項9に記載の画像形成装置。   The image forming apparatus according to claim 9, wherein the text information includes an ASCII code. 前記テキスト情報は、英字、数字、及び記号から任意に選択される複数の文字から構成されており、
前記生成ユニットは、前記複数の文字に対して複数の前記セル画像データを生成し、
前記書込ユニットは、前記複数のセル画像データが示す複数のセル画像が所定方向に並んで構成されるコードを印刷することを特徴とする請求項9または10に記載の画像形成装置。
The text information is composed of a plurality of characters arbitrarily selected from letters, numbers, and symbols,
The generation unit generates a plurality of the cell image data for the plurality of characters,
The image forming apparatus according to claim 9, wherein the writing unit prints a code including a plurality of cell images indicated by the plurality of cell image data arranged in a predetermined direction.
前記書込ユニットは、前記複数のセル画像を、前記所定方向のみならず、該所定方向とは異なる方向にも並べて印刷することを特徴とする請求項11に記載の画像形成装置。   The image forming apparatus according to claim 11, wherein the writing unit prints the plurality of cell images side by side not only in the predetermined direction but also in a direction different from the predetermined direction. 参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報が格納された格納手段と、
前記単位領域に相当するセル画像を光学的に読み取って、セル画像データを生成する読取ユニットと、
前記セル画像データが、前記中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定し、特定された前記中間濃度の色に基づき前記格納手段に格納される前記中間濃度定義情報を参照し、該中間濃度の色に対応する前記参照コードを取得する解析ユニットと、
を備えたことを特徴とする画像読取装置。
With respect to the reference code, the intermediate density color, the angle generated by the intersection of the first line of the first color material and the second line of the second color material, and the first number a first ratio of occupying a line unit area, and a second ratio of said second parallel line occupy the unit area, storage means for intermediate density definition information attached corresponds is stored,
A reading unit that optically reads a cell image corresponding to the unit region and generates cell image data;
The intermediate density stored in the storage means is specified based on the specified intermediate density color, which cell color data is created according to the intermediate density definition information and corresponds to which intermediate density color. An analysis unit that refers to the definition information and obtains the reference code corresponding to the intermediate density color ;
An image reading apparatus comprising:
前記第1の色材と前記第2の色材は同じ色であり、シアン、マゼンタ、イエロー、ブラックのいずれかの色であることを特徴とする請求項13に記載の画像読取装置。   The image reading apparatus according to claim 13, wherein the first color material and the second color material are the same color and are any one of cyan, magenta, yellow, and black. 前記第1の色材と前記第2の色材は、シアン、マゼンタ、イエローのうちの任意の2色であることを特徴とする請求項13に記載の画像読取装置。   The image reading apparatus according to claim 13, wherein the first color material and the second color material are any two colors of cyan, magenta, and yellow. 前記解析ユニットは、前記セル画像データより、前記第1の万線と前記第2の万線とを抽出し、該第1の万線と該第2の万線との交点の角度を計測し、前記中間濃度定義情報を参照して、抽出した該第1の万線の色と抽出した該第2の万線の色と計測した前記角度とに基づいて、前記セル画像データが、前記中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定することを特徴とする請求項13〜15のいずれか1つに記載の画像読取装置。   The analysis unit extracts the first line and the second line from the cell image data, and measures the angle of the intersection of the first line and the second line. Referring to the intermediate density definition information, based on the extracted color of the first line, the extracted color of the second line, and the measured angle, the cell image data includes the intermediate color The image reading apparatus according to claim 13, wherein the image reading apparatus identifies an intermediate density color created according to the density definition information. 前記解析ユニットは、抽出した前記第1及び第2の万線のうち、該万線の色に基づいて基準線として定義された方の万線から他方の万線までの角度を計測することを特徴とする請求項16に記載の画像読取装置。   The analysis unit measures an angle from one of the extracted first and second lines to the other line defined as a reference line based on the color of the line. The image reading apparatus according to claim 16. 前記格納手段には、参照コードに対して、中間濃度以外の色と、前記第1の色材が前記単位領域を占める第3の割合と、前記第2の色材が前記単位領域を占める第4の割合と、を対応付ける非中間濃度定義情報がさらに格納され、
前記解析ユニットは、前記セル画像データの各色材の色について画素値の平均を算出し、前記非中間濃度定義情報を参照して各色の平均の比から、前記セル画像データが表現する中間濃度以外の色を特定し、特定された前記中間濃度以外の色に基づき前記格納手段に格納される前記非中間濃度定義情報を参照し、該中間濃度以外の色に対応する参照コードを取得することを特徴とする請求項15に記載の画像読取装置。
The storage means includes a color other than an intermediate density, a third ratio in which the first color material occupies the unit area, and a second ratio in which the second color material occupies the unit area with respect to a reference code . non intermediate density definition information attached 4 ratio and a corresponds is further stored,
The analysis unit calculates an average of pixel values for the colors of the color materials of the cell image data, and refers to the non-intermediate density definition information to determine an average ratio of the colors other than the intermediate density represented by the cell image data. Identifying the color of the image , referring to the non-intermediate density definition information stored in the storage unit based on the specified color other than the intermediate density, and obtaining a reference code corresponding to the color other than the intermediate density The image reading apparatus according to claim 15, characterized in that:
前記解析ユニットは、特定した参照コードをテキスト情報に変換することを特徴とする請求項16または18に記載の画像読取装置。 The analysis unit, the image reading apparatus according to claim 16 or 18, characterized in that converting the reference code identified in the text information. 前記テキスト情報は、ASCIIコードで構成されることを特徴とする請求項19に記載の画像読取装置。 The image reading apparatus according to claim 19 , wherein the text information includes an ASCII code. 前記読取ユニットは、複数の前記セル画像によって構成されるコード画像を光学的に読み取って、複数の前記セル画像データによって構成されるコード画像データを生成し、
前記解析ユニットは、前記コード画像データを構成する各セル画像データに対して前記参照コードを特定し、特定したすべての参照コードをテキスト情報に変換することを特徴とする請求項16または18に記載の画像読取装置。
The reading unit optically reads a code image composed of a plurality of the cell images to generate code image data composed of a plurality of the cell image data,
The analysis unit, the identifying the reference code for each cell image data constituting the code image data, according to claim 16 or 18, characterized in that to convert all of the reference code specific to text information Image reading apparatus.
参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報を参照して入力データに対応する該参照コードを探索し、探索された該参照コードに対応するカラーコードを形成するためのカラーコードデータを生成する生成工程と、
前記生成工程で生成された前記カラーコードデータに従い、印刷媒体の前記単位領域に相当する面積内に、前記第1の万線と前記第2の万線とを前記角度で交差するように、それぞれ前記第1の割合と前記第2の割合で印刷することによって前記中間濃度の色を擬似的に表現する書込工程と、
を含むことを特徴とする画像形成方法。
With respect to the reference code, the intermediate density color, the angle generated by the intersection of the first line of the first color material and the second line of the second color material, and the first number a first ratio of occupying a line unit area, the said reference code by the second parallel line corresponding to the input data with reference to the intermediate density definition information attached second ratio and a corresponds occupying the unit area And generating color code data for forming a color code corresponding to the searched reference code ;
In accordance with the color code data generated in the generation step, in the area corresponding to the unit area of the print medium, the pre-Symbol first ten thousand lines and the second parallel line to intersect at said angle, A writing step for simulating the color of the intermediate density by printing at the first rate and the second rate, respectively;
An image forming method comprising:
前記第1の色材と前記第2の色材は同じ色であり、シアン、マゼンタ、イエロー、ブラックのいずれかの色であることを特徴とする請求項22に記載の画像形成方法。 23. The image forming method according to claim 22 , wherein the first color material and the second color material are the same color, and are any one of cyan, magenta, yellow, and black. 前記第1の色材と前記第2の色材は、シアン、マゼンタ、イエローのうちの任意の2色であることを特徴とする請求項22に記載の画像形成方法。 23. The image forming method according to claim 22 , wherein the first color material and the second color material are any two colors of cyan, magenta, and yellow. 前記書込工程において、前記印刷媒体の前記面積内に前記第1の万線を印刷した後に前記第2の万線を印刷し、
前記角度は、前記第2の万線から前記第1の万線までの角度であることを特徴とする請求項24に記載の画像形成方法。
Printing the second line after printing the first line within the area of the print medium in the writing step;
The image forming method according to claim 24 , wherein the angle is an angle from the second line to the first line.
前記第1の割合と前記第2の割合は、それぞれ前記第1の万線の各線の太さと前記第2の万線の各線の太さに比例し、
前記角度は、前記第1の万線の各線及び前記第2の万線の各線が太くなるに従って、直角に近くなるように設定されることを特徴とする請求項2225のいずれか1つに記載の画像形成方法。
The first ratio and the second ratio are proportional to the thickness of each line of the first line and the thickness of each line of the second line,
26. The angle according to any one of claims 22 to 25 , wherein the angle is set so as to approach a right angle as each line of the first line and each line of the second line become thicker. The image forming method described in 1.
記生成工程において、入力データに基づき指定された参照コードに対応する前記中間濃度定義情報の内容に従って、前記書込工程において前記印刷媒体の前記面積内に印刷される画像であるセル画像データを生成し、
前記書込工程において、前記印刷媒体の前記面積内に、前記セル画像データが示すセル画像を印刷することを特徴とする請求項2226のいずれか1つに記載の画像形成方法。
In previous SL generation step, according to the contents of the intermediate density definition information corresponding to the reference code specified on the basis of the input data, the cell image data is an image to be printed in the area of the print medium in said writing step Generate
Wherein in the writing step, in the area of the print medium, the image forming method according to any one of claims 22-26, characterized in that to print the cell image represented by said cell image data.
前記生成工程は、参照コードに対して、中間濃度以外の色と、前記第1の色材が前記単位領域を占める第3の割合と、前記第2の色材が前記単位領域を占める第4の割合と、を対応付ける非中間濃度定義情報を参照して入力データに対応する該参照コードを探索し、探索された該参照コードに対応する前記カラーコードデータを生成し、
前記書込工程において、前記生成工程で生成された前記カラーコードデータに従い、前記印刷媒体の前記面積内に、前記非中間濃度定義情報取得工程において取得した定義情報に従って、前記第1の色材と前記第2の色材とを、それぞれ前記第3の割合と前記第4の割合で印刷することによって前記中間濃度以外の色を表現し、
前記第3の割合及び前記第4の割合はそれぞれ、前記単位領域において取り得る最大の割合または0であることを特徴とする請求項24に記載の画像形成方法。
In the generation step, a color other than an intermediate density, a third ratio in which the first color material occupies the unit area, and a fourth ratio in which the second color material occupies the unit area with respect to a reference code. and percentage of, with reference to the non-intermediate density definition information attached corresponds to explore the reference code corresponding to the input data, to generate the color code data corresponding to the searched the reference code,
In the writing step, according to the color code data generated in the generation step, within the area of the print medium, in accordance with the definition information acquired in the non-intermediate density definition information acquisition step, Expressing the color other than the intermediate density by printing the second color material at the third ratio and the fourth ratio, respectively;
25. The image forming method according to claim 24 , wherein each of the third ratio and the fourth ratio is a maximum ratio or 0 that can be taken in the unit area.
前記印刷媒体の前記面積内に印刷される画像をセル画像データとして生成する生成工程をさらに含み、
前記非中間濃度定義情報は、前記中間濃度以外の色に対応付けられた参照コードを含み、
前記生成工程において、入力データに基づき指定された参照コードに対応する前記非中間濃度定義情報の内容に従って、前記印刷媒体の前記面積内に印刷される画像である前記セル画像データを生成し、
前記書込工程において、前記印刷媒体の前記面積内に、前記セル画像データが示すセル画像を印刷することを特徴とする請求項28に記載の画像形成方法。
A generation step of generating, as cell image data, an image printed within the area of the print medium;
The non-intermediate density definition information includes a reference code associated with a color other than the intermediate density,
In the generation step, according to the content of the non-intermediate density definition information corresponding to the reference code specified based on the input data, the cell image data that is an image printed in the area of the print medium is generated,
29. The image forming method according to claim 28 , wherein in the writing step, a cell image indicated by the cell image data is printed in the area of the print medium.
テキスト情報の入力を受け付ける操作工程をさらに含み、
前記生成工程において、入力された前記テキスト情報に前記参照コードを割り当て、前記テキスト情報を表す少なくとも1つの前記セル画像データを生成することを特徴とする請求項27または29に記載の画像形成方法。
And further including an operation process for receiving input of text information,
30. The image forming method according to claim 27 or 29 , wherein, in the generation step, the reference code is assigned to the input text information to generate at least one cell image data representing the text information.
前記テキスト情報はASCIIコードで構成されることを特徴とする請求項30に記載の画像形成方法。 31. The image forming method according to claim 30 , wherein the text information is composed of an ASCII code. 前記テキスト情報は、英字、数字、及び記号から任意に選択される複数の文字から構成されており、
前記生成工程において、前記複数の文字に対して複数の前記セル画像データを生成し、
前記書込工程において、前記複数のセル画像データが示す複数のセル画像が所定方向に並んで構成されるコードを印刷することを特徴とする請求項30または31に記載の画像形成方法。
The text information is composed of a plurality of characters arbitrarily selected from letters, numbers, and symbols,
In the generating step, a plurality of the cell image data is generated for the plurality of characters,
Wherein in the writing step, an image forming method according to claim 30 or 31 more cells images showing the plurality of cells image data is characterized by printing a code formed aligned in a predetermined direction.
前記書込工程において、前記複数のセル画像を、前記所定方向のみならず、該所定方向とは異なる方向にも並べて印刷することを特徴とする請求項32に記載の画像形成方法。 The image forming method according to claim 32 , wherein, in the writing step, the plurality of cell images are printed side by side not only in the predetermined direction but also in a direction different from the predetermined direction. 単位領域に相当するセル画像を光学的に読み取って、セル画像データを生成する読取工程と、
前記セル画像データが、参照コードに対して、中間濃度の色と、第1の色材の第1の万線と第2の色材の第2の万線とが交差することによって生じる角度と、前記第1の万線が前記単位領域を占める第1の割合と、前記第2の万線が前記単位領域を占める第2の割合と、を対応付ける中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定し、特定された前記中間濃度の色に基づき前記中間濃度定義情報を参照し、該中間濃度の色に対応する参照コードを取得する解析工程と、
を含むことを特徴とする画像読取方法。
A reading step of optically reading a cell image corresponding to a unit area and generating cell image data;
The cell image data has an intermediate density color, an angle generated by the intersection of the first line of the first color material and the second line of the second color material with respect to the reference code. a first ratio of said first parallel line occupy the unit area, was prepared in accordance with the intermediate concentration definition information second parallel line is attached a second ratio and a corresponds occupying the unit area, An analysis step of identifying which intermediate density color corresponds, referring to the intermediate density definition information based on the specified intermediate density color, and obtaining a reference code corresponding to the intermediate density color ;
An image reading method comprising:
前記第1の色材と前記第2の色材は同じ色であり、シアン、マゼンタ、イエロー、ブラックのいずれかの色であることを特徴とする請求項34に記載の画像読取方法。 35. The image reading method according to claim 34 , wherein the first color material and the second color material are the same color and are any one of cyan, magenta, yellow, and black. 前記第1の色材と前記第2の色材は、シアン、マゼンタ、イエローのうちの任意の2色であることを特徴とする請求項34に記載の画像読取方法。 35. The image reading method according to claim 34 , wherein the first color material and the second color material are any two colors of cyan, magenta, and yellow. 前記解析工程において、前記セル画像データより、前記第1の万線と前記第2の万線とを抽出し、該第1の万線と該第2の万線との交点の角度を計測し、前記中間濃度定義情報を参照して、抽出した該第1の万線の色と抽出した該第2の万線の色と計測した前記角度とに基づいて、前記セル画像データが、前記中間濃度定義情報に従って作成された、いずれの中間濃度の色に対応するかを特定することを特徴とする請求項36に記載の画像読取方法。 In the analyzing step, the first line and the second line are extracted from the cell image data, and an angle of an intersection between the first line and the second line is measured. Referring to the intermediate density definition information, based on the extracted color of the first line, the extracted color of the second line, and the measured angle, the cell image data includes the intermediate color 37. The image reading method according to claim 36 , wherein an intermediate density color created according to the density definition information is specified. 前記解析工程において、抽出した前記第1及び第2の万線のうち、該万線の色に基づいて基準線として定義された方の万線から他方の万線までの角度を計測することを特徴とする請求項37に記載の画像読取方法。 In the analysis step, measuring an angle from one of the first and second lines extracted as a reference line based on the color of the line to the other line. 38. The image reading method according to claim 37 , wherein: 前記解析工程において、前記セル画像データの各色材の色について画素値の平均を算出し、参照コードに対して、中間濃度以外の色と、前記第1の色材が前記単位領域を占める第3の割合と、前記第2の色材が前記単位領域を占める第4の割合と、を対応付ける非中間濃度定義情報を参照して、各色の平均の比から、前記セル画像データが表現する中間濃度以外の色を特定し、特定された前記中間濃度以外の色に基づき前記非中間濃度定義情報を参照し、該中間濃度以外の色に対応する参照コードを取得することを特徴とする請求項36に記載の画像読取方法。 In the analyzing step, an average of pixel values is calculated for each color material color of the cell image data, and a color other than an intermediate density and the first color material occupy the unit area with respect to a reference code. the ratio of said second color material refers to the non-intermediate density definition information attached fourth-enabled and percentage, of occupying the unit areas, from the average ratio of each color, the cell image data is expressed A color other than the intermediate density is specified , the non-intermediate density definition information is referenced based on the specified color other than the intermediate density, and a reference code corresponding to the color other than the intermediate density is acquired. Item 37. The image reading method according to Item 36 . 前記解析工程において、特定した参照コードをテキスト情報に変換することを特徴とする請求項34または39に記載の画像読取方法。 40. The image reading method according to claim 34 or 39 , wherein in the analyzing step, the identified reference code is converted into text information. 前記テキスト情報は、ASCIIコードで構成されることを特徴とする請求項40に記載の画像読取方法。 41. The image reading method according to claim 40 , wherein the text information is composed of an ASCII code. 前記読取工程において、複数の前記セル画像によって構成されるコード画像を光学的に読み取って、複数の前記セル画像データによって構成されるコード画像データを生成し、
前記解析工程において、前記コード画像データを構成する各セル画像データに対して前記参照コードを特定し、特定したすべての参照コードをテキスト情報に変換することを特徴とする請求項34または39に記載の画像読取方法。
In the reading step, a code image composed of a plurality of the cell images is optically read to generate code image data composed of a plurality of the cell image data,
In the analyzing step, the reference to identify the code, according to claim 34 or 39, characterized in that to convert all of the reference code specific to the text information for each cell image data constituting the code image data Image reading method.
請求項2233のいずれか1つに記載された画像形成方法をコンピュータに実行させることを特徴とする画像形成プログラム。 An image forming program that causes a computer to execute the image forming method according to any one of claims 22 to 33 . 請求項3442のいずれか1つに記載された画像読取方法をコンピュータに実行させることを特徴とする画像読取プログラム。 An image reading program causing a computer to execute the image reading method according to any one of claims 34 to 42 .
JP2008041897A 2008-02-22 2008-02-22 Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program Expired - Fee Related JP5054562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008041897A JP5054562B2 (en) 2008-02-22 2008-02-22 Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008041897A JP5054562B2 (en) 2008-02-22 2008-02-22 Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program

Publications (2)

Publication Number Publication Date
JP2009200953A JP2009200953A (en) 2009-09-03
JP5054562B2 true JP5054562B2 (en) 2012-10-24

Family

ID=41143954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008041897A Expired - Fee Related JP5054562B2 (en) 2008-02-22 2008-02-22 Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program

Country Status (1)

Country Link
JP (1) JP5054562B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131952A (en) * 2011-12-22 2013-07-04 Dainippon Printing Co Ltd Dot image forming method and heat transcriber
JP6322923B2 (en) 2013-08-08 2018-05-16 株式会社リコー Information processing apparatus, information processing program, storage medium, information processing system, and information processing method
JP6134927B1 (en) * 2015-12-10 2017-05-31 株式会社千年写真 Image generation method, image generation apparatus, engraving manufacturing method, program, engraving and printed matter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06295114A (en) * 1993-04-09 1994-10-21 Fuji Xerox Co Ltd Color image forming device
JP2002369007A (en) * 2001-06-05 2002-12-20 Fujitsu Ltd Method for converting image contrast pattern comprising many parallel lines
JP2006330930A (en) * 2005-05-24 2006-12-07 Matsushita Electric Ind Co Ltd Method and device for preparing and reading color code
JP2007157127A (en) * 2005-11-11 2007-06-21 Seiko Epson Corp Data recording on print medium and recovery of data printed on medium
US7478746B2 (en) * 2006-05-31 2009-01-20 Konica Minolta Systems Laboratory, Inc. Two-dimensional color barcode and method of generating and decoding the same

Also Published As

Publication number Publication date
JP2009200953A (en) 2009-09-03

Similar Documents

Publication Publication Date Title
US7938330B2 (en) Methods and execution programs for reading and displaying a two-dimensional code
JP6015189B2 (en) Image inspection apparatus, image forming apparatus, image inspection method, and image forming system
US8931700B2 (en) Four dimensional (4D) color barcode for high capacity data encoding and decoding
CN101160950B (en) Image processing device, image processing method
US20150332607A1 (en) System for Producing Tactile Images
JP5604761B2 (en) Print medium, information processing method, information processing apparatus
JP4552754B2 (en) Information embedding device, method, program, and recording medium, and information detecting device, method, program, and computer-readable recording medium
CN1964422A (en) Watermarked information embedding apparatus and method, and computer program
EP3484138B1 (en) Information processing device, information processing method, program, and color chart
JP5054562B2 (en) Image forming apparatus, image reading apparatus, image forming method, image reading method, image forming program, and image reading program
KR100869284B1 (en) Image processing apparatus and image processing method
US9338310B2 (en) Image processing apparatus and computer-readable medium for determining pixel value of a target area and converting the pixel value to a specified value of a target image data
JP2005318207A (en) Image forming apparatus and verifying device
JP2005184685A (en) Image processing device, program, and recording medium
US8830525B2 (en) Image creating apparatus having color arrangement changing unit and image creating apparatus having color arrangement restoring unit
JP2011071661A (en) Image forming apparatus, control method, and program
US11057541B2 (en) Image processing apparatus, printing system, and image processing method
US8830520B2 (en) System and method for enhancing the density of black
JP6507809B2 (en) Printing instruction device, printing system and program
JP2012081638A (en) Apparatus and method for processing image
JP4514168B2 (en) Image processing system and image processing method
JP2014128901A (en) Image processing device and image processing method
JP6627703B2 (en) Print data creation program, print data creation device, printing device, print data creation method
JP4575929B2 (en) Print control apparatus, print control method, and print control program
JP4465654B2 (en) Image dictionary creation device, encoding device, encoding method and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101006

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120427

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5054562

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150803

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees