JPH11353477A - Image processor, image processing method and recording medium recorded with software to execute the method - Google Patents

Image processor, image processing method and recording medium recorded with software to execute the method

Info

Publication number
JPH11353477A
JPH11353477A JP11101787A JP10178799A JPH11353477A JP H11353477 A JPH11353477 A JP H11353477A JP 11101787 A JP11101787 A JP 11101787A JP 10178799 A JP10178799 A JP 10178799A JP H11353477 A JPH11353477 A JP H11353477A
Authority
JP
Japan
Prior art keywords
image signal
image
processing
soft focus
converted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11101787A
Other languages
Japanese (ja)
Inventor
Tatsuya Aoyama
達也 青山
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP11101787A priority Critical patent/JPH11353477A/en
Publication of JPH11353477A publication Critical patent/JPH11353477A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To suppress the granular deterioration of a soft focus image or the skin of a human figure by generating a soft focus processing conversion image signal against an image signal that is converted from a digital original image signal and then adversely converting the generated conversion signal into a digital soft focus image signal. SOLUTION: A color tone conversion means 74 of a soft focus processing means 72 converts the color tone signal level of image data to obtain a digital original image signal. This image signal is converted into an exposure value image signal by an exposure value conversion means 75. The exposure value image signal is converted into a conversion image signal by a luminance signal conversion means 78 to show the value corresponding to the object luminance and the incident light intensity. A blurred image signal is generated by an LPF 80 against the conversion image signal, and these two signals are synthesized into a soft focus processing conversion image signal by an image synthesizing means 88. Then the soft focus processing conversion image is adversely converted into a digital soft focus image signal by a density data conversion means 90.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置、画
像処理方法およびこれを行うソフトウエアを記録した記
録媒体に関し、詳細には、被写体または画像を光電的に
読み取り、デジタル信号に変換して得られた光学濃度あ
るいは対数露光量に対応または比例した量を表わす原画
像信号を画像処理して、カラー画像を可視象として再生
するカラー画像再生システムに用いられる、ソフトフォ
ーカス画像や鮮鋭化(シャープネス強調)処理画像など
の周波数処理画像を生成することのできる画像処理装
置、画像処理方法およびこれを行うソフトウエアを記録
した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and a recording medium on which software for executing the image processing is recorded. A soft focus image and a sharpening (sharpness) used in a color image reproduction system that processes an original image signal representing an amount corresponding to or proportional to the obtained optical density or logarithmic exposure amount and reproduces a color image as a visible image. The present invention relates to an image processing apparatus capable of generating a frequency-processed image such as a processed image, an image processing method, and a recording medium on which software for performing the image processing is recorded.

【0002】[0002]

【従来の技術】ネガフィルム、リバーサルフィルムある
いはカラープリントなどに記録されたカラー画像を、C
CDなどの光電変換素子によって光電的に読み取り、デ
ジタル信号に変換して、原画像信号として、フレームメ
モリなどの画像信号記憶手段に記憶し、さらに、画像デ
ータ記憶手段に記憶された画像信号に画像処理を施し
て、カラーペーパーなどの記録材料あるいはCRTなど
の表示手段上に再生するカラー画像再生システムが提案
されている。このカラー画像再生システムによれば、カ
ラー画像が、露光不足あるいは露光過剰など、適切でな
い撮影条件下で撮影され、ネガフィルム、リバーサルフ
ィルムあるいはカラープリントなどに記録されていて
も、得られた原画像信号に画像処理を施すことにより、
所望の色および階調を有するカラー画像として再生する
ことができる。また、ネガフィルム、リバーサルフィル
ムあるいはカラープリントなどに記録されたカラー画像
を、所望により、異なった色および階調を有するカラー
画像として再生することもできる。
2. Description of the Related Art A color image recorded on a negative film, a reversal film, a color print, or the like is converted into a C image.
It is read photoelectrically by a photoelectric conversion element such as a CD, converted into a digital signal, stored as an original image signal in an image signal storage means such as a frame memory, and further converted into an image signal stored in an image data storage means. There has been proposed a color image reproducing system which performs processing and reproduces it on a recording material such as color paper or a display means such as a CRT. According to this color image reproduction system, even if a color image is photographed under inappropriate photographing conditions such as underexposure or overexposure and is recorded on a negative film, a reversal film or a color print, the obtained original image is obtained. By performing image processing on the signal,
It can be reproduced as a color image having a desired color and gradation. Further, a color image recorded on a negative film, a reversal film, a color print or the like can be reproduced as a color image having different colors and gradations, if desired.

【0003】一方、写真撮影においても、写真焼付にお
いても、多重露光によって、ソフトフォーカス画像を生
成することが行われているが、多重露光は手間のかかる
技術である。ところで、上述のようなデジタルカラー画
像再生システムにより、ネガフィルム、リバーサルフィ
ルムあるいはカラープリントなどに記録されたカラー画
像に基づいて、多重露光を行わずに、多重露光による効
果と同様な効果を持つソフトフォーカス画像を生成する
ことが強く望まれている。このため、本出願人は、上述
のようなカラー画像再生システムにおいてデジタル画像
処理によってソフトフォーカス画像を生成することので
きる画像処理装置を特開平9−172600号公報に開
示している。ここに開示された画像処理装置は、上述し
たカラー画像再生システムにおいて、カラー画像から読
み取られ、対数(LOG)変換した後、フレームメモリ
に記憶された画像信号に色変換を施して原画像信号を得
た後、この原画像信号にボケマスク処理を施してボケ画
像信号を得、このボケ画像信号と原画像信号とを所定比
率で合成することによって、ソフトフォーカス画像を作
成するための画像信号を生成するものである。
On the other hand, in both photographing and photographic printing, a soft focus image is generated by multiple exposure, but multiple exposure is a time-consuming technique. By the way, based on a color image recorded on a negative film, a reversal film, a color print, or the like, a digital color image reproducing system as described above is used. It is strongly desired to generate a focus image. For this reason, the present applicant discloses an image processing apparatus capable of generating a soft focus image by digital image processing in the above-described color image reproduction system in Japanese Patent Application Laid-Open No. Hei 9-172600. The image processing apparatus disclosed in the above-described color image reproducing system performs color conversion on an image signal read from a color image, logarithmically (LOG) -converted the image signal stored in a frame memory, and converts the original image signal into an image signal. After that, the original image signal is subjected to a blur mask process to obtain a blur image signal, and the blur image signal and the original image signal are combined at a predetermined ratio to generate an image signal for creating a soft focus image. Is what you do.

【0004】[0004]

【発明が解決しようとする課題】ところで、写真画像を
デジタルデータで扱う場合、入力された、または読み取
られた画像信号、すなわち被写体輝度や入射光強度に対
応した、または比例した量を表す画像信号、例えば被写
体照度または露光量に対応するデータ(以下、露光量デ
ータともいう)を加工して、人間の目に比較的線形な光
学濃度または対数露光量に比例した量を表わすデータ
(以下、濃度データと呼ぶ)に変換して、この変換され
たデータに対して各種の画像処理を行うのが普通であ
る。上述した特開平9−172600号公報に開示の画
像処理装置においても、カラー画像を読み取ることによ
って得られた原画像信号(露光量データ)を対数(LO
G)変換し、濃度データに直した後、ボケ画像信号を生
成し、原画像信号とボケ画像信号とを任意の比率で加算
している。このため、この画像処理装置においても、ソ
フトフォーカス効果を持つ画像を作成することができ
る。しかしながら、この技術のように、濃度データに変
換した画像信号データを用いてソフトフォーカス処理を
すると、処理画像はソフトな感じに仕上がるが、実際の
カメラでのソフトフォーカス撮影において見られるよう
な、明るい部分から暗い部分への光の滲み出し、いわゆ
るフレアーの感じが出せないという問題が生じていた。
When a photographic image is handled as digital data, an input or read image signal, that is, an image signal representing an amount corresponding to or proportional to the luminance of the subject or the intensity of incident light. For example, data (hereinafter, also referred to as exposure amount data) corresponding to the illuminance of the subject or the exposure amount (hereinafter, also referred to as exposure amount data) is processed, and data representing a relatively linear optical density or an amount proportional to the logarithmic exposure amount (hereinafter, referred to as density) (Referred to as data), and various types of image processing are performed on the converted data. In the image processing apparatus disclosed in Japanese Patent Application Laid-Open No. 9-172600, an original image signal (exposure amount data) obtained by reading a color image is logarithmically (LO
G) After conversion and conversion into density data, a blurred image signal is generated, and the original image signal and the blurred image signal are added at an arbitrary ratio. Therefore, this image processing apparatus can also create an image having a soft focus effect. However, when soft focus processing is performed using image signal data converted to density data as in this technology, the processed image is finished in a soft feeling, but is bright as seen in soft focus shooting with an actual camera. There has been a problem that light bleeds from a part to a dark part, that is, a so-called flare cannot be obtained.

【0005】また、この技術では、濃度データとして加
算処理される原画像とボケ画像との加算比率は、1つの
画像中のどの部分においても一定であるため、ソフト感
を出すためにボケ画像の加算比率を上げると、画像の芯
がボケすぎ、人の目に最も敏感な画像中の輪部(エッ
ジ)がボケただけと感じやすくなり、一方、画像の芯を
強く出すために、ソフト効果を抑え、原画像の加算比率
を上げると、粒状の悪さが目立ってしまうという問題も
あった。一方、カラーネガフィルムやカラーリバーサル
フィルムからカラー画像を仕上がりプリント上に再生す
る際に、濃度データでシャープネス強調処理を行った場
合、処理画像がシャープになる反面、人物の肌の粒状が
悪くなるという問題もあった。
Further, in this technique, the addition ratio between the original image and the blurred image to be added as density data is constant in any part of one image. When the addition ratio is increased, the center of the image is too blurry, and the limbs (edges) in the image, which are the most sensitive to human eyes, are more easily perceived as being blurred. However, there is also a problem that when the addition ratio of the original image is increased, the granularity becomes conspicuous. On the other hand, when a color image from a color negative film or a color reversal film is reproduced on a finished print, if the sharpness enhancement processing is performed with the density data, the processed image becomes sharper, but the graininess of the human skin becomes worse. There was also.

【0006】本発明の目的は、上記従来技術の問題点を
解消し、得られたデジタル原画像信号の画像処理によっ
てソフトフォーカス画像やシャープネス強調画像などの
周波数処理画像を作成する際に、対数スケールやべきス
ケール等の原画像信号のデジタルデータを被写体輝度、
入射光強度あるいは再生輝度に対応した量、例えば、対
数(LOG)変換前、またはべき乗変換前の被写体輝度
あるいは入射光強度、もしくはこれらにフレアの影響や
色鮮やかさの向上等を考慮して階調を立てる処理を行っ
た再生輝度に対応もしくは比例した量を表わす画像信号
データに変換してソフトフォーカス処理やシャープネス
強調処理などの周波数処理を行うことにより、実際のカ
メラ撮影等で得られるアナログ系のソフトフォーカスで
見られるフレアーに近い効果を持つソフトフォーカス画
像や人物の肌の粒状悪化を抑えつつ、画像のシャープネ
ス強調がなされたシャープネス強調画像などの最適な周
波数処理効果を持つ処理画像を得ることができる画像処
理装置、画像処理方法およびおよびこれを行うソフトウ
エアを記録した記録媒体を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art and to provide a logarithmic scale when creating a frequency-processed image such as a soft-focus image or a sharpness-enhanced image by image processing of an obtained digital original image signal. Digital data of the original image signal such as the scale
An amount corresponding to the incident light intensity or the reproduction luminance, for example, the subject luminance or the incident light intensity before the logarithmic (LOG) conversion or the exponentiation conversion, or taking into consideration the influence of the flare or the improvement of the color vividness, etc. An analog system obtained by actual camera shooting, etc., by converting to image signal data representing an amount corresponding to or proportional to the reproduction luminance that has been subjected to the adjustment process and performing frequency processing such as soft focus processing and sharpness enhancement processing To obtain a processed image with the optimal frequency processing effect, such as a soft focus image with an effect close to the flare seen with soft focus and a sharpness enhanced image in which the sharpness of the image is enhanced while suppressing the graininess of the human skin Image processing apparatus, image processing method and software for executing the same are recorded. It is to provide the media.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明者は、カメラなどによるアナログ系のフレア
ーの感じのあるソフトフォーカス画像をデジタル画像処
理によって生成することについて、鋭意研究を重ねた結
果、カメラでソフトフォーカスレンズなどを使って撮影
する場合や、多重露光による写真撮影または写真焼付な
どの場合のような実際のソフトフォーカス画像を生成す
るアナログ系を考慮すると、ソフトフォーカス処理は、
入力された被写体輝度や入射光強度に比例した量を表わ
す画像信号(例えば、露光量データ)に対して処理がか
かっていると考えらることから、デジタル画像信号デー
タに対してソフトフォーカス処理を行う場合にも、光学
濃度または対数露光量に対応または比例した量を表わす
データ(例えば、濃度データ)から、このような露光量
データに直して処理するのが好ましいことを知見し、本
発明に至ったものである。
Means for Solving the Problems In order to achieve the above object, the present inventor has conducted intensive studies on generating soft focus images having an analog flare feeling by digital image processing using a camera or the like. As a result, considering the analog system that generates an actual soft focus image, such as when shooting with a soft focus lens or the like with a camera, or when taking a photograph or printing with multiple exposure, soft focus processing is
Since it is considered that an image signal (for example, exposure amount data) representing an amount proportional to the input subject luminance or incident light intensity is being processed, soft focus processing is performed on the digital image signal data. Also in the case of carrying out the present invention, it has been found that it is preferable to perform processing by converting to such exposure data from data (for example, density data) representing an amount corresponding to or proportional to the optical density or logarithmic exposure. It has been reached.

【0008】すなわち、本発明は、デジタル原画像信号
に画像処理を施してソフトフォーカス画像を作成するた
めのデジタルソフトフォーカス画像信号を生成する画像
処理装置であって、前記原画像信号を被写体輝度、入射
光強度あるいは再生輝度に対応した量を表わす変換画像
信号に変換する手段と、この変換画像信号に対し所定の
スムージング処理を施してソフトフォーカス処理変換画
像信号を生成する手段と、このソフトフォーカス処理変
換画像信号を前記デジタルソフトフォーカス画像信号に
逆変換する手段とを有することを特徴とする画像処理装
置を提供するものである。ここで、前記ソフトフォーカ
ス処理変換画像信号を生成する手段は、前記変換画像信
号からボケ画像信号を生成する手段と、前記変換画像信
号と前記ボケ画像信号とを所定の加算比率で加算して前
記ソフトフォーカス処理変換画像信号を生成する加算手
段とを有するのが好ましい。すなわち、上記所定のスム
ージング処理は、変換画像信号からボケ画像信号を生成
し、変換画像信号とボケ画像信号とを所定の加算比率で
加算する処理であるのが好ましい。
That is, the present invention relates to an image processing apparatus for generating a digital soft focus image signal for creating a soft focus image by performing image processing on a digital original image signal, wherein the original image signal is converted into a subject brightness, Means for converting the converted image signal into a converted image signal representing an amount corresponding to the incident light intensity or the reproduction luminance; means for performing a predetermined smoothing process on the converted image signal to generate a soft focus processing converted image signal; Means for inversely converting the converted image signal into the digital soft focus image signal. Here, the means for generating the soft focus processing converted image signal includes: means for generating a blurred image signal from the converted image signal; and adding the converted image signal and the blurred image signal at a predetermined addition ratio. It is preferable to have an adding means for generating a soft focus processing converted image signal. That is, it is preferable that the predetermined smoothing process is a process of generating a blurred image signal from the converted image signal and adding the converted image signal and the blurred image signal at a predetermined addition ratio.

【0009】また、前記ソフトフォーカス処理変換画像
信号を生成する手段は、さらに、前記変換画像信号の中
周波成分および高周波成分のゲインの少なくとも一方を
調整するゲイン調整手段を有し、前記加算手段は、前記
ゲイン調整手段によってゲイン調整された変換画像信号
と前記ボケ画像信号とを加算して前記ソフトフォーカス
処理変換画像信号を生成するのが好ましい。また、前記
ソフトフォーカス処理変換画像信号を生成する手段は、
さらに、前記加算手段による前記ゲイン調整変換画像信
号と前記ボケ画像信号との前記加算比率を調整する加算
比率調整手段を有するのが好ましい。
The means for generating the soft focus processing converted image signal further includes gain adjusting means for adjusting at least one of a gain of a medium frequency component and a high frequency component of the converted image signal. Preferably, the soft focus processing converted image signal is generated by adding the converted image signal whose gain has been adjusted by the gain adjusting means and the blurred image signal. The means for generating the soft focus processing converted image signal includes:
Further, it is preferable that the image processing apparatus further includes an addition ratio adjusting unit that adjusts the addition ratio of the gain-adjusted converted image signal and the blurred image signal by the adding unit.

【0010】また、前記ソフトフォーカス処理変換画像
信号を生成する手段は、さらに、前記加算手段による前
記変換画像信号と前記ボケ画像信号との前記加算比率を
調整する加算比率調整手段と有するのが好ましい。ま
た、前記ソフトフォーカス処理変換画像信号を生成する
手段は、さらに、前記原画像信号を用いて画像中の濃度
を判定する手段とを有し、前記加算比率調整手段は、前
記判定手段によって判定された前記画像中の濃度に応じ
て前記加算比率を調整する手段を有するのが好ましい。
Preferably, the means for generating the soft focus processing converted image signal further includes an addition ratio adjusting means for adjusting the addition ratio between the converted image signal and the blurred image signal by the adding means. . Further, the means for generating the soft focus processing converted image signal further includes means for determining a density in an image using the original image signal, and wherein the addition ratio adjusting means is determined by the determining means. Further, it is preferable that the image forming apparatus further comprises means for adjusting the addition ratio according to the density in the image.

【0011】また、前記ボケ画像信号の生成手段は、ロ
ーパスフィルタを含むボケマスク処理手段であるのが好
ましい。また、前記ボケ画像信号の生成手段は、前記変
換画像信号を輝度信号に変換する手段と、この輝度信号
に変換された輝度画像信号にボケマスク処理を施すボケ
マスク処理手段とを有するのが好ましい。また、前記原
画像信号および前記デジタルソフトフォーカス画像信号
が、光学濃度あるいは対数露光量に対応した量を表わす
画像信号であるのが好ましい。
Further, it is preferable that the blur image signal generating means is a blur mask processing means including a low-pass filter. Further, it is preferable that the blur image signal generating means includes means for converting the converted image signal into a luminance signal, and blur mask processing means for performing a blur mask process on the luminance image signal converted into the luminance signal. Further, it is preferable that the original image signal and the digital soft focus image signal are image signals representing an amount corresponding to an optical density or a logarithmic exposure amount.

【0012】また、本発明は、デジタル原画像信号に周
波数処理を施して周波数処理画像を作成するためのデジ
タル周波数処理画像信号を生成する画像処理装置であっ
て、前記原画像信号を被写体輝度、入射光強度あるいは
再生輝度に対応した量を表わす変換画像信号に変換する
手段と、この変換画像信号を用いて周波数処理を行う周
波数処理手段と、この周波数処理された変換画像信号を
前記デジタル周波数処理画像信号に逆変換する手段とを
有することを特徴とする画像処理装置を提供するもので
ある。ここで、前記周波数処理は、ソフトフォーカス処
理またはシャープネス強調処理であり、前記周波数処理
手段は、ソフトフォーカス処理手段またはシャープネス
強調処理手段であるのが好ましい。
The present invention is also an image processing apparatus for generating a digital frequency processing image signal for generating a frequency processing image by performing frequency processing on a digital original image signal. Means for converting the converted image signal into a converted image signal representing an amount corresponding to the intensity of the incident light or the reproduced luminance; frequency processing means for performing frequency processing using the converted image signal; Means for inversely converting the image signal into an image signal. Here, the frequency processing is preferably a soft focus processing or a sharpness enhancement processing, and the frequency processing means is preferably a soft focus processing means or a sharpness enhancement processing means.

【0013】また、本発明は、デジタル原画像信号を被
写体輝度、入射光強度あるいは再生輝度に対応した量を
表わす画像信号に変換し、得られた変換画像信号に対し
所定のスムージング処理を施してソフトフォーカス処理
された変換画像信号を生成し、得られたソフトフォーカ
ス処理変換画像信号をデジタルソフトフォーカス画像信
号に逆変換することを特徴とする画像処理方法を提供す
るものである。ここで、前記ソフトフォーカス処理変換
画像信号は、前記変換画像信号からボケ画像信号を生成
し、前記変換画像信号と前記ボケ画像信号とを所定の加
算比率で加算することにより生成されるのが好ましい。
また、前記ソフトフォーカス処理変換画像信号は、前記
変換画像信号の中周波成分および高周波成分のゲインの
少なくとも一方を調整し、このゲイン調整された変換画
像信号と前記ボケ画像信号とを加算することにより生成
されるのが好ましい。
According to the present invention, a digital original image signal is converted into an image signal representing an amount corresponding to a subject luminance, an incident light intensity or a reproduction luminance, and a predetermined smoothing process is performed on the obtained converted image signal. It is an object of the present invention to provide an image processing method characterized by generating a converted image signal subjected to soft focus processing and inversely converting the obtained soft focus processed converted image signal into a digital soft focus image signal. Here, it is preferable that the soft focus processing converted image signal is generated by generating a blurred image signal from the converted image signal, and adding the converted image signal and the blurred image signal at a predetermined addition ratio. .
Further, the soft focus processing conversion image signal adjusts at least one of a gain of a medium frequency component and a high frequency component of the conversion image signal, and adds the gain-adjusted conversion image signal and the blurred image signal. It is preferably generated.

【0014】また、前記ゲイン調整変換画像信号と前記
ボケ画像信号との加算比率は、調整されるのが好まし
い。また、前記変換画像信号と前記ボケ画像信号との前
記加算比率は、調整されるのが好ましい。また、前記加
算比率は、前記原画像信号を用いて画像中の濃度を判定
し、判定された前記画像中の濃度に応じて調整されるの
が好ましい。また、前記ボケ画像信号は、ローパスフィ
ルタを用いるボケマスク処理によって生成されるのが好
ましい。また、前記ボケ画像信号は、前記変換画像信号
を輝度信号に変換し、この輝度信号に変換された輝度画
像信号にボケマスク処理を施すことにより生成されるの
が好ましい。また、前記原画像信号および前記デジタル
ソフトフォーカス画像信号が、光学濃度あるいは対数露
光量に対応した量を表わす画像信号であるのが好まし
い。
It is preferable that an addition ratio between the gain-adjusted converted image signal and the blurred image signal is adjusted. Preferably, the addition ratio between the converted image signal and the blurred image signal is adjusted. Preferably, the addition ratio is determined based on the density in the image by using the original image signal, and is adjusted according to the determined density in the image. Further, it is preferable that the blurred image signal is generated by a blur mask process using a low-pass filter. Further, it is preferable that the blurred image signal is generated by converting the converted image signal into a luminance signal and performing a blur mask process on the luminance image signal converted into the luminance signal. Further, it is preferable that the original image signal and the digital soft focus image signal are image signals representing an amount corresponding to an optical density or a logarithmic exposure amount.

【0015】また、本発明は、デジタル原画像信号を被
写体輝度、入射光強度あるいは再生輝度に対応した量を
表わす変換画像信号に変換し、得られた変換画像信号を
用いて周波数処理を行い、得られた周波数処理された変
換画像信号をデジタル周波数処理画像信号に逆変換する
ことを特徴とする画像処理方法を提供するものである。
ここで、前記周波数処理は、ソフトフォーカス処理また
はシャープネス強調処理であるのが好ましい。また、本
発明は、上記各態様の画像処理方法を行うソフトウエア
を記録したことを特徴とする記録媒体を提供するもので
ある。
Further, according to the present invention, a digital original image signal is converted into a converted image signal representing an amount corresponding to subject luminance, incident light intensity or reproduction luminance, and frequency processing is performed using the obtained converted image signal. It is an object of the present invention to provide an image processing method characterized by inversely converting an obtained frequency-processed converted image signal into a digital frequency-processed image signal.
Here, the frequency processing is preferably a soft focus processing or a sharpness enhancement processing. Further, the present invention provides a recording medium on which software for performing the image processing method of each of the above aspects is recorded.

【0016】本発明のソフトフォーカス処理の対象とな
る画像信号は、被写体(シーン)をカメラで撮影して捕
らえられた画像データであってもよいし、すなわち通常
のカメラで写真フィルムに撮影された画像をスキャナな
どの入力デバイスで読み取って得られた画像データであ
ってもよいし、デジタルカメラやデジタルビデオカメラ
などの直撮カメラ系の入力デバイスで撮影されて直接得
られた画像データであってもよいし、このような種々の
カメラ(入力デバイス)で捕らえられた画像データを仕
上がりプリントにする際に通常行われる絵作り処理、す
なわち観察時のフレアの影響や、色鮮やかさの向上など
を考慮して階調を立てる等の処理がなされた画像信号で
あってもよい。
The image signal to be subjected to the soft focus processing of the present invention may be image data captured by photographing a subject (scene) with a camera, that is, photographed on a photographic film by a normal camera. The image data may be image data obtained by reading an image with an input device such as a scanner, or may be image data directly obtained by shooting with an input device such as a digital camera or a digital video camera using a direct shooting camera system. Alternatively, a picture making process which is usually performed when making image data captured by such various cameras (input devices) into a finished print, that is, an influence of a flare at the time of observation and an improvement of color vividness, etc. It may be an image signal that has been subjected to processing such as setting a gradation in consideration.

【0017】そこで、本発明においては、入力デバイス
から出力される対数変換後、もしくはべき乗変換後、あ
るいは目標階調のデジタル輝度出力値への変換後の画像
信号を、光学濃度あるいは対数露光量に対応または比例
した量を表わす画像信号といい、これを表すデータを濃
度データと略称する。従って、本発明の画像処理装置に
入力されるデジタル原画像信号やここで得られるデジタ
ルソフトフォーカス画像信号やここから出力されるデジ
タル出力画像信号は、この光学濃度あるいは対数露光量
に対応または比例した量を表わす画像信号である。一
方、入力デバイスで直接検出される、対数変換前、もし
くはべき乗変換前、あるいは目標階調のデジタル輝度出
力値への変換前の画像信号、例えば、被写体照度、被写
体反射率や露光量に対応する画像信号を、被写体輝度あ
るいは入射光強度に対応または比例した量を表す画像信
号といい、これを表すデータを露光量データと略称す
る。なお、入力デバイスから出力された画像濃度データ
に上述した絵作り処理を行った後、得られた処理画像デ
ータを対数変換前、もしくはべき乗変換前、あるいは目
標階調のデジタル輝度出力値への変換前の信号に変換し
て得られる画像信号を、再生輝度に対応または比例した
量を表す画像信号といい、被写体輝度あるいは入射光強
度に対応または比例した量を表す画像信号と同様な信号
として取り扱い、同様に、これを表すデータを露光量デ
ータと略称する。
Accordingly, in the present invention, the image signal after logarithmic conversion, after power conversion, or after conversion into a digital luminance output value of a target gradation, is converted into an optical density or a logarithmic exposure amount. It is called an image signal representing a corresponding or proportional amount, and data representing this is abbreviated as density data. Therefore, the digital original image signal input to the image processing apparatus of the present invention, the digital soft focus image signal obtained here, and the digital output image signal output therefrom correspond to or are proportional to this optical density or logarithmic exposure. It is an image signal representing an amount. On the other hand, the image signal directly detected by the input device before the logarithmic conversion, before the power conversion, or before the conversion to the digital luminance output value of the target gradation, for example, corresponds to the subject illuminance, the subject reflectance, and the exposure amount. The image signal is referred to as an image signal representing an amount corresponding to or proportional to the luminance of the subject or the intensity of the incident light, and data representing the amount is abbreviated as exposure amount data. After performing the above-described image forming process on the image density data output from the input device, converting the obtained processed image data before logarithmic conversion, before power conversion, or conversion of the target gradation to a digital luminance output value The image signal obtained by converting to the previous signal is called an image signal representing an amount corresponding to or proportional to the reproduction luminance, and is treated as a signal similar to the image signal representing an amount corresponding to or proportional to the subject luminance or incident light intensity. Similarly, data representing this is abbreviated as exposure data.

【0018】[0018]

【発明の実施の形態】本発明に係る画像処理装置、画像
処理方法およびこれを行うソフトウエアを記録した記録
媒体を添付の図面に示す好適実施の形態に基づいて、以
下に詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus, an image processing method, and a recording medium on which software for executing the same are recorded according to the present invention will be described in detail below based on preferred embodiments shown in the accompanying drawings.

【0019】図1は、本発明の画像処理方法を実施する
本発明の画像処理装置を適用するデジタルフォトプリン
タの一実施の形態のブロック図である。以下の説明にお
いては、主として、本発明による周波数処理としてソフ
トフォーカス処理を行うものを代表例とするが、本発明
はこれに限定されるわけではなく、本発明による周波数
処理としてシャープネス強調処理を行うものであっても
よい。また、以下では主として本発明の画像処理装置を
ハードウエアとして構成された代表例について説明する
が、本発明はこれに限定されず、ソフトウエア、例え
ば、本発明の画像処理方法を実施するソフトウエアとし
て構成してもよいのはもちろんである。図1に示すデジ
タルフォトプリンタ(以下、フォトプリンタという)1
0は、フィルムFに撮影された画像を光電的に読み取る
スキャナ(画像読取装置)12と、このスキャナ12で
読み取られた画像データ(画像情報)のソフトフォーカ
ス処理などの画像処理やフォトプリンタ10全体の操作
および制御等を行う画像処理装置14と、この画像処理
装置14から出力された画像データに応じて変調した光
ビームで感光材料(印画紙)を画像露光し、現像処理し
て(仕上り)、ソフトフォーカス画像をプリントとして
出力する画像記録装置16とを有する。また、画像処理
装置14には、様々な条件の入力、設定、処理の選択や
指示、色/濃度補正などの指示等を入力するためのキー
ボード18aおよびマウス18bを有する操作系18
と、スキャナ12で読み取られた画像、各種の操作指
示、様々な条件の設定/登録画面等を表示するモニタ2
0が接続される。なお、本発明の画像処理方法を実施す
る画像処理装置をソフトウエアで構成する場合には、こ
のソフトウエアを画像処理装置14、例えばそのCPU
にダウンロードするするために、この本発明のソフトフ
ォーカス処理を行うソフトウエアを記録した本発明の記
録媒体21aを駆動する駆動装置21が画像処理装置1
4に接続されていてもよい。
FIG. 1 is a block diagram of an embodiment of a digital photo printer to which an image processing apparatus according to the present invention for implementing the image processing method according to the present invention is applied. In the following description, a case in which soft focus processing is mainly performed as frequency processing according to the present invention will be described as a typical example. However, the present invention is not limited to this, and sharpness enhancement processing is performed as frequency processing according to the present invention. It may be something. In the following, a representative example in which the image processing apparatus of the present invention is configured as hardware will be mainly described. However, the present invention is not limited to this, and software, for example, software for implementing the image processing method of the present invention. Of course, it may be constituted as. Digital photo printer (hereinafter referred to as photo printer) 1 shown in FIG.
Reference numeral 0 denotes a scanner (image reading device) 12 that photoelectrically reads an image captured on the film F, image processing such as soft focus processing of image data (image information) read by the scanner 12, and the entire photo printer 10. Image processing device 14 for performing operations and control of the image processing, and image-exposing a photosensitive material (photographic paper) with a light beam modulated according to the image data output from the image processing device 14 and developing (finish) And an image recording device 16 for outputting a soft focus image as a print. The image processing apparatus 14 has an operation system 18 having a keyboard 18a and a mouse 18b for inputting various conditions such as input, setting, selection and instruction of processing, and instructions such as color / density correction.
And a monitor 2 that displays an image read by the scanner 12, various operation instructions, a setting / registration screen for various conditions, and the like.
0 is connected. When the image processing apparatus that performs the image processing method of the present invention is configured by software, the software is used for the image processing apparatus 14, such as its CPU.
The drive device 21 for driving the recording medium 21a of the present invention in which the software for performing the soft focus process of the present invention is recorded for downloading to the image processing apparatus 1
4 may be connected.

【0020】スキャナ12は、フィルムF等に撮影され
た画像を1コマずつ光電的に読み取る装置で、光源22
と、可変絞り24と、フィルムFに入射する読取光をフ
ィルムFの面方向で均一にする拡散ボックス26と、フ
ィルムFのキャリア28と、結像レンズユニット32
と、R(赤)、G(緑)およびB(青)の各色画像濃度
の読取に対応する3ラインCCDセンサを有するイメー
ジセンサ32と、アンプ(増幅器)33と、A/D(ア
ナログ/デジタル)変換器34とを有する。フォトプリ
ンタ10においては、スキャナ12の本体に装着自在な
専用のキャリア28が、新写真システム(Advanced Phot
o System)や135サイズのネガ(あるいはリバーサ
ル)フィルム等のフィルムFの種類やサイズ、ストリッ
プスやスライド等のフィルムの形態等に応じて用意され
ており、キャリア28の交換によって、各種のフィルム
や処理に対応することができる。フィルムに撮影され、
プリント作成に供される画像(コマ)は、このキャリア
28によって所定の読取位置に搬送される。
The scanner 12 is a device for photoelectrically reading an image photographed on a film F or the like one frame at a time.
A variable aperture 24, a diffusion box 26 for making the reading light incident on the film F uniform in the surface direction of the film F, a carrier 28 of the film F, and an imaging lens unit 32
, An image sensor 32 having a three-line CCD sensor corresponding to reading of image densities of R (red), G (green), and B (blue), an amplifier (amplifier) 33, and an A / D (analog / digital). ) A converter 34. In the photo printer 10, a dedicated carrier 28 that can be freely attached to the main body of the scanner 12 uses a new photo system (Advanced Photo
o System) and 135 size negative (or reversal) film, etc., and are prepared according to the type and size of the film F, the form of the film such as strips and slides, etc. Processing can be handled. Filmed on film,
An image (frame) to be used for print creation is conveyed by the carrier 28 to a predetermined reading position.

【0021】また、周知のように、新写真システムのフ
ィルムには、磁気記録媒体が形成され、カートリッジI
Dやフィルム種等が記録されており、また、撮影時や現
像時等に、撮影や現像日時、カメラや現像機の機種等の
各種のデータが記録可能である。新写真システムのフィ
ルム(カートリッジ)に対応するキャリア28には、こ
の磁気情報の読取手段が配置されており、フィルムを読
取位置に搬送する際に磁気情報を読み取り、これらの各
種の情報が画像処理装置14に送られる。このようなス
キャナ12において、フィルムFに撮影された画像を読
み取る際には、光源22から射出され、可変絞り24お
よび拡散ボックス26によって光量調整された均一な読
取光が、キャリア28によって所定の読取位置に位置さ
れたフィルムFに入射して、透過することにより、フィ
ルムFに撮影された画像を担持する投影光を得る。
As is well known, a magnetic recording medium is formed on the film of the new photographic system,
D, film type, and the like are recorded, and various data such as the date and time of photographing and development, and the type of camera and developing machine can be recorded at the time of photographing and development. The magnetic information reading means is arranged on the carrier 28 corresponding to the film (cartridge) of the new photographic system. The magnetic information is read when the film is transported to the reading position, and the various kinds of information are subjected to image processing. It is sent to the device 14. When an image captured on the film F is read by such a scanner 12, uniform reading light emitted from the light source 22 and adjusted in light amount by the variable aperture 24 and the diffusion box 26 is read by the carrier 28 in a predetermined manner. When the light is incident on and transmitted through the film F located at the position, projection light carrying an image photographed on the film F is obtained.

【0022】図示例のキャリア28は、24枚取りの1
35サイズのフィルムや新写真システムのカートリッジ
等の、長尺なフィルムF(ストリップス)に対応するも
のであり、図2(a)に模式的に示されるように、所定
の読取位置にフィルムFを位置しつつ、イメージセンサ
32の、例えば、RGBの3ラインCCDセンサの延在
方向(主走査方向)と直交する副走査方向に、フィルム
Fの長手方向を一致させて搬送する、読取位置を副走査
方向に挟んで配置される搬送ローラ対28aおよび28
bと、フィルムFの投影光を所定のスリット状に規制す
る、読取位置に対応して位置する主走査方向に延在する
スリット28cを有するマスク28dとを有する。フィ
ルムFは、このキャリア28によって読取位置に位置さ
れて副走査方向に搬送されつつ、読取光を入射される。
これにより、結果的にフィルムFが主走査方向に延在す
るスリット28cによって2次元的にスリット走査さ
れ、フィルムFに撮影された各コマの画像が読み取られ
る。
In the illustrated example, the carrier 28 is a 1
It corresponds to a long film F (strips) such as a 35-size film or a cartridge of a new photo system. As schematically shown in FIG. 2A, the film F is located at a predetermined reading position. While the image sensor 32 is conveyed in the sub-scanning direction orthogonal to the extending direction (main scanning direction) of, for example, an RGB three-line CCD sensor, the longitudinal direction of the film F being conveyed. Conveying roller pairs 28a and 28 interposed in the sub-scanning direction
b, and a mask 28d having a slit 28c that extends in the main scanning direction and that corresponds to the reading position and regulates the projection light of the film F into a predetermined slit shape. The film F is positioned at the reading position by the carrier 28, and is conveyed in the sub-scanning direction, and receives the reading light.
As a result, the film F is two-dimensionally slit-scanned by the slit 28c extending in the main scanning direction, and the image of each frame captured on the film F is read.

【0023】フィルムFの投影光は、結像レンズユニッ
ト30によってイメージセンサ32の受光面に結像され
る。図2(b)に示されるように、イメージセンサ32
は、R画像の読み取りを行うラインCCDセンサ32
R、G画像の読み取りを行うラインCCDセンサ32
G、およびB画像の読み取りを行うラインCCDセンサ
32Bを有する、いわゆる3ラインのカラーCCDセン
サで、各ラインCCDセンサは、前述のように主走査方
向に延在している。フィルムFの投影光は、このイメー
ジセンサ32によって、R、GおよびBの3原色に分解
されて光電的に読み取られる。イメージセンサ32から
出力されたR、GおよびBの各出力信号は、アンプ33
で増幅されて、A/D変換器34に送られ、A/D変換
器34において、それぞれ、例えば12bitのRGB
デジタル画像データに変換された後、画像処理装置14
に出力される。このRGBデジタル画像データは、被写
体輝度あるいは入射光強度に対応または比例した量を表
わす画像信号(画像濃度データ)ということができる。
The projection light of the film F is imaged on the light receiving surface of the image sensor 32 by the imaging lens unit 30. As shown in FIG. 2B, the image sensor 32
Is a line CCD sensor 32 for reading an R image
Line CCD sensor 32 for reading R and G images
This is a so-called three-line color CCD sensor having a line CCD sensor 32B for reading the G and B images. Each line CCD sensor extends in the main scanning direction as described above. The projection light of the film F is separated into three primary colors of R, G and B by the image sensor 32 and read photoelectrically. The R, G, and B output signals output from the image sensor 32 are
, And is sent to the A / D converter 34. In the A / D converter 34, for example, 12-bit RGB
After being converted into digital image data, the image processing device 14
Is output to The RGB digital image data can be called an image signal (image density data) representing an amount corresponding to or proportional to the luminance of the subject or the intensity of the incident light.

【0024】なお、スキャナ12においては、フィルム
Fに撮影された画像を読み取るに際し、低解像度で読み
取るプレスキャン(第1回目の画像読取)と、出力画像
の画像データを得るためのファインスキャン(第2回目
の画像読取)との2回の画像読取を行う。ここで、プレ
スキャンは、スキャナ12が対象とするフィルムFの全
ての画像を、イメージセンサ32が飽和することなく読
み取れるように、あらかじめ設定されたプレスキャン読
取条件で行われる。一方、ファインスキャンは、プレス
キャンデータから、その画像(コマ)の最低濃度よりも
若干低い濃度でイメージセンサ32が飽和するように、
各コマ毎に設定されたファインスキャンの読取条件で行
われる。なお、プレスキャンおよびファインスキャン出
力画像信号は、解像度および出力画像信号レベルが異な
る以外は、基本的に同様な画像データである。
In the scanner 12, when reading an image photographed on the film F, a prescan (first image reading) for reading at a low resolution and a fine scan (first image reading) for obtaining image data of an output image are performed. (2nd image reading). Here, the pre-scan is performed under pre-scan reading conditions set in advance so that the image sensor 32 can read all images of the film F to be scanned by the scanner 12 without saturation. On the other hand, the fine scan is performed such that the image sensor 32 is saturated at a density slightly lower than the minimum density of the image (frame) from the pre-scan data.
The scanning is performed under the fine scanning reading conditions set for each frame. The prescan and fine scan output image signals are basically the same image data except that the resolution and the output image signal level are different.

【0025】なお、フォトプリンタ10に用いられるス
キャナ12は、このようなスリット走査読取を行うもの
に限定されず、1コマのフィルム画像の全面を一度に読
み取る面状読取を行うものであってもよい。この場合に
は、例えばエリアCCDセンサなどのエリアセンサを用
い、光源22とフィルムFのとの間にR、GおよびBの
各色フィルタの挿入手段を設け、光源からの射出光の光
路に挿入して、色フィルタを透過した読取光をフィルム
F全面に照射して、透過光をエリアCCDセンサに結像
させてフィルム全画像を読み取ることを、R、Gおよび
Bの各色フィルタを切り換えて順次行うことで、フィル
ムFに撮影された画像を3原色に分解して読み取る。
The scanner 12 used in the photo printer 10 is not limited to the one that performs such a slit scan reading, and may be the one that performs a planar reading that reads the entire surface of one frame of a film image at a time. Good. In this case, for example, an area sensor such as an area CCD sensor is used, and means for inserting R, G, and B color filters are provided between the light source 22 and the film F, and inserted into the optical path of light emitted from the light source. Then, the reading light transmitted through the color filter is irradiated onto the entire surface of the film F, and the transmitted light is focused on the area CCD sensor to read the entire image of the film F by sequentially switching the R, G, and B color filters. Accordingly, the image photographed on the film F is separated into three primary colors and read.

【0026】前述したように、スキャナ12から出力さ
れるデジタル画像データ信号は、本発明の特徴とする画
像処理装置14に出力される。図3に、本発明の画像処
理装置(以下、処理装置という)14のブロック図を示
す。ここで、処理装置14は、スキャナ補正部36、L
OG変換器38、プレスキャン(フレーム)メモリ4
0、ファインスキャン(フレーム)メモリ42、プレス
キャンデータ処理部44、本発明の特徴とするソフトフ
ォーカス画像の作成を行うファインスキャンデータ処理
部46、および条件設定部48を有する。なお、図3は
主に画像処理関連の部分を示すものであり、処理装置1
4には、これ以外にも、処理装置14を含むフォトプリ
ンタ10全体の制御や管理を行うCPU、フォトプリン
タ10の作動等に必要な情報を記憶するメモリ等が配設
され、また、操作系18やモニタ20は、このCPU等
(CPUバス)を介して各部分に接続される。
As described above, the digital image data signal output from the scanner 12 is output to the image processing device 14 which is a feature of the present invention. FIG. 3 shows a block diagram of an image processing apparatus (hereinafter, referred to as a processing apparatus) 14 of the present invention. Here, the processing device 14 includes a scanner correction unit 36, L
OG converter 38, prescan (frame) memory 4
0, a fine scan (frame) memory 42, a pre-scan data processing unit 44, a fine scan data processing unit 46 for creating a soft focus image which is a feature of the present invention, and a condition setting unit 48. FIG. 3 mainly shows a part related to image processing, and the processing device 1
The CPU 4 further includes a CPU for controlling and managing the entire photo printer 10 including the processing device 14, a memory for storing information necessary for the operation of the photo printer 10, and the like. The monitor 18 and the monitor 20 are connected to each section via the CPU or the like (CPU bus).

【0027】スキャナ12から処理装置14に入力され
たR、GおよびBの画像信号、例えば12bitのデジ
タル画像データは、スキャナ補正部36に入力される。
スキャナ補正部36は、スキャナ12のイメージセンサ
32の3ラインCCDセンサ32R、32G、32Bに
起因する、RGBデジタル画像データの画素毎の感度バ
ラツキや暗電流を補正するためにDCオフセット補正、
暗時補正、欠陥画素補正、シェーディング補正等の読取
画像データのデータ補正を行うものである。スキャナ補
正部36で画素毎の感度バラツキや暗電流の補正処理等
が施されたデジタル画像信号は、LOG変換器に出力さ
れる。LOG変換器38は、対数変換処理してデジタル
画像データを階調変換してデジタル画像濃度データに変
換するものであって、例えば、ルックアップテーブル
(LUT)を用いて、スキャナ補正部26で補正された
例えば、12bitのデジタル画像データを変換して、
例えば、10bit(0〜1023)のデジタル画像濃
度データに変換する。
The R, G, and B image signals input from the scanner 12 to the processing device 14, for example, 12-bit digital image data, are input to the scanner correction unit 36.
The scanner correction unit 36 performs DC offset correction to correct the sensitivity variation and dark current of each pixel of the RGB digital image data due to the three-line CCD sensors 32R, 32G, and 32B of the image sensor 32 of the scanner 12,
It performs data correction of the read image data such as darkness correction, defective pixel correction, and shading correction. The digital image signal that has been subjected to the correction process for the sensitivity variation and dark current for each pixel by the scanner correction unit 36 is output to the LOG converter. The LOG converter 38 converts the digital image data into gradation data by performing a logarithmic conversion process to convert the digital image data into digital image density data. For example, the LOG converter 38 corrects the digital image data using a lookup table (LUT) in the scanner correction unit 26. For example, by converting the 12-bit digital image data
For example, it is converted into digital image density data of 10 bits (0 to 1023).

【0028】LOG変換器38で変換されたデジタル画
像濃度データは、プレスキャン画像データであればプレ
スキャンメモリ40に、ファインスキャン画像データで
あればファインスキャンメモリ42に、それぞれ記憶
(格納)される。プレスキャンメモリ40は、スキャナ
12によるフィルムFのプレスキャンによって得られ、
各種のデータ補正および対数変換処理が施されたフィル
ムFの1コマ全部の低解像度画像濃度データをRGBの
各色毎に格納または記憶するためフレームメモリであ
る。プレスキャンメモリ40は、フィルムFの1コマの
RGB3色の画像濃度データを格納できる容量が少なく
とも必要であるが、複数コマ分の画像濃度データを格納
できる容量を持つものであってもよいし、1コマ分の容
量のメモリを多数備えるものであってもよい。プレスキ
ャンメモリ40に記憶されたプレスキャン画像データ
は、プレスキャンデータ処理部44に読み出される。
The digital image density data converted by the LOG converter 38 is stored (stored) in the pre-scan memory 40 if it is pre-scan image data and in the fine scan memory 42 if it is fine scan image data. . The pre-scan memory 40 is obtained by pre-scanning the film F by the scanner 12,
This is a frame memory for storing or storing the low-resolution image density data of the entire frame of the film F subjected to various data corrections and logarithmic conversion processes for each of the RGB colors. The pre-scan memory 40 needs at least a capacity capable of storing image density data of one frame of the film F in three colors of RGB, but may have a capacity capable of storing image density data of a plurality of frames. It may have a large number of memories each having a capacity of one frame. The pre-scan image data stored in the pre-scan memory 40 is read by the pre-scan data processing unit 44.

【0029】一方、ファインスキャンメモリ42は、ス
キャナ12によるフィルムFのファインスキャンによっ
て得られ、各種のデータ補正および対数変換処理が施さ
れたフィルムFの1コマ全部の高解像度画像濃度データ
をRGBの各色毎に格納または記憶するためフレームメ
モリである。ファインスキャンメモリ42は、少なくと
もフィルムFの2コマの画像のRGB3色の画像濃度デ
ータを格納できる容量を持ち、1コマ分の画像濃度デー
タを書き込んでいる間に、別の1コマ分の画像濃度デー
タを読み出し、ファインスキャンデータ処理部46にお
いて本発明の特徴とするソフトフォーカス画像の作成を
行うための様々な処理を同時に行うようにするのが好ま
しいが、本発明はこれに限定されず、1コマ分の画像濃
度データを格納できる容量を持ち1コマづつ処理するた
めのものであってもよい。また、1コマ分の容量のメモ
リを多数備え、例えばトグルメモリとし利用できるもの
であってもよい。ファインスキャンメモリ42に記憶さ
れたファインスキャン画像データは、ファインスキャン
データ処理部46に読み出される。
On the other hand, the fine scan memory 42 stores the high-resolution image density data of the entire frame of the film F obtained by the fine scan of the film F by the scanner 12 and subjected to various data corrections and logarithmic conversion processes. It is a frame memory for storing or storing for each color. The fine scan memory 42 has a capacity to store at least image density data of three colors of RGB of two images of the film F, and while writing image density data of one frame, image density of another one frame is written. It is preferable that the data is read out and the fine scan data processing unit 46 simultaneously performs various processes for creating a soft focus image which is a feature of the present invention. However, the present invention is not limited to this. It may have a capacity to store the image density data of the frames and process the images one by one. Alternatively, a memory having a large capacity for one frame may be used, for example, a toggle memory. The fine scan image data stored in the fine scan memory 42 is read out by the fine scan data processing unit 46.

【0030】プレスキャンメモリ40に記憶されたプレ
スキャン画像データに、モニタ20に表示するのに必要
な種々の画像処理を施すプレスキャンデータ処理部44
は、画像処理部50と、画像データ変換部52とを有す
る。ここで、画像処理部50は、後述する条件設定部4
8が設定した画像処理条件に従って、スキャナ12によ
って読み取られ、プレスキャンメモリ42に記憶された
画像データに、所望の画質で、後述するモニタ20のC
RT表示画面にカラー画像が再生可能なように、ルック
アップテーブル(以下、LUTで代表させる)やマトリ
ックス(以下、MTXで代表させる)演算により、階調
補正、色変換、濃度変換などの所定の画像処理を施すた
めのものである。画像データ変換部52は、画像処理部
50によって処理された画像データを、モニタ20の解
像度に合わせるために必要に応じて間引いて、同様に、
3D(3次元)LUT等を用いて、モニタ20による表
示に対応する画像データに変換して、モニタ20に表示
させるためのものである。なお、画像処理部50におけ
る処理条件は、後述する条件設定部48で設定される。
A prescan data processing unit 44 for performing various image processing required for displaying on the monitor 20 on the prescan image data stored in the prescan memory 40
Has an image processing unit 50 and an image data conversion unit 52. Here, the image processing unit 50 includes a condition setting unit 4 described below.
The image data read by the scanner 12 and stored in the pre-scan memory 42 in accordance with the image processing conditions set by
In order to reproduce a color image on the RT display screen, predetermined operations such as gradation correction, color conversion, and density conversion are performed by a lookup table (hereinafter, represented by LUT) or matrix (hereinafter, represented by MTX) calculation. This is for performing image processing. The image data conversion unit 52 thins out the image data processed by the image processing unit 50 as necessary in order to match the resolution of the monitor 20.
Using a 3D (three-dimensional) LUT or the like, the data is converted into image data corresponding to the display on the monitor 20 and displayed on the monitor 20. The processing conditions in the image processing unit 50 are set by a condition setting unit 48 described later.

【0031】一方、ファインスキャンメモリ42に記憶
されたファインスキャン画像データに、画像記録装置1
6からカラープリントとして出力するのに必要な種々の
画像処理および本発明のソフトフォーカス画像作成処理
を行うファインスキャンデータ処理部46は、画像処理
部54と、画像データ変換部56とを有する。ここで、
画像処理部54は、後述する条件設定部48が設定した
画像処理条件に従って、スキャナ12によって読み取ら
れ、ファインスキャンメモリ42に記憶された画像デー
タに、カラープリントとして所望の濃度、階調および色
調で、カラーぺーパ上にカラー画像、または本発明が目
的とするカラーソフトフォーカス画像が再生可能なよう
に、LUT、MTX演算器、ローパスフィルタ、加減算
器などにより、色バランス調整、階調調整、色調整、濃
度調整、彩度調整、電子変倍や、周波数処理、例えばシ
ャープネス強調(エッジ強調;鮮鋭化)、覆い焼き(濃
度ダイナミックレンジ圧縮/伸長)またはソフトフォー
カス画像作成、周波数帯域によるゲイン調整、画像濃度
判定などの種々の画像処理を施すためのものであり、そ
の詳細については、後述する。画像データ変換部56
は、画像処理部54によって処理された周波数処理画像
データ、ここではソフトフォーカス画像データを、例え
ば、3DLUT等を用いて、画像記録装置16による画
像記録に対応する画像データ変換して、画像記録装置1
6に供給する。画像記録装置16は、ファインスキャン
データ処理部46から出力される画像データに基づい
て、カラープリント上に周波数処理カラー画像、ここで
はカラーソフトフォーカス画像が再現された仕上がりプ
リントとして出力するためのものである。
On the other hand, the fine scan image data stored in the fine scan memory 42 is added to the image recording device 1.
The fine scan data processing unit 46 that performs various image processing necessary for outputting as a color print from the printer 6 and the soft focus image creation processing of the present invention includes an image processing unit 54 and an image data conversion unit 56. here,
The image processing unit 54 converts the image data read by the scanner 12 and stored in the fine scan memory 42 into a desired density, gradation, and color tone as a color print in accordance with image processing conditions set by a condition setting unit 48 described later. LUT, MTX calculator, low-pass filter, adder / subtractor, etc., so that a color image or a color soft focus image intended by the present invention can be reproduced on a color paper. Adjustment, density adjustment, saturation adjustment, electronic scaling, frequency processing, such as sharpness enhancement (edge enhancement; sharpening), dodging (density dynamic range compression / expansion) or soft focus image creation, gain adjustment by frequency band, It is for performing various image processing such as image density determination. Which will be described later. Image data converter 56
Converts the frequency-processed image data processed by the image processing unit 54, here the soft focus image data, into image data corresponding to image recording by the image recording device 16 using, for example, a 3DLUT, 1
6 The image recording device 16 is for outputting a frequency-processed color image on a color print based on the image data output from the fine scan data processing unit 46, here as a finished print in which a color soft focus image is reproduced. is there.

【0032】なお、画像処理部54における処理条件
は、後述する条件設定部48で設定される。次に、条件
設定部48は、ファインスキャンの読取条件、プレスキ
ャンデータ処理部44およびファインスキャンデータ処
理部46における各種の処理条件を設定する。この条件
設定部48は、セットアップ部58、キー補正部60お
よびパラメータ統合部62を有する。セットアップ部5
8は、プレスキャン画像データ等を用いて、ファインス
キャンの読取条件を設定してスキャナ12に供給し、ま
た、プレスキャンデータ処理部44およびファインスキ
ャンデータ処理部46の画像処理条件を作成(演算)
し、パラメータ統合部62に供給する。
The processing conditions in the image processing section 54 are set by a condition setting section 48 described later. Next, the condition setting unit 48 sets the reading conditions of the fine scan, and various processing conditions in the pre-scan data processing unit 44 and the fine scan data processing unit 46. The condition setting unit 48 includes a setup unit 58, a key correction unit 60, and a parameter integration unit 62. Setup part 5
8 sets the fine scan reading conditions using the prescan image data and supplies the same to the scanner 12, and creates the image processing conditions of the prescan data processing unit 44 and the fine scan data processing unit 46 (calculation). )
Then, the parameter is supplied to the parameter integration unit 62.

【0033】具体的には、セットアップ部58は、プレ
スキャンメモリ40からプレスキャン画像データを読み
出し、プレスキャン画像データから、濃度ヒストグラム
の作成や、平均濃度、LATD(大面積透過濃度)、ハ
イライト(最低濃度)、シャドー(最高濃度)等の画像
特徴量の算出を行う。算出した画像特徴量から、その画
像の最低濃度よりも若干低濃度でイメージセンサ32
(ラインCCDセンサ32R、32G、32B)が飽和
するように、ファインスキャンの読取条件、例えば、光
源22の光量、可変絞り24の絞り値、イメージセンサ
32の(各ラインCCDセンサ32R、32G、32B
の)蓄積時間等を設定する。なお、ファインスキャンの
読取条件は、プレスキャンの読取条件に対して、イメー
ジセンサの出力レベルに対応する全ての要素を変更して
もよく、前記絞り値等のいずれか1つの要素のみを変更
するものでもよく、絞り値と蓄積時間等の複数の要素の
みを変更するものでもよい。さらに、セットアップ部5
8は、濃度ヒストグラムや画像特徴量と、必要に応じて
行われるオペレータによる指示等に応じて、前述の色バ
ランス調整や階調調整等の画像処理条件、例えば、ファ
インスキャン画像データを最終的に仕上がりプリントと
して画像記録装置16から出力する際、プリント観察時
のフレアの影響や、色鮮やかさの向上などを考慮して行
われる階調を立てる(硬調化)等の絵作り処理の処理条
件などをも設定する。
More specifically, the set-up section 58 reads out the pre-scan image data from the pre-scan memory 40, and creates a density histogram, average density, LATD (large area transmission density), and highlight from the pre-scan image data. Calculation of image feature amounts such as (lowest density) and shadow (highest density) is performed. Based on the calculated image feature amount, the image sensor 32 has a density slightly lower than the lowest density of the image.
In order to saturate the (line CCD sensors 32R, 32G, 32B), the reading conditions of the fine scan, for example, the light amount of the light source 22, the aperture value of the variable aperture 24, and the (each line CCD sensor 32R, 32G, 32B) of the image sensor 32
) Set the accumulation time. The fine scan reading condition may change all the elements corresponding to the output level of the image sensor with respect to the prescan reading condition, or change only one element such as the aperture value. Alternatively, only a plurality of factors such as the aperture value and the accumulation time may be changed. Furthermore, the setup unit 5
Reference numeral 8 denotes image processing conditions such as color balance adjustment and gradation adjustment, for example, fine scan image data, which are finally obtained in accordance with a density histogram, an image feature amount, and an instruction from an operator performed as necessary. When output from the image recording device 16 as a finished print, processing conditions such as flare at the time of print observation and image forming processing such as setting a gradation (high contrast) to be performed in consideration of the improvement of color vividness, etc. Is also set.

【0034】キー補正部60は、キーボード18aや操
作系18に設けられたキー(図示せず)によって設定さ
れた濃度(明るさ)、色、コントラスト、シャープネ
ス、彩度、本発明のソフトフォーカス画像作成のための
中高周波のゲイン、原画像とボケ画像との加算比率等の
調整量やマウス18bで入力された各種の指示等に応じ
て、画像処理条件の調整量(例えば、LUTの補正量
等)を算出し、パラメータを設定し、パラメータ統合部
62に供給するものである。パラメータ統合部62は、
セットアップ部58が設定した画像処理条件を受け取
り、供給された画像処理条件を、プレスキャンデータ処
理部44の画像処理部50およびファインスキャンデー
タ処理部46の画像処理部54に設定し、さらに、キー
補正部60で算出された調整量に応じて、各部分に設定
した画像処理条件を補正(調整)し、あるいは画像処理
条件を再設定する。
The key correction unit 60 is provided with a density (brightness), a color, a contrast, a sharpness, a saturation, and a soft focus image set by a key (not shown) provided on the keyboard 18a or the operation system 18. The amount of adjustment of image processing conditions (for example, the amount of LUT correction) in accordance with the amount of adjustment of the medium-high frequency gain for creation, the addition ratio of the original image and the blurred image, and various instructions input with the mouse 18b Etc.), set parameters, and supply them to the parameter integration unit 62. The parameter integration unit 62
The image processing conditions set by the setup unit 58 are received, and the supplied image processing conditions are set in the image processing unit 50 of the pre-scan data processing unit 44 and the image processing unit 54 of the fine scan data processing unit 46. The image processing conditions set for each part are corrected (adjusted) or the image processing conditions are reset according to the adjustment amount calculated by the correction unit 60.

【0035】続いて、本発明の特徴とする、ソフトフォ
ーカス画像を作成するためのファインスキャンデータ処
理部46の画像処理部54について、詳細に説明する。
図4は、画像処理部54の一実施例の詳細を示すブロッ
ク図である。図4に示すように、画像処理部54は、画
像データの濃度、色および階調を変換する色濃度階調変
換手段64、画像データの彩度を変換する彩度変換手段
66、画像データの画素数を変換するディジタル倍率変
換(電子変倍)手段68および画像データに周波数処理
を施す周波数処理手段70ならびに画像データの濃度ダ
イナミックレンジを変換するか、または画像にソフトフ
ォーカスを掛けるためのソフトフォーカス処理手段72
を備えている。
Next, the image processing unit 54 of the fine scan data processing unit 46 for creating a soft focus image, which is a feature of the present invention, will be described in detail.
FIG. 4 is a block diagram illustrating details of one embodiment of the image processing unit 54. As shown in FIG. 4, the image processing unit 54 includes a color density gradation conversion unit 64 that converts the density, color, and gradation of the image data, a saturation conversion unit 66 that converts the saturation of the image data, Digital magnification conversion (electronic scaling) means 68 for converting the number of pixels, frequency processing means 70 for performing frequency processing on image data, and soft focus for converting the density dynamic range of image data or applying soft focus to an image Processing means 72
It has.

【0036】画像処理部54において、色濃度階調変換
手段64は、LUT等に従って、画像データから濃度デ
ータ、色データおよび階調データに変換するものであ
る。また、彩度変換手段66は、色濃度階調変換手段6
4によって得られた画像データの彩度データをMTX演
算等に従って変換するものである。また、電子変倍手段
68は、画像記録装置16においてカラーペーパに出力
するカラー画像のサイズに応じて、かつ出力画素密度に
合わせて、彩度変換手段66によって彩度変換された画
像データを補間したり、間引いたりして、画像データの
画素データ数を増減するものである。周波数処理手段7
0は、電子変倍手段68から所定出力サイズおよび出力
画素密度の画像データに電子変倍された画像データを、
エッジ強調などの周波数処理を施すもので、周波数処理
された画像データは、ソフトフォーカス処理手段72に
入力される。なお、本発明においては、電子変倍手段6
8から出力された電子変倍画像データは、周波数処理手
段70をパスして、直接ソフトフォーカス処理手段72
に入力されるように画像処理部54を構成してもよい。
In the image processing section 54, a color density gradation conversion means 64 converts image data into density data, color data and gradation data according to an LUT or the like. Further, the saturation conversion means 66 includes a color density gradation conversion means 6.
4 is to convert the saturation data of the image data obtained in step 4 in accordance with MTX operation or the like. The electronic scaling unit 68 interpolates the image data subjected to the saturation conversion by the saturation conversion unit 66 according to the size of the color image output to the color paper in the image recording device 16 and according to the output pixel density. In this case, the number of pixel data of the image data is increased or decreased by thinning or thinning. Frequency processing means 7
0 denotes image data electronically scaled by the electronic scaling means 68 to image data of a predetermined output size and output pixel density,
The image data subjected to frequency processing such as edge enhancement is input to the soft focus processing unit 72. In the present invention, the electronic zooming means 6 is used.
The electronic variable-magnification image data output from 8 passes through the frequency processing unit 70 and directly enters the soft focus processing unit 72.
The image processing unit 54 may be configured so as to be input to the.

【0037】一般に、カメラを用いてソフトフォーカス
画像を生成する場合には、被写体を多重露光することに
より、すなわち、通常の露光条件で、撮影し、再度、ボ
ケた画像が得られるように撮影することにより、ソフト
フォーカス画像を生成している。このため、本発明にお
いては、基本的には、特開平9−172600号公報に
開示された覆い焼き処理手段を応用したソフトフォーカ
ス処理手段を用いて原画像信号からボケた画像に対応す
る画像信号を生成し、このボケ画像信号と原画像信号と
合成することにより、ソフトフォーカス画像を生成す
る。図5は、ソフトフォーカス処理手段72の一実施例
の詳細を示すブロックダイアグラムである。このソフト
フォーカス処理手段72は、本発明の画像処理装置の1
4の特徴とする部分であって、本発明の画像処理方法を
実施する。
In general, when a soft focus image is generated using a camera, a subject is subjected to multiple exposure, that is, photographing is performed under normal exposure conditions, and photographing is performed again to obtain a blurred image. Thus, a soft focus image is generated. For this reason, in the present invention, basically, an image signal corresponding to an image blurred from an original image signal by using a soft focus processing unit to which a dodging processing unit disclosed in Japanese Patent Application Laid-Open No. 9-172600 is applied. Is generated, and the blurred image signal and the original image signal are combined to generate a soft focus image. FIG. 5 is a block diagram showing details of one embodiment of the soft focus processing means 72. This soft focus processing means 72 is a part of the image processing apparatus of the present invention.
This is a feature of the fourth aspect, and implements the image processing method of the present invention.

【0038】図5に示すように、ソフトフォーカス処理
手段72は、画像濃度データを対数変換前、べき乗変換
前あるいはデジタル輝度出力値への変換前の露光量デー
タ(例えば、対数変換前のデータの場合には真数画像デ
ータということができる)、すなわち画像データの濃度
信号を被写体輝度、入射光強度あるいは再生輝度に対応
した量を表わす変換画像信号に変換した後、画像データ
の濃度信号レベルのダイナミックレンジ、特にフィルム
画像などの原稿画像の持つ広い濃度ダイナミックレンジ
を圧縮して、カラーペーパなど出力媒体の持つ濃度信号
のより狭いダイナミックレンジに合わせ、原稿画像の低
濃度(ハイライト)部のとびや高濃度(シャドウ)部の
つぶれを生じさせることなく、カラー画像を再現する
か、または本発明の特徴とする画像露光量データ(真数
画像データ)に所定のスムージング処理などの適切なソ
フトフォーカス処理を施して、カラー画像を輪郭(エッ
ジ)などの画像の芯を残したい部分には画像の芯のボケ
がなく、肌やハイライト部等のソフト感を出したい部分
には粒状のざらつきなどがなく、アナログ系のフレアー
の感じのある最適なソフトフォーカス画像として再現す
るかのいずれかが可能なように、画像データを処理でき
るように構成されており、色調変換手段74と、露光量
変換手段75と、ゲイン調整手段76と、輝度信号変換
手段78と、ローパスフィルタ80と、濃度ダイナミッ
クレンジ圧縮手段82と、画像濃度判定手段84と、加
算比率調整手段86と、画像信号合成手段88と、濃度
データ変換手段90とを備えている。
As shown in FIG. 5, the soft focus processing means 72 performs exposure data (for example, data conversion before logarithmic conversion) on the image density data before logarithmic conversion, before power conversion, or before conversion into digital luminance output values. In this case, it can be called true image data), that is, after converting the density signal of the image data into a converted image signal representing an amount corresponding to the subject luminance, the incident light intensity or the reproduction luminance, the density signal level of the image data is The dynamic range, especially the wide density dynamic range of the original image such as a film image, is compressed to match the narrower dynamic range of the density signal of the output medium such as color paper, and the low density (highlight) part of the original image is skipped. Color images can be reproduced without causing crushing of high-density (shadow) parts or An appropriate soft focus process such as a predetermined smoothing process is applied to the image exposure amount data (antilog image data) to be used as a feature, so that the image of the color image is placed in a portion where the image center such as an outline (edge) is to be left. There is no blurring, and there is no grainy part in the part that wants to give a soft feeling such as skin or highlight part, and it can be reproduced as an optimal soft focus image with the feeling of analog flare Thus, the image data can be processed, and the color tone conversion means 74, the exposure amount conversion means 75, the gain adjustment means 76, the luminance signal conversion means 78, the low pass filter 80, the density dynamic range compression A means 82, an image density determining means 84, an addition ratio adjusting means 86, an image signal combining means 88, and a density data converting means 90 are provided.

【0039】ソフトフォーカス処理手段72において、
色調変換手段74は、周波数処理手段70により周波数
処理が施された画像データの色調信号レベルを変換して
原画像信号とするためのものである。露光量変換手段7
5は、本発明の特徴とする部分の1つであって、色調変
換手段74によって色調変換された原画像信号を露光量
画像信号に、すなわちデジタル画像濃度データを露光量
データに変換する露光量変換(例えば、真数変換、すな
わち指数変換)処理を行うためのものである。図1に示
すようなフォトプリンタ10では、スキャナ12によっ
てフィルム画像から光電的に読み取られた画像濃度デー
タが用いられるので、画像処理装置14の処理対象とな
る画像データは、通常下記式で表される対数スケールの
画像データ(濃度データ)である。 D=c1 +c2 LogE ここで、Dは濃度データであり、Eは露光量データ(真
数量データ)であり、c 1 およびc2 は定数である。し
かしながら、スキャナ12によってフィルム画像を光電
的に読み取り、デジタル画像データを得る場合には、入
力はフィルムFであるために入力画像信号そのものから
は実際にカメラでフィルムFに撮影されたときの露光量
(真数量)を知ることはできない。このため、露光量変
換手段75では、指数変換を含む以下のような方法で露
光量(真数量)を算出する。以下の説明では、フィルム
画像から光電的に読み取られた画像濃度データを対象と
することから、この画像濃度データは対数露光量であ
り、露光量は真数量となるので、被写体輝度、入射光強
度あるいは再生輝度に対応した量を表わす変換画像信号
を意味する露光量の代表例として真数量を取り上げる
が、本発明がこれに限定されないことはもちろんであ
る。
In the soft focus processing means 72,
The tone conversion unit 74 uses the frequency processing unit 70
Convert the tone signal level of the processed image data
This is for use as an original image signal. Exposure conversion means 7
Numeral 5 is one of the characteristic features of the present invention,
The original image signal whose color tone has been converted by the conversion means 74
Exposure to image signal, i.e. digital image density data
Exposure conversion (e.g., antilog conversion,
(Exponential conversion) processing. As shown in FIG.
In such a photo printer 10, the scanner 12
Image density data read photoelectrically from the film image
Is used as a processing target of the image processing apparatus 14.
Image data is usually expressed on a logarithmic scale expressed by the following equation.
Image data (density data). D = c1+ CTwoHere, D is density data, and E is exposure amount data (true
Quantity data) and c 1And cTwoIs a constant. I
However, the film image is photoelectrically scanned by the scanner 12.
To obtain digital image data
Since the force is film F, the input image signal itself
Is the exposure when the camera actually shoots the film F
(True quantity) cannot be known. Therefore, the exposure
The conversion means 75 includes the following method including exponential conversion.
Calculate the light quantity (true quantity). In the following description, the film
Image density data read photoelectrically from an image
Therefore, this image density data is a log exposure
The exposure amount is a true quantity, so the subject brightness and incident light intensity
Converted image signal representing the amount corresponding to the degree or the reproduction luminance
Take the true quantity as a typical example of the exposure amount that means
However, it goes without saying that the present invention is not limited to this.
You.

【0040】まず、ソフトフォーカス画像を再現するた
めに画像記録装置16で使用するプリントペーパーにつ
いては、プリント濃度とスキャナ12で読み取られるフ
ィルムFのフィルム濃度との間の濃度特性は定められて
いる。例えば、プリントペーパーのプリント濃度とネガ
フィルムFのネガ濃度との間には、図6に示すグラフ
(以下、グラフという)のような濃度特性がある。一
方、フィルムFについては、対数露光量とフィルム濃度
との間の濃度特性を定められている。例えば、フィルム
Fの対数露光量とネガ濃度との間には、図7に示すグラ
フ(以下、グラフという)のような濃度特性がある。
次いで、これらの2つの濃度特性からフィルム濃度を介
してプリント濃度と対数露光量との関係を算出する。例
えば、図8に示すように、プリント濃度とネガ濃度との
関係のグラフおよび対数露光量とネガ濃度との関係の
グラフの2つのグラフから、ネガ濃度を介して対数露
光量の大小関係を揃えることにより、プリント濃度と対
数露光量との関係を示すグラフを求めることができ
る。
First, with respect to the print paper used in the image recording device 16 for reproducing the soft focus image, the density characteristics between the print density and the film density of the film F read by the scanner 12 are determined. For example, there is a density characteristic between the print density of the print paper and the negative density of the negative film F as shown in a graph (hereinafter, referred to as a graph) shown in FIG. On the other hand, for the film F, a density characteristic between the logarithmic exposure amount and the film density is defined. For example, there is a density characteristic between the logarithmic exposure amount of the film F and the negative density as shown in a graph (hereinafter, referred to as a graph) shown in FIG.
Next, the relationship between the print density and the logarithmic exposure amount is calculated from these two density characteristics via the film density. For example, as shown in FIG. 8, the magnitude relationship of the log exposure amount is aligned via the negative density from two graphs, that is, a graph showing a relationship between the print density and the negative density and a graph showing a relationship between the log exposure amount and the negative density. Thereby, a graph showing the relationship between the print density and the logarithmic exposure can be obtained.

【0041】また、図1に示すフォトプリンタ10にお
いては、LOG変換器38による対数変換処理後のデジ
タル画像データ、すなわちデジタル画像濃度データ、例
えば画像処理装置14の外部出力とプリント濃度との間
には予め定められた関係、例えば図9に示すグラフの
ような関係がある。そこで、先に得られたプリント濃度
と対数露光量との関係およびデジタル画像濃度データと
プリント濃度との関係から、プリント濃度および対数露
光量と真数量データとの関係、すなわち指数変換を介し
て、デジタル画像濃度データと真数量との関係を求める
ことができる。例えば、図10に示すように、図8に示
すプリント濃度と対数露光量との関係のグラフおよび
図9に示すデジタル画像濃度データとプリント濃度との
関係のグラフとをプリント濃度を介して対応させ、対
数露光量と真数量データとの関係、すなわち指数変換を
示すグラフを介して、デジタル画像濃度データを真数
量データに対応させることにより、デジタル画像濃度デ
ータと真数量データとの間の関係を示すグラフを求め
ることができる。こうして得られたデジタル画像濃度デ
ータと真数量データとの間の関係を示すグラフの全体
を図11示す。
Further, in the photo printer 10 shown in FIG. 1, digital image data after logarithmic conversion processing by the LOG converter 38, ie, digital image density data, for example, between the external output of the image processing apparatus 14 and the print density. Has a predetermined relationship, for example, a relationship like a graph shown in FIG. Therefore, from the relationship between the print density and the log exposure amount obtained earlier and the relationship between the digital image density data and the print density, the relationship between the print density and the log exposure amount and the true quantity data, that is, through exponential conversion, The relationship between the digital image density data and the true quantity can be obtained. For example, as shown in FIG. 10, a graph of the relationship between the print density and the logarithmic exposure amount shown in FIG. 8 and a graph of the relationship between the digital image density data and the print density shown in FIG. The relationship between the digital image density data and the true quantity data is obtained by associating the digital image density data with the true quantity data via a graph showing the relationship between the logarithmic exposure amount and the true quantity data, i.e., the exponential conversion. A graph shown can be obtained. FIG. 11 shows an entire graph showing the relationship between the digital image density data and the true quantity data thus obtained.

【0042】露光量変換手段75においては、このよう
にして求められたデジタル画像濃度データと真数量デー
タとの間の関係、例えば図11に示すグラフを用い
て、デジタル画像濃度データを真数量データに変換する
真数変換処理を行う。露光量変換手段75において、図
11に示すグラフのようなデジタル画像濃度データと
真数量データとの間の関係は、一般に非線型変換となる
ので、1次元ルックアップテーブル(1DLUT)化し
ておき、補間演算によって真数変換処理を行うのが好ま
しい。なお、後述する濃度データ変換手段90において
は、このようにして得られた1DLUTを用いて、真数
量データからデジタル画像濃度データに(対数変換を含
む)逆変換をすればよい。
The exposure amount conversion means 75 converts the digital image density data into the true quantity data by using the relationship between the digital image density data and the true quantity data thus obtained, for example, using a graph shown in FIG. Performs an antilog conversion process to convert to In the exposure amount conversion means 75, the relationship between the digital image density data and the true quantity data as shown in the graph of FIG. 11 is generally a non-linear conversion. It is preferable to perform an antilogarithm conversion process by an interpolation operation. In the density data converting means 90 described later, inverse conversion (including logarithmic conversion) from true quantity data to digital image density data may be performed using the 1DLUT thus obtained.

【0043】ゲイン調整手段76は、ソフトフォーカス
画像を作成するためにボケ画像と加算する、露光量変換
手段75によって真数変換処理された真数量データ、す
なわち真数原画像信号の中周波帯域および高周波帯域の
少なくとも一方の成分のゲインをソフトフォーカス効果
の大小に応じて調整するものである。例えば、ゲイン調
整手段76は、再現画像のソフトフォーカス効果をより
大きくしたい場合には、ボケ画像と加算する真数原画像
信号の中周波帯域および高周波帯域の両成分のゲインを
高くし、真数ボケ画像信号の加算比率を上げ、再現画像
のソフトフォーカス効果を小さくしたい場合には、真数
原画像信号の中周波帯域成分のゲインを落とし、真数ボ
ケ画像信号の加算比率を下げる。なお、ゲイン調整手段
76としては、真数原画像信号の中周波帯域および高周
波帯域の少なくとも一方の成分のゲインを高めたり、落
としたりして調整できるものであれば、どのようなもの
であってもよい。例えば、ボケマスクを作る時のマスク
作用を変えて、すなわちボケマスクのサイズを変えて、
真数原画像信号の周波数帯域の異なる成分のゲインを調
整するものでもよいし、ローパスフィルタやハイパスフ
ィルタやバンドパスフィルタなどを用いて、真数原画像
信号の中周波および高周波の各周波数帯域成分を抽出し
てこれらの周波数帯域成分をそれぞれ増幅または減衰さ
せてゲイン調整を行うものであってもよい。
The gain adjusting means 76 adds true blur data to the blurred image to create a soft focus image, the true quantity data subjected to the real number conversion processing by the exposure amount converting means 75, that is, the medium frequency band and the true original image signal. The gain of at least one component of the high frequency band is adjusted according to the magnitude of the soft focus effect. For example, when it is desired to increase the soft focus effect of the reproduced image, the gain adjusting unit 76 increases the gains of both the medium frequency band and the high frequency band components of the true original image signal to be added to the blurred image, and If it is desired to increase the addition ratio of the blurred image signal and reduce the soft focus effect of the reproduced image, the gain of the mid-frequency band component of the original original image signal is reduced, and the addition ratio of the odd-numbered blurred image signal is reduced. It should be noted that the gain adjusting means 76 is not particularly limited as long as it can adjust the gain of at least one component of the mid-frequency band and the high-frequency band of the original image signal by increasing or decreasing the gain. Is also good. For example, changing the mask action when making a blur mask, that is, changing the size of the blur mask,
The gain of different components of the frequency band of the true original image signal may be adjusted, or each of the medium frequency and high frequency band components of the true original image signal may be adjusted using a low-pass filter, a high-pass filter, a band-pass filter, or the like. May be extracted to amplify or attenuate these frequency band components to adjust the gain.

【0044】図12に、2つのローパスフィルタを用い
て真数原画像信号の中周波および高周波の各周波数帯域
成分を抽出してこれらの周波数帯域成分をそれぞれ増幅
または減衰させてゲイン調整を行うゲイン調整手段の一
実施例を示す。図12に示すゲイン調整手段76は、R
GBの各色成分の真数画像データ(真数原画像信号)か
ら低周波数帯域成分Lを分離するローパスフィルタ(L
PF)92と、真数原画像信号(L/M/H)から低周
波数帯域成分Lを減算する減算器94と、減算器94で
得られた中高周波数帯域成分(M/H)から中周波数帯
域Mを分離するローパスフィルタ(LPF)96と、中
高周波数帯域成分(M/H)から中周波数帯域成分Mを
減算して高周波数帯域成分Hを得る減算器98と、LP
F96で分離されたRGB各色の中周波数帯域成分Mを
増幅または減衰させてゲイン(レスポンス)を調整する
ゲイン調整回路100と、減算器98で得られたRGB
各色の高周波数帯域成分Hを増幅または減衰させてゲイ
ンを調整するゲイン調整回路102と、真数原画像信号
からLPF92で分離された低周波数帯域成分L、ゲイ
ン調整回路100および102によってそれぞれゲイン
が調整された中周波数帯域成分Mおよび高周波数帯域成
分Hを加算する加算器104とを有する。
FIG. 12 shows gains for extracting the medium frequency and high frequency components of the original number image signal using two low-pass filters and amplifying or attenuating these frequency components to adjust the gain. 5 shows an embodiment of the adjusting means. The gain adjusting means 76 shown in FIG.
A low-pass filter (L
PF) 92, a subtractor 94 for subtracting the low frequency band component L from the original original image signal (L / M / H), and a middle frequency band component (M / H) obtained by the subtractor 94. A low-pass filter (LPF) 96 for separating the band M, a subtractor 98 for subtracting the middle frequency band component M from the middle and high frequency band component (M / H) to obtain a high frequency band component H,
A gain adjustment circuit 100 that amplifies or attenuates the middle frequency band component M of each color of RGB separated by F96 to adjust a gain (response), and RGB obtained by a subtractor 98
The gain is adjusted by a gain adjustment circuit 102 that amplifies or attenuates the high frequency band component H of each color to adjust the gain, a low frequency band component L separated from the original original image signal by the LPF 92, and gain adjustment circuits 100 and 102, respectively. And an adder 104 that adds the adjusted middle frequency band component M and high frequency band component H.

【0045】図示例のゲイン調整手段76は、2つのL
PF92および96と2つの減算器94および98を用
いて、真数原画像信号を低、中、高周波数帯域成分L、
M、Hに分離するものであるが、本発明は、これに限定
されず、分離する周波数帯域成分の数は3種に限定され
ず、低、高周波数帯域成分の2種であってもよいし、4
種以上に分離するものであってもよい。なお、ここで
は、低、中、高周波の3種の空間周波数帯域成分に分離
する場合、例えば低周波数帯域成分Lの周波数をプリン
ト上の空間周波数で1cc/mm未満、中周波数帯域成
分Mの周波数を1cc/mm以上3cc/mm以下、高
周波数帯域成分Hの周波数を3cc/mm超としている
が、本発明はこれに限定されるわけではなく、真数原画
像信号等によって適宜選定することができる。また、ゲ
イン調整手段76のゲイン調整回路100および102
は、それぞれ中周波数帯域成分Mおよび高周波数帯域成
分Hを要求されるソフトフォーカス効果の大小に応じて
増幅または減衰できるものであればどのようなものでも
良く、たとえば、アンプ(増幅器)やLUT等を用いる
調整回路などを挙げることができる。また、ゲイン調整
アンプ100および102による中周波数帯域成分Mお
よび高周波数帯域成分Hのゲイン調整量、すなわち増幅
値や減衰値は、要求されるソフトフォーカス効果の大小
に応じて設定することができる。
The gain adjusting means 76 in the illustrated example has two L
Using the PFs 92 and 96 and the two subtractors 94 and 98, the original original image signal is converted into low, middle, and high frequency band components L,
Although the frequency band components are separated into M and H, the present invention is not limited to this, and the number of frequency band components to be separated is not limited to three, and may be two types of low and high frequency band components. Then 4
They may be separated into species or more. Here, when separating into three types of spatial frequency band components of low, medium and high frequency, for example, the frequency of the low frequency band component L is less than 1 cc / mm in the spatial frequency on the print, and the frequency of the middle frequency band component M Is set to 1 cc / mm or more and 3 cc / mm or less, and the frequency of the high frequency band component H is set to more than 3 cc / mm. However, the present invention is not limited to this, and can be appropriately selected according to an original number image signal or the like. it can. Also, the gain adjustment circuits 100 and 102 of the gain adjustment means 76
May be any type that can amplify or attenuate the middle frequency band component M and the high frequency band component H in accordance with the required magnitude of the soft focus effect, for example, an amplifier (amplifier), LUT, etc. And the like. Further, the gain adjustment amount of the middle frequency band component M and the high frequency band component H by the gain adjustment amplifiers 100 and 102, that is, the amplification value and the attenuation value can be set according to the required magnitude of the soft focus effect.

【0046】輝度信号変換手段78は、露光量変換手段
75によって真数変換処理された真数原画像信号のR、
G、Bの色信号を真数輝度信号Yに変換するものであ
り、人間の視覚に応じて、R、G、Bの色信号に重み付
けをして、真数輝度信号Yに変換する。ローパスフィル
タ80は、真数ボケ画像(ボケマスク)信号を生成する
手段を構成するものであって、図示例では、輝度信号変
換手段78によって得られた真数輝度信号の低周波成分
をろ波して真数ボケ画像信号を生成するためのものであ
る。従って、真数ボケ画像信号は、RGBの3種の色信
号の全てに対して1種類の真数ボケ画像信号が用いられ
る。ダイナミックレンジ圧縮手段82は、ローパスフィ
ルタ80によって生成された低周波数成分からなる真数
ボケ画像信号のダイナミックレンジをLUTや乗算器
(MUL)などを用いて圧縮するためのものである。な
お、本発明の特徴とするソフトフォーカス画像の作成が
指示されている場合には、ダイナミックレンジ圧縮手段
82は、真数ボケ画像信号に対して何らの処理も実行せ
ず、そのまま画像信号合成手段88に出力される。また
は、ソフトフォーカス画像の作成に際しては、ローパス
フィルタ80から出力された真数ボケ画像信号は、ダイ
ナミックレンジ圧縮手段82をそのままスルーするか、
もしくはバイパスして直接画像信号合成手段88に入力
されるようにしてもよい。
The luminance signal converting means 78 outputs the R, R,
The G and B color signals are converted into a true luminance signal Y. The R, G, and B color signals are weighted and converted into a true luminance signal Y according to human vision. The low-pass filter 80 constitutes a unit that generates an anti-blur image (blur mask) signal. In the illustrated example, the low-pass filter 80 filters a low-frequency component of the anti-luminance signal obtained by the luminance signal conversion unit 78. To generate an anti-blur image signal. Therefore, as the true blur image signal, one kind of true blur image signal is used for all of the three color signals of RGB. The dynamic range compression means 82 compresses the dynamic range of the anti-blur image signal composed of low frequency components generated by the low-pass filter 80 using an LUT, a multiplier (MUL), or the like. When the creation of the soft focus image, which is a feature of the present invention, is instructed, the dynamic range compression unit 82 does not perform any processing on the anti-blur image signal, and 88. Alternatively, when creating a soft focus image, the anti-aliased image signal output from the low-pass filter 80 passes through the dynamic range compression unit 82 as it is,
Alternatively, the image signal may be directly input to the image signal synthesizing unit 88 by bypass.

【0047】ここで、図示例のソフトフォーカス処理手
段72においては、真数原画像信号から輝度信号変換手
段78を経て変換された真数輝度信号をローパスフィル
タ80によって真数ボケ画像信号を生成しているけれど
も、本発明はこれに限定されず、真数輝度信号ではなく
て、RGB真数原画像色信号毎にそれぞれ真数ボケ画像
信号を生成してもよいし、また真数ボケ画像信号を生成
するローパスフィルタ80は、FIRフィルタでもII
Rフィルタでもよいし、また、真数ボケ画像信号を生成
する手段は、ローパスフィルタ80に限定されるわけで
はなく、メディアンフィルタなどの平滑化フィルタでも
よいし、これらの組み合わせを用いてもよい。また、ロ
ーパスフィルタ80には、3次元のR、G、Bの色信号
か、1次元の信号に変換された真数輝度信号を処理する
のみであるから、1次元のローパスフィルタを用いるこ
とができる。
In the illustrated example, the soft focus processing means 72 generates an anti-blur image signal from the anti-original image signal through the luminance signal converting means 78 to obtain an anti-blur image signal by a low-pass filter 80. However, the present invention is not limited to this, and may generate an anti-blur image signal for each of the R, G, and B original image color signals instead of the anti-bright luminance signal. Is a low-pass filter 80 that generates an II
The R filter may be used, and the means for generating an anti-blur image signal is not limited to the low-pass filter 80, but may be a smoothing filter such as a median filter, or a combination thereof. In addition, since the low-pass filter 80 only processes a three-dimensional R, G, B color signal or a true-luminance signal converted to a one-dimensional signal, a one-dimensional low-pass filter may be used. it can.

【0048】画像濃度判定手段84は、色調変換手段7
4によって色調変換された原画像信号から1コマの画像
の濃度を領域毎に判定するためのものである。なお、画
像濃度判定手段84による画像濃度領域の判定は、真数
原画像信号を用いて行ってもよい。加算比率調整手段8
6は、露光量変換手段75によって真数変換処理された
真数原画像信号またはゲイン調整手段76によって中高
周波帯域のゲインが調整された真数画像信号とローパス
フィルタ80によって作成された真数ボケ画像信号との
加算比率(α;ボケ画像信号の加算比率)を調整するも
のである。画像信号合成手段88は、LUTや乗算器な
どや加算器を用いて、覆い焼き処理では、真数原画像信
号とダイナミックレンジが圧縮された真数ボケ画像信号
とを加算して真数覆い焼き画像信号を生成し、すなわち
画像合成し、ハイライトのとびやシャドウのつぶれのな
いカラー画像を作成するか、またはソフトフォーカス画
像作成処理では、真数原画像信号またはゲイン調整真数
画像信号と真数ボケ画像信号とを所定加算比率α(1−
α:α)、例えば75%(1:3)で、もしくは真数原
画像信号またはゲイン調整真数画像信号と真数ボケ画像
信号とを加算比率調整手段86によって調整された加算
比率αで加算して真数ソフトフォーカス画像信号を生成
する、すなわち画像合成してソフトフォーカス画像を作
成するためのものである。
The image density judging means 84 includes the color tone converting means 7
This is for determining the density of one frame image from the original image signal whose color tone has been converted by step 4 for each area. Note that the determination of the image density area by the image density determination means 84 may be performed using the true original image signal. Addition ratio adjusting means 8
Reference numeral 6 denotes a true original image signal that has been subjected to a true-number conversion process by the exposure amount converting unit 75 or a true-number image signal whose gain in the middle and high frequency band has been adjusted by the gain adjusting unit 76 and a true-number blur generated by the low-pass filter 80. This is for adjusting the addition ratio with the image signal (α; the addition ratio of the blurred image signal). The image signal synthesizing means 88 uses an LUT, a multiplier, or an adder, and in the dodging processing, adds the antilog original image signal and the anti-blur image signal having a compressed dynamic range to obtain an anti-dodge image. An image signal is generated, i.e., an image is synthesized, and a color image without highlight skipping or shadow collapse is generated. The number of blurred image signals and the predetermined addition ratio α (1-
α: α), for example, at 75% (1: 3), or adding the true original image signal or the gain adjusted true image signal and the true blur image signal at the addition ratio α adjusted by the addition ratio adjusting means 86. To generate a soft focus image signal, that is, to generate a soft focus image by synthesizing images.

【0049】ここで、加算比率αは、特に所定加算比率
αの場合には、オペレータによって操作系18のキーボ
ード18aやマウス18bによって条件設定部48のキ
ー補正部60に入力され、条件設定部48のパラメータ
統合部62を経て直接画像信号合成手段88に供給され
るものであってもよいが、条件設定部48のセットアッ
プ部58やキー補正部60によってプレスキャン画像デ
ータに応じて設定され、パラメータ統合部62を経て加
算比率調整手段86に入力され、加算比率調整手段86
において設定されるものであってもよいし、画像濃度判
定手段84によって判定された原画像信号から1コマの
画像の濃度を領域毎に判定し、判定された濃度領域毎に
加算比率調整手段86によって加算比率αを調整するも
のであってもよい。加算比率調整手段86によって加算
比率αを調整する場合には、画像濃度判定手段84によ
って所定の閾値によって分けられた濃度領域毎に加算比
率αを調整してもよいし、LUTを用いて画像濃度判定
手段84による判定濃度領域毎に滑らかに加算比率αを
設定するようにしてもよい。
The addition ratio α is input to the key correction unit 60 of the condition setting unit 48 by the operator using the keyboard 18a or the mouse 18b of the operation system 18, especially when the predetermined addition ratio α is set. May be directly supplied to the image signal synthesizing means 88 via the parameter integration section 62 of the above. However, the parameter is set by the setup section 58 and the key correction section 60 of the condition setting section 48 in accordance with the prescanned image data, and The signal is input to the addition ratio adjustment unit 86 via the integration unit 62, and is added to the addition ratio adjustment unit 86.
The density of one frame image is determined for each area from the original image signal determined by the image density determining means 84, and the addition ratio adjusting means 86 is determined for each determined density area. May be used to adjust the addition ratio α. When the addition ratio α is adjusted by the addition ratio adjustment unit 86, the addition ratio α may be adjusted for each density region divided by a predetermined threshold by the image density determination unit 84, or the image density may be adjusted using an LUT. The addition ratio α may be set smoothly for each density region determined by the determination unit 84.

【0050】濃度データ変換手段90は、こうして生成
された真数覆い焼き画像信号または真数ソフトフォーカ
ス画像信号などの真数量データをデジタル画像濃度デー
タに変換するためのもので、露光量変換手段75におけ
る指数変換を含む真数変換処理の逆変換処理、すなわち
対数変換を含む変換処理を行い、通常画像処理装置14
で取り扱われる対数スケールの画像濃度データを得るた
めのものである。このため、露光量変換手段75におい
て用いられる、上述したデジタル画像濃度データと真数
量データとの間の関係、例えば図11に示すグラフを
逆に用いて、真数量データをデジタル画像濃度データ、
いわゆる対数スケールのデータに変換する(対数)変換
処理を行う。露光量変換手段75において、図11に示
すグラフのようなデジタル画像濃度データと真数量デ
ータとの間の関係が1DLUT化されている場合は、こ
の1DLUTを用いて逆変換を行うのが好ましい。
The density data conversion means 90 is for converting the generated true quantity data such as the real number dodging image signal or the real number soft focus image signal into digital image density data. Performs the inverse conversion process of the antilogarithmic conversion process including the exponential conversion, that is, the conversion process including the logarithmic conversion.
This is for obtaining logarithmic scale image density data handled in the above. For this reason, using the relationship between the digital image density data and the true quantity data used in the exposure amount conversion means 75, for example, using the graph shown in FIG.
A so-called logarithmic scale data (logarithmic) conversion process is performed. When the relationship between the digital image density data and the true quantity data as shown in the graph of FIG. 11 is converted into a 1DLUT in the exposure amount conversion means 75, it is preferable to perform the inverse conversion using the 1DLUT.

【0051】ソフトフォーカス処理手段72は、フレア
ーの感じのあるアナログ系のカラーソフトフォーカス画
像、ゲイン調整や加算比率調整や画像濃度に応じた加算
比率調整を行う場合には特に画像の芯のボケや粒状のざ
らつきなどのなく、フレアーの感じのあるアナログ系の
カラーソフトフォーカス画像を再生でき、一方では、画
像の高濃度のつぶれや低濃度のとびやエッジ部分のボケ
などがないように圧縮されたカラー画像を再生できるよ
うに、画像データを処理すること、すなわち、画像デー
タをソフトフォーカス処理と覆い焼き処理との両者のい
ずれかを処理可能に構成されている。ここで、ソフトフ
ォーカス画像の作成に際しては、ソフトフォーカス処理
手段72において、入力された画像データは、まず、色
調変換手段74によって色調信号レベルが変換されて原
画像信号とされ、露光量変換手段75によって真数原画
像信号に変換された後、メインパスに送られ、ゲイン調
整手段76によって真数原画像信号の中および高周波帯
域成分の少なくとも一方のゲインが調整されて、ゲイン
調整真数画像信号が生成された後、画像信号合成手段8
8に入力される。
The soft focus processing means 72 is used for controlling an analog color soft focus image having a flare feel, especially when performing gain adjustment, addition ratio adjustment, or addition ratio adjustment in accordance with image density. An analog color soft-focus image with flare can be reproduced without graininess.On the other hand, the image is compressed so that there is no high-density collapse, low-density jump, or blurred edge. The image data is processed so that a color image can be reproduced, that is, the image data can be processed by either the soft focus process or the dodging process. Here, when the soft focus image is created, the input image data is first converted in the soft focus processing means 72 by the color tone conversion means 74 into the original image signal by the color tone conversion means 74, and the exposure amount conversion means 75 After being converted into an original number image signal by the gain control unit 76, the signal is sent to the main path. Is generated, the image signal synthesizing means 8
8 is input.

【0052】一方、露光量変換手段75から出力された
真数原画像信号は、バイパスに送られ、輝度信号変換手
段78に入力される。輝度信号変換手段78では、真数
原画像信号中のR、G、Bの色信号を、人間の視覚に応
じて、次式のように、R、G、Bの色信号に重み付けを
して、真数輝度信号Yに変換する。 Y=aR+bC+cb ここに、 a+b+c=1、 a、b、c>0 である。一例として、a=0.3、b=0.59、c=
0.11を挙げることができる。次いで、真数輝度信号
Yは、ローパスフィルタ80に入力されて、高周波数成
分および中周波数成分がカットされ、低周波数成分のみ
の真数輝度信号からなる真数ボケ画像信号が生成され
る。こうして得られた真数ボケ画像信号は、高周波数成
分および中周波数成分がカットされているため、ボケた
画像に対応している。
On the other hand, the true original image signal output from the exposure amount conversion means 75 is sent to the bypass and input to the luminance signal conversion means 78. The luminance signal conversion means 78 weights the R, G, and B color signals in the original original image signal according to the human visual perception as follows. , And a true luminance signal Y. Y = aR + bC + cb where a + b + c = 1, a, b, c> 0. As an example, a = 0.3, b = 0.59, c =
0.11 can be mentioned. Next, the true-number luminance signal Y is input to the low-pass filter 80, where a high-frequency component and a middle-frequency component are cut off, and a true-number blurred image signal composed of only a low-frequency component is generated. Since the high-frequency component and the medium-frequency component have been cut off, the thus-obtained true-number blur image signal corresponds to the blurred image.

【0053】ローパスフィルタ80から出力された真数
ボケ画像信号は、ダイナミックレンジ圧縮手段82をス
ルーして、何らの処理もされずに画像信号合成手段88
に入力される。また、色調変換手段74から出力された
原画像信号は、画像濃度判定手段84に入力され、1コ
マの画像における濃度領域、例えばある1つの濃度閾値
によって、あるいは複数の濃度閾値によって画像濃度が
判定され、複数の濃度領域に分けられる。次いで、加算
比率調整手段86において、複数の濃度領域の判定濃度
に応じて加算比率αが調整され、得られた加算比率αが
画像濃度判定手段84によって分けられた複数の濃度領
域に割り当てられ、画像信号合成手段88に入力され
る。この後、画像信号合成手段88では、メインパスか
ら入力されるゲイン調整手段76によるゲイン調整真数
画像信号とバイパスから入力されるローパスフィルタ8
0による真数ボケ画像信号とが、加算比率調整手段86
から入力された画像濃度に応じて調整された加算比率α
で複数の濃度領域毎に合成され、真数ソフトフォーカス
画像信号が得られる。
The anti-blur image signal output from the low-pass filter 80 passes through the dynamic range compressing means 82 and is not subjected to any processing, and is subjected to image signal synthesizing means 88.
Is input to The original image signal output from the color tone conversion unit 74 is input to the image density determination unit 84, and the image density is determined by a density region in one frame image, for example, by one density threshold or a plurality of density thresholds. And divided into a plurality of density regions. Next, in the addition ratio adjustment unit 86, the addition ratio α is adjusted according to the determination densities of the plurality of density regions, and the obtained addition ratio α is assigned to the plurality of density regions divided by the image density determination unit 84, The image signal is input to the image signal synthesizing unit 88. Thereafter, in the image signal synthesizing means 88, the gain-adjusted real image signal by the gain adjusting means 76 inputted from the main path and the low-pass filter 8 inputted from the bypass.
The anti-blur image signal due to 0 is added to the addition ratio adjusting means 86
Addition ratio α adjusted according to the image density input from
Are combined for each of a plurality of density regions, and an anti-alias soft focus image signal is obtained.

【0054】最後に、濃度データ変換手段90では、こ
の真数ソフトフォーカス画像信号は対数スケールの濃度
データであるソフトフォーカス画像信号に変換される。
こうして得られたソフトフォーカス画像信号は、最適な
ソフトフォーカス効果を有し、輪郭(エッジ)などの画
像の芯を残したい部分には画像の芯のボケがなく、肌や
ハイライト部等のソフト感を出したい部分には粒状のざ
らつきなどがなく、カメラ撮影による実際のカラーソフ
トフォーカスで見られるフレアーに近い効果を持つカラ
ーソフトフォーカス画像として再現可能なものである。
ところで、前述したように、真数変換処理せず濃度軸上
でソフトフォーカス処理をした場合、画像はソフトに仕
上がるが、実際のアナログ系のソフトフォーカス画像の
ようなフレアーの感じがでなかったが、真数変換処理し
て真数量に基づいて周波数処理をした場合、高濃度側に
処理の効果が大きく現れ、低濃度側では処理の効果が小
さくなるので、真数変換処理してソフトフォーカス画像
を生成すると、高濃度側での画像のソフト化が大きくな
り、アナログ系のフレアーに近いソフトフォーカス効果
が得られるという利点がある。
Finally, in the density data conversion means 90, the antilog soft focus image signal is converted into a soft focus image signal which is logarithmic scale density data.
The soft focus image signal obtained in this manner has an optimum soft focus effect, and the portion where the image core such as an outline (edge) is to be left has no blur of the image core, and the soft focus image such as skin or highlight portion. There is no grainy roughness in the part where the user wants to give a feeling, and the image can be reproduced as a color soft focus image having an effect close to the flare seen in actual color soft focus by photographing with a camera.
By the way, as described above, when soft focus processing is performed on the density axis without antilogarithmic conversion processing, the image is finished softly, but the flare is not felt like an actual analog soft focus image. In the case where the frequency conversion is performed based on the true quantity by performing the real number conversion processing, the effect of the processing is large on the high density side, and the processing effect is small on the low density side. Is advantageous in that the softening of the image on the high-density side is increased, and a soft focus effect close to an analog flare can be obtained.

【0055】これに対し、覆い焼き処理に際しては、ソ
フトフォーカス処理手段72において、入力された画像
データは、まず、色調変換手段74によって色調信号レ
ベルが変換されて原画像信号とされ、露光量変換手段7
5によって真数原画像信号に変換された後、メインパス
に送られ、直接画像信号合成手段88に入力される。一
方、露光量変換手段75から出力された真数原画像信号
は、バイパスに送られ、輝度信号変換手段78に入力さ
れ、真数輝度信号Yに変換された後、ローパスフィルタ
80に入力されて、真数ボケ画像信号が生成される。こ
うして得られた真数ボケ画像信号は、ダイナミックレン
ジ圧縮手段82に入力されて、ダイナミックレンジが圧
縮され、画像信号合成手段88に入力される。この後、
画像信号合成手段88では、メインパスから入力される
真数原画像信号とバイパスから入力されるダイナミック
レンジ圧縮手段82によるダイナミックレンジ圧縮真数
ボケ画像信号とが加算比率αで合成され、真数覆い焼き
画像信号が得られる。
On the other hand, at the time of dodging processing, in the soft focus processing means 72, the input image data is first converted into the original image signal by converting the color tone signal level by the color tone conversion means 74, and the exposure amount is converted. Means 7
After being converted into a true original image signal by 5, it is sent to the main path and directly input to the image signal synthesizing means 88. On the other hand, the true number original image signal output from the exposure amount conversion means 75 is sent to the bypass, is input to the luminance signal conversion means 78, is converted into the true number luminance signal Y, and is input to the low-pass filter 80. , An anti-blur image signal is generated. The thus-obtained true blurred image signal is input to the dynamic range compressing means 82, the dynamic range of which is compressed, and input to the image signal synthesizing means 88. After this,
In the image signal synthesizing means 88, the original original image signal input from the main path and the dynamic range compressed true blur image signal input by the dynamic range compressing means 82 input from the bypass are synthesized at an addition ratio α, and the real number is covered. A burned image signal is obtained.

【0056】最後に、濃度データ変換手段90では、こ
の真数覆い焼き画像信号は対数スケールの濃度データで
ある覆い焼き処理カラー画像信号に変換される。こうし
て得られた覆い焼き処理カラー画像信号は、最適な覆い
焼き効果を持つもので、低周波数成分のみのダイナミッ
クレンジが圧縮され、高周波数成分および中周波数成分
のダイナミックレンジを圧縮されておらず、原稿画像の
低濃度(ハイライト)部のとびや高濃度(シャドウ)部
のつぶれを生じさせることなく、かつエッジ部分がボケ
ることがないカラー画像として再現することができるも
のである。ところで、上述したように真数変換処理して
覆い焼き処理を行うものでは、露光量に基づいて周波数
処理をした場合、高濃度側に処理の効果が大きく現れ、
低濃度側では処理の効果が小さくなるので、真数変換処
理して覆い焼き処理画像を生成すると、画像の覆い焼き
効果、すなわちダイナミックレンジ圧縮伸長効果が高濃
度側で大きくなり、低濃度側では小さいので、シャドー
のつぶれやハイライトの飛びやエッジのボケのない覆い
焼き画像を得られるという利点がある。
Finally, the density data conversion means 90 converts the antilogarithmic dodged image signal into a dodged color image signal which is logarithmic scale density data. The dodging color image signal obtained in this way has an optimal dodging effect, the dynamic range of only the low frequency component is compressed, and the dynamic range of the high frequency component and the middle frequency component is not compressed. The color image can be reproduced as a color image without causing a jump in a low-density (highlight) portion or a collapse in a high-density (shadow) portion of an original image and without blurring an edge portion. By the way, in the case of performing the dodging process by performing the antilogarithmic conversion process as described above, when the frequency process is performed on the basis of the exposure amount, the effect of the process appears significantly on the high density side,
Since the effect of the processing becomes smaller on the low density side, if the dodge processing image is generated by performing the antilog conversion processing, the dodging effect of the image, that is, the dynamic range compression / expansion effect, increases on the high density side and on the low density side, Since it is small, there is an advantage that a dodging image without shadow crushing, highlight skipping, or edge blurring can be obtained.

【0057】ところで、輝度信号変換手段78は、R、
G、Bの真数色信号を、1次元の真数輝度信号Yに変換
しており、この真数輝度信号Yは、カラー画像のグレイ
成分に対応するため、ソフトフォーカス処理手段72の
バイパスによって処理した真数ボケ画像信号を合成し、
対数スケールデータに逆変換して得たソフトフォーカス
画像信号に基づいて再生したカラーソフトフォーカス画
像は、グレイ成分が混ざったものとなり、彩度は低下す
るという問題が生ずる。このため、図示例においては、
予め、色調変換手段74によって画像信号の色調を、メ
インパスを送られた真数原画像信号とバイパスにより処
理された真数ボケ画像信号とを合成し対数スケールデー
タに逆変換したときに得られる合成画像信号の色調と等
しくなるように変換することにより、画像信号の合成に
よって得られたソフトフォーカス画像の彩度が低下する
ことを防止するのが好ましい。なお、ソフトフォーカス
画像の彩度低下の防止する具体的技術については、特に
制限的ではないが、本出願人によって、特開平9−17
2600号公報に開示されたソフトフォーカス画像の彩
度低下防止技術などの公知の彩度防止技術を用いること
ができる。
By the way, the luminance signal conversion means 78 outputs R,
The G and B true number color signals are converted into a one-dimensional true number luminance signal Y. Since this true number luminance signal Y corresponds to the gray component of the color image, it is bypassed by the soft focus processing means 72. Combining the processed anti-blur image signal,
A color soft focus image reproduced based on a soft focus image signal obtained by inversely converting to logarithmic scale data is a mixture of gray components, and has a problem that saturation is reduced. For this reason, in the illustrated example,
Obtained in advance when the color tone of the image signal is previously converted by the color tone conversion means 74 into the logarithmic scale data by combining the true original image signal sent through the main path and the true blur image signal processed by bypass. It is preferable to prevent the saturation of the soft focus image obtained by synthesizing the image signals from being lowered by performing the conversion so as to be equal to the color tone of the synthesized image signal. The specific technique for preventing the decrease in the saturation of the soft focus image is not particularly limited.
A known saturation prevention technology such as a technology for preventing saturation reduction of a soft focus image disclosed in Japanese Patent Publication No. 2600 can be used.

【0058】なお、本発明の画像処理装置14では、対
数スケールの画像濃度データを真数量データに変換して
ソフトフォーカス処理を行うものであれば、上述のソフ
トフォーカス処理のための種々の構成要素を、要求され
るソフトフォーカスの効果に応じて組み合わせ、または
処理手順を入れ替えて種々の形態のソフトフォーカス処
理手段72を構成してもよいし、上述のソフトフォーカ
ス処理のためのすべての構成要素を備えたソフトフォー
カス処理手段72を構成し、要求されるソフトフォーカ
スの効果に応じてソフトフォーカス処理手段72におけ
る処理を変更できるようにしてもよい。例えば、ソフト
フォーカスの効果をより高くしたい場合や小さくしたい
場合には、少なくとも露光量変換手段75、ゲイン調整
手段76、ローパスフィルタ80などのボケ画像信号生
成手段、加算比率調整手段86、画像信号合成手段88
および濃度データ変換手段90を備えることによってソ
フトフォーカス処理手段72を構成すればよい。
In the image processing apparatus 14 of the present invention, various components for the above-described soft focus processing can be used as long as the apparatus performs logarithmic scale image density data to true quantity data and performs soft focus processing. May be combined according to the required soft focus effect, or the processing procedure may be replaced to configure the soft focus processing means 72 in various forms, or all the components for the soft focus processing described above may be used. The soft focus processing means 72 provided may be configured so that the processing in the soft focus processing means 72 can be changed according to the required soft focus effect. For example, when it is desired to increase or decrease the effect of the soft focus, at least an exposure amount conversion unit 75, a gain adjustment unit 76, a blur image signal generation unit such as a low-pass filter 80, an addition ratio adjustment unit 86, an image signal synthesis unit Means 88
The soft focus processing means 72 may be configured by including the density data conversion means 90.

【0059】ここで、ソフトフォーカスの効果をより高
くしたい場合には、真数原画像信号に対し、ゲイン調整
手段76によって中周波および高周波帯域のゲインを高
くした真数画像信号と、ローパスフィルタ80で生成さ
れた真数ボケ画像信号とを用意し、加算比率調整手段8
6によって真数ボケ画像信号の加算比率αを高くして画
像信号合成手段88によって合成することにより、ソフ
トフォーカス画像を作成するようにしてもよい。ところ
で、中周波および高周波帯域には画像中の輪郭を示す部
分が多く、人が最も敏感な部分である。ここで、ソフト
フォーカス効果を強くした、すなわちボケ画像の加算比
率を高くした時、人の目には輪郭(エッジ)がボケただ
けの画像であると感じやすい。そこで、本発明において
は、ソフトフォーカス効果を強くする際に、原画像の代
わりにこれらの中周波および高周波成分、すなわちエッ
ジ成分を強調した画像を用いることで、輪郭は残し、全
体的なソフトフォーカス効果を高めた画像を作成するこ
とができる。
Here, when it is desired to enhance the effect of the soft focus, the gain adjusting means 76 increases the gain of the middle- and high-frequency bands with respect to the true-number original image signal, and the low-pass filter 80. And an anti-blur image signal generated by
6, a soft focus image may be created by increasing the addition ratio α of the true-number blurred image signal and synthesizing it by the image signal synthesizing means 88. By the way, the middle frequency and the high frequency band have many portions showing contours in an image, and are the most sensitive portions to humans. Here, when the soft focus effect is strengthened, that is, when the addition ratio of the blurred image is increased, it is easy for a human eye to feel that the image has only a blurred outline (edge). Therefore, in the present invention, when the soft focus effect is strengthened, an image in which these medium and high frequency components, that is, edge components are emphasized, is used instead of the original image, so that the outline is left, and the entire soft focus effect is obtained. Images with enhanced effects can be created.

【0060】一方、ソフトフォーカスの効果を小さくし
たい場合には、原画像信号に対し、ゲイン調整手段76
によって中周波帯域のゲインを落とした画像信号と、ボ
ケ画像信号とを用意し、加算比率調整手段86によって
ゲイン調整画像信号の加算比率を高く、すなわちボケ画
像信号の加算比率αを低くして画像信号合成手段88に
よって合成することにより、ソフトフォーカス画像を作
成することができる。ところで、ソフトフォーカス効果
を低くした、すなわちボケ画像の加算比率を低くした
時、人の肌の粒状が目立ちやすい。そこで、本発明にお
いては、ソフトフォーカス効果を小さくする際に、原画
像の代わりに輪郭以外に肌のノイズに近い部分も含む中
周波成分の信号を抑えた画像を用いることで、輪郭は残
しつつ、粒状は抑えたソフトフォーカス効果の小さい画
像を作成することができる。
On the other hand, when it is desired to reduce the effect of the soft focus, the gain adjusting means 76 is applied to the original image signal.
An image signal with a reduced gain in the middle frequency band and a blurred image signal are prepared, and an addition ratio adjusting means 86 increases the addition ratio of the gain-adjusted image signal, that is, reduces the addition ratio α of the blurred image signal to reduce the image. By synthesizing by the signal synthesizing unit 88, a soft focus image can be created. By the way, when the soft focus effect is lowered, that is, when the addition ratio of the blurred image is lowered, the granularity of the human skin is more conspicuous. Therefore, in the present invention, when reducing the soft focus effect, an image is used instead of the original image, in which the signal of the medium frequency component including a portion close to the skin noise is suppressed in addition to the outline, so that the outline remains. Thus, an image having a small soft focus effect with suppressed graininess can be created.

【0061】さらに、本発明においては、効果をより高
くしたい場合や小さくしたい場合には、少なくとも露光
量変換手段75、ローパスフィルタ80などのボケ画像
信号生成手段、画像濃度判定手段84、加算比率調整手
段86、画像信号合成手段88および濃度データ変換手
段90を備え、さらに必要に応じてゲイン調整手段76
を備えることによってソフトフォーカス処理手段72を
構成してもよい。この場合には、原画像信号またはゲイ
ン調整手段76によって中高周波のゲインを高くした画
像信号もしくは中周波のゲインを落とした画像信号と、
ローパスフィルタ80によるボケ画像信号とを画像信号
合成手段88によって合成する際に、画像濃度判定手段
84によって判定された画像濃度に応じて加算比率αを
調整し、例えば、濃度の高い部分(高濃度領域)ではボ
ケ画像信号の加算比率αを高くし、濃度の低い部分(低
濃度領域)ではボケ画像信号の加算比率αを低くする。
こうすることにより、カメラにおける多重露光による実
際のソフトフォーカスで見られるようなハイコントラス
ト部で現れるフレアーの効果に近いソフトフォーカス画
像を作成することができる。
Further, in the present invention, when the effect is desired to be higher or smaller, at least the exposure amount converting means 75, a blurred image signal generating means such as a low-pass filter 80, an image density judging means 84, an addition ratio adjusting means Means 86, an image signal synthesizing means 88 and a density data converting means 90, and if necessary, a gain adjusting means 76.
May be provided to configure the soft focus processing means 72. In this case, an original image signal or an image signal in which the gain of the intermediate frequency is increased by the gain adjusting means 76 or an image signal in which the gain of the intermediate frequency is decreased,
When the blur signal is combined with the blurred image signal by the low-pass filter 80 by the image signal combining means 88, the addition ratio α is adjusted according to the image density determined by the image density determining means 84. Area), the addition ratio α of the blurred image signal is increased, and the addition ratio α of the blurred image signal is reduced in a low density portion (low density region).
By doing so, it is possible to create a soft-focus image close to the effect of flare that appears in a high-contrast portion as seen in actual soft focus by multiple exposure in a camera.

【0062】さらに、露光量変換手段75をゲイン調整
手段76や輝度信号生成手段78の下流に配置し、色調
変換手段74によって色調信号レベルが変換された原画
像信号の中周波数成分や高周波数成分のゲインをゲイン
調整手段76で調整した後、もしくはこの原画像信号か
ら輝度信号生成手段78によって輝度信号を生成した
後、これらのゲイン調整画像信号や輝度信号を露光量変
換手段75によって真数変換処理され、ゲイン調整真数
画像信号や真数輝度信号を生成するように構成すること
もできる。また、上述した例では、ソフトフォーカス処
理手段72において、真数変換処理した真数ボケ画像信
号を用いて、ソフトフォーカス画像、または覆い焼き処
理画像を生成するように構成されているが、覆い焼き処
理手段をソフトフォーカス処理手段72とは別に設け
て、従来同様に対数スケールの画像信号によって覆い焼
き処理画像を生成するようにしてもよい。
Further, an exposure amount converting means 75 is disposed downstream of the gain adjusting means 76 and the luminance signal generating means 78, and the medium frequency component and the high frequency component of the original image signal whose color tone signal level has been converted by the color tone converting means 74. After the gain is adjusted by the gain adjusting means 76, or a luminance signal is generated from the original image signal by the luminance signal generating means 78, the gain-adjusted image signal and the luminance signal are converted into an anti-number by the exposure amount converting means 75. It can also be configured to be processed and generate a gain-adjusted real image signal or real luminance signal. In the above-described example, the soft focus processing unit 72 is configured to generate a soft focus image or a dodging processed image using the anti-blur image signal subjected to the antilog conversion processing. The processing means may be provided separately from the soft focus processing means 72, and a dodging processed image may be generated by a logarithmic scale image signal as in the related art.

【0063】さらに、上述した例では、電子変倍手段6
8から所定出力サイズおよび出力画素密度の画像データ
に電子変倍された画像データを、エッジ強調などの周波
数処理を施す周波数処理手段70と画像データの濃度ダ
イナミックレンジを変換するか、または画像にソフトフ
ォーカスを掛けるためのソフトフォーカス処理手段72
とを別々に設け、ソフトフォーカス処理手段72のみに
おいて真数変換処理してソフトフォーカス処理または覆
い焼き処理を行っているが、本発明はこれに限定され
ず、例えば図13に示すように周波数処理手段70をシ
ャープネス強調処理手段71として構成し、真数変換処
理してシャープネス強調処理を行うように構成してもよ
い。これは、カラーネガフィルムやカラーリバーサルフ
ィルムからカラー画像を仕上がりプリント上に再生する
場合、上述したソフトフォーカス処理に限らず、真数量
に変換してシャープネス強調処理などの周波数処理を行
うと、高濃度側に処理の効果が大きく現れ、低濃度側で
は処理の効果は小さくなるからである。また、図14に
示すように、ソフトフォーカス処理手段72を周波数処
理手段70と別に設けず、周波数処理手段70において
共に真数変換処理して各処理を行うシャープネス強調処
理手段71とソフトフォーカス処理手段72とを設け、
共に真数変換処理してシャープネス強調処理、ソフトフ
ォーカス処理および覆い焼き処理の各処理を行うように
構成してもよい。
Further, in the above-described example, the electronic scaling means 6
The image data electronically scaled from 8 to image data of a predetermined output size and output pixel density is subjected to frequency processing such as edge emphasis and frequency processing means 70 for converting the density dynamic range of the image data. Soft focus processing means 72 for applying focus
Are provided separately, and the soft focus processing or dodging processing is performed only by the soft focus processing means 72 by performing the antilogarithmic conversion processing. However, the present invention is not limited to this. For example, as shown in FIG. The means 70 may be configured as a sharpness emphasizing processing means 71, and may be configured to perform an antilogarithm conversion process and perform a sharpness emphasizing process. This is not limited to the soft focus processing described above when reproducing color images from color negative films or color reversal films on finished prints. This is because the effect of the processing is large and the effect of the processing is small on the low density side. Further, as shown in FIG. 14, the soft focus processing means 72 is not provided separately from the frequency processing means 70, and the sharpness enhancement processing means 71 and the soft focus processing means which perform the respective processings by performing the real number conversion processing in the frequency processing means 70 together. 72 and
Both may be configured to perform an antilogarithmic conversion process and perform each of the sharpness enhancement process, the soft focus process, and the dodging process.

【0064】図13に示す周波数処理手段70は、シャ
ープネス強調処理手段71を構成するもので、電子変倍
手段68から所定出力サイズおよび出力画素密度の画像
データに電子変倍された画像データを、真数画像データ
(真数原画像信号)に変換する露光量変換手段75と、
真数原画像信号に基づいて画像のシャープネス強調処理
を行うシャープネス強調処理部106と、シャープネス
強調された真数画像信号を濃度信号に変換する濃度デー
タ変換手段90とを有するものである。ここで、シャー
プネス強調処理部106は、真数原画像信号に基づい
て、カラー画像のエッジや輪郭を強調する処理、いわゆ
るシャープネス強調処理を行うもので、本発明において
は特に制限的ではなく、公知のシャープネス強調処理方
法を実施することができるものであれば、どのようなも
のでもよい。例えば、アンシャープマスク(USM)方
式や粒状抑制シャープネス方式、例えば、米国特許第4
812903号公報、特開昭63−26783号公報、
特表平3−502975号公報および本出願人に係る特
開平9−22460号公報に開示された鮮鋭度強調方式
などが好ましい。
The frequency processing means 70 shown in FIG. 13 constitutes the sharpness emphasizing processing means 71, and converts the image data electronically scaled by the electronic scaling means 68 to image data of a predetermined output size and output pixel density. An exposure amount conversion means 75 for converting the image data into antilog image data (exponential original image signal);
The image processing apparatus includes a sharpness enhancement processing unit 106 that performs sharpness enhancement processing of an image based on the true original image signal, and a density data conversion unit 90 that converts the sharpness-enhanced real image signal into a density signal. Here, the sharpness enhancement processing unit 106 performs a process of enhancing the edges and contours of the color image, that is, a so-called sharpness enhancement process, based on the true original image signal, and is not particularly limited in the present invention. Any method can be used as long as it can implement the sharpness enhancement processing method described above. For example, an unsharp mask (USM) system and a granular suppression sharpness system, for example, US Pat.
No. 812903, JP-A-63-26783,
A sharpness enhancement method disclosed in Japanese Patent Application Laid-Open No. Hei 3-502975 and Japanese Patent Application Laid-Open No. Hei 9-22460 according to the present applicant is preferable.

【0065】ここで、アンシャープマスク(USM)方
式のシャープネス強調処理は、所定のマスクサイズの周
辺画素との平均を行う平均化処理や平滑化処理や、ロー
パスフィルタやメディアンフィルタなどのフィルタリン
グ処理を行って、カラー原画像信号からアンシャープマ
スク信号やボケマスク信号Susを生成し、アンシャー
プマスク(ボケマスク)処理を下記式によってシャープ
ネス信号Ssを生成するものである。 Ss=Sorg+K・(Sorg−Sus) ここで、Sorgはカラー原画像信号であり、Kはシャ
ープネス強調係数である。このアンシャープマスク(U
SM)方式のシャープネス強調処理においては、シャー
プネス強調の度合い、すなわち鮮鋭度の調整は、上記式
のシャープネス強調係数Kの値を画像の位置および方向
ならびに画素値の少なくとも一つに依存させて調整する
ことによって行うことができる。
Here, the sharpness enhancement processing of the unsharp mask (USM) method includes averaging processing and smoothing processing for averaging with surrounding pixels of a predetermined mask size, and filtering processing such as a low-pass filter and a median filter. Then, an unsharp mask signal or a blur mask signal Sus is generated from the color original image signal, and the unsharp mask (blur mask) processing is performed to generate a sharpness signal Ss by the following equation. Ss = Sorg + K · (Sorg−Sus) Here, Sorg is a color original image signal, and K is a sharpness enhancement coefficient. This unsharp mask (U
In the sharpness enhancement process of the SM) method, the degree of sharpness enhancement, that is, the sharpness is adjusted by adjusting the value of the sharpness enhancement coefficient K in the above equation depending on at least one of the position and direction of the image and the pixel value. Can be done by

【0066】一方、粒状抑制シャープネス方式におい
て、特表平3−502975号公報に開示されている、
粒状抑制シャープネス強調処理は、カラー画像から局所
分散方式によってカラー画像の平坦部と、テクスチャお
よびエッジ部とを検出して分散し、上記式のシャープネ
ス強調係数Kの値を平坦部で小さくし、テクスチャおよ
びエッジ部で大きくすることにより、雑音(ノイズ)や
粒状を抑制し、テクスチャやエッジ(輪郭)を強調する
ことにより鮮鋭度を強調するものである。従って、本発
明においてこの方法を用いる場合には、用いられるシャ
ープネス強調係数Kの値を平坦部とテクスチャおよびエ
ッジ部とで変えるとともに、上述の場合と同様に、画像
の位置および方向ならびに画素値の少なくとも一つに依
存させて調整することによって、遠近効果を表現するた
めの画像の位置に依存させた鮮鋭度の調整を行うことが
できる。また、米国特許第4812903号公報および
特開昭63−26783号公報などに開示された粒状抑
制シャープネス強調処理は、カラー画像信号にフィルタ
リング処理等を施して、低周波成分と高周波成分に分離
し、高周波成分のみに対して強調する処理を施して合成
するものであるので、高周波成分の強調度合い、例えば
強調係数やゲインのみならず低周波成分に施される処理
の強度、例えば強度係数やゲインを画像の位置および方
向ならびに画素値に依存させて変化させることによっ
て、遠近効果処理のための鮮鋭度の調整を行うことがで
きる。
On the other hand, the graininess suppression sharpness method disclosed in Japanese Unexamined Patent Publication No. Hei 3-502975 is disclosed.
The graininess suppression sharpness enhancement process detects and disperses the flat part, the texture, and the edge part of the color image from the color image by a local dispersion method, and reduces the value of the sharpness enhancement coefficient K in the above equation at the flat part to obtain a texture. By increasing the size at the edge portion, noise (noise) and graininess are suppressed, and the sharpness is enhanced by enhancing the texture and the edge (contour). Therefore, when this method is used in the present invention, the value of the sharpness enhancement coefficient K used is changed between the flat portion, the texture and the edge portion, and the position and the direction of the image and the pixel value of the pixel value are changed in the same manner as described above. By performing the adjustment depending on at least one, it is possible to adjust the sharpness depending on the position of the image for expressing the perspective effect. Further, the graininess suppression sharpness enhancement processing disclosed in U.S. Pat. No. 4,812,903 and Japanese Patent Application Laid-Open No. Sho 63-26783 performs filtering processing on a color image signal and separates the color image signal into a low-frequency component and a high-frequency component. Since the processing is performed by emphasizing only the high-frequency components and combining them, the degree of emphasis of the high-frequency components, for example, the emphasis coefficient and the gain, as well as the intensity of the processing performed on the low-frequency components, for example, the intensity coefficient and the gain The sharpness for the perspective effect processing can be adjusted by changing the position and the direction of the image and the pixel value in dependence.

【0067】また、本出願人の出願に係る特開平9−2
2460号公報に開示された粒状抑制シャープネス強調
処理は、カラー原画像信号を低周波成分、中間周波数成
分および高周波成分に分解し、好ましくはさらに中間周
波数成分および高周波成分から輝度成分を抽出して、輝
度成分のみに基づいて、高周波数成分を強調し、中間周
波数成分を抑制した後に、低、中間および高周波数の各
周波数成分を合成するものである。この場合には、例え
ば、上述したソフトフォーカス処理手段72の図12に
示すゲイン調整手段76を用いてシャープネス強調処理
部106を構成して、真数原画像信号に基づいて抽出さ
れた中間周波数成分のゲインを低くし、高周波数成分の
ゲインを高くして、粒状を抑制してシャープネス強調処
理を行うようにしてもよい。
Further, Japanese Unexamined Patent Application Publication No. 9-2
The granularity suppression sharpness enhancement process disclosed in No. 2460 divides the color original image signal into low frequency components, intermediate frequency components and high frequency components, and preferably further extracts luminance components from the intermediate frequency components and high frequency components, Based on only the luminance component, the high frequency component is emphasized, the intermediate frequency component is suppressed, and then the low, intermediate, and high frequency components are combined. In this case, for example, the sharpness enhancement processing unit 106 is configured using the gain adjustment unit 76 shown in FIG. 12 of the soft focus processing unit 72 described above, and the intermediate frequency component extracted based on the true original image signal is used. , The gain of the high frequency component may be increased, and the graininess may be suppressed to perform the sharpness enhancement processing.

【0068】また、図14に示すように、周波数処理手
段70は、図13に示すシャープネス強調処理手段71
および図5に示すソフトフォーカス処理手段72を共に
含むもので、電子変倍手段68から所定出力サイズおよ
び出力画素密度の画像データに電子変倍された画像デー
タの色調信号レベルを変換して原画像信号とする色調変
換手段74と、これらの原画像信号を真数原画像信号に
変換する露光量変換手段75と、真数原画像信号に基づ
いて、画像のシャープネス強調処理を行うシャープネス
強調処理部106と、ソフトフォーカス画像の生成をお
こなうソフトフォーカス処理部108と、画像に覆い焼
き処理を行う覆い焼き処理部110と、シャープネス強
調された真数画像信号、生成された真数ソフトフォーカ
ス画像信号および画像のダイナミックレンジが圧縮伸長
された覆い焼き真数画像信号を濃度信号に変換する濃度
データ変換手段90とを有するものである。ここで、図
14に示す周波数処理手段70では、シャープネス強調
処理、ソフトフォーカス処理および覆い焼き処理の各処
理のいずれか1つの処理のみを行うように構成してもよ
いし、これらの処理の2つ以上の処理を1つの画像に施
すようにしてもよい。なお、ソフトフォーカス処理部1
08は、図5に示す輝度信号変換手段78、ローパスフ
ィルタ80および画像信号合成手段88を少なくとも有
し、さらに必要に応じて、ゲイン調整手段76、画像濃
度判定手段84および加算比率調整手段86の一部また
は全部を含むものであり、覆い焼き処理部110は、図
5に示す輝度信号変換手段78、ローパスフィルタ8
0、濃度ダイナミックレンジ圧縮手段82および画像信
号合成手段88を有するものであるが、重複する構成要
素は共通に用いられるのはいうまでもない。
As shown in FIG. 14, the frequency processing means 70 includes a sharpness enhancement processing means 71 shown in FIG.
And the soft focus processing means 72 shown in FIG. 5, and converts the color tone signal level of the image data electronically scaled by the electronic scaling means 68 to image data of a predetermined output size and output pixel density to obtain the original image. Color tone conversion means 74 as a signal, an exposure amount conversion means 75 for converting these original image signals into a true original image signal, and a sharpness enhancement processing unit for performing image sharpness enhancement processing based on the true original image signal 106, a soft focus processing unit 108 for generating a soft focus image, a dodging processing unit 110 for performing a dodging process on the image, a sharpness-enhanced real number image signal, a generated real number soft focus image signal, Density data conversion means 9 for converting a dodging true number image signal in which the dynamic range of an image has been compressed and expanded into a density signal And it has a door. Here, the frequency processing means 70 shown in FIG. 14 may be configured to perform only one of the sharpness enhancement processing, the soft focus processing, and the dodging processing. One or more processes may be performed on one image. The soft focus processing unit 1
08 includes at least a luminance signal conversion unit 78, a low-pass filter 80, and an image signal synthesis unit 88 shown in FIG. 5, and further includes a gain adjustment unit 76, an image density determination unit 84, and an addition ratio adjustment unit 86, if necessary. The dodging processing unit 110 includes a part or the whole, and includes the luminance signal conversion unit 78 and the low-pass filter 8 shown in FIG.
0, a density dynamic range compressing means 82 and an image signal synthesizing means 88, but it goes without saying that overlapping components are commonly used.

【0069】前述したように、真数変換処理せず濃度デ
ータでシャープネス強調処理をした場合、画像がシャー
プになる反面、人物の肌の粒状が悪くなるという欠点が
あったが、真数変換処理して露光量に基づいて周波数処
理をした場合、高濃度側に処理の効果が大きく現れ、低
濃度側では処理の効果が小さくなるので、真数変換処理
してシャープネス強調処理をした場合、人物の肌の粒状
悪化を抑えつつ、画像のシャープネス強調をできるとい
う利点がある。
As described above, when the sharpness enhancement processing is performed with the density data without performing the true number conversion processing, the image becomes sharper, but there is a disadvantage that the graininess of the human skin deteriorates. When the frequency processing is performed based on the exposure amount, the effect of the processing is large on the high density side, and the processing effect is small on the low density side. This has the advantage that the sharpness of the image can be enhanced while suppressing the deterioration of the graininess of the skin.

【0070】上述した例は、カラーネガフィルムやカラ
ーリバーサルフィルムなどのフィルムFに担持されるカ
ラー画像から光電的に読み取られた対数スケールの画像
データを画像処理の対象とするものであるが、本発明
は、これに限定されず、デジタルカメラやデジタルビデ
オカメラ等の直撮カメラで撮影されたカラー画像やモニ
ターに表示されたカラー画像の画像データ(濃度デー
タ)ように、下記式で表されるべきスケールの画像デー
タを画像処理の対象とするものであっても良い。
In the above example, logarithmic scale image data photoelectrically read from a color image carried on a film F such as a color negative film or a color reversal film is used as an object of image processing. Is not limited to this, and should be expressed by the following formula, such as color image data (density data) of a color image taken by a direct camera such as a digital camera or a digital video camera or a color image displayed on a monitor. The image data of the scale may be subjected to image processing.

【数1】 ここで、Dは濃度データであり、Eは露光量データであ
り、c1 およびc2 は定数であり、γはべき指数であ
る。ところで、例えばデジタルカメラの場合、撮影によ
って得られる信号は、入力される信号(被写体輝度や入
射光強度に対応した量、すなわち露光量)に対しておよ
そ1/2.2乗されたデジタル濃度データである。この
ため、図5、図13および図14にそれぞれ示されるソ
フトフォーカス処理手段72、シャープネス強調処理手
段71および周波数処理手段70における露光量処理手
段75は、得られたデジタル濃度データを2.2乗して
露光量データ(露光量画像信号)に変換するものであ
り、濃度データ変換手段90は、逆にシャープネス強調
処理、ソフトフォーカス処理および覆い焼き処理などの
各処理を行った処理済露光量画像信号(露光量データ)
を1/2.2乗してデジタル濃度データに逆変換するも
のである。
(Equation 1) Here, D is density data, E is exposure data, c 1 and c 2 are constants, and γ is a power exponent. By the way, in the case of a digital camera, for example, a signal obtained by photographing is digital density data that is approximately 1 / 2.2 raised to an input signal (an amount corresponding to the luminance of the subject or the intensity of incident light, ie, an exposure amount). It is. Therefore, the soft focus processing unit 72, the sharpness enhancement processing unit 71, and the exposure amount processing unit 75 in the frequency processing unit 70 shown in FIGS. 5, 13, and 14, respectively, convert the obtained digital density data into the 2.2 power. The density data conversion means 90 conversely performs a processed exposure image after performing each processing such as sharpness enhancement processing, soft focus processing, and dodging processing. Signal (exposure data)
Is raised to the power of 1 / 2.2 and inversely converted to digital density data.

【0071】なお、本発明においては、上記式の定数c
1 、c2 およびべき指数γは、露光量データEの全範囲
に亘って一定であるものに限定されず、露光量データE
の範囲によって変化するものであってもよい。例えば、
直撮カメラの場合には、露光量データとして被写体輝度
に対応する被写体反射率R(%)、デジタル濃度データ
としてデジタル輝度出力値(例えば8bitQL値)を
用いる時、デジタル輝度出力値QLは、下記の3つの式
で表す場合もある。 QL=81.922R/8 (0≦R≦8) QL=(R/83.2)0.45 (8≦R≦83.2) QL=40R/83.2+195(83.2≦R) (255を超える場合には255にクリックする) ここで、反射率83.2%は、標準グレーチャートの白
の反射率である。これらの式によって表される階調特性
の目標階調カーブ(HUB空間階調カーブ)を、図15
に示す。なお、上述した例では、0≦R≦8、83.2
≦Rは一次式で表わされているが、本発明はこれに限定
されず多項式で表わしてもよいし、上記べきスケールの
式を近似的に満たす式で表現してもよい。
In the present invention, the constant c in the above equation is used.
1 , c 2 and exponent γ are not limited to those that are constant over the entire range of the exposure data E.
May be changed according to the range of. For example,
In the case of a direct camera, when the subject reflectance R (%) corresponding to the subject brightness is used as the exposure amount data and the digital brightness output value (for example, 8-bit QL value) is used as the digital density data, the digital brightness output value QL is In some cases. QL = 81.922R / 8 (0 ≦ R ≦ 8) QL = (R / 83.2) 0.45 (8 ≦ R ≦ 83.2) QL = 40R / 83.2 + 195 (83.2 ≦ R) (255 If it exceeds, click to 255) Here, the reflectance of 83.2% is the reflectance of white in the standard gray chart. The target gradation curve (HUB space gradation curve) of the gradation characteristic represented by these equations is shown in FIG.
Shown in In the example described above, 0 ≦ R ≦ 8, 83.2.
Although ≦ R is represented by a linear expression, the present invention is not limited to this, and may be represented by a polynomial expression, or may be represented by an expression that approximately satisfies the above power scale expression.

【0072】なお、本発明においてソフトフォーカス処
理やシャープネス強調処理などの周波数処理の対象とす
る画像信号は、写真フィルムに撮影する通常のカメラや
デジタルカメラなどの種々のカメラで直接または間接的
(スキャナ等を介して)に捕らえられた画像信号そのも
のであってもよいし、上述例のように、種々のカメラで
捕らえられた画像データを仕上がりプリントにする際
に、通常セットアップ部58で行われる絵作り処理、す
なわち観察時のフレアの影響や、色鮮やかさの向上など
を考慮して階調を立てる等の処理がなされた画像信号で
あってもよい。本発明においては、このように絵作り処
理された処理画像データを再生輝度に対応または比例し
た量を表す画像信号(露光量データ)に変換して周波数
処理を行ってもよいし、種々のカメラで捕らえられた画
像データそのものを被写体輝度あるいは入射光強度対応
または比例した量を表わす画像信号に(露光量データ)
に変換して周波数処理を行ってもよい。
In the present invention, an image signal to be subjected to frequency processing such as soft focus processing and sharpness enhancement processing is directly or indirectly (scanned) by various cameras such as a normal camera for photographing photographic film and a digital camera. Or the like, or may be a picture signal itself captured by the setup unit 58 when the image data captured by various cameras is converted into a finished print as in the above-described example. The image signal may be an image signal that has been subjected to a production process, that is, a process of setting a gradation in consideration of the influence of a flare at the time of observation, an improvement in color vividness, and the like. In the present invention, frequency processing may be performed by converting the processed image data that has been subjected to the picture creation processing into an image signal (exposure amount data) representing an amount corresponding to or proportional to the reproduction luminance. The image data itself captured in step 2 is converted to an image signal representing the object brightness or incident light intensity or a proportional amount (exposure amount data)
And frequency processing may be performed.

【0073】本発明に係る画像処理装置およびこれを用
いるデジタルフォトプリンタならびに本発明に係る画像
処理方法は、基本的に以上のように構成される。以下
に、図1〜図5を参照して、本発明の画像処理装置およ
びデジタルフォトプリンタの作用について説明する。
The image processing apparatus according to the present invention, the digital photo printer using the same, and the image processing method according to the present invention are basically configured as described above. The operation of the image processing apparatus and the digital photo printer according to the present invention will be described below with reference to FIGS.

【0074】オペレータがフィルムF(読取対象コマ)
に対応するキャリア28をスキャナ12に装填し、キャ
リア28の所定位置にフィルムFをセットし、仕上げ情
報や作成するプリントサイズ等の必要な指示を入力した
後に、ソフトフォーカス画像プリントの作成開始を指示
する。これにより、スキャナ12の可変絞り24の絞り
値やイメージセンサ(ラインCCDセンサ32R、32
G、32B)32の蓄積時間がプレスキャンの読取条件
に応じて設定される。その後、キャリア28がフィルム
Fをプレスキャンに応じた速度で副走査方向に搬送し
て、プレスキャンが開始され、フィルムFがスリット走
査されて投影光がイメージセンサ32に結像して、フィ
ルムFに撮影された画像がR、GおよびBに分解されて
光電的に低解像度で読み取られる。なお、ここでは、プ
レスキャンおよびファインスキャンは、1コマずつ行っ
てもよく、全コマあるいは所定の複数コマずつ、連続的
にプレスキャンおよびファインスキャンを行ってもよ
い。以下の例では、説明を簡潔にするために、1コマの
画像読取を例に説明を行う。
When the operator reads the film F (frame to be read)
Is loaded into the scanner 12, the film F is set at a predetermined position of the carrier 28, necessary information such as finishing information and a print size to be created is input, and then the start of soft-focus image print creation is instructed. I do. Thereby, the aperture value of the variable aperture 24 of the scanner 12 and the image sensor (the line CCD sensors 32R, 32
G, 32B) The accumulation time of 32 is set according to the prescan reading conditions. Thereafter, the carrier 28 transports the film F in the sub-scanning direction at a speed corresponding to the pre-scan, and the pre-scan is started. Is separated into R, G, and B and photoelectrically read at a low resolution. Here, the pre-scan and the fine scan may be performed one frame at a time, or the pre-scan and the fine scan may be performed continuously for all frames or for a predetermined plurality of frames. In the following example, one frame of image reading will be described as an example to simplify the description.

【0075】プレスキャンによるイメージセンサ32の
出力信号は、アンプ33で増幅されて、A/D変換器3
4に送られ、デジタル画像データとされた後に、本発明
の画像処理装置14に出力される。本発明の画像処理装
置14に入力されたデジタル画像データは、スキャナ補
正部36でイメージセンサ32の暗電流などの所定の補
正を施した後、LOG変換器38に送られ、プレスキャ
ンに対応する濃度範囲で、例えば、濃度Dで4の濃度範
囲を10bitのデータに割り付けるように、LUTを
用いて変換され、プレスキャン画像濃度データとされ、
プレスキャン画像濃度データは、プレスキャンメモリ4
0に記憶される。プレスキャンメモリ40にプレスキャ
ン画像濃度データが記憶されると、条件設定部48のセ
ットアップ部58がこれを読み出し、濃度ヒストグラム
の作成、ハイライトやシャドー等の画像特徴量の算出等
を行い、ファインスキャンの読取条件を設定して、スキ
ャナ12に供給し、また、階調調整やグレイバランス調
整等の各種の画像処理条件を設定し、パラメータ統合部
62に供給する。画像処理条件を受け取ったパラメータ
統合部62は、これを、プレスキャンデータ処理部44
およびファインスキャンデータ処理部46の所定部分
(ハードウエアおよびソフトウエア)に設定する。
The output signal of the image sensor 32 due to the pre-scan is amplified by the amplifier 33 and is output from the A / D converter 3.
4 and converted into digital image data, which is then output to the image processing device 14 of the present invention. The digital image data input to the image processing device 14 of the present invention is subjected to a predetermined correction such as a dark current of the image sensor 32 by the scanner correction unit 36, and then sent to the LOG converter 38, which corresponds to the pre-scan. The density range is converted using the LUT so as to allocate, for example, a density range of 4 with a density D to 10-bit data, and is converted into prescan image density data.
The prescan image density data is stored in the prescan memory 4
0 is stored. When the pre-scan image density data is stored in the pre-scan memory 40, the setup unit 58 of the condition setting unit 48 reads it out, creates a density histogram, calculates image features such as highlights and shadows, and performs other operations. Scanning reading conditions are set and supplied to the scanner 12, and various image processing conditions such as gradation adjustment and gray balance adjustment are set and supplied to the parameter integration unit 62. Upon receiving the image processing condition, the parameter integration unit 62 converts this into the pre-scan data processing unit 44.
And it is set in a predetermined portion (hardware and software) of the fine scan data processing section 46.

【0076】検定を行う場合には、プレスキャン画像濃
度データがプレスキャンデータ処理部44によってプレ
スキャンメモリ40から読み出され、画像処理部50に
おいて設定された画像処理条件で画像処理され、次い
で、画像データ変換部52で変換され、シュミレーショ
ン画像としてモニタ20に表示される。オペレータは、
モニタ20の表示を見て、画像すなわち処理結果の確認
(検定)を行い、必要に応じてキーボード18aに設定
された調整キー等を用いて色、濃度、階調等を調整す
る。この調整の入力は、キー補正部60に送られ、キー
補正部60は調整入力に応じた画像処理条件の補正量を
算出し、これをパラメータ統合部62に送る。パラメー
タ統合部62は、送られた補正量に応じて、画像処理部
50および54のLUTやMTX等を補正する。従っ
て、この補正すなわちオペレータによる調整入力に応じ
て、モニタ20に表示される画像も変化する。
When performing the test, the prescan image density data is read out from the prescan memory 40 by the prescan data processing unit 44 and image-processed under the image processing conditions set in the image processing unit 50. The image data is converted by the image data converter 52 and displayed on the monitor 20 as a simulation image. The operator
The image, that is, the processing result is checked (verified) while looking at the display on the monitor 20, and the color, density, gradation, and the like are adjusted as necessary using the adjustment keys and the like set on the keyboard 18a. The input of this adjustment is sent to the key correction unit 60, which calculates the correction amount of the image processing condition according to the adjustment input, and sends it to the parameter integration unit 62. The parameter integration unit 62 corrects the LUT, MTX, and the like of the image processing units 50 and 54 according to the transmitted correction amount. Therefore, the image displayed on the monitor 20 also changes according to the correction, that is, the adjustment input by the operator.

【0077】オペレータは、このコマの画像が適正(検
定OK)であると判定すると、キーボード18a等を用
いてプリント開始を指示する。これにより、画像処理条
件が確定し、スキャナ12において可変絞り24の絞り
値等が設定されたファインスキャンの読取条件に応じて
設定されると共に、キャリア28がファインスキャンに
対応する速度でフィルムFを搬送し、ファインスキャン
が開始される。なお、検定を行わない場合には、パラメ
ータ統合部62によるファインスキャンデータ処理部4
6の画像処理部54への画像処理条件の設定を終了した
時点で画像処理条件が確定し、ファインスキャンが開始
される。ファインスキャンは、可変絞り24の絞り値等
の読取条件が異なる以外はプレスキャンと同様に行わ
れ、イメージセンサ32からの出力信号はアンプ33で
増幅されて、処理装置14のA/D変換器34でデジタ
ル濃度データとされ、スキャナ補正部36で所定の処理
を施され、LOG変換器38に送られる。LOG変換器
38において、ファインスキャンデジタル画像データは
プレスキャンよりも高い濃度分解能で処理され、例え
ば、濃度Dで2の濃度範囲を10bitのデータに割り
付けるようにLUTで変換され、ファインスキャン画像
濃度データとされた後、ファインスキャンメモリ42に
送られる。
When the operator determines that the image of this frame is proper (test OK), the operator instructs the start of printing using the keyboard 18a or the like. Thus, the image processing conditions are determined, the aperture value of the variable aperture 24 is set in the scanner 12 in accordance with the reading conditions of the fine scan, and the carrier 28 moves the film F at a speed corresponding to the fine scan. It is conveyed and fine scan is started. When the test is not performed, the fine scan data processing unit 4 by the parameter integration unit 62
When the setting of the image processing condition in the image processing unit 54 of Step 6 is completed, the image processing condition is determined, and the fine scan is started. The fine scan is performed in the same manner as the pre-scan except that the reading conditions such as the aperture value of the variable aperture 24 are different. The output signal from the image sensor 32 is amplified by the amplifier 33, and the A / D converter of the processing device 14 The digital density data is converted into digital density data at 34, subjected to predetermined processing by a scanner correction unit 36, and sent to a LOG converter 38. In the LOG converter 38, the fine scan digital image data is processed with a higher density resolution than the pre-scan. For example, the fine scan digital image data is converted by an LUT so that a density range of 2 is allocated to 10-bit data in the density D. Is sent to the fine scan memory 42.

【0078】画像処理部54においては、色濃度階調変
換手段64により、ルックアップテーブルにしたがっ
て、ファインスキャン画像データの濃度データ、色デー
タおよび階調データが変換され、彩度変換手段66によ
って、マトリックス演算にしたがって、画像信号の彩度
データが変換される。ついで、カラーペーパに出力する
カラー画像のサイズに応じて、電子変倍手段68によ
り、画像データ信号の画素データ数が増減された後、画
像信号は、周波数処理手段70あるいは周波数処理手段
70をスルーして直接ソフトフォーカス処理手段72に
入力される。周波数処理手段70に入力された画像濃度
データ信号は、エッジ強調などの周波数処理を受け、ソ
フトフォーカス処理手段72に入力される。ファインス
キャン画像濃度データ信号が入力されると、ソフトフォ
ーカス処理手段72は、ソフトフォーカス画像を生成す
るための処理を、画像濃度データ信号に対して施す。
In the image processing section 54, the density data, color data and gradation data of the fine scan image data are converted by the color density gradation conversion means 64 in accordance with the look-up table. The chroma data of the image signal is converted according to the matrix operation. Then, after the number of pixel data of the image data signal is increased or decreased by the electronic scaling unit 68 in accordance with the size of the color image output to the color paper, the image signal passes through the frequency processing unit 70 or the frequency processing unit 70. Then, it is directly input to the soft focus processing means 72. The image density data signal input to the frequency processing unit 70 undergoes frequency processing such as edge enhancement, and is input to the soft focus processing unit 72. When the fine scan image density data signal is input, the soft focus processing means 72 performs processing for generating a soft focus image on the image density data signal.

【0079】すなわち、オペレータが、キーボード18
aを用いて、ソフトフォーカス画像の生成を指示する
と、指示信号が本発明の画像処理装置14に入力され、
ソフトフォーカス処理手段72に必要な処理パラメータ
が設定される。ソフトフォーカス処理手段72におい
て、ソフトフォーカス画像の作成に必要な処理パラメー
タが設定されると、その設定処理パラメータに従って、
入力画像濃度データは、まず、色調変換手段74によっ
て色調信号レベルが変換されて原画像信号とされ、次に
露光量変換手段75において、例えば図11に示すグラ
フに基づいて露光量データである真数原画像信号に変
換された後、メインパスに送られ、直接画像信号合成手
段88に入力されるか、または必要に応じてゲイン調整
手段76によって真数原画像信号の中および高周波帯域
成分の少なくとも一方のゲインが調整されて、ゲイン調
整真数画像信号が生成された後、画像信号合成手段88
に入力される。一方、真数変換手段75から出力された
真数原画像信号は、バイパスに送られ、輝度信号変換手
段78に入力され、真数輝度信号Yに変換された後、ロ
ーパスフィルタ80に入力され、真数ボケ画像信号が生
成された後、ダイナミックレンジ圧縮手段82をスルー
して、何らの処理もされずに画像信号合成手段88に入
力される。また、必要に応じて、色調変換手段74から
出力された原画像信号は、画像濃度判定手段84に入力
され、1コマの画像における画像濃度が判定され、次い
で、加算比率調整手段86において画像濃度判定手段8
4による判定濃度に応じて加算比率αが調整され、画像
信号合成手段88に入力される。
That is, the operator operates the keyboard 18
When an instruction is given to generate a soft focus image using a, an instruction signal is input to the image processing apparatus 14 of the present invention,
Processing parameters required for the soft focus processing means 72 are set. When the processing parameters required for creating a soft focus image are set in the soft focus processing means 72,
The input image density data is converted into an original image signal by converting a color tone signal level by a color tone conversion means 74, and then, in an exposure amount conversion means 75, a true exposure amount data based on, for example, a graph shown in FIG. After being converted to a number original image signal, it is sent to the main path and directly input to the image signal synthesizing means 88, or, if necessary, by the gain adjusting means 76 in the true number original image signal and the high frequency band component. After at least one of the gains is adjusted to generate a gain-adjusted true image signal, the image signal combining means 88
Is input to On the other hand, the true number original image signal output from the true number conversion means 75 is sent to the bypass, input to the luminance signal conversion means 78, converted into the real number luminance signal Y, and then input to the low-pass filter 80, After the anti-blur image signal is generated, the image signal is passed through the dynamic range compressing unit 82 and input to the image signal synthesizing unit 88 without any processing. If necessary, the original image signal output from the color tone conversion unit 74 is input to the image density determination unit 84, where the image density of one frame image is determined. Judgment means 8
The addition ratio α is adjusted in accordance with the density determined in Step 4 and input to the image signal synthesizing means 88.

【0080】最後に、画像信号合成手段88では、真数
原画像信号またはゲイン調整真数画像信号と真数ボケ画
像信号とが所定の加算比率αまたは画像濃度に応じて調
整された加算比率αで合成され、真数ソフトフォーカス
画像信号が得られ、次いで、濃度データ変換手段90
で、例えば図11に示すグラフに基づいて、真数ソフ
トフォーカス画像信号がデジタル濃度データであるソフ
トフォーカス画像信号に逆変換される。こうして得られ
たソフトフォーカス画像信号は、カメラにおける多重露
光による実際のカラーソフトフォーカスで見られるフレ
アーに近い効果を持つカラーソフトフォーカス画像とし
て、さらには、輪郭(エッジ)などの画像の芯を残した
い部分には画像の芯のボケがなく、また、肌やハイライ
ト部等のソフト感を出したい部分には粒状のざらつきな
どがないカラーソフトフォーカス画像として再現するこ
とができるものである。このようにして、ファインスキ
ャン処理部46の画像処理部54において生成されたソ
フトフォーカス画像信号は、画像データ変換部56に入
力されて、画像出力用画像データに変換された後、画像
処理装置14から、画像記録装置16に出力される。
Finally, in the image signal synthesizing means 88, the true original image signal or the gain adjusted true image signal and the true blur image signal are added at a predetermined addition ratio α or an addition ratio α adjusted according to the image density. , And a soft focus image signal is obtained.
Then, for example, based on the graph shown in FIG. 11, the true soft focus image signal is inversely converted into a soft focus image signal which is digital density data. The soft focus image signal obtained in this manner is desired to leave a core of an image such as a contour (edge) as a color soft focus image having an effect close to a flare seen in actual color soft focus by multiple exposure in a camera. The image can be reproduced as a color soft-focus image having no blur of the center of the image in a portion and a portion in which a soft feeling such as a skin or a highlight portion is to be obtained without any granular roughness. The soft focus image signal generated in the image processing unit 54 of the fine scan processing unit 46 in this manner is input to the image data conversion unit 56 and converted into image output image data. Is output to the image recording device 16.

【0081】画像記録装置16は、入力画像データに応
じて感光材料(印画紙)を露光して潜像を記録するプリ
ンタ(焼付装置)と、露光済の感光材料に所定の処理を
施してプリントとして出力するプロセサ(現像装置)と
を有して構成される。プリンタでは、例えば、感光材料
をプリントに応じた所定長に切断した後に、バックプリ
ントを記録し、次いで、感光材料の分光感度特性に応じ
たR露光、G露光およびB露光の3種の光ビームを処理
装置14から出力された画像データに応じて変調して主
走査方向に偏向すると共に、主走査方向と直交する副走
査方向に感光材料を搬送することにより、前記光ビーム
で感光材料を2次元的に走査露光して潜像を記録し、プ
ロセサに供給する。感光材料を受け取ったプロセサは、
発色現像、漂白定着、水洗等の所定の湿式現像処理を行
い、乾燥してプリントとし、フィルム1本分等の所定単
位に仕分して集積する。
The image recording device 16 prints a latent image by exposing a photosensitive material (printing paper) in accordance with input image data, and a printer (printing device) for performing a predetermined process on the exposed photosensitive material. And a processor (developing device) that outputs the result. In a printer, for example, after cutting a photosensitive material into a predetermined length corresponding to a print, a back print is recorded, and then three types of light beams of R exposure, G exposure, and B exposure according to the spectral sensitivity characteristics of the photosensitive material. Is modulated in accordance with the image data output from the processing device 14 and is deflected in the main scanning direction, and the photosensitive material is conveyed in the sub-scanning direction orthogonal to the main scanning direction. A latent image is recorded by dimensional scanning exposure and supplied to a processor. The processor receiving the photosensitive material,
A predetermined wet developing process such as color development, bleach-fixing, and washing with water is performed, dried to form a print, sorted into a predetermined unit such as one film, and accumulated.

【0082】上述した例では、本発明の画像処理装置の
特徴とする周波数処理を行うソフトフォーカス処理手段
72やシャープネス強調処理手段71やこれらを含む周
波数処理手段70などが、ハードウエアとして構成され
ているが、本発明はこれに限定されず、ソフトウエアと
して構成してもよい。この場合、これらの手段70、7
1、72が行う本発明の画像処理方法の特徴とするソフ
トフォーカス処理やシャープネス強調処理などの周波数
処理を実施するプログラムをソフトウエアとして画像処
理装置14のCPUから読み出しができる内部または外
部メモリに記憶させておき、これらの周波数処理に先立
ちメモリから読みだして画像処理装置14のCPUにダ
ウンロードして、これらの周波数処理を行うことができ
る。
In the above-described example, the soft focus processing means 72, the sharpness enhancement processing means 71, and the frequency processing means 70 including these, which are characteristic of the image processing apparatus of the present invention, are configured as hardware. However, the present invention is not limited to this, and may be configured as software. In this case, these means 70, 7
A program for performing frequency processing such as soft focus processing and sharpness enhancement processing, which is a feature of the image processing method of the present invention performed by the image processing apparatus 1 or 72, is stored as software in an internal or external memory that can be read from the CPU of the image processing apparatus 14. In advance, these frequency processes can be read out from the memory and downloaded to the CPU of the image processing apparatus 14 before these frequency processes.

【0083】また、本発明においては、上述したソフト
ウエア、すなわち本発明の画像処理方法の特徴とするソ
フトフォーカス処理やシャープネス強調処理などの周波
数処理を実施するプログラムを、図1に示す記録媒体2
1aに記録しておき、これらの周波数処理に先立ってこ
の記録媒体21aを駆動装置21に装填してドライブし
て、この記録媒体21aに記録されたプログラムを読み
出し、画像処理装置14のCPUにダウンロードして、
これらの周波数処理を行うようにしてもよい。ここで、
本発明の特徴とする記録媒体21aにソフトウエアとし
て記録される画像処理方法は、上述した種々のソフトフ
ォーカス処理、シャープネス強調処理、周波数処理の少
なくとも1つであればよい。また、ソフトウエアを記録
する記録媒体21aとしては、これらのソフトフォーカ
ス処理やシャープネス強調処理や周波数処理などを実施
するプログラムを記録できればどのようなものでもよ
く、例えば、磁気テープ、フロッピーディスク(F
D)、ハードディスク(HD)、ZIP、MD、JA
Z、PCカード等の磁気記録媒体、MO、PD等の光磁
気記録媒体、CD等の光記録媒体などを挙げることがで
きる。
Further, in the present invention, the above-mentioned software, that is, a program for performing frequency processing such as soft focus processing and sharpness enhancement processing which is a feature of the image processing method of the present invention, is stored in the recording medium 2 shown in FIG.
1a, prior to the frequency processing, the recording medium 21a is loaded into the drive device 21 and driven to read out the program recorded on the recording medium 21a and download the program to the CPU of the image processing device 14. do it,
These frequency processes may be performed. here,
The image processing method recorded as software on the recording medium 21a, which is a feature of the present invention, may be any one of the above-described various soft focus processing, sharpness enhancement processing, and frequency processing. The recording medium 21a for recording software may be of any type as long as it can record a program for performing such soft focus processing, sharpness enhancement processing, frequency processing, and the like. For example, a magnetic tape, a floppy disk (F
D), Hard Disk (HD), ZIP, MD, JA
Z, a magnetic recording medium such as a PC card, a magneto-optical recording medium such as an MO or PD, and an optical recording medium such as a CD.

【0084】以上、本発明の画像処理装置、画像処理方
法およびこれを行うソフトウエアを記録した記録媒体に
ついて詳細に説明したが、本発明は上記実施例に限定は
されず、本発明の要旨を逸脱しない範囲において、各種
の改良および変更を行ってもよいのはもちろんである。
Although the image processing apparatus, the image processing method, and the recording medium on which the software for executing the image processing of the present invention are recorded have been described in detail, the present invention is not limited to the above embodiments, and the gist of the present invention is described. Of course, various improvements and changes may be made without departing from the scope of the present invention.

【0085】[0085]

【発明の効果】以上詳述したように、本発明の画像処理
装置および方法によれば、アナログ系のソフトフォーカ
スに近いフレアーなどの感じを持つソフトフォーカス画
像、すなわち実際のカメラでソフトフォーカスレンズな
どを使って撮影する、実際のソフトフォーカス撮影で見
られるようなフレアーに近い効果をもつソフトフォーカ
ス画像を生成することができる。また、本発明におい
て、ソフトフォーカス画像をデジタル画像処理によって
作成するに際し、ゲイン調整や画像濃度に応じた原画像
とボケ画像との加算比率調整を行うものでは、ソフトフ
ォーカス効果を強くしても、輪郭またはエッジのボケが
なく、エッジなどの画像の芯を残すことができ、あるい
は、画像の芯を残すためにソフトフォーカス効果を落と
しても、肌やハイライト部の粒状が目立たせることがな
く、肌やハイライト部等のソフトフォーカス感を出した
い部分と、輪郭などの画像の芯を残したい部分に最適な
ソフトフォーカス化処理を施すことができる。
As described above in detail, according to the image processing apparatus and method of the present invention, a soft focus image having a flare-like feeling close to an analog soft focus, that is, a soft focus lens or the like in an actual camera. It is possible to generate a soft focus image having an effect close to flare as seen in actual soft focus shooting. Further, in the present invention, when creating a soft focus image by digital image processing, in the case of adjusting the addition ratio between the original image and the blurred image according to gain adjustment or image density, even if the soft focus effect is strengthened, There is no outline or edge blur, leaving the core of the image such as the edge, or even if the soft focus effect is dropped to leave the core of the image, the grain of the skin and highlight parts will not be noticeable In addition, it is possible to perform an optimal soft focus process on a portion where a soft focus feeling is required such as a skin or a highlight portion and a portion where an image core such as an outline is to be left.

【0086】さらに、本発明において、シャープネス強
調処理を真数(露光量)変換処理して行うものでは、人
物の肌等の重要色のゆるやかなグラデーションを持つよ
うな特定領域の粒状悪化を抑えつつ、画像のシャープネ
ス強調を行うことができる。また、本発明において、粒
状抑制シャープネス強調処理方法と本発明での真数(露
光量)によるシャープネス強調処理とを組み合わせて行
うものでは、人物の肌等の特定領域の粒状を抑制して、
画像のエッジ部やテクスチャーのみを強調するシャープ
ネス強調を行うことができる。また、本発明によれば、
ソフトフォーカス処理または覆い焼き処理やシャープネ
ス強調処理などの周波数処理の前の画像データの変換お
よび周波数処理後の処理済画像データの逆変換のみで、
途中で複雑な非線型処理等を用いる必要がなく、従来の
処理装置の簡単な変更で上述の効果を達成することがで
きる。また、本発明の記録媒体によれば、上記効果を奏
するソフトフォーカス処理または覆い焼き処理やシャー
プネス強調処理などの周波数処理を行う画像処理方法を
画像処理装置に簡単にソフトウエアとして設定し、上述
の効果を達成する本発明の画像処理方法を実施する本発
明の画像処理装置を構成することができる。
Further, in the present invention, when sharpness enhancement processing is performed by performing a true number (exposure amount) conversion processing, it is possible to suppress the deterioration of the granularity of a specific area having a gentle gradation of an important color such as the skin of a person. , The sharpness of the image can be enhanced. Further, in the present invention, the method of performing the graininess suppression sharpness enhancement processing method in combination with the sharpness enhancement processing by the antilogarithm (exposure amount) in the present invention suppresses the graininess of a specific region such as a human skin,
Sharpness enhancement that emphasizes only the edges and texture of the image can be performed. According to the present invention,
Only the conversion of image data before frequency processing such as soft focus processing or dodging processing and sharpness enhancement processing and the inverse conversion of processed image data after frequency processing,
There is no need to use complicated non-linear processing or the like on the way, and the above-described effects can be achieved with a simple change of the conventional processing apparatus. Further, according to the recording medium of the present invention, an image processing method for performing a frequency process such as a soft focus process or a dodging process or a sharpness enhancement process having the above-described effect is easily set as software in the image processing apparatus, and An image processing apparatus according to the present invention that implements the image processing method according to the present invention that achieves the effects can be configured.

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

【図1】 本発明の画像処理装置の一実施例を適用する
デジタルフォトプリンタの一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of a digital photo printer to which an embodiment of an image processing apparatus according to the present invention is applied.

【図2】 (a)は、図1に示すデジタルフォトプリン
タに装着されるキャリアの一実施例を説明するための概
略斜視図、(b)は、図1に示すデジタルフォトプリン
タのイメージセンサの一実施例の概念図である。
2A is a schematic perspective view for explaining an embodiment of a carrier mounted on the digital photo printer shown in FIG. 1, and FIG. 2B is a schematic view of the image sensor of the digital photo printer shown in FIG. It is a conceptual diagram of one Example.

【図3】 図1に示すデジタルフォトプリンタの画像処
理装置の一実施例のブロック図である。
FIG. 3 is a block diagram of an embodiment of an image processing apparatus of the digital photo printer shown in FIG.

【図4】 図3に示す画像処理装置のファインスキャン
画像データ処理部の画像処理部一実施例のブロック図で
ある。
4 is a block diagram of an embodiment of an image processing unit of the fine scan image data processing unit of the image processing apparatus shown in FIG.

【図5】 図4に示す画像処理部のソフトフォーカス処
理手段の一実施例のブロック図である。
FIG. 5 is a block diagram of an embodiment of a soft focus processing unit of the image processing unit shown in FIG.

【図6】 図5に示すソフトフォーカス処理手段の真数
変換手段で用いられるカラーネガフィルム濃度とカラー
ペーパーのプリント濃度との関係の一例を示すグラフで
ある。
6 is a graph showing an example of the relationship between the density of a color negative film and the print density of a color paper used in the anti-logarithmic converter of the soft focus processor shown in FIG. 5;

【図7】 図5に示す真数変換手段で用いられるカラー
ネガフィルム濃度と対数露光量との関係の一例を示すグ
ラフである。
7 is a graph showing an example of the relationship between the density of a color negative film and the logarithmic exposure used in the antilog conversion means shown in FIG. 5;

【図8】 図6に示すグラフおよび図7に示すグラフ
から得られるプリント濃度と対数露光量との関係の一
例を示すグラフである。
8 is a graph showing an example of a relationship between a print density and a log exposure amount obtained from the graph shown in FIG. 6 and the graph shown in FIG.

【図9】 図3に示す画像処理装置の外部出力(デジタ
ル画像濃度データ)とプリント濃度との関係の一例を示
すグラフである。
9 is a graph illustrating an example of a relationship between an external output (digital image density data) of the image processing apparatus illustrated in FIG. 3 and a print density.

【図10】 図8に示すグラフおよび図9に示すグラ
フから得られるデジタル画像濃度データと真数量との
関係の一例を示すグラフである。
10 is a graph showing an example of a relationship between digital image density data obtained from the graph shown in FIG. 8 and the graph shown in FIG. 9 and a true quantity.

【図11】 図10に示すグラフで表されるデジタル
画像濃度データと真数量との関係の一例を全域に渡って
示すグラフである。
11 is a graph showing an example of the relationship between digital image density data and the true quantity represented by the graph shown in FIG. 10 over the entire area.

【図12】 図5に示すソフトフォーカス処理手段のゲ
イン調整手段の一実施例のブロック図である。
12 is a block diagram of an embodiment of a gain adjusting unit of the soft focus processing unit shown in FIG.

【図13】 図4に示す画像処理部の周波数処理手段の
別の実施例のブロック図である。
13 is a block diagram of another embodiment of the frequency processing means of the image processing unit shown in FIG.

【図14】 図4に示す画像処理部の周波数処理手段の
別の実施例のブロック図である。
FIG. 14 is a block diagram of another embodiment of the frequency processing means of the image processing unit shown in FIG.

【図15】 直撮カメラにおける被写体反射率(%)と
8bitデジタル輝度出力値との関係を一例を示すグラ
フである。
FIG. 15 is a graph showing an example of a relationship between a subject reflectance (%) and an 8-bit digital luminance output value in a direct-view camera.

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

10 (デジタル)フォトプリンタ 12 スキャナ 14 (画像)処理装置 16 画像記録装置 18 操作系 18a キーボード 18b マウス 20 モニタ 22 光源 24 可変絞り 26 拡散ボックス 28 キャリア 30 結像レンズユニット 32 イメージセンサ 32R、32G、32B ラインCCDセンサ 34 A/D変換器 36 スキャナ補正部 38 LOG変換器 40 プレスキャン(フレーム)メモリ 42 ファインスキャン(フレーム)メモリ 44 プレスキャンデータ処理部 46 ファインスキャンデータ処理部 48 条件設定部 50、54 画像処理部 52、56 画像データ変換部 58 セットアップ部 60 キー補正部 62 パラメータ統合部 64 色濃度階調変換手段 66 彩度変換手段 68 電子変倍(ディジタル倍率変換)手段 70 周波数処理手段 71 シャープネス強調処理手段 72 ソフトフォーカス処理手段 74 色調変換手段 75 露光量変換手段 76 ゲイン調整手段 78 輝度信号変換手段 80、92、96 ローパスフィルタ 82 ダイナミックレンジ圧縮手段 84 画像濃度判定手段 86 加算比率調整手段 88 画像信号合成手段 90 濃度データ変換手段 94、98 減算器 100、102 ゲイン調整回路 104 加算器 106 シャープネス強調処理部 108 ソフトフォーカス処理部 110 覆い焼き処理部 DESCRIPTION OF SYMBOLS 10 (Digital) photo printer 12 Scanner 14 (Image) processing device 16 Image recording device 18 Operation system 18a Keyboard 18b Mouse 20 Monitor 22 Light source 24 Variable aperture 26 Diffusion box 28 Carrier 30 Imaging lens unit 32 Image sensor 32R, 32G, 32B Line CCD sensor 34 A / D converter 36 Scanner correction unit 38 LOG converter 40 Prescan (frame) memory 42 Finescan (frame) memory 44 Prescan data processing unit 46 Fine scan data processing unit 48 Condition setting unit 50, 54 Image processing sections 52, 56 Image data conversion section 58 Setup section 60 Key correction section 62 Parameter integration section 64 Color density gradation conversion means 66 Saturation conversion means 68 Electronic scaling (digital magnification conversion) means 0 Frequency processing means 71 Sharpness enhancement processing means 72 Soft focus processing means 74 Color tone conversion means 75 Exposure amount conversion means 76 Gain adjustment means 78 Luminance signal conversion means 80, 92, 96 Low pass filter 82 Dynamic range compression means 84 Image density determination means 86 Addition ratio adjusting means 88 image signal synthesizing means 90 density data converting means 94, 98 subtractor 100, 102 gain adjusting circuit 104 adder 106 sharpness enhancement processing section 108 soft focus processing section 110 dodging processing section

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】デジタル原画像信号に画像処理を施してソ
フトフォーカス画像を作成するためのデジタルソフトフ
ォーカス画像信号を生成する画像処理装置であって、 前記原画像信号を被写体輝度、入射光強度あるいは再生
輝度に対応した量を表わす変換画像信号に変換する手段
と、 この変換画像信号に対し所定のスムージング処理を施し
てソフトフォーカス処理変換画像信号を生成する手段
と、 このソフトフォーカス処理変換画像信号を前記デジタル
ソフトフォーカス画像信号に逆変換する手段とを有する
ことを特徴とする画像処理装置。
1. An image processing apparatus for generating a digital soft focus image signal for creating a soft focus image by performing image processing on a digital original image signal, comprising: Means for converting the converted image signal into a converted image signal representing an amount corresponding to the reproduction luminance; means for performing a predetermined smoothing process on the converted image signal to generate a soft focus processed converted image signal; Means for inversely converting to the digital soft focus image signal.
【請求項2】前記ソフトフォーカス処理変換画像信号を
生成する手段は、 前記変換画像信号からボケ画像信号を生成する手段と、 前記変換画像信号と前記ボケ画像信号とを所定の加算比
率で加算して前記ソフトフォーカス処理変換画像信号を
生成する加算手段とを有することを特徴とする請求項1
に記載の画像処理装置。
2. A means for generating the soft focus processing converted image signal, comprising: means for generating a blurred image signal from the converted image signal; and adding the converted image signal and the blurred image signal at a predetermined addition ratio. 2. An addition means for generating the soft focus processing converted image signal by using
An image processing apparatus according to claim 1.
【請求項3】前記ソフトフォーカス処理変換画像信号を
生成する手段は、 さらに、前記変換画像信号の中周波成分および高周波成
分のゲインの少なくとも一方を調整するゲイン調整手段
を有し、 前記加算手段は、前記ゲイン調整手段によってゲイン調
整された変換画像信号と前記ボケ画像信号とを加算して
前記ソフトフォーカス処理変換画像信号を生成すること
を特徴とする請求項2に記載の画像処理装置。
3. The means for generating the soft focus processing converted image signal further comprises: gain adjusting means for adjusting at least one of a gain of a medium frequency component and a high frequency component of the converted image signal; 3. The image processing apparatus according to claim 2, wherein the converted image signal whose gain has been adjusted by the gain adjusting means and the blurred image signal are added to generate the soft focus processing converted image signal.
【請求項4】前記ソフトフォーカス処理変換画像信号を
生成する手段は、 さらに、前記加算手段による前記ゲイン調整変換画像信
号と前記ボケ画像信号との前記加算比率を調整する加算
比率調整手段を有することを特徴とする請求項3に記載
の画像処理装置。
4. The means for generating the soft focus processing converted image signal further comprises an addition ratio adjusting means for adjusting the addition ratio between the gain adjustment converted image signal and the blurred image signal by the adding means. The image processing apparatus according to claim 3, wherein:
【請求項5】前記ソフトフォーカス処理変換画像信号を
生成する手段は、 さらに、前記加算手段による前記変換画像信号と前記ボ
ケ画像信号との前記加算比率を調整する加算比率調整手
段と有することを特徴とする請求項2に記載の画像処理
装置。
5. The means for generating a soft focus processing converted image signal further comprises an addition ratio adjusting means for adjusting the addition ratio of the converted image signal and the blurred image signal by the adding means. The image processing device according to claim 2.
【請求項6】前記ソフトフォーカス処理変換画像信号を
生成する手段は、 さらに、前記原画像信号を用いて画像中の濃度を判定す
る手段とを有し、 前記加算比率調整手段は、前記判定手段によって判定さ
れた前記画像中の濃度に応じて前記加算比率を調整する
ことを特徴とする請求項4または5に記載の画像処理装
置。
6. The means for generating a soft focus processing converted image signal further comprises: means for judging density in an image using the original image signal. The image processing apparatus according to claim 4, wherein the addition ratio is adjusted in accordance with the density in the image determined by the method.
【請求項7】前記ボケ画像信号の生成手段は、ローパス
フィルタを含むボケマスク処理手段であることを特徴と
する請求項2〜6のいずれかに記載の画像処理装置。
7. An image processing apparatus according to claim 2, wherein said blur image signal generating means is a blur mask processing means including a low-pass filter.
【請求項8】前記ボケ画像信号の生成手段は、前記変換
画像信号を輝度信号に変換する手段と、この輝度信号に
変換された輝度画像信号にボケマスク処理を施すボケマ
スク処理手段とを有することを特徴とする請求項2〜7
のいずれかに記載の画像処理装置。
8. The blur image signal generating means includes means for converting the converted image signal into a luminance signal, and blur mask processing means for performing a blur mask process on the luminance image signal converted into the luminance signal. Claims 2-7
The image processing device according to any one of the above.
【請求項9】前記原画像信号および前記デジタルソフト
フォーカス画像信号が、光学濃度あるいは対数露光量に
対応した量を表わす画像信号であることを特徴とする請
求項1〜8のいずれかに記載の画像処理装置。
9. The apparatus according to claim 1, wherein said original image signal and said digital soft focus image signal are image signals representing an amount corresponding to an optical density or a logarithmic exposure amount. Image processing device.
【請求項10】デジタル原画像信号に周波数処理を施し
て周波数処理画像を作成するためのデジタル周波数処理
画像信号を生成する画像処理装置であって、 前記原画像信号を被写体輝度、入射光強度あるいは再生
輝度に対応した量を表わす変換画像信号に変換する手段
と、変換画像信号に変換する手段と、 この変換画像信号を用いて周波数処理を行う周波数処理
手段と、 この周波数処理された変換画像信号を前記デジタル周波
数処理画像信号に逆変換する手段とを有することを特徴
とする画像処理装置。
10. An image processing apparatus for performing a frequency processing on a digital original image signal to generate a digital frequency processing image signal for creating a frequency processing image, wherein the original image signal is subjected to subject brightness, incident light intensity or Means for converting to a converted image signal representing an amount corresponding to the reproduction luminance, means for converting to a converted image signal, frequency processing means for performing frequency processing using the converted image signal, and a converted image signal subjected to the frequency processing Means for inversely converting the image data into the digital frequency processing image signal.
【請求項11】前記周波数処理は、ソフトフォーカス処
理またはシャープネス強調処理であり、前記周波数処理
手段は、ソフトフォーカス処理手段またはシャープネス
強調処理手段であることを特徴とする請求項10に記載
の画像処理装置。
11. The image processing apparatus according to claim 10, wherein said frequency processing is soft focus processing or sharpness enhancement processing, and said frequency processing means is soft focus processing means or sharpness enhancement processing means. apparatus.
【請求項12】デジタル原画像信号を被写体輝度、入射
光強度あるいは再生輝度に対応した量を表わす画像信号
に変換し、 得られた変換画像信号に対し所定のスムージング処理を
施してソフトフォーカス処理された変換画像信号を生成
し、 得られたソフトフォーカス処理変換画像信号をデジタル
ソフトフォーカス画像信号に逆変換することを特徴とす
る画像処理方法。
12. A digital original image signal is converted into an image signal representing an amount corresponding to subject luminance, incident light intensity or reproduction luminance, and a predetermined smoothing process is performed on the obtained converted image signal to perform soft focus processing. Generating a converted image signal, and inversely converting the obtained soft focus processed converted image signal into a digital soft focus image signal.
【請求項13】前記ソフトフォーカス処理変換画像信号
は、前記変換画像信号からボケ画像信号を生成し、前記
変換画像信号と前記ボケ画像信号とを所定の加算比率で
加算することにより生成されることを特徴とする請求項
12に記載の画像処理方法。
13. The soft focus processing converted image signal is generated by generating a blurred image signal from the converted image signal and adding the converted image signal and the blurred image signal at a predetermined addition ratio. The image processing method according to claim 12, wherein:
【請求項14】前記ソフトフォーカス処理変換画像信号
は、前記変換画像信号の中周波成分および高周波成分の
ゲインの少なくとも一方を調整し、このゲイン調整され
た変換画像信号と前記ボケ画像信号とを加算することに
より生成されることを特徴とする請求項13に記載の画
像処理方法。
14. The soft focus processing converted image signal adjusts at least one of a gain of a medium frequency component and a high frequency component of the converted image signal, and adds the gain-adjusted converted image signal and the blurred image signal. 14. The image processing method according to claim 13, wherein the image processing method is generated by performing the following.
【請求項15】前記ゲイン調整変換画像信号と前記ボケ
画像信号との加算比率は、調整されることを特徴とする
請求項14に記載の画像処理方法。
15. The image processing method according to claim 14, wherein an addition ratio between the gain-adjusted converted image signal and the blurred image signal is adjusted.
【請求項16】前記変換画像信号と前記ボケ画像信号と
の前記加算比率は、調整されることを特徴とする請求項
13に記載の画像処理方法。
16. The image processing method according to claim 13, wherein the addition ratio between the converted image signal and the blurred image signal is adjusted.
【請求項17】前記加算比率は、前記原画像信号を用い
て画像中の濃度を判定し、判定された前記画像中の濃度
に応じて調整されることを特徴とする請求項15または
16に記載の画像処理方法。
17. The method according to claim 15, wherein the addition ratio is determined based on the density in the image by using the original image signal, and is adjusted according to the determined density in the image. The image processing method described in the above.
【請求項18】前記ボケ画像信号は、ローパスフィルタ
を用いるボケマスク処理によって生成されることを特徴
とする請求項13〜17のいずれかに記載の画像処理方
法。
18. The image processing method according to claim 13, wherein said blurred image signal is generated by a blur mask process using a low-pass filter.
【請求項19】前記ボケ画像信号は、前記変換画像信号
を輝度信号に変換し、この輝度信号に変換された輝度画
像信号にボケマスク処理を施すことにより生成されるこ
とを特徴とする請求項13〜18のいずれかに記載の画
像処理方法。
19. The blurred image signal is generated by converting the converted image signal into a luminance signal and performing a blur mask process on the luminance image signal converted into the luminance signal. 19. The image processing method according to any one of claims 18 to 18.
【請求項20】前記原画像信号および前記デジタルソフ
トフォーカス画像信号が、光学濃度あるいは対数露光量
に対応した量を表わす画像信号であることを特徴とする
請求項12〜19のいずれかに記載の画像処理方法。
20. The apparatus according to claim 12, wherein said original image signal and said digital soft focus image signal are image signals representing an amount corresponding to an optical density or a logarithmic exposure amount. Image processing method.
【請求項21】デジタル原画像信号を被写体輝度、入射
光強度あるいは再生輝度に対応した量を表わす変換画像
信号に変換し、 得られた変換画像信号を用いて周波数処理を行い、 得られた周波数処理された変換画像信号をデジタル周波
数処理画像信号に逆変換することを特徴とする画像処理
方法。
21. A digital original image signal is converted into a converted image signal representing an amount corresponding to subject luminance, incident light intensity or reproduction luminance, and frequency processing is performed using the obtained converted image signal. An image processing method characterized by inversely converting a processed converted image signal into a digital frequency processed image signal.
【請求項22】前記周波数処理は、ソフトフォーカス処
理またはシャープネス強調処理であることを特徴とする
請求項21に記載の画像処理方法。
22. The image processing method according to claim 21, wherein said frequency processing is soft focus processing or sharpness enhancement processing.
【請求項23】請求項12〜20のいずれかに記載の画
像処理方法を行うソフトウエアを記録したことを特徴と
する記録媒体。
23. A recording medium on which software for performing the image processing method according to claim 12 is recorded.
【請求項24】請求項21または22に記載の画像処理
方法を行うソフトウエアを記録したことを特徴とする記
録媒体。
24. A recording medium on which is recorded software for performing the image processing method according to claim 21.
JP11101787A 1998-04-08 1999-04-08 Image processor, image processing method and recording medium recorded with software to execute the method Pending JPH11353477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11101787A JPH11353477A (en) 1998-04-08 1999-04-08 Image processor, image processing method and recording medium recorded with software to execute the method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-96302 1998-04-08
JP9630298 1998-04-08
JP11101787A JPH11353477A (en) 1998-04-08 1999-04-08 Image processor, image processing method and recording medium recorded with software to execute the method

Publications (1)

Publication Number Publication Date
JPH11353477A true JPH11353477A (en) 1999-12-24

Family

ID=26437528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11101787A Pending JPH11353477A (en) 1998-04-08 1999-04-08 Image processor, image processing method and recording medium recorded with software to execute the method

Country Status (1)

Country Link
JP (1) JPH11353477A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005005981A (en) * 2003-06-11 2005-01-06 Shimadzu Corp Image processor
JP2008252700A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing apparatus and image processing method
JP2009037625A (en) * 2001-09-11 2009-02-19 Seiko Epson Corp Image processing using object information
JP2011243233A (en) * 2011-09-09 2011-12-01 Olympus Corp Image processing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037625A (en) * 2001-09-11 2009-02-19 Seiko Epson Corp Image processing using object information
JP2009141975A (en) * 2001-09-11 2009-06-25 Seiko Epson Corp Image processing using object information
JP2005005981A (en) * 2003-06-11 2005-01-06 Shimadzu Corp Image processor
JP4595294B2 (en) * 2003-06-11 2010-12-08 株式会社島津製作所 Image processing device
JP2008252700A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing apparatus and image processing method
JP2011243233A (en) * 2011-09-09 2011-12-01 Olympus Corp Image processing device

Similar Documents

Publication Publication Date Title
US6480300B1 (en) Image processing apparatus, image processing method and recording medium on which software for executing the image processing is recorded
JP4081219B2 (en) Image processing method and image processing apparatus
US7058234B2 (en) Enhancing the tonal, spatial, and color characteristics of digital images using expansive and compressive tone scale functions
JP3584389B2 (en) Image processing method and image processing apparatus
US7043090B2 (en) Enhancing the tonal characteristics of digital images using expansive and compressive tone scale functions
US6822762B2 (en) Local color correction
JP3726223B2 (en) Image processing device
JP2007096509A (en) Image processing apparatus and image processing method
US7130485B2 (en) Enhancing the tonal and color characteristics of digital images using expansive and compressive tone scale functions
JP4639037B2 (en) Image processing method and apparatus
JP3913356B2 (en) Image processing method
JP4212741B2 (en) Image processing device
JP4064031B2 (en) Image processing method
JP3405266B2 (en) Image processing method and apparatus
JP3408770B2 (en) Image processing device
JPH11191871A (en) Image processor
JPH11275350A (en) Image processing method and image processor
JPH11353477A (en) Image processor, image processing method and recording medium recorded with software to execute the method
JP3939428B2 (en) Image processing method and apparatus
JP2000040154A (en) Method and device for image processing
JP2003304398A (en) Image processing method, image processing program, and storage medium for storing image processing program
JPH1153535A (en) Method and device for image reproduction
JPH11243493A (en) Image processor
JPH1013680A (en) Image processing method and image processor
JP4011072B2 (en) Image processing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040628

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041104

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20041220

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050408

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070618