JP2019092101A - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP2019092101A
JP2019092101A JP2017220903A JP2017220903A JP2019092101A JP 2019092101 A JP2019092101 A JP 2019092101A JP 2017220903 A JP2017220903 A JP 2017220903A JP 2017220903 A JP2017220903 A JP 2017220903A JP 2019092101 A JP2019092101 A JP 2019092101A
Authority
JP
Japan
Prior art keywords
image
smoothing
correlation determination
pixel
processing apparatus
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
JP2017220903A
Other languages
Japanese (ja)
Other versions
JP6976824B2 (en
Inventor
浩二 布施
Koji Fuse
浩二 布施
石川 尚
Takashi Ishikawa
尚 石川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017220903A priority Critical patent/JP6976824B2/en
Publication of JP2019092101A publication Critical patent/JP2019092101A/en
Application granted granted Critical
Publication of JP6976824B2 publication Critical patent/JP6976824B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

To suppress the occurrence of moire in an image after halftone processing even when an image before the halftone processing includes a periodic pattern in an image processing apparatus for generating a periodic dot pattern in the halftone processing.SOLUTION: An image processing apparatus includes: filter processing means that generates a band pass image by performing filter processing of extracting a component of a predetermined spatial frequency range on the basis of an input image; determination means that determines whether there is a correlation between a target pixel and peripheral pixels of the target pixel on the basis of the band pass image; smoothing means that performs smoothing on the basis of the input image according to the correlation determination result output by the determination means; and halftone processing means that generates a dot pattern on the basis of the output image of the smoothing means.SELECTED DRAWING: Figure 3

Description

本発明は、モアレ発生の原因となる周期パターンを除去する技術に関する。   The present invention relates to a technology for removing a periodic pattern that causes moire generation.

近年、スキャナ、プリンタ、コピー、FAX等複数の機能を有するMFP(Multi−Function−Printer)が広く普及している。MFPにおいてプリンタ機能を実現するための画像形成装置は、電子写真方式とインクジェット方式に大別される。電子写真方式は、インクジェット方式に比べて記録媒体への色材形成が不安定なため、一般的に、中間調処理では、ランダムなドットパターンではなく、周期的なドットパターンを生成するケースが多い。これにより、低粒状性、即ち低ノイズな画像出力を実現する。   BACKGROUND In recent years, MFPs (Multi-Function-Printers) having a plurality of functions such as scanners, printers, copiers, and fax machines have become widespread. Image forming apparatuses for realizing a printer function in an MFP are roughly classified into an electrophotographic method and an inkjet method. In electrophotography, the color material formation on the recording medium is unstable compared to the inkjet method. Therefore, in general, halftone processing often generates a periodic dot pattern instead of a random dot pattern. . This achieves low graininess, that is, low noise image output.

周期的なドットパターンは、例えば、閾値マトリクスにAMスクリーンを用いたディザ処理により生成される。AMスクリーンとしては、網点スクリーン(ドットスクリーン)やラインスクリーンが知られている。一方、ランダムなドットパターンは、例えば、閾値マトリクスにFMスクリーンを用いたディザ処理や、誤差拡散処理により生成される。FMスクリーンとしては、ブルーノイズマスクやグリーンノイズマスクが知られている。   The periodic dot pattern is generated, for example, by dithering using an AM screen in a threshold matrix. A halftone screen (dot screen) or a line screen is known as an AM screen. On the other hand, a random dot pattern is generated by, for example, dither processing using an FM screen in a threshold matrix, or error diffusion processing. As an FM screen, a blue noise mask and a green noise mask are known.

記録媒体への色材形成が不安定な電子写真方式の画像形成装置では、中間調処理において周期的なドットパターンを生成することにより、低粒状性、即ち低ノイズな画像出力を実現できる。しかし、中間調処理前の画像に周期的なパターンが含まれている場合、中間調処理で使用するAMスクリーンの周期(閾値の周期)と干渉し、中間調処理後の画像に低周波の模様(モアレ)が発生する。その結果、プリント物の画質が大きく劣化する。   In an electrophotographic image forming apparatus in which color material formation on a recording medium is unstable, low graininess, that is, low noise image output can be realized by generating a periodic dot pattern in halftone processing. However, if the image before halftoning contains a periodic pattern, it interferes with the period (period of the threshold) of the AM screen used in halftoning, and a low frequency pattern appears in the image after halftoning. (Moire) occurs. As a result, the image quality of the printed matter is greatly degraded.

中間調処理前の画像に周期的なパターンが含まれる最たるケースは、MFPにおけるプリント物のコピーである。網点パターンやラインパターン等の周期的なドットパターンは、電子写真方式のプリンタだけでなく、新聞や雑誌を対象とした一般的な印刷における中間調再現にも広く用いられているため、コピー対象となる多くのプリント物は周期的なパターンを含んでいる。そのため、プリント物のコピー時に、中間調処理においてAMスクリーンを使用した場合、多くのケースにおいて、コピー出力物にモアレが発生してしまう。   The best case in which the image before halftone processing includes a periodic pattern is a copy of a print on the MFP. Since periodic dot patterns such as halftone dot patterns and line patterns are widely used not only for electrophotographic printers, but also for halftone reproduction in general printing for newspapers and magazines, they can be copied. Many printed items that contain a periodic pattern. Therefore, when an AM screen is used in halftone processing at the time of copying a printed matter, moiré occurs in the copied output in many cases.

また、デジタル原稿をプリントするケースにおいても、プリント出力物にモアレが発生することがある。例えば、プレゼンテーション原稿といったベクタデータをラスタ画像に変換する際、ベクタデータに含まれる半透明オブジェクトは、しばしば周期的なパターンとしてラスタライズされる。この周期的なパターンを含むラスタ画像は、色変換処理やガンマ補正処理等を経た後に中間調処理で使用されるため、中間調処理においてAMスクリーンを使用した場合、プリント出力物にモアレが発生してしまう。   In addition, even in the case of printing a digital document, moiré may occur in the printed matter. For example, when converting vector data such as a presentation document into a raster image, translucent objects included in the vector data are often rasterized as a periodic pattern. Since a raster image containing this periodic pattern is used in halftone processing after undergoing color conversion processing, gamma correction processing, etc., when an AM screen is used in halftone processing, moiré occurs in the printed output. It will

以上示したモアレは、中間調処理においてランダムなドットパターンを生成するようにすれば低減するが、画像形成装置が電子写真方式の場合、記録媒体への色材形成が不安定なため、粒状性、即ちノイズが悪化してしまう。従って、電子写真方式において、モアレの低減と低粒状性(低ノイズ)とを両立するのは困難である。   Although the moiré shown above can be reduced by generating a random dot pattern in halftone processing, when the image forming apparatus is an electrophotographic method, the formation of color materials on the recording medium is unstable, so graininess can be reduced. That is, the noise gets worse. Therefore, in the electrophotographic system, it is difficult to achieve both reduction of moiré and low graininess (low noise).

このような問題を解決し得る技術として、特許文献1には、中間調処理を行う前段階において、エッジの形状を保持しつつ、網点等の周期的なパターンのみを選択的に平滑化する技術が開示されている。具体的には、入力画像の全面を平滑化して網点等の周期的なパターンを除去した画像と、平滑化前の入力画像とを、場所ごとに異なる重みでアルファブレンドする。場所ごとの重みは、像域判定手段が生成する網点度やエッジ度といった局所的な特徴量によって決定され、網点度の高い領域では平滑化後画像のブレンド比率が大きくなり、エッジ度の高い領域では平滑化前画像のブレンド比率が大きくなる。これにより、中間調処理を行う前段階において、AMスクリーンと干渉する周期的なパターンを除去できるため、中間調処理においてAMスクリーンを使用してもモアレの発生を抑制できる。また、エッジの形状が保持されるため、入力画像の全面を平滑化した場合に比べ、高画質なプリント出力物が得られる。   As a technique capable of solving such a problem, Patent Document 1 selectively smoothes only periodic patterns such as halftone dots while maintaining the shape of an edge in a stage prior to performing halftone processing. Technology is disclosed. Specifically, the entire surface of the input image is smoothed to remove the periodic patterns such as halftone dots, and the input image before smoothing is alpha-blended with different weights for each place. The weight for each place is determined by local feature quantities such as dot degree and edge degree generated by the image area determination means, and in the area with high dot degree, the blend ratio of the smoothed image becomes large, and the edge degree In the high region, the blending ratio of the image before smoothing is large. As a result, since it is possible to remove the periodic pattern that interferes with the AM screen at the stage before performing the halftone process, it is possible to suppress the occurrence of moiré even if the AM screen is used in the halftone process. In addition, since the shape of the edge is maintained, a high-quality printed output can be obtained as compared with the case where the entire surface of the input image is smoothed.

また、特許文献2には、入力画像を選択的に平滑化することで、エッジの形状を保持しつつノイズを除去する技術が開示されている。具体的には、まず、入力画像にフィルタ処理を適用し、信号成分が含まれる第一の周波数帯域のパワーを上げ、且つ、ノイズ成分が含まれる第二の周波数帯域のパワーを下げる。これにより、入力画像に比べてSN比が向上した参照画像を生成する。そして、参照画像における相関判定結果に基づいて、入力画像を選択的に平滑化する。これにより、エッジやテクスチャといった信号成分を保持しつつ、ノイズ成分を好適に除去できる。   Patent Document 2 discloses a technique for removing noise while maintaining the shape of an edge by selectively smoothing an input image. Specifically, first, filtering is applied to the input image to increase the power of the first frequency band including the signal component, and to decrease the power of the second frequency band including the noise component. This generates a reference image with an improved SN ratio compared to the input image. Then, based on the correlation determination result in the reference image, the input image is selectively smoothed. Thereby, the noise component can be suitably removed while holding the signal component such as the edge or the texture.

特開2008−011268号公報JP 2008-011268 A 特開2013−115697号公報JP, 2013-115697, A

しかしながら、特許文献1に記載の技術は、エッジを跨いだ平滑化が行われるため、周期的なパターンを完全に除去するように平滑化後画像のブレンド比率を調整すると、エッジが暈けてしまうケースが多かった。一方、エッジの形状を保持するために平滑化後画像のブレンド比率を小さくすると、エッジ近傍で周期パターンが残ってしまうケースが多かった。この問題を解決するために、ブレンド比率の生成に用いる局所的な特徴量の算出方法を改善すると、回路規模が大きくなり実装コストが増大する傾向があった。さらに、高価な実装コストを掛けて特徴量の算出方法を改善したとしても、エッジを跨ぐ平滑化が行われた画像を好適な比率でブレンドするのは困難なため、十分な効果が得られなかった。   However, in the technique described in Patent Document 1, since smoothing is performed across the edge, if the blend ratio of the smoothed image is adjusted so as to completely remove the periodic pattern, the edge may be blurred. There were many cases. On the other hand, when the blend ratio of the smoothed image is reduced to maintain the shape of the edge, there are many cases where the periodic pattern remains near the edge. If the local feature quantity calculation method used to generate the blend ratio is improved to solve this problem, the circuit scale tends to increase and the mounting cost tends to increase. Furthermore, even if the method of calculating the feature value is improved by multiplying the expensive mounting cost, it is difficult to blend an image that has been smoothed across the edge at a suitable ratio, so a sufficient effect can not be obtained. The

一方、特許文献2に記載の技術は、相関を判定することでエッジを跨がない平滑化が可能なため、入力画像を選択的に平滑化する技術としては、特許文献1に記載の技術に比べて利点がある。また、ブレンド比率の生成に用いる局所的な特徴量を算出するための回路が不要なため、前述のような実装コストの増大を抑制できる。   On the other hand, since the technique described in Patent Document 2 can perform smoothing without straddling edges by determining correlation, the technique described in Patent Document 1 can be used as a technique for selectively smoothing an input image. There is an advantage in comparison. In addition, since a circuit for calculating a local feature amount used to generate the blend ratio is unnecessary, the increase in the mounting cost as described above can be suppressed.

しかしながら、相関判定に使用する参照画像を生成する際、信号成分とノイズ成分の周波数特性は考慮しているが、AMスクリーンと干渉する周期的なパターンの周波数特性は考慮していない。そのため、特許文献2に記載の技術を中間調処理前の画像に適用した場合、AMスクリーンと干渉する周期的なパターンが残る、或いは逆に、入力画像を暈し過ぎてしまい、高画質なプリント出力物が得られないという問題があった。   However, when generating the reference image used for the correlation determination, the frequency characteristics of the signal component and the noise component are considered, but the frequency characteristics of the periodic pattern interfering with the AM screen are not considered. Therefore, when the technology described in Patent Document 2 is applied to an image before halftone processing, a periodic pattern that interferes with the AM screen remains, or conversely, the input image is overblown and a high quality print is obtained. There is a problem that no output can be obtained.

そこで本発明は、このような事情に鑑み、中間調処理において周期的なドットパターンを生成する画像処理装置において、中間調処理前の画像に周期的なパターンが含まれていても、中間調処理後の画像におけるモアレの発生を抑制することを目的とする。   Therefore, in view of such circumstances, the present invention provides an image processing apparatus for generating a periodic dot pattern in halftone processing, wherein even if an image before halftone processing includes a periodic pattern, the halftone processing is performed. The purpose is to suppress the occurrence of moiré in a later image.

本発明は、入力画像に基づき所定の空間周波数の範囲の成分を抽出するフィルタ処理を行うことで、バンドパス画像を生成するフィルタ処理手段と、前記バンドパス画像に基づき、着目画素と、該着目画素の周辺画素との間に相関があるか判定する判定手段と、前記判定手段が出力する相関判定結果に従い、前記入力画像に基づく平滑化を行う平滑化手段と、前記平滑化手段の出力画像に基づき、ドットパターンを生成する中間調処理手段と
を有することを特徴とする画像処理装置である。
The present invention performs filter processing for extracting a component in a predetermined spatial frequency range based on an input image, thereby generating a band pass image, a target pixel based on the band pass image, and the target pixel. Judgment means for judging whether there is a correlation with peripheral pixels of the pixel, smoothing means for carrying out smoothing based on the input image according to the correlation judgment result outputted by the judgment means, and output image of the smoothing means And an halftone processing unit that generates a dot pattern based on the above.

本発明によれば、中間調処理において周期的なドットパターンを生成する画像処理装置において、中間調処理前の画像に周期的なパターンが含まれていても、中間調処理後の画像におけるモアレの発生を抑制できる。   According to the present invention, in an image processing apparatus that generates a periodic dot pattern in halftone processing, even if the image before halftone processing includes a periodic pattern, moire in the image after halftone processing The occurrence can be suppressed.

実施例1における画像処理装置の構成を示すブロック図Block diagram showing the configuration of the image processing apparatus in the first embodiment 実施例1における画像処理部の構成を示すブロック図Block diagram showing the configuration of the image processing unit in the first embodiment 実施例1における周期パターン除去回路の構成を示すブロック図Block diagram showing the configuration of the periodic pattern removal circuit in the first embodiment 実施例1における着目領域を示す図The figure which shows the view territory in execution example 1 実施例1におけるフィルタ処理部のフィルタ係数及び振幅特性Filter coefficient and amplitude characteristic of the filter processing unit in the first embodiment 実施例2における周期パターン除去回路の構成を示すブロック図Block diagram showing the configuration of the periodic pattern removal circuit in the second embodiment 実施例3における周期パターン除去回路の構成を示すブロック図Block diagram showing the configuration of the periodic pattern removal circuit in the third embodiment 実施例4における周期パターン除去回路の構成を示すブロック図Block diagram showing the configuration of the periodic pattern removal circuit in the fourth embodiment

以下、図面を参照して本発明の実施形態について説明する。尚、以下の実施形態は、本発明の具体例であるから、技術的に好ましい様々の限定が付けられている。しかし、本発明の思想に沿うものであれば、実施形態は以下の実施形態やその他の具体的方法に限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments are specific examples of the present invention, and therefore, various technically preferable limitations are added. However, the embodiments are not limited to the following embodiments or other specific methods as long as the idea of the present invention is followed.

[実施例1]
<画像処理装置の構成について>
以下、第1の実施例における画像処理装置について、図1を用いて説明する。図1は、本実施例における画像処理装置の全体構成の一例を示すブロック図である。図示するように、画像処理装置は、CPU回路部110と、原稿100をスキャンして画像を読み取る画像読み取り部120と、画像処理部130と、プリンタ部140とを備える。画像読み取り部120は、レンズ122と、CCDセンサ124と、アナログ信号処理部(A/D変換部)126とを備える。レンズ122を介しCCDセンサ124に結像された原稿100の画像が、CCDセンサ124によりR(Red)、G(Green)、B(Blue)のアナログ電気信号に変換される。
Example 1
<About the configuration of the image processing apparatus>
The image processing apparatus according to the first embodiment will be described below with reference to FIG. FIG. 1 is a block diagram showing an example of the overall configuration of the image processing apparatus according to this embodiment. As illustrated, the image processing apparatus includes a CPU circuit unit 110, an image reading unit 120 that scans an original 100 and reads an image, an image processing unit 130, and a printer unit 140. The image reading unit 120 includes a lens 122, a CCD sensor 124, and an analog signal processing unit (A / D conversion unit) 126. The image of the original 100 formed on the CCD sensor 124 through the lens 122 is converted by the CCD sensor 124 into analog electric signals of R (Red), G (Green), and B (Blue).

アナログ信号に変換された画像情報は、アナログ信号処理部126に入力され、R、G、Bの色毎に補正等が行われた後にアナログ・デジタル変換(A/D変換)される。デジタル化されたフルカラー信号(以下、デジタル画像と呼ぶ)は、画像処理部130に入力される。画像処理部130は、デジタル画像に対し、後述する入力補正処理、周期パターン除去処理、色空間変換処理、濃度補正処理、及び中間調処理を施し、これらの処理が施された後のデジタル画像をプリンタ部140へ出力する。   The image information converted into the analog signal is input to the analog signal processing unit 126, and after correction etc. is performed for each of the R, G and B colors, it is subjected to analog / digital conversion (A / D conversion). The digitized full color signal (hereinafter referred to as a digital image) is input to the image processing unit 130. The image processing unit 130 subjects the digital image to input correction processing to be described later, periodic pattern removal processing, color space conversion processing, density correction processing, and halftone processing, and the digital image after these processings is Output to the printer unit 140.

プリンタ部140は、電子写真方式やインクジェット方式等を採用する画像形成装置であり、入力されたデジタル画像に基づいて記録媒体上に画像を形成する。また、CPU回路部110は、演算制御用のCPU112、固定データやプログラムを格納するROM114、データの一時保存やプログラムのロードに使用されるRAM116、及び外部記憶装置118を備える。CPU回路部110(のCPU112)は、画像読み取り部120、画像処理部130、及びプリンタ部140を統括的に制御し、以下で説明する本実施例における処理を実行する。外部記憶装置118は、本実施例における画像処理装置が使用するパラメータやプログラムを記憶するハードディスク等の記憶媒体である。RAM116に展開されるデータやプログラム等が、ROM114ではなく外部記憶装置118からロードされる構成であっても構わない。   The printer unit 140 is an image forming apparatus that employs an electrophotographic method, an inkjet method, or the like, and forms an image on a recording medium based on an input digital image. The CPU circuit unit 110 further includes a CPU 112 for arithmetic control, a ROM 114 for storing fixed data and programs, a RAM 116 for temporarily storing data and loading a program, and an external storage device 118. The CPU circuit unit 110 (of the CPU 112) controls the image reading unit 120, the image processing unit 130, and the printer unit 140 in an integrated manner, and executes the processing in this embodiment described below. The external storage device 118 is a storage medium such as a hard disk storing parameters and programs used by the image processing apparatus in the present embodiment. Data, programs and the like developed in the RAM 116 may be loaded from the external storage device 118 instead of the ROM 114.

<画像処理部の構成について>
以下、本実施例における画像処理部130について、図2を用いて詳しく説明する。図2は、本実施例における画像処理部130の回路構成の一例を示すブロック図である。
<About the configuration of the image processing unit>
Hereinafter, the image processing unit 130 in the present embodiment will be described in detail with reference to FIG. FIG. 2 is a block diagram showing an example of the circuit configuration of the image processing unit 130 in this embodiment.

図示するように、画像処理部130は、入力インターフェース210と、入力補正回路220と、周期パターン除去回路230と、色空間変換回路240と、濃度補正回路250と、中間調処理回路260と、出力インターフェース270とを備える。アナログ信号処理部126からバス205経由で画像処理部130にデジタル画像が入力されると、画像処理部130の前述の構成要素の夫々において、以下に記載する処理が実行される。   As illustrated, the image processing unit 130 outputs the input interface 210, the input correction circuit 220, the periodic pattern removal circuit 230, the color space conversion circuit 240, the density correction circuit 250, the halftone processing circuit 260, and And an interface 270. When a digital image is input from the analog signal processing unit 126 to the image processing unit 130 via the bus 205, processing described below is performed in each of the above-described components of the image processing unit 130.

入力インターフェース210を経由して入力補正回路220にデジタル画像215が入力される。このデジタル画像215は、R、G、Bの輝度信号で構成される。入力補正回路220は、デジタル画像215に対し、原稿100を読み取るセンサの特性のばらつきや原稿照明用ランプの配光特性のばらつきを補正するための処理を行い、該処理後のデジタル画像225を周期パターン除去回路230に出力する。   The digital image 215 is input to the input correction circuit 220 via the input interface 210. The digital image 215 is composed of R, G and B luminance signals. The input correction circuit 220 performs processing on the digital image 215 to correct variations in the characteristics of sensors that read the document 100 and variations in the light distribution characteristics of the lamp for document illumination, and the period of the processed digital image 225 is It is output to the pattern removal circuit 230.

入力補正回路220から出力された、R、G、Bの輝度信号で構成されるデジタル画像225が、周期パターン除去回路230に入力される。周期パターン除去回路230は、デジタル画像225に対し、周期パターン除去処理を行い、該周期パターン除去処理後のデジタル画像235を色空間変換回路240に出力する。尚、周期パターン除去処理については、後で詳しく説明する(図3参照)。   A digital image 225 composed of the luminance signals of R, G and B output from the input correction circuit 220 is input to the periodic pattern removal circuit 230. The periodic pattern removal circuit 230 performs periodic pattern removal processing on the digital image 225, and outputs the digital image 235 after the periodic pattern removal processing to the color space conversion circuit 240. The periodic pattern removal process will be described in detail later (see FIG. 3).

周期パターン除去回路230から出力された、R、G、Bの輝度信号で構成されるデジタル画像235が、色空間変換回路240に入力される。色空間変換回路240は、R、G、Bの輝度信号で構成されるデジタル画像235を、C(Cyan)、M(Magenta)、Y(Yellow)、K(Black)の濃度信号で構成されるデジタル画像245に変換し、濃度補正回路250に出力する。   A digital image 235 composed of the luminance signals of R, G, and B output from the periodic pattern removal circuit 230 is input to the color space conversion circuit 240. The color space conversion circuit 240 is configured by the digital image 235 composed of luminance signals of R, G and B by the density signals of C (Cyan), M (Magenta), Y (Yellow) and K (Black). The digital image 245 is converted and output to the density correction circuit 250.

色空間変換回路240から出力された、C、M、Y、Kの濃度信号で構成されるデジタル画像245が、濃度補正回路250に入力される。濃度補正回路250は、デジタル画像245に対し濃度補正処理を行い、該濃度補正処理後のデジタル画像255を中間調処理回路260に出力する。濃度補正回路250において、後続の中間調処理回路260で2値化又は多値化されたときに濃度変化が起きないように、中間調処理回路260の特性を考慮して予め濃度補正処理を行っておく。   A digital image 245 composed of C, M, Y and K density signals output from the color space conversion circuit 240 is input to the density correction circuit 250. The density correction circuit 250 performs density correction processing on the digital image 245, and outputs the digital image 255 after the density correction processing to the halftone processing circuit 260. The density correction circuit 250 performs density correction processing in advance in consideration of the characteristics of the halftone processing circuit 260 so that a density change does not occur when the subsequent halftone processing circuit 260 performs binarization or multi-value conversion. Keep it.

濃度補正回路250から出力された、C、M、Y、Kの濃度信号で構成されるデジタル画像255が、中間調処理回路260に入力される。中間調処理回路260は、デジタル画像255に対し、中間調処理、具体的には、所定の線数によるハーフトーンスクリーン処理を行う。これにより、各画素が多値の画素値を有するデジタル画像255は、中間調表現のデジタル画像、即ち各画素が2値又は多値の画素値を有するデジタル画像265に変換される。そして、中間調処理回路260は、デジタル画像265を、出力インターフェース270、バス275経由でプリンタ部140に出力する。   A digital image 255 composed of C, M, Y, and K density signals output from the density correction circuit 250 is input to the halftone processing circuit 260. The halftone processing circuit 260 subjects the digital image 255 to halftone processing, specifically, halftone screen processing with a predetermined number of lines. As a result, the digital image 255 in which each pixel has a multi-value pixel value is converted into a digital image of halftone expression, that is, a digital image 265 in which each pixel has a binary or multi-value pixel value. Then, the halftone processing circuit 260 outputs the digital image 265 to the printer unit 140 via the output interface 270 and the bus 275.

この中間調処理回路260における中間調処理(ハーフトーンスクリーン処理)では、周期的なドットパターンを生成する。これにより、特にプリンタ部140に電子写真方式を採用した場合において、ランダムなドットパターンを生成する場合に比べ、低粒状性、即ち低ノイズな画像出力を実現できる。周期的なドットパターンは、例えば、閾値マトリクスにAMスクリーンを用いたディザ処理といった公知の方法により生成する。出力が2値のディザ処理のケースでは、中間調処理前の画素値が閾値マトリクスの値を超える場合、ドットONを示す値が出力される一方、該画素値が閾値マトリクスの値以下の場合、ドットOFFを示す値が出力される。AMスクリーンとしては、網点スクリーン(ドットスクリーン)やラインスクリーン等を用いる。尚、中間調処理回路260では、C、M、Y、Kの濃度信号で構成されるデジタル画像255に基づいて周期的なドットパターンが生成できれば良く、用いる方法はディザ処理に限定されない。   In halftone processing (halftone screen processing) in the halftone processing circuit 260, a periodic dot pattern is generated. As a result, particularly when the electrophotographic method is adopted for the printer unit 140, it is possible to realize low graininess, that is, low noise image output, as compared with the case where random dot patterns are generated. The periodic dot pattern is generated by a known method such as dithering using an AM screen in a threshold matrix, for example. In the case of binary dither processing, when the pixel value before halftone processing exceeds the value in the threshold matrix, a value indicating dot ON is output, while the pixel value is less than or equal to the value in the threshold matrix, A value indicating dot OFF is output. As the AM screen, a dot screen or a line screen is used. The halftone processing circuit 260 only needs to generate a periodic dot pattern based on the digital image 255 composed of C, M, Y, and K density signals, and the method used is not limited to dither processing.

<周期パターン除去処理について>
以下、本実施例における周期パターン除去回路230で実行される周期パターン除去処理について、図3を用いて説明する。周期パターン除去回路230では、色成分毎に同じ処理が実行され、図3は、周期パターン除去回路230のうち、1つの色成分に対する処理を行う回路の一例を示すブロック図である。図示するように、この回路は、フィルタ処理部301と、相関判定部302と、平滑化部303とを備える。
<About periodic pattern removal processing>
The periodic pattern removal process performed by the periodic pattern removal circuit 230 according to this embodiment will be described below with reference to FIG. The periodic pattern removal circuit 230 executes the same processing for each color component, and FIG. 3 is a block diagram showing an example of the periodic pattern removal circuit 230 that performs processing for one color component. As illustrated, this circuit includes a filter processing unit 301, a correlation determination unit 302, and a smoothing unit 303.

図3において、i(x、y)は、入力補正回路220から出力されたデジタル画像225のうちの1つの色成分(R、G、Bのうちの何れか)を示す。このとき、xとyは画像における位置を示す。解像度は600dpiとする。以下、i(x、y)を入力画像と呼ぶ。   In FIG. 3, i (x, y) indicates one color component (one of R, G, and B) of the digital image 225 output from the input correction circuit 220. At this time, x and y indicate positions in the image. The resolution is 600 dpi. Hereinafter, i (x, y) is referred to as an input image.

フィルタ処理部301は、入力画像i(x、y)とフィルタ係数k(x、y)との畳み込み演算を行うことにより、バンドパス画像b(x、y)を生成する。フィルタ係数k(x、y)は設計パラメータであり、値を変更することにより、フィルタの周波数特性を変更できる。所望の周波数特性を持つフィルタ係数は、窓関数法といった公知の手法により生成する。窓関数法を用いる場合、u、vをそれぞれx方向、y方向の空間周波数、F(u、v)を目標周波数特性としたとき、F(u、v)を逆フーリエ変換し、窓関数を掛けてフィルタサイズを制限することで、所望の特性を持つフィルタ係数が得られる。尚、フィルタ処理部301で用いるフィルタの特徴については、後で詳しく説明する(図5参照)。   The filter processing unit 301 generates a band pass image b (x, y) by performing a convolution operation on the input image i (x, y) and the filter coefficient k (x, y). The filter coefficient k (x, y) is a design parameter, and changing the value can change the frequency characteristic of the filter. Filter coefficients having desired frequency characteristics are generated by a known method such as a window function method. When the window function method is used, when u and v are spatial frequencies in the x and y directions and F (u, v) is the target frequency characteristic, F (u, v) is inverse Fourier transformed to obtain a window function By limiting the filter size, filter coefficients having desired characteristics can be obtained. The features of the filter used in the filter processing unit 301 will be described in detail later (see FIG. 5).

相関判定部302は、着目領域において、着目画素とこの着目画素周辺の各画素(周辺画素とする)との間で、相関があるか否かを判定する。平滑化部303は、相関判定部302が出力する相関判定結果c(x、y)に基づき、着目領域において、着目画素と相関のある周辺画素のみを用いて平滑化を行う。平滑化に用いる画素の値は、入力画像i(x、y)の画素値である。そして、平滑化して得られた値を着目画素の値として導出する。o(x、y)はこのようにして導出された値を有する画像である。以下、o(x、y)を出力画像と呼ぶ。出力画像o(x、y)は、デジタル画像235のうちの1つの色成分として、色空間変換回路240へ出力される。   The correlation determination unit 302 determines whether or not there is a correlation between the pixel of interest and each pixel around the pixel of interest (referred to as a peripheral pixel) in the region of interest. The smoothing unit 303 performs smoothing based on the correlation determination result c (x, y) output from the correlation determination unit 302 using only peripheral pixels that have a correlation with the pixel of interest in the region of interest. The values of the pixels used for smoothing are the pixel values of the input image i (x, y). Then, the value obtained by the smoothing is derived as the value of the target pixel. o (x, y) is an image with values derived in this way. Hereinafter, o (x, y) is called an output image. The output image o (x, y) is output to the color space conversion circuit 240 as one color component of the digital image 235.

以下、相関判定部302と平滑化部303とにおける処理について、図4を用いて詳しく説明する。図4は、着目領域の例として、着目画素に隣接する3画素四方の領域を示している。   Hereinafter, processing in the correlation determination unit 302 and the smoothing unit 303 will be described in detail with reference to FIG. FIG. 4 shows a three-pixel square region adjacent to the pixel of interest as an example of the region of interest.

図4に示す着目領域の夫々において、着目画素は中央の画素であり、着目領域401〜403では、着目画素に対する添え字を「11」としている。着目領域401は、入力画像i(x、y)における領域であり、着目領域401におけるiijは、入力画像i(x、y)の画素値である。着目領域402は、フィルタ処理部301が出力するバンドパス画像b(x、y)における領域であり、着目領域402におけるbijはバンドパス画像b(x、y)の画素値である。着目領域403は、相関判定部302が出力する相関判定結果c(x、y)における領域であり、着目領域403におけるcijは、相関判定結果c(x、y)の画素値である。 In each of the focus areas shown in FIG. 4, the focus pixel is the central pixel, and in the focus areas 401 to 403, the subscript to the focus pixel is “11”. The focused area 401 is an area in the input image i (x, y), and i ij in the focused area 401 is a pixel value of the input image i (x, y). An attention area 402 is an area in the band pass image b (x, y) output by the filter processing unit 301, and b ij in the attention area 402 is a pixel value of the band pass image b (x, y). An attention area 403 is an area in the correlation determination result c (x, y) output from the correlation determination unit 302, and c ij in the attention area 403 is a pixel value of the correlation determination result c (x, y).

相関判定には、フィルタ処理部301で生成されるバンドパス画像b(x、y)が用いられ、cijは式(1)に従って算出される。式(1)において、cij =1の画素は着目画素との間で相関がある(相関あり)と判定された画素である。一方、cij =0の画素は着目画素との間で相関がない(相関なし)と判定された画素である。つまり、相関判定部302は、着目領域において、バンドパス画像の着目画素とその周辺画素との間で差分絶対値を求め、その差分絶対値が所定の閾値(相関判定用閾値とする)Thを超えているか否か(言い換えると、所定の閾値以下か否か)を判定する。相関判定の具体例として、図4の符号404は、バンドパス画像における着目領域の一例を示す図であり、符号405は、この着目領域404に対し、相関判定用閾値Th=5とした場合の相関判定結果を示す図である。 The band pass image b (x, y) generated by the filter processing unit 301 is used for the correlation determination, and c ij is calculated according to equation (1). In Equation (1), the pixel with c ij = 1 is a pixel determined to have a correlation (correlated) with the target pixel. On the other hand, the pixel with c ij = 0 is a pixel determined to have no correlation (no correlation) with the target pixel. That is, the correlation determination unit 302 obtains a difference absolute value between the pixel of interest of the band pass image and its peripheral pixels in the region of interest, and the difference absolute value is equal to a predetermined threshold (referred to as a threshold for correlation determination) Th. It is determined whether it exceeds (in other words, whether it is less than or equal to a predetermined threshold). As a specific example of the correlation determination, reference numeral 404 in FIG. 4 is a diagram showing an example of a focused region in the band pass image, and reference 405 indicates a case where the correlation determination threshold Th is 5 for the focused region 404. It is a figure which shows a correlation determination result.

平滑化部303は、着目領域内で相関あり(cij =1)と判定された1又は複数の画素について、入力画像における画素値iijの平均をとる。例えば、相関判定結果405の場合、平均化した値iavgは、「(i00+10+20+01+11+21)÷6」となる。そして、着目画素値i11は、iavgで置換される。以上の処理を画像全面に対して行うことにより、出力画像o(x、y)が得られる。 The smoothing unit 303 averages the pixel values i ij in the input image for one or more pixels determined to be correlated (c ij = 1) in the region of interest. For example, if the correlation determination result 405, the value i avg obtained by averaging is "(i 00+ i 10+ i 20+ i 01+ i 11+ i 21) ÷ 6 ". Then, the target pixel value i 11 is replaced by the i avg. An output image o (x, y) is obtained by performing the above processing on the entire image.

尚、上記の説明では、相関判定と平滑化における着目領域のサイズを3画素四方としたが、それ以外のサイズであっても構わない。また、中間調処理のモードによって、着目領域のサイズを適応的に切り替えても構わない。具体的には、中間調処理で生成するドットパターンの空間周波数が低いほど、モアレに寄与する周波数成分が低周波になる。一般的に、低周波成分を除去するためにはサイズの大きなフィルタが必要となる。そのため、中間調処理で生成するドットパターンの空間周波数が低いほど、上述の着目領域のサイズを大きくすることで、低周波成分の除去性能を確保できる。一方、中間調処理で生成するドットパターンの空間周波数が高いほど、着目領域のサイズを小さくすることで、低周波成分の暈しすぎを防ぐことができる。   In the above description, although the size of the focus area in the correlation determination and the smoothing is set to three pixels in a square, the size may be other than that. Also, the size of the region of interest may be adaptively switched depending on the mode of halftone processing. Specifically, the lower the spatial frequency of the dot pattern generated by the halftone processing, the lower the frequency component contributing to the moire. Generally, a filter of large size is required to remove low frequency components. Therefore, the removal performance of the low frequency component can be secured by increasing the size of the above-mentioned focused area as the spatial frequency of the dot pattern generated by the halftone processing is lower. On the other hand, by making the size of the region of interest smaller as the spatial frequency of the dot pattern generated by the halftone processing becomes higher, it is possible to prevent the low frequency component from being overwhelmed.

<フィルタ処理部で用いるフィルタの特徴について>
以下、フィルタ処理部301で用いるフィルタ係数k(x、y)の特徴について、図5を用いて説明する。
<About the feature of the filter used in the filter processing unit>
Hereinafter, features of the filter coefficient k (x, y) used in the filter processing unit 301 will be described with reference to FIG.

バンドパス画像b(x、y)は、中間調処理回路260で生成される周期的ドットパターンと干渉する周波数成分が抑圧され、さらに、直流付近の低周波成分が抑圧された画像が望ましい。このようなバンドパス画像b(x、y)を得るために、本実施例では、以下に示すように、所定の空間周波数の範囲の周波数成分を抽出する一方で、その他の範囲の周波数成分を抑圧するバンドパスフィルタを用いる。例えば、図5の符号501に示すような11×11サイズのフィルタ係数を用いる。フィルタ係数501の周波数特性は略等方的であり、例として、x方向の振幅特性を符号502に示す。   The band-pass image b (x, y) is desirably an image in which frequency components that interfere with the periodic dot pattern generated by the halftone processing circuit 260 are suppressed, and further, low-frequency components near the direct current are suppressed. In order to obtain such a band pass image b (x, y), in the present embodiment, frequency components in a predetermined spatial frequency range are extracted, while frequency components in other ranges are extracted, as described below. Use a band pass filter to suppress. For example, filter coefficients of 11 × 11 size as indicated by reference numeral 501 in FIG. 5 are used. The frequency characteristic of the filter coefficient 501 is substantially isotropic, and for example, the amplitude characteristic in the x direction is indicated by reference numeral 502.

中間調処理回路260で生成される周期的ドットパターンは、中間調処理のモードに依存するが、一般的に、空間周波数が6cycle/mmよりも高いことが多い。モアレは、入力画像の周波数成分と、中間調処理で生成される周期的ドットパターンの空間周波数とが近い場合において特に目立つ。そのため、フィルタ係数501は、符号502に示されるように、6cycle/mm付近よりも高周波な成分を抑圧する特性を持つようにする。   The periodic dot pattern generated by the halftone processing circuit 260 depends on the mode of halftone processing, but generally the spatial frequency is often higher than 6 cycles / mm. Moire is particularly noticeable when the frequency component of the input image is close to the spatial frequency of the periodic dot pattern generated by halftone processing. Therefore, as indicated by reference numeral 502, the filter coefficient 501 is made to have a characteristic of suppressing a component having a frequency higher than that near 6 cycles / mm.

また、周波数成分によって勾配が発生する範囲は、低周波ほど広範囲になる。そのため、直流付近の低周波成分は、エッジ部だけでなくエッジ周辺部でも勾配を生じさせ、前述の相関判定および平滑化において悪影響を与える。具体的には、式(1)に示した通り、勾配の大きい画素は、エッジを跨ぐ画素と見なされ、平滑化対象から除外される。しかし、直流付近の低周波成分が含まれていると、エッジ部だけでなくエッジ周辺部でも大きな勾配が生じるため、エッジ周辺部における平滑化が不十分になってしまう。これを解決しようとして、相関判定用閾値Thの値を大きくして、平滑化対象になる画素を増やすと、エッジ周辺部だけでなく、エッジ部が暈けてしまい、画質が大幅に劣化する。このような理由から、フィルタ係数501は、符号502に示されるように直流付近の低周波成分を抑圧するように設定される。   Further, the range in which the gradient is generated by the frequency component becomes wider as the low frequency. Therefore, the low frequency component near the direct current causes a gradient not only at the edge portion but also at the edge peripheral portion, which adversely affects the aforementioned correlation determination and smoothing. Specifically, as shown in equation (1), pixels with large gradients are considered to be pixels that cross the edge and are excluded from the smoothing targets. However, if a low frequency component near the direct current is included, a large gradient occurs not only in the edge part but also in the edge peripheral part, so that the smoothing in the edge peripheral part becomes insufficient. In order to solve this problem, if the value of the correlation determination threshold Th is increased to increase the number of pixels to be smoothed, not only the edge periphery but also the edge is blurred, and the image quality is significantly degraded. For this reason, the filter coefficient 501 is set to suppress low frequency components near DC as indicated by reference numeral 502.

一方、文字やエッジの形状を保持するために、上記以外の周波数成分は通過させるようにフィルタ係数501は設定される。文字やエッジの6cycle/mmよりも高周波な成分は、符号502に示す特性を持つフィルタによって除去されてしまう。しかし、文字やエッジは、3cycle/mm付近の成分を多く持っているため、符号502に示す特性のフィルタを用いて3cycle/mm付近の周波数成分を通過させることで、暈けはするものの、文字やエッジの形状を保持できる。このようなバンドパス画像を相関判定に使用することで、文字やエッジが平滑化されることなく、モアレ発生の原因となる周波数成分のみを好適に除去できる。   On the other hand, in order to retain the shapes of characters and edges, the filter coefficient 501 is set to pass frequency components other than the above. Components having frequencies higher than 6 cycles / mm of characters and edges are removed by the filter having the characteristic indicated by reference numeral 502. However, since characters and edges have many components near 3 cycles / mm, it is possible to make a difference by passing frequency components near 3 cycles / mm using a filter with the characteristic shown by reference numeral 502, but characters And can maintain the shape of the edge. By using such a band pass image for correlation determination, it is possible to suitably remove only frequency components that cause moiré without smoothing characters and edges.

バンドパス画像は、6cycle/mm付近よりも高周波な成分が抑圧され、モアレ発生の原因となる周期パターンが除去されるが、文字やエッジが暈けている。しかし、文字やエッジの形状が保持されているため、このバンドパス画像を相関判定に使用すれば、文字やエッジが平滑化されず、平滑化後の画像では、文字やエッジの暈けを防ぐことができる。一方、モアレ発生の原因となる周期パターンは、バンドパス画像において除去されているため、このバンドパス画像を相関判定に使用すれば、モアレ発生の原因となる周期パターンを平滑化できる。このように、バンドパス画像の時点では、周期パターンが除去されるだけでなく、文字やエッジも暈けてしまっているが、本実施例では、このバンドパス画像を相関判定に使用して入力画像を平滑化する。こうすることで、文字やエッジが暈けることなく、周期パターンだけが除去された平滑化画像を得る点が本実施例の大きな特徴である。   In the band-pass image, components higher in frequency than 6 cycles / mm are suppressed, and periodic patterns that cause moire generation are removed, but characters and edges are blurred. However, since the shapes of characters and edges are retained, if this band-pass image is used for correlation determination, characters and edges are not smoothed, and in the image after smoothing, blurring of characters and edges is prevented. be able to. On the other hand, since the periodic pattern that causes moire generation is removed in the band pass image, if this band pass image is used for correlation determination, the periodic pattern that causes moire generation can be smoothed. As described above, at the time of the band pass image, not only the periodic pattern is removed but also the characters and the edges are blurred, but in this embodiment, this band pass image is used for correlation determination and input Smooth the image. This is a major feature of the present embodiment in that a smoothed image in which only the periodic pattern is removed is obtained without blurring of characters and edges.

尚、上述の例では、フィルタ処理部301で11×11サイズのフィルタを用いたが、フィルタサイズは11×11以外であっても構わない。   In the above example, the filter processing unit 301 uses the 11 × 11 size filter, but the filter size may be other than 11 × 11.

また、フィルタ特性は、符号502に示す特性に限定されない。例えば、中間調処理回路260で生成される周期的ドットパターンの空間周波数が8cycle/mmよりも高い場合は、符号502に示す特性ではなく、6cycle/mm付近は通過させ、8cycle/mm付近よりも高周波な成分を抑圧する特性を採用する。これにより、文字やエッジの形状を保持できる。   In addition, the filter characteristic is not limited to the characteristic indicated by reference numeral 502. For example, when the spatial frequency of the periodic dot pattern generated by the halftone processing circuit 260 is higher than 8 cycles / mm, the characteristic shown by reference numeral 502 is not passed, and the vicinity of 6 cycles / mm is allowed to pass. We adopt the characteristic of suppressing high frequency components. Thereby, the shapes of characters and edges can be maintained.

また、中間調処理のモードによって、フィルタ処理部301で用いるフィルタ係数を切り替えても構わない。具体的には、中間調処理で生成するドットパターンの空間周波数が低いほど、モアレに寄与する周波数成分が低周波になる。そのため、中間調処理で生成するドットパターンの空間周波数が低いほど、カットオフ周波数の低いフィルタを用いる。これにより、モアレ発生の原因となる周波数成分を確実に除去できる。一方、中間調処理で生成するドットパターンの空間周波数が高いほど、カットオフ周波数の高いフィルタを用いることで、文字やエッジの暈けを防ぐことができる。   Also, the filter coefficient used in the filter processing unit 301 may be switched depending on the mode of halftone processing. Specifically, the lower the spatial frequency of the dot pattern generated by the halftone processing, the lower the frequency component contributing to the moire. Therefore, as the spatial frequency of the dot pattern generated by halftone processing is lower, a filter with a lower cutoff frequency is used. This makes it possible to reliably remove frequency components that cause moiré. On the other hand, as the spatial frequency of the dot pattern generated by the halftone processing is higher, blurring of characters and edges can be prevented by using a filter with a high cutoff frequency.

また、中間調処理回路260で実行するハーフトーンスクリーン処理のスクリーン線数に応じて、フィルタ処理部301で抽出する成分の空間周波数範囲の上限を設定しても構わない。つまり、スクリーン線数が高くなるにつれて、フィルタ処理部301で抽出する成分の空間周波数範囲の上限を高く設定する。   Further, the upper limit of the spatial frequency range of the component to be extracted by the filter processing unit 301 may be set according to the number of screen lines of the halftone screen processing executed by the halftone processing circuit 260. That is, as the number of screen lines increases, the upper limit of the spatial frequency range of the component extracted by the filter processing unit 301 is set higher.

<本実施例の効果について>
本実施例によれば、中間調処理において周期的なドットパターンを生成する画像処理装置において、中間調処理前の画像に周期的なパターンが含まれていても、中間調処理後の画像におけるモアレの発生を抑制できる。中間調処理において周期的なドットパターンを生成することで、特に、プリンタ部140に電子写真方式を採用した場合において、ランダムなドットパターンを生成する場合に比べ、低粒状性、即ち低ノイズな画像出力を実現できる。
<About the effect of this embodiment>
According to the present embodiment, in the image processing apparatus that generates a periodic dot pattern in halftone processing, even if the image before halftone processing includes a periodic pattern, moire in the image after halftone processing Can be suppressed. By generating a periodic dot pattern in halftone processing, in particular, when an electrophotographic method is adopted for the printer unit 140, an image with low graininess, that is, low noise, as compared to the case where a random dot pattern is generated. Output can be realized.

また、本実施例によれば、相関を判定することでエッジを跨がない平滑化が可能なため、特許文献1に記載の技術に比べて、高品位な平滑化画像が得られる。また、本実施例では、ブレンド比率の生成に用いる局所的な特徴量を算出するための回路が不要なため、特許文献1に記載の技術に比べて実装コストの増大を抑制できる。   Further, according to the present embodiment, since the smoothing can be performed without crossing the edge by determining the correlation, a high-quality smoothed image can be obtained as compared to the technique described in Patent Document 1. In addition, in the present embodiment, a circuit for calculating the local feature amount used for generating the blend ratio is unnecessary, so that the increase in the mounting cost can be suppressed as compared with the technique described in Patent Document 1.

また、本実施例では、特許文献2に記載の技術と異なり、相関判定に使用する参照画像(バンドパス画像)を生成する際、図5の符号502に示すように、AMスクリーンと干渉する周期的なパターンの周波数特性を考慮したフィルタを用いる。このフィルタは、モアレ発生の原因となる周期パターンを除去する特性を有する。そのため、特許文献2に記載の技術では、AMスクリーンと干渉する周期的なパターンが残る、或いは逆に、入力画像を暈し過ぎるという問題があったが、本実施例によれば、高画質なプリント出力物が得られる。   Further, in the present embodiment, unlike the technique described in Patent Document 2, when generating a reference image (band pass image) used for correlation determination, as shown by reference numeral 502 in FIG. Use a filter that takes into account the frequency characteristics of the typical pattern. This filter has a characteristic of removing a periodic pattern that causes moiré. Therefore, in the technique described in Patent Document 2, there is a problem that a periodic pattern that interferes with the AM screen remains, or conversely, the input image is excessively blurred, but according to the present embodiment, high image quality is obtained. A printed output is obtained.

また、特許文献2に記載の技術では、相関判定に使用する参照画像を生成する際、信号成分が含まれる第一の周波数帯域のパワーを上げる。一般的な画像において、直流付近の低周波成分は、信号成分を多く含んでいるため、特許文献2に記載の技術によれば、直流付近の低周波成分が増幅されてしまう。前述の通り、直流付近の低周波成分は、エッジ部だけでなくエッジ周辺部でも勾配を生じさせ、相関判定および平滑化において悪影響を与える。しかし、本実施例の構成によれば、符号502に示されるように直流付近の低周波成分を抑圧するフィルタを用いるため、エッジ周辺部における平滑化が不十分、或いは逆に、エッジ部を暈しすぎてしまうことを防ぐことができる。   Moreover, in the technique described in Patent Document 2, when generating a reference image used for correlation determination, the power of the first frequency band including the signal component is increased. In a general image, the low frequency component near the direct current contains a large amount of signal components. Therefore, according to the technique described in Patent Document 2, the low frequency component near the direct current is amplified. As described above, low frequency components near the direct current cause gradients not only at the edge but also at the edge periphery, which adversely affects the correlation determination and smoothing. However, according to the configuration of the present embodiment, as shown by reference numeral 502, a filter that suppresses low frequency components near the direct current is used, so that smoothing at the edge periphery is insufficient or vice versa. It can prevent you from doing too much.

また、特許文献2に記載の技術では、相関判定に使用する参照画像を生成する際、信号成分が含まれる第一の周波数帯域のパワーを上げる。一般的に、周波数成分のパワーを増幅すると、ダイナミックレンジが拡大する。そのため、参照画像の階調値を確実に表現するためには、参照画像のビット数を増やす必要があり、実装コストの観点からは不利である。しかし、本実施例の構成によれば、符号502に示されるように、参照画像を生成するフィルタの振幅特性の最大値を1以下に設定するため、参照画像のダイナミックレンジは拡大しない。そのため、参照画像の階調値を表現するためのビット数を増やす必要がなく、実装コストを抑えることができる。   Moreover, in the technique described in Patent Document 2, when generating a reference image used for correlation determination, the power of the first frequency band including the signal component is increased. In general, amplifying the power of frequency components expands the dynamic range. Therefore, in order to reliably represent the gradation value of the reference image, it is necessary to increase the number of bits of the reference image, which is disadvantageous from the viewpoint of the implementation cost. However, according to the configuration of the present embodiment, as indicated by reference numeral 502, the dynamic range of the reference image is not expanded because the maximum value of the amplitude characteristic of the filter for generating the reference image is set to 1 or less. Therefore, it is not necessary to increase the number of bits for expressing the gradation value of the reference image, and the mounting cost can be suppressed.

[実施例2]
実施例1には、相関判定に使用するバンドパス画像を生成した際にサイズの小さな文字が平滑化されてしまい、相関判定においてモアレ発生の原因となる周期パターンと区別が付かず、結果、平滑化部303において、周期パターンと同様に暈されてしまう虞がある。
Example 2
In the first embodiment, when a band pass image used for correlation determination is generated, characters of small size are smoothed, and in correlation determination, it is not distinguished from periodic patterns causing moiré occurrence, and as a result, smooth. In the conversion unit 303, there is a risk of being deceived in the same manner as the periodic pattern.

ところで、入力画像において、モアレ発生の原因となる周期パターンのみが存在する場合、バンドパス画像の画素値が広い範囲に渡って均一になる。一方、サイズの小さな文字が存在する場合は、文字の中心部付近ではバンドパス画像の画素値が均一になり、相関判定時に周期パターンと区別が付かなくなることがあるが、文字領域と周辺領域との境界付近において該画素値に変化が生じることが多い。そのため、バンドパス画像の画素値の変化を、複数画素の範囲に渡って評価することで、サイズの小さな文字と、周期パターンとを区別できる。   By the way, in the input image, when only a periodic pattern causing moiré occurrence is present, the pixel values of the band pass image become uniform over a wide range. On the other hand, if a small character exists, the pixel values of the band pass image become uniform near the center of the character, and it may not be distinguishable from the periodic pattern at the time of correlation determination. The pixel value often changes near the boundary of the pixel. Therefore, by evaluating the change of the pixel value of the band pass image over the range of a plurality of pixels, it is possible to distinguish between characters of small size and periodic patterns.

本実施例では、バンドパス画像の画素値の変化を、図4に示した3×3サイズの着目領域において評価、即ち変化量を導出し、該導出した変化量に応じて相関判定用閾値Thを場所によって変化させる。具体的には、変化量が大きい場所では、着目領域において文字やエッジが含まれていると判定し、相関判定用閾値Thを小さく設定することで、文字やエッジの形状の保持性能を高める。逆に、変化量が小さい場所では、着目領域において周期パターン以外は含まれていないと判定し、相関判定用閾値Thを大きく設定することで、周期パターンの除去性能を高める。尚、以下では既述の実施例との差分について主に説明し、既述の実施例と同様の内容については説明を適宜省略する。   In this embodiment, the change of the pixel value of the band pass image is evaluated in the 3 × 3 size target area shown in FIG. 4, that is, the amount of change is derived, and the threshold value for correlation determination Th according to the derived amount of change. Vary by location. Specifically, in a place where the amount of change is large, it is determined that a character or an edge is included in the region of interest, and the correlation determination threshold Th is set small to improve the retention performance of the shape of the character or the edge. Conversely, in places where the amount of change is small, it is determined that the area of interest does not include anything other than the periodic pattern, and the correlation determination threshold Th is set large to enhance the periodic pattern removal performance. In the following, differences from the above-described embodiment will be mainly described, and the description of the same contents as the above-described embodiment will be appropriately omitted.

<周期パターン除去処理について>
以下、本実施例における周期パターン除去回路230で実行される周期パターン除去処理について、図6を用いて説明する。本実施例でも実施例1と同様に、周期パターン除去回路230では、色成分毎に同じ処理が実行される。図6は、本実施例における周期パターン除去回路230のうち、1つの色成分(R、G、Bのうちの何れか)に対する処理を行う回路の一例を示すブロック図である。
<About periodic pattern removal processing>
Hereinafter, the periodic pattern removal process performed by the periodic pattern removal circuit 230 in the present embodiment will be described using FIG. Also in the present embodiment, in the periodic pattern removal circuit 230, the same processing is executed for each color component as in the first embodiment. FIG. 6 is a block diagram showing an example of a circuit for performing processing on one color component (any one of R, G, and B) of the periodic pattern removal circuit 230 in the present embodiment.

図示するように、本実施例における周期パターン除去回路230は、フィルタ処理部601と、相関判定部602と、平滑化部603とを備える。これらは、実施例1におけるフィルタ処理部301、相関判定部302、平滑化部303と同様のものである。但し、本実施例における周期パターン除去回路230は、閾値設定部604を備える点で実施例1と相違する。   As illustrated, the periodic pattern removal circuit 230 in the present embodiment includes a filter processing unit 601, a correlation determination unit 602, and a smoothing unit 603. These are similar to the filter processing unit 301, the correlation determination unit 302, and the smoothing unit 303 in the first embodiment. However, the periodic pattern removal circuit 230 in the present embodiment is different from the first embodiment in that a threshold value setting unit 604 is provided.

閾値設定部604は、バンドパス画像b(x、y)の画素値の変化量Eを、着目領域402を構成する複数画素の値から導出する。例えば、変化量Eを式(2)に従って算出することで、式(1)に示した相関判定のための演算と、回路を共通化でき、実装コストの増大を抑制できる。尚、変化量Eの導出方法は式(2)を用いる方法に限定されず、複数画素の範囲内におけるバンドパス画像の画素値の変化量を評価できれば、どのような方法で導出しても構わない。   The threshold setting unit 604 derives the change amount E of the pixel value of the band pass image b (x, y) from the values of a plurality of pixels forming the focused area 402. For example, by calculating the change amount E according to the equation (2), the circuit can be shared with the calculation for correlation determination shown in the equation (1), and an increase in mounting cost can be suppressed. The method of deriving the change amount E is not limited to the method using the equation (2), and any method may be used as long as the amount of change in the pixel value of the bandpass image within the range of a plurality of pixels can be evaluated. Absent.

そして、変化量Eが所定の閾値Th_Eより大きい場合は、着目領域において文字やエッジが含まれていると判定し、相関判定部602で使用する相関判定用閾値Thとして小さな値Th_1を設定することで、文字やエッジの形状の保持性能を高める。一方、変化量Eが所定の閾値Th_Eより小さい場合は、着目領域において周期パターン以外は含まれていないと判定し、相関判定用閾値Thとして、Th_1よりも大きな値Th_2を設定することで、周期パターンの除去性能を高める。尚、変化量Eが所定の閾値Th_Eと等しい場合は、相関判定用閾値Thとして、Th_1とTh_2との何れかを設定すれば良い。このように本実施例では、変化量Eが大きくなるにつれて平滑化部603における平滑化を抑制するように、相関判定用閾値Thを設定する。   Then, when the change amount E is larger than the predetermined threshold value Th_E, it is determined that a character or an edge is included in the target area, and the correlation determination unit 602 sets a small value Th_1 as the correlation determination threshold Th used. In order to improve the retention of character and edge shapes. On the other hand, when the change amount E is smaller than the predetermined threshold value Th_E, it is determined that the area of interest does not include anything other than the periodic pattern, and the correlation determination threshold Th is set to a value Th_2 larger than Th_1. Improve pattern removal performance. When the change amount E is equal to the predetermined threshold value Th_E, one of Th_1 and Th_2 may be set as the correlation determination threshold value Th. As described above, in the present embodiment, the correlation determination threshold Th is set so as to suppress the smoothing in the smoothing unit 603 as the change amount E becomes larger.

<本実施例の効果について>
本実施例によれば、サイズの小さな文字を暈すことなく、モアレ発生の原因となる周期パターンのみを好適に除去できる。
<About the effect of this embodiment>
According to the present embodiment, it is possible to preferably remove only the periodic pattern that is a cause of the occurrence of moiré without turning small characters.

[実施例3]
本実施例では、ゲインを掛けたバンドパス画像を入力画像に加算することで、入力画像を強調する。その他の構成は、実施例1と同様である。
[Example 3]
In this embodiment, the input image is emphasized by adding the band pass image multiplied by the gain to the input image. The other configuration is the same as that of the first embodiment.

<周期パターン除去処理について>
以下、本実施例における周期パターン除去回路230で実行される周期パターン除去処理について、図7を用いて説明する。本実施例でも実施例1と同様に、周期パターン除去回路230では、色成分毎に同じ処理が実行される。図7は、本実施例における周期パターン除去回路230のうち、1つの色成分(R、G、Bのうちの何れか)に対する処理を行う回路の一例を示すブロック図である。
<About periodic pattern removal processing>
The periodic pattern removal process executed by the periodic pattern removal circuit 230 in the present embodiment will be described below using FIG. Also in the present embodiment, in the periodic pattern removal circuit 230, the same processing is executed for each color component as in the first embodiment. FIG. 7 is a block diagram showing an example of a circuit for performing processing on one color component (any one of R, G and B) of the periodic pattern removal circuit 230 in the present embodiment.

図示するように、本実施例における周期パターン除去回路230は、フィルタ処理部701と、相関判定部702と、平滑化部703とを備える。これらは、実施例1におけるフィルタ処理部301、相関判定部302、平滑化部303と同様のものである。但し、本実施例における周期パターン除去回路230は、乗算部704及び加算部705を備える点で実施例1と相違する。   As illustrated, the periodic pattern removal circuit 230 in the present embodiment includes a filter processing unit 701, a correlation determination unit 702, and a smoothing unit 703. These are similar to the filter processing unit 301, the correlation determination unit 302, and the smoothing unit 303 in the first embodiment. However, the periodic pattern removal circuit 230 in the present embodiment is different from the first embodiment in that the multiplication unit 704 and the addition unit 705 are provided.

乗算部704は、バンドパス画像b(x、y)に所定のゲイン係数Gを乗算し、これによって得られる強調量d(x、y)を加算部705へ出力する。加算部705は、強調量d(x、y)を入力画像i(x、y)に加算し、これによって得られる先鋭性が強調された画像(強調画像とする)e(x、y)を平滑化部703へ出力する。平滑化部303は、強調画像e(x、y)に対する平滑化処理を行い、これによって得られる出力画像o(x、y)を色空間変換回路240へ出力する。   The multiplication unit 704 multiplies the band pass image b (x, y) by a predetermined gain coefficient G, and outputs an emphasis amount d (x, y) obtained thereby to the addition unit 705. The addition unit 705 adds the amount of enhancement d (x, y) to the input image i (x, y), and obtains an image (hereinafter referred to as an enhanced image) e (x, y) in which the sharpness is obtained. The signal is output to the smoothing unit 703. The smoothing unit 303 performs smoothing processing on the emphasized image e (x, y), and outputs an output image o (x, y) obtained thereby to the color space conversion circuit 240.

尚、フィルタ処理部701では、図5の符号502に示すような、直流(0cycle/mm)における振幅特性が略ゼロのフィルタ係数を使用する。この理由は、直流(0cycle/mm)における振幅特性がゼロでないフィルタ係数を用いると、強調量d(x、y)の平均値が略ゼロにならず、強調画像e(x、y)の平坦部における画素値が変化してしまい、出力画像の色味が変化してしまうからである。   The filter processing unit 701 uses a filter coefficient having substantially zero amplitude characteristics at direct current (0 cycle / mm) as indicated by reference numeral 502 in FIG. 5. The reason for this is that if a filter coefficient whose amplitude characteristic at direct current (0 cycle / mm) is not zero is used, the average value of the emphasis amount d (x, y) does not become substantially zero and the emphasis image e (x, y) is flat. This is because the pixel value in the unit changes, and the color of the output image changes.

<本実施例の効果について>
本実施例によれば、モアレ発生の原因となる周期パターンを除去する機能に加え、入力画像を強調する機能を実現できる。また、モアレ発生の原因となる周波数成分が除去されたバンドパス画像b(x、y)に基づいて強調処理を行うため、強調処理によって、モアレ発生の原因となる周波数成分が増幅されるといった弊害が発生しない。つまり、本実施例の構成によれば、モアレ発生の原因となる周波数成分のみを除去しつつ、さらに、モアレ発生の原因とならない周波数成分のみを強調することで、文字やエッジの視認性を向上させることができる。また、図5の符号502等のような直流(0cycle/mm)における振幅特性が略ゼロのフィルタ係数を使用することで、画像の全体的な色味を保つことができる。
<About the effect of this embodiment>
According to this embodiment, in addition to the function of removing the periodic pattern causing the moiré occurrence, the function of emphasizing the input image can be realized. In addition, since the emphasizing process is performed based on the band pass image b (x, y) from which the frequency component causing the moire generation is removed, the frequency component causing the moire generation is amplified by the emphasizing process. Does not occur. That is, according to the configuration of the present embodiment, the visibility of characters and edges is improved by emphasizing only the frequency components that do not cause moiré occurrence while removing only the frequency components that cause moiré occurrence. It can be done. Further, by using a filter coefficient of which the amplitude characteristic at direct current (0 cycle / mm) is substantially zero, such as the reference numeral 502 in FIG. 5, the overall tint of the image can be maintained.

[実施例4]
実施例1では、色成分ごとに相関判定を行うため、相関判定結果が色成分ごとに異なり、その結果、平滑化の程度も、色成分によって異なっていた。しかし、平滑化の程度が色成分によって異なると、エッジ部や細線部において色ズレが目立つことがある。
Example 4
In the first embodiment, since the correlation determination is performed for each color component, the correlation determination result is different for each color component, and as a result, the degree of smoothing is also different for each color component. However, if the degree of smoothing differs depending on the color component, color misregistration may be noticeable in the edge portion or thin line portion.

そこで、本実施例では、カラー画像の輝度成分(明るさ成分)に基づいてバンドパス画像を生成し、そのバンドパス画像を用いて相関判定を行う。そして、得られた相関判定結果を全ての色成分に対して共通に用いて、色成分ごとに平滑化を行う。これにより、平滑化の程度が色成分によらず同じになり、エッジ部や細線部における色ズレが目立たなくなる。また、フィルタ処理部と相関判定部を色成分ごとに持つ必要がないため、実施例1の構成に比べ、回路規模を小さくでき、実装コストを削減できる。   Therefore, in this embodiment, a band pass image is generated based on the luminance component (brightness component) of the color image, and the correlation determination is performed using the band pass image. Then, the obtained correlation determination result is commonly used for all color components, and smoothing is performed for each color component. As a result, the degree of smoothing becomes the same regardless of the color component, and the color shift in the edge portion and the thin line portion becomes inconspicuous. Further, since it is not necessary to have a filter processing unit and a correlation determination unit for each color component, the circuit scale can be made smaller and the mounting cost can be reduced compared to the configuration of the first embodiment.

<周期パターン除去処理について>
以下、本実施例における周期パターン除去回路230で実行される周期パターン除去処理について、図8を用いて説明する。図8は、本実施例における周期パターン除去回路230の一例を示すブロック図である。
<About periodic pattern removal processing>
Hereinafter, the periodic pattern removal process performed by the periodic pattern removal circuit 230 in the present embodiment will be described using FIG. FIG. 8 is a block diagram showing an example of the periodic pattern removal circuit 230 in the present embodiment.

図8に示す周期パターン除去回路230は、上述の実施例(図3、図6、図7参照)と異なり、全ての色成分に対する処理を行う構成を持つ。この周期パターン除去回路230は、フィルタ処理部802、相関判定部803、並びに、平滑化部804、平滑化部805、及び平滑化部806を備える。これらは、実施例1におけるフィルタ処理部301、相関判定部302、平滑化部303と同様のものである。但し、本実施例における周期パターン除去回路230は、輝度成分算出部801を備える点で実施例1と相違する。   The periodic pattern removal circuit 230 shown in FIG. 8 is different from the above-described embodiment (see FIGS. 3, 6, and 7), and has a configuration for performing processing for all color components. The periodic pattern removal circuit 230 includes a filter processing unit 802, a correlation determination unit 803, a smoothing unit 804, a smoothing unit 805, and a smoothing unit 806. These are similar to the filter processing unit 301, the correlation determination unit 302, and the smoothing unit 303 in the first embodiment. However, the periodic pattern removal circuit 230 in the present embodiment is different from the first embodiment in that a luminance component calculation unit 801 is provided.

輝度成分算出部801は、RGBの入力画像の各色の画素値に基づいて輝度画像L(x、y)を生成し、フィルタ処理部802に出力する。RGBの入力画像の各色の画素値をi_R(x、y)、i_G(x、y)、i_B(x、y)としたとき、輝度画像L(x、y)の画素値を、例えば式(3)に従って算出する。尚、輝度画像の導出方法は式(3)を用いる方法に限定されない。   The luminance component calculation unit 801 generates a luminance image L (x, y) based on the pixel values of each color of the RGB input image, and outputs the luminance image L (x, y) to the filter processing unit 802. Assuming that the pixel values of each color of the RGB input image are i_R (x, y), i_G (x, y), i_B (x, y), for example, the pixel values of the luminance image L (x, y) Calculate according to 3). The method of deriving the luminance image is not limited to the method using the equation (3).

フィルタ処理部802は、輝度画像L(x、y)からバンドパス画像b(x、y)を生成し、相関判定部803はこのバンドパス画像を用いて相関判定結果c(x、y)を導出する。平滑化部804は、入力画像i_R(x、y)に対する平滑化処理を行い、平滑化部805は、入力画像i_G(x、y)に対する平滑化処理を行い、平滑化部806は、入力画像i_B(x、y)に対する平滑化処理を行う。この際、平滑化部804、805、806は夫々、共通の相関判定結果c(x、y)に基づき、入力画像に対する平滑化処理を行う。   The filter processing unit 802 generates a band pass image b (x, y) from the luminance image L (x, y), and the correlation determination unit 803 uses the band pass image to generate a correlation determination result c (x, y). To derive. The smoothing unit 804 performs a smoothing process on the input image i_R (x, y), the smoothing unit 805 performs a smoothing process on the input image i_G (x, y), and the smoothing unit 806 performs an input image A smoothing process is performed on i_B (x, y). At this time, the smoothing units 804, 805, and 806 perform the smoothing process on the input image based on the common correlation determination result c (x, y).

<本実施例の効果等について>
本実施例によれば、エッジ部や細線部おける色ズレを発生させることなく、モアレ発生の原因となる周期パターンを除去できる。また、実施例1の構成に比べ、回路規模を小さくでき、実装コストを削減できる。
<About the effects of this embodiment>
According to this embodiment, it is possible to remove the periodic pattern that causes the occurrence of the moiré without generating the color shift in the edge portion or the thin line portion. In addition, the circuit scale can be reduced and the mounting cost can be reduced as compared with the configuration of the first embodiment.

尚、本実施例では輝度画像を用いて相関判定を行ったが、相関判定結果が色プレーン毎に異ならなければ良いので、色プレーン毎に相関判定した後、色プレーン毎の相関判定結果に基づいて、平滑化処理に用いる相関判定結果を導出しても良い。これにより、輝度画像のみを用いる場合に比べ、色ズレの抑制効果を高めることができる。   In the present embodiment, although the correlation determination is performed using the luminance image, it is preferable that the correlation determination result does not differ for each color plane, so after performing the correlation determination for each color plane, based on the correlation determination result for each color plane Thus, the correlation determination result used for the smoothing process may be derived. Thus, the effect of suppressing color misregistration can be enhanced as compared to the case of using only a luminance image.

例えば、平滑化処理に用いる相関判定結果を多数決で決めても良い。ここで、R、G、Bの相関判定結果をc_R(x、y)、c_G(x、y)、c_B(x、y)とし、着目領域403における、これらの画素値をc_Rij、c_Gij、c_Bijとする。また、平滑化に用いる相関判定結果をc(x、y)とし、着目領域403におけるc(x、y)の画素値をcijとする。このcijを多数決で決める場合は、着目領域403の(i、j)の位置におけるc_Rij、c_Gij、c_Bijのうち、いずれか2つ以上が1(相関あり)になった場合において、同じ位置(i、j)における画素値cijを1(相関あり)とする。一方、c_Rij、c_Gij、c_Bijのうち、いずれか2つ以上が0(相関なし)になった場合は、画素値cijを0(相関なし)とする。 For example, the correlation determination result used for the smoothing process may be determined by majority decision. Here, the correlation determination results of R, G, and B are c_R (x, y), c_G (x, y), c_B (x, y), and these pixel values in the region of interest 403 are c_R ij, c_G ij , C_B ij . Further, the correlation determination result used for smoothing is c (x, y), and the pixel value of c (x, y) in the focused area 403 is c ij . In the case where c ij is determined by majority, if any two or more of c_R ij, c_G ij , and c_B ij at the position of (i, j) in the region of interest 403 become 1 (correlated), The pixel value c ij at the same position (i, j) is 1 (correlated). On the other hand, when any two or more of c_R ij, c_G ij and c_B ij become 0 (no correlation), the pixel value c ij is set to 0 (no correlation).

または、平滑化優先モードでは、色プレーン毎の相関判定結果の論理和を使用し、鮮鋭化優先モードでは、色プレーン毎の相関判定結果の論理積を使用するといったように、モードによって使い分けても良い。即ち、平滑化優先モードでは、着目領域403の(i、j)の位置におけるc_Rij、c_Gij、c_Bijのいずれか1つ以上が1(相関あり)になった場合において、同じ位置(i、j)における画素値cijを1(相関あり)とする。一方、その他の場合においては0(相関なし)とする。また、鮮鋭化優先モードでは、c_Rij、c_Gij、c_Bijの全てが1(相関あり)になった場合において、同じ位置(i、j)における画素値cijを1(相関あり)とし、その他の場合においては0(相関なし)とする。 Alternatively, even in the smoothing priority mode, the logical sum of the correlation determination result for each color plane is used, and in the sharpening priority mode, the logical product of the correlation determination result for each color plane is used, depending on the mode. good. That is, in the smoothing priority mode, when one or more of c_R ij, c_G ij , and c_B ij at the position of (i, j) in the target area 403 become 1 (correlated), the same position (i the pixel value c ij in j) 1 (Yes correlation) to. On the other hand, in other cases, it is 0 (no correlation). In the sharpening priority mode, when c_R ij, c_G ij and c_B ij all become 1 (correlated), the pixel value c ij at the same position (i, j) is 1 (correlated), In other cases, it is 0 (no correlation).

または、色プレーン毎の相関判定結果を加算することで、各画素の値が色プレーン数に応じた多値(例えば、R、G、Bの場合、0、1、2、3)となるような共通の相関判定結果を導出しても良い。具体的には、着目領域403の(i、j)の位置におけるc_Rij、c_Gij、c_Bijの和を、同じ位置(i、j)における画素値cijとし、この多値の画素値cijに基づいて平滑化を行う。この場合、色成分ごとの平滑化手段は、共通の相関判定結果の画素値cijに応じた程度で平滑化を行う。例えば、公知のバイラテラルフィルタのように、入力画像i(x、y)の着目領域401における画素値iijと、画素値cijを画素ごとに乗算した値の総和を、画素値cijの総和で除算する。そして、この除算後の値を、着目画素の平滑化後の画素値として用いる。 Alternatively, by adding the correlation determination result for each color plane, the value of each pixel can be multi-valued (for example, 0, 1, 2, 3 in the case of R, G, B) according to the number of color planes Common correlation determination results may be derived. Specifically, the sum of c_R ij, c_G ij and c_B ij at the position (i, j) of the region of interest 403 is taken as the pixel value c ij at the same position (i, j). Smoothing is performed based on ij . In this case, the smoothing unit for each color component performs the smoothing to an extent according to the pixel value c ij of the common correlation determination result. For example, as in a known bilateral filter, the sum of the pixel value i ij in the target area 401 of the input image i (x, y) and the value obtained by multiplying the pixel value c ij for each pixel is the pixel value c ij Divide by the sum. Then, the value after this division is used as the pixel value after smoothing of the target pixel.

また、上述した実施例1〜4の形態を、適宜組み合わせて用いても構わない。   In addition, the forms of Embodiments 1 to 4 described above may be used in combination as appropriate.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.

Claims (15)

入力画像に基づき所定の空間周波数の範囲の成分を抽出するフィルタ処理を行うことで、バンドパス画像を生成するフィルタ処理手段と、
前記バンドパス画像に基づき、着目画素と、該着目画素の周辺画素との間に相関があるか判定する判定手段と、
前記判定手段が出力する相関判定結果に従い、前記入力画像に基づく平滑化を行う平滑化手段と、
前記平滑化手段の出力画像に基づき、ドットパターンを生成する中間調処理手段と
を有することを特徴とする画像処理装置。
A filter processing unit that generates a band pass image by performing filter processing that extracts a component of a predetermined spatial frequency range based on an input image;
A determination unit that determines whether there is a correlation between the pixel of interest and the peripheral pixels of the pixel of interest based on the band pass image;
Smoothing means for performing smoothing based on the input image according to the correlation determination result output by the determination means;
And a halftone processing unit configured to generate a dot pattern based on an output image of the smoothing unit.
前記所定の空間周波数の範囲は、前記ドットパターンと干渉してモアレを発生させる周波数成分と、直流付近の低周波成分とを除外した範囲であることを特徴とする請求項1に記載の画像処理装置。   The image processing according to claim 1, wherein the predetermined spatial frequency range is a range excluding a frequency component that causes moire due to interference with the dot pattern and a low frequency component near a direct current. apparatus. 前記フィルタ処理手段の振幅特性の最大値は、1以下であることを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the maximum value of the amplitude characteristic of the filter processing unit is 1 or less. 前記中間調処理手段は、所定の線数によるハーフトーンスクリーン処理を行い、
前記所定の線数が高いほど、前記所定の空間周波数の範囲の上限が高く設定されることを特徴とする請求項1乃至3の何れか1項に記載の画像処理装置。
The halftone processing means performs halftone screen processing with a predetermined number of lines,
The image processing apparatus according to any one of claims 1 to 3, wherein the upper limit of the predetermined spatial frequency range is set higher as the predetermined number of lines is higher.
前記バンドパス画像の着目領域における画素値の変化量を導出し、該導出した変化量に応じて、前記判定手段で用いる相関判定用の閾値を設定する設定手段を更に有することを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。   According to another aspect of the present invention, the image processing apparatus further comprises setting means for deriving change amounts of pixel values in a target area of the band pass image, and setting a threshold for correlation determination used in the determination means according to the derived change amounts. An image processing apparatus according to any one of Items 1 to 4. 前記設定手段は、前記変化量が大きくなるにつれて前記平滑化手段における前記平滑化を抑制するように前記相関判定用の閾値を設定することを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the setting unit sets a threshold for the correlation determination so as to suppress the smoothing in the smoothing unit as the amount of change increases. 前記バンドパス画像の画素値にゲイン係数を乗算することで、画素ごとの強調量を導出する導出手段と、
前記入力画像の画素値に前記強調量を加算することで、先鋭性が強調された強調画像を生成する生成手段と
を更に有し、
前記平滑化手段は、前記強調画像に対し前記平滑化を行うことを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。
Deriving means for deriving an emphasis amount for each pixel by multiplying the pixel value of the band pass image by a gain coefficient;
The image processing apparatus further comprises generation means for generating an emphasized image in which the sharpness is emphasized by adding the emphasis amount to pixel values of the input image,
The image processing apparatus according to any one of claims 1 to 4, wherein the smoothing unit performs the smoothing on the enhanced image.
前記入力画像は、複数の色成分を含み、
前記色成分ごとの前記平滑化手段は、前記複数の色成分の全てに対し共通に用いられる相関判定結果に従い、前記色成分ごとの前記平滑化を行うことを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。
The input image includes a plurality of color components,
5. The smoothing method according to claim 1, wherein the smoothing unit for each color component performs the smoothing for each color component in accordance with a correlation determination result commonly used for all of the plurality of color components. An image processing apparatus according to any one of the preceding claims.
前記複数の色成分のそれぞれの画素値に基づき、画素ごとの輝度を算出することで、輝度画像を生成する生成手段を更に有し、
前記フィルタ処理手段は、前記輝度画像に対し前記フィルタ処理を行うことで前記バンドパス画像を生成し、
前記判定手段は、前記生成されたバンドパス画像に基づき導出した前記相関判定結果を、前記共通に用いられる相関判定結果として、前記色成分ごとの平滑化手段に出力することを特徴とする請求項8に記載の画像処理装置。
The image processing apparatus further comprises generation means for generating a luminance image by calculating the luminance for each pixel based on the pixel value of each of the plurality of color components.
The filter processing unit generates the band pass image by performing the filter processing on the luminance image.
The present invention is characterized in that the determination means outputs the correlation determination result derived based on the generated band pass image to the smoothing means for each color component as the commonly used correlation determination result. 8. The image processing apparatus according to 8.
前記色成分ごとの前記判定手段は、前記着目画素と前記周辺画素との間の差分絶対値を算出し、該算出した差分絶対値が所定の閾値以下の場合に、該着目画素と該周辺画素との間に前記相関があると判定し、
前記共通に用いられる相関判定結果は、前記色成分ごとの相関判定結果に基づき導出されることを特徴とする請求項8に記載の画像処理装置。
The determination unit for each color component calculates a difference absolute value between the pixel of interest and the peripheral pixels, and when the calculated difference absolute value is less than or equal to a predetermined threshold, the pixel of interest and the peripheral pixels It is determined that the correlation is between
The image processing apparatus according to claim 8, wherein the correlation determination result commonly used is derived based on the correlation determination result for each color component.
前記共通に用いられる相関判定結果は、前記色成分ごとの相関判定結果を用いた多数決により導出されることを特徴とする請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein the commonly used correlation determination result is derived by a majority vote using the correlation determination result for each color component. 前記共通に用いられる相関判定結果は、前記色成分ごとの相関判定結果の論理和又は論理積であることを特徴とする請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein the commonly used correlation determination result is a logical sum or a logical product of the correlation determination result for each of the color components. 前記共通に用いられる相関判定結果は、前記色成分ごとの前記相関判定結果を加算することで導出され、
前記色成分ごとの平滑化手段は、前記共通に用いられる相関判定結果の画素値に応じた程度で前記平滑化を行うことを特徴とする請求項10に記載の画像処理装置。
The correlation determination result commonly used is derived by adding the correlation determination result for each color component,
The image processing apparatus according to claim 10, wherein the smoothing unit for each color component performs the smoothing to an extent according to a pixel value of the commonly used correlation determination result.
入力画像に基づき所定の空間周波数の範囲の成分を抽出するフィルタ処理を行うことで、バンドパス画像を生成する生成ステップと、
前記バンドパス画像に基づき、着目画素と、該着目画素の周辺画素との間に相関があるか判定する判定ステップと、
前記判定ステップにおける相関判定結果に従い、前記入力画像に基づく平滑化を行う平滑化ステップと、
前記平滑化ステップにおける出力画像に基づき、ドットパターンを生成する生成ステップと
を有することを特徴とする画像処理方法。
A generation step of generating a band pass image by performing a filter process of extracting a component of a predetermined spatial frequency range based on an input image;
A determination step of determining whether there is a correlation between the pixel of interest and the peripheral pixels of the pixel of interest based on the band pass image;
A smoothing step for performing smoothing based on the input image according to the correlation determination result in the determination step;
And D. generating a dot pattern based on the output image in the smoothing step.
コンピュータに請求項14に記載の方法を実行させるためのプログラム。   The program for making a computer perform the method of Claim 14.
JP2017220903A 2017-11-16 2017-11-16 Image processing equipment, image processing methods, and programs Active JP6976824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017220903A JP6976824B2 (en) 2017-11-16 2017-11-16 Image processing equipment, image processing methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017220903A JP6976824B2 (en) 2017-11-16 2017-11-16 Image processing equipment, image processing methods, and programs

Publications (2)

Publication Number Publication Date
JP2019092101A true JP2019092101A (en) 2019-06-13
JP6976824B2 JP6976824B2 (en) 2021-12-08

Family

ID=66836722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017220903A Active JP6976824B2 (en) 2017-11-16 2017-11-16 Image processing equipment, image processing methods, and programs

Country Status (1)

Country Link
JP (1) JP6976824B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215781A (en) * 2020-10-29 2021-01-12 杭州金衡和信息科技有限公司 Improved local binarization method
JP2021019257A (en) * 2019-07-18 2021-02-15 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus
CN116137842A (en) * 2020-07-22 2023-05-19 凸版印刷株式会社 Moire fringe generation prediction device, moire fringe generation prediction system, and moire fringe generation prediction method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021019257A (en) * 2019-07-18 2021-02-15 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus
JP7296040B2 (en) 2019-07-18 2023-06-22 京セラドキュメントソリューションズ株式会社 Image processing device and image forming device
CN116137842A (en) * 2020-07-22 2023-05-19 凸版印刷株式会社 Moire fringe generation prediction device, moire fringe generation prediction system, and moire fringe generation prediction method
CN116137842B (en) * 2020-07-22 2024-03-22 凸版印刷株式会社 Moire fringe generation prediction device, moire fringe generation prediction system, and moire fringe generation prediction method
CN112215781A (en) * 2020-10-29 2021-01-12 杭州金衡和信息科技有限公司 Improved local binarization method
CN112215781B (en) * 2020-10-29 2022-07-12 杭州金衡和信息科技有限公司 Improved local binarization method

Also Published As

Publication number Publication date
JP6976824B2 (en) 2021-12-08

Similar Documents

Publication Publication Date Title
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
JP4509415B2 (en) Image processing device
JP4988624B2 (en) Image processing apparatus, image processing method, and recording medium
KR102318488B1 (en) Image processing apparatus and image processing method
JP2008227759A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
JP4381360B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4243854B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
JP5275325B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP5534787B2 (en) Image processing apparatus and image processing method
JP6976824B2 (en) Image processing equipment, image processing methods, and programs
JP2004289819A (en) Image forming device and method
JP6271874B2 (en) Image processing apparatus and image processing method
JP4596964B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4570534B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer program
JP4228466B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP2018198001A (en) Image processing device, image processing method and program
JP2002158872A (en) Image processing method, image processor and recording medium
JP2004112728A (en) Image processing apparatus
JP4771902B2 (en) Image processing apparatus and image processing method
JP4080252B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP4792893B2 (en) Image processing apparatus and program
JP4084537B2 (en) Image processing apparatus, image processing method, recording medium, and image forming apparatus
JP3965647B2 (en) Image processing apparatus, image processing method, program for executing the method, and recording medium storing the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211004

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211110

R151 Written notification of patent or utility model registration

Ref document number: 6976824

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151