JP6745185B2 - Threshold matrix creating method, threshold matrix creating apparatus, and program - Google Patents

Threshold matrix creating method, threshold matrix creating apparatus, and program Download PDF

Info

Publication number
JP6745185B2
JP6745185B2 JP2016193974A JP2016193974A JP6745185B2 JP 6745185 B2 JP6745185 B2 JP 6745185B2 JP 2016193974 A JP2016193974 A JP 2016193974A JP 2016193974 A JP2016193974 A JP 2016193974A JP 6745185 B2 JP6745185 B2 JP 6745185B2
Authority
JP
Japan
Prior art keywords
threshold
perimeter
dot
value
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016193974A
Other languages
Japanese (ja)
Other versions
JP2018056927A (en
Inventor
公人 勝山
公人 勝山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2016193974A priority Critical patent/JP6745185B2/en
Priority to PCT/JP2017/034746 priority patent/WO2018062180A1/en
Publication of JP2018056927A publication Critical patent/JP2018056927A/en
Application granted granted Critical
Publication of JP6745185B2 publication Critical patent/JP6745185B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は閾値マトリクスの作成方法及び閾値マトリクス作成装置並びにプログラムに係り、特に連続調画像を2値画像であるドットパターンに変換するハーフトーン処理に用いられる閾値マトリクスの作成技術に関する。 The present invention relates to a threshold matrix creating method, a threshold matrix creating apparatus, and a program, and more particularly to a threshold matrix creating technique used in halftone processing for converting a continuous tone image into a dot pattern that is a binary image.

印刷分野では、線数、角度、及びドット形状の組み合わせによって特徴付けられる振幅変調スクリーンの他、周波数変調スクリーンが採用されている。振幅変調スクリーンは、AM(Amplitude Modulation)スクリーンと呼ばれる。周波数変調スクリーンはFM(Frequency Modulation)スクリーンと呼ばれる。 In the printing field, frequency modulation screens have been adopted as well as amplitude modulation screens characterized by a combination of line number, angle, and dot shape. The amplitude modulation screen is called an AM (Amplitude Modulation) screen. The frequency modulation screen is called an FM (Frequency Modulation) screen.

特許文献1及び特許文献2に記載されているとおり、FMスクリーンをオフセット印刷で用いる場合、画像品質上でざらつきが目立つという問題がある。またFMスクリーンでは、印刷の際、或いは印刷の中間工程であるフィルムの出力の際、或いはCTP(Computer to Plate)装置による刷版の出力の際に、ドットゲインが大きくなったり、画像再現が不安定になったりする等の不具合が発生する。 As described in Patent Document 1 and Patent Document 2, when the FM screen is used in offset printing, there is a problem that roughness is conspicuous in terms of image quality. Further, in the FM screen, the dot gain becomes large and the image reproduction becomes unsuccessful at the time of printing, when outputting a film which is an intermediate step of printing, or when outputting a printing plate by a CTP (Computer to Plate) device. Problems such as becoming stable occur.

このようなFMスクリーンの課題に対し、特許文献1では、例えば、ハイライト側において1×1画素のドットを安定して再現することができない出力システムを用いる場合、ハイライト側において確実にドットを再現できるように最小ドットサイズを2×2画素にすると共に、中間調においてはざらつきが低減され、かつドットゲインの少ない2値画像を発生させることができる閾値マトリクスの作成方法を開示している。 In order to solve such a problem of the FM screen, in Patent Document 1, for example, when an output system that cannot stably reproduce 1×1 pixel dots on the highlight side is used, dots are reliably generated on the highlight side. A minimum threshold dot size is set to 2×2 pixels so as to be reproducible, and a threshold matrix generating method capable of generating a binary image with reduced graininess in halftone and less dot gain is disclosed.

出力システムの具体例として、例えば、フィルムセッター、プレートセッター、CTP装置、CTC(Computer to Cylinder)装置、DDCP(Direct Digital Color Proof)システム等の印刷分野機器のいずれか、又は、オフセット印刷機、若しくはこれらの適宜の組み合わせであってもよい。 As a specific example of the output system, for example, any one of printing field devices such as a film setter, a plate setter, a CTP device, a CTC (Computer to Cylinder) device, a DDCP (Direct Digital Color Proof) system, or an offset printing machine, or An appropriate combination of these may be used.

特許文献1に記載された閾値マトリクスの作成方法を概説する。特許文献1に記載された閾値マトリクスの作成方法は、まず、網パーセント50%でホワイトノイズパターンを生成する。次いで、ホワイトノイズパターンを高速フーリエ変換によって周波数領域に変換し、更にパターン周波数帯域フィルタをかけた後に高速逆フーリエ変換によって空間領域に変換する。こうして得られた空間領域でのデータを2値化してドットパターンを定め、このドットパターンのなかで黒化されている領域をドット候補位置とする。 The method of creating the threshold matrix described in Patent Document 1 will be outlined. In the method of creating the threshold matrix described in Patent Document 1, first, a white noise pattern is generated with a halftone dot percentage of 50%. Next, the white noise pattern is transformed into the frequency domain by the fast Fourier transform, further subjected to the pattern frequency band filter, and then transformed into the spatial domain by the fast inverse Fourier transform. The data in the space area thus obtained is binarized to define a dot pattern, and the blackened area in this dot pattern is set as a dot candidate position.

次に各網パーセントにおける最小ドットサイズの新規ドット数を決定する。そして各網パーセントにおいて、まず決定した数の最小ドットサイズの新規ドットをドット候補位置中に設定し、次に残りの画素数分のドットをドット候補位置中で既存のドットに付けて設定する処理を繰り返し、各網パーセントの閾値を設定してゆく。 Next, the number of new dots of the minimum dot size in each halftone dot percentage is determined. Then, in each halftone percentage, first, the determined number of new dots of the minimum dot size is set in the dot candidate position, and then the dots for the remaining number of pixels are attached to the existing dots in the dot candidate position and set. Repeat to set the threshold for each halftone dot percentage.

特許第4168033号明細書Patent No. 4168033 特開2005−252888号公報JP, 2005-252888, A

特許文献1に記載された方法の場合、網パーセント50%でのドットパターンによって、少なくとも中間調領域の各網パーセントを含むほぼ全部の網パーセントのドットパターンの周囲長が決まってしまう。ただし、ハイライト領域に属する網パーセントのドットパターンの周囲長は、設定された最小ドットサイズによって決まる。 In the case of the method described in Patent Document 1, the dot pattern with a dot percentage of 50% determines the perimeter of the dot pattern of almost all dot percentages including at least each dot percentage in the halftone region. However, the perimeter of the halftone dot pattern belonging to the highlight area is determined by the set minimum dot size.

しかしながら、網パーセントごとのドットパターンの周囲長は、より自由に決定できる方が望ましい。一般的に、ドットパターンの周囲長が長いほど、個々のドットが小さくなるため、ざらつきが見えにくくなり、かつインキ膜厚が薄くなるためインキ消費量が削減され、インキコスト削減や乾燥性が向上し、また色再現域が拡大される。その一方でドットパターンの周囲長が長いほどインキ膜厚が薄くなるため着肉性や耐刷性が低下し、ブランケットのパイリングやダブリなどの影響を受けやすくなり、ドットゲインの変動も大きくなることから印刷適性は低下する。 However, it is desirable that the perimeter of the dot pattern for each halftone dot can be determined more freely. Generally, the longer the perimeter of the dot pattern, the smaller the individual dots, and the less visible the roughness, and the thinner the ink film thickness, which reduces ink consumption and improves ink cost reduction and drying. In addition, the color reproduction range is expanded. On the other hand, as the perimeter of the dot pattern becomes longer, the ink film thickness becomes thinner, so that the ink inking property and the printing durability are reduced, and it becomes more susceptible to blanket piling, double-dip, etc., and the fluctuation of dot gain also increases. Therefore, printability is reduced.

これらの相反する各品質項目のバランスをとって、適切なドットパターン周囲長に調整することが必要であるが、各品質項目の最適なバランスは各網パーセントによって異なると考えられるため、各網パーセントにおいてドットパターンの周囲長を自由に決定できることが望ましい。 It is necessary to balance each of these contradictory quality items and adjust to an appropriate dot pattern perimeter, but the optimal balance of each quality item is considered to differ depending on each halftone dot, so each halftone dot percentage will be different. In, it is desirable that the perimeter of the dot pattern can be freely determined.

本発明はこのような事情に鑑みてなされたもので、出力システムの特性や要求品質などに合わせて、網パーセントごとにドットパターンの周囲長を自由に決定することができる閾値マトリクスの作成方法及び閾値マトリクス作成装置並びにプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and a method of creating a threshold matrix that can freely determine the perimeter of a dot pattern for each halftone dot according to the characteristics of the output system, the required quality, and the like. An object of the present invention is to provide a threshold matrix creating device and a program.

課題を解決するために、次の発明態様を提供する。 In order to solve the problems, the following invention modes are provided.

第1態様に係る閾値マトリクスの作成方法は、連続調画像を2値画像であるドットパターンに変換する閾値マトリクスの作成方法であって、閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定するステップと、少なくとも一部の閾値に対して閾値ごとにドットパターンの周囲長制限値を設定するステップと、少なくとも一部の閾値ごとに周囲長制限値以下となる画素を閾値の配置位置の候補とするステップと、閾値の配置位置の候補である閾値候補画素の中から、画質評価値に基づき閾値の配置位置を決定するステップと、を含む。 A threshold matrix creating method according to the first aspect is a threshold matrix creating method for converting a continuous tone image into a dot pattern that is a binary image, and an image quality evaluation value of a dot pattern corresponding to a threshold arrangement in the threshold matrix. A step of setting an evaluation function for calculating, a step of setting a perimeter limit value of the dot pattern for each threshold value with respect to at least a part of the threshold value, and a perimeter length limit value of at least a part of the threshold value or less and And a step of determining a pixel placement position of the threshold value based on the image quality evaluation value from among the threshold value candidate pixels that are candidates of the threshold placement position.

第1態様によれば、閾値に対応した網パーセントのドットパターンごとに、ドットパターンの周囲長を自由に設定して、目標とする画質と印刷適性のバランスを実現する閾値マトリクスを作成することができる。 According to the first aspect, it is possible to freely set the perimeter of the dot pattern for each halftone dot pattern corresponding to the threshold and create a threshold matrix that achieves a target balance between image quality and printability. it can.

第2態様として第1態様の閾値マトリクスの作成方法において、周囲長制限値を設定するステップは、最小閾値から最大閾値までの全閾値範囲のうち少なくとも一部の閾値区間に属する各閾値に対して周囲長制限値を設定する構成とすることができる。 In the threshold value matrix creating method of the first aspect as the second aspect, the step of setting the perimeter length limit value is performed for each threshold value belonging to at least a part of the threshold sections in the entire threshold range from the minimum threshold value to the maximum threshold value. The configuration may be such that a perimeter length limit value is set.

第3態様として第1態様又は第2態様の閾値マトリクスの作成方法において、最小サイズのドットの構成画素数である最小ドットサイズを設定するステップと、最小閾値から最大閾値までの全閾値範囲のうち最小閾値以上かつ第1閾値以下の閾値範囲であるハイライト区間、及び第1閾値よりも大きい第2閾値以上かつ最大閾値以下の閾値範囲であるシャドー区間の少なくとも一方の区間において、周囲長制限値に基づく周囲長制限の制約を非適用とし、最小ドットサイズのドットを配置するよう閾値の配置位置を決定するステップと、を含む構成とすることができる。 As a third aspect, in the threshold matrix creating method of the first aspect or the second aspect, a step of setting a minimum dot size that is the number of constituent pixels of the minimum size dot, and a total threshold range from the minimum threshold to the maximum threshold In at least one of a highlight section that is a threshold range that is greater than or equal to the minimum threshold and less than or equal to the first threshold, and a shadow section that is a threshold range that is greater than or equal to the first threshold and less than or equal to the maximum threshold, the perimeter limit value is The step of determining the arrangement position of the threshold value so as to arrange the dots of the minimum dot size by not applying the constraint of the perimeter limitation based on the above.

第4態様として第3態様の閾値マトリクスの作成方法において、第1閾値よりも大きい第3閾値以上、かつ第2閾値よりも小さい第4閾値以下の閾値範囲である中間調区間に含まれる閾値の各々について、周囲長制限値に基づく周囲長制限の制約を適用し、周囲長制限値以下となる画素に閾値を配置する構成とすることができる。 As a fourth aspect, in the threshold value matrix creating method of the third aspect, the threshold values included in the halftone interval that is a threshold value range that is equal to or greater than the third threshold value that is greater than the first threshold value and equal to or less than the fourth threshold value that is less than the second threshold value are included. It is possible to adopt a configuration in which the restriction of the perimeter limit based on the perimeter limit value is applied to each of them, and the threshold value is arranged in the pixels having the perimeter length limit value or less.

第5態様として第4態様の閾値マトリクスの作成方法において、第1閾値から第3閾値の間の閾値範囲であるハイライト移行区間及び第4閾値から第2閾値の間の閾値範囲であるシャドー移行区間のうち少なくとも一方の移行区間においては、周囲長制限の制約を非適用として最小ドットサイズのドットを配置するよう閾値の配置位置を決定する周囲長非制限処理と、周囲長制限値以下となる閾値候補画素の中から画質評価値に基づき閾値の配置位置を決定する周囲長制限処理と、を組み合わせて実施する構成とすることができる。 As a fifth aspect, in the threshold matrix creating method of the fourth aspect, a highlight transition section that is a threshold range between the first threshold and the third threshold and a shadow transition that is a threshold range between the fourth threshold and the second threshold. In at least one of the transition sections, the perimeter length non-restriction processing that determines the placement position of the threshold value to arrange the dots of the minimum dot size without applying the perimeter length restriction constraint, and the perimeter length limit value or less It is possible to adopt a configuration in which a perimeter length limiting process that determines the arrangement position of the threshold value based on the image quality evaluation value among the threshold value candidate pixels is performed in combination.

第6態様として第5態様の閾値マトリクスの作成方法において、最小ドットサイズの倍数である閾値数の連続する閾値を単位区間とする閾値範囲である複数の閾値区間を設定するステップと、複数の閾値区間の各々に対して、周囲長非制限処理により最小ドットサイズのドットを配置させる閾値数を設定するステップと、を含む構成とすることができる。 As a sixth aspect, in the method of creating the threshold matrix of the fifth aspect, a step of setting a plurality of threshold sections that is a threshold range in which a unit threshold is a consecutive threshold number that is a multiple of the minimum dot size, and a plurality of threshold values A step of setting a threshold number for arranging dots of the minimum dot size by perimeter length non-limitation processing for each of the sections may be included.

第7態様として第3態様から第6態様のいずれか一態様の閾値マトリクスの作成方法において、ハイライト区間及びシャドー区間の少なくとも一方における一部の網パーセントに適用する評価関数と、一部の網パーセント以外の他の網パーセントに適用する評価関数とを異ならせる構成とすることができる。 As a seventh aspect, in the threshold matrix creating method according to any one of the third aspect to the sixth aspect, an evaluation function applied to a part of the halftone dot percentages in at least one of the highlight section and the shadow section, and a part of the halftone dots It is possible to adopt a configuration in which an evaluation function applied to a mesh percentage other than the percentage is different.

第8態様として第1態様から第7態様のいずれか一態様の閾値マトリクスの作成方法において、周囲長制限値以下となる閾値候補画素が不存在である場合、周囲長が最小となる画素を閾値候補画素とする構成とすることができる。 In the threshold matrix creating method according to any one of the first to seventh aspects as an eighth aspect, when there is no threshold candidate pixel that is equal to or less than the perimeter limit value, the pixel with the smallest perimeter is set as the threshold. It can be configured to be a candidate pixel.

第9態様として第1態様から第8態様のいずれか一態様の閾値マトリクスの作成方法において、振幅変調スクリーンの線数を設定するステップと、線数から閾値ごとの周囲長制限値を設定するステップと、を含む構成とすることができる。 As a ninth aspect, in the threshold matrix creating method according to any one of the first to eighth aspects, a step of setting the number of lines of the amplitude modulation screen, and a step of setting a perimeter limit value for each threshold from the number of lines And can be configured to include.

第10態様として第1態様から第9態様のいずれか一態様の閾値マトリクスの作成方法において、周囲長制限値に基づく周囲長制限に加え、各画素の周囲長に基づく第1の追加制約条件を設定するステップと、第1の追加制約条件に従い、各画素の周囲長に基づき、閾値の配置位置の候補を限定するステップと、を含む構成とすることができる。 In the threshold matrix creating method according to any one of the first to ninth aspects as a tenth aspect, in addition to the perimeter limitation based on the perimeter limitation value, a first additional constraint condition based on the perimeter of each pixel is added. The configuration may include a step of setting and a step of limiting candidates for the arrangement position of the threshold value based on the perimeter of each pixel according to the first additional constraint condition.

第11態様として第1態様から第10態様のいずれか一態様の閾値マトリクスの作成方法において、周囲長制限値に基づく周囲長制限に加え、各画素の周囲長に基づく優先順を設定するステップと、優先順に従い、各画素の周囲長に基づき、閾値候補画素を設定するステップと、を含む構成とすることができる。 In the threshold matrix creating method according to any one of the first to tenth aspects as an eleventh aspect, in addition to the perimeter limitation based on the perimeter limitation value, a step of setting a priority order based on the perimeter of each pixel, , Setting threshold candidate pixels based on the perimeter of each pixel according to the priority order.

第12態様として第10態様の閾値マトリクスの作成方法において、最小閾値から最大閾値までの全閾値範囲のうちの第3閾値以上第4閾値以下の閾値範囲である中間調区間において、各画素の周囲長に基づく第1の追加制約条件を異ならせた複数の閾値区間に分けるステップを含む構成とすることができる。 As a twelfth aspect, in the threshold value matrix creating method of the tenth aspect, in the halftone interval which is a threshold range of the third threshold value to the fourth threshold value in the entire threshold range from the minimum threshold value to the maximum threshold value, the periphery of each pixel is The configuration may include a step of dividing the first additional constraint condition based on the length into a plurality of different threshold sections.

第13態様として第11態様の閾値マトリクスの作成方法において、最小閾値から最大閾値までの全閾値範囲のうちの第3閾値以上第4閾値以下の閾値範囲である中間調区間において、各画素の周囲長に基づく優先順のルールを異ならせた複数の閾値区間に分けるステップを含む構成とすることができる。 In the threshold value matrix creating method according to the eleventh aspect as the thirteenth aspect, in the halftone interval which is the threshold range of the third threshold value to the fourth threshold value in the entire threshold value range from the minimum threshold value to the maximum threshold value, the periphery of each pixel is The configuration may include a step of dividing the rule of the priority order based on the length into a plurality of different threshold sections.

第14態様として第1態様から第13態様のいずれか一態様の閾値マトリクスの作成方法において、閾値未設定画素の周囲の閾値設定済み画素の配置に基づく第2の追加制約条件を設定するステップと、第2の追加制約条件に従い、閾値未設定画素の周囲の閾値設定済み画素の配置に基づき、閾値の配置の候補を限定するステップと、を含む構成とすることができる。 As a fourteenth aspect, in the threshold value matrix creating method according to any one of the first to thirteenth aspects, a step of setting a second additional constraint condition based on the arrangement of the threshold-set pixels around the threshold-unset pixels; According to the second additional constraint condition, the step of limiting candidates for the threshold value arrangement based on the arrangement of the threshold value-set pixels around the threshold-unset pixel can be included.

第15態様として第14態様の閾値マトリクスの作成方法において、周囲の閾値設定済み画素の周囲長に基づく第3の追加制約条件を設定するステップと、第2の追加制約条件及び第3の追加制約条件に従い、閾値未設定画素の周囲の閾値設定済み画素の配置及び周囲の閾値設定済み画素の周囲長に基づき、閾値の配置の候補を限定するステップと、を含む構成とすることができる。 As a fifteenth aspect, in the threshold value matrix creating method of the fourteenth aspect, a step of setting a third additional constraint condition based on the perimeter of the surrounding threshold-set pixels, a second additional constraint condition, and a third additional constraint According to the condition, a step of limiting candidates for threshold placement based on the placement of threshold-set pixels around the threshold-unset pixels and the perimeter of the surrounding threshold-set pixels may be included.

第16態様に係る閾値マトリクス作成装置は、連続調画像を2値画像であるドットパターンに変換する閾値マトリクスを作成する閾値マトリクス作成装置であって、閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定する評価関数設定部と、少なくとも一部の閾値に対して閾値ごとにドットパターンの周囲長制限値を設定する周囲長制限値設定部と、少なくとも一部の閾値ごとに周囲長制限値以下となる画素を閾値の配置位置の候補とする閾値候補画素決定部と、閾値の配置位置の候補である閾値候補画素の中から、画質評価値に基づき閾値の配置位置を決定する閾値配置決定部と、を備える。 A threshold value matrix creating device according to a sixteenth aspect is a threshold value matrix creating device that creates a threshold value matrix that converts a continuous tone image into a dot pattern that is a binary image. An evaluation function setting unit that sets an evaluation function for calculating the image quality evaluation value, a perimeter length limit value setting unit that sets a perimeter limit value of the dot pattern for each threshold value for at least some threshold values, and at least one A threshold based on the image quality evaluation value is selected from among the threshold candidate pixel determination unit that determines a pixel whose perimeter is less than or equal to the perimeter limit value as a candidate for the threshold position, and the threshold candidate pixel that is a candidate for the threshold position. A threshold placement determining unit that determines the placement position of the.

第16態様の閾値マトリクス作成装置において、第2態様から第15態様で特定した事項と同様の事項を適宜組み合わせることができる。その場合、閾値マトリクスの作成方法において特定されるステップの要素は、これに対応する処理や動作を行う手段である処理部若しくは機能部として把握することができる。 In the threshold value matrix creating device of the sixteenth aspect, the same matters as the matters specified in the second to fifteenth aspects can be appropriately combined. In that case, the element of the step specified in the method of creating the threshold matrix can be understood as a processing unit or a functional unit that is a unit that performs the corresponding processing or operation.

第17態様に係るプログラムは、連続調画像を2値画像であるドットパターンに変換する閾値マトリクスの作成機能をコンピュータに実現させるプログラムであって、コンピュータに、閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定する機能と、少なくとも一部の閾値に対して閾値ごとにドットパターンの周囲長制限値を設定する機能と、少なくとも一部の閾値ごとに周囲長制限値以下となる画素を閾値の配置位置の候補とする機能と、閾値の配置位置の候補である閾値候補画素の中から、画質評価値に基づき閾値の配置位置を決定する機能と、を実現させるプログラムである。 A program according to a seventeenth aspect is a program for causing a computer to realize a function of creating a threshold value matrix for converting a continuous tone image into a dot pattern which is a binary image, the dot corresponding to an arrangement of threshold values in the threshold value matrix. A function to set the evaluation function for calculating the image quality evaluation value of the pattern, a function to set the perimeter limit value of the dot pattern for each threshold with respect to at least some thresholds, and a surrounding for at least some thresholds. A function of setting a pixel having a length limit value or less as a candidate for a threshold arrangement position, and a function of determining a threshold arrangement position based on an image quality evaluation value from among threshold candidate pixels which are candidates for the threshold arrangement position. It is a program to be realized.

第17態様のプログラムにおいて、第2態様から第15態様で特定した事項と同様の事項を適宜組み合わせることができる。その場合、閾値マトリクスの作成方法において特定されるステップの要素は、これに対応する処理や動作の機能を実現させるプログラムの要素として把握することができる。 In the program of the seventeenth aspect, the same matters as the matters specified in the second to fifteenth aspects can be appropriately combined. In that case, the element of the step specified in the method of creating the threshold matrix can be understood as the element of the program that realizes the function of the process or operation corresponding thereto.

本発明によれば、相反する品質項目である画質と印刷適性とのバランスを網パーセントごとに自由に決定でき、目標とするバランスを実現するドットパターンが得られる閾値マトリクスを作成することができる。 According to the present invention, a balance between image quality and printability, which are contradictory quality items, can be freely determined for each halftone dot, and a threshold matrix that can obtain a dot pattern that achieves a target balance can be created.

図1はドットパターンの例を示す図である。FIG. 1 is a diagram showing an example of a dot pattern. 図2はドットパターンの他の例を示す図である。FIG. 2 is a diagram showing another example of the dot pattern. 図3は実施形態に係る閾値マトリクスの作成方法の概要を示すフローチャートである。FIG. 3 is a flowchart showing the outline of the method of creating the threshold matrix according to the embodiment. 図4は網パーセントと閾値の対応関係を示した説明図である。FIG. 4 is an explanatory diagram showing the correspondence between halftone dot percentages and threshold values. 図5はハイライト移行区間における最小ドットサイズの新規ドット数の減らし方の設定例を示す図表である。FIG. 5 is a chart showing a setting example of how to reduce the number of new dots of the minimum dot size in the highlight transition section. 図6は周囲長制限値の設定例を示すグラフである。FIG. 6 is a graph showing a setting example of the perimeter length limit value. 図7は20×20画素のマトリクスサイズにおける閾値131に対応するドットパターンの例を示す図である。FIG. 7 is a diagram showing an example of a dot pattern corresponding to the threshold 131 in a matrix size of 20×20 pixels. 図8は図7のドットパターンに対し、閾値未設定の各画素においてドットを配置した場合の各画素における周囲長を付記した図である。FIG. 8 is a diagram in which the perimeter of each pixel when a dot is arranged in each pixel for which a threshold value has not been set is added to the dot pattern of FIG. 7. 図9は閾値未設定画素と閾値設定済み画素の隣接関係と、閾値未設定画素の周囲長、並びに、閾値未設定画素にドットを配置した場合の周囲長増分の関係を示した図表である。FIG. 9 is a table showing the adjacency relationship between non-threshold-set pixels and threshold-set pixels, the perimeter of the non-threshold pixels, and the perimeter increase when dots are placed in the non-threshold pixels. 図10は本発明の実施形態に係る閾値マトリクス作成装置の機能的構成を示すブロック図である。FIG. 10 is a block diagram showing the functional configuration of the threshold value matrix creating device according to the embodiment of the present invention. 図11は閾値マトリクス作成装置におけるパラメータ設定処理の第1例を示すフローチャートである。FIG. 11 is a flowchart showing a first example of parameter setting processing in the threshold value matrix creating device. 図12は閾値マトリクス作成装置における閾値設定処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of threshold setting processing in the threshold matrix creating device. 図13は昇順の閾値設定処理の流れを示したフローチャートである。FIG. 13 is a flowchart showing the flow of the ascending threshold setting process. 図14はハイライト側とシャドー側とから閾値を交互に順次設定する場合のフローチャートである。FIG. 14 is a flow chart when the threshold values are alternately set from the highlight side and the shadow side. 図15は本実施形態により作成される閾値マトリクスのドットパターン周囲長の例を示すグラフである。FIG. 15 is a graph showing an example of the dot pattern perimeter of the threshold matrix created according to this embodiment. 図16は網点の角度が0度である場合のAMスクリーンの一例を示す図である。FIG. 16 is a diagram showing an example of the AM screen when the angle of the halftone dots is 0 degree. 図17は網点の角度が0度である網点の一例を示す図である。FIG. 17 is a diagram showing an example of halftone dots having an angle of halftone dots of 0 degree. 図18は網点の角度が15度である網点の一例を示す図である。FIG. 18 is a diagram showing an example of halftone dots having an angle of 15 degrees. 図19は円形の網点により構成されるAMスクリーンの一例を示す図である。FIG. 19 is a diagram showing an example of an AM screen composed of circular halftone dots. 図20は円形の網点の一例を示す図である。FIG. 20 is a diagram showing an example of circular halftone dots. 図21は出力解像度が2400dpi(dot per inch)である場合の1平方インチ当たりの周囲長の例を示すグラフである。FIG. 21 is a graph showing an example of the perimeter length per square inch when the output resolution is 2400 dpi (dot per inch). 図22は閾値マトリクス作成装置におけるパラメータ設定処理の第2例を示すフローチャートである。FIG. 22 is a flowchart showing a second example of the parameter setting process in the threshold matrix creating device. 図23は閾値マトリクス作成装置におけるパラメータ設定処理の第3例を示すフローチャートである。FIG. 23 is a flowchart showing a third example of the parameter setting process in the threshold matrix creating device. 図24は閾値マトリクス作成装置におけるパラメータ設定処理の第4例を示すフローチャートである。FIG. 24 is a flowchart showing a fourth example of the parameter setting process in the threshold matrix creating device. 図25は周囲長2の画素に対する周囲のドット配置制約の例を示す説明図である。FIG. 25 is an explanatory diagram showing an example of surrounding dot arrangement restrictions for pixels having a peripheral length of 2. 図26は周囲長2の画素に対する周囲のドット配置制約の例を示す説明図である。FIG. 26 is an explanatory diagram showing an example of a surrounding dot arrangement restriction for a pixel having a peripheral length of 2. 図27は周囲長3の画素に対する周囲のドット配置制約の例を示す説明図である。FIG. 27 is an explanatory diagram showing an example of a surrounding dot arrangement restriction for a pixel having a peripheral length of 3. 図28は周囲長2の画素に対する周囲のドット配置制約の例を示す説明図である。FIG. 28 is an explanatory diagram showing an example of surrounding dot arrangement restrictions for pixels with a peripheral length of 2. 図29は周囲長3の画素に対する周囲のドット配置制約の例を示す説明図である。FIG. 29 is an explanatory diagram showing an example of a surrounding dot arrangement restriction for a pixel having a peripheral length of 3. 図30は閾値マトリクス作成装置におけるパラメータ設定処理の第5例を示すフローチャートである。FIG. 30 is a flowchart showing a fifth example of parameter setting processing in the threshold value matrix creating device. 図31は周囲長3の画素に対する周囲のドットの周囲長に基づく制約条件の例を示す説明図である。FIG. 31 is an explanatory diagram showing an example of constraint conditions based on the perimeter of surrounding dots for a pixel of perimeter 3. 図32は周囲長3の画素に対する周囲のドットの周囲長に基づく制約条件の例を示す説明図である。FIG. 32 is an explanatory diagram showing an example of a constraint condition based on the perimeter of surrounding dots for a pixel having a perimeter of 3. 図33は閾値マトリクス作成装置におけるパラメータ設定処理の第6例を示すフローチャートである。FIG. 33 is a flow chart showing a sixth example of parameter setting processing in the threshold value matrix creating device. 図34は閾値マトリクス作成装置のハードウェア構成の例を示すブロック図である。FIG. 34 is a block diagram showing an example of the hardware configuration of the threshold value matrix creating device. 図35は印刷システムの構成例を示す図である。FIG. 35 is a diagram showing a configuration example of a printing system.

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

[ドットパターンの周囲長について]
まず、ドットパターンの周囲長について簡単に説明する。図1はドットパターンの一例を示す図である。図1に例示されたドットパターン10Aは、12×12画素の画素領域内に、1×1画素ドット14が16個含まれている。1×1画素ドット14は、縦1画素×横1画素の大きさのドットである。1つの画素は1辺の長さがLの正方形であるとする。Lは出力システムの出力解像度によって定まる。例えば、出力解像度が2400dpiである場合、Lは約10.58マイクロメートル[μm]である。dpi(dot per inch)は1インチ当たりのドットの数を表す単位である。1インチは25.4ミリメートル[mm]である。
[About the perimeter of the dot pattern]
First, the perimeter of the dot pattern will be briefly described. FIG. 1 is a diagram showing an example of a dot pattern. The dot pattern 10A illustrated in FIG. 1 includes 16 1×1 pixel dots 14 in a pixel region of 12×12 pixels. The 1×1 pixel dot 14 is a dot having a size of vertical 1 pixel×horizontal 1 pixel. It is assumed that one pixel is a square having a side length L u . L u depends on the output resolution of the output system. For example, when the output resolution is 2400 dpi, L u is about 10.58 micrometers [μm]. dpi (dot per inch) is a unit representing the number of dots per inch. One inch is 25.4 millimeters [mm].

図1においてグレーの塗り潰しにより表示した画素がドットオンの黒画素であり、白抜きで表示した画素がドットオフの白画素である。ドットパターン10Aの黒画素の面積の総和は、16個×L =16L である。ドットパターン10Aの周囲長は白黒境界の長さの総和である。白黒境界の長さとは、白画素と黒画素の境界線の長さである。1×1画素ドット14のドット周囲の長さ、つまりドット周囲長は4Lである。ドット周囲長とは1つのドットの白黒境界の長さである。16個の1×1画素ドット14が配置されたドットパターン10Aの周囲長は、16個×4L=64Lである。「ドットパターンの周囲長」とは、ドットパターンにおけるドット周囲長の総和であり、「ドットパターン周囲長」ともいう。 In FIG. 1, the pixels displayed by filling in gray are the dot-on black pixels, and the pixels displayed in white are the dot-off white pixels. The total area of the black pixels of the dot pattern 10A is 16×L u 2 =16L u 2 . The perimeter of the dot pattern 10A is the total length of the black and white boundaries. The black-and-white boundary length is the length of the boundary line between the white pixel and the black pixel. The dot perimeter of the 1×1 pixel dot 14, that is, the dot perimeter is 4L u . The dot perimeter is the length of the black and white boundary of one dot. The perimeter of the dot pattern 10A in which 16 1×1 pixel dots 14 are arranged is 16×4L u =64L u . The "perimeter of the dot pattern" is the sum of the perimeters of the dots in the dot pattern, and is also referred to as the "perimeter of the dot pattern".

図2は他のドットパターンの例を示す図である。図2に例示されたドットパターン10Bは、12×12画素の画素領域内に、2×2画素ドット18が4個含まれている。2×2画素ドット18は、縦2画素×横2画素の大きさのドットであることを示している。図2においてグレーの塗り潰しにより表示した画素がドットオンの黒画素であり、白抜きで表示した画素がドットオフの白画素である。2×2画素ドット18は1辺の長さが2L、ドット周囲長が8Lのドットである。ドットパターン10Bの黒画素の面積の総和は、16個×L である。ドットパターン10Bの周囲長は、4個×8L=32Lである。 FIG. 2 is a diagram showing an example of another dot pattern. The dot pattern 10B illustrated in FIG. 2 includes four 2×2 pixel dots 18 in a pixel region of 12×12 pixels. The 2×2 pixel dot 18 indicates that the dot has a size of 2 vertical pixels×2 horizontal pixels. In FIG. 2, the pixels displayed by filling in gray are the dot-on black pixels, and the pixels displayed by the outline are the dot-off white pixels. The 2×2 pixel dot 18 is a dot having a side length of 2L u and a dot circumference length of 8L u . The total area of the black pixels of the dot pattern 10B is 16×L u 2 . The perimeter of the dot pattern 10B is 4×8L u =32L u .

図1に示したドットパターン10Aと図2に示したドットパターン10Bは、黒画素の面積の総和は同じである。つまり、ドットパターン10Aとドットパターン10Bは、12×12画素を単位面積とする単位面積当たりの黒画素の面積の総和が同じであり、網パーセントは同じである。一方、それぞれのドットパターンの周囲長については、ドットパターン10Aの周囲長が64Lであるのに対し、ドットパターン10Bの周囲長は32Lであり、ドットパターン10Aの周囲長の方がドットパターン10Bの周囲長よりも2倍長い。 The dot pattern 10A shown in FIG. 1 and the dot pattern 10B shown in FIG. 2 have the same total area of black pixels. That is, the dot pattern 10A and the dot pattern 10B have the same total area of black pixels per unit area with 12×12 pixels as the unit area, and have the same halftone dot percentage. On the other hand, the circumferential length of each of the dot patterns, while the perimeter of the dot pattern 10A is 64L u, the perimeter of the dot pattern 10B is 32L u, the dot pattern towards the perimeter of the dot patterns 10A Twice longer than the perimeter of 10B.

同じ網パーセントの場合、ドットパターンの周囲長が長い方が、1つ1つのドットが小さくなり、ざらつきが見えにくくなる一方で、ドットゲインが増大し印刷適性が悪くなる。 When the dot percentage is the same, the larger the dot pattern perimeter becomes, the smaller each dot becomes and the less visible the roughness becomes, but the dot gain increases and the printability deteriorates.

本開示では、要求される印刷画質と印刷適性とのバランスを満たすよう、網パーセントごとのドットパターンの周囲長を自由に設定して所望の閾値マトリクスを作成することができる手段を提供する。閾値マトリクスは、連続調画像を2値画像であるドットパターンに変換するマトリクスであり、ディザ法によるハーフトーン処理に用いられる。閾値マトリクスは、ディザマトリクスとも呼ばれる。 The present disclosure provides a means capable of freely setting the perimeter of a dot pattern for each halftone percentage to create a desired threshold matrix so as to satisfy the required balance between print quality and printability. The threshold matrix is a matrix that converts a continuous tone image into a dot pattern that is a binary image, and is used for halftone processing by the dither method. The threshold matrix is also called a dither matrix.

[実施形態に係る閾値マトリクスの作成方法]
以下、実施形態に係る閾値マトリクスの作成方法について説明する。図3は実施形態に係る閾値マトリクスの作成方法の概要を示すフローチャートである。図3のフローチャートに示される処理のステップを実行する主体は、例えば、図示せぬ閾値マトリクス作成装置として機能するコンピュータである。コンピュータはプログラムを実行することにより、閾値マトリクス作成装置として機能し得る。
[Method of Creating Threshold Matrix According to Embodiment]
Hereinafter, a method of creating a threshold matrix according to the embodiment will be described. FIG. 3 is a flowchart showing the outline of the method of creating the threshold matrix according to the embodiment. The main body that executes the steps of the process shown in the flowchart of FIG. 3 is, for example, a computer that functions as a threshold matrix creation device (not shown). By executing the program, the computer can function as a threshold matrix creating device.

本実施形態に係る閾値マトリクスの作成方法は、パラメータを設定するステップ(ステップS1)と、周囲長制限の下で画質評価値に基づき閾値を順次設定するステップ(ステップS2)と、を含む。なお、閾値マトリクスの作成において「閾値を設定する」とは、マトリクス内の画素に閾値を配置することを意味している。つまり、閾値を設定することは、閾値マトリクスにおける閾値未設定の画素の中から閾値を配置する画素を決定し、その画素の位置に閾値を配置することを指す。 The threshold value matrix creating method according to the present embodiment includes a step of setting parameters (step S1) and a step of sequentially setting threshold values based on the image quality evaluation value under the perimeter restriction (step S2). It should be noted that in the creation of the threshold matrix, “setting the threshold” means arranging the threshold in pixels in the matrix. That is, setting the threshold value means determining a pixel to which the threshold value is to be arranged from pixels in which the threshold value is not set in the threshold value matrix, and disposing the threshold value at the position of the pixel.

周囲長制限は、閾値を設定する際の制約条件の1つである。ドットパターンの周囲長が周囲長制限値以下となる画素が閾値を配置する画素の候補となる。画質評価値は、どの画素に閾値を配置すれば良好な画質が得られるかという観点から、閾値を配置すべき画素の位置を決定するための判断指標として用いられる。 The perimeter limit is one of constraint conditions when setting a threshold value. Pixels in which the perimeter of the dot pattern is equal to or less than the perimeter limit value are candidates for the pixels in which the threshold is arranged. The image quality evaluation value is used as a determination index for determining the position of the pixel in which the threshold value is to be arranged, from the viewpoint of which pixel should have the threshold value to obtain good image quality.

<ステップS1の説明>
ステップS1において、閾値マトリクス作成装置は、閾値マトリクスの作成に必要な各種パラメータを設定する。閾値マトリクスの作成に必要なパラメータとして、閾値マトリクスのサイズ、画質評価値を算出するための評価関数、及び初期配置などがある。閾値マトリクスのサイズを「マトリクスサイズ」という。初期配置とは、各閾値の配置を順次決定していく際の初期のドット配置となる特定の網パーセントに対応するドット配置をいう。
<Explanation of Step S1>
In step S1, the threshold matrix creating device sets various parameters necessary for creating the threshold matrix. The parameters necessary for creating the threshold matrix include the size of the threshold matrix, the evaluation function for calculating the image quality evaluation value, and the initial arrangement. The size of the threshold matrix is called “matrix size”. The initial arrangement means a dot arrangement corresponding to a particular halftone dot ratio which is an initial dot arrangement when the arrangement of each threshold value is sequentially determined.

また、ステップS1において、閾値マトリクス作成装置は、少なくとも一部の閾値について、閾値ごとに周囲長制限値を設定する。周囲長制限値は、マトリクスサイズ全体のドットパターンにおける周囲長の総和の制限値である。周囲長制限値は、閾値を配置する画素の候補となる閾値候補画素を決めるための制約条件となる。閾値未設定の画素のうち周囲長制限値以下となる画素が閾値候補画素となり得る。 Further, in step S1, the threshold matrix creation device sets a perimeter limit value for each threshold with respect to at least some thresholds. The perimeter length limit value is a total limit value of the perimeter lengths in the dot patterns of the entire matrix size. The perimeter limit value is a constraint condition for determining threshold candidate pixels that are candidates for pixels in which thresholds are arranged. Among the pixels for which the threshold value is not set, the pixels having the perimeter length limit value or less can be the threshold value candidate pixels.

また、ステップS1において、閾値マトリクス作成装置は、ハイライトにおいて確実にドット再現できるように最小ドットサイズを設定し、かつ、ハイライトから中間調にかけての最小ドットサイズの新規ドット数の減らし方を設定する。 Further, in step S1, the threshold value matrix creating device sets the minimum dot size so that dots can be reliably reproduced in highlight, and sets how to reduce the number of new dots of the minimum dot size from highlight to halftone. To do.

最小ドットサイズとは、図示せぬ出力システムによって安定して形成可能な最小サイズの孤立ドットの構成画素数である。最小ドットサイズは、出力システムの出力解像度から規定される1画素の大きさを単位とする画素数によって表される。出力システムの構成は各種形態があり得るが、例えば、出力システムは、プレートセッターと、プレートセッターから出力された刷版を用いて印刷するオフセット印刷機と含むシステムである。 The minimum dot size is the number of constituent pixels of an isolated dot having a minimum size that can be stably formed by an output system (not shown). The minimum dot size is represented by the number of pixels with the size of one pixel defined by the output resolution of the output system as a unit. The output system may have various configurations. For example, the output system is a system including a platesetter and an offset printing machine that prints using a printing plate output from the platesetter.

最小ドットサイズは、使用される出力システムに依存して決定される。出力システムにより安定して形成可能な最小サイズの孤立ドットの画素数が2×2画素である場合、最小ドットサイズは2×2画素に設定される。この場合、最小ドットサイズの画素数は「4」である。 The minimum dot size is determined depending on the output system used. When the number of pixels of the minimum size isolated dot that can be stably formed by the output system is 2×2 pixels, the minimum dot size is set to 2×2 pixels. In this case, the number of pixels of the minimum dot size is “4”.

以下、具体例として、最小ドットサイズが2×2画素であり、マトリクスサイズが20×20画素である場合を例に説明する。本例では最小閾値が閾値1、最大閾値が閾値400であるとし、閾値1から閾値400までの400個の閾値を20×20画素のマトリクスの各画素に配置する例を述べる。 Hereinafter, as a specific example, a case where the minimum dot size is 2×2 pixels and the matrix size is 20×20 pixels will be described as an example. In this example, assuming that the minimum threshold value is threshold value 1 and the maximum threshold value is threshold value 400, 400 threshold values from threshold value 1 to threshold value 400 are arranged in each pixel of a 20×20 pixel matrix.

まず、ハイライトの閾値を設定する例を説明する。ハイライトの閾値とは、網パーセント50%以下のハイライト側の階調域に属する閾値を指す。網パーセント50%を超えるシャドー側の階調域に属する閾値をシャドーの閾値という。 First, an example of setting a highlight threshold will be described. The highlight threshold value refers to a threshold value that belongs to the gradation region on the highlight side with halftone dot percentage of 50% or less. A threshold value that belongs to the gradation range on the shadow side exceeding halftone dot percentage 50% is called the shadow threshold value.

図4は網パーセントと閾値の対応関係を示した説明図である。最小閾値である閾値1は網パーセント0%に対応し、最大閾値である閾値400は網パーセント100%に対応する。閾値200は網パーセント50%に対応する。他の各閾値と網パーセントの値の関係は、直線補間の演算によって対応付けられる。 FIG. 4 is an explanatory diagram showing the correspondence between halftone dot percentages and threshold values. Threshold value 1 which is the minimum threshold value corresponds to 0% of halftone dot, and threshold value 400 which is the maximum threshold value corresponds to 100% of halftone dot. The threshold value 200 corresponds to a halftone dot percentage of 50%. The relationship between each of the other threshold values and the halftone dot value is associated by the calculation of linear interpolation.

図4に示すように、最小閾値から最大閾値までの全閾値範囲は、閾値の大きさによって複数の閾値区間に分けられる。図4ではハイライト区間、ハイライト移行区間、中間調区間、シャドー移行区間、シャドー区間の6つの区間に区分けされた例が示されている。中間調区間は、網パーセント50%を境にしてハイライト側の中間調区間であるハイライト中間調区間と、シャドー側の中間調区間であるシャドー中間調区間と2つの区間に分けることができる。 As shown in FIG. 4, the entire threshold range from the minimum threshold to the maximum threshold is divided into a plurality of threshold sections according to the size of the threshold. FIG. 4 shows an example divided into six sections: a highlight section, a highlight transition section, a halftone section, a shadow transition section, and a shadow section. The halftone section can be divided into two sections with a halftone area of 50% as a boundary, a highlight halftone section which is a highlight-side halftone section, and a shadow halftone section which is a shadow-side halftone section. ..

図4の例におけるハイライト区間は、閾値1〜閾値16の区間である。なお、pとqがそれぞれ整数であり、p<qである場合に「閾値p〜閾値q」という表記、又は「閾値q〜閾値p」という表記は、閾値p以上閾値q以下の閾値範囲を意味する。また、閾値p〜閾値qの区間を「閾値区間p〜q」と表記する場合がある。 The highlight section in the example of FIG. 4 is a section from threshold 1 to threshold 16. When p and q are integers and p<q, the expression "threshold p-threshold q" or the expression "threshold q-threshold p" indicates a threshold range from the threshold p to the threshold q. means. In addition, the section from the threshold value p to the threshold value q may be referred to as “threshold value section p to q”.

ハイライト側の初期配置は、例えば、閾値8に対応する網パーセントのドット配置として設定される。閾値8以下の閾値範囲、つまり閾値1〜閾値8の区間を極ハイライト区間と呼ぶ。図4において極ハイライト区間は「極HL区間」と表記されている。HLはハイライト(highlight)を表す簡易表記である。 The initial arrangement on the highlight side is set, for example, as a dot arrangement of halftone dots corresponding to the threshold value 8. A threshold range equal to or less than the threshold value 8, that is, a section from the threshold value 1 to the threshold value 8 is called an extreme highlight section. In FIG. 4, the pole highlight section is described as “pole HL section”. HL is a shorthand notation for highlight.

ハイライト移行区間は、閾値17〜閾値64の区間である。中間調区間は閾値65〜337の区間である。中間調区間のうち閾値65〜閾値200の区間がハイライト中間調区間である。 The highlight transition section is a section from threshold 17 to threshold 64. The halftone section is a section of threshold values 65 to 337. Among the halftone intervals, the interval between the threshold value 65 and the threshold value 200 is the highlight intermediate tone interval.

ハイライト側の区間設定と、シャドー側の区間設定は、網パーセント50%を境に対称的は構造となっている。閾値385〜閾値400の区間がシャドー区間である。シャドー側の初期配置は例えば、閾値393に対応する網パーセントのドット配置として設定される。閾値393〜閾値400の区間を極シャドー区間とする。図4において極シャドー区間は「極SD区間」と表記されている。SDはシャドー(shadow)を表す簡易表記である。閾値337〜閾値384の区間がシャドー移行区間である。閾値201〜閾値336の区間がシャドー中間調区間である。 The section setting on the highlight side and the section setting on the shadow side have a symmetrical structure with a halftone dot percentage of 50% as a boundary. The section between the threshold value 385 and the threshold value 400 is the shadow section. The initial arrangement on the shadow side is set, for example, as a dot arrangement of halftone dots corresponding to the threshold value 393. A section between the threshold value 393 and the threshold value 400 is a polar shadow section. In FIG. 4, the polar shadow section is described as “polar SD section”. SD is a shorthand notation for shadow. The section between the threshold value 337 and the threshold value 384 is the shadow transition section. The interval between threshold 201 and threshold 336 is the shadow halftone interval.

ハイライト移行区間は、ハイライト区間からハイライト中間調区間に移行する閾値区間である。シャドー移行区間は、シャドー区間からシャドー中間調区間に移行する閾値区間である。 The highlight transition section is a threshold section that transitions from the highlight section to the highlight halftone section. The shadow transition section is a threshold section that transitions from the shadow section to the shadow halftone section.

図5はハイライト移行区間における最小ドットサイズの新規ドット数の減らし方の設定例を示す図表である。ハイライト移行区間には、閾値の配置を決める際の単位区間が設定される。単位区間の閾値数は最小ドットサイズの倍数で定められる。ここでは、最小ドットサイズの画素数が「4」であるため、単位区間の閾値数の例として、4の倍数である16とした。すなわち、ハイライト移行区間は、閾値数が16の単位区間である閾値区間17〜32と、閾値区間33〜48と、閾値区間49〜64との3つの区間に分けられる。 FIG. 5 is a chart showing a setting example of how to reduce the number of new dots of the minimum dot size in the highlight transition section. The highlight transition section is set with a unit section for determining the arrangement of thresholds. The threshold number of unit intervals is determined by a multiple of the minimum dot size. Here, since the number of pixels of the minimum dot size is “4”, the threshold number of the unit section is set to 16, which is a multiple of 4, as an example. That is, the highlight transition section is divided into three sections, that is, a threshold section 17 to 32, which is a unit section having a threshold number of 16, a threshold section 33 to 48, and a threshold section 49 to 64.

閾値区間17〜32に対して、この単位区間あたりの新規ドット閾値数が「12」に設定される。新規ドット閾値数とは、最小ドットサイズの新規ドットを発生させる閾値数を意味する。本例の最小ドットサイズは「4」であるため、最小ドットサイズの新規ドット閾値数が12とは、閾値区間17〜32の区間において最小ドットサイズの新規ドットが3個配置されることを意味する。 For the threshold sections 17 to 32, the number of new dot thresholds per unit section is set to "12". The new dot threshold number means the threshold number for generating new dots of the minimum dot size. Since the minimum dot size of this example is “4”, the number of new dot thresholds of the minimum dot size is 12 means that three new dots of the minimum dot size are arranged in the threshold section 17 to 32. To do.

同様に、閾値区間33〜48に対して、この単位区間あたりの新規ドット閾値数が8に設定される。新規ドット閾値数が8とは、閾値区間33〜48の区間において最小ドットサイズの新規ドットが2つ配置されることを意味する。 Similarly, for the threshold sections 33 to 48, the number of new dot thresholds per unit section is set to 8. The new dot threshold number of 8 means that two new dots having the minimum dot size are arranged in the threshold sections 33 to 48.

また、閾値区間49〜64に対して、この単位区間あたりの新規ドット閾値数が4に設定される。新規ドット閾値数が4とは、閾値区間49〜64の区間において最小ドットサイズの新規ドットが1つ配置されることを意味する。 Also, for the threshold sections 49 to 64, the new dot threshold number per unit section is set to 4. When the number of new dot thresholds is 4, it means that one new dot having the minimum dot size is arranged in the threshold sections 49 to 64.

つまり、図5に示す設定によれば、閾値区間17〜32において発生させる最小ドットサイズの新規ドット数は3個、閾値区間33〜48において発生させる最小ドットサイズの新規ドット数は2個、閾値区間49〜64において発生させる最小ドットサイズの新規ドット数は1個という具合に、閾値の増加に伴い、最小ドットサイズの新規ドットの個数を徐々に減らしていく設定となっている。 That is, according to the setting shown in FIG. 5, the number of new dots of the minimum dot size generated in the threshold sections 17 to 32 is 3, the number of new dots of the minimum dot size generated in the threshold sections 33 to 48 is 2, and the threshold value is 2. The number of new dots of the minimum dot size generated in the sections 49 to 64 is one, and the number of new dots of the minimum dot size is gradually reduced as the threshold value increases.

ステップS2においてハイライト移行区間の閾値を設定する際には、図5に示した設定に従い、閾値区間17〜32に属する16個の閾値のうち、12個の閾値は周囲長制限を適用せずに、最小ドットサイズの新規ドットを3個配置するように閾値が設定され、残りの4個の閾値は周囲長制限値を適用した制約条件の下で閾値が設定されることになる。 When setting the threshold value of the highlight transition section in step S2, according to the setting shown in FIG. 5, of the 16 threshold values belonging to the threshold sections 17 to 32, 12 threshold values do not apply the perimeter limit. The threshold is set so that three new dots having the minimum dot size are arranged, and the remaining four thresholds are set under the constraint condition that the perimeter length limit value is applied.

また、閾値区間33〜48に属する16個の閾値のうち、8個の閾値は周囲長制限を適用せずに、最小ドットサイズの新規ドットを2個配置するように閾値が設定され、残りの8個の閾値は周囲長制限値を適用した制約条件の下で閾値が設定されることになる。 In addition, among the 16 threshold values belonging to the threshold sections 33 to 48, 8 threshold values are set so that two new dots of the minimum dot size are arranged without applying the perimeter limitation, and the remaining threshold values are set. The eight thresholds are set under the constraint condition that the perimeter length limit value is applied.

閾値区間49〜64に属する16個の閾値のうち、4個の閾値は周囲長制限を適用せずに、最小ドットサイズの新規ドットを1個配置するように閾値が設定され、残りの12個の閾値は周囲長制限値を適用した制約条件の下で閾値が設定されることになる。 Of the 16 thresholds belonging to the threshold sections 49 to 64, 4 thresholds are set so that one new dot of the minimum dot size is arranged without applying the perimeter limit, and the remaining 12 thresholds are set. The threshold value of is set under the constraint condition that the perimeter length limit value is applied.

図5に示したそれぞれの単位区間において、指定されている新規ドット閾値数の個数の閾値を実際にどの閾値に割り当てるか、つまり、どの閾値を最小ドットサイズの新規ドットの閾値として配置するかについては様々な設定が可能である。 Regarding each of the unit sections shown in FIG. 5, which threshold is actually assigned to the specified number of new dot thresholds, that is, which threshold is to be arranged as the threshold of a new dot of the minimum dot size Can have various settings.

例えば、閾値区間17〜32に属する16個の閾値のうち、閾値17〜閾値28の12個の閾値を最小ドットサイズの新規ドットの閾値として配置し、残りの閾値29〜閾値32の4個の閾値は、周囲長制限値を適用した制約条件の下で閾値を配置するように、閾値の割り当てが設定される。また、閾値区間33〜48に属する16個の閾値のうち、閾値33〜閾値40の8個の閾値を最小ドットサイズの新規ドットの閾値として配置し、残りの閾値41〜閾値48の8個の閾値は、周囲長制限値を適用した制約条件の下で閾値を配置するように設定される。閾値区間49〜64に属する16個の閾値のうち、閾値49〜閾値52の4個の閾値を最小ドットサイズの新規ドットの閾値として配置し、残りの閾値53〜閾値64の12個の閾値は、周囲長制限値を適用した制約条件の下で閾値を配置するように閾値の割り当てが設定される。 For example, among the 16 threshold values belonging to the threshold sections 17 to 32, 12 threshold values of threshold values 17 to 28 are arranged as threshold values of new dots of the minimum dot size, and the remaining 4 threshold values of 29 to 32 are set. As for the thresholds, the thresholds are assigned so that the thresholds are arranged under the constraint condition that the perimeter length limit value is applied. Further, among the 16 thresholds belonging to the threshold sections 33 to 48, 8 thresholds of the thresholds 33 to 40 are arranged as thresholds of new dots of the minimum dot size, and the remaining 8 thresholds of 41 to 48 are arranged. The threshold value is set such that the threshold value is arranged under the constraint condition that the perimeter length limit value is applied. Of the 16 threshold values belonging to the threshold sections 49 to 64, the four threshold values of the threshold values 49 to 52 are arranged as the threshold values of the new dot of the minimum dot size, and the remaining 12 threshold values of the threshold values 53 to 64 are: The threshold assignment is set so that the thresholds are arranged under the constraint condition that the perimeter length limit value is applied.

閾値16以下のハイライト区間については、全て最小ドットサイズの新規ドットを形成する閾値として配置する。なお、閾値16以下のハイライト区間について、図5の図表にならって、閾値区間1〜16の単位区間当たりの新規ドット閾値数を16と設定し得る。 All highlight sections with a threshold value of 16 or less are arranged as threshold values for forming new dots of the minimum dot size. It should be noted that for the highlight section having a threshold value of 16 or less, the number of new dot threshold values per unit section of the threshold section 1 to 16 can be set to 16 according to the chart of FIG.

閾値65以上の中間調区間については図5のような新規ドット閾値数の設定を省略することができる。閾値65〜閾値336の中間調区間の各閾値については全て周囲長制限値を適用した制約条件の下で閾値を配置する。周囲長制限値を適用した制約条件とは、ドットパターンの周囲長が周囲長制限値以下となるように閾値の配置を決めるという条件を指す。周囲長制限値を適用した制約条件を単に「周囲長制限」と呼ぶ場合がある。 For the halftone section having a threshold value of 65 or more, the setting of the new dot threshold value number as shown in FIG. 5 can be omitted. For each of the threshold values in the halftone section of the threshold value 65 to the threshold value 336, the threshold value is arranged under the constraint condition that the perimeter length limit value is applied. The constraint condition to which the perimeter length limit value is applied refers to a condition that the threshold value is arranged so that the perimeter length of the dot pattern is equal to or less than the perimeter length limit value. The constraint condition to which the perimeter length limit value is applied may be simply referred to as “perimeter length limit”.

各閾値区間において周囲長制限値を適用した制約条件の下で配置を決める閾値については、ステップS1において周囲長制限値をパラメータとして設定する。 Regarding the threshold value that determines the arrangement under the constraint condition that the perimeter length limit value is applied in each threshold section, the perimeter length limit value is set as a parameter in step S1.

本例の場合、閾値区間1〜16のハイライト区間は周囲長制限を適用しないため、周囲長制限値のパラメータ設定は不要である。閾値区間17〜32においては閾値29〜閾値32の各閾値について周囲長制限値をパラメータとして設定する。閾値区間33〜48においては閾値41〜閾値48の各閾値について周囲長制限値をパラメータとして設定する。閾値区間49〜64においては閾値53〜閾値64の各閾値について周囲長制限値をパラメータとして設定する。閾値区間65以上の中間調区間については全ての閾値について周囲長制限値をパラメータとして設定する。 In the case of this example, the perimeter limit is not applied to the highlight sections of the threshold sections 1 to 16, so that the parameter setting of the perimeter limit value is unnecessary. In the threshold sections 17 to 32, the perimeter limit value is set as a parameter for each of the threshold values 29 to 32. In the threshold sections 33 to 48, the perimeter limit value is set as a parameter for each of the threshold values 41 to 48. In the threshold sections 49 to 64, the perimeter limit value is set as a parameter for each of the threshold values 53 to 64. For the halftone sections equal to or greater than the threshold section 65, the perimeter length limit value is set as a parameter for all the threshold values.

本例の周囲長制限値は、20×20画素のマトリクスサイズにおける周囲長の総和の制限値とする。周囲長は、出力システムの出力解像度によって規定される1画素の1辺の長さを単位として表される。例えば、閾値29の周囲長制限値を考えると、閾値28までの閾値が全て最小ドットサイズの新規ドットの閾値であり、最小ドットサイズの新規ドットが7個あることから、これらの周囲長の総和は8×7=56である。 The perimeter length limit value of this example is a limit value of the total perimeter length in a matrix size of 20×20 pixels. The perimeter is expressed in units of the length of one side of one pixel defined by the output resolution of the output system. For example, considering the perimeter limit value of the threshold 29, the thresholds up to the threshold 28 are all thresholds for new dots of the minimum dot size, and there are seven new dots of the minimum dot size. Is 8×7=56.

したがって、閾値29の周囲長制限値は52以上60以下の範囲のいずれかの値に設定される。ただし、実際には、閾値29は、既存の最小ドットサイズのドットと画素の1辺を接する位置に黒画素を追加してドット集合体を広げる閾値として設定するか、或いは、既存の最小ドットサイズのドットから離れて孤立した1×1画素ドットの黒画素を追加する閾値として設定するかのいずれかであるため、閾値29のドットパターンの周囲長は58又は60のいずれかの値しか取りえない。 Therefore, the perimeter limit value of the threshold value 29 is set to any value in the range of 52 or more and 60 or less. However, in practice, the threshold value 29 is set as a threshold value for expanding a dot aggregate by adding a black pixel at a position where one side of a pixel is in contact with a dot having an existing minimum dot size, or an existing minimum dot size. Since the black pixel of 1×1 pixel dot isolated from the dot of 1 is set as the threshold for adding, the perimeter of the dot pattern of the threshold 29 can be only 58 or 60. Absent.

図6は周囲長制限値の設定例を示すグラフである。横軸は網パーセント、縦軸は周囲長制限値を表す。横軸の網パーセントは、図4で説明したとおり、閾値と一対一に対応しているため、網パーセントは閾値に変換することができる。 FIG. 6 is a graph showing a setting example of the perimeter length limit value. The horizontal axis represents the dot percentage and the vertical axis represents the perimeter length limit value. Since the halftone dot percentage on the horizontal axis has a one-to-one correspondence with the threshold value as described in FIG. 4, the halftone dot percentage can be converted into the threshold value.

図6では、網パーセント0%から100%の全範囲について各網パーセントの周囲長制限値が示されているが、閾値の設定に際して周囲長制限を適用しないハイライト区間、ハイライト移行区間の一部、シャドー移行区間の一部、及びシャドー区間の閾値については、周囲長制限値を設定しなくてよい。また、各閾値に対する周囲長制限値を全て予め設定する必要は無く、一部の閾値について周囲長制限値を設定し、他の閾値の周囲長制限値については、補間して算出してもよい。 In FIG. 6, the perimeter limit value of each halftone percentage is shown for the entire range of the halftone dot percentage from 0% to 100%. However, when the threshold value is set, the perimeter length limit value is not applied. It is not necessary to set the perimeter length limit value for the part, a part of the shadow transition section, and the threshold value of the shadow section. Further, it is not necessary to set all the perimeter length limit values for each threshold in advance, but the perimeter length limit values may be set for some threshold values, and the perimeter length limit values for other threshold values may be calculated by interpolation. ..

<ステップS2の説明>
図1のステップS1において各種パラメータの設定が完了すると、閾値マトリクス作成装置は、ステップS2の処理に移行する。ステップS2において、閾値マトリクス作成装置は、設定されたパラメータに従い、各閾値の配置位置を順次決定していく。ここでは図4に示した具体例を用い、ハイライト側の各閾値を設定する方法について説明する。
<Explanation of Step S2>
When the setting of various parameters is completed in step S1 of FIG. 1, the threshold value matrix creating device proceeds to the process of step S2. In step S2, the threshold matrix generation device sequentially determines the arrangement position of each threshold according to the set parameters. Here, a method of setting each threshold value on the highlight side will be described using the specific example shown in FIG.

[ハイライト区間の閾値設定について]
閾値1〜閾値16のハイライト区間では、最小ドットサイズのドットを周囲長制限無しに、画質評価値に基づき順に配置していくように各閾値を設定する。「周囲長制限無しに」とは、「周囲長制限値による周囲長制限の制約条件を適用せずに」という意味である。
[About threshold setting for highlight section]
In the highlight section of the threshold values 1 to 16, each threshold value is set so that the dots of the minimum dot size are sequentially arranged based on the image quality evaluation value without the limitation of the peripheral length. “Without perimeter length restriction” means “without applying the constraint condition of perimeter length limitation by the perimeter length limit value”.

画質評価値として、例えば、「ざらつき」を定量的に評価する評価値を用いる。画質評価方法としては、特開2005−253052号公報に記載されている方法など、公知の方法を採用し得る。画質評価方法の第1の具体例として、例えば、閾値を昇順で設定する場合、既に確定しているドット配置に対して仮に新規ドットを追加し、その追加した新規ドットを含むドット配置の2値画像に人の視覚関数を畳み込み、標準偏差を算出する方法を採用することができる。新規ドットを追加することは、黒画素を追加することを意味する。閾値を降順で設定する場合は、既に確定しているドット配置から仮にドットを削除し、そのドットが削除された状態のドット配置の2値画像に人の視覚関数を畳み込み、標準偏差を算出する。仮にドットを削除することは、既にあるドット配置から黒画素を削除すること、つまり黒画素を白画素に変更することを意味する。黒画素のドット配置からドットを削除することは、白画素の配置形態である白ドット配置において白画素を追加することに相当する。 As the image quality evaluation value, for example, an evaluation value for quantitatively evaluating "roughness" is used. As the image quality evaluation method, a known method such as the method described in JP-A-2005-253052 can be adopted. As a first specific example of the image quality evaluation method, for example, when the thresholds are set in ascending order, a new dot is provisionally added to the already determined dot arrangement, and the binary value of the dot arrangement including the added new dot is used. A method of convolving an image with a human visual function and calculating a standard deviation can be adopted. Adding a new dot means adding a black pixel. When the thresholds are set in descending order, the dots are temporarily deleted from the already determined dot arrangement, and the human visual function is convolved with the binary image of the dot arrangement in which the dots have been deleted, and the standard deviation is calculated. .. Temporarily deleting a dot means deleting a black pixel from an existing dot arrangement, that is, changing a black pixel to a white pixel. Deleting dots from the dot arrangement of black pixels corresponds to adding white pixels in the white dot arrangement which is the arrangement form of white pixels.

こうして算出される標準偏差は画質評価値の一例である。第1の具体例に係る画質評価方法を採用する場合、ドット配置を示す2値画像に視覚関数を畳み込み、標準偏差を算出するための関数が「評価関数」の一形態に相当する。 The standard deviation calculated in this way is an example of the image quality evaluation value. When the image quality evaluation method according to the first specific example is adopted, a function for convolving a binary image showing a dot arrangement with a visual function and calculating a standard deviation corresponds to one form of the “evaluation function”.

画質評価方法の第2の具体例として、例えば、閾値を昇順で設定する場合、既に確定しているドット配置に対して仮に新規ドットを追加し、その追加した新規ドットを含むドット配置の2値画像を周波数変換した後に、周波数空間における視覚関数をかけて積分して評価値を算出する方法を採用することができる。周波数変換には2次元高速フーリエ変換を用いることができる。閾値を降順で設定する場合は、既に確定しているドット配置から仮にドットを削除し、そのドットが削除された状態のドット配置の2値画像を周波数変換した後に、周波数空間における視覚関数をかけて積分する。こうして算出される積分値は画質評価値の一例である。第2の具体例に係る画質評価方法を採用する場合、ドット配置を示す2値画像を周波数変換し、周波数空間における視覚関数をかけて積分して積分値を算出するための関数が「評価関数」の一形態に相当する。 As a second specific example of the image quality evaluation method, for example, when the thresholds are set in ascending order, a new dot is provisionally added to the already determined dot arrangement, and the binary value of the dot arrangement including the added new dot is set. A method of calculating an evaluation value by applying a visual function in a frequency space and integrating the image after frequency conversion can be adopted. Two-dimensional fast Fourier transform can be used for frequency conversion. When setting the threshold values in descending order, temporarily delete dots from the already determined dot arrangement, frequency-convert the binary image of the dot arrangement with the deleted dots, and then apply the visual function in the frequency space. And integrate. The integral value thus calculated is an example of the image quality evaluation value. When the image quality evaluation method according to the second specific example is adopted, a function for frequency-converting a binary image indicating a dot arrangement, applying a visual function in a frequency space, and integrating to calculate an integrated value is “evaluation function”. It corresponds to one form.

第1の具体例に係る画質評価方法の評価関数から算出される画質評価値である標準偏差、又は、第2の具体例に係る画質評価方法の評価関数から算出される画質評価値である積分値は、その値が小さい程、ざらつきが少ないと評価できる。 Standard deviation, which is an image quality evaluation value calculated from the evaluation function of the image quality evaluation method according to the first specific example, or integration, which is an image quality evaluation value calculated from the evaluation function of the image quality evaluation method according to the second specific example. The smaller the value, the smaller the roughness.

上記に例示の画質評価値に基づいて閾値を設定するにあたり、昇順の場合は、画質評価値が小さくなる画素に、実際に新規ドットを追加し、その追加した新規ドットの画素位置に閾値を設定する。また、降順の場合は、画質評価値が小さくなる画素について、実際にドットを削除し、その削除したドットの画素位置に閾値を設定する。 In setting the threshold value based on the image quality evaluation value illustrated above, in the case of ascending order, a new dot is actually added to a pixel having a smaller image quality evaluation value, and the threshold value is set at the pixel position of the added new dot. To do. In the case of the descending order, dots are actually deleted from the pixels having the smaller image quality evaluation value, and the threshold is set at the pixel position of the deleted dots.

初期配置として、例えば、最小ドットサイズである2×2画素のドットが2個配置されたドット配置が設定された場合、閾値8〜閾値1を降順で設定し、閾値9〜16を昇順で設定することになる。 For example, when the dot arrangement in which two dots of 2×2 pixels, which are the minimum dot size, are arranged as the initial arrangement, the threshold values 8 to 1 are set in descending order and the threshold values 9 to 16 are set in ascending order. Will be done.

ハイライト区間のうち極ハイライト区間は、ドットが少なく視覚関数を用いても良好な分散配置が得られ難いため、第1の具体例又は第2の具体例で説明した画質評価値とは別の評価値を用いることが好ましい。つまり、ハイライト区間のうち極ハイライト区間に該当する網パーセントに適用する評価関数と、極ハイライト区間以外の他の網パーセントに適用する評価関数とを異ならせることが好ましい。 The extreme highlight section of the highlight section is different from the image quality evaluation value described in the first concrete example or the second concrete example because there are few dots and it is difficult to obtain a good distributed arrangement even by using a visual function. It is preferable to use the evaluation value of. That is, it is preferable that the evaluation function applied to the dot percentage corresponding to the extreme highlight interval in the highlight interval and the evaluation function applied to the dot percentage other than the extreme highlight interval be different.

具体的には極ハイライト区間については、ガウシアン関数などのポテンシャル関数をドット配置の2値画像に畳み込んだ値を画質評価値とし、昇順では画質評価値の小さい画素を他ドットから最も距離の離れた画素と見做して新規ドットを追加する。一方、降順では画質評価値の大きい画素を他ドットから最も距離が近い画素と見做してドットを削除する。このような極ハイライト区間における閾値設定の手法は、ボイドアンドクラスタ法として知られている。ボイドアンドクラスタ法に用いる画質評価値を算出する関数は評価関数の一形態に相当する。 Specifically, for the extreme highlight section, a value obtained by convolving a potential image such as a Gaussian function into a binary image with a dot arrangement is used as an image quality evaluation value, and in ascending order, a pixel with a small image quality evaluation value is the most distant from other dots. Add a new dot as if it were a distant pixel. On the other hand, in descending order, a pixel having a large image quality evaluation value is regarded as a pixel having the shortest distance from other dots, and the dot is deleted. A method of setting a threshold value in such an extreme highlight section is known as a void and cluster method. The function for calculating the image quality evaluation value used in the void and cluster method corresponds to one form of the evaluation function.

[ハイライト移行区間の閾値設定について]
閾値17〜閾値64のハイライト移行区間では、図5で説明した各閾値区間で定められた個数の最小ドットサイズの新規ドットを周囲長制限無しに順に配置して閾値設定し、かつ、残りの閾値を周囲長制限下で設定する。「周囲長制限下で」とは、周囲長制限値に基づく周囲長制限の制約条件を適用して、という意味である。周囲長制限下で閾値を設定することは、周囲長制限値以下の周囲長となる画素に閾値を配置することを意味する。周囲長制限下で設定すべき閾値の周囲長制限値に「4」以上の余裕がある場合には、1×1画素ドットの新規の孤立ドットを追加し得る。
[About threshold setting for highlight transition section]
In the highlight transition section of the threshold value 17 to the threshold value 64, new dots of the minimum dot size of the number defined in each threshold value section described in FIG. Set the threshold value under the perimeter limit. “Under the perimeter length limitation” means that the constraint condition of the perimeter length limitation based on the perimeter length limit value is applied. Setting the threshold value under the perimeter limit means arranging the threshold value on the pixels having the perimeter length equal to or less than the perimeter limit value. When there is a margin of “4” or more in the perimeter length limit value of the threshold value that should be set under the perimeter limit, a new isolated dot of 1×1 pixel dot can be added.

例えば、まず、閾値区間17〜32において、閾値17〜閾値28の12個の閾値を最小ドットサイズの新規ドットの閾値として配置し、残りの閾値29〜閾値32の4個の閾値については周囲長制限値を適用した制約条件の下で閾値を配置する。 For example, first, in the threshold value sections 17 to 32, 12 threshold values of threshold values 17 to 28 are arranged as threshold values of new dots having the minimum dot size, and the remaining 4 threshold values of 29 to 32 are peripheral lengths. The threshold value is arranged under the constraint condition that the limit value is applied.

次に、閾値区間33〜48において、閾値33〜閾値40の8個の閾値を最小ドットサイズの新規ドットの閾値として配置し、閾値41〜閾値48の8個の閾値については周囲長制限値を適用した制約条件の下で閾値を配置する。 Next, in the threshold sections 33 to 48, eight thresholds 33 to 40 are arranged as thresholds for new dots of the minimum dot size, and perimeter limit values are set to eight thresholds 41 to 48. Place the threshold under the applied constraints.

そして、閾値区間49〜64において、閾値49〜閾値52の4個の閾値を最小ドットサイズの新規ドットの閾値として配置し、閾値53〜64の12個の閾値については周囲長制限値を適用した制約条件の下で閾値を配置する。 Then, in the threshold sections 49 to 64, the four thresholds of the thresholds 49 to 52 are arranged as the thresholds of the new dots of the minimum dot size, and the perimeter limit value is applied to the 12 thresholds of the thresholds 53 to 64. Place thresholds under constraints.

[ハイライト中間調区間の閾値設定について]
閾値65〜閾値200のハイライト中間調区間では、全部の閾値を周囲長制限下で設定する。図7はマトリクスサイズが20×20画素、閾値131のドットパターンの例である。図7に示すドットパターンは、131個の黒画素から構成されている。図7における黒画素は閾値設定済みの画素である。白画素は閾値未設定の画素である。閾値設定済みの画素を「閾値設定済み画素」という。閾値未設定の画素を「閾値未設定画素」という。図7に示すドットパターンの周囲長、すなわち白黒境界の総和は222である。
[Regarding threshold settings for highlight halftone section]
In the highlight halftone section of the threshold value 65 to the threshold value 200, all the threshold values are set under the perimeter limit. FIG. 7 is an example of a dot pattern having a matrix size of 20×20 pixels and a threshold value 131. The dot pattern shown in FIG. 7 is composed of 131 black pixels. Black pixels in FIG. 7 are pixels for which threshold values have been set. White pixels are pixels for which a threshold value has not been set. Pixels for which thresholds have been set are referred to as "threshold set pixels". Pixels for which a threshold value has not been set are referred to as “threshold value unset pixels”. The perimeter of the dot pattern shown in FIG. 7, that is, the total sum of the black and white boundaries is 222.

図8は図7のドットパターンに対し、閾値未設定の各画素においてドットを配置した場合の各画素における周囲長を付記した図である。閾値未設定の各画素における周囲長は、0、1、2、3、4のいずれかの値となる。なお、図8の例では、周囲長0の画素は存在していない。 FIG. 8 is a diagram in which the perimeter of each pixel when a dot is arranged in each pixel for which a threshold value has not been set is added to the dot pattern of FIG. 7. The perimeter of each pixel for which a threshold value has not been set has a value of 0, 1, 2, 3, or 4. Note that in the example of FIG. 8, there are no pixels with a perimeter of 0.

図8の閾値未設定の各画素に付された数値である「各画素にドットを配置した場合の各画素における周囲長」は、各画素が他の白画素と接する境界の長さである。この閾値未設定の各画素における周囲長を「閾値未設定画素の周囲長」或いは、単に、「画素の周囲長」と呼ぶ場合がある。なお、マトリクス領域の端に位置する画素の周囲長の数え方については、同じマトリクス領域のドットパターンを縦方向及び横方向に敷き詰めるように並べた状態で隣り合う画素との関係から特定される。図8に示したマトリクス領域における画素位置を行番号iと列番号jとを用いて画素(i,j)と表記すると、例えば、画素(1,3)の上辺は図8の上側に敷き詰めるように並べて配置される同じマトリクス領域の画素(20,3)の下辺と接する。画素(20,3)は白画素であるため、画素(1,3)の周囲長は「3」となる。同様に、画素(20,20)の右辺は図8の右側に敷き詰めるように並べて配置される同じマトリクス領域の画素(20,1)の左辺と接する。また、画素(20,20)の下辺は図8の下側に敷き詰めるように並べて配置される同じマトリクス領域の画素(1,20)上辺と接する。画素(20,1)は白画素であり、画素(1,20)は黒画素であるため、画素(20,20)の周囲長は「2」となる。 The “perimeter in each pixel when dots are arranged in each pixel”, which is the numerical value given to each pixel for which a threshold value is not set in FIG. 8, is the length of the boundary at which each pixel contacts another white pixel. The perimeter of each pixel for which a threshold has not been set may be referred to as "perimeter of a pixel for which no threshold has been set" or simply "perimeter of pixel". It should be noted that the method of counting the perimeters of the pixels located at the ends of the matrix area is specified from the relationship with the adjacent pixels in a state where the dot patterns of the same matrix area are arranged so as to be spread in the vertical and horizontal directions. When the pixel position in the matrix area shown in FIG. 8 is expressed as pixel (i, j) using the row number i and the column number j, for example, the upper side of the pixel (1, 3) is spread over the upper side of FIG. It contacts the lower side of the pixels (20, 3) in the same matrix area arranged side by side. Since the pixel (20, 3) is a white pixel, the perimeter of the pixel (1, 3) is “3”. Similarly, the right side of the pixel (20, 20) is in contact with the left side of the pixel (20, 1) in the same matrix area arranged side by side so as to be spread over the right side of FIG. Further, the lower side of the pixel (20, 20) is in contact with the upper side of the pixel (1, 20) in the same matrix region arranged side by side so as to be spread over the lower side of FIG. 8. Since the pixel (20, 1) is a white pixel and the pixel (1, 20) is a black pixel, the perimeter of the pixel (20, 20) is “2”.

図9に閾値未設定画素と閾値設定済み画素の隣接関係と、閾値未設定画素の周囲長、並びに、その未設定画素にドットを配置した場合の周囲長増分の関係を示した。 FIG. 9 shows the adjacency relationship between the threshold-unset pixel and the threshold-set pixel, the perimeter of the threshold-unset pixel, and the perimeter increase when a dot is placed in the non-threshold pixel.

閾値未設定画素の上下左右4方向の各方向にそれぞれ隣接する画素位置に、閾値設定済み画素が1つも存在しない場合、この閾値未設定画素にドットを配置した場合の同画素における周囲長は4である。このような閾値未設定画素を周囲長4の画素という。周囲長4の画素にドットを配置した場合の周囲長増分は「+4」である。なお、閾値未設定の画素にドットを配置することは、閾値未設定の白画素を黒画素にすること、つまり、閾値未設定の画素に閾値を配置することと同等の意味を持つ。 When there is no threshold-set pixel at pixel positions adjacent to each other in the four directions of the threshold-unset pixel in the four directions, the perimeter of the same pixel when a dot is placed in the threshold-unset pixel is four. Is. Such a pixel for which a threshold value has not been set is called a pixel having a perimeter of 4. When a dot is arranged in a pixel having a perimeter of 4, the perimeter increment is "+4". Note that arranging dots in pixels for which thresholds have not been set has the same meaning as making white pixels for which thresholds have not been set into black pixels, that is, arranging thresholds for pixels for which thresholds have not been set.

閾値未設定画素の上下左右4方向のうちいずれか1つの方向の隣接する画素位置に、閾値設定済み画素が存在している場合、つまり、閾値未設定画素が1つの閾値設定済み画素と境を接している場合、この閾値未設定画素にドットを配置した場合の同画素における周囲長は3である。このような閾値未設定画素を周囲長3の画素という。周囲長3の画素にドットを配置した場合の周囲長増分は「+2」である。 When a threshold-set pixel exists at an adjacent pixel position in any one of the four directions of the threshold-unset pixel, that is, the threshold-unset pixel is separated from the one threshold-set pixel. When they are in contact with each other, when a dot is arranged in this threshold-unset pixel, the perimeter of the same pixel is 3. Such threshold-unset pixels are referred to as pixels with a perimeter of 3. When a dot is arranged in a pixel having a perimeter of 3, the perimeter increment is "+2".

閾値未設定画素の上下左右4方向のうちいずれか2つの方向の各々に隣接する画素位置に、閾値設定済み画素が存在している場合、つまり、閾値未設定画素が2つの閾値設定済み画素と境を接している場合、この閾値未設定画素にドットを配置した場合の同画素における周囲長は2である。このような閾値未設定画素を周囲長2の画素という。周囲長2の画素にドットを配置した場合の周囲長増分は「0」である。 In the case where a threshold value set pixel exists at a pixel position adjacent to each of two directions of four directions of the threshold value unset pixel, that is, the threshold value unset pixel is two threshold set pixels. When the borders are in contact with each other, the perimeter of the pixel in which the threshold value is not set is 2 when the dot is arranged in the pixel. Such threshold-unset pixels are referred to as pixels with a perimeter of 2. When dots are arranged in pixels with a perimeter of 2, the perimeter increment is "0".

閾値未設定画素の上下左右4方向のうちいずれか3つの方向の各々に隣接する画素位置に、閾値設定済み画素が存在している場合、つまり、閾値未設定画素が3つの閾値設定済み画素と境を接している場合、この閾値未設定画素にドットを配置した場合の同画素における周囲長は1である。このような閾値未設定画素を周囲長1の画素という。周囲長1の画素にドットを配置した場合の周囲長増分は「−2」である。周囲長増分がマイナスとは周囲長が減ることを意味しており、周囲長増分「−2」は周囲長が2減ることを表している。 In the case where the threshold-set pixels are present at pixel positions adjacent to each of the three directions of the upper, lower, left, and right four directions of the threshold-unset pixels, that is, the threshold-unset pixels are three threshold-set pixels. In the case where the borders are in contact with each other, the perimeter of the pixel in which the threshold value is not set is 1 when the dot is arranged in the pixel. Such a pixel for which a threshold value has not been set is called a pixel having a perimeter of 1. When a dot is arranged in a pixel with a perimeter of 1, the perimeter increment is "-2". A minus perimeter increment means that the perimeter is reduced, and a perimeter increment "-2" means that the perimeter is reduced by two.

閾値未設定画素の上下左右4方向の各々に隣接する画素位置に、閾値設定済み画素が存在している場合、つまり、閾値未設定画素が4つの閾値設定済み画素と境を接している場合、この閾値未設定画素にドットを配置した場合の同画素における周囲長は0である。このような閾値未設定画素を周囲長0の画素という。周囲長0の画素にドットを配置した場合の周囲長増分は「−4」である。 If threshold-set pixels are present at pixel positions adjacent to the threshold-unset pixels in each of the four directions, that is, if the threshold-unset pixels are adjacent to the four threshold-set pixels, When a dot is arranged in this threshold-unset pixel, the perimeter of the same pixel is 0. Such a pixel for which a threshold value has not been set is called a pixel having a peripheral length of 0. When a dot is arranged on a pixel having a perimeter of 0, the perimeter increment is "-4".

閾値未設定の各画素について、図9に示した規則に従い、それぞれの画素にドットを配置した場合の周囲長を算出することができる。ドットが置かれた画素の周囲長の総和がマトリクスサイズ全体のドットパターンの周囲長である。 For each pixel for which a threshold value has not been set, the perimeter when dots are arranged in each pixel can be calculated according to the rules shown in FIG. The sum of the perimeters of the pixels on which the dots are placed is the perimeter of the dot pattern for the entire matrix size.

ここで、図8に示した数値である閾値未設定の各画素における周囲長と、「マトリクスサイズ全体での周囲長の総和」との関係を説明する。まず、既にドットが配置されている閾値設定済みの各画素の周囲長の総和は、マトリクスサイズ全体での周囲長の総和に等しい。そして、未だドットが配置されていない閾値未設定の各画素にドットを配置した場合のマトリクスサイズ全体での周囲長の総和の変化は、以下に示すとおりになる。 Here, the relationship between the perimeter in each pixel for which the threshold value is not set, which is the numerical value shown in FIG. 8, and the “sum of the perimeters in the entire matrix size” will be described. First, the sum of the perimeters of the pixels for which thresholds have already been set in which dots have already been arranged is equal to the sum of the perimeters for the entire matrix size. Then, the change in the total sum of the peripheral lengths in the entire matrix size when the dots are arranged in the pixels for which the threshold value is not set and in which the dots have not been arranged yet is as follows.

例えば、周囲長0の画素にドットを配置した場合、マトリクスサイズ全体の周囲長の総和は4減ることになる。なお、図8において周囲長0の画素に該当する画素は存在しない。また「周囲長0の画素にドットを配置した場合」とは、「周囲長0の閾値未設定画素に閾値を設定した場合」と同義である。 For example, when dots are arranged in pixels with a perimeter of 0, the total perimeter of the entire matrix size is reduced by 4. Note that there is no pixel corresponding to a pixel having a perimeter of 0 in FIG. Further, "when dots are arranged in pixels with a perimeter of 0" is synonymous with "when a threshold is set for pixels for which a threshold of 0 is not perimeter is set."

同様に、周囲長1の画素にドットを配置すると周囲長の総和は2減ることになる。周囲長2の画素にドットを配置すると周囲長の総和は変わらない。周囲長3の画素にドットを配置すると周囲長の総和は2増える。周囲長4の画素にドットを配置すると周囲長の総和は4増える。 Similarly, if dots are arranged in pixels with a perimeter of 1, the total perimeter is reduced by 2. When dots are arranged in pixels with a perimeter of 2, the total perimeter does not change. When dots are arranged in pixels with a perimeter of 3, the total perimeter increases by 2. When dots are arranged in pixels with a perimeter of 4, the total perimeter increases by 4.

したがって「各画素にドットを配置した場合の各画素における周囲長」に基づき、マトリクスサイズ全体の周囲長の総和が周囲長制限値以下となる画素を探索することができる。周囲長制限値以下となる画素が閾値を配置する候補となる画素である。閾値の配置位置の候補となる画素を閾値候補画素という。 Therefore, it is possible to search for a pixel in which the total sum of the perimeters of the entire matrix size is equal to or less than the perimeter limit value based on "the perimeter of each pixel when dots are arranged in each pixel". Pixels that are less than or equal to the perimeter length limit value are pixels that are candidates for threshold placement. Pixels that are candidates for threshold position are called threshold candidate pixels.

例えば、閾値132の周囲長制限値が220又は221である場合、図8における周囲長1の画素が閾値132の閾値候補画素となる。図8において周囲長1の画素は斜線とグレーの塗り潰しの組み合わせにより強調表示されている画素である。 For example, when the perimeter length limit value of the threshold value 132 is 220 or 221, the pixel with the perimeter length 1 in FIG. 8 is the threshold candidate pixel of the threshold value 132. In FIG. 8, a pixel having a perimeter of 1 is a pixel highlighted by a combination of diagonal lines and gray filling.

また、閾値132の周囲長制限値が222又は223である場合、図8における周囲長1の画素と周囲長2の画素が閾値132の閾値候補画素となる。図8において周囲長2の画素は網点とグレーの塗り潰しの組み合わせにより強調表示されている画素である。 When the perimeter length limit value of the threshold value 132 is 222 or 223, the pixels with the perimeter length 1 and the pixels with the perimeter length 2 in FIG. In FIG. 8, a pixel having a perimeter of 2 is a pixel highlighted by a combination of halftone dots and gray filling.

閾値132の周囲長制限値が226以上である場合、閾値未設定の全ての画素が閾値候補画素となる。この場合、1×1画素ドットである新規ドットを追加し得る。 When the perimeter limit value of the threshold value 132 is 226 or more, all the pixels for which the threshold value is not set become the threshold value candidate pixels. In this case, new dots, which are 1×1 pixel dots, can be added.

上述のように、本実施形態では周囲長制限値以下となる画素のみが閾値の配置候補とされ、閾値候補画素の中から画質評価値に基づいて閾値を配置する画素位置が決定される。 As described above, in the present embodiment, only the pixels having the perimeter length limit value or less are set as the threshold placement candidates, and the pixel positions where the thresholds are placed are determined from the threshold candidate pixels based on the image quality evaluation value.

[閾値マトリクス作成装置の構成]
図10は本発明の実施形態に係る閾値マトリクス作成装置30の機能的構成を示すブロック図である。閾値マトリクス作成装置30は、連続調画像を2値画像であるドットパターンに変換する閾値マトリクスを作成する装置である。
[Configuration of threshold matrix creation device]
FIG. 10 is a block diagram showing the functional configuration of the threshold matrix creation device 30 according to the embodiment of the present invention. The threshold matrix creation device 30 is a device that creates a threshold matrix that converts a continuous tone image into a dot pattern that is a binary image.

閾値マトリクス作成装置30は、閾値マトリクスの作成に必要な各種パラメータを含むマトリクス作成条件に従い、閾値マトリクスを自動的に作成する。本実施形態の閾値マトリクス作成装置30は、パラメータ設定部32と、閾値設定処理部34と、閾値マトリクス格納部36とを含む。また、閾値マトリクス作成装置30は、ユーザインターフェースとして機能する入力装置40及び表示装置42を備える。 The threshold matrix creating device 30 automatically creates a threshold matrix according to a matrix creating condition including various parameters necessary for creating the threshold matrix. The threshold value matrix creating device 30 of the present embodiment includes a parameter setting unit 32, a threshold value setting processing unit 34, and a threshold value matrix storage unit 36. The threshold matrix creation device 30 also includes an input device 40 and a display device 42 that function as a user interface.

閾値マトリクス作成装置30は、コンピュータのハードウェアとソフトウェアの組み合わせにより実現することができる。ソフトウェアは「プログラム」と同義である。閾値マトリクス作成装置30は、1つ又は複数のCPU(Central Processing Unit)を含んで構成され、閾値マトリクス作成装置30内に備えられた図示されないプログラム記憶部に保存されているプログラムが1つ又は複数のCPUにロードされることにより動作する。また、閾値マトリクス作成装置30の処理機能の一部又は全部は集積回路によって実現してもよい。 The threshold matrix creation device 30 can be realized by a combination of computer hardware and software. Software is synonymous with "program." The threshold matrix creation device 30 is configured to include one or a plurality of CPUs (Central Processing Units), and one or a plurality of programs stored in a program storage unit (not shown) provided in the threshold matrix creation device 30. It operates by being loaded into the CPU. Further, some or all of the processing functions of the threshold value matrix creating device 30 may be realized by an integrated circuit.

閾値マトリクス作成装置30は、図示せぬ出力システムと接続されてもよい。「接続される」とは、情報の伝達が可能な関係をいい、接触接続であってもよいし、非接触接続であってもよい。接続は、例えば、対応する端子同士の接触接続、有線接続、無線接続、光通信接続、又はこれらの適宜の組み合わせを包含する用語である。また、接続には、図示せぬ電気通信回線を介して接続されるネットワーク接続の形態も含まれる。ネットワークは、ローカルエリアネットワーク、若しくはワイドエリアネットワーク、又はこれらの組み合わせとすることができる。 The threshold matrix generation device 30 may be connected to an output system (not shown). “Connected” means a relationship capable of transmitting information, and may be contact connection or non-contact connection. Connection is a term that includes, for example, contact connection between corresponding terminals, wire connection, wireless connection, optical communication connection, or an appropriate combination thereof. Further, the connection also includes a form of network connection which is connected via a telecommunication line (not shown). The network can be a local area network, or a wide area network, or a combination thereof.

入力装置40は、ユーザが各種情報を入力する操作を行うため手段である。入力装置40はユーザからの各種情報の入力操作を受け付ける。ユーザが入力装置40から入力する情報には、閾値マトリクスの作成条件となるパラメータや動作コマンドなどが含まれる。入力装置40には、キーボード、マウス、タッチパネル、トラックボール、又は操作ボタンなど、各種の構成を採用することができ、これらの適宜の組み合わせであってもよい。 The input device 40 is means for the user to perform an operation of inputting various information. The input device 40 receives an input operation of various information from a user. The information input by the user from the input device 40 includes parameters and operation commands that are conditions for creating the threshold matrix. The input device 40 can adopt various configurations such as a keyboard, a mouse, a touch panel, a trackball, or an operation button, and may be an appropriate combination of these.

表示装置42には、例えば、液晶ディスプレイ、有機EL(Organic Electro-Luminescence)ディスプレイなどの種々の表示方式による表示デバイスを用いることができる。閾値マトリクス作成装置30に対する各種パラメータの入力及び指示の入力等の作業は、入力装置40と表示装置42を利用して行うことができる。ユーザは、表示装置42の画面に表示される内容を確認しながら入力装置40を使って各種情報の入力を行うことができ、閾値マトリクス作成装置30を操作することができる。また、ユーザは、閾値マトリクス作成装置30によって作成された閾値マトリクスを表示装置42の画面を通じて確認することができる。 As the display device 42, for example, display devices according to various display methods such as a liquid crystal display and an organic EL (Organic Electro-Luminescence) display can be used. Operations such as inputting various parameters and inputting instructions to the threshold value matrix creating device 30 can be performed using the input device 40 and the display device 42. The user can input various information using the input device 40 while confirming the content displayed on the screen of the display device 42, and can operate the threshold matrix creation device 30. Further, the user can confirm the threshold matrix created by the threshold matrix creating device 30 through the screen of the display device 42.

なお、閾値マトリクス作成装置30は、図示せぬメディアインターフェース部及び図示せぬ通信インターフェース部の少なくとも一方を備えてもよい。メディアインターフェース部は、図示せぬ外部記憶メディアからの情報の読み取りと、外部記憶メディアへの情報の書き込みを行う。外部記憶メディアとして、例えば、光ディスクやメモリカードなどの可搬型メディアを採用し得る。閾値マトリクス作成装置30は、図示せぬ外部記憶メディアから閾値マトリクスの作成に必要なパラメータの情報を取得してもよい。また、閾値マトリクス作成装置30は、図示せぬ通信インターフェース部を通じて、閾値マトリクスの作成に必要なパラメータの情報を取得してもよい。通信インターフェース部は、有線又は無線の通信規格により、信号の受け渡しを行う。 The threshold matrix creation device 30 may include at least one of a media interface unit (not shown) and a communication interface unit (not shown). The media interface unit reads information from an external storage medium (not shown) and writes information to the external storage medium. As the external storage medium, for example, a portable medium such as an optical disk or a memory card can be adopted. The threshold matrix creating device 30 may acquire information on the parameters necessary for creating the threshold matrix from an external storage medium (not shown). Further, the threshold matrix creation device 30 may acquire information on parameters necessary for creating the threshold matrix through a communication interface unit (not shown). The communication interface unit exchanges signals according to a wired or wireless communication standard.

パラメータ設定部32は、作成しようとする閾値マトリクスの属性に関する各種パラメータの設定を行う処理部である。パラメータ設定部32は、マトリクスサイズ設定部50、評価関数設定部52、最小ドットサイズ設定部54、初期配置設定部56、閾値区間設定部58、最小ドットサイズの新規ドット数条件設定部60、及び周囲長制限値設定部62を含む。 The parameter setting unit 32 is a processing unit that sets various parameters related to the attributes of the threshold matrix to be created. The parameter setting unit 32 includes a matrix size setting unit 50, an evaluation function setting unit 52, a minimum dot size setting unit 54, an initial placement setting unit 56, a threshold section setting unit 58, a new dot number condition setting unit 60 for the minimum dot size, and A perimeter length limit value setting unit 62 is included.

マトリクスサイズ設定部50は、作成しようとする閾値マトリクスのサイズを設定する。マトリクスサイズは、M行N列で配列されるM×N個の画素の数によって表すことができる。M及びNの各々は、1以上の任意の整数を指定し得る。MとNは同じ値であってもよいし、異なる値であってもよい。ユーザは入力装置40から所望のマトリクスサイズを指定することができる。 The matrix size setting unit 50 sets the size of the threshold matrix to be created. The matrix size can be represented by the number of M×N pixels arranged in M rows and N columns. Each of M and N may specify any integer of 1 or more. M and N may have the same value or different values. The user can specify a desired matrix size from the input device 40.

M及びNの各々について設定可能な数値範囲が予め定められていてもよい。また、設定可能なマトリクスサイズの選択候補が予め用意されていてもよい。予め用意された複数の選択候補の中からユーザに所望のマトリクスサイズを選択させてもよい。或いはまた、閾値マトリクスのサイズは、予め特定の1種類に定められていてもよい。マトリクスサイズ設定部50によって設定されたM行N列の2次元配列であるM×N個の画素領域を「マトリクス領域」と呼ぶ。 A numerical range that can be set for each of M and N may be set in advance. In addition, selection candidates of settable matrix sizes may be prepared in advance. The user may be allowed to select a desired matrix size from a plurality of selection candidates prepared in advance. Alternatively, the size of the threshold matrix may be set to one specific type in advance. The M×N pixel area that is a two-dimensional array of M rows and N columns set by the matrix size setting unit 50 is called a “matrix area”.

評価関数設定部52は、閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定する。ある閾値tの配置に対応するドットパターンとは、マトリクス領域内においてt以下の閾値が置かれた画素を黒画素とするドット配置である。tは整数を表す。黒画素はドットを形成する画素であり、「ドットオンの画素」、或いは、「ドット有りの画素」と言い換えてもよい。なお、黒画素に対してドット非形成の画素が「白画素」という。白画素は「ドットオフの画素」、或いは、「ドット無しの画素」と言い換えてもよい。 The evaluation function setting unit 52 sets an evaluation function for calculating the image quality evaluation value of the dot pattern corresponding to the threshold arrangement. The dot pattern corresponding to the arrangement of a certain threshold value t is a dot arrangement in which pixels in which a threshold value of t or less is set in the matrix area are black pixels. t represents an integer. A black pixel is a pixel that forms a dot, and may be rephrased as a “dot-on pixel” or a “pixel with a dot”. Pixels in which dots are not formed are referred to as “white pixels” with respect to black pixels. The white pixels may be rephrased as “dot-off pixels” or “dot-free pixels”.

画質評価値は、ドットパターンにおける見た目のざらつき感を定量的に評価する指標である。評価関数の一例として、例えば、ドットパターンを示す2値画像に、人間の視覚関数を畳み込み、標準偏差を算出する関数を採用しうる。評価関数の他の例として、ドットパターンを周波数変換した後に、周波数空間における視覚関数をかけて積分した値を算出する関数を採用しうる。これらの評価関数に従って算出される画質評価値の値が小さいほど、ざらつきが少ないと評価できる。なお、評価関数としては、ここに例示する関数以外に公知方法による評価関数を採用し得る。評価関数の定義によっては、画質評価値の値が大きいほど、ざらつきが少ないと評価される場合があり得る。 The image quality evaluation value is an index for quantitatively evaluating the rough texture in the dot pattern. As an example of the evaluation function, for example, a function of convolving a human visual function with a binary image showing a dot pattern and calculating a standard deviation can be adopted. As another example of the evaluation function, it is possible to adopt a function of converting the frequency of the dot pattern and then applying a visual function in the frequency space to calculate an integrated value. The smaller the image quality evaluation value calculated according to these evaluation functions, the smaller the roughness. As the evaluation function, an evaluation function according to a known method can be adopted in addition to the functions exemplified here. Depending on the definition of the evaluation function, the larger the image quality evaluation value, the smaller the roughness may be evaluated.

評価関数設定部52は、閾値の大きさによって異なる評価関数を設定し得る。例えば、極ハイライトの階調域については、ドットが少なく視覚関数を用いても良好な分散配置が得られないため、極ハイライト区間については、視覚関数を用いない別の評価関数を設定する。 The evaluation function setting unit 52 can set different evaluation functions depending on the size of the threshold. For example, in the extreme highlight gradation area, since there are few dots and a good distributed arrangement cannot be obtained even by using a visual function, another evaluation function that does not use a visual function is set for the extreme highlight section. ..

最小ドットサイズ設定部54は、図示せぬ出力システムによって安定して形成可能な最小サイズの孤立ドットの画素数である最小ドットサイズを設定する。最小ドットサイズの情報は入力装置40から入力してもよいし、図示せぬ通信インターフェース部を介して出力システムから取得してもよい。 The minimum dot size setting unit 54 sets the minimum dot size, which is the number of pixels of isolated dots of the minimum size that can be stably formed by an output system (not shown). The information on the minimum dot size may be input from the input device 40, or may be acquired from the output system via a communication interface unit (not shown).

初期配置設定部56は、各閾値の配置を順次決定していく際の初期条件となる特定の網パーセントに対応するドット配置である初期配置を設定する。本例の初期配置設定部56は、ハイライトの階調域に属するある特定の網パーセントに対応するドット配置であるハイライト側の初期配置と、シャドーの階調域に属するある特定の網パーセントに対応するドット配置であるシャドー側の初期配置と、を設定する。 The initial placement setting unit 56 sets an initial placement that is a dot placement corresponding to a specific halftone percentage that is an initial condition for sequentially determining the placement of each threshold value. The initial arrangement setting unit 56 of the present example sets the initial arrangement on the highlight side, which is a dot arrangement corresponding to a certain halftone dot belonging to the gradation region of highlight, and a certain halftone dot belonging to the gradation region of shadow. And an initial placement on the shadow side, which is a dot placement corresponding to.

ハイライト側の初期配置は、最小ドットサイズのドットが1個又は複数個配置されたドット配置であることが好ましい。なお、シャドー側の初期配置は、ハイライト側の初期配置における黒画素の数と同数の白画素を、ハイライト側の初期配置における黒画素と重ならないように配置したドット配置として定めることができる。 The initial arrangement on the highlight side is preferably a dot arrangement in which one or a plurality of dots having the minimum dot size are arranged. The initial arrangement on the shadow side can be defined as a dot arrangement in which the same number of white pixels as the initial arrangement on the highlight side is arranged so as not to overlap the black pixels in the initial arrangement on the highlight side. ..

閾値区間設定部58は、最小閾値から最大閾値までの全閾値範囲を複数の閾値区間に分割する区間設定を行う。閾値区間は連続する閾値の閾値範囲である。閾値区間設定部58は、各閾値区間に含まれる閾値数を定める。「閾値数」とは閾値の個数を意味する。閾値区間設定部58は、図4で説明したように、各閾値区間の境界の閾値を設定する。図4の例において閾値区間の境界の閾値である閾値16は「第1閾値」の一例である。閾値385は「第2閾値」の一例である。閾値65は「第3閾値」の一例である。閾値336は「第4閾値」の一例である。 The threshold section setting unit 58 sets a section that divides the entire threshold range from the minimum threshold to the maximum threshold into a plurality of threshold sections. The threshold interval is a threshold range of continuous thresholds. The threshold section setting unit 58 determines the number of thresholds included in each threshold section. The “threshold number” means the number of thresholds. The threshold section setting unit 58 sets the threshold value of the boundary of each threshold section, as described in FIG. In the example of FIG. 4, the threshold 16 that is the threshold of the boundary of the threshold section is an example of the “first threshold”. The threshold value 385 is an example of a “second threshold value”. The threshold value 65 is an example of a “third threshold value”. The threshold value 336 is an example of a “fourth threshold value”.

閾値区間設定部58は、ハイライト移行区間及びシャドー移行区間の各区間を更に複数の単位区間に分割する区間設定を行う。この単位区間の閾値数は、最小ドットサイズの倍数とする。ハイライト移行区間及びシャドー移行区間の各区間の閾値数は最小ドットサイズの倍数とされる。 The threshold section setting unit 58 performs section setting for further dividing each section of the highlight transition section and the shadow transition section into a plurality of unit sections. The threshold number of this unit section is a multiple of the minimum dot size. The number of thresholds in each of the highlight transition section and the shadow transition section is a multiple of the minimum dot size.

最小ドットサイズの新規ドット数条件設定部60は、図5で例示したような単位区間当たりの最小ドットサイズの新規ドット数の減らし方を設定する。 The new dot number condition setting unit 60 for the minimum dot size sets how to reduce the new dot number for the minimum dot size per unit section as illustrated in FIG.

周囲長制限値設定部62は、最小閾値から最大閾値までの全閾値範囲のうちの少なくとも一部の閾値に対して閾値ごとにドットパターンの周囲長制限値を設定する。ユーザは入力装置40から任意の周囲長制限値を指定することができる。周囲長制限値設定部62は、全閾値範囲の各閾値に対してそれぞれの閾値の配置に対応するドットパターンの周囲長制限値を設定し得る。 The perimeter length limit value setting unit 62 sets the perimeter length limit value of the dot pattern for each threshold value for at least a part of the threshold values in the entire threshold range from the minimum threshold value to the maximum threshold value. The user can specify an arbitrary perimeter length limit value from the input device 40. The perimeter length limit value setting unit 62 can set the perimeter length limit value of the dot pattern corresponding to each threshold value arrangement for each threshold value in the entire threshold value range.

ただし、本例の閾値マトリクス作成装置30は、ハイライト区間及びシャドー区間について周囲長制限値による制約を適用せずに、閾値の配置を決定する処理を行う。また、ハイライト移行区間の一部の閾値及びシャドー移行区間の一部の閾値については周囲長制限値による制約を適用せずに、閾値の配置を決定する処理を行う。つまり、ハイライト区間及びシャドー区間、並びに、ハイライト移行区間の一部の閾値及びシャドー移行区間の一部の閾値については周囲長制限値の設定は不要である。実質的に使用されないハイライト区間及びシャドー区間、並びに、ハイライト移行区間の一部の閾値及びシャドー移行区間の一部の閾値について周囲長制限値は非設定であってよい。 However, the threshold value matrix creating apparatus 30 of this example performs a process of determining the threshold value placement without applying the constraint by the perimeter length limit value to the highlight section and the shadow section. Further, with respect to some thresholds in the highlight transition section and some thresholds in the shadow transition section, the processing of determining the arrangement of the thresholds is performed without applying the constraint by the perimeter limit value. That is, it is not necessary to set the perimeter length limit value for the highlight section and the shadow section, and for some thresholds of the highlight transition section and some thresholds of the shadow transition section. The perimeter limit value may not be set for a highlight section and a shadow section that are not substantially used, and for some thresholds of the highlight transition section and some thresholds of the shadow transition section.

閾値マトリクス格納部36は、マトリクスサイズ設定部50により設定されたマトリクスサイズの閾値マトリクスを記憶する。閾値マトリクス格納部36には、閾値設定処理部34による閾値設定処理の過程で生成される未完成の閾値マトリクスのデータが格納され得る。未完成の閾値マトリクスとは、閾値が未設定である画素を含む作成途中のマトリクスを指す。また、閾値マトリクス格納部36には、閾値設定処理部34の閾値設定処理を経て作成された閾値マトリクスが格納される。 The threshold matrix storage unit 36 stores the threshold matrix of the matrix size set by the matrix size setting unit 50. The threshold matrix storage unit 36 can store the data of the incomplete threshold matrix generated in the process of the threshold setting processing by the threshold setting processing unit 34. The incomplete threshold matrix refers to a matrix in the process of being created that includes pixels for which thresholds have not been set. The threshold value matrix storage unit 36 also stores a threshold value matrix created through the threshold value setting processing of the threshold value setting processing unit 34.

閾値設定処理部34は、閾値設定順番制御部70と、閾値候補画素決定部72と、画質評価値算出部74と、閾値配置決定部76と、を含む。閾値設定順番制御部70は、全閾値範囲のうち閾値の配置を決定する処理を行う閾値の順番を定める。閾値設定順番制御部70が定める順番に従い、各閾値の配置が順次決定されていく。本例では、ハイライト側の閾値とシャドー側の閾値とを交互に設定する例を説明する。 The threshold value setting processing unit 34 includes a threshold value setting order control unit 70, a threshold value candidate pixel determination unit 72, an image quality evaluation value calculation unit 74, and a threshold value arrangement determination unit 76. The threshold setting order control unit 70 determines the order of thresholds for performing the process of determining the arrangement of thresholds in the entire threshold range. The arrangement of the thresholds is sequentially determined according to the order set by the threshold setting order control unit 70. In this example, an example in which the threshold value on the highlight side and the threshold value on the shadow side are set alternately will be described.

閾値候補画素決定部72は、マトリクス領域内の閾値未設定画素のうち、設定対象の閾値を配置する画素位置の候補である閾値候補画素を定める。周囲長制限を適用する場合、閾値候補画素決定部72は、既に確定しているドット配置に基づき図8で説明したような各画素の周囲長を算出し、画素ごとに設定された周囲長制限値に基づいて閾値候補画素を決定する。閾値候補画素決定部72は、閾値未設定画素のうち周囲長の総和が周囲長制限値以下となる画素を閾値候補画素とする。 The threshold value candidate pixel determination unit 72 determines a threshold value candidate pixel that is a candidate for the pixel position where the threshold value to be set is arranged among the threshold value unset pixels in the matrix area. When applying the perimeter limitation, the threshold candidate pixel determination unit 72 calculates the perimeter of each pixel as described in FIG. 8 based on the already determined dot arrangement, and the perimeter limitation set for each pixel. A threshold candidate pixel is determined based on the value. The threshold value candidate pixel determination unit 72 sets, as the threshold value candidate pixel, a pixel in which the sum of the perimeters is equal to or less than the perimeter length limit value among the threshold-unset pixels.

画質評価値算出部74は、評価関数設定部52により設定された評価関数を用いてドットパターンの画質評価値を算出する。例えば、昇順により閾値tの配置を決めようとする場合、既に配置が確定している閾値t−1までのドット配置に対し、新たに配置位置を決定しようとする閾値tにより追加されるドットを仮の閾値配置画素に置いた場合のドット配置であるドットパターンについて画質評価値が算出されることになる。閾値tの網パーセントに対応するドットパターンは、1階調小さい閾値k−1の網パーセントに対応するドットパターンを全て含む関係にある。閾値tの網パーセントに対応するドットパターンが閾値k−1の網パーセントに対応するドットパターンを内包する関係を保って各閾値の配置が決定されるという制約条件を「積み重ね制約」という。閾値マトリクス作成装置30は、画質評価値を用いて、閾値の配置位置を決定し、積み重ね制約を満たす閾値マトリクスを作成する。 The image quality evaluation value calculation unit 74 calculates the image quality evaluation value of the dot pattern using the evaluation function set by the evaluation function setting unit 52. For example, when the arrangement of the threshold value t is to be decided in ascending order, the dots to be added by the threshold value t for newly deciding the arrangement position are added to the dot arrangement up to the threshold value t-1 where the arrangement is already fixed. The image quality evaluation value is calculated for the dot pattern that is the dot arrangement when placed in the temporary threshold value arrangement pixel. The dot pattern corresponding to the dot percentage of the threshold value t is in a relationship of including all the dot patterns corresponding to the dot percentage of the threshold value k−1 that is one gradation smaller. The constraint condition that the arrangement of each threshold value is determined while maintaining the relationship that the dot pattern corresponding to the dot percentage corresponding to the threshold value t includes the dot pattern corresponding to the dot percentage corresponding to the threshold value k−1 is referred to as “stacking constraint”. The threshold value matrix creating device 30 determines the arrangement position of the threshold value using the image quality evaluation value, and creates the threshold value matrix that satisfies the stacking constraint.

つまり、ハイライト側及びシャドー側のどちらも、それぞれ閾値の配置位置の候補である閾値候補画素を決定する際に、両者の既に閾値設定された閾値設定済み画素を除いて、閾値候補画素が決定される。 That is, both the highlight side and the shadow side, when determining the threshold candidate pixels that are candidates for the threshold position, the threshold candidate pixels are determined excluding the threshold-set pixels that have already been threshold-set. To be done.

画質評価値算出部74は、仮の閾値配置画素を変えて、それぞれのドットパターンについて画質評価値を算出し、算出された画質評価値をそれぞれのドットパターンに対応付けて記憶する。 The image quality evaluation value calculation unit 74 calculates the image quality evaluation value for each dot pattern by changing the provisional threshold value arrangement pixels, and stores the calculated image quality evaluation value in association with each dot pattern.

閾値配置決定部76は、画質評価値算出部74によって算出した画質評価値を基に閾値の配置を決定する。閾値配置決定部76は、画質評価値が最も良好なドットパターンとなる「仮の閾値配置画素」を閾値配置画素に決定し、この決定した閾値配置画素に閾値を設定する。 The threshold value arrangement determination unit 76 determines the arrangement of threshold values based on the image quality evaluation value calculated by the image quality evaluation value calculation unit 74. The threshold value arrangement determination unit 76 determines a “temporary threshold value arrangement pixel” that is a dot pattern having the best image quality evaluation value as a threshold value arrangement pixel, and sets a threshold value in the determined threshold value arrangement pixel.

図11は閾値マトリクス作成装置30におけるパラメータ設定処理の第1例を示すフローチャートである。図11のフローチャートは、図3で説明したステップS1の処理内容の例である。 FIG. 11 is a flowchart showing a first example of parameter setting processing in the threshold matrix creating device 30. The flowchart of FIG. 11 is an example of the processing content of step S1 described in FIG.

図11のステップS12において、マトリクスサイズ設定部50は、作成しようとする閾値マトリクスのサイズを設定する。図4に示した例の場合、20×20画素のマトリクスサイズが設定される。ステップS12のマトリクスサイズ設定ステップは閾値マトリクスのサイズを設定するステップの一例である。 In step S12 of FIG. 11, the matrix size setting unit 50 sets the size of the threshold matrix to be created. In the case of the example shown in FIG. 4, a matrix size of 20×20 pixels is set. The matrix size setting step of step S12 is an example of the step of setting the size of the threshold matrix.

ステップS14において、評価関数設定部52は、画質評価値の算出に用いる評価関数を設定する。評価関数設定部52は、極ハイライト及び極シャドーのドットパターンの画質を評価する際に用いる第1評価関数と、極ハイライト及び極シャドーを除く階調域のドットパターンの画質を評価する際に用いる第2評価関数と、を設定する。ステップS14の評価関数設定ステップは、評価関数を設定するステップの一例である。 In step S14, the evaluation function setting unit 52 sets the evaluation function used to calculate the image quality evaluation value. The evaluation function setting unit 52 uses the first evaluation function used when evaluating the image quality of the dot pattern of the extreme highlight and the polar shadow, and the image quality of the dot pattern of the gradation range excluding the extreme highlight and the polar shadow. And a second evaluation function used for. The evaluation function setting step of step S14 is an example of the step of setting the evaluation function.

ステップS16において、最小ドットサイズ設定部54は、最小ドットサイズを設定する。図4の例では、最小ドットサイズとして2×2画素が設定される。ステップS16の最小ドットサイズ設定ステップは、最小ドットサイズを設定するステップの一例である。 In step S16, the minimum dot size setting unit 54 sets the minimum dot size. In the example of FIG. 4, 2×2 pixels are set as the minimum dot size. The minimum dot size setting step of step S16 is an example of the step of setting the minimum dot size.

ステップS18において、初期配置設定部56は、ハイライト側の初期配置である第1初期配置と、シャドー側の初期配置である第2初期配置と、を設定する。図4の例において、第1初期配置として閾値8のドット配置が設定され、第2初期配置として閾値393のドット配置が設定される。ステップS18の初期配置設定ステップは、初期配置を設定するステップの一例である。 In step S18, the initial placement setting unit 56 sets the first initial placement, which is the initial placement on the highlight side, and the second initial placement, which is the initial placement on the shadow side. In the example of FIG. 4, the dot arrangement of the threshold value 8 is set as the first initial arrangement, and the dot arrangement of the threshold value 393 is set as the second initial arrangement. The initial placement setting step of step S18 is an example of the step of setting the initial placement.

ステップS20において、閾値区間設定部58は、図4で例示したような閾値区間の設定を行う。また、閾値区間設定部58は、図5で説明した単位区間の設定を行う。閾値区間設定部58は最小ドットサイズを基に単位区間の閾値数を定める。ステップS20の閾値区間設定ステップは、閾値区間を設定するステップの一例である。 In step S20, the threshold section setting unit 58 sets the threshold section as illustrated in FIG. In addition, the threshold section setting unit 58 sets the unit section described in FIG. The threshold section setting unit 58 determines the threshold number of unit sections based on the minimum dot size. The threshold section setting step of step S20 is an example of the step of setting the threshold section.

ステップS22において、最小ドットサイズの新規ドット数条件設定部60は、図5で例示したように、ハイラト移行区間における最小ドットサイズの新規ドット数の減らし方を設定する。ステップS22の最小ドットサイズの新規ドット数条件設定ステップは、最小ドットサイズの新規ドットの個数を規定する条件を設定するステップの一例である。 In step S22, the minimum dot size new dot number condition setting unit 60 sets the reduction method of the minimum dot size new dot number in the high latency transition section, as illustrated in FIG. The new dot number condition setting step of the minimum dot size of step S22 is an example of the step of setting the condition defining the number of new dots of the minimum dot size.

ステップS24において、周囲長制限値設定部62は、全閾値範囲のうち少なくとも一部の閾値について周囲長制限値を設定する。本例の場合、ハイライト移行区間の一部の閾値と、中間調区間の閾値と、シャドー移行区間の一部の閾値との各閾値について周囲長制限値を設定する。ステップS24の周囲長制限値設定ステップは、少なくとも一部の閾値に対して閾値ごとにドットパターンの閾値周囲長制限値を設定するステップの一例である。なお、ステップS12からステップS24の実施順番は適宜入れ換えてもよい。 In step S24, the perimeter length limit value setting unit 62 sets perimeter length limit values for at least some of the threshold values in the entire threshold range. In the case of this example, the perimeter length limit value is set for each of the thresholds of the highlight transition section, the threshold of the halftone section, and the thresholds of the shadow transition section. The perimeter length limit value setting step of step S24 is an example of the step of setting the threshold perimeter limit value of the dot pattern for each threshold value for at least some threshold values. The order of performing steps S12 to S24 may be appropriately changed.

図12は閾値マトリクス作成装置30における閾値設定処理の一例を示すフローチャートである。図12のフローチャートは、図3で説明したステップS2の処理内容の例である。 FIG. 12 is a flowchart showing an example of threshold setting processing in the threshold matrix creating device 30. The flowchart of FIG. 12 is an example of the processing content of step S2 described in FIG.

図12では全閾値範囲のうちハイライト側の閾値の処理手順が示されている。ハイライト側の閾値とは、網パーセント50%以下の閾値であり、図4の例でいうと閾値1〜閾値200の閾値範囲の閾値を指す。 FIG. 12 shows the processing procedure of the threshold value on the highlight side in the entire threshold value range. The threshold value on the highlight side is a threshold value with a halftone dot percentage of 50% or less, and refers to a threshold value in the threshold range of threshold values 1 to 200 in the example of FIG.

図12に示すように、ハイライト側の閾値設定処理は、ハイライト区間の閾値設定を行うステップ(ステップS32)と、ハイライト移行区間の閾値設定を行うステップ(ステップS34)と、ハイライト中間調区間の閾値設定を行う(ステップS36)と、を含む。 As shown in FIG. 12, the highlight side threshold value setting process includes a step of setting a threshold value of a highlight section (step S32), a step of setting a threshold value of a highlight transition section (step S34), and a highlight intermediate step. Setting a threshold value of a key interval (step S36).

ステップS32において、閾値設定処理部34は、初期配置である閾値8のドット配置から降順で閾値8〜閾値1の各閾値を設定する。また、閾値設定処理部34は、閾値8のドット配置から昇順で閾値9〜16の各閾値を設定する。ハイライト区間については、既述のとおり、周囲長制限無しで最小ドットサイズの新規ドットを配置するよう各閾値の配置位置を決定する。ハイライト区間の内、極ハイライト区間の各閾値を配置すべき画素を決めるための手法として、公知のボイドアンドクラスタ法を採用することができる。ボイドアンドクラスタ法について記載されている文献として、例えば、: Robert A. Ulichney, “The void-and-cluster method for dither array generation,” IS&T/SPIE Symposium on Electronic Imaging and Science, San Jose, CA, vol. 1913, 332-343, (1993)がある。 In step S32, the threshold setting processing unit 34 sets the thresholds 8 to 1 in descending order from the dot arrangement of the threshold 8 which is the initial arrangement. Further, the threshold value setting processing unit 34 sets each threshold value of the threshold values 9 to 16 in ascending order from the dot arrangement of the threshold value 8. Regarding the highlight section, as described above, the arrangement position of each threshold value is determined so that a new dot of the minimum dot size is arranged without the limitation of the peripheral length. A publicly known void-and-cluster method can be adopted as a method for determining a pixel in which each threshold value of the extreme highlight section is to be arranged in the highlight section. Literatures describing the void and cluster method include, for example: Robert A. Ulichney, “The void-and-cluster method for dither array generation,” IS&T/SPIE Symposium on Electronic Imaging and Science, San Jose, CA, vol. . 1913, 332-343, (1993).

ステップS32のハイライト区間の閾値設定ステップは、周囲長制限値に基づく周囲長制限の制約を非適用とし、最小ドットサイズのドットを配置するよう閾値の配置位置を決定するステップの一例である。 The threshold setting step of the highlight section in step S32 is an example of the step of deciding the arrangement position of the threshold so as to dispose the restriction of the perimeter length restriction based on the perimeter length limit value and arrange the dots of the minimum dot size.

ステップS34において、閾値設定処理部34は、ハイライト移行区間の各閾値を値の小さいものから順に、昇順の順番で設定する。その際、閾値設定処理部34は、図5で説明した各単位区間における最小ドットサイズの新規ドット閾値数の制約の下で各閾値を設定する。すなわち、各単位区間において規定された新規ドット閾値数の閾値については、周囲長制限の制約を非適用として最小ドットサイズのドットを配置するよう閾値の配置位置を決定する周囲長非制限処理を行う。一方、各単位区間において規定された新規ドット閾値数の閾値以外の残りの閾値については、周囲長制限値以下となる閾値候補画素の中から画質評価値に基づき閾値の配置位置を決定する周囲長制限処理を行う。 In step S34, the threshold value setting processing unit 34 sets each threshold value of the highlight transition section in ascending order from the smallest value. At that time, the threshold setting processing unit 34 sets each threshold under the constraint of the number of new dot thresholds of the minimum dot size in each unit section described in FIG. That is, with respect to the threshold value of the number of new dot thresholds defined in each unit section, the perimeter length non-limitation process is performed to determine the placement position of the threshold value so that the dots of the minimum dot size are placed without applying the perimeter length limitation constraint. .. On the other hand, for the remaining thresholds other than the threshold value of the new dot threshold number defined in each unit section, the perimeter length that determines the placement position of the threshold value based on the image quality evaluation value among the threshold value candidate pixels that are less than or equal to the perimeter length limit value. Perform restriction processing.

ハイライト移行区間の各閾値の設定は、図5で例示した最小ドットサイズの新規ドット数の制約条件に従い、周囲長非制限処理と、周囲長制限処理とを、を組み合わせて実施する。 The setting of each threshold value in the highlight transition section is performed by combining the perimeter length non-limiting process and the perimeter length limiting process in accordance with the constraint condition of the number of new dots of the minimum dot size illustrated in FIG.

ステップS36において、閾値設定処理部34は、ハイライト中間調区間の各閾値を値の小さいものから順に、昇順の順番で設定する。その際、閾値設定処理部34は、閾値ごとに周囲長制限値以下の画素を閾値候補画素とし、閾値候補画素の中から画質評価値が最良となる画素に閾値を設定する。 In step S36, the threshold value setting processing unit 34 sets each threshold value in the highlight halftone section in ascending order from the smallest value. At that time, the threshold value setting processing unit 34 sets, for each threshold value, a pixel having a perimeter length limit value or less as a threshold value candidate pixel, and sets a threshold value to a pixel having the best image quality evaluation value among the threshold value candidate pixels.

図13は昇順の閾値設定処理の流れを示したフローチャートである。図13のフローチャートは閾値設定処理部34によって実行される。 FIG. 13 is a flowchart showing the flow of the ascending threshold setting process. The flowchart of FIG. 13 is executed by the threshold setting processing unit 34.

まず、ステップS42において、閾値設定順番制御部70は、設定対象の閾値Th(k)を指定する。kは閾値のインデックスを表す変数である。例えば、図4の閾値9〜閾値200の閾値を対象とする場合のkは、9≦k≦200の範囲のいずれかの整数を取り得る。例えば、初期値はk=9としてよい。 First, in step S42, the threshold setting order control unit 70 specifies the threshold Th(k) to be set. k is a variable that represents a threshold index. For example, k in the case of targeting the threshold values 9 to 200 in FIG. 4 can take any integer in the range of 9≦k≦200. For example, the initial value may be k=9.

ステップS43において、閾値設定順番制御部70は、閾値Th(k)の設定に際して周囲長制限を適用するか否かの判定を行う。閾値Th(k)がハイライト区間に属する場合、若しくは、閾値Th(k)がハイライト移行区間に属し、かつ、図5で説明した最小ドットサイズの新規ドット閾値数に割り当てられた閾値に該当する場合、閾値設定順番制御部70は、周囲長制限を非適用と判定し、ステップS46に移行する。ステップS46において、閾値設定処理部34は、周囲長制限無しに、最小ドットサイズのドットを配置するように閾値Th(k)を配置する。最小ドットサイズのドットを配置する位置は、画質評価値算出部74が算出する画質評価値に基づいて決定される。 In step S43, the threshold setting order control unit 70 determines whether to apply the perimeter limit when setting the threshold Th(k). The threshold value Th(k) belongs to the highlight section, or the threshold value Th(k) belongs to the highlight transition section and corresponds to the threshold value assigned to the new dot threshold value number of the minimum dot size described in FIG. In this case, the threshold setting order control unit 70 determines that the perimeter length limitation is not applied and moves to step S46. In step S46, the threshold value setting processing unit 34 arranges the threshold value Th(k) so as to arrange the dots of the minimum dot size without the perimeter length limitation. The position at which the dot of the minimum dot size is arranged is determined based on the image quality evaluation value calculated by the image quality evaluation value calculation unit 74.

一方、ステップS43において、閾値Th(k)がハイライト移行区間に属し、かつ、図5で説明した最小ドットサイズの新規ドット閾値数に割り当てられた閾値に非該当である場合、閾値設定順番制御部70は、周囲長制限を適用すると判定し、ステップS48に移行する。 On the other hand, in step S43, when the threshold Th(k) belongs to the highlight transition section and does not correspond to the threshold assigned to the new dot threshold number of the minimum dot size described in FIG. 5, threshold setting order control The unit 70 determines that the perimeter limit is applied, and moves to step S48.

ステップS48において、閾値候補画素決定部72は、周囲長制限値以下となる画素を閾値候補画素とする。ステップS48の閾値候補画素決定ステップは、閾値候補画素を決定するステップの一例である。 In step S48, the threshold candidate pixel determination unit 72 sets the pixels having the perimeter length limit value or less as the threshold candidate pixels. The threshold candidate pixel determination step of step S48 is an example of the step of determining threshold candidate pixels.

ステップS50において、画質評価値算出部74は、閾値候補画素のうちの1つの画素を仮に黒画素として閾値Th(k−1)のドット配置に加えたドットパターンの画質評価値を算出する。画質評価値算出部74は、仮に黒画素化した閾値候補画素の位置と、算出した画質評価値とを関連付けて記憶する。 In step S50, the image quality evaluation value calculation unit 74 calculates the image quality evaluation value of the dot pattern in which one pixel among the threshold value candidate pixels is temporarily added as a black pixel to the dot arrangement of the threshold value Th(k−1). The image quality evaluation value calculation unit 74 stores the position of the threshold value candidate pixel, which is temporarily blackened, and the calculated image quality evaluation value in association with each other.

ステップS52において、閾値設定処理部34は、全ての閾値候補画素の画質評価値を算出したか否かを判定する。ステップS52の判定がNo判定である場合は、ステップS54に進む。 In step S52, the threshold setting processing unit 34 determines whether or not the image quality evaluation values of all threshold candidate pixels have been calculated. If the determination in step S52 is No, the process proceeds to step S54.

ステップS54において、画質評価値算出部74は、黒画素化する閾値候補画素を変更して、ステップS50に戻る。 In step S54, the image quality evaluation value calculation unit 74 changes the threshold candidate pixel to be turned into a black pixel, and returns to step S50.

ステップS52の判定がYes判定である場合は、ステップS56に移行する。ステップS56において、閾値配置決定部76は、画質評価値が最良となる閾値候補画素に閾値Th(k)を配置する。 If the determination in step S52 is Yes, the process proceeds to step S56. In step S56, the threshold placement determining unit 76 places the threshold Th(k) on the threshold candidate pixel having the best image quality evaluation value.

ステップS56の後、又はステップS46の後、ステップS58に移行する。ステップS58において、閾値設定順番制御部70は、次の閾値を設定するか否かを判定する。設定対象とする次の閾値が残っていれば、ステップS58の判定がYes判定となり、ステップS60に移行する。 After step S56 or step S46, the process proceeds to step S58. In step S58, the threshold setting order control unit 70 determines whether to set the next threshold. If the next threshold to be set remains, the determination in step S58 becomes Yes and the process proceeds to step S60.

ステップS60において、閾値設定順番制御部70はインデックスであるkの値をインクリメントし、「k+1」を新たにkの値としてステップS42に戻る。 In step S60, the threshold setting order control unit 70 increments the value of k, which is an index, and sets "k+1" as a new value of k, and the process returns to step S42.

その一方、ステップS58の判定において、設定対象となる次の閾値が無い場合は、図13のフローチャートを終了する。 On the other hand, in the determination of step S58, if there is no next threshold to be set, the flowchart of FIG. 13 ends.

[閾値の設定順序について]
ここまでの説明はハイライトから中間調にかけての閾値設定方法のみを説明した。実際にはハイライトからハイライト中間調にかけてのハイライト側の閾値設定とシャドーからシャドー中間調にかけてのシャドー側の閾値設定を交互に行う。
[Regarding threshold setting order]
The description so far has described only the threshold value setting method from highlight to halftone. Actually, the threshold value setting on the highlight side from the highlight to the halftone of highlight and the threshold value setting on the shadow side from the shadow to the halftone of shadow are alternately performed.

図4の例では、まず閾値16以下のハイライト区間と、閾値385以上のシャドー区間において、交互に、最小ドットサイズである2×2画素の新規ドットを追加(昇順で設定する場合)又は削除(降順で設定する場合)して閾値設定する。次に閾値17〜閾値64のハイライト移行区間と閾値384〜閾値337のシャドー移行区間において、交互に2×2画素の新規ドットの追加を行い閾値設定し、また交互に周囲長制限下で閾値設定する。その後、閾値65〜閾値200のハイライト中間調区間と閾値336〜閾値201のシャドー中間調区間において、交互に周囲長制限下で閾値設定し、最後に閾値201を設定して閾値マトリクスの作成が完了する。 In the example of FIG. 4, first, in a highlight section with a threshold of 16 or less and a shadow section with a threshold of 385 or more, new dots of 2×2 pixels, which is the minimum dot size, are alternately added (when set in ascending order) or deleted. (When setting in descending order) and set the threshold value. Next, in the highlight transition section of the threshold values 17 to 64 and the shadow transition section of the threshold values 384 to 337, new dots of 2×2 pixels are alternately added to set the threshold values, and the threshold values are alternately set under the perimeter limit. Set. After that, in the highlight halftone section of the threshold value 65 to the threshold value 200 and the shadow halftone section of the threshold value 336 to the threshold value 201, the threshold value is alternately set under the perimeter limitation, and finally the threshold value 201 is set to create the threshold value matrix. Complete.

つまり、ハイライト側の初期配置である閾値8と、シャドー側の初期配置である閾値393をそれぞれのスタートにして、閾値8→閾値7→閾値6→閾値5→閾値393→閾値394→閾値395→閾値396→閾値4→閾値3→閾値2→閾値1→閾値397→閾値398→閾値399→閾値400→閾値9→閾値10→閾値11→閾値12→閾値392→閾値391→閾値390→閾値389→・・・閾値17→閾値18→閾値19→閾値20→閾値384→閾値383→閾値382→閾値381→・・・閾値29→閾値372→閾値30→閾値371→・・・閾値65→閾値336→閾値66→閾値335→・・・閾値199→閾値200→閾値201というような順番で全閾値の配置位置が決定される。 That is, the threshold value 8 which is the initial arrangement on the highlight side and the threshold value 393 which is the initial arrangement on the shadow side are set to start respectively, and the threshold value 8→the threshold value 7→the threshold value 6→the threshold value 5→the threshold value 393→the threshold value 394→the threshold value 395. → threshold 396 → threshold 4 → threshold 3 → threshold 2 → threshold 1 → threshold 397 → threshold 398 → threshold 399 → threshold 400 → threshold 9 → threshold 10 → threshold 11 → threshold 12 → threshold 392 → threshold 391 → threshold 390 → threshold 389→...threshold value 17→threshold value 18→threshold value 19→threshold value 20→threshold value 384→threshold value 383→threshold value 382→threshold value 381→...threshold value 29→threshold value 372→threshold value 30→threshold value 371→...threshold value 65→ Arrangement positions of all thresholds are determined in the order of threshold 336→threshold 66→threshold 335→... threshold 199→threshold 200→threshold 201.

ハイライト側の初期配置である閾値8の一つ上の閾値9から閾値200では閾値を増す方向に各閾値を設定すると共に黒画素を追加するが、シャドー側の初期配置である閾値393の一つ下の閾値392から閾値201では閾値を減らす方向に各閾値を設定すると共に白画素を追加することとなる。なお、閾値1〜8については、既に説明したように、閾値を減らす方向に各閾値を設定すると共に黒画素を削除し、また、閾値400〜閾値393については、閾値を増やす方向に各閾値を設定すると共に白画素を削除する。 From the threshold value 9 above the threshold value 8 which is the initial arrangement on the highlight side to the threshold value 200, each threshold value is set in the direction of increasing the threshold value and black pixels are added. From the lower threshold 392 to the threshold 201, each threshold is set in the direction of decreasing the threshold and white pixels are added. As to the thresholds 1 to 8, as described above, each threshold is set in the direction of decreasing the threshold and black pixels are deleted, and for the thresholds 400 to 393, each of the thresholds is increased in the direction of increasing the threshold. Set and delete white pixels.

図14はハイライト側とシャドー側とから閾値を交互に順次設定する場合のフローチャートである。 FIG. 14 is a flow chart when the threshold values are alternately set from the highlight side and the shadow side.

ステップS71において、閾値設定処理部34は、ハイライト区間の閾値設定を行う。ステップS71では、ハイライト区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 In step S71, the threshold setting processing unit 34 sets the threshold for the highlight section. In step S71, one threshold value to be set that belongs to the highlight section is selected, and the arrangement position of the threshold value is determined.

次いで、ステップS72において、閾値設定処理部34は、シャドー区間の閾値設定を行う。ステップS72では、シャドー区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 Next, in step S72, the threshold setting processing unit 34 sets a threshold for the shadow section. In step S72, one threshold value to be set that belongs to the shadow section is selected, and the arrangement position of the threshold value is determined.

次いで、ステップS73において、閾値設定順番制御部70は、ハイライト区間及びシャドー区間のそれぞれの区間に属する閾値の設定を完了したか否かを判定する。ハイライト区間及びシャドー区間の少なくとも一方の区間に未設定の閾値が存在する場合は、ステップS71に戻り、設定対象の閾値を変えて、ステップS71とステップS72の処理を繰り返す。 Next, in step S73, the threshold setting order control unit 70 determines whether or not the setting of the thresholds belonging to each of the highlight section and the shadow section has been completed. When there is an unset threshold in at least one of the highlight section and the shadow section, the process returns to step S71, the threshold to be set is changed, and the processes of step S71 and step S72 are repeated.

ハイライト区間及びシャドー区間のそれぞれの区間に属する閾値の設定が完了すると、ステップS73の判定がYes判定となり、ステップS74に移行する。 When the setting of the threshold values belonging to each of the highlight section and the shadow section is completed, the determination in step S73 becomes Yes, and the process proceeds to step S74.

ステップS74において、閾値設定処理部34は、ハイライト移行区間の閾値設定を行う。ステップS74では、ハイライト移行区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 In step S74, the threshold setting processing unit 34 sets the threshold for the highlight transition section. In step S74, one threshold value to be set belonging to the highlight transition section is selected, and the arrangement position of the threshold value is determined.

ステップS75において、閾値設定処理部34は、シャドー移行区間の閾値設定を行う。ステップS75では、シャドー区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 In step S75, the threshold setting processing unit 34 sets a threshold for the shadow transition section. In step S75, one threshold to be set belonging to the shadow section is selected, and the arrangement position of the threshold is determined.

次いで、ステップS76において、閾値設定順番制御部70は、ハイライト移行区間及びシャドー移行区間のそれぞれの区間に属する閾値の設定を完了したか否かを判定する。ハイライト移行区間及びシャドー移行区間の少なくとも一方の区間に未設定の閾値が存在する場合は、ステップS74に戻り、設定対象の閾値を変えて、ステップS74とステップS75の処理を繰り返す。 Next, in step S76, the threshold setting order control unit 70 determines whether or not the setting of the thresholds belonging to each of the highlight transition section and the shadow transition section has been completed. If an unset threshold value exists in at least one of the highlight transition section and the shadow transition section, the process returns to step S74, the threshold to be set is changed, and the processes of steps S74 and S75 are repeated.

ハイライト移行区間及びシャドー移行区間のそれぞれの区間に属する閾値の設定が完了すると、ステップS76の判定がYes判定となり、ステップS77に移行する。 When the setting of the thresholds belonging to each of the highlight transition section and the shadow transition section is completed, the determination in step S76 is Yes, and the process proceeds to step S77.

ステップS77において、閾値設定処理部34は、ハイライト中間調区間の閾値設定を行う。ステップS77では、ハイライト中間調区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 In step S77, the threshold value setting processing unit 34 sets a threshold value for the highlight halftone section. In step S77, one threshold value to be set that belongs to the highlight halftone section is selected, and the arrangement position of the threshold value is determined.

ステップS78において、閾値設定処理部34は、シャドー中間調区間の閾値設定を行う。ステップS78では、シャドー中間調区間に属する1つの設定対象の閾値が選ばれ、その閾値の配置位置が決定される。 In step S78, the threshold value setting processing unit 34 sets a threshold value for the shadow halftone section. In step S78, one setting target threshold value belonging to the shadow halftone section is selected, and the arrangement position of the threshold value is determined.

次いで、ステップS79において、閾値設定順番制御部70は、ハイライト中間調区間及びシャドー中間調区間のそれぞれの区間に属する閾値の設定を完了したか否かを判定する。ハイライト中間調区間及びシャドー中間調区間の少なくとも一方の区間に未設定の閾値が存在する場合は、ステップS77に戻り、設定対象の閾値を変えて、ステップS77とステップS78の処理を繰り返す。 Next, in step S79, the threshold setting order control unit 70 determines whether or not the setting of the thresholds belonging to each of the highlight halftone section and the shadow halftone section has been completed. If an unset threshold exists in at least one of the highlight halftone section and the shadow halftone section, the process returns to step S77, the threshold to be set is changed, and the processes of steps S77 and S78 are repeated.

ハイライト中間調区間及びシャドー中間調区間のそれぞれの区間に属する閾値の設定が完了すると、ステップS79の判定がYes判定となり、図14のフローチャートを終了する。 When the setting of the threshold values belonging to each of the highlight halftone section and the shadow halftone section is completed, the determination in step S79 becomes Yes, and the flowchart in FIG. 14 ends.

[ハイライト側の閾値とシャドー側の閾値とを交互に設定する形態の利点]
ハイライトとシャドーの閾値を交互に設定する閾値マトリクスの作成方法によれば、閾値マトリクスにおけるハイライト側の網とシャドー側の網の画質を同等に設計できる。したがって、この方法によって得られた閾値マトリクスを使ってネガ用の刷版もポジ用の刷版も同等の画質で作ることができる。
[Advantages of form in which threshold value on highlight side and threshold value on shadow side are set alternately]
According to the method of creating the threshold value matrix in which the threshold values of highlight and shadow are alternately set, the image quality of the highlight side net and the shadow side net in the threshold matrix can be designed to be equal. Therefore, a negative printing plate and a positive printing plate can be made with the same image quality by using the threshold matrix obtained by this method.

一方で、閾値マトリクスの使用がネガ用又はポジ用に限定されている場合などのように、ハイライト側の画質を優先して設計したい場合には、まずハイライトから中間調までの閾値を順次設定し、その後、中間調からシャドーまでの閾値を順次設定してもよい。つまり、まず網パーセント0%から50%の閾値を設定し、その後50%から100%までの閾値を設定してもよい。この場合、シャドー側では、ハイライト側での最小ドットサイズの新規ドット追加(又は削除)に相当する処理は行わない。つまりハイライト側でのハイライト区間やハイライト移行区間に相当する区間であるシャドー区間やシャドー移行区間は設けない。 On the other hand, if you want to prioritize the image quality on the highlight side, such as when the use of the threshold matrix is limited to negative or positive, first set the threshold values from highlight to halftone sequentially. After setting, the threshold values from the halftone to the shadow may be sequentially set. That is, first, a threshold value of 0% to 50% may be set, and then a threshold value of 50% to 100% may be set. In this case, the shadow side does not perform the process corresponding to the addition (or deletion) of the new dot of the minimum dot size on the highlight side. That is, no shadow section or shadow transition section corresponding to the highlight section or highlight transition section on the highlight side is provided.

逆に、シャドー側の画質を優先して設計したい場合には、まずシャドーから中間調までの閾値を順次設定し、その後、中間調からハイライトまでの閾値を順次設定してもよい。この場合、シャドー区間やシャドー移行区間を設ける一方、ハイライト区間やハイライト移行区間は設けなくてよい。 On the contrary, if it is desired to prioritize the image quality on the shadow side, first, the threshold values from the shadow to the halftone may be sequentially set, and then the threshold values from the halftone to the highlight may be sequentially set. In this case, the shadow section and the shadow transition section are provided, but the highlight section and the highlight transition section need not be provided.

[本実施形態により作成される閾値マトリクスによって得られるドットパターンの周囲長の例]
図15は本実施形態により作成される閾値マトリクスのドットパターン周囲長の例を示すグラフである。本実施形態によれば、周囲長制限値の設定の仕方により、図15に示すように、中間調の周囲長を任意に設計し得る。また、最初から妥当な周囲長制限値を設定することが困難な場合には、基準となる周囲長制限値のモデルデータを用いて、暫定的に周囲長制限値を設定して閾値マトリクスを作成し、テスト印刷の結果などに応じて、モデルデータを適宜編集して周囲長制限値の設定を変更してもよい。
[Example of perimeter of dot pattern obtained by threshold matrix created according to this embodiment]
FIG. 15 is a graph showing an example of the dot pattern perimeter of the threshold matrix created according to this embodiment. According to the present embodiment, the perimeter of a halftone can be arbitrarily designed as shown in FIG. 15 depending on how to set the perimeter limit value. If it is difficult to set an appropriate perimeter limit value from the beginning, use the model data of the perimeter limit value as a reference to provisionally set the perimeter limit value and create a threshold matrix. However, the setting of the perimeter length limit value may be changed by appropriately editing the model data according to the result of the test printing.

例えば、表示装置42の画面に図15のようなグラフを表示させ、入力装置40からグラフの曲線形状を修正する操作を受け付けるグラフィカルユーザーインターフェースを備えてもよい。 For example, a graphical user interface for displaying a graph as shown in FIG. 15 on the screen of the display device 42 and accepting an operation for correcting the curve shape of the graph from the input device 40 may be provided.

[周囲長制限値の定め方の例]
本開示に係る閾値マトリクスの作成方法は、閾値マトリクスの作成条件であるパラメータの1つとして、少なくとも一部の閾値について周囲長制限値を設定して、この周囲長制限値が示す周囲長制限下で閾値マトリクスを作成する。
[Example of how to determine the perimeter length limit value]
A method of creating a threshold matrix according to the present disclosure sets a perimeter length limit value for at least a part of threshold values as one of parameters that is a threshold matrix creation condition, and sets a perimeter length limit value indicated by the perimeter length limit value. Create a threshold matrix with.

周囲長制限値としては任意の値を設定することが可能である。印刷適性が好ましい周囲長制限値の定め方の一例として、AM線数から定まる基準となる周囲長を目安として用いることができる。具体的には、AM線数を指定して、この指定されたAM線数に相当する周囲長が周囲長制限値として出力され、該周囲長の制限下でマトリクス作成する実施例が挙げられる。AM線数は、AM網のスクリーン線数であり、1インチ当たりの網点の数を指す。 An arbitrary value can be set as the perimeter length limit value. As an example of how to determine the perimeter length limit value that is preferably printable, the perimeter length that is a reference determined from the AM line number can be used as a guide. Specifically, an example is given in which the number of AM lines is designated, the perimeter length corresponding to the designated number of AM lines is output as a perimeter length limit value, and a matrix is created under the perimeter limit. The number of AM lines is the number of screen lines of the AM net and indicates the number of halftone dots per inch.

[AM線数から周囲長を算出する方法の説明]
与えられたAM線数をRとして、1平方インチ当たりの周囲長を算出する方法を説明する。Rの単位は「lpi(line per inch)」である。ラインパーインチは、1インチ当たり網点の数を示す単位である。
[Explanation of method of calculating perimeter from AM line number]
A method of calculating the perimeter length per square inch will be described, where R is the given number of AM lines. The unit of R is "lpi (line per inch)". The line per inch is a unit indicating the number of halftone dots per inch.

図16では黒画素の一塊である黒い網点80を「網点」とし、また説明を簡単にするために網点の角度が0度の場合を示している。網点の角度とは、スクリーン角度と同義であり、スクリーンの垂直軸又は水平軸との角度を指す。図16に示すように、網点の数は縦方向及び横方向それぞれ1インチ当たりにR個あるため、1平方インチ当たりR個の網点がある。 In FIG. 16, the black halftone dot 80, which is a block of black pixels, is referred to as a “halftone dot”, and the case where the angle of the halftone dot is 0 degrees is shown for the sake of simplicity. The halftone dot angle is synonymous with the screen angle and refers to the angle with the vertical axis or the horizontal axis of the screen. As shown in FIG. 16, since the number of halftone dots is R per 1 inch in each of the vertical and horizontal directions, there are R 2 halftone dots per square inch.

1つの網点の1辺の長さをaミリメートル[mm]とし、網点形状を正方形と見做す。網パーセントをD[%]として、まずaをRとDから求める式を導く。 The length of one side of one halftone dot is a millimeter [mm], and the halftone dot shape is regarded as a square. First, an equation for obtaining a from R and D is derived with the halftone dot percentage being D [%].

1つの網点の面積はa平方ミリメートル[mm]であるため、1平方インチ当たりの網点面積はR*a平方ミリメートル[mm]になる。なお、「*」は掛け算の演算記号を表す。1平方インチの面積は(25.42)[mm]であるため、網パーセントD[%]は100 * R* a /(25.42)となる。つまり、aはRとDから以下の[式1]で求められる。 Since the area of one halftone dot is a 2 square millimeter [mm 2 ], the halftone dot area per square inch is R 2 *a 2 square millimeter [mm 2 ]. In addition, "*" represents a calculation symbol of multiplication. Since the area of 1 square inch is (25.42) 2 [mm 2 ], the halftone dot percentage D [%] is 100*R 2 *a 2 /(25.42) 2 . That is, a is obtained from R and D by the following [Formula 1].

a=(25.4/R) * sqrt(D/100) ・・・[式1]
ここでsqrt(x)はxの平方根を表す。
a=(25.4/R)*sqrt(D/100)... [Equation 1]
Here, sqrt(x) represents the square root of x.

1つの網点の周囲長は4*a[mm]であるため、1平方インチ当たりの周囲長をL[mm]とすると、L=4*R*aであり、[式1]から、LはRとDから以下の[式2]で求められる。 Since the perimeter of one halftone dot is 4*a [mm], if the perimeter of 1 square inch is L [mm], then L=4*R 2 *a, and from [Equation 1], L is obtained from R and D by the following [Formula 2].

L=4*25.4*R* sqrt(D/100) ・・・[式2]
[式2]におけるLの単位はミリメートル[mm]であるが、閾値マトリクスを作成する際の周囲長制限値は、閾値マトリクスの1画素の長さを単位とする周囲長で与える必要があるため、その長さに変換する。
L=4*25.4*R* sqrt (D/100)... [Equation 2]
The unit of L in [Equation 2] is millimeters [mm], but the perimeter length limit value when creating the threshold matrix needs to be given as the perimeter with the length of one pixel of the threshold matrix as a unit. , Convert to that length.

閾値マトリクスの解像度、すなわち出力解像度をr[dpi]とすると、1画素の長さは25.4/rミリメートル[mm]であるため、1画素の長さを単位とする周囲長をLpとして、Lp=L*r/25.4であり、つまり以下の[式3]となる。 When the resolution of the threshold matrix, that is, the output resolution is r[dpi], the length of one pixel is 25.4/r millimeters [mm]. Therefore, the peripheral length in units of the length of one pixel is Lp. Lp=L*r/25.4, that is, [Equation 3] below.

Lp=4*R*r* sqrt(D/100) ・・・[式3]
[式3]によって、線数RのAMスクリーンの解像度r、網パーセントDにおける1平方インチ当たりの周囲長Lpを求めることができる。
Lp=4*R*r* sqrt (D/100)... [Equation 3]
By using [Equation 3], the resolution r of the AM screen having the number of lines R and the perimeter Lp per square inch in the halftone dot D can be obtained.

図16では網点の角度が0度の場合を示しているが、網点の角度が何れの場合でも[式3]によって周囲長Lpを求めることができる。[式3]のLpは網点の各辺を直線と見做した周囲長であるが、実際のCTP製版等における網点は図17のように、格子状に並ぶ画素の塊として形成される。 Although the case where the angle of the halftone dot is 0 degree is shown in FIG. 16, the peripheral length Lp can be obtained by [Equation 3] regardless of the angle of the halftone dot. Although Lp in [Equation 3] is the perimeter of each side of the halftone dot as a straight line, the halftone dot in actual CTP platemaking is formed as a cluster of pixels arranged in a grid pattern as shown in FIG. ..

したがって、実際の出力システムを想定した網点の周囲長としては、格子状の網点の周囲長を求める必要がある。格子状の網点とは、格子状の画素の塊であるクラスタによって構成される網点のことを指す。 Therefore, it is necessary to obtain the perimeter of the grid-shaped halftone dots as the perimeter of the halftone dots assuming an actual output system. The grid-like halftone dots are halftone dots composed of clusters, which are clusters of grid-like pixels.

格子状の網点の周囲長は網点の角度によって変わる。例えば図17に示す網点(網点の角度0度)と図18に示す網点(網点の角度15度)では、直線と見做す1辺の長さaが同じでも、格子状の網点における1辺の長さは異なる。したがって、図17に示す網点の周囲長と、図18に示す網点の周囲長は異なる。 The perimeter of the grid of dots varies depending on the angle of the dots. For example, in the halftone dots shown in FIG. 17 (halftone dot angle 0°) and the halftone dots shown in FIG. 18 (halftone dot angle 15°), even if the length a of one side considered to be a straight line is the same, The length of one side at the halftone dots is different. Therefore, the perimeter of the halftone dot shown in FIG. 17 and the perimeter of the halftone dot shown in FIG. 18 are different.

図18を用いて、網点の直線と見做す1辺の長さaから格子状の網点の1辺の長さを求める方法を説明する。図18では網点が15度傾いているが、一般化して角度θで傾いているとする。ただし、網点の角度θはθ≦45°であるとする。図18のように網点の中心を「O」とし、略正方形の網点の対角線と、スクリーンの垂直軸とのなす角度(網点の角度)をθ、直線の1辺を斜辺とする直角三角形の各頂点をA、B、C、∠ABCをαとする。∠ABCの表記は、角ABCを意味しており、線分ABと線分BCの間の角を表す。 A method for obtaining the length of one side of a grid-shaped halftone dot from the length a of one side regarded as a straight line of halftone dots will be described with reference to FIG. In FIG. 18, the halftone dots are inclined by 15 degrees, but it is generalized that they are inclined by the angle θ. However, the angle θ of the halftone dots is assumed to be θ≦45°. As shown in FIG. 18, the center of the halftone dot is “O”, the angle between the diagonal line of the substantially square halftone dot and the vertical axis of the screen (the halftone dot angle) is θ, and one side of the straight line is the oblique side. Let each vertex of the triangle be A, B, C and ∠ABC be α. The notation of ∠ABC means a corner ABC and represents a corner between the line segment AB and the line segment BC.

図18から、格子状の網点の1辺の長さはa*sinα+a*cosαで与えられることが分かる。ここで∠CBO=45°であるから∠ABO=α+45°であり、また∠ABO=90°−θであるからα=45°−θとなるため、格子状の網点の1辺の長さはaとθから以下の[式4]で求められる。 From FIG. 18, it can be seen that the length of one side of the grid-shaped halftone dot is given by a*sinα+a*cosα. Since ∠CBO=45°, ∠ABO=α+45°, and ∠ABO=90°−θ, so α=45°−θ. Therefore, the length of one side of the grid-like halftone dot. Can be calculated from a and θ by the following [Equation 4].

a*{sin(45°−θ)+cos(45°−θ) } ・・・[式4]
角度θが45°を超える場合も同様に考えて格子状の網点の1辺の長さをaとθから求めることができる。
a*{sin(45°−θ)+cos(45°−θ)} ・・・[Equation 4]
When the angle θ exceeds 45°, the length of one side of the grid-like halftone dot can be calculated from a and θ in the same manner.

角度θが45°以下の場合と、45°を超える場合とをまとめると、格子状の網点の1辺の長さは以下の[式5]で求められる。 Summarizing the case where the angle θ is 45° or less and the case where it exceeds 45°, the length of one side of the grid-shaped halftone dot is obtained by the following [Equation 5].

a*{sin(abs(45°−θ))+cos(abs(45°−θ))} ・・・[式5]
ここでabs(x)はxの絶対値を表す。
a*{sin(abs(45°−θ))+cos(abs(45°−θ))} [Equation 5]
Here, abs(x) represents the absolute value of x.

1つの網点の周囲長は、4*a*{sin(abs(45°−θ))+cos(abs(45°−θ))}である。1平方インチ当たりの周囲長Lは、L=4*R*a*{sin(abs(45°−θ))+cos(abs(45°−θ))}である。 The perimeter of one halftone dot is 4*a*{sin(abs(45°−θ))+cos(abs(45°−θ))}. The perimeter L per square inch is L=4*R 2 *a*{sin(abs(45°−θ))+cos(abs(45°−θ))}.

したがって、[式1]からLはR、D及びθから以下の[式6]で求められる。 Therefore, from [Equation 1], L is obtained from R, D, and θ by the following [Equation 6].

L=4*25.4*R* sqrt(D/100)*{sin(abs(45°−θ))+cos(abs(45°−θ)) } ・・・[式6]
また、解像度r[dpi]の1画素の長さを単位とする周囲長Lpは以下の式となる。
L=4*25.4*R* sqrt(D/100)*{sin(abs(45°−θ))+cos(abs(45°−θ))} [Equation 6]
Further, the perimeter Lp in the unit of the length of one pixel of the resolution r[dpi] is given by the following formula.

Lp=4*R*r* sqrt(D/100)*{sin(abs(45°−θ))+cos(abs(45°−θ))} ・・・[式7]
網点形状が正方形の場合、上記の[式2]、[式3]、[式6]、又は[式7]によって周囲長を求めることができる。網点形状として一般的に正方形が良く使われるものの、よりトーンジャンプが目立たない円形が使われることもある。
Lp=4*R*r* sqrt(D/100)*{sin(abs(45°−θ))+cos(abs(45°−θ))} [Equation 7]
When the halftone dot shape is a square, the perimeter can be obtained by the above [Equation 2], [Equation 3], [Equation 6], or [Equation 7]. Although a square is generally used as a halftone dot shape, a circle with less noticeable tone jump may be used.

図19は円形の網点の一例である。以下、網点形状が円形である網点の場合の周囲長を求める方法を説明する。 FIG. 19 shows an example of circular halftone dots. Hereinafter, a method for obtaining the perimeter of a halftone dot having a circular shape will be described.

まず、半径をa[mm]とすると1つの網点の面積はπ*a[mm]であるため、1平方インチ当たりの網点面積はπ*R*a[mm]となる。πは円周率である。 First, assuming that the radius is a [mm], the area of one halftone dot is π*a 2 [mm 2 ], so the halftone dot area per square inch is π*R 2 *a 2 [mm 2 ]. Become. π is the pi.

網パーセントDは100*π*R*a/(25.4)となる。したがって、aはRとDから以下の[式8]を用いて求められる。 The dot percentage D is 100*π*R 2 *a 2 /(25.4) 2 . Therefore, a is calculated from R and D using the following [Equation 8].

a=(25.4/R)* sqrt(D/(100*π)) ・・・[式8]
1つの網点の周囲長は2*π*a[mm]であるため、1平方インチ当たりの周囲長LはL=2*π*R*a[mm]である。よって、[式8]から、LはRとDから以下の[式9]を用いて求められる。
a=(25.4/R)* sqrt(D/(100*π))... [Equation 8]
Since the perimeter of one halftone dot is 2*π*a [mm], the perimeter L per square inch is L=2*π*R 2 *a [mm]. Therefore, from [Equation 8], L is obtained from R and D using the following [Equation 9].

L=2*25.4*R* sqrt(π*D/100) ・・・[式9]
また、解像度r[dpi]の1画素の長さを単位とする周囲長LpはLp=L*r/25.4であり、つまり以下の[式10]となる。
L=2*25.4*R* sqrt (π*D/100)... [Equation 9]
Further, the perimeter Lp in the unit of the length of one pixel of the resolution r [dpi] is Lp=L*r/25.4, that is, the following [Formula 10].

Lp=2*R*r* sqrt(π*D/100) ・・・[式10]
[式9]や[式10]は網点形状を滑らかな円形と見做した周囲長であるが、実際のCTP製版等における網点は図20のように格子状に並ぶ画素の塊として形成される。したがって、この格子状の網点の周囲長を求める。
Lp=2*R*r* sqrt (π*D/100)... [Equation 10]
[Equation 9] and [Equation 10] are the perimeters that regard the halftone dot shape as a smooth circle, but the halftone dots in actual CTP platemaking etc. are formed as clusters of pixels arranged in a grid pattern as shown in FIG. To be done. Therefore, the perimeter of this grid-shaped halftone dot is obtained.

図20のように半径a[mm]の円形の1つの網点の周囲長は8*aで与えられる。したがって、1平方インチ当たりの周囲長LはL=8*R*aであり、[式8]から、LはR及びDから以下の[式11]を用いて求められる。 As shown in FIG. 20, the perimeter of one circular halftone dot having a radius of a [mm] is given by 8*a. Therefore, the perimeter L per square inch is L=8*R 2 *a, and from [Equation 8], L is obtained from R and D using the following [Equation 11].

L=8*25.4*R* sqrt(D/(100*π)) ・・・[式11]
また、解像度r[dpi]の1画素の長さを単位とする周囲長Lpは以下の式となる。
L=8*25.4*R* sqrt(D/(100*π))... [Equation 11]
Further, the perimeter Lp in the unit of the length of one pixel of the resolution r[dpi] is given by the following formula.

Lp=8*R*r* sqrt(D/(100*π)) ・・・[式12]
なお、網点形状が円形の場合には、周囲長は網点の角度に依らない。
Lp=8*R*r* sqrt (D/(100*π))... [Equation 12]
When the halftone dot shape is circular, the perimeter does not depend on the halftone dot angle.

[式2]と[式9]の2つの式、又は[式3]と[式10]の2つの式を比較すると、網点形状が正方形の場合に比べ円形の方が、同じ網パーセントにおける周囲長が短い。つまり、円形の網点の方が正方形の網点よりもドットゲインの影響を受け難いことが分かる。 Comparing the two equations [Equation 2] and [Equation 9] or the two equations [Equation 3] and [Equation 10], the circular halftone shape has the same halftone percentage as the halftone dot shape is square. Perimeter is short. That is, it is understood that the circular halftone dots are less affected by the dot gain than the square halftone dots.

格子状の網点の場合でも、[式6]と[式11]の2つの式を比較すると、又は[式7]と[式12]の2つの式を比較すると、概ね正方形より円形の方が、同じ網パーセントにおける周囲長が短い。つまり、円形の網点の方が正方形の網点よりもドットゲインの影響を受け難いことが分かる。ただし、網点の角度によっては円形より正方形の方が同じ網パーセントにおける周囲長が短くなる場合もある。 Even in the case of grid-shaped halftone dots, comparing two expressions of [Equation 6] and [Equation 11], or comparing two equations of [Equation 7] and [Equation 12], the circular shape is generally more square. However, the perimeter at the same net percentage is short. That is, it can be seen that the circular halftone dots are less affected by the dot gain than the square halftone dots. However, depending on the angle of the halftone dots, the circumference of the square may be shorter than that of the circle at the same halftone percentage.

上述の説明では、黒画素の網点を「網点」として、網点形状が正方形の場合の周囲長を求める式[式2]、[式3]、[式6]、及び[式7]と、網点形状が円形の場合の周囲長を求める式[式9]、[式10]、[式11]、及び[式12]を導出した。 In the above description, the equation [Equation 2], [Equation 3], [Equation 6], and [Equation 7] for determining the perimeter when the halftone dot shape is a square with the halftone dot of the black pixel as the “halftone dot” And Equations [Equation 9], [Equation 10], [Equation 11], and [Equation 12] for determining the perimeter when the halftone dot shape is circular.

しかしながら、黒画素の網点の形状が正方形又は円形となる網パーセントは0〜50%の範囲であり、網パーセント50〜100%の範囲では黒画素の網点の形状は正方形又は円形にはならない。 However, the halftone dot percentage in which the halftone dot shape of the black pixel is square or circular is in the range of 0 to 50%, and the halftone dot shape of the black pixel is not square or circular in the halftone dot percentage range of 50 to 100%. ..

網パーセント50〜100%では白画素の網点の形状が正方形又は円形になるため、白画素の網点を「網点」とし、その白画素の網パーセントをDとして、網点の形状が正方形の場合は、式[式2]、[式3]、[式6]、及び[式7]から周囲長を求めればよい。または、白画素の網点の形状が円形の場合は、白画素の網パーセントをDとして、式[式9]、[式10]、[式11]、及び[式12]から周囲長を求めればよい。ここで黒画素の網点の網パーセントをD、白画素の網点の網パーセントをDとするとD=100−Dの関係がある。 With a dot percentage of 50 to 100%, the dot shape of the white pixel becomes a square or a circle, so the dot of the white pixel is defined as a “dot”, the dot percentage of the white pixel is defined as D, and the dot shape is square. In the case of, the perimeter may be obtained from the expressions [Equation 2], [Equation 3], [Equation 6], and [Equation 7]. Alternatively, when the shape of the halftone dot of the white pixel is circular, the perimeter is calculated from the formulas [Equation 9], [Equation 10], [Equation 11], and [Equation 12] with the halftone dot percentage of the white pixel being D. Good. Here dot percentage of D B of the dots of black pixels, a relationship of D W = 100-D B when the dot percentage of the halftone dot of the white pixel to D W.

[網パーセントによって網点形状を変える例]
AM線数から周囲長制限値を算出する際に、網パーセントによって網点形状を変えて周囲長制限値を算出してもよい。例えば、網パーセント0〜40%では円形の網点の周囲長を周囲長制限値とし、網パーセント40〜50%では周囲長制限値として円形から正方形の網点の周囲長に段々と変えてゆき、網パーセント50%以上では正方形の網点の周囲長を周囲長制限値としてもよい。
[Example of changing halftone dot shape by halftone dot percentage]
When calculating the perimeter length limit value from the AM line number, the perimeter length limit value may be calculated by changing the halftone dot shape depending on the halftone dot percentage. For example, at a dot percentage of 0 to 40%, the perimeter of a circular dot is set as a perimeter limit value, and at a dot percentage of 40 to 50%, the perimeter is gradually changed from a circular to a square dot perimeter. If the dot percentage is 50% or more, the perimeter of square dots may be used as the perimeter limit value.

また、例えば、網パーセント0〜30%と網パーセント70〜100%では円形の網点の周囲長を周囲長制限値とし、網パーセント30〜40%と網パーセント60〜70%では周囲長制限値として、円形から正方形の周囲長に段々と変えてゆき、網パーセント40〜60%では正方形の網点の周囲長を周囲長制限値としてもよい。 Also, for example, the perimeter of circular dots is set as the perimeter length limit value for halftone dot percentage 0 to 30% and halftone dot percentage 70 to 100%, and perimeter length limit value for halftone dot percentage 30 to 40% and halftone dot percentage 60 to 70%. For example, the perimeter may be gradually changed from the circular shape to the perimeter of the square, and the perimeter of the square halftone dot may be set as the perimeter limit value at a dot percentage of 40 to 60%.

[AM線数から算出される周囲長の具体例]
図21は出力解像度が2400dpiである場合の[式7]及び[式12]から求めた1平方インチ当たりの周囲長の例を示すグラフである。図21中の細実線で示したグラフは、AM線数が175線であり、網点形状が正方形かつ網点の角度が0°である場合の周囲長を示している。図21中の一点鎖線で示したグラフは、AM線数が175線であり、網点形状が円形である場合の周囲長を示している。図21中の太実線で示したグラフは、AM線数が300線であり、網点形状が正方形の網点の角度が0°である場合の周囲長を示している。図21中の破線で示したグラフは、AM線数が175線であり、網パーセント0〜30%及び網パーセント70〜100%では網点形状が円形、網パーセント40〜60%では網点形状が正方形の周囲長を示しており、網パーセント30〜40%及び網パーセント60〜70%において円形から正方形の周囲長に段々に変えている。
[Specific example of perimeter calculated from the number of AM lines]
FIG. 21 is a graph showing an example of the perimeter per square inch obtained from [Equation 7] and [Equation 12] when the output resolution is 2400 dpi. The graph shown by the thin solid line in FIG. 21 shows the perimeter when the number of AM lines is 175, the halftone dot shape is square, and the halftone dot angle is 0°. The graph shown by the alternate long and short dash line in FIG. 21 shows the perimeter when the number of AM lines is 175 and the halftone dot shape is circular. The graph shown by the thick solid line in FIG. 21 shows the perimeter when the number of AM lines is 300 and the angle of the halftone dots having a square dot shape is 0°. In the graph shown by the broken line in FIG. 21, the number of AM lines is 175, the halftone dot shape is circular when the dot percentage is 0 to 30% and the dot percentage is 70 to 100%, and the dot dot shape is when the dot percentage is 40 to 60%. Indicates the perimeter of the square, and gradually changes from the circular perimeter to the square perimeter at a mesh percentage of 30 to 40% and a mesh percentage of 60 to 70%.

[式2]、[式3]、[式6]、及び[式7]から算出される周囲長L及び周囲長Lp、並びに、[式9]、[式10]、[式11]、及び[式12]から算出される周囲長L及び周囲長Lp、或いは図21に例示した周囲長は、いずれも1平方インチ当たりの周囲長であるため、これらの値は、閾値マトリクスを作成する際の周囲長制限値、つまりマトリクスサイズにおける周囲長の総和の制限値に変換する必要がある。 Perimeter L and perimeter Lp calculated from [Equation 2], [Equation 3], [Equation 6], and [Equation 7], and [Equation 9], [Equation 10], [Equation 11], and Since the perimeter L and perimeter Lp calculated from [Equation 12] or the perimeter illustrated in FIG. 21 are perimeters per square inch, these values are used when creating the threshold matrix. It is necessary to convert to the perimeter length limit value of, that is, the limit value of the total sum of the perimeter lengths in the matrix size.

解像度r[dpi]における1平方インチ当たりの画素数はrであるため、マトリクスサイズをNとすると、周囲長制限値は1平方インチ当たりの周囲長をN/r倍すればよい。なお、マトリクスサイズを示すNのNは閾値マトリクスの1辺の画素数である。 Since the number of pixels per square inch at the resolution r [dpi] is r 2 , if the matrix size is N 2 , the perimeter length limit value may be N 2 /r 2 times the perimeter length per square inch. .. Note that N of N 2 indicating the matrix size is the number of pixels on one side of the threshold matrix.

[AM線数から周囲長制限値を設定する構成のフローチャート]
図22は閾値マトリクス作成装置30におけるパラメータ設定処理の第2例を示すフローチャートである。図22のフローチャートにおいて、図11のフローチャートで説明したステップと同一又は類似のステップには同一のステップ番号を付し、その説明は省略する。図11のフローチャートに代えて、図22のフローチャートを採用し得る。
[Flow chart of configuration for setting perimeter limit value from number of AM lines]
FIG. 22 is a flowchart showing a second example of the parameter setting process in the threshold value matrix creating device 30. In the flowchart of FIG. 22, steps that are the same as or similar to the steps described in the flowchart of FIG. 11 are assigned the same step numbers, and description thereof is omitted. The flowchart of FIG. 22 may be adopted instead of the flowchart of FIG. 11.

図22のフローチャートは、AM線数を設定するステップ(ステップS23)を含んでいる。ステップS23のAM線数設定ステップは、ステップS24の周囲長制限値設定ステップよりも前に実施されればよい。ユーザは、入力装置40から所望の線数と網点の角度の情報を入力することができる。情報の入力方法としては、任意の線数を数値入力してもよいし、予め用意されている選択候補の中から所望の線数を選択する構成であってもよい。パラメータ設定部32は、入力装置40から入力された情報に従い、線数と網点の角度を設定する。閾値マトリクス作成装置30のパラメータ設定部32は、図示せぬAM線数設定部を備えていている。 The flowchart of FIG. 22 includes a step of setting the AM line number (step S23). The AM line number setting step of step S23 may be performed before the perimeter length limit value setting step of step S24. The user can input information on the desired number of lines and the angle of the halftone dot from the input device 40. As a method of inputting information, an arbitrary number of lines may be numerically input, or a desired number of lines may be selected from selection candidates prepared in advance. The parameter setting unit 32 sets the number of lines and the angle of the halftone dot according to the information input from the input device 40. The parameter setting unit 32 of the threshold matrix generation device 30 includes an AM line number setting unit (not shown).

ステップS24の周囲長制限値設定ステップにおいて、周囲長制限値設定部62は、設定された線数と網点の角度の条件を基に、図16〜図21を用いて説明した演算手法に従い、1インチ当たりの周囲長を算出し、マトリクスサイズにおける周囲長の総和を算出する演算処理部を含む。 In the perimeter length limit value setting step of step S24, the perimeter length limit value setting unit 62 follows the calculation method described with reference to FIGS. It includes an arithmetic processing unit that calculates the perimeter length per inch and calculates the sum of the perimeter lengths in the matrix size.

周囲長制限値設定部62は、AM線数から算出した周囲長の総和を基に周囲長制限値を設定する。周囲長制限値設定部62は、算出した周囲長の総和を周囲長制限値として設定してもよいし、算出した周囲長の総和にある係数をかけて修正した値を周囲長制限値として設定してもよい。なお、周囲長の総和に乗ずる係数は、入力装置40から入力するパラメータの1つであってもよいし、予めプログラムにより定められた所定の係数を用いてもよい。 The perimeter length limit value setting unit 62 sets the perimeter length limit value based on the sum of the perimeter lengths calculated from the number of AM lines. The perimeter length limit value setting unit 62 may set the total sum of the calculated perimeter lengths as the perimeter length limit value, or sets a value corrected by multiplying the calculated total perimeter length by a coefficient as the perimeter length limit value. You may. The coefficient by which the sum of the perimeters is multiplied may be one of the parameters input from the input device 40, or a predetermined coefficient determined by a program in advance may be used.

[追加の制約条件について]
印刷適性をより向上させるために、各画素の周囲長に基づき追加の周囲長制限を設けてもよい。閾値マトリクス作成装置30のパラメータ設定部32は、追加の制約条件を設定する図示せぬ追加制約条件設定部を含んでもよい。
[About additional constraints]
To further improve printability, additional perimeter limits may be provided based on the perimeter of each pixel. The parameter setting unit 32 of the threshold matrix creation device 30 may include an additional constraint condition setting unit (not shown) that sets additional constraint conditions.

<追加の制約条件の例1>
例えば、図8に示した例において、周囲長4の画素を閾値候補から外してもよい。この制限により1×1画素ドットの新規ドットは発生し得なくなる。周囲長4の画素を閾値候補画素から除外するという制約条件は、追加の周囲長制限としての第1の追加制約条件の一例である。閾値マトリクス作成装置30のパラメータ設定部32は、追加制約条件設定部の一形態としての図示せぬ第1の追加制約条件設定部を含んでもよい。第1の追加制約条件設定部は第1の追加制約条件を設定する。
<Example 1 of additional constraint conditions>
For example, in the example shown in FIG. 8, pixels with a perimeter of 4 may be excluded from the threshold candidates. Due to this limitation, a new dot of 1×1 pixel dot cannot be generated. The constraint condition that pixels with a perimeter of 4 are excluded from the threshold candidate pixels is an example of a first additional constraint condition as an additional perimeter limit. The parameter setting unit 32 of the threshold matrix creation device 30 may include a first additional constraint condition setting unit (not shown) as one form of the additional constraint condition setting unit. The first additional constraint condition setting unit sets the first additional constraint condition.

図23は閾値マトリクス作成装置30におけるパラメータ設定処理の第3例を示すフローチャートである。図23のフローチャートにおいて、図11のフローチャートで説明したステップと同一又は類似のステップには同一のステップ番号を付し、その説明は省略する。図11のフローチャートに代えて、図23のフローチャートを採用し得る。 FIG. 23 is a flowchart showing a third example of the parameter setting process in the threshold matrix creating device 30. In the flowchart of FIG. 23, steps that are the same as or similar to the steps described in the flowchart of FIG. 11 are given the same step numbers, and description thereof is omitted. The flowchart of FIG. 23 can be adopted instead of the flowchart of FIG.

図23のフローチャートは、各画素の周囲長に基づく第1の追加制約条件を設定するステップ(ステップS25)を含んでいる。図23では周囲長制限値設定ステップ(ステップS24)の後に、ステップS25の第1の追加制約条件設定ステップを実施する例を示しているが、第1の追加制約条件設定ステップの実施順は特に限定されない。 The flowchart of FIG. 23 includes a step (step S25) of setting a first additional constraint condition based on the perimeter of each pixel. Although FIG. 23 shows an example in which the first additional constraint condition setting step of step S25 is performed after the perimeter length limit value setting step (step S24), the order of performing the first additional constraint condition setting step is particularly Not limited.

ステップS25において、パラメータ設定部32は、各画素の周囲長に基づく第1の追加制約条件を設定する。例えば、第1の追加制約条件として、周囲長4の画素を閾値候補画素から除外するという条件が設定される。 In step S25, the parameter setting unit 32 sets the first additional constraint condition based on the perimeter of each pixel. For example, as the first additional constraint condition, a condition of excluding a pixel having a perimeter of 4 from the threshold candidate pixels is set.

ユーザは、入力装置40から第1の追加制約条件を特定するための情報を入力することができる。情報の入力方法としては、例えば、予め用意されている選択候補の中から所望の条件を選択する構成であってよい。パラメータ設定部32は、入力装置40から入力された情報に従い、第1の追加制約条件を設定する。なお、図23のフローチャートについて、図22で説明したAM線数設定ステップ(ステップS23)を含んでもよい。 The user can input information for specifying the first additional constraint condition from the input device 40. As a method of inputting information, for example, a desired condition may be selected from selection candidates prepared in advance. The parameter setting unit 32 sets the first additional constraint condition according to the information input from the input device 40. Note that the flowchart of FIG. 23 may include the AM line number setting step (step S23) described in FIG.

図23のフローチャートが実行され、閾値マトリクス作成装置30に第1の追加制約条件が設定された場合、閾値設定処理において、第1の追加制約条件に従い、閾値候補画素が限定される。 When the flowchart of FIG. 23 is executed and the first additional constraint condition is set in the threshold matrix creation device 30, the threshold value setting process limits the threshold candidate pixels according to the first additional constraint condition.

例えば、図13のフローチャートにおけるステップS48とステップS50の間に、第1の追加制約条件に従って各画素の周囲長に基づいて閾値の配置位置の候補を限定するステップが追加される。閾値候補画素決定部72は、周囲長制限値と第1の追加制約条件を基に、周囲長制限値以下となる画素のうち第1の追加制約条件を満たす画素のみを閾値候補画素として決定する。なお、第1の追加制約条件に従い閾値候補画素を限定するステップは、ステップS48の処理の中に内包されてもよい。 For example, between steps S48 and S50 in the flowchart of FIG. 13, a step of limiting candidates of threshold position positions based on the perimeter of each pixel according to the first additional constraint condition is added. The threshold value candidate pixel determination unit 72 determines, as the threshold value candidate pixels, only the pixels satisfying the first additional constraint condition among the pixels having the peripheral length limit value or less, based on the peripheral length constraint value and the first additional constraint condition. .. Note that the step of limiting the threshold candidate pixels according to the first additional constraint condition may be included in the process of step S48.

<追加の制約条件の例2>
また、各画素の周囲長に基づき、閾値を設定する候補となる画素に優先順を定め、各画素の周囲長に基づき優先的に閾値候補画素を設定してもよい。例えば、まず周囲長0の画素を探し、周囲長0の画素があれば閾値候補画素とする。周囲長0の画素が無ければ次に周囲長1の画素を探す。そして、周囲長1の画素があれば閾値候補画素とし、無ければ次に周囲長2又は周囲長3の画素を探して閾値候補画素としてもよい。
<Example 2 of additional constraint conditions>
Further, the priority order may be set for the pixels that are candidates for setting the threshold based on the perimeter of each pixel, and the threshold candidate pixels may be preferentially set based on the perimeter of each pixel. For example, first, a pixel with a perimeter of 0 is searched for, and if there is a pixel with a perimeter of 0, it is set as a threshold candidate pixel. If there is no pixel with a perimeter of 0, then a pixel with a perimeter of 1 is searched for. Then, if there is a pixel with a perimeter of 1, it may be used as a threshold candidate pixel, and if there is no pixel, a pixel with a perimeter of 2 or 3 may be searched for as a threshold candidate pixel.

周囲長0の画素を優先順第1位とし、周囲長1の画素を優先順第2位、周囲長2と周囲長3の画素を優先順第3位とするという具合に、各画素の周囲長に基づき優先順を設けることは制約条件の一例である。閾値マトリクス作成装置30のパラメータ設定部32は、追加制約条件設定部の一形態である図示せぬ優先順設定部を含んでもよい。優先順設定部は画素の周囲長に基づく優先順を設定する。 A pixel with a perimeter of 0 is the first priority, a pixel with a perimeter of 1 is the second priority, pixels with a perimeter of 2 and 3 are the third priority, and so on. Providing a priority order based on the length is an example of a constraint condition. The parameter setting unit 32 of the threshold matrix creation device 30 may include a priority order setting unit (not shown), which is one form of the additional constraint condition setting unit. The priority order setting unit sets the priority order based on the perimeter of the pixel.

図24は閾値マトリクス作成装置30におけるパラメータ設定処理の第4例を示すフローチャートである。図24のフローチャートにおいて、図11のフローチャートで説明したステップと同一又は類似のステップには同一のステップ番号を付し、その説明は省略する。図11のフローチャートに代えて、図24のフローチャートを採用し得る。 FIG. 24 is a flowchart showing a fourth example of parameter setting processing in the threshold matrix creating device 30. In the flowchart of FIG. 24, steps that are the same as or similar to the steps described in the flowchart of FIG. 11 are assigned the same step numbers, and description thereof is omitted. The flowchart of FIG. 24 can be adopted instead of the flowchart of FIG.

図24のフローチャートは、各画素の周囲長に基づく優先順を設定するステップ(ステップS26)を含んでいる。図24では周囲長制限値設定ステップ(ステップS24)の後に、ステップS26の優先順設定ステップを実施する例を示しているが、優先順設定ステップの実施順は特に限定されない。 The flowchart of FIG. 24 includes a step (step S26) of setting a priority order based on the perimeter of each pixel. Although FIG. 24 shows an example in which the priority order setting step of step S26 is performed after the perimeter length limit value setting step (step S24), the order of performing the priority order setting step is not particularly limited.

ステップS26において、パラメータ設定部32は、各画素の周囲長に基づく優先順を設定する。ユーザは、入力装置40から画素の周囲長に基づく優先順を特定するための情報を入力することができる。パラメータ設定部32は、入力装置40から入力された情報に従い、優先順を設定する。なお、図24のフローチャートについて、図22で説明したAM線数設定ステップ(ステップS23)を含んでもよい。 In step S26, the parameter setting unit 32 sets the priority order based on the perimeter of each pixel. The user can input information for specifying the priority order based on the perimeter of the pixel from the input device 40. The parameter setting unit 32 sets the priority order according to the information input from the input device 40. Note that the flowchart of FIG. 24 may include the AM line number setting step (step S23) described in FIG.

図24のフローチャートが実行され、閾値マトリクス作成装置30に各画素の周囲長に基づく優先順が設定された場合、閾値設定処理において、この優先順に従い、閾値候補画素の探索が行われる。 When the flowchart of FIG. 24 is executed and the priority order based on the perimeter of each pixel is set in the threshold value matrix creation device 30, the threshold value setting process searches the threshold value candidate pixels according to this priority order.

例えば、図13のフローチャートにおけるステップS48とステップS50の間に、優先順の定めに従って各画素の周囲長に基づいて閾値候補画素を設定するステップが追加される。閾値候補画素決定部72は、周囲長制限値と優先順を基に、周囲長制限値以下となる画素の中から優先順に従い閾値候補画素を決定する。なお、優先順に閾値候補画素を絞るステップは、ステップS48の処理の中に内包されてもよい。 For example, between steps S48 and S50 in the flowchart of FIG. 13, a step of setting threshold candidate pixels based on the perimeter of each pixel according to the priority order is added. The threshold value candidate pixel determination unit 72 determines a threshold value candidate pixel from the pixels having the perimeter length limit value or less based on the perimeter length limit value and the priority order according to the priority order. The step of narrowing down the threshold candidate pixels in order of priority may be included in the process of step S48.

[閾値設定ルールの細分化について]
上述した追加の制約条件の例で述べたように、追加の周囲長制限を設けることで、又は優先順を設けることで閾値候補画素の設定のルールが変わる中間調区間を細分化し、各閾値区間のルールを変えてもよい。例えば、図4の例において、閾値65〜閾値200の中間調区間の内、閾値65〜閾値128の範囲においては各画素の周囲長による制限を設けず1×1画素の孤立した新規ドットの追加を許容する一方、閾値129〜閾値200の範囲においては周囲長4の画素を閾値候補から外す制限を設けて1×1画素の孤立した新規ドットの追加を無くしてもよい。
[About subdivision of threshold setting rule]
As described in the example of the additional constraint condition described above, by providing an additional perimeter limit or by providing a priority order, the halftone interval in which the rule for setting the threshold candidate pixels changes is subdivided, and each threshold interval is divided. You may change the rule of. For example, in the example of FIG. 4, in the range of the threshold value 65 to the threshold value 128 among the halftone sections of the threshold value 65 to the threshold value 200, the addition of the isolated new dot of 1×1 pixel is not limited by the perimeter of each pixel. On the other hand, in the range of the threshold value 129 to the threshold value 200, it is possible to remove the addition of 1×1 pixel isolated new dots by providing a limit to remove the pixels having the perimeter of 4 from the threshold value candidates.

このように第1の追加制約条件や優先順のルールを異ならせた複数の閾値区間を設定する処理は、図23のフローチャートにおけるステップS20とステップS25の組み合わせによって実施することができる。この場合、ステップS20とステップS25の組み合わせは、第1の追加の制約条件を異ならせた複数の閾値区間に分けるステップの一例に相当する。 The process of setting the plurality of threshold sections in which the first additional constraint condition and the rule of the priority order are different as described above can be implemented by a combination of step S20 and step S25 in the flowchart of FIG. In this case, the combination of step S20 and step S25 corresponds to an example of a step of dividing the first additional constraint condition into a plurality of different threshold sections.

また優先順のルールを異ならせた複数の閾値区間を設定する処理は、図24のフローチャートにおけるステップS20とステップS26の組み合わせによって実施することができる。この場合、ステップS20とステップS26の組み合わせは、優先順のルールを異ならせた複数の閾値区間に分けるステップの一例に相当する。 The process of setting a plurality of threshold sections with different priority order rules can be implemented by a combination of step S20 and step S26 in the flowchart of FIG. In this case, the combination of step S20 and step S26 corresponds to an example of a step of dividing the priority order rule into a plurality of threshold sections.

[例外処理について]
閾値未設定画素の中に、周囲長制限値以下となる画素が不存在である場合には、最も周囲長の短い画素を閾値候補画素としてよい。
[About exception handling]
When there is no pixel having the perimeter length limit value or less among the pixels for which the perimeter is not set, the pixel having the shortest perimeter may be set as the threshold candidate pixel.

<追加の制約条件の例3>
次に、周囲のドット配置に基づき閾値候補画素を絞る実施形態について説明する。既に、印刷適性を向上させるために各画素の周囲長に基づき閾値候補画素を絞ったり、各画素の周囲長に基づき優先順を設けたりしてもよいことを説明した。これらの追加の制約条件に加え、更に周囲のドット配置に基づき閾値候補を絞ってもよい。具体例を説明する。ここでは、追加制約条件として各画素の周囲長に基づく優先順を設定することに加え、更に、周囲のドット配置に基づき閾値候補画素を絞る例を述べる。
<Example 3 of additional constraint conditions>
Next, an embodiment in which the threshold candidate pixels are narrowed down based on the surrounding dot arrangement will be described. It has already been described that the threshold candidate pixels may be narrowed down based on the perimeter of each pixel or the priority order may be set based on the perimeter of each pixel in order to improve printability. In addition to these additional constraints, the threshold candidates may be narrowed down based on the surrounding dot arrangement. A specific example will be described. Here, an example will be described in which, in addition to setting the priority order based on the perimeter of each pixel as an additional constraint condition, the threshold candidate pixels are further narrowed down based on the surrounding dot arrangement.

例えば、優先順の設定として、周囲長0の画素を優先順第1位、周囲長1の画素を優先順第2位、周囲長2の画素と周囲長3の画素を優先順第3位という具合に優先順を設定した場合、まず、周囲長0の画素を探し、周囲長0の画素が存在すれば周囲長0の画素を閾値候補とする。周囲長0の画素が無ければ、次に周囲長1の画素を探し、周囲長1の画素が存在すれば周囲長1の画素を閾値候補画素とする。周囲長1の画素が無ければ、次に周囲長2或いは周囲長3の画素を探して閾値候補画素とする。 For example, as a priority order setting, a pixel with a perimeter of 0 is first priority, a pixel with a perimeter of 1 is second priority, a pixel with a perimeter of 2 and a pixel of perimeter 3 is third. When the priority order is set to a certain degree, first, a pixel with a perimeter of 0 is searched, and if a pixel with a perimeter of 0 exists, a pixel with a perimeter of 0 is set as a threshold candidate. If there is no pixel with a perimeter of 0, a pixel with a perimeter of 1 is searched next, and if a pixel with a perimeter of 1 exists, the pixel with a perimeter of 1 is used as a threshold candidate pixel. If there is no pixel with a perimeter of 1, a pixel with a perimeter of 2 or 3 is searched for as a threshold candidate pixel.

このような優先順に従う制約条件において、更に、周囲長2の画素については、周囲のドット配置が図25又は図26のいずれかに示す配置形態である場合に限り閾値候補画素とする。 In the constraint condition according to such a priority order, the pixel having the peripheral length of 2 is set as the threshold candidate pixel only when the peripheral dot arrangement is the arrangement form shown in either FIG. 25 or FIG.

図25及び図26の各図においては、グレーの塗り潰しにより表示した薄い黒画素が周囲長2の画素を示している。また、周囲長2の画素の周囲にある黒の塗り潰しにより表示した濃い黒画素がドット有無をチェックする周囲の画素を示している。ドットの有無をチェックする周囲の画素を「チェック画素」という。チェック画素を含む周囲のドット配置を「周囲ドット配置」という。 In each of FIGS. 25 and 26, a thin black pixel displayed by filling in gray indicates a pixel having a perimeter of 2. Further, the dark black pixels displayed by filling black around the pixels having the perimeter of 2 indicate the surrounding pixels for checking the presence or absence of dots. Pixels around which the presence or absence of dots is checked are called “check pixels”. The surrounding dot arrangement including the check pixels is called "surrounding dot arrangement".

図25及び図26は、周囲長2の各画素について、周囲のチェック画素が閾値設定済みか否かをチェックし、全てのチェック画素において閾値設定済みの場合のみ、その周囲長2の画素を閾値候補画素とすることを示している。 25 and 26, for each pixel having a perimeter of 2, it is checked whether or not the surrounding check pixels have already been set to the threshold, and only when the thresholds have been set to all the check pixels, the pixels having the perimeter of 2 are set to the threshold. This indicates that the pixel is a candidate pixel.

図25の場合、候補画素の周囲の閾値設定済みチェックのパターンが4種類あり、何れかのパターンを満たせば候補とする。4種類の何れでも無い場合は候補から外す。なお、図25及び図26の各図において、候補画素の周囲の画素のうち、白画素については閾値設定済みか否かを問わない。 In the case of FIG. 25, there are four types of threshold value setting check patterns around the candidate pixel, and if any one of the patterns is satisfied, it is regarded as a candidate. If none of the four types, remove it from the candidates. Note that in each of FIGS. 25 and 26, it does not matter whether or not the threshold value has already been set for the white pixel among the pixels around the candidate pixel.

同様にして周囲長3の画素については、周囲のドット配置が図27に示す配置形態のいずれかに該当する場合に限り閾値候補画素とする。 Similarly, a pixel having a perimeter of 3 is set as a threshold candidate pixel only when the surrounding dot arrangement corresponds to any of the arrangements shown in FIG.

以上のように、画素の周囲長に基づき閾値候補画素の優先順を設け、更に周囲のドット配置に基づき閾値候補画素を絞ることによって印刷適性を一層向上させることができる。つまり、周囲長0や周囲長1の閾値候補画素を優先し、また周囲長2の場合は図25に示した周囲ドット配置に該当する画素のみを閾値候補画素とすることで網点の形状が凹の場合など欠けている画素に優先的に閾値設定でき、かつ、周囲長2の場合は図26に示す周囲ドット配置に該当する画素のみを閾値候補画素とし、周囲長3の場合は図27に示す周囲ドット配置に該当する画素のみを閾値候補画素とすることで網点を凸形状に大きくする場合でも凸画素が接する部分で最小2×2画素のドットの大きさを確保しながら大きくすることができる。凸画素とは、網点を構成する画素のうち、凸形状に張り出す位置の黒画素を指す。 As described above, the printability can be further improved by providing the priority order of the threshold value candidate pixels based on the perimeter of the pixels and further narrowing down the threshold value candidate pixels based on the surrounding dot arrangement. That is, the threshold candidate pixels having the perimeter of 0 or 1 are prioritized, and when the perimeter is 2, only the pixels corresponding to the peripheral dot arrangement shown in FIG. When the peripheral length is 2, the threshold value can be set preferentially to the missing pixels such as in the case of concave, and only the pixels corresponding to the peripheral dot arrangement shown in FIG. Even if the halftone dots are enlarged in a convex shape by setting only the pixels corresponding to the surrounding dot arrangement shown in (1) as the threshold candidate pixels, the size is increased while ensuring the minimum dot size of 2×2 pixels in the portion where the convex pixels are in contact. be able to. The convex pixel refers to a black pixel at a position projecting in a convex shape among the pixels forming the halftone dot.

なお、最小3×3画素のドットの大きさを確保したい場合には、図26又は図27に示した2×2画素のチェック画素に代えて、候補画素の周囲の閾値設定済みか否かをチェックするチェック画素を3×3画素とすればよい。 When it is desired to secure the dot size of a minimum of 3×3 pixels, instead of the check pixels of 2×2 pixels shown in FIG. 26 or FIG. 27, it is determined whether the threshold value around the candidate pixel has been set. The check pixels to be checked may be 3×3 pixels.

最小2×2画素のドットの大きさを確保しなくてよい場合でも、網点の形状はできるだけ歪にならない方が望ましいため、網点の形状が歪な形状とならないように、周囲のドット配置のチェックをしてもよい。ここでいう周囲のドット配置のチェックとは、周囲の閾値設定済み画素の配置をチェックすることを意味する。 Even if it is not necessary to secure the dot size of at least 2×2 pixels, it is desirable that the shape of the halftone dots is not as distorted as possible. You may check. The check of the surrounding dot arrangement means checking the arrangement of surrounding threshold value set pixels.

例えば周囲長2の画素の場合は、図26の代わりに、図28に示す配置形態に該当する場合に限り、閾値候補画素としてもよい。また、周囲長3の画素の場合は図27の代わりに、図29に示す配置形態に該当する場合に限り、閾値候補画素としてもよい。このように、周囲のドット配置の条件を基に閾値候補画素を絞ることによって網点の幅が1画素のまま一方向に伸びることを防ぐことができる。図25〜図29に示した周囲のドット配置の制約条件は第2の追加制約条件の一例である。閾値マトリクス作成装置30のパラメータ設定部32は、追加制約条件設定部の一形態である図示せぬ第2の追加制約条件設定部を含んでもよい。第2の追加制約条件設定部は周囲のドット配置に基づく第2の追加制約条件を設定する。 For example, in the case of a pixel having a perimeter of 2, a threshold candidate pixel may be used only in the case where the arrangement shown in FIG. Further, in the case of a pixel having a perimeter of 3, a threshold candidate pixel may be used instead of the case of FIG. 27 only when the arrangement form shown in FIG. 29 is applicable. As described above, by narrowing down the threshold value candidate pixels based on the surrounding dot arrangement condition, it is possible to prevent the halftone dot width from being one pixel and extending in one direction. The surrounding dot arrangement constraints shown in FIGS. 25 to 29 are examples of second additional constraints. The parameter setting unit 32 of the threshold matrix creation device 30 may include a second additional constraint condition setting unit (not shown) which is a form of the additional constraint condition setting unit. The second additional constraint condition setting unit sets a second additional constraint condition based on the surrounding dot arrangement.

図30は閾値マトリクス作成装置30におけるパラメータ設定処理の第5例を示すフローチャートである。 FIG. 30 is a flow chart showing a fifth example of parameter setting processing in the threshold matrix creation device 30.

図30のフローチャートにおいて、図11及び図24のフローチャートで説明したステップと同一又は類似のステップには同一のステップ番号を付し、その説明は省略する。図24のフローチャートに代えて、図30のフローチャートを採用し得る。 In the flowchart of FIG. 30, steps that are the same as or similar to the steps described in the flowcharts of FIGS. 11 and 24 are given the same step numbers, and description thereof is omitted. The flowchart of FIG. 30 may be adopted instead of the flowchart of FIG.

図30のフローチャートは、周囲のドット配置に基づく第2の追加制約条件を設定するステップ(ステップS27)を含んでいる。図30では優先順設定ステップ(ステップS26)の後に、ステップS27の第2の追加制約条件設定ステップを実施する例を示しているが、第2の追加制約条件設定ステップの実施順は特に限定されない。 The flowchart of FIG. 30 includes a step (step S27) of setting a second additional constraint condition based on the surrounding dot arrangement. Although FIG. 30 illustrates an example in which the second additional constraint condition setting step of step S27 is performed after the priority order setting step (step S26), the order of performing the second additional constraint condition setting step is not particularly limited. ..

ステップS27において、パラメータ設定部32は、周囲のドット配置に基づく第2の追加制約条件を設定する。ユーザは、入力装置40から第2の追加制約条件を特定するための情報を入力することができる。パラメータ設定部32は、入力装置40から入力された情報に従い、第2の追加制約条件を設定する。なお、図30のフローチャートについて、図22で説明したAM線数設定ステップ(ステップS23)を含んでもよい。 In step S27, the parameter setting unit 32 sets the second additional constraint condition based on the surrounding dot arrangement. The user can input information for specifying the second additional constraint condition from the input device 40. The parameter setting unit 32 sets the second additional constraint condition according to the information input from the input device 40. The flowchart of FIG. 30 may include the AM line number setting step (step S23) described with reference to FIG.

図30のフローチャートが実行され、閾値マトリクス作成装置30に第2の追加制約条件が設定された場合、閾値設定処理において、第2の追加制約条件に従い、閾値候補画素が限定される。 When the flowchart of FIG. 30 is executed and the second additional constraint condition is set in the threshold matrix creation device 30, the threshold candidate pixels are limited in the threshold setting process according to the second additional constraint condition.

例えば、図13のフローチャートにおけるステップS48とステップS50の間に、優先順の定めに従って各画素の周囲長に基づいて閾値候補画素を設定するステップと、第2の追加制約条件に従って周囲のドット配置に基づいて閾値の配置位置の候補を限定するステップと、が追加される。閾値候補画素決定部72は、周囲長制限値と優先順と第2の追加制約条件を基に、周囲長制限値以下となる画素の中から優先順に従い第2の追加制約条件を満たす画素を閾値候補画素として決定する。なお、優先順に従い閾値候補画素を設定するステップと、第2の追加制約条件に従い閾値候補画素を限定するステップとは、ステップS48の処理の中に内包されてもよい。 For example, between step S48 and step S50 in the flowchart of FIG. 13, a step of setting a threshold candidate pixel based on the perimeter of each pixel according to the priority order definition, and a surrounding dot arrangement according to the second additional constraint condition. A step of limiting the candidates for the arrangement position of the threshold based on the above. Based on the perimeter limit value, the priority order, and the second additional constraint condition, the threshold value candidate pixel determination unit 72 selects the pixels satisfying the second additional constraint condition from the pixels having the perimeter limit value or less in the priority order. It is determined as a threshold candidate pixel. The step of setting the threshold candidate pixels according to the priority order and the step of limiting the threshold candidate pixels according to the second additional constraint condition may be included in the process of step S48.

以上、説明した例では、各画素の周囲長に基づき優先順を設けて、更に周囲のドット配置に基づき閾値候補画素を絞る例を説明した。 In the above-described example, the priority order is set based on the perimeter of each pixel, and the threshold candidate pixels are narrowed down based on the surrounding dot arrangement.

発明の実施に際しては、周囲長に基づき閾値候補画素を絞ったり、優先順を設けたりすることをせずに、周囲のドット配置に基づき閾値候補画素を絞ることのみを実施してもよい。つまり、閾値候補画素の周囲長のチェックは全く行わないで、各閾値候補画素の周囲のドット配置(閾値設定済み画素の配置)のみをチェックし、図27に示した2×2画素のドット配置や、3×3画素のドット配置、又はその他のドット配置(例えば、図29に示した配置形態など)に接する場合のみ閾値候補画素としてもよい。 In implementing the invention, the threshold candidate pixels may be narrowed based on the surrounding dot arrangement without narrowing the threshold candidate pixels based on the perimeter or setting the priority order. That is, the perimeter of the threshold candidate pixel is not checked at all, only the dot arrangement around each threshold candidate pixel (arrangement of threshold-set pixels) is checked, and the dot arrangement of 2×2 pixels shown in FIG. 27 is checked. Alternatively, the threshold value candidate pixel may be set only when it comes into contact with a dot arrangement of 3×3 pixels or another dot arrangement (for example, the arrangement form shown in FIG. 29).

<追加の制約条件の例4>
次に、周囲の周囲長に基づき閾値候補画素を絞る実施形態について説明する。上述した実施形態に係る閾値マトリクス作成装置30は、周囲長制限値に4以上の余裕があり、かつ、周囲長4の画素を閾値候補画素から除外しない場合に、1×1画素の新規孤立ドットが発生し得る。1×1画素の新規孤立ドットが発生した場合に、図27や図29に示した周囲ドット配置となる画素のみを閾値候補画素とすると、1×1画素の孤立ドットに接する新規ドットが発生せずに、1×1画素の孤立ドットが残存してしまう。
<Example 4 of additional constraint conditions>
Next, an embodiment in which the threshold candidate pixels are narrowed down based on the perimeter of the periphery will be described. The threshold value matrix creating device 30 according to the above-described embodiment has a margin of 4 or more in the perimeter length limit value, and when a pixel with a perimeter length of 4 is not excluded from the threshold candidate pixels, the new isolated dot of 1×1 pixel is used. Can occur. When a new isolated dot of 1×1 pixel is generated, if only pixels having the surrounding dot arrangements shown in FIGS. 27 and 29 are used as threshold candidate pixels, a new dot in contact with the isolated dot of 1×1 pixel is generated. Instead, an isolated dot of 1×1 pixel remains.

具体的には1×1画素の新規孤立ドットが発生した場合に、次のドットが1×1画素の孤立ドットに接触して発生してドットが大きくなるためには、周囲長3の次のドットが先に発生した1×1画素の孤立ドットに接触して発生する必要がある。しかし、図27や図29で説明した周囲のドット配置の制約を課していると、1×1画素の孤立ドットに接触する周囲長3の画素が閾値候補画素から外されてしまう。 Specifically, when a new isolated dot of 1×1 pixel occurs, the next dot comes into contact with the isolated dot of 1×1 pixel to generate a larger dot. It is necessary that the dots come into contact with the previously generated 1×1 pixel isolated dot. However, if the restrictions on the surrounding dot arrangement described in FIGS. 27 and 29 are imposed, pixels with a perimeter of 3 that come into contact with an isolated dot of 1×1 pixel are excluded from the threshold candidate pixels.

このような事態を防ぐために、上述した第2の制約条件である周囲のドット配置の制約と合わせて、周囲のドット配置の周囲長にも基づき閾値候補画素を絞ってもよい。 In order to prevent such a situation, the threshold candidate pixels may be narrowed down based on the perimeter of the surrounding dot arrangement, together with the above-described second constraint condition of the surrounding dot arrangement.

具体的には、周囲長が3の場合には図31に示すように、接触するドットの周囲長をチェックし、接触ドットの周囲長が4ならば、接触ドットに接する周囲長3の画素を閾値候補画素とする。接触ドットは閾値設定済みの画素である。 Specifically, when the perimeter is 3, as shown in FIG. 31, the perimeter of the contacting dots is checked, and when the perimeter of the contact dots is 4, the pixels with the perimeter 3 contacting the contact dots are selected. The pixel is a threshold candidate pixel. A contact dot is a pixel for which a threshold value has been set.

また、図27で説明した周囲のドット配置の制約をかける場合には、更に図32に示すように、接触するドットの隣接ドットの有無をチェックし、隣接ドットが有る場合には接触ドット及び隣接ドットのそれぞれ周囲長をチェックし、接触ドットと隣接ドットのそれぞれの周囲長が共に3ならば、接触ドットに接する周囲長3の画素を閾値候補画素とする。 Further, in the case of applying the constraint of the surrounding dot arrangement described in FIG. 27, the presence or absence of the adjacent dot of the contacting dot is checked as shown in FIG. 32, and when there is the adjacent dot, the contact dot and the adjacent dot are detected. The perimeter of each dot is checked, and if the perimeters of both the contact dot and the adjacent dot are both 3, the pixel having the perimeter of 3 in contact with the contact dot is set as the threshold candidate pixel.

図31及び図32に示した周囲のドットの周囲長に基づく制約条件は第3の追加制約条件の一例である。閾値マトリクス作成装置30のパラメータ設定部32は、追加制約条件設定部の一形態である図示せぬ第3の追加制約条件設定部を含んでもよい。第3の追加制約条件設定部は周囲のドットの周囲長に基づく第3の追加制約条件を設定する。 The constraint condition based on the peripheral length of the surrounding dots shown in FIGS. 31 and 32 is an example of the third additional constraint condition. The parameter setting unit 32 of the threshold matrix creation device 30 may include a third additional constraint condition setting unit (not shown), which is one form of the additional constraint condition setting unit. The third additional constraint condition setting unit sets a third additional constraint condition based on the perimeter length of surrounding dots.

図33は閾値マトリクス作成装置30におけるパラメータ設定処理の第6例を示すフローチャートである。 FIG. 33 is a flowchart showing a sixth example of the parameter setting process in the threshold matrix creating device 30.

図33のフローチャートにおいて、図11及び図30のフローチャートで説明したステップと同一又は類似のステップには同一のステップ番号を付し、その説明は省略する。図30のフローチャートに代えて、図33のフローチャートを採用し得る。 In the flowchart of FIG. 33, steps that are the same as or similar to the steps described in the flowcharts of FIGS. 11 and 30 are given the same step numbers, and description thereof is omitted. The flow chart of FIG. 33 can be adopted instead of the flow chart of FIG.

図33のフローチャートは、周囲のドットの周囲長に基づく第3の追加制約条件を設定するステップ(ステップS28)を含んでいる。図33では第2の追加制約条件ステップ(ステップS27)の後に、ステップS28の第3の追加制約条件設定ステップを実施する例を示しているが、第3の追加制約条件設定ステップの実施順は特に限定されない。 The flowchart of FIG. 33 includes a step (step S28) of setting a third additional constraint condition based on the perimeter length of surrounding dots. Although FIG. 33 shows an example in which the third additional constraint condition setting step of step S28 is performed after the second additional constraint condition step (step S27), the order of performing the third additional constraint condition setting step is It is not particularly limited.

ステップS28において、パラメータ設定部32は、周囲のドットの周囲長に基づく第3の追加制約条件を設定する。ユーザは、入力装置40から第3の追加制約条件を特定するための情報を入力することができる。パラメータ設定部32は、入力装置40から入力された情報に従い、第3の追加制約条件を設定する。なお、図33のフローチャートについて、図22で説明したAM線数設定ステップ(ステップS23)を含んでもよい。 In step S28, the parameter setting unit 32 sets the third additional constraint condition based on the perimeter length of the surrounding dots. The user can input information for specifying the third additional constraint condition from the input device 40. The parameter setting unit 32 sets the third additional constraint condition according to the information input from the input device 40. Note that the flowchart of FIG. 33 may include the AM line number setting step (step S23) described in FIG.

図33のフローチャートが実行され、閾値マトリクス作成装置30に第3の追加制約条件が設定された場合、閾値設定処理において、第2の追加制約条件と第3の追加制約条件に、閾値候補画素が限定される。 When the flowchart of FIG. 33 is executed and the third additional constraint condition is set in the threshold matrix creation device 30, in the threshold setting process, the threshold candidate pixel is included in the second additional constraint condition and the third additional constraint condition. Limited.

例えば、図13のフローチャートにおけるステップS48とステップS50の間に、優先順の定めに従って各画素の周囲長に基づいて閾値候補画素を設定するステップと、第2の追加制約条件に従って周囲のドット配置に基づいて閾値の配置位置の候補を限定するステップと、第3の追加制約条件に従って周囲のドットの周囲長に基づいて閾値の配置位置の候補を限定するステップと、が追加される。 For example, between step S48 and step S50 in the flowchart of FIG. 13, a step of setting a threshold candidate pixel based on the perimeter of each pixel according to the priority order definition, and a surrounding dot arrangement according to the second additional constraint condition. A step of limiting the threshold placement position candidates based on the above, and a step of limiting the threshold placement position candidates based on the perimeter length of the surrounding dots according to the third additional constraint condition are added.

閾値候補画素決定部72は、周囲長制限値と優先順と第2の追加制約条件と第3の追加制約条件とに従い、周囲長制限値以下となる画素の中から優先順に従い、周囲のドット配置及び周囲のドットの周囲長に基づき、閾値候補画素を決定する。 The threshold value candidate pixel determination unit 72 follows the peripheral length limit value, the priority order, the second additional constraint condition, and the third additional constraint condition, and selects the surrounding dots according to the priority order from the pixels having the peripheral length limit value or less. Threshold candidate pixels are determined based on the arrangement and the perimeter of surrounding dots.

閾値候補画素決定部72は、周囲長制限値以下となる画素の中から優先順に従い、第2の追加制約条件と第3の追加制約条件とを満たす画素を閾値候補画素として決定し得る。 The threshold value candidate pixel determination unit 72 may determine a pixel satisfying the second additional constraint condition and the third additional constraint condition as a threshold value candidate pixel in accordance with the priority order from the pixels having the perimeter length limit value or less.

或いはまた、閾値候補画素決定部72は、周囲長制限値以下となる画素の中から優先順に従い、第2の追加制約条件と第3の追加制約条件のうち少なくとも一方の追加制約条件を満たす画素を閾値候補画素として決定してもよい。 Alternatively, the threshold value candidate pixel determination unit 72 may select a pixel satisfying at least one of the second additional constraint condition and the third additional constraint condition in accordance with the priority order from the pixels having the perimeter length limit value or less. May be determined as the threshold candidate pixel.

なお、優先順に従い閾値候補画素を設定ステップと、第2の追加制約条件に従い閾値候補画素を限定するステップと、第3の追加制約条件に従い閾値候補画素を限定するステップは、ステップS48の処理の中に内包されてもよい。 The step of setting the threshold candidate pixels according to the priority order, the step of limiting the threshold candidate pixels according to the second additional constraint condition, and the step of limiting the threshold candidate pixels according to the third additional constraint condition are the same as those in the process of step S48. It may be included therein.

<追加の制約条件の組み合わせについて>
上述した第1の追加制約条件、優先順の制約条件、第2の追加制約条件、及び第3の追加制約条件として例示した各制約条件その他の各種の追加の制約条件については、1つ又は複数の条件を適宜組み合わせて用いることができる。
<Regarding the combination of additional constraints>
One or more of the first additional constraint condition, the priority constraint condition, the second additional constraint condition, and the various additional constraint conditions exemplified as the third additional constraint condition described above. The conditions can be used in combination as appropriate.

例えば、周囲長制限値以下となる全候補画素のうち、優先順の制約条件に従い、第2の追加制約条件を満たす画素、又は、第2の追加制約条件を満たさないが第3の追加制約条件を満たす画素に閾値候補画素を限定するという形態もあり得る。 For example, among all the candidate pixels that are equal to or less than the perimeter limit value, pixels that satisfy the second additional constraint condition according to the priority constraint condition, or pixels that do not satisfy the second additional constraint condition but the third additional constraint condition There may be a form in which the threshold candidate pixels are limited to pixels that satisfy the above condition.

例えば、既に説明した<追加の制約条件の例4>の実施形態として、周囲長が3の画素については、第2の追加制約条件として周囲のドット配置が図27に示す配置形態のいずれかに該当する場合に限り閾値候補画素とすると共に、第2の追加制約条件である図27の配置形態には該当しないが、第3の追加制約条件として周囲のドット配置の周囲長が図31又は図32に示す形態のいずれかに該当する場合に限り閾値候補画素とするという実施形態もあり得る。 For example, as an embodiment of <Additional constraint example 4> which has already been described, for pixels having a perimeter of 3, the surrounding dot arrangement may be one of the arrangement forms shown in FIG. 27 as the second additional constraint condition. Only when applicable, the threshold candidate pixel is used, and the arrangement form of FIG. 27, which is the second additional constraint condition, is not applicable, but the peripheral length of the surrounding dot arrangement is the third additional constraint condition as shown in FIG. 31 or FIG. There may be an embodiment in which the threshold candidate pixel is used only when any of the forms shown in 32 is applicable.

[閾値マトリクス作成装置のハードウェア構成の例]
図34は閾値マトリクス作成装置30のハードウェア構成の例を示すブロック図である。閾値マトリクス作成装置30は、コンピュータを用いて実現することができる。コンピュータには、デスクトップ型、ノート型、又はタブレット型など、各種形態のコンピュータが含まれる。また、コンピュータには、サーバコンピュータであってもよいし、マイクロコンピュータであってもよい。
[Example of hardware configuration of threshold matrix creating device]
FIG. 34 is a block diagram showing an example of the hardware configuration of the threshold matrix creation device 30. The threshold matrix creation device 30 can be realized by using a computer. The computer includes various types of computers such as a desktop type, a notebook type, and a tablet type. The computer may be a server computer or a microcomputer.

閾値マトリクス作成装置30は、コンピュータ本体100と、入力装置40と、表示装置42とを含む。コンピュータ本体100は、CPU(Central Processing Unit)101と、メモリ102と、ハードディスク装置(HDD;Hard Disk Drive)103と、入力インターフェース部104と、ネットワーク接続用の通信インターフェース部105と、表示制御部106と、周辺機器用インターフェース部107と、バス108と、を備える。図34において「IF」の表記は「インターフェース」を表す。 The threshold matrix creation device 30 includes a computer main body 100, an input device 40, and a display device 42. The computer main body 100 includes a CPU (Central Processing Unit) 101, a memory 102, a hard disk drive (HDD; Hard Disk Drive) 103, an input interface unit 104, a communication interface unit 105 for network connection, and a display control unit 106. And a peripheral device interface 107 and a bus 108. In FIG. 34, the notation “IF” represents “interface”.

ハードディスク装置103には、閾値マトリクスの作成処理に必要な各種プログラムやデータ等が格納されている。ハードディスク装置103に格納されているプログラムがメモリ102にロードされ、これをCPU101が実行することにより、コンピュータは、プログラムで規定される各種の処理を行う手段として機能する。 The hard disk device 103 stores various programs and data necessary for the threshold matrix creation processing. A program stored in the hard disk device 103 is loaded into the memory 102, and the CPU 101 executes the program, whereby the computer functions as a unit that performs various processes defined by the program.

メモリ102は、図10で説明したパラメータ設定部32及び閾値設定処理部34のそれぞれの処理に必要なデータや処理結果のデータを記憶する作業記憶領域として利用される。また、メモリ102は閾値マトリクス格納部36として機能し得る。 The memory 102 is used as a work storage area for storing data necessary for each processing of the parameter setting unit 32 and the threshold setting processing unit 34 described in FIG. The memory 102 can also function as the threshold matrix storage unit 36.

入力装置40は入力インターフェース部104に接続される。表示装置42は表示制御部106に接続される。 The input device 40 is connected to the input interface unit 104. The display device 42 is connected to the display control unit 106.

閾値マトリクス作成装置30は、通信インターフェース部105を介して電気通信回線110に接続されてもよい。電気通信回線110は、ローカルエリアネットワーク、若しくはワイドエリアネットワーク、又はこれらの組み合わせとすることができる。 The threshold matrix creation device 30 may be connected to the telecommunication line 110 via the communication interface unit 105. Telecommunications line 110 may be a local area network, a wide area network, or a combination thereof.

周辺機器用インターフェース部107として、メディアインターフェースを備えてもよい。周辺機器用インターフェース部107と通信インターフェース部105の各々は、閾値マトリクス作成装置30によって作成された閾値マトリクスのデータを外部に出力する情報出力部として機能し得る。 A media interface may be provided as the peripheral device interface unit 107. Each of the peripheral device interface unit 107 and the communication interface unit 105 can function as an information output unit that outputs the data of the threshold matrix created by the threshold matrix creating device 30 to the outside.

[閾値マトリクス作成装置を含む印刷システムの構成例]
図35は、閾値マトリクス作成装置30を含む印刷システム200の例を示している。印刷システム200は、閾値マトリクス作成装置30により作成された閾値マトリクスを用いてハーフトーン処理を行い、製版と印刷を行うシステムである。
[Configuration Example of Printing System Including Threshold Matrix Creating Device]
FIG. 35 shows an example of a printing system 200 including the threshold matrix creation device 30. The printing system 200 is a system that performs halftone processing using the threshold matrix created by the threshold matrix creating device 30 to perform plate making and printing.

印刷システム200では、撮像装置としてのデジタルカメラ202により取り込まれた画像データ或いは画像読取装置としての製版入力機204により取り込まれた画像データが、RIP(raster image processor)206に供給される。デジタルカメラ202により取り込まれた画像データは例えば、RGB画像データである。Rは赤、Gは緑、Bは青を表し、RGB画像データはR,G,Bの各信号成分の信号値を画素値とするデジタル画像のデータである。製版入力機204により取り込まれた画像データは、RGB画像データ又はCMYK画像データである。Cはシアン、Mはマゼンタ、Yはイエロー、Kはブラックを表し、CMYK画像はC,M,Y,Kの各信号成分の信号値を画素値とするデジタル画像のデータである。RGB画像データは、RIP206により、CMYK画像データに変換される。 In the printing system 200, image data captured by a digital camera 202 as an imaging device or image data captured by a plate making input device 204 as an image reading device is supplied to a RIP (raster image processor) 206. The image data captured by the digital camera 202 is, for example, RGB image data. R represents red, G represents green, and B represents blue, and the RGB image data is digital image data in which the signal values of the R, G, and B signal components are pixel values. The image data captured by the plate-making input device 204 is RGB image data or CMYK image data. C represents cyan, M represents magenta, Y represents yellow, and K represents black. A CMYK image is digital image data having pixel values of signal values of C, M, Y, and K signal components. The RGB image data is converted into CMYK image data by the RIP 206.

RIP206には、閾値マトリクス作成装置30により作成された閾値マトリクスのデータが光ディスク208を通じて、或いは、通信により、RIP206の記憶装置に予め格納されている。RIP206は、CMYKの各色成分の画像データと、対応するCMYKの閾値マトリクスの閾値とを比較して、CMYKの各色のドットパターンデータに変換する。 In the RIP 206, threshold matrix data created by the threshold matrix creating device 30 is stored in advance in the storage device of the RIP 206 through the optical disc 208 or by communication. The RIP 206 compares the image data of each color component of CMYK with the threshold value of the corresponding threshold matrix of CMYK, and converts it into dot pattern data of each color of CMYK.

CMYKのそれぞれのドットパターンデータは、DDCPシステム210に送られて、紙上に印刷プルーフ212が作成される。DDCPシステム210は「実網プルーファ」とも呼ばれる。DDCPシステム210により、印刷機220にかける前に、ノイズ成分の混入の有無や印刷品質が確認される。この場合には、紙として印刷用紙自体が使用される場合がある。 The dot pattern data of each of CMYK is sent to the DDCP system 210, and the print proof 212 is created on the paper. DDCP system 210 is also referred to as a "real network proofer." The DDCP system 210 confirms whether or not a noise component is mixed and the print quality before being applied to the printing machine 220. In this case, the printing paper itself may be used as the paper.

また、RIP206からカラーインクジェットプリンタ230或いはカラー電子写真プリンタ240にCMYKの各色のドットパターンデータが送られて、簡易的に紙上に印刷プルーフ232、242を作成することができる。 In addition, the dot pattern data of each color of CMYK is sent from the RIP 206 to the color inkjet printer 230 or the color electrophotographic printer 240, and the print proofs 232 and 242 can be easily created on the paper.

さらにCMYKの各色のドットパターンデータは、出力システム250を構成するフィルムセッター或いはプレートセッターである露光ユニット252に送られる。露光ユニット252がフィルムセッターである場合には、自動現像機254を介してフィルム264が作成され、このフィルム264が刷版用の印刷版材260と重ねられ、図示しない面露光装置で露光されることで刷版266が作成される。 Further, the dot pattern data of each color of CMYK is sent to the exposure unit 252 which is a film setter or a plate setter which constitutes the output system 250. When the exposure unit 252 is a film setter, a film 264 is created through the automatic developing machine 254, the film 264 is superposed on the printing plate material 260 for the printing plate, and exposed by a surface exposure device (not shown). As a result, the printing plate 266 is created.

また、露光ユニット252がプレートセッターである場合には、自動現像機254を通じて刷版266が直接出力される。なお、露光ユニット252に対して感光材料のマガジン256から印刷版材260が供給される。 When the exposure unit 252 is a platesetter, the printing plate 266 is directly output through the automatic developing machine 254. The printing plate material 260 is supplied from the photosensitive material magazine 256 to the exposure unit 252.

CMYKの色ごとの刷版266は、印刷機220を構成するK版印刷部214K、C版印刷部214C、M版印刷部214M、Y版印刷部214Yの図示していない版胴に装着される。印刷用紙供給部216から供給される印刷用紙に対して、K版印刷部214K、C版印刷部214C、M版印刷部214M、Y版印刷部214Yで重ね刷りされることで、カラー画像が再現された印刷物270が得られる。なお、印刷機220が、CTC装置構成である場合には、RIP206からCMYKの各色のドットパターンデータが直接通信により供給され、版胴に巻かれている印刷版材が露光記録及び現像され、直接、刷版266とされる。 The plate 266 for each color of CMYK is attached to a plate cylinder (not shown) of the K plate printing unit 214K, the C plate printing unit 214C, the M plate printing unit 214M, and the Y plate printing unit 214Y that configure the printing machine 220. .. A color image is reproduced by being overprinted on the printing paper supplied from the printing paper supply unit 216 by the K plate printing unit 214K, the C plate printing unit 214C, the M plate printing unit 214M, and the Y plate printing unit 214Y. A printed matter 270 is obtained. When the printing machine 220 has a CTC device configuration, the dot pattern data of each color of CMYK is directly supplied from the RIP 206, and the printing plate material wound on the plate cylinder is exposed and recorded, and directly developed. , A printing plate 266.

<変形例>
閾値マトリクス作成装置30の機能は1台のコンピュータによって実現してもよいし、複数台のコンピュータを組み合わせて実現してもよい。例えば、パラメータの入力を受け付ける機能と、閾値設定処理を実行する機能とを別々のコンピュータによって実現してもよい。また、閾値マトリクス作成装置30の機能はRIP206に組み込まれてもよい。
<Modification>
The function of the threshold value matrix creating device 30 may be realized by one computer, or may be realized by combining a plurality of computers. For example, the function of receiving the input of the parameter and the function of executing the threshold setting process may be realized by different computers. Further, the function of the threshold matrix generation device 30 may be incorporated in the RIP 206.

上述の実施形態で説明した構成や変形例において説明した事項は、適宜組み合わせて用いることができ、また、一部の事項を置き換えることもできる。 The items described in the configurations and the modified examples described in the above-described embodiment can be appropriately combined and used, and some items can be replaced.

<コンピュータを閾値マトリクス作成装置として機能させるプログラムについて>
上述の実施形態で説明した閾値マトリクス作成装置30の閾値マトリクス作成処理機能をコンピュータに実現させるプログラムをCD−ROM(Compact Disc read-only memory)や磁気ディスクその他の有体物たる非一時的な情報記憶媒体であるコンピュータ可読媒体に記録し、この情報記憶媒体を通じてプログラムを提供することが可能である。またこのような有体物たる非一時的な情報記憶媒体にプログラムを記憶させて提供する態様に代えて、インターネットなどの通信ネットワークを利用してプログラム信号をダウンロードサービスとして提供することも可能である。
<Regarding a program that causes a computer to function as a threshold matrix creation device>
A non-transitory information storage medium, which is a tangible object such as a CD-ROM (Compact Disc read-only memory), a magnetic disk, or the like, stores a program that causes a computer to implement the threshold matrix generation processing function of the threshold matrix generation device 30 described in the above embodiment. It is possible to record the program on a computer-readable medium and provide the program through this information storage medium. Instead of storing the program in a non-temporary information storage medium, which is a tangible object, and providing the program, it is also possible to provide the program signal as a download service by using a communication network such as the Internet.

また、閾値マトリクス作成装置30の処理機能の一部又は全部をアプリケーションサーバとして提供し、通信ネットワークを通じて処理機能を提供するサービスを行うことも可能である。 Further, it is also possible to provide a part or all of the processing functions of the threshold value matrix creating device 30 as an application server and provide a service that provides the processing functions through a communication network.

[実施形態の利点]
上述した実施形態によれば、相反する品質項目である画質と印刷適性とのバランスを自由に調整して、目標とするバランスを実現するドットパターンが得られる閾値マトリクスを作成することができる。
[Advantages of Embodiment]
According to the above-described embodiment, it is possible to freely adjust the balance between the image quality and the printability, which are contradictory quality items, and create the threshold matrix that obtains the dot pattern that achieves the target balance.

以上説明した本発明の実施形態は、本発明の趣旨を逸脱しない範囲で、適宜構成要件を変更、追加、又は削除することが可能である。本発明は以上説明した実施形態に限定されるものでは無く、本発明の技術的思想内で当該分野の通常の知識を有するものにより、多くの変形が可能である。また、実施形態の中で例示した具体的な数値については、発明の趣旨を逸脱しない範囲で他の数値に変更することができる。 In the embodiment of the present invention described above, it is possible to appropriately change, add, or delete the constituent features without departing from the spirit of the present invention. The present invention is not limited to the embodiments described above, and many modifications can be made by a person having ordinary knowledge in the field within the technical idea of the present invention. Further, the specific numerical values exemplified in the embodiments can be changed to other numerical values without departing from the spirit of the invention.

10A ドットパターン
10B ドットパターン
14 1×1画素ドット
18 2×2画素ドット
30 閾値マトリクス作成装置
32 パラメータ設定部
34 閾値設定処理部
36 閾値マトリクス格納部
40 入力装置
42 表示装置
50 マトリクスサイズ設定部
52 評価関数設定部
54 最小ドットサイズ設定部
56 初期配置設定部
58 閾値区間設定部
60 最小ドットザイスの新規ドット数条件設定部
62 周囲長制限値設定部
70 閾値設定順番制御部
72 閾値候補画素決定部
74 画質評価値算出部
76 閾値配置決定部
80 網点
100 コンピュータ本体
101 CPU
102 メモリ
103 ハードディスク装置(HDD)
104 入力インターフェース部
105 通信インターフェース部
106 表示制御部
107 周辺機器用インターフェース部
108 バス
110 電気通信回線
200 印刷システム
201 閾値
202 デジタルカメラ
204 製版入力機
206 RIP
208 光ディスク
210 DDCPシステム
212 印刷プルーフ
214C C版印刷部
214K K版印刷部
214M M版印刷部
214Y Y版印刷部
216 印刷用紙供給部
220 印刷機
230 カラーインクジェットプリンタ
232 印刷プルーフ
240 カラー電子写真プリンタ
242 印刷プルーフ
250 出力システム
252 露光ユニット
254 自動現像機
256 マガジン
260 印刷版材
264 フィルム
266 刷版
270 印刷物
S1〜S2 閾値マトリクス作成方法のステップ
S12〜S28 パラメータ設定処理のステップ
S42〜S60 昇順の閾値設定処理のステップ
S71〜S79 閾値設定処理のステップ
10A dot pattern 10B dot pattern 14 1×1 pixel dot 18 2×2 pixel dot 30 Threshold matrix creation device 32 Parameter setting unit 34 Threshold setting processing unit 36 Threshold matrix storage unit 40 Input device 42 Display device 50 Matrix size setting unit 52 Evaluation Function setting unit 54 Minimum dot size setting unit 56 Initial placement setting unit 58 Threshold section setting unit 60 Minimum dot size new dot number condition setting unit 62 Perimeter length limit value setting unit 70 Threshold setting order control unit 72 Threshold candidate pixel determination unit 74 Image quality Evaluation value calculation unit 76 Threshold placement determination unit 80 Halftone dot 100 Computer body 101 CPU
102 memory 103 hard disk device (HDD)
104 input interface unit 105 communication interface unit 106 display control unit 107 peripheral device interface unit 108 bus 110 telecommunication line 200 printing system 201 threshold 202 digital camera 204 plate making input device 206 RIP
208 optical disk 210 DDCP system 212 printing proof 214C C plate printing unit 214K K plate printing unit 214M M plate printing unit 214Y Y plate printing unit 216 printing paper supply unit 220 printing machine 230 color inkjet printer 232 printing proof 240 color electrophotographic printer 242 printing Proof 250 Output system 252 Exposure unit 254 Automatic developing machine 256 Magazine 260 Printing plate material 264 Film 266 Printing plate 270 Printed materials S1 to S2 Steps S12 to S28 of the threshold value matrix creating method Steps S42 to S60 Steps of ascending threshold value setting processing Steps S71 to S79 Steps of threshold setting processing

Claims (17)

連続調画像を2値画像であるドットパターンに変換する閾値マトリクスの作成方法であって、
前記閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定するステップと、
少なくとも一部の閾値に対して閾値が対応する網パーセントに応じて閾値ごとにドットパターンの周囲長制限値を設定するステップと、
前記少なくとも一部の閾値ごとに前記周囲長制限値以下となる画素を閾値の配置位置の候補とするステップと、
前記閾値の配置位置の候補である閾値候補画素の中から、前記画質評価値に基づき閾値の配置位置を決定するステップと、
を含む閾値マトリクスの作成方法。
A method of creating a threshold matrix for converting a continuous tone image into a dot pattern which is a binary image,
Setting an evaluation function for calculating an image quality evaluation value of a dot pattern corresponding to the arrangement of thresholds in the threshold matrix,
A step of setting a perimeter limit value of the dot pattern for each threshold value according to a halftone dot value corresponding to the threshold value for at least some threshold values;
A step of setting a pixel having the perimeter limit value or less for each of the at least some threshold values as a candidate for a threshold position,
Determining a threshold position based on the image quality evaluation value from among threshold candidate pixels that are candidates for the threshold position.
A method of creating a threshold matrix including.
前記周囲長制限値を設定するステップは、最小閾値から最大閾値までの全閾値範囲のうち少なくとも一部の閾値区間に属する各閾値に対して前記周囲長制限値を設定する請求項1に記載の閾値マトリクスの作成方法。 The step of setting the perimeter length limit value sets the perimeter length limit value for each of the threshold values belonging to at least a part of the threshold sections of the entire threshold value range from the minimum threshold value to the maximum threshold value. How to create a threshold matrix. 最小サイズのドットの構成画素数である最小ドットサイズを設定するステップと、
最小閾値から最大閾値までの全閾値範囲のうち最小閾値以上かつ第1閾値以下の閾値範囲であるハイライト区間、及び前記第1閾値よりも大きい第2閾値以上かつ最大閾値以下の閾値範囲であるシャドー区間の少なくとも一方の区間において、前記周囲長制限値に基づく周囲長制限の制約を非適用とし、前記最小ドットサイズのドットを配置するよう閾値の配置位置を決定するステップと、
を含む請求項1又は2に記載の閾値マトリクスの作成方法。
A step of setting a minimum dot size, which is the number of pixels constituting the minimum size dot,
A highlight section that is a threshold range that is greater than or equal to the minimum threshold and is less than or equal to the first threshold, and a threshold range that is greater than or equal to the second threshold and greater than or equal to the maximum threshold than the first threshold, of the entire threshold range from the minimum threshold to the maximum threshold. In at least one of the shadow sections, the constraint of the perimeter limitation based on the perimeter limitation value is not applied, and the threshold placement position is determined so that the dots of the minimum dot size are placed,
The method of creating a threshold matrix according to claim 1 or 2, further comprising:
前記第1閾値よりも大きい第3閾値以上、かつ前記第2閾値よりも小さい第4閾値以下の閾値範囲である中間調区間に含まれる閾値の各々について、前記周囲長制限値に基づく周囲長制限の制約を適用し、前記周囲長制限値以下となる画素に閾値を配置する請求項3に記載の閾値マトリクスの作成方法。 A perimeter limit based on the perimeter limit value for each of the thresholds included in a halftone interval that is a threshold range that is equal to or greater than a third threshold that is greater than the first threshold and equal to or less than a fourth threshold that is less than the second threshold. The method of creating a threshold value matrix according to claim 3, wherein the threshold value is arranged in pixels that are equal to or less than the perimeter length limit value by applying the constraint of. 前記第1閾値から前記第3閾値の間の閾値範囲であるハイライト移行区間及び前記第4閾値から前記第2閾値の間の閾値範囲であるシャドー移行区間のうち少なくとも一方の移行区間においては、前記周囲長制限の制約を非適用として前記最小ドットサイズのドットを配置するよう閾値の配置位置を決定する周囲長非制限処理と、前記周囲長制限値以下となる閾値候補画素の中から前記画質評価値に基づき閾値の配置位置を決定する周囲長制限処理と、を組み合わせて実施する請求項4に記載の閾値マトリクスの作成方法。 In at least one transition section of a highlight transition section which is a threshold range between the first threshold value and the third threshold value and a shadow transition section which is a threshold value range between the fourth threshold value and the second threshold value, The perimeter length non-limitation process of determining the arrangement position of the threshold so as to arrange the dots of the minimum dot size without applying the constraint of the perimeter limit, and the image quality from the threshold value candidate pixels that are equal to or less than the perimeter length limit value. The method of creating a threshold value matrix according to claim 4, which is implemented in combination with a perimeter length limiting process for determining the arrangement position of the threshold value based on the evaluation value. 前記最小ドットサイズの倍数である閾値数の連続する閾値を単位区間とする閾値範囲である複数の閾値区間を設定するステップと、
複数の前記閾値区間の各々に対して、前記周囲長非制限処理により前記最小ドットサイズの倍数の閾値数を設定するステップと、
を含む請求項5に記載の閾値マトリクスの作成方法。
A step of setting a plurality of threshold sections which is a threshold range in which a unit threshold is a continuous threshold of a threshold number that is a multiple of the minimum dot size;
For each of the plurality of threshold sections, a step of setting a threshold number that is a multiple of the minimum dot size by the perimeter length non-limiting process,
The method of creating a threshold value matrix according to claim 5, further comprising:
前記ハイライト区間及び前記シャドー区間の少なくとも一方における一部の網パーセントに適用する評価関数と、前記一部の網パーセント以外の他の網パーセントに適用する評価関数とを異ならせる請求項3から6のいずれか一項に記載の閾値マトリクスの作成方法。 7. An evaluation function applied to a part of the halftone percentages in at least one of the highlight section and the shadow section and an evaluation function applied to another halftone percent other than the part of the halftone percents are different. A method of creating a threshold matrix according to any one of 1. 前記周囲長制限値以下となる閾値候補画素が不存在である場合、周囲長が最小となる画素を閾値候補画素とする請求項1から7のいずれか一項に記載の閾値マトリクスの作成方法。 The method for creating a threshold matrix according to claim 1, wherein when there is no threshold candidate pixel that is equal to or less than the perimeter length limit value, the pixel having the smallest perimeter is set as the threshold candidate pixel. 振幅変調スクリーンの線数を設定するステップと、
前記線数から閾値ごとの前記周囲長制限値を設定するステップと、
を含む請求項1から8のいずれか一項に記載の閾値マトリクスの作成方法。
Setting the number of lines of the amplitude modulation screen,
Setting the perimeter limit value for each threshold value from the number of lines,
9. The method of creating a threshold matrix according to claim 1, further comprising:
前記周囲長制限値に基づく周囲長制限に加え、各画素の周囲長に基づく第1の追加制約条件を設定するステップと、
前記第1の追加制約条件に従い、各画素の周囲長に基づき、閾値の配置位置の候補を限定するステップと、
を含む請求項1から9のいずれか一項に記載の閾値マトリクスの作成方法。
Setting a first additional constraint condition based on the perimeter of each pixel in addition to the perimeter limit based on the perimeter limit value;
Limiting candidates for threshold position positions based on the perimeter of each pixel according to the first additional constraint condition;
The method of creating a threshold matrix according to claim 1, further comprising:
前記周囲長制限値に基づく周囲長制限に加え、各画素の周囲長に基づく優先順を設定するステップと、
前記優先順に従い、各画素の周囲長に基づき、閾値候補画素を設定するステップと、
を含む請求項1から10のいずれか一項に記載の閾値マトリクスの作成方法。
In addition to the perimeter limit based on the perimeter limit value, setting a priority order based on the perimeter of each pixel,
According to the priority order, based on the perimeter of each pixel, setting a threshold candidate pixel,
The method for creating a threshold matrix according to claim 1, further comprising:
最小閾値から最大閾値までの全閾値範囲のうちの第3閾値以上第4閾値以下の閾値範囲である中間調区間において、各画素の周囲長に基づく前記第1の追加制約条件を異ならせた複数の閾値区間に分けるステップを含む請求項10に記載の閾値マトリクスの作成方法。 A plurality of different first addition constraint conditions based on the perimeter of each pixel in a halftone section that is a threshold range that is equal to or greater than a third threshold and equal to or less than a fourth threshold in the entire threshold range from the minimum threshold to the maximum threshold. The method of creating a threshold matrix according to claim 10, further comprising the step of dividing the threshold matrix into the threshold sections. 最小閾値から最大閾値までの全閾値範囲のうちの第3閾値以上第4閾値以下の閾値範囲である中間調区間において、各画素の周囲長に基づく前記優先順のルールを異ならせた複数の閾値区間に分けるステップを含む請求項11に記載の閾値マトリクスの作成方法。 A plurality of thresholds in which the rule of the priority order based on the perimeter of each pixel is different in the halftone section which is the threshold range of the third threshold value to the fourth threshold value in the entire threshold value range from the minimum threshold value to the maximum threshold value. The method of creating a threshold value matrix according to claim 11, including a step of dividing into sections. 閾値未設定画素の周囲の閾値設定済み画素の配置に基づく第2の追加制約条件を設定するステップと、
前記第2の追加制約条件に従い、閾値未設定画素の周囲の閾値設定済み画素の配置に基づき、閾値の配置の候補を限定するステップと、
を含む請求項1から13のいずれか一項に記載の閾値マトリクスの作成方法。
Setting a second additional constraint based on the placement of thresholded pixels around non-thresholded pixels;
Limiting the candidates for threshold placement based on the placement of threshold-set pixels around the threshold-unset pixels according to the second additional constraint condition;
The method of creating a threshold matrix according to claim 1, further comprising:
前記周囲の閾値設定済み画素の周囲長に基づく第3の追加制約条件を設定するステップと、
前記第2の追加制約条件及び前記第3の追加制約条件に従い、閾値未設定画素の周囲の閾値設定済み画素の配置及び前記周囲の閾値設定済み画素の周囲長に基づき、閾値の配置の候補を限定するステップと、
を含む請求項14に記載の閾値マトリクスの作成方法。
Setting a third additional constraint based on the perimeter of the perimeter thresholded pixels;
According to the second additional constraint condition and the third additional constraint condition, threshold placement candidates are selected based on the placement of threshold-set pixels around the threshold-unset pixels and the perimeter of the surrounding threshold-set pixels. Limited steps,
15. The method of creating a threshold matrix according to claim 14, wherein the method includes:
連続調画像を2値画像であるドットパターンに変換する閾値マトリクスを作成する閾値マトリクス作成装置であって、
前記閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定する評価関数設定部と、
少なくとも一部の閾値に対して閾値が対応する網パーセントに応じて閾値ごとにドットパターンの周囲長制限値を設定する周囲長制限値設定部と、
前記少なくとも一部の閾値ごとに前記周囲長制限値以下となる画素を閾値の配置位置の候補とする閾値候補画素決定部と、
前記閾値の配置位置の候補である閾値候補画素の中から、前記画質評価値に基づき閾値の配置位置を決定する閾値配置決定部と、
を備える閾値マトリクス作成装置。
A threshold matrix creating device for creating a threshold matrix for converting a continuous tone image into a dot pattern that is a binary image,
An evaluation function setting unit that sets an evaluation function for calculating an image quality evaluation value of a dot pattern corresponding to the arrangement of thresholds in the threshold matrix,
A perimeter length limit value setting unit that sets the perimeter length limit value of the dot pattern for each threshold value according to the dot percentage corresponding to the threshold value for at least some threshold values,
A threshold value candidate pixel determination unit that makes a pixel having the perimeter limit value or less for each of the at least some threshold values a candidate for the arrangement position of the threshold value;
From threshold candidate pixels that are candidates for the threshold position, a threshold position determining unit that determines the threshold position based on the image quality evaluation value,
An apparatus for creating a threshold matrix.
連続調画像を2値画像であるドットパターンに変換する閾値マトリクスの作成機能をコンピュータに実現させるプログラムであって、
コンピュータに、
前記閾値マトリクスにおける閾値の配置に対応するドットパターンの画質評価値を算出するための評価関数を設定する機能と、
少なくとも一部の閾値に対して閾値が対応する網パーセントに応じて閾値ごとにドットパターンの周囲長制限値を設定する機能と、
前記少なくとも一部の閾値ごとに前記周囲長制限値以下となる画素を閾値の配置位置の候補とする機能と、
前記閾値の配置位置の候補である閾値候補画素の中から、前記画質評価値に基づき閾値の配置位置を決定する機能と、
を実現させるプログラム。
A program for causing a computer to realize a function of creating a threshold matrix for converting a continuous tone image into a dot pattern which is a binary image,
On the computer,
A function of setting an evaluation function for calculating an image quality evaluation value of a dot pattern corresponding to the arrangement of thresholds in the threshold matrix;
A function of setting the perimeter limit value of the dot pattern for each threshold value according to the halftone dot value corresponding to the threshold value for at least some threshold values,
A function of setting a pixel having the perimeter limit value or less for each of the at least some threshold values as a candidate for a threshold position,
A function of determining a threshold position based on the image quality evaluation value from among threshold candidate pixels that are candidates for the threshold position,
A program that realizes.
JP2016193974A 2016-09-30 2016-09-30 Threshold matrix creating method, threshold matrix creating apparatus, and program Active JP6745185B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016193974A JP6745185B2 (en) 2016-09-30 2016-09-30 Threshold matrix creating method, threshold matrix creating apparatus, and program
PCT/JP2017/034746 WO2018062180A1 (en) 2016-09-30 2017-09-26 Threshold matrix creation method, threshold matrix creation device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016193974A JP6745185B2 (en) 2016-09-30 2016-09-30 Threshold matrix creating method, threshold matrix creating apparatus, and program

Publications (2)

Publication Number Publication Date
JP2018056927A JP2018056927A (en) 2018-04-05
JP6745185B2 true JP6745185B2 (en) 2020-08-26

Family

ID=61762713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016193974A Active JP6745185B2 (en) 2016-09-30 2016-09-30 Threshold matrix creating method, threshold matrix creating apparatus, and program

Country Status (2)

Country Link
JP (1) JP6745185B2 (en)
WO (1) WO2018062180A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101201B (en) * 2020-09-14 2024-05-24 北京数衍科技有限公司 Pedestrian state detection method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252893A (en) * 2004-03-05 2005-09-15 Fuji Photo Film Co Ltd Threshold matrix
JP4241632B2 (en) * 2005-01-25 2009-03-18 富士フイルム株式会社 Color plate creation threshold value matrix creation method, color image reproduction method, color image separation creation device, and threshold matrix
JP2007208639A (en) * 2006-02-01 2007-08-16 Ricoh Co Ltd Image processing method, image processing device, image recording device and recording medium

Also Published As

Publication number Publication date
JP2018056927A (en) 2018-04-05
WO2018062180A1 (en) 2018-04-05

Similar Documents

Publication Publication Date Title
JP4514132B2 (en) Threshold matrix generation method for halftone image generation, halftone image generation method and apparatus, and threshold matrix
JP4241632B2 (en) Color plate creation threshold value matrix creation method, color image reproduction method, color image separation creation device, and threshold matrix
JP4495745B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
US8681383B2 (en) 2nd generation dot-off-dot stochastic halftone
JP4172932B2 (en) Method and apparatus for design of stochastic screen for color halftone
JP2010118927A (en) Program, recording medium, image processing apparatus, image processing method, and sheet for gradation correction parameter generation
JP4121256B2 (en) Halftone threshold data creation method
US8848254B2 (en) Halftone screen producing apparatus, print controlling apparatus, image forming apparatus, method of producing halftone screen, method of controlling printing, method of forming image, and computer-readable recording medium
US10529058B2 (en) Image processing apparatus that smooths image using classification result of pixels included therein
JP6745185B2 (en) Threshold matrix creating method, threshold matrix creating apparatus, and program
US7295348B2 (en) Processor for image processing, method of processing image using the same, and printer incorporating the same
JP4189598B2 (en) Image processing apparatus and image processing method
JP2011160187A (en) Image processing apparatus, image forming apparatus, and program
JP2006033064A (en) Image forming method, and image forming apparatus
JP6256747B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP4500868B2 (en) Image processing method and image processing apparatus
JP2005341330A (en) Threshold matrix forming method for forming dot image, and dot image forming method and apparatus
JP2015154425A (en) Image processing device and computer program
JP6388337B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP4426486B2 (en) Image processing apparatus and program
JP6547738B2 (en) Image processing apparatus, halftone screen generation apparatus, halftone screen generation method, and halftone screen generation program
JP6167698B2 (en) Image forming apparatus and positional deviation correction method
JP2006074668A (en) Forming method and forming device of area gradation image
JP2009171034A (en) Image processor, encoding method, and decoding method
JP2019110512A (en) Image forming apparatus, image forming method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190820

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200608

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20200617

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200721

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200803

R150 Certificate of patent or registration of utility model

Ref document number: 6745185

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250