JP2005159950A - Image input apparatus and method - Google Patents

Image input apparatus and method Download PDF

Info

Publication number
JP2005159950A
JP2005159950A JP2003398671A JP2003398671A JP2005159950A JP 2005159950 A JP2005159950 A JP 2005159950A JP 2003398671 A JP2003398671 A JP 2003398671A JP 2003398671 A JP2003398671 A JP 2003398671A JP 2005159950 A JP2005159950 A JP 2005159950A
Authority
JP
Japan
Prior art keywords
image
film
scanning
scan
exposure condition
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
JP2003398671A
Other languages
Japanese (ja)
Inventor
Shigeki Yamada
茂樹 山田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003398671A priority Critical patent/JP2005159950A/en
Publication of JP2005159950A publication Critical patent/JP2005159950A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image input apparatus and method in which the optimal result of scanning is obtained by controlling a scanning speed if a photographic status of a negative film is over exposure. <P>SOLUTION: In the image input apparatus, a negative film is expressed as 403. In a pre-scanning, an image on the negative film is read by a CCD (405). The image is histogram-analyzed by an exposure condition judging unit (410) and it is judged whether the image is an overexposed image. The image judged as overexposed is scanned, in the case of a fine scanning, while decelerating the scanning speed by a scanning speed control unit. As a result, an image that has excellent gradations and reduced noise, is obtained. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像入力装置及び方法に関し、特に、フィルムに記録された画像情報をデジタルデータとして入力する画像入力装置及び方法に関する。   The present invention relates to an image input apparatus and method, and more particularly to an image input apparatus and method for inputting image information recorded on a film as digital data.

従来の画像入力装置には、フィルムに記録された画像情報をデジタルデータとして得るためのフィルムスキャナがある。   A conventional image input apparatus includes a film scanner for obtaining image information recorded on a film as digital data.

図1は、従来のフィルムスキャナの全体構成を示すブロック図である。   FIG. 1 is a block diagram showing the overall configuration of a conventional film scanner.

図1において、フィルムスキャナは、光源部101と、投影レンズ102と、結像レンズ104と、CCD(Charge Coupled Device)等から成る画像読み取りセンサ105と、信号増幅器106(AMP)と、A/D変換器107(A/D)と、ルックアップテーブル変換器108(LUT)と、メモリ109と、画像解析部110と、画像変換部111と、I/O112とで構成される。   In FIG. 1, a film scanner includes a light source unit 101, a projection lens 102, an imaging lens 104, an image reading sensor 105 including a CCD (Charge Coupled Device), a signal amplifier 106 (AMP), and an A / D. A converter 107 (A / D), a lookup table converter 108 (LUT), a memory 109, an image analysis unit 110, an image conversion unit 111, and an I / O 112 are included.

光源部101は、ハロゲンランプや白色蛍光管等から成る光源である。投影レンズ102は、カメラで撮影された画像が記録されている現像済みのフィルム(以下、単に「フィルム」という。)103に光源部101からの光を平行光線として照射するためのレンズである。結像レンズ104は、フィルム103上の画像を画像読み取りセンサ105に結像するための光学系である。なお、投影レンズ102及び結像レンズ104は、複数のレンズ群で構成されていてもよい。   The light source unit 101 is a light source composed of a halogen lamp, a white fluorescent tube, or the like. The projection lens 102 is a lens for irradiating the light from the light source unit 101 as parallel rays onto a developed film (hereinafter simply referred to as “film”) 103 in which an image taken by a camera is recorded. The imaging lens 104 is an optical system for forming an image on the film 103 on the image reading sensor 105. Note that the projection lens 102 and the imaging lens 104 may be composed of a plurality of lens groups.

画像読み取りセンサ105は、当該センサ上にR、G、Bの色分解フィルタが装着されており、フィルム103を透過する光をR、G、Bの電気信号に変換する。この結果、フィルム103上の画像情報を電気信号として得ることができる。信号増幅器106は、画像読み取りセンサ105からの信号を増幅する信号増幅器である。A/D変換器107は、信号増幅器106から得られるアナログ信号をデジタル信号に変換する。ルックアップテーブル変換器108は、A/D変換器107から得られる画像信号に対してガンマ変換等の階調変換を行う。メモリ109は、ルックアップテーブル変換器108から得られた画像信号を記憶する。画像解析部110は、プリスキャン時に得られる画像を解析し、信号増幅器106に与えるパラメータである増幅率を決定する。画像変換部111は、メモリ109から得られる画像データに対してR、G、B毎にカラーバランスの自動補正を行う。I/O112は、フィルムスキャナと不図示のコンピュータ(以下、「PC」という。)とを接続するためのインターフェースである。   The image reading sensor 105 is provided with R, G, and B color separation filters on the sensor, and converts light transmitted through the film 103 into R, G, and B electrical signals. As a result, the image information on the film 103 can be obtained as an electrical signal. The signal amplifier 106 is a signal amplifier that amplifies the signal from the image reading sensor 105. The A / D converter 107 converts the analog signal obtained from the signal amplifier 106 into a digital signal. The look-up table converter 108 performs gradation conversion such as gamma conversion on the image signal obtained from the A / D converter 107. The memory 109 stores the image signal obtained from the lookup table converter 108. The image analysis unit 110 analyzes an image obtained at the time of pre-scanning and determines an amplification factor that is a parameter given to the signal amplifier 106. The image conversion unit 111 automatically corrects the color balance for each of R, G, and B for the image data obtained from the memory 109. The I / O 112 is an interface for connecting a film scanner and a computer (not shown) (hereinafter referred to as “PC”).

次に、フィルムスキャナにおける画像読み取り動作について説明する。   Next, an image reading operation in the film scanner will be described.

一般的なスキャナでは、原稿画像に対するスキャン(画像読み取り)が2度行われ、それぞれがプリスキャン、ファインスキャンと呼ばれている。プリスキャンは、ファインスキャンを行うためのスキャン条件における各種パラメータを決定するものである。   In a general scanner, a document image is scanned twice (image reading), which are called pre-scan and fine scan, respectively. The pre-scan determines various parameters in the scan conditions for performing fine scan.

通常、ユーザがフィルム103をフィルムスキャナにセットすると自動的にプリスキャンが行われる。その場合、信号増幅器106は、どのような露光条件で撮影された画像がスキャンされてもオーバーフローを起こさないような増幅率にセットする。プリスキャンは、ファインスキャン時のスキャン条件の決定の他に、フィルムスキャナ上のモニタ(不図示)によるユーザの画像確認に用いられるだけなので低解像度で行われる。   Usually, when the user sets the film 103 on the film scanner, the pre-scan is automatically performed. In that case, the signal amplifier 106 is set to an amplification factor that does not cause an overflow even if an image photographed under any exposure condition is scanned. The pre-scan is performed at a low resolution because it is only used for user image confirmation by a monitor (not shown) on the film scanner, in addition to determination of the scan condition during fine scan.

ルックアップテーブル変換器108では、プリスキャン用のルックアップテーブルがセットされ、プリスキャンが行われる。すなわち、ルックアップテーブル変換器108は、どんなフィルム種、どんなシーンの画像に対してもネガからポジへの固定の反転処理を行う。その結果は、一旦メモリ109へ書き込まれ、画像解析部110に送られる。   The look-up table converter 108 sets a pre-scan look-up table and performs pre-scan. That is, the look-up table converter 108 performs a negative to positive inversion process for any film type and any scene image. The result is once written in the memory 109 and sent to the image analysis unit 110.

画像解析部110では、それぞれの画像に対して各色毎に最高濃度、最低濃度、及び平均濃度等の画像特性を表す特徴量を計算し、それらの特徴量に基づいてファインスキャン時のスキャン条件を決定する。例えば、最高濃度、最低濃度、及び平均濃度を予め決められた所定値と比較することにより画像を低濃度、通常濃度、高濃度、及び最高濃度に分類し、画像毎に信号増幅率を決定して信号増幅器106にセットする。また、カラーバランスを解析して適切なカラーバランスとなるように画像毎にファインスキャン時のルックアップテーブルを決定し、ルックアップテーブル変換器108にセットする。   The image analysis unit 110 calculates feature quantities representing image characteristics such as the highest density, the lowest density, and the average density for each color for each image, and sets scan conditions during fine scanning based on the feature quantities. decide. For example, the image is classified into low density, normal density, high density, and maximum density by comparing the maximum density, minimum density, and average density with predetermined values, and the signal amplification factor is determined for each image. To set the signal amplifier 106. Further, the color balance is analyzed, a lookup table at the time of fine scanning is determined for each image so as to obtain an appropriate color balance, and the lookup table converter 108 is set.

画像変換部111は、画像解析部110で得られた結果に基づいてシミュレーションを行い、最適なプリスキャン画像を生成する。生成した結果は、メモリ109へ送られる。ユーザは、例えば、I/O112に接続されたPCのモニタでシミュレーションの結果を目視で確認することができる。   The image conversion unit 111 performs a simulation based on the result obtained by the image analysis unit 110 and generates an optimal pre-scan image. The generated result is sent to the memory 109. For example, the user can visually confirm the result of the simulation on the monitor of the PC connected to the I / O 112.

次に、画像解析部110で決定されたパラメータを用いて信号増幅器106及びルックアップテーブル変換器108を制御すると共に、高解像度でファインスキャンを行う。これにより、各画像毎に最適な条件でスキャンされるので、明るさとグレーバランスの整ったファインスキャン画像を得ることができる。   Next, the signal amplifier 106 and the look-up table converter 108 are controlled using the parameters determined by the image analysis unit 110, and fine scanning is performed with high resolution. As a result, each image is scanned under optimum conditions, so that a fine scan image with a well-balanced brightness and gray balance can be obtained.

プリスキャン画像は、ルックアップテーブル変換器108及び画像変換部111により合計2度の画像変換が行われる。一方、ファインスキャン画像は、信号増幅器106によりアナログ信号の段階で最適に増幅され、且つルックアップテーブル変換器108により最適な条件で1度だけ階調変換される。このため、プリスキャン画像に比べて入力のデータ幅が大きくなり、階調性の良い画像を得ることができる。ルックアップテーブル変換器108で変換されたファインスキャン画像は、メモリ109へ送られ、I/O112を介してPCへ転送される。   The pre-scan image is subjected to image conversion twice in total by the look-up table converter 108 and the image conversion unit 111. On the other hand, the fine scan image is optimally amplified at the stage of an analog signal by the signal amplifier 106, and is subjected to gradation conversion only once by the look-up table converter 108 under the optimal conditions. Therefore, the input data width is larger than that of the pre-scan image, and an image with good gradation can be obtained. The fine scan image converted by the lookup table converter 108 is sent to the memory 109 and transferred to the PC via the I / O 112.

しかしながら、上記、従来のフィルムスキャナでは、露出オーバで撮影されたネガフィルムの場合、ファインスキャンにおいて、信号増幅器106の増幅率を上げてスキャンをおこなう。その結果、フィルム上のノイズ成分も増幅され、結果的に、粒状性の粗い画像となってしまう。   However, in the above-described conventional film scanner, in the case of a negative film taken with overexposure, scanning is performed by increasing the amplification factor of the signal amplifier 106 in the fine scan. As a result, noise components on the film are also amplified, resulting in an image with coarse graininess.

その問題を解決するために、プリスキャン時の画像の濃度を判定し、濃度の高い場合、ファインスキャン時のスキャンスピードを遅くするという方式が公開されている(例えば、特許文献1参照)。スピードを遅くすることにより、最適な濃度範囲での取り込みが可能となり、かつ、CCDへ照射される光量を増やすことによりS/N比が大きくなり、ノイズの少ない画像を得ることができる。ここで、画像の濃度とは、画像の平均濃度を意味する。
特開平10-243174号公報
In order to solve the problem, a method has been disclosed in which the density of an image at the time of pre-scanning is determined, and when the density is high, the scanning speed at the time of fine scanning is reduced (for example, see Patent Document 1). By reducing the speed, it is possible to capture in the optimum density range, and by increasing the amount of light irradiated to the CCD, the S / N ratio increases and an image with less noise can be obtained. Here, the image density means the average density of the image.
Japanese Patent Laid-Open No. 10-243174

しかしながら、この方式の場合、画像の濃度だけで、露光状態を判断しスキャンスピードを変えるために、最適なスピードでのスキャンが行なえない場合がある。以下、図を用いて具体的に説明する。図2は、露出オーバで撮影された標準的なシーンにおけるプリスキャン画像における濃度とヒストグラムの関係を示す図である。Aveは画像の平均濃度を意味する。標準的なシーンにおいて、露出オーバで撮影されたネガフィルムの場合、Aveが、ある規定値より大きくなる。この場合、スキャンスピードを遅くして、ファインスキャンが行われる。上述のように、標準的なシーンが露出オーバで撮影された場合、適切な判断が行われる。この結果、図2における濃度MinからMaxの範囲でデータの取り込みが行われるので階調性が良く、ノイズの少ない画像を得ることができる。しかしながら、全体的に暗いシーン、例えば夜景などが露出オーバで撮影された場合、特開平10-243174の方法では、適切な判断が行われない。図3に、露出オーバで撮影されたプリスキャン画像における濃度とヒストグラムの関係を示す。全体的に暗いシーンの場合、露出オーバであっても、濃度の平均値Aveは図2のAveに比べて低くなる。そのため、規定値よりもAveが小さくなるので、露出オーバであると判断されず、通常のスピードでファインスキャンが行われる。この結果、図3における、濃度MinからMaxの範囲で取り込みが行われ、Max以上の高濃度部が切り捨てられてしまう。これは、例えば、夜景における、ライトの部分や、夜景を背景に人物をストロボ撮影した場合の、顔の部分である。データが切り捨てられてしまうと、ライトの部分や顔の階調がなくなって潰れてしまう。   However, in this system, since the exposure state is determined and the scan speed is changed based only on the image density, scanning at an optimum speed may not be performed. This will be specifically described below with reference to the drawings. FIG. 2 is a diagram showing the relationship between density and histogram in a pre-scan image in a standard scene shot with overexposure. Ave means the average density of the image. In a standard scene, in the case of a negative film shot with overexposure, Ave is greater than a certain value. In this case, a fine scan is performed at a low scan speed. As described above, when a standard scene is shot with overexposure, an appropriate determination is made. As a result, since the data is captured in the range of density Min to Max in FIG. 2, an image with good gradation and less noise can be obtained. However, when a dark scene such as a night scene is photographed with overexposure, the method of Japanese Patent Laid-Open No. 10-243174 cannot make an appropriate determination. FIG. 3 shows the relationship between density and histogram in a pre-scan image taken with overexposure. In the case of an entirely dark scene, the average density value Ave is lower than Ave in FIG. For this reason, Ave becomes smaller than the specified value, so it is not determined that the exposure is overexposed, and fine scan is performed at a normal speed. As a result, in FIG. 3, the capturing is performed in the range from the density Min to the Max, and the high density portion above the Max is discarded. This is, for example, a light portion in a night view or a face portion when a person is photographed with a flash against a night view. If the data is truncated, the light part and the gradation of the face disappear and are destroyed.

本発明は、上記問題に鑑みてなされたものであり、シーン、被写体に関係なく、撮影時の露出を適正に判断し、ファインスキャン時のスキャンスピードを制御することのできる画像入力装置及び方法を提供することを目的とする。   The present invention has been made in view of the above problems, and provides an image input apparatus and method capable of appropriately determining the exposure at the time of shooting and controlling the scanning speed at the time of fine scanning regardless of the scene and the subject. The purpose is to provide.

上記目的を達成するために、請求項1記載の画像入力装置は、現像済みのフィルムに光源からの光を照射するために光照射手段、フィルム上の画像をライン状のセンサを用いて読み取る画像読み取り手段、フィルム上の画像全体を画像読み取り手段で読み取るために、フィルムもしくはセンサを移動させる走査手段、フィルムもしくはセンサの操作速度を可変制御できる走査速度制御手段、前記、画像読み取り手段で得られた画像のヒストグラムを求め、ヒストグラムを用いて画像撮影時の露出条件を判断する露出条件判断手段を有し、露出条件の判断結果に基づき、前記、走査速度を変えることを特徴とする。   In order to achieve the above object, an image input device according to claim 1 is an image reading device for irradiating light from a light source to a developed film using a light irradiation means and a line sensor. Obtained by reading means, scanning means for moving the film or sensor in order to read the entire image on the film by the image reading means, scanning speed control means capable of variably controlling the operation speed of the film or sensor, obtained by the image reading means An exposure condition determining unit that obtains a histogram of an image and determines an exposure condition at the time of image capturing using the histogram is provided, and the scanning speed is changed based on the determination result of the exposure condition.

請求項2記載の画像入力装置は、現像済みのフィルムに光源からの光を照射するために光照射手段、フィルム上の画像をライン状のセンサを用いて読み取る画像読み取り手段、フィルム上の画像全体を画像読み取り手段で読み取るために、フィルムもしくはセンサを移動させる走査手段、フィルムもしくはセンサの操作速度を可変制御できる走査速度制御手段、前記、画像読み取り手段で得られた画像のヒストグラムを求め、ヒストグラムを用いて画像撮影時の露出条件を判断する露出条件判断手段、速度優先、もしくは画質優先かを選択できるモード選択手段を有し、画質優先が選択された場合、露出条件の判断結果に基づき、前記、走査速度を変えることを特徴とする。   The image input device according to claim 2, wherein the developed film is irradiated with light from a light source, the image reading means for reading an image on the film using a line sensor, and the entire image on the film. In order to read the image by the image reading means, a scanning means for moving the film or sensor, a scanning speed control means capable of variably controlling the operation speed of the film or sensor, a histogram of the image obtained by the image reading means is obtained, and the histogram is obtained. Using an exposure condition determination means for determining an exposure condition at the time of image shooting, a mode selection means capable of selecting speed priority or image quality priority, and when image quality priority is selected, based on the determination result of the exposure condition, The scanning speed is changed.

以上詳細に説明したように、本発明によれば、プリスキャン時の画像ごとにヒストグラムを解析し、その結果から、露出条件を判断し、露出条件に応じた速度で、ファインスキャンが行われるので、階調性の良い、S/N比の高い良好な画像を得ることができる。   As described above in detail, according to the present invention, since the histogram is analyzed for each image at the time of pre-scanning, the exposure condition is judged from the result, and the fine scan is performed at a speed according to the exposure condition. Therefore, it is possible to obtain a good image with good gradation and high S / N ratio.

以下、本発明の実施の形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施の形態)
図4は、本発明のフィルムスキャナの全体構成を示すブロック図である。
(First embodiment)
FIG. 4 is a block diagram showing the overall configuration of the film scanner of the present invention.

図4において、フィルムスキャナは、光源部401と、投影レンズ402と、結像レンズ404と、CCD(Charge Coupled Device)等から成る画像読み取りセンサ405と、信号増幅器406(AMP)と、A/D変換器407(A/D)と、画像変換部408と、メモリ409と、露出条件判断部410と、走査速度制御部411と、I/O412とで構成される。   In FIG. 4, the film scanner includes a light source unit 401, a projection lens 402, an imaging lens 404, an image reading sensor 405 including a charge coupled device (CCD), a signal amplifier 406 (AMP), and an A / D. It comprises a converter 407 (A / D), an image conversion unit 408, a memory 409, an exposure condition determination unit 410, a scanning speed control unit 411, and an I / O 412.

光源部401は、ハロゲンランプや白色蛍光管等から成る光源である。投影レンズ402は、カメラで撮影された画像が記録されている現像済みのフィルム(以下、単に「フィルム」という。)403に光源部401からの光を平行光線として照射するためのレンズである。結像レンズ404は、フィルム403上の画像を画像読み取りセンサ405に結像するための光学系である。なお、投影レンズ402及び結像レンズ404は、複数のレンズ群で構成されていてもよい。   The light source unit 401 is a light source composed of a halogen lamp, a white fluorescent tube, or the like. The projection lens 402 is a lens for irradiating light from the light source unit 401 as parallel rays onto a developed film (hereinafter simply referred to as “film”) 403 on which an image taken by a camera is recorded. The imaging lens 404 is an optical system for forming an image on the film 403 on the image reading sensor 405. Note that the projection lens 402 and the imaging lens 404 may be composed of a plurality of lens groups.

画像読み取りセンサ405は、当該センサ上にR、G、Bの色分解フィルタが装着されており、フィルム403を透過する光をR、G、Bの電気信号に変換する。この結果、フィルム403上の画像情報を電気信号として得ることができる。信号増幅器406は、画像読み取りセンサ405からの信号を増幅する信号増幅器である。A/D変換器407は、信号増幅器406から得られるアナログ信号をデジタル信号に変換する。画像変換部408は、A/D変換器407から得られる画像信号に対してガンマ変換等の階調変換を行う。メモリ409は、画像変換部408から得られた画像信号を記憶する。露出条件判断部410は、プリスキャン時に得られる画像を解析し、走査速度制御部411に与える速度パラメータを決定し、決定した走査速度でファインスキャンを行う。I/O412は、フィルムスキャナと不図示のコンピュータ(以下、「PC」という。)とを接続するためのインターフェースである。   The image reading sensor 405 has R, G, and B color separation filters mounted on the sensor, and converts the light transmitted through the film 403 into R, G, and B electrical signals. As a result, the image information on the film 403 can be obtained as an electrical signal. The signal amplifier 406 is a signal amplifier that amplifies the signal from the image reading sensor 405. The A / D converter 407 converts the analog signal obtained from the signal amplifier 406 into a digital signal. The image conversion unit 408 performs gradation conversion such as gamma conversion on the image signal obtained from the A / D converter 407. The memory 409 stores the image signal obtained from the image conversion unit 408. The exposure condition determination unit 410 analyzes an image obtained at the time of pre-scanning, determines a speed parameter to be given to the scanning speed control unit 411, and performs fine scanning at the determined scanning speed. The I / O 412 is an interface for connecting a film scanner and a computer (not shown) (hereinafter referred to as “PC”).

次に、本発明におけるフィルムスキャナにおける画像読み取り動作について説明する。   Next, an image reading operation in the film scanner according to the present invention will be described.

原稿画像に対するスキャン(画像読み取り)は2度行われ、それぞれがプリスキャン、ファインスキャンと呼ばれる。プリスキャンは、ファインスキャンを行うためのスキャン条件における各種パラメータを決定するものである。   The document image is scanned twice (image reading), which are called pre-scan and fine scan, respectively. The pre-scan determines various parameters in the scan conditions for performing fine scan.

ユーザがフィルム403をフィルムスキャナにセットすると自動的にプリスキャンが行われる。その場合、信号増幅器406は、どのような露光条件で撮影された画像がスキャンされてもオーバーフローを起こさないような増幅率にセットする。プリスキャンは、ファインスキャン時のスキャン条件の決定の他に、フィルムスキャナ上のモニタ(不図示)によるユーザの画像確認に用いられるだけなので低解像度で行われる。   When the user sets the film 403 on the film scanner, pre-scanning is automatically performed. In that case, the signal amplifier 406 is set to an amplification factor that does not cause overflow even if an image photographed under any exposure condition is scanned. The pre-scan is performed at a low resolution because it is only used for user image confirmation by a monitor (not shown) on the film scanner, in addition to determination of the scan condition during fine scan.

画像変換部408では、プリスキャン用のルックアップテーブルがセットされ、プリスキャンが行われる。その結果は、一旦メモリ409へ書き込まれ、露出条件判断部410に送られる。   In the image conversion unit 408, a pre-scan lookup table is set and pre-scan is performed. The result is once written in the memory 409 and sent to the exposure condition determination unit 410.

露出条件判断部410では、それぞれの画像に対して各色毎にヒストグラムを算出し、最高濃度、最低濃度、及び平均濃度等の画像特性を表す特徴量を計算する。それらの特徴量に基づいてファインスキャン時のスキャン条件を決定する。
例えば、画像の最高濃度をDmax、最低濃度Dmin、その差分Dmax-DminをDdif、平均濃度をDave、所定値Da、Db、Dc、Ddとすると、オーバ露光の場合、
Dmax>Da
Dmin>Db
Dave>Dc
Ddif<Dd
の関係が成り立つ。この条件を満たす場合、オーバ露光であると判断し、走査速度制御部に走査速度を遅くするためのパラメータをセットし、ファインスキャンを行う。この結果、ファインスキャンは、通常のスキャンに比べ、遅いスピードでスキャンが行われるので、CCD405が受光する光量が増え、S/N比の高いノイズの少ない画像が得られる。また、「発明が解決しようとしている課題」で図2を用いて説明したようCCDに取り込むことのできる濃度範囲が、通常の場合に比べて、高濃度側にシフトするので、高濃度側をつぶすことなく階調性の良いデータを得ることができる。上記、条件を満たさない画像に対しては、露出オーバな画像ではないと判断し、走査速度制御部411に、通常のスキャン速度のパラメータをセットし、通常のスキャン速度でファインスキャンが行われる。ファインスキャン画像は、メモリ109へ送られ、I/O112を介してPCへ転送される。
The exposure condition determination unit 410 calculates a histogram for each color for each image, and calculates a feature amount representing image characteristics such as the highest density, the lowest density, and the average density. Based on these feature amounts, scanning conditions for fine scanning are determined.
For example, if the maximum density of the image is Dmax, the minimum density Dmin, the difference Dmax-Dmin is Ddif, the average density is Dave, and the predetermined values Da, Db, Dc, Dd,
Dmax> Da
Dmin> Db
Dave> Dc
Ddif <Dd
The relationship holds. When this condition is satisfied, it is determined that overexposure is performed, and a parameter for slowing the scanning speed is set in the scanning speed control unit, and fine scanning is performed. As a result, the fine scan scans at a slower speed than the normal scan, so that the amount of light received by the CCD 405 increases and an image with a high S / N ratio and less noise can be obtained. Also, as described with reference to FIG. 2 in “Problems to be solved by the invention”, the density range that can be taken into the CCD shifts to a higher density side than in the normal case, so the higher density side is crushed. Thus, data with good gradation can be obtained. An image that does not satisfy the above conditions is determined not to be an overexposed image, and a normal scan speed parameter is set in the scan speed control unit 411, and a fine scan is performed at the normal scan speed. The fine scan image is sent to the memory 109 and transferred to the PC via the I / O 112.

(第2の実施の形態)
第1の実施の形態において、オーバ露光の判断条件を簡略化して、以下のようにすることも可能である。
Dave>Dc
Ddif<Dd
または、
Dmax>Da
Dave>Dc
または、
Dmin>Db
Dave>Dc
または、
Dmax>Da
Ddif<Dd
または、
Dmin>Db
Ddif<Dd
(第3の実施の形態)
図5に本実施例のフィルムスキャナの全体構成を示すブロック図を示す。第1の実施の形態と異なるのは、モード選択部513を追加した点である。以下に、上記第1の実施の形態と異なる点のみを説明する。
(Second Embodiment)
In the first embodiment, it is possible to simplify the determination conditions for overexposure as follows.
Dave> Dc
Ddif <Dd
Or
Dmax> Da
Dave> Dc
Or
Dmin> Db
Dave> Dc
Or
Dmax> Da
Ddif <Dd
Or
Dmin> Db
Ddif <Dd
(Third embodiment)
FIG. 5 is a block diagram showing the overall configuration of the film scanner of this embodiment. The difference from the first embodiment is that a mode selection unit 513 is added. Only differences from the first embodiment will be described below.

第1の実施の形態の場合、オーバ露光の駒は、ファインスキャンにおいて、必ず、スキャン速度が遅くなる。また、画質は向上するが、スキャン速度は低下してしまう。しかし、スキャンの目的によっては、画質よりもスキャン速度が優先される場合がある。例えば、そのひとつに「CD−R書き込みサービス」がある。「CD−R書き込みサービス」とは、複数本のフィルムを低解像度でスキャンし、読み取った画像データを丸ごとCD−Rに書き込むサービスである。このため、例えば、36枚撮りのフィルムを5本分書き込む場合、フィルムに記録されているの180枚の画像を一度にスキャンしなければならない。従って、本サービスの場合、画像の階調性の良さよりもスキャン時間の短縮が優先される。   In the case of the first embodiment, the over-exposure frame always has a low scanning speed in fine scanning. In addition, the image quality is improved, but the scanning speed is decreased. However, depending on the purpose of scanning, scanning speed may be prioritized over image quality. For example, one of them is “CD-R writing service”. The “CD-R writing service” is a service that scans a plurality of films at a low resolution and writes the read image data to the CD-R. For this reason, for example, when writing 5 films of 36 shots, 180 images recorded on the film must be scanned at a time. Therefore, in the case of this service, priority is given to shortening the scan time over the good gradation of the image.

本実施の形態は、そういった場合にも対応可能なように、モード選択部513を追加した。具体的には、ユーザは、ファインスキャンを開始する前に、速度優先、もしくは画質優先のいずれかのモードを選択しておく。速度優先が選択されている場合、モード選択部513から露出条件判断部510に対して、判断を無効にする信号を送ることにより、ファインスキャン時にすべての駒に対して、標準の速度でスキャンを行う。また、画質優先のモードが選択されている場合は、露出条件判断部510に対して、判断を有効にする信号を送ることにより、ファインスキャン時に露出オーバな画像に対してのみ、スキャン速度を遅くしてスキャンを行う。この結果、スキャンの目的に応じて、最適なスキャンが行うことができる。   In the present embodiment, a mode selection unit 513 is added so as to cope with such a case. Specifically, the user selects either the speed priority mode or the image quality priority mode before starting the fine scan. When the speed priority is selected, the mode selection unit 513 sends a signal to invalidate the determination to the exposure condition determination unit 510 so that all frames are scanned at a standard speed during the fine scan. Do. When the image quality priority mode is selected, the scan speed is reduced only for an image that is overexposed during fine scan by sending a signal for validating the judgment to the exposure condition judgment unit 510. And scan. As a result, an optimum scan can be performed according to the purpose of the scan.

上記第1〜第3の実施の形態は、説明の簡略化のため、露出オーバかそれ以外の場合として、あらかじめ二つのスキャン速度を用意しているが、露出の状態に応じて、複数のスキャン速度を用意することも可能である。   In the first to third embodiments, for the sake of simplicity of explanation, two scan speeds are prepared in advance as over-exposure or other cases. It is also possible to provide a speed.

上記第1〜第3の実施の形態は、ネガフィルムの場合で、説明を行ったが、ポジフィルムの場合も同様に適用可能である。   Although the said 1st-3rd embodiment demonstrated the case in the case of a negative film, the case of a positive film is applicable similarly.

上記第1〜第3の実施の形態は、R、G、B各色ごとに露出条件を判断して、すべての色が条件を満たした場合に露出オーバであるかを判断しても良いし、3色のうちの1色、もしくは2色を判断のための色として使用することも可能である。または、R,G、Bから輝度信号を求め、輝度信号に対して、露出オーバであるかを判断することも可能である。   In the first to third embodiments, the exposure condition may be determined for each of R, G, and B colors, and it may be determined whether all the colors satisfy the condition, or whether the exposure is overexposed. It is also possible to use one or three of the three colors as a color for determination. Alternatively, a luminance signal can be obtained from R, G, and B, and it can be determined whether the luminance signal is overexposed.

上記第1〜第3の実施の形態は、例えば、コンピュータ、インターフェース機器、及びスキャナ等の複数の機器で構成されるシステムに適用してもよく、また、それらの機能を有する単体の装置に適用してもよい。   The first to third embodiments may be applied to a system including a plurality of devices such as a computer, an interface device, and a scanner, for example, and may be applied to a single device having these functions. May be.

本発明の目的は、上述した第1〜第3の実施の形態の機能を実現するソフトウェアのプログラムを記憶した記憶媒体(又は記録媒体)を、システム又は装置に供給し、そのシステム又は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムを読み出して実行することによっても達成されることは云うまでもない。   An object of the present invention is to supply a storage medium (or recording medium) storing a software program for realizing the functions of the above-described first to third embodiments to a system or apparatus, and a computer of the system or apparatus. Needless to say, this can also be achieved by (or CPU or MPU) reading and executing a program stored in a storage medium.

この場合、記憶媒体から読み出されたプログラム自体が上述した実施の形態の機能を実現することになり、そのプログラムを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは云うまでもない。   In this case, the program itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program constitutes the present invention. Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは云うまでもない。   Further, after the program read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion card is based on the instruction of the program code. Needless to say, the CPU of the function expansion unit or the like performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

上述した実施の形態では、プログラムはメモリ409に格納されているが、これに限定する必要はなく、プログラムを供給する記憶媒体としては、例えば、RAM、NV−RAM、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、MO、CD−ROM、CD−RW、DVD(DVD−ROM、DVD−R)、磁気テープ、不揮発性のメモリカード、他のROM等の上記プログラムを記憶できるものであればよい。   In the above-described embodiment, the program is stored in the memory 409. However, the present invention is not limited to this, and examples of the storage medium for supplying the program include RAM, NV-RAM, floppy (registered trademark) disk, The above programs such as hard disk, optical disk, magneto-optical disk, CD-ROM, MO, CD-ROM, CD-RW, DVD (DVD-ROM, DVD-R), magnetic tape, non-volatile memory card, other ROM, etc. Anything can be stored.

従来の画像入力装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the conventional image input device. 標準的な露出オーバ画像のヒストグラムを示す図である。It is a figure which shows the histogram of a standard overexposure image. 全体的に暗いシーンにおける露出オーバ画像のヒストグラムを示す図である。It is a figure which shows the histogram of the overexposure image in an entirely dark scene. 本発明の第1の実施の形態に係る画像入力装置の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of an image input apparatus according to a first embodiment of the present invention. 本発明の第3の実施の形態に係る画像入力装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the image input device which concerns on the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

401 光源
402 投影レンズ
403 フィルム
404 結像レンズ
405 画像読み取りセンサ
406 信号増幅器
407 A/D変換器
408 画像変換部
409 メモリ
410 露出条件判断部
411 走査速度制御部
412 I/O
401 Light Source 402 Projection Lens 403 Film 404 Imaging Lens 405 Image Reading Sensor 406 Signal Amplifier 407 A / D Converter 408 Image Conversion Unit 409 Memory 410 Exposure Condition Judgment Unit 411 Scan Speed Control Unit 412 I / O

Claims (2)

現像済みのフィルムに光源からの光を照射するために光照射手段、フィルム上の画像をライン状のセンサを用いて読み取る画像読み取り手段、フィルム上の画像全体を画像読み取り手段で読み取るために、フィルムもしくはセンサを移動させる走査手段、フィルムもしくはセンサの走査速度を可変制御できる走査速度制御手段、前記、画像読み取り手段で得られた画像のヒストグラムを求め、ヒストグラムを用いて画像撮影時の露出条件を判断する露出条件判断手段を有し、露出条件の判断結果に基づき、前記、走査速度を変えることを特徴とする画像入力装置および方法。   Light irradiation means for irradiating the developed film with light from a light source, image reading means for reading an image on the film using a line sensor, film for reading the entire image on the film with the image reading means Alternatively, a scanning means for moving the sensor, a scanning speed control means for variably controlling the scanning speed of the film or sensor, a histogram of the image obtained by the image reading means is obtained, and the exposure condition at the time of image shooting is determined using the histogram. An image input apparatus and method comprising: an exposure condition determination unit configured to change the scanning speed based on a determination result of the exposure condition. 現像済みのフィルムに光源からの光を照射するために光照射手段、フィルム上の画像をライン状のセンサを用いて読み取る画像読み取り手段、フィルム上の画像全体を画像読み取り手段で読み取るために、フィルムもしくはセンサを移動させる走査手段、フィルムもしくはセンサの走査速度を可変制御できる走査速度制御手段、前記、画像読み取り手段で得られた画像のヒストグラムを求め、ヒストグラムを用いて画像撮影時の露出条件を判断する露出条件判断手段、速度優先、もしくは画質優先かを選択できるモード選択手段を有し、画質優先が選択された場合、露出条件の判断結果に基づき、前記、走査速度を変えることを特徴とする画像入力装置および方法。
Light irradiation means for irradiating the developed film with light from a light source, image reading means for reading an image on the film using a line sensor, film for reading the entire image on the film with the image reading means Alternatively, a scanning means for moving the sensor, a scanning speed control means for variably controlling the scanning speed of the film or sensor, a histogram of the image obtained by the image reading means is obtained, and the exposure condition at the time of image shooting is determined using the histogram. Exposure condition determination means, mode selection means for selecting speed priority or image quality priority. When image quality priority is selected, the scanning speed is changed based on the determination result of the exposure condition. Image input apparatus and method.
JP2003398671A 2003-11-28 2003-11-28 Image input apparatus and method Withdrawn JP2005159950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003398671A JP2005159950A (en) 2003-11-28 2003-11-28 Image input apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003398671A JP2005159950A (en) 2003-11-28 2003-11-28 Image input apparatus and method

Publications (1)

Publication Number Publication Date
JP2005159950A true JP2005159950A (en) 2005-06-16

Family

ID=34723457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003398671A Withdrawn JP2005159950A (en) 2003-11-28 2003-11-28 Image input apparatus and method

Country Status (1)

Country Link
JP (1) JP2005159950A (en)

Similar Documents

Publication Publication Date Title
US10412296B2 (en) Camera using preview image to select exposure
US7057653B1 (en) Apparatus capable of image capturing
JP3314195B2 (en) Image processing device
JP2008507864A (en) Wide gamut system for video
JP2007329619A (en) Video signal processor, video signal processing method and video signal processing program
US20030179949A1 (en) Method, apparatus and program for image processing
JP2002135648A (en) Imaging unit
JPH1169372A (en) Image lightness control method, digital camera used for the same and image processor
JP2002092607A (en) Image processor, image state determining method and recording medium
JPH11191871A (en) Image processor
JP4043574B2 (en) Digital camera and recording / reproducing method of digital camera
JP2004145287A (en) Red-eye effect compensating method, picture processing method, printing method and printer
JP3964796B2 (en) Red-eye detection and correction method
US6289119B1 (en) Image reading method capable of automatically adjusting image read conditions and image read apparatus adopting the method
JP2000307939A (en) Image pickup device
JP3576809B2 (en) Image processing device
US7535503B2 (en) Image processing apparatus, image processing program, and image processing method for performing edge enhancement processing
JP2000092379A (en) Image pickup device, its exposure controlling method and recording medium
JPH10322592A (en) Method and device for controlling electronic camera
JP2005159950A (en) Image input apparatus and method
JP2001222710A (en) Device and method for image processing
JPH1013680A (en) Image processing method and image processor
JP3823883B2 (en) Image processing apparatus, image processing method, image processing program, recording medium recording image processing program, and photo printing apparatus
JP2000287121A (en) Image signal processor
JP2001245153A (en) Image processing method and apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070206