JP2001128005A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JP2001128005A
JP2001128005A JP30106299A JP30106299A JP2001128005A JP 2001128005 A JP2001128005 A JP 2001128005A JP 30106299 A JP30106299 A JP 30106299A JP 30106299 A JP30106299 A JP 30106299A JP 2001128005 A JP2001128005 A JP 2001128005A
Authority
JP
Japan
Prior art keywords
pixel
image
processing
output
periodicity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30106299A
Other languages
Japanese (ja)
Inventor
Itaru Furukawa
至 古川
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP30106299A priority Critical patent/JP2001128005A/en
Publication of JP2001128005A publication Critical patent/JP2001128005A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a picture processing method for suppressing the occurrence or moire at the time of outputting to an output unit. SOLUTION: The periodicity of a digital picture is detected and the area of a processing object is extracted (step S1). The maximum shift quantity of a pixel in the area of the processing object is obtained based on the output pixel period of an output unit or a picture period corresponding to periodicity (step S2). The pixel in the area of the processing object is set be a pixel under consideration. When the position of the pixel under consideration is assumed to be shifted based on maximum shift quantity, a processing for obtaining the new gradation value of the noticed pixel, which corresponds to the shifted position, based on the gradation value of the nearby pixel in the shifted position, is sequentially executed by making the respective pixels as the pixels under consideration (steps S3 and S4). The digital picture substituted for the new gradation value is outputted to the output unit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、原稿などを入力機
器で入力して得られたデジタル画像に対して処理を施し
て出力機器に出力する画像処理方法に係り、特に出力機
器への出力に伴うモアレの発生を抑制する技術に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method for processing a digital image obtained by inputting a document or the like with an input device and outputting the processed digital image to an output device. The present invention relates to a technique for suppressing the occurrence of moiré.

【0002】[0002]

【従来の技術】例えば、CCDなどの入力機器で入力し
た高精細画像(例えば、200dpi)のデジタル画像
を、ディスプレイなどの低解像度(例えば、72dp
i)の機器に出力する際には、デジタル画像を低解像度
に変換する必要がある。また、印刷機器などの出力機器
(例えば、出力解像度:400dpI,スクリーン線
数:175線)にデジタル画像を出力して印刷するには
網点化処理によって網点画像に変換される。
2. Description of the Related Art For example, a digital image of a high-definition image (for example, 200 dpi) input by an input device such as a CCD is converted to a low-resolution (for example, 72 dpi) image of a display or the like.
When outputting to a device i), it is necessary to convert a digital image to a low resolution. Further, in order to output and print a digital image to an output device such as a printing device (for example, output resolution: 400 dpi, number of screen lines: 175 lines), the digital image is converted into a halftone image by halftoning processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うにデジタル画像を低解像度に変換したり、網点化処理
を施した場合には、出力後の画像にモアレが発生する場
合がある。
However, when a digital image is converted to a low resolution or subjected to a halftone process as described above, moire may be generated in the output image.

【0004】前記解像度変換においては、デジタル画像
をリサンプリングして低解像度の画像を得ることが多
い。そして、高精細画像がある周期性の画像パターンを
持っていると、高精細画像がもっていた画像情報がリサ
ンプリングによって欠落し、一方、リサンプリング後の
低解像度画像に高精細画像になかった画素濃度(階調
値)の周期変動(いわゆるモアレ)が発生することがあ
る。
In the resolution conversion, a digital image is often resampled to obtain a low-resolution image. If the high-definition image has a certain periodic image pattern, the image information of the high-definition image is lost by resampling, while the pixels that are not included in the high-resolution image in the low-resolution image after resampling. Periodic fluctuations (so-called moiré) of the density (gradation value) may occur.

【0005】図12は、画像パターンの周期と出力機器
の画素周期(解像度の逆数)の対応関係を示す模式図で
ある。画像パターンAは、ここではX方向に2画素周期
でかつY方向に連続した黒パターン(階調255)をも
つものとする。今、この画像Aの解像度を200DPI
として、画像Aを低解像度化するために、例えば、縮小
投影法で画像B(例えば、72DPI)に変換する。こ
のとき図12で示されるように画像Bの1画素に対応す
る、画像Aの黒パターン領域の割合が画素位置で異な
り、画像Bの各画素値は概略92,143,133とな
る。したがって、画像Aに一定周期で黒パターンが存在
するにもかかわらず、解像度変換後においては画像Bの
各画素値に元の画像とは異なる濃度変動が発生してい
る。この濃度変動が長周期で現れると、モアレとして認
識されることになる。
FIG. 12 is a schematic diagram showing the correspondence between the period of an image pattern and the pixel period (reciprocal of resolution) of an output device. Here, it is assumed that the image pattern A has a black pattern (gradation 255) continuous in the Y direction at a two-pixel cycle in the X direction. Now, the resolution of this image A is 200 DPI
For example, in order to reduce the resolution of the image A, the image A is converted into an image B (for example, 72 DPI) by a reduction projection method. At this time, as shown in FIG. 12, the ratio of the black pattern area of the image A corresponding to one pixel of the image B differs depending on the pixel position, and the pixel values of the image B are approximately 92, 143, and 133. Therefore, despite the presence of the black pattern in the image A at a constant period, a density variation different from that of the original image occurs in each pixel value of the image B after the resolution conversion. If this density variation appears in a long cycle, it will be recognized as moire.

【0006】また、網点化処理時に発生するモアレは、
次のような原理で発生すると考えられる。つまり、網点
ピッチとデジタル画像の画素ピッチが整数比の関係でな
い場合に生じるモアレである。
Further, moire generated at the time of halftoning processing is as follows.
It is thought to occur according to the following principle. In other words, moiré occurs when the halftone dot pitch and the pixel pitch of the digital image do not have a relationship of an integer ratio.

【0007】図10は、網点ピッチとデジタル画像の画
素ピッチとの比が整数比の関係にある場合において、5
0%濃度の階調値を有する画素DAを網点化する例を示
すものである。
FIG. 10 shows a case where the ratio between the halftone dot pitch and the pixel pitch of the digital image has an integer ratio.
This shows an example in which a pixel DA having a gradation value of 0% density is halftone-dotted.

【0008】ここでは、例えば、網点の線数が175線
(1インチあたりの線数)、画素ピッチが350DPI
(1インチあたりの画素数)である場合のように、網点
ピッチU1(=1/175(インチ))と画素ピッチU
2(=1/350(インチ))との比は、U1/U2が
350/175=2/1=2(整数)の場合を示してい
る。この場合は、元のデジタル画像における各画素が網
点化される際に、網点パターンの単位領域DUと個々の
画素DAとの間での相対位置関係はどの部分でも同一で
あって、どの画素位置に存在する画素であっても、同様
の網点面積を持つように網点化される。
In this case, for example, the number of halftone dots is 175 (the number of lines per inch) and the pixel pitch is 350 DPI.
(Number of pixels per inch), the halftone dot pitch U1 (= 1/175 (inch)) and the pixel pitch U
The ratio to 2 (= 1/350 (inch)) indicates a case where U1 / U2 is 350/175 = 2/1 = 2 (integer). In this case, when each pixel in the original digital image is converted to a halftone dot, the relative positional relationship between the unit area DU of the halftone dot pattern and each pixel DA is the same in any part, and Even a pixel existing at a pixel position is halftoned so as to have the same halftone area.

【0009】しかし、網点ピッチとデジタル画像の画素
ピッチとの比が整数比の関係でない場合には、網点化処
理において、原画像の画素が同じ濃度(階調値)を有す
る場合であっても、網点化時における画素の相対位置に
応じて網点化の結果(網点化時の面積の大きさ)は異な
るものとなる。
However, when the ratio between the halftone dot pitch and the pixel pitch of the digital image is not a relationship of an integer ratio, the pixels of the original image have the same density (tone value) in the halftoning process. However, the result of the halftone dot conversion (the size of the halftone dot area) differs depending on the relative position of the pixel at the time of halftone dot conversion.

【0010】例えば、図11において網点の線数が17
5線、画素ピッチが400DPIである場合のように、
網点ピッチU1(=1/175インチ)と画素ピッチU
3(1/400インチ)との比U1/U3が400/1
75=2.2、すなわち、整数でない場合について考え
る。この場合、デジタル画像の各画素DAと網点パター
ン上における単位網点領域DUとの相対位置は、徐々に
ずれてゆき比較的大きな周期で変動する。したがって、
網点パターン上での画素の相対位置が、Aの位置に存在
することもあれば、Bの位置に存在することもある。そ
して、Aの位置においては、網点化時の網点面積が小さ
く、Bの位置においては網点化時の網点面積が大きくな
る。したがって、元の画像において、同一濃度の画素が
連続する場合においても、網点化時における画素の位置
がAからBなどへと比較的大きな周期で変動すれば、そ
れに伴って網点時の網点面積が変動することになる。こ
の網点面積の周期的な変動が、人間の目には画像の濃度
値が周期的に変化するように映り、いわゆるモアレ現象
として捉えられることになる。
For example, in FIG. 11, the number of halftone dots is 17
5 lines, pixel pitch is 400DPI,
Halftone dot pitch U1 (= 1/175 inch) and pixel pitch U
3 (1/400 inch) ratio U1 / U3 is 400/1
Consider the case where 75 = 2.2, that is, not an integer. In this case, the relative position between each pixel DA of the digital image and the unit halftone dot area DU on the halftone dot pattern gradually shifts and changes at a relatively large cycle. Therefore,
The relative positions of the pixels on the halftone dot pattern may be at the position of A or may be at the position of B. Then, at the position A, the halftone dot area at the time of halftoning is small, and at the position B, the halftone dot area at the time of halftoning becomes large. Therefore, even if pixels of the same density continue in the original image, if the position of the pixel at the time of halftoning fluctuates at a relatively large cycle from A to B, etc. The point area will fluctuate. The periodic fluctuation of the halftone dot area appears to the human eye as if the density value of the image changes periodically, and is perceived as a so-called moire phenomenon.

【0011】そして、上記のような解像度変換や網点化
によって発生するモアレは、画像品質を低下させる元と
なり、画像出力時に大きな障害となる。
The moiré generated by the above-described resolution conversion and halftoning causes deterioration in image quality, and becomes a major obstacle at the time of image output.

【0012】本発明は、このような事情に鑑みてなされ
たものであって、出力機器への出力時にモアレが発生す
ることを抑制することができる画像処理方法を提供する
ことを目的とする。
The present invention has been made in view of such circumstances, and has as its object to provide an image processing method capable of suppressing occurrence of moire at the time of output to an output device.

【0013】[0013]

【課題を解決するための手段】本発明は、このような目
的を達成するために、次のような構成をとる。すなわ
ち、請求項1に記載の発明は、出力機器に対してデジタ
ル画像を出力する画像処理方法であって、デジタル画像
の周期性を検出して処理対象領域を抽出し、出力機器の
出力画素周期または前記周期性に応じた画像周期のいず
れか一方に基づき処理対象領域内の画素の最大シフト量
を求め、前記処理対象領域内の画素を注目画素として、
前記最大シフト量に基づきその注目画素の位置をシフト
したと仮定したときに、そのシフト後の位置の近傍画素
の階調値に基づき、そのシフト後の位置に応じたその注
目画素の新たな階調値を求める処理を、各画素を順次注
目画素として行い、新たな階調値で置換したデジタル画
像を前記出力機器に出力することを特徴とするものであ
る。
The present invention has the following configuration in order to achieve the above object. In other words, the invention according to claim 1 is an image processing method for outputting a digital image to an output device, wherein a periodicity of the digital image is detected to extract a processing target area, and an output pixel period of the output device is determined. Or the maximum shift amount of the pixel in the processing target area is determined based on one of the image periods according to the periodicity, and the pixel in the processing target area is set as a target pixel,
When it is assumed that the position of the target pixel has been shifted based on the maximum shift amount, a new floor of the target pixel corresponding to the shifted position is determined based on the tone value of a neighboring pixel of the shifted position. A process for obtaining a tone value is performed by sequentially setting each pixel as a target pixel, and a digital image replaced with a new tone value is output to the output device.

【0014】また、請求項2に記載の発明によれば、請
求項1に記載の画像処理方法において、前記最大シフト
量は、前記出力画素周期と前記画像周期のうち小さい方
の周期に基づき求められることを特徴とするものであ
る。
According to a second aspect of the present invention, in the image processing method according to the first aspect, the maximum shift amount is obtained based on a smaller one of the output pixel cycle and the image cycle. It is characterized by being able to.

【0015】また、請求項3に記載の発明によれば、網
点で表現する出力機器に対してデジタル画像を出力する
画像処理方法であって、デジタル画像の周期性を検出し
て処理対象領域を抽出し、出力機器の出力網点周期また
は前記周期性に応じた画像周期のいずれか一方に基づき
処理対象領域内の画素の最大シフト量を求め、前記処理
対象領域内の画素を注目画素として、前記最大シフト量
に基づきその注目画素の位置をシフトしたと仮定したと
きに、そのシフト後の位置の近傍画素の階調値に基づ
き、そのシフト後の位置に応じたその注目画素の新たな
階調値を求める処理を、各画素を順次注目画素として行
い、新たな階調値で置換したデジタル画像を前記出力機
器に出力することを特徴とするものである。
According to the third aspect of the present invention, there is provided an image processing method for outputting a digital image to an output device represented by a halftone dot, wherein the periodicity of the digital image is detected and the processing target area is detected. Is extracted, the maximum shift amount of the pixel in the processing target area is obtained based on one of the output halftone cycle of the output device or the image cycle according to the periodicity, and the pixel in the processing target area is set as a target pixel. When it is assumed that the position of the pixel of interest has been shifted based on the maximum shift amount, a new value of the pixel of interest corresponding to the shifted position is determined based on the tone value of a pixel near the shifted position. The processing for obtaining the gradation value is performed by sequentially setting each pixel as a target pixel, and a digital image replaced with a new gradation value is output to the output device.

【0016】また、請求項4に記載の発明によれば、請
求項3に記載の画像処理方法において、前記最大シフト
量は、前記出力網点周期と前記画像周期のうち小さい方
の周期に基づき求められることを特徴とするものであ
る。
According to a fourth aspect of the present invention, in the image processing method according to the third aspect, the maximum shift amount is determined based on a smaller one of the output halftone cycle and the image cycle. It is a feature that is required.

【0017】[0017]

【作用】請求項1に記載の発明の作用は次のとおりであ
る。まず、デジタル画像の周期性からモアレが発生し易
い処理対象領域を検出し、出力機器の出力画素周期また
はその周期性に応じた画像周期のいずれか一方に基づき
処理対象領域内の画素の最大シフト量を求める。そし
て、処理対象領域内の画素を注目画素として、その注目
画素を最大シフト量に基づきシフトしたと仮定したとき
に、そのシフト後の位置の近傍画素の階調値に基づい
て、シフト後の位置に応じた注目画素の新たな階調値を
求める処理を、各画素を順に注目画素として行う。そし
て、各画素の階調値を新たな階調値で置換した処理後の
デジタル画像を得る。この処理により、出力機器の出力
画素周期と画像周期との間の周期性が崩れるので、モア
レを抑制することができる。
The operation of the first aspect of the invention is as follows. First, the processing target area where moiré is likely to occur is detected from the periodicity of the digital image, and the maximum shift of the pixel in the processing target area is determined based on either the output pixel cycle of the output device or the image cycle according to the periodicity. Find the quantity. Then, when it is assumed that a pixel in the processing target region is a target pixel and the target pixel is shifted based on the maximum shift amount, the position after the shift is determined based on the tone value of a neighboring pixel of the position after the shift. The process of obtaining a new gradation value of the target pixel according to is performed with each pixel as the target pixel in order. Then, a digital image after processing in which the gradation value of each pixel is replaced with a new gradation value is obtained. This process breaks the periodicity between the output pixel cycle of the output device and the image cycle, so that moiré can be suppressed.

【0018】また、請求項2に記載の発明によれば、出
力画素周期と画像周期のうちの小さいほうの周期に基づ
いて最大シフト量を求めることで、最大シフト量を最小
限にすることができる。
According to the second aspect of the present invention, the maximum shift amount is minimized by obtaining the maximum shift amount based on the smaller one of the output pixel period and the image period. it can.

【0019】また、請求項3に記載の発明によれば、ま
ず、デジタル画像の周期性からモアレが発生し易い処理
対象領域を検出し、出力機器の出力網点周期またはその
周期性に応じた画像周期のいずれか一方に基づき処理対
象領域内の画素の最大シフト量を求める。そして、処理
対象領域内の画素を注目画素として、その注目画素を最
大シフト量に基づきシフトしたと仮定したときに、その
シフト後の位置の近傍画素の階調値に基づいて、シフト
後の位置に応じた注目画素の新たな階調値を求める処理
を、各画素を順に注目画素として行う。そして、各画素
の階調値を新たな階調値で置換した処理後のデジタル画
像を得る。この処理により、出力機器の出力網点周期と
画像周期との間の周期性が崩れるので、モアレを抑制す
ることができる。
According to the third aspect of the present invention, first, a processing target area in which moire is likely to occur is detected from the periodicity of the digital image, and the output halftone cycle of the output device or the periodicity thereof is determined. The maximum shift amount of the pixel in the processing target area is obtained based on one of the image periods. Then, when it is assumed that a pixel in the processing target region is a target pixel and the target pixel is shifted based on the maximum shift amount, the position after the shift is determined based on the tone value of a neighboring pixel of the position after the shift. The process of obtaining a new gradation value of the target pixel according to is performed with each pixel as the target pixel in order. Then, a digital image after processing in which the gradation value of each pixel is replaced with a new gradation value is obtained. By this processing, the periodicity between the output dot cycle of the output device and the image cycle is broken, so that moire can be suppressed.

【0020】また、請求項4に記載の発明によれば、出
力網点周期と画像周期のうちの小さいほうの周期に基づ
いて最大シフト量を求めることで、最大シフト量を最小
限にすることができる。
According to the present invention, the maximum shift amount is minimized by obtaining the maximum shift amount based on the smaller one of the output halftone period and the image period. Can be.

【0021】[0021]

【発明の実施の形態】以下、図面を参照して本発明の一
実施例を説明する。図1は本発明に係る画像処理方法を
実施するための画像処理装置のハードウエア構成の一例
を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of a hardware configuration of an image processing device for implementing an image processing method according to the present invention.

【0022】この実施例装置はコンピュータシステムで
構成されており、CPU1は内部メモリ3に記憶された
処理プログラムに従って、処理対象領域を抽出する処理
(処理対象領域抽出処理)や、出力機器を考慮したモア
レの発生を抑制する画像処理(モアレ抑制処理)の他、
シャープネス処理などの画像処理や網点化処理などの処
理を実行する。
The apparatus of this embodiment is constituted by a computer system, and the CPU 1 takes into account processing for extracting a processing target area (processing target area extraction processing) in accordance with the processing program stored in the internal memory 3 and output equipment. In addition to image processing to suppress the occurrence of moiré (moiré suppression processing),
Image processing such as sharpness processing and processing such as halftoning are executed.

【0023】CPU1と内部メモリ3とはバスライン5
を介して接続されている。内部メモリ3には、処理プロ
グラムを記憶するプログラム記憶部3aの他にも、少な
くともモアレ抑制処理を施す前のデジタル画像(処理前
画像)を記憶する処理前画像記憶部3bや、モアレ抑制
処理を施した後のデジタル画像(処理後画像)を記憶す
る処理後画像記憶部3cを有する。
The CPU 1 and the internal memory 3 are connected to a bus line 5
Connected through. The internal memory 3 includes, in addition to the program storage unit 3a for storing the processing program, a pre-processing image storage unit 3b for storing at least a digital image (pre-processing image) before the moiré suppression processing is performed, and a moiré suppression processing. It has a processed image storage unit 3c for storing the digital image (processed image) after the application.

【0024】また、CPU1は、入出力インターフェイ
ス9を介して、ポインティングデバイスの一例であるマ
ウス11と、記憶媒体13を装填される記憶媒体用ドラ
イバ15と、外部記憶装置17と、表示装置19と、入
力装置21と、画像入力器23と、印刷装置25などに
も接続されている。
The CPU 1 further includes a mouse 11, which is an example of a pointing device, a storage medium driver 15 in which a storage medium 13 is loaded, an external storage device 17, a display device 19, via an input / output interface 9. , An input device 21, an image input device 23, a printing device 25, and the like.

【0025】プログラム記憶部3aには、記憶媒体用ド
ライバ15に装填された記憶媒体13から読み出された
処理プログラムが転送されて記憶され、CPU1によっ
て実行されるようになっている。
The processing program read from the storage medium 13 loaded in the storage medium driver 15 is transferred to and stored in the program storage unit 3a, and is executed by the CPU 1.

【0026】マウス11は、処理後画像を出力する先を
指示したり、後述する設定値CKを、CRTなどで構成
される表示装置19に表示されたグラフィカルなメニュ
ーからオペレータが指示するときなどに用いられる。
The mouse 11 is used to indicate a destination to output an image after processing, or to input a setting value CK, which will be described later, from a graphical menu displayed on a display device 19 such as a CRT. Used.

【0027】ハードディスクや光磁気ディスクなどで構
成される外部記憶装置17は、処理前画像や処理後画像
などの画像の保存などに用いられる。また、キーボード
などで構成される入力装置21は、オペレータからの各
種の指示や処理に必要なデータの設定などに用いられ
る。さらに、印刷装置25は、網点化処理された処理後
画像を印刷するために使用される。
The external storage device 17 composed of a hard disk, a magneto-optical disk, or the like is used for storing images such as images before processing and images after processing. The input device 21 composed of a keyboard or the like is used for various instructions from an operator and setting of data necessary for processing. Further, the printing device 25 is used to print the post-processing image that has been subjected to the halftone processing.

【0028】画像入力器23によって読み込まれたデジ
タル画像(処理前画像)は、内部メモリ3内の処理前画
像記憶部3bに記憶され、この処理前画像に対して、後
述するような処理対象領域抽出処理やモアレ抑制処理が
施される。
The digital image (pre-processing image) read by the image input unit 23 is stored in a pre-processing image storage section 3b in the internal memory 3, and the pre-processing image has a processing target area as described later. Extraction processing and moiré suppression processing are performed.

【0029】図2は画像処理方法を実施する画像処理装
置の機能ブロック図であり、図3は画像処理方法の一手
順を示すフローチャートである。
FIG. 2 is a functional block diagram of an image processing apparatus for executing the image processing method, and FIG. 3 is a flowchart showing one procedure of the image processing method.

【0030】この画像処理装置は機能的に、周期性に基
づいて処理対象領域抽出処理を実行する処理対象領域抽
出部31と、モアレ抑制処理を実行するモアレ抑制処理
部41とに分けられる。また、モアレ抑制処理部41
は、出力機器を考慮して処理対象領域内の各画素に対す
るシフトデータを決定するシフトデータ決定部43と、
処理対象領域内の各画素の新たな階調値を求めて処理後
画像記憶部3cに記憶するとともに、処理前画像の内の
処理対象領域外の各画素の階調値を処理前画像記憶部3
bから処理後画像記憶部3cにそのまま転写する処理後
画像生成部45とに分けられている。
This image processing apparatus is functionally divided into a processing target area extracting section 31 for executing processing target area extracting processing based on periodicity, and a moiré suppressing processing section 41 for executing moiré suppressing processing. The moiré suppression processing unit 41
Is a shift data determining unit 43 that determines shift data for each pixel in the processing target area in consideration of an output device,
A new gradation value of each pixel in the processing target area is obtained and stored in the post-processing image storage unit 3c, and the gradation value of each pixel in the pre-processing image outside the processing target area is calculated. 3
b, and a post-processing image generation unit 45 that transfers the image data as it is to the post-processing image storage unit 3c.

【0031】図3に示すように、処理の手順は、処理対
象領域抽出部31が、処理前画像内においてモアレ抑制
処理を施す処理対象領域(モアレが発生する可能性があ
る画像領域)である、周期性を有する画像パターンが存
在する画像領域を抽出する(ステップS1)。この抽出
された処理対象領域に関する情報は、モアレ抑制処理部
41内のシフトデータ決定部43と処理後画像生成部4
5とに与えられ、この処理対象領域内の画像パターンの
周期性を示す周期性データ(詳細は後述する)がシフト
データ決定部43に与えられる。
As shown in FIG. 3, the processing procedure is a processing target area (an image area in which moiré may occur) in which the processing target area extracting unit 31 performs the moiré suppression processing in the image before processing. Then, an image area where an image pattern having periodicity exists is extracted (step S1). The extracted information about the processing target area is stored in the shift data determination unit 43 and the post-processing image generation unit 4 in the moiré suppression processing unit 41.
5, and periodic data (which will be described in detail later) indicating the periodicity of the image pattern in the processing target area is supplied to the shift data determining unit 43.

【0032】次に、シフトデータ決定部43が、与えら
れた周期性データや、入力装置21から与えられた指示
や設定値などや、表示装置19や印刷装置25などの出
力機器の解像度や網点周期に基づき、ステップS1で抽
出された処理対象領域内の各画素に対するシフトデータ
を決定する(ステップS2)。
Next, the shift data determining unit 43 determines the given periodic data, the instructions and set values given from the input device 21, the resolution and the network of the output device such as the display device 19 and the printing device 25, and the like. The shift data for each pixel in the processing target area extracted in step S1 is determined based on the point cycle (step S2).

【0033】そして、処理後画像生成部45が、ステッ
プS1で抽出された処理対象領域内の画素を注目画素と
して、その注目画素に対して決定した、シフトデータに
基づきその注目画素の位置をシフトしたと仮定したとき
に、そのシフト後の位置の近傍画素の階調値に基づき、
そのシフト後の位置に応じたその注目画素の新たな階調
値を求め、その新たな階調値を、その注目画素に対応す
る処理後画像記憶部3c内の画素の階調値として記憶す
る処理(ステップS3)を、処理対象領域内の各画素を
順次注目画素として行う(ステップS4)。最後に、処
理後画像生成部45は、処理前画像の内の処理対象領域
外の各画素の階調値を処理前画像記憶部3bから処理後
画像記憶部3cにそのまま転写し、処理後画像を処理後
画像記憶部3cに生成する(ステップS5)。そして、
その処理後画像を表示装置19に出力して表示したり、
印刷装置25に出力して印刷する。
Then, the post-processing image generation unit 45 sets the pixel in the processing target area extracted in step S1 as a target pixel, and shifts the position of the target pixel based on the shift data determined for the target pixel. When it is assumed that the grayscale values of the neighboring pixels at the shifted position are obtained,
A new tone value of the pixel of interest corresponding to the shifted position is obtained, and the new tone value is stored as a tone value of a pixel in the processed image storage unit 3c corresponding to the pixel of interest. The process (step S3) is performed by sequentially setting each pixel in the processing target area as a target pixel (step S4). Lastly, the post-processing image generation unit 45 directly transfers the tone values of each pixel outside the processing target area in the pre-processing image from the pre-processing image storage unit 3b to the post-processing image storage unit 3c, and outputs the post-processing image. Is generated in the processed image storage unit 3c (step S5). And
The processed image is output to the display device 19 for display,
The data is output to the printing device 25 and printed.

【0034】次に、図3のステップS1〜S3の処理内
容を詳細に説明する。
Next, the processing contents of steps S1 to S3 in FIG. 3 will be described in detail.

【0035】〔ステップS1〕周期性を有する画像パタ
ーンが存在する画像領域の抽出を、処理前画像の自己相
関特性を調べることによって行う。例えば、二次元の処
理前画像内で互いに直交する画素列方向であるx方向/
y方向それぞれに沿った周期性を有する画像パターンの
存在を調べて処理対象領域を抽出するために、x方向/
y方向それぞれに自己相関データH(a),V(a) を求めるこ
とによって上記特性を求める。
[Step S1] An image area in which an image pattern having periodicity is present is extracted by examining the autocorrelation characteristics of the image before processing. For example, in the x-direction, which is a pixel column direction orthogonal to each other in a two-dimensional image before processing,
In order to check for the presence of an image pattern having periodicity along each of the y directions and to extract a processing target area,
The above characteristics are obtained by obtaining the autocorrelation data H (a) and V (a) in each of the y directions.

【0036】すなわち、処理前画像の画素を中心画素(x
c,yc) として、以下の式(1),(2) によって中心画素(xc,
yc) の周辺領域の自己相関データH(a,b),V(a,b) を求め
るのである。
That is, the pixel of the image before processing is set to the central pixel (x
c, yc), the central pixel (xc,
The autocorrelation data H (a, b) and V (a, b) of the surrounding area of yc) are obtained.

【0037】 H(a)= Σj ABS {P (xc+a+i,yc) - P (xc+i,yc) }……… (1) 〔i=-m〜+m〕, 〔a= -wx〜+wx 〕H (a) = Σj ABS {P (xc + a + i, yc) −P (xc + i, yc)}… (1) [i = -m to + m], [a = -wx ~ + wx)

【0038】 V(b)= Σj ABS {P (xc,yc+b+j) - P (xc,yc+j) }……… (2) 〔j=-n〜+n〕, 〔b= -wy〜+wy 〕V (b) = Σj ABS {P (xc, yc + b + j) -P (xc, yc + j)} ... (2) [j = -n to + n], [b = -wy〜 + wy)

【0039】但し、 ABS{ }は、絶対値を求める関数 P(x,y) は、処理前画像の画素(x,y) の階調値 m,nは、差分積分領域E を決める定数 a,bは、自己相関を比較するズラシ量 wx,wyは、1 つの中心画素(xc,yc) に対して自己相関特
性を調べる範囲 Wを決める定数である。
Here, ABS {is a function P (x, y) for obtaining an absolute value, a gradation value m, n of a pixel (x, y) of an image before processing is a constant a for determining a difference integration area E. , b is a shift amount wx, wy for comparing autocorrelation, and a constant for determining a range W for examining the autocorrelation characteristic for one central pixel (xc, yc).

【0040】(xc,yc)=(4,4) ,m=1( 差分積分領域:3×
1),wx=2(a=-2〜+2) とした場合において、a=+2のときの
x方向に沿った自己相関データH(a)の算出時の形態を図
4に、(xc,yc)=(4,4) ,n=1( 差分積分領域:1×3),wy=2
(b=-2〜+2) とした場合において、b=+2のときの y方向
に沿った自己相関データV(b)の算出時の形態を図5にそ
れぞれ示す。
(Xc, yc) = (4, 4), m = 1 (difference integration area: 3 ×
1), wx = 2 (a = -2 to +2), and when a = + 2
FIG. 4 shows the form at the time of calculating the autocorrelation data H (a) along the x direction. (xc, yc) = (4, 4), n = 1 (difference integration area: 1 × 3), wy = 2
In the case where (b = −2 to +2), the form at the time of calculation of the autocorrelation data V (b) along the y direction when b = + 2 is shown in FIG.

【0041】次に、このようにして求めた自己相関デー
タ(H(a),V(b)) に基づき、画像の周期性を調べる。
Next, based on the autocorrelation data (H (a), V (b)) thus obtained, the periodicity of the image is examined.

【0042】すなわち、周期性を有する画像パターンが
存在すると、その画像パターンの周期ごとに自己相関が
高くなる(上記のH(a),V(b) で求まる自己相関データが
小さくなる)。したがって、まず、(A)自己相関デー
タの極小値を検索し、(B)それら極小値が所定レベル
(しきい値)以下で、かつ、(C)それら極小値が規則
的に存在しているか否かを調べる。
That is, when there is an image pattern having a periodicity, the autocorrelation increases in each cycle of the image pattern (the autocorrelation data obtained by the above H (a) and V (b) decreases). Therefore, first, (A) the minimum value of the autocorrelation data is searched, and (B) whether these minimum values are below a predetermined level (threshold) and (C) whether these minimum values are regularly present. Check whether or not.

【0043】図6は、(xc,yc)=(7,3),m=1,wx=5(a= -5〜
+5) とした場合のP(x,y),H(a) の一例を示すデータとそ
のH(a)をグラフ化したものである。なお、a=0 は、同じ
画素同士の自己相関であるので、H(0)=0となり極小値と
なる。
FIG. 6 shows that (xc, yc) = (7, 3), m = 1, wx = 5 (a = −5 to
+5) is a graph showing data indicating an example of P (x, y), H (a) and H (a). Since a = 0 is the autocorrelation between the same pixels, H (0) = 0 and the minimum value.

【0044】自己相関データH(a)について、上記(A)
の処理は、〔(H(k-1) > H(k) )and ( H(k) < H(k+
1) ) 〕の条件を満たす kを+側と−側とで求める。
For the autocorrelation data H (a), the above (A)
The processing of [(H (k-1)> H (k)) and (H (k) <H (k +
1) Find the value of k that satisfies the conditions of) on the + and-sides.

【0045】上記(B)の処理は、上記(A)の条件を
満たすH(k) が、(H(k) < SL)の条件を満たすか否
かで判断する。SLはその判断時の「しきい値」であ
り、例えば、H(a) の最大値Hmax の領域抽出感度Se
n(%)(例えば、Sen=60:SL=Hmax ×0.
6)と決める。最大値Hmax は、全てのH(a) 中の最大
値であってもよいし、次のように選定してもよい。
In the process (B), it is determined whether H (k) satisfying the condition (A) satisfies the condition (H (k) <SL). SL is a "threshold value" at the time of the determination, for example, the region extraction sensitivity Se of the maximum value Hmax of H (a).
n (%) (for example, Sen = 60: SL = Hmax × 0.
6). The maximum value Hmax may be the maximum value of all H (a) or may be selected as follows.

【0046】例えば、k=0 から+側に kを変えながら上
記(A)の処理を行いつつ、+側の最初の極小値までの
H(a) の最大値を検索し、そのH(a) の最大値を、+側
の最初の極小値に対する判断に用いる。すなわち、隣接
する極小値の間のH(a) をその極小値のレベル判断に用
いる。
For example, the maximum value of H (a) up to the first minimum value on the + side is searched for while performing the process (A) while changing k from k = 0 to the + side. ) Is used to determine the first minimum value on the + side. That is, H (a) between adjacent minimum values is used for determining the level of the minimum value.

【0047】上記(C)の処理では、例えば、上記
(A)の条件を満たす+側の kをkp, −側の kをkmとし
たときに(ABS{kp-km }≦ 1) を満たすか否かで判断す
る。また、例えば、上記(A)の条件を満たす各極小値
に対して、隣接する各極小値間の幅の相互の差分の絶対
値が各々1以下であるか否か、すなわち、ABS {D(d+1)
-D(d) }≦ 1 (d=0,1,2 …… :図6ではd=0 )によって
判定することもできる。後者の判定によれば、例えば、
極小値が+側,−側にそれぞれ2個以上存在する場合に
も適用できる。
In the process (C), for example, when the k on the + side and the k on the − side satisfying the condition (A) are set to kp, (ABS {kp-km} ≦ 1) is satisfied. It is determined by whether or not. Also, for example, for each local minimum value that satisfies the above condition (A), it is determined whether the absolute value of the mutual difference between the widths of adjacent local minimum values is 1 or less, ie, ABS {D ( d + 1)
-D (d)} ≦ 1 (d = 0, 1, 2...: D = 0 in FIG. 6). According to the latter determination, for example,
The present invention can be applied to a case where two or more minimum values exist on the + side and the − side, respectively.

【0048】H(a) の極小値が存在しても、ある程度大
きかったり(しきい値SLを越えていたり)、それら極
小値が不規則に存在しているような場合は周期性がある
とは言い難いが、上記(B)によりレベル判定が行え、
上記(C)により極小値の規則性が判別でき、周期性の
有無を判定できる。
Even if the minimum value of H (a) exists, if it is large to some extent (exceeds the threshold value SL) or if these minimum values are present irregularly, it is determined that there is periodicity. It is difficult to say, but the level can be determined by the above (B),
By the above (C), the regularity of the minimum value can be determined, and the presence or absence of the periodicity can be determined.

【0049】したがって、上記(A),(B),(C)
の条件を全て満たす場合、中心画素(xc,yc) の周囲の範
囲W内の画像に周期性を有する画像パターンが存在する
ことになる。例えば、図6に示すH(a) には周期性があ
り、図7に示すH(a) には周期性が無いことになる。
Therefore, the above (A), (B), (C)
When all of the above conditions are satisfied, there is an image pattern having periodicity in an image within the range W around the central pixel (xc, yc). For example, H (a) shown in FIG. 6 has periodicity, and H (a) shown in FIG. 7 has no periodicity.

【0050】また、x方向の周期値Thは、((kp-km)/
2) または(D(d))である。
The cycle value Th in the x direction is ((kp-km) /
2) or (D (d)).

【0051】上記ではx方向に沿った周期性の有無や周
期度合い、及び周期値(Th)について説明したが、y方向
に沿った周期性の有無や周期度合い、及び周期値(Th)も
同様の処理によって求めることができる。
In the above description, the presence / absence, the degree of the periodicity along the x direction, and the periodic value (Th) have been described, but the presence / absence, the degree of the periodicity, and the periodic value (Th) along the y direction are also the same. Can be obtained by the following processing.

【0052】図8に示すように、x方向の周期値(Th)と
y方向の周期値(Tv)が判れば、周期方向θは(arctan(Tv
/Th)であり、処理前画像上の実際の周期値(周期方向に
沿った周期値)T は(Th ×sin(θ)) (またはTv× cos
θ) により求めることができる。
As shown in FIG. 8, if the period value (Th) in the x direction and the period value (Tv) in the y direction are known, the period direction θ is (arctan (Tv
/ Th), and the actual period value (period value along the period direction) T on the image before processing is (Th × sin (θ)) (or Tv × cos
θ).

【0053】自己相関データS(a,b) を用いた場合に
は、上記と同様の処理を2次元的に行うことで、周期性
の有無や周期度合い、処理前画像上の実際の周期方向及
び周期値を得ることができるが、上述したようにx方
向、y方向それぞれに沿った自己相関データ H(a),V(b)
を用いても同様の結果を高速に得ることができる。
When the autocorrelation data S (a, b) is used, the same processing as described above is performed two-dimensionally to determine the presence or absence of the periodicity, the degree of the periodicity, and the actual periodicity on the image before processing. And the period value can be obtained, but as described above, the autocorrelation data H (a), V (b)
, The same result can be obtained at high speed.

【0054】なお、自己相関データS(a,b) を用いた場
合、実際の画像パターンの周期を種々の方向から調べる
ことになるが、このとき周期値が最小となる方向がその
画像パターンの周期方向となる。
When the autocorrelation data S (a, b) is used, the period of the actual image pattern is checked from various directions. At this time, the direction in which the period value becomes minimum is the direction of the image pattern. The direction is periodic.

【0055】上述したように一連の処理を、処理前画像
内の全ての画素(または、一定間隔ごとの画素でもよ
い)を順次に中心画素(xc,yc) として行うことで、処理
前画像内において、周期性を有する画像パターンが存在
する画像領域を全て抽出することができる。
As described above, a series of processing is performed by sequentially setting all pixels (or pixels at regular intervals) in the pre-processing image as the center pixel (xc, yc), thereby obtaining the pre-processing image. In, it is possible to extract all the image regions where the image patterns having periodicity exist.

【0056】なお、上述した周期方向θと周期値Tとを
周期性データとする。
The above-described period direction θ and period value T are defined as periodic data.

【0057】〔ステップS2〕処理前画像の各画素(x,
y) のシフトデータSDは、図9に示すようにx方向の
シフト量dx(x,y) と、 y方向のシフト量dy(x,y) とによ
り規定する。なお、図9では、格子状の交点部分が各画
素位置であり、処理前画像の画素(xu,yu) に対するx方
向のシフト量dx(xu,yu) と、y方向のシフト量dy(xu,y
u) とにより規定されるシフト方向とシフト量とを示し
ている。
[Step S2] Each pixel (x,
The shift data SD of y) is defined by a shift amount dx (x, y) in the x direction and a shift amount dy (x, y) in the y direction as shown in FIG. In FIG. 9, the grid-like intersection portion is each pixel position, and the shift amount dx (xu, yu) in the x direction with respect to the pixel (xu, yu) of the image before processing and the shift amount dy (xu , y
u) indicates the shift direction and the shift amount defined by.

【0058】このようなシフトデータSDの決定には、
例えば、次のようにランダムに決定する方法が挙げられ
る。なお、以下のようにシフトデータSDをランダムに
決める他に、周期関数を用いたり固定したりする方法が
ある。
To determine such shift data SD,
For example, there is a method of randomly determining as follows. In addition to the method of randomly determining the shift data SD as described below, there is a method of using or fixing a periodic function.

【0059】この場合には、 dx(x,y)=dPm×R (-1.0〜+1.0) dy(x,y)=dPm×R (-1.0〜+1.0)In this case, dx (x, y) = dPm × R (−1.0 to +1.0) dy (x, y) = dPm × R (−1.0 to +1.0)

【0060】但し、 dPmは、最大シフト量 R (-1.0〜+1.0) は、-1.0〜+1.0の間の乱数を発生する
関数 である。
However, dPm is a function for generating a random number between the maximum shift amount R (−1.0 to +1.0) and −1.0 to +1.0.

【0061】なお、dx(x,y) を決定する際のR (-1.0〜
+1.0) とdy(x,y) を決定する際のR(-1.0〜+1.0) とは
別個であり、決定されたdx(x,y) の値とdy(x,y) の値と
は必ずしも同じではない。
It should be noted that R (-1.0 to Rx) in determining dx (x, y)
+1.0) and R (-1.0 to +1.0) when determining dy (x, y) are separate, and the determined values of dx (x, y) and dy (x, y) are Are not necessarily the same.

【0062】このようにdx(x,y) とdy(x,y) とをランダ
ムに決定することにより、シフト方向とシフト量とをラ
ンダムに決定することができる。
As described above, by randomly determining dx (x, y) and dy (x, y), the shift direction and the shift amount can be determined at random.

【0063】また、シフトデータSDの決定に必要な最
大シフト量dPmは、次のように決定する。 dPm=±CK×min {TI ,TA
The maximum shift amount dPm required for determining the shift data SD is determined as follows. dPm = ± CK × min {T I , T A }

【0064】但し、 CKは、0<1.0の範囲で設定される設定値 min { }は、小さいほうの周期を選択する関数 TI は、上記のように求めた画像パターンの周期値T TA は、出力機器の画素周期または網点周期 である。Where CK is a set value set in the range of 0 <1.0 min {} is a function TI for selecting a smaller cycle T I is a cycle value T of the image pattern obtained as described above T A is the pixel period or halftone period of the output device.

【0065】なお、発明者らの実験により、一般的な条
件では設定値CK=0.5が最もモアレを抑制できるこ
とが判明している。しかし、条件によっては、その値で
は思い通りにモアレ抑制ができない場合があるので、そ
の場合にはオペレータがマウス11を用いて異なる設定
値CKを指示すればよい。
Incidentally, it has been found from experiments by the inventors that under the general conditions, the set value CK = 0.5 can suppress the moire most. However, depending on the conditions, moire may not be suppressed as desired with the value. In such a case, the operator may use the mouse 11 to indicate a different set value CK.

【0066】上記のようにしてシフト処理によるモアレ
抑制処理が行われるが、最大シフト量dPmを調節する
設定値CKをオペレータが設定することによりモアレ抑
制度合いを所望のものにしたモアレ抑制画像を得ること
ができる。また、最大シフト量dPmを最小限にするこ
とがで、デジタル画像に基づく出力画像の画質低下を最
小限に抑えることができる。
The moiré suppression processing by the shift processing is performed as described above. By setting the set value CK for adjusting the maximum shift amount dPm by an operator, a moiré suppression image with a desired moiré suppression degree is obtained. be able to. Further, by minimizing the maximum shift amount dPm, it is possible to minimize the deterioration in the image quality of the output image based on the digital image.

【0067】〔ステップS3〕シフト後の位置に応じた
注目画素(xu,yu) の新たな階調値Q(xu,yu) は、シフト
後の位置の近傍画素の階調値を補間して求める。この補
間法は、一般的なバイリニア法などを採用することがで
きる。
[Step S3] The new tone value Q (xu, yu) of the target pixel (xu, yu) corresponding to the shifted position is obtained by interpolating the tone values of the neighboring pixels at the shifted position. Ask. As this interpolation method, a general bilinear method or the like can be adopted.

【0068】上記のように、元のデジタル画像の画素に
対してシフト処理を行うことにより、表示装置19など
の出力機器の出力画素周期と画像周期との間に生じる周
期性が崩れ、モアレ発生の原因となる比較的長周期で発
生する濃度変動が抑制できる。したがって、その処理後
のデジタル画像に対しては、従来、高解像度のデジタル
画像を低解像度に変換して出力した際に発生していたモ
アレを抑制することができる。
As described above, by performing the shift processing on the pixels of the original digital image, the periodicity generated between the output pixel cycle of the output device such as the display device 19 and the image cycle is broken, and moiré is generated. The density fluctuation which occurs in a relatively long cycle, which causes the above, can be suppressed. Therefore, with respect to the digital image after the processing, it is possible to suppress the moire that has conventionally occurred when a high-resolution digital image is converted into a low-resolution digital image and output.

【0069】同様に、網点化処理時においても、元のデ
ジタル画像の画素に対して、シフト処理を行うことによ
って、元のデジタル画像が有していた周期性パターンと
網点パターン間の相対位置関係で発生していたモアレを
抑制することができる。
Similarly, at the time of the halftoning process, by performing a shift process on the pixels of the original digital image, the relative pattern between the periodic pattern and the halftone pattern of the original digital image is obtained. Moire generated due to the positional relationship can be suppressed.

【0070】なお、出力機器が表示装置19ではなく、
印刷装置25である場合には、上述した最大シフト幅d
Pmを求める式中のTA が網点周期であり、出力網点周
期となる。
Note that the output device is not the display device 19,
In the case of the printing device 25, the above-described maximum shift width d
T A in the equation for calculating Pm is the dot period, which is the output dot period.

【0071】さらに、この場合に画像パターンの周期方
向θと網点角度θA の値が異なる条件となる際には、画
像パターンから見ると網点角度θA が大きく見える。そ
のため、それらの角度間の差をθD とすると、上記のT
A を次の値TA ’で置換すればよい。 TA ’= TA /cosθD
[0071] Further, when the value of the period direction theta and halftone angle theta A image pattern in this case becomes different conditions, viewed from the image pattern when the halftone angle theta A look larger. Therefore, if the difference between those angles is θ D , the above T
A may be replaced with the following value T A '. T A '= T A / cos θ D

【0072】なお、上述した実施例では、最大シフト量
dPmを設定する設定値CKをオペレータが選択可能な
構成としているが、ある一定値で固定して選択できない
ようにしてもよい。
In the above-described embodiment, the operator is allowed to select the set value CK for setting the maximum shift amount dPm.

【0073】また、実施例では、最大シフト量を求める
際に、出力画素(網点)周期あるいは画像周期のいずれ
か小さいほうの周期に基づいて求めるようにしている
が、一方の周期のみに基づき求めるようにしてもよい。
このようにしても出力画素(網点)周期と画像周期との
間の周期性を崩すことができるので、モアレを抑制する
ことが可能である。
In the embodiment, when the maximum shift amount is obtained, the maximum shift amount is obtained based on the smaller period of the output pixel (dot) period or the image period. However, the maximum shift amount is obtained based on only one period. You may ask for it.
Even in this case, the periodicity between the output pixel (dot) cycle and the image cycle can be broken, so that moire can be suppressed.

【0074】[0074]

【発明の効果】以上の説明から明らかなように、請求項
1に記載の発明をデジタル画像に施せば、出力機器の出
力画素周期と画像周期との間に生じていた周期性が崩
れ、その処理後のデジタル画像に対しては、従来、高解
像度のデジタル画像を低解像度に変換して出力した際に
発生していたモアレを抑制することができる。
As is apparent from the above description, if the invention described in claim 1 is applied to a digital image, the periodicity that has occurred between the output pixel cycle of the output device and the image cycle is broken, and For the processed digital image, it is possible to suppress moire that has conventionally occurred when a high-resolution digital image is converted into a low-resolution digital image and output.

【0075】また、請求項2に記載の発明によれば、最
大シフト量を最小限にすることがで、デジタル画像に基
づく出力画像の画質低下を最小限に抑えることができ
る。
According to the second aspect of the present invention, by minimizing the maximum shift amount, it is possible to minimize the deterioration in the image quality of the output image based on the digital image.

【0076】また、請求項3に記載の発明をデジタル画
像に施せば、出力機器の出力網点周期と画像周期との間
に生じていた周期性が崩れ、その処理後のデジタル画像
に対しては、従来、高解像度のデジタル画像を低解像度
に変換する網点化処理後の印刷の際に発生していたモア
レを抑制することができる。
Further, when the invention according to claim 3 is applied to a digital image, the periodicity generated between the output dot period of the output device and the image period is broken, and the digital image after the processing is processed. Can suppress moiré, which has conventionally occurred at the time of printing after halftone processing for converting a high-resolution digital image to a low-resolution one.

【0077】また、請求項4に記載の発明によれば、最
大シフト量を最小限にすることができ、デジタル画像に
基づく出力画像の画質低下を最小限に抑えることができ
る。
According to the fourth aspect of the invention, the maximum shift amount can be minimized, and the deterioration of the image quality of the output image based on the digital image can be minimized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る画像処理方法を実施する画像処理
装置のハードウエア構成の一例を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating an example of a hardware configuration of an image processing apparatus that performs an image processing method according to the present invention.

【図2】本発明の画像処理方法を実施する画像処理装置
の機能ブロック図である。
FIG. 2 is a functional block diagram of an image processing apparatus that performs the image processing method of the present invention.

【図3】画像処理方法の一手順を示すフローチャートで
ある。
FIG. 3 is a flowchart illustrating one procedure of an image processing method.

【図4】x方向に沿った自己相関データの算出時の一例
の形態を示す図である。
FIG. 4 is a diagram showing an example of a form at the time of calculating autocorrelation data along the x direction.

【図5】y方向に沿った自己相関データの算出時の一例
の形態を示す図である。
FIG. 5 is a diagram showing an example of a form at the time of calculating autocorrelation data along the y direction.

【図6】処理前画像の各画素の階調値の一例及びそれか
ら得られたx方向に沿った自己相関データを示すデータ
とその自己相関データをグラフ化した図である。
FIG. 6 is a diagram showing an example of a gradation value of each pixel of an image before processing, data showing autocorrelation data along the x direction obtained from the gradation value, and graphing the autocorrelation data.

【図7】周期性が無いx方向に沿った自己相関データの
一例を示す図である。
FIG. 7 is a diagram illustrating an example of autocorrelation data along the x direction having no periodicity.

【図8】x方向に沿った周期値及びy方向に沿った周期
値と実際の周期方向及び周期値との関係を示す図であ
る。
FIG. 8 is a diagram showing a relationship between a periodic value along the x direction and a periodic value along the y direction and actual periodic directions and periodic values.

【図9】シフトデータのシフト方向とシフト量とを示す
図である。
FIG. 9 is a diagram illustrating shift directions and shift amounts of shift data.

【図10】網点周期と画素位置を示す図である。FIG. 10 is a diagram showing a dot cycle and a pixel position.

【図11】網点周期と画素位置を示す図である。FIG. 11 is a diagram illustrating a dot cycle and a pixel position.

【図12】画像パターンと出力画素周期の関係を示す図
である。
FIG. 12 is a diagram illustrating a relationship between an image pattern and an output pixel cycle.

【符号の説明】[Explanation of symbols]

11 … マウス 19 … 表示装置 21 … 入力装置 23 … 画像入力器 25 … 印刷装置 dx … x方向のシフト量 dy … y方向のシフト量 SD … シフトデータ dPm … 最大シフト幅 CK … 設定値 TI … 画像周期 TA … 出力画素(網点)周期11 ... mouse 19 ... display 21 ... input device 23 ... image input unit 25 ... printing apparatus dx ... x-direction shift amount dy ... y-direction shift amount SD ... shift data dPm ... maximum shift width CK ... set value T I ... Image cycle T A … output pixel (dot) cycle

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C062 AB16 AB22 AB23 AB42 AC07 AC21 AC58 BA00 5C077 LL03 NN04 PP03 PP15 PP20 PP27 PP28 PP43 PP57 PP58 PP68 PQ20  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C062 AB16 AB22 AB23 AB42 AC07 AC21 AC58 BA00 5C077 LL03 NN04 PP03 PP15 PP20 PP27 PP28 PP43 PP57 PP58 PP68 PQ20

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 出力機器に対してデジタル画像を出力す
る画像処理方法であって、 デジタル画像の周期性を検出して処理対象領域を抽出
し、出力機器の出力画素周期または前記周期性に応じた
画像周期のいずれか一方に基づき処理対象領域内の画素
の最大シフト量を求め、 前記処理対象領域内の画素を注目画素として、前記最大
シフト量に基づきその注目画素の位置をシフトしたと仮
定したときに、そのシフト後の位置の近傍画素の階調値
に基づき、そのシフト後の位置に応じたその注目画素の
新たな階調値を求める処理を、各画素を順次注目画素と
して行い、 新たな階調値で置換したデジタル画像を前記出力機器に
出力することを特徴とする画像処理方法。
1. An image processing method for outputting a digital image to an output device, comprising detecting a periodicity of the digital image, extracting a processing target area, and responding to an output pixel cycle of the output device or the periodicity. It is assumed that the maximum shift amount of the pixel in the processing target region is obtained based on one of the image periods, and the position of the target pixel is shifted based on the maximum shift amount with the pixel in the processing target region as a target pixel. Then, based on the tone value of the neighboring pixel at the position after the shift, a process of obtaining a new tone value of the target pixel according to the shifted position is performed by sequentially setting each pixel as the target pixel, An image processing method comprising: outputting a digital image replaced with a new gradation value to the output device.
【請求項2】 請求項1に記載の画像処理方法におい
て、前記最大シフト量は、前記出力画素周期と前記画像
周期のうち小さい方の周期に基づき求められることを特
徴とする画像処理方法。
2. The image processing method according to claim 1, wherein the maximum shift amount is obtained based on a smaller one of the output pixel period and the image period.
【請求項3】 網点で表現する出力機器に対してデジタ
ル画像を出力する画像処理方法であって、 デジタル画像の周期性を検出して処理対象領域を抽出
し、出力機器の出力網点周期または前記周期性に応じた
画像周期のいずれか一方に基づき処理対象領域内の画素
の最大シフト量を求め、 前記処理対象領域内の画素を注目画素として、前記最大
シフト量に基づきその注目画素の位置をシフトしたと仮
定したときに、そのシフト後の位置の近傍画素の階調値
に基づき、そのシフト後の位置に応じたその注目画素の
新たな階調値を求める処理を、各画素を順次注目画素と
して行い、 新たな階調値で置換したデジタル画像を前記出力機器に
出力することを特徴とする画像処理方法。
3. An image processing method for outputting a digital image to an output device represented by a halftone dot, comprising detecting a periodicity of the digital image, extracting a processing target area, and outputting an output halftone period of the output device. Alternatively, the maximum shift amount of the pixel in the processing target area is obtained based on one of the image periods according to the periodicity, and the pixel in the processing target area is set as a target pixel, and the pixel of interest is determined based on the maximum shift amount. When it is assumed that the position is shifted, a process of obtaining a new tone value of the pixel of interest corresponding to the shifted position based on the tone value of a pixel near the shifted position is performed on each pixel. An image processing method, wherein the digital image is sequentially output as a target pixel, and a digital image replaced with a new gradation value is output to the output device.
【請求項4】 請求項3に記載の画像処理方法におい
て、前記最大シフト量は、前記出力網点周期と前記画像
周期のうち小さい方の周期に基づき求められることを特
徴とする画像処理方法。
4. The image processing method according to claim 3, wherein the maximum shift amount is obtained based on a smaller one of the output halftone period and the image period.
JP30106299A 1999-10-22 1999-10-22 Picture processing method Pending JP2001128005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30106299A JP2001128005A (en) 1999-10-22 1999-10-22 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30106299A JP2001128005A (en) 1999-10-22 1999-10-22 Picture processing method

Publications (1)

Publication Number Publication Date
JP2001128005A true JP2001128005A (en) 2001-05-11

Family

ID=17892415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30106299A Pending JP2001128005A (en) 1999-10-22 1999-10-22 Picture processing method

Country Status (1)

Country Link
JP (1) JP2001128005A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7245396B2 (en) 2001-12-06 2007-07-17 Canon Kabushiki Kaisha Image data coding apparatus, image data decoding apparatus, image data coding method and image data decoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7245396B2 (en) 2001-12-06 2007-07-17 Canon Kabushiki Kaisha Image data coding apparatus, image data decoding apparatus, image data coding method and image data decoding method

Similar Documents

Publication Publication Date Title
EP1349371A2 (en) Image processing apparatus, image processing program and storage medium storing the program
US6009213A (en) Image processing apparatus and method
US5760921A (en) Method of and apparatus for image processing
US8743419B2 (en) Image processing apparatus and method converting low-resolution image to high-resolution using signal value patterns
JP5825306B2 (en) Image scaling apparatus and image scaling method
JP2001128005A (en) Picture processing method
JP3092769B2 (en) Image processing device
JP3624153B2 (en) Image processing apparatus and image processing method
JP3734652B2 (en) Image processing device
JP3753900B2 (en) Image processing device
US9076235B2 (en) Image processing method, image processing apparatus, and non-transitory computer-readable medium
JP3262425B2 (en) Image processing device
JP3751806B2 (en) Image processing apparatus and recording medium
JP5297347B2 (en) Pixel number conversion method, program for executing the same, and pixel number conversion apparatus
JP4598129B2 (en) Image processing apparatus and image processing program
JP2005293265A (en) Image processing device, and method
JP3714820B2 (en) Image processing method
JP3216963B2 (en) Halftone area determination device
JP3183787B2 (en) Halftone area determination device
JPH09252400A (en) Image processor and its method
JP3726527B2 (en) Image processing apparatus and image processing method
JP2002247368A (en) Image processor, image processing method, program for executing the same method and recording medium having the recorded program
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof
JP4437621B2 (en) Region detection apparatus and method
JP2006252108A (en) Image processing device, image processing method, and its program