JP4457677B2 - Image processing apparatus, image processing method, and computer program - Google Patents

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

Info

Publication number
JP4457677B2
JP4457677B2 JP2004017000A JP2004017000A JP4457677B2 JP 4457677 B2 JP4457677 B2 JP 4457677B2 JP 2004017000 A JP2004017000 A JP 2004017000A JP 2004017000 A JP2004017000 A JP 2004017000A JP 4457677 B2 JP4457677 B2 JP 4457677B2
Authority
JP
Japan
Prior art keywords
image processing
image data
layer
image
predetermined
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.)
Expired - Fee Related
Application number
JP2004017000A
Other languages
Japanese (ja)
Other versions
JP2005209080A (en
Inventor
靖 平岡
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 JP2004017000A priority Critical patent/JP4457677B2/en
Priority to US11/034,087 priority patent/US20050219578A1/en
Publication of JP2005209080A publication Critical patent/JP2005209080A/en
Application granted granted Critical
Publication of JP4457677B2 publication Critical patent/JP4457677B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、画像データのレタッチ(修整)のための技術に関する。   The present invention relates to a technique for retouching (modifying) image data.

コンピュータで動作する画像のレタッチソフトウェアを使えば、画像データの明るさやコントラスト等の補正を容易に行なうことができる(特許文献1等)。しかし、補正をかける度に画質が劣化してしまう。そこで、近年のレタッチソフトウェアでは、内部的に、画像データを大きな階調数で扱うことができるようにしたものがある。画像データの1ピクセル(画素)を8ビット(RGBなら1ピクセルあたり合計24ビット)の256階調で表現して画像処理を行なっていたところが、16ビット(RGBなら1ピクセルあたり合計48ビット)の65536階調で表現して画像処理を行なうようになされている。16ビット化することで、画質の劣化を抑えることができる。   If image retouching software that operates on a computer is used, the brightness and contrast of image data can be corrected easily (Patent Document 1 and the like). However, the image quality deteriorates every time correction is performed. Thus, some recent retouching software can internally handle image data with a large number of gradations. Image processing is performed by representing 1 pixel (pixel) of image data with 256 gradations of 8 bits (24 bits per pixel for RGB), but 16 bits (48 bits per pixel for RGB). Image processing is performed with 65536 gradations. By using 16 bits, deterioration of image quality can be suppressed.

画像のレタッチの作業は、明るさ調整、コントラスト調整、彩度調整等、種々の画像処理を順次実行することでなされるが、全ての画像処理で、画像データは16ビットの階調として扱われる訳ではない。最終出力であるプリンタは8ビット入力であること、16ビット化は処理速度の低下、メモリ資源の消費拡大等の問題を招くこと等から、高い精度が求められる画像処理だけで、画像データは16ビットとして扱われ、その他の画像処理では、画像データは8ビットとして扱われるのが現状であった。   The image retouching work is performed by sequentially executing various image processing such as brightness adjustment, contrast adjustment, and saturation adjustment. In all image processing, image data is handled as 16-bit gradation. Not a translation. The final output printer has 8-bit input, and 16-bit conversion causes problems such as a reduction in processing speed and increased consumption of memory resources. At present, image data is treated as 8 bits in other image processing.

特開2000−331180号公報JP 2000-331180 A

上記の技術では、画像データを8ビットの階調として一旦扱ってしまうと、その後、画像データを16ビットの階調とした画像処理を行なっても、その画像処理では16ビット化したことによる画質の向上を図ることができないという問題があった。画像データを8ビットの階調とすると、画像の情報量が8ビット分に落ちてしまうためで、その後、画像データを16ビットの階調として扱っても画像の情報量の増大は望めないからである。   In the above technique, once image data is handled as an 8-bit gradation, even if image processing is performed after that the image data is converted to a 16-bit gradation, the image quality obtained by converting the image data to 16 bits is used. There was a problem that it was not possible to improve. If the image data has an 8-bit gradation, the amount of information of the image falls to 8 bits, and after that, even if the image data is handled as a 16-bit gradation, an increase in the information amount of the image cannot be expected. It is.

本発明の解決しようとする課題は、画像データを16ビットの階調として扱う画像処理と8ビットの階調として扱う画像処理とが混在するレタッチ作業における画質の低下を防止することである。   The problem to be solved by the present invention is to prevent deterioration in image quality in a retouching operation in which image processing that handles image data as 16-bit gradation and image processing that handles as 8-bit gradation are mixed.

前述した課題の少なくとも一部を解決するための手段として、以下に示す構成をとった。   As means for solving at least a part of the problems described above, the following configuration is adopted.

本発明の第1の画像処理装置は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理装置において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
前記入力画像データに対して画像処理を反映させるためのレイヤを形成するレイヤ形成手段と、
作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する画像処理指定手段と、
前記画像処理指定手段により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する階調ビット数判定手段と、
該階調ビット数判定手段により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる第1画像処理実行手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる第2画像処理実行手段と、
前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する合成手段と
を備えることを特徴としている。
The first image processing apparatus of the present invention includes:
In the image processing apparatus that modifies the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
Layer forming means for forming a layer for reflecting image processing on the input image data;
Image processing designating means for receiving an operation command from an operator and designating predetermined image processing selected from the plurality of image processing for the input image data;
The number of gradation bits for determining whether the predetermined number of image data specified by the image processing specifying means handles the first number or the second number of image data as the number of bits of the gradation A determination means;
When it is determined by the gradation bit number determination means that the predetermined image processing is to handle the image data having the first number, the predetermined image processing is executed on the input image data. First image processing execution means;
A second for causing the layer to execute the predetermined image processing when it is determined by the gradation bit number determining means that the predetermined image processing is to handle the image data having the second number; Image processing execution means;
And combining means for superimposing the layer on the input image data to create composite image data.

上記構成の第1の画像処理装置によれば、入力画像データに対してレイヤが形成されるが、その入力画像データに対して、画素を表現する階調のビット数が第1の数(>第2の数)である種類の画像処理が実行され、上記レイヤに対しては、前記ビット数が第2の数である種類の画像処理が実行される。画像合成手段によれば、入力画像データに対して、前記レイヤを重ね合わせて合成画像データが作成される。このために、階調のビット数が大きい第1の数の画像データを取り扱う画像処理が先にまとめて実行されて、その後、レイヤによって、階調のビット数が小さい第2の数の画像データを取り扱う画像処理が実行される。したがって、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、大きいビット数の階調に対応した画像処理本来の性能を発揮することがきる。この結果、画質の低下を防止することができるという効果を奏する。   According to the first image processing apparatus having the above-described configuration, a layer is formed for input image data. For the input image data, the number of gradation bits representing pixels is a first number (> The second number) of image processing is executed, and for the layer, the image processing of the type whose bit number is the second number is executed. According to the image composition means, composite image data is created by superimposing the layers on the input image data. For this reason, image processing that handles a first number of image data with a large number of gradation bits is executed in advance, and then a second number of image data with a small number of gradation bits depending on the layer. Is executed. Therefore, since image processing classified into a large bit number gradation is not executed using image data converted from a small bit number gradation, image processing corresponding to a large bit number gradation is possible. The original performance can be demonstrated. As a result, it is possible to prevent the image quality from being deteriorated.

前記第1の画像処理装置において、
前記レイヤ形成手段は、重ね合わせにおける下から上に向かう順序で第1レイヤ、および第2レイヤを形成する構成であり、
前記第2画像処理実行手段は、
前記所定の画像処理が、新たな画像を乗せる装飾に関する種類のものであるか否かを判定する処理判定手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものでないと判定されたときには、前記第1レイヤに対して前記所定の画像処理を実行させる手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものであると判定されたときには、前記第2レイヤに対して前記所定の画像処理を実行させる手段と
を備える構成とすることができる。
In the first image processing apparatus,
The layer forming means is configured to form the first layer and the second layer in the order from bottom to top in superposition,
The second image processing execution means includes
Processing determination means for determining whether or not the predetermined image processing is of a type relating to a decoration on which a new image is placed;
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. Means for executing the predetermined image processing on the first layer when it is determined that the first layer is not,
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. And a means for causing the second layer to execute the predetermined image processing.

この構成によれば、階調のビット数が同じ第2の数である画像データを取り扱う画像処理でも、新たな画像を乗せる装飾に関する種類の画像処理用である第2レイヤと、その装飾に関する種類以外の画像処理用である第1レイヤとに実行先が区別される。装飾に関する種類の画像処理は、新たな画像が下に位置する入力画像データの少なくとも一部分を隠すことになり、その後、他の画像処理を行なった場合、その効果は入力画像データに対して及ばない可能性がある。上記構成によれば、下層である第1レイヤで先に上記装飾に関する種類以外の画像処理が実行されることから、これら画像処理の効果が、装飾に関する種類の画像処理によって損ねられることがない。   According to this configuration, even in image processing that handles image data having the same second number of bits of gradation, the second layer for image processing of a type related to decoration on which a new image is placed, and a type related to the decoration The execution destination is distinguished from the first layer for image processing other than the above. The type of image processing related to decoration hides at least a part of the input image data on which the new image is located, and if other image processing is performed thereafter, the effect does not reach the input image data. there is a possibility. According to the above configuration, since image processing other than the type related to the decoration is first executed in the first layer which is a lower layer, the effect of these image processing is not impaired by the type of image processing related to the decoration.

本発明の第2の画像処理装置は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理装置において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成するレイヤ形成手段と、
作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する画像処理指定手段と、
前記画像処理指定手段により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する階調ビット数判定手段と、
該階調ビット数判定手段により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの最下層のレイヤに対して前記所定の画像処理を実行させる第1画像処理実行手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの前記最下層以外のレイヤに対して前記所定の画像処理を実行させる第2画像処理実行手段と、
前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する合成手段と
を備えることを特徴としている。
The second image processing apparatus of the present invention is
In the image processing apparatus that modifies the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
Layer forming means for forming a plurality of layers for reflecting image processing on the input image data;
Image processing designating means for receiving an operation command from an operator and designating predetermined image processing selected from the plurality of image processing for the input image data;
The number of gradation bits for determining whether the predetermined number of image data specified by the image processing specifying means handles the first number or the second number of image data as the number of bits of the gradation A determination means;
When it is determined by the gradation bit number determination means that the predetermined image processing is to handle the image data having the first number, the lowest layer of the plurality of layers First image processing execution means for executing predetermined image processing;
When it is determined by the gradation bit number determination means that the predetermined image processing is to handle the image data having the second number, a layer other than the lowest layer among the plurality of layers Second image processing execution means for executing the predetermined image processing;
And combining means for generating composite image data by superimposing the plurality of layers in the order from bottom to top on the input image data.

上記構成の第2の画像処理装置によれば、入力画像データに対して複数のレイヤが形成されるが、そのレイヤのうちの最下層のレイヤに対して、画素を表現する階調のビット数が第1の数(>第2の数)である種類の画像処理が実行され、最下層以外のレイヤに対しては、前記ビット数が第2の数である種類の画像処理が実行される。画像合成手段によれば、入力画像データに対して、前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データが作成される。このために、階調のビット数が大きい第1の数の画像データを取り扱う画像処理が先にまとめて実行されて、その後、階調のビット数が小さい第2の数の画像データを取り扱う画像処理が実行されることになる。したがって、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、大きいビット数の階調に対応した画像処理本来の性能を発揮することがきる。この結果、画質の低下を防止することができるという効果を奏する。   According to the second image processing apparatus having the above-described configuration, a plurality of layers are formed for input image data. The number of bits of gradation representing pixels for the lowest layer among the layers. Is the first number (> second number), and for the layers other than the lowest layer, the type of image processing is executed with the bit number being the second number. . According to the image composition means, composite image data is created by superimposing the plurality of layers in the order from bottom to top on the input image data. For this reason, image processing that handles a first number of image data with a large number of gradation bits is executed in a batch, and then an image that handles a second number of image data with a small number of gradation bits. Processing will be executed. Therefore, since image processing classified into a large bit number gradation is not executed using image data converted from a small bit number gradation, image processing corresponding to a large bit number gradation is possible. The original performance can be demonstrated. As a result, it is possible to prevent the image quality from being deteriorated.

前記第2の画像処理装置において、
前記レイヤ形成手段は、重ね合わせにおける下から上に向かう順序で第1レイヤ、第2レイヤおよび第3レイヤを形成する構成であり、
前記第1画像処理実行手段は、前記第1レイヤに対して前記所定の画像処理を実行させる構成であり、
前記第2画像処理実行手段は、
前記所定の画像処理が、新たな画像を乗せる装飾に関する種類のものであるか否かを判定する処理判定手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものでないと判定されたときには、前記第2レイヤに対して前記所定の画像処理を実行させる手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものであると判定されたときには、前記第3レイヤに対して前記所定の画像処理を実行させる手段と
を備える構成とすることができる。
In the second image processing apparatus,
The layer forming means is configured to form the first layer, the second layer, and the third layer in the order from bottom to top in superposition,
The first image processing execution means is configured to cause the first layer to execute the predetermined image processing.
The second image processing execution means includes
Processing determination means for determining whether or not the predetermined image processing is of a type relating to a decoration on which a new image is placed;
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. Means for executing the predetermined image processing on the second layer when it is determined that the second layer is not,
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. And a means for causing the third layer to execute the predetermined image processing.

この構成によれば、階調のビット数が同じ第2の数である画像データを取り扱う画像処理でも、新たな画像を乗せる装飾に関する種類の画像処理用である第3レイヤと、その装飾に関する種類以外の画像処理用である第2レイヤとに実行先が区別される。装飾に関する種類の画像処理は、下に位置する入力画像データの少なくとも一部分を隠すことになり、その後、他の画像処理を行なった場合、その効果は入力画像データに対して及ばない可能性がある。上記構成によれば、下層である第2レイヤで先に上記装飾に関する種類以外の画像処理が実行されることから、これら画像処理の効果が、装飾に関する種類の画像処理によって損ねられることがない。   According to this configuration, even in image processing that handles image data having the same second number of gradation bits, the third layer for image processing of a type related to decoration on which a new image is placed, and a type related to the decoration The execution destination is distinguished from the second layer for image processing other than the above. The type of image processing related to decoration hides at least a part of the input image data located below, and if other image processing is performed thereafter, the effect may not be effective on the input image data. . According to the above configuration, since image processing other than the type related to decoration is first executed in the second layer, which is the lower layer, the effect of these image processing is not impaired by the type of image processing related to decoration.

本発明の第3の画像処理装置は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理装置において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって相違し得るように構成されるとともに、
前記入力画像データに対して画像処理を反映させるための1または複数のレイヤを形成するレイヤ形成手段と、
前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分のうちの最も階調のビット数が大きい区分に対して、前記入力画像データを対応づけるとともに、前記分類された各区分のうちから最も階調のビット数が大きい区分を除いた各区分に対して、前記レイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する分類記憶手段と、
作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する画像処理指定手段と、
前記分類記憶手段に記憶された情報を参照して、前記画像処理指定手段により指定された所定の画像処理が、前記入力画像データおよびレイヤの内のいずれに対応しているかを判定するレイヤ判定手段と、
前記レイヤ判定手段により判定された入力画像データまたはレイヤに対して、前記画像処理指定手段により指定された所定の画像処理を実行させる画像処理実行手段と、
前記入力画像データに対して前記レイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する合成手段と
を備えることを特徴としている。
The third image processing apparatus of the present invention
In the image processing apparatus that modifies the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is configured such that the number of gradation bits representing pixels of image data that can be handled can be different depending on the type of image processing,
Layer forming means for forming one or a plurality of layers for reflecting image processing on the input image data;
The plurality of image processes are classified according to the number of bits of the gradation, and the input image data is associated with a section having the largest number of bits of the gradation among the classified sections. Corresponding to each of the classified sections except for the section with the largest number of gradation bits, the layer is associated one by one so that the upper layer has a smaller number of bits for the gradation. Classification storage means for previously storing the information,
Image processing designating means for receiving an operation command from an operator and designating predetermined image processing selected from the plurality of image processing for the input image data;
Layer determination means for referring to the information stored in the classification storage means to determine which of the input image data and the layer the predetermined image processing designated by the image processing designation means corresponds to When,
Image processing execution means for executing predetermined image processing specified by the image processing specifying means on the input image data or layer determined by the layer determination means;
And combining means for generating composite image data by superimposing the layers in the order from bottom to top on the input image data.

上記構成の第3の画像処理装置によれば、入力画像データに対して1または複数のレイヤが形成され、入力画像データに対して、画素を表現する階調のビット数が大きい区分に含まれる画像処理が実行され、他の区分の画像処理が、上記複数のレイヤに対して、上層に向かって階調のビット数が降順となるように割り当てられて実行される。画像合成手段によれば、入力画像データに対して、前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データが作成される。このために、取り扱うことのできる画像データについての前記階調のビット数が大きい種類の画像処理が先に実行される。したがって、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、大きいビット数の階調に対応した画像処理本来の性能を発揮することがきる。この結果、画質の低下を防止することができるという効果を奏する。   According to the third image processing apparatus having the above-described configuration, one or a plurality of layers are formed for the input image data, and the input image data is included in the category having a large number of gradation bits representing pixels. Image processing is executed, and image processing of other sections is executed by assigning to the plurality of layers such that the number of gradation bits is in descending order toward the upper layer. According to the image composition means, composite image data is created by superimposing the plurality of layers in the order from bottom to top on the input image data. For this reason, image processing of a type in which the number of bits of the gradation for image data that can be handled is large is executed first. Therefore, since image processing classified into a large bit number gradation is not executed using image data converted from a small bit number gradation, image processing corresponding to a large bit number gradation is possible. The original performance can be demonstrated. As a result, it is possible to prevent the image quality from being deteriorated.

本発明の第4の画像処理装置は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理装置において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって相違し得るように構成されるとともに、
前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成するレイヤ形成手段と、
前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分に対して前記複数のレイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する分類記憶手段と、
作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する画像処理指定手段と、
前記分類記憶手段に記憶された情報を参照して、前記画像処理指定手段により指定された所定の画像処理が、前記レイヤ形成手段により形成された複数のレイヤのいずれに対応しているかを判定するレイヤ判定手段と、
前記レイヤ判定手段により判定されたレイヤに対して、前記画像処理指定手段により指定された所定の画像処理を実行させる画像処理実行手段と、
前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する合成手段と
を備えることを特徴としている。
The fourth image processing apparatus of the present invention is
In the image processing apparatus that modifies the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is configured such that the number of gradation bits representing pixels of image data that can be handled can be different depending on the type of image processing,
Layer forming means for forming a plurality of layers for reflecting image processing on the input image data;
The plurality of image processes are classified according to the number of bits of the gradation, and the plurality of layers are arranged one by one with respect to the classified sections, so that the number of bits of the gradation becomes smaller as the upper layer is formed. Classification storage means for storing in advance information associated with
Image processing designating means for receiving an operation command from an operator and designating predetermined image processing selected from the plurality of image processing for the input image data;
With reference to the information stored in the classification storage unit, it is determined which of the plurality of layers formed by the layer forming unit corresponds to the predetermined image processing specified by the image processing specifying unit Layer determination means;
Image processing execution means for executing predetermined image processing specified by the image processing specifying means on the layer determined by the layer determination means;
And combining means for generating composite image data by superimposing the plurality of layers in the order from bottom to top on the input image data.

上記構成の第4の画像処理装置によれば、入力画像データに対して複数のレイヤが形成され、各レイヤに対して、画素を表現する階調のビット数に応じた画像処理が、上層に向かって階調のビット数が降順となるように割り当てられて実行される。画像合成手段によれば、入力画像データに対して、前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データが作成される。このために、取り扱うことのできる画像データについての前記階調のビット数が大きい種類の画像処理が先に実行される。したがって、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、大きいビット数の階調に対応した画像処理本来の性能を発揮することがきる。この結果、画質の低下を防止することができるという効果を奏する。   According to the fourth image processing apparatus having the above-described configuration, a plurality of layers are formed for the input image data, and image processing corresponding to the number of gradation bits representing pixels is performed on the upper layer for each layer. The gradation bits are assigned so that they are in descending order. According to the image composition means, composite image data is created by superimposing the plurality of layers in the order from bottom to top on the input image data. For this reason, image processing of a type in which the number of bits of the gradation for image data that can be handled is large is executed first. Therefore, since image processing classified into a large bit number gradation is not executed using image data converted from a small bit number gradation, image processing corresponding to a large bit number gradation is possible. The original performance can be demonstrated. As a result, it is possible to prevent the image quality from being deteriorated.

本発明の第1の画像処理方法は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理方法において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるためのレイヤを形成する行程と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する行程と、
(c)前記行程(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する行程と、
(d)該行程(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる行程と、
(e)前記行程(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる行程と、
(f)前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する行程と
を備えることを特徴としている。
The first image processing method of the present invention includes:
In the image processing method for correcting the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a step of forming a layer for reflecting image processing on the input image data;
(B) receiving a command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) a process in which the predetermined image processing specified in the process (b) determines which of the first number and the second number of image data the number of bits of the gradation is handled. When,
(D) When the predetermined image processing is determined to handle the first number of image data in the step (c), the predetermined image processing is executed on the input image data. The process of making
(E) a step of causing the layer to execute the predetermined image processing when the predetermined image processing is determined to handle the second number of image data in the step (c). When,
(F) a step of superimposing the layer on the input image data to create composite image data.

本発明の第1のコンピュータプログラムは、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なうためのコンピュータプログラムであって、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるためのレイヤを形成する機能と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する機能と、
(c)前記機能(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する機能と、
(d)該機能(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる機能と、
(e)前記機能(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる機能と、
(f)前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する機能と
をコンピュータに実現させることを特徴としている。
The first computer program of the present invention is:
A computer program for modifying the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a function of forming a layer for reflecting image processing on the input image data;
(B) a function of receiving an operation command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) The function of determining whether the predetermined number of image data specified by the function (b) is to handle the first number or the second number of image data as the number of bits of the gradation. When,
(D) When it is determined by the function (c) that the predetermined image processing is to handle the first number of image data, the predetermined image processing is executed on the input image data. Function
(E) A function of causing the layer to execute the predetermined image processing when it is determined by the function (c) that the predetermined image processing handles the second number of image data. When,
(F) A function of creating a composite image data by superimposing the layer on the input image data is realized by a computer.

本発明の第1の画像処理方法および第1のコンピュータプログラムは、本発明の第1の画像処理装置と同様に、第2のビット数の階調から変換した画像データを用いて、第1のビット数(>第2のビット数)の階調に分類された画像処理が実行されることがないことから、画質の低下を防止することができるという効果を奏する。   Similar to the first image processing apparatus of the present invention, the first image processing method and the first computer program of the present invention use the image data converted from the gradation of the second number of bits. Since the image processing classified into gradations of the number of bits (> second number of bits) is not executed, there is an effect that deterioration in image quality can be prevented.

本発明の第2の画像処理方法は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理方法において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成する行程と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する行程と、
(c)前記行程(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する行程と
(d)前記行程(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの最下層のレイヤに対して前記所定の画像処理を実行させる行程と、
(e)前記行程(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの前記最下層以外のレイヤに対して前記所定の画像処理を実行させる行程と、
(f)前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する行程と
を備えることを特徴としている。
The second image processing method of the present invention comprises:
In the image processing method for correcting the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a step of forming a plurality of layers for reflecting image processing on the input image data;
(B) receiving a command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) a process in which the predetermined image processing specified in the process (b) determines which of the first number and the second number of image data the number of bits of the gradation is handled. And (d) when it is determined in the step (c) that the predetermined image processing deals with the first number of image data, the lowest layer among the plurality of layers A step of executing the predetermined image processing;
(E) When it is determined in the step (c) that the predetermined image processing is to handle the second number of image data, a layer other than the lowest layer among the plurality of layers A process of executing the predetermined image processing on the image;
And (f) a step of superimposing the plurality of layers on the input image data in an order from bottom to top to create composite image data.

本発明の第2のコンピュータプログラムは、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なうためのコンピュータプログラムであって、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成する機能と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する機能と、
(c)前記機能(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する機能と
(d)前記機能(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの最下層のレイヤに対して前記所定の画像処理を実行させる機能と、
(e)前記機能(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記複数のレイヤのうちの前記最下層以外のレイヤに対して前記所定の画像処理を実行させる機能と、
(f)前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する機能と
をコンピュータに実現させることを特徴としている。
The second computer program of the present invention is:
A computer program for modifying the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a function of forming a plurality of layers for reflecting image processing on the input image data;
(B) a function of receiving an operation command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) The function of determining whether the predetermined number of image data specified by the function (b) is to handle the first number or the second number of image data as the number of bits of the gradation. And (d) when it is determined by the function (c) that the predetermined image processing is to handle the first number of image data, the lowest layer among the plurality of layers A function for executing the predetermined image processing;
(E) When it is determined by the function (c) that the predetermined image processing is to handle the second number of image data, a layer other than the lowest layer among the plurality of layers A function of executing the predetermined image processing on the
(F) causing the computer to realize a function of superimposing the plurality of layers on the input image data in the order from bottom to top to create composite image data.

本発明の第2の画像処理方法および第2のコンピュータプログラムによっても、本発明の第2の画像処理装置と同様に、第2のビット数の階調から変換した画像データを用いて、第1のビット数(>第2のビット数)の階調に分類された画像処理が実行されることがないことから、画質の低下を防止することができるという効果を奏する。   Similarly to the second image processing apparatus of the present invention, the first image processing method and the second computer program of the present invention use the image data converted from the gradation of the second number of bits. Since the image processing classified into the gradation of the number of bits (> second number of bits) is not executed, it is possible to prevent the image quality from being deteriorated.

本発明の第3の画像処理方法は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理方法において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって相違し得るように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるための1または複数のレイヤを形成する行程と、
(b)前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分のうちの最も階調のビット数が大きい区分に対して、前記入力画像データを対応づけるとともに、前記分類された各区分のうちから最も階調のビット数が大きい区分を除いた各区分に対して、前記レイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する行程と、
(c)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する行程と、
(d)前記行程(b)により記憶された情報を参照して、前記行程(c)により指定された所定の画像処理が、前記入力画像データおよびレイヤの内のいずれに対応しているかを判定する行程と、
(e)前記行程(d)により判定された入力画像データまたはレイヤに対して、前記行程(c)により指定された所定の画像処理を実行させる行程と
(f)前記入力画像データに対して前記レイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する行程と
を備えることを特徴としている。
The third image processing method of the present invention is
In the image processing method for correcting the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is configured such that the number of gradation bits representing pixels of image data that can be handled can be different depending on the type of image processing,
(A) a step of forming one or a plurality of layers for reflecting image processing on the input image data;
(B) The plurality of image processes are classified according to the number of bits of the gradation, and the input image data is associated with a section having the largest number of bits of the gradation among the classified sections. At the same time, for each of the classified sections excluding the section with the largest number of bits of gradation, the number of bits of the gradation is reduced as the upper layer is increased by one layer. A process for storing information associated with
(C) receiving an operation command from an operator, and specifying a predetermined image process selected from the plurality of image processes for the input image data;
(D) Referring to the information stored in the step (b), it is determined whether the predetermined image processing specified in the step (c) corresponds to the input image data or the layer And the process of
(E) a step of executing predetermined image processing specified by the step (c) for the input image data or layer determined in the step (d); and (f) the step for the input image data. And a step of creating composite image data by superimposing layers in the order from bottom to top.

本発明の第3のコンピュータプログラムは、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なうためのコンピュータプログラムであって、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって相違し得るように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるための1または複数のレイヤを形成する機能と、
(b)前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分のうちの最も階調のビット数が大きい区分に対して、前記入力画像データを対応づけるとともに、前記分類された各区分のうちから最も階調のビット数が大きい区分を除いた各区分に対して、前記レイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する機能と、
(c)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する機能と、
(d)前記機能(b)により記憶された情報を参照して、前記機能(c)により指定された所定の画像処理が、前記入力画像データおよびレイヤの内のいずれに対応しているかを判定する機能と、
(e)前記機能(d)により判定された入力画像データまたはレイヤに対して、前記機能(c)により指定された所定の画像処理を実行させる機能と
(f)前記入力画像データに対して前記レイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する機能と
をコンピュータに実現させることを特徴としている。
The third computer program of the present invention is:
A computer program for modifying the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is configured such that the number of gradation bits representing pixels of image data that can be handled can be different depending on the type of image processing,
(A) a function of forming one or a plurality of layers for reflecting image processing on the input image data;
(B) The plurality of image processes are classified according to the number of bits of the gradation, and the input image data is associated with a section having the largest number of bits of the gradation among the classified sections. At the same time, for each of the classified sections excluding the section with the largest number of bits of gradation, the number of bits of the gradation is reduced as the upper layer is increased by one layer. A function for storing information associated with the information in advance;
(C) a function of receiving an operation command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(D) Referring to the information stored by the function (b), it is determined which of the input image data and the layer the predetermined image processing designated by the function (c) corresponds to. Function to
(E) a function for executing predetermined image processing specified by the function (c) on the input image data or layer determined by the function (d); and (f) the function for the input image data. It is characterized by having a computer realize the function of creating composite image data by overlaying layers in the order from bottom to top.

本発明の第3の画像処理方法および第3のコンピュータプログラムは、本発明の第3の画像処理装置と同様に、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、画質の低下を防止することができるという効果を奏する。   Similar to the third image processing apparatus of the present invention, the third image processing method and the third computer program of the present invention use the image data converted from the gradation of the small bit number, Since the image processing classified into the keys is not executed, the image quality can be prevented from being deteriorated.

本発明の第4の画像処理方法は、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理方法において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって相違し得るように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成する行程と、
(b)前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分に対して前記複数のレイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する行程と、
(c)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する行程と、
(d)前記行程(b)により記憶された情報を参照して、前記行程(c)により指定された所定の画像処理が、前記行程(b)により形成された複数のレイヤのいずれに対応しているかを判定する行程と、
(e)前記行程(d)により判定されたレイヤに対して、前記行程(c)により指定された所定の画像処理を実行させる行程と
(f)前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する行程と
を備えることを特徴としている。
The fourth image processing method of the present invention is
In the image processing method for correcting the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is configured such that the number of gradation bits representing pixels of image data that can be handled can be different depending on the type of image processing,
(A) a step of forming a plurality of layers for reflecting image processing on the input image data;
(B) Classifying the plurality of image processings by the number of bits of the gradation, the plurality of layers one by one for each of the classified sections, and the number of bits of the gradation being higher in the upper layer A process of pre-storing information associated with the information so as to be smaller;
(C) receiving an operation command from an operator, and specifying a predetermined image process selected from the plurality of image processes for the input image data;
(D) Referring to the information stored in the step (b), the predetermined image processing specified in the step (c) corresponds to any of the plurality of layers formed in the step (b). The process of determining whether or not
(E) a step of executing predetermined image processing specified by the step (c) for the layer determined by the step (d); and (f) the plurality of layers for the input image data. And a step of creating composite image data by superimposing them in the order from bottom to top.

本発明の第4のコンピュータプログラムは、
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なうためのコンピュータプログラムであって、
(a)前記入力画像データに対して画像処理を反映させるための複数のレイヤを形成する機能と、
(b)前記複数の画像処理を前記階調のビット数毎に分類して、該分類された各区分に対して前記複数のレイヤを一つずつ、上のレイヤほど前記階調のビット数が小さくなるように対応づけた情報を、予め記憶する機能と、
(c)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する機能と、
(d)前記機能(b)により記憶された情報を参照して、前記機能(c)により指定された所定の画像処理が、前記機能(b)により形成された複数のレイヤのいずれに対応しているかを判定する機能と、
(e)前記機能(d)により判定されたレイヤに対して、前記機能(c)により指定された所定の画像処理を実行させる機能と
(f)前記入力画像データに対して前記複数のレイヤを下から上に向かう順序で重ね合わせて合成画像データを作成する機能と
をコンピュータに実現させることを特徴としている。
The fourth computer program of the present invention is:
A computer program for modifying the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
(A) a function of forming a plurality of layers for reflecting image processing on the input image data;
(B) Classifying the plurality of image processings by the number of bits of the gradation, the plurality of layers one by one for each of the classified sections, and the number of bits of the gradation being higher in the upper layer A function for pre-storing information associated with a smaller size;
(C) a function of receiving an operation command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(D) With reference to the information stored by the function (b), the predetermined image processing specified by the function (c) corresponds to any of the plurality of layers formed by the function (b). A function to determine whether or not
(E) a function for executing predetermined image processing specified by the function (c) on the layer determined by the function (d); and (f) the plurality of layers for the input image data. It is characterized by having a computer realize the function of creating composite image data by superimposing them in the order from bottom to top.

本発明の第4の画像処理方法および第4のコンピュータプログラムによっても、本発明の第4の画像処理装置と同様に、小さいビット数の階調から変換した画像データを用いて、大きいビット数の階調に分類された画像処理が実行されることがないことから、画質の低下を防止することができるという効果を奏する。   Similarly to the fourth image processing apparatus of the present invention, the fourth image processing method and the fourth computer program of the present invention use image data converted from a gradation having a small number of bits to generate a large number of bits. Since image processing classified into gradations is not executed, there is an effect that deterioration in image quality can be prevented.

この発明の記録媒体は、この発明の第1ないし第4コンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体を特徴としている。この記録媒体は、この発明の各コンピュータプログラムと同様な作用・効果を有している。   The recording medium of the present invention is characterized by a computer-readable recording medium on which the first to fourth computer programs of the present invention are recorded. This recording medium has the same operation and effect as each computer program of the present invention.

本発明は、以下のような他の態様も含んでいる。その第1の態様は、この発明の第1ないし第4のいずれかのコンピュータプログラムを通信経路を介して供給するプログラム供給装置としての態様である。この第1の態様では、コンピュータプログラムをコンピュータネットワーク上のサーバなどに置き、通信経路を介して、必要なプログラムをコンピュータにダウンロードし、これを実行することで、上記の方法や装置を実現することができる。   The present invention includes other aspects as follows. The first aspect is an aspect as a program supply apparatus that supplies any one of the first to fourth computer programs of the present invention via a communication path. In this first aspect, the above-described method and apparatus are realized by placing a computer program on a server or the like on a computer network, downloading a necessary program to a computer via a communication path, and executing the program. Can do.

本発明を実施するための最良の形態を実施例に基づき説明する。この実施例を、次の順序に従って説明する。
(I)第1実施例:
A.装置の構成:
B.コンピュータ処理:
B−1.処理の全体:
B−2.修整処理:
C.作用・効果:
(II)第2実施例:
(III)他の実施形態:
The best mode for carrying out the present invention will be described based on examples. This embodiment will be described in the following order.
(I) First embodiment:
A. Device configuration:
B. Computer processing:
B-1. Overall processing:
B-2. Retouching process:
C. Action / effect:
(II) Second embodiment:
(III) Other embodiments:

(I)第1実施例:
A.装置の構成:
図1は、この発明の第1実施例を適用するコンピュータシステム10のハードウェアの概略構成を示すブロック図である。このコンピュータシステム10は、いわゆるパーソナルコンピュータ(以下、単にコンピュータと呼ぶ)を中心に備え、その周辺にCRTディスプレイ12、プリンタ13およびデジタルカメラ14を備える。コンピュータは、コンピュータ本体16とキーボード18とマウス20を備える。なお、このコンピュータ本体16には、CD−ROM22の内容を読み取るCDドライブ24が搭載されている。
(I) First embodiment:
A. Device configuration:
FIG. 1 is a block diagram showing a schematic hardware configuration of a computer system 10 to which the first embodiment of the present invention is applied. The computer system 10 includes a so-called personal computer (hereinafter simply referred to as a computer), and includes a CRT display 12, a printer 13, and a digital camera 14 around the computer system 10. The computer includes a computer main body 16, a keyboard 18, and a mouse 20. The computer main body 16 is equipped with a CD drive 24 for reading the contents of the CD-ROM 22.

コンピュータ本体16は、CPU30を中心にバスにより相互に接続されたROM31、RAM32、表示画像メモリ33、マウスインタフェース34、キーボードインタフェース35、CDC36、HDC37、CRTC38、プリンタインタフェース39、入出力機用インタフェース40およびI/Oポート41を備える。ROM31は、内蔵されている各種プログラム等を記憶する読み出し専用のメモリである。RAM32は、各種データ等を記憶する読み出し・書込み可能なメモリである。表示画像メモリ33は、CRTディスプレイ12に表示する画像の画像データを記憶するメモリである。   The computer main body 16 includes a ROM 31, a RAM 32, a display image memory 33, a mouse interface 34, a keyboard interface 35, a CDC 36, an HDC 37, a CRTC 38, a printer interface 39, an input / output device interface 40, and a CPU 30. An I / O port 41 is provided. The ROM 31 is a read-only memory that stores various built-in programs and the like. The RAM 32 is a readable / writable memory for storing various data. The display image memory 33 is a memory that stores image data of an image to be displayed on the CRT display 12.

マウスインタフェース34は、マウス20とのデータ等のやり取りを司るインタフェースである。キーボードインタフェース35は、キーボード18からのキー入力を司るインタフェースである。CDC36は、CDドライブ(CDD)24を制御するCDコントローラである。HDC37は、ハードディスクドライブ(HDD)42を制御するハードディスクコントローラである。HDD42には、後述するコンピュータプログラム等が予め記憶されている。   The mouse interface 34 is an interface that manages data exchange with the mouse 20. The keyboard interface 35 is an interface that manages key input from the keyboard 18. The CDC 36 is a CD controller that controls the CD drive (CDD) 24. The HDC 37 is a hard disk controller that controls a hard disk drive (HDD) 42. The HDD 42 stores in advance computer programs and the like which will be described later.

CRTC38は、表示画像メモリ33に記憶される表示画像データに基づいてCRTディスプレイ12における画像の表示を制御するCRTコントローラである。プリンタインタフェース39は、プリンタ13へのデータの入出力を制御するインタフェースである。入出力機用インタフェース40は、外部に接続された入出力機器、この実施例では、例えばUSB(Universal Serial Bus)接続されたデジタルカメラ14へのデータの入出力を制御するインタフェースである。I/Oポート41は、シリアル出力のポートを備えており、モデム44に接続されており、このモデム44を介して、公衆電話回線46に接続されている。コンピュータ本体16は、モデム44を介して、外部のネットワークに接続されており、特定のサーバ47に接続可能となっている。   The CRTC 38 is a CRT controller that controls display of an image on the CRT display 12 based on display image data stored in the display image memory 33. The printer interface 39 is an interface that controls input / output of data to / from the printer 13. The input / output machine interface 40 is an interface for controlling input / output of data to / from an externally connected input / output device, in this embodiment, for example, a digital camera 14 connected by USB (Universal Serial Bus). The I / O port 41 has a serial output port, and is connected to a modem 44, and is connected to a public telephone line 46 via the modem 44. The computer main body 16 is connected to an external network via a modem 44 and can be connected to a specific server 47.

デジタルカメラ14は、1ピクセルを8ビット〜16ビットの階調で表現した画像データを記録するカメラである。「RAWモード」の保存形式で保存することで、16ビットの階調で表現した(以下、こうした表現を16ビットカラーと呼ぶ)画像データを得ることができる。   The digital camera 14 is a camera that records image data in which one pixel is expressed with a gradation of 8 bits to 16 bits. By saving in the “RAW mode” saving format, it is possible to obtain image data expressed in 16-bit gradation (hereinafter referred to as 16-bit color).

このコンピュータシステム10では、オペレーティングシステムはHDD42に記憶されており、コンピュータ本体16に電源を投入すると、HDD42のブートブロックに書き込まれたローダに従ってRAM32の所定の領域にロードされる。また、デジタルカメラ14で撮影した写真画像(カラー写真画像)を修整するフォトレタッチソフトウェア(コンピュータプログラム)は、CD−ROM22に予め格納されており、所定のインストールプログラムを起動することで、CDドライブ24からコンピュータ本体16にインストールされる。このインストールされたコンピュータプログラムは、HDD42に記憶されており、所定の起動命令を受けたときに、RAM32の所定の領域にロードされる。   In this computer system 10, the operating system is stored in the HDD 42, and when the computer main body 16 is turned on, it is loaded into a predetermined area of the RAM 32 according to the loader written in the boot block of the HDD 42. Photo retouching software (computer program) for refining photographic images (color photographic images) taken by the digital camera 14 is stored in advance in the CD-ROM 22, and the CD drive 24 is activated by starting a predetermined installation program. To the computer main body 16. The installed computer program is stored in the HDD 42, and is loaded into a predetermined area of the RAM 32 when a predetermined activation command is received.

このコンピュータプログラムの一部のモジュール(後述する)をCPU30が実行することによって本発明の各種構成要件は実現される。このコンピュータプログラムは、前述したように、CD−ROM22に格納されたものであるが、これに替えて、フロッピィディスク、光磁気ディスク、ICカード等の他の携帯型記録媒体(可搬型記録媒体)に格納された構成としてもよい。また、前述したコンピュータプログラムは、外部のネットワークに接続される特定のサーバ47から、ネットワークを介して提供されるプログラムデータをダウンロードして、RAM32またはHDD42に転送することにより得るようにすることもできる。なお、上記ネットワークとしては、インターネットであってもよく、特定のホームページからダウンロードして得たコンピュータプログラムであってもよい。あるいは、電子メールの添付ファイルの形態で供給されたコンピュータプログラムであってもよい。   Various components of the present invention are realized by the CPU 30 executing some modules (described later) of the computer program. As described above, this computer program is stored in the CD-ROM 22, but instead of this, another portable recording medium (portable recording medium) such as a floppy disk, a magneto-optical disk, or an IC card. It is good also as a structure stored in. The computer program described above can also be obtained by downloading program data provided via a network from a specific server 47 connected to an external network and transferring it to the RAM 32 or the HDD 42. . The network may be the Internet or a computer program obtained by downloading from a specific homepage. Alternatively, it may be a computer program supplied in the form of an email attachment.

以上説明したハードウェア構成を有するコンピュータシステム10によるフォトレタッチソフトウェアに従う制御処理の様子について次に説明する。図2は、コンピュータ本体16によって実行されるこのフォトレタッチソフトウェア50に従う制御処理の様子を示すブロック図である。   Next, the state of control processing according to the photo retouching software by the computer system 10 having the hardware configuration described above will be described. FIG. 2 is a block diagram showing a state of control processing according to the photo retouching software 50 executed by the computer main body 16.

図2に示すように、コンピュータ本体16の内部で動作しているフォトレタッチソフトウェア50によれば、まず、入力モジュール51によりデジタルカメラ14から写真画像を表わす画像データDpiを取り込む処理を行なう。この画像データDpiは、デジタルカメラ14で「RAWモード」の保存形式で保存したもので、16ビットカラーの画像データである。次いで、入力モジュール51によって取り込まれた画像データ(以下、入力画像データと呼ぶ)Dpiに対する修整を修整モジュール52によって行なう。この修整モジュール52によって、入力画像データDpiで表わされた写真画像に対して、回転やトリミング(切り抜き)を行なったり、画像のコントラストや彩度などを変更したり、露出補正やクロスフィルタなどの効果をかけるなどして、画像の修整を行なうことができる。これら一つ一つの画像処理は、作業者からの操作指令を受けることで、必要に応じて順次実行される。修整モジュール52による修整の過程の画像は、ディスプレイドライバ60を介してCRTディスプレイ12へ送られて表示される。   As shown in FIG. 2, according to the photo retouching software 50 operating in the computer main body 16, first, the input module 51 performs processing for taking in image data Dpi representing a photographic image from the digital camera 14. The image data Dpi is stored in the “RAW mode” storage format by the digital camera 14 and is 16-bit color image data. Next, the modification module 52 modifies image data (hereinafter referred to as input image data) Dpi captured by the input module 51. The modification module 52 rotates, trims (cuts out) the photographic image represented by the input image data Dpi, changes the contrast and saturation of the image, and performs exposure correction and cross filter. The image can be modified by applying an effect. Each of these image processing is sequentially executed as necessary by receiving an operation command from the operator. An image of the modification process by the modification module 52 is sent to the CRT display 12 via the display driver 60 and displayed.

修整モジュール52は、レイヤ形成部52a、画像処理指定部52b、階調ビット数判定部52c、第1画像処理実行部52d、第2画像処理実行部52e、合成部52fにより、入力画像データDpiに対して複数の画像処理を順次実行して、入力画像データDpiの修整を行なう。各部52a〜52fの構成が本発明の要部に対応するものであり、後に詳しく説明する。   The modification module 52 converts the input image data Dpi into a layer forming unit 52a, an image processing designation unit 52b, a gradation bit number determination unit 52c, a first image processing execution unit 52d, a second image processing execution unit 52e, and a combining unit 52f. A plurality of image processes are sequentially executed on the input image data Dpi. The structure of each part 52a-52f respond | corresponds to the principal part of this invention, and it demonstrates in detail later.

フォトレタッチソフトウェア50によれば、印刷モジュール53により、修整済画像データDpoは、プリンタドライバ62を介してプリンタ13へ送られて印刷される。さらに、出力モジュール54により、修整済画像データDpoは、外部機器へ送られる。 According to the photo retouch software 50, the printing module 53, retouching-image-data Dpo is printed it is sent to the printer 13 via the printer driver 62. Further, the modified image data Dpo is sent to the external device by the output module 54.

B.コンピュータ処理:
B−1.処理の全体:
コンピュータ本体16のCPU30でフォトレタッチソフトウェア50を実行することで、上述した入力モジュール51、修整モジュール52、印刷モジュール53および出力モジュール54を実現している。このフォトレタッチソフトウェア50に従う制御処理について、以下詳細に説明する。図3は、この制御処理のルーチンを示すフローチャートである。このルーチンは、フォトレタッチソフトウェア50を実行させる旨の指示がなされたときに、実行開始される。
B. Computer processing:
B-1. Overall processing:
By executing the photo retouching software 50 by the CPU 30 of the computer main body 16, the input module 51, the modification module 52, the printing module 53, and the output module 54 described above are realized. The control process according to the photo retouching software 50 will be described in detail below. FIG. 3 is a flowchart showing a routine of this control process. This routine is started when an instruction to execute the photo retouching software 50 is given.

図示するように、処理が開始されると、CPU30は、まず、アプリケーションウィンドウWDをCRTディスプレイ12に表示する処理を行なう(ステップS100)。図4は、このアプリケーションウィンドウWDの初期状態を示す説明図である。図示するように、アプリケーションウィンドウWDの左側の処理メニュー欄MNには、「入力」、「修整」、「印刷」、「出力」の4種類のボタンBT1、BT2、BT3、BT4が、下方に向かって順に並んでおり、作業者は、これらボタンBT1〜BT4を順にマウス20によりクリックしていくことで、CRTディスプレイ12の画面上で、デジタルカメラ14で撮影した写真画像を修整して出力する作業を進めていくことができる。すなわち、図3に示すように、CPU30は、ステップ100の実行後、ボタンBT1〜BT4がマウス20によりクリックされる操作指令を取り込んで、その操作指令に対応した入力処理、修整処理、印刷処理、出力処理を順に実行する(ステップS200、S300、S400、S500)。   As shown in the figure, when the process is started, the CPU 30 first performs a process of displaying the application window WD on the CRT display 12 (step S100). FIG. 4 is an explanatory diagram showing an initial state of the application window WD. As shown in the figure, in the processing menu field MN on the left side of the application window WD, four types of buttons BT1, BT2, BT3, and BT4 of “input”, “modify”, “print”, and “output” are directed downward. The operator clicks these buttons BT1 to BT4 with the mouse 20 in order to modify and output the photographic image taken by the digital camera 14 on the screen of the CRT display 12. Can proceed. That is, as shown in FIG. 3, after executing step 100, the CPU 30 takes in an operation command in which the buttons BT <b> 1 to BT <b> 4 are clicked with the mouse 20, and performs input processing, modification processing, printing processing corresponding to the operation command, The output process is executed in order (steps S200, S300, S400, S500).

ステップS200で実行される入力処理は、デジタルカメラ14から写真画像を表わす画像データ(入力画像データ)Dpiを取り込むもので、前述した入力モジュール51(図2)に対応する。この入力画像データDpiの取り込み作業は、図4に示されるアプリケーションウィンドウWDのメニューバーBR1に設けられた「ファイル」のボタンBT11が、マウス20によりクリックされる操作指令を受けて行なわれる。詳細には、「ファイル」のボタンBT11から開くプルダウンメニュー(図示せず)に備えられた「外部機器入力」を選択して、次いで、入力デバイスとしてデジタルカメラ14を選択して、その後、ファイル名を選択するといった一連のマウス20からの操作指令を受けて行なわれる。なお、こうして取り込まれた入力画像データDpiは、前述したように16ビットカラーの画像データであり、RAM32の所定のエリアに格納されるが、それとともに、アプリケーションウィンドウWDの作業フィールドFDWに表示される。   The input process executed in step S200 takes in image data (input image data) Dpi representing a photographic image from the digital camera 14, and corresponds to the input module 51 (FIG. 2) described above. This input image data Dpi import operation is performed in response to an operation command in which the “file” button BT11 provided on the menu bar BR1 of the application window WD shown in FIG. Specifically, “external device input” provided in a pull-down menu (not shown) opened from the “file” button BT11 is selected, then the digital camera 14 is selected as the input device, and then the file name is selected. The operation is performed in response to a series of operation commands from the mouse 20 such as selecting. The input image data Dpi thus captured is 16-bit color image data as described above, and is stored in a predetermined area of the RAM 32. At the same time, it is displayed in the work field FDW of the application window WD. .

ステップS300で実行される修整処理は、入力画像データDpiに対して画像処理を実行することにより入力画像データDpiを修整するもので、ここで本発明の各種要件は実現される。詳細については後述する。なお、ここで修整の処理が施された修整済画像データDpoは、HDD42に用意された所定のホルダに格納される。この修整処理が、前述した修整モジュール52(図2)に対応する。   The modification process executed in step S300 modifies the input image data Dpi by executing image processing on the input image data Dpi, and various requirements of the present invention are realized here. Details will be described later. The modified image data Dpo subjected to the modification processing here is stored in a predetermined holder prepared in the HDD 42. This modification process corresponds to the modification module 52 (FIG. 2) described above.

ステップS400で実行される印刷処理は、ステップS300で作成された修整済画像データDpoを、印刷コマンドとしてプリンタドライバに出力するものである。この印刷の処理は、周知の構成であり、ここでは詳しく説明はしないが、これによって修整した写真画像がプリンタ13から印刷されることになる。この印刷処理が、前述した印刷モジュール53(図2)に対応する。   The printing process executed in step S400 outputs the modified image data Dpo created in step S300 to the printer driver as a print command. This printing process has a well-known configuration and will not be described in detail here, but a modified photographic image is printed from the printer 13. This printing process corresponds to the printing module 53 (FIG. 2) described above.

ステップS500で実行される出力処理は、ステップS300で作成された修整済画像データDpoを、外部機器に出力するものである。これによって修整した写真画像を表わす修整済画像データDpoが所望の外部機器に出力されることになる。この出力処理が、前述した出力モジュール54(図2)に対応する。   The output process executed in step S500 is to output the modified image data Dpo created in step S300 to an external device. As a result, the modified image data Dpo representing the modified photographic image is output to a desired external device. This output process corresponds to the output module 54 (FIG. 2) described above.

B−2.修整処理:
ステップS300で実行される修整処理について、以下詳細に説明する。図5は、この修整処理のルーチンを示すフローチャートである。このルーチンに処理が移行すると、図示するように、CPU30は、まず、ステップS200の入力処理で取り込んだ入力画像データDpiに対して、2枚のレイヤを形成する処理を行なう。レイヤは、元画像(ここでは、入力画像データDpi)に手を加えることなく色補正や、新たな画像(文字やクリップ等)を乗せる貼り付けなどの作業ができるようにするための透明のシートである。
B-2. Retouching process:
The modification process executed in step S300 will be described in detail below. FIG. 5 is a flowchart showing the routine of this modification process. When the process moves to this routine, as shown in the figure, the CPU 30 first performs a process of forming two layers on the input image data Dpi captured in the input process of step S200. The layer is a transparent sheet that enables color correction and pasting to place a new image (characters, clips, etc.) without modifying the original image (here, input image data Dpi). It is.

図6は、入力画像データDpiに対して形成された2枚のレイヤ、すなわち、レイヤ1、レイヤ2を概念的に示す説明図である。図示するように、レイヤ1、レイヤ2は、入力画像データDpiと同一サイズであり、入力画像データDpiに対して、下から上に向かって、レイヤ1、レイヤ2の順序で重ね合わせられるように形成される。レイヤは、新たな画像を乗せる装飾を行なうための通常のものと、新たな画像を作成することなく下に位置するレイヤ(もしくは入力画像データDpi)の画素に効果を適用することができる特殊なものとに別れる。この特殊なレイヤは、いわゆる調整レイヤと呼ばれるものである。入力画像データDpiのすぐ上のレイヤ1は調整レイヤであり、レイヤ2は普通のレイヤである。   FIG. 6 is an explanatory diagram conceptually showing two layers formed for the input image data Dpi, that is, layer 1 and layer 2. As illustrated, layers 1 and 2 have the same size as the input image data Dpi, and are superimposed on the input image data Dpi in the order of layers 1 and 2 from bottom to top. It is formed. The layer is a special one that can be applied to the pixels of the normal layer for decoration on which a new image is placed and the layer (or input image data Dpi) located below without creating a new image. Divide into things. This special layer is a so-called adjustment layer. Layer 1 immediately above the input image data Dpi is an adjustment layer, and layer 2 is a normal layer.

図5に戻り、次いで、CPU30は、CRTディスプレイ12に表示されているアプリケーションウィンドウWDを修整処理用に変更する処理を行なう(ステップS320)。   Returning to FIG. 5, next, the CPU 30 performs a process of changing the application window WD displayed on the CRT display 12 for the modification process (step S320).

図7は、修整処理用のアプリケーションウィンドウWDを示す説明図である。図示するように、この修整処理用のアプリケーションウィンドウWDのツールバーBR2には、「回転/反転」、「トリミング」、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」、「アンシャープマスク」、「クロスフィルタ」、「文字入れ」、「クリップアート貼り付け」のアイコンIC1、IC2、IC3、IC4、IC5、IC6、IC7、IC8、IC9、IC10が設けられている。作業者は、マウス20を用いて、アイコンIC1〜IC10のいずれかをクリックすることで、そのアイコンIC1〜IC10で定められる10種類の画像処理の中から所望の画像処理の実行を指示することができる。   FIG. 7 is an explanatory diagram showing an application window WD for modification processing. As shown in the figure, the toolbar BR2 of the application window WD for the modification processing includes “rotation / inversion”, “trimming”, “exposure correction”, “contrast adjustment”, “saturation adjustment”, “histogram correction”, The icons IC1, IC2, IC3, IC4, IC5, IC6, IC7, IC8, IC9, and IC10 for “unsharp mask”, “cross filter”, “text insertion”, and “clip art pasting” are provided. The operator can use the mouse 20 to click on any of the icons IC1 to IC10 to instruct execution of desired image processing from among ten types of image processing determined by the icons IC1 to IC10. it can.

アイコンIC1〜IC10は、マーク(絵)で表された指示用スイッチである。指示用スイッチとしては、アイコンIC1〜IC10に限る必要もなく、メニューバーBR1から開くメニューとしての構成とすることもできる。   Icons IC1 to IC10 are instruction switches represented by marks (pictures). The instruction switch is not limited to the icons IC1 to IC10, and can be configured as a menu opened from the menu bar BR1.

「回転/反転」は、画像を回転させたり、上下または左右に反転させたりする画像処理である。「トリミング」は、画像の必要な部分だけを切り抜き(トリミング)する画像処理である。「露出補正」は、画像に露出補正を行なった効果を与える画像処理である。「コントラスト調整」は、画像のコントラストを変更する画像処理である。「彩度調整」は、画像の鮮やかさを変更する画像処理である。「ヒストグラム補正」は、画像の色や明るさを、ヒストグラムを使って変換する画像処理である。「アンシャープマスク」は、画像にアンシャープマスクをかけた効果を与える画像処理である。「クロスフィルタ」は、写真の撮影時にクロスフィルタを装着したような効果を与える画像処理である。「文字入れ」は、画像に文字を入れる(乗せる)画像処理である。「クリップアート貼り付け」は、画像に線画や図柄や画像等を貼り付ける(乗せる)画像処理である。   “Rotation / inversion” is image processing in which an image is rotated or inverted vertically or horizontally. “Trimming” is image processing in which only a necessary portion of an image is cut out (trimmed). “Exposure correction” is image processing that gives an effect of exposure correction to an image. “Contrast adjustment” is image processing for changing the contrast of an image. “Saturation adjustment” is image processing for changing the vividness of an image. “Histogram correction” is image processing for converting the color and brightness of an image using a histogram. “Unsharp mask” is image processing that gives the effect of applying an unsharp mask to an image. “Cross filter” is image processing that gives the effect of wearing a cross filter when taking a picture. “Character insertion” is image processing that inserts (places) characters in an image. “Clip art pasting” is image processing for pasting (mounting) a line drawing, a pattern, an image, or the like on an image.

図5に戻って、ステップS320の実行後、CPU30は、作業者からのマウス20を用いたクリック操作の指令を取り込んで、アプリケーションウィンドウWDのアイコンIC1〜IC10のいずれかが選択されたか否かを判定する(ステップS330)。ここで、選択なしと判定されると、ステップS330を繰り返して実行して、その選択があるのを待つ。   Returning to FIG. 5, after executing step S320, the CPU 30 captures a click operation command using the mouse 20 from the operator, and determines whether any of the icons IC1 to IC10 of the application window WD is selected. Determination is made (step S330). If it is determined that there is no selection, step S330 is repeatedly executed to wait for the selection.

ステップS330で、アイコンIC1〜IC10のいずれかが選択されたと判定されると、CPU30は、ステップS340に処理を進める。ステップS340では、アイコンIC1〜IC10の選択によって指示された画像処理の種類を特定する。例えば、「回転/反転」のアイコンIC1がクリックされた時には、画像処理の種類は、「回転/反転」であると定め、「コントラスト」のアイコンIC4がクリックされた時には、画像処理の種類は、「コントラスト」であると定める。   If it is determined in step S330 that any one of the icons IC1 to IC10 has been selected, the CPU 30 advances the process to step S340. In step S340, the type of image processing instructed by selection of the icons IC1 to IC10 is specified. For example, when the “rotation / inversion” icon IC1 is clicked, the type of image processing is determined to be “rotation / inversion”. When the “contrast” icon IC4 is clicked, the type of image processing is: Determined to be “contrast”.

その後、CPU30は、ステップS340で特定した画像処理用のダイアログボックスを表示する処理を行なう(ステップS350)。図8は、「回転/反転」のアイコンIC1がクリックされた時に表示される「回転/反転」用のダイアログボックスDBX1の一例を示す説明図である。図示するように、このダイアログボックスDBX1には、元画像表示用のフィールドFD11と、処理画像表示用のフィールドFD12と、操作系のフィールドFD13とが設けられている。   Thereafter, the CPU 30 performs processing for displaying the dialog box for image processing specified in step S340 (step S350). FIG. 8 is an explanatory diagram showing an example of a dialog box DBX1 for “rotation / inversion” displayed when the “rotation / inversion” icon IC1 is clicked. As shown in the figure, the dialog box DBX1 is provided with a field FD11 for displaying an original image, a field FD12 for displaying a processed image, and a field FD13 for an operation system.

操作系のフィールドFD13には、回転のための「左90度」、「右90度」、「180度」の各ボタンと、反転のための「上下」、「左右」の各ボタンとが設けられている。作業者は、これらのボタンを操作することで、画像データを回転もしくは反転させることができ、この結果は、処理画像表示用のフィールドFD12に表示される。操作系のフィールドFD13内の「実行」のボタンBT11がクリックされると、そのときの各ボタンの操作指令から定まる回転、反転の程度が、「回転/反転」用パラメータとしてRAM32に記憶される。   The operation field FD13 is provided with “left 90 °”, “90 ° right”, and “180 °” buttons for rotation and “up / down” and “left / right” buttons for inversion. It has been. The operator can rotate or reverse the image data by operating these buttons, and the result is displayed in the processed image display field FD12. When the “execute” button BT11 in the operation system field FD13 is clicked, the degree of rotation and inversion determined from the operation command of each button at that time is stored in the RAM 32 as a “rotation / inversion” parameter.

上記「回転/反転」用パラメータの獲得は、図5のステップS360、S370で実現される。CPU30は、画像処理用のダイアログボックスから入力される作業者の操作指令を取り込んで(ステップS360)、その操作指令に基づいて、その画像処理における修整の程度を規定するためのパラメータを算出する処理を行なう(ステップS370)。   The acquisition of the “rotation / reversal” parameter is realized in steps S360 and S370 of FIG. The CPU 30 captures the operator's operation command input from the image processing dialog box (step S360), and calculates a parameter for defining the degree of correction in the image processing based on the operation command. Is performed (step S370).

図9は、「コントラスト」のアイコンIC4がクリックされた時に表示される「コントラスト」用のダイアログボックスDBX2の一例を示す説明図である。図示するように、このダイアログボックスDBX2には、元画像表示用のフィールドFD21と、修整済画像表示用のフィールドFD22と、操作系のフィールドFD23とが設けられている。   FIG. 9 is an explanatory diagram showing an example of a dialog box DBX2 for “contrast” displayed when the “contrast” icon IC4 is clicked. As illustrated, the dialog box DBX2 includes an original image display field FD21, a modified image display field FD22, and an operation field FD23.

操作系のフィールドFD23には、「コントラスト」のスライダーバーSBが設けられている。このスライダーバーSBによって、画像全体としての輝度の幅を調整することができる。作業者は、このスライダーバーSBを操作することで、画像データのコントラストを調整し、この結果は、処理画像表示用のフィールドFD22に表示される。操作系のフィールドFD23内の「実行」のボタンBT21がクリックされると、ステップS360、S370により、そのときのスライダーバーSBの調整値が、「コントラスト」用パラメータとしてRAM32に記憶される。   The operation field FD23 is provided with a “contrast” slider bar SB. With this slider bar SB, the brightness range of the entire image can be adjusted. The operator adjusts the contrast of the image data by operating the slider bar SB, and the result is displayed in the processed image display field FD22. When the “execute” button BT21 in the operation field FD23 is clicked, the adjustment value of the slider bar SB at that time is stored in the RAM 32 as a “contrast” parameter in steps S360 and S370.

ステップS350ないしS370の処理により獲得されるパラメータの一例として、ここでは、前述したように、「回転/反転」と「コントラスト」について説明したが、その他の画像処理モジュールも同様に、その画像処理に関わるパラメータ、例えば「トリミング」の画像処理における領域を示す座標情報のパラメータ、「クロスフィルタ」の画像処理における効果の強度のパラメータ等が得られることになる。   Here, as described above, “rotation / inversion” and “contrast” have been described as an example of parameters acquired by the processing in steps S350 to S370. However, other image processing modules are also used for the image processing. For example, parameters relating to coordinate information indicating a region in image processing of “trimming”, parameters of effect strength in image processing of “cross filter”, and the like are obtained.

図5のステップS370の実行後、CPU30は、ステップS340で特定した画像処理の種類から画像処理の実行先を決定する処理を行なう(ステップS380)。この決定に際しては、各種の画像処理の実行先を定める分類テーブルを用いる。この分類テーブルは、フォトレタッチソフトウェアに予め書き込まれており、そのフォトレタッチソフトウェアの起動後、RAM32に転送され記憶されている。   After execution of step S370 in FIG. 5, the CPU 30 performs processing for determining the execution destination of the image processing from the type of image processing specified in step S340 (step S380). For this determination, a classification table that determines the execution destination of various image processes is used. This classification table is written in advance in the photo retouching software, and is transferred to and stored in the RAM 32 after the photo retouching software is activated.

図10は、分類テーブルTBL1の一例を示す説明図である。図示するように、分類テーブルTBL1は、「種類」と「実行先」の項目データDT1、DT2から構成される。「種類」の項目データDT1には、このフォトレタッチソフトウェアで実行可能な画像処理、すなわち、ツールバーBR2に登録された「回転/反転」、「トリミング」、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」、「アンシャープマスク」、「クロスフィルタ」、「文字入れ」、「クリップアート貼り付け」が順に格納されている。そうして、「実行先」の項目データDT2には、各画像処理に対応する入力画像データDpiまたはレイヤ(前述したレイヤ1、レイヤ2のいずれか)が記載されている。   FIG. 10 is an explanatory diagram showing an example of the classification table TBL1. As shown in the figure, the classification table TBL1 is composed of “type” and “execution destination” item data DT1 and DT2. In the item data DT1 of “Type”, image processing that can be executed by the photo retouching software, that is, “rotation / inversion”, “trimming”, “exposure correction”, “contrast adjustment”, “contrast adjustment”, “ Saturation adjustment, “histogram correction”, “unsharp mask”, “cross filter”, “text insertion”, and “clip art pasting” are stored in this order. Thus, in the item data DT2 of “execution destination”, input image data Dpi or layer (any one of the above-described layer 1 and layer 2) corresponding to each image processing is described.

上記10種類の画像処理は、コンピュータプログラム内の個別のモジュールにより実現されるが、各モジュールは、画像データを16ビットカラー(1ピクセルを16ビットの階調で表現するもの)として扱う16ビット対応のものと、画像データを8ビットカラー(1ピクセルを8ビットの階調で表現するもの)として扱う8ビット対応のものとがある。これは各画像処理についてのソフトウェアの設計上の仕様であり、16ビット対応とすることでの画質精度への貢献度や、処理速度とリソースから見た動作の快適性の悪化度等を考慮して定められている。詳細には、露出補正やコントラスト、彩度の調整などの十分な画質・情報量が必要な作業、換言するなら、画像の土台づくりに必要な作業については16ビット対応としており、それ以外は8ビット対応としている。具体的には、この実施例では、「回転/反転」、「トリミング」、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」の各処理が16ビット対応であり、「アンシャープマスク」、「クロスフィルタ」、「文字入れ」、「クリップアート貼り付け」の各処理が8ビット対応である。   The above 10 types of image processing are realized by individual modules in the computer program, but each module supports 16-bit handling of image data as 16-bit color (one pixel is expressed by 16-bit gradation). And those that handle image data as 8-bit color (representing one pixel with 8-bit gradation). This is a software design specification for each image processing. Considering the contribution to the image quality accuracy by supporting 16 bits, the degree of deterioration of operation comfort from the viewpoint of processing speed and resources, etc. It is determined. Specifically, work that requires sufficient image quality and information amount, such as exposure correction, contrast, and saturation adjustment, in other words, work that is necessary to lay the foundation of an image is 16-bit compatible; Bit support. Specifically, in this embodiment, each process of “rotation / inversion”, “trimming”, “exposure correction”, “contrast adjustment”, “saturation adjustment”, and “histogram correction” corresponds to 16 bits, Each process of “unsharp mask”, “cross filter”, “text insertion”, and “clip art pasting” is 8-bit compatible.

分類テーブルTBL1では、上記16ビット対応の画像処理についての実行先を、入力画像データDpiと定めている。上記8ビット対応の画像処理は、新たな画像を乗せる装飾に関する画像処理であるか否かによって、実行先が分かれている。すなわち、8ビット対応で、且つ前記装飾に関する画像処理についての実行先は、ステップS310で形成したレイヤのうちのレイヤ2と定めており、8ビット対応で、且つ前記装飾以外の画像処理についての実行先は、ステップS310で形成したレイヤのうちのレイヤ1と定めている。この実施例では、「文字入れ」、「クリップアート貼り付け」の各画像処理が、新たな画像を乗せる処理であることから、レイヤ2に対応づけられており、残りの8ビット対応の画像処理である「アンシャープマスク」、「クロスフィルタ」の各画像処理が、レイヤ1に対応づけられている。

In the classification table TBL1, the execution destination for the 16-bit image processing is defined as input image data Dpi. The execution destination of the 8-bit image processing is divided depending on whether or not the image processing is related to decoration on which a new image is placed. That is, the execution destination for image processing related to 8-bit processing and the decoration is determined to be layer 2 of the layers formed in step S310, and is executed for image processing other than 8-bit processing and decoration. The destination is defined as layer 1 of the layers formed in step S310. In this embodiment, since the image processing of “character insertion” and “clip art pasting” is processing for placing a new image, it is associated with layer 2 and the remaining 8-bit image processing. Each of the “unsharp mask” and “cross filter” image processing is associated with layer 1.

ステップS380では、詳細には、分類テーブルTBL1の「種類」の項目データDT1の中から、ステップS340で特定した画像処理の種類と一致するものを探して、その一致する画像処理の種類に対応する「実行先」の項目データDT2を読み出すことにより、画像処理の実行先の決定を行なう。   In step S380, in detail, the item data DT1 of “type” in the classification table TBL1 is searched for a match with the type of image processing specified in step S340, and the type of image processing corresponding to the type is matched. By reading the “execution destination” item data DT2, the execution destination of the image processing is determined.

その後、CPU30は、ステップS380で決定した実行先に対して、画像処理を実行する処理を行なう(ステップS390)。この画像処理は、ステップS340で特定された種類のものであり、ステップS370で算出されたパラメータに基づくものである。すなわち、ステップS380で入力画像データDpiと決定された場合には、入力画像データDpiに対して、ステップS340で特定された種類の画像処理を、S370で算出されたパラメータに基づいて行ない、レイヤ1と決定された場合には、レイヤ1に対して、ステップS340で特定された種類の画像処理を、S370で算出されたパラメータに基づいて行ない、レイヤ2と決定された場合には、レイヤ2に対して、ステップS340で特定された種類の画像処理を、S370で算出されたパラメータに基づいて行なう。   Thereafter, the CPU 30 performs a process of executing image processing on the execution destination determined in step S380 (step S390). This image processing is of the type specified in step S340, and is based on the parameters calculated in step S370. That is, when the input image data Dpi is determined in step S380, the type of image processing specified in step S340 is performed on the input image data Dpi based on the parameters calculated in step S370, and the layer 1 Is determined, layer 1 is subjected to the type of image processing specified in step S340 based on the parameters calculated in step S370. If layer 2 is determined, layer 2 is processed. On the other hand, the type of image processing specified in step S340 is performed based on the parameters calculated in step S370.

ステップS390の結果、アイコンIC1〜IC10のクリックにより特定された種類の画像処理が、「回転/反転」、「トリミング」、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」である場合には、入力画像データDpiに対して直接その画像処理が実行される。   As a result of step S390, the types of image processing specified by clicking the icons IC1 to IC10 are “rotation / inversion”, “trimming”, “exposure correction”, “contrast adjustment”, “saturation adjustment”, “histogram correction”. ", The image processing is directly executed on the input image data Dpi.

また、アイコンIC1〜IC10のクリックにより特定された種類の画像処理が、「アンシャープマスク」、「クロスフィルタ」である場合には、レイヤ1に対してその画像処理が実行される。レイヤ1は、前述したように調整レイヤであることから、詳細には、「アンシャープマスク」または「クロスフィルタ」の効果としての色補正効果をレイヤ1に対して設定する処理が行なわれる。具体的には、その画像処理についての種類(ステップS340で取得)とパラメータ(ステップS370で取得)とを修整情報としてレイヤ1に対して記憶する。   When the types of image processing specified by clicking the icons IC1 to IC10 are “unsharp mask” and “cross filter”, the image processing is executed on the layer 1. Since layer 1 is an adjustment layer as described above, in detail, processing for setting a color correction effect as an effect of “unsharp mask” or “cross filter” on layer 1 is performed. Specifically, the type (obtained in step S340) and parameters (obtained in step S370) for the image processing are stored in the layer 1 as modification information.

アイコンIC1〜IC10のクリックにより特定された種類の画像処理が、「文字入れ」、「クリップアート貼り付け」である場合には、レイヤ2に対してその画像処理が実行される。詳細には、「文字入れ」または「クリップアート貼り付け」によって乗せる文字または画像等を、レイヤ2に対して書き込む処理が行なわれる。   When the types of image processing specified by clicking the icons IC1 to IC10 are “character insertion” and “clip art pasting”, the image processing is executed on the layer 2. Specifically, a process of writing a character or an image to be put on “Layer 2” or “Clip Art Pasting” to the layer 2 is performed.

ステップS390の実行後、CPU30は、ステップS392に処理を進めて、ステップS200の入力処理で取り込んだ入力画像データDpiに対してレイヤ1、レイヤ2を重ね合わせて合成画像データとしての修整済画像データDpoを作成する処理を行なう。この重ね合わせの順序は、下から上に向かう順序である。この重ね合わせにより、レイヤ1、レイヤ2に対して実行した画像処理の効果が入力画像データDpiに対して施された修整済画像データDpoを得ることができる。   After execution of step S390, the CPU 30 advances the process to step S392, and the modified image data as the composite image data by superimposing layer 1 and layer 2 on the input image data Dpi captured in the input process of step S200. Processing for creating Dpo is performed. The order of superposition is the order from the bottom to the top. By this superposition, it is possible to obtain modified image data Dpo in which the effect of the image processing performed on layer 1 and layer 2 is performed on input image data Dpi.

ステップS392で修整済画像データDpoの作成を終えると、CPU30は、ステップS394に処理を進めて、アプリケーションウィンドウWDの作業フィールドFDWに修整済画像データDpoを表示する。その後、CPU30は、アプリケーションウィンドウWDに備えられたアイコンIC1〜IC10の選択が終了したか否かを判定する(ステップS396)。具体的には、CPU30は、アイコンIC1〜IC10以外の操作指令を受けたか否かを判定して、肯定判別されたときに、アイコンIC1〜IC10の選択は終了したとして、「リターン」に処理を進める。一方、ステップS396で、アイコンIC1〜IC10の選択が終了していないと判定された場合には、ステップS340に処理を戻して、新たに選択されたアイコンIC1〜IC10に対応する画像処理を実行させる。   When the creation of the modified image data Dpo is completed in step S392, the CPU 30 advances the process to step S394 and displays the modified image data Dpo in the work field FDW of the application window WD. Thereafter, the CPU 30 determines whether or not the selection of the icons IC1 to IC10 provided in the application window WD has been completed (step S396). Specifically, the CPU 30 determines whether or not an operation command other than the icons IC1 to IC10 has been received, and when an affirmative determination is made, the selection of the icons IC1 to IC10 is completed, and the process is processed as “return”. Proceed. On the other hand, if it is determined in step S396 that selection of the icons IC1 to IC10 has not been completed, the process returns to step S340 to execute image processing corresponding to the newly selected icons IC1 to IC10. .

なお、CPU30により実行されるステップS310の処理により、レイヤ形成部52a(図2)が構成される。また、CPU30により実行されるステップS330〜S340の処理により、画像処理指定部52b(図2)が構成される。   The layer forming unit 52a (FIG. 2) is configured by the process of step S310 executed by the CPU 30. In addition, the image processing designation unit 52b (FIG. 2) is configured by the processing of steps S330 to S340 executed by the CPU 30.

さらに、CPU30により実行されるステップS350〜S390の処理と分類テーブルTBL1により、階調ビット数判定部52c、第1画像処理実行部52d、第2画像処理実行部52e(それぞれ図2)が構成される。すなわち、本実施例では、ステップS380で分類テーブルTBL1を参照することで、階調ビット数判定部52cとしての処理が可能となっており、ステップS390の処理により、第1画像処理実行部52dおよび第2画像処理実行部52eとしての処理が可能となっている。なお、分類テーブルTBL1を用いる本実施例の構成に換えて、修整処理のルーチン内に(すなわち、プログラム上で)、画像処理の種類を一々判定するステップ設け、そのステップの分岐先で、該当する実行先に対して画像処理を実行する処理を行なう構成とすることもできる。具体的には、「回転/反転」〜「ヒストグラム補正」のいずれか否かを判定するステップAと、「アンシャープマスク」または「クロスフィルタ」か否かを判定するステップBと、「文字入れ」または「クリップアート貼り付け」か否かを判定するステップCを設け、ステップAで肯定判定されたときには、入力画像データDpiに対して画像処理を行ない、ステップBで肯定判定されたときには、レイヤ1に対して画像処理を行ない、ステップCで肯定判定されたときには、レイヤ2に対して画像処理を行なう構成とすることができる。   Further, the gradation bit number determination unit 52c, the first image processing execution unit 52d, and the second image processing execution unit 52e (FIG. 2 respectively) are configured by the processing of steps S350 to S390 executed by the CPU 30 and the classification table TBL1. The That is, in this embodiment, the gradation bit number determination unit 52c can be processed by referring to the classification table TBL1 in step S380, and the first image processing execution unit 52d and the processing in step S390 can be performed. Processing as the second image processing execution unit 52e is possible. In place of the configuration of the present embodiment using the classification table TBL1, a step for determining the type of image processing is provided in the routine of the retouching process (that is, on the program), and this is the case at the branch destination of that step. A configuration for performing image processing on the execution destination may be employed. Specifically, step A for determining whether the rotation is “rotation / inversion” to “histogram correction”, step B for determining whether it is “unsharp mask” or “cross filter”, and “character insertion” ”Or“ Clip Art Paste ”is provided. When the determination at Step A is affirmative, image processing is performed on the input image data Dpi. When the determination at Step B is affirmative, If the image processing is performed on 1 and an affirmative determination is made in step C, the image processing on layer 2 can be performed.

CPU30により実行されるステップS392の処理により、合成部52f(図2)が構成される。   The synthesis unit 52f (FIG. 2) is configured by the process of step S392 executed by the CPU 30.

C.作用・効果:
以上のように構成されたこの実施例のコンピュータシステムによれば、作業者は、修整処理においてアイコンIC1〜IC10を一つずつクリックしていくことにより、入力処理により入力された入力画像データDpiに対して、画像処理を一つずつ順次実行していくことができる。クリックにより指定された画像処理が、16ビットカラー対応のものであれば、入力画像データDpiに対して直接実行され、8ビットから対応のものであれば、レイヤ1、2に対して実行される。このために、16ビットカラー対応の画像処理が先にまとめて実行されて、その後、レイヤ1、2によって、8ビットカラー対応の画像処理が実行される。
C. Action / effect:
According to the computer system of this embodiment configured as described above, the operator clicks on the icons IC1 to IC10 one by one in the retouching process, so that the input image data Dpi input by the input process is displayed. On the other hand, image processing can be sequentially executed one by one. If the image processing specified by clicking is compatible with 16-bit color, it is directly executed for the input image data Dpi, and if it is compatible with 8-bit, it is executed for layers 1 and 2. . For this reason, the image processing corresponding to 16-bit color is collectively executed first, and then the image processing corresponding to 8-bit color is executed by layers 1 and 2.

したがって、一旦8ビットカラーに落ちた画像データを用いて、16ビットカラーに対応した画像処理が実行されることがないことから、16ビットカラーに対応した各画像処理は、いずれも本来の性能を発揮したものとなる。この結果、レタッチ作業における画質の低下を防止することができるという効果を奏する。   Accordingly, since image processing corresponding to 16-bit color is not executed using image data once reduced to 8-bit color, each image processing corresponding to 16-bit color has its original performance. It will be the one that demonstrates it. As a result, it is possible to prevent the image quality from being deteriorated in the retouching operation.

また、この実施例では、同じ8ビットカラー対応の画像処理でも、新たな画像を乗せる装飾に関する種類の画像処理用であるレイヤ2と、その装飾に関する種類以外の画像処理用であるレイヤ1とに実行先が区別されている。装飾に関する種類の画像処理は、下に位置する入力画像データの少なくとも一部分を隠すことになり、その後、他の画像処理を行なった場合、その効果は入力画像データDpiに対して及ばない可能性がある。この実施例によれば、下層であるレイヤ1で先に上記装飾に関する種類以外の画像処理が実行されることから、これら画像処理の効果が、装飾に関する種類の画像処理によって損ねられることがない。   Further, in this embodiment, even in the same 8-bit color image processing, layer 2 for image processing of a type related to a new image and layer 1 for image processing other than the type of decoration are used. The execution destination is distinguished. The type of image processing related to decoration will hide at least a part of the input image data located below, and if other image processing is performed thereafter, the effect may not be applied to the input image data Dpi. is there. According to this embodiment, since image processing other than the type related to decoration is first executed in the lower layer 1, the effect of these image processing is not impaired by the type of image processing related to decoration.

なお、この第1実施例の変形例としては、レイヤを1枚だけ形成する構成として、8ビットカラー対応画像処理の実行先を、全てレイヤ1とすることもできる。   As a modification of the first embodiment, it is also possible to set all layers to be the execution destination of the 8-bit color compatible image processing as a configuration in which only one layer is formed.

(II)第2実施例:
次に、本発明の第2実施例について説明する。この第2実施例は、第1実施例と比較して、形成されるレイヤの数と、分類テーブルTBL2の構成が相違するだけであり、その他の構成は同一である。
(II) Second embodiment:
Next, a second embodiment of the present invention will be described. The second embodiment is different from the first embodiment only in the number of layers to be formed and the configuration of the classification table TBL2, and the other configurations are the same.

この第2実施例では、3枚のレイヤが形成されるように構成されている。図11は、入力画像データDpiに対して形成される3枚のレイヤ、すなわち、レイヤ1、レイヤ2、レイヤ3を概念的に示す説明図である。図示するように、レイヤ1、レイヤ2、レイヤ3は、入力画像データDpiと同一サイズであり、入力画像データDpiに対して、下から上に向かって、レイヤ1、レイヤ2、レイヤ3の順序で重ね合わせるように形成される。なお、この実施例では、レイヤ1とレイヤ2が調整レイヤであり、レイヤ3は普通のレイヤである。   In the second embodiment, three layers are formed. FIG. 11 is an explanatory diagram conceptually showing three layers formed for the input image data Dpi, that is, layer 1, layer 2, and layer 3. As shown in the figure, layer 1, layer 2, and layer 3 have the same size as the input image data Dpi, and the order of layer 1, layer 2, and layer 3 from the bottom to the top with respect to the input image data Dpi. It is formed so as to overlap with each other. In this embodiment, layers 1 and 2 are adjustment layers, and layer 3 is a normal layer.

図12は、第2実施例の分類テーブルTBL2の一例を示す説明図である。第1実施例と比較して、16ビット対応の画像処理の実行先が、レイヤ1となったこと、8ビット対応で装飾以外の画像処理の実行先が、レイヤ2となったこと、8ビット対応で装飾に関わる画像処理の実行先が、レイヤ3となったことが相違する。また、「回転/反転」、「トリミング」は、第1実施例の分類テーブルTBL1では、最下層の区分に入っていたが、この第2実施例の分類テーブルTBL2では、最上層の区分に含まれている。   FIG. 12 is an explanatory diagram illustrating an example of the classification table TBL2 of the second embodiment. Compared to the first embodiment, the execution destination of image processing corresponding to 16 bits is layer 1, the execution destination of image processing other than decoration corresponding to 8 bits is layer 2, and 8 bits. Correspondingly, the execution destination of the image processing related to decoration is layer 3 is different. Further, “rotation / inversion” and “trimming” are included in the lowermost layer in the classification table TBL1 of the first embodiment, but are included in the uppermost layer in the classification table TBL2 of the second embodiment. It is.

「回転/反転」、「トリミング」の画像処理を、最上層の区分に移行したのは次の理由による。「回転/反転」、「トリミング」の画像処理は、16ビットカラー対応のものであるが、8ビットカラー対応の区分に移行したとしても、画像内の情報劣化が少ないことから問題がないためである。また、両画像処理は、一般的には調整レイヤにはなじまない。調整レイヤは、色補正等を行なうことを主目的としており、「回転/反転」、「トリミング」は通常のレイヤで行ないたい。こうした要求から、この実施例では、「回転/反転」、「トリミング」の画像処理の実行先を、通常のレイヤであるレイヤ3とした。なお、この実施例の変形例として、調整レイヤでも「回転/反転」、「トリミング」の両画像処理が実行可能な構成として、両画像処理の実行先をレイヤ1に換える構成としてもよい。   The reason why the image processing of “rotation / inversion” and “trimming” is shifted to the uppermost layer is as follows. Image processing for “rotate / invert” and “trimming” is compatible with 16-bit color, but there is no problem because there is little information deterioration in the image even if the processing is shifted to 8-bit color. is there. In addition, both image processes are generally not compatible with the adjustment layer. The main purpose of the adjustment layer is to perform color correction and the like, and “rotation / inversion” and “trimming” are desired to be performed in a normal layer. In view of such a requirement, in this embodiment, the execution destination of the image processing of “rotation / inversion” and “trimming” is set to layer 3 which is a normal layer. As a modification of this embodiment, the adjustment layer may be configured to execute both “rotation / inversion” and “trimming” image processing, and the execution destination of both image processing may be changed to layer 1.

また、この第2実施例では、形成されるレイヤの数を3としたことから、CPU30により実行される修整処理において、ステップ310で、レイヤ1、レイヤ2、レイヤ3を形成するようにして、ステップ392では、入力画像データDpiに対してレイヤ1、レイヤ2、レイヤ3を重ね合わせて合成画像データとしての修整済画像データDpoを作成する処理を行なうように変更する必要がある。   In the second embodiment, since the number of layers to be formed is 3, in the modification process executed by the CPU 30, in step 310, layer 1, layer 2, and layer 3 are formed. In step 392, it is necessary to change the input image data Dpi so that layer 1, layer 2, and layer 3 are superimposed on each other to create modified image data Dpo as composite image data.

以上のように構成されたこの第2実施例では、アイコンIC1〜IC10のクリックにより特定された種類の画像処理が、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」である場合には、調整レイヤで、最下層のレイヤであるレイヤ1に対してその画像処理が実行される。その特定された種類の画像処理が、「アンシャープマスク」、「クロスフィルタ」である場合には、レイヤ2に対してその画像処理が実行される。その特定された種類の画像処理が、「回転/反転」、「トリミング」、「文字入れ」、「クリップアート貼り付け」である場合には、レイヤ3に対してその画像処理が実行される。   In the second embodiment configured as described above, the types of image processing specified by clicking the icons IC1 to IC10 are "exposure correction", "contrast adjustment", "saturation adjustment", and "histogram correction". In the case of, the image processing is executed on the adjustment layer with respect to layer 1, which is the lowest layer. If the specified type of image processing is “unsharp mask” or “cross filter”, the image processing is executed for layer 2. When the specified type of image processing is “rotation / inversion”, “trimming”, “text insertion”, or “clip art pasting”, the image processing is executed on the layer 3.

すなわち、第2実施例では、16ビットカラー対応の画像処理は、3枚のレイヤのうちの最下層のレイヤに対して実行され、8ビットカラー対応の画像処理は、3枚のレイヤのうちの最下層以外のレイヤであるレイヤ2、レイヤ3に対して実行される。このために、16ビットカラーに対応した画像処理が先にまとめて実行されて、その後、8ビットカラー対応の画像処理が実行される。したがって、一旦8ビットカラーに落ちた画像データを用いて、16ビットカラーに対応した画像処理が実行されることがないことから、16ビットカラーに対応した各画像処理は、いずれも本来の性能を発揮したものとなる。この結果、レタッチ作業における画質の低下を防止することができるという効果を奏する。   That is, in the second embodiment, 16-bit color image processing is performed on the lowest layer among the three layers, and 8-bit color image processing is performed on the three layers. It is executed for layers 2 and 3 which are layers other than the lowest layer. For this reason, the image processing corresponding to 16-bit color is executed together first, and then the image processing corresponding to 8-bit color is executed. Accordingly, since image processing corresponding to 16-bit color is not executed using image data once reduced to 8-bit color, each image processing corresponding to 16-bit color has its original performance. It will be the one that demonstrates it. As a result, it is possible to prevent the image quality from being deteriorated in the retouching operation.

また、この実施例では、同じ8ビットカラー対応の画像処理でも、新たな画像を乗せる装飾に関する種類の画像処理用であるレイヤ3と、その装飾に関する種類以外の画像処理用であるレイヤ2とに実行先が区別されている。装飾に関する種類の画像処理は、下に位置する入力画像データの少なくとも一部分を隠すことになり、その後、他の画像処理を行なった場合、その効果は入力画像データDpiに対して及ばない可能性がある。この実施例によれば、下層である第2レイヤで先に上記装飾に関する種類以外の画像処理が実行されることから、これら画像処理の効果が、装飾に関する種類の画像処理によって損ねられることがない。   Further, in this embodiment, even in the same 8-bit color image processing, layer 3 for image processing of a type related to a new image and layer 2 for image processing other than the type of decoration are used. The execution destination is distinguished. The type of image processing related to decoration will hide at least a part of the input image data located below, and if other image processing is performed thereafter, the effect may not be applied to the input image data Dpi. is there. According to this embodiment, since image processing other than the type related to decoration is first executed in the second layer, which is the lower layer, the effect of these image processing is not impaired by the type of image processing related to decoration. .

なお、この第2実施例の変形例としては、レイヤを2枚形成する構成として、8ビットカラー対応画像処理の実行先を、全てレイヤ2とすることもできる。   As a modification of the second embodiment, it is also possible to use all layers as the execution destination of the 8-bit color compatible image processing as a configuration in which two layers are formed.

(III)他の実施形態:
なお、この発明は上記の実施例や変形例に限られるものではなく、本発明の要旨を逸脱しない範囲において種々なる態様にて実施することが可能であり、例えば次のような変形も可能である。
(III) Other embodiments:
The present invention is not limited to the above-described embodiments and modifications, and can be carried out in various modes without departing from the gist of the present invention. For example, the following modifications are possible. is there.

(1)前記実施例では、修整処理として、「回転/反転」、「トリミング」、「露出補正」、「コントラスト調整」、「彩度調整」、「ヒストグラム補正」、「アンシャープマスク」、「クロスフィルタ」、「文字入れ」が含まれるものとされていたが、これに換えて、他の種類の画像処理を追加したり、上記画像処理の中からいくつかを除いたりすることができる。他の種類の画像処理としては、例えば、「色合い・ホワイトバランス調整」、「トーンカーブ調整」、「周辺光量減光補正」、「モザイク、エンボス処理」、「照明効果」等がある。「色合い・ホワイトバランス調整」、「トーンカーブ調整」、「周辺光量減光補正」は、16ビットカラー対応であり、「モザイク、エンボス処理」、「照明効果」は、8ビットカラー対応で、且つ装飾に関する種類以外の画像処理である。8ビットカラー対応で、且つ装飾に関する種類の他の画像処理(例えば、写真合成)ももちろん追加することができる。 (1) In the above embodiment, the correction processing includes “rotation / inversion”, “trimming”, “exposure correction”, “contrast adjustment”, “saturation adjustment”, “histogram correction”, “unsharp mask”, “ “Cross filter” and “character insertion” are included, but instead, other types of image processing can be added, or some of the image processing can be removed. Other types of image processing include, for example, “color tone / white balance adjustment”, “tone curve adjustment”, “peripheral light amount attenuation correction”, “mosaic / emboss processing”, “lighting effect”, and the like. “Tint / white balance adjustment”, “tone curve adjustment”, “peripheral light intensity dimming correction” are 16-bit color compatible, “mosaic / embossing”, “lighting effect” are 8-bit color compatible, and This is image processing other than the type related to decoration. Of course, other image processing (for example, photo compositing) that is compatible with 8-bit color and that is related to decoration can be added.

(2)前記第1実施例、第2実施例では、画像処理は、8ビットカラー対応のものと16ビットカラー対応のものであったが、例えば、8ビットカラー対応、16ビットカラー対応、24ビットカラー対応というように3以上のビット数のカラー対応とすることもできる。この場合の具体的な実施態様としては、レイヤを3枚、レイヤ1、レイヤ2、レイヤ3の順序で下から上に向かう順序で形成して、24ビットカラー対応の画像処理は、入力画像データに対して、16ビットカラー対応の画像処理は、レイヤ1に対して、8ビットカラー対応の画像処理は、装飾関係か否かによってレイヤ3またはレイヤ2に対して、それぞれ実行する構成とすることができる。 (2) In the first and second embodiments, the image processing is compatible with 8-bit color and 16-bit color. For example, 8-bit color support, 16-bit color support, 24 It is also possible to support color with 3 or more bits, such as bit color support. As a specific embodiment in this case, three layers are formed in the order from bottom to top in the order of layer 1, layer 2, and layer 3, and image processing corresponding to 24-bit color is performed using input image data. On the other hand, image processing for 16-bit color is performed for layer 1 and image processing for 8-bit color is performed for layer 3 or layer 2 depending on whether or not there is a decoration relationship. Can do.

この構成によれば、24ビットカラー対応、16ビットカラー対応、8ビットカラー対応の順序で画像処理が実行されることになるから、一旦8ビットカラーに落ちた画像データを用いて、16ビットカラー、24ビットカラーに対応した画像処理が実行されたり、一旦16ビットカラーに落ちた画像データを用いて、24ビットカラーに対応した画像処理が実行されたりすることがないことから、16ビットカラー、24ビットカラーに対応した各画像処理は、いずれも本来の性能を発揮したものとなる。この結果、レタッチ作業における画質の低下を防止することができるという効果を奏する。   According to this configuration, image processing is executed in the order corresponding to 24-bit color, 16-bit color, and 8-bit color. Therefore, using the image data that has once fallen to 8-bit color, Since image processing corresponding to 24-bit color is not executed, or image processing corresponding to 24-bit color is not executed using image data once reduced to 16-bit color, Each image process corresponding to 24-bit color exhibits its original performance. As a result, it is possible to prevent the image quality from being deteriorated in the retouching operation.

(3)なお、上記(2)の実施形態の変形例として、8ビットカラー対応画像処理の実行先を、全てレイヤ2とすることもできる。この場合には、レイヤは2枚ですむ。 (3) It should be noted that, as a modification of the above embodiment (2), the execution destination of the 8-bit color compatible image processing can be all set to layer 2. In this case, two layers are sufficient.

(4)また、レイヤを4枚、レイヤ1、レイヤ2、レイヤ3、レイヤ4の順序で下から上に向かう順序で形成して、24ビットカラー対応の画像処理は、レイヤ1に対して、16ビットカラー対応の画像処理は、レイヤ2に対して、8ビットカラー対応の画像処理は、装飾関係か否かによってレイヤ4またはレイヤ3に対して、それぞれ実行する構成とすることができる。この構成によれば、24ビットカラー対応、16ビットカラー対応、8ビットカラー対応の順序で画像処理が実行されることになるから、上記(2)の実施形態の変形例と同様に、16ビットカラー、24ビットカラーに対応した各画像処理は、いずれも本来の性能を発揮したものとなる。この結果、同様にレタッチ作業における画質の低下を防止することができるという効果を奏する。 (4) Also, four layers are formed in the order from bottom to top in the order of layer 1, layer 2, layer 3, and layer 4, and 24-bit color compatible image processing is performed on layer 1 Image processing corresponding to 16-bit color can be executed for layer 2 and image processing corresponding to 8-bit color can be executed for layer 4 or layer 3 depending on whether or not there is a decorative relationship. According to this configuration, image processing is executed in the order corresponding to 24-bit color, 16-bit color, and 8-bit color. Therefore, as in the modification of the embodiment (2), 16-bit Each image processing corresponding to color and 24-bit color exhibits the original performance. As a result, it is possible to prevent the image quality from being lowered in the retouching operation.

(5)なお、上記(4)の実施形態の変形例として、8ビットカラー対応画像処理の実行先を、全てレイヤ3とすることもできる。この場合には、レイヤは3枚ですむ。 (5) As a modification of the above embodiment (4), the execution destination of 8-bit color compatible image processing can be all set to layer 3. In this case, three layers are sufficient.

(6)前記第1実施例、第2実施例では、入力画像データDpiは、デジタルカメラにより撮影したものとしたが、これに替えて、カラースキャナ等を用いて獲得した銀塩写真やカラーグラビア等の画像データであってもよい。また、HDD42等の記憶装置に予め用意したものであってもよい。あるいは、ネットワークを介して外部から取り込んだものであってもよい。また、必ずしもカラーの画像データである必要もなく、白黒の画像データに適用することもできる。 (6) In the first and second embodiments, the input image data Dpi was taken with a digital camera, but instead of this, a silver salt photograph or color gravure obtained using a color scanner or the like. Such image data may be used. Alternatively, it may be prepared in advance in a storage device such as the HDD 42. Or what was taken in from the outside via a network may be used. Further, it is not always necessary to use color image data, and can be applied to monochrome image data.

(7)また、入力画像データDpiは、「RAWモード」の保存形式で保存した16ビットカラーの画像データとしたが、これに換えて、8ビットカラーの画像データとすることもできる。16ビットカラー対応の画像処理の中には、入力画像が8ビットぶんの情報しかなくても、16ビット処理を生かした、より細かい値を出力するものがある。この場合、後処理で8ビットカラー対応の画像処理を実行させた時点で、この細かい値を失ってしまう。16ビットカラー対応の画像処理で生成した細かい値を生かすには、入力画像データが8ビットカラーのデータであっても、16ビットカラー対応の画像処理を先に行なう必要があり、本発明を適用可能である。 (7) Although the input image data Dpi is 16-bit color image data stored in the “RAW mode” storage format, it can be replaced with 8-bit color image data. Among 16-bit color image processing, there is an image processing that outputs a finer value using 16-bit processing even if the input image has only 8-bit information. In this case, this fine value is lost when image processing corresponding to 8-bit color is executed in post-processing. In order to make use of fine values generated by 16-bit color image processing, even if the input image data is 8-bit color data, it is necessary to perform image processing corresponding to 16-bit color first, and the present invention is applied. Is possible.

この発明の第1実施例を適用するコンピュータシステム10のハードウェアの概略構成を示すブロック図である。1 is a block diagram showing a schematic hardware configuration of a computer system 10 to which a first embodiment of the present invention is applied. コンピュータ本体16によって実行されるこのフォトレタッチソフトウェア50に従う制御処理の様子を示すブロック図である。It is a block diagram which shows the mode of the control processing according to this photo retouch software 50 performed by the computer main body 16. FIG. 前記制御処理のルーチンを示すフローチャートである。It is a flowchart which shows the routine of the said control process. アプリケーションウィンドウWDの初期状態を示す説明図である。It is explanatory drawing which shows the initial state of the application window WD. 修整処理のルーチンを示すフローチャートである。It is a flowchart which shows the routine of a correction process. 入力画像データDpiに対して形成される2枚のレイヤを概念的に示す説明図である。It is explanatory drawing which shows notionally two layers formed with respect to the input image data Dpi. 修整処理用のアプリケーションウィンドウWDを示す説明図である。It is explanatory drawing which shows the application window WD for a correction process. 「回転/反転」用のダイアログボックスDBX1の一例を示す説明図である。It is explanatory drawing which shows an example of dialog box DBX1 for "rotation / inversion." 「コントラスト」用のダイアログボックスDBX2の一例を示す説明図である。It is explanatory drawing which shows an example of dialog box DBX2 for "contrast." 分類テーブルTBL1の一例を示す説明図である。It is explanatory drawing which shows an example of classification table TBL1. 第2実施例において入力画像データDpiに対して形成される3枚のレイヤを概念的に示す説明図である。It is explanatory drawing which shows notionally three layers formed with respect to input image data Dpi in 2nd Example. 第2実施例の分類テーブルTBL2の一例を示す説明図である。It is explanatory drawing which shows an example of the classification table TBL2 of 2nd Example.

符号の説明Explanation of symbols

10...コンピュータシステム
12...CRTディスプレイ
13...プリンタ
14...デジタルカメラ
16...コンピュータ本体
18...キーボード
20...マウス
30...CPU
31...ROM
32...RAM
33...表示画像メモリ
34...マウスインタフェース
35...キーボードインタフェース
36...CDC
37...HDC
38...CRTC
39...プリンタインタフェース
40...入出力機用インタフェース
41...I/Oポート
44...モデム
46...公衆電話回線
47...サーバ
50...フォトレタッチソフトウェア
51...入力モジュール
52...修整モジュール
52a...レイヤ形成部
52b...画像処理指定部
52c...階調ビット数判定部
52d...第1画像処理実行部
52e...第2画像処理実行部
52f...合成部
53...印刷モジュール
54...出力モジュール
60...ディスプレイドライバ
62...プリンタドライバ
BR1...メニューバー
BR2...ツールバー
BT1〜BT4...ボタン
Dpi...入力画像データ
Dpo...修整済画像データ
FDW...作業フィールド
IC1〜IC10...アイコン
MN...処理メニュー欄
TBL1...分類テーブル
WD...アプリケーションウィンドウ
DBX1、DBX2...ダイアログボックス
SB...スライダーバー
TBL1、TBL2...分類テーブル
10 ... Computer system 12 ... CRT display 13 ... Printer 14 ... Digital camera 16 ... Computer body 18 ... Keyboard 20 ... Mouse 30 ... CPU
31 ... ROM
32 ... RAM
33 ... Display image memory 34 ... Mouse interface 35 ... Keyboard interface 36 ... CDC
37 ... HDC
38 ... CRTC
39 ... Printer interface 40 ... I / O interface 41 ... I / O port 44 ... Modem 46 ... Public telephone line 47 ... Server 50 ... Photo retouch software 51 .. Input module 52 ... Modification module 52a ... Layer formation unit 52b ... Image processing designation unit 52c ... Gradation bit number determination unit 52d ... First image processing execution unit 52e ... Second Image processing execution unit 52f ... Composition unit 53 ... Print module 54 ... Output module 60 ... Display driver 62 ... Printer driver BR1 ... Menu bar BR2 ... Tool bar BT1 to BT4 .. . Button Dpi ... input image data Dpo ... modified image data FDW ... work field IC1-IC10 ... icon MN ... processing menu column TBL1 ... classification table WD ... application window DBX , DBX2 ... dialog box SB ... slider bar TBL1, TBL2 ... classification table

Claims (4)

入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理装置において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
前記入力画像データに対して画像処理を反映させるためのレイヤを形成するレイヤ形成手段と、
作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する画像処理指定手段と、
前記画像処理指定手段により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する階調ビット数判定手段と、
該階調ビット数判定手段により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる第1画像処理実行手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる第2画像処理実行手段と、
前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する合成手段と
を備え
前記レイヤ形成手段は、重ね合わせにおける下から上に向かう順序で第1レイヤ、および第2レイヤを形成する構成であり、
前記第2画像処理実行手段は、
前記所定の画像処理が、新たな画像を乗せる装飾に関する種類のものであるか否かを判定する処理判定手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものでないと判定されたときには、前記第1レイヤに対して前記所定の画像処理を実行させる手段と、
前記階調ビット数判定手段により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記処理判定手段により、前記所定の画像処理が前記装飾に関する種類のものであると判定されたときには、前記第2レイヤに対して前記所定の画像処理を実行させる手段と
を備えることを特徴とする画像処理装置。
In the image processing apparatus that modifies the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
Layer forming means for forming a layer for reflecting image processing on the input image data;
Image processing designating means for receiving an operation command from an operator and designating predetermined image processing selected from the plurality of image processing for the input image data;
The number of gradation bits for determining whether the predetermined number of image data specified by the image processing specifying means handles the first number or the second number of image data as the number of bits of the gradation A determination means;
When it is determined by the gradation bit number determination means that the predetermined image processing is to handle the image data having the first number, the predetermined image processing is executed on the input image data. First image processing execution means;
A second for causing the layer to execute the predetermined image processing when it is determined by the gradation bit number determining means that the predetermined image processing is to handle the image data having the second number; Image processing execution means;
Combining means for superimposing the layer on the input image data to create composite image data ,
The layer forming means is configured to form the first layer and the second layer in the order from bottom to top in superposition,
The second image processing execution means includes
Processing determination means for determining whether or not the predetermined image processing is of a type relating to a decoration on which a new image is placed;
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. Means for executing the predetermined image processing on the first layer when it is determined that the first layer is not,
It is determined by the gradation bit number determining means that the predetermined image processing is to handle image data that is the second number, and the predetermined image processing is a type related to the decoration by the processing determining means. Means for causing the second layer to execute the predetermined image processing when it is determined that
The image processing apparatus according to claim Rukoto equipped with.
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なう画像処理方法において、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるためのレイヤを形成する行程と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する行程と、
(c)前記行程(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する行程と、
(d)該行程(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる行程と、
(e)前記行程(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる行程と、
(f)前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する行程と
を備え
前記行程(a)は、重ね合わせにおける下から上に向かう順序で第1レイヤ、および第2レイヤを形成する構成であり、
前記行程(e)は、
(e−1)前記所定の画像処理が、新たな画像を乗せる装飾に関する種類のものであるか否かを判定する行程と、
(e−2)前記行程(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記行程(e−1)により、前記所定の画像処理が前記装飾に関する種類のものでないと判定されたときには、前記第1レイヤに対して前記所定の画像処理を実行させる行程と、
(e−3)前記行程(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記行程(e−1)により、前記所定の画像処理が前記装飾に関する種類のものであると判定されたときには、前記第2レイヤに対して前記所定の画像処理を実行させる行程と
を備えることを特徴とする画像処理方法。
In the image processing method for correcting the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a step of forming a layer for reflecting image processing on the input image data;
(B) receiving a command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) a process in which the predetermined image processing specified in the process (b) determines which of the first number and the second number of image data the number of bits of the gradation is handled. When,
(D) When the predetermined image processing is determined to handle the first number of image data in the step (c), the predetermined image processing is executed on the input image data. The process of making
(E) a step of causing the layer to execute the predetermined image processing when the predetermined image processing is determined to handle the second number of image data in the step (c). When,
(F) a step of superimposing the layer on the input image data to create composite image data ;
The step (a) is a configuration in which the first layer and the second layer are formed in the order from bottom to top in superposition,
The step (e)
(E-1) a step of determining whether or not the predetermined image processing is of a type relating to a decoration on which a new image is placed;
(E-2) The predetermined image processing is determined to handle the second number of image data in the step (c), and the predetermined image is determined in the step (e-1). When it is determined that the processing is not of a type related to the decoration, a step of executing the predetermined image processing on the first layer;
(E-3) The predetermined image processing is determined to handle the second number of image data in the step (c), and the predetermined image is determined in the step (e-1). When it is determined that the processing is of a type related to the decoration, a step of executing the predetermined image processing on the second layer;
Image processing method according to claim Rukoto equipped with.
入力画像データに対して、予め用意した複数の画像処理の中から選択した2以上の画像処理を順次実行することによって、前記入力画像データの修整を行なうためのコンピュータプログラムであって、
前記複数の画像処理のそれぞれは、取り扱うことのできる画像データについての画素を表現する階調のビット数が、画像処理の種類によって第1の数または該第1の数よりも小さい第2の数を取りうるように構成されるとともに、
(a)前記入力画像データに対して画像処理を反映させるためのレイヤを形成する機能と、
(b)作業者からの操作指令を受けて、前記入力画像データに対して前記複数の画像処理から選択された所定の画像処理を指定する機能と、
(c)前記機能(b)により指定された所定の画像処理が、前記階調のビット数が前記第1の数および第2の数のいずれの画像データを取り扱うものであるかを判定する機能と、
(d)該機能(c)により前記所定の画像処理が前記第1の数である画像データを取り扱うものであると判定されたときに、前記入力画像データに対して前記所定の画像処理を実行させる機能と、
(e)前記機能(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定されたときに、前記レイヤに対して前記所定の画像処理を実行させる機能と、
(f)前記入力画像データに対して前記レイヤを重ね合わせて合成画像データを作成する機能と
をコンピュータに実現させ
前記機能(a)は、重ね合わせにおける下から上に向かう順序で第1レイヤ、および第2レイヤを形成する構成であり、
前記機能(e)は、
(e−1)前記所定の画像処理が、新たな画像を乗せる装飾に関する種類のものであるか否かを判定する機能と、
(e−2)前記機能(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記機能(e−1)により、前記所定の画像処理が前記装飾に関する種類のものでないと判定されたときには、前記第1レイヤに対して前記所定の画像処理を実行させる機能と、
(e−3)前記機能(c)により前記所定の画像処理が前記第2の数である画像データを取り扱うものであると判定され、且つ、前記機能(e−1)により、前記所定の画像処理が前記装飾に関する種類のものであると判定されたときには、前記第2レイヤに対して前記所定の画像処理を実行させる機能と
をコンピュータに実現させることを特徴とする画像処理方法。
るためのコンピュータプログラム。
A computer program for modifying the input image data by sequentially executing two or more image processes selected from a plurality of image processes prepared in advance for the input image data,
Each of the plurality of image processes is a first number or a second number smaller than the first number, depending on the type of image processing, in which the number of gradation bits representing pixels of image data that can be handled It is configured to be able to take
(A) a function of forming a layer for reflecting image processing on the input image data;
(B) a function of receiving an operation command from an operator and designating a predetermined image process selected from the plurality of image processes for the input image data;
(C) The function of determining whether the predetermined number of image data specified by the function (b) is to handle the first number or the second number of image data as the number of bits of the gradation. When,
(D) When it is determined by the function (c) that the predetermined image processing is to handle the first number of image data, the predetermined image processing is executed on the input image data. Function
(E) A function of causing the layer to execute the predetermined image processing when it is determined by the function (c) that the predetermined image processing handles the second number of image data. When,
(F) causing a computer to realize a function of superimposing the layer on the input image data to create composite image data ;
The function (a) is a configuration that forms the first layer and the second layer in the order from bottom to top in the superposition,
The function (e) is
(E-1) a function for determining whether or not the predetermined image processing is of a type relating to decoration on which a new image is placed;
(E-2) It is determined that the predetermined image processing handles the second number of image data by the function (c), and the predetermined image is processed by the function (e-1). A function for causing the first layer to execute the predetermined image processing when it is determined that the processing is not of a type related to the decoration;
(E-3) It is determined by the function (c) that the predetermined image processing handles the second number of image data, and the predetermined image is processed by the function (e-1). A function for causing the second layer to execute the predetermined image processing when it is determined that the processing is of a type related to the decoration;
Image processing method according to claim Rukoto is realized on the computer.
Computer program for.
請求項に記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。 The computer-readable recording medium which recorded the computer program of Claim 3 .
JP2004017000A 2004-01-13 2004-01-26 Image processing apparatus, image processing method, and computer program Expired - Fee Related JP4457677B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004017000A JP4457677B2 (en) 2004-01-26 2004-01-26 Image processing apparatus, image processing method, and computer program
US11/034,087 US20050219578A1 (en) 2004-01-13 2005-01-11 Image processing apparatus, image processing method, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004017000A JP4457677B2 (en) 2004-01-26 2004-01-26 Image processing apparatus, image processing method, and computer program

Publications (2)

Publication Number Publication Date
JP2005209080A JP2005209080A (en) 2005-08-04
JP4457677B2 true JP4457677B2 (en) 2010-04-28

Family

ID=34901979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004017000A Expired - Fee Related JP4457677B2 (en) 2004-01-13 2004-01-26 Image processing apparatus, image processing method, and computer program

Country Status (1)

Country Link
JP (1) JP4457677B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6250110B2 (en) * 2016-07-19 2017-12-20 キヤノン株式会社 Information processing apparatus, method and program thereof
CN112945205B (en) * 2021-01-27 2022-09-23 西北核技术研究所 Ultrafast multi-frame two-dimensional image detection method and device

Also Published As

Publication number Publication date
JP2005209080A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
US20050264833A1 (en) Image retouching apparatus, corresponding image retouching method, and computer program product for image retouching
JP4882626B2 (en) Image processing apparatus, image forming apparatus, and program
JP7192496B2 (en) Image processing device and image processing program
US7738732B2 (en) Image processing apparatus, and control method and program of the same
JP2006252515A (en) Setting management apparatus, setting management method and setting management program
US20050219578A1 (en) Image processing apparatus, image processing method, and computer program product
JP4457677B2 (en) Image processing apparatus, image processing method, and computer program
JP4360237B2 (en) Image modifying device, image modifying method, and computer program
JP4609329B2 (en) Thumbnail display of image data
JP4946541B2 (en) Color conversion processing program, color conversion processing device, and image forming system
JP4692102B2 (en) Specify image area
JP4321275B2 (en) Image processing apparatus, image processing method, and computer program
JP4946370B2 (en) Image processing apparatus, image forming apparatus, and program
CN1791172A (en) Printing system, camera and controlling method thereof, image processing method
JP3656570B2 (en) Apparatus, method and computer program for performing image processing
JP4608867B2 (en) Image processing device
JP4396330B2 (en) Image modifying device, image modifying method, and computer program
JP4045820B2 (en) Image correction apparatus and method, and computer program
JP2005202448A (en) Image processor, image processing method and computer program
JP4356484B2 (en) Image modifying device, image modifying method, and computer program
JP4039240B2 (en) Image color correction apparatus and method, and computer program
JP2005258541A (en) Image retouching device, image retouching method and computer program
JP2004310383A (en) Image composition processing method, device and system
JP4150925B2 (en) Image processing method and apparatus, and printer
JP2004013339A (en) Method, device and computer program for image retouching

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100119

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100201

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees