JP2008035379A - Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program - Google Patents
Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program Download PDFInfo
- Publication number
- JP2008035379A JP2008035379A JP2006208528A JP2006208528A JP2008035379A JP 2008035379 A JP2008035379 A JP 2008035379A JP 2006208528 A JP2006208528 A JP 2006208528A JP 2006208528 A JP2006208528 A JP 2006208528A JP 2008035379 A JP2008035379 A JP 2008035379A
- Authority
- JP
- Japan
- Prior art keywords
- threshold
- color
- value
- threshold value
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 414
- 238000003860 storage Methods 0.000 title claims abstract description 195
- 238000000034 method Methods 0.000 title claims abstract description 189
- 238000007639 printing Methods 0.000 title claims abstract description 133
- 238000003672 processing method Methods 0.000 title claims description 20
- 239000011159 matrix material Substances 0.000 claims abstract description 423
- 238000006243 chemical reaction Methods 0.000 claims abstract description 128
- 239000003086 colorant Substances 0.000 claims description 112
- 230000008569 process Effects 0.000 claims description 112
- 238000009826 distribution Methods 0.000 claims description 48
- 230000015654 memory Effects 0.000 abstract description 149
- 230000000694 effects Effects 0.000 description 44
- 238000010586 diagram Methods 0.000 description 39
- 230000006870 function Effects 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
【課題】画像データをN値化するに際し、メモリに記憶された共通のディザマトリックスを効率的に使用するのに好適な印刷装置、画像処理装置、及び表示装置を提供する。
【解決手段】印刷装置1を、M値の画像データを取得する画像データ取得部10と、当該取得した画像データに対して、解像度変換、色変換及びディザ法を用いたN値化処理等の各種画像処理を施してM値の画像データをN値の画像データに変換する画像処理部11と、変換後の画像データに基づき印刷データを生成する印刷データ生成部12と、印刷データに基づき印刷処理を実行する印刷部13とを含んだ構成とした。また、基準ディザデータを複数の閾値セットに分け、これをメモリのアドレスの連続する記憶領域に順番に記憶する。このように記憶された閾値セットを、前記連続するアドレスに対して循環的に且つ繰り返し読み出して各色の画像データに対するN値化処理を実行する。
【選択図】図1Provided are a printing apparatus, an image processing apparatus, and a display apparatus that are suitable for efficiently using a common dither matrix stored in a memory when converting N-valued image data.
An image data acquisition unit that acquires M-value image data, and N-value conversion processing that uses resolution conversion, color conversion, and a dither method for the acquired image data. An image processing unit 11 that performs various image processing to convert M-value image data into N-value image data, a print data generation unit 12 that generates print data based on the converted image data, and printing based on the print data The configuration includes a printing unit 13 that executes processing. Further, the reference dither data is divided into a plurality of threshold sets, which are sequentially stored in a storage area having consecutive memory addresses. The threshold set stored in this way is cyclically and repeatedly read out from the successive addresses, and N-value conversion processing is performed on the image data of each color.
[Selection] Figure 1
Description
本発明は、ディザ法を用いた画像処理に好適な印刷装置、印刷プログラム、印刷方法、画像処理装置、画像処理プログラム及び画像処理方法、表示装置、表示プログラム及び表示方法、並びに前記プログラムを記憶した記憶媒体に関する。 The present invention stores a printing apparatus, a printing program, a printing method, an image processing apparatus, an image processing program and an image processing method, a display apparatus, a display program and a display method, and the program that are suitable for image processing using a dither method. The present invention relates to a storage medium.
従来、ディザマトリックスを用いて、画像データのN値化(多値化)を行う技術として、例えば、特許文献1に記載の画像処理装置及び特許文献2に記載の画像形成装置などがある。
特許文献1の画像処理装置は、画像データに対し、ディザマトリックスを階段状に配置してN値化(多値化)を行う。具体的には、主走査方向または副走査方向に順次ずらしながらディザマトリックスを配置する。つまり、画像データのサイズよりも小さい共通の(同じ内容の)ディザマトリックスを、画像データに対して方眼状に且つ規則的に配置してしまうと、ドットの形成パターンが規則的となり画質を低下させてしまう。そこで、前述したように、画像データに対してディザマトリックスを階段状にずらして配置することによって規則性をなくし、画質の低下を防いでいる。
Conventionally, as a technique for performing N-value (multi-value) of image data using a dither matrix, for example, there are an image processing apparatus described in
The image processing apparatus of
また、特許文献2の画像形成装置は、Y、M、C、Kの順で順次画像形成を行うフルカラープリンタで、黒トナーの画像形成後、続けて黒トナー現像器の現像スリーブを回転させる。つまり、画像形成過程において、ディザマトリックスの閾値をフレーム毎にローテーションして用いることで、色毎に違った閾値を用いて処理を行うようにして、共通の(同じ内容の)ディザマトリックスを有効に利用する。これにより、ゴーストの発生を十分に抑えると共に、過度の現像スリーブの回転を防ぐことができる。
The image forming apparatus disclosed in
また、従来、共通するディザマトリックスを用いてN値化(多値化)を行う場合は、このディザマトリックスを1つだけワーク用のメモリに読み込み、このメモリからN値化に必要な分だけ繰り返し読み出して用いることでディザマトリックスに用いるメモリ量を低減している。
また、メモリに記憶された共通のディザマトリックスを用いて、その閾値の選択開始位置をずらしながら閾値を選択する場合は、マトリックスの途中の行又は列の先頭の閾値が開始位置となるとき、閾値の選択位置がマトリックスの最後の行又は列の最終の閾値に到達すると、その次は、マトリックスの最後の行又は列から最初の行又は列へと循環的に移行して、最初の行又は列の先頭の閾値から前記途中の行又は列の1つ前の行又は列の最終の閾値まで順番に閾値を選択していくことになる。
In addition, when a threshold is selected using a common dither matrix stored in the memory while shifting the selection start position of the threshold, when the threshold at the beginning of a row or column in the matrix is the start position, the threshold When the selected position of the matrix reaches the final threshold of the last row or column of the matrix, the next is a cyclic transition from the last row or column of the matrix to the first row or column, The threshold values are selected in order from the first threshold value to the last threshold value of the previous row or column in the middle row or column.
しかしながら、上記特許文献1及び特許文献2などの従来技術においては、N値化を行うときに、メモリへのディザマトリックスデータの記憶構成、及びディザマトリックスの記憶されたメモリから、その閾値データを読み出すときのメモリアクセス方法について、工夫点などは特に述べられていない。
また、前述したように、共通のディザマトリックスの閾値の選択開始位置を画像データの色毎にずらしながらN値化を行う場合に、共通のディザマトリックスをその配列順に単純にメモリに記憶した場合は、画像データの色毎に、メモリからずらし量に対応するアドレス位置の閾値データを別々に読み出してくる必要がある。そのため、画像データの色数が多くなればなるほど、閾値の読み出し回数が増加するため、メモリとのアクセス時間が増加して、これが処理全体にとってのボトルネックとなる恐れがある。
However, in the conventional techniques such as
Further, as described above, when N-value conversion is performed while shifting the selection start position of the threshold value of the common dither matrix for each color of the image data, when the common dither matrix is simply stored in the memory in the arrangement order, For each color of the image data, it is necessary to separately read out the threshold value data at the address position corresponding to the shift amount from the memory. For this reason, as the number of colors of image data increases, the number of times the threshold is read out increases, and the access time to the memory increases, which may become a bottleneck for the entire process.
そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされたものであって、画像データをN値化するに際し、メモリに記憶された共通のディザマトリックスを効率的に使用するのに好適な印刷装置、印刷プログラム、印刷方法、画像処理装置、画像処理プログラム及び画像処理方法、表示装置、表示プログラム及び表示方法、並びに前記プログラムを記憶した記憶媒体を提供することを目的としている。 Therefore, the present invention has been made paying attention to such an unsolved problem of the conventional technology, and when converting the image data into N-values, the common dither matrix stored in the memory is efficiently used. A printing apparatus, a printing program, a printing method, an image processing apparatus, an image processing program and an image processing method, a display apparatus, a display program and a display method, and a storage medium storing the program are provided. It is aimed.
〔形態1〕 上記目的を達成するために、形態1の印刷装置は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスを備え、当該基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき印刷処理を行う印刷装置であって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、
前記N値化手段で変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段で生成された印刷データに基づき印刷処理を実行する印刷手段と、を備えることを特徴とする。
[Mode 1] In order to achieve the above object, a printing apparatus according to
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed into a composed image data from the pixel value of the N (M> N ≧ 2) values, a printing apparatus that performs printing based on the image data after the conversion from
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Pixel value acquisition means for acquiring pixel values of the respective colors in order from pixel values of acquisition start positions common to the respective colors in the image data;
Using each threshold value of the threshold set sequentially read by the threshold value reading unit and the pixel value of each color acquired by the pixel value acquisition unit, each threshold value and a pixel value of a color corresponding to each of these threshold values Determination processing means for sequentially performing the determination processing for each combination;
N-value conversion means for converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing means;
Print data generation means for generating print data based on image data composed of pixel values converted by the N-value conversion means;
Printing means for executing a printing process based on the print data generated by the print data generation means.
このような構成であれば、基準ディザマトリックス記憶手段によって、前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスが、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶される。 With such a configuration, the reference dither matrix storage means sequentially sets the predetermined threshold value of each color to 1 from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color. The reference dither matrix divided into a plurality of threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position, with a set of thresholds included as one threshold set.
そして、閾値読出手段によって、前記記憶された基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出し、また、画素値取得手段によって、前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得すると、判定処理手段は、前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う。 Then, the threshold value reading means performs the on / off determination processing for each threshold value set for all pixel values of the image data in order from the threshold value set for the selection start position in the stored reference dither matrix. For the number of times necessary for the plurality of threshold sets stored in the continuous storage area of the address, and cyclically and repeatedly read out, and by the pixel value acquisition means, an acquisition start position common to each color in the image data When the pixel value of each color is acquired in order from the pixel value of each of the color values, the determination processing unit is configured to read each threshold value of the threshold set sequentially read by the threshold value reading unit and each pixel value of the color acquired by the pixel value acquisition unit. The determination processing is sequentially performed on each combination of the threshold values and pixel values of colors corresponding to the threshold values.
また、N値化手段は、前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換し、印刷データ生成手段は、前記N値化手段で変換後の画素値から構成される画像データに基づき、印刷データを生成する。
そして、印刷手段は、前記印刷データ生成手段で生成された印刷データに基づき印刷処理を実行する。
Further, the N-value conversion unit converts the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing unit, and the print data generation unit converts the pixel value after conversion by the N-value conversion unit. Print data is generated based on image data composed of pixel values.
The printing unit executes a printing process based on the print data generated by the print data generation unit.
つまり、各色の閾値の選択開始位置は、基準ディザマトリックスの所定行又は所定列単位でずれることになり、これら開始位置から順番に且つ循環的に閾値を選択することになるので、ある色に対する開始位置から他の色の開始位置1つ手前までの閾値は、この色以外の画素値に対しても用いられることになる。従って、各色の閾値を1つずつ含む閾値セットは、処理対象となる画素値の位置はそれぞれ異なるが、全ての色の画素値に対して共通に用いられる。また、基準ディザマトリックスは、上記閾値セット毎に、連続するアドレスの記憶領域に記憶されており、且つ各閾値セットを、循環的に且つ繰り返し読み出すようにしたので、読み出し位置(ポインタ)を所定量ずつシフトするだけで連続して閾値セットを読み出すことができると共に、各色の画素値に対して対応する閾値を一度に読み出すことができるので、各色の画素値に対する閾値の読み出し処理を効率よく行うことができるという効果が得られる。また、このような順番で閾値セットを読み出すことで、当該閾値セットに含まれる閾値は、共通の開始位置から順番に取得される各色の画素値のいずれかに対して適用することができるので、同じ閾値セットを循環的に且つ繰り返し読み出すことで、画像データの全ての画素値に対して上記判定処理を行うことができる。また、記憶するディザマトリックスは基準ディザマトリックス1つ分だけで良いので、ディザマトリックスを記憶するメモリ容量を低減することができるという効果も得られる。 That is, the threshold selection start position for each color is shifted in units of predetermined rows or predetermined columns of the reference dither matrix, and the thresholds are selected sequentially and cyclically from these start positions. The threshold value from the position to the position immediately before the start position of another color is also used for pixel values other than this color. Accordingly, a threshold set including one threshold value for each color is commonly used for pixel values of all colors, although the positions of pixel values to be processed are different. In addition, the reference dither matrix is stored in the storage area of consecutive addresses for each threshold set, and each threshold set is read cyclically and repeatedly, so that the reading position (pointer) is set to a predetermined amount. It is possible to read out the threshold set continuously only by shifting each pixel and to read out the corresponding threshold value for each color pixel value at a time. The effect of being able to be obtained. In addition, by reading out the threshold set in such an order, the threshold included in the threshold set can be applied to any one of the pixel values of each color acquired in order from the common start position. By repeatedly and repeatedly reading out the same threshold set, the above determination process can be performed on all the pixel values of the image data. In addition, since only one reference dither matrix needs to be stored, the memory capacity for storing the dither matrix can be reduced.
ここで、上記「ディザマトリックス」は、公知のディザ法を用いたN値化処理(多値化処理又はハーフトーン処理とも言う)において用いられるもので、所定の閾値が2次元マトリックス状に配列された構成をしている。そして、同様に2次元マトリックス状に画素値が配列された構成の画像データの各画素値と、前記ディザマトリックスの各閾値とを対応付け、それぞれ対応する位置の画素値と閾値との大小を比較して、その画素値に対するドットのオン・オフを判定する。ディザマトリックスのサイズは、一般に画像データのマトリックスサイズより小さくなっており、画像データのサイズに合わせて、行方向及び列方向にディザマトリックスをシフトしながら判定処理を実行する。以下の、印刷プログラムに関する形態、印刷方法に関する形態、画像処理装置に関する形態、画像処理プログラムに関する形態、画像処理方法に関する形態、表示装置に関する形態、表示プログラムに関する形態、表示方法に関する形態、前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体に関する形態、発明を実施するための最良の形態の欄などにおいて同じである。 Here, the “dither matrix” is used in N-value processing (also referred to as multi-value processing or halftone processing) using a known dither method, and predetermined threshold values are arranged in a two-dimensional matrix. It has a configuration. Similarly, each pixel value of the image data having a configuration in which pixel values are arranged in a two-dimensional matrix is associated with each threshold value of the dither matrix, and the pixel value at each corresponding position is compared with the threshold value. Then, the dot on / off state for the pixel value is determined. The size of the dither matrix is generally smaller than the matrix size of the image data, and the determination process is executed while shifting the dither matrix in the row direction and the column direction in accordance with the size of the image data. A form relating to a printing program, a form relating to a printing method, a form relating to an image processing apparatus, a form relating to an image processing program, a form relating to an image processing method, a form relating to a display apparatus, a form relating to a display program, a form relating to a display method, and storing the program The same applies to the form relating to the computer-readable storage medium, the best mode for carrying out the invention, and the like.
また、上記「循環的に閾値を選択する」とは、例えば、基準ディザマトリックスの開始位置が、当該マトリックスの先頭位置(例えば、左上)ではなく、途中の行又は列位置である場合に、その途中位置からマトリックスの最終位置(例えば、右下)まで順に閾値を選択後、次に、マトリックスの先頭に選択位置を変更し、そこから前記途中位置の手前まで順に閾値を選択することである。例えば、8行×8列の基準ディザマトリックスがあり、Cy(シアン)、Mg(マゼンタ)、Ye(イエロー)、Bk(ブラック)の4色に対して2行単位で開始位置をずらす場合は、それぞれの選択開始位置は、例えば、Cyが1行目の先頭、Mgが3行目の先頭、Yeが5行目の先頭及びBkが7行目の先頭となる。そして、循環的に選択した場合の、Cyに対するディザマトリックスの構成は、基準ディザマトリックスそのものとなる。また、同様にMgに対するディザマトリックスの構成は、その1行目から6行目が、基準ディザマトリックスの3行目から8行目となり、その7行目から8行目が、基準ディザマトリックスの1行目から2行目となる。また、同様にYeに対するディザマトリックスの構成は、その1行目から4行目が、基準ディザマトリックスの5行目から8行目となり、その5行目から8行目が、基準ディザマトリックスの1行目から4行目となる。また、同様にBkに対するディザマトリックスの構成は、その1行目から2行目が、基準ディザマトリックスの7行目から8行目となり、その3行目から8行目が、基準ディザマトリックスの1行目から6行目となる。また、CMYKの色空間を例として説明したが、CMY、CMK、RGB、RGBA、sRGB、YIQ、YCbCr/YPbPrなどの他の公知の色空間についても同様のことが言える。以下の、印刷プログラムに関する形態、印刷方法に関する形態、画像処理装置に関する形態、画像処理プログラムに関する形態、画像処理方法に関する形態、表示装置に関する形態、表示プログラムに関する形態、表示方法に関する形態、前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体に関する形態、発明を実施するための最良の形態の欄などにおいて同じである。
In addition, the above-mentioned “cyclically select a threshold value” means, for example, that the start position of the reference dither matrix is not the top position (for example, upper left) of the matrix but the middle row or column position. After selecting the threshold value in order from the middle position to the final position of the matrix (for example, lower right), next, the selection position is changed to the head of the matrix, and then the threshold value is selected in order from the middle position to just before the middle position. For example, when there is a reference dither matrix of 8 rows × 8 columns and the start position is shifted in units of 2 rows for four colors of Cy (cyan), Mg (magenta), Ye (yellow), and Bk (black), For example, Cy is the top of the first row, Mg is the top of the third row, Ye is the top of the fifth row, and Bk is the top of the seventh row. When the selection is made cyclically, the configuration of the dither matrix for Cy is the reference dither matrix itself. Similarly, the configuration of the dither matrix for Mg is from the first row to the sixth row, from the third row to the eighth row of the reference dither matrix, and from the seventh row to the eighth row, the 1st row of the reference dither matrix. From
また、例えば、8行×8列の基準ディザマトリックスがあり、Cy(シアン)、Mg(マゼンタ)、Ye(イエロー)、Bk(ブラック)の4色に対して2行単位で開始位置をずらすとする。ここで、行数をi(i≧1)、列数をj(j≧1)として、各閾値をaijと表現し、各色の選択開始位置を、それぞれ、Cy:a11、Mg:a31、Ye:a51、Bk:a71とする。このような条件において、上記「閾値セット」は、(a11,a31,a51,a71)、(a12,a32,a52,a72)、・・・、(a27,a47,a67,a87)、(a28,a48,a68,a88)となる。そして、これら閾値セットは、この順番で、アドレスの連続する記憶領域に記憶される。つまり、各色の選択開始位置から行方向又は列方向に順番に、基準ディザマトリックスから閾値を1つずつ選択し、この1つずつ選択した各色の閾値の組を1つの閾値セットとする。なお、8行×8列の基準ディザマトリックスでは、処理対象の画像データの色数が4色の場合、閾値セットは16セット形成される。以下の、印刷プログラムに関する形態、印刷方法に関する形態、画像処理装置に関する形態、画像処理プログラムに関する形態、画像処理方法に関する形態、表示装置に関する形態、表示プログラムに関する形態、表示方法に関する形態、前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体に関する形態、発明を実施するための最良の形態の欄などにおいて同じである。 In addition, for example, there is a reference dither matrix of 8 rows × 8 columns, and the start position is shifted in units of 2 rows with respect to four colors of Cy (cyan), Mg (magenta), Ye (yellow), and Bk (black). To do. Here, the number of rows is i (i ≧ 1), the number of columns is j (j ≧ 1), each threshold is expressed as a ij, and the selection start positions of the colors are Cy: a11, Mg: a31, Ye, respectively. : A51 and Bk: a71. Under such conditions, the “threshold set” is (a11, a31, a51, a71), (a12, a32, a52, a72),..., (A27, a47, a67, a87), (a28, a48, a68, a88). These threshold sets are stored in this order in a storage area with consecutive addresses. That is, threshold values are selected one by one from the reference dither matrix in order from the selection start position of each color in the row direction or column direction, and a set of threshold values for each color selected one by one is set as one threshold set. In the reference dither matrix of 8 rows × 8 columns, when the number of colors of image data to be processed is 4, 16 threshold sets are formed. A form relating to a printing program, a form relating to a printing method, a form relating to an image processing apparatus, a form relating to an image processing program, a form relating to an image processing method, a form relating to a display apparatus, a form relating to a display program, a form relating to a display method, and storing the program The same applies to the form relating to the computer-readable storage medium, the best mode for carrying out the invention, and the like.
また、上記「循環的に且つ繰り返し読み出す」とは、連続するアドレスに記憶された閾値セットを、アドレスの順に読み出し、最後のアドレス領域の閾値セットを読み出したら、再び先頭のアドレスに戻って、そのアドレスから順に閾値セットを読み出すことを繰り返して行うことを含む。また、アドレスの順に、同じ閾値セット(所定数の連続する閾値セットを含む)を所定回数ずつ繰り返し読み出すことも含む。例えば、1番目と2番目のアドレスに記憶された閾値セットを、1,2,1,2,1,2,・・・と、2番目の次に1番目に戻って(循環して)繰り返し読み出す場合などが該当する。以下の、印刷プログラムに関する形態、印刷方法に関する形態、画像処理装置に関する形態、画像処理プログラムに関する形態、画像処理方法に関する形態、表示装置に関する形態、表示プログラムに関する形態、表示方法に関する形態、前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体に関する形態、発明を実施するための最良の形態の欄などにおいて同じである。 In addition, the above-mentioned “cyclically and repeatedly read” means that the threshold sets stored in consecutive addresses are read in the order of addresses, the threshold set of the last address area is read, and then the head address is returned again. It includes repeatedly reading the threshold set in order from the address. It also includes repeatedly reading out the same threshold set (including a predetermined number of consecutive threshold sets) a predetermined number of times in the order of addresses. For example, the threshold set stored at the first and second addresses is repeatedly returned (circulated) to 1, 2, 1, 2, 1, 2,. Applicable when reading. A form relating to a printing program, a form relating to a printing method, a form relating to an image processing apparatus, a form relating to an image processing program, a form relating to an image processing method, a form relating to a display apparatus, a form relating to a display program, a form relating to a display method, and storing the program The same applies to the form relating to the computer-readable storage medium, the best mode for carrying out the invention, and the like.
〔形態2〕 更に、形態2の印刷装置は、形態1の印刷装置において、
前記判定処理手段は、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部と、前記閾値読出手段で読み出した前記閾値セットの各閾値を、前記各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分ける閾値振分部とを有し、前記各色毎の判定処理部を用いて、前記各色の画素値に対する前記判定処理を並列に実行することを特徴とする。
[Mode 2] Further, the printing apparatus of
The determination processing means uses the same number of determination processing units for each color as the number of colors of the image data to perform the determination processing, and each threshold value of the threshold set read by the threshold value reading means for each color determination process. And a threshold distribution unit that distributes to the corresponding color determination processing unit, and using the determination processing unit for each color, the determination processing for the pixel value of each color is executed in parallel. And
このような構成であれば、閾値読出手段によって各閾値セットが読み出され、また、画素値取得手段によって画素値が取得されると、判定処理手段は、閾値振分部によって、閾値セットの各閾値を、処理対象の色の画素値に対して判定処理を行う判定処理部へとそれぞれ振り分け、各色に対応する判定処理部において、並列に判定処理を実行する。
従って、各閾値セットの読み出し順等を変更することなく、順番に読み出した閾値セットに含まれる閾値を、それぞれ適切な判定処理部に振り分けて、且つ並列に判定処理を実行することができるので、より高速に判定処理を行うことができるという効果が得られる。
With such a configuration, each threshold set is read by the threshold reading unit, and when the pixel value is acquired by the pixel value acquiring unit, the determination processing unit uses the threshold distribution unit to execute each of the threshold sets. The threshold values are assigned to the determination processing units that perform the determination processing on the pixel values of the color to be processed, and the determination processing corresponding to each color executes the determination processing in parallel.
Therefore, without changing the reading order of each threshold set, the thresholds included in the threshold set read in order can be distributed to appropriate determination processing units, and the determination processing can be executed in parallel. The effect that the determination process can be performed at a higher speed is obtained.
〔形態3〕 更に、形態3の印刷装置は、形態2の印刷装置において、
前記判定処理手段における前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
このような構成であれば、画像データのマトリックスサイズが、ディザマトリックスのサイズよりも大きいときに、各行又は各列毎に、同じ閾値セットを連続して繰り返し用いることになるので、高速読み出しが可能なキャッシュメモリや高速な内蔵メモリ等に閾値セットを記憶するなどすることが可能になり、簡易に、より高速に判定処理を実行することができるという効果が得られる。
[Mode 3] Furthermore, the printing apparatus of
The determination processing in the determination processing means is performed for each row or column of each color of the image data.
With such a configuration, when the matrix size of the image data is larger than the dither matrix size, the same threshold set is repeatedly used for each row or each column, so that high-speed readout is possible. It is possible to store the threshold set in a simple cache memory, a high-speed built-in memory, etc., and the effect that the determination process can be executed easily and at a higher speed can be obtained.
〔形態4〕 更に、形態4の印刷装置は、形態1乃至3のいずれか1の印刷装置において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
[Form 4] Furthermore, the printing apparatus of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
このような構成であれば、ディザマトリックスの行数又は列数が色数で割り切れる場合に、ずらす量を均等にできるので、基準ディザマトリックスを複数の閾値セットにきれいい分けることができる。これにより、均等なデータサイズの閾値セットを連続するアドレスの記憶領域に記憶することができ、より効率良く閾値セットの読み出し処理を行うことができるという効果が得られる。 With such a configuration, when the number of rows or columns of the dither matrix is divisible by the number of colors, the amount of shift can be made equal, so the reference dither matrix can be neatly divided into a plurality of threshold sets. As a result, a threshold set having a uniform data size can be stored in the storage area of successive addresses, and the effect that the threshold set reading process can be performed more efficiently is obtained.
〔形態5〕 更に、形態5の印刷装置は、形態1乃至4のいずれか1の印刷装置において、
前記複数の閾値セットを、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶することを特徴とする。
このような構成であれば、1つのアドレスの記憶領域に所定数(例えば、1つ)の閾値セットが記憶されるので、1回のアクセスで所定数(例えば、1つ)の閾値セットを読み出すことが可能となり、より効率良く閾値セットの読み出し処理を行うことができるという効果が得られる。
[Mode 5] Further, the printing apparatus of
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets.
With such a configuration, since a predetermined number (for example, one) of threshold sets is stored in a storage area of one address, a predetermined number (for example, one) of threshold sets is read in one access. As a result, the threshold value set can be read more efficiently.
〔形態6〕 一方、上記目的を達成するために、形態6の印刷プログラムは、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき印刷処理を行う印刷プログラムあって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成ステップと、
前記印刷データ生成ステップで生成された印刷データに基づき印刷処理を実行する印刷ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする。
[Mode 6] On the other hand, in order to achieve the above object, the printing program of
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from the pixel value of N ≧ 2) values, there printing program for printing processing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A print data generation step for generating print data based on the image data composed of the pixel values converted in the N-value conversion step;
A program used for causing a computer to execute a process including a print step for executing a print process based on the print data generated in the print data generation step is included.
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態1記載の印刷装置と同等の作用及び効果が得られる。 With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the printing apparatus according to the first aspect can be obtained.
〔形態7〕 更に、形態7の印刷プログラムは、形態6の印刷プログラムにおいて、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態2記載の印刷装置と同等の作用及び効果が得られる。
[Mode 7] Further, the printing program of
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
With such a configuration, when the program is read by the computer and the computer executes processing in accordance with the read program, the same operations and effects as those of the printing apparatus according to the second aspect are obtained.
〔形態8〕 更に、形態8の印刷プログラムは、形態7の印刷プログラムにおいて、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態3記載の印刷装置と同等の作用及び効果が得られる。
[Embodiment 8] Further, the printing program of
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the printing apparatus according to the third aspect can be obtained.
〔形態9〕 更に、形態9の印刷プログラムは、形態6乃至8のいずれか1の印刷プログラムにおいて、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態4記載の印刷装置と同等の作用及び効果が得られる。
[Mode 9] Furthermore, the printing program of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the printing apparatus according to the fourth aspect are obtained.
〔形態10〕 更に、形態10の印刷プログラムは、形態6乃至9のいずれか1の印刷プログラムにおいて、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態5記載の印刷装置と同等の作用及び効果が得られる。
[Mode 10] Furthermore, the printing program of
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operations and effects as those of the printing apparatus according to the fifth aspect are obtained.
〔形態11〕 一方、上記目的を達成するために、形態10のコンピュータ読み取り可能な記憶媒体は、
形態6乃至10のいずれか1の印刷プログラムを記憶したコンピュータ読み取り可能な記憶媒体である。
これによって、CD−ROMやDVD−ROM、FD、半導体チップなどのコンピュータ読み取り可能な記憶媒体を介して前記形態6乃至10のいずれか1に記載の印刷プログラムをユーザなどの需用者に対して容易かつ確実に提供することができる。
[Mode 11] On the other hand, in order to achieve the above object, a computer-readable storage medium according to
A computer-readable storage medium storing the printing program according to any one of
As a result, the printing program according to any one of
〔形態12〕 一方、上記目的を達成するために、形態12の印刷方法は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき印刷処理を行う印刷方法あって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成ステップと、
前記印刷データ生成ステップで生成された印刷データに基づき印刷処理を実行する印刷ステップと、を含むことを特徴とする。
これにより、形態1の印刷装置と同等の作用及び効果が得られる。
[Mode 12] On the other hand, in order to achieve the above object, the printing method of
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there printing method for printing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A print data generation step for generating print data based on the image data composed of the pixel values converted in the N-value conversion step;
And a printing step for executing a printing process based on the printing data generated in the printing data generation step.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態13〕 更に、形態13の印刷方法は、形態12の印刷方法において、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
これにより、形態2の印刷装置と同等の作用及び効果が得られる。
[Mode 13] Furthermore, the printing method of
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
Thereby, an operation and effect equivalent to that of the printing apparatus of
〔形態14〕 更に、形態14の印刷方法は、形態13の印刷方法において、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
これにより、形態3の印刷装置と同等の作用及び効果が得られる。
[Form 14] Furthermore, the printing method of
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態15〕 更に、形態15の印刷方法は、形態12乃至14のいずれか1の印刷方法において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
これにより、形態4の印刷装置と同等の作用及び効果が得られる。
[Form 15] Furthermore, the printing method of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態16〕 更に、形態16の印刷方法は、形態12乃至15のいずれか1の印刷方法において、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
これにより、形態5の印刷装置と同等の作用及び効果が得られる。
[Mode 16] Furthermore, the printing method of
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
Thereby, an operation and effect equivalent to that of the printing apparatus of
〔形態17〕 一方、上記目的を達成するために、形態17の画像処理装置は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスを備え、当該基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換する画像処理装置であって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、を備えることを特徴とする。
[Mode 17] On the other hand, in order to achieve the above object, an image processing apparatus according to
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed of an image processing apparatus for converting the formed image data from the pixel value of the N (M> N ≧ 2) values from,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Determination processing means for sequentially performing the determination processing on the pixel value using each threshold of the threshold set sequentially read by the threshold reading means and the pixel value of each color corresponding to each threshold;
N-value conversion means for converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing means.
このような構成であれば、基準ディザマトリックス記憶手段によって、前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスが、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶される。 With such a configuration, the reference dither matrix storage means sequentially sets the predetermined threshold value of each color to 1 from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color. The reference dither matrix divided into a plurality of threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position, with a set of thresholds included as one threshold set.
そして、閾値読出手段によって、前記記憶された基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出し、また、画素値取得手段によって、前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得すると、判定処理手段は、前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う。
また、N値化手段は、前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換する。
これによって、形態1の印刷装置と同等の作用及び効果が得られる。
Then, the threshold value reading means performs the on / off determination processing for each threshold value set for all pixel values of the image data in order from the threshold value set for the selection start position in the stored reference dither matrix. For the number of times necessary for the plurality of threshold sets stored in the continuous storage area of the address, and cyclically and repeatedly read out, and by the pixel value acquisition means, an acquisition start position common to each color in the image data When the pixel value of each color is acquired in order from the pixel value of each of the color values, the determination processing unit is configured to read each threshold value of the threshold set sequentially read by the threshold value reading unit and each pixel value of the color acquired by the pixel value acquisition unit. The determination processing is sequentially performed on each combination of the threshold values and the pixel values of the colors corresponding to the threshold values.
Further, the N-value conversion unit converts the pixel value of each color into any of N types of numerical values based on the determination result of the determination processing unit.
As a result, the same operations and effects as those of the printing apparatus according to
〔形態18〕 更に、形態18の画像処理装置は、形態17の画像処理装置において、
前記判定処理手段は、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部と、前記閾値読出手段で読み出した前記閾値セットの各閾値を、前記各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分ける閾値振分部とを有し、前記各色毎の判定処理部を用いて、前記各色の画素値に対する前記判定処理を並列に実行することを特徴とする。
これによって、形態2の印刷装置と同等の作用及び効果が得られる。
[Mode 18] Further, an image processing apparatus of mode 18 is the image processing apparatus of
The determination processing means uses the same number of determination processing units for each color as the number of colors of the image data to perform the determination processing, and each threshold value of the threshold set read by the threshold value reading means for each color determination process. And a threshold distribution unit that distributes to the corresponding color determination processing unit, and using the determination processing unit for each color, the determination processing for the pixel value of each color is executed in parallel. And
As a result, the same operations and effects as those of the printing apparatus of
〔形態19〕 更に、形態19の画像処理装置は、形態18の画像処理装置において、
前記判定処理手段における前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
これによって、形態3の印刷装置と同等の作用及び効果が得られる。
[Mode 19] Furthermore, an image processing apparatus according to mode 19 is the image processing apparatus according to mode 18,
The determination processing in the determination processing means is performed for each row or column of each color of the image data.
As a result, the same operations and effects as those of the printing apparatus of
〔形態20〕 更に、形態20の画像処理装置は、形態17乃至19のいずれか1の画像処理装置において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
これによって、形態4の印刷装置と同等の作用及び効果が得られる。
[Mode 20] Furthermore, the image processing apparatus according to mode 20 is the image processing apparatus according to any one of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態21〕 更に、形態21の画像処理装置は、形態17乃至20のいずれか1の画像処理装置において、
前記複数の閾値セットを、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶することを特徴とする。
これによって、形態5の印刷装置と同等の作用及び効果が得られる。
[Mode 21] Furthermore, the image processing apparatus according to mode 21 is the image processing apparatus according to any one of
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets.
As a result, the same operations and effects as those of the printing apparatus according to
〔形態22〕 一方、上記目的を達成するために、形態22の画像処理プログラムは、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換する画像処理プログラムあって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする。
[Mode 22] On the other hand, in order to achieve the above object, an image processing program of mode 22
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M There the image processing program to be converted in the composed image data from the pixel value of N ≧ 2) values,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
A program used for causing a computer to execute a process including an N-value conversion step of converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination process step, To do.
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態17記載の画像処理装置と同等の作用及び効果が得られる。 With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operations and effects as those of the image processing apparatus according to the seventeenth aspect are obtained.
〔形態23〕 更に、形態23の画像処理プログラムは、形態22の画像処理プログラムにおいて、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態18記載の画像処理装置と同等の作用及び効果が得られる。
[Mode 23] Further, the image processing program of
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
With such a configuration, when the program is read by the computer and the computer executes processing in accordance with the read program, the same operations and effects as those of the image processing apparatus according to aspect 18 are obtained.
〔形態24〕 更に、形態24の画像処理プログラムは、形態23の画像処理プログラムにおいて、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態19記載の画像処理装置と同等の作用及び効果が得られる。
[Mode 24] Furthermore, the image processing program of mode 24 is the image processing program of
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
With such a configuration, when the program is read by the computer and the computer executes processing in accordance with the read program, operations and effects equivalent to those of the image processing apparatus according to the nineteenth aspect are obtained.
〔形態25〕 更に、形態25の画像処理プログラムは、形態22乃至24のいずれか1の画像処理プログラムにおいて、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態20記載の画像処理装置と同等の作用及び効果が得られる。
[Mode 25] Furthermore, the image processing program of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
With this configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operations and effects as those of the image processing apparatus according to the twentieth aspect are obtained.
〔形態26〕 更に、形態26の画像処理プログラムは、形態22乃至25のいずれか1の画像処理プログラムにおいて、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態21記載の画像処理装置と同等の作用及び効果が得られる。
[Mode 26] Further, the image processing program of mode 26 is the image processing program of any one of modes 22 to 25,
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operations and effects as those of the image processing device according to mode 21 are obtained.
〔形態27〕 一方、上記目的を達成するために、形態27のコンピュータ読み取り可能な記憶媒体は、
形態22乃至26のいずれか1の画像処理プログラムを記憶したコンピュータ読み取り可能な記憶媒体である。
これによって、CD−ROMやDVD−ROM、FD、半導体チップなどのコンピュータ読み取り可能な記憶媒体を介して前記形態22乃至26のいずれか1に記載の画像処理プログラムをユーザなどの需用者に対して容易かつ確実に提供することができる。
[Mode 27] On the other hand, in order to achieve the above object, a computer-readable storage medium according to mode 27 is provided.
A computer-readable storage medium storing an image processing program according to any one of forms 22 to 26.
As a result, the image processing program according to any one of Embodiments 22 to 26 is sent to a user such as a user via a computer-readable storage medium such as a CD-ROM, DVD-ROM, FD, or semiconductor chip. Can be provided easily and reliably.
〔形態28〕 一方、上記目的を達成するために、形態28の画像処理方法は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換する画像処理方法あって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、を含むことを特徴とする。
これにより、形態17の画像処理装置と同等の作用及び効果が得られる。
[Mode 28] On the other hand, in order to achieve the above object, an image processing method according to mode 28
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M There the image processing method of converting the composed image data from the pixel value of N ≧ 2) values,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step.
Thereby, the same operation and effect as those of the image processing apparatus according to
〔形態29〕 更に、形態29の画像処理方法は、形態28の画像処理方法において、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
これにより、形態18の画像処理装置と同等の作用及び効果が得られる。
[Mode 29] Furthermore, the image processing method of
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
Thereby, the same operation and effect as those of the image processing device according to aspect 18 are obtained.
〔形態30〕 更に、形態30の画像処理方法は、形態29の画像処理方法において、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
これにより、形態19の画像処理装置と同等の作用及び効果が得られる。
[Mode 30] Furthermore, the image processing method of
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
Thereby, the same operation and effect as those of the image processing apparatus of mode 19 are obtained.
〔形態31〕 更に、形態31の画像処理方法は、形態27乃至30のいずれか1の画像処理方法において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
これにより、形態20の画像処理装置と同等の作用及び効果が得られる。
[Mode 31] Furthermore, the image processing method of
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
Thereby, the same operation and effect as those of the image processing apparatus according to mode 20 can be obtained.
〔形態32〕 更に、形態32の画像処理方法は、形態27乃至31のいずれか1の画像処理方法において、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
これにより、形態21の画像処理装置と同等の作用及び効果が得られる。
[Mode 32] Furthermore, the image processing method of
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
Thereby, the same operation and effect as those of the image processing device in mode 21 are obtained.
〔形態33〕 一方、上記目的を達成するために、形態33の表示装置は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスを備え、当該基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき表示処理を行う表示装置であって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、
前記N値化手段で変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成手段と、
前記表示データ生成手段で生成された表示データに基づき表示処理を実行する表示手段と、を備えることを特徴とする。
[Mode 33] On the other hand, in order to achieve the above object, a display device of mode 33
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed into a composed image data from the pixel value of the N (M> N ≧ 2) values, a display device that performs display processing based on the image data after the conversion from
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Determination processing means for sequentially performing the determination processing on the pixel value using each threshold of the threshold set sequentially read by the threshold reading means and the pixel value of each color corresponding to each threshold;
N-value conversion means for converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing means;
Display data generating means for generating display data based on image data composed of pixel values converted by the N-value converting means;
Display means for executing display processing based on the display data generated by the display data generation means.
このような構成であれば、基準ディザマトリックス記憶手段によって、前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスが、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶される。 With such a configuration, the reference dither matrix storage means sequentially sets the predetermined threshold value of each color to 1 from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color. The reference dither matrix divided into a plurality of threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position, with a set of thresholds included as one threshold set.
そして、閾値読出手段によって、前記記憶された基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出し、また、画素値取得手段によって、前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得すると、判定処理手段は、前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う。 Then, the threshold value reading means performs the on / off determination processing for each threshold value set for all pixel values of the image data in order from the threshold value set for the selection start position in the stored reference dither matrix. For the number of times necessary for the plurality of threshold sets stored in the continuous storage area of the address, and cyclically and repeatedly read out, and by the pixel value acquisition means, an acquisition start position common to each color in the image data When the pixel value of each color is acquired in order from the pixel value of each of the color values, the determination processing unit is configured to read each threshold value of the threshold set sequentially read by the threshold value reading unit and each pixel value of the color acquired by the pixel value acquisition unit. The determination processing is sequentially performed on each combination of the threshold values and pixel values of colors corresponding to the threshold values.
また、N値化手段は、前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換し、表示データ生成手段は、前記N値化手段で変換後の画素値から構成される画像データに基づき、表示データを生成する。
そして、表示手段は、前記表示データ生成手段で生成された表示データに基づき表示処理を実行する。
これにより、形態1の印刷装置と同等の作用及び効果が得られる。
Further, the N-value conversion unit converts the pixel value of each color into one of N types based on the determination result of the determination processing unit, and the display data generation unit converts the pixel value after the conversion by the N-value conversion unit. Display data is generated based on image data composed of pixel values.
And a display means performs a display process based on the display data produced | generated by the said display data production | generation means.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態34〕 更に、形態34の表示装置は、形態33の表示装置において、
前記判定処理手段は、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部と、前記閾値読出手段で読み出した前記閾値セットの各閾値を、前記各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分ける閾値振分部とを有し、前記各色毎の判定処理部を用いて、前記各色の画素値に対する前記判定処理を並列に実行することを特徴とする。
これにより、形態2の印刷装置と同等の作用及び効果が得られる。
[Mode 34] Furthermore, the display device of mode 34 is the display device of mode 33,
The determination processing means uses the same number of determination processing units for each color as the number of colors of the image data to perform the determination processing, and each threshold value of the threshold set read by the threshold value reading means for each color determination process. And a threshold distribution unit that distributes to the corresponding color determination processing unit, and using the determination processing unit for each color, the determination processing for the pixel value of each color is executed in parallel. And
Thereby, an operation and effect equivalent to that of the printing apparatus of
〔形態35〕 更に、形態35の表示装置は、形態34の表示装置において、
前記判定処理手段における前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
これにより、形態3の印刷装置と同等の作用及び効果が得られる。
[Mode 35] Furthermore, the display device of mode 35 is the display device of mode 34,
The determination processing in the determination processing means is performed for each row or column of each color of the image data.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態36〕 更に、形態36の表示装置は、形態33乃至35のいずれか1の表示装置において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
これにより、形態4の印刷装置と同等の作用及び効果が得られる。
[Mode 36] Furthermore, the display device of mode 36 is the display device of any one of modes 33 to 35,
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
Thereby, the same operation and effect as those of the printing apparatus of
〔形態37〕 更に、形態37の表示装置は、形態33乃至36のいずれか1の表示装置において、
前記複数の閾値セットを、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶することを特徴とする。
これにより、形態5の印刷装置と同等の作用及び効果が得られる。
[Mode 37] Furthermore, the display device of mode 37 is the display device of any one of modes 33 to 36.
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets.
Thereby, an operation and effect equivalent to that of the printing apparatus of
〔形態38〕 一方、上記目的を達成するために、形態38の表示プログラムは、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき表示処理を行う表示プログラムあって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成ステップと、
前記表示データ生成ステップで生成された表示データに基づき表示処理を実行する表示ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする。
[Mode 38] On the other hand, in order to achieve the above object, the display program of mode 38
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there display program performs a display process based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A display data generation step for generating display data based on the image data composed of the pixel values converted in the N-value conversion step;
A program used for causing a computer to execute a process including a display step of executing a display process based on the display data generated in the display data generation step is included.
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態33記載の表示装置と同等の作用及び効果が得られる。 With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operations and effects as those of the display device according to the thirty-third aspect are obtained.
〔形態39〕 更に、形態39の表示プログラムは、形態38の表示プログラムにおいて、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態34記載の表示装置と同等の作用及び効果が得られる。
[Form 39] Furthermore, the display program of form 39 is the display program of form 38,
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the display device according to the thirty-fourth aspect are obtained.
〔形態40〕 更に、形態40の表示プログラムは、形態39の表示プログラムにおいて、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態35記載の表示装置と同等の作用及び効果が得られる。
[Form 40] Furthermore, the display program of form 40 is the display program of form 39,
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the display device according to mode 35 can be obtained.
〔形態41〕 更に、形態41の表示プログラムは、形態38乃至40のいずれか1の表示プログラムにおいて、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態36記載の表示装置と同等の作用及び効果が得られる。
[Form 41] Furthermore, the display program of form 41 is the display program of any one of forms 38 to 40,
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
With this configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the display device according to mode 36 can be obtained.
〔形態42〕 更に、形態42の表示プログラムは、形態38乃至41のいずれか1の表示プログラムにおいて、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、形態37記載の表示装置と同等の作用及び効果が得られる。
[Form 42] Furthermore, the display program of form 42 is the display program of any one of forms 38 to 41,
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
With such a configuration, when the program is read by the computer and the computer executes processing according to the read program, the same operation and effect as those of the display device according to the thirty-seventh aspect are obtained.
〔形態43〕 一方、上記目的を達成するために、形態43のコンピュータ読み取り可能な記憶媒体は、
形態38乃至42のいずれか1の表示プログラムを記憶したコンピュータ読み取り可能な記憶媒体である。
これによって、CD−ROMやDVD−ROM、FD、半導体チップなどのコンピュータ読み取り可能な記憶媒体を介して前記形態38乃至42のいずれか1に記載の表示プログラムをユーザなどの需用者に対して容易かつ確実に提供することができる。
[Mode 43] On the other hand, in order to achieve the above object, a computer-readable storage medium according to mode 43 is provided.
A computer-readable storage medium storing the display program according to any one of forms 38 to 42.
As a result, the display program according to any one of Embodiments 38 to 42 is transmitted to a consumer such as a user via a computer-readable storage medium such as a CD-ROM, DVD-ROM, FD, or semiconductor chip. It can be provided easily and reliably.
〔形態44〕 一方、上記目的を達成するために、形態44の表示方法は、
M(M≧3)値の画素値が2次元マトリックス状に配列された構成の画像データの各色に共通で且つ所定の閾値が前記画像データのサイズ以下で2次元マトリックス状に配列された構成の基準ディザマトリックスにおける前記各色の前記所定の閾値の選択開始位置を、それぞれ他色とは異なる位置となるように前記基準ディザマトリックスの所定行単位又は所定列単位でずらし、前記基準ディザマトリックスにおける前記各色の選択開始位置から行方向又は列方向に順番に前記所定の閾値を前記基準ディザマトリックスに対して循環的に選択し、当該選択した閾値とこれに対応する画素値あるいは当該画素値を元に算出される値との大小関係に応じてドットのオン・オフを順次判定して、前記M値の画素値から構成される画像データをN(M>N≧2)値の画素値から構成される画像データに変換し、当該変換後の画像データに基づき表示処理を行う表示方法あって、
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、当該各閾値に対応する前記各色の画素値とを用いて当該画素値に対する前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成ステップと、
前記表示データ生成ステップで生成された表示データに基づき表示処理を実行する表示ステップと、を含むことを特徴とする。
これによって、形態33の表示装置と同等の作用及び効果が得られる。
[Form 44] On the other hand, in order to achieve the above object, the display method of form 44 includes:
A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there display method performs display processing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A determination process step of sequentially performing the determination process on the pixel value using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color corresponding to the threshold value;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A display data generation step for generating display data based on the image data composed of the pixel values converted in the N-value conversion step;
A display step of executing display processing based on the display data generated in the display data generation step.
Thereby, the same operation and effect as those of the display device of the form 33 can be obtained.
〔形態45〕 更に、形態45の表示方法は、形態44の表示方法において、
前記判定処理ステップは、前記閾値読出ステップで読み出した前記閾値セットの各閾値を、前記画像データの色数と同数の、前記判定処理を行う各色毎の判定処理部における、それぞれ対応する色の判定処理部に振り分け、前記複数の判定処理部に、前記各色の画素値に対する前記判定処理を並列に実行させることを特徴とする。
これによって、形態34の表示装置と同等の作用及び効果が得られる。
[Form 45] Furthermore, the display method of form 45 is the display method of form 44.
In the determination processing step, each threshold value of the threshold set read in the threshold value reading step is equal to the number of colors of the image data, and the corresponding color determination is performed in the determination processing unit for each color performing the determination processing. It distributes to a processing unit, and causes the plurality of determination processing units to execute the determination processing on the pixel values of the respective colors in parallel.
Thereby, the same operation and effect as those of the display device in the form 34 can be obtained.
〔形態46〕 更に、形態46の表示方法は、形態45の表示方法において、
前記判定処理ステップにおける前記判定処理を、前記画像データの各色の行毎又は列毎に実行することを特徴とする。
これにより、形態35の表示装置と同等の作用及び効果が得られる。
[Form 46] Furthermore, the display method of form 46 is the same as the display method of form 45,
The determination processing in the determination processing step is performed for each row or column of each color of the image data.
Thereby, the same operation and effect as those of the display device in the form 35 are obtained.
〔形態47〕 更に、形態47の表示方法は、形態44乃至46のいずれか1の表示方法において、
前記ディザマトリックスの行数をH(Hは2以上の整数)とし、列数をW(Wは2以上の整数)とし、前記画像データの色数をC(Cは2以上の整数)として、
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする。
これにより、形態36の表示装置と同等の作用及び効果が得られる。
[Form 47] Furthermore, the display method of form 47 is the display method of any one of forms 44 to 46,
The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The shift amount of the reading start position is H / C or W / C.
Thereby, the same operation and effect as those of the display device in the form 36 are obtained.
〔形態48〕 更に、形態48の表示方法は、形態44乃至47のいずれか1の表示方法において、
前記複数の閾値セットは、連続する所定数の前記閾値セット毎に、前記アドレスの連続する記憶領域における、前記所定数の閾値セット毎に同じアドレスとなる記憶領域に記憶されていることを特徴とする。
これにより、形態37の表示装置と同等の作用及び効果が得られる。
[Form 48] Furthermore, the display method of form 48 is the display method of any one of forms 44 to 47,
The plurality of threshold sets are stored in a storage area having the same address for each of the predetermined number of threshold sets in a storage area where the addresses are continuous for each predetermined number of the threshold sets. To do.
Thereby, the same operation and effect as those of the display device in the form 37 can be obtained.
〔第1の実施の形態〕
以下、本発明の第1の実施の形態を図面に基づき説明する。図1〜図17は、本発明に係る印刷装置、印刷プログラム、印刷方法、画像処理装置、画像処理プログラム及び画像処理方法、並びに前記プログラムを記憶した記憶媒体の第1の実施の形態を示す図である。
[First Embodiment]
A first embodiment of the present invention will be described below with reference to the drawings. 1 to 17 show a printing apparatus, a printing program, a printing method, an image processing apparatus, an image processing program, an image processing method, and a storage medium storing the program according to the first embodiment of the invention. It is.
まず、本発明の第1の実施の形態に係る印刷装置の構成を図1に基づき説明する。図1は、本発明の第1の実施の形態に係る印刷装置1の構成を示すブロック図である。
印刷装置1は、図1に示すように、外部機器等からM値(M≧3)の画像データを取得する画像データ取得部10と、当該取得した画像データに対して、解像度変換、色変換及びディザ法を用いたN値化処理等の各種画像処理を施してM値の画像データをN値の画像データに変換する画像処理部11と、変換後の画像データに基づき印刷データを生成する印刷データ生成部12と、印刷データに基づき印刷処理を実行する印刷部13とを含んだ構成となっている。
First, the configuration of the printing apparatus according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a
As shown in FIG. 1, the
画像データ取得部10は、印刷装置1と接続されたパソコン(PC)やプリンタサーバなどの印刷指示装置(図示せず)から送られてくる印刷に供するM値の画像データをネットワークなどを介して取得したり、あるいは図示しないスキャナやCD−ROMドライブなどの画像(データ)読込装置などから直接読み込んで取得したりする機能を提供するようになっている。
印刷データ生成部12は、画像処理部11においてN値に変換後の画像データ(以下、N値化データと称す)に基づき、印刷部13において解釈可能な印刷用のデータ(印刷データ)を生成する機能を提供するようになっている。
The image
The print
印刷部13は、CMYKの各色に対応するノズルモジュールが形成された印字ヘッドを備え、印刷用紙などの印刷に用いる媒体(以下、印刷媒体と称す)または印字ヘッドの一方、あるいは双方を移動させながら前記印字ヘッドに形成された前記ノズルモジュールからインクをそれぞれドット状に噴射して前記印刷媒体上に多数のドットからなる所定の画像を形成するようにしたインクジェット方式のプリンタであり、前述した印字ヘッドの他に、この印字ヘッドを印刷媒体上をその幅方向に往復移動させる図示しない印字ヘッド送り機構(マルチパス型の場合)、前記印刷媒体を移動させるための図示しない紙送り機構、前記印刷データに基づいて印字ヘッドのインクの吐出を制御する図示しない印字コントローラ機構などの公知の構成要素から構成されている。
The
更に、図2に基づき、画像処理部11の詳細な構成を説明する。図2は、画像処理部11の詳細なハードウェア構成を示すブロック図である。
画像処理部11は、図2に示すように、第1メモリ100と、第2メモリ101と、アドレス生成部102と、解像度変換部103と、色変換部104と、閾値データ振分部105と、第1〜第4ディザ処理部106〜109とを含んだ構成となっている。
Further, a detailed configuration of the
As shown in FIG. 2, the
第1メモリ100は、色変換後の画像データにおける各色に共通の基準ディザマトリックスデータを記憶するメモリである。また、アドレス生成部102からのデータ読み出しコマンドに応じて指定アドレスの閾値データを読み出して閾値データ振分部105に出力する。
ここで、基準ディザマトリックスは、所定の閾値がH行×W列(H及びWは2以上の整数)の2次元マトリックス状に配列された構成をしている。
The
Here, the reference dither matrix has a configuration in which a predetermined threshold value is arranged in a two-dimensional matrix with H rows × W columns (H and W are integers of 2 or more).
また、基準ディザマトリックスを第1メモリ100に記憶するにあたって、まず、基準ディザマトリックスからの各色の画像データに対する閾値の選択開始位置を画像データの色数C(Cは、2以上の整数)に合わせて、各色の選択開始位置がそれぞれ他色と異なるように、行単位(H/C)又は列単位(W/C)でずらして設定する。次に、各色の選択開始位置からそれぞれ行方向又は列方向に順番にそれぞれ他色の選択開始位置の1つ手前の閾値まで1つずつ閾値を選択して各色1つずつの閾値の組を順に形成し、各組を1つの閾値セットとして、基準ディザマトリックスを複数の閾値セットに分ける。そして、このように複数の閾値セットに分けられた基準ディザマトリックスを、選択開始位置の閾値からなる閾値セットから前記形成した順番に、第1メモリ100のアドレスの連続する記憶領域に記憶する。
Further, when storing the reference dither matrix in the
第2メモリ101は、画像データ取得部10で取得した画像データを記憶するフレームメモリであり、X行×Y列(X及びYは、X≧H及びY≧Wの整数)の2次元マトリックス状に画素値が配列された画像データをその配列順に記憶する。また、アドレス生成部102からのデータ読み出しコマンドに応じて指定アドレスの画素データを読み出して解像度変換部103に出力する。
The
アドレス生成部102は、第1メモリ100から、後段の第1〜第4ディザ処理部106〜109で使用する閾値セットを、第1メモリ100に記憶された複数の閾値セットに対して循環的に且つ繰り返し読み出すためのアドレスを順次生成し、当該生成したアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。また、後段の第1〜第4ディザ処理部106〜109で使用する、第1メモリ100から順次読み出される閾値セットに対応する各色の画素値(画素データ)を第2メモリ101から1つずつ各色並列に順次読み出すためのアドレスを生成し、当該生成したアドレスに対するデータ読み出しコマンドを第2メモリ101に出力し、前記生成したアドレスを閾値データ振分部105に出力する。
The
解像度変換部103は、第2メモリ101から入力された画素データを、第2メモリ101に記憶された画像データの解像度が印刷解像度に応じた解像度となるように加工する。そして、加工後の画素データを色変換部104に出力する。なお、解像度を変換する必要がない場合は、加工せずにそのまま画素データを色変換部104に出力する。
色変換部104は、解像度変換部103から入力された画素データがCMYK以外の色空間のデータであるときに、入力された画素データをCMYKの色空間データへと変換する。そして、変換後の各色の画素データを、各色毎に第1〜第4ディザ処理部106〜109における各色に対応するディザ処理部へとそれぞれ別々に出力する。なお、解像度変換部103から入力された画素データがCMYKの色空間データであれば、変換処理を行わずにそのまま各色の画素データを、第1〜第4ディザ処理部106〜109における各色に対応するディザ処理部へとそれぞれ出力する。
The
When the pixel data input from the
閾値データ振分部105は、第1メモリ100から入力された閾値セットに含まれる各閾値データを、アドレス生成部102から順次取得する、閾値セットの各アドレス及び各色の画素データのアドレスに基づき、第1〜第4ディザ処理部106〜109における各色に対応するディザ処理部にそれぞれ振り分ける。
第1ディザ処理部106は、CMYKの4色のうちCy(シアン)に対応しており、Cyの画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のCyの画素データをN値のデータ(以下、N値化データと称す)に変換する。そして、このN値化データを印刷データ生成部12に出力する。更に、図3に基づき、第1ディザ処理部106の詳細な構成を説明する。ここで、図3は、第1ディザ処理部106の詳細構成を示すブロック図である。
The threshold
The first
図3に示すように、第1ディザ処理部106は、判定処理部106aと、N値化部106bとを含んだ構成となっている。
判定処理部106aは、色変換部104から入力された画素データの示す画素値(濃度値)と、閾値データ振分部105から入力された閾値データの示す閾値とを比較し、前記画素値が前記閾値以上であったときに、当該画素値に対してドットを形成すると判定し、前記画素値が前記閾値未満であったときに、当該画素値に対してドットを形成しないと判定する。そして、この判定結果を、N値化部106bに出力する。
As shown in FIG. 3, the first
The
N値化部106bは、判定処理部106aから入力された判定結果に基づき、ドットを形成すると判定されたときは、画素値を所定値に変換し、ドットを形成しないと判定されたときは「0」に変換する。
例えば、印刷部13が単一サイズのドットを形成する印字ヘッドを有している構成の場合は、M値の画素データを2値(N=2)のデータへと変換する。つまり、ドットを形成すると判定されたときはその画素値を、例えば「255」に変換し、ドットを形成しないと判定されたときはその画素値を、例えば「0」に変換する。
The N-
For example, when the
なお、印刷部13が複数サイズのドットを形成する印字ヘッドを有している構成の場合は、ドットを形成すると判定されたときは、画素値をサイズに応じた数値へと変換する。
また、入力された画素値を一度変換して、変換後のデータを閾値と比較して変換してもよい。特に、複数のドットを用いるにあたり、例えば、「特開2000−79710号公報」に記載の、ドット径や印刷解像度などの印刷条件と、特定ドットの記録率とに基づいて画素値を変換する手法を用いて処理することもできる。この場合、1画素閾値データとの比較処理に関して、本手法を用いて、ずらした位置の閾値と各サイズのドットに対応する画素の変換値とを比較することもできる。
In the case where the
Alternatively, the input pixel value may be converted once, and the converted data may be compared with a threshold value for conversion. In particular, when using a plurality of dots, for example, a method of converting pixel values based on printing conditions such as a dot diameter and a printing resolution and a recording rate of specific dots described in “JP 2000-79710 A” Can also be processed. In this case, regarding the comparison processing with the one-pixel threshold value data, it is possible to compare the threshold value at the shifted position and the converted value of the pixel corresponding to each size dot by using this method.
第2ディザ処理部107は、CMYKの4色のうちMg(マゼンタ)に対応しており、Mgの画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のMgの画素データをN値化データに変換する。なお、詳細な構成は、扱うデータがMgの画素データとこれに対応する閾値データとに変わるだけで、上記第1ディザ処理部106と同様となるので説明を省く。
The second
第3ディザ処理部108は、CMYKの4色のうちYe(イエロー)に対応しており、Yeの画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のYeの画素データをN値化データに変換する。なお、詳細な構成は、扱うデータがYeの画素データとこれに対応する閾値データとに変わるだけで、上記第1ディザ処理部106と同様となるので説明を省く。
The third
第4ディザ処理部109は、CMYKの4色のうちBk(ブラック)に対応しており、Bkの画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のBkの画素データをN値化データに変換する。なお、詳細な構成は、扱うデータがBkの画素データとこれに対応する閾値データとに変わるだけで、上記第1ディザ処理部106と同様となるので説明を省く。
The fourth
ここで、印刷装置1は、印刷のための各種制御、画像処理部11の各種制御、前記画像データ取得部10、印刷データ生成部12、印刷部13などをソフトウェア上で実現するためのコンピュータシステムを備えており、そのハードウェア構成は、図4に示すように、各種制御や演算処理を担う中央演算処理装置であるCPU(Central Processing Unit)60と、主記憶装置(Main Storage)を構成するRAM(Random Access Memory)62と、読み出し専用の記憶装置であるROM(Read Only Memory)64との間をPCI(Peripheral Component Interconnect)バスやISA(Industrial Standard Architecture)バス等からなる各種内外バス68で接続すると共に、このバス68に入出力インターフェース(I/F)66を介して、HDD(Hard Disk Drive)などの外部記憶装置(Secondary Storage)70や、印刷部13やCRT、LCDモニター等の出力装置72、操作パネルやマウス、キーボード、スキャナなどの入力装置74、および図示しない印刷指示装置などと通信するためのネットワークLなどを接続したものである。
Here, the
そして、電源を投入すると、ROM64等に記憶されたBIOS等のシステムプログラムが、ROM64に予め記憶された各種専用のコンピュータプログラム、あるいは、CD−ROMやDVD−ROM、フレキシブルディスク(FD)などの記憶媒体を介して、またはインターネットなどの通信ネットワークLを介して記憶装置70にインストールされた各種専用のコンピュータプログラムを同じくRAM62にロードし、そのRAM62にロードされたプログラムに記述された命令に従ってCPU60が各種リソースを駆使して所定の制御および演算処理を行うことで前述したような各部の各機能を実現できるようになっている。
When the power is turned on, a system program such as BIOS stored in the
更に、図5に基づき、印刷装置1の印刷処理の流れを説明する。ここで、図5は、印刷装置1における印刷処理を示すフローチャートである。
印刷処理は、図1に示すように、まずステップS100に移行し、画像データ取得部10において、ネットワークケーブルLを介して接続された外部装置からの印刷指示情報が送られてくることにより、あるいは入力装置74を介して印刷指示情報が入力されたことにより、印刷指示があったか否かを判定し、印刷指示があったと判定された場合(Yes)はステップS102に移行し、そうでない場合(No)は印刷指示があるまで判定処理を繰り返す。
Furthermore, the flow of the printing process of the
As shown in FIG. 1, the printing process first proceeds to step S100, and the image
ステップS102に移行した場合は、画像データ取得部10において、印刷指示に対応する画像データを、上記したように、外部装置、CD−ROM、DVD−ROM等の記録媒体、HDD等の記憶装置70などから取得してステップS104に移行する。
ステップS104では、画像データ取得部10において、ステップS102で取得した画像データを画像処理部11の第2メモリ101に記憶してステップS106に移行する。
When the process proceeds to step S102, the image
In step S104, the image
ステップS106では、CPU60において、画像処理部11に対して画像処理の実行コマンドを送信して、画像処理部11に画像処理を実行させてステップS108に移行する。
ステップS108では、印刷データ生成部12において、画像処理部11からN値化データを取得したか否かを判定し、取得したと判定された場合(Yes)は、ステップS110に移行し、そうでない場合(No)は、取得するまで判定処理を繰り返す。
In step S106, the
In step S108, the print
ステップS110に移行した場合は、印刷データ生成部12において、ステップS108で取得したN値化データに基づき、印刷データを生成してステップS112に移行する。
ステップS112では、印刷データ生成部12において、ステップS102で取得した画像データに対する印刷データが完成したか否かを判定し、完成したと判定された場合(Yes)は、ステップS114に移行し、そうでない場合(No)は、ステップS108に移行する。
When the process proceeds to step S110, the print
In step S112, the print
ステップS114に移行した場合は、印刷データ生成部12において、上記完成した印刷データを印刷部13に出力してステップS116に移行する。
ステップS116では、印刷部13において、印刷データ生成部12から入力された印刷データに基づき、印刷処理を実行して処理を終了する。
When the process proceeds to step S114, the print
In step S116, the
次に、図6〜図16に基づき、本実施の形態の動作を説明する。
ここで、図6(a)は、基準ディザマトリックス(8行×8列)の閾値データ配列の一例を示す図であり、(b)は、Cy(シアン)、(c)はMg(マゼンタ)、(d)はYe(イエロー)、(e)はBk(ブラック)に対する、選択開始位置を2行単位でずらした場合の閾値データ配列例を示す図である。また、図7は、第1メモリ100における基準ディザマトリックスデータの記憶構成を示す図である。また、図8(a)は、画素データの選択方法の一例を示す図であり、(b)は、ディザマトリックスの適用方法の一例を示す図である。また、図9(a)及び(b)は、第1メモリ100からの基準ディザマトリックスデータの読み出し方法の一例を示す図である。
Next, the operation of the present embodiment will be described with reference to FIGS.
Here, FIG. 6A is a diagram showing an example of the threshold data array of the reference dither matrix (8 rows × 8 columns), (b) is Cy (cyan), and (c) is Mg (magenta). , (D) is a diagram showing an example of threshold data arrangement when the selection start position is shifted in units of two rows for Ye (yellow) and (e) for Bk (black). FIG. 7 is a diagram showing a storage configuration of reference dither matrix data in the
ここで、画像処理部11の第1〜第4ディザ処理部106〜109で用いるディザマトリックスについて説明する。ここでは、図6(a)に示す8行×8列(H=8、W=8)の基準ディザマトリックスを用いるとする。また、画像データの色数はCMYKの4色として説明する。
まず、CMYKの各色の選択開始位置を、各色の開始位置が他色の開始位置と異なるように決める。ここでは、図6(a)に示す基準ディザマトリックスにおいて、各色の開始位置に対して、H/C(8/4=2)行ずつ開始位置がずれるように決定する。
Here, the dither matrix used in the first to fourth
First, the selection start position of each color of CMYK is determined so that the start position of each color is different from the start position of the other colors. Here, in the reference dither matrix shown in FIG. 6A, it is determined so that the start position is shifted by H / C (8/4 = 2) rows with respect to the start position of each color.
まず、Cyに対する選択開始位置の閾値を、図6(a)に示す基準ディザマトリックスにおけるa11とする。次に、Mgに対する開始位置を、a11から2行ずれた位置にあるa31とする。同様に、Yeに対する開始位置を、a31から2行ずれた位置にあるa51とし、Bkに対する開始位置を、a51から2行ずれた位置にあるa71とする。
ここで、基準マトリックスの配置を2行単位でずらして各色のディザマトリックスを構成する場合は、Cy、Mg、Ye、Bkの各色のディザマトリックスは、それぞれ図6(b)〜図6(e)に示す構成となる。
First, the threshold of the selection start position for Cy is set to a11 in the reference dither matrix shown in FIG. Next, the starting position for Mg is a31 at a position shifted by two rows from a11. Similarly, the start position for Ye is a51 at a position shifted by two lines from a31, and the start position for Bk is a71 at a position shifted by two lines from a51.
Here, when the dither matrix of each color is configured by shifting the arrangement of the reference matrix in units of two rows, the dither matrix of each color of Cy, Mg, Ye, and Bk is shown in FIGS. 6B to 6E, respectively. It becomes the structure shown in.
例えば、Mgの場合は、図6(c)に示すように、その1行目から6行目が、基準ディザマトリックスの3行目から8行目となり、その7行目から8行目が基準ディザマトリックスの1行目から2行目となる。つまり、選択開始位置が基準ディザマトリックスの途中の行にあるときは、その途中の行を開始行としてそこから8行目(最終行)までの配列内容と、1行目から前記途中の行の1つ前の行までの配列内容とでディザマトリックスが構成される。同様に、Yeに対するディザマトリックスは、図6(d)に示す構成となり、Bkに対するディザマトリックスは、図6(e)に示す構成となる。本発明においては、これら図6(c)〜(e)のディザマトリックスをそれぞれ作成して各色に対応する4つのディザマトリックスをメモリに記憶するのではなく、メモリには基準マトリックス1つだけを記憶する。つまり、基準マトリックスにおける上記決定した選択開始位置から閾値を行方向に順番に、且つ基準ディザマトリックスに対して循環的に選択することで、図6(c)〜(e)の各配列順と同じ順番で閾値データを読み出す。 For example, in the case of Mg, as shown in FIG. 6C, the first to sixth lines are the third to eighth lines of the reference dither matrix, and the seventh to eighth lines are the reference lines. From the first line to the second line of the dither matrix. That is, when the selection start position is in the middle row of the reference dither matrix, the middle row is the start row, and the array contents from the first row to the eighth row (the last row), and the middle row from the first row to the middle row. A dither matrix is composed of the array contents up to the previous row. Similarly, the dither matrix for Ye has the configuration shown in FIG. 6D, and the dither matrix for Bk has the configuration shown in FIG. In the present invention, the dither matrix shown in FIGS. 6C to 6E is not created and four dither matrices corresponding to the respective colors are stored in the memory, but only one reference matrix is stored in the memory. To do. That is, by selecting the threshold values in the row direction in order from the determined selection start position in the reference matrix and cyclically with respect to the reference dither matrix, the same arrangement order as in FIGS. 6C to 6E is obtained. Read threshold data in order.
各色の選択開始位置が決まったら、基準ディザマトリックスを第1メモリ100に記憶する。但し、本発明においては、基準マトリックスをその配列順に単純にメモリに記憶するのではなく、上述したように、基準ディザマトリックスを第1メモリ100に記憶するにあたり、まず基準ディザマトリックスを複数の閾値セットに分ける。
When the selection start position for each color is determined, the reference dither matrix is stored in the
具体的に、基準ディザマトリックスにおける、各色の選択開始位置であるa11、a31、a51及びa71からそれぞれ行方向に順番に1つずつ閾値を選択し、各色1つずつの計4つの閾値の組を1つの閾値セットとして複数の閾値セットを形成する。まず、各色の選択開始位置の閾値の組(a11,a31,a51,a71)が、1つ目の閾値セットとなる。このように、各色の選択開始位置から行方向に順番に1つずつ閾値を選択して閾値セットを形成する処理を、各色の選択開始位置からそれぞれ他色の選択開始位置の1つ手前まで行う。つまり、Cyの開始位置を含むa11〜a28まで、Mgの開始位置を含むa31〜a48まで、Yeの開始位置を含むa51〜a68まで、Bkの開始位置を含むa71〜a88までそれぞれ並列に行う。これにより、基準ディザマトリックスを、(a11,a31,a51,a71)、(a12,a32,a52,a72)、(a13,a33,a53,a73)、・・・、(a27,a47,a67,a87)、(a28,a48,a68,a88)の16個の閾値セットに分けることができる。 Specifically, in the reference dither matrix, thresholds are selected one by one in the row direction from a11, a31, a51, and a71 which are the selection start positions of the respective colors, and a total of four threshold sets for each color are obtained. A plurality of threshold sets are formed as one threshold set. First, a set of threshold values (a11, a31, a51, a71) at the selection start position of each color is the first threshold set. In this way, the process of selecting the threshold value one by one in the row direction from the selection start position of each color and forming the threshold set is performed from the selection start position of each color to the position immediately before the selection start position of the other color. . That is, a11 to a28 including the Cy start position, a31 to a48 including the Mg start position, a51 to a68 including the Ye start position, and a71 to a88 including the Bk start position are performed in parallel. As a result, the reference dither matrix is changed to (a11, a31, a51, a71), (a12, a32, a52, a72), (a13, a33, a53, a73), ..., (a27, a47, a67, a87). ), (A28, a48, a68, a88) can be divided into 16 threshold sets.
このように、16個の閾値セットに分けられた基準ディザマトリックスを、図7に示すように、第1メモリ100のアドレスの連続する記憶領域(図7中のアドレス0000h〜4000hの連続する記憶領域)に閾値セットの形成順に、つまり、(a11,a31,a51,a71)、(a12,a32,a52,a72)、(a13,a33,a53,a73)、・・・、(a27,a47,a67,a87)、(a28,a48,a68,a88)の順に記憶する。図7の例では、各閾値が8ビット(FFh)で、各閾値セットが8×4=32ビット(3FFh)のサイズとしている。閾値セットは16個あるので、32×16=512ビットとなり、32ビットの記憶領域毎に16個のアドレスが設定されている。つまり、各閾値セットに1つずつアドレスが設定されることになる。
As shown in FIG. 7, the reference dither matrix divided into the 16 threshold sets is stored in the storage area where the addresses of the
以下、図7に示す構成で基準ディザマトリックスが第1メモリ100に記憶されているとして、印刷装置1の印刷処理の動作を説明する。
まず、印刷装置1は、画像データ取得部10において、外部装置等から印刷指示情報を受信すると(ステップS100)、当該印刷指示情報に対応するM値の画像データを、印刷指示情報の送信元である外部装置等から取得し(ステップS102)、当該取得した画像データを画像処理部11の第2メモリ101に記憶する(ステップS104)。印刷装置1は、第2メモリ101に画像データを記憶すると、次に、画像処理部11に対して、画像処理の開始コマンドを送信して画像処理を実行させる(ステップS106)。なお、画像処理部11が、第2メモリ101に画像データが記憶されたことを検知してコマンドを受けずに画像処理を実行する構成としても良い。
Hereinafter, it is assumed that the reference dither matrix is stored in the
First, when the
画像処理が実行されると、アドレス生成部102は、画像データの各色の画素データをそれぞれ共通の開始位置から1つずつ各色並列に読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第2メモリ101に出力すると共に、前記生成したアドレスを閾値データ振分部105に出力する。
When the image processing is executed, the
ここでは、画像データ取得部10で取得した画像データは、RGBの色空間のデータであるとする。従って、RGBの各色の画像データに共通の開始位置から順番にディザマトリックスのサイズ及び閾値データの読み出し方法に合わせて画素データを選択していくことになる。ここでは、図8(a)に示すように、最初は、各色共に画像の左上の画素P11の画素データを開始位置とする。なお、この各色共通の開始位置と、ディザマトリックスの各色の開始位置とを対応させるようにする。上記したようにディザマトリックスのサイズは8行×8列であるので、アドレス生成部102は、各色並列に、図8(a)中の(1)〜(64)の順番で1つずつ画素データが読み出されるようにアドレスを生成する。つまり、各行においては左から右に向かって順番に選択し、各行の最後の画素データ(ディザマトリックスのサイズによって変わる)に到達した場合は1つ下の行に移動して同様に左から右に向かって順番に選択する。これにより、1回の読み出しにおいて、RGBの3色の画素データがそれぞれ1つずつ、計3つ並列に読み出されることになる。そして、各色の画素P88の画素データが読み出されると、次に、ディザマトリックスのシフト方向に合わせて、画素データの選択開始位置を変更する。ここでは、図8(b)に示すように、ディザマトリックスに対応する64個の画素データに対する閾値データの読み出しが終了すると、ディザマトリックス全体をそのサイズ分、右にシフトする。このように、読み出しが終了するごとに右にシフトし、画像の右端まで到達したら、次に、ディザマトリックス全体をそのサイズ分、下方向にシフトすると共に画像の左端から開始されるように移動する。従って、図8(a)に示すように、画素P88の画素データが読み出されると、次に画素P19の画素データを各色共通の開始位置(1)として同様に、各色並列に64個の画素データが1つずつ順番に読み出されるようにアドレスを生成する。
Here, it is assumed that the image data acquired by the image
このようにして、第2メモリ101からは、RGBの各色1つずつの3つの画素データが順次読み出され、解像度変換部103に出力される。
また、アドレス生成部102は、上記画素データの読み出し処理と並列して、アドレス0000h〜4000hの記憶領域に記憶された閾値セットを読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。
In this way, three pixel data for each of the RGB colors are sequentially read from the
The
具体的には、図9(a)に示すように、アドレス0000h〜4000hの記憶領域に記憶された各閾値セットをこのアドレス順に1つずつ順番に読み出すためのアドレスを生成して、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。これにより、第1メモリ100からは、アドレス順に閾値セットが1つずつ順番に読み出され、閾値データ振分部105へと出力される。
Specifically, as shown in FIG. 9A, an address for sequentially reading out each threshold set stored in the storage area of
また、図7に示すように、アドレス0000h〜4000hの記憶領域に、各アドレス毎に1つずつ閾値セットが連続して記憶されている。つまり、アドレス値の増加分が32ビット均一となるので、この増加分を開始アドレス(0000h)にインクリメントしていくだけで簡易にアドレスを生成できる。従って、バースト転送が可能となるので、第1メモリ100から高速に閾値セットを読み出して閾値データ振分部105へと出力させることが可能である。
In addition, as shown in FIG. 7, one threshold set is continuously stored for each address in the storage area of
また、アドレス生成部102は、アドレス4000hの閾値セット(a28,a48,a68,a88)が読み出されると、これに続けてアドレス0000h〜4000hの記憶領域に記憶された閾値セットを読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。つまり、アドレス生成部102は、0000h〜4000h→0000h〜4000h→0000h〜4000h→・・・といったように、処理対象の画像データに対するディザマトリックスを用いた画像処理が完了するまで、アドレス0000h〜4000hに対して循環的に、且つ当該アドレスの順に繰り返し閾値セットが読み出されるようにアドレスを生成する。
In addition, when the threshold set (a28, a48, a68, a88) of the
一方、解像度変換部103は、第2メモリ101から画素データが入力されると、印刷解像度に対する画素数の過不足に応じて、画素数を減らしたり、または増加させたりする。ここでは、過不足が無いとして、RGBの画素データを、そのまま色変換部104に出力する。
色変換部104は、解像度変換部103からRGBの画素データが入力されると、これをCMYKの画素データへと変換する。そして、変換後のCMYK各色の4つの画素データを、第1〜第4ディザ処理部106〜109における、各色に対応するディザ処理部へとそれぞれ別々に出力する。
On the other hand, when the pixel data is input from the
When the RGB pixel data is input from the
一方、閾値データ振分部105は、第1メモリ100から読み出された閾値セットに含まれる各閾値データを、基準ディザマトリックスのサイズや、対応する色数、選択開始位置のずらし量等から決定される法則に基づき、第1〜第4ディザ処理部106〜109における、各色に対応するディザ処理部へとそれぞれ別々に出力する。
On the other hand, the threshold
具体的には、図9(a)に示す順番でアドレス0000h〜4000hの記憶領域から読み出される閾値セットは、その1回目の読み出しにおいて、図9(b)に示すように、例えば、アドレス0000hの閾値セット(a11,a31,a51,a71)であれば、閾値データa11をCy用の第1ディザ処理部106に、閾値データa31をMg用の第2ディザ処理部107に、閾値データa51をYe用の第3ディザ処理部108に、閾値データa71をBk用の第4ディザ処理部109にそれぞれ振り分ける。つまり、1回目に読み出される16個の閾値セット(a11,a31,a51,a71)、(a12,a32,a52,a72)、(a13,a33,a53,a73)、・・・、(a27,a47,a67,a87)、(a28,a48,a68,a88)に対しては、各色の選択開始位置から始まる閾値セットとなるので、(Cy,Mg,Ye,Bk)の位置関係で、各色のディザ処理部へと対応する閾値データを振り分ける。
Specifically, the threshold set read from the storage area at
一方、第1ディザ処理部106は、判定処理部106aにおいて、閾値データ振分部105から閾値データが入力され、色変換部104からCyの画素データが入力されると、これら入力された閾値データと画素データとを比較し、画素データの示す画素値が閾値データの示す閾値以上のときは、当該画素データに対してドットを形成すると判定し、閾値未満のときはドットを形成しないと判定する。次に、N値化部106bにおいて、判定処理部106aの判定結果から、ドットを形成すると判定されたときは画素値を印字ヘッドの形成するドットサイズに対応する値へと変換したN値化データを生成する。具体的に、印字ヘッドが1種類のサイズのドットしか形成できないときは、そのドットサイズに対応する値か、ドットを形成することを示す「1」などの値に画素値を変換してN値化データを生成する。一方、ドットを形成しないと判定されたときは画素値を「0」に変換したN値化データを生成する。そして、生成したN値化データを、印刷データ生成部12に出力する。
On the other hand, when the first
第2〜第4ディザ処理部107〜109も、第1のディザ処理部106と同様に、閾値データ振分部105から入力された各閾値データと、色変換部104から入力された各色の画素データとに基づき、判定処理部106a〜109aにおいて、入力された各画素データに対して、ドットを形成するか否かを判定し、当該判定結果に基づきN値化データを生成する。そして、生成したN値化データを、それぞれ印刷データ生成部12に出力する。
Similarly to the first
なお、第1〜第4ディザ処理部106〜109は並列に動作し、略同時にN値化データを生成し印刷データ生成部12に出力する。
このような処理を、1回目に読み出された、アドレス0000hから4000hまでの記憶領域に記憶された閾値セットに対して行うことで、ディザマトリックスのサイズに対応する8行×8列の画像データにおける各色2行目までの画素データに対してN値化データを生成することができる。
Note that the first to fourth
By performing such processing on the threshold value set stored in the storage area from
上記1回目の読み出しに引き続き2回目の読み出しによって、アドレス0000h〜4000hの記憶領域からこのアドレス順に閾値セットが読み出されると、図9(b)に示すように、例えば、アドレス0000hの閾値セット(a11,a31,a51,a71)であれば、今度は、閾値データa11をBk用の第4ディザ処理部109に、閾値データa31をCy用の第1ディザ処理部106に、閾値データa51をMg用の第2ディザ処理部107に、閾値データa71をYe用の第3ディザ処理部108にそれぞれ振り分ける。上述したように、各色のディザマトリックスは、基準ディザマトリックスにおける各色の選択開始位置を他色に対して2行単位でずらした構成となるので、図6(b)〜(e)に示すように、各色のディザマトリックスの3行目以降において、それぞれ他色の選択開始位置から始まる閾値データが対応するようになる。つまり、ディザマトリックスの3行目及び4行目に対しては、上記16個の閾値セットに対して、(Bk,Cy,Mg,Ye)の位置関係が成立するので、各色のディザ処理部へと対応する閾値データを振り分けることで、ディザマトリックスのサイズに対応する8行×8列の画像データにおける各色4行目までの画素データに対して、第1〜第4ディザ処理部106〜109においてN値化データを生成することができる。
When the threshold set is read in this address order from the storage area of
上記2回目の読み出しに引き続き3回目の読み出しによって、アドレス0000h〜4000hの記憶領域からこのアドレス順に閾値セットが読み出されると、図9(b)に示すように、例えば、アドレス0000hの閾値セット(a11,a31,a51,a71)であれば、今度は、閾値データa11をYe用の第3ディザ処理部108に、閾値データa31をBk用の第4ディザ処理部109に、閾値データa51をCy用の第1ディザ処理部106に、閾値データa71をMg用の第2ディザ処理部107にそれぞれ振り分ける。つまり、ディザマトリックスの5行目及び6行目に対しては、上記16個の閾値セットに対して、図6(b)〜(e)に示すように、(Ye,Bk,Cy,Mg)の位置関係が成立するので、各色のディザ処理部へと対応する閾値データを振り分けることで、ディザマトリックスのサイズに対応する8行×8列の画像データにおける各色6行目までの画素データに対して、第1〜第4ディザ処理部106〜109においてN値化データを生成することができる。
When the threshold set is read out in the order of this address from the storage area of the
そして、上記3回目の読み出しに引き続き4回目の読み出しによって、アドレス0000h〜4000hの記憶領域からこのアドレス順に閾値セットが読み出されると、図9(b)に示すように、例えば、アドレス0000hの閾値セット(a11,a31,a51,a71)であれば、今度は、閾値データa11をMg用の第2ディザ処理部107に、閾値データa31をYe用の第3ディザ処理部108に、閾値データa51をBk用の第4ディザ処理部109に、閾値データa71をCy用の第1ディザ処理部106にそれぞれ振り分ける。つまり、ディザマトリックスの7行目及び8行目に対しては、上記16個の閾値セットに対して、図6(b)〜(e)に示すように、(Mg,Ye,Bk,Cy)の位置関係が成立するので、各色のディザ処理部へと対応する閾値データを振り分けることで、ディザマトリックスのサイズに対応する8行×8列の画像データにおける各色8行目までの画素データに対して、第1〜第4ディザ処理部106〜109においてN値化データを生成することができる。つまり、アドレス0000h〜4000hの記憶領域からこのアドレス順に閾値セットを4回読み出すことで、CMYK4色の画像データにおける8行×8列の範囲に対するN値化データを生成することができる。
Then, when the threshold value set is read out from the storage area of the
上述した一連の処理を、各色のディザマトリックスが図8(b)に示すようなシフトをするように繰り返し行い、画像データの全ての画素データをN値化データに変換する。
一方、印刷データ生成部12は、画像処理部11からN値化データが入力されると、当該N値化データに基づき印刷データを生成する(ステップS110)。そして、取得した画像データ分の印刷データを生成すると(ステップS112の「Yes」の分岐)、この印刷データを印刷部13に出力する(ステップS114)。
The series of processes described above are repeated so that the dither matrix for each color shifts as shown in FIG.
On the other hand, when the N-value data is input from the
印刷部13は、印刷データ生成部12から印刷データが入力されると、この印刷データに基づき印刷処理を実行する(ステップS116)。これにより、画像データの画像が所定の印刷媒体に印刷された印刷物が印刷部13より出力される。
更に、本実施の形態においては、第1メモリ100への閾値セットの記憶構成を、図7に示す構成以外の構成とすることが可能である。ここで、図10(a)及び(b)は、第1メモリ100への閾値セットの他の記憶構成の一例を示す図である。
When the print data is input from the print
Furthermore, in the present embodiment, the storage configuration of the threshold set in the
図10(a)に示す例は、第1メモリ100のアドレスが16ビット(0200h)毎に設定されている例で、このような値を有する連続するアドレスに対して、閾値セットに含まれる4つの閾値データを2つに分けて、各2つの閾値データをそれぞれ1つのアドレスの記憶領域に記憶する。つまり、1つの閾値セットを2つのアドレスに分けて記憶する構成となる。この場合は、例えば、1つの閾値セットが、アドレス0000h及び0200hの2つのアドレスに分かれて記憶されるので、アドレス生成部102は、アドレス0000h〜4000hの記憶領域に記憶された閾値セットを、開始アドレス(0000h)に対して16ビット(0200h)ずつインクリメントしたアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。
The example shown in FIG. 10A is an example in which the address of the
一方、閾値データ振分部105は、例えば、閾値セット1つ分の閾値データが入力されるまで、先に入力された閾値データを保持し、2アドレス分の閾値データが入力されてから振分処理を実行する。
また、図10(b)に示す例の場合は、第1メモリ100のアドレスが8ビット(0100h)毎に設定されている例で、このような値を有する連続するアドレスに対して、閾値セットに含まれる4つの閾値データを、それぞれ1つずつ順番に連続する4つのアドレスの記憶領域に記憶する。この場合は、例えば、1つの閾値セットが、アドレス0000h、0100h、0200h、0300hの4つのアドレスに分かれて記憶されるので、アドレス生成部102は、アドレス0000h〜4000hの記憶領域に記憶された閾値セットを、開始アドレス(0000h)に対して8ビット(0100h)ずつインクリメントしたアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。
On the other hand, the threshold
In the case of the example shown in FIG. 10B, the address of the
一方、閾値データ振分部105は、例えば、閾値セット1つ分の閾値データが入力されるまで、先に入力された閾値データを保持し、4アドレス分の閾値データが入力されてから振分処理を実行する。
更に、本実施の形態においては、基準ディザマトリックスのサイズに依存せずに処理を行うことが可能である。
On the other hand, the threshold
Furthermore, in the present embodiment, processing can be performed without depending on the size of the reference dither matrix.
ここで、図11(a)は、16行×12列の基準ディザマトリックスの配列例を示す図であり、(b)は、(a)の基準ディザマトリックスに対する閾値セットの記憶構成の一例を示す図である。
これまでは、8行×8列のディザマトリックスを例に説明してきたが、このサイズに限らず、例えば、図11(a)に示すように、16行×12列へとディザマトリックスを拡大しても8行×8列のときと同様に処理を行うことができる。この場合も、8行×8列のときと同様に、CMYKの4色に対して、「H/C=16/4=4」と、まず選択開始位置のずらし量を求め、基準ディザマトリックスにおける各色に対する閾値の選択開始位置を、Cy:a11、Mg:a51、Ye:a91、Bk:aD1と決定する。そして、この開始位置に基づき、図11(b)に示すように、基準ディザマトリックスを192個の閾値セットに分けて、第1メモリ100のアドレスの連続する記憶領域(00000h〜30000hの領域)に順番に記憶する。この場合は、192個の閾値セットの1回目の読み出しにおいて、各色の画像データの対応する16行×12列の領域における4列目までの画素データに対してN値化データを生成することになる。そして、4回目の読み出しにおいて、画像データにおける前記16行×12列の領域における全ての画素データに対するN値化データの生成が完了する。なお、8行×8列からそれ以上のサイズへと拡大するに限らず、色数以上の行数及び列数があれば、4行×4列などにサイズを縮小しても同様に処理を行うことができる。
更に、本実施の形態においては、CMYKなどのように4色の色空間のデータに限らず、他の色数の色空間のデータに対しても上記同様に処理を行うことが可能である。
Here, FIG. 11A is a diagram showing an example of the arrangement of the reference dither matrix of 16 rows × 12 columns, and FIG. 11B shows an example of the storage configuration of the threshold set for the reference dither matrix of FIG. FIG.
So far, the dither matrix of 8 rows x 8 columns has been described as an example. However, the dither matrix is not limited to this size. For example, the dither matrix is expanded to 16 rows x 12 columns as shown in FIG. Even in the case of 8 rows × 8 columns, processing can be performed. Also in this case, as in the case of 8 rows × 8 columns, “H / C = 16/4 = 4” for four colors of CMYK, first, the shift amount of the selection start position is obtained, and the reference dither matrix The threshold selection start position for each color is determined as Cy: a11, Mg: a51, Ye: a91, Bk: aD1. Then, based on this start position, as shown in FIG. 11B, the reference dither matrix is divided into 192 threshold sets and stored in the storage area (the area from 00000h to 30000h) where the addresses of the
Further, in the present embodiment, the same processing as described above can be performed not only on data in four color spaces such as CMYK but also on data in color spaces of other colors.
ここで、図12(a)は、基準ディザマトリックス(8行×8列)の一例を示す図であり、(b)及び(c)は、4行単位で開始位置をずらした2色の場合のディザマトリックスの構成例を示す図であり、(d)は、(a)の基準ディザマトリックスに対する閾値セットの記憶構成及び読み出し方法の一例を示す図である。 Here, FIG. 12A is a diagram illustrating an example of a reference dither matrix (8 rows × 8 columns), and FIGS. 12B and 12C are two colors in which start positions are shifted in units of 4 rows. (D) is a figure which shows an example of the storage structure of the threshold set with respect to the reference | standard dither matrix of (a), and an example of the read-out method.
例えば、図12(a)に示す、8行×8列の基準ディザマトリックスに対して、「H/C=8/2=4」と、まず選択開始位置のずらし量を求め、基準ディザマトリックスにおける各色に対する閾値の選択開始位置を、2色の色をそれぞれC1、C2として、C1:a11、C2:a51と決定する。この場合は、C1に対して、図12(b)に示すような配列内容のディザマトリックスを構成し、C2に対して、図12(c)に示すようなディザマトリックスを構成することになる。次に、図12(a)に示す基準ディザマトリックスを、複数の閾値セットに分ける。ここでは、色数が2色となるので、各色の選択開始位置であるa11、a51からそれぞれ行方向に順番に1つずつ閾値を選択し、各色1つずつの計2つの閾値の組を1つの閾値セットとして32個の閾値セットを形成する。そして、この形成した32個の閾値セットを第1メモリ100のアドレスの連続する記憶領域に記憶する。図12(d)に示すように、第1メモリ100のアドレスを16ビット(01FFh)毎に設定し、32個の閾値セットにおける各閾値セットを選択開始位置の閾値セットから順番に、0000h〜4000hのアドレスの連続する記憶領域に、各アドレスに対して1つずつ記憶する。
For example, with respect to the reference dither matrix of 8 rows × 8 columns shown in FIG. 12A, “H / C = 8/2 = 4” and first, the shift amount of the selection start position is obtained, and the reference dither matrix The threshold selection start position for each color is determined as C1: a11 and C2: a51, where the two colors are C1 and C2, respectively. In this case, a dither matrix having an array content as shown in FIG. 12B is formed for C1, and a dither matrix as shown in FIG. 12C is formed for C2. Next, the reference dither matrix shown in FIG. 12A is divided into a plurality of threshold sets. Here, since the number of colors is two, one threshold is selected in order in the row direction from each of the selection start positions a11 and a51 of each color, and a total of two threshold values for each color is set to one. Thirty-two threshold sets are formed as one threshold set. Then, the 32 threshold sets thus formed are stored in the storage area where the addresses of the
この場合は、32個の閾値セットの1回目の読み出しによって、例えばC1及びC2に対してそれぞれ第1及び第2ディザ処理部106及び107を用いて処理を行い、画像データにおけるディザマトリックスに対応する8行×8列の領域の4列目までの画素データに対してN値化データを生成することができる。このとき、読み出した閾値セットに対しては、(C1,C2)の位置関係が成立するので、閾値データ振分部105は、この位置関係に基づいて対応するディザ処理部に閾値データを振り分ける。引き続き2回目の読み出しによって、8行×8列の領域の残り半分(5〜8列)の画素データに対するN値化データを生成することができる。これにより、1回目と合わせて8行×8列の前記領域の全ての画素データに対するN値化データの生成が完了する。なお、2回目に読み出した閾値セットに対しては、(C2,C1)の位置関係が成立する。
In this case, by the first reading of the 32 threshold sets, for example, C1 and C2 are processed using the first and second
また、本実施の形態においては、上記2色(C1、C2)の色空間に対して、図7に示す記憶構成のCMYKの4色に対応する閾値セットを用いて、N値化データの生成処理を行うことも可能である。ここで、図13(a)は、基準ディザマトリックスの一例を示す図であり、(b)及び(c)は、2色の場合のディザマトリックスの構成例を示す図であり、(d)は、(a)の基準ディザマトリックスに対する閾値セットの読み出し方法及び各閾値データの振分方法の一例を示す図である。 Further, in the present embodiment, N-valued data is generated using threshold sets corresponding to the four colors of CMYK in the storage configuration shown in FIG. 7 for the color space of the two colors (C1, C2). It is also possible to perform processing. Here, FIG. 13A is a diagram illustrating an example of a reference dither matrix, FIGS. 13B and 13C are diagrams illustrating a configuration example of a dither matrix in the case of two colors, and FIG. 6A is a diagram illustrating an example of a threshold set reading method for each reference dither matrix in FIG.
図7に示すCMYKの4色に対応する閾値セットを利用する場合は、図13(a)に示す基準ディザマトリックスにおける、Cyに対応する選択開始位置をC1の選択開始位置とし、Mgに対応する選択開始位置をC2の選択開始位置とする。そうすると、C1に対して、図13(b)に示すような配列内容のディザマトリックスを構成し、C2に対して、図13(c)に示すようなディザマトリックスを構成することになる。 When the threshold set corresponding to the four colors of CMYK shown in FIG. 7 is used, the selection start position corresponding to Cy in the reference dither matrix shown in FIG. Let the selection start position be the selection start position of C2. Then, a dither matrix having an array content as shown in FIG. 13B is formed for C1, and a dither matrix as shown in FIG. 13C is formed for C2.
そして、例えばC1及びC2に対してそれぞれ第1及び第2ディザ処理部106及び107を用いて処理を行うとすると、第1メモリ100からの閾値セットの読み出し方(読み出し順番、読み出し回数など)は、上記図9(b)を用いて説明したものと同様となるが、閾値データ振分部105において、閾値セットに含まれる4つの閾値データのうち2つを、それぞれ対応するディザ処理部に振り分ける必要がある。つまり、図13(d)に示すように、1回目の読み出しにおいては、このとき読み出された16個の閾値データに対して、(C1,C2,−,−)の位置関係が成立する。ここで、「−」はその位置の閾値データを第1及び第2ディザ処理部106及び107において使用しないことを示す。同様に、2回目の読み出しにおいては、(−,C1,C2,−)の位置関係が成立し、3回目の読み出しにおいては、(−,−,C1,C2)の位置関係が成立し、4回目の読み出しにおいては、(C2,−,−,C1)の位置関係が成立する。つまり、16個の閾値セットを繰り返し4回読み出し、図13(d)に示す位置関係に従って、第1及び第2ディザ処理部106及び107に閾値データを振り分けて処理を行うことで、処理対象の画像データにおける、ディザマトリックスに対応する8行×8列の全ての画素データに対するN値化データを生成することができる。
For example, if processing is performed on C1 and C2 using the first and second
また、これまでは、基準ディザマトリックスにおける各色の閾値の選択開始位置を、所定行単位でずらして決定する例を説明してきたが、本実施の形態においては、更に、選択開始位置を所定列単位でずらして閾値の選択開始位置を決定することも可能である。
ここで、図14(a)は、基準ディザマトリックス(8行×8列)の閾値データ配列の一例を示す図であり、(b)はCy(シアン)、(c)はMg(マゼンタ)、(d)はYe(イエロー)、(e)はBk(ブラック)に対する、選択開始位置を2列単位でずらした場合の閾値データ配列例を示す図である。また、図15は、第1メモリ100における基準ディザマトリックスデータの記憶構成及び閾値セットの読み出し方法を示す図である。また、図16(a)及び(b)は、第1メモリ100からの基準ディザマトリックスデータの読み出し方法の一例を示す図である。
Further, until now, an example has been described in which the threshold selection start position of each color in the reference dither matrix is determined by shifting by a predetermined row unit. However, in the present embodiment, the selection start position is further set by a predetermined column unit. It is also possible to determine the selection start position of the threshold value by shifting by.
Here, FIG. 14A is a diagram showing an example of the threshold data array of the reference dither matrix (8 rows × 8 columns), where (b) is Cy (cyan), (c) is Mg (magenta), (D) is a diagram showing an example of threshold data arrangement when the selection start position is shifted in units of two columns with respect to Ye (yellow) and (e) with respect to Bk (black). FIG. 15 is a diagram illustrating a storage configuration of reference dither matrix data in the
まず、図14(a)の8行×8列の基準ディザマトリックスに対して、CMYKの各色の選択開始位置を、各色の開始位置が他色の開始位置と異なるように決める。ここでは、図14(a)に示す基準ディザマトリックスにおいて、各色の開始位置に対して、W/C(8/4=2)列ずつ開始位置がずれるように決定する。
まず、Cyに対するディザマトリックスを、図14(a)の基準ディザマトリックスと同じ配列内容とする。そして、選択開始位置の閾値をa11とする。次に、Mgに対する開始位置を、基準ディザマトリックスにおいて、a11から2列ずれた位置にあるa13とする。同様に、Yeに対する開始位置を、a13から2列ずれた位置にあるa15とし、Bkに対する開始位置を、a51から2列ずれた位置にあるa17とする。
First, with respect to the reference dither matrix of 8 rows × 8 columns in FIG. 14A, the selection start position of each color of CMYK is determined so that the start position of each color is different from the start position of other colors. Here, in the reference dither matrix shown in FIG. 14A, the start position is determined so as to be shifted by W / C (8/4 = 2) columns from the start position of each color.
First, the dither matrix for Cy is set to the same array content as the reference dither matrix in FIG. The threshold value for the selection start position is set to a11. Next, the start position for Mg is set to a13 at a position shifted by two columns from a11 in the reference dither matrix. Similarly, the start position for Ye is a15 at a position shifted by two columns from a13, and the start position for Bk is a17 at a position shifted by two lines from a51.
ここで、基準マトリックスの配置を2列単位でずらして各色のディザマトリックスを構成する場合は、Cy、Mg、Ye、Bkの各色のディザマトリックスは、それぞれ図14(b)〜(e)に示す構成となる。
例えば、Mgの場合は、図14(c)に示すように、その1列目から6列目が、基準ディザマトリックスの3列目から8列目となり、その7列目から8列目が基準ディザマトリックスの1列目から2列目となる。つまり、選択開始位置が基準ディザマトリックスの途中の列にあるときは、その途中の列を開始列としてそこから8列目(最終行)までの配列内容と、1列目から前記途中の列の1つ前の列までの配列内容とでディザマトリックスが構成される。同様に、Yeに対するディザマトリックスは、図14(d)に示す構成となり、Bkに対するディザマトリックスは、図14(e)に示す構成となる。
Here, when the dither matrix of each color is configured by shifting the arrangement of the reference matrix in units of two columns, the dither matrix of each color of Cy, Mg, Ye, and Bk is shown in FIGS. 14B to 14E, respectively. It becomes composition.
For example, in the case of Mg, as shown in FIG. 14 (c), the first to sixth columns are the third to eighth columns of the reference dither matrix, and the seventh to eighth columns are the reference. It becomes the second column from the first column of the dither matrix. That is, when the selection start position is in the middle column of the reference dither matrix, the middle column is set as the start column, and the array contents from the first column to the eighth column (final row), and from the first column to the middle column. A dither matrix is composed of the array contents up to the previous column. Similarly, the dither matrix for Ye has the configuration shown in FIG. 14D, and the dither matrix for Bk has the configuration shown in FIG.
各色の選択開始位置が決まったら、まず基準ディザマトリックスを複数の閾値セットに分ける。具体的に、基準ディザマトリックスにおける、各色の選択開始位置であるa11、a13、a15及びa17からそれぞれ列方向に順番に1つずつ閾値を選択し、各色1つずつの計4つの閾値の組を1つの閾値セットとして複数の閾値セットを形成する。まず、各色の選択開始位置の閾値の組(a11,a13,a15,a17)が、1つ目の閾値セットとなる。このように、各色の選択開始位置から列方向に順番に1つずつ閾値を選択して閾値セットを形成する処理を、各色の選択開始位置からそれぞれ他色の選択開始位置の1つ手前まで行う。つまり、列方向に、Cyの開始位置を含むa11〜a82まで、Mgの開始位置を含むa13〜a84まで、Yeの開始位置を含むa15〜a86まで、Bkの開始位置を含むa17〜a88までそれぞれ並列に行う。これにより、基準ディザマトリックスを、(a11,a13,a15,a17)、(a21,a23,a25,a27)、(a31,a33,a35,a37)、・・・、(a72,a74,a76,a78)、(a82,a84,a86,a88)の16個の閾値セットに分けることができる。 When the selection start position of each color is determined, the reference dither matrix is first divided into a plurality of threshold sets. Specifically, in the reference dither matrix, threshold values are selected one by one in the column direction from a11, a13, a15, and a17 that are the selection start positions of the respective colors, and a total of four threshold value sets for each color is obtained. A plurality of threshold sets are formed as one threshold set. First, a set of threshold values (a11, a13, a15, a17) at the selection start position of each color is the first threshold set. In this way, the process of selecting the threshold values one by one in order from the selection start position of each color in the column direction and forming the threshold set is performed from the selection start position of each color to the position immediately before the selection start position of each other color. . That is, in the column direction, a11 to a82 including the Cy start position, a13 to a84 including the Mg start position, a15 to a86 including the Ye start position, and a17 to a88 including the Bk start position, respectively. Do in parallel. Thereby, the reference dither matrix is changed to (a11, a13, a15, a17), (a21, a23, a25, a27), (a31, a33, a35, a37), ..., (a72, a74, a76, a78). ) And (a82, a84, a86, a88) can be divided into 16 threshold sets.
このように、16個の閾値セットに分けられた基準ディザマトリックスを、図15に示すように、第1メモリ100のアドレスの連続する記憶領域(図15中のアドレス0000h〜4000hの連続する記憶領域)に閾値セットの形成順に、つまり、(a11,a13,a15,a17)、(a21,a23,a25,a27)、(a31,a33,a35,a37)、・・・、(a72,a74,a76,a78)、(a82,a84,a86,a88)の順に記憶する。図15の例では、各閾値が8ビット(FFh)で、各閾値セットが8×4=32ビット(3FFh)のサイズとしている。閾値セットは16個あるので、32×16=512ビットとなり、32ビットの記憶領域毎に16個のアドレスが設定されている。つまり、図7に示す構成と同様に、各閾値セットに1つずつアドレスが設定されることになる。
As shown in FIG. 15, the reference dither matrix divided into 16 threshold sets is stored in a continuous storage area of addresses of the first memory 100 (a continuous storage area of
以下、図15に示す構成で基準ディザマトリックスが第1メモリ100に記憶されているとして、印刷装置1の画像処理部11における画像処理を説明する。なお、各色の画素データの読み出し方法は、上記説明した図8(a)に示す方法と同様である。
画像処理が実行されると、アドレス生成部102は、画像データの各色の画素データをそれぞれ共通の開始位置から1つずつ各色並列に読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第2メモリ101に出力すると共に、前記生成したアドレスを閾値データ振分部105に出力する。
また、アドレス生成部102は、上記画素データの読み出し処理と並列して、アドレス0000h〜4000hの記憶領域に記憶された閾値セットを読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。
Hereinafter, assuming that the reference dither matrix is stored in the
When the image processing is executed, the
The
具体的には、図16(a)に示すように、アドレス0000h〜4000hの記憶領域に順番に記憶された各閾値セットを、図16(b)に示すように、まずアドレス0000h〜0400hに記憶された閾値セットをこのアドレス順に1つずつ読み出すと共に、図15に示す矢印のように、0400hの次に0000hへと循環させ、0000h〜0400hの閾値セットをこの順番で且つ繰り返し読み出すアドレスを生成する。つまり、アドレス0000h及び0400hの記憶領域に記憶された閾値セットを、0000h→0400h→0000h→0400h→0000h→0400h→0000h→0400hと、循環的に且つ4回繰り返して読み出すようにアドレスを生成する。このように繰り返して読み出す理由は、閾値の選択開始位置を列単位でずらしたのに対して、画像データからの画素データの読み出し方向が行方向のままであるからである。つまり、画像データにおけるディザマトリックスに対応する8行×8列の領域の画素データを各色共に各行毎に順番に読み出すため、読み出された各行のCMYKの4色の画素データに対してN値化データを生成するためには、アドレスの連続する16個の閾値セットにおける、アドレスの連続する各2つの閾値セットを4回ずつ順番に繰り返して読み出す必要がある。従って、0000h〜0400hに記憶された閾値セットを4回繰り返して読み出した後は、0800h〜0C00h、1000h〜1400h、・・・、3000h〜3400h、3800h〜4000hの順で、連続する各2つの閾値セットを4回ずつ繰り返し読み出す。
Specifically, as shown in FIG. 16 (a), each threshold set stored in the storage area of
一方、上記説明した図9(b)に示す読み出し方法では、0000h〜4000hのアドレス順に各閾値セットを1つずつ順番に16個読み出し、当該16個の閾値セットに対するこの読み出しを、アドレス0000h〜4000hに対して循環的に且つ4回繰り返し行うことで、ディザマトリックスに対応する領域の全ての画素データをN値のデータに変換するようにした。これに対し、ここでは、前述したように、0000h〜4000hのアドレス順に2つの連続する閾値セット毎に4回ずつ繰り返して読み出しながら、順番にアドレスをシフトしていき、最後の2つの連続する閾値セットである3800h〜4000hの記憶領域に記憶された閾値セットを4回繰り返して読み出して処理を行うことで、ディザマトリックスに対応する領域の全ての画素データをN値のデータに変換するようにしている。従って、第1〜第4ディザ処理部106〜109においては、各2つの閾値セットを連続して4回繰り返し用いるので、閾値データ振分部105の内部に高速なキャッシュメモリ等を設け、各2つの閾値セットをキャッシュしてキャッシュメモリから繰り返し用いるようにすることで、各2つの閾値セットの読み出し回数を1回ずつ(1/4)にすることが可能である。
On the other hand, in the reading method shown in FIG. 9B described above, 16 threshold values are sequentially read one by one in the order of addresses from 0000h to 4000h, and this reading for the 16 threshold values is performed at
また、閾値データ振分部105の動作は、図16(b)に示すように、各2つの閾値セットの読み出し回数毎に位置関係を入れ替えながら各閾値データを振り分ける。具体的には、1回目の読み出しに対して、2つの閾値セットは共に(Cy,Mg,Ye,Bk)の位置関係となり、2回目の読み出しに対して、2つの閾値セットは共に(Bk,Cy,Mg,Ye)の位置関係となり、3回目の読み出しに対して、2つの閾値セットは共に(Ye,Bk,Cy,Mg)の位置関係となり、4回目の読み出しに対して、2つの閾値セットは共に(Mg,Ye,Bk,Cy)の位置関係となる。従って、閾値データ振分部105は、これらの位置関係に従って、各2つの閾値セットの閾値データを第1〜第4ディザ処理部106〜109に振り分ける。
In addition, as shown in FIG. 16B, the operation of the threshold
なお、解像度変換部103の解像度変換処理、色変換部104の色変換処理、並びに第1〜第4ディザ処理部106〜109における判定処理及びN値化処理については、上記所定行単位でずらして閾値の選択開始位置を決定する場合の動作と同様となるので説明を省略する。
Note that the resolution conversion processing of the
以上、本実施の形態では、基準ディザマトリックスにおける、画像データの各色に対応する閾値の選択開始位置を所定行単位又は所定列単位でずらし、基準ディザマトリックスにおける各選択開始位置から順に1つずつ選択した各色1つずつの閾値から閾値セットを形成し、基準ディザマトリックスを複数の閾値セットに分ける。そして、この複数の閾値セットを、第1メモリ100のアドレスの連続する記憶領域に、選択開始位置の閾値セットから順に記憶する。このような記憶構成で記憶された基準ディザマトリックスを、各閾値セット毎にアドレスの若い順に、画像データの全画素データをN値化データに変換するまで前記アドレスに対して循環的に且つ繰り返し読み出す。更に、当該読み出した閾値セットの各閾値データを、基準ディザマトリックスのサイズ、画像データの色数、選択開始位置のずらし量等によって決まる法則に基づき、それぞれ対応するディザ処理部に振り分ける。一方、ディザマトリックスに対応する位置の画素データを各色1つずつ順次読み出し、解像度変換及び色変換してから第1〜第4のディザ処理部106〜109の対応する色のディザ処理部にそれぞれ出力する。
As described above, in the present embodiment, the selection start position of the threshold value corresponding to each color of the image data in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit, and selected one by one from the selection start position in the reference dither matrix. A threshold set is formed from the threshold values for each color, and the reference dither matrix is divided into a plurality of threshold sets. The plurality of threshold sets are sequentially stored in the storage area where the addresses of the
そして、上記振り分けられた閾値データと上記入力された画素データとを用いて、判定処理及びN値化処理を行いN値化データを生成する。
これにより、メモリには、基準ディザマトリックスを1つだけ記憶すれば良いので、ディザマトリックスに必要なメモリ容量を低減することができる。
また、アドレスの連続する記憶領域に、読み出し順に且つ閾値セットの形態で閾値データを記憶するようにし、更に、この閾値セットを、メモリから前記アドレス順に循環的且つ繰り返し読み出すようにしたので各色に対応する閾値データを高速に読み出すことができる。
Then, using the distributed threshold data and the input pixel data, a determination process and an N-value process are performed to generate N-value data.
As a result, only one reference dither matrix needs to be stored in the memory, so that the memory capacity required for the dither matrix can be reduced.
In addition, threshold data is stored in a storage area with continuous addresses in the order of reading and in the form of a threshold set, and this threshold set is cyclically and repeatedly read from the memory in the order of the addresses. Threshold data to be read can be read at high speed.
また、閾値データの高速な読み出しが可能となるので、読み出した画素データに対して、解像度変換処理、色変換処理及びディザマトリックスを用いたN値化データの生成処理を連続して行うことができる。従って、これら一連の処理において、メモリとのアクセス回数を大幅に削減することができるので、画像データを取得してから印刷を完了するまでの時間を短縮することができる。 In addition, since threshold data can be read at high speed, resolution conversion processing, color conversion processing, and N-valued data generation processing using a dither matrix can be continuously performed on the read pixel data. . Accordingly, in these series of processes, the number of accesses to the memory can be greatly reduced, so that the time from acquisition of image data to completion of printing can be shortened.
上記第1の実施の形態において、第1メモリ100に基準ディザマトリックスを記憶する処理は、形態1、6、12、17、22及び28のいずれか1の基準ディザマトリックス記憶手段に対応し、アドレス生成部102及び閾値データ振分部105による第1メモリ100からの閾値データ(閾値セット)の読み出し処理は、形態1、2、17及び18のいずれか1の閾値読出手段に対応し、アドレス生成部102の第2メモリ101からの画素データの読み出し処理は、形態1又は17の画素値取得手段に対応し、判定処理部106a(〜109a)は、形態1〜3並びに形態17〜19のいずれか1の判定処理手段に対応し、N値化部106b(〜109b)は、形態1又は17のN値化手段に対応する。
In the first embodiment, the process of storing the reference dither matrix in the
また、上記第1の実施の形態において、印刷データ生成部12は、形態1の印刷データ生成手段に対応し、印刷部13は、形態1の印刷手段に対応する。
また、上記第1の実施の形態において、ステップS108〜S114は、形態6又は12の印刷データ生成ステップに対応し、ステップS116は、形態6又は12の印刷ステップに対応する。
Further, in the first embodiment, the print
In the first embodiment, steps S108 to S114 correspond to the print data generation step of
なお、上記第1の実施の形態においては、閾値セットを1つの第1メモリ100に記憶する構成を説明したが、これに限らず、図17に示す印刷装置2のように、第1メモリ100を物理的に4つの第1−1〜第1−4メモリ100a〜100dへと分けて、基準ディザマトリックスデータをこれら4つのメモリに分けて記憶する構成としても良い。ここで、図17は、第1の実施の形態における印刷装置1の変形例を示すブロック図である。
In the first embodiment, the configuration in which the threshold set is stored in one
具体的には、図6(a)に示す基準ディザマトリックスにおける、Cyの選択開始位置を含むa11〜a28の16個の閾値データを第1−1メモリ100aのアドレスの連続する記憶領域に記憶し、Mgの選択開始位置を含むa31〜a48の16個の閾値データを第1−2メモリ100bのアドレスの連続する記憶領域に記憶し、Yeの選択開始位置を含むa51〜a68の16個の閾値データを第1−3メモリ100cのアドレスの連続する記憶領域に記憶し、Bkの選択開始位置を含むa71〜a88の16個の閾値データを第1−4メモリ100dのアドレスの連続する記憶領域に記憶する。但し、各メモリのアドレスは閾値データ1つ分の8ビット毎に設定する。また、記憶順は開始位置から各行毎に行方向に(左から右に向かって)順番に閾値データを1つずつ選択して記憶する。
Specifically, the 16 threshold data a11 to a28 including the Cy selection start position in the reference dither matrix shown in FIG. 6A are stored in the continuous storage area of the address of the 1-1 memory 100a. , 16 threshold data of a31 to a48 including the selection start position of Mg are stored in the continuous storage area of the address of the first-
そして、アドレス生成部102においては、第1−1〜第1−4メモリ100a〜100dの各先頭アドレスから順に、1つずつ並列に閾値データを読み出すようにアドレスを生成する。ここでは、第1−1〜第1−4メモリ100a〜100dの閾値データの記憶されているアドレスが全て一致しているとする。つまり、第1−1〜第1−4メモリ100a〜100dの各アドレス0000h〜1000hに閾値データが記憶されているとする。従って、各先頭アドレスには、a11、a31、a51及びa71がそれぞれ記憶されており、これらを並列に読み出すようにすれば、図7に示す先頭の閾値セットと同じ内容の閾値データを読み出すことができる。同様に、第1−1〜第1−4メモリ100a〜100dにおいて、0000hからアドレス値を(0010h)ずつインクリメントしながら順番に各アドレスの閾値データを1つずつ並列に読み出すことで、図7の記憶構成と同様の閾値セットを同じ順番で読み出すことができる。なお、複数並列にアクセスできるメモリであれば1つのメモリの記憶領域を4つに分割する構成としても良い。
Then, the
また、上記第1の実施の形態においては、画像処理部11をハードウェア主体の構成としたが、解像度変換部103、色変換部104、閾値データ振分部105などの処理をソフトウェアで実現する構成としても良い。また、点順次で処理を行う場合や、複数のCPUを用いて処理を行う場合は、第1〜第4のディザ処理部106〜109の各処理についてもソフトウェアで実現する構成としても良い。
In the first embodiment, the
また、上記第1の実施の形態においては、画像データにおけるディザマトリックスと同じ領域毎に、N値化データの生成処理を行うようにしたが、これに限らず、画像データの各行毎にN値化データの生成処理を行う構成としても良い。この場合には、各行の全ての画素データに対するN値化データが生成されるまで、例えば、図7の記憶構成においては、第1メモリ100のアドレス0000h〜2000hの記憶領域に記憶された閾値セットをアドレス順に循環的且つ繰り返し読み出す。そして、画像データの次の行に対しては、第1メモリ100のアドレス2400h〜4000hの記憶領域に記憶された閾値セットをアドレス順に循環的且つ繰り返し読み出す。画像データの3行目以降も、アドレス0000h〜2000hの記憶領域に記憶された閾値セットとアドレス2400h〜4000hの記憶領域に記憶された閾値セットとを交互に繰り返し読み出して各行の各画素データに対するN値化データを生成する。従って、上記した閾値の選択開始位置を列単位でずらす場合と同様に、同じ閾値データを繰り返し読み出すことになるので、閾値データ振分部105の内部に高速なキャッシュメモリ等を設け、繰り返し読み出す各8個の閾値セットをキャッシュしてキャッシュメモリから繰り返し用いるようにすることで、画像データの各行に対する各8個の閾値セットの読み出し回数を1回ずつにすることが可能である。
In the first embodiment, the N-valued data generation process is performed for each of the same regions as the dither matrix in the image data. However, the present invention is not limited to this, and the N value is determined for each row of the image data. It is also possible to employ a configuration for performing generation processing of the digitized data. In this case, until N-valued data for all the pixel data of each row is generated, for example, in the storage configuration of FIG. 7, the threshold set stored in the storage area of the
また、上記第1の実施の形態における印刷装置1の特徴は、既存の印刷装置そのものには殆ど手を加えることなく、ディザマトリックスデータのメモリへの記憶構成及び読み出し方法などを工夫して画像データからN値化データを生成するようにしたため、印刷部13として特に専用のものを用意する必要はなく、従来から既存のインクジェット方式のプリンタをそのまま利用することができる。また、上記実施の形態における印刷装置1から印刷データ生成部12及び印刷部13を分離すれば、その機能はPCなどの汎用の印刷指示端末又はプリンタサーバ(これらは画像処理装置に対応する)等において実現することも可能となる。
In addition, the
〔第2の実施の形態〕
次に、本発明の第2の実施の形態を図面に基づき説明する。図18〜図23は、本発明に係る表示装置、表示プログラム、表示方法、画像処理装置、画像処理プログラム及び画像処理方法、並びに前記プログラムを記憶した記憶媒体の第2の実施の形態を示す図である。
まず、本発明の第2の実施の形態に係る表示装置の構成を図1に基づき説明する。図18は、本発明の第2の実施の形態に係る表示装置3の構成を示すブロック図である。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings. 18 to 23 show a second embodiment of a display device, a display program, a display method, an image processing device, an image processing program and an image processing method, and a storage medium storing the program according to the present invention. It is.
First, a configuration of a display device according to a second embodiment of the present invention will be described with reference to FIG. FIG. 18 is a block diagram showing a configuration of the
表示装置3は、図18に示すように、外部機器等からM値(M≧3)の画像データを取得する画像データ取得部10’と、当該取得した画像データに対して、解像度変換、色変換及びディザ法を用いたN値化処理等の各種画像処理を施してM値の画像データをN値の画像データに変換する画像処理部11’と、変換後の画像データに基づき表示データを生成する表示データ生成部14と、表示データに基づき表示処理を実行する表示部15とを含んだ構成となっている。なお、画像処理部11’については、上記第1の実施の形態における画像処理部11を一部変更しただけで略同様の構成となる。従って、画像処理部11と同様又は略同様の処理を行う構成要素については同じ符号を付して詳細な説明は省略する。
As shown in FIG. 18, the
画像データ取得部10’は、表示装置3と接続されたパソコン(PC)などの装置(図示せず)から送られてくるM値の画像データをネットワークなどを介して取得したり、あるいは図示しないCD−ROMドライブ、DVDドライブなどのデータ読込装置などから直接読み込んで取得したりする機能を提供するようになっている。
表示データ生成部14は、画像処理部11’においてN値に変換後の画像データ(以下、N値化データと称す)に基づき、表示部15において解釈可能な表示用のデータ(表示データ)を生成する機能を提供するようになっている。
The image
The display
表示部15は、表示データに基づき、画像データ取得部10で取得した画像データの画像を液晶ディスプレイやCRTディスプレイ等に表示する機能を提供するようになっている。
更に、図19に基づき、画像処理部11’の詳細な構成を説明する。図19は、画像処理部11’の詳細なハードウェア構成を示すブロック図である。
The
Further, a detailed configuration of the
画像処理部11’は、図19に示すように、第1メモリ100と、第2メモリ101と、アドレス生成部102と、解像度変換部103と、色変換部104’と、閾値データ振分部105と、第1〜第3ディザ処理部106〜108とを含んだ構成となっている。
解像度変換部103は、第2メモリ101から入力された画素データを、第2メモリ101に記憶された画像データの解像度が、表示解像度に応じた解像度となるように加工する。そして、加工後の画素データを色変換部104に出力する。なお、解像度を変換する必要がない場合は、加工せずにそのまま画素データを色変換部104に出力する。
As shown in FIG. 19, the
The
色変換部104は、解像度変換部103から入力された画素データが、YIQなどのRGB以外の色空間のデータであるときに、入力された画素データをRGB(例えば、sRGBなどの規格RGBをディスプレイ表示用のRGBに変換する場合も含む)の色空間データへと変換する。そして、変換後の各色の画素データを、各色毎に第1〜第3ディザ処理部106〜108における各色に対応するディザ処理部へとそれぞれ別々に出力する。なお、解像度変換部103から入力された画素データがRGBの色空間データであれば、変換処理を行わずにそのまま各色の画素データを、第1〜第3ディザ処理部106〜108における各色に対応するディザ処理部へとそれぞれ出力する。
When the pixel data input from the
閾値データ振分部105は、第1メモリ100から入力された閾値セットに含まれる各閾値データを、アドレス生成部102から順次取得する、閾値セットの各アドレス及び各色の画素データのアドレスに基づき、第1〜第3ディザ処理部106〜108における各色に対応するディザ処理部にそれぞれ振り分ける。
第1ディザ処理部106は、RGBの3色のうちRに対応しており、色変換部104’から入力されたR(Red)の画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のRの画素データをN値のデータに変換してN値化データを生成する。そして、このN値化データを表示データ生成部14に出力する。
The threshold
The first
第2ディザ処理部107は、RGBの3色のうちGに対応しており、色変換部104’から入力されたG(Green)の画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のGの画素データをN値のデータに変換してN値化データを生成する。
The second
第3ディザ処理部108は、RGBの3色のうちBに対応しており、色変換部104’から入力されたB(Blue)の画素データと、これに対応する閾値とを比較してその大小関係に基づき、当該画素データに対してドットを形成するか否かを判定する。そして、この判定結果に基づき、M値のBの画素データをN値のデータに変換してN値化データを生成する。
ここで、表示装置3は、上記第1の実施の形態における印刷装置1と同様に、図4に示すようなハードウェア構成を有している。
The third
Here, the
更に、図20に基づき、表示装置3の表示処理の流れを説明する。ここで、図20は、表示装置3における表示処理を示すフローチャートである。
表示処理は、図20に示すように、まずステップS200に移行し、画像データ取得部10’において、画像データを、上記したように、外部装置、CD−ROM、DVD−ROM等の記録媒体、HDD等の記憶装置70などから取得したか否かを判定し、取得したと判定された場合(Yes)は、ステップS202に移行し、そうでない場合(No)は、取得するまで判定処理を繰り返す。
Furthermore, the flow of the display process of the
As shown in FIG. 20, the display process first proceeds to step S200, where the image
ステップS202では、画像データ取得部10’において、ステップS200で取得した画像データを画像処理部11’の第2メモリ101に記憶してステップS204に移行する。
ステップS204では、CPU60において、画像処理部11’に対して画像処理の実行コマンドを送信して、画像処理部11’に画像処理を実行させてステップS206に移行する。
In step S202, the image
In step S204, the
ステップS206では、表示データ生成部14において、画像処理部11’からN値化データを取得したか否かを判定し、取得したと判定された場合(Yes)は、ステップS208に移行し、そうでない場合(No)は、取得するまで判定処理を繰り返す。
ステップS208に移行した場合は、表示データ生成部14において、ステップS206で取得したN値化データに基づき、表示データを生成してステップS210に移行する。
In step S206, the display
When the process proceeds to step S208, the display
ステップS210では、表示データ生成部14において、ステップS200で取得した画像データに対する表示データが完成したか否かを判定し、完成したと判定された場合(Yes)は、ステップS212に移行し、そうでない場合(No)は、ステップS206に移行する。
ステップS212に移行した場合は、表示データ生成部14において、上記完成した表示データを表示部15に出力してステップS214に移行する。
ステップS214では、表示部15において、表示データ生成部14から入力された表示データに基づき、表示処理を実行して処理を終了する。
In step S210, the display
When the process proceeds to step S212, the display
In step S214, the
次に、図21〜図23に基づき、本実施の形態の動作を説明する。
ここで、図21(a)は、基準ディザマトリックス(9行×8列)の閾値データ配列の一例を示す図であり、(b)はR、(c)はG、(d)はBに対する、選択開始位置を3行単位でずらした場合の閾値データ配列例を示す図である。また、図22は、第1メモリ100における基準ディザマトリックスデータの記憶構成を示す図である。また、図23(a)及び(b)は、第1メモリ100からの基準ディザマトリックスデータの読み出し方法の一例を示す図である。
Next, the operation of the present embodiment will be described with reference to FIGS.
Here, FIG. 21A is a diagram showing an example of the threshold data array of the reference dither matrix (9 rows × 8 columns), where (b) is for R, (c) is for G, and (d) is for B. FIG. 10 is a diagram illustrating an example of threshold data arrangement when the selection start position is shifted in units of three rows. FIG. 22 is a diagram showing a storage configuration of the reference dither matrix data in the
ここで、画像処理部11’の第1〜第3ディザ処理部106〜108で用いるディザマトリックスについて説明する。ここでは、図21(a)に示す9行×8列(H=9、W=8)の基準ディザマトリックスを用いるとする。また、画像データの色数はCMYKの4色として説明する。
まず、CMYKの各色の選択開始位置を、各色の開始位置が他色の開始位置と異なるように決める。ここでは、図21(a)に示す9行×8列の基準ディザマトリックスにおいて、各色の開始位置に対して、H/C(9/3=3)行ずつ開始位置がずれるように決定する。
Here, the dither matrix used in the first to third
First, the selection start position of each color of CMYK is determined so that the start position of each color is different from the start position of the other colors. Here, in the 9-row × 8-column reference dither matrix shown in FIG. 21A, the start position is determined to be shifted by H / C (9/3 = 3) rows from the start position of each color.
まず、Rに対する選択開始位置の閾値を、基準ディザマトリックスにおけるa11とする。次に、Gに対する開始位置を、a11から3行ずれた位置にあるa41とする。同様に、Bに対する開始位置を、a41から3行ずれた位置にあるa71とする。
ここで、基準マトリックスの配置を3行単位でずらして各色のディザマトリックスを構成する場合は、R、G、Bの各色のディザマトリックスは、それぞれ図21(b)〜(d)に示す構成となる。
First, the threshold value of the selection start position for R is set to a11 in the reference dither matrix. Next, the start position for G is a41 at a position shifted by 3 rows from a11. Similarly, the start position for B is a71 at a position shifted by 3 rows from a41.
Here, when the dither matrix of each color is configured by shifting the arrangement of the reference matrix in units of three rows, the dither matrix of each color of R, G, and B has the configuration shown in FIGS. 21B to 21D, respectively. Become.
次に、上記第1の実施の形態と同様の方法で、基準ディザマトリックスを複数の閾値セットに分ける。
具体的に、図21(a)に示す基準ディザマトリックスにおける、各色の選択開始位置であるa11、a41及びa71からそれぞれ行方向に順番に1つずつ閾値を選択し、各色1つずつの計3つの閾値の組を1つの閾値セットとして複数の閾値セットを形成する。つまり、Rの開始位置を含むa11〜a38まで、Gの開始位置を含むa41〜a68まで、Bの開始位置を含むa71〜a98までそれぞれ各色1つずつ順番に閾値を選択し閾値セットを形成する。これにより、基準ディザマトリックスを、(a11,a41,a71)、(a12,a42,a72)、(a13,a43,a73)、・・・、(a37,a67,a97)、(a38,a68,a98)の24個の閾値セットに分けることができる。
Next, the reference dither matrix is divided into a plurality of threshold sets by the same method as in the first embodiment.
Specifically, in the reference dither matrix shown in FIG. 21A, threshold values are selected one by one in the row direction from a11, a41, and a71 which are the selection start positions of the respective colors, and a total of 3 for each of the respective colors. A plurality of threshold sets are formed with one threshold set as one threshold set. That is, a threshold set is formed by selecting threshold values in order for each color from a11 to a38 including the R start position, from a41 to a68 including the G start position, and from a71 to a98 including the B start position. . Thus, the reference dither matrix is changed to (a11, a41, a71), (a12, a42, a72), (a13, a43, a73), ..., (a37, a67, a97), (a38, a68, a98). ) 24 threshold sets.
このように、24個の閾値セットに分けられた基準ディザマトリックスを、図22に示すように、第1メモリ100のアドレスの連続する記憶領域(図22中のアドレス0000h〜4800hの連続する記憶領域)に閾値セットの形成順に記憶する。図22の例では、各閾値が8ビット(FFh)で、各閾値セットが8×3=24ビット(2FFh)のサイズとしている。閾値セットは24個あるので、24×24=576ビットとなり、24ビットの記憶領域毎に24個のアドレスが設定されている。つまり、各閾値セットに対して1つずつアドレスが設定されることになる。
In this way, the reference dither matrix divided into the 24 threshold sets is converted into a continuous storage area of addresses of the first memory 100 (a continuous storage area of
以下、図22に示す構成で基準ディザマトリックスが第1メモリ100に記憶されているとして、表示装置3の表示処理の動作を説明する。
まず、表示装置3は、画像データ取得部10’において、外部装置等からM値の画像データを取得し(ステップS200の「Yes」の分岐)、当該取得した画像データを画像処理部11’の第2メモリ101に記憶する(ステップS202)。表示装置3は、第2メモリ101に画像データを記憶すると、次に、画像処理部11’に対して、画像処理の開始コマンドを送信して画像処理を実行させる(ステップS204)。なお、画像処理部11’が、第2メモリ101に画像データが記憶されたことを検知してコマンドを受けずに画像処理を実行する構成としても良い。
Hereinafter, it is assumed that the reference dither matrix is stored in the
First, in the image
画像処理が実行されると、アドレス生成部102は、画像データの各色の画素データをそれぞれ共通の開始位置から1つずつ各色並列に読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第2メモリ101に出力すると共に、前記生成したアドレスを閾値データ振分部105に出力する。
ここでは、画像データ取得部10’で取得した画像データは、YIQの色空間のデータであるとする。従って、YIQの各値(輝度・色差)の画像データに共通の開始位置から順番にディザマトリックスのサイズ及び閾値データの読み出し方法に合わせて画素データを選択していく。このようにして、第2メモリ101からは、YIQの各値1つずつの3つの画素データが順次読み出され、解像度変換部103に出力される。
When the image processing is executed, the
Here, it is assumed that the image data acquired by the image
また、アドレス生成部102は、図23(a)に示すように、アドレス0000h〜4800hの記憶領域に記憶された各閾値セットをこのアドレス順に1つずつ順番に読み出すためのアドレスを生成して、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。これにより、第1メモリ100からは、アドレス順に閾値セットが1つずつ順番に読み出され、閾値データ振分部105へと出力される。
Further, as shown in FIG. 23A, the
また、アドレス生成部102は、アドレス4800hの閾値セット(a38,a68,a98)が読み出されると、これに続けてアドレス0000h〜4800hの記憶領域に記憶された閾値セットを読み出すためのアドレスを生成し、このアドレスに対するデータ読み出しコマンドを第1メモリ100に出力し、前記生成したアドレスを閾値データ振分部105に出力する。つまり、アドレス生成部102は、0000h〜4800h→0000h〜4800h→0000h〜4800h→・・・といったように、処理対象の画像データに対するディザマトリックスを用いた画像処理が完了するまで、アドレス0000h〜4800hに対して循環的に、且つ当該アドレスの順に繰り返し閾値セットが読み出されるようにアドレスを生成する。
Further, when the threshold set (a38, a68, a98) of the
一方、解像度変換部103は、第2メモリ101から画素データが入力されると、印刷解像度に対する画素数の過不足に応じて、画素数を減らしたり、または増加させたりする。ここでは、過不足が無いとして、YIQの画素データを、そのまま色変換部104’に出力する。
色変換部104’は、解像度変換部103からYIQの画素データが入力されると、これをRGBの画素データへと変換する。そして、変換後のRGB各色の3つの画素データを、第1〜第3ディザ処理部106〜108における、各色に対応するディザ処理部へとそれぞれ別々に出力する。
一方、閾値データ振分部105は、第1メモリ100から読み出された閾値セットに含まれる各閾値データを、基準ディザマトリックスのサイズや、対応する色数、選択開始位置のずらし量等から決定される法則に基づき、第1〜第3ディザ処理部106〜108における、各色に対応するディザ処理部へとそれぞれ別々に出力する。
On the other hand, when the pixel data is input from the
When the YIQ pixel data is input from the
On the other hand, the threshold
具体的には、図23(a)に示す順番でアドレス0000h〜4800hの記憶領域から読み出される閾値セットは、その1回目の読み出しにおいて、図23(b)に示すように、例えば、アドレス0000hの閾値セット(a11,a41,a71)であれば、閾値データa11をR用の第1ディザ処理部106に、閾値データa41をG用の第2ディザ処理部107に、閾値データa71をB用の第3ディザ処理部108にそれぞれ振り分ける。つまり、1回目に読み出される24個の閾値セットに対しては、各色の選択開始位置から始まる閾値セットとなるので、(R,G,B)の位置関係で、各色のディザ処理部へと対応する閾値データを振り分ける。そして、上記第1の実施の形態と同様に、2回目に読み出される24個の閾値セットに対しては、(G,B,R)の位置関係で、3回目に読み出される24個の閾値セットに対しては、(B,R,G)の位置関係で、それぞれ各色のディザ処理部へと対応する閾値データを振り分ける。
Specifically, the threshold set read from the storage area at
一方、第1ディザ処理部106は、閾値データ振分部105から閾値データが入力され、色変換部104からRの画素データが入力されると、これら入力された閾値データと画素データとに基づきN値化データを生成する。そして、生成したN値化データを、表示データ生成部14に出力する。
第2〜第4ディザ処理部107〜108も、第1のディザ処理部106と同様に、閾値データ振分部105から入力された各閾値データと、色変換部104から入力された各色の画素データとに基づきN値化データを生成する。そして、生成したN値化データを、それぞれ表示データ生成部14に出力する。
なお、第1〜第3ディザ処理部106〜108は並列に動作し、略同時にN値化データを生成し表示データ生成部14に出力する。
On the other hand, when the threshold data is input from the threshold
Similarly to the first
The first to third
このような処理を、1回目に読み出された、アドレス0000hから4800hまでの記憶領域に記憶された閾値セットに対して行うことで、ディザマトリックスのサイズに対応する9行×8列の画像データにおける各色3行目までの画素データに対してN値化データを生成することができる。同様に、1回目の読み出しに引き続き2回目の読み出しによって、ディザマトリックスのサイズに対応する9行×8列の画像データにおける各色6行目までの画素データに対してN値化データを生成することができる。同様に、2回目の読み出しに引き続き3回目の読み出しによって、ディザマトリックスのサイズに対応する9行×8列の画像データにおける各色9行目までの画素データに対してN値化データを生成することができる。但し、このような読み出し処理を行う場合は、各画素データが上記第1の実施の形態で説明した図6(a)の順で読み出され、且つ各色のディザマトリックスが上記第1の実施の形態で説明した図6(b)に示すシフトを行うことを前提とする。
By performing such processing on the threshold set stored in the storage area from
上述した一連の処理を繰り返し行うことで、画像データの全ての画素データをN値化データに変換する。
一方、表示データ生成部14は、画像処理部11’からN値化データが入力されると、当該N値化データに基づき表示データを生成する(ステップS206〜S208)。そして、取得した画像データ分の表示データを生成すると(ステップS210の「Yes」の分岐)、この表示データを表示部15に出力する。
表示部15は、表示データ生成部14から表示データが入力されると、この表示データに基づき表示処理を実行する(ステップS214)。これにより、画像データの画像が液晶ディスプレイ等に表示される。
By repeating the series of processes described above, all pixel data of the image data is converted into N-valued data.
On the other hand, when the N-value data is input from the
When the display data is input from the display
なお、本実施の形態の表示装置3の画像処理部11’は、上記第1の実施の形態の印刷装置1及び2の画像処理部11と同様に、色数以上の行又は列数であれば、基準ディザマトリックスのサイズは限定されない。また、閾値データの選択開始位置も行単位にずらして決定するだけでなく列単位にずらして決定ことも可能である。また、前述した、図17に示す構成のように、第1メモリ100を物理的に分割(本実施の形態では、RGBの3色分の3つに分割)し、各色の選択開始位置から他色の選択開始位置1つ手前までの閾値データを、それぞれ3つのメモリに分けて記憶し、これら3つのメモリに同時アクセスして閾値セット分の閾値データを順次読み出す構成も可能である。
Note that the
以上、本実施の形態では、基準ディザマトリックスにおける、画像データの各色に対応する閾値の選択開始位置を所定行単位又は所定列単位でずらし、基準ディザマトリックスにおける各選択開始位置から順に1つずつ選択した各色1つずつの閾値から閾値セットを形成し、基準ディザマトリックスを複数の閾値セットに分ける。そして、この複数の閾値セットを、第1メモリ100のアドレスの連続する記憶領域に、選択開始位置の閾値セットから順に記憶する。このような記憶構成で記憶された基準ディザマトリックスを、各閾値セット毎にアドレスの若い順に、画像データの全画素データをN値化データに変換するまで前記アドレスに対して循環的に且つ繰り返し読み出す。更に、当該読み出した閾値セットの各閾値データを、基準ディザマトリックスのサイズ、画像データの色数、選択開始位置のずらし量等によって決まる法則に基づき、それぞれ対応するディザ処理部に振り分ける。一方、ディザマトリックスに対応する位置の画素データを各色1つずつ順次読み出し、解像度変換及び色変換してから第1〜第3のディザ処理部106〜108の対応する色のディザ処理部にそれぞれ出力する。
As described above, in the present embodiment, the selection start position of the threshold value corresponding to each color of the image data in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit, and selected one by one from the selection start position in the reference dither matrix. A threshold set is formed from the threshold values for each color, and the reference dither matrix is divided into a plurality of threshold sets. The plurality of threshold sets are sequentially stored in the storage area where the addresses of the
そして、上記振り分けられた閾値データと上記入力された画素データとを用いて、判定処理及びN値化処理を行いN値化データを生成する。
これにより、メモリには、基準ディザマトリックスを1つだけ記憶すれば良いので、ディザマトリックスに必要なメモリ容量を低減することができる。
また、アドレスの連続する記憶領域に、読み出し順に且つ閾値セットの形態で閾値データを記憶するようにし、更に、この閾値セットを、メモリから前記アドレス順に循環的且つ繰り返し読み出すようにしたので各色に対応する閾値データを高速に読み出すことができる。
Then, using the distributed threshold data and the input pixel data, a determination process and an N-value process are performed to generate N-value data.
As a result, only one reference dither matrix needs to be stored in the memory, so that the memory capacity required for the dither matrix can be reduced.
In addition, threshold data is stored in a storage area with continuous addresses in the order of reading and in the form of a threshold set, and this threshold set is cyclically and repeatedly read from the memory in the order of the addresses. Threshold data to be read can be read at high speed.
また、閾値データの高速な読み出しが可能となるので、読み出した画素データに対して、解像度変換処理、色変換処理及びディザマトリックスを用いたN値化データの生成処理を連続して行うことができる。従って、これら一連の処理において、メモリとのアクセス回数を大幅に削減することができるので、画像データを取得してから表示を完了するまでの時間を短縮することができる。 In addition, since threshold data can be read at high speed, resolution conversion processing, color conversion processing, and N-valued data generation processing using a dither matrix can be continuously performed on the read pixel data. . Therefore, in these series of processes, the number of accesses to the memory can be greatly reduced, so that the time from the acquisition of image data to the completion of display can be shortened.
上記第2の実施の形態において、第1メモリ100に基準ディザマトリックスを記憶する処理は、形態33、38及び44のいずれか1の基準ディザマトリックス記憶手段に対応し、アドレス生成部102及び閾値データ振分部105による第1メモリ100からの閾値データ(閾値セット)の読み出し処理は、形態33又は34の閾値読出手段に対応し、アドレス生成部102による第2メモリ101からの画素データの読み出し処理は、形態33の画素値取得手段に対応し、判定処理部106a(〜108a)は、形態33乃至35のいずれか1の判定処理手段に対応し、N値化部106b(〜108b)は、形態33のN値化手段に対応する。
In the second embodiment, the process of storing the reference dither matrix in the
また、上記第2の実施の形態において、表示データ生成部14は、形態33の表示データ生成手段に対応し、表示部15は、形態33の表示手段に対応する。
また、上記第2の実施の形態において、ステップS206〜S212は、形態38又は44の表示データ生成ステップに対応し、ステップS214は、形態38又は44の表示ステップに対応する。
In the second embodiment, the display
In the second embodiment, steps S206 to S212 correspond to the display data generation step of form 38 or 44, and step S214 corresponds to the display step of form 38 or 44.
なお、上記第2の実施の形態においては、画像処理部11’をハードウェア主体の構成としたが、解像度変換部103、色変換部104、閾値データ振分部105などの処理をソフトウェアで実現する構成としても良い。また、点順次で処理を行う場合や、複数のプロセッサを用いて処理を行う場合は、第1〜第3のディザ処理部106〜108の各処理についてもソフトウェアで実現する構成としても良い。
In the second embodiment, the
また、上記第2の実施の形態においては、画像データにおけるディザマトリックスと同じ領域毎に、N値化データの生成処理を行うようにしたが、これに限らず、画像データの各行毎にN値化データの生成処理を行う構成としても良い。この場合には、各行の全ての画素データに対するN値化データが生成されるまで、例えば、図22の記憶構成においては、第1メモリ100のアドレス0000h〜1800hの記憶領域に記憶された閾値セットをアドレス順に循環的且つ繰り返し読み出す。そして、画像データの次の行に対しては、第1メモリ100のアドレス2B00h〜3000hの記憶領域に記憶された閾値セットをアドレス順に循環的且つ繰り返し読み出す。更に次の行に対しては、第1メモリ100のアドレス3300h〜4800hの記憶領域に記憶された閾値セットをアドレス順に循環的且つ繰り返し読み出す。画像データの4行目以降も、アドレス0000h〜1800hの記憶領域に記憶された閾値セットと、アドレス2B00h〜3000hと、アドレス3300h〜4800hとの記憶領域に記憶された閾値セットとをこの順番に繰り返し読み出して各行の各画素データに対するN値化データを生成する。従って、上記した閾値の選択開始位置を列単位でずらす場合と同様に、同じ閾値データを繰り返し読み出すことになるので、閾値データ振分部105の内部に高速なキャッシュメモリ等を設け、繰り返し読み出す閾値セットをキャッシュしてキャッシュメモリから繰り返し用いるようにすることで、画像データの各行に対する閾値セットの読み出し回数を1回ずつにすることが可能である。
In the second embodiment, the N-value data generation process is performed for each of the same regions as the dither matrix in the image data. However, the present invention is not limited to this, and the N value is calculated for each row of the image data. It is also possible to employ a configuration for performing generation processing of the digitized data. In this case, until the N-valued data for all the pixel data in each row is generated, for example, in the storage configuration of FIG. 22, the threshold set stored in the storage area of
1,2…印刷装置、3…表示装置、10,10’…画像データ取得部、11,11’…画像処理部、12…印刷データ生成部、13…印刷部、14…表示データ生成部、15…表示部、100…第1メモリ、101…第2メモリ、102…アドレス生成部、103…解像度変換部、104,104’…色変換部、105…閾値データ振分部、106〜109…第1〜第4ディザ処理部、106a…判定処理部、106b…N値化部
DESCRIPTION OF
Claims (16)
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、
前記N値化手段で変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段で生成された印刷データに基づき印刷処理を実行する印刷手段と、を備えることを特徴とする印刷装置。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed into a composed image data from the pixel value of the N (M> N ≧ 2) values, a printing apparatus that performs printing based on the image data after the conversion from
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Pixel value acquisition means for acquiring pixel values of the respective colors in order from pixel values of acquisition start positions common to the respective colors in the image data;
Using each threshold value of the threshold set sequentially read by the threshold value reading unit and the pixel value of each color acquired by the pixel value acquisition unit, each threshold value and a pixel value of a color corresponding to each of these threshold values Determination processing means for sequentially performing the determination processing for each combination;
N-value conversion means for converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing means;
Print data generation means for generating print data based on image data composed of pixel values converted by the N-value conversion means;
And a printing unit that executes a printing process based on the print data generated by the print data generation unit.
前記読出開始位置のずらし量をH/C又はW/Cとしたことを特徴とする請求項1乃至請求項3のいずれか1項に記載の印刷装置。 The number of rows of the dither matrix is H (H is an integer of 2 or more), the number of columns is W (W is an integer of 2 or more), and the number of colors of the image data is C (C is an integer of 2 or more).
The printing apparatus according to any one of claims 1 to 3, wherein the shift amount of the reading start position is set to H / C or W / C.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成ステップと、
前記印刷データ生成ステップで生成された印刷データに基づき印刷処理を実行する印刷ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする印刷プログラム。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from the pixel value of N ≧ 2) values, there printing program for printing processing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A print data generation step for generating print data based on the image data composed of the pixel values converted in the N-value conversion step;
A printing program comprising: a program used for causing a computer to execute a process including a printing step for executing a printing process based on the print data generated in the print data generation step.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、印刷データを生成する印刷データ生成ステップと、
前記印刷データ生成ステップで生成された印刷データに基づき印刷処理を実行する印刷ステップと、を含むことを特徴とする印刷方法。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there printing method for printing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A print data generation step for generating print data based on the image data composed of the pixel values converted in the N-value conversion step;
And a printing step that executes a printing process based on the print data generated in the print data generation step.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、を備えることを特徴とする画像処理装置。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed of an image processing apparatus for converting the formed image data from the pixel value of the N (M> N ≧ 2) values from,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Pixel value acquisition means for acquiring pixel values of the respective colors in order from pixel values of acquisition start positions common to the respective colors in the image data;
Using each threshold value of the threshold set sequentially read by the threshold value reading unit and the pixel value of each color acquired by the pixel value acquisition unit, each threshold value and a pixel value of a color corresponding to each of these threshold values Determination processing means for sequentially performing the determination processing for each combination;
An image processing apparatus comprising: an N-value conversion unit configured to convert the pixel value of each color into one of N types based on a determination result of the determination processing unit.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする画像処理プログラム。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M There the image processing program to be converted in the composed image data from the pixel value of N ≧ 2) values,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
And a program used for causing a computer to execute a process including an N-value conversion step of converting the pixel value of each color into any of N types of numerical values based on the determination result of the determination process step. Image processing program.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、を含むことを特徴とする画像処理方法。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M There the image processing method of converting the composed image data from the pixel value of N ≧ 2) values,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
And an N-value conversion step of converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing step.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶する基準ディザマトリックス記憶手段と、
前記基準ディザマトリックス記憶手段によって記憶された前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出手段と、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得手段と、
前記閾値読出手段で順次読み出される前記閾値セットの各閾値と、前記画素値取得手段で取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理手段と、
前記判定処理手段の判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化手段と、
前記N値化手段で変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成手段と、
前記表示データ生成手段で生成された表示データに基づき表示処理を実行する表示手段と、を備えることを特徴とする表示装置。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. A reference dither matrix, and the selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be a position different from the other colors, respectively. The predetermined threshold value is cyclically selected with respect to the reference dither matrix sequentially from the selection start position of each color in the reference dither matrix in the row direction or the column direction, and the selected threshold value and the corresponding pixel value or The M value pixel is determined by sequentially determining whether the dot is on or off according to the magnitude relationship with the value calculated based on the pixel value. The image data composed into a composed image data from the pixel value of the N (M> N ≧ 2) values, a display device that performs display processing based on the image data after the conversion from
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. Reference dither matrix storage means for storing the reference dither matrix divided into threshold sets in a storage area in which addresses are consecutive in order from the threshold set of the selection start position;
In order from the threshold set of the selection start position in the reference dither matrix stored by the reference dither matrix storage means, each threshold set is subjected to the on / off determination process for all pixel values of the image data. Threshold reading means for cyclically and repeatedly reading out the plurality of threshold sets stored in the continuous storage area of the address, as many times as necessary for
Pixel value acquisition means for acquiring pixel values of the respective colors in order from pixel values of acquisition start positions common to the respective colors in the image data;
Using each threshold value of the threshold set sequentially read by the threshold value reading unit and the pixel value of each color acquired by the pixel value acquisition unit, each threshold value and a pixel value of a color corresponding to each of these threshold values Determination processing means for sequentially performing the determination processing for each combination;
N-value conversion means for converting the pixel value of each color into one of N kinds of numerical values based on the determination result of the determination processing means;
Display data generating means for generating display data based on image data composed of pixel values converted by the N-value converting means;
Display means for executing display processing based on the display data generated by the display data generation means.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成ステップと、
前記表示データ生成ステップで生成された表示データに基づき表示処理を実行する表示ステップとからなる処理をコンピュータに実行させるのに使用するプログラムを含むことを特徴とする表示プログラム。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there display program performs a display process based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A display data generation step for generating display data based on the image data composed of the pixel values converted in the N-value conversion step;
A display program comprising: a program used for causing a computer to execute a process including a display step of executing a display process based on display data generated in the display data generation step.
前記各色の前記選択開始位置の閾値からそれぞれ他色の前記選択開始位置の1つ手前の閾値まで順に、前記各色の所定の閾値を1つずつ含む閾値の組を1つの閾値セットとして、複数の閾値セットに分けられた前記基準ディザマトリックスを、前記選択開始位置の閾値セットから順番にアドレスの連続する記憶領域に記憶した基準ディザマトリックス記憶手段の前記基準ディザマトリックスにおける前記選択開始位置の閾値セットから順に、各閾値セットを、前記画像データの全画素値に対して前記オン・オフの判定処理を行うのに必要な回数分、前記アドレスの連続する記憶領域に記憶された前記複数の閾値セットに対して循環的に且つ繰り返し読み出す閾値読出ステップと、
前記画像データにおける各色共通の取得開始位置の画素値から順番に各色の画素値をそれぞれ取得する画素値取得ステップと、
前記閾値読出ステップで順次読み出される前記閾値セットの各閾値と、前記画素値取得ステップで取得される前記各色の画素値とを用いて、前記各閾値とこれらにそれぞれ対応する色の画素値との各組み合わせに対して前記判定処理を順次行う判定処理ステップと、
前記判定処理ステップの判定結果に基づき、前記各色の画素値をN種類の数値のいずれかに変換するN値化ステップと、
前記N値化ステップで変換後の画素値から構成される画像データに基づき、表示データを生成する表示データ生成ステップと、
前記表示データ生成ステップで生成された表示データに基づき表示処理を実行する表示ステップと、を含むことを特徴とする表示方法。 A configuration in which pixel values of M (M ≧ 3) values are common to each color of image data having a configuration arranged in a two-dimensional matrix, and a predetermined threshold value is less than the size of the image data and arranged in a two-dimensional matrix. The selection start position of the predetermined threshold value of each color in the reference dither matrix is shifted by a predetermined row unit or a predetermined column unit of the reference dither matrix so as to be different from other colors, and each color in the reference dither matrix The predetermined threshold value is cyclically selected with respect to the reference dither matrix in order from the selection start position in the row direction or the column direction, and is calculated based on the selected threshold value and the corresponding pixel value or the pixel value. In accordance with the magnitude relationship with the value to be determined, the dot on / off is sequentially determined, and the image data composed of the M pixel values is represented by N (M Converted to composed image data from N ≧ 2) of pixel values, there display method performs display processing based on the image data after the conversion,
In order from the threshold value of the selection start position of each color to the threshold value immediately before the selection start position of each other color, a set of threshold values each including one predetermined threshold value of each color is set as a threshold value set. From the threshold set of the selection start position in the reference dither matrix of the reference dither matrix storage means in which the reference dither matrix divided into threshold sets is stored in a storage area in which addresses are consecutive in order from the threshold set of the selection start position. In order, each threshold set is stored in the plurality of threshold sets stored in the continuous storage area of the addresses for the number of times necessary to perform the on / off determination process for all the pixel values of the image data. A threshold value reading step that cyclically and repeatedly reads out;
A pixel value acquisition step of acquiring each pixel value of each color in order from the pixel value of the acquisition start position common to each color in the image data;
Using each threshold value of the threshold set sequentially read in the threshold value reading step and the pixel value of each color acquired in the pixel value acquisition step, the threshold value and the pixel value of the color corresponding to each of these threshold values A determination processing step for sequentially performing the determination processing for each combination;
An N-value conversion step of converting the pixel value of each color into one of N types of numerical values based on the determination result of the determination processing step;
A display data generation step for generating display data based on the image data composed of the pixel values converted in the N-value conversion step;
A display step of executing a display process based on the display data generated in the display data generation step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006208528A JP2008035379A (en) | 2006-07-31 | 2006-07-31 | Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006208528A JP2008035379A (en) | 2006-07-31 | 2006-07-31 | Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008035379A true JP2008035379A (en) | 2008-02-14 |
Family
ID=39124301
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006208528A Pending JP2008035379A (en) | 2006-07-31 | 2006-07-31 | Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008035379A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018012278A (en) * | 2016-07-21 | 2018-01-25 | 株式会社ミマキエンジニアリング | Three-dimensional object forming method and three-dimensional object forming apparatus |
| CN115908364A (en) * | 2022-12-12 | 2023-04-04 | 浙江工业大学 | A digital printing product defect detection method |
-
2006
- 2006-07-31 JP JP2006208528A patent/JP2008035379A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018012278A (en) * | 2016-07-21 | 2018-01-25 | 株式会社ミマキエンジニアリング | Three-dimensional object forming method and three-dimensional object forming apparatus |
| CN115908364A (en) * | 2022-12-12 | 2023-04-04 | 浙江工业大学 | A digital printing product defect detection method |
| CN115908364B (en) * | 2022-12-12 | 2023-05-30 | 浙江工业大学 | Digital printing defect detection method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8134573B2 (en) | Encoding CMYK data for display using indexed RGB | |
| US8194279B2 (en) | Image data combining apparatus and method | |
| JPH0730772A (en) | Image processing device | |
| JP6251029B2 (en) | Control device, image processing device, control method, and program | |
| US8339663B2 (en) | Encoding of non-indexed data for printing using indexed RGB | |
| JP4752920B2 (en) | Image processing apparatus and image processing program | |
| US8619327B2 (en) | Image data color conversion technique using threshold with reduced pixels function and image processing apparatus | |
| JP2008035379A (en) | Printing apparatus, printing program, printing method, image processing apparatus, image processing program and image processing method, display apparatus, display program and display method, and storage medium storing the program | |
| JP2004120133A (en) | Image processing method and image processing apparatus | |
| JP2011244054A (en) | Image processor, image processing method, and image processing program | |
| JP6107232B2 (en) | Color separation processing method, color separation processing apparatus and program | |
| JP2006065460A (en) | Allocation of load when image processing is executed in parallel | |
| JP7332367B2 (en) | Image processing device and image processing method | |
| JP4151663B2 (en) | Generation of pattern matrix used in halftone processing | |
| US11632488B2 (en) | Image processing apparatus and image processing method | |
| US20090097045A1 (en) | Image processing apparatus and image processing program | |
| JP4577366B2 (en) | Image processing apparatus for processing a plurality of rasters in parallel | |
| JP4552882B2 (en) | Image forming apparatus, image forming method, and image forming program | |
| JP4097111B2 (en) | Image forming method and apparatus | |
| JP4228814B2 (en) | Printing method for printing images while processing multiple rasters in parallel | |
| JP5093382B2 (en) | Image forming apparatus, image forming method, and image forming program | |
| JP4784353B2 (en) | Image forming apparatus, image forming method, and image forming program | |
| JP2018148316A (en) | Control unit for causing printing execution unit to execute printing | |
| JP5924104B2 (en) | Image processing apparatus and image forming apparatus | |
| JPH06218989A (en) | Image processor |