JP2007074373A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2007074373A
JP2007074373A JP2005259287A JP2005259287A JP2007074373A JP 2007074373 A JP2007074373 A JP 2007074373A JP 2005259287 A JP2005259287 A JP 2005259287A JP 2005259287 A JP2005259287 A JP 2005259287A JP 2007074373 A JP2007074373 A JP 2007074373A
Authority
JP
Japan
Prior art keywords
image data
image
input image
compression
density
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.)
Withdrawn
Application number
JP2005259287A
Other languages
Japanese (ja)
Inventor
Mutsuo Imai
睦朗 今井
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 Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2005259287A priority Critical patent/JP2007074373A/en
Publication of JP2007074373A publication Critical patent/JP2007074373A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of acquiring images of a high-definition workmanship prints superior in color reproducibility, even if the image is the one for a scene recorded at foot and shoulder regions on the characteristic curve of a film, and to provide an image processing method. <P>SOLUTION: The image processing apparatus applies predetermined image processing to input image data, obtained by optically reading an image recorded on a film by at least three primary colors of red, green, and blue, and acquires output image data for output. The density of each color in three primary colors for each pixel at the input image data is compared with the characteristic curve for three primary colors of the film. As for an input image data, having density of each color in three primary colors for a pixel located at a foot or a shoulder region of the characteristic curve, the amount of density correction of each color is established so as to obtain a proper color balance, and a compression condition of a dynamic range is established. As for an input image data other than the above, a compression condition of a dynamic range is established, without establishing the amount of correction. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、フィルムに記録された画像などを適正な写真プリントなどに仕上げるための画像処理装置、および画像処理方法に関し、特に、フィルムに記録された画像の濃度域に関わらず、色再現性が優れた高画質の仕上りプリントなどの画像を得ることができる画像処理装置、および画像処理方法に関するものである。   The present invention relates to an image processing apparatus and an image processing method for finishing an image or the like recorded on a film into an appropriate photographic print or the like, and in particular, color reproducibility regardless of the density range of an image recorded on a film. The present invention relates to an image processing apparatus and an image processing method capable of obtaining an image such as an excellent high-quality finished print.

従来、フィルムのような撮影輝度のダイナミックレンジが広いメディアから限られた再現濃度範囲のペーパ(印画紙)にプリントし、写真プリントを得る場合、フィルムに記録された画像を写真プリントなどに適正に仕上げるために種々の画像処理が行われている(特許文献1等参照)。   Conventionally, when printing on paper (printing paper) with a limited reproduction density range from media with a wide dynamic range of shooting brightness such as film, the image recorded on the film is appropriate for photographic printing etc. Various image processing is performed for finishing (see Patent Document 1 and the like).

例えば、フィルム画像を適正な写真プリントなどに仕上げるために、ハイパートーン処理と呼ばれる画像処理方法が用いられている。
ハイパートーン処理は、入力画像データを低周波成分と高周波成分とに分離して、低周波成分に対して階調の伸張を行い、この階調が伸張された画像データに、さらに入力画像データを足すことにより、画像のメリハリ感を損なわずに階調を伸張することができる画像処理である。ハイパートーン処理は、特にフィルムのような撮影輝度のダイナミックレンジが広いメディアから限られた再現濃度範囲のペーパ(印画紙)にプリントする際、ハイライトおよびシャドーの損失を低減することが可能である。
For example, an image processing method called hypertone processing is used to finish a film image into an appropriate photographic print.
Hypertone processing separates input image data into low-frequency components and high-frequency components, performs gradation expansion on the low-frequency components, and further adds input image data to the image data with the expanded gradation. By adding the image processing, the gradation can be extended without impairing the sharpness of the image. Hypertone processing can reduce loss of highlights and shadows, especially when printing on media with a wide dynamic range of shooting brightness, such as film, on paper (printing paper) with a limited reproduction density range. .

図6(a)は、従来のハイパートーン処理をする画像処理装置を示すブロック図であり、(b)は、図6(a)の従来の画像処理装置におけるルックアップテーブル(LUT)の変換テーブルを示すグラフである。
図6(a)に示すように、従来のハイパートーン処理する画像処理装置110は、明暗信号生成部112と、ボケ画像生成部114と、ルックアップテーブル(以下、LUTという)116と、画像解析部117と、加算器118とを有する。また、入力画像データは、被写体の画像が記録されたフィルムをスキャナで読み取って得られたものであり、プレスキャンデータは、入力画像データよりも低い解像度で読み取って得られたデータである。
6A is a block diagram showing a conventional image processing apparatus that performs hypertone processing, and FIG. 6B is a conversion table of a lookup table (LUT) in the conventional image processing apparatus of FIG. 6A. It is a graph which shows.
As shown in FIG. 6A, a conventional image processing apparatus 110 that performs hypertone processing includes a light / dark signal generation unit 112, a blurred image generation unit 114, a lookup table (hereinafter referred to as LUT) 116, and image analysis. Part 117 and adder 118. The input image data is obtained by reading a film on which a subject image is recorded with a scanner, and the pre-scan data is data obtained by reading at a resolution lower than that of the input image data.

明暗信号生成部112は、入力画像データ(S、S、S)のR、G、Bの各色の画像データから、二値の明暗画像データ(Y)を作成するものである。明暗画像データ(Y)は、例えば、R、G、Bの各色の画像データ(S、S、S)の平均値の3分の1を取ることにより作成される。すなわち、明暗画像データは、Y=(S+S+S)/3により作成される。 The light / dark signal generation unit 112 generates binary light / dark image data (Y) from image data of each color of R, G, B of input image data (S R , S G , S B ). The bright / dark image data (Y) is created, for example, by taking one third of the average value of the image data (S R , S G , S B ) of each color of R, G, B. That is, the bright / dark image data is created by Y = (S R + S G + S B ) / 3.

ボケ画像生成部114は、明暗信号生成部112により作成された明暗画像データの低周波成分(Y_b)(以下、ボケ画像データ(Y_b)という)を得るものである。   The blurred image generation unit 114 obtains a low-frequency component (Y_b) (hereinafter referred to as blurred image data (Y_b)) of the light / dark image data created by the light / dark signal generation unit 112.

LUT116は、ボケ画像生成部114により得られたボケ画像データ(Y_b)に画像処理を行って、入力画像データのダイナミックレンジを圧縮するための圧縮処理用画像データを作成するものである。このLUT116は、例えば、図6(b)に示すように、傾きが一定の直線120で表わされる変換テーブルが設定されている。このLUT116により、画像の明部の濃度が加算され、画像の暗部の濃度が減算される。また、主要被写体等の画像の中心濃度は変わらない。   The LUT 116 performs image processing on the blurred image data (Y_b) obtained by the blurred image generation unit 114 to create compression processing image data for compressing the dynamic range of the input image data. In the LUT 116, for example, as shown in FIG. 6B, a conversion table represented by a straight line 120 having a constant inclination is set. By this LUT 116, the density of the bright part of the image is added and the density of the dark part of the image is subtracted. Further, the central density of the image of the main subject or the like does not change.

画像解析部117は、プレスキャンデータについて画像解析を行い、LUY116の変換テーブルをシーンに応じて設定するものである。   The image analysis unit 117 performs image analysis on the prescan data and sets a conversion table of the LUY 116 according to the scene.

加算器118は、入力画像データ(S、S、S)と、明暗信号生成部112、ボケ画像生成部114およびLUT116により処理されたボケ画像データ(Y_b)とを加算するものである。これにより、主たる画像データのダイナミックレンジが圧縮された出力画像データ(O、O、O)が作成される。
ここで、出力画像データ(O、O、O)と、入力画像データ(S、S、S)との関係は、下記数式(1)〜(3)のように表わすことができる。下記数式(1)〜(3)において、LUT(Y_b)は、ボケ画像データが変換テーブルに入力されたことを示す。
The adder 118 adds the input image data (S R , S G , S B ) and the blurred image data (Y_b) processed by the light / dark signal generation unit 112, the blurred image generation unit 114, and the LUT 116. . Thereby, output image data (O R , O G , O B ) in which the dynamic range of the main image data is compressed is created.
Here, the relationship between the output image data (O R , O G , O B ) and the input image data (S R , S G , S B ) is expressed as the following mathematical formulas (1) to (3). Can do. In the following mathematical formulas (1) to (3), LUT (Y_b) indicates that blurred image data has been input to the conversion table.

=S+LUT(Y_b) ・・・数式(1) O R = S R + LUT ( Y_b) ··· Equation (1)

=S+LUT(Y_b) ・・・数式(2) O G = S G + LUT (Y_b) (2)

=S+LUT(Y_b) ・・・数式(3) O B = S B + LUT (Y_b) (3)

従来のハイパートーン処理においては、入力画像データと、明暗信号生成部112、ボケ画像生成部114、およびLUT116により入力画像データが処理されて得られたボケ画像データとを加算することにより、入力画像データのダイナミックレンジを非線形に圧縮して、図7に示すように、高濃度側の中高周波成分132aおよび低濃度側の中高周波成分134aを有する入力画像データ130aについて、プリント再現域まで高濃度側の中高周波成分132bおよび低濃度側の中高周波成分134bが維持された出力画像データ130bを得ることができる。このように、出力画像データ130bのダイナミックレンジ、ならびに明部と暗部との階調および濃度を適正なものとしている。よって、高画質な画像が再現された写真プリントが得られる。
また、従来のハイパートーン処理においては、上記数式(1)〜(3)に示すように、R、G、B各色は、同じ量だけ変化し、色相が変化せず、違和感がない処理をすることができる。
In the conventional hypertone processing, the input image data is added to the blurred image data obtained by processing the input image data by the light / dark signal generation unit 112, the blur image generation unit 114, and the LUT 116. As shown in FIG. 7, the dynamic range of the data is compressed nonlinearly, and as shown in FIG. 7, the input image data 130a having the high-density side medium-frequency component 132a and the low-density side medium-frequency component 134a The output image data 130b in which the medium high frequency component 132b and the low density side medium high frequency component 134b are maintained can be obtained. In this way, the dynamic range of the output image data 130b, and the gradation and density of the bright part and the dark part are made appropriate. Therefore, a photographic print in which a high-quality image is reproduced can be obtained.
Further, in the conventional hypertone processing, as shown in the above formulas (1) to (3), the R, G, and B colors are changed by the same amount, the hue does not change, and the processing without feeling uncomfortable is performed. be able to.

このようなハイパートーン処理を用いた画像処理装置が他にも提案されている(特許文献1参照)。
特許文献1には、カラー画像を表すデジタル画像信号を可視像として再生する画像再生方法が開示されている。この特許文献1の画像再生方法においては、デジタル画像信号を明暗信号に変換し、この明暗信号に基づいてカラー画像のボケ画像を表すボケ画像信号を作成する。そして、デジタル画像信号、およびボケ画像信号に対して相対応する画素についての信号間で減算を行って差信号を得る。この差信号に対して所定の画像処理を施して処理済画像信号を得る。この処理済画像信号を用いることにより、画像全体のコントラストは、弱められているものの、高周波成分により表わされる局所的なコントラストは、原画像であるカラー画像と同様な写真プリントを作製することができる。
Other image processing apparatuses using such hypertone processing have been proposed (see Patent Document 1).
Patent Document 1 discloses an image reproduction method for reproducing a digital image signal representing a color image as a visible image. In the image reproduction method of Patent Document 1, a digital image signal is converted into a light / dark signal, and a blurred image signal representing a blurred image of a color image is created based on the light / dark signal. Then, a difference signal is obtained by performing subtraction between the signals for the pixels corresponding to the digital image signal and the blurred image signal. The difference signal is subjected to predetermined image processing to obtain a processed image signal. By using this processed image signal, the contrast of the entire image is weakened, but the local contrast represented by the high-frequency component can produce a photographic print similar to the color image that is the original image. .

特許第3568279号公報Japanese Patent No. 3568279

このように、従来、画像信号の持つ濃度範囲が印画紙などの再現媒体の再現可能範囲より広い場合、低周波成分のみを抽出して圧縮することによって、中高周波成分を維持しながら全体を圧縮して再現することが可能である。   In this way, conventionally, when the density range of the image signal is wider than the reproducible range of reproduction media such as photographic paper, only the low frequency component is extracted and compressed, so that the whole is compressed while maintaining the middle high frequency component And can be reproduced.

しかしながら、ネガフィルムに記録された画像を光電的に読み取った画像信号について処理を行う場合、図8に示すように、ネガフィルムにおける露光量(なお、露光量は対数で示している)と濃度との関係を示す赤(R)の特性曲線140、G(緑)の特性曲線142、およびB(青)の特性曲線144において、特性曲線140、142、144の足部αおよび肩部βでは、R、G、Bの色バランスが崩れている。このため、ネガフィルムに記録された画像の記録濃度域が広くフィルムの足部αおよび肩部βに及ぶ場合には、R、G、Bの色バランスが崩れて記録されることになる。このように、色バランスが崩れて記録された画像を、印画紙の再現域まで圧縮すると、フィルムに記録された被写体(記録画像)が本来の色とは、異なった色で再現されてしまう虞がある。すなわち、カラーフェリアが発生する虞がある。現状では、このような色再現性を考慮したものはない。   However, when processing an image signal obtained by photoelectrically reading an image recorded on a negative film, as shown in FIG. 8, the exposure amount (the exposure amount is shown in logarithm) and density in the negative film In the red (R) characteristic curve 140, the G (green) characteristic curve 142, and the B (blue) characteristic curve 144 indicating the relationship, the foot α and the shoulder β of the characteristic curves 140, 142, and 144 The color balance of R, G, and B is broken. For this reason, when the recording density range of the image recorded on the negative film is wide and covers the foot part α and the shoulder part β of the film, the color balance of R, G, B is broken and recorded. In this way, when an image recorded with the color balance lost is compressed to the reproduction range of the photographic paper, the subject (recorded image) recorded on the film may be reproduced with a color different from the original color. There is. That is, there is a possibility that a color failure occurs. At present, no such color reproducibility is considered.

本発明の目的は、前記従来技術に基づく問題点を解消し、記録された画像が、フィルムの特性曲線上の足部および肩部の領域の濃度を有するものであっても、色再現性が優れた高画質の仕上りプリントなどの画像を得ることができる画像処理装置、および画像処理方法を提供することにある。   The object of the present invention is to solve the problems based on the prior art, and even if the recorded image has the density of the foot and shoulder areas on the characteristic curve of the film, the color reproducibility is high. An object of the present invention is to provide an image processing apparatus and an image processing method capable of obtaining an image such as an excellent high-quality finished print.

上記目的を達成するために、本発明の第1の態様は、フィルムに記録された画像が光電的に少なくとも赤、緑、青の3原色で読み取られて得られた入力画像データに所定の画像処理を施し、出力用の出力画像データとする画像処理装置であって、前記入力画像データのダイナミックレンジの圧縮処理を行う処理手段を有し、前記処理手段は、前記入力画像データのダイナミックレンジの圧縮条件を設定する設定部を有するものであり、前記設定部は、フィルムの種類ごとにフィルムの前記3原色の特性曲線が記録されたフィルムデータベース、および前記フィルムデータベースを参照して、前記画像が記録されたフィルムの3原色の特性曲線を得、前記フィルムの前記3原色の特性曲線と、前記入力画像データの各画素の3原色の各色の濃度とを比較し、前記入力画像データのうち、画素の3原色の各色の濃度が前記特性曲線の足部または肩部にあるものについては、それぞれ前記特性曲線に基づいてカラーバランスが適正になるように各色の濃度の補正量を設定し、前記補正量を用いて前記ダイナミックレンジの圧縮条件を設定する画像解析部を備えるものであり、前記画像解析部は、画素の3原色の各色の濃度が前記特性曲線の足部または肩部ではないものについては、補正量を設定することなく、前記ダイナミックレンジの圧縮条件を設定することを特徴とする画像処理装置を提供するものである。   To achieve the above object, according to a first aspect of the present invention, there is provided a predetermined image as input image data obtained by photoelectrically reading an image recorded on a film with at least three primary colors of red, green, and blue. An image processing apparatus that performs processing to obtain output image data for output, and includes processing means for performing compression processing of a dynamic range of the input image data, and the processing means has a dynamic range of the input image data. A setting unit for setting compression conditions; the setting unit refers to a film database in which the characteristic curves of the three primary colors of the film are recorded for each type of film, and the film database. A characteristic curve of the three primary colors of the recorded film is obtained, and the characteristic curve of the three primary colors of the film and the density of each of the three primary colors of each pixel of the input image data In the input image data, the density of each of the three primary colors of the pixels is at the foot or shoulder of the characteristic curve so that the color balance is appropriate based on the characteristic curve. An image analysis unit that sets a correction amount of the density of each color and sets the compression condition of the dynamic range using the correction amount, and the image analysis unit has a density of each of the three primary colors of the pixel as described above. An object of the present invention is to provide an image processing apparatus characterized in that the compression condition of the dynamic range is set without setting a correction amount for a characteristic curve that is not a foot or a shoulder.

本発明においては、前記処理手段は、前記入力画像データの明暗画像データを作成する作成手段と、前記明暗画像データの低周波成分を抽出する抽出手段と、前記設定部により設定された圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分と前記補正量とに基づいて作成する圧縮処理用画像データ作成手段と、前記圧縮処理用画像データと前記入力画像データとを加算する加算器とを備えることが好ましい。   In the present invention, the processing means is a creation means for creating bright and dark image data of the input image data, an extraction means for extracting a low frequency component of the bright and dark image data, and a compression condition set by the setting unit. Compression processing image data creating means for creating compression processing image data for compressing the input image data with a compression amount based on the low frequency component and the correction amount; and the compression processing image data; An adder for adding the input image data is preferably provided.

また、本発明においては、前記処理手段は、前記入力画像データの明暗画像データを前記入力画像データと前記補正量とに基づいて作成する作成手段と、前記明暗画像データの低周波成分を抽出する抽出手段と、前記設定部により設定された圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分から作成する圧縮処理用画像データ作成手段と、前記圧縮処理用画像データと前記入力画像データとを加算する加算器とを備えることが好ましい。   Further, in the present invention, the processing means extracts a low-frequency component of the light / dark image data, creating means for creating light / dark image data of the input image data based on the input image data and the correction amount. Extraction processing; and compression processing image data creation means for creating compression processing image data for compressing the input image data with a compression amount based on the compression condition set by the setting unit, from the low frequency component; It is preferable that an adder that adds the image data for compression processing and the input image data is provided.

また、本発明の第2の態様は、フィルムに記録された画像が光電的に少なくとも赤、緑、青の3原色で読み取られて得られた入力画像データに所定の画像処理を施し、出力用の出力画像データとする画像処理方法であって、前記入力画像データの各画素の濃度を特定する工程と、前記画像が記録されたフィルムの種類を特定し、特定されたフィルムの前記3原色の特性曲線と、前記入力画像データの各画素の3原色の各色の濃度とを比較し、画素の3原色の各色の濃度が前記特性曲線の足部または肩部にあるものについては、それぞれ前記特性曲線に基づいてカラーバランスが適正になるように各色の濃度の補正量を設定する工程と、濃度が前記特性曲線の足部または肩部にあるものについては、前記補正量の情報を用いて、前記入力画像データのダイナミックレンジの圧縮条件を設定し、画素の3原色の各色の濃度が前記特性曲線の足部または肩部ではないものは、補正量を設定することなく、前記ダイナミックレンジの圧縮条件を設定する工程と、前記設定されたダイナミックレンジの圧縮条件に応じて、前記入力画像データのダイナミックレンジの圧縮処理を行う工程とを有することを特徴とする画像処理方法を提供するものである。   Further, the second aspect of the present invention is to perform predetermined image processing on input image data obtained by photoelectrically reading an image recorded on a film with at least three primary colors of red, green, and blue, and for output. The image processing method for generating the output image data includes: specifying a density of each pixel of the input image data; specifying a film type on which the image is recorded; and specifying the three primary colors of the specified film. The characteristic curve is compared with the density of each of the three primary colors of each pixel of the input image data, and the characteristic of each of the three primary colors of the pixel at the foot or shoulder of the characteristic curve For the step of setting the correction amount of the density of each color so that the color balance is appropriate based on the curve, and the case where the density is on the foot or shoulder of the characteristic curve, using the correction amount information, The input image data If the density of each of the three primary colors of the pixel is not the foot or shoulder of the characteristic curve, set the dynamic range compression condition without setting the correction amount. And an image processing method characterized by comprising a step of compressing the dynamic range of the input image data in accordance with the set dynamic range compression condition.

本発明においては、前記補正量を設定する工程の後工程に、前記入力画像データの明暗画像データを作成する工程と、前記明暗画像データの低周波成分を抽出する工程とを有し、前記入力画像データのダイナミックレンジの圧縮処理を行う工程は、前記ダイナミックレンジの圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分および前記補正量に基づいて作成し、前記圧縮処理用画像データと前記入力画像データとを加算するものであることが好ましい。   In the present invention, the step of setting the correction amount includes a step of creating bright and dark image data of the input image data and a step of extracting a low frequency component of the bright and dark image data after the step of setting the correction amount, The step of performing compression processing of the dynamic range of the image data is based on the low-frequency component and the correction amount for the compression processing image data for compressing the input image data with the compression amount based on the compression condition of the dynamic range. It is preferable that the image data for compression processing and the input image data are added.

また、本発明においては、前記補正量を設定する工程の後工程に、前記入力画像データと前記補正量とに基づいて、前記明暗画像データを作成する工程を有し、さらに、前記明暗画像データの低周波成分を抽出する工程と、前記入力画像データのダイナミックレンジの圧縮処理を行う工程は、前記ダイナミックレンジの圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分に基づいて作成し、前記圧縮処理用画像データと前記入力画像データとを加算する工程とを有することが好ましい。   Further, in the present invention, a step of creating the light / dark image data based on the input image data and the correction amount is provided as a subsequent step of the step of setting the correction amount, and further, the light / dark image data A step of extracting a low frequency component of the image data and a step of compressing the dynamic range of the input image data include compression processing image data for compressing the input image data with a compression amount based on a compression condition of the dynamic range. Is preferably created based on the low-frequency component and adding the compression image data and the input image data.

本発明の画像処理装置、および画像処理方法によれば、フィルムに記録された画像が光電的に少なくとも赤、緑、青の3原色で読み取られて得られた入力画像データと、画像が記録されたフィルムの3原色の特性曲線とを比較し、入力画像データのうち、画素の3原色の各色の濃度が特性曲線の足部または肩部にあるものについては、それぞれ特性曲線に基づいてカラーバランスが適正になるように各色の濃度の補正量を設定し、この補正量を用いてダイナミックレンジの圧縮条件を設定し、画素の3原色の各色の濃度が前記特性曲線の足部または肩部ではないものについては、補正量を設定することなく、ダイナミックレンジの圧縮条件を設定することにより、フィルムに記録された画像が、フィルムの特性曲線の足部および肩部の領域の濃度を有するものであっても、カラーフェリアの発生を抑制でき、色再現性が優れた高画質の仕上りプリントなどの画像を得ることができる。   According to the image processing apparatus and the image processing method of the present invention, input image data obtained by photoelectrically reading an image recorded on a film with at least three primary colors of red, green, and blue, and an image are recorded. Compared to the characteristic curves of the three primary colors of the film, the color balance of the input image data that has the density of each of the three primary colors of the pixels at the foot or shoulder of the characteristic curve is based on the characteristic curve. Set the correction amount of the density of each color so that is appropriate, and set the compression condition of the dynamic range using this correction amount, and the density of each color of the three primary colors of the pixel is at the foot or shoulder of the characteristic curve For those that do not, the dynamic range compression condition is set without setting the correction amount, so that the image recorded on the film becomes the foot and shoulder areas of the film characteristic curve. Be one having a degree can be suppressed the occurrence of color failure to obtain an image such as a high-quality finished prints color reproducibility is excellent.

以下に、添付の図面に示す好適実施例に基づいて、本発明の画像処理装置、および画像処理方法を詳細に説明する。
図1は、本発明の画像処理装置を有するプリントシステムの第1実施例を示すブロック図である。
図1に示すように、本実施例のプリントシステム10は、入力機12aと、受付機12bと、操作部13と、画像処理装置16と、プリンタ18とを有する。入力機12aおよび受付機12bと画像処理装置16とが接続されており、さらに画像処理装置16とプリンタ18とが接続されている。
The image processing apparatus and the image processing method of the present invention will be described in detail below based on preferred embodiments shown in the accompanying drawings.
FIG. 1 is a block diagram showing a first embodiment of a printing system having an image processing apparatus of the present invention.
As shown in FIG. 1, the printing system 10 according to the present exemplary embodiment includes an input device 12 a, a receiving device 12 b, an operation unit 13, an image processing device 16, and a printer 18. The input device 12a and the receiving device 12b are connected to the image processing device 16, and the image processing device 16 and the printer 18 are further connected.

入力機12aは、フィルムに撮影された被写体の画像を光電的に読み取り、入力画像データをデジタル画像データとして取得するものであり、入力画像データが画像処理装置16に出力される。
入力機12aは、例えば、スキャナである。このスキャナは、フィルム等に撮影された画像を1コマずつ光電的に読み取る装置であり、光源と、可変絞りと、画像をR(赤)、G(緑)およびB(青)の三原色に分解するためのR、GおよびBの3枚の色フィルタを有し、回転して任意の色フィルタを光路に作用する色フィルタ板と、フィルムに入射する読取光をフィルムの面方向で均一にする拡散ボックスと、結像レンズユニットと、フィルムの1コマの画像を読み取るエリアセンサであるCCDセンサと、アンプ(増幅器)と、R,GおよびBの各出力信号を、A/D(アナログ/デジタル)変換、Log変換(濃度変換)、DCオフセット補正、暗時補正、およびシェーディング補正等を行うデータ処理部(図示せず)を有して構成される。
The input device 12 a photoelectrically reads an image of a subject photographed on a film and acquires input image data as digital image data. The input image data is output to the image processing device 16.
The input machine 12a is, for example, a scanner. This scanner is a device that photoelectrically reads images shot on a film one by one, and separates the light source, variable aperture, and images into the three primary colors R (red), G (green), and B (blue). A color filter plate that has three color filters of R, G, and B to rotate and acts on the optical path by rotating any color filter, and the reading light incident on the film is made uniform in the plane direction of the film A diffusion box, an imaging lens unit, a CCD sensor that is an area sensor that reads an image of one frame of film, an amplifier (amplifier), and R, G, and B output signals are converted into A / D (analog / digital). ) And a data processing unit (not shown) for performing conversion, log conversion (density conversion), DC offset correction, dark correction, shading correction, and the like.

また、このスキャナは、新写真システム(Advanced Photo System)または135サイズのネガ(あるいはリバーサル)フィルム等のフィルムの種類、サイズ、ストリップス、スライド等のフィルムの形態等に応じて、スキャナの本体に装着自在な専用のキャリアが用意されており、キャリアを交換することにより、各種のフィルムに対応することができる。フィルムに撮影され、プリント作成に供される画像(コマ)は、このキャリアによって所定の読取位置に搬送、保持される。   In addition, the scanner can be mounted on the main body of the scanner according to the type of film, such as a new photo system (Advanced Photo System) or 135-size negative (or reversal) film, the size, strips, slides, etc. A dedicated carrier that can be mounted is prepared, and various films can be handled by replacing the carrier. An image (frame) photographed on a film and used for print creation is conveyed and held at a predetermined reading position by this carrier.

また、135サイズのフィルムに対応するキャリアには、DXコードを読み取る読取手段が設けられている。これにより、フィルムの感度、撮影枚数、コマ番号、およびフィルムの種類などを読み取ることができる。これらの各種の情報のうち、少なくともフィルム種が画像処理装置16に出力される。
さらに、周知のように、新写真システムのフィルムには、磁気記録媒体が形成され、カートリッジIDまたはフィルム種等が記録されており、さらに、撮影時または現像時等に、撮影日時、撮影時のストロボ発光の有無、撮像倍率、撮影シーンID、主要部位置の情報、および現像機の種類等の各種のデータが記録可能である。新写真システムのフィルム(カートリッジ)に対応するキャリアには、この磁気情報の読取手段が配置されており、フィルムを読取位置に搬送する際に磁気情報を読み取り、前記各種の情報のうち、少なくともフィルム種が画像処理装置16に出力される。
The carrier corresponding to the 135 size film is provided with reading means for reading the DX code. Thereby, the sensitivity of the film, the number of shots, the frame number, the type of film, and the like can be read. Of these various types of information, at least the film type is output to the image processing device 16.
Further, as is well known, a magnetic recording medium is formed on the film of the new photographic system, and a cartridge ID or a film type is recorded. Further, at the time of shooting or development, the shooting date and time, Various data such as the presence / absence of strobe light emission, imaging magnification, shooting scene ID, main part position information, and developing machine type can be recorded. The carrier corresponding to the film (cartridge) of the new photographic system is provided with the magnetic information reading means, and reads the magnetic information when the film is conveyed to the reading position. The seed is output to the image processing device 16.

このようなスキャナにおいては、光源から射出され、可変絞りによって光量調整され、色フィルタ板を通過して色調整され、拡散ボックスで拡散された読取光が、キャリアによって所定の読取位置に保持されたフィルムの1コマに入射して、透過することにより、フィルムに撮影されたこのコマの画像を担持する投影光を得る。フィルムの投影光は、結像レンズユニットによってCCDセンサの受光面に結像され、CCDセンサによって光電的に読み取られ、その出力信号がアンプで増幅されて、画像処理装置16に送られる。CCDセンサは、例えば、1380×920画素のエリアCCDセンサが用いられる。   In such a scanner, the reading light emitted from the light source, adjusted in light quantity by the variable aperture, passed through the color filter plate, adjusted in color, and diffused in the diffusion box is held at a predetermined reading position by the carrier. By entering and passing through one frame of the film, projection light carrying an image of this frame photographed on the film is obtained. The projection light of the film is imaged on the light receiving surface of the CCD sensor by the imaging lens unit, is read photoelectrically by the CCD sensor, the output signal is amplified by an amplifier, and sent to the image processing device 16. As the CCD sensor, for example, an area CCD sensor having 1380 × 920 pixels is used.

スキャナにおいては、このような画像読取を、色フィルタ板の各色フィルタを順次挿入して3回行うことにより、1コマの画像をR,GおよびBの3原色に分解して読み取る。   In the scanner, such image reading is performed three times by sequentially inserting each color filter on the color filter plate, thereby separating and reading one frame image into three primary colors of R, G, and B.

スキャナは、エリアCCDセンサを用い、色フィルタ板によって読取光を調整することにより、原稿画像(フィルムの投影光)を3原色に分解して画像の読み取りを行っているが、本発明の画像処理装置に画像データを供給するスキャナとしては、R,GおよびBの3原色のそれぞれの読み取りに対応する3つのラインCCDセンサを用い、フィルムをキャリアで走査搬送しつつスリット状の読取光(投影光)によって画像読取を行う、いわゆるスリット走査によって画像を読み取る画像読取装置であってもよい。   The scanner uses an area CCD sensor and adjusts the reading light with a color filter plate to separate the original image (film projection light) into three primary colors and read the image. As a scanner for supplying image data to the apparatus, three line CCD sensors corresponding to reading of the three primary colors of R, G, and B are used, and slit-like reading light (projection light) is scanned and conveyed by a carrier. The image reading apparatus may read an image by so-called slit scanning.

また、スキャナは、フィルムに撮影された各コマの画像、すなわち、原画像の読み取りを、低解像度で読み取るプレスキャンと、高解像度で読み取るファインスキャンの2回の画像読取を行う。プレスキャンでは、フィルムに撮影された画像の濃度が極端に低い場合(例えば、アンダー露光のネガ画像)でも、エリアCCDセンサの出力が飽和することがないように、エリアCCDセンサの蓄積時間および可変絞りの絞り値等が設定された、プレスキャンの読取条件でフィルムの読み取りが行われる。このプレスキャンによって得られたプレスキャンデータは、LUT設定部30の画像解析部32に出力される。
また、ファインスキャンにより得られたファインスキャンデータは、入力画像データとなる。
In addition, the scanner performs two image readings: a pre-scan that reads an image of each frame shot on a film, that is, an original image, at a low resolution and a fine scan that reads at a high resolution. In pre-scanning, the accumulation time and variable of the area CCD sensor are controlled so that the output of the area CCD sensor is not saturated even when the density of the image photographed on the film is extremely low (for example, an underexposed negative image). The film is read under the prescan reading conditions in which the aperture value of the aperture is set. Pre-scan data obtained by this pre-scan is output to the image analysis unit 32 of the LUT setting unit 30.
Further, fine scan data obtained by fine scan becomes input image data.

また、操作部13は、入力機12aおよび画像処理装置16に接続されており、これらの入力機12aおよび画像処理装置16に、様々な条件の入力(設定)、処理の選択、指示、または色/濃度補正などの指示等を入力するためのキーボードおよびマウスを有する操作系と、取得された入力画像、各種の操作指示および様々な条件の設定/登録画面等を表示するディスプレイとを有するものである。   The operation unit 13 is connected to the input device 12a and the image processing device 16, and inputs (settings) various conditions, processing selections, instructions, or colors to the input device 12a and the image processing device 16. / An operation system having a keyboard and a mouse for inputting instructions such as density correction, and a display for displaying acquired input images, various operation instructions, various condition setting / registration screens, etc. is there.

受付機12bは、ラボ店またはコンビニエンスストアの店頭などの、例えば、カウンタ上に設置され、顧客の注文を受け付けるために、オペレータが注文内容、注文事項等の注文情報データを入力して受付・登録するためのものであり、通常、モニタ表示画面を備えたパーソナルコンピュータ(PC)で構成される。なお、受付機12bの設置場所は、特に限定されるものではない。
また、撮影済みのフィルムが、受付機12bが設けられているカウンタなどで受け取られる。なお、画像の記録形態は、記録媒体の片面に記録されるものに限定されるものではなく、記録媒体の両面に画像が形成されるものであってもよい。
The reception machine 12b is installed on a counter such as a lab store or a convenience store, for example, on a counter, and an operator inputs order information data such as order contents and order items to receive and register in order to receive customer orders. In general, a personal computer (PC) having a monitor display screen is used. In addition, the installation place of the receiving machine 12b is not specifically limited.
In addition, the film that has been shot is received by a counter or the like provided with a receiving machine 12b. Note that the image recording form is not limited to recording on one side of the recording medium, and images may be formed on both sides of the recording medium.

この受付機12bにおいては、注文情報データが入力されて注文が確定されると、例えば、受付番号を注文情報データに付与するとともに、受付日時も記録する。また、注文情報データを照合し、以前に入力された顧客である場合には、予め付与されている顧客IDを付与する。一方、以前に入力された顧客でない場合には、顧客IDを新たに付与する。このように、受付機12bにおいては、注文情報データに受付番号、受付日時、および顧客IDを付与して、プリント注文された画像データとともに画像処理装置16に出力する。また、受付機12bには、注文が確定した場合に発行される引換券をプリントするプリンタが設けられている。引換券の形態は、特に限定されるものではなく、受け取り可能な日時などが記録されていれば良い。   In the accepting machine 12b, when the order information data is input and the order is confirmed, for example, an acceptance number is given to the order information data, and the acceptance date and time is recorded. In addition, the order information data is collated, and if the customer is a previously input customer, a customer ID assigned in advance is assigned. On the other hand, if the customer has not been input before, a new customer ID is assigned. In this way, the accepting machine 12b gives the order information data the acceptance number, the reception date and time, and the customer ID, and outputs the order information data to the image processing device 16 together with the image data for which the print order has been placed. The accepting machine 12b is provided with a printer for printing a voucher issued when an order is confirmed. The form of the voucher is not particularly limited as long as the date and time when it can be received is recorded.

本実施例において、受付機12bに入力される注文情報データは、例えば、顧客の氏名、顧客の電話番号、および顧客の住所などの顧客情報である。加えて、注文情報データは、プリントの種類、サイズおよび枚数、プリントする画像の仕上り、ならびに飾りプリントの有無などのプリント処理内容(注文内容)を含むものである。   In the present embodiment, the order information data input to the accepting machine 12b is customer information such as the customer's name, the customer's telephone number, and the customer's address. In addition, the order information data includes print processing contents (order contents) such as the type, size and number of prints, the finished image to be printed, and the presence or absence of decorative prints.

画像処理装置16は、入力機12aにより取得された入力画像データに所定の画像処理を施し、プリント18用の出力画像データとするものである。この画像処理装置16については、後に詳細に説明する。   The image processing device 16 performs predetermined image processing on the input image data acquired by the input machine 12a to obtain output image data for the print 18. The image processing device 16 will be described in detail later.

プリンタ18は、出力画像データに基づいて、写真プリントを作製するものである。このプリンタ18は、例えば、画像処理装置16から出力された出力画像データに応じて変調した光ビームで感光材料を画像露光し、現像処理して(仕上り)プリントとして出力するものである。
また、プリンタ18としては、銀塩写真方式のものに限定されるものではなく、例えば、インクジェットプリンタ、電子写真方式および熱溶融方式のプリンタなどの紙等の記録媒体に画像を記録するものを用いることができる。また、プリンタ18は、適宜要求される画質またはプリント形態に応じた方式のものを用いることができ、画像を記録媒体の片面または両面に記録するものであってもよい。
The printer 18 produces a photographic print based on the output image data. For example, the printer 18 exposes a photosensitive material with a light beam modulated in accordance with output image data output from the image processing device 16, develops it, and outputs it as a (finished) print.
Further, the printer 18 is not limited to the silver halide photographic type, and for example, a printer that records an image on a recording medium such as paper such as an ink jet printer, an electrophotographic type, and a thermal melting type printer is used. be able to. In addition, the printer 18 may be of a type according to the required image quality or print form, and may record an image on one side or both sides of a recording medium.

本実施例の画像処理装置16は、基本画像処理部14と、ハイパートーン処理部20と、LUT設定部30と、データ変換部40と、制御部42とを有するものである。ハイパートーン処理部20およびLUT設定部30により本発明の処理手段が構成される。
データ変換部40は、得られた出力画像データをプリンタ18で出力できるプリント画像データに変換するものである。出力画像データからプリント画像データへの変換は、例えば、3次元のルックアップテーブルによりなされる。
制御部42は、基本画像処理部14、ハイパートーン処理部20、LUT設定部30、およびデータ変換部40に接続されており、これらの基本画像処理部14、ハイパートーン処理部20、LUT設定部30、およびデータ変換部40を全て制御するものである。
The image processing apparatus 16 of the present embodiment includes a basic image processing unit 14, a hypertone processing unit 20, an LUT setting unit 30, a data conversion unit 40, and a control unit 42. The hypertone processing unit 20 and the LUT setting unit 30 constitute processing means of the present invention.
The data converter 40 converts the obtained output image data into print image data that can be output by the printer 18. The conversion from the output image data to the print image data is performed by, for example, a three-dimensional lookup table.
The control unit 42 is connected to the basic image processing unit 14, the hypertone processing unit 20, the LUT setting unit 30, and the data conversion unit 40. The basic image processing unit 14, the hypertone processing unit 20, and the LUT setting unit. 30 and the data converter 40 are all controlled.

基本画像処理部14は、画像の色/濃度(調子再現、色再現)および像構造(鮮鋭度、粒状性)等が適正な画像を出力するための基本的な画像処理をするものである。この基本的な画像処理を行うことにより、画像は画質的には完成したものとなる。基本的な画像処理とは、例えば、画像の拡大または縮小(電子変倍処理)、階調補正、色/濃度補正、彩度補正、およびシャープネス処理である。   The basic image processing unit 14 performs basic image processing for outputting an image having an appropriate color / density (tone reproduction, color reproduction), image structure (sharpness, graininess), and the like. By performing this basic image processing, the image is completed in terms of image quality. Basic image processing includes, for example, image enlargement or reduction (electronic scaling processing), tone correction, color / density correction, saturation correction, and sharpness processing.

ハイパートーン処理部20は、明暗信号生成部(作成手段)22と、ボケ画像生成部(抽出手段)24と、非線形変換部(圧縮処理用画像データ作成手段)26と、加算器28とを有する。   The hypertone processing unit 20 includes a light / dark signal generation unit (creation unit) 22, a blurred image generation unit (extraction unit) 24, a nonlinear conversion unit (compression processing image data generation unit) 26, and an adder 28. .

明暗信号生成部22は、入力機12aまたは受付機12bから入力される入力画像データ(S、S、S)(R、GおよびBの各色の画像データ)から明暗画像データ(Y)を作成するものである。また、明暗画像データによる画像を明暗画像という。
この明暗画像データの生成方法としては、R、GおよびBの各色の画像データ(S、S、S)の平均値の3分の1を取る方法(Y=(S+S+S)/3)、またはYIQ規定を用いてカラー画像データを明暗画像データに変換する方法等が例示される。YIQ規定を用いて明暗画像データ(以下、Y成分データともいう)を得る方法としては、例えば、Y=0.3S+0.59S+0.11Sにより、YIQ規定のY成分(輝度)のみをR、GおよびBの各色の画像データから算出する方法が例示される。
The light / dark signal generator 22 generates light / dark image data (Y) from input image data (S R , S G , S B ) (image data of each color of R, G, and B) input from the input device 12a or the receiving device 12b. Is to create. An image based on light / dark image data is referred to as a light / dark image.
As a method of generating the bright and dark image data, a method of taking one third of the average value of the image data (S R , S G , S B ) of each color of R, G, and B (Y = (S R + S G + S B ) / 3), or a method of converting color image data into light and dark image data using the YIQ standard, etc. are exemplified. As a method of obtaining bright and dark image data (hereinafter also referred to as Y component data) using the YIQ standard, for example, only Y component (luminance) defined by the YIQ standard by Y = 0.3S R + 0.59S G + 0.11S B Is calculated from image data of each color of R, G, and B.

ボケ画像生成部24は、明暗信号生成部22で生成された明暗画像データ(Y)から低周波数成分を抽出することにより、明暗画像を2次元的にボカして、ボケ画像データ(Y_b)(低周波数成分)を得るものである。このボケ画像生成部24に用いるフィルタとしては、ボケ画像データ(Y_b)の生成に通常用いられるFIR(Finite Impulse Response)型のローパスフィルタを用いることができる。また、ボケ画像生成部24には、小型の回路で大きく画像をボカしたボケ画像データ(Y_b)を生成できる点でIIR(Infinite Impulse Response)型のローパスフィルタを用いることが好ましい。   The blurred image generation unit 24 extracts a low-frequency component from the light / dark image data (Y) generated by the light / dark signal generation unit 22, thereby blurring the light / dark image two-dimensionally, and blur image data (Y_b) ( Low frequency component). As a filter used in the blurred image generation unit 24, a FIR (Finite Impulse Response) type low-pass filter that is normally used for generating blurred image data (Y_b) can be used. In addition, it is preferable to use an IIR (Infinite Impulse Response) type low-pass filter for the blurred image generation unit 24 in that blurred image data (Y_b) with a large blurred image can be generated with a small circuit.

さらに、ボケ画像生成部24として、メディアンフィルタ(以下、MFという)を用いてもよい。MFを用いることにより、明暗画像のエッジを保存して、平坦部のノイズ(高周波成分)をカットしたボケ画像データ(Y_b)が得られるという点で好ましい。また、MFの利点を生かした上で、大きく画像をボカしたボケ画像データ(Y_b)を生成できるという点で、MFとLPFとを併用して、両者で得られた画像を重み付け加算するのが、特に好ましい。   Furthermore, a median filter (hereinafter referred to as MF) may be used as the blurred image generation unit 24. By using MF, it is preferable in that the blurred image data (Y_b) obtained by preserving the edge of the bright and dark image and cutting the noise (high frequency component) in the flat portion is obtained. In addition, it is possible to generate blur image data (Y_b) with a large blurred image while taking advantage of MF, and using MF and LPF together, weighted addition of the images obtained by both is performed. Is particularly preferred.

非線形変換部26は、ボケ画像生成部24により得られたボケ画像データ(低周波成分)に画像処理を行って、後述するようにLUT設定部30により設定された圧縮条件に基づく圧縮量で、入力画像データを圧縮するための圧縮処理用画像データ(LUT(Y_b))をボケ画像データ(Y_b)および補正量、またはボケ画像データ(Y_b)に基づいて作成するものである。この圧縮処理用画像データ(LUT(Y_b))は、入力画像データ(S、S、S)の圧縮量を指示するものである。非線形変換部26には、LUT設定部30により設定された圧縮量で入力画像データ(S、S、S)を圧縮するための圧縮処理用画像データ(LUT(Y_b))をボケ画像データ(Y_b)および補正量、またはボケ画像データ(Y_b)に基づいて作成する書き換え可能なLUT(ルックアップテーブル)などの変換テーブルが設けられている。 The nonlinear conversion unit 26 performs image processing on the blurred image data (low frequency component) obtained by the blurred image generation unit 24, and uses a compression amount based on the compression condition set by the LUT setting unit 30 as described later. The image data for compression processing (LUT (Y_b)) for compressing the input image data is created based on the blurred image data (Y_b) and the correction amount, or the blurred image data (Y_b). This compression processing image data (LUT (Y_b)) indicates the compression amount of the input image data (S R , S G , S B ). In the non-linear conversion unit 26, the image data for compression processing (LUT (Y_b)) for compressing the input image data (S R , S G , S B ) with the compression amount set by the LUT setting unit 30 is blurred image. A conversion table such as a rewritable LUT (lookup table) created based on the data (Y_b) and the correction amount, or the blurred image data (Y_b) is provided.

非線形変換部26により作成される圧縮処理用画像データ(LUT(Y_b))が示す入力画像データ(S、S、S)の圧縮量は、後述するように、LUT設定部30の画像解析部32による画像解析に基づいて最終的に設定され、各画像は、シーン毎に最適化される。また、この非線形変換部26におけるダイナミックレンジの圧縮量は、シーン毎に異なる。すなわち、シーンおよびLUT設定部30により、非線形変換部26における変換テーブルは、その設定が変更される。さらに、本発明においては、後述するように画像解析の結果、濃度が特性曲線の足部または肩部に該当する場合には、再現された画像のカラーバランスが適正となるように補正もされる。 The compression amount of the input image data (S R , S G , S B ) indicated by the compression processing image data (LUT (Y_b)) created by the nonlinear conversion unit 26 is the image of the LUT setting unit 30 as will be described later. It is finally set based on the image analysis by the analysis unit 32, and each image is optimized for each scene. In addition, the compression amount of the dynamic range in the nonlinear conversion unit 26 differs for each scene. That is, the setting of the conversion table in the nonlinear conversion unit 26 is changed by the scene and LUT setting unit 30. Further, in the present invention, as will be described later, when the density corresponds to the foot or shoulder of the characteristic curve as a result of image analysis, correction is performed so that the color balance of the reproduced image is appropriate. .

加算器28は、入力画像データ(S、S、S)と、非線形変換部26により作成された圧縮処理用画像データ(LUT(Y_b))とを加算するものである。入力画像データ(S、S、S)と圧縮処理用画像データ(LUT(Y_b))とが加算器28で加算されることにより、入力画像データのダイナミックレンジが圧縮され、出力用の出力画像データ(O、O、O)が得られる。この加算器28は、従来のハイパートーン処理装置110(図6(a)参照)の加算器118(図6(a)参照)と同様の構成である。 The adder 28 adds the input image data (S R , S G , S B ) and the compression processing image data (LUT (Y_b)) created by the nonlinear conversion unit 26. The input image data (S R , S G , S B ) and the compression processing image data (LUT (Y_b)) are added by the adder 28, so that the dynamic range of the input image data is compressed, and the output image data output image data (O R, O G, O B) are obtained. The adder 28 has the same configuration as the adder 118 (see FIG. 6A) of the conventional hypertone processing device 110 (see FIG. 6A).

LUT設定部30は、入力画像データ(S、S、S)のダイナミックレンジの圧縮量を決定するものである。このLUT設定部30は、画像解析部32と、フィルムデータベース34とを有する。 The LUT setting unit 30 determines the compression amount of the dynamic range of the input image data (S R , S G , S B ). The LUT setting unit 30 includes an image analysis unit 32 and a film database 34.

画像解析部32は、ハイパートーン処理部20の非線形変換部26における基本的な変換テーブルを設定する機能を有するものである。この画像解析部32は、プレスキャンデータを用いて、被写体の画像(入力画像データ(S、S、S))のダイナミックレンジの圧縮量(ダイナミックレンジの圧縮条件)を設定するものである。
ここで、上述の如く、画像が記録されたフィルムは、赤、緑、青の3原色の特性曲線の足部および肩部において、カラーバランスが崩れている(図8参照)。このため、画像の画素のうち、特性曲線の足部および肩部の濃度域で記録されているものがある場合に、そのままの状態で出力用画像データを作成すると、得られたプリントにカラーフェリアが生じ、色再現性が劣る。このことから、画像解析部32においては、画像解析を行い、画素の濃度が足部または肩部の濃度範囲にある場合には、フィルムデータベース34を参照し、カラーバランスが最適化されるように、補正係数(補正量)を設定して、ダイナミックレンジの圧縮量を設定し、カラーフェリアの発生を抑制する。
The image analysis unit 32 has a function of setting a basic conversion table in the nonlinear conversion unit 26 of the hypertone processing unit 20. The image analysis unit 32 sets the compression amount (dynamic range compression condition) of the dynamic range of the subject image (input image data (S R , S G , S B )) using the pre-scan data. is there.
Here, as described above, in the film on which the image is recorded, the color balance is lost at the feet and shoulders of the characteristic curves of the three primary colors of red, green, and blue (see FIG. 8). For this reason, if the image pixels are recorded in the density areas of the foot and shoulders of the characteristic curve and the output image data is created as it is, the color print will be added to the resulting print. And color reproducibility is poor. From this, the image analysis unit 32 performs image analysis, and when the pixel density is within the density range of the foot or shoulder, the film database 34 is referred to so that the color balance is optimized. The correction coefficient (correction amount) is set, the dynamic range compression amount is set, and the occurrence of color failure is suppressed.

フィルムデータベース34は、フィルム種ごとに、フィルムのR、G、B各色の特性曲線が記録されているものである。また、フィルムデータベース34は、各フィルムの足部および肩部におけるR、G、B各色の補正係数が、各濃度についてそれぞれ記録されている。
なお、フィルムデータベース34における補正係数は、例えば、フィルム毎に、R、G、B各色の各濃度域において、予め関数または実験値などにより設定しておき、濃度に応じた補正量が設定される。なお、補正量の設定方法は、特に限定されるものではない。
The film database 34 records characteristic curves of R, G, and B colors of the film for each film type. In the film database 34, correction coefficients for R, G, and B colors at the foot and shoulder of each film are recorded for each density.
The correction coefficient in the film database 34 is set in advance by a function or an experimental value or the like in each density region of each color of R, G, and B for each film, and a correction amount corresponding to the density is set. . The correction amount setting method is not particularly limited.

画像解析部32は、入力された各画像のプレスキャンデータに基づいて、フィルムの各コマ(画像)に対応する領域のデータを抽出し、画像位置を検出し、各画像毎の画像処理条件およびファインスキャンの読取条件を設定(演算)するものである。
画像解析部32においては、各画像のプレスキャンデータから、各画像毎に、濃度ヒストグラムの作成、平均濃度、LATD(大面積透過濃度)、ハイライト(最低濃度)、およびシャドー(最高濃度)等の画像特徴量の算出等を行う。次いで、キャリアによって読み取られたフィルム種の情報から、原画像の状態を判断し、各画像毎に、原画像の最低濃度よりも若干低い濃度でエリアCCDセンサからの出力が飽和するように、エリアCCDセンサの蓄積時間または絞り値を算出して、ファインスキャンの読取条件とする。さらに、濃度ヒストグラム、画像特徴量、およびフィルム情報等に基づいて、各画像毎に、基本画像処理部14における入力画像データ(ファインスキャンデータ)の画像処理条件を設定する。
The image analysis unit 32 extracts data of a region corresponding to each frame (image) of the film based on the input prescan data of each image, detects the image position, and sets the image processing condition for each image and Fine scanning reading conditions are set (calculated).
In the image analysis unit 32, creation of a density histogram, average density, LATD (large area transmission density), highlight (lowest density), shadow (highest density), etc. for each image from the prescan data of each image. The image feature amount is calculated. Next, the state of the original image is judged from the information of the film type read by the carrier, and the area CCD sensor output is saturated at a density slightly lower than the lowest density of the original image for each image. The accumulation time or aperture value of the CCD sensor is calculated and used as the fine scan reading condition. Further, based on the density histogram, image feature amount, film information, and the like, image processing conditions for input image data (fine scan data) in the basic image processing unit 14 are set for each image.

また、画像解析部32は、各画像の濃度ヒストグラムと、撮影に用いられたフィルムの特性曲線とを比較し、特性曲線の肩部または足部に該当する画素を特定する。肩部または足部に該当しない(特性曲線のラチチュードの範囲)濃度の画素では、補正をせずに、補正係数を1とする。
一方、特性曲線の肩部または足部に該当する画素がある場合には、フィルムデータベース34を参照し、フィルムデータベース34に各フィルム毎に設定されている補正係数の値を読み込み、補正係数を設定する。
In addition, the image analysis unit 32 compares the density histogram of each image with the characteristic curve of the film used for photographing, and specifies a pixel corresponding to the shoulder or foot of the characteristic curve. For pixels having a density that does not correspond to the shoulder or foot (the range of the characteristic curve latitude), the correction coefficient is set to 1 without correction.
On the other hand, when there is a pixel corresponding to the shoulder portion or the foot portion of the characteristic curve, the correction value set for each film is read into the film database 34 and the correction coefficient is set. To do.

本実施例の画像解析部32は、基本的に非線形変換部26の変換テーブルを設定するものである。
各画像のプレスキャンデータによる画像解析の結果、フィルムに記録された画像の画素の各色における濃度と、撮影に用いられたフィルムの特性曲線とを比較し、被写体の画像においてカラーバランスが崩れている濃度領域を特定し、カラーバランスが崩れている領域において、カラーバランスを適正なものとするための補正量を設定し、入力画像データのダイナミックレンジの圧縮量が設定される。
また、本実施例においては、肩部または足部に該当しない(特性曲線のラチチュードの範囲)場合には、補正はせずに、各画像のプレスキャンデータに基づいて、従来と同様に入力画像データのダイナミックレンジの圧縮量が設定される。これにより、従来の通り色相を変化させずに圧縮される。
The image analysis unit 32 of the present embodiment basically sets a conversion table of the nonlinear conversion unit 26.
As a result of image analysis using prescan data of each image, the density of each pixel of the image recorded on the film is compared with the characteristic curve of the film used for photographing, and the color balance is lost in the subject image. A density area is specified, and in an area where the color balance is lost, a correction amount for making the color balance appropriate is set, and a compression amount of the dynamic range of the input image data is set.
Further, in this embodiment, when the image does not correspond to the shoulder portion or the foot portion (the range of the characteristic curve latitude), the input image is not corrected but based on the prescan data of each image as in the conventional case. The compression amount of the dynamic range of data is set. As a result, compression is performed without changing the hue as in the past.

本実施例の画像解析部32は、最終的に、カラーバランスの補正量も考慮されたダイナミックレンジの圧縮量を、例えば、階調制御信号として非線形変換部26に出力する。これにより、非線形変換部26により得られる入力画像データのダイナミックレンジを圧縮するための圧縮処理用画像データが、LUT設定部30により補正された入力画像データの各濃度域においてカラーバランスが適正になるように設定されたダイナミックレンジの圧縮量を指示するものとなる。   The image analysis unit 32 according to the present exemplary embodiment finally outputs, to the nonlinear conversion unit 26, for example, a dynamic range compression amount that also considers the color balance correction amount as a gradation control signal. Thus, the color balance of the compression processing image data for compressing the dynamic range of the input image data obtained by the nonlinear conversion unit 26 is appropriate in each density region of the input image data corrected by the LUT setting unit 30. The compression amount of the dynamic range set as described above is instructed.

本実施例における入力画像データ(S、S、S)と、出力画像データ(O、O、O)との関係は、下記数式(4)〜(6)のように表わされる。なお、下記数式(4)〜(6)におけるLUT(Y_b)は、ボケ画像データが変換テーブルに入力されたことを示すものであり、C、C、Cは、それぞれ、R、G、B各色における補正係数である。
また、本実施例においては、下記数式(4)〜(6)に示すように、R、G、B各色は、カラーバランスに応じた量だけ変化し、色相を変化させて圧縮し、カラーバランスを補正する。
The relationship between the input image data (S R , S G , S B ) and the output image data (O R , O G , O B ) in this embodiment is expressed as the following mathematical formulas (4) to (6). It is. Note that LUT (Y_b) in the following mathematical formulas (4) to (6) indicates that blurred image data is input to the conversion table, and C R , C G , and C B are R, G, respectively. , B are correction coefficients for each color.
In this embodiment, as shown in the following mathematical formulas (4) to (6), the colors R, G, and B change by an amount corresponding to the color balance, and the compression is performed by changing the hue. Correct.

=S+LUT(Y_b)×C ・・・数式(4) O R = S R + LUT (Y_b) × C R (4)

=S+LUT(Y_b)×C ・・・数式(5) O G = S G + LUT ( Y_b) × C G ··· Equation (5)

=S+LUT(Y_b)×C ・・・数式(6) O B = S B + LUT (Y_b) × C B (Equation 6)

次に、本実施例の画像処理装置16の動作について説明する。
図2は、本発明の第1実施例のプリントシステムにおける画像処理装置のLUT設定部による圧縮量の設定方法を示すフローチャートである
Next, the operation of the image processing apparatus 16 of this embodiment will be described.
FIG. 2 is a flowchart illustrating a compression amount setting method by the LUT setting unit of the image processing apparatus in the printing system according to the first embodiment of the present invention.

ファインスキャンに先立ち、フィルムについて、先ず、R、G、Bの各色についてプレスキャンを実施し、各色のプレスキャンデータを取得する(ステップS10)。このとき、DXコードまたはAPSの磁気記録などが読み取られており、フィルム種についても特定されている。   Prior to fine scanning, first, pre-scanning is performed on each color of R, G, and B for the film, and pre-scan data for each color is acquired (step S10). At this time, the DX code or APS magnetic recording is read, and the film type is also specified.

次に、画像解析部において、プレスキャンデータに基づいて、各画像毎に、濃度ヒストグラムの作成、平均濃度、LATD(大面積透過濃度)、ハイライト(最低濃度)、およびシャドー(最高濃度)等の画像特徴量の算出等を行い、さらにフィルム種の情報から、原画像の状態を判断し、各画像毎に、原画像の最低濃度よりも若干低い濃度でエリアCCDセンサからの出力が飽和するように、エリアCCDセンサの蓄積時間または絞り値を算出して、ファインスキャンの読取条件を設定する(ステップS12)。   Next, in the image analysis unit, creation of a density histogram, average density, LATD (large area transmission density), highlight (lowest density), shadow (highest density), etc. for each image based on the prescan data. The feature of the image is calculated, and the state of the original image is judged from the film type information. For each image, the output from the area CCD sensor is saturated at a density slightly lower than the lowest density of the original image. As described above, the accumulation time or aperture value of the area CCD sensor is calculated, and fine scanning reading conditions are set (step S12).

次に、画像解析部により算出された濃度ヒストグラムに基づいて、画像の各画素の各色毎に濃度を絶対濃度として算出する。これにより、濃度範囲が特定される(ステップS14)。これにより、フィルムのベース濃度からの各画素の絶対濃度が、各色毎に得られる。   Next, based on the density histogram calculated by the image analysis unit, the density is calculated as an absolute density for each color of each pixel of the image. Thereby, the density range is specified (step S14). Thereby, the absolute density of each pixel from the base density of the film is obtained for each color.

次に、フィルムデータベースを参照する(ステップS16)。これにより、撮影に用いられたフィルムの特性曲線を得る。
次に、ステップS14により得られた各画素の各色の濃度と、特性曲線とを比較する。このとき、各画素について、濃度が、特性曲線の肩部または足部にあるか否かを識別し、補正が必要な否かが判別される(ステップS18)。
ステップS18において、画像の画素のうち、特性曲線の肩部または足部に該当するものがある場合には、更にフィルムデータベースを参照し、予め各フィルム毎に、各濃度に応じて設定されている補正係数を取得し、補正係数を設定する(ステップS20)。
Next, the film database is referred to (step S16). Thereby, the characteristic curve of the film used for photographing is obtained.
Next, the density of each color of each pixel obtained in step S14 is compared with the characteristic curve. At this time, for each pixel, it is determined whether or not the density is in the shoulder portion or the foot portion of the characteristic curve, and it is determined whether correction is necessary (step S18).
In step S18, if there is a pixel corresponding to the shoulder or foot of the characteristic curve among the pixels of the image, the film database is further referred to and preset for each film in accordance with each density. A correction coefficient is acquired and a correction coefficient is set (step S20).

一方、ステップS18において、画像の画素のうち、特性曲線の肩部または足部に該当するものがない場合、補正係数を1とする(ステップS22)。
なお、本実施例においては、画素の濃度が、特性曲線のラチチュードの範囲にある場合においても、補正係数を1とする。
このようにして、本実施例においては、補正係数が設定される。これを、フィルムに記録された全て画像について行い、各画像毎に画素について、各画素毎に補正係数を設定する。そして、補正係数を考慮して、非線形変換部の変換テーブルを、シーン応じたものとし、更にカラーバランスが適切となるように設定する。このように、必要に応じてカラーバランスを補正し、ダイナミックレンジの圧縮条件を設定する。
On the other hand, if there is no pixel corresponding to the shoulder or foot of the characteristic curve among the pixels of the image in step S18, the correction coefficient is set to 1 (step S22).
In this embodiment, the correction coefficient is set to 1 even when the pixel density is within the latitude range of the characteristic curve.
In this way, the correction coefficient is set in this embodiment. This is performed for all images recorded on the film, and a correction coefficient is set for each pixel for each image. Then, in consideration of the correction coefficient, the conversion table of the nonlinear conversion unit is set according to the scene, and further set so that the color balance is appropriate. As described above, the color balance is corrected as necessary, and the compression condition of the dynamic range is set.

次に、画像が記録されたフィルムを再度スキャナで、プレスキャンにより設定された読取条件で、ファインスキャンを行い、入力画像データ(ファインスキャンデータ)を得る。   Next, the film on which the image is recorded is again scanned with a scanner under the reading conditions set by the pre-scan to obtain input image data (fine scan data).

次に、入力画像データを基本画像処理部14に入力し、プレスキャンにより設定された画像処理条件で、画像の色/濃度(調子再現、色再現)および像構造(鮮鋭度、粒状性)等が適正な画像を出力するための基本的な画像処理を施す。
次に、入力画像データを画像処理装置16のハイパートーン処理部20(明暗信号生成部22および加算器28)に出力する。このハイパートーン処理部20において、先ず、明暗信号生成部22により、入力画像データのY成分データ(明暗画像データ)(Y)が作成される。
Next, input image data is input to the basic image processing unit 14, and the image color / density (tone reproduction, color reproduction), image structure (sharpness, graininess), etc., under the image processing conditions set by the pre-scan. Performs basic image processing to output an appropriate image.
Next, the input image data is output to the hypertone processing unit 20 (the light / dark signal generation unit 22 and the adder 28) of the image processing device 16. In the hypertone processing unit 20, first, the light / dark signal generation unit 22 creates Y component data (light / dark image data) (Y) of the input image data.

次に、明暗信号生成部22からY成分データ(Y)をボケ画像生成部24に出力する。これにより、ボケ画像生成部24によりY成分データ(Y)のボケ画像データ(Y_b)が得られる。このボケ画像データ(Y_b)が非線形変換部26に出力される。   Next, the Y component data (Y) is output from the light / dark signal generation unit 22 to the blurred image generation unit 24. Thereby, the blurred image generation unit 24 obtains the blurred image data (Y_b) of the Y component data (Y). This blurred image data (Y_b) is output to the nonlinear conversion unit 26.

一方、LUT設定部30により決定されたダイナミックレンジの圧縮量の設定値(補正係数(補正量)を含む)をハイパートーン処理部20の非線形変換部26に、例えば、階調制御信号として出力する。これにより、非線形変換部26に設定された変換テーブルが圧縮量に応じて変更され、非線形変換部26に設定された変換テーブルが最終的に設定される。   On the other hand, the dynamic range compression amount set value (including the correction coefficient (correction amount)) determined by the LUT setting unit 30 is output to the nonlinear conversion unit 26 of the hypertone processing unit 20 as, for example, a gradation control signal. . Thereby, the conversion table set in the non-linear conversion unit 26 is changed according to the compression amount, and the conversion table set in the non-linear conversion unit 26 is finally set.

次に、非線形変換部26によりY成分データの低周波成分から、LUT設定部30により設定された圧縮量で、入力画像データを圧縮するための圧縮処理用画像データを作成する。さらに、圧縮処理用画像データが加算器28に出力される。この加算器28において、入力画像データと、圧縮処理用画像データとが加算されて、ダイナミックレジンが圧縮された出力画像データ(O、O、O)を得る。 Next, compression processing image data for compressing the input image data with the compression amount set by the LUT setting unit 30 is created from the low frequency component of the Y component data by the nonlinear conversion unit 26. Further, the compression processing image data is output to the adder 28. The adder 28 adds the input image data and the image data for compression processing to obtain output image data (O R , O G , O B ) in which the dynamic resin is compressed.

次に、この出力画像データ(O、O、O)がデータ変換部40に出力されて、プリンタ18に適合するプリント画像データに変換される。このようにして、画像処理装置16においては、プリンタ18により出力可能なプリント画像データが生成される。このプリント画像データに基づいて、プリンタ18により、画像が記録されたフィルムの特性にかかわらず、シャドー側およびハイライト側の濃度域まで、特に色が適正に再現された高品位な写真プリントを得ることができる。 Next, the output image data (O R , O G , O B ) is output to the data converter 40 and converted into print image data suitable for the printer 18. In this way, in the image processing device 16, print image data that can be output by the printer 18 is generated. Based on this print image data, the printer 18 obtains a high-quality photographic print in which colors are reproduced appropriately in the density areas on the shadow side and highlight side regardless of the characteristics of the film on which the image is recorded. be able to.

本実施例の画像処理装置16においては、入力機12aが取得したフィルムに記録された画像のデジタル画像データに、フィルム種に応じた特性曲線を参照し、被写体の画像の濃度に応じた補正を施して、入力画像データの各濃度域におけるダイナミックレンジの圧縮量(圧縮条件)を設定し、非線形変換部26に設定された変換テーブルを設定することにより、カラーバランスが補正され、特に色が適正に再現された高品位な写真プリントを得ることができる出力画像データを得ることができる。   In the image processing apparatus 16 of the present embodiment, the digital image data of the image recorded on the film acquired by the input device 12a is referred to the characteristic curve corresponding to the film type, and correction according to the density of the image of the subject is performed. Then, by setting the compression amount (compression condition) of the dynamic range in each density area of the input image data and setting the conversion table set in the nonlinear conversion unit 26, the color balance is corrected, and the color is particularly appropriate. It is possible to obtain output image data capable of obtaining a high-quality photographic print reproduced in the above.

例えば、図3に模式的示すようなグレーの服を着た男性52と白いドレスを着た女性54とが撮影された画像50においては、図8に示すような濃度範囲Dを有し、この濃度範囲Dは、特性曲線の肩部βを含む。この画像50を、従来のハイパートーン処理では、特性曲線の肩部βにおいてカラーバランスが崩れているため、白いドレスに、白以外の色がついて再現されてしまう。
しかしながら、本実施例の画像処理方法においては、カラーバランスを考慮して、補正を施すため、カラーバランスが崩れていることに起因して発生する色味がつくことが抑制される。すなわち、カラーフェリアの発生を抑制することができる。これにより、圧縮度合を大きくしても、カラーバランスが崩れないため、圧縮度合の自由度を高くすることができる。
For example, an image 50 in which a man 52 wearing gray clothes and a woman 54 wearing white dresses as schematically shown in FIG. 3 has a density range D as shown in FIG. The density range D includes the shoulder β of the characteristic curve. In the conventional hypertone processing, the color balance of the image 50 is lost at the shoulder portion β of the characteristic curve, so that a color other than white is reproduced on the white dress.
However, in the image processing method of the present embodiment, correction is performed in consideration of the color balance, so that it is possible to suppress the color tone generated due to the color balance being lost. That is, the occurrence of color feria can be suppressed. As a result, even if the degree of compression is increased, the color balance is not lost, so the degree of freedom of the degree of compression can be increased.

次に、本発明の画像処理装置の第2実施例について説明する。
図4は、本発明の画像処理装置を有するプリントシステムの第2実施例を示すブロック図である。
なお、本実施例においては、図1に示す第1実施例のプリントシステム10と同一構成物には、同一符号を付して、その詳細な説明は省略する。
Next, a second embodiment of the image processing apparatus of the present invention will be described.
FIG. 4 is a block diagram showing a second embodiment of the printing system having the image processing apparatus of the present invention.
In this embodiment, the same components as those of the print system 10 of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted.

図4に示す本実施例のプリントシステム10aは、第1実施例のプリントシステム10(図1参照)に比して、画像解析部32aおよび明暗信号生成部22aの構成、ならびに画像解析部32aと明暗信号生成部22aとが接続されている点が異なり、それ以外の構成は、第1実施例のプリントシステム10と同様の構成であるため、その詳細な説明は省略する。   The print system 10a of this embodiment shown in FIG. 4 is different from the print system 10 of the first embodiment (see FIG. 1) in the configuration of the image analysis unit 32a and the light / dark signal generation unit 22a, and the image analysis unit 32a. The difference is that the light / dark signal generation unit 22a is connected, and the rest of the configuration is the same as that of the print system 10 of the first embodiment, and a detailed description thereof will be omitted.

本実施例の画像解析部32aは、明暗信号生成部22aに接続されており、補正係数を明暗信号生成部22aに出力する点が、第1実施例のプリントシステム10の画像解析部32と異なり、それ以外の構成は同様である。   The image analysis unit 32a of the present embodiment is connected to the light / dark signal generation unit 22a, and differs from the image analysis unit 32 of the print system 10 of the first embodiment in that a correction coefficient is output to the light / dark signal generation unit 22a. Other configurations are the same.

また、本実施例の明暗信号生成部22aは、画像解析部32aから出力された補正係数に基づいて、明暗信号を作成する点が、第1実施例のプリントシステム10の明暗信号生成部22と異なり、それ以外の構成は同様である。
なお、本実施例における明暗画像データは、Y=(S・C+S・C+S・C)/(C+C+C)で算出されるものである。また、YIQ規定を用いた明暗画像データ(Y=0.3S・C+0.59S・C+0.11S・C)でもよい。
In addition, the light / dark signal generation unit 22a of the present embodiment creates a light / dark signal based on the correction coefficient output from the image analysis unit 32a in that the light / dark signal generation unit 22a of the print system 10 of the first embodiment is different from the light / dark signal generation unit 22a. The other configurations are the same.
The bright and dark image data in this embodiment is calculated by Y = (S R · C R + S G · C G + S B · C B ) / (C R + C G + C B ). Further, it may be bright and dark image data (Y = 0.3S R · C R + 0.59S G · C G + 0.11S B · C B ) using YIQ regulations.

本実施例においては、非線形変換部26における変換テーブルにより、R、G、B各色のデータに補正を加えるものではないものの、明暗画像データにおいて、カラーバランスを補正している。このように、明暗画像データに補正を加えることによっても、第1実施例のプリントシステム10と同様の効果を得ることができる。   In this embodiment, the color balance is corrected in the light and dark image data, although the R, G, and B color data are not corrected by the conversion table in the nonlinear conversion unit 26. In this way, the same effect as that of the print system 10 of the first embodiment can be obtained by correcting the bright and dark image data.

次に、本実施例のプリントシステム10aの動作について説明する。
図4は、本発明の第2実施例のプリントシステムにおける画像処理装置のLUT設定部による圧縮量の補正方法を示すフローチャートである。
Next, the operation of the print system 10a of this embodiment will be described.
FIG. 4 is a flowchart illustrating a compression amount correction method by the LUT setting unit of the image processing apparatus in the printing system according to the second embodiment of the present invention.

本実施例においては、第1実施例のプリントシステム10に比して、上述の如く、プレスキャンデータを用いて、画像解析部32aにより補正係数を設定した(ステップS20)後、または補正係数を1とした(ステップS22)後、補正係数を明暗信号生成部22aに出力する(ステップS30、S32)点が異なる。さらに、画像解析部32aにより、プレスキャンデータを用いて、画像解析を行い、カラーバランスを考慮せずに、ダイナミックレンジの圧縮量を設定し、例えば、階調制御信号として非線形変換部26に出力する点が異なり、それ以外の画像処理方法については、第1実施例のプリントシステム10と同様であるため、その詳細な説明は省略する。   In the present embodiment, as compared with the print system 10 of the first embodiment, the correction coefficient is set by the image analysis unit 32a using the pre-scan data as described above (step S20), or the correction coefficient is set. After 1 (step S22), the correction coefficient is output to the light / dark signal generator 22a (steps S30 and S32). Further, the image analysis unit 32a performs image analysis using the pre-scan data, sets the dynamic range compression amount without considering the color balance, and outputs it to the nonlinear conversion unit 26 as, for example, a gradation control signal. Since the other image processing methods are the same as those of the print system 10 of the first embodiment, detailed description thereof is omitted.

本実施例のプリントシステム10aにおいても、第1実施例と同様に、例えば、白いドレスを着た女性54の画像50(図3参照)についてダイナミックレンジを圧縮した場合、カラーバランスが崩れていることに起因して発生する色味が付くことが抑制される。すなわち、カラーフェリアの発生を抑制することができる。すなわち、本実施例のプリントシステム10aにおいても、第1実施例と同様に高品位なプリントを得ることができる。
また、本実施例においては、明暗画像データに補正を加えるため、非線形変換部26の変換テーブルによる圧縮量を抑えることができる。これにより、カラーバランスを保ちつつ、黒の締まりの損失および白の抜けが悪くなることも抑制することができる。
Also in the printing system 10a of this embodiment, as in the first embodiment, for example, when the dynamic range is compressed for the image 50 (see FIG. 3) of the woman 54 wearing a white dress, the color balance is lost. It is suppressed that the color which arises due to is attached. That is, the occurrence of color feria can be suppressed. That is, also in the printing system 10a of the present embodiment, a high-quality print can be obtained as in the first embodiment.
Further, in this embodiment, since the bright / dark image data is corrected, the amount of compression by the conversion table of the nonlinear conversion unit 26 can be suppressed. Accordingly, it is possible to suppress the loss of black tightening and the loss of white while maintaining the color balance.

なお、いずれの実施例においても、フィルムの濃度を測定する濃度計を設けてもよい。濃度計を設けることにより、画像の濃度の測定精度を更に高くすることができ、カラーバランスの補正の精度を更に高くすることができる。これにより、更に高品位なプリントを得ることができる。
また、いずれの実施例においても、フィルム種は、受付機12bまたは操作部13から画像解析部32に直接入力してもよい。さらに、フィルム種が、特定できない場合には、補正係数を全て1とする。
In any of the embodiments, a densitometer for measuring the density of the film may be provided. By providing the densitometer, the accuracy of image density measurement can be further increased, and the accuracy of color balance correction can be further increased. As a result, a higher quality print can be obtained.
In any embodiment, the film type may be directly input to the image analysis unit 32 from the receiving machine 12b or the operation unit 13. Further, when the film type cannot be specified, all correction coefficients are set to 1.

本発明の画像処理装置は、入力画像のダイナミックレンジを圧縮する機能を有する装置であってもよいが、例えば、一般的なパーソナルコンピュータシステムと、その上で動作するソフトウェアプログラムによって実現することも可能である。また、本発明の入力画像のダイナミックレンジを圧縮処理するプログラムは、本発明の画像処理方法を適用して、入力画像のダイナミックレンジが圧縮された出力画像データを作成するものである。   The image processing apparatus of the present invention may be an apparatus having a function of compressing the dynamic range of an input image, but may be realized by, for example, a general personal computer system and a software program operating on the personal computer system. It is. Further, the program for compressing the dynamic range of the input image of the present invention applies the image processing method of the present invention to create output image data in which the dynamic range of the input image is compressed.

本発明は、基本的に以上のようなものである。以上、本発明の画像処理装置、および画像処理方法について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良または変更をしてもよいのはもちろんである。   The present invention is basically as described above. Although the image processing apparatus and the image processing method of the present invention have been described in detail above, the present invention is not limited to the above-described embodiment, and various improvements or modifications can be made without departing from the spirit of the present invention. Of course it is good.

本発明の画像処理装置を有するプリントシステムの第1実施例を示すブロック図である。1 is a block diagram showing a first embodiment of a printing system having an image processing apparatus of the present invention. FIG. 本発明の第1実施例のプリントシステムにおける画像処理装置のLUT設定部による圧縮量の設定方法を示すフローチャートである。3 is a flowchart illustrating a compression amount setting method by an LUT setting unit of the image processing apparatus in the print system according to the first exemplary embodiment of the present invention. 入力画像の一例を示す模式図である。It is a schematic diagram which shows an example of an input image. 本発明の画像処理装置を有するプリントシステムの第2実施例を示すブロック図である。It is a block diagram which shows 2nd Example of the printing system which has an image processing apparatus of this invention. 本発明の第2実施例のプリントシステムにおける画像処理装置のLUT設定部による圧縮量の補正方法を示すフローチャートである。10 is a flowchart illustrating a compression amount correction method by an LUT setting unit of an image processing apparatus in a print system according to a second embodiment of the present invention. (a)は、従来のハイパートーン処理をする画像処理装置を示すブロック図であり、(b)は、図6(a)の従来の画像処理装置におけるルックアップテーブル(LUT)の変換テーブルを示すグラフである。(A) is a block diagram showing a conventional image processing apparatus that performs hypertone processing, and (b) shows a conversion table of a lookup table (LUT) in the conventional image processing apparatus of FIG. 6 (a). It is a graph. 縦軸に画像濃度をとり、横軸に画像位置をとって、従来の画像処理方法を示すグラフである。It is a graph which shows the conventional image processing method, taking image density on the vertical axis and taking the image position on the horizontal axis. 縦軸に濃度をとり、横軸に露光量をとって、ネガフィルムの赤、緑、青の各色の特性曲線を示すグラフである。It is a graph which shows the characteristic curve of each color of the negative film of red, green, and blue, with density on the vertical axis and exposure on the horizontal axis.

符号の説明Explanation of symbols

10、10a プリントシステム
12a 入力機
12b 受付機
13 操作部
14 基本画像処理部
16 画像処理装置
18 プリンタ
20 ハイパートーン処理部
22、22a 明暗信号生成部
24 ボケ画像生成部
26 非線形変換部
28 加算器
30 LUT設定部
32 画像解析部
34 フィルムデータベース
40 データ変換部
50 画像
140 赤の特性曲線
142 緑の特性曲線
144 青の特性曲線
α 足部
β 肩部
DESCRIPTION OF SYMBOLS 10, 10a Print system 12a Input machine 12b Reception machine 13 Operation part 14 Basic image processing part 16 Image processing apparatus 18 Printer 20 Hypertone processing part 22, 22a Brightness / darkness signal generation part 24 Blurred image generation part 26 Nonlinear conversion part 28 Adder 30 LUT setting unit 32 Image analysis unit 34 Film database 40 Data conversion unit 50 Image 140 Red characteristic curve 142 Green characteristic curve 144 Blue characteristic curve α Foot β Shoulder

Claims (6)

フィルムに記録された画像が光電的に少なくとも赤、緑、青の3原色で読み取られて得られた入力画像データに所定の画像処理を施し、出力用の出力画像データとする画像処理装置であって、
前記入力画像データのダイナミックレンジの圧縮処理を行う処理手段を有し、
前記処理手段は、前記入力画像データのダイナミックレンジの圧縮条件を設定する設定部を有するものであり、
前記設定部は、フィルムの種類ごとにフィルムの前記3原色の特性曲線が記録されたフィルムデータベース、および前記フィルムデータベースを参照して、前記画像が記録されたフィルムの3原色の特性曲線を得、前記フィルムの前記3原色の特性曲線と、前記入力画像データの各画素の3原色の各色の濃度とを比較し、前記入力画像データのうち、画素の3原色の各色の濃度が前記特性曲線の足部または肩部にあるものについては、それぞれ前記特性曲線に基づいてカラーバランスが適正になるように各色の濃度の補正量を設定し、前記補正量を用いて前記ダイナミックレンジの圧縮条件を設定する画像解析部を備えるものであり、
前記画像解析部は、画素の3原色の各色の濃度が前記特性曲線の足部または肩部ではないものについては、補正量を設定することなく、前記ダイナミックレンジの圧縮条件を設定することを特徴とする画像処理装置。
An image processing apparatus that performs predetermined image processing on input image data obtained by photoelectrically reading an image recorded on a film with at least three primary colors of red, green, and blue, and producing output image data for output. And
Processing means for performing compression processing of the dynamic range of the input image data;
The processing means includes a setting unit that sets a compression condition of a dynamic range of the input image data.
The setting unit refers to the film database in which the characteristic curves of the three primary colors of the film are recorded for each type of film, and the characteristic database of the three primary colors of the film in which the image is recorded, The characteristic curve of the three primary colors of the film is compared with the density of each of the three primary colors of each pixel of the input image data, and the density of each of the three primary colors of the pixel of the input image data is the characteristic curve. For those on the foot or shoulder, set the correction amount of the density of each color so that the color balance is appropriate based on the characteristic curve, and set the compression condition of the dynamic range using the correction amount An image analysis unit that performs
The image analysis unit sets the compression condition for the dynamic range without setting a correction amount for a pixel whose density of each of the three primary colors is not a foot or a shoulder of the characteristic curve. An image processing apparatus.
前記処理手段は、前記入力画像データの明暗画像データを作成する作成手段と、前記明暗画像データの低周波成分を抽出する抽出手段と、前記設定部により設定された圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分と前記補正量とに基づいて作成する圧縮処理用画像データ作成手段と、前記圧縮処理用画像データと前記入力画像データとを加算する加算器とを備える請求項1に記載の画像処理装置。   The processing means includes a creating means for creating bright and dark image data of the input image data, an extracting means for extracting a low frequency component of the bright and dark image data, and a compression amount based on a compression condition set by the setting unit. Compression processing image data creating means for creating compression processing image data for compressing input image data based on the low frequency component and the correction amount; the compression processing image data; and the input image data; The image processing apparatus according to claim 1, further comprising: an adder that adds. 前記処理手段は、前記入力画像データの明暗画像データを前記入力画像データと前記補正量とに基づいて作成する作成手段と、前記明暗画像データの低周波成分を抽出する抽出手段と、前記設定部により設定された圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分から作成する圧縮処理用画像データ作成手段と、前記圧縮処理用画像データと前記入力画像データとを加算する加算器とを備える請求項1に記載の画像処理装置。   The processing unit includes a creating unit that creates bright and dark image data of the input image data based on the input image data and the correction amount, an extracting unit that extracts a low frequency component of the bright and dark image data, and the setting unit Compression processing image data creating means for creating, from the low frequency component, compression processing image data for compressing the input image data with a compression amount based on the compression condition set by the compression processing image data, The image processing apparatus according to claim 1, further comprising an adder that adds the input image data. フィルムに記録された画像が光電的に少なくとも赤、緑、青の3原色で読み取られて得られた入力画像データに所定の画像処理を施し、出力用の出力画像データとする画像処理方法であって、
前記入力画像データの各画素の濃度を特定する工程と、
前記画像が記録されたフィルムの種類を特定し、特定されたフィルムの前記3原色の特性曲線と、前記入力画像データの各画素の3原色の各色の濃度とを比較し、画素の3原色の各色の濃度が前記特性曲線の足部または肩部にあるものについては、それぞれ前記特性曲線に基づいてカラーバランスが適正になるように各色の濃度の補正量を設定する工程と、
濃度が前記特性曲線の足部または肩部にあるものについては、前記補正量の情報を用いて、前記入力画像データのダイナミックレンジの圧縮条件を設定し、画素の3原色の各色の濃度が前記特性曲線の足部または肩部ではないものは、補正量を設定することなく、前記ダイナミックレンジの圧縮条件を設定する工程と、
前記設定されたダイナミックレンジの圧縮条件に応じて、前記入力画像データのダイナミックレンジの圧縮処理を行う工程とを有することを特徴とする画像処理方法。
This is an image processing method in which predetermined image processing is performed on input image data obtained by photoelectrically reading an image recorded on film with at least three primary colors of red, green, and blue to obtain output image data for output. And
Identifying the density of each pixel of the input image data;
The type of film on which the image is recorded is specified, the characteristic curve of the three primary colors of the specified film is compared with the density of each of the three primary colors of each pixel of the input image data, and the three primary colors of the pixel are compared. For the density of each color at the foot or shoulder of the characteristic curve, a step of setting the correction amount of the density of each color so that the color balance is appropriate based on the characteristic curve,
For the case where the density is at the foot or shoulder of the characteristic curve, the compression amount information is used to set the dynamic range compression condition of the input image data, and the density of each of the three primary colors of the pixel is What is not the foot or shoulder of the characteristic curve is a step of setting the compression condition of the dynamic range without setting a correction amount;
And a step of compressing the dynamic range of the input image data in accordance with the set dynamic range compression condition.
前記補正量を設定する工程の後工程に、
前記入力画像データの明暗画像データを作成する工程と、前記明暗画像データの低周波成分を抽出する工程とを有し、
前記入力画像データのダイナミックレンジの圧縮処理を行う工程は、前記ダイナミックレンジの圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分および前記補正量に基づいて作成し、前記圧縮処理用画像データと前記入力画像データとを加算するものである請求項4に記載の画像処理方法。
In a subsequent process of setting the correction amount,
Creating light and dark image data of the input image data; and extracting low frequency components of the light and dark image data;
The step of compressing the dynamic range of the input image data includes the step of compressing the input image data with a compression amount based on the compression condition of the dynamic range, the low frequency component and the correction amount. 5. The image processing method according to claim 4, wherein the image processing method is configured to add the image data for compression processing and the input image data.
前記補正量を設定する工程の後工程に、
前記入力画像データと前記補正量とに基づいて、前記明暗画像データを作成する工程を有し、
さらに、前記明暗画像データの低周波成分を抽出する工程と、
前記入力画像データのダイナミックレンジの圧縮処理を行う工程は、前記ダイナミックレンジの圧縮条件に基づく圧縮量で前記入力画像データを圧縮するための圧縮処理用画像データを、前記低周波成分に基づいて作成し、前記圧縮処理用画像データと前記入力画像データとを加算する工程とを有する請求項4に記載の画像処理方法。
In a subsequent process of setting the correction amount,
Based on the input image data and the correction amount, creating the bright and dark image data,
A step of extracting a low frequency component of the light and dark image data;
The step of performing compression processing of the dynamic range of the input image data creates image data for compression processing for compressing the input image data with a compression amount based on the compression condition of the dynamic range based on the low frequency component. The image processing method according to claim 4, further comprising a step of adding the image data for compression processing and the input image data.
JP2005259287A 2005-09-07 2005-09-07 Image processing apparatus and image processing method Withdrawn JP2007074373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005259287A JP2007074373A (en) 2005-09-07 2005-09-07 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005259287A JP2007074373A (en) 2005-09-07 2005-09-07 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2007074373A true JP2007074373A (en) 2007-03-22

Family

ID=37935445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005259287A Withdrawn JP2007074373A (en) 2005-09-07 2005-09-07 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2007074373A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009272983A (en) * 2008-05-09 2009-11-19 Fujifilm Corp Image processing apparatus, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009272983A (en) * 2008-05-09 2009-11-19 Fujifilm Corp Image processing apparatus, method, and program
US8345121B2 (en) 2008-05-09 2013-01-01 Fujifilm Corporation Image processing apparatus, method, and program

Similar Documents

Publication Publication Date Title
JP4081219B2 (en) Image processing method and image processing apparatus
US7742653B2 (en) Image processing apparatus and image processing method
JP3696345B2 (en) Image processing method and apparatus
JP2000050080A (en) Digital photograph finishing system containing digital picture processing of film exposure lacking gamma, scene balance, contrast normalization and picture visualization
JP2006246200A (en) Image processing device and method therefor
JP2000050079A (en) Digital photograph finishing system containing digital picture processing of film exposure lacking gamma scene balance and picture visualization
US7515181B2 (en) Method, apparatus, and program for image processing on image data that have already been subjected to image processing
JP3405266B2 (en) Image processing method and apparatus
JP3451202B2 (en) Image processing method
JP2000156785A (en) Image processing method and image processor
JP3408770B2 (en) Image processing device
JPH11191871A (en) Image processor
JP3783817B2 (en) Image processing method and image processing apparatus
JP3549413B2 (en) Image processing method and image processing apparatus
JP2000069277A (en) Image processing unit
US20050129287A1 (en) Image processing method
US6700685B1 (en) Image processing apparatus
JP2001222710A (en) Device and method for image processing
JP2007074373A (en) Image processing apparatus and image processing method
JP4667072B2 (en) Image processing apparatus, image processing method, and program
JP2001245153A (en) Image processing method and apparatus
JP3576812B2 (en) Image processing apparatus and image processing method
JP4063971B2 (en) Image processing method and apparatus
JPH1153535A (en) Method and device for image reproduction
JP2005304023A (en) Image processing apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061206

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202