Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2002247346A - Image processing apparatus, method and program - Google Patents
[go: Go Back, main page]

JP2002247346A - Image processing apparatus, method and program - Google Patents

Image processing apparatus, method and program

Info

Publication number
JP2002247346A
JP2002247346A JP2001044181A JP2001044181A JP2002247346A JP 2002247346 A JP2002247346 A JP 2002247346A JP 2001044181 A JP2001044181 A JP 2001044181A JP 2001044181 A JP2001044181 A JP 2001044181A JP 2002247346 A JP2002247346 A JP 2002247346A
Authority
JP
Japan
Prior art keywords
image processing
processing
processing apparatus
enhancement
resolution conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001044181A
Other languages
Japanese (ja)
Other versions
JP4113335B2 (en
Inventor
Hidekuni Moriya
英邦 守屋
Naoki Kuwata
直樹 鍬田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001044181A priority Critical patent/JP4113335B2/en
Publication of JP2002247346A publication Critical patent/JP2002247346A/en
Application granted granted Critical
Publication of JP4113335B2 publication Critical patent/JP4113335B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

(57)【要約】 【課題】 本発明は、モアレの発生を低減可能な画像処
理装置、方法および記録媒体を提供することを課題とす
る。 【解決手段】 本発明による、データ生成部およびプリ
ンタ部を有する画像処理装置によれば、解像度変換部2
0gによって、スキャナ10の入力解像度、プリンタ3
0の出力解像度および拡大・縮小率に基づき、解像度変
換処理が行われる。そして、解像度変換処理が行われた
後、強調処理部(20dおよび20e)によって強調処
理が行われ、強調処理後、ほぼ同一サイズで印刷処理が
行われる。このようにして、モアレの発生を低減させる
ことができる。
(57) [Problem] It is an object of the present invention to provide an image processing apparatus, a method, and a recording medium that can reduce the occurrence of moire. According to an image processing apparatus having a data generation unit and a printer unit, a resolution conversion unit is provided.
0g, the input resolution of the scanner 10 and the printer 3
Resolution conversion processing is performed based on the output resolution of 0 and the enlargement / reduction ratio. Then, after the resolution conversion processing is performed, the enhancement processing sections (20d and 20e) perform the enhancement processing, and after the enhancement processing, perform the printing processing with substantially the same size. Thus, the occurrence of moire can be reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、解像度変換後に強
調処理を行う画像処理装置、方法および記録媒体に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus, method, and recording medium for performing an enhancement process after resolution conversion.

【0002】[0002]

【従来の技術】従来より、入力デバイスとしてのスキャ
ナと出力デバイスとしてのプリンタとを有するスキャナ
・プリンタ・コピーでは、拡大コピーを行う際、2回の
解像度変換を行っている。そして、黒文字強調処理など
の強調処理を行う場合には、強調処理の前後でそれぞれ
解像度変換を行っていた。
2. Description of the Related Art Conventionally, in a scanner / printer copy having a scanner as an input device and a printer as an output device, resolution conversion is performed twice when performing an enlarged copy. Then, when performing an enhancement process such as a black character enhancement process, resolution conversion is performed before and after the enhancement process.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、強調処
理の後に解像度変換を行うことは、モアレ発生原因の一
つとなってしまう。
However, performing resolution conversion after the enhancement processing is one of the causes of moire.

【0004】本発明は、上記問題点を解決するためにな
されたもので、モアレの発生を低減可能な画像処理装
置、方法および記録媒体を提供することを課題とする。
[0004] The present invention has been made to solve the above problems, and has as its object to provide an image processing apparatus, method, and recording medium that can reduce the occurrence of moire.

【0005】[0005]

【課題を解決するための手段】上記課題に鑑み、請求項
1に記載の発明は、データ生成部およびプリンタ部を有
する画像処理装置であって、データ生成部の入力解像
度、プリンタ部の出力解像度および拡大・縮小率に基づ
き、解像度変換処理を行うための解像度変換手段と、解
像度変換処理の後に、強調処理を行うための強調処理手
段と、を備え、強調処理後、ほぼ同一サイズで印刷処理
を行うように構成される。
SUMMARY OF THE INVENTION In view of the above problems, an invention according to claim 1 is an image processing apparatus having a data generation unit and a printer unit, wherein an input resolution of the data generation unit and an output resolution of the printer unit are provided. And a resolution conversion unit for performing a resolution conversion process based on the enlargement / reduction ratio, and an enhancement processing unit for performing an enhancement process after the resolution conversion process. It is configured to perform.

【0006】以上のように構成された、データ生成部お
よびプリンタ部を有する画像処理装置によれば、解像度
変換手段によって、データ生成部の入力解像度、プリン
タ部の出力解像度および拡大・縮小率に基づき、解像度
変換処理が行われる。そして、解像度変換処理が行われ
た後、強調処理手段によって強調処理が行われ、強調処
理後、ほぼ同一サイズで印刷処理が行われる。
According to the image processing apparatus having the data generation unit and the printer unit configured as described above, the resolution conversion means uses the input resolution of the data generation unit, the output resolution of the printer unit, and the enlargement / reduction ratio. , A resolution conversion process is performed. Then, after the resolution conversion processing is performed, the enhancement processing is performed by the enhancement processing means, and after the enhancement processing, the printing processing is performed with substantially the same size.

【0007】また、請求項2に記載の発明は、請求項1
に記載の画像処理装置であって、データ生成部が前記解
像度変換手段を備えて構成される。
[0007] The invention described in claim 2 is the first invention.
3. The image processing device according to item 1, wherein the data generation unit includes the resolution conversion unit.

【0008】さらに、請求項3に記載の発明は、請求項
1または2に記載の画像処理装置であって、データ生成
部がスキャナ部を備えて構成される。
Further, according to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the data generation unit includes a scanner unit.

【0009】また、請求項4に記載の発明は、請求項1
乃至3のいづれか一項に記載の画像処理装置であって、
前記解像度変換処理が平滑化処理を伴うように構成され
る。
The invention described in claim 4 is the first invention.
The image processing apparatus according to any one of claims 1 to 3,
The resolution conversion process is configured to include a smoothing process.

【0010】さらに、請求項5に記載の発明は、請求項
1または2に記載の画像処理装置であって、プリンタ部
における二値化処理が、誤差拡散処理であるように構成
される。
Further, the invention according to claim 5 is the image processing apparatus according to claim 1 or 2, wherein the binarization processing in the printer unit is an error diffusion processing.

【0011】また、請求項6に記載の発明は、請求項1
乃至5のいづれか一項に記載の画像処理装置であって、
強調処理手段が、画像データに基づき、要素色成分毎
に、濃度が低くなる方向に要素色成分を補正することに
よってシャープネスを強調するシャープネス強調処理を
行うように構成される。
[0011] The invention according to claim 6 is the first invention.
The image processing apparatus according to any one of claims 1 to 5,
The emphasis processing means is configured to perform a sharpness emphasis process for enhancing sharpness by correcting the element color components in a direction of decreasing density for each element color component based on the image data.

【0012】さらに、請求項7に記載の発明は、請求項
1乃至6のいづれか一項に記載の画像処理装置であっ
て、強調処理手段が、画像データに基づき黒強調処理を
行うように構成される。
Further, the invention according to claim 7 is the image processing apparatus according to any one of claims 1 to 6, wherein the enhancement processing means performs black enhancement processing based on the image data. Is done.

【0013】また、請求項8に記載の発明は、請求項6
または7に記載の画像処理装置であって、前記シャープ
ネス強調処理が、所定領域の前記色画像データの平滑化
前後の差を求める処理と、当該差が正の場合にシャープ
ネスを強調する処理と、を備えて構成される。
The invention described in claim 8 is the same as the claim 6.
Or the image processing device according to 7, wherein the sharpness enhancement process is a process of obtaining a difference between before and after smoothing the color image data of a predetermined area, and a process of enhancing sharpness when the difference is positive. It is comprised including.

【0014】さらに、請求項9に記載の発明は、請求項
6乃至8のいづれか一項に記載の画像処理装置であっ
て、前記シャープネス強調処理が、シャープネスを強調
する程度を調整する処理を備えて構成される。
Further, according to a ninth aspect of the present invention, in the image processing apparatus according to any one of the sixth to eighth aspects, the sharpness enhancing process includes a process of adjusting a degree of enhancing sharpness. It is composed.

【0015】また、請求項10に記載の発明は、請求項
7乃至9のいづれか一項に記載の画像処理装置であっ
て、前記黒強調処理が黒領域に対して行われるように構
成される。
The invention according to claim 10 is the image processing apparatus according to any one of claims 7 to 9, wherein the black enhancement processing is performed on a black area. .

【0016】さらに、請求項11に記載の発明は、請求
項10に記載の画像処理装置であって、前記黒領域が、
輝度相当値および彩度相当値に基づいて求められるよう
に構成される。
Further, the invention according to claim 11 is the image processing apparatus according to claim 10, wherein the black area is:
It is configured to be obtained based on the luminance equivalent value and the saturation equivalent value.

【0017】また、請求項12に記載の発明は、請求項
7乃至11のいづれか一項に記載の画像処理装置であっ
て、前記黒強調処理がシャドウ部を強調する処理を備え
るように構成される。
According to a twelfth aspect of the present invention, there is provided the image processing apparatus according to any one of the seventh to eleventh aspects, wherein the black enhancement processing includes processing for enhancing a shadow portion. You.

【0018】さらに、請求項13に記載の発明は、請求
項6乃至12のいづれか一項に記載の画像処理装置であ
って、前記シャープネス強調処理を行った後に、前記黒
強調処理を行うように構成される。
The invention according to claim 13 is the image processing apparatus according to any one of claims 6 to 12, wherein the black enhancement processing is performed after the sharpness enhancement processing is performed. Be composed.

【0019】また、請求項14に記載の発明は、請求項
6乃至13のいづれか一項に記載の画像処理装置であっ
て、前記シャープネス強調処理または前記黒強調処理を
選択可能であるように構成される。
According to a fourteenth aspect of the present invention, there is provided the image processing apparatus according to any one of the sixth to thirteenth aspects, wherein the sharpness enhancement processing or the black enhancement processing can be selected. Is done.

【0020】さらに、請求項15に記載の発明は、デー
タ生成部およびプリンタ部を用いる画像処理方法であっ
て、データ生成部の入力解像度、プリンタ部の出力解像
度および拡大・縮小率に基づき解像度変換を行うための
解像度変換工程と、解像度変換処理後に強調処理を行う
強調処理工程と、を備え、強調処理の後、ほぼ同一サイ
ズで印刷処理を行うように構成される。
Further, the invention according to claim 15 is an image processing method using a data generation unit and a printer unit, wherein the resolution conversion is performed based on an input resolution of the data generation unit, an output resolution of the printer unit, and an enlargement / reduction ratio. , And an emphasis processing step of performing an emphasis process after the resolution conversion process. After the emphasis process, a printing process of substantially the same size is performed.

【0021】また、請求項16に記載の発明は、データ
生成部およびプリンタ部を用いる画像処理をコンピュー
タに実行させるためのプログラムであって、データ生成
部の入力解像度、プリンタ部の出力解像度および拡大・
縮小率に基づき解像度変換を行うための解像度変換処理
と、解像度変換処理後の強調処理と、強調処理の後、ほ
ぼ同一サイズで印刷を行う印刷処理と、をコンピュータ
に実行させるためのプログラム。
The invention according to claim 16 is a program for causing a computer to execute image processing using a data generation unit and a printer unit, wherein the input resolution of the data generation unit, the output resolution of the printer unit, and the enlargement are provided.・
A program for causing a computer to execute a resolution conversion process for performing a resolution conversion based on a reduction ratio, an enhancement process after the resolution conversion process, and a printing process for printing at substantially the same size after the enhancement process.

【0022】[0022]

【発明の実施の形態】以下、図面を参照して、本発明の
好適な実施の形態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0023】図1は、本発明の一実施形態にかかる画像
処理制御方法を適用した画像処理システムを示す機能ブ
ロック図であり、図2は、画像処理装置の具体的ハード
ウエア構成例を概略ブロック図により示している。
FIG. 1 is a functional block diagram showing an image processing system to which an image processing control method according to an embodiment of the present invention is applied. FIG. 2 is a schematic block diagram showing an example of a specific hardware configuration of the image processing apparatus. This is shown in the figure.

【0024】画像処理装置 図1において、画像処理装置20は、スキャナ10から
供給される画像入力信号に対して画像処理を施し、当該
画像処理された色画像データをプリンタ30に出力す
る。ここで、画像入力信号はカラー画像を所定の要素色
毎に色分解しつつ、その要素色毎に強弱を表したもので
あり、有彩色であって所定の比で混合したときには灰色
に代表される無彩色と黒色とからなる。
Image Processing Apparatus In FIG. 1, an image processing apparatus 20 performs image processing on an image input signal supplied from a scanner 10 and outputs the processed color image data to a printer 30. Here, the image input signal represents the strength of each element color while separating the color image for each predetermined element color, and is represented by gray when mixed at a predetermined ratio with a chromatic color. Color and black.

【0025】画像処理装置20は、指示部20fからの
指示に基づき所望の解像度変換を行う解像度変換部20
gと;指示部20fからの指示に基づき所望の色補正処
理を施し、入力されるRGBの階調データ(前記画像入
力信号)をR’G’B’の階調データに変換する色補正
処理部20aと;前記R’G’B’の階調データをCM
Y((シアン、マゼンタ、イエロー)、またはこれに黒
を加えたCMYK、またはこれにライトシアン(c)ラ
イトマゼンタ(m)を加えたCMYKcm)の階調デー
タに変換する色変換部20bと;当該変換されたCMY
(またはCMYKまたはCMYKcm)の階調データを
二値データに階調変換する二値化部20cと;を備えて
いる。当該実施形態では、二値化処理は誤差拡散法によ
り行う。誤差拡散法による二値化処理は、各画素毎に生
じた濃度誤差を周辺の未処理画素に拡散させるととも
に、それぞれの画素については処理済みの画素から拡散
されてきた濃度誤差を該画素の画像データに反映させて
ドットのオン・オフを決定する方法である。かかる方法
によれば、濃度誤差を極小にすることができ、高画質な
ハーフトーン処理を実現することができ、ディザ処理を
用いた場合と比較して干渉を抑制することができ、モア
レの発生を低減させることができる。
The image processing device 20 performs a desired resolution conversion based on an instruction from the instruction unit 20f.
g; a color correction process of performing a desired color correction process based on an instruction from the instruction unit 20f and converting input RGB tone data (the image input signal) into R′G′B ′ tone data. A part 20a; the R'G'B 'gradation data
A color conversion unit 20b for converting into Y ((cyan, magenta, yellow) or CMYK with black added thereto, or CMYKcm with light cyan (c) and light magenta (m) added thereto); Converted CMY
(Or CMYK or CMYKcm) gradation conversion unit 20c for converting gradation data into binary data. In this embodiment, the binarization processing is performed by an error diffusion method. In the binarization processing by the error diffusion method, the density error generated for each pixel is diffused to the surrounding unprocessed pixels, and the density error diffused from the processed pixel is calculated for each pixel. This is a method of determining dot on / off by reflecting it in data. According to this method, the density error can be minimized, high-quality halftone processing can be realized, interference can be suppressed as compared with the case where dither processing is used, and moire can be generated. Can be reduced.

【0026】さらに、色補正処理部20aは、指示部2
0fからの指示に基づきアンシャープマスキング処理を
施すアンシャープマスキング処理部20dと、指示部2
0fからの指示に基づき黒強調処理を施す黒強調処理部
20eと、を備えて構成される。これらアンシャープマ
スキング処理部20dおよび黒強調処理部20eの処理
の詳細に関しては後述する。
Further, the color correction processing section 20a includes an instruction section 2
0f, an unsharp masking processing unit 20d for performing unsharp masking processing based on an instruction from
And a black enhancement processing unit 20e that performs black enhancement processing based on an instruction from 0f. The details of the processing of the unsharp masking processing section 20d and the black enhancement processing section 20e will be described later.

【0027】ハードウエア構成 当該実施の形態においては、画像入力装置としてのスキ
ャナ11aやデジタルスチルカメラ11bが画像データ
としてRGB(緑、青、赤)の階調データを出力すると
ともに、画像出力装置30としてのプリンタ17bは、
階調データとしてのCMY(シアン、マゼンタ、イエロ
ー)、またはこれに黒を加えたCMYK、またはこれに
ライトシアン(c)ライトマゼンタ(m)を加えたCM
YKcmの二値データを入力として必要とする。また、
ディスプレイ17aは、RGBの階調データを入力とし
て必要とする。一方、コンピュータ12内では、オペレ
ーティングシステム12a、プリンタ17b及びディス
プレイ17aに対応するプリンタドライバ12c及びデ
ィスプレイドライバ12bを備えている。また、画像処
理用アプリケーション12dは、オペレーティングシス
テム12aによって処理の実行が制御され、必要に応じ
てプリンタドライバ12cやディスプレイドライバ12
bと連帯して所定の画像処理を実行する。したがって、
画像処理装置20としての当該コンピュータ12の具体
的役割は、入力されるRGB階調データに対して、所望
の解像度変換処理を施した後に、高速かつ高画質の黒文
字強調処理を施したRGB階調データを作成して、プリ
ンタドライバ12cを介してCMY(またはCMYKま
たはCMYKcm)の二値データに変換してプリンタ1
7bに印刷させる。
Hardware Configuration In this embodiment, the scanner 11a or the digital still camera 11b as an image input device outputs RGB (green, blue, red) gradation data as image data, and the image output device 30 Printer 17b as
CMY (cyan, magenta, yellow) as gradation data, CMYK with black added thereto, or CM with light cyan (c) light magenta (m) added thereto
Requires YKcm binary data as input. Also,
The display 17a requires RGB gradation data as an input. On the other hand, the computer 12 includes an operating system 12a, a printer 17b, and a printer driver 12c and a display driver 12b corresponding to the display 17a. The execution of the image processing application 12d is controlled by the operating system 12a, and the printer driver 12c and the display driver 12c
A predetermined image processing is executed jointly with b. Therefore,
The specific role of the computer 12 as the image processing device 20 is that RGB gradation data obtained by performing desired resolution conversion processing on input RGB gradation data and then performing high-speed and high-quality black character enhancement processing The printer 1 creates data, converts it into binary data of CMY (or CMYK or CMYKcm) via the printer driver 12c, and
7b.

【0028】画像処理制御プログラム 本発明による画像処理制御プログラムは、通常、コンピ
ュータ12が読取可能な形態でフロッピー(登録商標)
ディスク、CD−ROMなどの記録媒体に記録されて流
通する。当該プログラムは、メディア読取装置(CD−
ROMドライブ13c、フロッピーディスクドライブ1
3aなど)によって読み取られてハードディスク13b
にインストールされる。そして、CPUが所望のプログ
ラムを適宜ハードディスク13bから読み出して所望の
処理を実行するように構成されている。なお、本発明に
よる画像処理制御プログラム自体も本願発明の一部を構
成する。
Image Processing Control Program The image processing control program according to the present invention is usually a floppy (registered trademark) in a form readable by the computer 12.
It is recorded on a recording medium such as a disk or CD-ROM and distributed. The program is a media reader (CD-
ROM drive 13c, floppy disk drive 1
3a) and read by the hard disk 13b
Installed in The CPU is configured to read a desired program from the hard disk 13b and execute a desired process. Note that the image processing control program itself according to the present invention also constitutes a part of the present invention.

【0029】なお、モデム14aは公衆電話回線に接続
され、外部のネットワークに同公衆通信回線を介して接
続され、ソフトウエアやデータをダウンロードすること
ができる。
The modem 14a is connected to a public telephone line and is connected to an external network via the public communication line to download software and data.

【0030】以下、図3および図18を参照して、画像
処理装置20によって実行される画像処理制御プログラ
ムを説明する。当該実施形態では、画像入力装置がスキ
ャナであり、画像出力装置がプリンタの場合について説
明する。
Hereinafter, an image processing control program executed by the image processing apparatus 20 will be described with reference to FIGS. In this embodiment, a case where the image input device is a scanner and the image output device is a printer will be described.

【0031】第1実施例 図3を参照して、画像処理装置20によって実行される
画像処理制御プログラムの第1実施例を説明する。
First Embodiment A first embodiment of an image processing control program executed by the image processing apparatus 20 will be described with reference to FIG.

【0032】まず、図1に示す画像処理装置20の指示
部20fを介して入力される値に基づき、解像度変換部
20gは、後に詳細に説明する解像度変換処理を実行す
る(ステップ40)。
First, the resolution conversion unit 20g executes a resolution conversion process, which will be described in detail later, based on the value input via the instruction unit 20f of the image processing apparatus 20 shown in FIG. 1 (step 40).

【0033】そして、解像度変換処理の後に、図1に示
す画像処理装置20の指示部20fを介してアンシャー
プマスキング処理が指示されると(ステップ42、Ye
s)、色補正処理部20aのアンシャープマスキング処
理部20dは、後に詳細に説明するアンシャープマスキ
ング処理を実行する(ステップ44)。アンシャープマ
スキング処理は、3×3の範囲の画素入力に対して1画
素を出力する処理である。図4に、アンシャープマスキ
ング処理の対象となる近傍画素を説明するための図を示
す。このように、当該実施形態では、iおよびjの値を
−1≦i≦1、−1≦j≦1の範囲の整数として参照画
素数を9とすることによって、さらに高速な計算処理が
可能となるとともに計算に使用するメモリの容量をさら
に少なくすることができる。
Then, after the resolution conversion processing, when the unsharp masking processing is instructed via the instruction section 20f of the image processing apparatus 20 shown in FIG. 1 (step 42, Ye
s) The unsharp masking processing unit 20d of the color correction processing unit 20a executes an unsharp masking process described later in detail (step 44). The unsharp masking process is a process of outputting one pixel for a pixel input in a 3 × 3 range. FIG. 4 is a diagram for explaining neighboring pixels to be subjected to the unsharp masking process. As described above, in the present embodiment, by setting the values of i and j to integers in the range of −1 ≦ i ≦ 1 and −1 ≦ j ≦ 1, and setting the number of reference pixels to 9, further faster calculation processing is possible. And the capacity of the memory used for the calculation can be further reduced.

【0034】一方、指示部20fを介してアンシャープ
マスキング処理が指示されない場合(ステップ42、N
o)、色補正処理部20aのアンシャープマスキング処
理部20dは、アンシャープマスキング処理を行わず
に、図4に示す3×3の範囲の画素の中心に位置する画
素をそのまま出力する(ステップ46)。
On the other hand, when the unsharp masking processing is not instructed via the instructing section 20f (step 42, N
o), the unsharp masking processing unit 20d of the color correction processing unit 20a outputs the pixel located at the center of the pixel in the 3 × 3 range shown in FIG. 4 without performing the unsharp masking processing (step 46). ).

【0035】次に、指示部20fを介して黒強調処理が
指示されると(ステップ48、Yes)、色補正処理部
20aの黒強調処理部20eは、後に詳細に説明する黒
強調処理を実行する(ステップ50)。当該黒強調処理
は、1画素入力に対して1画素を出力する処理である。
Next, when black enhancement processing is instructed via the instruction section 20f (step 48, Yes), the black enhancement processing section 20e of the color correction processing section 20a executes black enhancement processing which will be described in detail later. (Step 50). The black enhancement process is a process of outputting one pixel for one pixel input.

【0036】一方、指示部20fを介して黒強調処理が
指示されない場合(ステップ48、No)、色補正処理
部20aの黒強調処理部20eは、黒強調処理を行わず
に、1画素をそのまま出力する(ステップ52)。
On the other hand, if the black enhancement processing is not instructed via the instruction section 20f (step 48, No), the black enhancement processing section 20e of the color correction processing section 20a does not perform the black enhancement processing and leaves one pixel as it is. Output (Step 52).

【0037】ステップ42〜46におけるアンシャープ
マスキング処理と、ステップ48〜52における黒強調
処理とは独立の処理であり、例えば処理全体の負荷が大
きい時には、いずれか一方の処理のみを用いる構成とす
ることもできる。但し、黒文字強調処理の効果を鑑みれ
ば両方の処理を行うことが好ましい。また、ステップ4
2〜46におけるアンシャープマスキング処理と、ステ
ップ48〜52における黒強調処理とを逆の順序で処理
することも可能であるが、アンシャープマスキング処理
において3×3範囲の画素を確保してアンシャープマス
キング処理を行うことを鑑みると、図3に示すようにア
ンシャープマスキング処理の後に黒強調処理を行う方
が、黒強調処理画素保存用メモリを設ける必要がなく、
ハードウエアの構成上好ましい。
The unsharp masking process in steps 42 to 46 and the black enhancement process in steps 48 to 52 are independent processes. For example, when the load of the entire process is large, only one of the processes is used. You can also. However, it is preferable to perform both processes in view of the effect of the black character enhancement process. Step 4
It is possible to perform the unsharp masking processing in steps 2 to 46 and the black enhancement processing in steps 48 to 52 in the reverse order. However, in the unsharp masking processing, pixels in a 3 × 3 range are secured and unsharp processing is performed. In view of performing the masking process, performing the black enhancement process after the unsharp masking process as shown in FIG.
It is preferable in terms of hardware configuration.

【0038】当該実施形態によれば、解像度変換処理を
行った後に、アンシャープマスキング処理および黒強調
処理を行っているので、モアレの発生を低減することが
できる。
According to this embodiment, since the unsharp masking process and the black enhancement process are performed after the resolution conversion process, the occurrence of moire can be reduced.

【0039】なお、ステップ42〜52の処理を行うに
あたっては、図5に示すようにして対象画素を移動させ
ながら全画素について上記処理を行う。
In performing the processing of steps 42 to 52, the above processing is performed for all the pixels while moving the target pixel as shown in FIG.

【0040】第2実施例 以下、図18を参照して、画像処理装置20によって実
行される画像処理制御プログラムの第2実施例を説明す
る。
Second Embodiment Hereinafter, a second embodiment of the image processing control program executed by the image processing apparatus 20 will be described with reference to FIG.

【0041】第1実施例では、アンシャープマスキング
処理および黒強調処理を選択可能な構成としているが、
当該第2実施例では、解像度変換処理を終了した後にア
ンシャープマスキング処理の強さの調整量が設定される
と、自動的にアンシャープマスキング処理および黒強調
処理が行われる。
In the first embodiment, the unsharp masking process and the black enhancement process can be selected.
In the second embodiment, when the adjustment amount of the intensity of the unsharp masking process is set after the resolution conversion process is completed, the unsharp masking process and the black enhancement process are automatically performed.

【0042】図18に示すように、まず、図1に示す画
像処理装置20の指示部20fを介して入力される値に
基づき、解像度変換部20gは、後に詳細に説明する解
像度変換処理を実行する(ステップ53)。
As shown in FIG. 18, first, based on the value input via the instruction unit 20f of the image processing apparatus 20 shown in FIG. 1, the resolution conversion unit 20g executes a resolution conversion process described in detail later. (Step 53).

【0043】そして、解像度変換処理の後に、図1に示
す画像処理装置20の指示部20fを介して、後に詳細
に説明するアンシャープマスキング処理の強さの調整量
US Mが設定されると(ステップ54)、色補正処理部
20aのアンシャープマスキング処理部20dは、後に
詳細に説明するアンシャープマスキング処理を実行する
(ステップ56)。第1実施例と同様に、アンシャープ
マスキング処理は、3×3の範囲の画素入力に対して1
画素を出力する処理であり、図4に示すように参照画素
数を9とすることによって、さらに高速な計算処理が可
能となるとともに計算に使用するメモリの容量をさらに
少なくすることができる。
[0043] Then, after the resolution conversion process, via the instructing unit 20f of the image processing apparatus 20 shown in FIG. 1, the adjustment amount of the intensity of the unsharp masking process will be described later in detail when C US M is set (Step 54), the unsharp masking processing unit 20d of the color correction processing unit 20a executes an unsharp masking process described in detail later (Step 56). As in the first embodiment, the unsharp masking process is performed for one pixel input in a 3 × 3 range.
This is a process of outputting pixels, and by setting the number of reference pixels to 9 as shown in FIG. 4, it is possible to perform a higher-speed calculation process and further reduce the capacity of a memory used for calculation.

【0044】そして、アンシャープマスキング処理の
後、色補正処理部20aの黒強調処理部20eは、後に
詳細に説明する黒強調処理を実行する(ステップ5
8)。第1実施例と同様に、当該黒強調処理は、1画素
入力に対して1画素を出力する処理である。
After the unsharp masking processing, the black enhancement processing section 20e of the color correction processing section 20a executes the black enhancement processing described later in detail (step 5).
8). As in the first embodiment, the black enhancement process is a process of outputting one pixel for one pixel input.

【0045】第1実施例と同様に、ステップ56におけ
るアンシャープマスキング処理と、ステップ56におけ
る黒強調処理とは独立の処理であり、例えば処理全体の
負荷が大きい時には、いずれか一方の処理のみを用いる
構成とすることもできる。但し、黒文字強調処理の効果
を鑑みれば両方の処理を行うことが好ましい。また、ス
テップ56におけるアンシャープマスキング処理と、ス
テップ58における黒強調処理とを逆の順序で処理する
ことも可能であるが、アンシャープマスキング処理にお
いて3×3範囲の画素を確保してアンシャープマスキン
グ処理を行うことを鑑みると、図18に示すようにアン
シャープマスキング処理の後に黒強調処理を行う方が、
黒強調処理画素保存用メモリを設ける必要がなく、ハー
ドウエアの構成上好ましい。
As in the first embodiment, the unsharp masking process in step 56 and the black enhancement process in step 56 are independent processes. For example, when the overall processing load is large, only one of the processes is performed. The configuration used may be used. However, it is preferable to perform both processes in view of the effect of the black character enhancement process. It is also possible to perform the unsharp masking process in step 56 and the black enhancement process in step 58 in reverse order. However, in the unsharp masking process, the unsharp masking process is performed by securing pixels in a 3 × 3 range. In view of performing the processing, it is better to perform the black enhancement processing after the unsharp masking processing as shown in FIG.
There is no need to provide a memory for storing black enhancement pixels, which is preferable in terms of hardware configuration.

【0046】なお、ステップ56および58の処理を行
うにあたっては、図5に示すようにして対象画素を移動
させながら全画素について上記処理を行う。
When performing the processing of steps 56 and 58, the above processing is performed for all the pixels while moving the target pixel as shown in FIG.

【0047】解像度変換処理 次に、図15を参照して、解像度変換部20gによって
実行される解像度変換処理制御プログラムを説明する。
当該実施形態では、プリンタ30の出力解像度A[dp
i]を360dpiおよび720dpiから選択可能で
あり、スキャナ10の入力解像度C[dpi]を400d
piおよび800dpiから選択可能であるものとす
る。
Next, a resolution conversion control program executed by the resolution converter 20g will be described with reference to FIG.
In this embodiment, the output resolution A [dp
i] can be selected from 360 dpi and 720 dpi, and the input resolution C [dpi] of the scanner 10 is set to 400 dpi.
pi and 800 dpi.

【0048】図15に示すように、まず、指示部20f
を介して360dpiまたは720dpiから出力解像
度A[dpi]を選択する(ステップ90)とともに、原
稿拡大・縮小率B[%]を入力する(ステップ92)。
As shown in FIG. 15, first, the instruction unit 20f
, The output resolution A [dpi] is selected from 360 dpi or 720 dpi (step 90), and the original enlargement / reduction ratio B [%] is input (step 92).

【0049】そして、指示部20fを介して400dp
iまたは800dpiから入力解像度C[dpi]を選択
する(ステップ94)と、バイリニア拡大・縮小率D
[dpi]が、 D[dpi]=(A[dpi]/C[dpi])×B[%] によって計算され(ステップ96)、処理を終了する。
Then, 400 dp through the instruction section 20f.
When the input resolution C [dpi] is selected from i or 800 dpi (step 94), the bilinear enlargement / reduction ratio D
[Dpi] is calculated by D [dpi] = (A [dpi] / C [dpi]) × B [%] (step 96), and the process ends.

【0050】このようにして、入力画像サイズから出力
画像サイズに変換するときに、画像サイズ変換は1回の
変換処理で行うことができる。解像度変換処理にバイリ
ニアを用いる理由は、バイリニアによる解像度変換後の
画像は、他の解像度変換処理による画像と比べて滑らか
であり、この滑らかな解像度変換の結果、モアレの発生
を低減させることができるからである。
In this way, when converting the input image size to the output image size, the image size conversion can be performed by one conversion process. The reason that the bilinear is used for the resolution conversion processing is that the image after the resolution conversion by the bilinear is smoother than the image obtained by the other resolution conversion processing, and as a result of this smooth resolution conversion, the occurrence of moire can be reduced. Because.

【0051】なお、スキャナのハードウエアにおいて、
上記解像度変換処理を行うように構成すると、他のハー
ドウエア(画像処理装置、プリンタ)の負担を軽減する
ことができる。
In the scanner hardware,
When configured to perform the above-described resolution conversion processing, the load on other hardware (image processing apparatus, printer) can be reduced.

【0052】アンシャープマスキング処理 次に、図6乃至図11を参照して、アンシャープマスキ
ング処理部20dによって実行されるアンシャープマス
キング処理制御プログラムを説明する。
Next, an unsharp masking processing control program executed by the unsharp masking processing section 20d will be described with reference to FIGS.

【0053】図6に、アンシャープマスキング処理部2
0dによって実行されるアンシャープマスキング処理制
御プログラムを説明するためのフローチャートを示す。
また、図7乃至図11に、アンシャープマスキング処理
の概念を説明するための図を示す。
FIG. 6 shows an unsharp masking processing section 2
9 is a flowchart illustrating an unsharp masking process control program executed by Od.
7 to 11 are views for explaining the concept of the unsharp masking process.

【0054】図6に示すように、当該実施形態における
アンシャープマスキング処理(図3のステップ44にお
ける処理)では、RGBに対する処理をそれぞれ順番に
行う。当該実施形態では、R→G→Bの順に処理を行う
こととしているが、この順番は一例であり、他の順番で
処理することもできる。また、各処理内容は同一である
ため、以下の説明では、代表してRに関して説明を行
う。
As shown in FIG. 6, in the unsharp masking process (the process in step 44 in FIG. 3) in this embodiment, the processes for RGB are sequentially performed. In the present embodiment, processing is performed in the order of R → G → B, but this order is an example, and processing may be performed in another order. Further, since the processing contents are the same, R will be described as a representative in the following description.

【0055】ここで、処理対象画素を、 {Rin(0,0),Gin(0,0),Bin(0,0)} … (1) とし、処理対象範囲を、 {Rin(i,j),Gin(i,j),Bin(i,j)} … (2) とする。但し、iおよびjは、-1≦i≦1、-1≦j≦1の
範囲の整数である。また、アンシャープマスキング処理
終了後の画素を、 {RUSM(0,0),GUSM (0,0),BUSM (0,0)} … (3) とする。
Here, the pixel to be processed is {Rin (0,0), Gin (0,0), Bin (0,0)} (1), and the range to be processed is {Rin (i, j) ), Gin (i, j), Bin (i, j)} (2) Here, i and j are integers in the range of −1 ≦ i ≦ 1 and −1 ≦ j ≦ 1. The pixels after the end of the unsharp masking process are represented by {R USM (0,0), G USM (0,0), B USM (0,0)} (3).

【0056】そして、ステップ44におけるアンシャー
プマスキング処理が開始されると、まず、処理フラグを
赤(Red)にセットして(ステップ60)、図4に示す
処理対象範囲(3×3の範囲)に対して平滑化を行う
(ステップ62)。平滑化後の画素をRSM(0,0)とする
と、平滑化処理は、
When the unsharp masking process is started in step 44, first, the process flag is set to red (step 60), and the processing target range (3 × 3 range) shown in FIG. Are smoothed (step 62). Assuming that the pixel after smoothing is R SM (0,0), the smoothing process is as follows:

【0057】[0057]

【数1】 となる。(Equation 1) Becomes

【0058】ここで、 h(-1,-1)=1/16、h(-1,0)=2/16、h(-1,1)=1/16 h(0,-1)=2/16、h(0,0)=4/16、h(0,1)=2/16 h(1,-1)=1/16、h(1,0)=2/16、h(1,1)=1/16 である。h(K,L)は、平滑化を行うフィルタの係数であ
る。このフィルタの係数は,平滑化特性を示せば任意に
設定できるが、当該実施形態ではハードウエアでの処理
を考慮して3×3の範囲において2のべき乗で表現でき
る係数に設定した。
Here, h (-1, -1) = 1/16, h (-1,0) = 2/16, h (-1,1) = 1/16 h (0, -1) = 2/16, h (0,0) = 4/16, h (0,1) = 2/16 h (1, -1) = 1/16, h (1,0) = 2/16, h ( 1,1) = 1/16. h (K, L) is a coefficient of a filter for performing smoothing. The coefficient of this filter can be arbitrarily set as long as the smoothing characteristic is shown. However, in this embodiment, the coefficient is set to a coefficient which can be expressed by a power of 2 in a 3 × 3 range in consideration of processing by hardware.

【0059】原画像の要素色濃度分布が図7に示すとお
りであったとすると、平滑化後の画像は、図8に示すよ
うに濃度変化の割合が全体的に小さくなる。
Assuming that the elementary color density distribution of the original image is as shown in FIG. 7, the rate of change in density of the image after smoothing becomes smaller as a whole as shown in FIG.

【0060】次に、平滑化前後の画素の差Diffを、 Diff=Rin(0,0)−RSM(0,0) … (5) から計算する(ステップ64)。Next, the difference between Diff of pixels before and after smoothing is calculated from Diff = Rin (0,0) -R SM (0,0) ... (5) ( step 64).

【0061】そして、修正した差Diff’を、 Diff≧0の場合には Diff’=Diff … (6) とし、Diff’<0の場合には、 Diff’=0 … (7) とする(ステップ66)。式(6)および式(7)を用いてDi
ffを修正するのは、差Diffを正の値に限定するためであ
る。このようにDiffを正の値に限定することによって、
濃度が薄く(値が大きく)なる方向の強調だけを行える
ようになる。
Then, the corrected difference Diff ′ is set to Diff ′ = Diff... (6) when Diff ≧ 0, and is set to Diff ′ = 0... (7) when Diff ′ <0 (step) 66). Di using Equations (6) and (7)
The reason for correcting ff is to limit the difference Diff to a positive value. By limiting Diff to positive values in this way,
Only the emphasis in the direction in which the density becomes lighter (the value becomes larger) can be performed.

【0062】通常のアンシャープマスキング処理を行う
と、文字などのエッジ部がシャープになるととともに、
網点画像の場合にモアレが発生してしまう。しかし、当
該実施形態によるアンシャープマスキング処理によれ
ば、網点画像の場合におけるモアレの発生を抑制するこ
とができる。すなわち、濃度が薄くなることによる網点
画像でのパターンの変化は、濃度が濃くなることによる
パターンの変化と比較して人間の感覚上あまり気になら
ないからである。
When ordinary unsharp masking processing is performed, the edges of characters and the like become sharp,
Moire occurs in the case of a dot image. However, according to the unsharp masking process according to the present embodiment, it is possible to suppress the occurrence of moire in the case of a halftone image. That is, the change in the pattern in the halftone image due to the decrease in the density is less noticeable to human senses than the change in the pattern due to the increase in the density.

【0063】図9に、平滑化前後の要素色濃度分布を示
し、図10に、修正後の要素色濃度分布を示す。
FIG. 9 shows the element color density distribution before and after smoothing, and FIG. 10 shows the element color density distribution after correction.

【0064】最終的なアンシャープマスキング処理は、
修正した差Diff’を原画像に加えて、 RUSM(0,0)=Rin(0,0)+CUSM・Diff’ … (8) によって求められる。式(8)において、CUSMは、アンシ
ャープマスキング処理の強さを制御するための定数であ
り、予め設定しておく。当該実施形態では、一例として
USM=2とする。また、結果としてRUSM(0,0)にオー
バーフローが生じる場合には、RUSM(0,0)の最大値を2
55までに限定する処理をもうける。図11に、最終的
なアンシャープマスキング処理を施した後の要素色濃度
分布を示す。
The final unsharp masking process is as follows:
The corrected difference Diff 'is added to the original image, and R USM (0,0) = R in (0,0) + C USM · Diff' (8) In the equation (8), C USM is a constant for controlling the strength of the unsharp masking process, and is set in advance. In the present embodiment, C USM = 2 as an example. If overflow occurs in R USM (0,0) as a result, the maximum value of R USM (0,0) is set to 2
A process limited to 55 is provided. FIG. 11 shows the element color density distribution after the final unsharp masking processing.

【0065】黒強調処理 次に、図12乃至図14を参照して、黒強調処理部20
eによって実行される黒強調処理制御プログラムを説明
する。
Next, referring to FIGS. 12 to 14, the black enhancement processing section 20
The black enhancement processing control program executed by e will be described.

【0066】黒強調処理は、(1)黒領域を抽出する処理
と、(2)抽出領域を強調する処理と、を備える。
The black enhancement process includes (1) a process for extracting a black region and (2) a process for enhancing an extracted region.

【0067】図12に、抽出する黒領域の概念を説明す
るための図を示す。図12の立方体の斜線で囲まれた領
域が黒領域であり、RGB空間としてみれば、輝度・彩
度ともに小さな領域である。Bが一定の平面によるRG
B空間の切断面を考えると、Bが小さいとき黒領域は左
上に存在し、Bが大きくなるにしたがって黒領域は徐々
に小さくなる。RGB空間で輝度・彩度とも小さい領域
が黒領域であることを用いて、原画像に対して輝度およ
び彩度を計算して、輝度および彩度の加重平均を用いて
黒量を計算し、黒領域を抽出する。図12の概念図のよ
うに、Bが大きくなるにしたがって、三角形として存在
する黒領域が徐々に小さくなることが確認できる。
FIG. 12 is a diagram for explaining the concept of a black area to be extracted. The region surrounded by the oblique lines of the cube in FIG. 12 is a black region, and when viewed as an RGB space, is a region in which both luminance and chroma are small. RG by B is constant plane
Considering the cut surface of the B space, when B is small, the black region exists at the upper left, and as B increases, the black region gradually decreases. Using the fact that an area having low luminance and saturation in the RGB space is a black area, the luminance and the saturation are calculated for the original image, and the black amount is calculated using the weighted average of the luminance and the saturation. Extract the black area. As shown in the conceptual diagram of FIG. 12, it can be confirmed that as B increases, the black area existing as a triangle gradually decreases.

【0068】図13に、黒強調処理部20eによって実
行される黒強調処理制御プログラムを説明するためのフ
ローチャートを示す。ここで、黒強調処理対象画素を、 {Rin’(0,0),Gin’(0,0),Bin’(0,0)} … (9) とし、黒強調処理終了後の画素を、 {RBK(0,0),GBK(0,0),BBK(0,0)} … (10) とする。
FIG. 13 is a flowchart for explaining a black enhancement processing control program executed by the black enhancement processing section 20e. Here, the target pixels for black enhancement processing are {Rin '(0,0), Gin' (0,0), Bin '(0,0)} (9), and the pixels after the black enhancement processing are {R BK (0,0), G BK (0,0), B BK (0,0)} (10)

【0069】図13に示すように、当該実施形態におけ
る黒強調処理(図3のステップ50における処理)で
は、黒強調処理対象画素のRGB値から、輝度I(0,0)お
よび彩度相当量S(0,0)を I(0,0)=max{Rin’(0,0),Gin’(0,0),Bin’(0,0)} … (11) S(0,0)=max{Rin’(0,0),Gin’(0,0),Bin’(0,0)} −min{Rin’(0,0),Gin’(0,0),Bin’(0,0)} … (12) によって計算する(ステップ80および82)。式(12)に
おいて、除算を行わずに彩度相当量を計算しているの
で、ハードウエアの負担を軽減することができる。
As shown in FIG. 13, in the black enhancement processing (the processing in step 50 in FIG. 3) in the present embodiment, the luminance I (0,0) and the saturation equivalent amount are calculated from the RGB values of the black enhancement processing target pixel. Let S (0,0) be I (0,0) = max {Rin '(0,0), Gin' (0,0), Bin '(0,0)} ... (11) S (0,0) = Max {Rin '(0,0), Gin' (0,0), Bin '(0,0)} -min {Rin' (0,0), Gin '(0,0), Bin' (0 , 0)} (12) (steps 80 and 82). In equation (12), since the saturation equivalent amount is calculated without performing division, the load on hardware can be reduced.

【0070】次に、式(11)および式(12)から計算される
輝度I(0,0)および彩度相当量S(0,0)から、以下の式(13)
および式(14): Dr(0,0)=255−I(0,0) … (13) Gr(0,0)=255−S(0,0) … (14) から暗さDr(0,0)およびグレー度Gr(0,0)を計算する。そ
して、計算された暗さDr(0,0)およびグレー度Gr(0,0)を
用いて、以下の式(15): BK(0,0)=CBK{α・Dr(0,0)+(1−α)・Gr(0,0)} … (15) 0≦α≦1から黒量BK(0,0)を計算する(ステップ8
4)。式(15)において、CBKは、黒量の抽出を制御する
ための定数であり、値が大きい程、多くの黒量を抽出す
る。また、αは、黒量において暗さとグレー度との相対
的重みを制御するための定数であり、値が大きい程、輝
度(暗さ)を重視して黒量を算出する。この2つの定数
は、いずれも予め設定しておく。当該実施形態では一例
としてCBK=1、α=0.75とする。
Next, from the luminance I (0,0) and the saturation equivalent S (0,0) calculated from the equations (11) and (12), the following equation (13) is obtained.
And Expression (14): Dr (0,0) = 255-I (0,0) (13) Gr (0,0) = 255-S (0,0) (14) , 0) and the degree of gray Gr (0,0). Then, using the calculated darkness Dr (0,0) and grayness Gr (0,0), the following equation (15): BK (0,0) = C BK {α · Dr (0,0 ) + (1−α) · Gr (0,0)} (15) The black amount BK (0,0) is calculated from 0 ≦ α ≦ 1 (step 8)
4). In Expression (15), C BK is a constant for controlling the extraction of the black amount, and the larger the value, the more the black amount is extracted. Α is a constant for controlling the relative weight between the darkness and the gray level in the black amount. The larger the value, the more the black amount is calculated with emphasis on luminance (darkness). Both of these two constants are set in advance. In the present embodiment, as an example, C BK = 1 and α = 0.75.

【0071】黒量を計算した後、シャドウ部の強調処理
を行い(ステップ86)、シャドウ部を強調した画素の
RGB値と処理対象画素のRGB値との混合によって処
理終了画素のRGB値を計算する(ステップ88)。こ
のとき、抽出した黒量によって混合の割合を変化させ
る。この処理では、RGBに対して等しく行われるた
め、以下の説明では代表してRについて説明する。
After calculating the black amount, the shadow portion is emphasized (step 86), and the RGB value of the processing end pixel is calculated by mixing the RGB value of the pixel whose shadow portion is emphasized and the RGB value of the processing target pixel. (Step 88). At this time, the mixing ratio is changed according to the extracted black amount. Since this process is performed equally for RGB, R will be described as a representative in the following description.

【0072】Rに関してシャドウ部を強調した画素RSHD
(0,0)は、 RSHD(0,0)=(2・Rin’(0,0)/255)2・128, 0≦Rin’(0,0)≦128 … (1 6) RSHD(0,0)=Rin’(0,0), 128≦Rin’(0,0)≦255 … (17) によって計算される。式(16)および式(17)による変換
は、0≦Rin’(0,0)≦128においてγ関数を用いて入力
値を変換して出力し、128≦Rin’(0,0)≦255において
入力値をそのまま出力するものであり、シャドウ部の強
調を行うことができる。式(16)および式(17)による変
換を図14に示す。なお、ハードウエアとして実装する
場合には、式(16)を RSHD(0,0)=(Rin’(0,0))2/128, 0≦Rin’(0,0)≦128 … (18) と近似する。これは、式(16)が255による除算を含んで
おり、ハードウエアに負担がかかり好ましくないので、
255による除算を含まないようにするためである。式(1
5)の黒量および式(16)並びに式(17)のシャドウ強調画素
を用いて、黒強調処理の最終的処理画素RBK(0,0)は、 RBK(0,0)={BK(0,0)・RSHD(0,0)}/255+{1−BK(0,0)/255}・Rin’(0,0) … (19) を近似した式 RBK(0,0)={BK(0,0)・RSHD(0,0)+(255−BK(0,0))・Rin’(0,0)}/256 … (20) から計算する。式(20)は、シャドウ部を強調した画素と
黒強調処理対象画素との混合によって処理終了画素を計
算するものであり、この際、抽出した黒量に応じて、混
合の割合を変化させている。式(20)において近似式を用
いているのは、式(19) が255による除算を含んでおり、
ハードウエアに負担がかかり好ましくないので、255に
よる除算を含まないようにするためである。
A pixel R SHD in which a shadow portion is emphasized with respect to R
(0,0) is R SHD (0,0) = (2 · Rin ′ (0,0) / 255) 2 · 128, 0 ≦ Rin ′ (0,0) ≦ 128 (16) R SHD (0,0) = Rin '(0,0), 128 ≦ Rin ′ (0,0) ≦ 255 (17) In the conversion by the equations (16) and (17), the input value is converted and output using the γ function when 0 ≦ Rin ′ (0,0) ≦ 128, and 128 ≦ Rin ′ (0,0) ≦ 255 In this case, the input value is output as it is, and the shadow portion can be emphasized. FIG. 14 shows the conversion by the equations (16) and (17). Note that when implemented as hardware, formula (16) and R SHD (0,0) = (Rin '(0,0)) 2/128, 0 ≦ Rin' (0,0) ≦ 128 ... ( 18) is approximated. This is because equation (16) includes a division by 255, which is not desirable because it imposes a burden on hardware.
This is so as not to include division by 255. Expression (1
Using the black amount of 5) and the shadow enhancement pixels of equations (16) and (17), the final processing pixel R BK (0,0) of the black enhancement processing is R BK (0,0) = {BK (0,0) · R SHD (0,0)} / 255+ {1-BK (0,0) / 255} · Rin '(0,0)… Expression (19) that approximates R BK (0,0 ) = {BK (0,0) ・ R SHD (0,0) + (255−BK (0,0)) ・ Rin ′ (0,0)} / 256 (20) Equation (20) calculates the processing end pixel by mixing the shadow emphasized pixel and the black enhancement processing target pixel.At this time, the mixing ratio is changed according to the extracted black amount. I have. Equation (20) uses an approximation because equation (19) includes division by 255,
The reason for this is that the division by 255 is not included because the load on the hardware is not preferable.

【0073】他の実施形態 図16に示すように、図1に示す画像処理装置からなる
画像処理部20aと、スキャナ部10aと、プリンタ部
30aと、を有するスキャナプリンタコピー(SPC)
に対しても本願発明による画像処理を適用することがで
きる。なお、スキャナ部10aのハードウエアにおい
て、上記解像度変換処理を行うように構成すると、他の
ハードウエア(画像処理部20aおよびプリンタ部30
a)の負担を軽減することができる。
Another Embodiment As shown in FIG. 16, a scanner printer copy (SPC) having an image processing unit 20a, a scanner unit 10a, and a printer unit 30a comprising the image processing apparatus shown in FIG.
The image processing according to the present invention can also be applied to. If the resolution conversion process is performed in the hardware of the scanner unit 10a, other hardware (the image processing unit 20a and the printer unit 30a) may be used.
The burden of a) can be reduced.

【0074】さらに、図17に示すように、アプリケー
ション10aから生成される画像データに対しても本願
発明による画像処理を適用することができる。
Further, as shown in FIG. 17, the image processing according to the present invention can be applied to image data generated from the application 10a.

【0075】[0075]

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

【図1】本発明の一実施形態にかかる画像処理制御方法
を適用した画像処理システムを示す機能ブロック図であ
る。
FIG. 1 is a functional block diagram showing an image processing system to which an image processing control method according to an embodiment of the present invention is applied.

【図2】本発明の一実施形態にかかる画像処理装置の具
体的ハードウエア構成例を示す概略ブロック図である。
FIG. 2 is a schematic block diagram illustrating a specific hardware configuration example of an image processing apparatus according to an embodiment of the present invention.

【図3】画像処理装置によって実行される画像処理制御
プログラムの第1実施例を説明するためのフローチャー
トである。
FIG. 3 is a flowchart illustrating a first embodiment of an image processing control program executed by the image processing apparatus.

【図4】アンシャープマスキング処理の対象となる近傍
画素を説明するための図である。
FIG. 4 is a diagram for explaining neighboring pixels to be subjected to unsharp masking processing.

【図5】処理対象画素を移動させて行く状態を示す図で
ある。
FIG. 5 is a diagram illustrating a state where a processing target pixel is moved.

【図6】アンシャープマスキング処理部20dによって
実行されるアンシャープマスキング処理制御プログラム
を説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining an unsharp masking processing control program executed by an unsharp masking processing unit 20d.

【図7】アンシャープマスキング処理の概念を説明する
ための図(1)である。
FIG. 7 is a diagram (1) for explaining the concept of unsharp masking processing;

【図8】アンシャープマスキング処理の概念を説明する
ための図(2)である。
FIG. 8 is a diagram (2) for explaining the concept of unsharp masking processing;

【図9】アンシャープマスキング処理の概念を説明する
ための図(3)である。
FIG. 9 is a diagram (3) for explaining the concept of unsharp masking processing;

【図10】アンシャープマスキング処理の概念を説明す
るための図(4)である。
FIG. 10 is a diagram (4) for explaining the concept of the unsharp masking process;

【図11】アンシャープマスキング処理の概念を説明す
るための図(5)である。
FIG. 11 is a diagram (5) for explaining the concept of the unsharp masking process;

【図12】黒領域の概念を説明するための図である。FIG. 12 is a diagram for explaining the concept of a black area.

【図13】黒強調処理部20eによって実行される黒強
調処理制御プログラムを説明するためのフローチャート
である。
FIG. 13 is a flowchart illustrating a black enhancement processing control program executed by a black enhancement processing unit 20e.

【図14】シャドウ部強調のための変換カーブを示す図
である。
FIG. 14 is a diagram showing a conversion curve for enhancing a shadow portion.

【図15】解像度変換部20gによって実行される解像
度変換処理制御プログラムを説明するためのフローチャ
ートである。
FIG. 15 is a flowchart illustrating a resolution conversion processing control program executed by a resolution conversion unit 20g.

【図16】本発明の他の実施形態にかかる画像処理制御
方法を適用した画像処理システムを示す機能ブロック図
である。
FIG. 16 is a functional block diagram showing an image processing system to which an image processing control method according to another embodiment of the present invention is applied.

【図17】本発明の他の実施形態にかかる画像処理制御
方法を適用した画像処理システムを示す機能ブロック図
である。
FIG. 17 is a functional block diagram showing an image processing system to which an image processing control method according to another embodiment of the present invention is applied.

【図18】画像処理装置によって実行される色補正処理
制御プログラムの第2実施例を説明するためのフローチ
ャートである。
FIG. 18 is a flowchart for explaining a second embodiment of the color correction processing control program executed by the image processing apparatus.

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

10 画像入力装置 11a スキャナ 11b デジタルスチルカメラ 11c ビデオカメラ 12 コンピュータ本体 12a オペレーティングシステム 12b ディスプレイドライバ 12c プリンタドライバ 12d アプリケーション 13a フロッピーディスクドライブ 13b ハードディスク 13c CD−ROMドライブ 14a モデム 15a キーボード 15b マウス 17a ディスプレイ 17b カラープリンタ 20 画像処理装置 20a 色補正処理部 20b 色変換部 20c 二値化部 20d アンシャープマスキング処理部 20e 黒強調処理部 20f 指示部 30 画像出力装置 Reference Signs List 10 Image input device 11a Scanner 11b Digital still camera 11c Video camera 12 Computer body 12a Operating system 12b Display driver 12c Printer driver 12d Application 13a Floppy disk drive 13b Hard disk 13c CD-ROM drive 14a Modem 15a Keyboard 15b Mouse 17a Display 17b Color printer 20 Image processing device 20a Color correction processing unit 20b Color conversion unit 20c Binarization unit 20d Unsharp masking processing unit 20e Black enhancement processing unit 20f Instruction unit 30 Image output device

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 5/20 B41J 3/12 L H04N 1/405 H04N 1/40 B 1/409 101D 1/46 1/46 Z Fターム(参考) 2C062 AA24 AA52 5B057 AA11 BA02 BA23 CA01 CA08 CA12 CA16 CB01 CB07 CB12 CB16 CC02 CD06 CE03 CE05 CE06 CH08 CH09 CH18 5C076 AA21 AA22 AA26 AA27 AA31 AA32 BA02 BA06 BB40 CB01 CB04 5C077 LL03 MP08 NN11 PP02 PP03 PP20 PP32 PP33 PP47 SS01 TT02 5C079 HB01 HB03 HB12 LA14 LA15 LA31 LA34 LA37 LB01 LC09 NA02 PA03 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06T 5/20 B41J 3/12 L H04N 1/405 H04N 1/40 B 1/409 101D 1/46 1 / 46 Z F term (reference) 2C062 AA24 AA52 5B057 AA11 BA02 BA23 CA01 CA08 CA12 CA16 CB01 CB07 CB12 CB16 CC02 CD06 CE03 CE05 CE06 CH08 CH09 CH18 5C076 AA21 AA22 AA26 AA27 AA31 AA32 BA02 BA06 BB40 PP03 CB40 PP03 PP03 PP33 PP47 SS01 TT02 5C079 HB01 HB03 HB12 LA14 LA15 LA31 LA34 LA37 LB01 LC09 NA02 PA03

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 データ生成部およびプリンタ部を有する
画像処理装置であって、 データ生成部の入力解像度、プリンタ部の出力解像度お
よび拡大・縮小率に基づき、解像度変換処理を行うため
の解像度変換手段と、 解像度変換処理の後に、強調処理を行うための強調処理
手段と、 を備え、強調処理後、ほぼ同一サイズで印刷処理を行う
画像処理装置。
An image processing apparatus having a data generation unit and a printer unit, comprising: a resolution conversion unit for performing a resolution conversion process based on an input resolution of the data generation unit, an output resolution of the printer unit, and an enlargement / reduction ratio. And an emphasis processing means for performing an emphasis process after the resolution conversion process, and an image processing device that performs a printing process with substantially the same size after the emphasis process.
【請求項2】 請求項1に記載の画像処理装置であっ
て、データ生成部が前記解像度変換手段を備えている画
像処理装置。
2. The image processing apparatus according to claim 1, wherein the data generation unit includes the resolution conversion unit.
【請求項3】 請求項1または2に記載の画像処理装置
であって、データ生成部がスキャナ部を備えている画像
処理装置。
3. The image processing apparatus according to claim 1, wherein the data generation unit includes a scanner unit.
【請求項4】 請求項1乃至3のいづれか一項に記載の
画像処理装置であって、前記解像度変換処理が平滑化処
理を伴う画像処理装置。
4. The image processing apparatus according to claim 1, wherein the resolution conversion processing includes a smoothing processing.
【請求項5】 請求項1乃至4のいづれか一項に記載の
画像処理装置であって、プリンタ部における二値化処理
が、誤差拡散処理である画像処理装置。
5. The image processing apparatus according to claim 1, wherein the binarization processing in the printer unit is an error diffusion processing.
【請求項6】 請求項1乃至5のいづれか一項に記載の
画像処理装置であって、 強調処理手段が、画像データに基づき、要素色成分毎
に、濃度が低くなる方向に要素色成分を補正することに
よってシャープネスを強調するシャープネス強調処理を
行う画像処理装置。
6. The image processing apparatus according to claim 1, wherein the emphasis processing unit is configured to, based on the image data, determine, for each element color component, an element color component in a direction in which a density decreases. An image processing apparatus that performs sharpness enhancement processing to enhance sharpness by correcting.
【請求項7】 請求項1乃至6のいづれか一項に記載の
画像処理装置であって、 強調処理手段が、画像データに基づき黒強調処理を行う
画像処理装置。
7. The image processing apparatus according to claim 1, wherein the enhancement processing unit performs black enhancement processing based on the image data.
【請求項8】 請求項6または7に記載の画像処理装置
であって、 前記シャープネス強調処理が、 所定領域の前記色画像データの平滑化前後の差を求める
処理と、 当該差が正の場合にシャープネスを強調する処理と、 を備えている画像処理装置。
8. The image processing apparatus according to claim 6, wherein the sharpness enhancement process includes a process of obtaining a difference before and after smoothing the color image data in a predetermined area, and the difference is positive. An image processing device comprising: a process for enhancing sharpness.
【請求項9】 請求項6乃至8のいづれか一項に記載の
画像処理装置であって、 前記シャープネス強調処理が、 シャープネスを強調する程度を調整する処理を備えてい
る画像処理装置。
9. The image processing apparatus according to claim 6, wherein the sharpness enhancement processing includes processing for adjusting a degree of sharpness enhancement.
【請求項10】 請求項7乃至9のいづれか一項に記載
の画像処理装置であって、 前記黒強調処理が黒領域に対して行われる画像処理装
置。
10. The image processing apparatus according to claim 7, wherein the black enhancement processing is performed on a black area.
【請求項11】 請求項10に記載の画像処理装置であ
って、 前記黒領域が、輝度相当値および彩度相当値に基づいて
求められる画像処理装置。
11. The image processing apparatus according to claim 10, wherein the black area is obtained based on a luminance equivalent value and a saturation equivalent value.
【請求項12】 請求項7乃至11のいづれか一項に記
載の画像処理装置であって、 前記黒強調処理がシャドウ部を強調する処理を備える画
像処理装置。
12. The image processing device according to claim 7, wherein the black enhancement process includes a process of enhancing a shadow portion.
【請求項13】 請求項6乃至12のいづれか一項に記
載の画像処理装置であって、 前記シャープネス強調処理を行った後に、前記黒強調処
理を行う画像処理装置。
13. The image processing apparatus according to claim 6, wherein the black enhancement processing is performed after the sharpness enhancement processing is performed.
【請求項14】 請求項6乃至13のいづれか一項に記
載の画像処理装置であって、 前記シャープネス強調処理または前記黒強調処理を選択
可能である画像処理装置。
14. The image processing apparatus according to claim 6, wherein the sharpness enhancement processing or the black enhancement processing can be selected.
【請求項15】 データ生成部およびプリンタ部を用い
る画像処理方法であって、 データ生成部の入力解像度、プリンタ部の出力解像度お
よび拡大・縮小率に基づき解像度変換を行うための解像
度変換工程と、 解像度変換処理後に強調処理を行う強調処理工程と、 を備え、強調処理の後、ほぼ同一サイズで印刷処理を行
う画像処理方法。
15. An image processing method using a data generation unit and a printer unit, comprising: a resolution conversion step for performing a resolution conversion based on an input resolution of the data generation unit, an output resolution of the printer unit, and an enlargement / reduction ratio; An image processing method comprising: an emphasis processing step of performing an emphasis processing after a resolution conversion processing;
【請求項16】 データ生成部およびプリンタ部を用い
る画像処理をコンピュータに実行させるためのプログラ
ムであって、 データ生成部の入力解像度、プリンタ部の出力解像度お
よび拡大・縮小率に基づき解像度変換を行うための解像
度変換処理と、 解像度変換処理後の強調処理と、 強調処理の後、ほぼ同一サイズで印刷を行う印刷処理
と、 をコンピュータに実行させるためのプログラム。
16. A program for causing a computer to execute image processing using a data generation unit and a printer unit, and performs resolution conversion based on an input resolution of the data generation unit, an output resolution of the printer unit, and an enlargement / reduction ratio. A program for causing a computer to execute a resolution conversion process, an enhancement process after the resolution conversion process, and a printing process for printing at substantially the same size after the enhancement process.
JP2001044181A 2001-02-20 2001-02-20 Image processing apparatus, method, and program Expired - Fee Related JP4113335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001044181A JP4113335B2 (en) 2001-02-20 2001-02-20 Image processing apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001044181A JP4113335B2 (en) 2001-02-20 2001-02-20 Image processing apparatus, method, and program

Publications (2)

Publication Number Publication Date
JP2002247346A true JP2002247346A (en) 2002-08-30
JP4113335B2 JP4113335B2 (en) 2008-07-09

Family

ID=18906214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001044181A Expired - Fee Related JP4113335B2 (en) 2001-02-20 2001-02-20 Image processing apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP4113335B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3099051A1 (en) 2015-05-29 2016-11-30 Canon Kabushiki Kaisha Apparatus, method, and storage medium storing program for processing image data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3099051A1 (en) 2015-05-29 2016-11-30 Canon Kabushiki Kaisha Apparatus, method, and storage medium storing program for processing image data
US9924068B2 (en) 2015-05-29 2018-03-20 Canon Kabushiki Kaisha Converting image data for printing

Also Published As

Publication number Publication date
JP4113335B2 (en) 2008-07-09

Similar Documents

Publication Publication Date Title
EP0886437B1 (en) Method and apparatus for colour adjustment
US6608926B1 (en) Image processing method, image processing apparatus and recording medium
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP2008227759A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
JP2003153006A (en) Image processing device
JP5275325B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4079814B2 (en) Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, and computer program
WO2000007144A1 (en) Monotone converting device, monotone converting method, and medium on which monotone converting program is recorded
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4112413B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP2010278933A (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP2001189863A (en) Image processing method and image processing apparatus
JP2002247346A (en) Image processing apparatus, method and program
JP4359730B2 (en) Monotone conversion apparatus, monotone conversion method, and medium recording monotone conversion program
JP2008306400A (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2011059193A (en) Image processing device, image forming device equipped with the same, image processing method, control program, and recording medium
JPH02244876A (en) Sharpness improving system for picture processor
JP3959971B2 (en) Program, recording medium, image processing apparatus and method
JP4230435B2 (en) Image processing method, image processing apparatus, and image forming apparatus including the same
JP2002314827A (en) Image processing method, image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP4024735B2 (en) Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, and computer program
JP4166733B2 (en) Image processing method, image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP2001024872A (en) Image processing method and apparatus, image processing system, and recording medium
JP2002176552A (en) Picture processor and storage medium with picture processing program recorded
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040729

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060407

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060706

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060713

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060915

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees