[go: up one dir, main page]

JP2002369016A - Image reading system and control program for image reading system - Google Patents

Image reading system and control program for image reading system

Info

Publication number
JP2002369016A
JP2002369016A JP2001173147A JP2001173147A JP2002369016A JP 2002369016 A JP2002369016 A JP 2002369016A JP 2001173147 A JP2001173147 A JP 2001173147A JP 2001173147 A JP2001173147 A JP 2001173147A JP 2002369016 A JP2002369016 A JP 2002369016A
Authority
JP
Japan
Prior art keywords
film
frequency distribution
image
transmitted light
characteristic values
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
JP2001173147A
Other languages
Japanese (ja)
Inventor
Morimichi Mizuno
守倫 水野
Tetsuya Mizuno
鉄也 水野
Tsuneo Asaki
庸男 浅木
Shiho Kojima
志保 児島
Hiroyuki Kawashiri
寛之 河尻
Koji Takahata
公司 降籏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Avasys Corp
Original Assignee
Seiko Epson Corp
Avasys Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp, Avasys Corp filed Critical Seiko Epson Corp
Priority to JP2001173147A priority Critical patent/JP2002369016A/en
Publication of JP2002369016A publication Critical patent/JP2002369016A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 フィルムの種別を自動判別しその種別に応じ
た適切な処理を実施する画像読み取りシステムを提供す
る。 【解決手段】 画像読み取りシステムをイメージスキャ
ナとパーソナルコンピュータ(PC)とから構成する。PCは
制御プログラムを実行して、まずイメージスキャナにフ
ィルムの透過光像をカラー走査させてその透過光像の互
いに独立で色ごとに重み付けしたRGB各色の特性値を
表す陰画データを出力させ(S11)、イメージスキャナが
出力した陰画データに基づきRGB各色の特性値につい
てのヒストグラムを度数分布データとして生成し(S1
2)、生成した度数分布データに基づきフィルムの種別を
判別し(S15)、フィルムの種別に応じてイメージスキャ
ナにフィルムの透過光像をカラー走査させて陰画データ
又は透過光像の互いに独立で色ごとに重み付けしていな
いRGB各色の特性値を表す陽画データを出力させる(S
18)。
(57) [Summary] [PROBLEMS] To provide an image reading system that automatically determines the type of a film and performs an appropriate process according to the type. An image reading system includes an image scanner and a personal computer (PC). The PC executes the control program, first causes the image scanner to color-scan the transmitted light image of the film, and outputs negative image data representing the characteristic values of each of the RGB colors which are weighted independently and color by color of the transmitted light image (S11). ), A histogram for the characteristic values of each of the RGB colors is generated as frequency distribution data based on the negative image data output from the image scanner (S1).
2), the type of the film is determined based on the generated frequency distribution data (S15). Output positive image data representing the characteristic value of each color of RGB not weighted for each (S
18).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像読み取りシス
テム及び画像読み取りシステムの制御プログラムに関す
る。
[0001] The present invention relates to an image reading system and a control program for the image reading system.

【0002】[0002]

【従来の技術】従来、原稿に記録された原稿像を読み取
るためのシステムとして、イメージスキャナ等の画像読
み取り部とパーソナルコンピュータ(以下PCとい
う。)等の画像処理部とを備える画像読み取りシステム
が知られている。このような画像読み取りシステムで
は、ポジフィルム、カラーネガフィルム、モノクロネガ
フィルム等の各種フィルムを読み取るに際しそのフィル
ムの種別に応じて異なる処理を実施する。例えばネガフ
ィルムは、3原色光のうちB(Blue)光が最も透過し難
い性質を有することから、ネガフィルムの読み取り時に
は撮像素子の露光時間や撮像素子の出力信号の増幅率を
B光に関し特化する。
2. Description of the Related Art Conventionally, as a system for reading a document image recorded on a document, an image reading system including an image reading unit such as an image scanner and an image processing unit such as a personal computer (hereinafter referred to as a PC) is known. Have been. In such an image reading system, when reading various films such as a positive film, a color negative film, and a monochrome negative film, different processes are performed according to the type of the film. For example, a negative film has the property that B (Blue) light among the three primary color lights is most difficult to transmit. Therefore, when reading a negative film, the exposure time of the image sensor and the amplification factor of the output signal of the image sensor are particularly related to the B light. Become

【0003】したがって、画像読み取りシステムにおい
て読み取るフィルムごとに適切な処理を行うには、フィ
ルムの読み取りに先立ちそのフィルムの種別を特定する
ことが必要不可欠である。そこで従来では、ユーザが画
像処理部に入力した情報に基づきフィルムの種別を判別
している。
Therefore, in order to perform an appropriate process for each film to be read in the image reading system, it is essential to specify the type of the film before reading the film. Therefore, conventionally, the type of the film is determined based on information input by the user to the image processing unit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来に
おけるフィルムの種別の判別手法は人為的処理に大きく
依存するものであることから、ユーザがフィルム種別を
誤って入力するとそのフィルムに記録された像を適正に
読み取ることができなくなる。こういったユーザの意に
反する事態の発生は画像読み取りシステムに対する信頼
性の低下につながるため好ましくない。
However, since the conventional method of discriminating the type of film largely depends on artificial processing, if a user inputs the film type incorrectly, the image recorded on the film is deleted. Reading cannot be performed properly. The occurrence of such a situation contrary to the user's intention is not preferable because it leads to a decrease in the reliability of the image reading system.

【0005】本発明は、かかる問題に鑑みて創作された
ものであって、その目的は、フィルムの種別を自動判別
しその種別に応じた適切な処理を実施する画像読み取り
システムを提供することにある。また、本発明の他の目
的は、コンピュータに読み取るフィルムの種別を自動判
別させてその種別に応じた適切な処理を実施させる画像
読み取りシステムの制御プログラムを提供することにあ
る。
[0005] The present invention has been made in view of the above problems, and has as its object to provide an image reading system that automatically discriminates the type of a film and performs appropriate processing according to the type. is there. It is another object of the present invention to provide a control program for an image reading system that allows a computer to automatically determine the type of a film to be read and execute an appropriate process according to the type.

【0006】[0006]

【課題を解決するための手段】請求項1に係る発明によ
ると、撮像手段は、光電変換によりフィルムの透過光像
をカラー走査し前記透過光像の互いに独立で色ごとに重
み付けした3色の特性値を表す陰画データ又は前記透過
光像の互いに独立で色ごとに重み付けしていない3色の
特性値を表す陽画データを出力し、第一処理手段は、前
記陰画データを前記撮像手段に出力させその出力された
陰画データに基づき前記特性値の度数分布を表す度数分
布データを出力し、第二処理手段は、前記度数分布デー
タに基づき前記フィルムの種別を判別し、第三処理手段
は、前記フィルムの種別に応じて前記陰画データ又は前
記陽画データを前記撮像手段に出力させる。
According to the first aspect of the present invention, the imaging means performs color scanning of the transmitted light image of the film by photoelectric conversion, and independently weights the three colors of the transmitted light image for each color. Negative image data representing characteristic values or positive image data representing characteristic values of three colors of the transmitted light image that are independent of each other and are not weighted for each color are output, and the first processing unit outputs the negative image data to the imaging unit. The frequency distribution data representing the frequency distribution of the characteristic value is output based on the output negative image data, the second processing means determines the type of the film based on the frequency distribution data, and the third processing means The negative image data or the positive image data is output to the imaging means according to the type of the film.

【0007】請求項1に係る発明によると、第一処理手
段が陰画データに基づいて出力する度数分布データはフ
ィルムの種別ごとにそれぞれ特有の度数分布を表すの
で、第二処理手段はそのような度数分布データに基づき
フィルムの種別を正確に判別できる。また、請求項1に
係る発明によると、第三処理手段は陰画データと陽画デ
ータとのうち第二処理手段で判別したフィルムの種別に
適するものを撮像手段に出力させる。したがって、請求
項1に係る発明によれば、フィルムの種別を自動判別し
その種別に応じた適切な処理を実施する画像読み取りシ
ステムを提供することができる。尚、特許請求の範囲に
記載の「色の特性値」は例えば色刺激値の性質を表す3
原色の刺激値であり、また、「フィルムの種別」には例
えばポジフィルム、カラーネガフィルム、モノクロネガ
フィルム等がある。
According to the first aspect of the present invention, the frequency distribution data output by the first processing means based on the negative data represents a unique frequency distribution for each film type. The type of film can be accurately determined based on the frequency distribution data. Further, according to the first aspect of the invention, the third processing means causes the imaging means to output one of the negative image data and the positive image data suitable for the type of film determined by the second processing means. Therefore, according to the first aspect of the present invention, it is possible to provide an image reading system that automatically determines the type of a film and performs an appropriate process according to the type. The “color characteristic value” described in the claims is, for example, 3 representing the property of the color stimulus value.
The stimulus value of the primary color, and the “film type” includes, for example, a positive film, a color negative film, and a monochrome negative film.

【0008】請求項2に係る発明によると、前記第二処
理手段が前記透過光像の重み付けした色の特性値の度数
分布の偏りの程度に応じて前記フィルムの種別を判別す
ることで、ポジフィルムを正確に判別できる。尚、特許
請求の範囲に記載の「度数分布の偏り」は例えば各度数
分布における所定区間の累積度数、中央値、最頻値、平
均値、所定の分布範囲における中央の階級値等を用いて
規定することができる。
According to the second aspect of the present invention, the second processing means determines the type of the film in accordance with the degree of deviation of the frequency distribution of the characteristic values of the weighted colors of the transmitted light image, whereby the positive type is determined. Film can be accurately identified. Incidentally, the "bias of the frequency distribution" described in the claims is, for example, using the cumulative frequency of a predetermined section in each frequency distribution, a median value, a mode, an average value, a central class value in a predetermined distribution range, and the like. Can be specified.

【0009】請求項3に係る発明によると、前記互いに
独立な3色はR(赤)、G(緑)及びB(青)で構成さ
れ、前記第二処理手段は、前記透過光像についてRの特
性値の度数分布がBの特性値の度数分布より大きな値に
偏っているとき前記フィルムがカラーネガフィルムであ
ると判別し、Bの特性値の度数分布がRの特性値の度数
分布より大きな値に偏っているとき前記フィルムがモノ
クロネガフィルムであると判別する。したがって、請求
項3に係る発明によれば、Bの特性値の度数分布とRの
特性値の度数分布との相対的な偏り具合に着目すること
で、フィルムがカラーネガフィルムであるかモノクロネ
ガフィルムであるかを正確に判別できる。
According to the third aspect of the present invention, the three independent colors are composed of R (red), G (green) and B (blue), and the second processing means performs R (R) for the transmitted light image. When the frequency distribution of the characteristic value of B is biased to a value larger than the frequency distribution of the characteristic value of B, the film is determined to be a color negative film, and the frequency distribution of the characteristic value of B is larger than the frequency distribution of the characteristic value of R. When the value is biased, it is determined that the film is a monochrome negative film. Therefore, according to the third aspect of the invention, the film is a color negative film or a monochrome negative film by focusing on the relative bias between the frequency distribution of the characteristic value of B and the frequency distribution of the characteristic value of R. Can be accurately determined.

【0010】請求項4に係る発明によると、撮像手段
は、光電変換によりフィルムの透過光像をカラー走査し
前記透過光像の色ごとに重み付けしたR(赤)、G
(緑)及びB(青)の特性値を表す陰画データ又は前記
透過光像の色ごとに重み付けしていないR、G及びBの
特性値を表す陽画データを出力し、第一処理手段は、前
記陽画データを前記撮像手段に出力させその出力された
陽画データに基づきR、G及びBの特性値の度数分布を
表す度数分布データを出力し、第二処理手段は、前記度
数分布データに基づき前記フィルムの種別を判別し、第
三処理手段は、前記フィルムの種別に応じて前記陰画デ
ータ又は前記陽画データを前記撮像手段に出力させる。
According to the fourth aspect of the present invention, the image pickup means performs color scanning of the transmitted light image of the film by photoelectric conversion, and weights R (red) and G weighted for each color of the transmitted light image.
Negative image data representing characteristic values of (green) and B (blue) or positive image data representing characteristic values of R, G, and B not weighted for each color of the transmitted light image; The positive image data is output to the imaging unit, and based on the output positive image data, frequency distribution data representing a frequency distribution of R, G, and B characteristic values is output, and the second processing unit is configured to output the frequency distribution data based on the frequency distribution data. The type of the film is determined, and the third processing unit causes the imaging unit to output the negative image data or the positive image data according to the type of the film.

【0011】請求項4に係る発明によると、第一処理手
段が陽画データに基づいて出力する度数分布データはフ
ィルムの種別ごとにそれぞれ特有の度数分布を表すの
で、第二処理手段はそのような度数分布データに基づき
フィルムの種別を正確に判別できる。また、請求項4に
係る発明によると、第三処理手段は陰画データと陽画デ
ータとのうち第二処理手段で判別したフィルムの種別に
適するものを撮像手段に出力させる。したがって、請求
項4に係る発明によれば、前記請求項1〜3のいずれか
一項に係る発明とは異なる構成により、フィルムの種別
を自動判別しその種別に応じた適切な処理を実施する画
像読み取りシステムを提供することができる。
According to the fourth aspect of the present invention, the frequency distribution data output from the first processing means based on the positive image data represents a unique frequency distribution for each film type. The type of film can be accurately determined based on the frequency distribution data. Further, according to the invention according to claim 4, the third processing means causes the imaging means to output one of the negative image data and the positive image data suitable for the type of film determined by the second processing means. Therefore, according to the invention according to claim 4, the type of the film is automatically determined by a configuration different from the invention according to any one of claims 1 to 3, and an appropriate process is performed according to the type. An image reading system can be provided.

【0012】請求項5に係る発明によると、前記第二処
理手段が前記透過光像についてBの特性値の度数分布と
Rの特性値の度数分布との相関の程度に応じてフィルム
の種別を判別することで、ポジフィルムを正確に判別で
きる。請求項6に係る発明によると、前記第二処理手段
がさらに前記透過光像についてBの特性値の度数分布に
対するRの特性値の度数分布の偏りの程度に応じて前記
フィルムの種別を判別することで、フィルムがポジフィ
ルムであるかカラーネガフィルムであるかを正確に判別
できる。
According to the fifth aspect of the invention, the second processing means sets the type of the film according to the degree of correlation between the frequency distribution of the characteristic value of B and the frequency distribution of the characteristic value of R for the transmitted light image. By making the determination, the positive film can be accurately determined. According to the invention according to claim 6, the second processing means further determines the type of the film according to the degree of deviation of the frequency distribution of the characteristic value of R with respect to the frequency distribution of the characteristic value of B for the transmitted light image. This makes it possible to accurately determine whether the film is a positive film or a color negative film.

【0013】請求項7に係る発明によると、前記第二処
理手段はさらに前記透過光像についてBの特性値の度数
分布に対するRの特性値の度数分布の偏りの程度に応じ
て前記フィルムがポジフィルム又はネガフィルムである
と判別する。そして、前記第二処理手段は前記フィルム
がネガフィルムであると判別したときにはさらに、前記
透過光像についてGの特性値の度数分布とBの特性値の
度数分布との相関の程度に応じて前記ネガフィルムがカ
ラーネガフィルム又はモノクロネガフィルムであると判
別する。したがって、請求項7に係る発明によれば、B
の特性値の度数分布とRの特性値の度数分布との相対的
な偏り具合に着目することでポジフィルムを正確に判別
でき、さらにGの特性値の度数分布とBの特性値の度数
分布との相関の程度に着目することで、フィルムがカラ
ーネガフィルムであるかモノクロネガフィルムであるか
を正確に判別できる。
According to the seventh aspect of the present invention, the second processing means further controls the film to be positive according to the degree of deviation of the frequency distribution of the characteristic value of R from the frequency distribution of the characteristic value of B in the transmitted light image. It is determined that the film is a film or a negative film. Then, when the second processing means determines that the film is a negative film, the second processing means further determines the transmission light image according to the degree of correlation between the frequency distribution of the characteristic values of G and the frequency distribution of the characteristic values of B with respect to the transmitted light image. It is determined that the negative film is a color negative film or a monochrome negative film. Therefore, according to the invention of claim 7, B
By paying attention to the relative deviation between the frequency distribution of the characteristic value of R and the frequency distribution of the characteristic value of R, it is possible to accurately determine the positive film, and further, the frequency distribution of the characteristic value of G and the frequency distribution of the characteristic value of B By paying attention to the degree of correlation with, it is possible to accurately determine whether the film is a color negative film or a monochrome negative film.

【0014】請求項8に係る発明によると、光電変換に
より光学像を走査する画像読み取りシステムの撮像手段
を制御するコンピュータに、第一走査制御手順において
前記撮像手段にフィルムの透過光像をカラー走査させ前
記透過光像の互いに独立で色ごとに重み付けした3色の
特性値を表す陰画データを出力させ、第一処理手順にお
いて、前記撮像手段が出力した陰画データに基づき前記
3色の特性値の度数分布を表す度数分布データを出力さ
せ、第二処理手順において前記度数分布データに基づき
前記フィルムの種別を判別させ、第二走査制御手順にお
いて前記フィルムの種別に応じて前記撮像手段にフィル
ムの透過光像をカラー走査させ前記陰画データ又は前記
透過光像の互いに独立で色ごとに重み付けしていない3
色の特性値を表す陽画データを出力させる。
According to an eighth aspect of the present invention, in the first scanning control procedure, the computer for controlling the image pickup means of the image reading system for scanning an optical image by photoelectric conversion performs color scanning of the transmitted light image of the film on the image pickup means. Then, negative image data representing characteristic values of three colors weighted independently for each color of the transmitted light image is output, and in the first processing procedure, the characteristic values of the three colors are calculated based on the negative image data output by the imaging unit. A frequency distribution data representing a frequency distribution is output, a type of the film is determined based on the frequency distribution data in a second processing procedure, and a transmission of the film to the imaging unit is performed according to the type of the film in a second scanning control procedure. The light image is scanned in color and the negative image data or the transmitted light image is independent of each other and is not weighted for each color.
Outputs positive image data representing color characteristic values.

【0015】請求項8に係る発明によると、陰画データ
に基づいてコンピュータに出力させる度数分布データは
フィルムの種別ごとにそれぞれ特有の度数分布を表すの
で、コンピュータはそのような度数分布データに基づき
フィルムの種別を正確に判別することができる。また、
請求項8に係る発明によると、コンピュータにより陰画
データと陽画データとのうち第二処理手順で判別したフ
ィルムの種別に適するものを撮像手段に出力させる。し
たがって、請求項8に係る発明によれば、コンピュータ
に読み取るフィルムの種別を自動判別させてその種別に
応じた適切な処理を実施させる画像読み取りシステムの
制御プログラムを提供することができる。請求項9に係
る発明によると、前記第二処理手順において前記コンピ
ュータに、前記透過光像の重み付けした色の特性値の度
数分布の偏りの程度に応じて前記フィルムがポジフィル
ムであると判別させる。したがって、請求項9に係る発
明によれば、前記請求項2に係る発明と同様な原理によ
り、ポジフィルムを正確に判別できる。
According to the present invention, the frequency distribution data output to the computer based on the negative image data represents a frequency distribution unique to each film type. Can be accurately determined. Also,
According to the invention of claim 8, the computer causes the image pickup means to output one of the negative image data and the positive image data suitable for the film type determined in the second processing procedure. Therefore, according to the invention according to claim 8, it is possible to provide a control program for an image reading system that causes a computer to automatically determine the type of a film to be read and execute an appropriate process according to the type. According to the ninth aspect of the present invention, in the second processing procedure, the computer is caused to determine that the film is a positive film in accordance with the degree of deviation of the frequency distribution of the weighted color characteristic values of the transmitted light image. . Therefore, according to the ninth aspect of the present invention, the positive film can be accurately determined based on the same principle as that of the second aspect of the present invention.

【0016】請求項10に係る発明によると、前記互い
に独立な3色はR(赤)、G(緑)及びB(青)で構成
され、前記第二処理手順において前記コンピュータに、
前記透過光像についてRの特性値の度数分布がBの特性
値の度数分布より大きな値に偏っているとき前記フィル
ムがカラーネガフィルムであると判別させ、Bの特性値
の度数分布がRの特性値の度数分布より大きな値に偏っ
ているとき前記フィルムがモノクロネガフィルムである
と判別させる。したがって、請求項10に係る発明によ
れば、前記請求項3に係る発明と同様な原理により、フ
ィルムがカラーネガフィルムであるかモノクロネガフィ
ルムであるかを正確に判別できる。
According to the tenth aspect, the three independent colors are composed of R (red), G (green), and B (blue).
When the frequency distribution of the characteristic value of R for the transmitted light image is biased to a value larger than the frequency distribution of the characteristic value of B, the film is determined to be a color negative film, and the frequency distribution of the characteristic value of B is the characteristic of R. When the value is biased to a value larger than the frequency distribution of the value, the film is determined to be a monochrome negative film. Therefore, according to the tenth aspect, it is possible to accurately determine whether the film is a color negative film or a monochrome negative film by the same principle as the third aspect.

【0017】請求項11に係る発明によると、光電変換
により光学像を走査する画像読み取りシステムの撮像手
段を制御するコンピュータに、第一走査制御手順におい
て前記撮像手段にフィルムの透過光像をカラー走査させ
前記透過光像の色ごとに重み付けしていないR(赤)、
G(緑)及びB(青)の特性値を表す陽画データを出力
させ、第一処理手順において、前記撮像手段が出力した
陽画データに基づきR、G及びBの特性値の度数分布を
表す度数分布データを出力させ、第二処理手順において
前記度数分布データに基づき前記フィルムの種別を判別
させ、第二走査制御手順において前記フィルムの種別に
応じて前記撮像手段にフィルムの透過光像をカラー走査
させ前記陽画データ又は前記透過光像の色ごとに重み付
けしたR、G及びBの特性値を表す陰画データを出力さ
せる。
According to the eleventh aspect of the present invention, a computer for controlling an image pickup means of an image reading system for scanning an optical image by photoelectric conversion, in the first scanning control procedure, scans the transmitted light image of the film with the image pickup means by color scanning. R (red) not weighted for each color of the transmitted light image,
Positive data representing the characteristic values of G (green) and B (blue) are output, and in the first processing procedure, frequencies representing the frequency distribution of the characteristic values of R, G and B based on the positive data output by the imaging means Output the distribution data, determine the type of the film based on the frequency distribution data in the second processing procedure, and color-scan the transmitted light image of the film by the imaging unit according to the type of the film in the second scanning control procedure. Then, the positive image data or the negative image data representing the characteristic values of R, G and B weighted for each color of the transmitted light image are output.

【0018】請求項11に係る発明によると、陽画デー
タに基づいてコンピュータに出力させる度数分布データ
はフィルムの種別ごとにそれぞれ特有の度数分布を表す
ので、コンピュータはそのような度数分布データに基づ
きフィルムの種別を正確に判別することができる。ま
た、請求項11に係る発明によると、コンピュータによ
り陽画データと陰画データとのうち第二処理手順で判別
したフィルムの種別に適するものを撮像手段に出力させ
る。したがって、請求項11に係る発明によれば、前記
請求項8〜10のいずれか一項に係る発明とは異なる構
成により、コンピュータに読み取るフィルムの種別を自
動判別させてその種別に応じた適切な処理を実施させる
画像読み取りシステムの制御プログラムを提供すること
ができる。
According to the eleventh aspect of the present invention, the frequency distribution data output to the computer based on the positive image data represents a unique frequency distribution for each type of film. Can be accurately determined. According to the eleventh aspect of the present invention, the computer causes the image pickup means to output one of the positive image data and the negative image data suitable for the film type determined in the second processing procedure. Therefore, according to the eleventh aspect of the present invention, the computer automatically determines the type of the film to be read by a configuration different from that of the invention according to any one of the eighth to tenth aspects, and an appropriate type corresponding to the type is read. It is possible to provide a control program of the image reading system that executes the processing.

【0019】請求項12に係る発明によると、前記第二
処理手順において前記コンピュータに、前記透過光像に
ついてBの特性値の度数分布とRの特性値の度数分布と
の相関の程度に応じて前記フィルムがポジフィルムであ
ると判別させる。したがって、請求項12に係る発明に
よれば、前記請求項5に係る発明と同様な原理により、
ポジフィルムを正確に判別できる。
According to the twelfth aspect of the present invention, in the second processing procedure, the computer is provided to the computer in accordance with the degree of correlation between the frequency distribution of the characteristic value of B and the frequency distribution of the characteristic value of R for the transmitted light image. The film is determined to be a positive film. Therefore, according to the invention of claim 12, according to the same principle as the invention of claim 5,
Positive film can be accurately identified.

【0020】請求項13に係る発明によると、前記第二
処理手順において前記コンピュータに、さらに前記透過
光像についてBの特性値の度数分布に対するRの特性値
の度数分布の偏りの程度に応じて前記フィルムがポジフ
ィルム又はカラーネガフィルムであると判別させる。し
たがって、請求項13に係る発明によれば、前記請求項
6に係る発明と同様な原理により、フィルムがポジフィ
ルムであるかカラーネガフィルムであるかを正確に判別
できる。
According to a thirteenth aspect of the present invention, in the second processing procedure, the computer further controls the computer in accordance with the degree of deviation of the frequency distribution of the R characteristic value with respect to the frequency distribution of the B characteristic value for the transmitted light image. The film is determined to be a positive film or a color negative film. Therefore, according to the thirteenth aspect, it is possible to accurately determine whether the film is a positive film or a color negative film by the same principle as that of the sixth aspect.

【0021】請求項14に係る発明によると、前記第二
処理手順において前記コンピュータに、さらに前記透過
光像についてBの特性値の度数分布に対するRの特性値
の度数分布の偏りの程度に応じて前記フィルムがポジフ
ィルム又はネガフィルムであると判別させる。そして、
前記第二処理手順では前記フィルムがネガフィルムであ
ると前記コンピュータが判別したときにはさらに、前記
透過光像についてGの特性値の度数分布とBの特性値の
度数分布との相関の程度に応じて前記ネガフィルムがカ
ラーネガフィルム又はモノクロネガフィルムであると前
記コンピュータに判別させる。したがって、請求項14
に係る発明によれば、前記請求項7に係る発明と同様な
原理により、フィルムがポジフィルム、カラーネガフィ
ルム及びモノクロネガフィルムのうちいずれの種別であ
るかを正確に判別できる。
According to a fourteenth aspect of the present invention, in the second processing procedure, the computer further controls the computer in accordance with the degree of deviation of the frequency distribution of the characteristic value of R with respect to the frequency distribution of the characteristic value of B for the transmitted light image. The film is determined to be a positive film or a negative film. And
In the second processing procedure, when the computer determines that the film is a negative film, the computer further determines, in accordance with the degree of correlation between the frequency distribution of the characteristic values of G and the frequency distribution of the characteristic values of B with respect to the transmitted light image. The computer determines that the negative film is a color negative film or a monochrome negative film. Therefore, claim 14
According to the present invention, it is possible to accurately determine whether the film is a positive film, a color negative film, or a monochrome negative film, based on the same principle as that of the seventh aspect.

【0022】請求項15に係る発明によると、請求項8
〜14のいずれか一項に記載の画像読み取りシステムの
制御プログラムを記録している。したがって、請求項1
5に係る発明によれば、前記請求項8〜14のいずれか
一項に係る発明と同様の効果を得ることができる。
According to the fifteenth aspect, the eighth aspect is provided.
15. A control program for the image reading system according to any one of the above-described items. Therefore, claim 1
According to the fifth aspect, the same effects as those of the invention according to any one of the eighth to fourteenth aspects can be obtained.

【0023】[0023]

【発明の実施の形態】以下、本発明の実施の形態を示す
一実施例を図面に基づいて説明する。図2は、本発明の
一実施例による画像読み取りシステム10を示してい
る。画像読み取りシステム10は、イメージスキャナ1
1とPC150とから構成されている。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 2 shows an image reading system 10 according to one embodiment of the present invention. The image reading system 10 includes the image scanner 1
1 and the PC 150.

【0024】イメージスキャナ11は、図3に示すよう
に概して箱形を呈する筐体12の上面に原稿台14を備
えた所謂フラットベッド型である。イメージスキャナ1
1は、撮像素子20と、撮像素子20に原稿像を結像さ
せる光学系30と、撮像素子20の出力信号を処理する
処理部100と、撮像素子20を駆動する駆動部40
と、制御部110とを備えている。
As shown in FIG. 3, the image scanner 11 is of a so-called flat bed type having a document table 14 on an upper surface of a housing 12 having a generally box shape. Image scanner 1
Reference numeral 1 denotes an image sensor 20, an optical system 30 that forms a document image on the image sensor 20, a processing unit 100 that processes an output signal of the image sensor 20, and a driving unit 40 that drives the image sensor 20.
And a control unit 110.

【0025】原稿台14はガラス板等の透明板で形成さ
れ、その盤面15上にポジフィルム,カラーネガフィル
ム,モノクロネガフィルム等の各種のフィルム、あるい
は印刷用紙,印画紙等の反射原稿が載置される。フィル
ムはフィルムホルダ17により原稿台14の盤面15上
に位置決めされる。フィルムホルダ17としては、例え
ば図3及び図4に示すように概して矩形平板形状を呈し
その厚さ方向で貫通するフィルム窓60及び透過原稿用
白基準窓62を有するものを使用する。フィルムホルダ
17は、その裏面18を下に向けた状態で原稿台14の
盤面15上に原稿ガイド16に沿って位置決めされる。
反射原稿は原稿ガイド16により原稿台14の盤面15
上に位置決めされる。原稿台14の縁部には、高反射率
均一反射面を有する反射原稿用白基準28が設けられて
いる。
The platen 14 is formed of a transparent plate such as a glass plate, and various kinds of films such as a positive film, a color negative film and a monochrome negative film, or reflection originals such as printing paper and photographic paper are placed on a board surface 15 thereof. Is done. The film is positioned on the board surface 15 of the document table 14 by the film holder 17. As the film holder 17, for example, as shown in FIGS. 3 and 4, one having a generally rectangular flat plate shape and having a film window 60 penetrating in a thickness direction thereof and a transparent reference white window 62 is used. The film holder 17 is positioned along the document guide 16 on the board surface 15 of the document table 14 with its back surface 18 facing downward.
The reflection document is moved by the document guide 16 to the surface 15 of the platen 14.
Is positioned on top. A white reference 28 for a reflective document having a high reflectance uniform reflection surface is provided at an edge of the document table 14.

【0026】撮像素子20にはリニアセンサを用いる
が、密着型2次元センサを用いても良い。リニアセンサ
20は、複数の光電変換素子が後述のキャリッジ24の
移動方向軸に対して垂直にかつ原稿台14の盤面15に
平行にほぼ直線状に並ぶ姿勢でキャリッジ24に搭載さ
れている。光電変換素子としてはフォトダイオード等が
使用される。リニアセンサ20の光電変換素子の配列方
向が主走査方向であり、キャリッジ24の移動方向(図
3おいてa方向)が副走査方向である。リニアセンサ2
0としては、可視光、赤外光、紫外光等、所定の波長領
域の光を光電変換して得られる電荷を一定時間蓄積し、
受光量に応じた電気信号をCCD、MOSトランジスタ
スイッチ等を用いて出力するものが使用される。本実施
例ではリニアセンサ20としてレンズ縮小形リニアイメ
ージセンサを用いるが、密着型リニアイメージセンサを
用いても良い。
Although a linear sensor is used for the image sensor 20, a contact type two-dimensional sensor may be used. The linear sensor 20 is mounted on the carriage 24 in such a manner that a plurality of photoelectric conversion elements are arranged substantially linearly in a direction perpendicular to a movement direction axis of the carriage 24 described later and parallel to the board surface 15 of the document table 14. A photodiode or the like is used as the photoelectric conversion element. The arrangement direction of the photoelectric conversion elements of the linear sensor 20 is the main scanning direction, and the moving direction of the carriage 24 (direction a in FIG. 3) is the sub-scanning direction. Linear sensor 2
As 0, visible light, infrared light, ultraviolet light, and the like, the electric charge obtained by photoelectrically converting light in a predetermined wavelength region is accumulated for a certain period of time,
A device that outputs an electric signal corresponding to the amount of received light using a CCD, a MOS transistor switch, or the like is used. In this embodiment, a lens-reduced linear image sensor is used as the linear sensor 20, but a contact-type linear image sensor may be used.

【0027】カラー出力方式についてはオンチップ方式
を採用し、受光部にカラーフィルタアレイをオンチップ
で形成した3ライン又は6ラインのリニアセンサ20を
使用している。リニアセンサ20はそのカラーフィルタ
アレイの配列状態に応じた電気信号を出力する。カラー
フィルタアレイとしてはラインごとにR(Red)、G(G
reen)、B(Blue)のいずれかの原色フィルタを使用す
る。尚、カラー出力方式についてダイクロイックミラー
方式、光源切り換え方式、フィルタ切り換え方式のいず
れを採用しても良い。また、C(Cyan)、M(Magent
a)及びY(Yellow)3色の補色フィルタでカラーフィ
ルタアレイを構成しても良いし、1ラインに複数色のフ
ィルタを配列しても良い。
The color output system employs an on-chip system, and uses a three-line or six-line linear sensor 20 in which a color filter array is formed on-chip in a light receiving portion. The linear sensor 20 outputs an electric signal according to the arrangement state of the color filter array. As a color filter array, R (Red), G (G
reen) or B (Blue). The color output method may be any of a dichroic mirror method, a light source switching method, and a filter switching method. Also, C (Cyan), M (Magent
The color filter array may be composed of a) and three color filters of Y (Yellow), or a plurality of color filters may be arranged in one line.

【0028】ここで、リニアセンサ(CCDリニアイメ
ージセンサ)20について詳しく説明する。リニアセン
サ20は光電変換素子、シフトゲート、アナログシフト
レジスタ及び電荷電圧変換部を有し、以下のように作動
する。 (1)各光電変換素子で光が受光されると、光電変換に
より電荷が各光電変換素子に蓄積される。 (2)後述する主走査駆動部102によりシフトパルス
がシフトゲートに入力されることによって、光電変換素
子に蓄積された電荷がアナログシフトレジスタに転送さ
れる。この電荷の転送は全光電変換素子について一斉に
行われる。光電変換素子に電荷を蓄積する時間、すなわ
ち露光時間はシフトパルスのパルス間隔の変更又は電子
シャッタにより変更することができる。 (3)主走査駆動部102によるアナログシフトレジス
タへの転送パルスの入力に基づき、アナログシフトレジ
スタに転送された電荷が電荷電圧変換部に転送される。 (4)電荷電圧変換部に転送された電荷が電圧信号に変
換される。
Here, the linear sensor (CCD linear image sensor) 20 will be described in detail. The linear sensor 20 has a photoelectric conversion element, a shift gate, an analog shift register, and a charge-voltage converter, and operates as follows. (1) When light is received by each photoelectric conversion element, electric charges are accumulated in each photoelectric conversion element by photoelectric conversion. (2) The charge accumulated in the photoelectric conversion element is transferred to the analog shift register when the shift pulse is input to the shift gate by the main scanning drive unit 102 described later. This charge transfer is performed simultaneously for all the photoelectric conversion elements. The time for accumulating charges in the photoelectric conversion element, that is, the exposure time can be changed by changing the pulse interval of the shift pulse or by using the electronic shutter. (3) Based on the input of the transfer pulse to the analog shift register by the main scanning drive unit 102, the charges transferred to the analog shift register are transferred to the charge-voltage conversion unit. (4) The charge transferred to the charge-voltage converter is converted into a voltage signal.

【0029】撮像素子20に原稿像を結像させる光学系
30は、透過原稿用光源38、反射原稿用光源22、ミ
ラー34、集光レンズ36等で構成されている。
An optical system 30 for forming a document image on the image pickup device 20 includes a light source 38 for a transmission document, a light source 22 for a reflection document, a mirror 34, a condenser lens 36 and the like.

【0030】筐体12には、透過原稿用光源38を有す
る透過原稿ユニット37が着脱可能に設けられている。
この透過原稿用光源ユニット37はフィルムの読み取り
時には筐体12に装着され、反射原稿の読取り時には取
り外される。本実施例における透過原稿用光源38は、
蛍光管ランプ等の管照明39と拡散板50と反射部材5
2とから構成される面光源である。管照明39の照射光
は直接にあるいは反射部材52で反射されて拡散板50
に入射し、さらにその拡散板50で拡散されて原稿台1
4の盤面15上の照射領域にほぼ面均一に照射される。
図3に破線で示すように、透過原稿用光源38に照射さ
れた原稿台14上のフィルムの透過光像はミラー34及
び集光レンズ36等の光学系30によりリニアセンサ2
0に結像される。透過原稿用光源38としては、管照明
39が主走査線と共に副走査方向に移動するものを用い
ても良い。
In the housing 12, a transparent original unit 37 having a transparent original light source 38 is provided detachably.
The transparent original light source unit 37 is mounted on the housing 12 when reading a film, and is removed when reading a reflective original. In this embodiment, the light source 38 for the transparent original is
Tube illumination 39 such as a fluorescent tube lamp, diffuser plate 50 and reflecting member 5
2 is a surface light source. The illumination light of the tube illumination 39 is reflected directly or by the reflection member 52 and the diffusion plate 50
And is further diffused by the diffusion plate 50 and
The irradiation area on the board surface 15 of No. 4 is almost uniformly irradiated.
As shown by the broken line in FIG. 3, the transmitted light image of the film on the document table 14 illuminated by the transparent document light source 38 is converted into a linear sensor 2 by an optical system 30 such as a mirror 34 and a condenser lens 36.
It is imaged at 0. As the light source 38 for the transparent original, a light source in which the tube illumination 39 moves in the sub-scanning direction together with the main scanning line may be used.

【0031】リニアセンサ20を駆動する駆動部40
は、主に電子的に作動する主走査駆動部102と、主に
機械的に作動する副走査駆動部26とから構成される。
主走査駆動部102は、リニアセンサ20を駆動するた
めに必要なシフトパルス、転送パルス等の駆動パルスを
生成し、リニアセンサ20に出力する電子回路である。
この主走査駆動部102は、例えば同期信号発生器、駆
動用タイミングジェネレータ等から構成される。主走査
線を副走査方向に移動させる副走査駆動部26は、キャ
リッジ24、キャリッジ24に係止されたベルト、この
ベルトを回転させる例えば制御の容易なステッピングモ
ータ等を備える。キャリッジ24は、シャフト等にスラ
イド自在に係止し、原稿台14の盤面15に対し平行な
方向に往復移動自在に設ける。キャリッジ24は例えば
ベルト駆動によりリニアセンサ20を原稿台14の盤面
15に対して平行に運搬する。
A drive unit 40 for driving the linear sensor 20
Is composed of a main scanning drive unit 102 mainly operating electronically and a sub-scanning driving unit 26 mainly operating mechanically.
The main scanning drive unit 102 is an electronic circuit that generates drive pulses such as shift pulses and transfer pulses necessary for driving the linear sensor 20, and outputs the generated drive pulses to the linear sensor 20.
The main scanning drive unit 102 includes, for example, a synchronization signal generator, a drive timing generator, and the like. The sub-scanning drive unit 26 that moves the main scanning line in the sub-scanning direction includes a carriage 24, a belt locked to the carriage 24, and a stepping motor that rotates the belt, for example, is easily controlled. The carriage 24 is slidably engaged with a shaft or the like, and is provided so as to be reciprocally movable in a direction parallel to the board surface 15 of the document table 14. The carriage 24 conveys the linear sensor 20 in parallel with the board surface 15 of the document table 14 by, for example, belt driving.

【0032】図2に示すように、処理部100は、アナ
ログ信号処理回路104、A/D変換器106、ディジ
タル信号処理部108から構成されている。本実施例で
は、処理部100のうちアナログ信号処理回路104及
びA/D変換器106が主走査駆動部102と共にキャ
リッジ24に搭載され、ディジタル信号処理部108が
制御部110と共に筐体12に固定されている。キャリ
ッジ24に搭載された回路と筐体12に固定された回路
とは図示しないフレキシブルフラットケーブルにより接
続されている。
As shown in FIG. 2, the processing section 100 includes an analog signal processing circuit 104, an A / D converter 106, and a digital signal processing section 108. In this embodiment, the analog signal processing circuit 104 and the A / D converter 106 of the processing unit 100 are mounted on the carriage 24 together with the main scanning drive unit 102, and the digital signal processing unit 108 is fixed on the housing 12 together with the control unit 110. Have been. The circuit mounted on the carriage 24 and the circuit fixed to the housing 12 are connected by a flexible flat cable (not shown).

【0033】アナログ信号処理回路104は、リニアセ
ンサ20から出力されたアナログの電気信号に対して増
幅、雑音低減処理等のアナログ信号処理を施し、その処
理された信号をA/D変換器106に出力する。アナロ
グ信号処理のうち増幅は、例えばプリアンプ、オート・
ゲイン・コントロール回路により行われる。雑音低減処
理は、例えば相関二重サンプリング法等を用いて行われ
る。
The analog signal processing circuit 104 performs analog signal processing such as amplification and noise reduction processing on the analog electric signal output from the linear sensor 20 and sends the processed signal to the A / D converter 106. Output. Amplification in analog signal processing is, for example, preamplifier, auto
This is performed by a gain control circuit. The noise reduction processing is performed using, for example, a correlated double sampling method.

【0034】A/D変換器106は、アナログ信号処理
回路104から出力されたアナログの電気信号を所定階
調のディジタルの画像信号に量子化し、その画像信号を
ディジタル信号処理部108に出力する。
The A / D converter 106 quantizes the analog electric signal output from the analog signal processing circuit 104 into a digital image signal of a predetermined gradation, and outputs the image signal to the digital signal processing unit 108.

【0035】ディジタル信号処理部108は、A/D変
換器106から出力された画像信号に対して各種の処理
を施し、PC150へ出力する画像データを生成する。
ディジタル信号処理部108から出力される画像データ
はインターフェイス(I/F)140を通じてPC15
0に転送される。本実施例ではディジタル信号処理部1
08の出力が8bitであり、その出力される画像デー
タは、RGBの各色(チャンネル)ごとに特性値として
の刺激値を0〜255の256段階の階調値で表す階調
データである。
The digital signal processing unit 108 performs various processes on the image signal output from the A / D converter 106 and generates image data to be output to the PC 150.
Image data output from the digital signal processing unit 108 is transmitted to the PC 15 through an interface (I / F) 140.
0 is transferred. In this embodiment, the digital signal processing unit 1
The output of 08 is 8-bit, and the output image data is gradation data representing a stimulus value as a characteristic value for each of RGB colors (channels) in 256 gradation values from 0 to 255.

【0036】ディジタル信号処理部108は具体的に
は、シェーディング補正部120、ガンマ補正部122
及び欠陥画素補正部124を有する。シェーディング補
正部120は、リニアセンサ20の画素ごと又は数画素
からなるブロックごとの感度のばらつきや、透過原稿用
光源38の主走査方向における照射光量分布、集光レン
ズ36の光学特性等に起因するシェーディングを補正す
る。このシェーディング補正は、リニアセンサ20で原
稿像を走査するに先立って取得する白基準データを用い
て、あるいはその白基準データ及びメモリ(例えばRO
M134)に予め記憶されている黒基準データを用いて
行われる。白基準データは、例えばフィルムの読み取り
時には透過原稿用光源38の照射光をフィルムホルダ1
7の透過原稿用白基準窓62を通してリニアセンサ20
に入射させることにより得ることができる。ガンマ補正
部122は、PC150のガンマ特性に応じて画像信号
のガンマ補正を行う。欠陥画素補正部124は、画素補
間法により欠陥画素の信号を隣接画素の信号で補間して
生成する。尚、ディジタル信号処理部108で施す各種
の処理は、制御部110又はPC150で実行するコン
ピュータプログラムによる処理に置き換えることができ
る。
The digital signal processing unit 108 includes a shading correction unit 120 and a gamma correction unit 122
And a defective pixel correction unit 124. The shading correction unit 120 is caused by a variation in sensitivity for each pixel of the linear sensor 20 or for each block including several pixels, an irradiation light amount distribution in the main scanning direction of the light source 38 for the transparent original, an optical characteristic of the condenser lens 36, and the like. Correct shading. This shading correction is performed using white reference data acquired prior to scanning the original image by the linear sensor 20, or using the white reference data and a memory (for example, RO).
M134) is performed using the black reference data stored in advance. The white reference data is obtained by, for example, irradiating the light from the transparent original light source 38 when reading a film with the film holder 1.
7 through the white reference window 62 for the transparent original.
Can be obtained. The gamma correction unit 122 performs gamma correction of the image signal according to the gamma characteristics of the PC 150. The defective pixel correction unit 124 generates a signal of a defective pixel by interpolating a signal of a defective pixel with a signal of an adjacent pixel by a pixel interpolation method. Note that various processes performed by the digital signal processing unit 108 can be replaced with processes by a computer program executed by the control unit 110 or the PC 150.

【0037】制御部110はCPU130、RAM13
2及びROM134を有する。CPU130はPC15
0からの指令信号に基づきROM134に記憶されてい
る各種のコンピュータプログラムを実行することで、リ
ニアセンサ20の作動制御(すなわち主走査駆動部10
2の作動制御)、キャリッジ24の移動の制御(すなわ
ち副走査駆動部26の作動制御)、透過原稿用光源38
の点滅並びに光量の制御、処理部100の作動制御等、
イメージスキャナ11全体の制御を行う。RAM132
は、ディジタル信号処理部108で処理される画像信号
やディジタル信号処理部108により生成される画像デ
ータ等を一時的に格納する。
The control unit 110 includes a CPU 130 and a RAM 13
2 and a ROM 134. CPU 130 is PC15
By executing various computer programs stored in the ROM 134 on the basis of the command signal from 0, the operation control of the linear sensor 20 (that is, the main scanning drive unit 10
2), control of the movement of the carriage 24 (ie, control of the operation of the sub-scanning drive unit 26),
Flashing and light amount control, operation control of the processing unit 100, etc.
The entire image scanner 11 is controlled. RAM 132
Temporarily stores an image signal processed by the digital signal processing unit 108, image data generated by the digital signal processing unit 108, and the like.

【0038】イメージスキャナ11は、筐体12に設け
られているインターフェイス140を介してPC150
に電気的に接続されている。PC150は、イメージス
キャナ11が接続されるコンピュータ本体152と、C
RT,LCD等のモニタ154と、マウス,キーボード
等の入力デバイス156とから構成される。コンピュー
タ本体152は、CPU160と、ROM,RAM,ハ
ードディスク等から成る記憶部162とを有する。CP
U160は記憶部162にインストールされたフィルム
用制御プログラム等のコンピュータプログラムを実行す
ることによりモニタ154及び入力デバイス156を制
御しつつ、イメージスキャナ11の各要素を作動させる
指令信号を制御部110に送信する。尚、制御部110
は受信した指令信号に基づきイメージスキャナ11の各
要素を作動させるので、イメージスキャナ11の各要素
を作動させる指令信号をCPU160が制御部110に
送信するということは、CPU160がそれら各要素を
直接制御して作動させることと見かけ上等しい。したが
って、以下においては、「イメージスキャナ11の各要
素を作動させる指令信号を制御部110に送信する」こ
とを便宜上「イメージスキャナ11の各要素を作動させ
る」こととして説明する。
The image scanner 11 is connected to a PC 150 via an interface 140 provided on the housing 12.
Is electrically connected to The PC 150 includes a computer main body 152 to which the image scanner 11 is connected, and a C
It is composed of a monitor 154 such as an RT and an LCD, and an input device 156 such as a mouse and a keyboard. The computer main body 152 includes a CPU 160 and a storage unit 162 including a ROM, a RAM, a hard disk, and the like. CP
The U 160 controls the monitor 154 and the input device 156 by executing a computer program such as a film control program installed in the storage unit 162, and transmits a command signal for operating each element of the image scanner 11 to the control unit 110. I do. The control unit 110
Operates the respective elements of the image scanner 11 based on the received command signal. Therefore, the transmission of the command signal for operating the respective elements of the image scanner 11 to the control unit 110 by the CPU 160 means that the CPU 160 directly controls the respective elements. It is apparently equivalent to operating with Therefore, in the following, "transmitting a command signal for operating each element of the image scanner 11 to the control unit 110" will be described as "operating each element of the image scanner 11" for convenience.

【0039】上記のフィルム用制御プログラムは、特許
請求の範囲に記載の「画像読み取りシステムの制御プロ
グラム」の一例である。フィルム用制御プログラムは、
フレキシブルディスク、CD−ROM、光磁気ディスク
(MO)等のコンピュータ読み取り可能な記録媒体に記
録して提供され、記憶部162にインストールされて使
用される。このようにフィルム用制御プログラムが記録
される記録媒体と記憶部162とがそれぞれ特許請求の
範囲に記載の「記録媒体」の一例を構成する。尚、フィ
ルム用制御プログラムはインターネット等の電気通信回
線を通じて提供するようにしてもよく、その場合、フィ
ルム用制御プログラムはPC150によりアクセス可能
なサーバコンピュータ等の記憶装置に保存される。この
とき、その記憶装置が特許請求の範囲に記載の「記録媒
体」の一例である。
The above-described film control program is an example of the “image reading system control program” described in the claims. The control program for film is
The information is provided by being recorded on a computer-readable recording medium such as a flexible disk, a CD-ROM, and a magneto-optical disk (MO), and is installed in the storage unit 162 and used. Thus, the recording medium on which the film control program is recorded and the storage unit 162 each constitute an example of the “recording medium” described in the claims. The film control program may be provided through an electric communication line such as the Internet. In this case, the film control program is stored in a storage device such as a server computer accessible by the PC 150. At this time, the storage device is an example of a “recording medium” described in the claims.

【0040】フィルム用制御プログラムは、ユーザが透
過原稿ユニット37を筐体12に装着し所望のフィルム
を原稿台14上にセットし、入力デバイス156により
当該フィルム用制御プログラムの実行開始指令を入力す
るのに応答して実行される。そしてその実行の結果、C
PU160は図1に示す各処理ステップを順次実施す
る。具体的には、まずステップS11(以下、単にS1
1という。他のステップについても同様である。)で、
透過原稿用光源38を点灯させキャリッジ24を一定の
速度で移動させつつフィルムの透過光像をリニアセンサ
20に走査させる。さらに、透過光像を走査したリニア
センサ20の出力信号を処理部110で処理して画像デ
ータを生成し、その画像データをPC150に転送させ
て記憶部162に記憶する。本実施例では、このS11
における透過光像の読み取り解像度を比較的低い100
dpiに設定することで透過光像の読み取り速度の高速化
を図っている。
In the film control program, the user mounts the transparent document unit 37 on the housing 12, sets a desired film on the document table 14, and inputs an execution start command of the film control program via the input device 156. Executed in response to And as a result of the execution, C
The PU 160 sequentially performs each processing step shown in FIG. Specifically, first, step S11 (hereinafter simply referred to as S1
One. The same applies to other steps. )so,
The transmitted light image of the film is scanned by the linear sensor 20 while the transparent original light source 38 is turned on and the carriage 24 is moved at a constant speed. Further, an output signal of the linear sensor 20 that scans the transmitted light image is processed by the processing unit 110 to generate image data, and the image data is transferred to the PC 150 and stored in the storage unit 162. In this embodiment, this S11
The reading resolution of the transmitted light image at 100
By setting dpi, the reading speed of the transmitted light image is increased.

【0041】ところで、このS11ではリニアセンサ2
0による透過光像の走査をネガモードとポジモードとの
うち予め定められたスキャンモードで実施する。本実施
例においてスキャンモードは入力デバイス156による
ユーザ入力により予め選択されるが、ネガモードとポジ
モードとのいずれか一方に固定させても良い。ここでネ
ガモードとは、通常ネガフィルムを走査するためにリニ
アセンサ20の各光電変換素子の電荷蓄積時間を各光電
変換素子に対応するカラーフィルタの色に応じて相異さ
せるモードであり、本実施例ではRGBの各カラーフィ
ルタに対応する光電変換素子の電荷蓄積時間をそれぞれ
長さの比で1:2:3となるように設定する。このよう
なネガモードで得られる画像データである陰画データ
は、画素ごとにRGBの各値が1:2:3に重み付けさ
れている。これに対しポジモードとは、通常ポジフィル
ムを走査するためにリニアセンサ20の各光電変換素子
の電荷蓄積時間をカラーフィルタの色によらず一定とす
るモードである。すなわち、ポジモードで得られる画像
データである陽画データは、RGBの各値が重み付けさ
れていない。尚、画素ごとにRGBの各値を重み付けし
た画像データを得るには、上述のようにリニアセンサ2
0の電荷蓄積時間を調整する以外にも、例えばアナログ
信号処理回路104でRGB各チャンネルの出力信号の
増幅率を互いに異ならせるようにしても良い。また、重
み付けの係数は上記の値に限定されるものではない。
In step S11, the linear sensor 2
The scanning of the transmitted light image by 0 is performed in a predetermined scan mode of the negative mode and the positive mode. In this embodiment, the scan mode is selected in advance by a user input from the input device 156, but may be fixed to one of the negative mode and the positive mode. Here, the negative mode is a mode in which the charge accumulation time of each photoelectric conversion element of the linear sensor 20 is made different according to the color of the color filter corresponding to each photoelectric conversion element in order to scan a normal negative film. In the example, the charge accumulation time of the photoelectric conversion element corresponding to each of the RGB color filters is set to be 1: 2: 3 in length ratio. In the negative image data, which is image data obtained in such a negative mode, RGB values are weighted at 1: 2: 3 for each pixel. On the other hand, the positive mode is a mode in which the charge accumulation time of each photoelectric conversion element of the linear sensor 20 is made constant regardless of the color of the color filter in order to scan a normal positive film. That is, the positive image data, which is image data obtained in the positive mode, is not weighted for each of the RGB values. Note that, in order to obtain image data in which each value of RGB is weighted for each pixel, as described above, the linear sensor 2 is used.
In addition to adjusting the charge accumulation time of 0, for example, the analog signal processing circuit 104 may make the amplification factors of the output signals of the RGB channels different from each other. Further, the weighting coefficients are not limited to the above values.

【0042】次にS12で、度数分布データ生成ルーチ
ンを実行して記憶部162の画像データからフィルムの
識別に必要な度数分布データを生成する。
In step S12, a frequency distribution data generation routine is executed to generate frequency distribution data necessary for identifying a film from the image data in the storage unit 162.

【0043】図5に示すように、度数分布データ生成ル
ーチンのS31では、記憶部162の画像データから各
画素の輝度値を抽出して輝度ヒストグラムを生成する。
この輝度ヒストグラムの一例を図6に示す。同図に示す
ように、輝度値が低い範囲(例えば0〜30)にはフィ
ルムホルダ17の裏面18に対応する画素が累積し、輝
度値が高い範囲(例えば225〜255)にはフィルム
の装着されていないフィルム窓60等のフィルムホルダ
17の背景に対応する画素が累積し、それ以外の輝度値
の範囲にはフィルム窓60に装着されたフィルムに対応
する画素が分布する。以下、フィルムホルダ17の裏面
18に対応する画素領域をフィルムホルダ領域、フィル
ムホルダ17の背景に対応する画素領域を背景領域、フ
ィルムに対応する画素領域をフィルム領域という。
As shown in FIG. 5, in S31 of the frequency distribution data generation routine, the luminance value of each pixel is extracted from the image data in the storage unit 162 to generate a luminance histogram.
FIG. 6 shows an example of this luminance histogram. As shown in the figure, pixels corresponding to the back surface 18 of the film holder 17 are accumulated in a low luminance value range (for example, 0 to 30), and a film is mounted in a high luminance value range (for example, 225 to 255). Pixels corresponding to the background of the film holder 17 such as the film window 60 that are not processed are accumulated, and pixels corresponding to the film mounted on the film window 60 are distributed in a range of other luminance values. Hereinafter, a pixel region corresponding to the back surface 18 of the film holder 17 is referred to as a film holder region, a pixel region corresponding to the background of the film holder 17 is referred to as a background region, and a pixel region corresponding to the film is referred to as a film region.

【0044】ところで、輝度ヒストグラムにおいてフィ
ルム領域と背景領域との境界輝度値はフィルムホルダ1
7の種類によらず一定値に設定することができるが、フ
ィルムホルダ領域とフィルム領域との境界輝度値はフィ
ルムホルダ17の種類により大きく異なる。本実施例で
は後述のS33等でフィルム領域の画素データを適宜抽
出して使用することから、予めフィルムホルダ領域とフ
ィルム領域との境界輝度値を設定しておく必要がある。
In the luminance histogram, the boundary luminance value between the film region and the background region is determined by the film holder 1.
7 can be set to a constant value irrespective of the type of the film holder 17, but the boundary luminance value between the film holder area and the film area greatly differs depending on the type of the film holder 17. In the present embodiment, since the pixel data of the film area is appropriately extracted and used in S33 and the like to be described later, it is necessary to set a boundary luminance value between the film holder area and the film area in advance.

【0045】そこで続くS32では、輝度ヒストグラム
に基づきフィルムホルダ領域とフィルム領域との境界輝
度値である閾値Thresholdを設定する。具体的には、ま
ず図6に示すように輝度値の低い探索範囲で度数が最大
となる輝度値を探索しその輝度値を判別値m_Threshold
と定義する。次に、下記表1に示すように判別値m_Thre
sholdが上記探索範囲の所定の輝度値α(以下、基準値
αという。)未満であればその判別値m_Thresholdと所
定の第一加算値βとの和を閾値Thresholdとして設定す
る。これに対し、判別値m_Thresholdが基準値α以上で
あればその判別値m_Thresholdと第一加算値βより大き
な第二加算値γとの和を閾値Thresholdとして設定す
る。このように閾値Thresholdを設定するのは、判別値m
_Thresholdが基準値αより小さいときには判別値m_Thre
sholdを中心とする狭い範囲にフィルムホルダ領域が収
束し、一方、判別値m_Thresholdが基準値α以上である
ときには比較的広範囲にわたってフィルムホルダ領域が
広がっているからである。基準値α,第一加算値β及び
第二加算値γはそれぞれ、各種のフィルムホルダ17を
用いて取得した輝度ヒストグラムを分析することで経験
的に設定することができ、本実施例ではα=15,β=
20,γ=35に設定している。
Then, in S32, a threshold Threshold, which is a boundary luminance value between the film holder area and the film area, is set based on the luminance histogram. Specifically, first, as shown in FIG. 6, a search is made for a brightness value having a maximum frequency in a search range having a low brightness value, and the brightness value is determined as a determination value m_Threshold.
Is defined. Next, as shown in Table 1 below, the discrimination value m_Thre
If shold is less than a predetermined luminance value α (hereinafter, referred to as a reference value α) in the search range, the sum of the discrimination value m_Threshold and a predetermined first addition value β is set as the threshold Threshold. On the other hand, if the discrimination value m_Threshold is equal to or more than the reference value α, the sum of the discrimination value m_Threshold and the second addition value γ larger than the first addition value β is set as the threshold Threshold. Setting the threshold Threshold in this way is based on the discrimination value m
When _Threshold is smaller than the reference value α, the discrimination value m_Thre
This is because the film holder area converges to a narrow range centered on shold, while when the discrimination value m_Threshold is equal to or larger than the reference value α, the film holder area spreads over a relatively wide range. The reference value α, the first addition value β, and the second addition value γ can be set empirically by analyzing a luminance histogram obtained using various film holders 17, and in this embodiment, α = 15, β =
20, γ = 35.

【0046】[0046]

【表1】 [Table 1]

【0047】続いてS33では記憶部162の画像デー
タから、輝度ヒストグラムにおいて閾値Threshold〜所
定の上限値Maxの範囲にある画素についてRGBの各値
を抽出し、度数分布データとしてのRGB各値のヒスト
グラムを生成する。ここで上限値Maxは輝度ヒストグラ
ムにおけるフィルム領域と背景領域との境界輝度値に相
当するものであり、本実施例では225に設定してい
る。
Subsequently, in step S33, RGB values are extracted from the image data in the storage unit 162 for the pixels in the range from the threshold value Threshold to the predetermined upper limit value Max in the luminance histogram, and a histogram of the RGB values as frequency distribution data is extracted. Generate Here, the upper limit value Max corresponds to the boundary luminance value between the film area and the background area in the luminance histogram, and is set to 225 in this embodiment.

【0048】以上のようにして度数分布データを生成し
た後には、続くS13でフィルムホルダ17にフィルム
が装着されているか否かを判別する。具体的には、まず
輝度ヒストグラムについて閾値Threshold〜上限値Maxの
範囲の累積度数Fを下記の(式1)により算出する。下
記(式1)においてylist[i]は輝度ヒストグラムにおけ
る階級値iの度数である。
After the frequency distribution data is generated as described above, it is determined whether or not a film is mounted on the film holder 17 in the following S13. Specifically, first, the cumulative frequency F in the range from the threshold Threshold to the upper limit Max is calculated for the luminance histogram by the following (Equation 1). In the following (Equation 1), ylist [i] is the frequency of the class value i in the luminance histogram.

【0049】[0049]

【数1】 (Equation 1)

【0050】S13では次に、下記表2に示すように累
積度数Fが最小フィルム画素数より小さい場合にはフィ
ルムホルダ17にフィルムが装着されていないと判別
し、累積度数Fが最小フィルム画素数以上である場合に
はフィルムが装着されていると判別する。ここで最小フ
ィルム画素数とは、読み取り可能な最小のフィルムサイ
ズを画像データの解像度で画素数に換算した値である。
例えば最小フィルムサイズが13.2mm、画像データの解像
度が100dpiであるとすると、最小フィルム画素数は
下記(式2)のように算出することができる。
In S13, if the cumulative frequency F is smaller than the minimum film pixel number as shown in Table 2 below, it is determined that the film is not mounted on the film holder 17, and the cumulative frequency F is set to the minimum film pixel number. If so, it is determined that the film is mounted. Here, the minimum film pixel number is a value obtained by converting the minimum readable film size into the number of pixels by the resolution of image data.
For example, assuming that the minimum film size is 13.2 mm and the resolution of image data is 100 dpi, the minimum film pixel number can be calculated as the following (Equation 2).

【0051】[0051]

【表2】 [Table 2]

【0052】[0052]

【数2】 (Equation 2)

【0053】S13でフィルムがフィルムホルダ17に
装着されていると判別した場合には次のS14におい
て、先のS11で採用したスキャンモードがネガモード
であるかポジモードであるかを判別する。
If it is determined in S13 that the film is mounted on the film holder 17, it is determined in next S14 whether the scan mode adopted in S11 is the negative mode or the positive mode.

【0054】ここで、まずS14においてスキャンモー
ドがネガモードであると判別した場合について説明す
る。この場合にはS15でネガモード時種別判別ルーチ
ンを実行してフィルムの種別を判別する。
Here, the case where it is determined in S14 that the scan mode is the negative mode will be described. In this case, a negative mode type determination routine is executed in S15 to determine the type of the film.

【0055】図7に示すように、ネガモード時種別判別
ルーチンではまずS51で最初の判別処理を実施する。
図8に示すように、ポジフィルムの陰画データについて
のB値ヒストグラムではB値の高い範囲にピークが現れ
る。これは、ネガモードでポジフィルムを走査した場
合、上述したリニアセンサ20の電荷蓄積時間の設定に
よりBチャンネルの露光量が過多となるためである。そ
こでS51ではまずB値ヒストグラムの分布の偏りを表
す数値として、当該B値ヒストグラムでB値が高い範囲
(本実施例では250〜255)の累積度数の全画素数
に対する割合Brateを下記の(式3)により算出する。
下記(式3)においてblist[i]はB値ヒストグラムにお
ける階級値iの度数である。次に、割合Brateが所定の
基準値δ以上である場合にはフィルムがポジフィルムで
あると判別し、割合Brateが基準値δ未満である場合に
はS52で次の判別処理を実施する。基準値δはポジフ
ィルムの陰画データを分析して経験的に設定することが
でき、本実施例では0.015に設定している。このよ
うにS51ではポジフィルムの判別をB値ヒストグラム
を利用して行うが、G値ヒストグラムを利用して行って
も良い。また、S51でヒストグラムの偏りを表す数値
として、中央値、最頻値、平均値等を採用しても良い。
As shown in FIG. 7, in the negative mode type discriminating routine, first in S51, the first discriminating process is performed.
As shown in FIG. 8, a peak appears in a range where the B value is high in the B value histogram of the negative image data of the positive film. This is because when the positive film is scanned in the negative mode, the exposure amount of the B channel becomes excessive due to the setting of the charge accumulation time of the linear sensor 20 described above. Therefore, in S51, first, as a numerical value indicating the bias of the distribution of the B-value histogram, the ratio Brate of the cumulative frequency of the range in which the B value is high (250 to 255 in this embodiment) to the total number of pixels in the B-value histogram is expressed by Calculated by 3).
In the following (Equation 3), blist [i] is the frequency of the class value i in the B-value histogram. Next, when the rate Brate is equal to or more than the predetermined reference value δ, the film is determined to be a positive film, and when the rate Brate is less than the reference value δ, the next determination processing is performed in S52. The reference value δ can be set empirically by analyzing negative image data of a positive film, and is set to 0.015 in this embodiment. As described above, in S51, the positive film is determined using the B value histogram, but may be determined using the G value histogram. Further, a median value, a mode value, an average value, or the like may be adopted as a numerical value representing the bias of the histogram in S51.

【0056】[0056]

【数3】 (Equation 3)

【0057】図9(a)に示すように、カラーネガフィ
ルムの陰画データについてはR値ヒストグラムの分布が
B値ヒストグラムのそれよりも階級値の大きい側に偏
る。これに対しモノクロネガフィルムの陰画データにつ
いては図9(b)に示すように、B値ヒストグラムの分
布の方がR値ヒストグラムの分布よりも階級値の大きい
側に偏る。S52ではこのような知見に基づき、まずR
値ヒストグラムとB値ヒストグラムとの相対的な分布の
偏りを表す数値として、R値及びB値ヒストグラムの各
々についての中央値(メディアン)Rmed及びBmedを算出
する。続いて中央値RmedとBmedとを比較し、中央値Rmed
が中央値Bmed以上である場合にはフィルムがカラーネガ
フィルムであると判別し、中央値Rmedが中央値Bmed未満
である場合にはフィルムがモノクロネガフィルムである
と判別する。尚、S52でヒストグラムとの相対的な分
布の偏りを表す数値として、最頻値、平均値等を採用し
ても良い。また、S52ではB値ヒストグラムの代わり
にG値ヒストグラムをR値ヒストグラムと対比させ相対
的な分布の偏りを調べるようにしても、フィルムがカラ
ーネガフィルム又はモノクロネガフィルムであるかを判
別することができる。
As shown in FIG. 9A, the distribution of the R-value histogram is biased toward the side having a larger class value than that of the B-value histogram for the negative data of the color negative film. On the other hand, as for the negative image data of the monochrome negative film, as shown in FIG. 9B, the distribution of the B-value histogram is biased toward the side where the class value is larger than the distribution of the R-value histogram. In S52, based on such knowledge, first R
Median values (median) Rmed and Bmed for each of the R value and B value histograms are calculated as numerical values representing the relative distribution bias between the value histogram and the B value histogram. Subsequently, the median Rmed and Bmed are compared, and the median Rmed
Is greater than or equal to the median value Bmed, it is determined that the film is a color negative film. If the median value Rmed is less than the median value Bmed, the film is determined to be a monochrome negative film. In S52, a mode value, an average value, or the like may be adopted as a numerical value representing the deviation of the distribution relative to the histogram. In S52, it is possible to determine whether the film is a color negative film or a monochrome negative film by comparing the G value histogram with the R value histogram instead of the B value histogram to check the relative distribution bias. .

【0058】以上、S14でスキャンモードがネガモー
ドであると判別した場合について説明した。次に、S1
4でスキャンモードがポジモードであると判別した場合
について説明する。この場合にはS16でポジモード時
種別判別ルーチンを実行することにより、フィルムの種
別を判別する。
The case where the scan mode is determined to be the negative mode in S14 has been described above. Next, S1
The case where the scan mode is determined to be the positive mode in 4 will be described. In this case, the type of the film is determined by executing a positive mode type determination routine in S16.

【0059】図10に示すように、ポジモード時種別判
別ルーチンではまずS71で第一の判別処理を実施す
る。図11(a)に示すように、ポジフィルムの陽画デ
ータについての各値ヒストグラムは一般に互いの相関が
高い。これに対しカラーネガフィルム及びモノクロネガ
フィルムの陽画データについてはそれぞれ図11(c)
及び(d)に示すように、R値ヒストグラムとB値ヒス
トグラムとの相関が低い。S71ではこれらの知見に基
づき、まずR値ヒストグラムとB値ヒストグラムとの相
関の程度を表す相互相関係数dbrを下記の(式4)に従
って算出する。下記(式4)においてrlist[i]及びblis
t[i]はそれぞれR値及びB値ヒストグラムにおける階級
値iの度数である。また、mr及びmbはそれぞれR値及び
B値ヒストグラムにおける階級値iの平均値であり、下
記の(式5)により算出することができる。S71では
次に、相互相関係数dbrが所定の基準値εより大きい場
合にはフィルムがポジフィルムであると判別する一方、
相互相関係数dbrが基準値ε以下である場合にはS72
で第二の判別処理を実施する。基準値εはポジフィルム
の陽画データを分析して経験的に設定することができ、
本実施例では0.75に設定している。
As shown in FIG. 10, in the positive mode type determination routine, first, a first determination process is performed in S71. As shown in FIG. 11A, generally, each value histogram of positive image data of a positive film has a high correlation with each other. On the other hand, the positive image data of the color negative film and the monochrome negative film are shown in FIG.
As shown in (d), the correlation between the R value histogram and the B value histogram is low. In S71, based on these findings, first, a cross-correlation coefficient dbr indicating the degree of correlation between the R value histogram and the B value histogram is calculated according to the following (Equation 4). In the following (Equation 4), rlist [i] and blis
t [i] is the frequency of the class value i in the R value and B value histograms, respectively. Further, mr and mb are average values of the class value i in the R value and B value histograms, respectively, and can be calculated by the following (Equation 5). In S71, when the cross-correlation coefficient dbr is larger than the predetermined reference value ε, the film is determined to be a positive film,
If the cross-correlation coefficient dbr is equal to or smaller than the reference value ε, S72
Performs the second determination process. The reference value ε can be set empirically by analyzing positive image data of a positive film,
In this embodiment, it is set to 0.75.

【0060】[0060]

【数4】 (Equation 4)

【数5】 (Equation 5)

【0061】上記S71ではすべてのポジフィルムを判
別することができない。なぜなら図11(b)に示すよ
うに、単色に近い画像が記録されたポジフィルムではそ
うでないポジフィルムに比して陽画データについての各
値ヒストグラムの相関が低いからである。ところで、図
11(b)及び(c)に示すように、単色に近い画像が
記録されたポジフィルムの陽画データの場合、カラーネ
ガフィルムの陽画データの場合と比べてB値ヒストグラ
ムの分布に対するR値ヒストグラムの分布の偏りが小さ
い。そこでS72ではまずR値ヒストグラムとB値ヒス
トグラムとの相対的な分布の偏りを表す数値として、R
値及びB値ヒストグラムにおける階級値iの平均値mr及
びmbを上記(式5)により算出する。次に、平均値mrと
mbとの比mr/mbが所定の第一基準値ζ未満である場合に
はフィルムがポジフィルムであると判別し、比mr/mbが
所定の第二基準値ηより大きい場合にはフィルムがカラ
ーネガフィルムであると判別し、さらに比mr/mbが第一
基準値ζ以上かつ第二基準値η以下である場合にはS7
3で第三の判別処理を実施する。第一基準値ζ及び第二
基準値ηはそれぞれ、ポジフィルム及びカラーネガフィ
ルムの陽画データを分析して経験的に設定することがで
き、本実施例ではζ=1.3,η=1.6に設定してい
る。尚、S72でヒストグラムとの相対的な分布の偏り
を表す数値として、平均値、累積度数、中央値、最頻値
等を採用しても良い。
In S71, all the positive films cannot be determined. This is because, as shown in FIG. 11B, the correlation of each value histogram of positive image data is lower in a positive film on which an image close to a single color is recorded than in a positive film which does not. By the way, as shown in FIGS. 11B and 11C, in the case of positive image data of a positive film on which an image close to a single color is recorded, the R value for the distribution of the B value histogram is larger than that of the positive image data of a color negative film. The bias of the histogram distribution is small. Therefore, in S72, first, as a numerical value representing the bias of the relative distribution between the R value histogram and the B value histogram, R
The average value mr and mb of the class value i in the value and B value histograms are calculated by the above (Equation 5). Next, the average value mr and
If the ratio mr / mb with respect to mb is less than a predetermined first reference value ζ, the film is determined to be a positive film, and if the ratio mr / mb is greater than a predetermined second reference value η, the film is determined to be positive. If it is determined that the film is a color negative film, and the ratio mr / mb is equal to or more than the first reference value か つ and equal to or less than the second reference value η, S7
At 3, the third determination process is performed. The first reference value ζ and the second reference value η can be set empirically by analyzing positive image data of a positive film and a color negative film, respectively. In this embodiment, ζ = 1.3, η = 1.6. Is set to In step S72, an average value, a cumulative frequency, a median value, a mode value, or the like may be used as a numerical value representing the deviation of the distribution relative to the histogram.

【0062】上記S71及びS72によればポジフィル
ムとカラーネガフィルムとを判別できるが、モノクロネ
ガフィルムについては判別できない。ところで、図11
(c)及び(d)に示すように、カラーネガフィルム及
びモノクロネガフィルムはフィルムの特性により、陽画
データについてのR値ヒストグラムの分布がB値ヒスト
グラムの分布に対して階級値の大きい側に顕著に偏る。
また、カラーネガフィルムとモノクロネガフィルムとで
は、前者の方が陽画データについてのG値ヒストグラム
とB値ヒストグラムとの相関が低い。
According to S71 and S72, a positive film and a color negative film can be distinguished, but a monochrome negative film cannot be distinguished. By the way, FIG.
As shown in (c) and (d), in the color negative film and the monochrome negative film, due to the characteristics of the film, the distribution of the R value histogram for the positive image data is remarkably higher than the distribution of the B value histogram on the side of the larger class value. Biased.
In the color negative film and the monochrome negative film, the former has a lower correlation between the G value histogram and the B value histogram for positive image data.

【0063】以上の知見に基づきS73では、第一にR
値ヒストグラムとB値ヒストグラムとの相対的な分布の
偏りをこれら2つのヒストグラムについて度数が0でな
い範囲を相互比較することにより表す。具体的には、相
対的な分布の偏りを表す数値として、R値及びB値ヒス
トグラムの各々について度数が0ではない範囲を特定
し、その範囲の中央の階級値(以下、単に中央階級値と
いう。)rr及びrbを算出する。例えば、R値ヒストグラ
ムについて度数が0でない階級が20以上200以下で
あるとき、rr=(20+200)/2=110である。
第二にG値ヒストグラムとB値ヒストグラムとの相関の
程度を表す相互相関係数dgbをS71の相互相関係数dbr
と同様にして算出する。次に、中央階調値rrとrbとの比
rr/rbが所定の比基準値θ以下である場合にはフィルム
がポジフィルムであると判別し、比rr/rbが比基準値θ
より大きく、かつ、相互相関係数dgbが所定の係数基準
値ι未満である場合にはフィルムがカラーネガフィルム
であると判別し、比rr/rbが比基準値θより大きく、か
つ、相互相関係数dgbが係数基準値ι以上である場合に
はフィルムがモノクロネガフィルムであると判別する。
比基準値θ及び係数基準値ιはそれぞれ、各種のフィル
ムの陽画データを分析して経験的に設定することがで
き、本実施例ではθ=1.15,ι=0.7に設定して
いる。尚、S73でヒストグラムとの相対的な分布の偏
りを表す数値として平均値、累積度数、中央値、最頻値
等を採用しても良い。
Based on the above findings, in S73, first, R
The relative distribution bias between the value histogram and the B-value histogram is expressed by comparing ranges in which the frequency is not 0 for these two histograms. Specifically, a range in which the frequency is not 0 for each of the R value and the B value histograms is specified as a numerical value indicating the relative distribution bias, and a class value at the center of the range (hereinafter, simply referred to as a central class value). ) Calculate rr and rb. For example, when the class whose frequency is not 0 in the R value histogram is 20 or more and 200 or less, rr = (20 + 200) / 2 = 110.
Second, the cross-correlation coefficient dgb representing the degree of correlation between the G-value histogram and the B-value histogram is represented by the cross-correlation coefficient dbr of S71.
It is calculated in the same manner as described above. Next, the ratio of the center gradation value rr to rb
If rr / rb is equal to or less than a predetermined ratio reference value θ, it is determined that the film is a positive film, and the ratio rr / rb is compared with the ratio reference value θ.
If the value is larger and the cross-correlation coefficient dgb is less than the predetermined coefficient reference value ι, it is determined that the film is a color negative film, and the ratio rr / rb is larger than the ratio reference value θ and If the number dgb is equal to or more than the coefficient reference value ι, it is determined that the film is a monochrome negative film.
The ratio reference value θ and the coefficient reference value ι can be set empirically by analyzing positive image data of various films. In this embodiment, θ = 1.15, ι = 0.7 I have. In step S73, an average value, a cumulative frequency, a median value, a mode value, or the like may be employed as a numerical value representing the deviation of the distribution relative to the histogram.

【0064】以上のようにしてS15又はS16でフィ
ルムの種別を判別したならば続くS17において、ユー
ザに原稿の読み取り開始指令の入力を指示する画面をモ
ニタ154に表示させ、ユーザが入力デバイス156に
より原稿読み取り開始指令を入力するまで待機する。
After the type of film is determined in S15 or S16 as described above, in S17, a screen for instructing the user to input a document reading start command is displayed on the monitor 154. It waits until a document reading start command is input.

【0065】ユーザが原稿読み取り開始指令を入力した
場合にはS18において、判別したフィルム種別に適し
た輝度で透過原稿用光源38を点灯させそのフィルム種
別に応じたスキャンモードでキャリッジ24を移動させ
つつフィルムの透過光像をリニアセンサ20に走査させ
る。そして、そのリニアセンサ20の出力信号を処理部
110で処理して画像データを生成し、その生成した画
像データをPC150に転送させる。本実施例では、こ
のS18における透過光像の読み取り解像度をS11の
場合より高い例えば800dpi,1600dpi等のうちユ
ーザが原稿読み取り開始指令と共に入力した解像度に設
定する。以上によりPC150において、フィルムに記
録された原稿像の濃淡を表す画像データが取得される。
When the user inputs a document reading start command, in step S18, the light source 38 for the transparent document is turned on at a luminance suitable for the determined film type, and the carriage 24 is moved in the scan mode corresponding to the film type. The transmitted light image of the film is scanned by the linear sensor 20. Then, the output signal of the linear sensor 20 is processed by the processing unit 110 to generate image data, and the generated image data is transferred to the PC 150. In this embodiment, the reading resolution of the transmitted light image in S18 is set to the resolution input by the user together with the document reading start command, for example, 800 dpi, 1600 dpi, or the like higher than that in S11. As described above, the PC 150 acquires the image data representing the density of the original image recorded on the film.

【0066】このように、PC150のCPU160が
フィルム用制御プログラムを実行することで陰画データ
又は陽画データに基づき生成するRGB各値のヒストグ
ラムはフィルムの種別ごとにそれぞれ特有の度数分布を
示すので、画像読み取りシステム10ではそのような各
値ヒストグラムの分布の違いに着目してフィルムの種別
を正確に自動判別することができる。しかも、画像読み
取りシステム10ではフィルムの種別を判別してからそ
の種別に応じてフィルムの読み取り処理を行うので、所
望のフィルムを適正に読み取ることができる。
As described above, when the CPU 160 of the PC 150 executes the film control program, the histogram of each of the RGB values generated based on the negative data or the positive image data shows a unique frequency distribution for each film type. The reading system 10 can automatically and accurately determine the type of the film by paying attention to such a difference in the distribution of each value histogram. In addition, since the image reading system 10 determines the type of the film and then performs the film reading processing according to the type, the desired film can be read properly.

【0067】以上の説明から明らかなように本実施例で
は、リニアセンサ20,透過原稿用光源38,ミラー3
4,集光レンズ36,駆動部40及び処理部110が特
許請求の範囲に記載の「撮像手段」の一例を構成してい
る。
As is clear from the above description, in this embodiment, the linear sensor 20, the light source 38 for the transparent original, the mirror 3
4, the condenser lens 36, the drive unit 40, and the processing unit 110 constitute an example of the “imaging unit” described in the claims.

【0068】また、本実施例では、CPU160及びC
PU130が請求項1及び請求項4に記載の「第一処理
手段」の一例と「第三処理手段」の一例とを構成し、C
PU160が請求項1及び請求項4に記載の「第二処理
手段」の一例を構成し、CPU160のうちS51の処
理を実施する部分が請求項2に記載の「第二処理手段」
の一例を構成し、CPU160のうちS52の処理を実
施する部分が請求項3に記載の「第二処理手段」の一例
を構成し、CPU160のうちS71の処理を実施する
部分が請求項5に記載の「第二処理手段」の一例を構成
し、CPU160のうちS72の処理を実施する部分が
請求項6に記載の「第二処理手段」の一例を構成し、C
PU160のうちS73の処理を実施する部分が請求項
7に記載の「第二処理手段」の一例を構成している。
In this embodiment, the CPU 160 and the C
The PU 130 constitutes an example of the “first processing means” and an example of the “third processing means” according to claim 1 and claim 4,
The PU 160 constitutes an example of the “second processing means” according to claim 1 and claim 4, and the part of the CPU 160 that performs the processing of S <b> 51 is the “second processing means” according to claim 2.
The part of the CPU 160 that performs the processing of S52 forms an example of the “second processing unit” according to claim 3, and the part of the CPU 160 that performs the processing of S71 is defined by claim 5. A part of the CPU 160 that performs the processing of S72 constitutes an example of the “second processing means” described in claim 6,
The part of the PU 160 that performs the processing of S73 constitutes an example of the “second processing means” according to claim 7.

【0069】さらに本実施例においては、CPU160
が行う処理ステップのうちS11が請求項8及び請求項
11に記載の「第一走査制御手順」の一例を構成し、S
12が請求項8及び請求項11に記載の「第一処理手
順」の一例を構成し、S15が請求項8に記載の「第二
処理手順」の一例を構成し、S16が請求項11に記載
の「第二処理手順」の一例を構成し、S18が請求項8
及び請求項11に記載の「第二走査制御手順」の一例を
構成し、S51が請求項9に記載の「第二処理手順」の
一例を構成し、S52が請求項10に記載の「第二処理
手順」の一例を構成し、S71が請求項12に記載の
「第二処理手順」の一例を構成し、S72が請求項13
に記載の「第二処理手順」の一例を構成し、S73が請
求項14に記載の「第二処理手順」の一例を構成してい
る。
Further, in this embodiment, the CPU 160
S11 constitutes an example of the “first scanning control procedure” according to claims 8 and 11, among the processing steps performed by
12 constitutes an example of the “first processing procedure” described in claims 8 and 11, S15 constitutes an example of the “second processing procedure” described in claim 8, and S16 describes in claim 11 An example of the “second processing procedure” described above is configured, and S18 is an example.
S51 constitutes an example of the "second scanning control procedure" according to claim 11, S51 constitutes an example of the "second processing procedure" according to claim 9, and S52 forms the "second scanning control procedure" according to claim 10. S71 constitutes an example of the "second processing procedure", and S72 constitutes an example of the "second processing procedure".
And S73 constitutes an example of the “second processing procedure” according to claim 14.

【0070】以上、本発明の一実施例について詳述した
が、これはあくまでも例示であって、本発明はかかる実
施例の記載によって何ら限定的に解釈されるものではな
い。
Although the embodiment of the present invention has been described in detail above, this is merely an example, and the present invention is not construed as being limited by the description of the embodiment.

【0071】例えば、上述の実施例では画像読み取りシ
ステム10を互いに別体のイメージスキャナ11とPC
150とから構成している。これに対して、特許請求の
範囲に記載の画像読み取りシステムをスキャナ等の画像
読み取り部とコンピュータ等の画像処理部とを一体的に
備えるもので構成しても良い。
For example, in the above embodiment, the image reading system 10 is different from the image scanner 11 and the PC
150. On the other hand, the image reading system described in the claims may be configured to integrally include an image reading unit such as a scanner and an image processing unit such as a computer.

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

【図1】本発明の一実施例による画像読み取りシステム
のパーソナルコンピュータ(PC)がフィルム用制御プ
ログラムを実行することにより実施する各処理ステップ
を示すフローチャートである。
FIG. 1 is a flowchart showing each processing step executed by a personal computer (PC) of an image reading system according to an embodiment of the present invention executing a film control program.

【図2】本発明の一実施例による画像読み取りシステム
を示すブロック図である。
FIG. 2 is a block diagram illustrating an image reading system according to an embodiment of the present invention.

【図3】本発明の一実施例による画像読み取りシステム
を概略的に示す断面図である。
FIG. 3 is a cross-sectional view schematically illustrating an image reading system according to an embodiment of the present invention.

【図4】図3のイメージスキャナで使用されるフィルム
ホルダを示す平面図である。
FIG. 4 is a plan view showing a film holder used in the image scanner of FIG. 3;

【図5】図1のS12で実行する度数分布データ生成ル
ーチンの各処理ステップを示すフローチャートである。
FIG. 5 is a flowchart showing each processing step of a frequency distribution data generation routine executed in S12 of FIG. 1;

【図6】図5のS31で得られる輝度ヒストグラムの一
例を示すグラフである。
FIG. 6 is a graph showing an example of a luminance histogram obtained in S31 of FIG.

【図7】図1のS15で実行するネガモード時種別判別
ルーチンの各処理ステップを示すフローチャートであ
る。
FIG. 7 is a flowchart showing each processing step of a negative mode type determination routine executed in S15 of FIG. 1;

【図8】図3のイメージスキャナによりポジフィルムを
ネガモードで走査して得られる陰画データについてのB
値ヒストグラムを示すグラフである。
FIG. 8 is a graph showing a B value of negative image data obtained by scanning a positive film in a negative mode by the image scanner of FIG. 3;
It is a graph which shows a value histogram.

【図9】図3のイメージスキャナによりカラーネガフィ
ルム(a)又はモノクロネガフィルム(b)をネガモー
ドで走査して得られる陰画データについてのR値及びB
値ヒストグラムをそれぞれ示すグラフである。
9 shows the R value and B for negative image data obtained by scanning a color negative film (a) or a monochrome negative film (b) in a negative mode by the image scanner of FIG. 3;
It is a graph which each shows a value histogram.

【図10】図1のS16で実行するポジモード時種別判
別ルーチンの各処理ステップを示すフローチャートであ
る。
FIG. 10 is a flowchart showing each processing step of a positive mode type determination routine executed in S16 of FIG. 1;

【図11】図3のイメージスキャナにより各種のフィル
ムをポジモードで走査して得られる陽画データについて
のRGB各値ヒストグラムをそれぞれ示すグラフであ
り、(a)〜(d)はそれぞれ、一般的なポジフィルム
(a),単色に近いポジフィルム(b),カラーネガフ
ィルム(c)、モノクロネガフィルム(d)の場合を示
している。
11 is a graph showing RGB value histograms for positive image data obtained by scanning various films in the positive mode by the image scanner of FIG. 3, wherein (a) to (d) are general positive images, respectively. 3 shows the case of a film (a), a positive film (b) close to a single color, a color negative film (c), and a monochrome negative film (d).

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

10 画像読み取りシステム 11 イメージスキャナ 17 フィルムホルダ 20 撮像素子(リニアセンサ) 26 副走査駆動部 30 光学系 37 透過原稿ユニット 38 透過原稿用光源 40 駆動部 100 処理部 102 主走査駆動部 110 制御部 130 CPU 150 パーソナルコンピュータ(PC) 160 CPU 162 記憶部 DESCRIPTION OF SYMBOLS 10 Image reading system 11 Image scanner 17 Film holder 20 Image sensor (linear sensor) 26 Sub-scanning drive unit 30 Optical system 37 Transmission original unit 38 Light source for transmission original 40 Drive unit 100 Processing unit 102 Main scanning drive unit 110 Control unit 130 CPU 150 Personal computer (PC) 160 CPU 162 Storage unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/04 H04N 1/04 D 5C079 1/60 1/40 D (72)発明者 水野 鉄也 長野県諏訪市大和3丁目3番5号 セイコ ーエプソン株式会社内 (72)発明者 浅木 庸男 長野県上田市大字下之郷乙1077番地5 エ プソンコーワ株式会社内 (72)発明者 児島 志保 長野県上田市大字下之郷乙1077番地5 エ プソンコーワ株式会社内 (72)発明者 河尻 寛之 長野県上田市大字下之郷乙1077番地5 エ プソンコーワ株式会社内 (72)発明者 降籏 公司 長野県上田市大字下之郷乙1077番地5 エ プソンコーワ株式会社内 Fターム(参考) 5B047 AA05 AB04 BB02 5B057 AA20 BA02 BA26 BA30 DA12 DB02 DB06 DB09 DC19 5C062 AB03 AB17 AB40 AC02 5C072 AA01 BA19 EA05 VA03 5C077 MM03 MP08 PP32 PQ12 PQ18 PQ19 PQ20 PQ22 5C079 HB01 JA01 JA23 LA02 LA03 MA01 MA11 NA18 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/04 H04N 1/04 D 5C079 1/60 1/40 D (72) Inventor Tetsuya Mizuno Suwa, Nagano 3-5-5 Yamato-shi, Seiko Epson Corporation (72) Inventor, Yasuo Asagi 1077, Ogata Shimonosato, Ueda-shi, Nagano Prefecture Epson Kowa Co., Ltd. No. 5 Epson Kowa Co., Ltd. (72) Inventor Hiroyuki Kawajiri 1077-5, Shimonosato Oto, Oda, Ueda-shi, Nagano Epson Kowa Co., Ltd. F term (reference) 5B047 AA05 AB04 BB02 5B057 AA20 BA02 BA26 BA30 DA12 DB02 DB06 DB09 DC19 5C062 AB03 AB17 AB40 AC02 5C072 AA01 BA19 EA05 VA03 5C077 MM03 MP08 PP32 PQ12 PQ18 PQ19 PQ20 PQ22 5C079 HB01 JA01 JA23 LA02 LA03 MA01 MA11 NA18

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 光電変換によりフィルムの透過光像をカ
ラー走査し前記透過光像の互いに独立で色ごとに重み付
けした3色の特性値を表す陰画データ又は前記透過光像
の互いに独立で色ごとに重み付けしていない3色の特性
値を表す陽画データを出力する撮像手段と、 前記陰画データを前記撮像手段に出力させその出力され
た陰画データに基づき前記特性値の度数分布を表す度数
分布データを出力する第一処理手段と、 前記度数分布データに基づき前記フィルムの種別を判別
する第二処理手段と、 前記フィルムの種別に応じて前記陰画データ又は前記陽
画データを前記撮像手段に出力させる第三処理手段と、 を備えることを特徴とする画像読み取りシステム。
1. A negative image data representing characteristic values of three colors weighted independently for each color of a transmitted light image of a film by color-scanning a transmitted light image of the film by photoelectric conversion, or independently for each color of the transmitted light image. Imaging means for outputting positive image data representing characteristic values of the three colors which are not weighted; and frequency distribution data representing the frequency distribution of the characteristic values based on the output of the negative image data to the imaging means. A first processing unit that outputs the negative image data or the positive image data to the imaging unit according to the type of the film. An image reading system comprising: three processing means.
【請求項2】 前記第二処理手段は、前記透過光像の重
み付けした色の特性値の度数分布の偏りの程度に応じて
前記フィルムがポジフィルムであると判別することを特
徴とする請求項1記載の画像読み取りシステム。
2. The method according to claim 1, wherein the second processing unit determines that the film is a positive film in accordance with a degree of deviation of a frequency distribution of characteristic values of weighted colors of the transmitted light image. 2. The image reading system according to 1.
【請求項3】 前記互いに独立な3色はR(赤)、G
(緑)及びB(青)で構成され、 前記第二処理手段は、前記透過光像についてRの特性値
の度数分布がBの特性値の度数分布より大きな値に偏っ
ているとき前記フィルムがカラーネガフィルムであると
判別し、Bの特性値の度数分布がRの特性値の度数分布
より大きな値に偏っているとき前記フィルムがモノクロ
ネガフィルムであると判別することを特徴とする請求項
1又は2記載の画像読み取りシステム。
3. The three independent colors are R (red), G
(Green) and B (blue), wherein the second processing means is configured such that when the frequency distribution of the characteristic value of R is biased to a value larger than the frequency distribution of the characteristic value of B in the transmitted light image, 2. The film according to claim 1, wherein the film is determined to be a color negative film, and the film is determined to be a monochrome negative film when the frequency distribution of the characteristic value of B is biased to a value larger than the frequency distribution of the characteristic value of R. Or the image reading system according to 2.
【請求項4】 光電変換によりフィルムの透過光像をカ
ラー走査し前記透過光像の色ごとに重み付けしたR
(赤)、G(緑)及びB(青)の特性値を表す陰画デー
タ又は前記透過光像の色ごとに重み付けしていないR、
G及びBの特性値を表す陽画データを出力する撮像手段
と、 前記陽画データを前記撮像手段に出力させその出力され
た陽画データに基づきR、G及びBの特性値の度数分布
を表す度数分布データを出力する第一処理手段と、 前記度数分布データに基づき前記フィルムの種別を判別
する第二処理手段と、 前記フィルムの種別に応じて前記陰画データ又は前記陽
画データを前記撮像手段に出力させる第三処理手段と、 を備えることを特徴とする画像読み取りシステム。
4. An R image weighted for each color of the transmitted light image by scanning the transmitted light image of the film by photoelectric conversion.
Negative data representing characteristic values of (red), G (green) and B (blue) or R not weighted for each color of the transmitted light image,
Imaging means for outputting positive image data representing the characteristic values of G and B; and a frequency distribution representing the frequency distribution of the characteristic values of R, G and B based on the output of the positive image data to the imaging means. First processing means for outputting data; second processing means for determining the type of the film based on the frequency distribution data; and outputting the negative data or the positive image data to the imaging means according to the type of the film. An image reading system comprising: a third processing unit.
【請求項5】 前記第二処理手段は、前記透過光像につ
いてBの特性値の度数分布とRの特性値の度数分布との
相関の程度に応じて前記フィルムがポジフィルムである
と判別することを特徴とする請求項4記載の画像読み取
りシステム。
5. The second processing means determines that the film is a positive film according to a degree of correlation between a frequency distribution of characteristic values of B and a frequency distribution of characteristic values of R for the transmitted light image. 5. The image reading system according to claim 4, wherein:
【請求項6】 前記第二処理手段は、さらに前記透過光
像についてBの特性値の度数分布に対するRの特性値の
度数分布の偏りの程度に応じて前記フィルムがポジフィ
ルム又はカラーネガフィルムであると判別することを特
徴とする請求項5記載の画像読み取りシステム。
6. The second processing means, wherein the film is a positive film or a color negative film according to the degree of deviation of the frequency distribution of R characteristic values with respect to the frequency distribution of B characteristic values for the transmitted light image. The image reading system according to claim 5, wherein the determination is made as follows.
【請求項7】 前記第二処理手段は、さらに前記透過光
像についてBの特性値の度数分布に対するRの特性値の
度数分布の偏りの程度に応じて前記フィルムがポジフィ
ルム又はネガフィルムであると判別し、前記フィルムが
ネガフィルムであると判別したときにはさらに前記透過
光像についてGの特性値の度数分布とBの特性値の度数
分布との相関の程度に応じて前記ネガフィルムがカラー
ネガフィルム又はモノクロネガフィルムであると判別す
ることを特徴とする請求項6記載の画像読み取りシステ
ム。
7. The second processing means, wherein the film is a positive film or a negative film according to the degree of deviation of the frequency distribution of R characteristic values with respect to the frequency distribution of B characteristic values for the transmitted light image. When the film is determined to be a negative film, the negative film is further converted into a color negative film according to the degree of correlation between the frequency distribution of the characteristic values of G and the frequency distribution of the characteristic values of B for the transmitted light image. 7. The image reading system according to claim 6, wherein the image is determined to be a monochrome negative film.
【請求項8】 光電変換により光学像を走査する画像読
み取りシステムの撮像手段を制御するコンピュータに、 前記撮像手段にフィルムの透過光像をカラー走査させ前
記透過光像の互いに独立で色ごとに重み付けした3色の
特性値を表す陰画データを出力させる第一走査制御手順
と、 前記撮像手段が出力した陰画データに基づき前記3色の
特性値の度数分布を表す度数分布データを出力する第一
処理手順と、 前記度数分布データに基づき前記フィルムの種別を判別
する第二処理手順と、 前記フィルムの種別に応じて前記撮像手段にフィルムの
透過光像をカラー走査させ前記陰画データ又は前記透過
光像の互いに独立で色ごとに重み付けしていない3色の
特性値を表す陽画データを出力させる第二走査制御手順
と、 を実行させることを特徴とする画像読み取りシステムの
制御プログラム。
8. A computer for controlling an imaging unit of an image reading system that scans an optical image by photoelectric conversion. The imaging unit performs a color scan of a transmitted light image of a film, and weights the transmitted light images independently of each other for each color. A first scanning control procedure for outputting the negative image data representing the characteristic values of the three colors, and a first processing for outputting frequency distribution data representing the frequency distribution of the characteristic values of the three colors based on the negative image data output by the imaging means. A procedure, a second processing procedure for determining the type of the film based on the frequency distribution data, and color-scan the transmitted light image of the film to the imaging means according to the type of the film, the negative image data or the transmitted light image A second scanning control procedure for outputting positive image data representing characteristic values of three colors independent of each other and not weighted for each color, and Image reading system control program that.
【請求項9】 前記第二処理手順において、前記透過光
像の重み付けした色の特性値の度数分布の偏りの程度に
応じて前記フィルムがポジフィルムであると判別するこ
とを特徴とする請求項8記載の画像読み取りシステムの
制御プログラム。
9. The film processing apparatus according to claim 2, wherein in the second processing procedure, the film is determined to be a positive film according to a degree of deviation of a frequency distribution of characteristic values of weighted colors of the transmitted light image. 8. A control program for the image reading system according to 8.
【請求項10】 前記互いに独立な3色はR(赤)、G
(緑)及びB(青)で構成され、 前記第二処理手順において、前記透過光像についてRの
特性値の度数分布がBの特性値の度数分布より大きな値
に偏っているとき前記フィルムがカラーネガフィルムで
あると判別し、Bの特性値の度数分布がRの特性値の度
数分布より大きな値に偏っているとき前記フィルムがモ
ノクロネガフィルムであると判別することを特徴とする
請求項8又は9記載の画像読み取りシステムの制御プロ
グラム。
10. The three independent colors are R (red), G
(Green) and B (blue). In the second processing procedure, when the frequency distribution of the characteristic value of R in the transmitted light image is biased to a value larger than the frequency distribution of the characteristic value of B, 9. The film according to claim 8, wherein the film is determined to be a color negative film, and the film is determined to be a monochrome negative film when the frequency distribution of the characteristic value of B is biased to a value larger than the frequency distribution of the characteristic value of R. Or a control program for the image reading system according to 9.
【請求項11】 光電変換により光学像を走査する画像
読み取りシステムの撮像手段を制御するコンピュータ
に、 前記撮像手段にフィルムの透過光像をカラー走査させ前
記透過光像の色ごとに重み付けしていないR(赤)、G
(緑)及びB(青)の特性値を表す陽画データを出力さ
せる第一走査制御手順と、 前記撮像手段が出力した陽画データに基づきR、G及び
Bの特性値の度数分布を表す度数分布データを出力する
第一処理手順と、 前記度数分布データに基づき前記フィルムの種別を判別
する第二処理手順と、 前記フィルムの種別に応じて前記撮像手段にフィルムの
透過光像をカラー走査させ前記陽画データ又は前記透過
光像の色ごとに重み付けしたR、G及びBの特性値を表
す陰画データを出力させる第二走査制御手順と、 を備えることを特徴とする画像読み取りシステムの制御
プログラム。
11. A computer for controlling an imaging unit of an image reading system that scans an optical image by photoelectric conversion, wherein the imaging unit performs color scanning of a transmitted light image of a film and does not weight each color of the transmitted light image. R (red), G
A first scanning control procedure for outputting positive image data representing characteristic values of (green) and B (blue); and a frequency distribution representing a frequency distribution of characteristic values of R, G, and B based on the positive data output by the imaging means. A first processing procedure for outputting data, a second processing procedure for determining the type of the film based on the frequency distribution data, and performing color scanning of the transmitted light image of the film by the imaging unit according to the type of the film. A second scanning control procedure for outputting positive image data or negative image data representing R, G, and B characteristic values weighted for each color of the transmitted light image, and a control program for an image reading system.
【請求項12】 前記第二処理手順において、前記透過
光像についてBの特性値の度数分布とRの特性値の度数
分布との相関の程度に応じて前記フィルムがポジフィル
ムであると判別することを特徴とする請求項11記載の
画像読み取りシステムの制御プログラム。
12. In the second processing procedure, the film is determined to be a positive film according to a degree of correlation between a frequency distribution of characteristic values of B and a frequency distribution of characteristic values of R for the transmitted light image. The control program for an image reading system according to claim 11, wherein:
【請求項13】 前記第二処理手順において、さらに前
記透過光像についてBの特性値の度数分布に対するRの
特性値の度数分布の偏りの程度に応じて前記フィルムが
ポジフィルム又はカラーネガフィルムであると判別する
ことを特徴とする請求項12記載の画像読み取りシステ
ムの制御プログラム。
13. In the second processing procedure, the film is a positive film or a color negative film according to the degree of deviation of the frequency distribution of R characteristic values with respect to the frequency distribution of B characteristic values for the transmitted light image. 13. The control program for an image reading system according to claim 12, wherein:
【請求項14】 前記第二処理手順において、さらに前
記透過光像についてBの特性値の度数分布に対するRの
特性値の度数分布の偏りの程度に応じて前記フィルムが
ポジフィルム又はネガフィルムであると判別し、前記フ
ィルムがネガフィルムであると判別したときにはさらに
前記透過光像についてGの特性値の度数分布とBの特性
値の度数分布との相関の程度に応じて前記ネガフィルム
がカラーネガフィルム又はモノクロネガフィルムである
と判別することを特徴とする請求項13記載の画像読み
取りシステムの制御プログラム。
14. In the second processing procedure, the film is a positive film or a negative film according to the degree of deviation of the frequency distribution of R characteristic values with respect to the frequency distribution of B characteristic values for the transmitted light image. When the film is determined to be a negative film, the negative film is further converted into a color negative film according to the degree of correlation between the frequency distribution of the characteristic values of G and the frequency distribution of the characteristic values of B for the transmitted light image. 14. The control program according to claim 13, wherein the program is determined to be a monochrome negative film.
【請求項15】 請求項8〜14のいずれか一項に記載
の画像読み取りシステムの制御プログラムを記録したコ
ンピュータ読み取り可能な記録媒体。
15. A computer-readable recording medium storing a control program for the image reading system according to claim 8. Description:
JP2001173147A 2001-06-07 2001-06-07 Image reading system and control program for image reading system Withdrawn JP2002369016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001173147A JP2002369016A (en) 2001-06-07 2001-06-07 Image reading system and control program for image reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001173147A JP2002369016A (en) 2001-06-07 2001-06-07 Image reading system and control program for image reading system

Publications (1)

Publication Number Publication Date
JP2002369016A true JP2002369016A (en) 2002-12-20

Family

ID=19014660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001173147A Withdrawn JP2002369016A (en) 2001-06-07 2001-06-07 Image reading system and control program for image reading system

Country Status (1)

Country Link
JP (1) JP2002369016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312899C (en) * 2003-08-22 2007-04-25 佳能株式会社 Image reading system, image reading method and program for implementing the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312899C (en) * 2003-08-22 2007-04-25 佳能株式会社 Image reading system, image reading method and program for implementing the method

Similar Documents

Publication Publication Date Title
TWI271994B (en) Scanning device calibration system and method
US6775419B2 (en) Image processing method, image processing apparatus, and storage medium for storing control process
EP0893914A2 (en) Image processing method, image processing apparatus, and storage medium for storing control process
JP2011109625A (en) Image reading apparatus, image data output processing apparatus with the same, and image reading method
JP2005065276A (en) System and method for automatic correction of illumination noise caused by ambient light
US7400430B2 (en) Detecting and compensating for color misregistration produced by a color scanner
US20040263920A1 (en) Image reading apparatus and method
EP0810551B1 (en) Detection of and correction for specular reflections in digital image acquisition
JP2002369016A (en) Image reading system and control program for image reading system
JP2003283849A (en) Method for detecting and correcting red eye
JPH10224645A (en) Image density adjustment device and image density adjustment method
US6566647B1 (en) Exposure timing alignment for color specific exposure times
JPH11331575A (en) Image processing device
US20030117659A1 (en) Image reading device and method
JP2002366942A (en) Image reading system and control program for image reading system
JP2003037713A (en) Image reading device
JP2001148762A (en) Device and method for reading image, and storage medium
JP6919460B2 (en) Image reader, image forming device and image reading method
JP2971522B2 (en) Image reading device
JPH11355511A (en) Picture processor
JP2000278528A (en) Image processor and image processing method
JP2000349968A (en) Image processor
JP2021052243A (en) Image reading device and program
GB2399249A (en) Scanning different image planes and determining best image quality
JPH07298046A (en) Image reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050823

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061222

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061226

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070731

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070928