JP6256747B2 - Image conversion processing method, program for executing the same, and image conversion processing apparatus - Google Patents

Image conversion processing method, program for executing the same, and image conversion processing apparatus Download PDF

Info

Publication number
JP6256747B2
JP6256747B2 JP2013246881A JP2013246881A JP6256747B2 JP 6256747 B2 JP6256747 B2 JP 6256747B2 JP 2013246881 A JP2013246881 A JP 2013246881A JP 2013246881 A JP2013246881 A JP 2013246881A JP 6256747 B2 JP6256747 B2 JP 6256747B2
Authority
JP
Japan
Prior art keywords
image
pixel
pixels
detected
conversion
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
JP2013246881A
Other languages
Japanese (ja)
Other versions
JP2015106767A (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.)
NEC Platforms Ltd
Chiba University NUC
Original Assignee
NEC Platforms Ltd
Chiba University NUC
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 NEC Platforms Ltd, Chiba University NUC filed Critical NEC Platforms Ltd
Priority to JP2013246881A priority Critical patent/JP6256747B2/en
Publication of JP2015106767A publication Critical patent/JP2015106767A/en
Application granted granted Critical
Publication of JP6256747B2 publication Critical patent/JP6256747B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像変換処理方法、それを実行させるためのプログラム及び画像変換処理装置に関し、特に、多値画像であるグレースケール画像をハイブリッドスクリーニング画像に変換する方法、プログラム及び装置に関する。   The present invention relates to an image conversion processing method, a program for executing the image conversion method, and an image conversion processing device, and more particularly, to a method, program, and device for converting a grayscale image that is a multi-valued image into a hybrid screening image.

平版印刷の分野においては、入力された多値画像であるグレースケール画像を階調値が「0」及び「1」の二値画像で表すスクリーニング技術を用いて、濃淡のある画像を表現することが行われている。従来のスクリーニング方法は、大別して、網点AM(Amplitude Modulation)手法と、FM(Frequency Modulation)スクリーニング手法とがある。   In the field of lithographic printing, a grayscale image, which is an input multi-valued image, is expressed using a screening technique that represents a binary image with gradation values “0” and “1”. Has been done. Conventional screening methods are roughly classified into a halftone dot AM (Amplitude Modulation) method and an FM (Frequency Modulation) screening method.

網点手法は、グレースケール画像の多値階調値に基づいて網点を規則的に配置すると共に、各網点のドットの大きさをグレースケール画像の多値階調値に応じて変調させることにより、階調を擬似的に表現する手法である。   The halftone dot method regularly arranges halftone dots based on the multilevel tone values of the grayscale image and modulates the dot size of each halftone dot according to the multilevel tone values of the grayscale image. This is a technique for expressing gradation in a pseudo manner.

一方、FMスクリーニング手法は、ドットの配置密度を変調させることによって階調表現を行う手法である。従来、FMスクリーニング手法によって画像を作成する際には、例えば、ディザ法や誤差拡散処理が用いられる。このディザ法や誤差拡散処理では、人間の目の錯覚を利用して、グレースケール画像を「黒」及び「白」の2色の画素を用いて多値階調値画像の濃淡を再現する。   On the other hand, the FM screening method is a method of performing gradation expression by modulating the dot arrangement density. Conventionally, when creating an image by the FM screening method, for example, a dither method or an error diffusion process is used. In the dither method and the error diffusion process, the gray scale image is reproduced using two chromatic pixels of “black” and “white” using the illusion of human eyes.

しかし、網点手法を用いて作成された画像(網点画像)では、網点が規則的に並んだグリッド上に配置されるため、ざらざらとした粒状感のない画像を表現することができると共に、印刷環境の影響を受けにくいという長所を有する一方で、モアレやロゼッタパターン等の干渉縞が発生するという短所を有する。   However, an image created using the halftone method (halftone image) is arranged on a grid in which halftone dots are regularly arranged, so that an image having no graininess can be expressed. While having the advantage of being hardly affected by the printing environment, it has the disadvantage of generating interference fringes such as moire and rosette patterns.

また、CMWKの4版のスクリーン角度を互いにずらすことで、干渉縞の発生を抑制することができるが、発生する干渉縞を完全に抑制することはできず、縞模様の絵柄部分等にもモアレが観測される。   In addition, it is possible to suppress the generation of interference fringes by shifting the screen angles of the 4th version of CMWK, but it is not possible to completely suppress the generated interference fringes, and moire is also applied to the striped pattern portion. Is observed.

また、FMスクリーニング手法を用いて作成された画像(FMスクリーニング画像)では、各ドットの配置位置がランダムで規則性を有さないため、モアレやロゼッタパターン等の干渉縞が発生しにくく、さらに、網点手法と比較してドットの配置の自由度が高いため、より高解像度・高画質の画像を得ることができるという長所を有するが、配置される各々のドットが小さいため、輪転機でインクをプレートから紙へ移すことが困難であったり、ハイライト側の印刷物に対して視覚上ざらつき感が生じるという短所を有する。   In addition, in an image (FM screening image) created using the FM screening technique, the arrangement positions of the dots are random and not regular, so that interference fringes such as moire and rosetta patterns are less likely to occur. Compared with the halftone dot method, the degree of freedom of dot placement is high, so it has the advantage that images with higher resolution and high image quality can be obtained. It is difficult to transfer the image from the plate to the paper, and there is a disadvantage that a visually rough feeling is generated on the printed matter on the highlight side.

そこで、最近では、CTP(Computer To Plate)化やデジタルワークフロー化の浸透により、高画質・高付加価値が要求される商業印刷や大量印刷を行う新聞印刷分野においても、高精度・高解像度を有する網点手法と、従来のFMスクリーニング手法の長所を兼ね備えたハイブリッドスクリーニング手法が提案され、普及している。   Therefore, recently, with the penetration of CTP (Computer To Plate) and digital workflow, it has high accuracy and high resolution even in the newspaper printing field where commercial printing and mass printing that require high image quality and high added value are required. A hybrid screening technique that combines the advantages of the halftone technique and the conventional FM screening technique has been proposed and is widely used.

例えば、特許文献1及び2には、網点のスクリーンの中心を母点とし、乱数によって母点位置を変動させ、母点を核としたボロノイ分割を行う、入力画像を複数の単位領域に分割することによって網点の周期性を排除したスクリーニング画像を生成する方法が記載されている。   For example, in Patent Documents 1 and 2, the center of the screen of halftone dots is used as a generating point, the position of the generating point is changed by a random number, and Voronoi division is performed using the generating point as a core. The input image is divided into a plurality of unit regions. A method for generating a screening image in which the periodicity of halftone dots is eliminated is described.

また、特許文献3には、多値画像からハイブリッドスクリーニング画像を作成する方法が記載されている。この方法では、まず、DBS(Direct Binary Search)法に基づき、多値画像に対して単純な二値化処理を行うことによって二値画像を作成すると共に、作成された二値画像に対して二次元フィルタ処理によって多値画像を復元する。そして、復元された多値画像と原多値画像との誤差を計算し、計算された誤差が所定条件を満たす輝度値パターンとなるように二値画像の画素を決定することにより、多値画像からハイブリッドスクリーニング画像を作成する。   Patent Document 3 describes a method of creating a hybrid screening image from a multivalued image. In this method, first, based on the DBS (Direct Binary Search) method, a binary image is created by performing a simple binarization process on a multi-valued image, and a binary image is created on the created binary image. A multi-valued image is restored by dimensional filtering. Then, an error between the restored multi-value image and the original multi-value image is calculated, and by determining the pixels of the binary image so that the calculated error becomes a luminance value pattern satisfying a predetermined condition, the multi-value image A hybrid screening image is created from

特開2005−341089号公報JP 2005-341089 A 特許第4591951号公報Japanese Patent No. 4599511 特開2004−304543号公報JP 2004-304543 A

しかし、特許文献1及び2に記載の方法では、ドットを表す非周期的クラスタ形が濃度値の増加によって大きくなることにより、亀甲のような模様が発生して画像全体として不自然な印象を与えてしまうという問題があった。また、ネガ画像のドット形状と、反転したポジ画像のドット形状とが異なり、網点のような階調の連続性が失われるという虞もある。   However, in the methods described in Patent Documents 1 and 2, the non-periodic cluster shape representing dots becomes larger as the density value increases, and a pattern like a turtle shell is generated, giving an unnatural impression to the entire image. There was a problem that. In addition, the dot shape of the negative image and the dot shape of the inverted positive image are different, and there is a possibility that the continuity of gradation like a halftone dot is lost.

さらに、特許文献3に記載の方法は、新たなハイブリッドスクリーニング処理として注目されたが、最初に多値画像から二値画像を作成する必要があり、すべての画素についてフィルタ係数との二次元畳み込み演算を行わなければならないため、処理に長時間を要するという問題があった。   Furthermore, although the method described in Patent Document 3 has attracted attention as a new hybrid screening process, it is necessary to create a binary image from a multi-valued image first, and two-dimensional convolution operation with filter coefficients for all pixels Therefore, there is a problem that the processing takes a long time.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、入力される多値画像を、モアレやロゼッタパターン等の干渉縞を発生させることなく、高画質・高付加価値を有し、印刷工程に適したハイブリッドスクリーニング画像へ変換させることが可能な画像変換処理方法、それを実行させるためのプログラム及び画像変換処理装置を提供することを目的とする。   Therefore, the present invention has been made in view of the above-described problems in the prior art, and an input multi-valued image can be produced with high image quality and high addition without generating interference fringes such as moire and rosetta patterns. It is an object of the present invention to provide an image conversion processing method that has value and can be converted into a hybrid screening image suitable for a printing process, a program for executing the method, and an image conversion processing apparatus.

上記目的を達成するため、本発明は、グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理方法であって、前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備えることを特徴とする。 In order to achieve the above object, the present invention provides an image conversion processing method for converting a grayscale image into a hybrid screening image, wherein the grayscale image has a halftone cell size based on resolution information of the grayscale image. A corresponding conversion block is set for the grayscale image, the grayscale image is converted into a first binary image composed of black pixels and white pixels for each conversion block, and the number of black pixels in the conversion block In addition, a random weighting factor that can be adjusted to improve the image quality is added to the detected number of black pixels, thereby detecting the first number of black pixels in the conversion block for each conversion block. A binarization step for detecting a conversion error that occurs when the first binary image is created, and the first black pixel count and A conversion error distribution step of converting the first binary image into a second binary image based on the conversion error and detecting a second number of black pixels included in the second binary image; An FM screening image creation step for converting the second binary image into an FM screening image based on the detected number of second black pixels, and a plurality of adjacent pixels formed from the created FM screening image A pixel fusion step of detecting a predetermined pixel pattern to be performed, performing a predetermined pixel fusion process on the detected predetermined pixel pattern, and creating a hybrid screening image.

また、本発明は、グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させることを特徴とする。 The present invention is also a program for causing a computer apparatus to execute an image conversion processing method for converting a grayscale image into a hybrid screening image, and based on the resolution information of the grayscale image, the halftone of the grayscale image A conversion block corresponding to the size of the cell is set for the grayscale image, and the grayscale image is converted into a first binary image including black pixels and white pixels for each conversion block, It detects the number of black pixels, by adding an adjustable randomized weighting factors in order to improve the image quality for the detected black-pixel count, converting a first number of black pixels in the converted block A binarization step is detected for each block and detects a conversion error occurring when the first binary image is created. And converting the first binary image into a second binary image based on the first black pixel count and the conversion error, and the second black image included in the second binary image. A conversion error distribution step for detecting the number of pixels, an FM screening image creation step for converting the second binary image into an FM screening image based on the detected number of the second black pixels, and the created FM A pixel fusion step of detecting a predetermined pixel pattern formed by a plurality of adjacent pixels from the screening image, performing a predetermined pixel fusion process on the detected predetermined pixel pattern, and creating a hybrid screening image; A computer apparatus is caused to execute an image conversion processing method comprising:

さらに、本発明は、グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理装置であって、前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化処理部と、前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散処理部と、検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成処理部と、作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理部とを備えることを特徴とする。
Furthermore, the present invention is an image conversion processing device for converting a grayscale image into a hybrid screening image, and based on the resolution information of the grayscale image, a conversion block corresponding to the size of a halftone cell of the grayscale image is provided. Set for the grayscale image, convert the grayscale image to a first binary image composed of black pixels and white pixels for each conversion block, detect the number of black pixels in the conversion block, by adding an adjustable randomized weighting factors in order to improve the image quality for the detected black-pixel count, detecting the number of first black pixel in the converted block for each transform block, the first A binarization processing unit that detects a conversion error that occurs when the binary image is generated, and based on the first black pixel number and the conversion error. A conversion error dispersion processing unit for converting the first binary image into a second binary image and detecting a second number of black pixels included in the second binary image; Based on the second number of black pixels, an FM screening image creation processing unit that converts the second binary image into an FM screening image, and a plurality of adjacent pixels formed from the created FM screening image A pixel fusion processing unit that detects a predetermined pixel pattern, performs a predetermined pixel fusion process on the detected predetermined pixel pattern, and creates a hybrid screening image;

以上のように、本発明によれば、入力される多値画像を、高画質・高付加価値を有し、印刷工程に適したハイブリッドスクリーニング画像へ変換させることが可能になる。   As described above, according to the present invention, an input multi-valued image can be converted into a hybrid screening image having high image quality and high added value and suitable for a printing process.

本発明に係る画像変換処理装置の一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the image conversion processing apparatus which concerns on this invention. グレースケール画像を二値画像に変換する二値化処理について説明するための概略図である。It is the schematic for demonstrating the binarization process which converts a gray scale image into a binary image. 変換誤差分散処理について説明するための概略図である。It is the schematic for demonstrating conversion error dispersion | distribution processing. 変換誤差分散処理の効果について説明するための概略図である。It is the schematic for demonstrating the effect of a conversion error dispersion | distribution process. FMスクリーニング画像の作成処理について説明するための概略図である。It is the schematic for demonstrating the production process of FM screening image. FMスクリーニング画像作成処理によって作成されたFMスクリーニング画像の一例を示す概略図である。It is the schematic which shows an example of the FM screening image produced by the FM screening image production process. FMスクリーニング画像作成処理によって作成されたFMスクリーニング画像について説明するための概略図である。It is the schematic for demonstrating the FM screening image produced by the FM screening image creation process. FMスクリーニング画像作成処理によって作成されたFMスクリーニング画像(グラデーション画像)について説明するための概略図である。It is the schematic for demonstrating the FM screening image (gradation image) produced by the FM screening image creation process. FMスクリーニング画像作成処理によって作成されたFMスクリーニング画像(グラデーション画像)について説明するための概略図である。It is the schematic for demonstrating the FM screening image (gradation image) produced by the FM screening image creation process. 第1の画素融合処理について説明するための概略図である。It is the schematic for demonstrating a 1st pixel fusion process. 第2の画素融合処理について説明するための概略図である。It is the schematic for demonstrating the 2nd pixel fusion process. 二次元画素融合処理によって作成されたスクリーニング画像の一例を示す概略図である。It is the schematic which shows an example of the screening image produced by the two-dimensional pixel fusion process. 第3の画素融合処理について説明するための概略図である。It is the schematic for demonstrating the 3rd pixel fusion process. 一次元画素融合処理によって作成されたハイブリッドスクリーニング画像の一例を示す概略図である。It is the schematic which shows an example of the hybrid screening image produced by the one-dimensional pixel fusion process. ざらつき補正処理について説明するための概略図である。It is the schematic for demonstrating a roughness correction process. ざらつき補正処理によって作成されたハイブリッドスクリーニング画像の一例を示す概略図である。It is the schematic which shows an example of the hybrid screening image produced by the roughness correction process. FMスクリーニング画像及びハイブリッドスクリーニング画像を比較した概略図である。It is the schematic which compared the FM screening image and the hybrid screening image. 画像変換処理装置における各処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of each process in an image conversion processing apparatus. 二値化処理及び変換誤差分散処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a binarization process and a conversion error dispersion | distribution process. FMスクリーニング変換処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of FM screening conversion process. 配置処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of an arrangement | positioning process. 二次元画素融合処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a two-dimensional pixel fusion process. 一次元画素融合処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a one-dimensional pixel fusion process. ざらつき補正処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a roughness correction process. 変換されたハイブリッドスクリーニング画像について説明するための概略図である。It is the schematic for demonstrating the converted hybrid screening image. グラデーション画像をハイブリッドスクリーニング画像に変換した場合の一例を示す概略図である。It is the schematic which shows an example at the time of converting a gradation image into a hybrid screening image.

次に、本発明を実施するための形態について、図面を参照しながら詳細に説明する。   Next, an embodiment for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本発明に係る画像変換処理装置の一実施の形態を示し、この画像変換処理装置1は、大別して、メモリ2、二値化処理部3、変換誤差分散処理部4、FMスクリーニング画像作成処理部5、画素融合処理部6及びざらつき補正処理部7を備える。   FIG. 1 shows an embodiment of an image conversion processing apparatus according to the present invention. This image conversion processing apparatus 1 is roughly divided into a memory 2, a binarization processing unit 3, a conversion error dispersion processing unit 4, and an FM screening. An image creation processing unit 5, a pixel fusion processing unit 6, and a roughness correction processing unit 7 are provided.

画像変換処理装置1には、スキャナ等の外部の入力機器から出力された、多値の階調値を有するグレースケール画像をデータ化した入力グレースケール画像データ(入力多値画像データ)10が入力され、この入力グレースケール画像データ10に対して各種の処理を施した後、各画素の階調値が「1」である黒画素と、階調値が「0」である白画素との二値で表現された出力二値画像データ20を出力する。   Input to the image conversion processing apparatus 1 is input grayscale image data (input multivalued image data) 10 that is output from an external input device such as a scanner and converted into a grayscale image having multivalued gradation values. After the input grayscale image data 10 is subjected to various processes, a black pixel whose tone value is “1” and a white pixel whose tone value is “0” are two. Output binary image data 20 expressed by values is output.

メモリ2は、外部から入力された入力グレースケール画像データ10を記憶すると共に、二値化処理部3、変換誤差分散処理部4、FMスクリーニング画像作成処理部5、画素融合処理部6及びざらつき補正処理部7で各種処理が施された画像データや、各処理において必要な情報等を記憶するための記憶媒体である。   The memory 2 stores input grayscale image data 10 input from the outside, and also includes a binarization processing unit 3, a conversion error dispersion processing unit 4, an FM screening image creation processing unit 5, a pixel fusion processing unit 6, and roughness correction. This is a storage medium for storing image data that has been subjected to various types of processing in the processing unit 7, information necessary for each processing, and the like.

二値化処理部3は、メモリ2に記憶された入力グレースケール画像データ10を読み出し、この入力グレースケール画像データ10の多値階調値を黒画素及び白画素の二値階調値のみからなる二値画像(第1の二値画像)に変換すると共に、第1の二値画像に含まれる黒画素の数を検出する。また、第1の二値画像に含まれる黒画素数を検出する際には、後述するように誤差が生じるため、この誤差を変換誤差情報として検出する。変換された第1の二値画像、検出された黒画素数を示す第1の黒画素数情報及び変換誤差情報は、メモリ2に記憶される。   The binarization processing unit 3 reads the input grayscale image data 10 stored in the memory 2 and determines the multilevel gradation value of the input grayscale image data 10 from only the binary gradation values of black pixels and white pixels. And the number of black pixels included in the first binary image is detected. In addition, when detecting the number of black pixels included in the first binary image, an error occurs as described later, and this error is detected as conversion error information. The converted first binary image, the first black pixel number information indicating the number of detected black pixels, and the conversion error information are stored in the memory 2.

変換誤差分散処理部4は、メモリ2に記憶された第1の二値画像、第1の黒画素数情報及び変換誤差情報を読み出し、第1の黒画素数情報及び変換誤差情報に基づき、二値化処理部3で変換された二値画像に対して二値化処理部3による画像変換の際に生じるトーンジャンプ現象を抑制するための処理を行い、第2の二値画像を作成すると共に、第2の二値画像に含まれる黒画素数を検出する。作成された第2の二値画像及び検出された黒画素数を示す第2の黒画素数情報は、メモリ2に記憶される。   The conversion error variance processing unit 4 reads out the first binary image, the first black pixel number information, and the conversion error information stored in the memory 2, and based on the first black pixel number information and the conversion error information, The binary image converted by the binarization processing unit 3 is subjected to processing for suppressing a tone jump phenomenon that occurs during image conversion by the binarization processing unit 3 to create a second binary image. The number of black pixels included in the second binary image is detected. The generated second binary image and the second black pixel number information indicating the detected number of black pixels are stored in the memory 2.

FMスクリーニング画像作成処理部5は、メモリ2に記憶された第2の二値画像及び第2の黒画素数情報を読み出し、第2の黒画素数情報を用いてFMスクリーニング画像を作成する。作成されたFMスクリーニング画像は、メモリ2に記憶される。また、FMスクリーニング画像作成処理部5は、FMスクリーニング画像を作成する際に用いられる、図示しない要配置画素数カウンタ及び配置済み画素数カウンタを有する。これらのカウンタについては、後述する。   The FM screening image creation processing unit 5 reads the second binary image and the second black pixel number information stored in the memory 2 and creates an FM screening image using the second black pixel number information. The created FM screening image is stored in the memory 2. Further, the FM screening image creation processing unit 5 has a required arrangement pixel number counter and an arranged pixel number counter (not shown) used when creating an FM screening image. These counters will be described later.

画素融合処理部6は、メモリ2に記憶されたFMスクリーニング画像を読み出し、このFMスクリーニング画像から所定の画素パターンを検出する。そして、画素融合処理部6は、検出された所定の画素パターンに対して画素融合処理を施し、ハイブリッドスクリーニング画像を作成する。作成されたハイブリッドスクリーニング画像は、メモリ2に記憶される。   The pixel fusion processing unit 6 reads the FM screening image stored in the memory 2 and detects a predetermined pixel pattern from the FM screening image. Then, the pixel fusion processing unit 6 performs pixel fusion processing on the detected predetermined pixel pattern to create a hybrid screening image. The created hybrid screening image is stored in the memory 2.

ざらつき補正処理部7は、メモリ2に記憶されたハイブリッドスクリーニング画像を読み出し、このハイブリッドスクリーニング画像が有するざらつき感を抑制するための補正処理を行い、出力二値画像データ20を作成する。作成された出力二値画像データ20は、メモリ2に記憶される。   The roughness correction processing unit 7 reads out the hybrid screening image stored in the memory 2, performs a correction process for suppressing the feeling of roughness of the hybrid screening image, and creates output binary image data 20. The created output binary image data 20 is stored in the memory 2.

尚、上述した二値化処理部3、変換誤差分散処理部4、FMスクリーニング画像作成処理部5、画素融合処理部6及びざらつき補正処理部7は、必ずしもハードウェアによって構成する必要はなく、その一部又は全部をソフトウェア(プログラム)によって構成してもよい。   The binarization processing unit 3, the conversion error dispersion processing unit 4, the FM screening image creation processing unit 5, the pixel fusion processing unit 6, and the roughness correction processing unit 7 described above are not necessarily configured by hardware. Part or all may be configured by software (program).

次に、上記構成を有する画像変換処理装置1における各部の処理について説明する。   Next, processing of each unit in the image conversion processing apparatus 1 having the above configuration will be described.

まず、二値化処理部3による二値化処理について、図2を参照して説明する。二値化処理においては、まず、入力グレースケール画像データ10の解像度情報に基づき、網点を作成する際と同様に、ハーフトーンセル(網点セル)ブロックを、入力グレースケール画像データ10に含まれる黒画素を検出するための検出単位である変換ブロックとして設定する。そして、変換ブロック毎に入力グレースケール画像データ10を黒画素及び白画素からなる二値画像に変換する。   First, the binarization processing by the binarization processing unit 3 will be described with reference to FIG. In the binarization processing, first, a halftone cell (halftone cell) block is included in the input grayscale image data 10 based on the resolution information of the input grayscale image data 10 as in the case of creating halftone dots. It is set as a conversion block which is a detection unit for detecting black pixels to be detected. Then, the input grayscale image data 10 is converted into a binary image composed of black pixels and white pixels for each conversion block.

次に、変換ブロックに含まれる各画素の階調値に基づき、変換ブロック内の入力グレースケール画像データ10の平均階調値を算出し、算出された平均階調値を用いて、対応する第1の二値画像の変換ブロックにおける、黒画素の数とすべての画素の数との比率を示す濃度値を取得する。そして、変換ブロックの濃度値に基づき、グレースケール画像における変換ブロック内の平均階調値に対応する黒画素数を検出する。   Next, an average gradation value of the input grayscale image data 10 in the conversion block is calculated based on the gradation value of each pixel included in the conversion block, and the corresponding first gradation value is calculated using the calculated average gradation value. A density value indicating the ratio between the number of black pixels and the number of all pixels in one binary image conversion block is acquired. Based on the density value of the conversion block, the number of black pixels corresponding to the average gradation value in the conversion block in the gray scale image is detected.

すなわち、変換ブロックサイズを横方向及び縦方向に「Lx」画素及び「Ly」画素に設定し、グレースケール画像の階調値をPとした場合、変換により得られる二値画像の黒画素数sは、数式(1)に基づき取得することができる。   That is, when the conversion block size is set to “Lx” pixels and “Ly” pixels in the horizontal and vertical directions, and the gradation value of the grayscale image is P, the number of black pixels s in the binary image obtained by the conversion Can be obtained based on Equation (1).

次に、数式(1)に基づいて取得した二値画像の黒画素数sに対して、一様乱数を用いて発生させたランダマイズ重み係数γを付加し、第1の二値画像の黒画素数Sを決定する。ランダマイズ重み係数γは、鮮鋭度やシャープネス等の画質を向上させるために強さを調整可能とする係数である。この黒画素数Sは、数式(2)に基づき取得することができる。   Next, a randomization weight coefficient γ generated using a uniform random number is added to the number of black pixels s of the binary image acquired based on Equation (1), and the black pixels of the first binary image are added. The number S is determined. The randomized weighting coefficient γ is a coefficient that allows the strength to be adjusted in order to improve image quality such as sharpness and sharpness. This black pixel number S can be obtained based on Equation (2).

ここで、二値化処理では、グレースケール画像の変換ブロックに含まれる画素の階調値を平均化して第1の二値画像における黒画素数を取得するため、ハーフトーンセルブロックのサイズによって表現できる最大階調数を決定することができる。また、ハーフトーンセルブロックに含まれる画素数により、表現できる階調数が変化し、画素数で階調の変化を表現する。   Here, in the binarization process, the grayscale values of the pixels included in the conversion block of the grayscale image are averaged to obtain the number of black pixels in the first binary image, and therefore expressed by the size of the halftone cell block. The maximum number of gradations that can be made can be determined. Further, the number of gradations that can be expressed changes depending on the number of pixels included in the halftone cell block, and the change in gradation is expressed by the number of pixels.

そのため、ハーフトーンセルブロックのサイズが大きい場合、変換された第1の二値画像は、表現できる階調数を多くすることができるが、粒子の粗い画像となり、画質が劣化する。一方、ハーフトーンセルブロックのサイズが小さい場合、変換された第1の二値画像は、表現できる階調数が少なくなるが、粒子の細かい画像となり、画質を向上させることができる。   Therefore, when the size of the halftone cell block is large, the converted first binary image can increase the number of gradations that can be expressed, but it becomes a grainy image and the image quality deteriorates. On the other hand, when the size of the halftone cell block is small, the converted first binary image has a small number of gradations that can be expressed, but becomes a fine-grained image, and the image quality can be improved.

本実施の形態における二値化処理を用いて変換される二値画像は、グレースケール画像に対して平均フィルタによるぼけ処理を行った場合と同様の変換画質となるため、変換ブロックのサイズをできるだけ小さくすることが必要である。本発明者は、評価実験により、変換ブロックのサイズを「4×4」画素〜「6×6」画素程度に設定することにより、よい変換画質が得られることを検証した。尚、図2に示す例では、変換ブロックのサイズを「6×6」とした場合の、多値画像の階調値と二値画像の黒画素数との対応関係を示す。   Since the binary image converted using the binarization processing in the present embodiment has the same conversion image quality as that obtained when blur processing using an average filter is performed on a grayscale image, the size of the conversion block can be made as small as possible. It is necessary to make it smaller. The inventor has verified through an evaluation experiment that a good conversion image quality can be obtained by setting the size of the conversion block to about “4 × 4” pixels to “6 × 6” pixels. The example shown in FIG. 2 shows the correspondence between the gradation value of the multi-value image and the number of black pixels of the binary image when the size of the conversion block is “6 × 6”.

次に、変換誤差分散処理部4による変換誤差分散処理について、図3を参照して説明する。   Next, conversion error dispersion processing by the conversion error dispersion processing unit 4 will be described with reference to FIG.

上述したように、ハーフトーンセルブロックを変換ブロックとして設定して二値化処理を行った場合、ハーフトーンセルブロックのサイズに応じて表現できる階調数が変化する。例えば、ハーフトーンセルブロックのサイズを「16×16」画素とした場合には、257(16×16+1)通りの階調表現が可能である。   As described above, when binarization processing is performed by setting a halftone cell block as a conversion block, the number of gradations that can be expressed changes according to the size of the halftone cell block. For example, when the size of the halftone cell block is “16 × 16” pixels, 257 (16 × 16 + 1) gradation representations are possible.

しかし、このようにハーフトーンセルブロックのサイズが設定されたグレースケール画像を1200dpi(dot per inch)の二値画像に変換した場合には、線数が75(=1200/16)線となり、網点の大きさが人の目に見える程度に大きくなり、画像全体の画質が悪化する。   However, when a grayscale image in which the size of the halftone cell block is set in this way is converted into a binary image of 1200 dpi (dot per inch), the number of lines becomes 75 (= 1200/16) lines, The size of the dots becomes large enough to be visible to the human eye, and the image quality of the entire image is deteriorated.

ここで、人の目は、一般的に200程度の階調を識別できるとされ、例えば、ハーフトーンセルブロックのサイズを小さくし、表現できる階調数が200以下となるように、ハーフトーンセルブロックのサイズを設定した場合(例えば、ハーフトーンセルの場合、「14×14」画素程度)には、ハーフトーン間に境界が生じる「トーンジャンプ現象」が発生する。   Here, the human eye can generally identify about 200 gradations. For example, the halftone cell block size is reduced, and the number of gradations that can be expressed is 200 or less. When the block size is set (for example, about “14 × 14” pixels in the case of a halftone cell), a “tone jump phenomenon” in which a boundary occurs between the halftones occurs.

上述した二値化処理において、数式(1)に基づいて取得した黒画素数sは、変換ブロックの多値階調値画素に対応する二値画像の黒画素数であり、黒画素として表現できる整数部分と、黒画素として表現できない小数点以下の部分を含む。このとき、黒画素として表現できない小数点以下の部分が、グレースケール画像を二値画像に変換する際の変換誤差となり、トーンジャンプ現象が発生する原因となる。   In the binarization processing described above, the number of black pixels s acquired based on the equation (1) is the number of black pixels in the binary image corresponding to the multi-value gradation value pixels of the conversion block, and can be expressed as black pixels. It includes an integer part and a part below the decimal point that cannot be expressed as a black pixel. At this time, the portion below the decimal point that cannot be expressed as a black pixel becomes a conversion error when the grayscale image is converted into a binary image, which causes a tone jump phenomenon.

そこで、本実施の形態では、二値化処理による画質ぼけの影響を抑制し、より精細な画質を得るために、第1の二値画像に対して変換誤差分散処理を行う。これにより、変換ブロックサイズを上述したように小さく設定し、変換ブロック内の黒画素数に対してランダマイズ重みを付加すると共に、変換ブロックサイズを小さくすることによって階調表現が少なくなることにより生じるトーンジャンプ現象を防止することができる。   Therefore, in the present embodiment, the conversion error dispersion process is performed on the first binary image in order to suppress the influence of the image quality blur due to the binarization process and to obtain a finer image quality. As a result, the tone generated by setting the transform block size to be small as described above, adding a randomization weight to the number of black pixels in the transform block, and reducing the tone representation by reducing the transform block size. Jump phenomenon can be prevented.

変換誤差分散処理においては、図3に示すように、二値化処理において生じる誤差(階調値変換誤差)εを、隣接する周囲の変換ブロックに対して所定の割合で分散させる。例えば、注目する変換ブロックに対して相関性の高い変換ブロックに対しては、相関性の低い変換ブロックと比較して高い割合で階調値変換誤差εを分散させる。そして、変換対象となる変換ブロックでは、周囲の変換ブロックから分散された階調値変換誤差εを用い、数式(3)に基づいて変換誤差を考慮した黒画素数S”を取得すると共に、第1の二値画像に対して変換誤差分散処理を行った第2の二値画像を作成する。   In the conversion error distribution process, as shown in FIG. 3, an error (tone value conversion error) ε generated in the binarization process is distributed at a predetermined ratio with respect to adjacent surrounding conversion blocks. For example, for a conversion block having a high correlation with the conversion block of interest, the gradation value conversion error ε is distributed at a higher rate than a conversion block with a low correlation. Then, in the conversion block to be converted, the gradation value conversion error ε distributed from the surrounding conversion blocks is used to obtain the black pixel number S ″ considering the conversion error based on the equation (3), and A second binary image is generated by performing conversion error dispersion processing on one binary image.

図4は、変換誤差分散処理を行った場合の効果を示し、図4(a)は、ハーフトーンブロックサイズを小さく設定した場合の第1の二値画像(グラデーション画像)を示し、図4(b)は、第1の二値画像に対して変換誤差分散処理を行った場合の第2の二値画像を示す。   FIG. 4 shows the effect when the conversion error dispersion processing is performed, and FIG. 4A shows the first binary image (gradation image) when the halftone block size is set small, and FIG. b) shows a second binary image when the conversion error dispersion processing is performed on the first binary image.

このように、変換誤差分散処理を行うことにより、擬似輪郭のようなトーンジャンプ現象が発生することなく、階調表現が滑らかであり、かつモアレ等が発生しない二値画像を作成することができる。   In this way, by performing the conversion error dispersion process, a binary image can be created that has a smooth gradation expression and does not generate moire or the like without causing a tone jump phenomenon such as a pseudo contour. .

次に、FMスクリーニング画像作成処理部5によるFMスクリーニング画像の作成処理について、図5を参照して説明する。   Next, FM screening image creation processing by the FM screening image creation processing unit 5 will be described with reference to FIG.

FMスクリーニング画像作成処理においては、変換誤差分散処理部4による変換誤差分散処理によって検出された黒画素数S”に基づき、各変換ブロック毎に検出された黒画素をランダムに配置することにより、FMスクリーニング画像を作成する。   In the FM screening image creation process, the FM pixels are randomly arranged on the basis of the number of black pixels S ″ detected by the conversion error dispersion process by the conversion error dispersion processing unit 4 to thereby calculate FM. Create screening images.

黒画素をランダムに配置する場合には、チェスボード形画素配置図と称する、黒画素を配置するための仮想的な配置図を用いる。   When black pixels are randomly arranged, a virtual layout diagram for arranging black pixels, which is referred to as a chess board type pixel layout diagram, is used.

具体的には、まず、図5(a)に示すように、変換ブロックの各画素に対して配置画素座標(m,n)を定義する。図5(a)の例では、左上の画素から右下の画素まで、配置画素座標が(0,0)、(1,0)、・・・、(0,Ly)、・・・、(Lx,Ly)のように定義される。このとき、作成されるFMスクリーニング画像についての画像情報が上下左右の4方向に均等に分布されるようにするため、横方向の座標の値「Lx」と縦方向の座標の値「Ly」とが同じになるように定義する。   Specifically, first, as shown in FIG. 5A, arrangement pixel coordinates (m, n) are defined for each pixel of the transform block. In the example of FIG. 5A, the arrangement pixel coordinates from the upper left pixel to the lower right pixel are (0, 0), (1, 0),..., (0, Ly),. Lx, Ly). At this time, in order to ensure that the image information about the created FM screening image is evenly distributed in the four directions, up, down, left, and right, the horizontal coordinate value “Lx” and the vertical coordinate value “Ly” Are defined to be the same.

このように配置画素座標を定義した場合、変換ブロックのサイズは、「(Lx+1)×(Ly+1)」となるため、変換ブロック内の総画素数は、「Lx」及び「Ly」の値が奇数の場合に偶数となり、「Lx」及び「Ly」の値が偶数の場合に奇数となる。   When the arrangement pixel coordinates are defined in this way, the size of the transform block is “(Lx + 1) × (Ly + 1)”, and therefore the total number of pixels in the transform block is an odd number of “Lx” and “Ly”. In this case, the number is even, and when the values of “Lx” and “Ly” are even, the number is odd.

次に、このように配置画素座標が定義された変換ブロックに対して、チェスボード形画素配置図を設定する。チェスボード形画素配置図は、図5(b)に示すように、変換ブロックと同サイズであり、配置画素を配置するための第1配置層及び第2配置層が市松模様状に交互に設定される。また、チェスボード形画素配置図における各画素に対して、変換ブロックに対して定義された配置画素座標と同様の座標(0,0)〜(Lx,Ly)が設定される。   Next, a chess board type pixel arrangement diagram is set for the conversion block in which the arrangement pixel coordinates are defined in this way. As shown in FIG. 5B, the chess board type pixel arrangement diagram is the same size as the conversion block, and the first arrangement layer and the second arrangement layer for arranging the arrangement pixels are alternately set in a checkered pattern. Is done. Also, coordinates (0, 0) to (Lx, Ly) similar to the arrangement pixel coordinates defined for the conversion block are set for each pixel in the chessboard pixel arrangement diagram.

変換誤差分散処理で取得した黒画素数S”に基づく、配置画素である黒画素は、このチェスボード形画素配置図における第1配置層及び第2配置層のうち、予め設定された一方の配置層に、検出された黒画素の数だけランダムに配置される。   Based on the number of black pixels S ″ obtained by the conversion error distribution process, the black pixel as the arrangement pixel is one of the first arrangement layer and the second arrangement layer set in advance in the chessboard pixel arrangement diagram. The number of black pixels detected is randomly arranged on the layer.

ここで、本実施の形態によるFMスクリーニング画像作成処理においては、黒画素を第1配置層及び第2配置層のいずれかの配置層に配置するかを決定するための画素配置判断条件を予め設定する。この例では、x方向及びy方向の座標の合計が偶数となる場合を画素配置判断条件として設定する。   Here, in the FM screening image creation processing according to the present embodiment, a pixel arrangement determination condition for determining whether to arrange a black pixel in one of the first arrangement layer and the second arrangement layer is set in advance. To do. In this example, the pixel arrangement determination condition is set when the sum of the coordinates in the x direction and the y direction is an even number.

次に、設定された画素配置判断条件に応じた第1配置層及び第2配置層における総配置画素数を計算する。例えば、チェスボード形画素配置図におけるLxが「奇数」である場合、配置図内の総画素数が「偶数」となるため、画素配置判断条件が「偶数」及び「奇数」のいずれの場合でも、各配置層における総配置画素数は、同一の画素数となり、「((Lx+1)×(Ly+1))/2」となる。   Next, the total number of arranged pixels in the first arrangement layer and the second arrangement layer according to the set pixel arrangement determination condition is calculated. For example, when Lx in the chessboard pixel arrangement diagram is “odd”, the total number of pixels in the arrangement diagram is “even”, so that the pixel arrangement determination condition is “even” or “odd”. The total number of arranged pixels in each arrangement layer is the same number of pixels, and is “((Lx + 1) × (Ly + 1)) / 2”.

一方、Lxが「偶数」である場合には、配置図内の総画素数が「奇数」となる。そのため、画素配置判断条件が「偶数」である場合の総配置画素数は、画素配置判断条件が「奇数」となる場合の総配置画素数よりも「1」だけ多くなる。   On the other hand, when Lx is “even”, the total number of pixels in the layout drawing is “odd”. For this reason, the total number of arranged pixels when the pixel arrangement determination condition is “even” is larger by “1” than the total arrangement pixel number when the pixel arrangement determination condition is “odd”.

すなわち、Lxが「偶数」である場合で、画素配置判断条件が「偶数」であるときの総配置画素数は、「((Lx+1)×(Ly+1)+1)/2」となる。また、Lxが「偶数」である場合で、画素配置判断条件が「奇数」であるときの総配置画素数は、「((Lx+1)×(Ly+1)−1)/2」となる。   That is, when Lx is “even” and the pixel arrangement determination condition is “even”, the total number of arranged pixels is “((Lx + 1) × (Ly + 1) +1) / 2”. Further, when Lx is “even” and the pixel arrangement determination condition is “odd”, the total number of arranged pixels is “((Lx + 1) × (Ly + 1) −1) / 2”.

具体的には、例えば、「6画素×6画素」の変換ブロックの場合、総画素数が36個(偶数)となり、画素配置判断条件が「偶数」及び「奇数」のいずれの場合でも、各々の配置層における総配置画素数は18個となる。   Specifically, for example, in the case of a “6 pixel × 6 pixel” conversion block, the total number of pixels is 36 (even), and the pixel arrangement determination condition is “even” or “odd”. In this arrangement layer, the total number of arranged pixels is 18.

一方、「5画素×5画素」の変換ブロックの場合、総画素数が25個(奇数)となるため、画素配置判断条件が「偶数」である場合の配置層における総配置画素数は13個となり、画素配置判断条件が「奇数」である場合の配置層における総配置画素数は12個となる。   On the other hand, in the case of a conversion block of “5 pixels × 5 pixels”, the total number of pixels is 25 (odd number), so the total number of arranged pixels in the arrangement layer when the pixel arrangement determination condition is “even” is 13 Thus, when the pixel arrangement determination condition is “odd number”, the total number of arranged pixels in the arrangement layer is 12.

次に、配置画素である黒画素を、予め設定した画素配置判断条件(この例では、偶数)に対応する配置層に対してランダムに配置する。配置される黒画素(配置画素)Pの座標(m,n)は、チェスボード形画素配置図において、横方向の画素数が「Lx+1」であり、縦方向の画素数が「Ly+1」である場合、以下の数式(4)を用いて決定される。
m=x(「0」〜「Lx」までの値を取り得る乱数により決定)
n=y(「0」〜「Ly」までの値を取り得る乱数により決定) ・・・(4)
画素配置判断条件TS=m+n(偶数又は奇数)
Next, the black pixels as the arrangement pixels are randomly arranged with respect to the arrangement layer corresponding to the preset pixel arrangement determination condition (in this example, an even number). Regarding the coordinates (m, n) of the black pixel (arranged pixel) P to be arranged, the number of pixels in the horizontal direction is “Lx + 1” and the number of pixels in the vertical direction is “Ly + 1” in the chessboard pixel arrangement diagram. In this case, the following formula (4) is used.
m = x (determined by a random number that can take values from “0” to “Lx”)
n = y (determined by a random number that can take values from “0” to “Ly”) (4)
Pixel arrangement determination condition TS = m + n (even number or odd number)

配置画素Pにおける横方向の座標「m」は、値が「0」〜「Lx」までの値を取り得る一様乱数を発生させることにより決定する。同様に、配置画素P(m,n)における縦方向の座標「n」は、値が「0」〜「Ly」までの値を取り得る一様乱数を発生させることにより決定する。   The horizontal coordinate “m” in the arrangement pixel P is determined by generating a uniform random number that can take values from “0” to “Lx”. Similarly, the vertical coordinate “n” in the arrangement pixel P (m, n) is determined by generating a uniform random number that can take values from “0” to “Ly”.

そして、このようにして決定された「m」及び「n」に基づき、画素配置判断条件TSを算出し、算出結果(「偶数」又は「奇数」)と、予め設定された画素配置判断条件とを比較する。比較の結果、2つの画素配置判断条件が異なる場合、具体的には、算出された画素配置判断条件TSが奇数である場合、配置画素を配置せずに、一様乱数を再度発生させて配置画素の新しい配置画素座標を決定する。   Then, based on “m” and “n” determined in this manner, a pixel arrangement determination condition TS is calculated, and the calculation result (“even” or “odd”) is set to a predetermined pixel arrangement determination condition. Compare As a result of the comparison, when the two pixel arrangement determination conditions are different, specifically, when the calculated pixel arrangement determination condition TS is an odd number, the arrangement is performed by generating a uniform random number again without arranging the arrangement pixels. Determine the new pixel coordinates for the pixel.

一方、2つの画素配置判断条件が一致した場合には、この配置画素P(m,n)の座標が示す位置に対して配置画素が既に配置済みであるか否かを判断する。判断の結果、当該座標が示す位置に配置画素が既に配置済みである場合には、この配置座標P(m,n)の座標を廃棄し、一様乱数を再度発生することにより、新しい配置画素座標を決定する。   On the other hand, if the two pixel arrangement determination conditions match, it is determined whether or not the arrangement pixel has already been arranged at the position indicated by the coordinates of the arrangement pixel P (m, n). As a result of the determination, if the arrangement pixel has already been arranged at the position indicated by the coordinate, the coordinates of the arrangement coordinate P (m, n) are discarded and a uniform random number is generated again, whereby a new arrangement pixel is obtained. Determine the coordinates.

一方、当該座標が示す位置に配置画素が配置されていない場合には、配置画素を配置する。そして、FMスクリーニング画像作成処理部5に設けられた要配置画素数カウンタの値を「1」だけデクリメントすると共に、配置済み画素数カウンタの値を「1」だけインクリメントする。   On the other hand, when the arrangement pixel is not arranged at the position indicated by the coordinates, the arrangement pixel is arranged. Then, the value of the required arrangement pixel number counter provided in the FM screening image creation processing unit 5 is decremented by “1”, and the value of the arranged pixel number counter is incremented by “1”.

ここで、要配置画素数カウンタは、配置すべき画素の数をカウントするためのものであり、初期値として当該変換ブロック内の黒画素数が設定され、配置画素を配置する度に、値を「1」ずつデクリメントする。   Here, the required number of pixels to be arranged counter is for counting the number of pixels to be arranged. The number of black pixels in the conversion block is set as an initial value, and the value is set every time the arranged pixels are arranged. Decrement by “1”.

また、配置済み画素数カウンタは、配置が完了した配置画素の数をカウントするためのものであり、初期値として値「0」が設定され、配置画素を配置する度に、値を「1」ずつインクリメントする。   The arranged pixel number counter is for counting the number of arranged pixels that have been arranged. The value “0” is set as an initial value, and the value is set to “1” every time a arranged pixel is arranged. Increment by one.

配置済み画素数カウンタの値が当該配置層の総配置画素数を超えた場合には、配置層の配置可能なすべての座標の位置に、配置画素が配置されたことを示す。   When the value of the arranged pixel number counter exceeds the total number of arranged pixels of the arrangement layer, it indicates that the arranged pixels are arranged at all coordinate positions where the arrangement layer can be arranged.

ここで、配置層の総配置画素数よりも、要配置画素数が多い場合が考えられる。このような場合には、予め設定された画素配置判断条件を変更し、次の配置層に配置画素を配置するように設定する。   Here, there may be a case where the number of required arrangement pixels is larger than the total number of arrangement pixels of the arrangement layer. In such a case, the preset pixel arrangement determination condition is changed, and the arrangement pixel is set to be arranged in the next arrangement layer.

具体的には、例えば、画素配置判断条件を「偶数」に設定し、この条件の下で配置画素の配置処理を行う。そして、配置可能なすべての配置座標に配置画素が配置された後に、配置すべき配置画素が残っている場合には、画素配置判断条件を「奇数」に変更し、残りの配置画素に対する配置処理を行う。   Specifically, for example, the pixel arrangement determination condition is set to “even”, and the arrangement pixel arrangement process is performed under this condition. Then, after arrangement pixels are arranged at all arrangement coordinates that can be arranged, if arrangement pixels to be arranged remain, the pixel arrangement determination condition is changed to “odd number”, and arrangement processing for the remaining arrangement pixels is performed. I do.

このようにして、上述した配置処理を要配置画素数カウンタの値が「0」となるまで繰り返し、要配置画素数カウンタの値が「0」となった場合には、配置すべき配置画素の配置が完了したと判断し、配置画素の配置処理を終了する。これにより、所定の変換ブロックに対応する網点画像をFMスクリーニング画像に変換することができる。   In this way, the arrangement process described above is repeated until the value of the required arrangement pixel number counter becomes “0”. When the value of the arrangement pixel number counter becomes “0”, the arrangement pixel to be arranged is determined. It is determined that the arrangement has been completed, and the arrangement processing of the arrangement pixels is completed. Thereby, the halftone image corresponding to a predetermined conversion block can be converted into an FM screening image.

尚、この例では、画素配置判断条件を「偶数」に設定したが、これに限られず、画素配置判断条件を「奇数」に設定してもよく、この場合も、上述と同様の処理を行うことにより、網点画像をFMスクリーニング画像に変換することができる。   In this example, the pixel arrangement determination condition is set to “even”. However, the present invention is not limited to this, and the pixel arrangement determination condition may be set to “odd”. In this case, the same processing as described above is performed. Thus, the halftone image can be converted into an FM screening image.

図6は、上述したFMスクリーニング画像作成処理によって作成されたFMスクリーニング画像の一例を示す。図6(a)〜図6(f)は、各々、変換ブロック内の黒画素の濃度が10%、25%、40%、50%、75%、90%である場合に作成されたFMスクリーニング画像を示す。このFMスクリーニング画像は、大域均等分布と局部ランダム分布とのバランスを取りながら、上下左右の4方向に画素分布特性を有することが大きな特徴である。   FIG. 6 shows an example of an FM screening image created by the above-described FM screening image creation process. FIGS. 6A to 6F show FM screenings created when the density of black pixels in the conversion block is 10%, 25%, 40%, 50%, 75%, and 90%, respectively. Images are shown. This FM screening image is characterized by having pixel distribution characteristics in four directions, top, bottom, left, and right, while balancing the global uniform distribution and the local random distribution.

また、図7は、本実施の形態によるFMスクリーニング画像作成処理によって作成されたFMスクリーニング画像(図7(a))と、従来の誤差拡散処理によって作成されたFMスクリーニング画像(図7(b))とを示す。図7(a)に示すように、本実施の形態によるFMスクリーニング画像作成処理によって作成されたFMスクリーニング画像では、従来のFMスクリーニング画像に発生する不自然な亀甲模様がなく、画質が改善されたことがわかる。   7 shows an FM screening image (FIG. 7A) created by the FM screening image creation processing according to the present embodiment and an FM screening image created by the conventional error diffusion processing (FIG. 7B). ). As shown in FIG. 7 (a), the FM screening image created by the FM screening image creation processing according to the present embodiment has no unnatural turtle shell pattern generated in the conventional FM screening image, and the image quality is improved. I understand that.

図8は、本実施の形態によるFMスクリーニング画像作成処理によって作成されたグラデーション画像のFMスクリーニング画像を示し、、図8(a)は、本実施の形態によるFMスクリーニング画像作成処理によって作成されたFMスクリーニング画像を示し、図8(b)は、従来のFMスクリーニング画像を示す。また、図9は、本実施の形態によるFMスクリーニング画像作成処理によって作成されたグラデーション画像(300dpi)のFMスクリーニング画像を示す。このように、本実施の形態によるFMスクリーニング画像作成処理によって作成されたFMスクリーニング画像では、画質劣化となるモアレ等のムラを抑えることができる。   FIG. 8 shows an FM screening image of a gradation image created by the FM screening image creation processing according to the present embodiment. FIG. 8A shows an FM screening image created by the FM screening image creation processing according to the present embodiment. A screening image is shown, FIG.8 (b) shows the conventional FM screening image. FIG. 9 shows an FM screening image of a gradation image (300 dpi) created by the FM screening image creation processing according to the present embodiment. As described above, in the FM screening image created by the FM screening image creation processing according to the present embodiment, it is possible to suppress unevenness such as moire that causes image quality degradation.

ここで、図8に示すFMスクリーニング画像では、チェスボード形画素配置図の画素分布特性により、画素毎に上下左右の4方向に隣接した画素と、1画素間隔で孤立することになる。この状態では、孤立した画素が1画素となるため、画像の最小情報単位であるドットが小さくなり、輪転機による紙へのインクの着肉性が悪く、さらに網点画像と比較して、ドットゲインが非常に大きく発生するため、印刷工程に適さない。   Here, in the FM screening image shown in FIG. 8, the pixels are isolated at intervals of one pixel from the pixels adjacent in the four directions, top, bottom, left, and right, for each pixel due to the pixel distribution characteristics of the chessboard type pixel arrangement diagram. In this state, since the isolated pixel is one pixel, the dot which is the minimum information unit of the image is small, the ink is not deposited on the paper by the rotary press, and the dot is smaller than the halftone image. Since the gain is very large, it is not suitable for the printing process.

そこで、本実施の形態では、FMスクリーニング画像の高画質の良さを保持しつつ、輪転機による紙へのインクの着肉性を改善した印刷工程に適したスクリーニングを実現するため、以下に示す画素融合処理によって、孤立する画素を印刷に適した大きさのドットに変換する。   Therefore, in this embodiment, in order to realize screening suitable for a printing process in which the ink deposition property on the paper is improved by a rotary press while maintaining the high quality of the FM screening image, the following pixels are provided. By the fusing process, isolated pixels are converted into dots having a size suitable for printing.

次に、画素融合処理部6による画素融合処理について、図10〜図14を参照して説明する。   Next, pixel fusion processing by the pixel fusion processing unit 6 will be described with reference to FIGS.

画素融合処理においては、まず、FMスクリーニング画像作成処理部5によって作成されたFMスクリーニング画像に対してラスタスキャンを行う。そして、互いに隣接する複数の画素によって形成される画素パターンから、黒画素及び白画素が1画素間隔で分布する所定の画素パターンを検出し、検出された所定の画素パターンに対して二次元画素融合処理を行う。   In the pixel fusion processing, first, raster scanning is performed on the FM screening image created by the FM screening image creation processing unit 5. Then, a predetermined pixel pattern in which black pixels and white pixels are distributed at one-pixel intervals is detected from a pixel pattern formed by a plurality of adjacent pixels, and two-dimensional pixel fusion is performed on the detected predetermined pixel pattern. Process.

具体的には、まず、FMスクリーニング画像から図10(a)に示す「2画素×2画素」の4画素からなる第1の画素パターンを検出する。具体的には、第1の画素パターンは、左上及び右下の画素が黒画素であり、右上及び左下の画素が白画素となるパターンである。   Specifically, first, a first pixel pattern including four pixels of “2 pixels × 2 pixels” shown in FIG. 10A is detected from the FM screening image. Specifically, the first pixel pattern is a pattern in which the upper left and lower right pixels are black pixels, and the upper right and lower left pixels are white pixels.

そして、第1の画素パターンを検出した場合には、この第1の画素パターンに対して第1の画素融合処理を行う。第1の画素融合処理では、図10(b)に示すように、第1の画素パターンにおける右下の黒画素と、隣接する右上又は左下の白画素とを入れ替える交換処理を行う。このとき、右下の黒画素と、右上又は左下の白画素との交換確率を共に50%とする。   When the first pixel pattern is detected, a first pixel fusion process is performed on the first pixel pattern. In the first pixel fusion process, as shown in FIG. 10B, an exchange process is performed in which the lower right black pixel in the first pixel pattern is replaced with the adjacent upper right or lower left white pixel. At this time, the replacement probability of the lower right black pixel and the upper right or lower left white pixel is both 50%.

すなわち、第1の画素融合処理では、50%の確率で、図10(c)に示す右下の黒画素と右上の白画素とを入れ替える交換処理(以下、「第1の画素融合処理100a」とする)、及び図10(d)に示す右下の黒画素と左下の白画素とを入れ替える交換処理(以下、「第1の画素融合処理100b」とする)のうち、いずれかの交換処理を行う。   That is, in the first pixel fusion process, an exchange process for replacing the lower right black pixel and the upper right white pixel shown in FIG. 10C with a probability of 50% (hereinafter referred to as “first pixel fusion process 100a”). ), And an exchange process (hereinafter referred to as “first pixel fusion process 100b”) for exchanging the lower right black pixel and the lower left white pixel shown in FIG. I do.

次に、二次元画素融合処理では、図11(a)に示す第2の画素パターンを検出する。具体的には、第2の画素パターンは、左上及び右下の画素が白画素であり、右上及び左下の画素が黒画素となるパターンである。   Next, in the two-dimensional pixel fusion process, the second pixel pattern shown in FIG. Specifically, the second pixel pattern is a pattern in which the upper left and lower right pixels are white pixels, and the upper right and lower left pixels are black pixels.

そして、第2の画素パターンを検出した場合には、この第2の画素パターンに対して第2の画素融合処理を行う。第2の画素融合処理では、図11(b)に示すように、第2の画素パターンにおける右下の白画素と、隣接する右上又は左下の黒画素とを入れ替える交換処理を行う。このとき、右下の白画素と、右上又は左下の黒画素との交換確率を共に50%とする。   When the second pixel pattern is detected, a second pixel fusion process is performed on the second pixel pattern. In the second pixel fusion process, as shown in FIG. 11B, an exchange process is performed in which the lower right white pixel in the second pixel pattern is replaced with the adjacent upper right or lower left black pixel. At this time, the exchange probability between the lower right white pixel and the upper right or lower left black pixel is set to 50%.

すなわち、第2の画素融合処理では、50%の確率で、図11(c)に示す右下の白画素と右上の黒画素とを入れ替える交換処理(以下、「第2の画素融合処理200a」とする)、及び図11(d)に示す右下の白画素と左下の黒画素とを入れ替える交換処理(以下、「第2の画素融合処理200b」とする)のうち、いずれかの交換処理を行う。   That is, in the second pixel fusion process, an exchange process (hereinafter referred to as “second pixel fusion process 200a”) that replaces the lower right white pixel and the upper right black pixel shown in FIG. 11C with a probability of 50%. ), And an exchange process (hereinafter referred to as “second pixel fusion process 200b”) for exchanging the lower right white pixel and the lower left black pixel shown in FIG. I do.

最後に、二次元画素融合処理では、FMスクリーニング画像から第1及び第2の画素パターンが検出できなくなるまで、第1及び第2の画素融合処理を交互に行う。   Finally, in the two-dimensional pixel fusion process, the first and second pixel fusion processes are alternately performed until the first and second pixel patterns cannot be detected from the FM screening image.

このように、二次元画素融合処理では、黒画素及び白画素が1画素間隔で分布する画素パターン内の黒画素同士が連続的に分布するように、黒画素と白画素とを交換することにより、所定のスクリーニング画像を作成する。   As described above, in the two-dimensional pixel fusion processing, the black pixels and the white pixels are exchanged so that the black pixels in the pixel pattern in which the black pixels and the white pixels are distributed at intervals of one pixel are continuously distributed. A predetermined screening image is created.

図12は、図6(d)に示す黒画素の濃度が50%である場合のFMスクリーニング画像に対して二次元画素融合処理を行うことによって作成されたスクリーニング画像である。図12に示すように、二次元画素融合処理を行うことにより、図6(d)において孤立して分布する画素が繋がり、線状に形成されることがわかる。   FIG. 12 is a screening image created by performing a two-dimensional pixel fusion process on the FM screening image when the density of the black pixel shown in FIG. 6D is 50%. As shown in FIG. 12, by performing the two-dimensional pixel fusion processing, it can be seen that pixels distributed in isolation in FIG. 6D are connected and formed in a linear shape.

次に、画素画素融合処理においては、上述した二次元画素融合処理によって変換されたスクリーニング画像に対してラスタスキャンを行う。そして、角度方向で隣接する複数の画素によって形成される画素パターンから、黒画素及び白画素が1画素間隔で分布する所定の画素パターンを検出し、検出された所定の画素パターンに対して後述する一次元画素融合処理を行う。   Next, in pixel pixel fusion processing, raster scanning is performed on the screening image converted by the above-described two-dimensional pixel fusion processing. A predetermined pixel pattern in which black pixels and white pixels are distributed at one-pixel intervals is detected from a pixel pattern formed by a plurality of pixels adjacent in the angular direction, and the detected predetermined pixel pattern will be described later. Perform one-dimensional pixel fusion processing.

一次元画素融合処理では、まず、スクリーニング画像から角度方向で互いに隣接し、各々の画素が「白・黒・白・黒」のように並ぶ4画素からなる第3の画素パターンを検出する。   In the one-dimensional pixel fusion processing, first, a third pixel pattern including four pixels that are adjacent to each other in the angular direction from the screening image and in which each pixel is arranged as “white / black / white / black” is detected.

そして、第3の画素パターンを検出した場合には、この第3の画素パターンに対して第3の画素融合処理を行う。第3の画素融合処理では、「白・黒・白・黒」のように並ぶ第3の画素パターンを、「白・白・黒・黒」のように並ぶ画素パターンに変換する。   When a third pixel pattern is detected, a third pixel fusion process is performed on the third pixel pattern. In the third pixel fusion process, the third pixel pattern arranged as “white / black / white / black” is converted into a pixel pattern arranged as “white / white / black / black”.

ここで、第3の画素パターンの検出は、図13(a)に示すように、画像の360°空間において45°間隔で行う。具体的には、第3の画素融合処理では、0°方向に第3の画素パターンが検出された場合に、図13(b)に示すように、0°方向に左から右方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(0°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(0°))。   Here, the third pixel pattern is detected at 45 ° intervals in a 360 ° space of the image, as shown in FIG. Specifically, in the third pixel fusion process, when the third pixel pattern is detected in the 0 ° direction, as shown in FIG. 13B, “white” is displayed in the 0 ° direction from the left to the right. A third pixel pattern aligned with “black / white / black” (hereinafter referred to as “third pixel pattern (0 °)”) is converted into a pixel pattern aligned with “white / white / black / black” ( Third pixel fusion process (0 °).

45°方向に第3の画素パターンが検出された場合には、図13(c)に示すように、45°方向に左下から右上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(45°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(45°))。   When the third pixel pattern is detected in the 45 ° direction, as shown in FIG. 13C, the third pixel pattern aligned with “white / black / white / black” from the lower left to the upper right in the 45 ° direction. A pixel pattern (hereinafter referred to as “third pixel pattern (45 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (45 °)).

90°方向に第3の画素パターンが検出された場合には、図13(d)に示すように、90°方向に下から上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(90°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(90°))。   When the third pixel pattern is detected in the 90 ° direction, as shown in FIG. 13D, the third pixel pattern aligned with “white / black / white / black” from the bottom to the top in the 90 ° direction. A pixel pattern (hereinafter referred to as “third pixel pattern (90 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (90 °)).

135°方向に第3の画素パターンが検出された場合には、図13(e)に示すように、135°方向に右下から左上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(135°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(135°))。   When the third pixel pattern is detected in the 135 ° direction, as shown in FIG. 13E, the third pixel pattern in which “white / black / white / black” is aligned in the 135 ° direction from the lower right to the upper left is arranged. The pixel pattern (hereinafter referred to as “third pixel pattern (135 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (135 °)). .

180°方向に第3の画素パターンが検出された場合には、図13(f)に示すように、180°方向に右から左方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(180°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(180°))。   When the third pixel pattern is detected in the 180 ° direction, as shown in FIG. 13F, the third pixel pattern aligned with “white / black / white / black” from the right to the left in the 180 ° direction. A pixel pattern (hereinafter referred to as “third pixel pattern (180 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (180 °)).

225°方向に第3の画素パターンが検出された場合には、図13(g)に示すように、225°方向に右上から左下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(225°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(225°))。   When the third pixel pattern is detected in the 225 ° direction, as shown in FIG. 13G, the third pixel pattern aligned with “white / black / white / black” from the upper right to the lower left in the 225 ° direction. A pixel pattern (hereinafter referred to as “third pixel pattern (225 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (225 °)).

270°方向に第3の画素パターンが検出された場合には、図13(h)に示すように、270°方向に上から下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(270°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(270°))。   When the third pixel pattern is detected in the 270 ° direction, as shown in FIG. 13H, the third pixel pattern aligned with “white / black / white / black” from the top to the bottom in the 270 ° direction. A pixel pattern (hereinafter referred to as “third pixel pattern (270 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (270 °)).

315°方向に第3の画素パターンが検出された場合には、図13(i)に示すように、315°方向に左上から右下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(315°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(315°))。   When the third pixel pattern is detected in the 315 ° direction, as shown in FIG. 13 (i), the third pattern in which “white / black / white / black” is arranged in the 315 ° direction from the upper left to the lower right is arranged. The pixel pattern (hereinafter referred to as “third pixel pattern (315 °)”) is converted into a pixel pattern aligned with “white / white / black / black” (third pixel fusion processing (315 °)). .

360°方向については、0°方向と同様であるので、第3の画素パターンの検出は行われない。   Since the 360 ° direction is the same as the 0 ° direction, the third pixel pattern is not detected.

このように、第3の画素融合処理では、画像の360°空間に対して45°間隔で第3の画素パターンを順次検出し、スクリーニング画像から第3の画素パターンが検出できなくなるまで上述した変換処理が繰り返される。   Thus, in the third pixel fusion processing, the third pixel pattern is sequentially detected at 45 ° intervals with respect to the 360 ° space of the image, and the above-described conversion is performed until the third pixel pattern cannot be detected from the screening image. The process is repeated.

そして、このように画素融合処理によって第1〜第3の画素融合処理が行われた画像が、FMスクリーニング画像を変換したハイブリッドスクリーニング画像となる。   And the image in which the 1st-3rd pixel fusion process was performed by the pixel fusion process in this way turns into the hybrid screening image which converted the FM screening image.

図14は、図12に示すスクリーニング画像に対して一次元画素融合処理を行うことによって作成されたハイブリッドスクリーニング画像である。このように画素融合処理を行うことにより、孤立する画素を減少させ、複数の画素によって形成された大きなドットに変換することができる。   FIG. 14 is a hybrid screening image created by performing one-dimensional pixel fusion processing on the screening image shown in FIG. By performing the pixel fusion process in this way, the number of isolated pixels can be reduced and converted into large dots formed by a plurality of pixels.

次に、ざらつき補正処理部7によるざらつき補正処理について、図15及び図16を参照して説明する。   Next, the roughness correction processing by the roughness correction processing unit 7 will be described with reference to FIGS. 15 and 16.

上述のようにして、入力グレースケール画像データ10に対して各処理を施すことによって作成されたハイブリッドスクリーニング画像は、FMスクリーニング画像のランダムさを強く有するため、画質としてざらつき感を有する場合がある。このざらつき感は、作成されたハイブリッドスクリーニング画像内に存在する端点画素及び孤立点画素が主な原因であるものと考えられる。   As described above, the hybrid screening image created by performing each process on the input grayscale image data 10 has a strong randomness of the FM screening image, and thus may have a rough feeling as image quality. It is considered that this rough feeling is mainly caused by end point pixels and isolated point pixels present in the created hybrid screening image.

ここで、端点画素及び孤立点画素は、所定の画素を注目画素とした場合に、注目画素と、当該注目画素の周囲に隣接する画素との相関関係によって定義される画素である。   Here, the end point pixel and the isolated point pixel are pixels defined by the correlation between the target pixel and pixels adjacent to the target pixel when a predetermined pixel is the target pixel.

例えば、端点画素は、注目画素の周囲に隣接する8画素のうち、連続する複数の画素(例えば、5画素以上)が注目画素と異なる色の画素である場合の注目画素を示す。具体的には、図15(a)に示すように、注目画素が黒画素であるときで、注目画素の周囲8画素のうち連続する5画素が白画素である場合に、注目画素が端点画素となる。また、注目画素が白画素であるときで、注目画素の周囲8画素のうち連続する5画素が黒画素である場合に、注目画素が端点画素となる。   For example, the end point pixel indicates a target pixel when a plurality of continuous pixels (for example, five pixels or more) among the eight pixels adjacent to the periphery of the target pixel are pixels having a different color from the target pixel. Specifically, as illustrated in FIG. 15A, when the target pixel is a black pixel, and when five consecutive pixels among the eight pixels around the target pixel are white pixels, the target pixel is an end pixel. It becomes. In addition, when the target pixel is a white pixel, and when five consecutive pixels among the eight pixels around the target pixel are black pixels, the target pixel is an end point pixel.

一方、例えば、孤立点画素は、注目画素の周囲に隣接する8画素すべてが注目画素と異なる色の画素である場合の注目画素を示す。具体的には、注目画素が黒画素であるときで、注目画素の周囲8画素すべてが白画素である場合に、注目画素が端点画素となる。また、注目画素が白画素であるときで、注目画素の周囲8画素すべてが黒画素である場合に、注目画素が端点画素となる。   On the other hand, for example, an isolated point pixel indicates a target pixel when all the eight pixels adjacent to the periphery of the target pixel are pixels having a different color from the target pixel. Specifically, when the target pixel is a black pixel and all eight pixels around the target pixel are white pixels, the target pixel is an end point pixel. In addition, when the target pixel is a white pixel and all eight pixels around the target pixel are black pixels, the target pixel is an end point pixel.

本実施の形態では、この端点画素及び孤立点画素を減少させることによってざらつき感を抑制し、画質を向上させるための補正処理を行う。   In the present embodiment, correction processing is performed to suppress the feeling of roughness and improve the image quality by reducing the end point pixels and the isolated point pixels.

ざらつき補正処理においては、まず、画素融合処理部6によって作成されたハイブリッドスクリーニング画像に対してラスタスキャンを行う。次に、予め設定された端点画素及び孤立点画素の定義に基づき、所定の注目画素が端点画素又は孤立点画素であるか否かを判断する。   In the roughness correction process, first, a raster scan is performed on the hybrid screening image created by the pixel fusion processing unit 6. Next, based on the definition of the end point pixel and the isolated point pixel set in advance, it is determined whether or not the predetermined target pixel is the end point pixel or the isolated point pixel.

注目画素が端点画素又は孤立点画素である場合には、この注目画素を中心として所定の領域内に、注目画素と異なる色の端点画素又は孤立点画素が存在するか否かを判断する。具体的には、例えば、注目画素を中心として時計回りに存在する周囲の画素が端点画素又は孤立点画素であるか否かを順次判断する。   When the target pixel is an end point pixel or an isolated point pixel, it is determined whether or not an end point pixel or an isolated point pixel having a color different from that of the target pixel exists in a predetermined area with the target pixel as a center. Specifically, for example, it is sequentially determined whether or not surrounding pixels that exist clockwise around the target pixel are end point pixels or isolated point pixels.

そして、注目画素と異なる色の端点画素又は孤立点画素が検出された場合には、図15(b)に示すように、端点画素又は孤立点画素である注目画素と、検出された端点画素又は孤立点画素とを入れ替える。   When an end point pixel or isolated point pixel having a color different from that of the target pixel is detected, as shown in FIG. 15B, the target pixel that is the end point pixel or the isolated point pixel, and the detected end point pixel or Replace isolated point pixels.

このように、異なる色の端点画素又は孤立点画素を互いに入れ替えることにより、ざらつき感の原因となる端点画素及び孤立点画素を減少させることができる。また、入れ替え処理にあたっては、異なる色の画素同士を入れ替えるため、画像全体における黒画素及び白画素の数は、入れ替え前の数を維持することができるので、処理前後における画像の濃淡情報を維持しながら、ざらつき感を抑制して画質を向上させることができる。   In this way, by replacing the end point pixels or isolated point pixels of different colors with each other, the end point pixels and the isolated point pixels that cause the rough feeling can be reduced. In addition, since the pixels of different colors are replaced in the replacement process, the number of black pixels and white pixels in the entire image can be maintained as the number before the replacement, so that the gray level information of the image before and after the process is maintained. However, the image quality can be improved by suppressing the feeling of roughness.

図16は、図14に示すハイブリッドスクリーニング画像に対してざらつき補正処理を行うことによって補正されたハイブリッドスクリーニング画像を示す。また、図17は、本実施の形態により作成されたFMスクリーニング画像とハイブリッドスクリーニング画像との比較を示す。尚、図17(a)〜図17(d)において、左側がFMスクリーニング画像を示し、右側がハイブリッドスクリーニング画像を示す。また、図17(a)〜図17(d)は、黒画素の濃度が各々10%、25%、50%、75%である場合の画像を示す。   FIG. 16 shows a hybrid screening image corrected by performing a roughness correction process on the hybrid screening image shown in FIG. FIG. 17 shows a comparison between an FM screening image created by this embodiment and a hybrid screening image. In FIGS. 17A to 17D, the left side shows the FM screening image, and the right side shows the hybrid screening image. FIGS. 17A to 17D show images when the density of black pixels is 10%, 25%, 50%, and 75%, respectively.

図16及び図17に示すように、ハイブリッドスクリーニング画像内に存在する端点画素及び孤立点画素を減少させることにより、画像内に存在するざらつき感を抑制し、画質を向上させることができる。   As shown in FIGS. 16 and 17, by reducing the end point pixels and isolated point pixels present in the hybrid screening image, it is possible to suppress the feeling of roughness present in the image and improve the image quality.

次に、画像変換処理装置1における各処理の流れについて、図18〜図24に示すフローチャートを参照して説明する。   Next, the flow of each process in the image conversion processing apparatus 1 will be described with reference to the flowcharts shown in FIGS.

まず、外部から入力された入力グレースケール画像データ10を出力二値画像データ20に変換して出力する画像変換処理装置1全体の処理について、図18を参照して説明する。   First, processing of the entire image conversion processing apparatus 1 that converts input grayscale image data 10 input from the outside into output binary image data 20 and outputs it will be described with reference to FIG.

外部から入力グレースケール画像データ10が入力され、メモリ2に記憶されると、二値化処理部3は、メモリ2に記憶された入力グレースケール画像データ10を読み出し、入力グレースケール画像データ10に関する解像度情報に基づき、入力グレースケール画像データ10に対して変換ブロックを設定する。そして、変換ブロック毎の画像を第1の二値画像に変換すると共に第1の黒画素数を検出する二値化処理を行う(ステップS1)。二値化処理部3は、二値化処理により得られた第1の二値画像、第1の黒画素数情報及び変換誤差情報を、一旦メモリ2に記憶する。   When input grayscale image data 10 is input from the outside and stored in the memory 2, the binarization processing unit 3 reads the input grayscale image data 10 stored in the memory 2 and relates to the input grayscale image data 10. Based on the resolution information, a conversion block is set for the input grayscale image data 10. And the binarization process which detects the 1st black pixel number while converting the image for every conversion block into a 1st binary image is performed (step S1). The binarization processing unit 3 temporarily stores in the memory 2 the first binary image, the first black pixel number information, and the conversion error information obtained by the binarization process.

次に、変換誤差分散処理部4は、メモリ2に記憶された第1の二値画像、第1の黒画素数情報及び変換誤差情報を読み出し、これらの画像及び情報に基づき、第1の二値画像を第2の二値画像に変換すると共に、第2の黒画素数を検出する変換誤差分散処理を行う(ステップS2)。変換誤差分散処理部4は、変換誤差分散処理により得られた第2の二値画像、第2の黒画素数情報を、一旦メモリ2に記憶する。   Next, the conversion error variance processing unit 4 reads out the first binary image, the first black pixel number information, and the conversion error information stored in the memory 2, and based on these images and information, the first binary image is read out. A value image is converted into a second binary image, and a conversion error distribution process for detecting the second number of black pixels is performed (step S2). The conversion error variance processing unit 4 temporarily stores the second binary image and the second black pixel number information obtained by the conversion error variance processing in the memory 2.

次に、FMスクリーニング画像作成処理部5は、メモリ2に記憶された第2の黒画素数情報を読み出し、第2の黒画素数情報が示す各変換ブロック毎の黒画素数に基づき、変換ブロックと同サイズのチェスボード形画素配置図を用いて入力グレースケール画像データ10である第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング変換処理を行う(ステップS3)。FMスクリーニング画像作成処理部5は、FMスクリーニング変換処理によって作成されたFMスクリーニング画像を、一旦メモリ2に記憶する。   Next, the FM screening image creation processing unit 5 reads the second black pixel number information stored in the memory 2, and based on the number of black pixels for each conversion block indicated by the second black pixel number information, the conversion block An FM screening conversion process is performed to convert the second binary image, which is the input grayscale image data 10, into an FM screening image using the same size chessboard pixel arrangement diagram (step S3). The FM screening image creation processing unit 5 temporarily stores the FM screening image created by the FM screening conversion process in the memory 2.

次に、画素融合処理部6は、メモリ2に記憶されたFMスクリーニング画像を読み出し、このFMスクリーニング画像に対して、二次元画素融合処理(第1及び第2の画素融合処理)を行う(ステップS4)。画素融合処理部6は、二次元画素融合処理によって作成されたスクリーニング画像を、一旦メモリ2に記憶する。   Next, the pixel fusion processing unit 6 reads out the FM screening image stored in the memory 2, and performs a two-dimensional pixel fusion process (first and second pixel fusion processing) on the FM screening image (Step 1). S4). The pixel fusion processing unit 6 temporarily stores the screening image created by the two-dimensional pixel fusion processing in the memory 2.

次に、画素融合処理部6は、二次元画素融合処理によって作成されたスクリーニング画像をメモリ2から読み出し、このスクリーニング画像に対して、一次元画素融合処理(第3の画素融合処理)を行う(ステップS5)。画素融合処理部6は、一次元画素融合処理によって作成されたハイブリッドスクリーニング画像を、一旦メモリ2に記憶する。   Next, the pixel fusion processing unit 6 reads out the screening image created by the two-dimensional pixel fusion processing from the memory 2, and performs one-dimensional pixel fusion processing (third pixel fusion processing) on the screening image ( Step S5). The pixel fusion processing unit 6 temporarily stores the hybrid screening image created by the one-dimensional pixel fusion processing in the memory 2.

そして、ざらつき補正処理部7は、一次元画素融合処理によって作成されたハイブリッドスクリーニング画像をメモリ2から読み出し、このハイブリッドスクリーニング画像に対して、ざらつき補正処理を行う(ステップS6)。これにより、入力グレースケール画像データ10がざらつき感が低減されたハイブリッドスクリーニング画像に変換される。ざらつき補正処理部7は、変換されたハイブリッドスクリーニング画像を、メモリ2に記憶する。メモリ2に記憶された、ざらつき補正処理が行われたハイブリッドスクリーニング画像は、出力二値画像データ20として出力される。   Then, the roughness correction processing unit 7 reads out the hybrid screening image created by the one-dimensional pixel fusion processing from the memory 2, and performs the roughness correction processing on the hybrid screening image (step S6). As a result, the input grayscale image data 10 is converted into a hybrid screening image with reduced roughness. The roughness correction processing unit 7 stores the converted hybrid screening image in the memory 2. The hybrid screening image that has been subjected to the roughness correction process and is stored in the memory 2 is output as output binary image data 20.

尚、図18に示す例では、ステップS1、ステップS2及びステップS3の処理が順次行われるように説明したが、これに限られず、例えば、ステップS1、ステップS2及びステップS3の処理が互いに並行して行われるようにしてもよい。   In the example shown in FIG. 18, it has been described that the processes of step S1, step S2, and step S3 are sequentially performed. However, the present invention is not limited to this. May be performed.

次に、図18のステップS1及びS2における二値化処理及び変換誤差分散処理の流れについて、図19を参照して説明する。   Next, the flow of binarization processing and conversion error dispersion processing in steps S1 and S2 of FIG. 18 will be described with reference to FIG.

まず、ステップS11において、二値化処理部3は、設定した変換ブロックに含まれる各画素の階調値に基づき、上述した数式(1)を用いて二値画像の黒画素数sを計算する。次に、二値化処理部3は、数式(2)を用いて変換ブロック内の黒画素数sに対してランダマイズ重み係数を付加し、第1の二値画像の黒画素数Sを計算する(ステップS12)。   First, in step S11, the binarization processing unit 3 calculates the number of black pixels s of the binary image using the above-described equation (1) based on the gradation value of each pixel included in the set conversion block. . Next, the binarization processing unit 3 adds a randomization weight coefficient to the number of black pixels s in the transform block using Equation (2), and calculates the number of black pixels S of the first binary image. (Step S12).

次に、ステップS13において、二値化処理部3は、処理対象の変換ブロックの周辺に位置する変換ブロックからの分散誤差を加算して、誤差分散処理を行う。最後に、二値化処理部3は、数式(3)を用いることにより、変換ブロックに配置する黒画素数S”を計算すると共に、周辺の変換ブロックに対する分散誤差εを計算する(ステップS14)。   Next, in step S <b> 13, the binarization processing unit 3 performs an error dispersion process by adding dispersion errors from transform blocks located around the transform block to be processed. Finally, the binarization processing unit 3 calculates the number of black pixels S ″ to be arranged in the conversion block by using Equation (3), and calculates the dispersion error ε for the surrounding conversion blocks (step S14). .

次に、図18のステップS3におけるFMスクリーニング変換処理の流れについて、図20を参照して説明する。   Next, the flow of the FM screening conversion process in step S3 of FIG. 18 will be described with reference to FIG.

まず、ステップS21において、FMスクリーニング画像作成処理部5は、メモリ2から入力グレースケール画像データ10を読み出し、入力グレースケール画像データ10に関する解像度情報に基づき、入力グレースケール画像データ10に対して変換ブロックを設定する。   First, in step S <b> 21, the FM screening image creation processing unit 5 reads the input grayscale image data 10 from the memory 2, and converts the input grayscale image data 10 into a conversion block based on the resolution information regarding the input grayscale image data 10. Set.

次に、FMスクリーニング画像作成処理部5は、設定した変換ブロックのサイズに応じて、x方向及びy方向の最大座標値を決定する(ステップS22)。また、FMスクリーニング画像作成処理部5は、設定した変換ブロックと同サイズのチェスボード形画素配置図を設定する。   Next, the FM screening image creation processing unit 5 determines the maximum coordinate values in the x direction and the y direction according to the set size of the conversion block (step S22). Further, the FM screening image creation processing unit 5 sets a chessboard type pixel arrangement diagram having the same size as the set conversion block.

そして、FMスクリーニング画像作成処理部5は、入力グレースケール画像データ10に対して変換ブロック単位でのラスタスキャンを行い(ステップS23)、変換ブロック毎に各々の変換ブロック内の黒画素数を検出する(ステップS24)。   Then, the FM screening image creation processing unit 5 performs a raster scan for each conversion block on the input grayscale image data 10 (step S23), and detects the number of black pixels in each conversion block for each conversion block. (Step S24).

次に、ステップS25において、FMスクリーニング画像作成処理部5は、予め設定した画素配置判断条件A(この例では、画素配置判断条件が偶数)に基づき画素配置処理を行う。   Next, in step S <b> 25, the FM screening image creation processing unit 5 performs pixel arrangement processing based on a preset pixel arrangement determination condition A (in this example, the pixel arrangement determination condition is an even number).

ステップS26において、FMスクリーニング画像作成処理部5は、画素配置判断条件Aに基づく画素配置処理が終了したか否かを判断する。画素配置判断条件Aに基づく画素配置処理が終了したと判断し、画素配置判断条件Aに対応する位置にすべての黒画素を配置され、かつ配置すべき黒画素が残った場合(ステップS26;Yes)には、処理がステップS27に移行する。   In step S <b> 26, the FM screening image creation processing unit 5 determines whether or not the pixel arrangement process based on the pixel arrangement determination condition A has been completed. When it is determined that the pixel arrangement processing based on the pixel arrangement determination condition A has been completed, all the black pixels are arranged at positions corresponding to the pixel arrangement determination condition A, and there are remaining black pixels to be arranged (step S26; Yes) ) Proceeds to step S27.

一方、FMスクリーニング画像作成処理部5が画素配置判断条件Aに基づく画素配置処理が終了していないと判断した場合(ステップS26;No)には、処理がステップS25に戻り、FMスクリーニング画像作成処理部5は、画素配置判断条件Aに対応するすべての位置に黒画素を配置するまで、ステップS25の処理を繰り返す。   On the other hand, if the FM screening image creation processing unit 5 determines that the pixel placement processing based on the pixel placement judgment condition A has not ended (step S26; No), the process returns to step S25, and the FM screening image creation processing is performed. The unit 5 repeats the process of step S25 until black pixels are arranged at all positions corresponding to the pixel arrangement determination condition A.

ステップS27において、FMスクリーニング画像作成処理部5は、画素配置判断条件を、画素配置判断条件Aとは異なる条件である画素配置判断条件B(この例では、画素配置判断条件が奇数)に変更し、画素配置判断条件Bに基づく画素配置処理を行う。   In step S27, the FM screening image creation processing unit 5 changes the pixel arrangement determination condition to a pixel arrangement determination condition B (in this example, the pixel arrangement determination condition is an odd number), which is a condition different from the pixel arrangement determination condition A. Then, pixel arrangement processing based on the pixel arrangement determination condition B is performed.

最後に、FMスクリーニング画像作成処理部5は、配置すべきすべての黒画素が配置され、黒画素の配置が完了したか否かを判断する(ステップS28)。FMスクリーニング画像作成処理部5が黒画素の配置が完了したと判断した場合(ステップS28;Yes)には、一連の処理が終了する。   Finally, the FM screening image creation processing unit 5 determines whether all the black pixels to be arranged have been arranged and the arrangement of the black pixels has been completed (step S28). When the FM screening image creation processing unit 5 determines that the arrangement of the black pixels has been completed (step S28; Yes), a series of processing ends.

一方、FMスクリーニング画像作成処理部5が黒画素の配置が完了していないと判断した場合(ステップS28;No)には、処理がステップS27に戻り、FMスクリーニング画像作成処理部5は、すべての黒画素を配置するまで、ステップS27の処理を繰り返す。   On the other hand, when the FM screening image creation processing unit 5 determines that the arrangement of the black pixels is not completed (step S28; No), the process returns to step S27, and the FM screening image creation processing unit 5 The process of step S27 is repeated until black pixels are arranged.

このように、変換ブロック単位でグレースケール画像からFMスクリーニング画像を作成し、すべての変換ブロックについてFMスクリーニング画像を作成することにより、グレースケール画像をFMスクリーニング画像に変換することができる。   In this way, by creating FM screening images from grayscale images in units of transform blocks and creating FM screening images for all transform blocks, grayscale images can be converted into FM screening images.

次に、図20のステップS25及びステップS27における配置処理の流れについて、図21を参照して説明する。   Next, the flow of arrangement processing in step S25 and step S27 in FIG. 20 will be described with reference to FIG.

まず、ステップS31において、FMスクリーニング画像作成処理部5は、画素配置判断条件(例えば、画素配置判断条件A)を設定する。次に、図20のステップS24で検出した黒画素数を要配置画素数カウンタに設定し、配置済み画素数カウンタの値を「0」にリセットする(ステップS32、S33)。   First, in step S31, the FM screening image creation processing unit 5 sets a pixel arrangement determination condition (for example, pixel arrangement determination condition A). Next, the number of black pixels detected in step S24 of FIG. 20 is set in the required arrangement pixel number counter, and the value of the arranged pixel number counter is reset to “0” (steps S32 and S33).

ステップS34において、FMスクリーニング画像作成処理部5は、上述した数式(4)に基づいて配置画素Pの座標を決定するための一様乱数を発生させ、配置画素座標(m,n)を決定する。   In step S34, the FM screening image creation processing unit 5 generates a uniform random number for determining the coordinates of the arrangement pixel P based on the above-described equation (4), and determines the arrangement pixel coordinates (m, n). .

次に、ステップS35において、FMスクリーニング画像作成処理部5は、数式(4)に基づき、画素配置判断条件TSがステップS31で設定された画素配置判断条件と一致するか否かを判断する。FMスクリーニング画像作成処理部5が画素配置判断条件TSが一致すると判断した場合(ステップS35;Yes)には、処理がステップS36に移行する。   Next, in step S35, the FM screening image creation processing unit 5 determines whether or not the pixel arrangement determination condition TS matches the pixel arrangement determination condition set in step S31 based on Expression (4). If the FM screening image creation processing unit 5 determines that the pixel arrangement determination condition TS matches (step S35; Yes), the process proceeds to step S36.

一方、FMスクリーニング画像作成処理部5が画素配置判断条件TSが一致しないと判断した場合(ステップS35;No)、FMスクリーニング画像作成処理部5は、ステップS34で決定した配置画素座標(m,n)を廃棄し、処理がステップS34に戻る。   On the other hand, when the FM screening image creation processing unit 5 determines that the pixel arrangement determination condition TS does not match (step S35; No), the FM screening image creation processing unit 5 sets the arrangement pixel coordinates (m, n) determined in step S34. ) And the process returns to step S34.

ステップS36において、FMスクリーニング画像作成処理部5は、ステップS34で決定した配置画素座標(m,n)に、配置画素が既に配置済みであるか否かを判断する。配置画素が配置済みでないと判断した場合(ステップS36;No)、FMスクリーニング画像作成処理部5は、配置画素を配置画素座標(m,n)に配置すると共に、要配置画素数カウンタの値を「1」だけデクリメントする(ステップS37、S38)。一方、FMスクリーニング画像作成処理部5が配置画素が配置済みであると判断した場合(ステップS36;Yes)には、処理がステップS34に戻る。   In step S36, the FM screening image creation processing unit 5 determines whether or not the arrangement pixel has already been arranged at the arrangement pixel coordinate (m, n) determined in step S34. When it is determined that the arrangement pixel has not been arranged (step S36; No), the FM screening image creation processing unit 5 arranges the arrangement pixel at the arrangement pixel coordinate (m, n) and sets the value of the necessary arrangement pixel number counter. Only "1" is decremented (steps S37 and S38). On the other hand, when the FM screening image creation processing unit 5 determines that the arrangement pixel has been arranged (step S36; Yes), the processing returns to step S34.

次に、ステップS39において、FMスクリーニング画像作成処理部5は、要配置画素数カウンタの値が「0」よりも大きいか否かを判断する。要配置画素数カウンタの値が「0」よりも大きいと判断した場合(ステップS39;Yes)、FMスクリーニング画像作成処理部5は、配置済み画素数カウンタの値を「1」だけインクリメントする(ステップS40)。   Next, in step S <b> 39, the FM screening image creation processing unit 5 determines whether or not the value of the required arrangement pixel number counter is larger than “0”. If it is determined that the value of the required arrangement pixel number counter is larger than “0” (step S39; Yes), the FM screening image creation processing unit 5 increments the value of the arranged pixel number counter by “1” (step S39). S40).

一方、FMスクリーニング画像作成処理部5が要配置画素数カウンタの値が「0」以下であると判断した場合(ステップS39;No)、FMスクリーニング画像作成処理部5は、すべての配置画素の配置が完了したと判断し、一連の処理が終了する。   On the other hand, when the FM screening image creation processing unit 5 determines that the value of the required arrangement pixel number counter is “0” or less (step S39; No), the FM screening image creation processing unit 5 arranges all the arrangement pixels. Is completed, a series of processing ends.

ステップS41において、FMスクリーニング画像作成処理部5は、配置済み画素数カウンタの値と、図20のステップS22により得られた最大座標値に対応する総配置画素数とを比較し、配置済み画素数カウンタ値が総配置画素数以上であるか否かを判断する。   In step S41, the FM screening image creation processing unit 5 compares the value of the arranged pixel number counter with the total number of arranged pixels corresponding to the maximum coordinate value obtained in step S22 of FIG. It is determined whether or not the counter value is equal to or greater than the total number of arranged pixels.

配置済み画素数カウンタ値が総配置画素数以上である場合(ステップS41;Yes)、FMスクリーニング画像作成処理部5は、配置画素がすべて配置されたと判断し、ステップS31で設定された画素配置判断条件を異なる画素配置判断条件(例えば、画素配置判断条件B)に変更する(ステップS42)。そして、処理がステップS34に戻る。   When the arranged pixel number counter value is equal to or greater than the total number of arranged pixels (step S41; Yes), the FM screening image creation processing unit 5 determines that all the arranged pixels are arranged, and determines the pixel arrangement set in step S31. The condition is changed to a different pixel arrangement determination condition (for example, pixel arrangement determination condition B) (step S42). Then, the process returns to step S34.

一方、ステップS41において、FMスクリーニング画像作成処理部5が配置済み画素数カウンタ値が総配置画素数未満であると判断した場合(ステップS41;No)には、処理がステップS34に戻る。   On the other hand, when the FM screening image creation processing unit 5 determines in step S41 that the arranged pixel number counter value is less than the total arranged pixel number (step S41; No), the process returns to step S34.

このようにして、配置画素である黒画素をチェスボード形画素配置図上に配置することにより、変換ブロック単位でFMスクリーニング画像を作成することができる。   In this way, by arranging the black pixels as the arrangement pixels on the chess board type pixel arrangement diagram, an FM screening image can be created in units of conversion blocks.

次に、図18のステップS4における二次元画素融合処理(第1及び第2の画素融合処理)の流れについて、図22を参照して説明する。   Next, the flow of the two-dimensional pixel fusion processing (first and second pixel fusion processing) in step S4 of FIG. 18 will be described with reference to FIG.

まず、ステップS51において、画素融合処理部6は、メモリ2から処理対象画像であるFMスクリーニング画像を読み出し、ラスタスキャンを行う。次に、画素融合処理部6は、ステップS51で得られた「2画素×2画素」の画素パターンから、第1の画素パターンが検出されたか否かを判断する(ステップS52)。   First, in step S51, the pixel fusion processing unit 6 reads an FM screening image that is a processing target image from the memory 2 and performs raster scanning. Next, the pixel fusion processing unit 6 determines whether or not the first pixel pattern is detected from the “2 pixels × 2 pixels” pixel pattern obtained in step S51 (step S52).

第1の画素パターンが検出されたと判断した場合(ステップS52;Yes)、ステップS53において、画素融合処理部6は乱数を発生させる。この例では、乱数として、値が「0」から「1」までの区間において、すべての実数が同じ確率で出現する一様乱数を用いる。   If it is determined that the first pixel pattern is detected (step S52; Yes), in step S53, the pixel fusion processing unit 6 generates a random number. In this example, a uniform random number in which all real numbers appear with the same probability in the interval from “0” to “1” is used as the random number.

次に、ステップS54において、画素融合処理部6は、ステップS53で発生した乱数の値が「0.5」未満であるか否かを判断する。乱数値が0.5以上である場合(ステップS54;No)、画素融合処理部6は、図10(c)に示すように、ステップS52で検出された第1の画素パターンに対して第1の画素融合処理100aを行う(ステップS55)。   Next, in step S54, the pixel fusion processing unit 6 determines whether or not the value of the random number generated in step S53 is less than “0.5”. When the random value is 0.5 or more (step S54; No), the pixel fusion processing unit 6 performs the first operation on the first pixel pattern detected in step S52 as shown in FIG. 10C. The pixel fusion processing 100a is performed (step S55).

また、乱数値が0.5未満である場合(ステップS54;Yes)、画素融合処理部6は、図10(d)に示すように、ステップS52で検出された第1の画素パターンに対して第1の画素融合処理100bを行う(ステップS56)。   If the random number value is less than 0.5 (step S54; Yes), the pixel fusion processing unit 6 applies the first pixel pattern detected in step S52 as shown in FIG. A first pixel fusion process 100b is performed (step S56).

一方、ステップS52において、画素融合処理部6が第1の画素パターンが検出されていないと判断した場合(ステップS52;No)には、処理がステップS57に移行する。   On the other hand, when the pixel fusion processing unit 6 determines in step S52 that the first pixel pattern is not detected (step S52; No), the process proceeds to step S57.

ステップS57において、画素融合処理部6は、ステップS51で得られた「2画素×2画素」の画素パターンから、第2の画素パターンが検出されたか否かを判断する。第2の画素パターンが検出されたと判断した場合(ステップS57;Yes)、画素融合処理部6は、値が「0」から「1」までの一様乱数を発生させる(ステップS58)。   In step S57, the pixel fusion processing unit 6 determines whether or not the second pixel pattern is detected from the “2 pixels × 2 pixels” pixel pattern obtained in step S51. If it is determined that the second pixel pattern has been detected (step S57; Yes), the pixel fusion processing unit 6 generates a uniform random number having a value from “0” to “1” (step S58).

次に、画素融合処理部6は、ステップS58で発生した乱数の値が「0.5」未満であるか否かを判断する(ステップS59)。乱数値が0.5以上である場合(ステップS59;No)、画素融合処理部6は、図11(c)に示すように、ステップS57で検出された第2の画素パターンに対して第2の画素融合処理200aを行う(ステップS60)。   Next, the pixel fusion processing unit 6 determines whether or not the value of the random number generated in step S58 is less than “0.5” (step S59). When the random number value is 0.5 or more (step S59; No), the pixel fusion processing unit 6 performs the second operation on the second pixel pattern detected in step S57 as shown in FIG. The pixel fusion process 200a is performed (step S60).

また、乱数値が0.5未満である場合(ステップS59;Yes)、画素融合処理部6は、図11(d)に示すように、ステップS57で検出された第2の画素パターンに対して第2の画素融合処理200bを行う(ステップS61)。   On the other hand, when the random number value is less than 0.5 (step S59; Yes), the pixel fusion processing unit 6 applies the second pixel pattern detected in step S57 as shown in FIG. A second pixel fusion process 200b is performed (step S61).

一方、ステップS57において、画素融合処理部6が第2の画素パターンが検出されていないと判断した場合(ステップS57;No)には、処理がステップS62に移行する。   On the other hand, if the pixel fusion processing unit 6 determines in step S57 that the second pixel pattern has not been detected (step S57; No), the process proceeds to step S62.

次に、ステップS62において、画素融合処理部6は、FMスクリーニング画像に対するスキャンが終了したか否かを判断する。画素融合処理部6がスキャンが終了したと判断した場合(ステップS62;Yes)には、処理がステップS63に移行する。一方、画素融合処理部6がスキャンが終了していないと判断した場合(ステップS62;No)には、処理がステップS51に戻り、FMスクリーニング画像に対するスキャンを継続する。   Next, in step S62, the pixel fusion processing unit 6 determines whether scanning for the FM screening image is completed. If the pixel fusion processing unit 6 determines that the scan has ended (step S62; Yes), the process proceeds to step S63. On the other hand, when the pixel fusion processing unit 6 determines that the scan has not ended (step S62; No), the process returns to step S51, and the scan for the FM screening image is continued.

ステップS63において、画素融合処理部6は、処理対象画像から第1及び第2の画素パターンが検出できなくなったか否かを判断する。画素融合処理部6が第1及び第2の画素パターンが検出できなくなったと判断した場合(ステップS63;Yes)には、一連の処理が終了する。一方、画素融合処理部6が第1及び第2の画素パターンが検出できると判断した場合(ステップS63;No)には、処理がステップS51に戻る。   In step S63, the pixel fusion processing unit 6 determines whether or not the first and second pixel patterns cannot be detected from the processing target image. When the pixel fusion processing unit 6 determines that the first and second pixel patterns cannot be detected (step S63; Yes), the series of processing ends. On the other hand, when the pixel fusion processing unit 6 determines that the first and second pixel patterns can be detected (step S63; No), the process returns to step S51.

以上のようにして、画素融合処理部6は、FMスクリーニング画像作成処理部5で作成されたFMスクリーニング画像に対して二次元画素融合処理を行うことにより、一次元画素融合処理を行う際に用いられるスクリーニング画像を作成し、メモリ2に記憶する。   As described above, the pixel fusion processing unit 6 performs the one-dimensional pixel fusion processing by performing the two-dimensional pixel fusion processing on the FM screening image created by the FM screening image creation processing unit 5. To be screened and stored in the memory 2.

次に、図18のステップS5における一次元画素融合処理(第3の画素融合処理)の流れについて、図23を参照して説明する。   Next, the flow of the one-dimensional pixel fusion process (third pixel fusion process) in step S5 of FIG. 18 will be described with reference to FIG.

まず、ステップS71において、画素融合処理部6は、メモリ2から処理対象画像である二次元画素融合処理によって作成されたスクリーニング画像を読み出し、ラスタスキャンを行う。   First, in step S71, the pixel fusion processing unit 6 reads out a screening image created by the two-dimensional pixel fusion processing, which is a processing target image, from the memory 2, and performs a raster scan.

次に、画素融合処理部6は、ステップS71で得られた画素パターンから、0°方向の第3の画素パターン(0°)が検出されたか否かを判断する(ステップS72)。第3の画素パターン(0°)が検出されたと判断した場合(ステップS72;Yes)、画素融合処理部6は、図13(b)に示すように、この第3の画素パターン(0°)に対して第3の画素融合処理(0°)を行う(ステップS73)。   Next, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (0 °) in the 0 ° direction is detected from the pixel pattern obtained in step S71 (step S72). When it is determined that the third pixel pattern (0 °) has been detected (step S72; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (0 °) as shown in FIG. 13B. Then, a third pixel fusion process (0 °) is performed (step S73).

一方、画素融合処理部6が第3の画素パターン(0°)が検出されていないと判断した場合(ステップS72;No)には、処理がステップS74に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (0 °) is not detected (step S72; No), the process proceeds to step S74.

次に、ステップS74において、画素融合処理部6は、45°方向の第3の画素パターン(45°)が検出されたか否かを判断する。第3の画素パターン(45°)が検出されたと判断した場合(ステップS74;Yes)、画素融合処理部6は、図13(c)に示すように、この第3の画素パターン(45°)に対して第3の画素融合処理(45°)を行う(ステップS75)。   Next, in step S74, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (45 °) in the 45 ° direction has been detected. When it is determined that the third pixel pattern (45 °) has been detected (step S74; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (45 °) as shown in FIG. Then, a third pixel fusion process (45 °) is performed (step S75).

一方、画素融合処理部6が第3の画素パターン(45°)が検出されていないと判断した場合(ステップS74;No)には、処理がステップS76に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (45 °) is not detected (step S74; No), the process proceeds to step S76.

次に、ステップS76において、画素融合処理部6は、90°方向の第3の画素パターン(90°)が検出されたか否かを判断する。第3の画素パターン(90°)が検出されたと判断した場合(ステップS76;Yes)、画素融合処理部6は、図13(d)に示すように、この第3の画素パターン(90°)に対して第3の画素融合処理(90°)を行う(ステップS77)。   Next, in step S76, the pixel fusion processing unit 6 determines whether a third pixel pattern (90 °) in the 90 ° direction is detected. When it is determined that the third pixel pattern (90 °) has been detected (step S76; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (90 °) as shown in FIG. Is subjected to a third pixel fusion process (90 °) (step S77).

一方、画素融合処理部6が第3の画素パターン(90°)が検出されていないと判断した場合(ステップS76;No)には、処理がステップS78に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (90 °) is not detected (step S76; No), the process proceeds to step S78.

次に、ステップS78において、画素融合処理部6は、135°方向の第3の画素パターン(135°)が検出されたか否かを判断する。第3の画素パターン(135°)が検出されたと判断した場合(ステップS78;Yes)、画素融合処理部6は、図13(e)に示すように、この第3の画素パターン(135°)に対して第3の画素融合処理(135°)を行う(ステップS79)。   Next, in step S78, the pixel fusion processing unit 6 determines whether a third pixel pattern (135 °) in the 135 ° direction has been detected. When it is determined that the third pixel pattern (135 °) has been detected (step S78; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (135 °) as shown in FIG. Then, a third pixel fusion process (135 °) is performed (step S79).

一方、画素融合処理部6が第3の画素パターン(135°)が検出されていないと判断した場合(ステップS78;No)には、処理がステップS80に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (135 °) is not detected (step S78; No), the process proceeds to step S80.

次に、ステップS80において、画素融合処理部6は、180°方向の第3の画素パターン(180°)が検出されたか否かを判断する。第3の画素パターン(180°)が検出されたと判断した場合(ステップS80;Yes)、画素融合処理部6は、図13(f)に示すように、この第3の画素パターン(180°)に対して第3の画素融合処理(180°)を行う(ステップS81)。   Next, in step S80, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (180 °) in the 180 ° direction has been detected. If it is determined that the third pixel pattern (180 °) has been detected (step S80; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (180 °) as shown in FIG. Then, a third pixel fusion process (180 °) is performed (step S81).

一方、画素融合処理部6が第3の画素パターン(180°)が検出されていないと判断した場合(ステップS80;No)には、処理がステップS82に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (180 °) is not detected (step S80; No), the process proceeds to step S82.

次に、ステップS82において、画素融合処理部6は、225°方向の第3の画素パターン(225°)が検出されたか否かを判断する。第3の画素パターン(225°)が検出されたと判断した場合(ステップS82;Yes)、画素融合処理部6は、図13(g)に示すように、この第3の画素パターン(225°)に対して第3の画素融合処理(225°)を行う(ステップS83)。   Next, in step S82, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (225 °) in the 225 ° direction has been detected. When it is determined that the third pixel pattern (225 °) has been detected (step S82; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (225 °) as shown in FIG. Is subjected to the third pixel fusion processing (225 °) (step S83).

一方、画素融合処理部6が第3の画素パターン(225°)が検出されていないと判断さした場合(ステップS82;No)には、処理がステップS84に移行する。   On the other hand, if the pixel fusion processing unit 6 determines that the third pixel pattern (225 °) has not been detected (step S82; No), the process proceeds to step S84.

次に、ステップS84において、画素融合処理部6は、270°方向の第3の画素パターン(270°)が検出されたか否かを判断する。第3の画素パターン(270°)が検出されたと判断した場合(ステップS84;Yes)、画素融合処理部6は、図13(h)に示すように、この第3の画素パターン(270°)に対して第3の画素融合処理(270°)を行う(ステップS85)。   Next, in step S84, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (270 °) in the 270 ° direction has been detected. When it is determined that the third pixel pattern (270 °) has been detected (step S84; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (270 °) as shown in FIG. Then, a third pixel fusion process (270 °) is performed (step S85).

一方、画素融合処理部6が第3の画素パターン(270°)が検出されていないと判断した場合(ステップS84;No)には、処理がステップS86に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (270 °) is not detected (step S84; No), the process proceeds to step S86.

次に、ステップS86において、画素融合処理部6は、315°方向の第3の画素パターン(315°)が検出されたか否かを判断する。第3の画素パターン(315°)が検出されたと判断した場合(ステップS86;Yes)、画素融合処理部6は、図13(i)に示すように、この第3の画素パターン(315°)に対して第3の画素融合処理(315°)を行う(ステップS87)。   Next, in step S86, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (315 °) in the 315 ° direction has been detected. If it is determined that the third pixel pattern (315 °) has been detected (step S86; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (315 °) as shown in FIG. 13 (i). Is subjected to the third pixel fusion processing (315 °) (step S87).

一方、画素融合処理部6が第3の画素パターン(315°)が検出されていないと判断した場合(ステップS86;No)には、処理がステップS88に移行する。   On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern (315 °) is not detected (step S86; No), the process proceeds to step S88.

次に、ステップS88において、画素融合処理部6は、スクリーニング画像に対するスキャンが終了したか否かを判断する。画素融合処理部6がスキャンが終了したと判断した場合(ステップS88;Yes)には、処理がステップS89に移行する。一方、画素融合処理部6がスキャンが終了していないと判断した場合(ステップS88;No)には、処理がステップS71に戻り、画素融合処理部6は、スクリーニング画像に対するスキャンを継続する。   Next, in step S88, the pixel fusion processing unit 6 determines whether scanning for the screening image is completed. If the pixel fusion processing unit 6 determines that the scan has ended (step S88; Yes), the process proceeds to step S89. On the other hand, when the pixel fusion processing unit 6 determines that the scan has not ended (step S88; No), the process returns to step S71, and the pixel fusion processing unit 6 continues scanning the screening image.

ステップS89において、画素融合処理部6は、処理対象画像から第3の画素パターンが検出できなくなったか否かを判断する。画素融合処理部6が第3の画素パターンが検出できなくなったと判断した場合(ステップS89;Yes)には、一連の処理が終了する。一方、画素融合処理部6が第3の画素パターンが検出できると判断した場合(ステップS89;No)には、処理がステップS71に戻る。   In step S89, the pixel fusion processing unit 6 determines whether or not the third pixel pattern cannot be detected from the processing target image. When the pixel fusion processing unit 6 determines that the third pixel pattern cannot be detected (step S89; Yes), a series of processing ends. On the other hand, when the pixel fusion processing unit 6 determines that the third pixel pattern can be detected (step S89; No), the process returns to step S71.

以上のように、画素融合処理部6は、二次元画素融合処理を行うことにより作成されたスクリーニング画像に対して一次元画素融合処理を行うことにより、ハイブリッドスクリーニング画像を作成し、メモリ2に記憶する。   As described above, the pixel fusion processing unit 6 creates a hybrid screening image by performing the one-dimensional pixel fusion processing on the screening image created by performing the two-dimensional pixel fusion processing, and stores it in the memory 2. To do.

次に、図18のステップS6におけるざらつき補正処理の流れについて、図24を参照して説明する。   Next, the flow of the roughness correction process in step S6 of FIG. 18 will be described with reference to FIG.

まず、ステップS91において、ざらつき補正処理部7は、メモリ2から処理対象画像である一次元画素融合処理によって作成されたハイブリッドスクリーニング画像を読み出し、ラスタスキャンを行う。   First, in step S91, the roughness correction processing unit 7 reads out the hybrid screening image created by the one-dimensional pixel fusion processing that is the processing target image from the memory 2, and performs raster scanning.

次に、ざらつき補正処理部7は、ハイブリッドスクリーニング画像内のすべての画素に対するスキャンが終了したか否かを判断する(ステップS92)。ざらつき補正処理部7がすべての画素に対するスキャンが終了していないと判断した場合(ステップS92;No)には、処理がステップS93に移行する。一方、ざらつき補正処理部7がすべての画素に対するスキャンが終了したと判断した場合(ステップS92;Yes)には、一連の処理が終了する。   Next, the roughness correction processing unit 7 determines whether or not scanning for all the pixels in the hybrid screening image has been completed (step S92). When the roughness correction processing unit 7 determines that scanning for all the pixels has not been completed (step S92; No), the process proceeds to step S93. On the other hand, when the roughness correction processing unit 7 determines that the scanning for all the pixels has been completed (step S92; Yes), a series of processing ends.

ステップS93において、ざらつき補正処理部7は、端点画素又は孤立点画素が検出されたか否かを判断する。端点画素又は孤立点画素が検出されたと判断した場合(ステップS93;Yes)、ざらつき補正処理部7は、注目画素を中心として検出範囲を設定し(ステップS94)、所定の検出方法に基づいて、注目画素と異なる色の端点画素又は孤立点画素の検出処理を行う(ステップS95)。一方、ざらつき補正処理部7が端点画素又は孤立点画素が検出されなかったと判断した場合(ステップS93;No)には、処理がステップS91に戻る。   In step S93, the roughness correction processing unit 7 determines whether an end point pixel or an isolated point pixel is detected. When it is determined that an end point pixel or an isolated point pixel has been detected (step S93; Yes), the roughness correction processing unit 7 sets a detection range centering on the target pixel (step S94), and based on a predetermined detection method, An end point pixel or isolated point pixel having a color different from that of the pixel of interest is detected (step S95). On the other hand, when the roughness correction processing unit 7 determines that no end point pixel or isolated point pixel has been detected (step S93; No), the process returns to step S91.

次に、ステップS96において、ざらつき補正処理部7は、注目画素と異なる色の端点画素又は孤立点画素が検出されたか否かを判断する。注目画素と異なる色の端点画素又は孤立点画素が検出されたと判断した場合(ステップS96;Yes)、ざらつき補正処理部7は、注目画素と、検出された端点画素又は孤立点画素とを入れ替える入れ替え処理を行う(ステップS97)。そして、処理がステップS91に戻る。   Next, in step S <b> 96, the roughness correction processing unit 7 determines whether an end point pixel or an isolated point pixel having a color different from that of the target pixel is detected. When it is determined that an end point pixel or an isolated point pixel having a color different from that of the target pixel has been detected (step S96; Yes), the roughness correction processing unit 7 replaces the target pixel with the detected end point pixel or isolated point pixel. Processing is performed (step S97). Then, the process returns to step S91.

一方、ざらつき補正処理部7が注目画素と異なる色の端点画素又は孤立点画素が検出されなかったと判断した場合(ステップS96;No)には、処理がステップS95に戻る。   On the other hand, when the roughness correction processing unit 7 determines that no end point pixel or isolated point pixel having a color different from that of the pixel of interest has been detected (step S96; No), the process returns to step S95.

図25(a)は、本実施の形態に係る画像変換処理装置1に入力される入力グレースケール画像データ10を従来の方法によって変換された網点画像を示し、図25(b)は、入力グレースケール画像データ10に対して上述した図18〜図24に示す処理を行うことにより得られる出力二値画像データ20(ハイブリッドスクリーニング画像)を示す。また、図26は、本実施の形態に係る画像変換処理装置1によるハイブリッドスクリーニング画像作成方法により作成したグラデーション画像を示す。   FIG. 25A shows a halftone image obtained by converting the input grayscale image data 10 input to the image conversion processing apparatus 1 according to the present embodiment by a conventional method, and FIG. The output binary image data 20 (hybrid screening image) obtained by performing the processing shown in FIGS. 18 to 24 described above on the grayscale image data 10 is shown. FIG. 26 shows a gradation image created by the hybrid screening image creation method by the image conversion processing device 1 according to the present embodiment.

このように、本実施の形態に係る画像変換処理装置1では、周期性を持たずランダムに分布する、網点よりも小さいドットで印刷画像に適したハイブリッドスクリーニング画像を作成することができる。すなわち、本実施の形態に係る画像変換処理装置1では、従来の網点及びFMスクリーニングの長所を兼ね備えたハイブリッドスクリーニング画像を作成することができる。   As described above, the image conversion processing apparatus 1 according to the present embodiment can create a hybrid screening image suitable for a print image with dots smaller than halftone dots that are randomly distributed without periodicity. That is, in the image conversion processing device 1 according to the present embodiment, a hybrid screening image having the advantages of the conventional halftone dot and FM screening can be created.

以上のように、本実施の形態による画像変換処理装置では、入力されたグレースケール画像を、画質を向上させるために調整が可能なランダマイズ重み係数を用いて黒画素及び白画素からなる第1の二値画像に変換する。次に、変換した第1の二値画像に含まれる第1の黒画素数を変換ブロック毎に検出すると共に、第1の黒画素数の検出の際に生じる誤差(変換誤差)を考慮して第2の二値画像を作成する。そして、作成された第2の二値画像に含まれる黒画素数を変化ブロック毎に検出し、検出された黒画素数に基づいてFMスクリーニング画像を作成し、作成されたFMスクリーニング画像に対して第1〜第3の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する。また、画素融合処理によって作成されたハイブリッドスクリーニング画像のざらつきを補正して、出力画像であるハイブリッドスクリーニング画像を作成する。   As described above, in the image conversion processing device according to the present embodiment, the first grayscale image that is composed of black pixels and white pixels using the randomized weighting coefficient that can be adjusted to improve the image quality of the input grayscale image. Convert to binary image. Next, the first black pixel number included in the converted first binary image is detected for each conversion block, and an error (conversion error) that occurs when the first black pixel number is detected is taken into consideration. A second binary image is created. Then, the number of black pixels included in the created second binary image is detected for each change block, an FM screening image is created based on the detected number of black pixels, and the created FM screening image First to third pixel fusion processing is performed to create a hybrid screening image. In addition, the roughness of the hybrid screening image created by the pixel fusion process is corrected to create a hybrid screening image that is an output image.

これにより、画質を向上させることができると共に、網点画像が有する印刷工程に適し、扱いが容易であるという長所と、FMスクリーニング画像が有する高品質であるという長所とを兼ね備えるハイブリッドスクリーニング画像を作成することができる。   This makes it possible to improve the image quality, create a hybrid screening image that combines the advantages of being suitable for the printing process of the halftone image and easy to handle, and the high quality of the FM screening image. can do.

尚、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   In addition, although a part or all of said embodiment can be described also as the following additional remarks, it is not restricted to the following.

(付記1)
多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理方法であって、
多値画像を、画質を向上させるために調整可能なランダマイズ重み係数を用いて黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法。
(Appendix 1)
An image conversion processing method for converting a multi-value image having multi-value gradation values into a hybrid screening image,
The multi-valued image is converted into a first binary image composed of black pixels and white pixels using a randomized weighting factor that can be adjusted to improve the image quality, and the first binary image included in the first binary image A binarization step for detecting the number of black pixels and detecting a conversion error that occurs when the first binary image is created;
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error distribution step to detect;
An FM screening image creation step of converting the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. And a pixel fusion step.

(付記2)
前記二値化ステップは、
前記グレースケール画像の解像度情報に基づき、前記FMスクリーニング画像の作成単位となる、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、
前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して前記ランダマイズ重み係数を付加することにより、前記変換ブロック内の前記第1の黒画素数を変換ブロック毎に検出する付記1に記載の画像変換処理方法。
(Appendix 2)
The binarization step includes
Based on the resolution information of the grayscale image, a conversion block corresponding to the size of the halftone cell of the grayscale image, which is a creation unit of the FM screening image, is set for the grayscale image,
The number of black pixels in the conversion block is detected, and the random weighting coefficient is added to the detected number of black pixels, whereby the first black pixel number in the conversion block is determined for each conversion block. The image conversion processing method according to attachment 1, wherein the image conversion processing method is detected.

(付記3)
前記変換誤差分散ステップは、所定の前記変換ブロックにおける変換誤差を、該変換ブロックに隣接する周囲の変換ブロックに対して分散させる付記2に記載の画像変換処理方法。
(Appendix 3)
The image conversion processing method according to appendix 2, wherein the conversion error distribution step distributes the conversion error in the predetermined conversion block to surrounding conversion blocks adjacent to the conversion block.

(付記4)
前記FMスクリーニング画像作成ステップは、
前記変換ブロック内のすべての画素に対して横方向及び縦方向の座標を設定し、
前記座標に対応して発生させる乱数に基づき決定された座標位置に、前記黒画素を配置することにより、前記FMスクリーニング画像を作成する付記2又は3に記載の画像変換処理方法。
(Appendix 4)
The FM screening image creation step includes:
Set horizontal and vertical coordinates for all pixels in the transform block;
The image conversion processing method according to appendix 2 or 3, wherein the FM screening image is created by arranging the black pixel at a coordinate position determined based on a random number generated corresponding to the coordinate.

(付記5)
前記FMスクリーニング画像作成ステップは、
前記乱数に基づく前記横方向及び縦方向の座標の合計値が偶数から奇数、又は奇数から偶数の順序で前記黒画素を配置する付記4に記載の画像変換処理方法。
(Appendix 5)
The FM screening image creation step includes:
The image conversion processing method according to appendix 4, wherein the black pixels are arranged in the order of the total value of the horizontal and vertical coordinates based on the random number from even to odd, or from odd to even.

(付記6)
前記画素融合ステップは、
作成された前記FMスクリーニング画像から、隣接する複数の画素によって形成されると共に、前記黒画素及び前記白画素が1画素間隔で分布する前記所定の画素パターンを検出し、
検出された前記所定の画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する前記画素融合処理を行う付記1乃至5のいずれかに記載の画像変換処理方法。
(Appendix 6)
The pixel fusion step includes:
From the created FM screening image, the predetermined pixel pattern that is formed by a plurality of adjacent pixels and in which the black pixels and the white pixels are distributed at intervals of one pixel is detected.
The image conversion according to any one of appendices 1 to 5, wherein the pixel fusion processing is performed to exchange the black pixels and the white pixels so that the detected black pixels in the predetermined pixel pattern are continuously distributed. Processing method.

(付記7)
前記画素融合ステップは、
「2画素×2画素」からなる互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する二次元画素融合処理と、
前記二次元画素融合処理を行った画像に対して、角度方向で互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する一次元画素融合処理とを行う付記6に記載の画像変換処理方法。
(Appendix 7)
The pixel fusion step includes:
A pixel pattern in which black pixels and white pixels are distributed at intervals of one pixel is detected from a pixel pattern formed by four adjacent pixels of “2 pixels × 2 pixels”, and the black pattern in the detected pixel pattern is detected. A two-dimensional pixel fusion process for exchanging the black pixels and the white pixels so that the pixels are continuously distributed;
A pixel pattern in which black pixels and white pixels are distributed at intervals of one pixel is detected from a pixel pattern formed by four pixels adjacent to each other in the angular direction for the image subjected to the two-dimensional pixel fusion processing. The image conversion processing method according to appendix 6, wherein a one-dimensional pixel fusion process is performed in which the black pixels and the white pixels are exchanged so that the black pixels in the pixel pattern are continuously distributed.

(付記8)
前記二次元画素融合処理は、
左上及び右下の画素が黒画素であり、右上及び左下の画素が白画素である第1の画素パターンを検出した場合に、前記右下の黒画素と前記右上又は左下の白画素とを交換する第1の画素融合処理と、
左上及び右下の画素が白画素であり、右上及び左下の画素が黒画素である第2の画素パターンを検出した場合に、前記右下の白画素と前記右上又は左下の黒画素とを交換する第2の画素融合処理とを行い、
前記第1及び第2の画素融合処理を、前記第1及び第2の画素パターンが検出されなくなるまで交互に行う付記7に記載の画像変換処理方法。
(Appendix 8)
The two-dimensional pixel fusion process
When the first pixel pattern in which the upper left and lower right pixels are black pixels and the upper right and lower left pixels are white pixels is detected, the lower right black pixels are replaced with the upper right or lower left white pixels. First pixel fusion processing to
When the second pixel pattern in which the upper left and lower right pixels are white pixels and the upper right and lower left pixels are black pixels is detected, the lower right white pixels and the upper right or lower left black pixels are exchanged. And performing a second pixel fusion process
The image conversion processing method according to appendix 7, wherein the first and second pixel fusion processes are alternately performed until the first and second pixel patterns are no longer detected.

(付記9)
前記一次元画素融合処理は、
前記角度方向で互いに隣接し、白画素・黒画素・白画素・黒画素のように並ぶ4画素からなる第3の画素パターンを検出した場合に、前記第3の画素パターンを白画素・白画素・黒画素・黒画素のように並ぶ画素パターンに変換する第3の画素融合処理を行い、
前記第3の画素融合処理を、前記第3の画素パターンが検出されなくなるまで45°間隔で順次行う付記7又は8に記載の画像変換処理方法。
(Appendix 9)
The one-dimensional pixel fusion process is:
When a third pixel pattern composed of four pixels adjacent to each other in the angular direction and arranged in the form of white pixels, black pixels, white pixels, and black pixels is detected, the third pixel pattern is converted into a white pixel and a white pixel. -Perform a third pixel fusion process to convert to a pixel pattern lined up like black pixels / black pixels,
The image conversion processing method according to appendix 7 or 8, wherein the third pixel fusion processing is sequentially performed at 45 ° intervals until the third pixel pattern is not detected.

(付記10)
前記画素融合ステップで作成された前記ハイブリッドスクリーニング画像に対するざらつきの補正処理を行うざらつき補正ステップをさらに備える付記1乃至9のいずれかに記載の画像変換処理方法。
(Appendix 10)
The image conversion processing method according to any one of supplementary notes 1 to 9, further comprising a roughness correction step for performing a roughness correction process on the hybrid screening image created in the pixel fusion step.

(付記11)
前記ざらつき補正ステップは、
前記ハイブリッドスクリーニング画像における端点画素又は孤立点画素を検出し、
検出された前記端点画素又は孤立点画素の周囲の画素から、該端点画素又は孤立点画素と色が異なる端点画素又は孤立点画素を検出した場合に、互いの画素を入れ替える付記10に記載の画像変換処理方法。
(Appendix 11)
The roughness correction step includes
Detecting end point pixels or isolated point pixels in the hybrid screening image;
The image according to appendix 10, wherein, when an end point pixel or an isolated point pixel having a color different from that of the detected end point pixel or isolated point pixel is detected from pixels around the detected end point pixel or isolated point pixel, the pixels are replaced with each other. Conversion processing method.

(付記12)
前記端点画素は、隣接する8個の画素のうち、複数以上の連続する画素が異なる色であり、
前記孤立点画素は、隣接する8個のすべての画素が異なる色である付記11に記載の画像変換処理方法。
(Appendix 12)
The end point pixel is a color in which a plurality of continuous pixels among eight adjacent pixels are different from each other,
The image conversion processing method according to attachment 11, wherein the isolated point pixel is a color in which all eight adjacent pixels have different colors.

(付記13)
グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、
多値画像を、画質を向上させるために調整可能なランダマイズ重み係数を用いて黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させるプログラム。
(Appendix 13)
A program for causing a computer device to execute an image conversion processing method for converting a grayscale image into a hybrid screening image,
The multi-valued image is converted into a first binary image composed of black pixels and white pixels using a randomized weighting factor that can be adjusted to improve the image quality, and the first binary image included in the first binary image A binarization step for detecting the number of black pixels and detecting a conversion error that occurs when the first binary image is created;
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error distribution step to detect;
An FM screening image creation step of converting the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. A program that causes a computer apparatus to execute an image conversion processing method including a pixel fusion step.

(付記14)
多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理装置であって、
多値画像を、画質を向上させるために調整可能なランダマイズ重み係数を用いて黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化処理部と、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散処理部と、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成処理部と、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理部とを備える画像変換処理装置。
(Appendix 14)
An image conversion processing device for converting a multi-value image having multi-value gradation values into a hybrid screening image,
The multi-valued image is converted into a first binary image composed of black pixels and white pixels using a randomized weighting factor that can be adjusted to improve the image quality, and the first binary image included in the first binary image A binarization processing unit that detects the number of black pixels and detects a conversion error that occurs when creating the first binary image;
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error variance processing unit to detect;
An FM screening image creation processing unit that converts the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. An image conversion processing device comprising a pixel fusion processing unit.

1 画像変換処理装置
2 メモリ
3 二値化処理部
4 変換誤差分散処理部
5 FMスクリーニング画像作成処理部
6 画素融合処理部
7 ざらつき補正処理部
10 入力グレースケール画像データ
20 出力二値画像データ
DESCRIPTION OF SYMBOLS 1 Image conversion processing apparatus 2 Memory 3 Binarization process part 4 Conversion error dispersion | distribution process part 5 FM screening image creation process part 6 Pixel fusion process part 7 Roughness correction process part 10 Input grayscale image data 20 Output binary image data

Claims (9)

グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理方法であって、
前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備えることを特徴とする画像変換処理方法。
An image conversion processing method for converting a grayscale image into a hybrid screening image,
Based on the resolution information of the grayscale image, a conversion block corresponding to the size of the halftone cell of the grayscale image is set for the grayscale image, and the grayscale image is converted into a black pixel and a white for each conversion block. Convert to a first binary image consisting of pixels, detect the number of black pixels in the conversion block, and add an adjustable randomization weight coefficient to improve the image quality for the detected number of black pixels by a first of the number of black pixels detected for each transform block, binarization step of detecting a conversion error occurring during the creation of the first binary image of the transform block,
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error distribution step to detect;
An FM screening image creation step of converting the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. An image conversion processing method comprising: a pixel fusion step.
前記変換誤差分散ステップは、所定の前記変換ブロックにおける変換誤差を、該変換ブロックに隣接する周囲の変換ブロックに対して分散させることを特徴とする請求項に記載の画像変換処理方法。 2. The image conversion processing method according to claim 1 , wherein the conversion error distribution step distributes a conversion error in the predetermined conversion block to surrounding conversion blocks adjacent to the conversion block. 前記FMスクリーニング画像作成ステップは、
前記変換ブロック内のすべての画素に対して横方向及び縦方向の座標を設定し、
前記座標に対応して発生させる乱数に基づき決定された座標位置に、前記黒画素を配置することにより、前記FMスクリーニング画像を作成することを特徴とする請求項又はに記載の画像変換処理方法。
The FM screening image creation step includes:
Set horizontal and vertical coordinates for all pixels in the transform block;
The determined coordinate position based on the random number is generated in correspondence with the coordinates, by arranging the black pixels, the image conversion process according to claim 1 or 2, characterized in that to create the FM screening image Method.
前記画素融合ステップは、
作成された前記FMスクリーニング画像から、隣接する複数の画素によって形成されると共に、前記黒画素及び前記白画素が1画素間隔で分布する前記所定の画素パターンを検出し、
検出された前記所定の画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する前記画素融合処理を行うことを特徴とする請求項1、2又は3に記載の画像変換処理方法。
The pixel fusion step includes:
From the created FM screening image, the predetermined pixel pattern that is formed by a plurality of adjacent pixels and in which the black pixels and the white pixels are distributed at intervals of one pixel is detected.
Claim 1, 2 or 3, wherein the black pixels of the detected within the predetermined pixel pattern and performing the pixel fusion process the black pixels and the white pixels to continuously distributed to interchangeable The image conversion processing method described in 1.
前記画素融合ステップは、
「2画素×2画素」からなる互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する二次元画素融合処理と、
前記二次元画素融合処理を行った画像に対して、角度方向で互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する一次元画素融合処理とを行うことを特徴とする請求項に記載の画像変換処理方法。
The pixel fusion step includes:
A pixel pattern in which black pixels and white pixels are distributed at intervals of one pixel is detected from a pixel pattern formed by four adjacent pixels of “2 pixels × 2 pixels”, and the black pattern in the detected pixel pattern is detected. A two-dimensional pixel fusion process for exchanging the black pixels and the white pixels so that the pixels are continuously distributed;
A pixel pattern in which black pixels and white pixels are distributed at intervals of one pixel is detected from a pixel pattern formed by four pixels adjacent to each other in the angular direction for the image subjected to the two-dimensional pixel fusion processing. 5. The image conversion process according to claim 4 , wherein one-dimensional pixel fusion processing is performed in which the black pixels and the white pixels are exchanged so that the black pixels in the pixel pattern are continuously distributed. Method.
前記画素融合ステップで作成された前記ハイブリッドスクリーニング画像に対するざらつきの補正処理を行うざらつき補正ステップをさらに備えることを特徴とする請求項1乃至のいずれかに記載の画像変換処理方法。 Image conversion processing method according to any one of claims 1 to 5, further comprising a correction step roughness performs correction of roughness for said hybrid screen image created by the pixel fusion step. 前記ざらつき補正ステップは、
前記ハイブリッドスクリーニング画像における端点画素又は孤立点画素を検出し、
検出された前記端点画素又は孤立点画素の周囲の画素から、該端点画素又は孤立点画素と色が異なる端点画素又は孤立点画素を検出した場合に、互いの画素を入れ替えることを特徴とする請求項に記載の画像変換処理方法。
The roughness correction step includes
Detecting end point pixels or isolated point pixels in the hybrid screening image;
The pixel is replaced with each other when an end point pixel or an isolated point pixel having a color different from that of the detected end point pixel or isolated point pixel is detected from pixels around the detected end point pixel or isolated point pixel. Item 7. The image conversion processing method according to Item 6 .
グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、
前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散ステップと、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させることを特徴とするプログラム。
A program for causing a computer device to execute an image conversion processing method for converting a grayscale image into a hybrid screening image,
Based on the resolution information of the grayscale image, a conversion block corresponding to the size of the halftone cell of the grayscale image is set for the grayscale image, and the grayscale image is converted into a black pixel and a white for each conversion block. Convert to a first binary image consisting of pixels, detect the number of black pixels in the conversion block, and add an adjustable randomization weight coefficient to improve the image quality for the detected number of black pixels by a first of the number of black pixels detected for each transform block, binarization step of detecting a conversion error occurring during the creation of the first binary image of the transform block,
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error distribution step to detect;
An FM screening image creation step of converting the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. A computer program causing a computer apparatus to execute an image conversion processing method including a pixel fusion step.
グレースケール画像をハイブリッドスクリーニング画像に変換する画像変換処理装置であって、
前記グレースケール画像の解像度情報に基づき、前記グレースケール画像のハーフトーンセルのサイズに対応する変換ブロックを前記グレースケール画像に対して設定し、前記変換ブロック毎に前記グレースケール画像を黒画素及び白画素からなる第1の二値画像に変換し、前記変換ブロック内の黒画素数を検出すると共に、検出された該黒画素数に対して画質を向上させるために調整可能なランダマイズ重み係数を付加することにより、前記変換ブロック内の第1の黒画素数を変換ブロック毎に検出し、前記第1の二値画像の作成の際に生じる変換誤差を検出する二値化処理部と、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する変換誤差分散処理部と、
検出された前記第2の黒画素数に基づき、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成処理部と、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理部とを備えることを特徴とする画像変換処理装置。
An image conversion processing device for converting a grayscale image into a hybrid screening image,
Based on the resolution information of the grayscale image, a conversion block corresponding to the size of the halftone cell of the grayscale image is set for the grayscale image, and the grayscale image is converted into a black pixel and a white for each conversion block. Convert to a first binary image consisting of pixels, detect the number of black pixels in the conversion block, and add an adjustable randomization weight coefficient to improve the image quality for the detected number of black pixels by the said converting first detects the number of black pixels for each transform block in the block, the first detecting a conversion error occurring when creating a binary image binarizing processor,
Based on the first number of black pixels and the conversion error, the first binary image is converted into a second binary image, and the second number of black pixels included in the second binary image is determined. A conversion error variance processing unit to detect;
An FM screening image creation processing unit that converts the second binary image into an FM screening image based on the detected number of the second black pixels;
A predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and a predetermined pixel fusion process is performed on the detected predetermined pixel pattern to create a hybrid screening image. An image conversion processing device comprising: a pixel fusion processing unit.
JP2013246881A 2013-11-29 2013-11-29 Image conversion processing method, program for executing the same, and image conversion processing apparatus Active JP6256747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013246881A JP6256747B2 (en) 2013-11-29 2013-11-29 Image conversion processing method, program for executing the same, and image conversion processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013246881A JP6256747B2 (en) 2013-11-29 2013-11-29 Image conversion processing method, program for executing the same, and image conversion processing apparatus

Publications (2)

Publication Number Publication Date
JP2015106767A JP2015106767A (en) 2015-06-08
JP6256747B2 true JP6256747B2 (en) 2018-01-10

Family

ID=53436681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013246881A Active JP6256747B2 (en) 2013-11-29 2013-11-29 Image conversion processing method, program for executing the same, and image conversion processing apparatus

Country Status (1)

Country Link
JP (1) JP6256747B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108286767B (en) * 2018-03-14 2020-09-18 青岛大学附属医院 Many people ward circulation of air equipment with higher speed

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230260B (en) * 2017-12-06 2021-03-30 天津津航计算技术研究所 Fusion method of infrared image and low-light-level image

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61194972A (en) * 1985-02-22 1986-08-29 Konishiroku Photo Ind Co Ltd Method of enlargement/reduction of image
JP3779051B2 (en) * 1997-11-25 2006-05-24 サカタインクス株式会社 Binary multi-value image conversion method
JP2000118048A (en) * 1998-10-16 2000-04-25 Dainippon Screen Mfg Co Ltd Method and apparatus for forming mesh point
JP2006240297A (en) * 2005-02-07 2006-09-14 Seiko Epson Corp Image processing device, image processing method, image processing program, recording medium, and printing device
JP4757210B2 (en) * 2007-02-09 2011-08-24 大日本スクリーン製造株式会社 Threshold matrix generation method, threshold matrix generation apparatus, and threshold matrix

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108286767B (en) * 2018-03-14 2020-09-18 青岛大学附属医院 Many people ward circulation of air equipment with higher speed

Also Published As

Publication number Publication date
JP2015106767A (en) 2015-06-08

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
KR101322701B1 (en) Image processing apparatus and image processing method
JP2005136612A (en) Halftone dot formation method, halftone dot formation apparatus and halftone dot recording medium
JP4631650B2 (en) High quality halftone processing
JP2002369017A (en) Dot threshold value data generating 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
JP2005328546A (en) Modification method of dot cluster halftone screen
JP6256747B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP6541215B2 (en) Image processing apparatus and method
JP3698541B2 (en) Pseudo gradation image processing device
JP2017184196A (en) Image processing device and image processing method
KR100510132B1 (en) Color halftoning apparatus and method, and mask generation apparatus and method therein
JP2000032265A (en) Rotation method for dither pattern and rotating device
CN111147687A (en) Rational tangent amplitude modulation screening method based on minimum threshold matrix
JP2009100230A (en) Image processing apparatus and method thereof
JP6388337B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
US20120086986A1 (en) Image processing apparatus, image processing method and storage medium
JP2012156839A (en) Image area separation method, program for executing the same, and image area separation device
JP4108517B2 (en) Halftoning processing method and halftoning processing system
JP6108218B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP2006033064A (en) Image forming method, and image forming apparatus
JP6745185B2 (en) Threshold matrix creating method, threshold matrix creating apparatus, and program
JP6108217B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP5490079B2 (en) Image forming apparatus and image forming method
JP6651776B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20161005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170628

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171017

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171122

R150 Certificate of patent or registration of utility model

Ref document number: 6256747

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250