JP3460927B2 - Image conversion method and recording medium - Google Patents

Image conversion method and recording medium

Info

Publication number
JP3460927B2
JP3460927B2 JP15852797A JP15852797A JP3460927B2 JP 3460927 B2 JP3460927 B2 JP 3460927B2 JP 15852797 A JP15852797 A JP 15852797A JP 15852797 A JP15852797 A JP 15852797A JP 3460927 B2 JP3460927 B2 JP 3460927B2
Authority
JP
Japan
Prior art keywords
image
data
highlight
candidate
negative
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
JP15852797A
Other languages
Japanese (ja)
Other versions
JPH117528A (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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP15852797A priority Critical patent/JP3460927B2/en
Priority to US09/094,723 priority patent/US6069981A/en
Publication of JPH117528A publication Critical patent/JPH117528A/en
Application granted granted Critical
Publication of JP3460927B2 publication Critical patent/JP3460927B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、ネガフィルムの
ネガ画像をスキャナで読み取ってポジ画像の印刷物を作
成する場合等、ネガフィルムをもとにした各種画像処理
を実行するために必要となるネガ画像からポジ画像への
画像変換方法と、これをコンピュータにおいて実行する
ためのプログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a negative film necessary for executing various image processes based on a negative film, such as a case where a negative image on a negative film is read by a scanner to produce a printed product of a positive image. The present invention relates to an image conversion method from an image to a positive image, and a recording medium recording a program for executing this in a computer.

【0002】[0002]

【従来の技術】ポジフィルムは、直接見てその内容を認
識でき、スキャナ等の画像入力機器によってレッド(以
下、「R」)、グリーン(以下、「G」)及びブルー
(以下、「B」)の3色に色分解した画像データを得た
後に、この画像データに対応する画像をモニター等に再
現して表示することも簡単である。
2. Description of the Related Art A positive film can directly recognize its contents and can be recognized by an image input device such as a scanner such as red (hereinafter "R"), green (hereinafter "G") and blue (hereinafter "B"). It is also easy to reproduce and display an image corresponding to this image data on a monitor or the like after obtaining the image data which is color-separated into three colors.

【0003】これに対して、ネガフィルムは、撮影され
た対象(被写体)のネガ画像を何らかの方法でポジ画像
に反転しなくては内容を理解することができない。この
ようなネガ画像からポジ画像への画像反転方法の適・不
適によって、得られるポジ画像の品質は大きな影響を与
えることになるものと考えられるが、このような画像反
転を電子化した画像処理によって行う画像反転方法につ
いて具体的に開示した文献は存在しない。
On the other hand, the contents of the negative film cannot be understood unless the negative image of the photographed object (subject) is inverted into a positive image by some method. It is considered that the quality of the obtained positive image has a great influence depending on whether the image inversion method from the negative image to the positive image is suitable or not. There is no document that specifically discloses the image inversion method performed by the method.

【0004】[0004]

【発明が解決しようとする課題】上記のような画像反転
方法として、例えば、スキャナでネガフィルムをRGB
の3色に色分解してネガ画像の画像データを読み取った
後、電気的信号処理によって、反転前のネガ画像におけ
る各色毎のハイライトポイント及びシャドウポイントを
反転後のポジ画像における各色毎の現実のハイライトポ
イント及びシャドウポイントにそれぞれ対応させるよう
な明暗反転の強度換算を行うことが考えられる。ここ
で、ネガ画像において、ハイライトポイントとは、反転
後のポジ画像中で最も明るく表現したい点を意味し、シ
ャドウポイントとは、反転後のポジ画像中で最も暗く表
現したい点を意味する。
As an image reversing method as described above, for example, a negative film is scanned with RGB in a scanner.
After reading the image data of the negative image after color separation into three colors, the highlight point and the shadow point of each color in the negative image before inversion are processed by electrical signal processing, and the reality of each color in the positive image after inversion. It is conceivable to carry out the intensity conversion of the light-dark reversal so as to correspond to the highlight point and the shadow point, respectively. Here, in the negative image, the highlight point means the point that is desired to be expressed brightest in the inverted positive image, and the shadow point means the point that is desired to be expressed darkest in the inverted positive image.

【0005】上記の強度換算をより具体化して説明する
と、ネガ画像から得た画像データの各色毎の最小値がポ
ジ画像の画像データの各色毎の最大値にそれぞれ変換さ
れ、ネガ画像から得た画像データの各色毎の最大値がポ
ジ画像の画像データの各色毎の最小値にそれぞれ変換さ
れるように一次関数の強度変換式を求め、この強度変換
式をネガ画像の各画素データに適用するデータ変換を実
行することによって、ネガ画像を適宜反転したポジ画像
を得ることができる。
More specifically, the above-mentioned intensity conversion will be described in more detail. The minimum value of each color of the image data obtained from the negative image is converted into the maximum value of each color of the image data of the positive image and obtained from the negative image. Obtain the intensity conversion formula of the linear function so that the maximum value for each color of the image data is converted to the minimum value for each color of the image data of the positive image, and apply this intensity conversion formula to each pixel data of the negative image. By performing the data conversion, it is possible to obtain a positive image by appropriately inverting the negative image.

【0006】しかし、上記ような方法では、反転前にお
けるネガ画像の各色毎についてのハイライトポイントを
合成したものが比較的鮮やかな有彩色となっている場
合、その色に関して均等な反転が行われず、被写体に近
いポジ画像を得ることができないという問題がある。
However, in the above-mentioned method, when a combination of highlight points for each color of a negative image before inversion has a relatively vivid chromatic color, even inversion is not performed for that color. However, there is a problem that a positive image close to the subject cannot be obtained.

【0007】そこで、この発明は、様々な色分布を有す
るネガ画像について、各色毎に均等な反転を行うことが
でき、被写体に近いポジ画像を得ることができる画像変
換方法及びかかる方法を実行するためのプログラムを記
録した記録媒体を提供することを目的とする。
Therefore, the present invention executes an image conversion method and a method such that a negative image having various color distributions can be uniformly inverted for each color and a positive image close to an object can be obtained. It is an object of the present invention to provide a recording medium in which a program for recording is recorded.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するた
め、請求項1の画像変換方法は、ネガフィルムのネガ画
像の画像データを対応するポジ画像の画像データに変換
する画像変換方法であって、ネガ画像上の各画素を色分
解した第1から第3の色に関する強度値の総和が略最小
となる画素の画素データを第1ハイライトデータ候補と
する工程と、ネガ画像の画像データを第1から第3の色
に対応する第1から第3のプレーンの画像データに分離
して各プレーン毎に最小値を求めてこれらの組合せを第
2ハイライトデータ候補とする工程と、第1ハイライト
データ候補が、ネガフィルムと同一銘柄のネガフィルム
について予め求めてあるグレー軸と所定以上に近接して
いるか否かを判断する工程と、第1ハイライトデータ候
補が、グレー軸と所定以上に近接している場合、第1ハ
イライトデータ候補をハイライトデータとし、第1ハイ
ライトデータ候補が、グレー軸と所定以上に近接してい
ない場合、第2ハイライトデータ候補が、グレー軸と所
定以上に近接しているか否かを判断する工程と、第2ハ
イライトデータ候補が、グレー軸と所定以上に近接して
いる場合、第2ハイライトデータ候補をハイライトデー
タとし、第2ハイライトデータ候補が、グレー軸と所定
以上に近接していない場合、ネガフィルムと同一銘柄の
ネガフィルムを用いて予め標準露光のもとに撮影された
白色の被写体の画像の画像データをハイライトデータと
する工程と、ハイライトデータに基づいてネガ画像の画
像データをポジ画像の画像データに変換する工程とを有
することを特徴とする。
In order to solve the above problems, the image conversion method of claim 1 is an image conversion method for converting image data of a negative image on a negative film into corresponding positive image data. , A step of setting pixel data of pixels in which the sum of intensity values of first to third colors obtained by color-separating each pixel on the negative image is substantially the minimum as first highlight data candidates, and image data of the negative image Separating the image data of the first to third planes corresponding to the first to third colors, obtaining the minimum value for each plane, and making these combinations the second highlight data candidate; A step of determining whether or not the highlight data candidate is closer than a predetermined value to a gray axis previously obtained for a negative film of the same brand as the negative film; If the first highlight data candidate is not close to the gray axis by a predetermined amount or more, the second highlight data candidate is the gray axis. And a step of determining whether or not the second highlight data candidate is close to the gray axis by a predetermined amount or more, the second highlight data candidate is set as the highlight data, and If the highlight data candidate is not close to the gray axis by more than a predetermined amount, highlight the image data of the image of the white subject that was previously shot under standard exposure using the negative film of the same brand as the negative film. It is characterized by including a step of making data and a step of converting image data of a negative image into image data of a positive image based on highlight data.

【0009】また、請求項2の画像変換方法は、第1及
び第2ハイライトデータ候補が、グレー軸と所定以上に
近接していない場合、ネガフィルムと同一銘柄のネガフ
ィルムを用いて予め標準露光のもとに撮影された黒色の
被写体の画像の画像データをシャドウデータとし、ハイ
ライトデータ及びシャドウデータに基づいてネガ画像の
画像データをポジ画像の画像データに変換することを特
徴とする。
Further, in the image conversion method of claim 2, when the first and second highlight data candidates are not close to the gray axis by more than a predetermined value, a negative film of the same brand as the negative film is used as a standard. It is characterized in that image data of an image of a black subject photographed under exposure is used as shadow data, and image data of a negative image is converted into image data of a positive image based on highlight data and shadow data.

【0010】また、請求項3の画像変換方法は、第1ハ
イライトデータ候補がグレー軸と所定以上に近接してい
るか否かを、第1ハイライトデータ候補のうちの第1の
色に関する強度値と、第1ハイライトデータ候補のうち
の第2及び第3の色に関する強度値との組合わせによっ
てグレー軸上の点になるよう定めた第1の色に関する一
対の強度期待値と、のうちの最大値と最小値の相違が所
定の上限値以下であるか否かに基づいて判断することを
特徴とする請求項1記載の画像変換方法。
The image conversion method according to the third aspect of the present invention determines whether or not the first highlight data candidate is close to the gray axis by a predetermined amount or more, and determines whether the intensity of the first highlight data candidate is for the first color. And a pair of expected intensity values for the first color determined to be points on the gray axis by the combination of the value and the intensity values for the second and third colors of the first highlight data candidates. The image conversion method according to claim 1, wherein the determination is performed based on whether the difference between the maximum value and the minimum value is less than or equal to a predetermined upper limit value.

【0011】また、請求項4の画像変換方法は、第2ハ
イライトデータ候補がグレー軸と所定以上に近接してい
るか否かを、第2ハイライトデータ候補のうちの第1の
色に関する強度値と、第2ハイライトデータ候補のうち
の第2及び第3の色に関する強度値との組合わせによっ
てグレー軸上の点になるよう定めた第1の色に関する一
対の強度期待値と、のうちの最大値と最小値の相違が所
定の上限値以下であるか否かに基づいて判断することを
特徴とする。
The image conversion method according to a fourth aspect of the present invention determines whether or not the second highlight data candidate is close to the gray axis by a predetermined amount or more, and determines whether the second highlight data candidate is the intensity of the first color of the second highlight data candidate. And a pair of expected intensity values for the first color determined to be points on the gray axis by the combination of the value and the intensity values for the second and third colors of the second highlight data candidates. It is characterized in that the judgment is made based on whether or not the difference between the maximum value and the minimum value is less than or equal to a predetermined upper limit value.

【0012】また、請求項5の記録媒体は、コンピュー
タによってネガフィルムのネガ画像の画像データを対応
するポジ画像の画像データに変換するためのプログラム
を記録した記録媒体であって、ネガ画像上の各画素を色
分解した第1から第3の色に関する強度値の総和が略最
小となる画素の画素データを第1ハイライトデータ候補
とする機能と、ネガ画像の画像データを第1から第3の
色に対応する第1から第3のプレーンの画像データに分
離して各プレーン毎に最小値を求めてこれらの組合せを
第2ハイライトデータ候補とする機能と、第1ハイライ
トデータ候補が、ネガフィルムと同一銘柄のネガフィル
ムについて予め求めてあるグレー軸と所定以上に近接し
ているか否かを判断する機能と、第1ハイライトデータ
候補が、グレー軸と所定以上に近接している場合、第1
ハイライトデータ候補をハイライトデータとし、第1ハ
イライトデータ候補が、グレー軸と所定以上に近接して
いない場合、第2ハイライトデータ候補が、グレー軸と
所定以上に近接しているか否かを判断する機能と、第2
ハイライトデータ候補が、グレー軸と所定以上に近接し
ている場合、第2ハイライトデータ候補をハイライトデ
ータとし、第2ハイライトデータ候補が、グレー軸と所
定以上に近接していない場合、ネガフィルムと同一銘柄
のネガフィルムを用いて予め標準露光のもとに撮影され
た白色の被写体の画像の画像データをハイライトデータ
とする機能と、ハイライトデータに基づいてネガ画像の
画像データをポジ画像の画像データに変換する機能とを
実現させるプログラムを記録したことを特徴とする。
A recording medium according to a fifth aspect is a recording medium recording a program for converting image data of a negative image on a negative film into image data of a corresponding positive image by a computer. The function of using the pixel data of pixels for which the sum of the intensity values of the first to third colors obtained by color-separating each pixel as the minimum is the first highlight data candidate, and the image data of the negative image The first highlight data candidate has a function of separating the image data of the first to third planes corresponding to the colors of the planes, obtaining the minimum value for each plane, and setting these combinations as the second highlight data candidates. , A function of determining whether or not a negative film of the same brand as the negative film is closer than a predetermined gray axis to a predetermined value, and the first highlight data candidate is the gray axis. If it closes above a predetermined, first
If the highlight data candidate is the highlight data, and the first highlight data candidate is not close to the gray axis by a predetermined amount or more, whether the second highlight data candidate is close to the gray axis by a predetermined amount or more. Second and the function to judge
When the highlight data candidate is close to the gray axis by a predetermined amount or more, the second highlight data candidate is set as highlight data, and when the second highlight data candidate is not close to the gray axis by a predetermined amount or more, Using the negative film of the same brand as the negative film, the function to use the image data of the image of the white subject that was previously shot under standard exposure as highlight data, and the image data of the negative image based on the highlight data. A program for realizing a function of converting a positive image into image data is recorded.

【0013】また、請求項6の記録媒体は、第1及び第
2ハイライトデータ候補が、グレー軸と所定以上に近接
していない場合、ネガフィルムと同一銘柄のネガフィル
ムを用いて予め標準露光のもとに撮影された黒色の被写
体の画像の画像データをシャドウデータとし、ハイライ
トデータ及びシャドウデータに基づいてネガ画像の画像
データをポジ画像の画像データに変換する機能を実現さ
せるプログラムを記録したことを特徴とする。
Further, according to the recording medium of claim 6, when the first and second highlight data candidates are not close to the gray axis by a predetermined amount or more, standard exposure is performed in advance by using a negative film of the same brand as the negative film. The image data of the black subject image taken under the condition of the shadow data is used as the shadow data, and the program for realizing the function of converting the image data of the negative image into the image data of the positive image based on the highlight data and the shadow data is recorded. It is characterized by having done.

【0014】[0014]

【発明の実施の形態】図1は、この発明の一実施形態に
係る画像変換方法を実行するための画像処理装置の構成
を示す概略図である。
1 is a schematic diagram showing the configuration of an image processing apparatus for executing an image conversion method according to an embodiment of the present invention.

【0015】同図に示すように、この画像処理装置10
0は、ネガフィルムに撮影されたネガ画像を読み取って
電子化された画像データに変換する画像入力部10と、
画像入力部10からの画像データを必要に応じて保管す
る画像保持部20と、画像保持部20に保管された画像
データを適宜分析する画像分析部30と、画像分析部3
0における分析結果等を保持する情報保持部40と、画
像分析部30からの指示及び情報に基づいて画像保持部
20に保管されたネガ画像の画像データに一定の処理を
施してポジ画像の画像データに変換する画像変換部50
と、画像変換部50で得たポジ画像の画像データを可視
的なポジ画像として出力する画像出力部60とを備え
る。
As shown in FIG. 1, the image processing apparatus 10
Reference numeral 0 denotes an image input unit 10 for reading a negative image photographed on a negative film and converting the image into electronic image data.
An image holding unit 20 that stores the image data from the image input unit 10 as necessary, an image analysis unit 30 that appropriately analyzes the image data stored in the image holding unit 20, and an image analysis unit 3
Image information of the positive image by performing a certain process on the image data of the negative image stored in the image storage unit 20 based on the instruction and information from the image analysis unit 30 Image conversion unit 50 for converting to data
And an image output unit 60 that outputs the image data of the positive image obtained by the image conversion unit 50 as a visible positive image.

【0016】画像入力部10は、スキャナ等の画像読取
り装置を備え、ネガフィルムに記録されたネガ画像をR
GBの3色に色分解し、それぞれの強度をデジタル信号
化した画像データとして出力する。
The image input section 10 is provided with an image reading device such as a scanner, and the negative image recorded on the negative film is read.
The color is separated into three colors of GB, and the respective intensities are output as digital signal image data.

【0017】画像保持部20は、画像データ用のメモリ
を備え、画像入力部10から出力された複数の画像デー
タを一時的または恒常的に保管することができ、一定の
呼出命令に応じて保管した画像データを画像分析部30
や画像変換部50に適宜送り出すことができる。
The image holding unit 20 has a memory for image data, and can temporarily or permanently store a plurality of image data output from the image input unit 10, and stores the image data according to a certain calling command. The image data obtained by the image analysis unit 30
And can be appropriately sent to the image conversion unit 50.

【0018】画像分析部30は、演算処理装置等を備
え、画像保持部20に蓄えられた画像データを必要に応
じて随時読み出し、この画像データを分析するため、こ
の画像データに必要な演算処理や統計処理等を施す。具
体的には、第1に、反転処理の対象となっているネガ画
像の画像データが予めネガフィルムの銘柄毎に求めてあ
るグレー軸からどのくらい外れているか(言い換えれば
どの程度の色味を帯びているか)を判定する。ここで、
グレー軸とは、十分に明るい白から十分に暗い黒までを
含む連続的または段階的に変化するグレー(無彩色)か
らなるグレースケールが撮影されたネガフィルムを現像
後に画像入力部10で画像データとして読み取った場合
のRGBの強度値の集合を意味する。第2に、画像分析
部30は、与えられた任意の1色(例えばR)の強度値
と組み合わせることによってグレー軸上の点(無彩色に
対応する画像データ)となる他の色(G,B)の強度期
待値を求める処理を行う。第3に、画像分析部30は、
反転処理の対象となっているネガ画像の画像データに基
づいて、このネガ画像上のハイライトポイント(以下、
「HP」)やシャドウポイント(以下、「SP」)を求
める。
The image analysis unit 30 is provided with an arithmetic processing unit or the like, reads out the image data stored in the image holding unit 20 as needed, and analyzes the image data. Therefore, the arithmetic processing required for this image data is performed. And statistical processing. Specifically, firstly, how much the image data of the negative image to be reversed is off the gray axis that is obtained in advance for each brand of negative film (in other words, how much color tint Yes) is determined. here,
The gray axis means the image data in the image input unit 10 after development of a negative film on which a grayscale film, which is formed of a gray (achromatic color) that continuously or gradually changes from sufficiently bright white to sufficiently dark black, is developed. Means a set of RGB intensity values when read as. Secondly, the image analysis unit 30 combines another given color (G, R) with another intensity (G, The process of obtaining the intensity expected value of B) is performed. Thirdly, the image analysis unit 30
Based on the image data of the negative image that is the target of the inversion process, highlight points (hereinafter,
“HP”) and shadow points (hereinafter “SP”) are calculated.

【0019】情報保持部40は、各種データを保存する
ためのメモリを備え、画像分析部30における分析処理
に必要な情報や処理結果を保管する。例えば、ネガフィ
ルムの銘柄毎に求めたグレー軸自体を参照のために記憶
したり、特定の画素におけるRの強度値と組み合わせる
ことによってグレー軸上の点を与えるG,Bの強度期待
値を求める際に必要となる変換式等を記憶する。
The information storage unit 40 has a memory for storing various data, and stores information necessary for analysis processing in the image analysis unit 30 and processing results. For example, the gray axis itself obtained for each brand of negative film is stored for reference, or the expected strength values of G and B giving points on the gray axis are obtained by combining with the intensity value of R at a specific pixel. The conversion formula and the like required at that time are stored.

【0020】画像変換部50は、演算処理装置等を備
え、画像分析部30からのネガ画像上のHPやSPに関
する情報に基づいて、画像保持部20から読み出したネ
ガ画像の画像データを、これを構成するRGBの各強度
値毎に数値変換し、ネガ画像の画像データを適当なコン
トラストを有するポジ画像の画像データに変換する。
The image conversion unit 50 is provided with an arithmetic processing unit and the like, and based on the information on the HP and SP on the negative image from the image analysis unit 30, the image data of the negative image read from the image holding unit 20 Numerical conversion is performed for each intensity value of R, G, and B constituting the image data, and the image data of the negative image is converted into image data of a positive image having an appropriate contrast.

【0021】画像出力部60は、カラー画像用のプリン
タやディスプレイを備えており、画像変換部50から出
力されたポジタイプの画像データを実際のカラー印刷物
等として出力する。
The image output unit 60 is equipped with a printer and a display for color images, and outputs the positive type image data output from the image conversion unit 50 as an actual color printed matter or the like.

【0022】なお、以上説明した画像処理装置100
は、CPU、ROM、RAM、磁気ディスク等の本体部
分のほか、スキャナ、プリンタ等の周辺機器を備える1
台の一般的なコンピュータシステムにおいて、内部のC
PU等が以下に詳述する画像変換プログラムを実行する
ことによって実現される装置である。
The image processing apparatus 100 described above is used.
Includes a CPU, a ROM, a RAM, a magnetic disk, and other main body parts, as well as peripheral devices such as a scanner and a printer.
Internal C in a single computer system
A device such as a PU realized by executing an image conversion program described in detail below.

【0023】図2及び図3は、図1に示す画像処理装置
100の動作を含む一連の画像処理手順を概念的に説明
するフローチャートであり、図2は、グレー軸に関する
RGB相互間の変換式を求める手順を示し、図3は、ネ
ガ画像の画像データをポジ画像の画像データに変換する
手順を示す。
2 and 3 are flow charts for conceptually explaining a series of image processing procedures including the operation of the image processing apparatus 100 shown in FIG. 1. FIG. 2 is a conversion formula between RGB for the gray axis. FIG. 3 shows the procedure for converting the image data of the negative image into the image data of the positive image.

【0024】まず、ステップS11で、必要な特定銘柄の
ネガフィルムでグレースケールを撮影し、このネガフィ
ルムを現像する。具体的には、その銘柄で指定されてい
る標準タイプの照明光によってグレースケールを照明
し、照明下のグレースケールをその銘柄で指定されてい
る標準露光量を含む露光範囲で撮影し、撮影後のネガフ
ィルムをその銘柄で指定されている標準のプロセスで現
像する。
First, in step S11, a gray scale is photographed with a negative film of a required specific brand, and this negative film is developed. Specifically, the grayscale is illuminated with the standard type of illumination light specified by the brand, and the grayscale under illumination is photographed in the exposure range that includes the standard exposure amount specified by the brand, and after photography. Of negative film is developed according to the standard process specified by the brand.

【0025】次に、ステップS12で、ステップS11で得
た現像後のネガフィルムの画像を画像入力部10で読み
取り、読み取った画像を画像データとして画像保持部2
0に保存する。具体的には、グレースケールを撮影・現
像した後のネガフィルムに形成された画像を、画像入力
部10において、RGBに色分解したデジタル強度信号
からなる画像データとして読み取って、ネガフィルム上
に撮影された最も明るい白から最も暗い黒に至るグレー
軸がどのようなRGBの強度値(以下、「RGB値」)
をとるかを段階的に求める。
Next, in step S12, the image of the negative film after development obtained in step S11 is read by the image input section 10, and the read image is used as image data in the image holding section 2
Save to 0. Specifically, the image formed on the negative film after the grayscale is photographed and developed is read by the image input unit 10 as image data composed of digital intensity signals color-separated into RGB and photographed on the negative film. What is the RGB intensity value (hereinafter, “RGB value”) along the gray axis from the brightest white to the darkest black
Ask stepwise whether to take.

【0026】次に、ステップS13で、ステップS12で得
たグレー軸のRGB値に基づいて、RGB値相互間の変
換式を求める。例えばRの強度値(以下、「R値」)と
の組み合わせによってグレー軸上の点となるG,Bの強
度期待値を求める変換式や、G,Bの強度値(以下、
「G値」,「B値」)との組み合わせによってグレー軸
上の点となるRの強度期待値を求める変換式等を決定し
て情報保持部40に保管する。
Next, in step S13, a conversion formula between RGB values is obtained based on the RGB values of the gray axis obtained in step S12. For example, a conversion formula for obtaining expected intensity values of G and B, which are points on the gray axis, in combination with an intensity value of R (hereinafter, “R value”), intensity values of G and B (hereinafter,
A conversion formula or the like for obtaining the expected intensity value of R, which is a point on the gray axis, is determined by a combination with the “G value” and the “B value”) and stored in the information holding unit 40.

【0027】図4は、特定銘柄のネガフィルムに所定の
測定を行ってグレー軸を求めるプロセスを具体的に説明
するためのグラフである。このグラフにおいて、横軸
は、基準となるR値を示し、縦軸は、RGB値を示す。
ここで、RGB値は、8bitで量子化されて読み取ら
れており、理論上0〜255の範囲の整数値をとる。
FIG. 4 is a graph for specifically explaining the process of performing a predetermined measurement on a negative film of a specific brand to obtain the gray axis. In this graph, the horizontal axis represents the reference R value and the vertical axis represents the RGB value.
Here, the RGB values are quantized and read with 8 bits, and theoretically take integer values in the range of 0 to 255.

【0028】グラフに示す測定結果を得る具体的な条件
は以下のようなものであった。対象となる銘柄のネガフ
ィルムに対して標準と指定された色温度の照明光(デー
ライトタイプの場合5000K程度)でグレースケール
を照明し、この銘柄のネガフィルムに対して標準と指定
された露光量およびそれに対してオーバー及びアンダー
の状態でグレースケールを撮影し、露光後のネガフィル
ムを指定されたプロセスで現像した。次に、画像入力部
10によって上記ネガフィルムに記録された画像をRG
Bの3色に色分解し、それぞれの強度値をデジタル化し
た画像データを得る。画像分析部30は、この画像デー
タから適当な明度間隔でサンプリングを行って、ネガフ
ィルム上に撮影された最も明るい白から最も暗い黒に至
るグレー軸がどのようなRGB値をとるかを段階的に求
め、結果を情報保持部40に保存する。
The specific conditions for obtaining the measurement results shown in the graph were as follows. An exposure light designated as standard for the negative film of this brand is made by illuminating a gray scale with illumination light of a color temperature designated as standard for the target brand negative film (about 5000 K for the daylight type). Grayscales were photographed in quantity and over and under it, and the exposed negative film was developed in a designated process. Next, the image recorded on the negative film by the image input unit 10 is RG
Image data is obtained by performing color separation into three colors of B and digitizing each intensity value. The image analysis unit 30 samples from this image data at an appropriate lightness interval to stepwise determine what RGB value the gray axis from the brightest white to the darkest black photographed on the negative film has. Then, the result is stored in the information holding unit 40.

【0029】画像分析部30は、上記グラフに示す実測
のRGB値に基づいて、必要な変換式を求めるが、G,
Bの任意の強度値IG,IBからグレー軸上の点に対応す
るRの強度期待値IR’,IR”を求めるグレー変換式
は、 IR’=1.250IG+12.5…(1), IR”=1.429IB+56…(2) となる。なお、上記係数の決定に際しては、最小2乗法
を用いた直線近似を行っている。
The image analysis unit 30 obtains a necessary conversion formula based on the actually measured RGB values shown in the above graph.
The gray conversion formula for obtaining the intensity expected values IR ′, IR ″ of R corresponding to the points on the gray axis from arbitrary intensity values IG, IB of B is IR ′ = 1.250IG + 12.5 ... (1), IR ″ = 1.429IB + 56 (2) In determining the coefficient, linear approximation using the least square method is performed.

【0030】また、Rの任意の強度値IRからグレー軸
上の点に対応するG,Bの強度期待値IG’,IB’を求
めるグレー変換式は、 IG’=0.8IR−10…(3), IB’=0.7IR−39…(4) となった。なお、露光オーバー(すなわちIR≦10
4)の状態では、IRとIBの関係が上記(2)式及び(4)式
から大きく外れているので、これを2次曲線で近似する
と、IR>50,IB>13の範囲では、 IR”=50+((IB−13)/0.0072)1/2…(5), IB’=0.0072(IR−50)2+13…(6) となる。
The gray conversion formula for obtaining the expected intensity values IG 'and IB' of G and B corresponding to points on the gray axis from arbitrary intensity value IR of R is IG '= 0.8IR-10 ... ( 3), IB '= 0.7IR-39 ... (4). Note that overexposure (that is, IR ≦ 10
In the state of 4), the relation between IR and IB is largely deviated from the above equations (2) and (4). Therefore, if this is approximated by a quadratic curve, in the range of IR> 50, IB> 13, “= 50 + ((IB−13) /0.0072) 1/2 (5), IB ′ = 0.0072 (IR−50) 2 +13 (6)

【0031】図3に戻って、図2で準備したグレー軸に
関するデータに基づいてネガ画像の画像データをポジ画
像の画像データに変換する手順を説明する。
Returning to FIG. 3, the procedure for converting the image data of the negative image into the image data of the positive image based on the data about the gray axis prepared in FIG. 2 will be described.

【0032】まず、ステップS21で、反転処理の対象と
なるネガフィルムを準備し、このネガフィルムのネガ画
像を画像入力部10で読み取って、画像保持部20に画
像データとして保存する。なお、読取りの対象となるネ
ガフィルムは、原則としてその銘柄で指定されている標
準照明下で被写体を撮影し、その銘柄で指定された標準
プロセスで現像したものとする。
First, in step S21, a negative film to be reversed is prepared, the negative image of the negative film is read by the image input section 10 and stored in the image holding section 20 as image data. As a general rule, the negative film to be read shall be one in which the subject was photographed under the standard illumination specified by the brand and developed by the standard process specified by the brand.

【0033】次に、ステップS22で、画像分析部30
が、ステップS21で得たネガ画像の画像データからネガ
画像上のHPとして適する一対の候補(第1HP候補、
第2HP候補)を求める。
Next, in step S22, the image analysis unit 30
From the image data of the negative image obtained in step S21, a pair of candidates suitable for the HP on the negative image (first HP candidate,
The second HP candidate) is obtained.

【0034】具体的には、まず、反転処理の対象である
ネガフィルムのネガ画像上の画素からRGB値の和が略
最小となるものを求めてこの画像データを第1HP候補
に対応する第1ハイライトデータ候補(以下、「第1H
D候補」)として記憶し、次に、ネガ画像の各色プレー
ン毎に画素データの最小値を求めてその一組のRGB値
を第2HP候補に対応する第2ハイライトデータ候補
(以下、「第2HD候補」)として記憶する。
Specifically, first, from the pixels on the negative image of the negative film which is the object of the inversion process, the one in which the sum of the RGB values is substantially minimum is obtained, and this image data is assigned to the first HP candidate. Highlight data candidates (hereinafter referred to as “first H
D candidate ”), and then obtains the minimum value of the pixel data for each color plane of the negative image and sets the set of RGB values to the second highlight data candidate (hereinafter, referred to as“ second candidate ”). 2HD candidate ”).

【0035】第1HP候補を求める際には、各RGB値
の和が完全に最小となる画素でなく、多少のゆとりを持
たせて、各RGB値の和が最小に近い複数の画素を第1
HP候補としている。これは、RGB値の和が最小の画
素で第1HP候補を求めると、その第1HP候補はフイ
ルム上の微細なキズやゴミなど、本来HPとして不適当
な画素に該当する場合があるので、そのような悪影響を
避けるために、RGB値の和が最小を示す画素から0.
5%程度は無視し、次に小さい0.5%程度範囲内にお
ける画素のRGB値の平均を第1HD候補とし、この第
1HD候補がハイライトデータとして適するか否かを判
断することで実際上良い結果を得ることができる。
When obtaining the first HP candidate, a plurality of pixels in which the sum of the RGB values is close to the minimum are first provided with some allowance, instead of the pixel in which the sum of the RGB values is completely the minimum.
It is a candidate for HP. This is because when the first HP candidate is obtained with a pixel having the smallest sum of RGB values, the first HP candidate may correspond to a pixel originally unsuitable as HP, such as fine scratches or dust on the film. In order to avoid such an adverse effect, the pixel having the smallest sum of RGB values is displayed as 0.
By ignoring about 5%, the average of the RGB values of the pixels within the next smaller range of about 0.5% is set as the first HD candidate, and it is actually judged whether or not this first HD candidate is suitable as highlight data. You can get good results.

【0036】次に、ステップS23で、画像分析部30
が、上記ステップS22で求めた第1HP候補のRGB値
(すなわち、第1HD候補)について、これがグレー軸
に近いか否かを判定する。
Next, in step S23, the image analysis unit 30
However, it is determined whether or not the RGB value of the first HP candidate (that is, the first HD candidate) obtained in step S22 is close to the gray axis.

【0037】グレー軸に近いか否かを判定するには、図
2のステップS11〜S13で求めたグレー変換式(具体的
には、上記(1)式及び(2)式)を用いる。つまり、上記ス
テップS22で求めた第1HP候補の強度値IG,IBを
(1)式及び(2)式に代入する。そして、得られた強度期待
値IR’,IR”と実際の強度値IRとの中から最大値と
最小値とを求め、例えばそれらの比が1からずれている
程度に応じて、HP候補のRGB値がグレー軸にある程
度近接してグレーとみなせるか、グレー軸から離れてあ
る程度色味を帯びている(鮮やかな有彩色)とみなせる
かを判定する。
To determine whether or not it is close to the gray axis, the gray conversion formulas (specifically, formulas (1) and (2) above) obtained in steps S11 to S13 of FIG. 2 are used. That is, the strength values IG and IB of the first HP candidate obtained in step S22 are
Substitute in equations (1) and (2). Then, the maximum value and the minimum value are obtained from the obtained intensity expected values IR ′, IR ″ and the actual intensity value IR, and, for example, according to the degree to which the ratio thereof deviates from 1, the HP candidate It is determined whether the RGB values can be regarded as gray, which is close to the gray axis to some extent, or whether the RGB values are apart from the gray axis and can be regarded as having a tint (vivid chromatic color).

【0038】ステップS23において第1HP候補のRG
B値(すなわち、第1HD候補)が略グレー軸上にある
と判断された場合、ステップS25に進み、ステップS23
において第1HP候補のRGB値がグレー軸から離れて
いると判断された場合、ステップS24に進む。
RG of the first HP candidate in step S23
When it is determined that the B value (that is, the first HD candidate) is on the substantially gray axis, the process proceeds to step S25 and step S23.
When it is determined that the RGB value of the first HP candidate is far from the gray axis in, the process proceeds to step S24.

【0039】ステップS24では、画像分析部30が、上
記ステップS22で求めた第2HP候補のRGB値(すな
わち、第2HD候補)について、これがグレー軸に近い
か否かを判定する。グレー軸に近いか否かを判定するに
は、ステップS23と同様の方法を用いる。つまり、この
第2HP候補の強度値IG,IBを前述の(1)式及び(2)式
に代入する。そして、得られた強度期待値IR’,IR”
と実際の強度値IRとの中から最大値と最小値とを求
め、それらの比が1からずれているか否かを判定する。
In step S24, the image analysis unit 30 determines whether or not the RGB value of the second HP candidate (that is, the second HD candidate) obtained in step S22 is close to the gray axis. The same method as in step S23 is used to determine whether it is close to the gray axis. That is, the intensity values IG and IB of the second HP candidate are substituted into the above-mentioned equations (1) and (2). Then, the obtained strength expected values IR ′, IR ″
And the actual intensity value IR, the maximum value and the minimum value are obtained, and it is determined whether or not the ratio thereof deviates from 1.

【0040】ステップS24において第2HP候補のRG
B値(すなわち、第2HD候補)が略グレー軸上にある
と判断された場合、ステップS27に進み、ステップS24
において第2HP候補のRGB値がグレー軸から離れて
いると判断された場合、ステップS25に進む。
RG of the second HP candidate in step S24
When it is determined that the B value (that is, the second HD candidate) is on the substantially gray axis, the process proceeds to step S27 and step S24.
When it is determined that the RGB value of the second HP candidate is away from the gray axis in, the process proceeds to step S25.

【0041】ステップS25では、ステップS22で求めた
第1または第2HP候補を適切なものとしてそのままH
Pとし、対応する第1または第2HD候補をハイライト
データとして情報保持部40に保存する。
In step S25, the first or second HP candidate obtained in step S22 is set to H as it is as appropriate.
P, and the corresponding first or second HD candidate is stored in the information holding unit 40 as highlight data.

【0042】次に、ステップS26で、画像分析部30
が、ステップS21で得たネガ画像の画像データからネガ
画像上のSPを求める。
Next, in step S26, the image analysis unit 30
, The SP on the negative image is obtained from the image data of the negative image obtained in step S21.

【0043】具体的には、まず、反転処理の対象である
ネガフィルムのネガ画像上で各RGB値の和が略最大と
なる画素、すなわちシャドウポイント候補(以下、「S
P候補」)を求め、このSP候補がグレー軸に近いか否
かを判定する。グレー軸に近いか否かを判定するには、
ステップS23と同様の方法を用いる。つまり、ステップ
S21で得た画像データからネガ画像を構成する各画素の
RGB値を抽出し、この画素データを構成するRGB値
の和が略最大となるSP候補を求める。次に、このSP
候補の強度値IG,IBを前述の(1)式及び(2)式に代入す
る。そして、得られた強度期待値IR’,IR”と実際の
強度値IRとの中から最大値と最小値とを求め、それら
の比が1からずれているか否かを判定する。
Specifically, first, a pixel having a maximum sum of RGB values on a negative image of a negative film which is the object of the inversion processing, that is, a shadow point candidate (hereinafter, referred to as "S").
P candidate ”), and it is determined whether or not this SP candidate is close to the gray axis. To determine if it is close to the gray axis,
The same method as in step S23 is used. That is, the RGB value of each pixel forming the negative image is extracted from the image data obtained in step S21, and the SP candidate in which the sum of the RGB values forming the pixel data is substantially maximum is obtained. Next, this SP
The candidate intensity values IG and IB are substituted into the above equations (1) and (2). Then, the maximum value and the minimum value are obtained from the obtained intensity expected values IR ′, IR ″ and the actual intensity value IR, and it is determined whether or not the ratio thereof deviates from 1.

【0044】SP候補がグレー軸に近接している場合、
このSP候補をそのままSPとして採用し、そのRGB
値をシャドウデータとして情報保持部40に保存する。
一方、SP候補がグレー軸から離れている場合、ネガ画
像のRGBの各色プレーン毎に画素データの最大値を求
め、その1組のRGB値(各プレーン毎のSP)に対し
て、上記と同様の方法で、グレー軸に近いか否かを判定
し、各プレーン毎に求めたSPを合成したものがグレー
軸に近ければ、このRGB値の組み合わせをネガ画像の
シャドウデータとして情報保持部40に保存する。
If the SP candidate is close to the gray axis,
This SP candidate is directly adopted as an SP and its RGB
The value is stored in the information holding unit 40 as shadow data.
On the other hand, when the SP candidate is far from the gray axis, the maximum value of the pixel data is obtained for each RGB color plane of the negative image, and the same set of RGB values (SP for each plane) is the same as above. Method, it is determined whether or not it is close to the gray axis, and if the combination of SPs obtained for each plane is close to the gray axis, this combination of RGB values is stored in the information storage unit 40 as shadow data of the negative image. save.

【0045】一方、ステップS27では、ステップS22で
求めた第1及び第2HP候補を不適切なものとして、図
2のグレー変換式を求める際に撮影したグレースケール
の白色領域及び黒色領域に対応する画像のRGB値から
仮想的なハイライトデータ及びシャドウデータを求め、
これらを仮想的HP及びSPとして情報保持部40に保
存する。具体的に説明すると、図2のステップS11にお
いて標準露光のもとでグレースケールを撮影するが、こ
のグレースケールを撮影して標準のプロセスで現像して
得たネガフィルムの画像のうち、グレースケール中で最
も明るい白色領域と最も暗い黒色領域とのそれぞれに対
応する2組のRGB値から、被写体の性質に依存せず、
無彩色を表す明暗2組の画像データを得ることができる
ものと考えられる。このような明暗2組の画像データを
それぞれ仮想的なハイライトデータ及びシャドウデータ
として採用し、情報保持部40に保存するものとする。
On the other hand, in step S27, the first and second HP candidates obtained in step S22 are regarded as inappropriate and correspond to the white and black regions of the gray scale photographed when obtaining the gray conversion formula of FIG. Obtain virtual highlight data and shadow data from the RGB values of the image,
These are stored in the information holding unit 40 as virtual HP and SP. More specifically, in step S11 of FIG. 2, a gray scale is photographed under standard exposure. Of the negative film images obtained by photographing this gray scale and developing it in a standard process, the gray scale From the two sets of RGB values corresponding to the brightest white area and the darkest black area, respectively, regardless of the nature of the subject,
It is considered that two sets of light and dark image data representing an achromatic color can be obtained. It is assumed that such two sets of bright and dark image data are respectively adopted as virtual highlight data and shadow data, and are stored in the information holding unit 40.

【0046】最後に、ステップS28で、画像分析部30
が、反転処理前のネガ画像のハイライトデータが反転処
理前のポジ画像の画像データの最大値に変換されかつネ
ガ画像のシャドウデータがポジ画像の画像データの最小
値にそれぞれ変換されるように、各色毎に一次関数の強
度変換式を求め、画像変換部50が、この強度変換式を
ネガ画像の各画素データに対して適用するデータ変換を
実行し、画像出力部60が、かかるデータ変換によって
得たポジ画像を印刷する。
Finally, in step S28, the image analysis unit 30
However, the highlight data of the negative image before the inversion processing is converted to the maximum value of the image data of the positive image before the inversion processing, and the shadow data of the negative image is converted to the minimum value of the image data of the positive image, respectively. , An intensity conversion formula of a linear function is obtained for each color, the image conversion unit 50 performs data conversion that applies this intensity conversion formula to each pixel data of the negative image, and the image output unit 60 performs the data conversion. Print the positive image obtained by.

【0047】以下、HP,SPの決定やネガ・ポジ反転
の具体例を説明する。被写体が赤と黄の2色の色面で構
成されているものとする。この場合、赤い色面のネガ画
像のRGB値は、例えば(98,149,99)で与え
られ、黄の色面のネガ画像のRGB値は、例えば(9
3,79,96)で与えられる。
Specific examples of HP and SP determination and negative / positive inversion will be described below. It is assumed that the subject is composed of two color planes, red and yellow. In this case, the RGB value of the negative image of the red color plane is given by, for example, (98,149,99), and the RGB value of the negative image of the yellow color plane is, for example, (9
3, 79, 96).

【0048】ここで、第1HD候補は、図3のステップ
S22における説明からも明らかなように、黄面に対応し
たものとして IR(REP)=93,IG(REP)=79,IB(R
EP)=96 となる。なお、赤い色面のRGB値の和は、346であ
り、黄の色面のRGB値の和は、268であり、このう
ち最小値を示す黄の色面がネガフィルム上の第1HP候
補として選択されている。
Here, the first HD candidate is IR (REP) = 93, IG (REP) = 79, IB (R as the one corresponding to the yellow surface, as is clear from the explanation in step S22 of FIG.
EP) = 96. The sum of RGB values of the red color surface is 346, and the sum of RGB values of the yellow color surface is 268. Of these, the yellow color surface showing the minimum value is the first HP candidate on the negative film. It is selected.

【0049】一方、第2HD候補は、図3のステップS
22における説明からも明らかなように、各色プレーンに
対応して IR(Min)=93,IG(Min)=79,IB(M
in)=96 となり、第1HD候補と一致する。
On the other hand, the second HD candidate is the step S in FIG.
As is clear from the explanation in 22, IR (Min) = 93, IG (Min) = 79, IB (M
in) = 96, which matches the first HD candidate.

【0050】次に、図3のステップS23,S24で説明し
たように、第1及び第2HD候補がグレー軸に近いか否
かを判断する。ここで、IR=IR(REP)=IR(M
in)=93であり、(1)式及び(5)式において、 IG=IG(REP)=IG(Min)=79, IB=IB(REP)=IB(Min)=96 として、Rに関する強度期待値 IR’=1.25×79+12.5=111, IR”=50+((96−13)/0.0072)1/2
157 を得る。これらの強度値IR及び強度期待値IR’,I
R”のうち、最大のものと最小のものと比は、157/
93=1.69である。これは、グレー軸から遠いと判
定され、このHP候補は使用しない。なお、グレー軸に
近いと判断されるのは、このようにして求めた比が1.
0〜1.2程度の範囲にあるものである。
Next, as described in steps S23 and S24 of FIG. 3, it is determined whether the first and second HD candidates are close to the gray axis. Here, IR = IR (REP) = IR (M
in) = 93, and in equations (1) and (5), IG = IG (REP) = IG (Min) = 79, IB = IB (REP) = IB (Min) = 96 Expected value IR ′ = 1.25 × 79 + 12.5 = 111, IR ″ = 50 + ((96-13) /0.0072) 1/2 =
I get 157. These intensity values IR and expected intensity values IR ', I
The ratio of the largest and smallest of R ”is 157 /
93 = 1.69. This is determined to be far from the gray axis and this HP candidate is not used. It should be noted that the ratio determined in this way is 1. When the ratio is 1.
It is in the range of about 0 to 1.2.

【0051】次に、図3のステップS27で説明したよう
に、グレースケールの白色領域及び黒色領域に対応する
画像のRGB値から仮想的なハイライトデータ及びシャ
ドウデータを求める。例えば、白色領域の画像のRGB
値は、(216,163,110)で与えられ、黒色領
域の画像のRGB値は、(104,72,31)で与え
られる。
Next, as described in step S27 in FIG. 3, virtual highlight data and shadow data are obtained from the RGB values of the image corresponding to the white and black areas of the gray scale. For example, the RGB of the image in the white area
The value is given by (216, 163, 110), and the RGB value of the image in the black area is given by (104, 72, 31).

【0052】以上のように、グレースケールの白色領域
及び黒色領域に対応する画像のRGB値を利用すれば、
変換処理後のポジ画像上のHPをRGB値ともに245
とし、そのSPのRGB値をともに20とするという条
件の下に、Rに関するネガからポジへの一次変換式 IRp=454−(225/(216−104))×IR…(7) Gに関するネガからポジへの一次変換式 IGp=480−(225/(163−72))×IG…(8) Bに関するネガからポジへの一次変換式 IBp=342−(225/(110−31))×IB…(9) を得る。なお、上記IRp,IGp,IBpは、それぞれ反転
処理後のポジ画像上のRGB値を意味する。
As described above, if the RGB values of the image corresponding to the grayscale white area and the black area are used,
HP on the positive image after the conversion processing is set to 245 with RGB values.
Under the condition that both the RGB values of the SP are 20, both the negative-to-positive linear conversion formula IRp = 454- (225 / (216-104)) × IR ... (7) To positive conversion IGp = 480− (225 / (163−72)) × IG ... (8) Negative-to-positive primary conversion equation IBp = 342− (225 / (110-31)) × B IB ... (9) is obtained. The above IRp, IGp, and IBp mean RGB values on the positive image after the inversion processing, respectively.

【0053】上記の(7)式、(8)式及び(9)式に、ネガ画
像上で赤い色面がとっていたRGB値(98,149,
99)を代入すれば、IRp=258,IGp=58,IBp
=51という値が得られ、ポジ画像上に適正な赤色が再
現され、上記の(7)式、(8)式及び(9)式に、ネガ画像上
で黄の色面がとっていたRGB値(93,79,96)
を代入すれば、IRp=268,IGp=229,IBp=5
9という値が得られ、ポジ画像上に適正な黄色が再現さ
れることがわかる。なお、上記実施例では、赤い色面に
ついてIRp=258となっており、黄の色面についてI
Rp=268となっているが、これらはそれぞれ正規化さ
れ、ともに255として使用される。
In the above equations (7), (8) and (9), the RGB values (98, 149,
99), IRp = 258, IGp = 58, IBp
A value of = 51 is obtained, an appropriate red color is reproduced on the positive image, and the RGB color that the yellow color surface on the negative image is taken in the above formulas (7), (8), and (9). Value (93, 79, 96)
If is substituted, IRp = 268, IGp = 229, IBp = 5
A value of 9 is obtained, which shows that a proper yellow color is reproduced on the positive image. In the above embodiment, IRp = 258 for the red color surface and Ip for the yellow color surface.
Although Rp = 268, these are normalized and used as 255 together.

【0054】参考のため、ネガ画像のRGBの各プレー
ン毎に最小値及び最大値を求め、これら2組のRGB値
を、グレー軸を参照することなく、そのままHP,SP
とする方法を採用した場合のネガ・ポジ反転の例につい
て説明する。上記実施例と同様の被写体(赤、黄の2色
の色面)において、ネガ画像上のHPの強度値は、各プ
レーンに対応して IR(Min)=93,IG(Min)=79,IB(M
in)=96 となり、ネガ画像上のSPの強度値は、前述の値をその
まま利用して IR(Max)=98,IG(Max)=149,IB
(Max)=99 となる。なお、ポジ画像上のHPは、RGBともに24
5とし、ポジ画像上のSPはRGBともに20とする。
For reference, the minimum value and the maximum value are obtained for each RGB plane of the negative image, and these two sets of RGB values are directly used for HP and SP without referring to the gray axis.
An example of negative / positive reversal in the case of adopting the method will be described. For the same subject (color planes of two colors, red and yellow) as in the above embodiment, the HP intensity values on the negative image have IR (Min) = 93, IG (Min) = 79, corresponding to each plane. IB (M
in) = 96, and the SP intensity value on the negative image is IR (Max) = 98, IG (Max) = 149, IB using the above-mentioned values as they are.
(Max) = 99. The HP on the positive image is 24 for both RGB.
5, the SP on the positive image is 20 for both RGB.

【0055】以上の条件から、Rに関するネガからポジ
への一次変換式 IRp=4430−45IR…(10) Gに関するネガからポジへの一次変換式 IGp=488−3.142IG…(11) Bに関するネガからポジへの一次変換式 IBp=7445−75IB…(12) を得る。
From the above conditions, the negative-to-positive linear conversion equation IRp = 4430-45IR ... (10) for R is related to the negative-to-positive linear transformation expression IGp = 488-3.142IG ... (11) for B. The primary conversion formula IBp = 7445-75IB ... (12) from negative to positive is obtained.

【0056】上の各式に、ネガ画像上の赤い色面のRG
B値(98,149,99)を代入すれば、ポジ画像上
のRGB値は、(20,20,20)となり、赤色では
なく黒色が再現されることがわかる。また、上の各式
に、ネガ画像上の黄の色面のRGB値(93,79,9
6)を代入すれば、ポジ画像上のRGB値は、(24
5,245,245)となり、黄色ではなく白色が再現
されることがわかる。
RG of the red color surface on the negative image
By substituting the B value (98,149,99), the RGB value on the positive image becomes (20,20,20), and it can be seen that black is reproduced instead of red. In addition, in each of the above equations, the RGB values (93, 79, 9) of the yellow color surface on the negative image are added.
If 6) is substituted, the RGB value on the positive image becomes (24
5,245,245), which shows that white is reproduced instead of yellow.

【0057】[0057]

【発明の効果】以上の説明から明らかなように、請求項
1の方法によれば、色分解して得た強度値の総和が略最
小となる画素の画素データを第1ハイライトデータ候補
とする工程と、ネガ画像の画像データを第1から第3の
色に対応する第1から第3のプレーンの画像データに分
離して各プレーン毎に最小値を求め、これらの組合せを
第2ハイライトデータ候補とする工程と、第1ハイライ
トデータ候補が、ネガフィルムと同一銘柄のネガフィル
ムについて予め求めてあるグレー軸と所定以上に近接し
ているか否かを判断する工程と、第1ハイライトデータ
候補が、グレー軸と所定以上に近接している場合、第1
ハイライトデータ候補をハイライトデータとし、第1ハ
イライトデータ候補が、グレー軸と所定以上に近接して
いない場合、第2ハイライトデータ候補が、グレー軸と
所定以上に近接しているか否かを判断する工程と、第2
ハイライトデータ候補が、グレー軸と所定以上に近接し
ている場合、第2ハイライトデータ候補をハイライトデ
ータとし、第2ハイライトデータ候補が、グレー軸と所
定以上に近接していない場合、ネガフィルムと同一銘柄
のネガフィルムを用いて予め標準露光のもとに撮影され
た白色の被写体の画像の画像データをハイライトデータ
とする工程と、ハイライトデータに基づいてネガ画像の
画像データをポジ画像の画像データに変換する工程とを
有するので、第1及び第2ハイライトデータ候補のいず
れかが略無彩色であるとき(つまり、いずれかのハイラ
イトデータ候補が適切であるとき)には、これらのいず
れかをそのままハイライトデータとして採用してネガ画
像からポジ画像への略適正な反転を行うことができ、第
1及び第2ハイライトデータ候補のいずれもががある程
度鮮やかな有彩色であるとき(つまり、両ハイライトデ
ータ候補が不適切であるとき)には、白色の被写体につ
いて予め求めてある標準的なハイライトデータを用いて
ネガ画像からポジ画像への略適正な反転を行うことがで
きる。つまり、様々な色分布及び強度分布を有するネガ
画像に対して適切な反転を行って被写体に近いポジ画像
を得ることができる。
As is apparent from the above description, according to the method of claim 1, the pixel data of the pixel for which the total sum of the intensity values obtained by color separation is substantially the minimum is set as the first highlight data candidate. And the step of separating the image data of the negative image into the image data of the first to third planes corresponding to the first to third colors, obtaining the minimum value for each plane, and combining these combinations into the second high A step of making it a light data candidate, a step of judging whether or not the first highlight data candidate is close to a gray axis which is obtained in advance for a negative film of the same brand as the negative film by a predetermined amount or more; If the light data candidate is close to the gray axis by a predetermined amount or more, the first
If the highlight data candidate is the highlight data, and the first highlight data candidate is not close to the gray axis by a predetermined amount or more, whether the second highlight data candidate is close to the gray axis by a predetermined amount or more. And the second step of determining
When the highlight data candidate is close to the gray axis by a predetermined amount or more, the second highlight data candidate is set as highlight data, and when the second highlight data candidate is not close to the gray axis by a predetermined amount or more, Using the negative film of the same brand as the negative film, the process of using the image data of the image of the white subject that was previously shot under standard exposure as highlight data, and the image data of the negative image based on the highlight data. When any one of the first and second highlight data candidates has a substantially achromatic color (that is, when any one of the highlight data candidates is appropriate), it has a step of converting the image data into a positive image. Employs any one of these as highlight data as it is, and can perform substantially proper inversion from a negative image to a positive image. If all of the data candidates are chromatic colors that are bright to some extent (that is, both highlight data candidates are inappropriate), use the standard highlight data that has been obtained in advance for the white subject. Substantially proper reversal from a negative image to a positive image can be performed. That is, it is possible to obtain a positive image close to a subject by appropriately performing inversion on a negative image having various color distributions and intensity distributions.

【0058】また、請求項2の方法によれば、第1及び
第2ハイライトデータ候補が、グレー軸と所定以上に近
接していない場合(つまり、両ハイライトデータ候補が
不適切であるとき)、ネガフィルムと同一銘柄のネガフ
ィルムを用いて予め標準露光のもとに撮影された黒色の
被写体の画像の画像データをシャドウデータとし、ハイ
ライトデータ及びシャドウデータに基づいてネガ画像の
画像データをポジ画像の画像データに変換するので、ネ
ガ画像の第1及び第2ハイライトデータ候補がネガ・ポ
ジ反転の基準として不適切で使用できない場合であって
も標準的なハイライトデータ及びシャドウデータを用い
てネガ画像からポジ画像への略適正な反転を行うことが
できる。つまり、様々な色分布及び強度分布を有するネ
ガ画像に対して適切な反転を行って被写体に近いポジ画
像を得ることができる。
Further, according to the method of claim 2, when the first and second highlight data candidates are not close to the gray axis by a predetermined amount or more (that is, when both highlight data candidates are inappropriate) ), The image data of the image of the black subject previously photographed under standard exposure using the negative film of the same brand as the negative film is used as the shadow data, and the image data of the negative image is based on the highlight data and the shadow data. Is converted into image data of a positive image, so even if the first and second highlight data candidates of a negative image are inappropriate and cannot be used as a reference for negative / positive inversion, standard highlight data and shadow data Can be used to perform substantially proper reversal from a negative image to a positive image. That is, it is possible to obtain a positive image close to a subject by appropriately performing inversion on a negative image having various color distributions and intensity distributions.

【0059】また、請求項3の方法によれば、第1ハイ
ライトデータ候補がグレー軸と所定以上に近接している
か否かを、第1ハイライトデータ候補のうちの第1の色
に関する強度値と、第1ハイライトデータ候補のうちの
第2及び第3の色に関する強度値との組合わせによって
グレー軸上の点になるよう定めた第1の色に関する一対
の強度期待値と、のうちの最大値と最小値の相違が所定
の上限値以下であるか否かに基づいて判断するので、第
1ハイライトデータ候補が略無彩色であるか否かを簡易
・適切に判断することができ、ポジ画像おける色再現を
適切なものとすることができる。
Further, according to the method of claim 3, whether or not the first highlight data candidate is close to the gray axis by a predetermined amount or more is determined by the intensity of the first color of the first highlight data candidate. And a pair of expected intensity values for the first color determined to be points on the gray axis by the combination of the value and the intensity values for the second and third colors of the first highlight data candidates. Since the judgment is based on whether the difference between the maximum value and the minimum value is less than or equal to a predetermined upper limit value, it is possible to simply and appropriately judge whether or not the first highlight data candidate is a substantially achromatic color. Therefore, the color reproduction in the positive image can be made appropriate.

【0060】また、請求項4の方法によれば、第2ハイ
ライトデータ候補がグレー軸と所定以上に近接している
か否かを、第2ハイライトデータ候補のうちの第1の色
に関する強度値と、第2ハイライトデータ候補のうちの
第2及び第3の色に関する強度値との組合わせによって
グレー軸上の点になるよう定めた第1の色に関する一対
の強度期待値と、のうちの最大値と最小値の相違が所定
の上限値以下であるか否かに基づいて判断するので、第
2ハイライトデータ候補が略無彩色であるか否かを簡易
・適切に判断することができ、ポジ画像おける色再現を
適切なものとすることができる。
According to the method of claim 4, whether or not the second highlight data candidate is close to the gray axis by a predetermined amount or more is determined by the intensity of the first color of the second highlight data candidate. And a pair of expected intensity values for the first color determined to be points on the gray axis by the combination of the value and the intensity values for the second and third colors of the second highlight data candidates. Judgment is made based on whether or not the difference between the maximum value and the minimum value is less than or equal to a predetermined upper limit value, so it is possible to simply and appropriately judge whether or not the second highlight data candidate is a substantially achromatic color. Therefore, the color reproduction in the positive image can be made appropriate.

【0061】また、請求項5の記録媒体によれば、色分
解して得た強度値の総和が略最小となる画素の画素デー
タを第1ハイライトデータ候補とする機能と、ネガ画像
の画像データを第1から第3の色に対応する第1から第
3のプレーンの画像データに分離して各プレーン毎に最
小値を求め、これらの組合せを第2ハイライトデータ候
補とする機能と、第1ハイライトデータ候補が、ネガフ
ィルムと同一銘柄のネガフィルムについて予め求めてあ
るグレー軸と所定以上に近接しているか否かを判断する
機能と、第1ハイライトデータ候補が、グレー軸と所定
以上に近接している場合、第1ハイライトデータ候補を
ハイライトデータとし、第1ハイライトデータ候補が、
グレー軸と所定以上に近接していない場合、第2ハイラ
イトデータ候補が、グレー軸と所定以上に近接している
か否かを判断する機能と、第2ハイライトデータ候補
が、グレー軸と所定以上に近接している場合、第2ハイ
ライトデータ候補をハイライトデータとし、第2ハイラ
イトデータ候補が、グレー軸と所定以上に近接していな
い場合、ネガフィルムと同一銘柄のネガフィルムを用い
て予め標準露光のもとに撮影された白色の被写体の画像
の画像データをハイライトデータとする機能と、ハイラ
イトデータに基づいてネガ画像の画像データをポジ画像
の画像データに変換する機能とを有するので、第1及び
第2ハイライトデータ候補のいずれかが略無彩色である
ときには、これらのいずれかをそのままハイライトデー
タとして採用してネガ画像からポジ画像への略適正な反
転を行うことができ、第1及び第2ハイライトデータ候
補のいずれもががある程度鮮やかな有彩色であるときに
は、白色の被写体について予め求めてある標準的なハイ
ライトデータを用いてネガ画像からポジ画像への略適正
な反転を行うことができる。つまり、様々な色分布及び
強度分布を有するネガ画像に対して適切な反転を行って
被写体に近いポジ画像を得ることができる。
Further, according to the recording medium of the fifth aspect, a function of making the pixel data of the pixel for which the sum of the intensity values obtained by color separation is substantially the minimum as the first highlight data candidate, and the image of the negative image A function of separating the data into image data of the first to third planes corresponding to the first to third colors, obtaining a minimum value for each plane, and setting these combinations as second highlight data candidates; A function of determining whether or not the first highlight data candidate is close to or more than a predetermined gray axis with respect to a negative film of the same brand as the negative film by a predetermined amount or more, and the first highlight data candidate is the gray axis. If they are close to each other by a predetermined amount or more, the first highlight data candidate is set as highlight data, and the first highlight data candidate is
When the second highlight data candidate is not close to the gray axis by a predetermined amount or more, the function of determining whether the second highlight data candidate is close to the gray axis by a predetermined value or more, and the second highlight data candidate is the gray axis and the predetermined value. When it is close to the above, the second highlight data candidate is used as highlight data, and when the second highlight data candidate is not close to the gray axis by a predetermined amount or more, a negative film of the same brand as the negative film is used. And the function of using the image data of the image of a white subject that was previously captured under standard exposure as highlight data, and the function of converting the image data of the negative image to the image data of the positive image based on the highlight data. Therefore, when either of the first and second highlight data candidates has a substantially achromatic color, either one of them is directly adopted as highlight data. It is possible to perform almost proper inversion from an image to a positive image, and when both of the first and second highlight data candidates are chromatic colors that are bright to some extent, a standard standard that is obtained in advance for a white subject is used. The highlight data can be used to perform approximately proper reversal from a negative image to a positive image. That is, it is possible to obtain a positive image close to a subject by appropriately performing inversion on a negative image having various color distributions and intensity distributions.

【0062】また、請求項6の記録媒体によれば、第1
及び第2ハイライトデータ候補が、グレー軸と所定以上
に近接していない場合、ネガフィルムと同一銘柄のネガ
フィルムを用いて予め標準露光のもとに撮影された黒色
の被写体の画像の画像データをシャドウデータとし、ハ
イライトデータ及びシャドウデータに基づいてネガ画像
の画像データをポジ画像の画像データに変換する機能を
有するので、ネガ画像の第1及び第2ハイライトデータ
候補がネガ・ポジ反転の基準として不適切で使用できな
い場合であっても標準的なハイライトデータ及びシャド
ウデータを用いてネガ画像からポジ画像への略適正な反
転を行うことができる。
According to the recording medium of the sixth aspect, the first
And the second highlight data candidate is not close to the gray axis by a predetermined amount or more, the image data of the image of the black subject which is taken in advance under standard exposure using the negative film of the same brand as the negative film. Is used as the shadow data, and the image data of the negative image is converted into the image data of the positive image based on the highlight data and the shadow data. Therefore, the first and second highlight data candidates of the negative image are negative / positive inversion. Even when it is not suitable as a reference for the above and cannot be used, standard highlight data and shadow data can be used to perform substantially proper inversion from a negative image to a positive image.

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

【図1】この発明の一実施形態である画像変換方法を実
行するための画像処理装置の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus for executing an image conversion method according to an embodiment of the present invention.

【図2】グレー軸に関するRGB相互間の変換式を求め
るフローチャートである。
FIG. 2 is a flowchart for obtaining a conversion formula between RGB on a gray axis.

【図3】ネガ画像の画像データをポジ画像の画像データ
に変換するフローチャートである。
FIG. 3 is a flowchart for converting image data of a negative image into image data of a positive image.

【図4】特定銘柄のネガフィルムに所定の測定を行って
グレー軸を求めるプロセスを説明するグラフである。
FIG. 4 is a graph illustrating a process of obtaining a gray axis by performing a predetermined measurement on a negative film of a specific brand.

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

10 画像入力部 20 画像保持部 30 画像分析部 40 情報保持部 50 画像変換部 60 画像出力部 100 画像処理装置 10 Image input section 20 Image holding unit 30 Image analysis section 40 Information storage unit 50 Image converter 60 Image output section 100 image processing device

フロントページの続き (56)参考文献 特開 昭60−14570(JP,A) 特開 昭63−307584(JP,A) 特開 平3−173282(JP,A) 特開 平9−83825(JP,A) 特表2000−509564(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 510 G06T 11/60 120 H04N 1/46 H04N 1/60 G03F 3/08 Continuation of the front page (56) References JP-A-60-14570 (JP, A) JP-A-63-307584 (JP, A) JP-A-3-173282 (JP, A) JP-A-9-83825 (JP , A) Special table 2000-509564 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06T 1/00 510 G06T 11/60 120 H04N 1/46 H04N 1/60 G03F 3 / 08

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ネガフィルムのネガ画像の画像データを
対応するポジ画像の画像データに変換する画像変換方法
であって、 前記ネガ画像上の各画素を色分解した第1から第3の色
に関する強度値の総和が略最小となる画素の画素データ
を第1ハイライトデータ候補とする工程と、 前記ネガ画像の画像データを前記第1から第3の色に対
応する第1から第3のプレーンの画像データに分離して
各プレーン毎に最小値を求めてこれらの組合せを第2ハ
イライトデータ候補とする工程と、 前記第1ハイライトデータ候補が、前記ネガフィルムと
同一銘柄のネガフィルムについて予め求めてあるグレー
軸と所定以上に近接しているか否かを判断する工程と、 前記第1ハイライトデータ候補が、前記グレー軸と所定
以上に近接している場合、前記第1ハイライトデータ候
補をハイライトデータとし、前記第1ハイライトデータ
候補が、前記グレー軸と所定以上に近接していない場
合、前記第2ハイライトデータ候補が、前記グレー軸と
所定以上に近接しているか否かを判断する工程と、 前記第2ハイライトデータ候補が、前記グレー軸と所定
以上に近接している場合、前記第2ハイライトデータ候
補をハイライトデータとし、前記第2ハイライトデータ
候補が、前記グレー軸と所定以上に近接していない場
合、前記ネガフィルムと同一銘柄のネガフィルムを用い
て予め標準露光のもとに撮影された白色の被写体の画像
の画像データを前記ハイライトデータとする工程と、 前記ハイライトデータに基づいて前記ネガ画像の画像デ
ータを前記ポジ画像の画像データに変換する工程と、を
有することを特徴とする画像変換方法。
1. An image conversion method for converting image data of a negative image of a negative film into image data of a corresponding positive image, which relates to first to third colors obtained by color-separating each pixel on the negative image. A step of setting pixel data of pixels for which the sum of intensity values is substantially the minimum as a first highlight data candidate; and image data of the negative image, first to third planes corresponding to the first to third colors. Of the image data of the same, the minimum value is obtained for each plane, and the combination thereof is used as a second highlight data candidate, and the first highlight data candidate is a negative film of the same brand as the negative film. A step of determining whether or not the gray axis that has been obtained in advance is closer than a predetermined value, and the first highlight data candidate is closer than the gray axis by a predetermined value or more, When the candidate highlight data is highlight data and the first highlight data candidate is not close to the gray axis by a predetermined amount or more, the second highlight data candidate is close to the gray axis by a predetermined amount or more. Determining whether or not the second highlight data candidate is close to the gray axis by a predetermined amount or more, the second highlight data candidate is defined as highlight data, and the second highlight data When the candidate is not close to the gray axis by a predetermined amount or more, the image data of an image of a white subject that was previously photographed under standard exposure using a negative film of the same brand as the negative film is highlighted. And a step of converting image data of the negative image into image data of the positive image based on the highlight data. Image conversion method according to claim.
【請求項2】 前記第1及び第2ハイライトデータ候補
が、前記グレー軸と所定以上に近接していない場合、前
記ネガフィルムと同一銘柄のネガフィルムを用いて予め
標準露光のもとに撮影された黒色の被写体の画像の画像
データをシャドウデータとし、前記ハイライトデータ及
び前記シャドウデータに基づいて前記ネガ画像の画像デ
ータを前記ポジ画像の画像データに変換することを特徴
とする請求項1記載の画像変換方法。
2. When the first and second highlight data candidates are not close to the gray axis by a predetermined amount or more, a negative film of the same brand as the negative film is used and photographed under standard exposure in advance. The image data of the image of the black subject that has been generated is used as shadow data, and the image data of the negative image is converted into the image data of the positive image based on the highlight data and the shadow data. Image conversion method described.
【請求項3】 前記第1ハイライトデータ候補が前記グ
レー軸と所定以上に近接しているか否かを、前記第1ハ
イライトデータ候補のうちの前記第1の色に関する強度
値と、前記第1ハイライトデータ候補のうちの前記第2
及び第3の色に関する強度値との組合わせによって前記
グレー軸上の点になるよう定めた前記第1の色に関する
一対の強度期待値と、のうちの最大値と最小値の相違が
所定の上限値以下であるか否かに基づいて判断すること
を特徴とする請求項1記載の画像変換方法。
3. It is determined whether the first highlight data candidate is close to the gray axis by a predetermined value or more, an intensity value relating to the first color of the first highlight data candidate, and The second of the one highlight data candidates
And a pair of expected intensity values for the first color determined to be a point on the gray axis by a combination with the intensity values for the third color, the difference between the maximum value and the minimum value is predetermined. The image conversion method according to claim 1, wherein the determination is performed based on whether the value is equal to or less than an upper limit value.
【請求項4】 前記第2ハイライトデータ候補が前記グ
レー軸と所定以上に近接しているか否かを、前記第2ハ
イライトデータ候補のうちの前記第1の色に関する強度
値と、前記第2ハイライトデータ候補のうちの前記第2
及び第3の色に関する強度値との組合わせによって前記
グレー軸上の点になるよう定めた前記第1の色に関する
一対の強度期待値と、のうちの最大値と最小値の相違が
所定の上限値以下であるか否かに基づいて判断すること
を特徴とする請求項1記載の画像変換方法。
4. Whether the second highlight data candidate is close to the gray axis by a predetermined amount or more is determined based on the intensity value of the first color of the second highlight data candidate, and the second value. The second of the two highlight data candidates
And a pair of expected intensity values for the first color determined to be a point on the gray axis by a combination with the intensity values for the third color, the difference between the maximum value and the minimum value is predetermined. The image conversion method according to claim 1, wherein the determination is performed based on whether the value is equal to or less than an upper limit value.
【請求項5】 コンピュータによってネガフィルムのネ
ガ画像の画像データを対応するポジ画像の画像データに
変換するためのプログラムを記録した記録媒体であっ
て、 前記ネガ画像上の各画素を色分解した第1から第3の色
に関する強度値の総和が略最小となる画素の画素データ
を第1ハイライトデータ候補とする機能と、 前記ネガ画像の画像データを前記第1から第3の色に対
応する第1から第3のプレーンの画像データに分離して
各プレーン毎に最小値を求めてこれらの組合せを第2ハ
イライトデータ候補とする機能と、 前記第1ハイライトデータ候補が、前記ネガフィルムと
同一銘柄のネガフィルムについて予め求めてあるグレー
軸と所定以上に近接しているか否かを判断する機能と、 前記第1ハイライトデータ候補が、前記グレー軸と所定
以上に近接している場合、前記第1ハイライトデータ候
補をハイライトデータとし、前記第1ハイライトデータ
候補が、前記グレー軸と所定以上に近接していない場
合、前記第2ハイライトデータ候補が、前記グレー軸と
所定以上に近接しているか否かを判断する機能と、 前記第2ハイライトデータ候補が、前記グレー軸と所定
以上に近接している場合、前記第2ハイライトデータ候
補をハイライトデータとし、前記第2ハイライトデータ
候補が、前記グレー軸と所定以上に近接していない場
合、前記ネガフィルムと同一銘柄のネガフィルムを用い
て予め標準露光のもとに撮影された白色の被写体の画像
の画像データを前記ハイライトデータとする機能と、 前記ハイライトデータに基づいて前記ネガ画像の画像デ
ータを前記ポジ画像の画像データに変換する機能と、を
実現させるプログラムを記録したコンピュータ読取り可
能な記録媒体。
5. A recording medium having a program recorded thereon for converting image data of a negative image on a negative film into corresponding positive image data by a computer, wherein each pixel on the negative image is color-separated. A function of using pixel data of pixels for which the total sum of intensity values of first to third colors is substantially the minimum as first highlight data candidates, and image data of the negative image corresponding to the first to third colors. A function of separating the image data of the first to third planes, obtaining a minimum value for each plane, and using these combinations as second highlight data candidates; and the first highlight data candidates being the negative film. And a function of determining whether or not the negative axis of a negative film of the same brand is closer than a predetermined gray axis by a predetermined amount or more, the first highlight data candidate is If the first highlight data candidate is not close to the gray axis by a predetermined amount or more, the first highlight data candidate is set as highlight data. A function of determining whether or not the light data candidate is close to the gray axis by a predetermined amount or more; and a second high light data candidate if the second highlight data candidate is close to the gray axis by a predetermined amount or more. When the light data candidate is the highlight data and the second highlight data candidate is not close to the gray axis by a predetermined amount or more, a negative film of the same brand as the negative film is used in advance under standard exposure. A function of using image data of a captured white subject image as the highlight data, and the image data of the negative image based on the highlight data. Computer-readable recording medium a program for realizing the function of converting the image data of.
【請求項6】 前記第1及び第2ハイライトデータ候補
が、前記グレー軸と所定以上に近接していない場合、前
記ネガフィルムと同一銘柄のネガフィルムを用いて予め
標準露光のもとに撮影された黒色の被写体の画像の画像
データをシャドウデータとし、前記ハイライトデータ及
び前記シャドウデータに基づいて前記ネガ画像の画像デ
ータを前記ポジ画像の画像データに変換する機能を実現
させるプログラムを記録したことを特徴とする請求項5
記載の記録媒体。
6. If the first and second highlight data candidates are not close to the gray axis by a predetermined amount or more, a negative film of the same brand as the negative film is used and photographed in advance under standard exposure. The image data of the image of the black subject thus obtained is used as shadow data, and a program for realizing the function of converting the image data of the negative image into the image data of the positive image based on the highlight data and the shadow data is recorded. 6. The method according to claim 5, wherein
The recording medium described.
JP15852797A 1997-06-16 1997-06-16 Image conversion method and recording medium Expired - Fee Related JP3460927B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP15852797A JP3460927B2 (en) 1997-06-16 1997-06-16 Image conversion method and recording medium
US09/094,723 US6069981A (en) 1997-06-16 1998-06-15 Image conversion method and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15852797A JP3460927B2 (en) 1997-06-16 1997-06-16 Image conversion method and recording medium

Publications (2)

Publication Number Publication Date
JPH117528A JPH117528A (en) 1999-01-12
JP3460927B2 true JP3460927B2 (en) 2003-10-27

Family

ID=15673690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15852797A Expired - Fee Related JP3460927B2 (en) 1997-06-16 1997-06-16 Image conversion method and recording medium

Country Status (1)

Country Link
JP (1) JP3460927B2 (en)

Also Published As

Publication number Publication date
JPH117528A (en) 1999-01-12

Similar Documents

Publication Publication Date Title
US7006692B2 (en) Method, apparatus and computer program product for processing image data
JP3011432B2 (en) Color image processing equipment
US8103119B2 (en) Image processing device, image processing method, image processing program product, and image-capturing device
JP3903083B2 (en) Image processing apparatus, method, and recording medium
JPH07222016A (en) Method and system for correction of color shift
JPH0355078B2 (en)
JPH11331596A (en) Image processing method and its device
JPH0686045A (en) Texture picture processing system for picture processor
JP4774757B2 (en) Image processing apparatus, image processing program, electronic camera, and image processing method
US6069981A (en) Image conversion method and record medium
JPH1141622A (en) Image processor
JP2020145553A (en) Image processing apparatus, image processing method and program
JP3460927B2 (en) Image conversion method and recording medium
JPH1075374A (en) Image processing unit and its method
JPH0750761A (en) Color reproducing mthod for image processing system constituted of independent type input/output machine
JP3460925B2 (en) Image conversion method and recording medium
JP3460926B2 (en) Image conversion method and recording medium
WO2001078368A2 (en) Film and video bi-directional color matching system and method
JP3093217B2 (en) Image processing apparatus and image processing method
JP2006203571A (en) Imaging apparatus, image processing apparatus, and image recording apparatus
JP2578409B2 (en) Image processing device
JP2004151952A (en) Color expressing method and image processing method
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2941853B2 (en) Image processing method
JP2941852B2 (en) Image processing method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees