JP2016092744A - Image conversion processing method, program for performing them, and image conversion processing apparatus - Google Patents

Image conversion processing method, program for performing them, and image conversion processing apparatus Download PDF

Info

Publication number
JP2016092744A
JP2016092744A JP2014228522A JP2014228522A JP2016092744A JP 2016092744 A JP2016092744 A JP 2016092744A JP 2014228522 A JP2014228522 A JP 2014228522A JP 2014228522 A JP2014228522 A JP 2014228522A JP 2016092744 A JP2016092744 A JP 2016092744A
Authority
JP
Japan
Prior art keywords
image
pixel
pixels
black
binary image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014228522A
Other languages
Japanese (ja)
Other versions
JP6388337B2 (en
Inventor
憲 金松
Ken Kanematsu
憲 金松
永田 稔
Minoru Nagata
稔 永田
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2014228522A priority Critical patent/JP6388337B2/en
Publication of JP2016092744A publication Critical patent/JP2016092744A/en
Application granted granted Critical
Publication of JP6388337B2 publication Critical patent/JP6388337B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To create a hybrid screening image suitable for a printing process in high quality.SOLUTION: An image conversion processing apparatus creates a hybrid screening image as an output binary image by converting an input multi-valued image into a first binary image formed by black and white pixels; detecting a number of first black pixels included in the first binary image; detecting a conversion error generated at the time of creating the first binary image; converting the first binary image into a second binary image based on a number of first black pixels and the conversion error; detecting a number of second black pixels included in the second binary image; converting the second binary image into an FM screening image by converting a kind of a pixel in a labyrinth pattern image depending a number of differences based on the difference between the detected second black pixel number and a black pixel number of a prepared labyrinth pattern image; detecting a predetermined pixel pattern formed by a plurality of adjacent pixels from the created FM screening image; and performing a predetermined pixel fusing processing to the detected predetermined pixel pattern.SELECTED DRAWING: Figure 1

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」の二値画像で表すスクリーニング技術を用いて、濃淡のある画像を表現することが行われている。このような平版印刷では、インクが紙面に付くか否かによって濃淡を表現するため、インク着肉の均一性やドットゲイン特性等が印刷物の品質に大きな影響を与える。   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. In such lithographic printing, the density is expressed by whether or not the ink adheres to the paper surface, so the uniformity of the ink deposit and the dot gain characteristic have a great influence on the quality of the printed matter.

従来のスクリーニング方法は、大別して、網点AM(Amplitude Modulation)手法と、FM(Frequency Modulation)スクリーニング手法とがある。   Conventional screening methods are roughly classified into a halftone dot AM (Amplitude Modulation) method and an FM (Frequency Modulation) screening method.

網点AM手法は、古くから使用されている手法であり、グレースケール画像の多値階調値に基づいて網点を規則的に配置すると共に、濃淡情報を表す各網点のドットの大きさをグレースケール画像の多値階調値に応じて変調させることにより、階調を擬似的に表現する手法である。   The halftone dot AM method is a method that has been used for a long time. The halftone dots are regularly arranged based on the multi-value gradation values of the gray scale image, and the dot size of each halftone dot representing the light and shade information. Is a method of expressing the gradation in a pseudo manner by modulating the image according to the multi-value gradation value of the gray scale image.

一方、FMスクリーニング手法は、ドットの大きさを一定にし、ドットの配置密度を変調させることによって階調表現を行う手法である。従来、FMスクリーニング手法を用いて画像を作成する際には、例えば、ディザ法や誤差拡散処理が用いられる。このディザ法や誤差拡散処理では、人間の目の錯覚を利用して、グレースケール画像を「黒」及び「白」の2色の画素を用いて多値階調値画像の濃淡を再現する。   On the other hand, the FM screening method is a method of expressing gradation by making the dot size constant and modulating the dot arrangement density. Conventionally, when creating an image using 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.

しかし、従来の網点AM手法により画像(網点画像)を作成する場合には、網点を規則的に並んだグリッド上に配置するため、ざらざらとした粒状感のない画像を表現することができ、印刷環境に影響されにくいという利点がある。しかし、一方では、モアレやロゼッタパターン等の干渉縞が発生するという欠点がある。また、CMYK4版のスクリーン角度を互いにずらすことで、干渉縞の発生を抑制することができるが、発生する干渉縞を完全に抑制することはできず、縞模様の絵柄部分等にもモアレが発生する。   However, when an image (halftone dot image) is created by the conventional halftone dot AM technique, halftone dots are arranged on a regularly arranged grid, so that an image having no rough graininess can be expressed. This has the advantage of being less susceptible to the printing environment. However, on the other hand, there is a drawback that interference fringes such as moire and rosetta patterns occur. Also, by shifting the screen angles of the CMYK4 plates, the generation of interference fringes can be suppressed, but the generated interference fringes cannot be completely suppressed, and moiré occurs in the pattern portion of the striped pattern. To do.

また、ディザ法や誤差拡散処理を用いたFMスクリーニング手法により画像(FMスクリーニング画像)を作成する場合には、各ドットの配置位置がランダムで規則性を有さないため、モアレやロゼッタパターン等の干渉縞が発生しにくいという利点がある。さらに、網点と比較してドットの配置の自由度が高いため、より高解像度・高画質の画像を得ることができるという利点もある。   In addition, when an image (FM screening image) is created by an FM screening technique using a dither method or error diffusion processing, since the arrangement positions of the dots are random and have no regularity, moire, rosette patterns, etc. There is an advantage that interference fringes hardly occur. Furthermore, since the degree of freedom of dot arrangement is higher than that of halftone dots, there is an advantage that an image with higher resolution and higher image quality can be obtained.

しかし、配置される各々のドットが小さいため、輪転機でインクをプレートから紙へ移すことが困難であったり、ハイライト側の印刷物に対して視覚上ざらつき感が生じるという欠点がある。   However, since each arranged dot is small, it is difficult to transfer the ink from the plate to the paper with a rotary press, and there is a drawback that a visually rough feeling is generated on the printed matter on the highlight side.

そこで、最近では、CTP(Computer To Plate)化やデジタルワークフロー化の浸透により、高画質・高付加価値が要求される商業印刷や大量印刷を行う新聞印刷分野において、網点AM手法及びFMスクリーニング手法における双方の長所を兼ね備えた、高精度・高解像度の印刷を可能にしたハイブリッドスクリーニング技術が実用化され、普及し始めている。   Therefore, recently, with the penetration of CTP (Computer To Plate) and digital workflow, the halftone dot AM method and the FM screening method in the newspaper printing field that requires high image quality and high added value, such as commercial printing and mass printing. Hybrid screening technology that combines the advantages of both and enables high-precision and high-resolution printing has been put into practical use and has begun to spread.

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

また、特許文献3及び4には、多値画像からハイブリッドスクリーニング画像を作成する方法が記載されている。特許文献3に記載の方法では、まず、DBS(Direct Binary Search)法に基づき、多値画像に対して単純な二値化処理を行うことによって二値画像を作成すると共に、作成された二値画像に対して二次元フィルタ処理によって多値画像を復元する。そして、復元された多値画像と原多値画像との誤差を計算し、計算された誤差が所定条件を満たす輝度値パターンとなるように二値画像の画素を決定することにより、多値画像からハイブリッドスクリーニング画像を作成する。   Patent Documents 3 and 4 describe a method of creating a hybrid screening image from a multivalued image. In the method described in Patent Document 3, first, a binary image is created by performing simple binarization processing on a multi-value image based on a DBS (Direct Binary Search) method, and the created binary A multi-valued image is restored by two-dimensional filter processing on the image. 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

特許文献4に記載の方法では、まず、網点ハーフトーンセルを用いて従来の網点の濃淡情報を表すドットの大きさである黒画素の数を求める二値化処理を行い、非周期で空間に均等分布するチェスボード形に似た画素配置図により、周期ムラのないFMスクリーニング画像を作成する。そして、作成したFMスクリーニング画像の中で孤立した黒画素及び白画素を、一連の画素融合処理に基づいて融合させることにより、ハイブリッドスクリーニング画像を作成する。   In the method described in Patent Document 4, first, binarization processing is performed to obtain the number of black pixels, which is the size of a dot representing the density information of a conventional halftone dot, using a halftone cell. An FM screening image having no periodic unevenness is created by a pixel arrangement similar to a chess board shape that is evenly distributed in space. Then, a hybrid screening image is created by fusing isolated black pixels and white pixels in the created FM screening image based on a series of pixel fusion processes.

特開2005−341089号公報JP 2005-341089 A 特許第4591951号公報Japanese Patent No. 4599511 特開2004−304543号公報JP 2004-304543 A 特開2014−165904号公報JP 2014-165904 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に記載の方法は、新たなハイブリッドスクリーニング処理として注目されたが、この方法では、各画素の輝度が多値で表現される原多値画像を、各画素の輝度が二値で表現される二値画像に変換するハーフトーン化処理によって初期二値画像を作成する必要がある。さらに、すべての二値化した画素についてフィルタ係数との二次元畳み込み演算を行わなければならない。そのため、処理に長時間を要するという問題があった。   In addition, the method described in Patent Document 3 has attracted attention as a new hybrid screening process. In this method, an original multivalued image in which the luminance of each pixel is expressed in multiple values is converted into a binary luminance of each pixel. It is necessary to create an initial binary image by a halftoning process for converting to a binary image expressed by Furthermore, a two-dimensional convolution operation with a filter coefficient must be performed for all binarized pixels. Therefore, there has been a problem that it takes a long time for processing.

さらに、特許文献4に記載の方法では、まず、2つの画素配置層をランダムに選択し、さらに、各画素配置層において2つの画素毎に画素を配置する順序を決定し、発生した乱数によって画素配置処理を行うことにより、FMスクリーニング画像を作成する。具体的には、例えば、配置する画素数が8個である場合、配置画素の番号が0〜7であるため、0〜7の乱数を発生させ、発生した乱数に対応した配置画素を画素配置層に配置する配置処理を行う。   Furthermore, in the method described in Patent Document 4, first, two pixel arrangement layers are randomly selected, and further, the order in which the pixels are arranged for each of the two pixels in each pixel arrangement layer is determined, and the generated random number By performing the placement process, an FM screening image is created. Specifically, for example, when the number of pixels to be arranged is 8, since the number of arranged pixels is 0 to 7, random numbers 0 to 7 are generated, and the arranged pixels corresponding to the generated random numbers are arranged in pixels. Arrangement processing to arrange in the layer is performed.

このようにしてFMスクリーニング画像を作成する場合には、異なる乱数によって取得した配置画素の横方向及び縦方向の座標の合計値が偶数又は奇数となるかによって配置順序をランダムに決定してから画素配置処理を行う。そのため、濃度が50%近傍の画像では、不自然な亀甲模様が発生するという問題があった。   When creating an FM screening image in this way, the pixels are determined after the arrangement order is randomly determined depending on whether the total value of the horizontal and vertical coordinates of the arrangement pixels obtained by different random numbers is even or odd. Perform placement processing. Therefore, there is a problem that an unnatural turtle shell pattern is generated in an image having a density of around 50%.

また、作成されたハイブリッドスクリーニング画像におけるシャープネス等の画質を、印刷条件やユーザの要求に応じて調整することができないという問題があった。   In addition, there is a problem in that the image quality such as sharpness in the created hybrid screening image cannot be adjusted according to printing conditions or user requirements.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、入力される多値画像を、モアレやロゼッタパターン等の干渉縞を発生させることなく、高画質・高付加価値を有し、印刷工程に適したハイブリッドスクリーニング画像へ変換させることが可能な画像変換処理方法、それを実行させるためのプログラム及び画像変換処理装置を提供することを目的とする。   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の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散ステップと、検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備えることを特徴とする。   In order to achieve the above object, the present invention is an image conversion processing method for converting a multi-valued image having multi-valued gradation values into a hybrid screening image, wherein the multi-valued image is a first comprising black pixels and white pixels. And binarization for detecting a first black pixel number included in the first binary image and detecting a conversion error generated when the first binary image is generated 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. Based on the error distribution step for detecting the number of pixels, and the difference between the detected number of the second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, One pixel in the predetermined binary image is converted into the other by the number of pixels Thus, an FM screening image creating step for converting the second binary image into an FM screening image, and a predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, A pixel fusion step of performing a predetermined pixel fusion process on the detected predetermined pixel pattern to create a hybrid screening image.

また、本発明は、多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散ステップと、検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させることを特徴とする。   The present invention also provides a program for causing a computer apparatus to execute an image conversion processing method for converting a multi-value image having multi-value gradation values into a hybrid screening image, the multi-value image being a black pixel and a white pixel. And a first black pixel number included in the first binary image is detected to detect a conversion error that occurs when the first binary image is created. And converting the first binary image into a second binary image based on the first black pixel number and the conversion error, and being included in the second binary image. Based on an error distribution step for detecting a second number of black pixels, and a difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image composed of a black pixel and a white pixel prepared in advance. , One in the predetermined binary image by the number of the differences. The second pixel image is converted to the other pixel by converting the second binary image into an FM screening image, and the created FM screening image is formed of a plurality of adjacent pixels. A computer-implemented image conversion processing method comprising: a pixel fusion step of detecting a predetermined pixel pattern, performing a predetermined pixel fusion process on the detected predetermined pixel pattern, and generating a hybrid screening image It is characterized by that.

さらに、本発明は、多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理装置であって、多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第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 multi-value image having multi-value gradation values into a hybrid screening image, wherein the multi-value image is converted into a first binary image comprising black pixels and white pixels. A binarization processing unit that detects a conversion error that occurs during the creation of the first binary image by detecting the number of first black pixels included in 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 detected. Based on the difference between the detected error distribution processing unit and the detected number of the second black pixels and the number of black pixels of a predetermined binary image made up of a black pixel and a white pixel prepared in advance. By converting one pixel in a predetermined binary image to the other pixel, An FM screening image creation processing unit for converting the binary image of the image into an FM screening image, and a predetermined pixel pattern formed by a plurality of adjacent pixels is detected from the created FM screening image, and the detected predetermined image is detected And a pixel fusion processing unit that performs a predetermined pixel fusion process on the pixel pattern and creates a hybrid screening image.

以上のように、本発明によれば、入力される多値画像を、モアレやロゼッタパターン等の干渉縞を発生させることなく、高画質・高付加価値を有し、印刷工程に適したハイブリッドスクリーニング画像へ変換させることが可能になる。   As described above, according to the present invention, the input multi-valued image has high image quality and high added value without generating interference fringes such as moire and rosette patterns, and is suitable for the printing process. It can be converted into an image.

本発明に係る画像変換処理装置の一実施の形態を示すブロック図である。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 an error dispersion | distribution process. 誤差分散処理の効果について説明するための概略図である。It is the schematic for demonstrating the effect of an error dispersion | distribution process. FMスクリーニング画像の作成処理について説明するための概略図である。It is the schematic for demonstrating the production process of FM screening image. 迷宮模様画像について説明するための概略図である。It is the schematic for demonstrating a labyrinth pattern image. 作成されたFMスクリーニング画像について説明するための概略図である。It is the schematic for demonstrating the produced FM screening image. 第1の画素融合処理について説明するための概略図である。It is the schematic for demonstrating a 1st pixel fusion process. 第2の画素融合処理について説明するための概略図である。It is the schematic for demonstrating the 2nd pixel fusion process. 第3の画素融合処理について説明するための概略図である。It is the schematic for demonstrating the 3rd pixel fusion process. 画素融合処理によって作成されたハイブリッドスクリーニング画像について説明するための概略図である。It is the schematic for demonstrating the hybrid screening image produced by the pixel fusion process. 本実施の形態によるハイブリッドスクリーニング画像について説明するための概略図である。It is the schematic for demonstrating the hybrid screening image by this Embodiment. 画像変換処理装置における各処理の流れについて説明するためのフローチャートである。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 an error dispersion | distribution process. FMスクリーニング画像作成処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of FM screening image creation processing. 黒画素増加処理又は黒画素減少処理の流れについて説明するためのフローチャートである。It is a flowchart for demonstrating the flow of a black pixel increase process or a black pixel decrease 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.

次に、本発明を実施するための形態について、図面を参照しながら詳細に説明する。   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を備える。   FIG. 1 shows an embodiment of an image conversion processing device according to the present invention. This image conversion processing device 1 is roughly divided into a memory 2, a binarization processing unit 3, an error variance processing unit 4, an FM screening image. A creation processing unit 5 and a pixel fusion processing unit 6 are provided.

画像変換処理装置1には、スキャナ等の外部の入力機器から出力された、多値の階調値を有するグレースケール画像をデータ化した入力多値画像データ10が入力される。この入力多値画像データ10は、原画像であるカラー画像から色変換によって得られるCMYK各色のグレースケール画像に基づくものである。   The image conversion processing apparatus 1 receives input multi-valued image data 10 that is converted from a grayscale image having multi-valued gradation values output from an external input device such as a scanner. The input multivalued image data 10 is based on a grayscale image of each color of CMYK obtained by color conversion from a color image that is an original image.

次に、画像変換処理装置1は、この入力多値画像データ10に対して各種の処理を施した後、各画素の階調値が「1」である黒画素と、階調値が「0」である白画素との二値で表現された出力二値画像データ20を出力する。   Next, the image conversion processing apparatus 1 performs various processes on the input multi-valued image data 10, and thereafter, the black pixel whose gradation value is “1” and the gradation value is “0”. The output binary image data 20 expressed in binary with a white pixel that is “is output.

メモリ2は、外部から入力された入力多値画像データ10を記憶すると共に、二値化処理部3、誤差分散処理部4、FMスクリーニング画像作成処理部5及び画素融合処理部6で各種の処理が施された画像データや、各処理において必要な情報等を記憶するための記憶媒体である。   The memory 2 stores input multi-valued image data 10 input from the outside, and various processes are performed by the binarization processing unit 3, the error variance processing unit 4, the FM screening image creation processing unit 5, and the pixel fusion processing unit 6. Is a storage medium for storing image data subjected to the above, information necessary for each process, and the like.

二値化処理部3は、メモリ2に記憶された入力多値画像データ10を読み出し、この入力多値画像データ10による入力多値画像(入力グレースケール画像)の多値階調値を黒画素及び白画素の二値階調値のみからなる二値画像(第1の二値画像)に変換すると共に、第1の二値画像に含まれる黒画素の数を検出する。変換された第1の二値画像、及び検出された黒画素数を示す第1の黒画素数情報は、メモリ2に記憶される。   The binarization processing unit 3 reads the input multi-value image data 10 stored in the memory 2 and converts the multi-value gradation value of the input multi-value image (input gray scale image) based on the input multi-value image data 10 to a black pixel. And a binary image (first binary image) consisting only of binary gradation values of white pixels, and the number of black pixels included in the first binary image is detected. The converted first binary image and the first black pixel number information indicating the detected number of black pixels are stored in the memory 2.

誤差分散処理部4は、メモリ2に記憶された第1の二値画像及び第1の黒画素数情報を読み出す。そして、誤差分散処理部4は、第1の黒画素数情報に基づき、二値化処理部3で変換された第1の二値画像に対して二値化処理部3による画像変換の際に生じるトーンジャンプ現象を抑制するための誤差分散処理を行い、第2の二値画像を作成する。また、誤差分散処理部4は、作成した第2の二値画像に含まれる黒画素数を検出する。作成された第2の二値画像及び検出された黒画素数を示す第2の黒画素数情報は、メモリ2に記憶される。   The error variance processing unit 4 reads out the first binary image and the first black pixel number information stored in the memory 2. Then, the error variance processing unit 4 performs the image conversion by the binarization processing unit 3 on the first binary image converted by the binarization processing unit 3 based on the first black pixel number information. Error dispersion processing is performed to suppress the tone jump phenomenon that occurs, and a second binary image is created. In addition, the error variance processing unit 4 detects the number of black pixels included in the created second binary image. 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 (not shown) used when creating an FM screening image. This required pixel number counter 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.

尚、上述した二値化処理部3、誤差分散処理部4、FMスクリーニング画像作成処理部5及び画素融合処理部6は、必ずしもハードウェアによって構成する必要はなく、その一部又は全部をソフトウェア(プログラム)によって構成してもよい。   Note that the above-described binarization processing unit 3, error variance processing unit 4, FM screening image creation processing unit 5, and pixel fusion processing unit 6 do not necessarily have to be configured by hardware. Program).

次に、上記構成を有する画像変換処理装置1におけるハイブリッドスクリーニング画像作成処理について、各部における処理毎に説明する。   Next, the hybrid screening image creation process in the image conversion processing apparatus 1 having the above configuration will be described for each process in each unit.

まず、二値化処理部3による二値化処理について、図2を参照して説明する。二値化処理においては、まず、入力多値画像データ10の解像度情報に基づき、網点を作成する際と同様に、ハーフトーンセル(網点セル)ブロックを、入力多値画像データ10に含まれる黒画素を検出するための検出単位である変換ブロックとして設定する。そして、変換ブロック毎に入力多値画像データ10を黒画素及び白画素からなる第1の二値画像に変換する。   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 multilevel image data 10 based on the resolution information of the input multilevel 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 multi-valued image data 10 is converted into a first binary image composed of black pixels and white pixels for each conversion block.

次に、変換ブロックに含まれる各画素の階調値に基づき、変換ブロック内の入力多値画像データ10の平均階調値を算出し、算出された平均階調値を用いて、対応する第1の二値画像の変換ブロックにおける、黒画素の数とすべての画素の数との比率を示す濃度値を取得する。そして、変換ブロックの濃度値に基づき、多値画像であるグレースケール画像における変換ブロック内の平均階調値に対応する黒画素数を検出する。   Next, based on the gradation value of each pixel included in the conversion block, an average gradation value of the input multi-valued image data 10 in the conversion block is calculated, and the corresponding first 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 grayscale image that is a multi-valued image is detected.

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

ここで、二値化処理では、グレースケール画像の変換ブロックに含まれる画素の階調値を平均化して第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.

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

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

上述したように、ハーフトーンセルブロックを変換ブロックとして設定して二値化処理を行った場合、変換ブロックのサイズに応じて表現できる階調数が変化する。ここで、変換ブロックのサイズを大きくした場合には、網点の大きさが人の目に見える程度に大きくなるため、変換された二値画像全体の画質が悪化する。   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 conversion block. Here, when the size of the conversion block is increased, the size of the halftone dot increases to such an extent that it can be seen by human eyes, so that the image quality of the entire converted binary image deteriorates.

一方、このような画質の悪化を防ぐため、変換ブロックのサイズを小さくする必要があるが、変換ブロックのサイズを小さくすると、変換ブロック毎に表現できる階調数が少なくなる。そのため、変換された二値画像では、ハーフトーン間(変換ブロック間)に境界が生じる「トーンジャンプ現象」が発生する。   On the other hand, in order to prevent such deterioration in image quality, it is necessary to reduce the size of the conversion block. However, if the size of the conversion block is reduced, the number of gradations that can be expressed for each conversion block decreases. Therefore, in the converted binary image, a “tone jump phenomenon” in which a boundary occurs between halftones (between converted blocks) occurs.

ところで、上述した二値化処理において、数式(1)に基づいて取得した黒画素数sは、変換ブロックの多値階調値画素に対応する二値画像における黒画素数であり、黒画素として表現できる整数部分と、黒画素として表現できない小数点以下の部分を含む。このとき、黒画素として表現できない小数点以下の部分が、グレースケール画像を二値画像に変換する際の変換誤差となり、トーンジャンプ現象が発生する原因となる。   By the way, in the binarization process described above, the number of black pixels s acquired based on the mathematical expression (1) is the number of black pixels in the binary image corresponding to the multi-value gradation value pixels of the conversion block. It includes an integer part that can be represented and a part after the decimal point that cannot be represented 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, error dispersion processing is performed on the first binary image in order to suppress the influence of image quality blur due to the binarization processing and to obtain a finer image quality. Thereby, it is possible to prevent a tone jump phenomenon that occurs when the gradation expression is reduced by setting the conversion block size to be small as described above.

誤差分散処理においては、図3に示すように、二値化処理において生じる変換ブロック毎の誤差(階調値変換誤差)εを、隣接する周囲の変換ブロックに対して所定の割合で分散させる。例えば、注目する変換ブロックに対して相関性の高い変換ブロックに対しては、相関性の低い変換ブロックと比較して高い割合で階調値変換誤差εを分散させる。そして、変換対象となる変換ブロックでは、周囲の変換ブロックから分散された階調値変換誤差εを用い、数式(2)に基づいて変換誤差を考慮した黒画素数s”(第2の黒画素数情報)を取得すると共に、第1の二値画像に対して誤差分散処理を行った第2の二値画像を作成する。   In the error distribution processing, as shown in FIG. 3, the error (tone value conversion error) ε for each conversion block generated in the binarization processing 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. In the conversion block to be converted, the number of black pixels s ″ (second black pixel) using the gradation value conversion error ε distributed from the surrounding conversion blocks and considering the conversion error based on Equation (2). Number information) and a second binary image obtained by performing error dispersion processing on the first binary image.

尚、この数式(2)では、階調値変換誤差εの初期値(ε0,0)として、値「0」が用いられる。これは、最初に誤差分散処理を行う変換ブロックにおいて、隣接する周囲の変換ブロックから分散される階調値変換誤差εを値「0」とするためである。 In Equation (2), the value “0” is used as the initial value (ε 0,0 ) of the gradation value conversion error ε. This is because the tone value conversion error ε distributed from the adjacent surrounding conversion blocks is set to the value “0” in the conversion block that first performs the error distribution processing.

図4は、誤差分散処理を行った場合の効果を示し、図4(a)は、ハーフトーンブロックサイズを小さく設定した場合の第1の二値画像(誤差分散処理なし)を示し、図4(b)は、第2の二値画像(誤差分散処理あり)を示す。   FIG. 4 shows the effect when the error variance processing is performed, and FIG. 4A shows the first binary image (without error variance processing) when the halftone block size is set small. (B) shows a second binary image (with error dispersion processing).

このように、誤差分散処理を行うことにより、擬似輪郭のようなトーンジャンプ現象が発生することなく、階調表現が滑らかであり、かつモアレ等が発生しない二値画像を作成することができる。   As described above, by performing the error dispersion processing, it is possible to create a binary image in which gradation expression is smooth and moire or the like does not occur without causing a tone jump phenomenon such as a pseudo contour.

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

FMスクリーニング画像作成処理においては、誤差分散処理部4による誤差分散処理によって検出された第2の黒画素数情報(黒画素数s”)と、予め用意された第2の二値画像と同サイズの迷宮模様画像とに基づき、誤差分散処理部4で作成された第2の二値画像からFMスクリーニング画像を作成する。   In the FM screening image creation processing, the second black pixel number information (black pixel number s ″) detected by the error dispersion processing by the error dispersion processing unit 4 and the same size as the second binary image prepared in advance. Based on the labyrinth pattern image, an FM screening image is created from the second binary image created by the error variance processing unit 4.

ここで、迷宮模様画像は、例えば図6に示すように、画像内の連続する黒画素及び白画素によって、横方向及び縦方向の直線のみで構成される画像である。また、この例における迷宮模様画像は、画像内の黒画素数及び白画素数が同一となるように、従来から用いられる所定のアルゴリズムを用いて作成することができる。   Here, the labyrinth pattern image is an image composed only of straight lines in the horizontal direction and the vertical direction by continuous black pixels and white pixels in the image, for example, as shown in FIG. In addition, the labyrinth pattern image in this example can be created by using a conventionally used predetermined algorithm so that the number of black pixels and the number of white pixels in the image are the same.

このFMスクリーニング画像作成処理では、まず、第2の二値画像と同サイズの迷宮模様画像における変換ブロックに対応する部分の黒画素数BMを取得する。次に、取得した迷宮模様画像の黒画素数BMと、第2の二値画像の対応する変換ブロック内の黒画素数s”とから差分画素数Bsを算出する。差分画素数Bsは、以下の数式(3)に基づき算出することができる。
第2の二値画像の黒画素数 s”
迷宮模様画像の黒画素数 BM=(Lx×Ly)/2 ・・・(3)
差分画素数 Bs=s”−BM
In this FM screening image creation process, first, the number of black pixels BM of the portion corresponding to the conversion block in the labyrinth pattern image having the same size as the second binary image is acquired. Next, the difference pixel number Bs is calculated from the obtained black pixel number BM of the labyrinth pattern image and the black pixel number s ″ in the corresponding conversion block of the second binary image. It can be calculated based on Equation (3).
Number of black pixels in the second binary image s "
Number of black pixels in labyrinth pattern image BM = (Lx × Ly) / 2 (3)
Difference pixel number Bs = s ″ −BM

次に、このようにして算出された差分画素数Bsに基づき、迷宮模様画像内の白画素又は黒画素を、差分画素数Bsの値だけ黒画素又は白画素に変換する。   Next, based on the difference pixel number Bs thus calculated, the white pixel or the black pixel in the labyrinth pattern image is converted into a black pixel or a white pixel by the value of the difference pixel number Bs.

差分画素数Bsが正数である場合には、白画素を黒画素に変換することによって差分画素数Bs分の黒画素を追加する(黒画素増加処理)。一方、差分画素数Bsが負数である場合には、黒画素を白画素に変換することによって差分画素数Bs分の黒画素を削除する(黒画素減少処理)。   When the difference pixel number Bs is a positive number, black pixels corresponding to the difference pixel number Bs are added by converting white pixels into black pixels (black pixel increase processing). On the other hand, when the difference pixel number Bs is a negative number, the black pixels corresponding to the difference pixel number Bs are deleted by converting the black pixels into white pixels (black pixel reduction process).

具体的には、まず、差分画素数Bsに基づき、黒画素増加処理及び黒画素減少処理のうちどちらの処理を行うかを決定し、画素配置条件を設定する。差分画素数Bsが正数の場合には、画素配置条件として黒画素増加処理を設定し、差分画素数Bsが負数の場合には、画素配置条件として黒画素減少処理を設定する。   Specifically, first, based on the difference pixel number Bs, it is determined which one of black pixel increase processing and black pixel decrease processing is to be performed, and pixel arrangement conditions are set. When the difference pixel number Bs is a positive number, black pixel increase processing is set as the pixel arrangement condition, and when the difference pixel number Bs is negative, black pixel reduction processing is set as the pixel arrangement condition.

次に、変換ブロックにおいて、増加又は減少させる黒画素を決定するため、横方向及び縦方向の座標に対応する各々の乱数を発生させ、乱数の値に対応する座標に位置する画素の種類(黒画素又は白画素)を判断する。   Next, in order to determine the black pixel to be increased or decreased in the conversion block, random numbers corresponding to the horizontal and vertical coordinates are generated, and the type of pixel (black) located at the coordinates corresponding to the random number value is generated. Pixel or white pixel).

次に、この画素が配置条件に合致する画素種類である場合、当該画素の種類を変換する。例えば、画素配置条件が黒画素増加処理である場合で、乱数の値に対応する画素が白画素であるときには、この白画素を黒画素に変換する。また、画素配置条件が黒画素減少処理である場合で、乱数の値に対応する画素が黒画素であるときには、この黒画素を白画素に変換する。そして、このような黒画素増加処理又は黒画素減少処理を差分画素数Bsの値だけ繰り返して行う。   Next, when the pixel type matches the arrangement condition, the type of the pixel is converted. For example, when the pixel arrangement condition is black pixel increase processing and the pixel corresponding to the random number value is a white pixel, the white pixel is converted into a black pixel. When the pixel arrangement condition is black pixel reduction processing and the pixel corresponding to the random number value is a black pixel, the black pixel is converted into a white pixel. Then, such black pixel increase processing or black pixel decrease processing is repeated for the value of the difference pixel number Bs.

尚、乱数の値に対応する画素の種類が画素配置条件に合致しない場合には、画素の変換処理を行わず、再度乱数を発生させて上述の処理を繰り返す。ここで、画素配置条件に合致しない場合とは、画素配置条件が黒画素増加処理である場合で、乱数の値に対応する画素が黒画素であるとき、及び画素配置条件が黒画素減少処理である場合で、乱数の値に対応する画素が白画素であるときである。   If the type of pixel corresponding to the random number value does not match the pixel arrangement condition, the pixel conversion process is not performed, the random number is generated again, and the above process is repeated. Here, the case where the pixel arrangement condition is not met is a case where the pixel arrangement condition is a black pixel increasing process, a pixel corresponding to a random number value is a black pixel, and a pixel arrangement condition is a black pixel reducing process. In some cases, the pixel corresponding to the random number value is a white pixel.

このように、FMスクリーニング画像作成処理では、例えば、図5(a)に示す多値の原画像に基づき取得した黒画素数と、図5(b)に示す迷宮模様画像の黒画素数とから得られる差分画素数Bsに基づき、図5(b)の迷宮模様画像に対して黒画素増加処理又は黒画素減少処理を行う。これにより、図5(c)に示すFMスクリーニング画像を作成することができる。このFMスクリーニング画像は、従来の方法によって作成されたFMスクリーニング画像とは異なったものとなる。   Thus, in the FM screening image creation processing, for example, from the number of black pixels acquired based on the multi-value original image shown in FIG. 5A and the number of black pixels of the labyrinth pattern image shown in FIG. Based on the obtained difference pixel number Bs, black pixel increase processing or black pixel decrease processing is performed on the labyrinth pattern image of FIG. Thereby, the FM screening image shown in FIG. 5C can be created. This FM screening image is different from the FM screening image created by the conventional method.

また、図7は、本実施の形態によるFMスクリーニング画像作成処理を用いて作成したグラデーション画像である。この画像では、ハイライト領域からシャドウ領域までのすべての領域における階調が連続的かつ平滑的に表現されていることが確認できる。   FIG. 7 is a gradation image created using the FM screening image creation processing according to the present embodiment. In this image, it can be confirmed that gradations in all areas from the highlight area to the shadow area are expressed continuously and smoothly.

次に、画素融合処理部6による画素融合処理について、図8〜図11を参照して説明する。上述したFMスクリーニング画像作成処理部5において作成されたFMスクリーニング画像では、単独の画素及び黒・白画素からなる曲線による大域的な均等分布と局部的なランダム分布とのバランスを維持した分布特性を実現できる。そのため、従来の誤差拡散処理によって作成されたFMスクリーニング画像におけるワーム状のモアレが発生しないという特徴を有する。   Next, pixel fusion processing by the pixel fusion processing unit 6 will be described with reference to FIGS. The FM screening image created by the above-described FM screening image creation processing unit 5 has distribution characteristics that maintain a balance between a global uniform distribution and a local random distribution by a curve composed of a single pixel and black / white pixels. realizable. Therefore, there is a feature that worm-like moire does not occur in the FM screening image created by the conventional error diffusion processing.

しかし、図5(c)に示すように、このFMスクリーニング画像では、孤立した画素や細線が最小情報単位であるドットとなるため、このままでは、印刷工程に適さないという問題がある。   However, as shown in FIG. 5 (c), in this FM screening image, isolated pixels and fine lines become dots that are the minimum information unit.

そこで、本実施の形態では、FMスクリーニング画像の長所を保持したまま印刷工程に適したスクリーニングを実現するため、最小情報単位であるドットの大きさを印刷しやすい大きさに変換するための画素融合処理を行う。   Therefore, in this embodiment, in order to realize screening suitable for the printing process while maintaining the advantages of the FM screening image, pixel fusion for converting the dot size, which is the minimum information unit, into a size that is easy to print. Process.

画素融合処理においては、まず、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スクリーニング画像から図8(a)に示す「2画素×2画素」の4画素からなる第1の画素パターンを検出する。具体的には、第1の画素パターンは、左上及び右下の画素が黒画素であり、右上及び左下の画素が白画素となるパターンである。   Specifically, first, a first pixel pattern including four pixels of “2 pixels × 2 pixels” shown in FIG. 8A 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の画素融合処理では、図8(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. 8B, 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%の確率で、図8(c)に示す右下の黒画素と右上の白画素とを入れ替える交換処理(以下、「第1の画素融合処理100a」とする)、及び図8(d)に示す右下の黒画素と左下の白画素とを入れ替える交換処理(以下、「第1の画素融合処理100b」とする)のうち、いずれかの交換処理を行う。   That is, in the first pixel fusion process, an exchange process (hereinafter referred to as “first pixel fusion process 100a”) in which the lower right black pixel and the upper right white pixel shown in FIG. ), 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. 8D. I do.

次に、二次元画素融合処理では、図9(a)に示す第2の画素パターンを検出する。具体的には、第2の画素パターンは、左上及び右下の画素が白画素であり、右上及び左下の画素が黒画素となるパターンである。   Next, in the two-dimensional pixel fusion process, the second pixel pattern shown in FIG. 9A is detected. 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の画素融合処理では、図9(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. 9B, an exchange process is performed in which the lower right white pixel and the adjacent upper right or lower left black pixel in the second pixel pattern are replaced. 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%の確率で、図9(c)に示す右下の白画素と右上の黒画素とを入れ替える交換処理(以下、「第2の画素融合処理200a」とする)、及び図9(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. 9C 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. 9D. 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.

次に、画素画素融合処理においては、上述した二次元画素融合処理によって変換されたスクリーニング画像に対してラスタスキャンを行う。そして、角度方向で隣接する複数の画素によって形成される画素パターンから、黒画素及び白画素が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. 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 pixels adjacent in the angular direction, and one-dimensional with respect to the detected predetermined pixel pattern Perform 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の画素パターンの検出は、図10(a)に示すように、画像の360°空間において45°間隔で行う。具体的には、第3の画素融合処理では、0°方向に第3の画素パターンが検出された場合に、図10(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 a third pixel pattern is detected in the 0 ° direction, as shown in FIG. 10B, “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の画素パターンが検出された場合には、図10(c)に示すように、45°方向に左下から右上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(45°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(45°))。   When the third pixel pattern is detected in the 45 ° direction, as shown in FIG. 10C, 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の画素パターンが検出された場合には、図10(d)に示すように、90°方向に下から上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(90°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(90°))。   When the third pixel pattern is detected in the 90 ° direction, as shown in FIG. 10D, 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の画素パターンが検出された場合には、図10(e)に示すように、135°方向に右下から左上方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(135°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(135°))。   When the third pixel pattern is detected in the 135 ° direction, as shown in FIG. 10E, the third pixel pattern in which “white / black / white / black” is arranged 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の画素パターンが検出された場合には、図10(f)に示すように、180°方向に右から左方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(180°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(180°))。   When the third pixel pattern is detected in the 180 ° direction, as shown in FIG. 10F, 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の画素パターンが検出された場合には、図10(g)に示すように、225°方向に右上から左下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(225°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(225°))。   When the third pixel pattern is detected in the 225 ° direction, as shown in FIG. 10G, 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の画素パターンが検出された場合には、図10(h)に示すように、270°方向に上から下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(270°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(270°))。   When the third pixel pattern is detected in the 270 ° direction, as shown in FIG. 10H, 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の画素パターンが検出された場合には、図10(i)に示すように、315°方向に左上から右下方向に「白・黒・白・黒」と並ぶ第3の画素パターン(以下、「第3の画素パターン(315°)」とする)を、「白・白・黒・黒」と並ぶ画素パターンに変換する(第3の画素融合処理(315°))。   When the third pixel pattern is detected in the 315 ° direction, as shown in FIG. 10 (i), the third pixel pattern aligned with “white / black / white / black” from the upper left to the lower right in the 315 ° direction. 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.

図11は、画素融合処理を行うことによって作成されたハイブリッドスクリーニング画像を示す。図11(a)は、FMスクリーニング画像作成処理によって作成されたFMスクリーニング画像(画素融合処理部6に入力されるFMスクリーニング画像)である。また、図11(b)は、図11(a)に示すFMスクリーニング画像に対して二次元画素融合処理(第1及び第2の画素融合処理)を行ったスクリーニング画像である。さらに、図11(c)は、図11(b)に示すスクリーニング画像に対して一次元画素融合処理(第3の画素融合処理)を行うことによって作成されたハイブリッドスクリーニング画像である。   FIG. 11 shows a hybrid screening image created by performing pixel fusion processing. FIG. 11A is an FM screening image (FM screening image input to the pixel fusion processing unit 6) created by the FM screening image creation processing. FIG. 11B is a screening image obtained by performing two-dimensional pixel fusion processing (first and second pixel fusion processing) on the FM screening image shown in FIG. Further, FIG. 11C is a hybrid screening image created by performing one-dimensional pixel fusion processing (third pixel fusion processing) on the screening image shown in FIG. 11B.

このように画素融合処理を行うことにより、孤立する画素を減少させ、複数の画素によって形成された大きなドットに変換することができる。   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.

また、図12は、本実施の形態によるハイブリッドスクリーニング画像作成処理によって作成されたハイブリッドスクリーニング画像を示す。図12(a)は、従来の網点画像であり、図12(b)は、誤差拡散処理を用いて作成された従来のFMスクリーニング画像である。また、図12(c)は、本実施の形態による各処理を行うことによって作成されたハイブリッドスクリーニング画像である。   FIG. 12 shows a hybrid screening image created by the hybrid screening image creation processing according to the present embodiment. 12A is a conventional halftone dot image, and FIG. 12B is a conventional FM screening image created using error diffusion processing. FIG. 12C is a hybrid screening image created by performing each process according to the present embodiment.

これらの各画像は、同一の原画像を用いて作成されたものであり、各々の画像を比較すると、図11(c)に示すハイブリッドスクリーニング画像が従来の網点画像及びFMスクリーニング画像の長所を兼ね備えたものであり、有効性を確認することができる。   Each of these images was created using the same original image. When comparing each image, the hybrid screening image shown in FIG. 11 (c) shows the advantages of the conventional halftone image and FM screening image. It is a combination of both, and its effectiveness can be confirmed.

次に、画像変換処理装置1における各処理の流れについて、図13〜図18に示すフローチャートを参照して説明する。   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全体の処理について、図13を参照して説明する。   First, processing of the entire image conversion processing apparatus 1 that converts input multi-valued image data 10 input from the outside into output binary image data 20 and outputs it will be described with reference to FIG.

各処理に先立ち、外部からグレースケール画像である入力多値画像データ10が画像変換処理装置1に対して入力されると、画像変換処理装置1は、入力多値画像データ10をメモリ2に記憶する。   Prior to each processing, when input multivalued image data 10 that is a grayscale image is input to the image conversion processing device 1 from the outside, the image conversion processing device 1 stores the input multivalued image data 10 in the memory 2. To do.

二値化処理部3は、メモリ2に記憶された入力多値画像データ10を読み出し、入力多値画像データ10に関する解像度情報に基づき、入力多値画像データ10に対して変換ブロックを設定する。そして、変換ブロック毎の画像を第1の二値画像に変換すると共に第1の黒画素数sを検出する二値化処理を行う(ステップS1)。二値化処理部3は、二値化処理により得られた第1の二値画像及び第1の黒画素数情報sを、一旦メモリ2に記憶する。   The binarization processing unit 3 reads the input multivalued image data 10 stored in the memory 2 and sets a conversion block for the input multivalued image data 10 based on the resolution information regarding the input multivalued image data 10. And the binarization process which detects the 1st black pixel number s 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 and the first black pixel number information s obtained by the binarization process.

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

次に、FMスクリーニング画像作成処理部5は、メモリ2に記憶された第2の黒画素数情報s”を読み出し、第2の黒画素数情報s”が示す各変換ブロック毎の黒画素数に基づき、変換ブロックと同サイズの迷宮模様画像を用いて第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 s ″ stored in the memory 2 and sets the black pixel number for each conversion block indicated by the second black pixel number information s ″. Based on the labyrinth pattern image having the same size as the conversion block, an FM screening conversion process is performed to convert the second binary image into an FM screening image (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)。これにより、入力多値画像データ10がハイブリッドスクリーニング画像に変換される。画素融合処理部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). Thereby, the input multivalued image data 10 is converted into a hybrid screening image. The pixel fusion processing unit 6 stores the hybrid screening image created by the pixel fusion processing in the memory 2.

そして、メモリ2に記憶されたハイブリッドスクリーニング画像は、出力二値画像データ20として出力される。   The hybrid screening image stored in the memory 2 is output as output binary image data 20.

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

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

まず、ステップS11において、二値化処理部3は、設定した変換ブロックに含まれる各画素の階調値に基づき、上述した数式(1)を用いて第1の二値画像の黒画素数である第1の黒画素数sを計算する。   First, in step S <b> 11, the binarization processing unit 3 calculates the number of black pixels of the first binary image based on the gradation value of each pixel included in the set conversion block using Equation (1) described above. A certain first black pixel number s is calculated.

次に、ステップS12において、二値化処理部3は、処理対象の変換ブロックの周辺に位置する変換ブロックからの分散誤差を加算して、誤差分散処理を行う。最後に、二値化処理部3は、数式(2)を用いることにより、第2の黒画素数情報である第2の黒画素数s”を計算すると共に、周辺の変換ブロックに対する分散誤差εを計算する(ステップS13)。   Next, in step S <b> 12, 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 second black pixel number s ″, which is the second black pixel number information, by using Equation (2), and the dispersion error ε with respect to the surrounding conversion blocks. Is calculated (step S13).

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

まず、ステップS21において、FMスクリーニング画像作成処理部5は、メモリ2から第2の二値画像を読み出し、第2の二値画像に関する解像度情報に基づき、第2の二値画像に対して変換ブロックを設定する。   First, in step S <b> 21, the FM screening image creation processing unit 5 reads the second binary image from the memory 2, and converts the second binary image based on the resolution information regarding the second binary image. Set.

次に、FMスクリーニング画像作成処理部5は、設定した変換ブロックに対応する、変換ブロックと同サイズの迷宮模様画像内の黒画素数BMを取得する(ステップS22)。   Next, the FM screening image creation processing unit 5 acquires the number of black pixels BM in the labyrinth pattern image having the same size as the conversion block corresponding to the set conversion block (step S22).

そして、FMスクリーニング画像作成処理部5は、第2の二値画像に対して変換ブロック単位でのラスタスキャンを行い(ステップS23)、変換ブロック毎に各々の変換ブロック内の黒画素数s”を取得する(ステップS24)。尚、黒画素数s”は、上述した図14のステップS13で計算した第2の黒画素数情報を用いてもよい。   Then, the FM screening image creation processing unit 5 performs a raster scan for each conversion block on the second binary image (step S23), and calculates the number of black pixels s ″ in each conversion block for each conversion block. (Step S24) The second black pixel number information calculated in step S13 of FIG. 14 may be used as the black pixel number s ″.

次に、ステップS25において、FMスクリーニング画像作成処理部5は、ステップS22で取得した迷宮模様画像の黒画素数BMと、ステップS24で取得した第2の二値画像の黒画素数s”とに基づき、数式(3)を用いて差分画素数Bsを算出する。   Next, in step S25, the FM screening image creation processing unit 5 sets the black pixel number BM of the labyrinth pattern image acquired in step S22 and the black pixel number s ″ of the second binary image acquired in step S24. Based on equation (3), the difference pixel number Bs is calculated.

ステップS26において、FMスクリーニング画像作成処理部5は、差分画素数Bsに基づき、迷宮模様画像内の黒画素を増加させるか否かを判断する。差分画素数Bsが正数であり、黒画素を増加させると判断した場合には、処理がステップS27に移行し、FMスクリーニング画像作成処理部5は、配置処理として黒画素増加処理を行う。一方、差分画素数Bsが負数であり、黒画素を減少させると判断した場合には、処理がステップS28に移行し、FMスクリーニング画像作成処理部5は、配置処理として黒画素減少処理を行う。尚、黒画素増加処理及び黒画素減少処理の詳細については、後述する。   In step S <b> 26, the FM screening image creation processing unit 5 determines whether or not to increase black pixels in the labyrinth pattern image based on the difference pixel number Bs. If it is determined that the difference pixel number Bs is a positive number and black pixels are to be increased, the process proceeds to step S27, and the FM screening image creation processing unit 5 performs black pixel increase processing as arrangement processing. On the other hand, if the difference pixel number Bs is a negative number and it is determined that the black pixels are to be reduced, the process proceeds to step S28, and the FM screening image creation processing unit 5 performs the black pixel reduction process as the arrangement process. The details of the black pixel increasing process and the black pixel decreasing process will be described later.

最後に、FMスクリーニング画像作成処理部5は、迷宮模様画像に対する黒画素の配置処理が完了したか否かを判断する(ステップS29)。配置処理が完了したと判断した場合(ステップS29;Yes)には、一連の処理が終了する。   Finally, the FM screening image creation processing unit 5 determines whether or not the black pixel arrangement processing for the labyrinth pattern image has been completed (step S29). When it is determined that the arrangement process has been completed (step S29; Yes), the series of processes ends.

一方、黒画素の配置処理が完了していないと判断した場合(ステップS29;No)には、処理がステップS25に戻り、FMスクリーニング画像作成処理部5は、すべての変換ブロックにおける黒画素の配置処理が完了するまで、ステップS25〜ステップS28の処理を繰り返す。   On the other hand, when it is determined that the black pixel arrangement processing has not been completed (step S29; No), the processing returns to step S25, and the FM screening image creation processing unit 5 arranges the black pixels in all the conversion blocks. Until the processing is completed, the processing from step S25 to step S28 is repeated.

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

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

まず、ステップS31において、FMスクリーニング画像作成処理部5は、図15のステップS26における判断に基づき、黒画素増加処理又は黒画素減少処理のうちいずれかの処理を配置処理として決定し、画素配置条件を設定する。決定した配置処理が黒画素増加処理である場合、FMスクリーニング画像作成処理部5は、画素配置条件を「黒画素の増加」に設定する。一方、決定した配置処理が黒画素減少処理である場合、FMスクリーニング画像作成処理部5は、画素配置条件を「黒画素の減少」に設定する。   First, in step S31, the FM screening image creation processing unit 5 determines one of the black pixel increasing process and the black pixel decreasing process as the arrangement process based on the determination in step S26 of FIG. Set. When the determined arrangement process is the black pixel increase process, the FM screening image creation processing unit 5 sets the pixel arrangement condition to “increase in black pixels”. On the other hand, when the determined arrangement process is the black pixel reduction process, the FM screening image creation processing unit 5 sets the pixel arrangement condition to “black pixel reduction”.

次に、FMスクリーニング画像作成処理部5は、図15のステップS25で算出した差分画素数Bsの絶対値を要配置画素数カウンタに設定する(ステップS32)。この要配置画素数カウンタの値は、配置処理で配置(変換)する黒画素の最大画素数となる。   Next, the FM screening image creation processing unit 5 sets the absolute value of the difference pixel number Bs calculated in step S25 of FIG. 15 in the required arrangement pixel number counter (step S32). The value of the required arrangement pixel number counter is the maximum number of black pixels arranged (converted) in the arrangement process.

ステップS33において、FMスクリーニング画像作成処理部5は、一様乱数を発生させ、黒画素を配置(変換)するための配置画素座標(m,n)を決定する。   In step S33, the FM screening image creation processing unit 5 generates a uniform random number and determines arrangement pixel coordinates (m, n) for arranging (converting) black pixels.

次に、ステップS34において、FMスクリーニング画像作成処理部5は、ステップS33で決定した配置画素座標における画素の種類がステップS31で設定した画素配置条件を満足するか否かを判断する。   Next, in step S34, the FM screening image creation processing unit 5 determines whether or not the pixel type at the arrangement pixel coordinates determined in step S33 satisfies the pixel arrangement condition set in step S31.

配置画素座標(m,n)における画素の種類が画素配置条件を満足すると判断した場合(ステップS34;Yes)には、処理がステップS35に移行し、FMスクリーニング画像作成処理部5は、配置画素座標(m,n)における画素の種類を変換する。このとき、配置処理が黒画素増加処理である場合には、配置画素座標(m,n)における画素の種類が「白画素」であるため、この白画素を黒画素に変換し、黒画素を増加させる。また、配置処理が黒画素減少処理である場合には、配置画素座標(m,n)における画素の種類が「黒画素」であるため、この黒画素を白画素に変換し、黒画素を減少させる。そして、FMスクリーニング画像作成処理部5は、要配置画素数カウンタの値を「1」だけデクリメントする(ステップS36)。   When it is determined that the type of pixel at the arrangement pixel coordinate (m, n) satisfies the pixel arrangement condition (step S34; Yes), the process proceeds to step S35, and the FM screening image creation processing unit 5 The pixel type at the coordinates (m, n) is converted. At this time, if the arrangement process is a black pixel increasing process, the type of pixel in the arrangement pixel coordinate (m, n) is “white pixel”, so the white pixel is converted to a black pixel, increase. When the arrangement process is a black pixel reduction process, the type of pixel at the arrangement pixel coordinate (m, n) is “black pixel”. Therefore, the black pixel is converted into a white pixel, and the black pixel is reduced. Let Then, the FM screening image creation processing unit 5 decrements the value of the required arrangement pixel number counter by “1” (step S36).

一方、ステップS34において、配置画素座標(m,n)における画素の種類が画素配置条件を満足しないと判断した場合(ステップS34;No)には、処理がステップS33に戻る。そして、FMスクリーニング画像作成処理部5は、ステップS33で決定した配置画素座標(m,n)を廃棄すると共に、新たに一様乱数を発生させて配置画素座標(m,n)を決定する。   On the other hand, if it is determined in step S34 that the type of pixel at the arrangement pixel coordinate (m, n) does not satisfy the pixel arrangement condition (step S34; No), the process returns to step S33. The FM screening image creation processing unit 5 discards the arrangement pixel coordinates (m, n) determined in step S33 and newly generates a uniform random number to determine the arrangement pixel coordinates (m, n).

ステップS37において、FMスクリーニング画像作成処理部5は、要配置画素数カウンタの値が「0」であるか否かを判断する。要配置画素数カウンタの値が「0」であると判断した場合(ステップS37;Yes)、FMスクリーニング画像作成処理部5は、配置(変換)すべきすべての黒画素に対する処理が終了したと判断し、一連の処理が終了する。   In step S <b> 37, the FM screening image creation processing unit 5 determines whether or not the value of the required arrangement pixel number counter is “0”. When it is determined that the value of the required arrangement pixel number counter is “0” (step S37; Yes), the FM screening image creation processing unit 5 determines that the processing for all the black pixels to be arranged (converted) has been completed. Then, a series of processing ends.

一方、要配置画素数カウンタの値が「0」ではないと判断した場合(ステップS37;No)には、処理がステップS33に戻る。そして、FMスクリーニング画像作成処理部5は、新たに一様乱数を発生させて配置画素座標(m,n)を決定し、要配置画素数カウンタの値が「0」となるまで、ステップS33〜ステップS36の処理を繰り返す。   On the other hand, when it is determined that the value of the required pixel number counter is not “0” (step S37; No), the process returns to step S33. Then, the FM screening image creation processing unit 5 newly generates a uniform random number to determine the arrangement pixel coordinates (m, n), and steps S33 to S33 until the value of the required arrangement pixel number counter becomes “0”. The process of step S36 is repeated.

このようにして、差分画素数Bsの値だけ迷宮模様画像内の画素を変換することにより、変換ブロック単位でFMスクリーニング画像を作成することができる。   In this way, by converting the pixels in the labyrinth pattern image by the value of the difference pixel number Bs, an FM screening image can be created for each conversion block.

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

まず、ステップS41において、画素融合処理部6は、メモリ2から処理対象画像であるFMスクリーニング画像を読み出し、ラスタスキャンを行う。次に、画素融合処理部6は、ステップS41で得られた「2画素×2画素」の画素パターンから、第1の画素パターンが検出されたか否かを判断する(ステップS42)。   First, in step S41, the pixel fusion processing unit 6 reads an FM screening image that is a processing target image from the memory 2 and performs a raster scan. 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 S41 (step S42).

第1の画素パターンが検出されたと判断した場合(ステップS42;Yes)、画素融合処理部6は、ステップS43において乱数を発生させる。この例では、乱数として、値が「0」から「1」までの区間において、すべての実数が同じ確率で出現する一様乱数を用いる。   If it is determined that the first pixel pattern has been detected (step S42; Yes), the pixel fusion processing unit 6 generates a random number in step S43. 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.

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

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

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

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

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

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

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

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

ステップS53において、画素融合処理部6は、処理対象画像から第1及び第2の画素パターンが検出できなくなったか否かを判断する。画素融合処理部6が第1及び第2の画素パターンが検出できなくなったと判断した場合(ステップS53;Yes)には、一連の処理が終了する。一方、画素融合処理部6が第1及び第2の画素パターンが検出できると判断した場合(ステップS53;No)には、処理がステップS41に戻る。   In step S53, 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 can no longer be detected (step S53; Yes), a 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 S53; No), the process returns to step S41.

以上のようにして、画素融合処理部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.

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

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

次に、画素融合処理部6は、ステップS61で得られた画素パターンから、0°方向の第3の画素パターン(0°)が検出されたか否かを判断する(ステップS62)。第3の画素パターン(0°)が検出されたと判断した場合(ステップS62;Yes)、画素融合処理部6は、図10(b)に示すように、この第3の画素パターン(0°)に対して第3の画素融合処理(0°)を行う(ステップS63)。   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 S61 (step S62). If it is determined that the third pixel pattern (0 °) has been detected (step S62; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (0 °) as shown in FIG. Is subjected to the third pixel fusion processing (0 °) (step S63).

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

次に、ステップS64において、画素融合処理部6は、45°方向の第3の画素パターン(45°)が検出されたか否かを判断する。第3の画素パターン(45°)が検出されたと判断した場合(ステップS64;Yes)、画素融合処理部6は、図10(c)に示すように、この第3の画素パターン(45°)に対して第3の画素融合処理(45°)を行う(ステップS65)。   Next, in step S64, 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 S64; 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 S65).

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

次に、ステップS66において、画素融合処理部6は、90°方向の第3の画素パターン(90°)が検出されたか否かを判断する。第3の画素パターン(90°)が検出されたと判断した場合(ステップS66;Yes)、画素融合処理部6は、図10(d)に示すように、この第3の画素パターン(90°)に対して第3の画素融合処理(90°)を行う(ステップS67)。   Next, in step S66, 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 S66; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (90 °) as shown in FIG. Then, a third pixel fusion process (90 °) is performed (Step S67).

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

次に、ステップS68において、画素融合処理部6は、135°方向の第3の画素パターン(135°)が検出されたか否かを判断する。第3の画素パターン(135°)が検出されたと判断した場合(ステップS68;Yes)、画素融合処理部6は、図10(e)に示すように、この第3の画素パターン(135°)に対して第3の画素融合処理(135°)を行う(ステップS69)。   Next, in step S68, the pixel fusion processing unit 6 determines whether or not 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 S68; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (135 °) as shown in FIG. Is subjected to the third pixel fusion process (135 °) (step S69).

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

次に、ステップS70において、画素融合処理部6は、180°方向の第3の画素パターン(180°)が検出されたか否かを判断する。第3の画素パターン(180°)が検出されたと判断した場合(ステップS70;Yes)、画素融合処理部6は、図10(f)に示すように、この第3の画素パターン(180°)に対して第3の画素融合処理(180°)を行う(ステップS71)。   Next, in step S70, the pixel fusion processing unit 6 determines whether 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 S70; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (180 °) as shown in FIG. Is subjected to a third pixel fusion process (180 °) (step S71).

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

次に、ステップS72において、画素融合処理部6は、225°方向の第3の画素パターン(225°)が検出されたか否かを判断する。第3の画素パターン(225°)が検出されたと判断した場合(ステップS72;Yes)、画素融合処理部6は、図10(g)に示すように、この第3の画素パターン(225°)に対して第3の画素融合処理(225°)を行う(ステップS73)。   Next, in step S72, 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 S72; Yes), the pixel fusion processing unit 6 performs the third pixel pattern (225 °) as shown in FIG. Then, a third pixel fusion process (225 °) is performed (step S73).

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

次に、ステップS74において、画素融合処理部6は、270°方向の第3の画素パターン(270°)が検出されたか否かを判断する。第3の画素パターン(270°)が検出されたと判断した場合(ステップS74;Yes)、画素融合処理部6は、図10(h)に示すように、この第3の画素パターン(270°)に対して第3の画素融合処理(270°)を行う(ステップS75)。   Next, in step S74, the pixel fusion processing unit 6 determines whether or not a third pixel pattern (270 °) in the 270 ° direction has been detected. If it is determined that the third pixel pattern (270 °) has been detected (step S74; 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 S75).

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

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

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

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

ステップS79において、画素融合処理部6は、処理対象画像から第3の画素パターンが検出できなくなったか否かを判断する。画素融合処理部6が第3の画素パターンが検出できなくなったと判断した場合(ステップS79;Yes)には、一連の処理が終了する。一方、画素融合処理部6が第3の画素パターンが検出できると判断した場合(ステップS79;No)には、処理がステップS61に戻る。   In step S79, 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 can no longer be detected (step S79; 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 S79; No), the process returns to step S61.

以上のように、画素融合処理部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.

このように、本実施の形態に係る画像変換処理装置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スクリーニング画像作成処理を行う。最後に、作成されたFMスクリーニング画像に対して第1〜第3の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理を行う。   As described above, the image conversion processing device according to the present embodiment performs binarization processing for converting the input grayscale image, which is a multi-valued image, into the first binary image composed of black pixels and white pixels. Do. 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. Error variance processing for creating a second binary image is performed. Then, the number of black pixels included in the created second binary image is detected for each change block, and the difference between the detected number of black pixels and the number of black pixels in the labyrinth pattern image prepared in advance is indicated. FM screening image creation processing for creating an FM screening image based on the number of difference pixels is performed. Finally, first to third pixel fusion processing is performed on the created FM screening image, and pixel fusion processing for creating a hybrid screening image is performed.

このように、本実施の形態による画像変換処理装置では、二値化処理の際に生じる変換誤差を考慮した誤差分散処理を行うことにより、変換ブロック間で発生するトーンジャンプ現象や、変換ブロックの境界に発生するモアレを低減させることができる。また、迷宮模様画像に対して差分画素数分の画素をランダムに配置(変換)することにより、ランダマイズ性を抑えながらムラの発生を抑制できるFMスクリーニング画像を作成することができる。さらに、画素融合処理を行うことにより、孤立する画素を印刷工程に適したサイズのドットに変換すると共に、周期性のないクラスタ模様に変換することができる。   As described above, in the image conversion processing device according to the present embodiment, by performing the error dispersion processing in consideration of the conversion error generated in the binarization processing, the tone jump phenomenon that occurs between the conversion blocks, the conversion block Moire generated at the boundary can be reduced. Further, by arranging (converting) pixels corresponding to the number of difference pixels at random with respect to the labyrinth pattern image, it is possible to create an FM screening image that can suppress the occurrence of unevenness while suppressing randomization. Furthermore, by performing the pixel fusion process, isolated pixels can be converted into dots having a size suitable for the printing process, and can be converted into a cluster pattern having no periodicity.

これにより、画質を向上させることができると共に、網点画像が有する印刷工程に適し、扱いが容易であるという長所と、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, image quality such as sharpness can be adjusted according to printing conditions and user requirements.

尚、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization step for detecting a conversion error that occurs during creation;
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. An error variance step to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation step of converting the second binary image into an FM screening image by converting one pixel into the other pixel;
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 multi-valued image, a conversion block corresponding to the size of the halftone cell of the multi-valued image, which is a creation unit of the FM screening image, is set for the multi-valued image,
The image conversion processing method according to attachment 1, wherein the first number of black pixels in the conversion block is detected.

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

(付記4)
前記所定の二値画像は、画像内の連続する黒画素及び白画素によって、横方向及び縦方向の直線のみで構成され、前記黒画素及び前記白画素が同数とされる迷宮模様画像である付記1、2又は3に記載の画像変換処理方法。
(Appendix 4)
The predetermined binary image is a labyrinth pattern image composed of only straight lines in the horizontal direction and the vertical direction by continuous black pixels and white pixels in the image, and the same number of the black pixels and the white pixels. The image conversion processing method according to 1, 2 or 3.

(付記5)
前記FMスクリーニング画像作成ステップは、
前記所定の二値画像内のすべての画素に対して横方向及び縦方向の座標を設定し、
前記座標に対応して発生させる乱数に基づき決定された座標位置の画素を変換することにより、前記FMスクリーニング画像を作成する付記1乃至4のいずれかに記載の画像変換処理方法。
(Appendix 5)
The FM screening image creation step includes:
Set horizontal and vertical coordinates for all pixels in the predetermined binary image;
The image conversion processing method according to any one of appendices 1 to 4, wherein the FM screening image is created by converting a pixel at a coordinate position determined based on a random number generated corresponding to the coordinate.

(付記6)
前記FMスクリーニング画像作成ステップは、
前記差分が正数であり、前記所定の二値画像における前記座標位置の画素が白画素である場合に、該白画素を黒画素に変換する黒画素増加処理を行い、
前記差分が負数であり、前記所定の二値画像における前記座標位置の画素が黒画素である場合に、該黒画素を白画素に変換する黒画素減少処理を行い、
前記黒画素増加処理及び前記黒画素減少処理のいずれかを前記差分の数だけ行う付記5に記載の画像変換処理方法。
(Appendix 6)
The FM screening image creation step includes:
When the difference is a positive number and the pixel at the coordinate position in the predetermined binary image is a white pixel, a black pixel increasing process is performed to convert the white pixel to a black pixel,
When the difference is a negative number and the pixel at the coordinate position in the predetermined binary image is a black pixel, a black pixel reduction process is performed to convert the black pixel into a white pixel,
The image conversion processing method according to appendix 5, wherein any one of the black pixel increasing process and the black pixel decreasing process is performed by the number of the differences.

(付記7)
前記画素融合ステップは、
作成された前記FMスクリーニング画像から、隣接する複数の画素によって形成されると共に、前記黒画素及び前記白画素が1画素間隔で分布する前記所定の画素パターンを検出し、
検出された前記所定の画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する前記画素融合処理を行う付記1乃至6のいずれかに記載の画像変換処理方法。
(Appendix 7)
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 6, wherein the pixel fusion processing is performed to exchange the black pixels and the white pixels so that the black pixels in the detected predetermined pixel pattern are continuously distributed. Processing method.

(付記8)
前記画素融合ステップは、
「2画素×2画素」からなる互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する二次元画素融合処理と、
前記二次元画素融合処理を行った画像に対して、角度方向で互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する一次元画素融合処理とを行う付記7に記載の画像変換処理方法。
(Appendix 8)
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 7, 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.

(付記9)
前記二次元画素融合処理は、
左上及び右下の画素が黒画素であり、右上及び左下の画素が白画素である第1の画素パターンを検出した場合に、前記右下の黒画素と前記右上又は左下の白画素とを交換する第1の画素融合処理と、
左上及び右下の画素が白画素であり、右上及び左下の画素が黒画素である第2の画素パターンを検出した場合に、前記右下の白画素と前記右上又は左下の黒画素とを交換する第2の画素融合処理とを行い、
前記第1及び第2の画素融合処理を、前記第1及び第2の画素パターンが検出されなくなるまで交互に行う付記8に記載の画像変換処理方法。
(Appendix 9)
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 8, wherein the first and second pixel fusion processes are alternately performed until the first and second pixel patterns are no longer detected.

(付記10)
前記一次元画素融合処理は、
前記角度方向で互いに隣接し、白画素・黒画素・白画素・黒画素のように並ぶ4画素からなる第3の画素パターンを検出した場合に、前記第3の画素パターンを白画素・白画素・黒画素・黒画素のように並ぶ画素パターンに変換する第3の画素融合処理を行い、
前記第3の画素融合処理を、前記第3の画素パターンが検出されなくなるまで45°間隔で順次行う付記8又は9に記載の画像変換処理方法。
(Appendix 10)
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 8 or 9, wherein the third pixel fusion processing is sequentially performed at 45 ° intervals until the third pixel pattern is not detected.

(付記11)
前記一次元画素融合処理は、前記第3の画素融合処理を0°から360°まで45°間隔でおこなう付記8、9又は10に記載の画像変換処理方法。
(Appendix 11)
The image conversion processing method according to appendix 8, 9 or 10, wherein in the one-dimensional pixel fusion processing, the third pixel fusion processing is performed at intervals of 45 ° from 0 ° to 360 °.

(付記12)
多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、
多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散ステップと、
検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させるプログラム。
(Appendix 12)
A program for causing a computer apparatus to execute 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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization step for detecting a conversion error that occurs during creation;
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. An error variance step to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation step of converting the second binary image into an FM screening image by converting one pixel into the other pixel;
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.

(付記13)
多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理装置であって、
多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化処理部と、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散処理部と、
検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成処理部と、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理部とを備える画像変換処理装置。
(Appendix 13)
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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization processing unit that detects a conversion error that occurs during creation;
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. An error variance processing unit to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation processing unit that converts the second binary image into an FM screening image by converting one pixel into the other pixel;
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 画素融合処理部
10 入力多値画像データ
20 出力二値画像データ
DESCRIPTION OF SYMBOLS 1 Image conversion processing apparatus 2 Memory 3 Binarization process part 4 Error dispersion | distribution process part 5 FM screening image creation process part 6 Pixel fusion process part 10 Input multi-value image data 20 Output binary image data

Claims (10)

多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理方法であって、
多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散ステップと、
検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備えることを特徴とする画像変換処理方法。
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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization step for detecting a conversion error that occurs during creation;
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. An error variance step to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation step of converting the second binary image into an FM screening image by converting one pixel into the other pixel;
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.
前記二値化ステップは、
前記多値画像の解像度情報に基づき、前記FMスクリーニング画像の作成単位となる、前記多値画像のハーフトーンセルのサイズに対応する変換ブロックを前記多値画像に対して設定し、
前記変換ブロック内の前記第1の黒画素数を検出することを特徴とする請求項1に記載の画像変換処理方法。
The binarization step includes
Based on the resolution information of the multi-valued image, a conversion block corresponding to the size of the halftone cell of the multi-valued image, which is a creation unit of the FM screening image, is set for the multi-valued image,
The image conversion processing method according to claim 1, wherein the first number of black pixels in the conversion block is detected.
前記誤差分散ステップは、所定の前記変換ブロックにおける変換誤差を、該変換ブロックに隣接する周囲の変換ブロックに対して分散させることを特徴とする請求項2に記載の画像変換処理方法。   The image conversion processing method according to claim 2, wherein the error distribution step distributes a conversion error in the predetermined conversion block to surrounding conversion blocks adjacent to the conversion block. 前記所定の二値画像は、画像内の連続する黒画素及び白画素によって、横方向及び縦方向の直線のみで構成され、前記黒画素及び前記白画素が同数とされる迷宮模様画像であることを特徴とする請求項1、2又は3に記載の画像変換処理方法。   The predetermined binary image is a labyrinth pattern image composed of only a straight line in a horizontal direction and a vertical direction by continuous black pixels and white pixels in the image, and the same number of the black pixels and the white pixels. The image conversion processing method according to claim 1, 2, or 3. 前記FMスクリーニング画像作成ステップは、
前記所定の二値画像内のすべての画素に対して横方向及び縦方向の座標を設定し、
前記座標に対応して発生させる乱数に基づき決定された座標位置の画素を変換することにより、前記FMスクリーニング画像を作成することを特徴とする請求項1乃至4のいずれかに記載の画像変換処理方法。
The FM screening image creation step includes:
Set horizontal and vertical coordinates for all pixels in the predetermined binary image;
5. The image conversion process according to claim 1, wherein the FM screening image is created by converting a pixel at a coordinate position determined based on a random number generated corresponding to the coordinate. Method.
前記FMスクリーニング画像作成ステップは、
前記差分が正数であり、前記所定の二値画像における前記座標位置の画素が白画素である場合に、該白画素を黒画素に変換する黒画素増加処理を行い、
前記差分が負数であり、前記所定の二値画像における前記座標位置の画素が黒画素である場合に、該黒画素を白画素に変換する黒画素減少処理を行い、
前記黒画素増加処理及び前記黒画素減少処理のいずれかを前記差分の数だけ行うことを特徴とする請求項5に記載の画像変換処理方法。
The FM screening image creation step includes:
When the difference is a positive number and the pixel at the coordinate position in the predetermined binary image is a white pixel, a black pixel increasing process is performed to convert the white pixel to a black pixel,
When the difference is a negative number and the pixel at the coordinate position in the predetermined binary image is a black pixel, a black pixel reduction process is performed to convert the black pixel into a white pixel,
6. The image conversion processing method according to claim 5, wherein one of the black pixel increasing process and the black pixel decreasing process is performed by the number of the differences.
前記画素融合ステップは、
作成された前記FMスクリーニング画像から、隣接する複数の画素によって形成されると共に、前記黒画素及び前記白画素が1画素間隔で分布する前記所定の画素パターンを検出し、
検出された前記所定の画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する前記画素融合処理を行うことを特徴とする請求項1乃至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.
7. The pixel fusion process for exchanging the black pixels and the white pixels with each other so that the black pixels in the detected predetermined pixel pattern are continuously distributed. An image conversion processing method according to claim 1.
前記画素融合ステップは、
「2画素×2画素」からなる互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する二次元画素融合処理と、
前記二次元画素融合処理を行った画像に対して、角度方向で互いに隣接する4画素によって形成された画素パターンから、黒画素及び白画素が1画素間隔で分布する画素パターンを検出し、検出された該画素パターン内の前記黒画素が連続的に分布するように前記黒画素及び前記白画素を互いに交換する一次元画素融合処理とを行うことを特徴とする請求項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 process according to claim 7, further comprising: performing one-dimensional pixel fusion processing for exchanging the black pixels and the white pixels so that the black pixels in the pixel pattern are continuously distributed. Method.
多値の階調値を有する多値画像をハイブリッドスクリーニング画像に変換する画像変換処理方法をコンピュータ装置に実行させるためのプログラムであって、
多値画像を黒画素及び白画素からなる第1の二値画像に変換すると共に、該第1の二値画像に含まれる第1の黒画素数を検出し、該第1の二値画像の作成の際に生じる変換誤差を検出する二値化ステップと、
前記第1の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散ステップと、
検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成ステップと、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合ステップとを備える画像変換処理方法をコンピュータ装置に実行させることを特徴とするプログラム。
A program for causing a computer apparatus to execute 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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization step for detecting a conversion error that occurs during creation;
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. An error variance step to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation step of converting the second binary image into an FM screening image by converting one pixel into the other pixel;
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の黒画素数及び前記変換誤差に基づき、前記第1の二値画像を第2の二値画像に変換すると共に、該第2の二値画像に含まれる第2の黒画素数を検出する誤差分散処理部と、
検出された前記第2の黒画素数と予め用意された黒画素及び白画素からなる所定の二値画像の黒画素数との差分に基づき、前記差分の数だけ前記所定の二値画像内における一方の画素を他方の画素に変換することにより、前記第2の二値画像をFMスクリーニング画像に変換するFMスクリーニング画像作成処理部と、
作成された前記FMスクリーニング画像から、隣接する複数の画素で形成される所定の画素パターンを検出し、検出された前記所定の画素パターンに対して所定の画素融合処理を行い、ハイブリッドスクリーニング画像を作成する画素融合処理部とを備えることを特徴とする画像変換処理装置。
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, and the number of first black pixels included in the first binary image is detected, and the first binary image A binarization processing unit that detects a conversion error that occurs during creation;
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. An error variance processing unit to detect;
Based on the difference between the detected number of second black pixels and the number of black pixels of a predetermined binary image made up of black pixels and white pixels prepared in advance, the number of the difference in the predetermined binary image An FM screening image creation processing unit that converts the second binary image into an FM screening image by converting one pixel into the other pixel;
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.
JP2014228522A 2014-11-11 2014-11-11 Image conversion processing method, program for executing the same, and image conversion processing apparatus Active JP6388337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014228522A JP6388337B2 (en) 2014-11-11 2014-11-11 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
JP2014228522A JP6388337B2 (en) 2014-11-11 2014-11-11 Image conversion processing method, program for executing the same, and image conversion processing apparatus

Publications (2)

Publication Number Publication Date
JP2016092744A true JP2016092744A (en) 2016-05-23
JP6388337B2 JP6388337B2 (en) 2018-09-12

Family

ID=56016487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014228522A Active JP6388337B2 (en) 2014-11-11 2014-11-11 Image conversion processing method, program for executing the same, and image conversion processing apparatus

Country Status (1)

Country Link
JP (1) JP6388337B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886987A (en) * 2017-03-23 2017-06-23 重庆大学 A kind of train license plate binary image interfusion method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61154273A (en) * 1985-12-11 1986-07-12 Konishiroku Photo Ind Co Ltd Picture reloading method
JPH1023259A (en) * 1996-06-28 1998-01-23 Oki Data:Kk Image pattern converter
JP2002262089A (en) * 2001-03-05 2002-09-13 Seiko Epson Corp Device and method for processing halftone
JP2013017109A (en) * 2011-07-06 2013-01-24 Konica Minolta Business Technologies Inc Threshold matrix generating device and threshold matrix generating method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61154273A (en) * 1985-12-11 1986-07-12 Konishiroku Photo Ind Co Ltd Picture reloading method
JPH1023259A (en) * 1996-06-28 1998-01-23 Oki Data:Kk Image pattern converter
JP2002262089A (en) * 2001-03-05 2002-09-13 Seiko Epson Corp Device and method for processing halftone
JP2013017109A (en) * 2011-07-06 2013-01-24 Konica Minolta Business Technologies Inc Threshold matrix generating device and threshold matrix generating method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886987A (en) * 2017-03-23 2017-06-23 重庆大学 A kind of train license plate binary image interfusion method
CN106886987B (en) * 2017-03-23 2019-05-24 重庆大学 A kind of train license plate binary image interfusion method

Also Published As

Publication number Publication date
JP6388337B2 (en) 2018-09-12

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
JP2005136612A (en) Halftone dot formation method, halftone dot formation apparatus and halftone dot recording medium
JP2003046777A (en) Mask preparation method, image processor, software program and mask data
JP2006191487A (en) Threshold matrix generation method and device, and recording medium
JP2002368995A (en) Method for determing threshold array for generating gradation image
JP2002369017A (en) Dot threshold value data generating method
US10306108B2 (en) Generating halftones
JP3698541B2 (en) Pseudo gradation image processing device
JP6541215B2 (en) Image processing apparatus and method
JP6256747B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP6388337B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
JP2009100230A (en) Image processing apparatus and method thereof
CN111147687A (en) Rational tangent amplitude modulation screening method based on minimum threshold matrix
JP4010097B2 (en) Image processing apparatus and image processing method, and method for creating threshold matrix for generating halftone image
KR20040070893A (en) Color halftoning apparatus and method, and mask generation apparatus and method therein
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
JP2010093756A (en) Image processing apparatus and control method thereof
Koge et al. A GPU implementation of clipping-free halftoning using the direct binary search
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
JP4378411B2 (en) Threshold array determination method for image creation
JP2011045043A (en) Device and method for generating threshold matrix
JP6547738B2 (en) Image processing apparatus, halftone screen generation apparatus, halftone screen generation method, and halftone screen generation program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170704

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171004

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180703

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180809

R150 Certificate of patent or registration of utility model

Ref document number: 6388337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150