JP2002314826A - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2002314826A
JP2002314826A JP2001112579A JP2001112579A JP2002314826A JP 2002314826 A JP2002314826 A JP 2002314826A JP 2001112579 A JP2001112579 A JP 2001112579A JP 2001112579 A JP2001112579 A JP 2001112579A JP 2002314826 A JP2002314826 A JP 2002314826A
Authority
JP
Japan
Prior art keywords
color
image
image data
processing
image processing
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
JP2001112579A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yamazaki
康弘 山崎
Koichi Hashimoto
浩一 橋本
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.)
Riso Kagaku Corp
Original Assignee
Riso Kagaku 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 Riso Kagaku Corp filed Critical Riso Kagaku Corp
Priority to JP2001112579A priority Critical patent/JP2002314826A/en
Publication of JP2002314826A publication Critical patent/JP2002314826A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a user to enjoy the pleasure and sense of fulfillment of a printing operation by the use of handmade image. SOLUTION: This image processing method of carrying out a discoloration treatment for image data comprises a first step 101 of storing the color range of image material used for image data, a second step 102 of enabling each color of the image material of the image data to carry out a discoloration treatment, and a third step 103 of converting the colors of the image material subjected to the discoloration treatment into colors within the color range.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばCD−RO
Mやインターネットを介して提供される手作り画像を変
色する処理に対し適用して好適な、画像処理装置に関す
る。
TECHNICAL FIELD The present invention relates to, for example, a CD-RO
The present invention relates to an image processing apparatus suitable for being applied to a process of changing the color of a hand-made image provided via M or the Internet.

【0002】[0002]

【従来の技術】銀塩写真に比肩する画質で画像を印刷す
るために、近年、インクジェットプリンタ装置に係わる
技術は急速な進歩を遂げている。具体的には、例えば、
ノズルから吐出するインクの体積を極めて小さくするこ
とにより、印刷物上のインクの粒状感を大きく低減させ
た。また、プロセスカラー印刷で使用される、シアン、
マゼンダ、イエローおよびブラックのインクの他に、淡
いシアン、淡いマゼンダのインクを併用することによ
り、低濃度部の滑らかさを増した。従来、低濃度部でシ
アンやマゼンダが形成する孤立点は肉眼で目立つもので
あった。ところが、この孤立点の濃度を淡いシアンや淡
いマゼンダで表現することにより、これらのインクの濃
度が低いために孤立点が肉眼で区別されなくなり、低濃
度部の滑らかさを増すことができるのである。
2. Description of the Related Art In recent years, in order to print an image with an image quality comparable to that of a silver halide photograph, the technology relating to an ink jet printer has rapidly advanced. Specifically, for example,
By making the volume of the ink ejected from the nozzle extremely small, the granularity of the ink on the printed matter was greatly reduced. In addition, cyan, which is used in process color printing,
By using light cyan and light magenta inks in addition to the magenta, yellow and black inks, the smoothness of the low density portion was increased. Conventionally, isolated points formed by cyan and magenta in low-density portions have been conspicuous to the naked eye. However, by expressing the density of the isolated points with light cyan or light magenta, the isolated points cannot be distinguished by the naked eye due to the low density of these inks, and the smoothness of the low density portion can be increased. .

【0003】このようにして成されたインクジェットプ
リンタ装置を利用した印刷処理の画質の改善によって、
インクジェットプリンタ装置を利用して手作りの絵画や
手書き文字を忠実に再現することもできるようになっ
た。例えば、白い紙に万年筆や筆で描かれた文字、クレ
ヨン、色鉛筆、水彩絵具で描かれた絵画、版画および孔
版画の手法により印刷された印刷物をイメージスキャナ
で読み取り、読み取った画像をインクジェットプリンタ
装置を用いて印刷すると、原稿と区別がつかないほど忠
実な画像を形成することができる。手作りの絵画を作
り、それをイメージスキャナで読み取ってデジタル画像
にすれば、同じ画像を何枚も印刷することができる。ま
た、手作りの絵画を年賀状の通信面の挿絵として印刷す
れば、手作りの風合いを有する多枚数の印刷物を手間を
かけずに作ることができる。
[0003] By improving the image quality of the printing process using the ink jet printer apparatus thus formed,
Inkjet printers have made it possible to faithfully reproduce handmade paintings and handwritten characters. For example, letters printed on white paper with a fountain pen or brush, crayon, colored pencils, paintings drawn with watercolors, prints and stencils are printed by an image scanner, and the read image is printed by an inkjet printer. When printing is performed using an image, an image can be formed that is faithful to the original. If you make a handmade painting, read it with an image scanner and convert it into a digital image, you can print multiple copies of the same image. In addition, if a hand-made painting is printed as an illustration of a communication surface of a New Year's card, a large number of printed matter having a hand-made texture can be created without trouble.

【0004】[0004]

【発明が解決しようとする課題】ところで、最近、自ら
絵画を作ることはないが手作りの風合いの挿絵を葉書に
入れたいという人のために、作者と著作権上の合意が得
られた手作り画像をCD−ROMやインターネット上の
ウェブサーバに記憶し、CD−ROMやインターネット
を介して手作り画像を提供するというサービスが登場す
るようになった。ところが、上記のようなサービス形態
であると、ユーザは提供された手作り画像をそのまま挿
絵として葉書に挿入するだけであるので、ユーザ自身が
自らの手で作成したという充実感を得ることができな
い。
[Problems to be Solved by the Invention] By the way, for those who do not make paintings themselves but want to put illustrations of handmade textures on postcards, handmade images that have been agreed on copyright with the author have been obtained. Is stored on a CD-ROM or a web server on the Internet, and a service of providing handmade images via the CD-ROM or the Internet has appeared. However, in the service form as described above, the user simply inserts the provided handmade image into the postcard as an illustration as it is, so that the user cannot obtain a sense of fulfillment that the user himself created the image by himself.

【0005】本発明は、上記の技術的課題を解決すべく
なされたものであり、その目的は、コンピュータシステ
ムを利用して手作り画像を簡易的に変色することを可能
にすることにより、手作り画像を利用した自分の感性に
基づいて手を加える楽しさ、充実感をユーザに対し与え
ることを可能にする技術を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above technical problem, and an object of the present invention is to make it possible to easily change the color of a hand-made image by using a computer system. It is an object of the present invention to provide a technology that makes it possible to give a user a pleasure to work on based on his / her own sensitivity and a sense of fulfillment.

【0006】[0006]

【課題を解決するための手段】本発明に係る画像処理装
置の特徴は、画像データの変色処理を行う画像処理装置
であって、画像データが使用する画材の色域を記憶する
記憶部と、画像データの画材の色毎に変色処理を実行す
る変色処理部と、変色処理後の画材の色が色域内に入る
ように変色処理後の画材の色を変換する色変換処理部と
を具備することにある。すなわち、この画像処理装置に
おいては、変色後の色が必ず画材で表現することができ
る色域となるように変色処理を実行するので、虚色が発
生せずに、違和感のない変色処理を実現することができ
る。
A feature of the image processing apparatus according to the present invention is an image processing apparatus for performing a color changing process on image data, and a storage unit for storing a color gamut of an image material used by the image data; The image processing apparatus includes a color change processing unit that performs a color change process for each color of the image material of the image data, and a color conversion processing unit that converts the color of the color material after the color change process so that the color of the color material after the color change process falls within the color gamut. It is in. In other words, in this image processing apparatus, the color change processing is executed so that the color after the color change is always in a color gamut that can be expressed by the image material, so that the color change processing without a sense of incongruity without realizing an imaginary color is realized. can do.

【0007】[0007]

【発明の実施の形態】本発明に係る画像処理装置は、C
D−ROMやインターネットを介して提供される手作り
画像を加工する処理に対し適用、実施することができ
る。そこで、以下では、図1〜図11を参照して、本発
明に係る画像処理装置を上記の処理に対して適用、実施
した、本発明の一実施形態に係る画像処理装置の構成お
よびその動作について詳しく説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to the present invention
The present invention can be applied to and executed on processing for processing a handmade image provided via a D-ROM or the Internet. Therefore, the configuration and operation of the image processing apparatus according to an embodiment of the present invention in which the image processing apparatus according to the present invention has been applied and implemented to the above processing with reference to FIGS. Will be described in detail.

【0008】《画像処理装置の構成》始めに、図1を参
照して、本発明の実施形態に係る画像処理装置の構成に
ついて説明する。
<< Configuration of Image Processing Apparatus >> First, the configuration of an image processing apparatus according to an embodiment of the present invention will be described with reference to FIG.

【0009】本発明の実施形態に係る画像処理装置1
は、図1に示すように、CPU(Central Processing U
nit)2、RAM(Random Access Memory)3、ROM
(ReadOnly Memory)4、入力部5、出力部6および画
像情報記憶部7がシステムバスを介して接続され、構成
要素間でデジタル信号およびデジタルデータの送受信が
可能な構成となっている。
An image processing apparatus 1 according to an embodiment of the present invention
Is a CPU (Central Processing Unit) as shown in FIG.
nit) 2, RAM (Random Access Memory) 3, ROM
(Read Only Memory) 4, an input unit 5, an output unit 6, and an image information storage unit 7 are connected via a system bus, so that digital signals and digital data can be transmitted and received between components.

【0010】CPU2は、ROM4内に記憶されたプロ
グラムに従って各種制御を行い、例えば、ROM4から
変色処理プログラム4a、色変換処理プログラム4bお
よびプログラムを実行するために必要な各種データをR
AM3にロードしてプログラムを実行する。
The CPU 2 performs various controls in accordance with the programs stored in the ROM 4. For example, the CPU 2 transmits, from the ROM 4, a color change processing program 4a, a color conversion processing program 4b, and various data necessary for executing the programs to R.
Load it into AM3 and execute the program.

【0011】RAM3は、CPU2が実行する各種処理
に関するプログラムおよびデータを一時的に格納するワ
ークエリアを確保する。
The RAM 3 secures a work area for temporarily storing programs and data relating to various processes executed by the CPU 2.

【0012】ROM4は、画像処理装置の起動プログラ
ム、変色処理プログラム4aおよび色変換処理プログラ
ム4bといった各種プログラムおよびその関連データ等
を記憶している。なお、ROM4は磁気的、光学的記録
媒体、若しくは半導体メモリ等といった、CPU2が読
み取り可能な記録媒体を含んだ構成となっており、ま
た、この記録媒体は、CD−ROM(Compact Disc-Rea
d Only Memory)等の可搬型の記録媒体やハードディス
ク等の固定的な媒体を含む。さらに、この記録媒体に格
納するプログラム、データ等は、その一部若しくは全部
を電子ネットワーク回線等の伝送媒体を介して受信する
構成にしても良く、さらにまた、記録媒体は電子ネット
ワーク上に構築された他のサーバの記録媒体であっても
良い。また、プログラムを電子ネットワーク回線等の伝
送媒体を介して伝送してインストールするように構成し
ても良い。
The ROM 4 stores various programs such as a start-up program of the image processing apparatus, a color change processing program 4a and a color conversion processing program 4b, and data related thereto. The ROM 4 includes a recording medium readable by the CPU 2, such as a magnetic or optical recording medium or a semiconductor memory. The recording medium is a CD-ROM (Compact Disc-Rea
d Only Memory) and a fixed medium such as a hard disk. Further, the program, data, and the like stored in the recording medium may be partially or wholly received via a transmission medium such as an electronic network line, and the recording medium is constructed on an electronic network. Alternatively, the recording medium of another server may be used. Further, the program may be configured to be transmitted and installed via a transmission medium such as an electronic network line.

【0013】入力部5は、画像処理に関係する各種情報
の入力処理を行い、入力された情報は、CPU2、RA
M3およびROM4に出力される。入力部の形態として
は、例えば、キーボード、マウスポインタ、ライトペン
などを採用することができる。
The input unit 5 performs an input process of various types of information related to image processing.
It is output to M3 and ROM4. As a form of the input unit, for example, a keyboard, a mouse pointer, a light pen and the like can be adopted.

【0014】出力部6は、画像処理に関係する各種情報
の出力処理を行い、その形態としては、例えば、プリン
タ装置、ディスプレイ装置などを採用することができ
る。
The output section 6 performs an output process of various kinds of information related to image processing, and as a form, for example, a printer device, a display device, or the like can be adopted.

【0015】画像情報記憶部7は、画像処理の対象とな
る手作り画像データおよび画像処理後の画像データの色
情報(各画素の色、色域など)が格納される。なお、こ
こでいう、手作り画像データとは、原稿画像をイメージ
スキャナなどを用いて読み取ることにより得られるRG
Bデータである。
The image information storage section 7 stores handmade image data to be subjected to image processing and color information (color of each pixel, color gamut, etc.) of image data after image processing. Here, the handmade image data refers to an RG obtained by reading an original image using an image scanner or the like.
This is B data.

【0016】《画像処理装置の動作》次に、図2〜図1
4を参照して、上記の実施形態に係る画像処理装置1の
動作について説明する。
<< Operation of Image Processing Apparatus >> Next, FIGS.
The operation of the image processing apparatus 1 according to the above embodiment will be described with reference to FIG.

【0017】本発明の実施形態に係る画像処理装置1
は、ユーザが、入力部5を介して画像処理を実行する手
作り画像を入力する、若しくは、画像情報記憶部7内に
格納された手作り画像データの中から画像処理を実行す
る手作り画像データを選択することにより、手作り画像
データを入力し(S101)、入力した手作り画像デー
タに対して変色処理を実行することを指示すると、CP
U2が、ROM4から変色処理プログラム4aおよび変
色処理に必要な各種データをRAM3にロードして実行
し、変色処理プログラム4aに従って、以下に示す第1
〜第3の実施形態に係る変色処理を実行する(S10
2)。
An image processing apparatus 1 according to an embodiment of the present invention
Indicates that the user inputs a handmade image to be subjected to image processing via the input unit 5 or selects handmade image data to be subjected to image processing from handmade image data stored in the image information storage unit 7 By inputting the handmade image data (S101) and instructing to execute the color changing process on the input handmade image data, the CP
U2 loads the RAM 3 with the color change processing program 4a and various data necessary for the color change processing from the ROM 4, executes the data, and executes the first color change processing program 4a as follows.
-Execute the color changing process according to the third embodiment (S10
2).

【0018】〈第1の実施形態に係る変色処理〉始め
に、図3を参照して、本発明の第1実施形態に係る変色
処理について説明する。
<Color Changing Process According to First Embodiment> First, the color changing process according to the first embodiment of the present invention will be described with reference to FIG.

【0019】本発明の第1の実施形態に係る変色処理に
おいては、ユーザが色相回転角θの値を入力し、手作り
画像データの変色処理の実行を指示すると、S101の
処理において入力された手作り画像データを構成する1
画素の色情報Cnの色相を色相回転角θだけ回転した色
情報Pnを算出し(S202)、手作り画像データの1
画素の色情報Cnを算出した色情報Pnに変換する(S
203)。そしてこのS202,S203の処理を、n
=1(nは手作り画像データの画素番号を示す)から開
始してnの値が手作り画像データを構成する総画素数と
なるまで繰り返し実行する。
In the color changing process according to the first embodiment of the present invention, when the user inputs the value of the hue rotation angle θ and instructs to execute the color changing process of the handmade image data, the handmade input data in the process of S101 is obtained. Constructing image data 1
The color information Pn obtained by rotating the hue of the color information Cn of the pixel by the hue rotation angle θ is calculated (S202), and one of the handmade image data is calculated.
The pixel color information Cn is converted into the calculated color information Pn (S
203). Then, the processing of S202 and S203 is performed by n
Starting from = 1 (n indicates the pixel number of the handmade image data), the process is repeatedly executed until the value of n reaches the total number of pixels constituting the handmade image data.

【0020】この第1の実施形態に係る変色処理によれ
ば、色相回転角θの値を入力するのみで、手作り画像デ
ータを色相回転角θだけ回転した色に変色することがで
きるので、手作り画像データの変色処理を容易に実行す
ることが可能となる。なお、画像処理装置1は、例えば
図4に示すような色相回転処理画面を出力部6に出力
し、この色相回転処理画面内に設けられたテキストボッ
クスBやスライドバーCを利用して、色相回転角θをユ
ーザ入力させるようにしても良い。これにより、装置に
不慣れユーザであっても容易に変色処理を実行すること
ができる。また、変色前後の画素の色情報をそれぞれカ
ラーパレットD,Eに用いて表示し、変色後の画像デー
タを領域Aを介してユーザに表示するようにすれば、ユ
ーザに対して変色処理の状況を通知することができる。
According to the color changing process according to the first embodiment, the handmade image data can be changed to a color rotated by the hue rotation angle θ only by inputting the value of the hue rotation angle θ. It is possible to easily execute the color change processing of the image data. The image processing apparatus 1 outputs, for example, a hue rotation processing screen as shown in FIG. 4 to the output unit 6, and uses a text box B and a slide bar C provided in the hue rotation processing screen to generate a hue rotation. The user may input the rotation angle θ. Thus, even a user who is unfamiliar with the apparatus can easily execute the color change processing. Further, if the color information of the pixels before and after the color change is displayed using the color palettes D and E, and the image data after the color change is displayed to the user via the area A, the state of the color change processing is provided to the user. Can be notified.

【0021】〈第2の実施形態に係る変色処理〉次に、
図5を参照して、本発明の第2の実施形態に係る変色処
理について説明する。
<Color Change Processing According to Second Embodiment>
With reference to FIG. 5, a color change process according to the second embodiment of the present invention will be described.

【0022】本発明の第2の実施形態に係る変色処理に
おいては、ユーザが彩度の変更値αを入力し、手作り画
像データの変色処理の実行を指示すると、S101の処
理において入力された手作り画像データを構成する1画
素の色情報Cnの彩度を変更値αだけ変更した色情報P
nを算出し(S302)、色情報Cnを算出した色情報
Pnに変換する(S303)。そしてこのS302,S
303の処理を、n=1から開始してnの値が手作りの
画像データを構成する総画素数となるまで繰り返し実行
する。
In the color changing process according to the second embodiment of the present invention, when the user inputs the change value α of the saturation and instructs to execute the color changing process of the handmade image data, the handmade image input in the process of S101 is performed. Color information P obtained by changing the saturation of the color information Cn of one pixel forming the image data by the change value α
n is calculated (S302), and the color information Cn is converted into the calculated color information Pn (S303). And S302, S
The process of step 303 is repeatedly executed starting from n = 1 until the value of n reaches the total number of pixels constituting the handmade image data.

【0023】この第2の実施形態に係る変色処理によれ
ば、彩度の変更値αを入力するのみで、手作りの画像デ
ータの彩度をαだけ変更した色に変色することができる
ので、手作りの画像データを容易に変色することが可能
となる。なお、上記第1の実施形態に係る変色処理と同
様、画像処理装置1は、例えば図6に示すような彩度変
更処理画面を出力部6に出力し、この彩度変更処理画面
内のテキストボックスBやスライドバーCを利用して、
変更値αを入力させるようにしても良い。また、変色前
後の色情報をそれぞれカラーパレットD,Eに用いて表
示し、変色後の画像データを領域Aを利用してユーザに
表示するようにすると良い。
According to the color changing process according to the second embodiment, the color of the handmade image data can be changed to a color changed by α only by inputting the change value α of the saturation. It is possible to easily change the color of handmade image data. Note that, similarly to the color change processing according to the first embodiment, the image processing apparatus 1 outputs, for example, a saturation change processing screen as shown in FIG. Using box B and slide bar C,
The change value α may be input. Further, it is preferable that the color information before and after the color change is displayed using the color palettes D and E, respectively, and the image data after the color change is displayed to the user using the area A.

【0024】〈第3の実施形態に係る変色処理〉次に、
図7を参照して、本発明の第3の実施形態に係る変色処
理について説明する。
<Color Change Processing According to Third Embodiment>
With reference to FIG. 7, a description will be given of the color change processing according to the third embodiment of the present invention.

【0025】本発明の第3の実施形態に係る変色処理に
おいては、ユーザが明度の変更値βを入力し、手作り画
像データの変色処理の実行を指示すると、S101の処
理において入力された手作りの画像データを構成する1
画素の色情報Cnの明度を変更値βだけ変更した色情報
Pnを算出し(S402)、色情報Cnを算出した色情
報Pnに変換する(S403)。そしてこのS402,
S403の処理を、n=1から開始してnの値が画像デ
ータを構成する総画素数となるまで繰り返し実行する。
In the color changing process according to the third embodiment of the present invention, when the user inputs a lightness change value β and instructs execution of the color changing process of the handmade image data, the handmade handwriting input in the process of S101 is performed. Constructing image data 1
The color information Pn in which the brightness of the color information Cn of the pixel is changed by the change value β is calculated (S402), and the color information Cn is converted into the calculated color information Pn (S403). And this S402,
The process of S403 is repeatedly executed starting from n = 1 until the value of n reaches the total number of pixels constituting the image data.

【0026】この第3の実施形態に係る変色処理によれ
ば、明度の変更値βを入力するのみで、手作りの画像デ
ータの明度をβだけ変更した色に変色することができる
ので、手作りの画像データを容易に変色することが可能
となる。なお、既述の実施形態と同様、画像処理装置1
は、例えば図8に示すような明度変更処理画面を出力部
6に出力し、この明度変更処理画面内のテキストボック
スBやスライドバーCをを利用して、変更値βを入力さ
せるようにしても良い。また、変色前後の色情報をそれ
ぞれカラーパレットD,Eに用いて表示し、変色後の画
像データを領域Aを利用してユーザに表示するようにし
ても良い。
According to the color changing process according to the third embodiment, the brightness of the homemade image data can be changed to a color changed by β only by inputting the brightness change value β. It is possible to easily change the color of the image data. Note that, as in the above-described embodiment, the image processing apparatus 1
Outputs a brightness change processing screen such as that shown in FIG. 8 to the output unit 6 and uses the text box B and the slide bar C in the brightness change processing screen to input a change value β. Is also good. Alternatively, the color information before and after the color change may be displayed on the color palettes D and E, respectively, and the image data after the color change may be displayed to the user using the area A.

【0027】上記の処理によって変色処理が完了する
と、CPU2は、変色処理後の手作りの画像データを一
旦RAM3内へ格納する。そして次に、CPU2は、R
OM4から色変換処理プログラム4bおよび色変換処理
に必要は各種データをRAM3にロードして実行し、色
変換処理プログラム4bに従って、以下に示す第1およ
び第2の実施形態に係る色変換処理を実行する(S10
3)。
When the color change processing is completed by the above processing, the CPU 2 temporarily stores the handmade image data after the color change processing in the RAM 3. Then, the CPU 2 sets R
The color conversion processing program 4b and various data necessary for the color conversion processing are loaded from the OM 4 into the RAM 3 and executed, and the color conversion processing according to the first and second embodiments described below is executed according to the color conversion processing program 4b. Yes (S10
3).

【0028】〈第1の実施形態に係る色変換処理(最短
距離色置換方法)〉始めに、図9、図10を参照して、
本発明の第1の実施形態に係る色変換処理について説明
する。
<Color Conversion Processing (Shortest Distance Color Replacement Method) According to First Embodiment> First, referring to FIGS.
The color conversion processing according to the first embodiment of the present invention will be described.

【0029】本発明の第1の実施形態に係る色変換処理
においては、CPU2は、カウンタn,mの値を1にセ
ットした後(S501,S502)、変色画像データの
色情報Cnと色材の色情報Pmとの距離dを算出する
(S503)。そして、距離dを算出すると、CPU2
は、色変換処理の基準となる最短距離値MINをdにセ
ットすると同時に、図10に示すように、Pminに色
材の色情報Pmをセットする(S505)。なお、ここ
でいう色情報とは、例えば、均等色空間L
イメージスキャナから出力されるRGB値を意味する。
In the color conversion process according to the first embodiment of the present invention, the CPU 2 sets the values of the counters n and m to 1 (S501, S502), and then sets the color information Cn of the color-changed image data and the color material. The distance d from the color information Pm is calculated (S503). When the distance d is calculated, the CPU 2
Sets the minimum distance value MIN, which is a reference of the color conversion processing, to d, and at the same time, sets the color information Pm of the color material to Pmin, as shown in FIG. 10 (S505). Note that the color information here means, for example, a uniform color space L * a * b * or an RGB value output from an image scanner.

【0030】S505の処理を完了すると、CPU2は
次に、カウンタmの値を1増数した後(S508)、カ
ウンタmの値が色材の色情報数MAXmよりも大きいか
否かを判別する(S509)。そして、判別の結果、カ
ウンタmの値が色材の色情報数MAXmよりも小さい場
合には、CPU2は、変色画像データの色情報Cnと色
材の色情報Pmとの距離dを算出し(S503)、算出
した距離dが最短距離値MIN以下であるか否かを判別
する(S506)。そして、判別の結果、距離dが最短
距離値MINよりも長い場合には、再びS508以後の
処理を実行する。一方、距離dが最小距離値MINより
も短い場合には、最短距離値MINを距離dにセット
し、Pminに色材の色情報Pmをセットした後(S5
07)、S508以後の処理を実行する。
When the processing of S505 is completed, the CPU 2 next increments the value of the counter m by 1 (S508), and determines whether or not the value of the counter m is larger than the number of color information MAXm of the color material. (S509). If the value of the counter m is smaller than the number of color information MAXm of the color material as a result of the determination, the CPU 2 calculates the distance d between the color information Cn of the color-changed image data and the color information Pm of the color material ( S503), it is determined whether the calculated distance d is less than or equal to the shortest distance value MIN (S506). Then, as a result of the determination, when the distance d is longer than the shortest distance value MIN, the processing after S508 is executed again. On the other hand, if the distance d is shorter than the minimum distance value MIN, the minimum distance value MIN is set to the distance d, and the color information Pm of the color material is set to Pmin (S5).
07), and execute the processing after S508.

【0031】一方、S509の判別処理の結果、カウン
タmの値が色材の色情報数MAXmよりも大きい場合に
は、カウンタnの値を1増数した後(S510)、カウ
ンタnの値が総画素数MAXnよりも大きいか否かを判
別する(S511)。そして、判別の結果、カウンタn
の値が総画素数MANnよりも大きい場合には、一連の
色変換処理を完了する。一方、カウンタnの値が総画素
数MANnより小さい場合には、再び、S502以後の
処理を実行する。
On the other hand, if the value of the counter m is larger than the number of color information MAXm of the color material as a result of the discrimination processing in S509, the value of the counter n is incremented by 1 (S510), and then the value of the counter n is increased. It is determined whether it is larger than the total number of pixels MAXn (S511). Then, as a result of the determination, the counter n
Is larger than the total number of pixels MANn, a series of color conversion processing is completed. On the other hand, if the value of the counter n is smaller than the total number of pixels MANn, the processing after S502 is executed again.

【0032】このように、本発明の第1の実施形態に係
る色変換処理においては、変色処理後の色と原稿で使用
している色材の全ての色との間の距離を算出し、変色処
理後の色を最短距離の色材の色に置換する。すなわち、
この処理においては、変色処理後の色情報を実際の色材
の色情報に変換する。したがって、この色変換処理によ
れば、色材の色を忠実に再現することが可能となる。
As described above, in the color conversion processing according to the first embodiment of the present invention, the distance between the color after the color change processing and all the colors of the color materials used in the original document is calculated. The color after the color change processing is replaced with the color of the color material at the shortest distance. That is,
In this process, the color information after the color change processing is converted into the actual color material color information. Therefore, according to this color conversion processing, it is possible to faithfully reproduce the color of the color material.

【0033】〈第2の実施形態に係る色変換処理(色域
圧縮方法)〉次に、図11〜図14を参照して、本発明
の第2の実施形態に係る色変換処理について説明する。
<Color Conversion Processing (Color Gamut Compression Method) According to Second Embodiment> Next, the color conversion processing according to the second embodiment of the present invention will be described with reference to FIGS. .

【0034】上記の第1の実施形態に係る色変換処理に
おいては、記憶している色情報が十分でないと、変色処
理後の色と色変換処理後の色が大きく異なってしまうこ
とがある。そこで、本発明の第2の実施形態に係る色変
換処理においては、代表的な幾つかの色情報を取得し、
その色材の色域を求め、この色域に基づいて色変換処理
を実行する。これにより、予め取得すべき色材の色情報
は少なくても良くなる。ここで、代表色の選定方法とし
ては、彩度の高い色を選ぶ方が良い。そして、代表色を
直線で結ぶか誤差が最小となるような曲線で結ぶなどし
て色域を得る。図11は、曲線で補間することにより色
域を求める例である。補間にはBスプラインなどの手法
を用いる。また、この色変換の方法としては、例えば、
図12に示すように変色処理後の色情報Cnを最も距離
が近い色域内の色に置換するようにしても、図13に示
すように色域内方向に彩度や明度をある割合で落として
置換するようにしても良い。また、図14(図12に示
す色域圧縮方法)に示すように、色域内にない変色処理
後の色情報Cnと色域までの最短距離dを算出し(S6
03)、色情報Cnを最も距離が近い色域内の色に置換
する(S604,S605)処理を、全ての画素につい
て実行するようにしても良い。
In the color conversion processing according to the first embodiment, if the stored color information is not sufficient, the color after the color change processing may be greatly different from the color after the color conversion processing. Therefore, in the color conversion processing according to the second embodiment of the present invention, some representative color information is obtained,
The color gamut of the color material is obtained, and a color conversion process is performed based on the color gamut. Thereby, the color information of the color material to be acquired in advance may be small. Here, as a method of selecting a representative color, it is better to select a color having high saturation. Then, a color gamut is obtained by connecting the representative colors with a straight line or connecting them with a curve that minimizes an error. FIG. 11 is an example in which a color gamut is obtained by interpolating with a curve. A technique such as B-spline is used for the interpolation. Also, as a method of this color conversion, for example,
Even if the color information Cn after the color change processing is replaced with the color in the color gamut closest to the distance as shown in FIG. 12, the saturation or brightness is reduced at a certain rate in the color gamut direction as shown in FIG. It may be replaced. Further, as shown in FIG. 14 (the color gamut compression method shown in FIG. 12), the color information Cn not in the color gamut after the color change processing and the shortest distance d to the color gamut are calculated (S6).
03), the process of replacing the color information Cn with a color in the color gamut closest in distance (S604, S605) may be performed for all pixels.

【0035】上記の処理によって色変換処理が完了する
と、CPU2は、色変換処理後の画像データを一旦RA
M3内に格納する。そして、ユーザの指示に従って、R
AM3内に格納された変色処理後の画像データを出力部
6又は画像情報記憶部7内に出力し(S104)、一連
の画像処理工程を完了する。
When the color conversion processing is completed by the above processing, the CPU 2 temporarily outputs the image data after the color conversion processing to the RA.
Store it in M3. Then, according to the user's instruction, R
The image data after the color change processing stored in the AM 3 is output to the output unit 6 or the image information storage unit 7 (S104), and a series of image processing steps is completed.

【0036】《実施の形態の効果》以上述べたように、
この実施形態の画像処理装置によれば、コンピュータシ
ステムを利用して手作り画像を簡易的に変色することが
できるので、ユーザは、手作り画像を利用した自分の感
性に基づいて手を加える楽しさ、充実感を得ることがで
きる。
<< Effects of Embodiment >> As described above,
According to the image processing apparatus of this embodiment, the color of the handmade image can be easily changed using the computer system, so that the user can enjoy the modification of the handmade image based on his / her sensitivity using the handmade image, A sense of fulfillment can be obtained.

【0037】また、この実施形態の画像処理装置によれ
ば、装置に対する簡単な指示のみで、装置側で変色処理
および色変換処理を実行するので、自らの色彩の好みを
反映した手作り画像を簡単に作ることが可能となる。
Further, according to the image processing apparatus of this embodiment, the color change processing and the color conversion processing are executed on the apparatus side only by a simple instruction to the apparatus, so that a hand-made image reflecting its own color preference can be easily created. It becomes possible to make.

【0038】さらに、この実施形態の画像処理装置によ
れば、画材の色毎に変色処理を実行し、また、使用され
ている画材の色域に忠実な色に変色するので、虚色が発
生せず、違和感のない画像処理を実現することができ
る。
Further, according to the image processing apparatus of this embodiment, the color changing process is executed for each color of the image material, and the color is changed to a color faithful to the color gamut of the used image material. Therefore, it is possible to realize image processing without a sense of incongruity.

【0039】《その他の実施の形態》以上、本発明者ら
によってなされた発明を上記実施形態によって記載した
が、この開示の一部をなす論述および図面はこの発明を
限定するものであると理解すべきではない。この開示か
ら当業者には様々な代替実施の形態、実施例および運用
技術が明らかとなろう。
<< Other Embodiments >> The invention made by the present inventors has been described in the above embodiment. However, it should be understood that the description and drawings constituting a part of this disclosure limit the invention. should not do. From this disclosure, various alternative embodiments, examples, and operation techniques will be apparent to those skilled in the art.

【0040】例えば、以上で説明した実施形態において
は、ユーザが画像処理装置を直接操作する、いわゆるロ
ーカル処理についての説明であったが、例えば、図15
〜17に示すように、サーバ・クライアント型の画像処
理システムを構築し、電子ネットワークを介してリモー
トで上記の画像処理を実行しても良い。すなわち、図1
5に示すように、インターネット上に接続されたWWW
サーバーから画像処理を行う画像データをダウンロード
し、ローカルサイトでコンテンツに対して上記の画像処
理を施すようにしても良い。このシステム構成によれ
ば、ユーザは時季に合った画像データを必要な時に必要
な分だけ得ることができるので、ユーザの都合に合わせ
た画像処理サービスを提供することが可能となる。
For example, in the embodiment described above, the so-called local processing in which the user directly operates the image processing apparatus has been described.
17 to 17, a server-client type image processing system may be constructed, and the above-described image processing may be executed remotely via an electronic network. That is, FIG.
As shown in FIG. 5, WWW connected on the Internet
The image data for performing the image processing may be downloaded from the server, and the above-described image processing may be performed on the content at the local site. According to this system configuration, the user can obtain only the required amount of image data at the required time when needed, so that it is possible to provide an image processing service suited to the user's convenience.

【0041】また、図16に示すように、インターネッ
トを介してWWWサーバーからアプレットおよび画像デ
ータをダウンロードし、ローカルサイトでアプレットを
利用して画像データの画像処理を実行するようにしても
良い。このシステム構成によれば、アプレットの仮想マ
シンの入った装置を用意しておけば良いので、ユーザの
選択肢の幅が広がる。また、アプレットを使用して画像
処理を実行するので、サーバ側に負担が掛からず、多く
のユーザの要求に迅速に対応することができる等のメリ
ットが得られる。また、一般に、アプレットは、サーバ
側にプログラムを有し、必要な時に必要なプログラムだ
けをローカルサイトにダウンロードしてくる構成となっ
ているので、ローカルサイトに画像処理プログラムをイ
ンストールする必要性がなくなる。
As shown in FIG. 16, an applet and image data may be downloaded from a WWW server via the Internet, and image processing of the image data may be executed using the applet at a local site. According to this system configuration, since a device containing a virtual machine of an applet may be prepared, the range of options for the user is expanded. In addition, since image processing is performed using an applet, there is an advantage that a load is not imposed on the server side, and it is possible to quickly respond to requests from many users. Generally, an applet has a program on the server side and downloads only a necessary program to a local site when needed, so that there is no need to install an image processing program on the local site. .

【0042】一方、図17に示すように、インターネッ
トを介してWWWサーバーに画像処理を実行させ、画像
処理完了後の画像データをインターネットを介してダウ
ンロードし、ローカルサイトで画像データを出力するよ
うにしても良い。このシステム構成によれば、WWWサ
ーバーが全ての処理を行うので、ユーザのコンピュータ
システムには負担が掛からず、PDA(Personal Digit
al Assistants)端末や携帯電話といった移動体通信端
末等のような、CPUパワーが弱い装置においても画像
処理された画像データを得ることができる。またこの装
置から直接出力できるプリンタ装置を使用すれば、同様
に手軽に画像処理された画像データを得ることができ
る。さらには、ユーザは、日常使い慣れたウェブブラウ
ザを介して処理を行うことができる。
On the other hand, as shown in FIG. 17, a WWW server executes image processing via the Internet, downloads the image data after completion of the image processing via the Internet, and outputs the image data at a local site. May be. According to this system configuration, since the WWW server performs all processing, no burden is placed on the user's computer system, and the PDA (Personal Digit
al Assistants) Image data subjected to image processing can be obtained even in a device having a low CPU power, such as a mobile communication terminal such as a terminal or a mobile phone. In addition, if a printer device that can directly output from this device is used, similarly, image data subjected to image processing can be easily obtained. Further, the user can perform the processing via a web browser that is familiar every day.

【0043】なお、上記の応用例は、インターネットに
限られるものではなく、電気通信技術を利用した通信網
全般を意味する。
Note that the above application examples are not limited to the Internet, but mean any communication network utilizing telecommunications technology.

【0044】このように、本発明はここでは記載してい
ない様々な実施の形態等を包含するということを理解す
べきである。したがって、本発明はこの開示から妥当な
特許請求の範囲に係る発明特定事項によってのみ限定さ
れるものである。
As described above, it should be understood that the present invention includes various embodiments and the like not described herein. Accordingly, the present invention is limited only by the matters specifying the invention according to the claims that are reasonable from this disclosure.

【0045】[0045]

【発明の効果】本発明によれば、手作り画像を利用した
自分の感性に基づいて手を加える楽しさ、充実感をユー
ザに対し与えることができる。
According to the present invention, it is possible to provide the user with a pleasure and a sense of fulfillment to make changes based on his / her own sensitivity using handmade images.

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

【図1】本発明の実施形態に係る画像処理装置の構成を
示す模式図である。
FIG. 1 is a schematic diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】上記の実施形態に係る画像処理装置の動作を示
すフローチャート図である。
FIG. 2 is a flowchart illustrating an operation of the image processing apparatus according to the embodiment.

【図3】本発明の第1の実施形態に係る着色処理を示す
フローチャート図である。
FIG. 3 is a flowchart illustrating a coloring process according to the first embodiment of the present invention.

【図4】本発明の実施形態に係る色相回転処理画面を示
す模式図である。
FIG. 4 is a schematic diagram showing a hue rotation processing screen according to the embodiment of the present invention.

【図5】本発明の第2の実施形態に係る着色処理を示す
フローチャート図である。
FIG. 5 is a flowchart illustrating a coloring process according to a second embodiment of the present invention.

【図6】本発明の実施形態に係る彩度処理画面を示す模
式図である。
FIG. 6 is a schematic diagram illustrating a saturation processing screen according to the embodiment of the present invention.

【図7】本発明の第3の実施形態に係る着色処理を示す
フローチャート図である。
FIG. 7 is a flowchart illustrating a coloring process according to a third embodiment of the present invention.

【図8】本発明の実施形態に係る明度処理画面を示す模
式図である。
FIG. 8 is a schematic diagram showing a brightness processing screen according to the embodiment of the present invention.

【図9】本発明の第1の実施形態に係る色変換処理を示
すフローチャート図である。
FIG. 9 is a flowchart illustrating a color conversion process according to the first embodiment of the present invention.

【図10】本発明の第1の実施形態に係る色変換処理を
説明するための模式図である。
FIG. 10 is a schematic diagram for explaining a color conversion process according to the first embodiment of the present invention.

【図11】本発明の第2の実施形態に係る色変換処理を
説明するための模式図である。
FIG. 11 is a schematic diagram illustrating a color conversion process according to a second embodiment of the present invention.

【図12】本発明の第2の実施形態に係る色変換処理を
説明するための模式図である。
FIG. 12 is a schematic diagram for explaining a color conversion process according to a second embodiment of the present invention.

【図13】本発明の第2の実施形態に係る色変換処理を
説明するための模式図である。
FIG. 13 is a schematic diagram for explaining a color conversion process according to a second embodiment of the present invention.

【図14】本発明の第2の実施形態に係る色変換処理を
示すフローチャート図である。
FIG. 14 is a flowchart illustrating a color conversion process according to the second embodiment of the present invention.

【図15】本発明の実施形態に係る画像処理装置の応用
例を示す模式図である。
FIG. 15 is a schematic diagram illustrating an application example of the image processing apparatus according to the embodiment of the present invention.

【図16】本発明の実施形態に係る画像処理装置の応用
例を示す模式図である。
FIG. 16 is a schematic diagram illustrating an application example of the image processing apparatus according to the embodiment of the present invention.

【図17】本発明の実施形態に係る画像処理装置の応用
例を示す模式図である。
FIG. 17 is a schematic diagram illustrating an application example of the image processing apparatus according to the embodiment of the present invention.

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

1 画像処理装置 2 CPU 3 RAM 4 ROM 4a 変色処理プログラム 4b 色変換処理プログラム 5 入力部 6 出力部 7 画像情報記憶部 DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 CPU 3 RAM 4 ROM 4a Color changing processing program 4b Color conversion processing program 5 Input unit 6 Output unit 7 Image information storage unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C262 AA24 BA16 BA18 BA19 BC19 CA01 CA11 EA02 EA03 EA11 GA51 GA57 GA59 5B021 AA01 LG07 5B057 AA11 CA01 CA08 CB01 CB08 CE14 CE17 5C077 LL19 MP08 PP28 PP32 PP33 PP35 PP37 TT01 5C079 HA13 HB01 HB02 HB11 LA06 LB12 NA03 NA06 NA11 PA01 PA02 PA03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C262 AA24 BA16 BA18 BA19 BC19 CA01 CA11 EA02 EA03 EA11 GA51 GA57 GA59 5B021 AA01 LG07 5B057 AA11 CA01 CA08 CB01 CB08 CE14 CE17 5C077 LL19 MP08 PP28 PP32 PP33 PP35C37 HA01 HB11 LA06 LB12 NA03 NA06 NA11 PA01 PA02 PA03

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 画像データの変色処理を行う画像処理装
置であって、 前記画像データが使用する画材の色域を記憶する記憶部
と、 前記画像データの画材の色毎に変色処理を実行する変色
処理部と、 前記変色処理後の画材の色が前記色域内に入るように前
記変色処理後の画材の色を変換する色変換処理部とを具
備することを特徴とする画像処理装置。
1. An image processing apparatus for performing a color changing process of image data, comprising: a storage unit for storing a color gamut of an image material used by the image data; and performing a color changing process for each color of the image material of the image data. An image processing apparatus comprising: a color change processing unit; and a color conversion processing unit that converts the color of the image material after the color change processing so that the color of the image material after the color change processing falls within the color gamut.
【請求項2】 前記変色処理は、色相回転処理、彩度変
更処理、明度変更処理の内の少なくとも1つの処理によ
って成されることを特徴とする請求項1に記載の画像処
理装置。
2. The image processing apparatus according to claim 1, wherein the color changing process is performed by at least one of a hue rotation process, a saturation changing process, and a brightness changing process.
JP2001112579A 2001-04-11 2001-04-11 Image processing device Pending JP2002314826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001112579A JP2002314826A (en) 2001-04-11 2001-04-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001112579A JP2002314826A (en) 2001-04-11 2001-04-11 Image processing device

Publications (1)

Publication Number Publication Date
JP2002314826A true JP2002314826A (en) 2002-10-25

Family

ID=18963971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001112579A Pending JP2002314826A (en) 2001-04-11 2001-04-11 Image processing device

Country Status (1)

Country Link
JP (1) JP2002314826A (en)

Similar Documents

Publication Publication Date Title
CN107111771B (en) Two-dimensional code generation device, two-dimensional code generation method, and computer-readable recording medium
JP5014475B2 (en) Image processing apparatus and image processing method
JP5794669B2 (en) Image processing apparatus and image processing method
US6002489A (en) Product catalog having image evaluation chart
JP5634154B2 (en) Image processing apparatus and image processing method
CN108819508B (en) Printing color management method and device
US8514443B2 (en) Sheet music editing method and image processing apparatus
US9665324B2 (en) Simulation of preprinted forms
JP4682628B2 (en) Image processing apparatus, method, and program
Ambrose et al. The production manual: a graphic design handbook
CN101346238B (en) Image processing apparatus, printer, and image processing method
JP2002314826A (en) Image processing device
EP3075139B1 (en) Colorant splitting method
JP7360094B2 (en) Image processing device
Lawler Official Adobe Print Publishing Guide: The Essential Resource for Design, Production, and Prepress, The
JP5012871B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP3087845B2 (en) Digital image processing method for reading an original image with a scanner and enlarging and printing
JP2004291267A (en) Color material amount distribution device and method for forming color material amount distribution definition
JP2010016647A (en) Image processing apparatus, method and program
JP2006159648A (en) Recording system, image processor, inkjet recorder and image processing method
JP2022146971A (en) Method and software for generating latent image printing data
Gatter Production for Print
JP5556462B2 (en) Document creation support apparatus, document creation support method, program, and recording medium
KR100522602B1 (en) Method and apparatus for selectively printing page of document
Beale et al. A touch of gray