Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3347153B2 - Color image reader - Google Patents
[go: Go Back, main page]

JP3347153B2 - Color image reader - Google Patents

Color image reader

Info

Publication number
JP3347153B2
JP3347153B2 JP00172092A JP172092A JP3347153B2 JP 3347153 B2 JP3347153 B2 JP 3347153B2 JP 00172092 A JP00172092 A JP 00172092A JP 172092 A JP172092 A JP 172092A JP 3347153 B2 JP3347153 B2 JP 3347153B2
Authority
JP
Japan
Prior art keywords
data
film
image
color
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP00172092A
Other languages
Japanese (ja)
Other versions
JPH05191567A (en
Inventor
啓二 楠本
祥二 今泉
賢一 室木
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP00172092A priority Critical patent/JP3347153B2/en
Priority to US08/000,631 priority patent/US5579131A/en
Publication of JPH05191567A publication Critical patent/JPH05191567A/en
Application granted granted Critical
Publication of JP3347153B2 publication Critical patent/JP3347153B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Color Image Communication Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はカラー画像の読取り装置
に関し、特にフィルムのカラー画像の読取りに適したも
ので、光学系により結像されたカラー画像を3色分の色
分解信号として読み込む撮像手段を持ったカラー画像の
読取り装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image reading apparatus, and more particularly to an apparatus suitable for reading a color image on a film. The apparatus reads a color image formed by an optical system as color separation signals for three colors. The present invention relates to a color image reading device having means.

【0002】[0002]

【従来の技術】光学系により結像されたカラー画像を読
み取る場合、カラーフィルムは、通常の反射型原稿とは
異なった特徴を持っている。
2. Description of the Related Art When reading a color image formed by an optical system, a color film has characteristics different from those of a normal reflection type original.

【0003】例えば同一の被写体であっても、撮影され
る露光条件の違いによって透過濃度が異なるし、ネガか
ポジかの違い、あるいは感度の違いと云ったフィルムの
種類の違いによって、赤、緑、青(以下R、G、Bと云
う)光相互のバランスが異なる。
For example, even for the same subject, the transmission density varies depending on the exposure conditions to be photographed, and the red and green colors vary depending on the type of film such as the difference between negative or positive or the difference in sensitivity. , Blue (hereinafter referred to as R, G, B) light have different balances.

【0004】特開平2−65374号公報は、前記の違
いを補正して画像読取りを行うのに、基準ルックアップ
テーブル(以下LUTと云う)を設けておき、これに予
め入力し設定しておいた基準値と、画像を読み取った変
換前のデジタル画像信号との差で画像読取りデータを補
正するようにしたものを開示している。
In Japanese Patent Application Laid-Open No. 2-65374, a reference look-up table (hereinafter referred to as an LUT) is provided for performing image reading by correcting the above difference, and is inputted and set in advance. A technique is disclosed in which image reading data is corrected based on a difference between a reference value and a converted digital image signal obtained by reading an image.

【0005】[0005]

【発明が解決しようとする課題】しかし上記従来のもの
は、フィルムの種類の数だけの基準となるLUTのため
のメモリを用意する必要があるので、その分だけ回路コ
ストが高くつく。
However, in the above-mentioned conventional device, it is necessary to prepare a memory for an LUT which is used as a reference only for the number of types of films, so that the circuit cost is increased accordingly.

【0006】また前記LUTによる補正を行うのに、フ
ィルムの種類を入力すると云った複雑な構成や操作が必
要となるので、この面でもコストが高くつくし操作勝手
の悪いものとなる。
In order to perform the correction using the LUT, a complicated configuration or operation such as inputting the type of film is required. In this aspect, the cost is high and the operation is difficult.

【0007】さらに予め設定した基準値によって一律に
補正を行うのでは、例えばコントラストの弱い景色を撮
影しているのに、補正によってコントラストが強くなっ
て撮影者の狙った出力が出せないと云った不都合が生じ
る。
Further, if the correction is uniformly performed using a preset reference value, for example, even though a scene with a low contrast is photographed, the contrast is increased by the correction, and the output intended by the photographer cannot be output. Inconvenience occurs.

【0008】また夕焼けの景色のようにR、G、Bのバ
ランスがくずれる場合に、R、G、Bの画像データのバ
ランスを一律に補正しても前記同様、撮影者が狙ったも
の通りの出力が出せないことになる。
Further, when the balance of R, G, and B is lost as in a sunset scene, even if the balance of the R, G, and B image data is corrected uniformly, the photographer is aimed at in the same manner as described above. No output can be output.

【0009】そこで本発明は、画像を読み取ったデータ
にて露光条件の違いやフィルムの種類に係わる特性値を
抽出し、この抽出データに応じた内容の補正を行ように
して、前記従来のような問題を解消することができるカ
ラー画像の読取り装置を提供することを課題とするもの
である。
Therefore, the present invention extracts characteristic values relating to differences in exposure conditions and the type of film from data obtained by reading an image, and corrects the contents in accordance with the extracted data. It is an object of the present invention to provide a color image reading device capable of solving various problems.

【0010】[0010]

【課題を解決するための手段】上記のような課題を達成
するために、カラー画像を読取り、色分解された各色の
画像データを得る撮像手段と、前記撮像手段で得られた
各色の画像データに対して、カラーバランスの補正を行
なうカラーバランス補正手段と、前記撮像手段で得られ
た画像データに対して、コントラストの補正を行なうコ
ントラスト補正手段と、前記撮像手段で得られた各色の
画像データに基づき、各色間のばらつきの大きさを示す
第1データを抽出する第1抽出手段と、前記撮像手段で
得られた各色の画像データのうち、所定の1色について
画像データの大小差を示す第2データを抽出する第2
抽出手段と、前記第1データが第1閾値より大きい
合、前記カラーバランス補正手段および前記コントラス
ト補正手段による補正を禁止する第1制御手段と、前記
第1データが第1閾値以下で、かつ前記第2データが
2閾値以下の場合、前記カラーバランス補正手段による
補正を許可し、前記コントラスト補正手段による補正を
禁止する第2制御手段と、を備えたことを主たる特徴と
している。
In order to achieve the above object, an image pickup means for reading a color image and obtaining color-separated image data, and image data for each color obtained by the image pickup means Color balance correction means for correcting the color balance, contrast correction means for correcting the contrast of the image data obtained by the imaging means, and image data of each color obtained by the imaging means Extracting means for extracting first data indicating the magnitude of the variation between the colors, based on the image data, and a predetermined one color of the image data of each color obtained by the imaging means.
Extracting the second data indicating the size difference of the image data of
Extracting means; first control means for inhibiting correction by the color balance correction means and the contrast correction means when the first data is larger than a first threshold value; And the second data is the
A main feature is that a second control unit that permits correction by the color balance correction unit and prohibits correction by the contrast correction unit when the threshold value is equal to or less than two thresholds is provided.

【0011】本発明の前記第1データは、前記撮像手段
で得られた複数の画素の画像データの最大値もしくは最
小値を用いて演算される。
The first data of the present invention is calculated using the maximum value or the minimum value of the image data of a plurality of pixels obtained by the imaging means.

【0012】また、別に本発明の前記第1データは、前
記撮像手段で得られた複数の画素の画像データの平均値
を用いて演算される。
Further, the first data of the present invention is calculated using an average value of image data of a plurality of pixels obtained by the imaging means.

【0013】各色の画像データはその平均値とすること
ができる。
The image data of each color can be an average value.

【0014】[0014]

【作用】本発明の主たる特徴の構成では、カラー画像を
撮像手段により読み取る際に、前処理としての画像読取
りが行われ、このとき撮像手段によって得られた各色の
画像データに基づき、第1抽出手段により各色間のばら
つきの大きさを示す第1データが抽出され、第2抽出手
段により各色の画像データのうち、所定の1色について
画像データの大小差を示す第2データが抽出され、前
記撮像手段によって得られた各色の画像データに対し、
前記第1データおよび前記第2データに基づきカラーバ
ランス補正手段およびコントラスト補正手段による補正
の適正化が図られる。
According to the constitution of the main feature of the present invention, when a color image is read by the image pickup means, image reading as preprocessing is performed, and the first extraction is performed based on the image data of each color obtained by the image pickup means at this time. Means for extracting first data indicating the magnitude of variation between the colors, and second extracting means for a predetermined one of the image data of each color.
The second data indicating the size difference of the image data is extracted, and for the image data of each color obtained by the imaging unit,
Correction by the color balance correction unit and the contrast correction unit is optimized based on the first data and the second data.

【0015】特に、前記カラーバランスとコントラスト
の適正化を図りながら、第1データが第1閾値より大き
場合、第1制御手段によってカラーバランス補正手段
およびコントラスト補正手段による補正を禁止し、第1
データが第1閾値以下で、第2データが第2閾値以下
場合、第2制御手段によってカラーバランス補正手段に
よる補正を許可し、前記コントラスト補正手段による補
正を禁止するので、夕焼けなどのカラーバランスの崩れ
を狙っているような場合のカラーバランスの補正に加
え、コントラストの補正も行わないようにして、狙いが
一層保証できるようにし、また、コントラストの弱い景
色などの場合にそれを極端にするようなコントラストの
補正が行われないようにすることができる。
In particular, the first data is larger than the first threshold value while optimizing the color balance and the contrast.
The correction by the color balance correction means and the contrast correction means is prohibited by the first control means.
When the data is equal to or less than the first threshold value and the second data is equal to or less than the second threshold value , the correction by the color balance correction means is permitted by the second control means and the correction by the contrast correction means is prohibited. In addition to correcting the color balance when aiming for the collapse of the image, the correction of the contrast is also not performed, so that the aim can be further guaranteed, and in the case of a scene with low contrast, it will be extreme Such contrast correction can be prevented.

【0016】[0016]

【0017】前記第1データは、前記撮像手段で得られ
た複数の画素の画像データの最大値もしくは最小値を用
いて演算されると、画像の濃度の過剰もしくは不足を判
定することができるし、最大値ではゲイン補正に適し、
最小値では出力範囲補正に適している。
When the first data is calculated using the maximum value or the minimum value of the image data of a plurality of pixels obtained by the image pickup means, it is possible to determine whether the image density is excessive or insufficient. , The maximum value is suitable for gain correction,
The minimum value is suitable for output range correction.

【0018】また、前記第1データは、前記撮像手段で
得られた複数の画素の画像データの平均値を用いて演算
されても、カラーバランスを判定して上記コントラスト
補正手段による補正情報とすることができる。
Further, even if the first data is calculated by using an average value of the image data of a plurality of pixels obtained by the imaging means, the color balance is determined to be the correction information by the contrast correction means. be able to.

【0019】[0019]

【実施例】以下本発明の一実施例につき図を参照して詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings.

【0020】本実施例はカラーフィルムの画像を読取る
ようにしたカラー画像読取り装置を示し、画像読取りデ
ータを種々に処理をして外部機器、例えばデジタル複写
機に入力し、前記処理に基づく各種複写画像を得るよう
な場合に用いられるものである。
This embodiment shows a color image reading apparatus which reads an image on a color film. The image reading data is processed in various ways and input to an external device, for example, a digital copying machine. This is used when obtaining an image.

【0021】図1は本実施例の装置の正面より見た概略
構成を示している。図1に見られるように、画像の読取
りおよび信号の処理を行う装置本体1の上部に、読み取
った画像を表示したり、各種処理の操作を行うためのカ
ラーCRT2が設けられている。
FIG. 1 shows a schematic configuration of the apparatus of this embodiment as viewed from the front. As shown in FIG. 1, a color CRT 2 for displaying a read image and performing various processing operations is provided on an upper portion of an apparatus main body 1 for reading an image and processing a signal.

【0022】画像の読み取りに供するフィルム11はフ
ィルムキャリア3に保持して図1に示すトロッコ61に
矢印aの方向に装填し、装填後はトロッコ61を矢印b
の方向にフィルムキャリア3を伴って移動させることに
よりフィルム11の所定の駒を画像読取りのための投影
光路上に位置合わせできるようにしてある。
The film 11 to be used for reading an image is held in the film carrier 3 and loaded on the trolley 61 shown in FIG. 1 in the direction of arrow a.
Is moved along with the film carrier 3 so that a predetermined frame of the film 11 can be positioned on a projection optical path for reading an image.

【0023】図2は装置本体1を上部から見た画像読取
り装置の概略構成を示している。本実施例の画像読取り
装置は、画像が読み取られるフィルム11およびフィル
ム画像を読取るカラーCCDセンサ112を固定した1
次元ライン照明方式を採っている。
FIG. 2 shows a schematic configuration of the image reading apparatus when the apparatus main body 1 is viewed from above. The image reading apparatus according to the present embodiment includes a film 11 on which an image is read and a color CCD sensor 112 for reading a film image.
It adopts a two-dimensional line illumination system.

【0024】したがって副走査方向にデータを読取るた
めに、照明部113および第1、第2、第3の各ミラー
12、13、14が往復移動する。
Therefore, in order to read data in the sub-scanning direction, the illumination section 113 and the first, second, and third mirrors 12, 13, and 14 reciprocate.

【0025】図2では照明部113および第1、第2、
第3の各ミラー12、13、14は走査開始位置にて実
線で示されている。
In FIG. 2, the illumination unit 113 and the first, second,
The third mirrors 12, 13, and 14 are shown by solid lines at the scanning start position.

【0026】本実施例での画像読取り装置はまた、サイ
ズの異なるフィルム11を照明し、その透過光をカラー
CCDセンサ112の所定サイズ部へ投影し、カラーC
CDセンサ112の解像度を生かして画像を読取るため
に、フィルムサイズによって光学系のカラーCCDセン
サ112への結像倍率を変更するようにしてある。
The image reading apparatus of this embodiment also illuminates films 11 of different sizes, projects the transmitted light onto a predetermined size portion of a color CCD sensor 112,
In order to read an image by making use of the resolution of the CD sensor 112, the image forming magnification of the optical system on the color CCD sensor 112 is changed depending on the film size.

【0027】具体的には35mmフィルムの場合は×
2.5050、6cmフィルムの場合は×0.947
4、4×5インチフィルムの場合は×0.5734とな
る。但しこれはフィルム11の短辺方向をカラーCCD
センサ112の主走査方向とした場合である。
Specifically, in the case of a 35 mm film,
2.5050, × 0.947 for 6cm film
In the case of a 4, 4 × 5 inch film, it becomes × 0.5734. However, this means that the short side direction of the film 11 is a color CCD.
This is the case where the main scanning direction of the sensor 112 is set.

【0028】光学倍率の変更は、共役長を変える方式を
採っている。これは公知であるので詳述しないが、第
2、第3ミラー13、14および結像レンズ15、レン
ズバックミラー16、17の位置を変えることによって
行っている。
The optical magnification is changed by changing the conjugate length. Although this is publicly known and will not be described in detail, it is performed by changing the positions of the second and third mirrors 13 and 14, the imaging lens 15, and the lens rear-view mirrors 16 and 17.

【0029】データの変倍処理は、前記光学倍率の変更
とは異なり、副走査方向はスキャン速度を可変とするこ
とによって、また主走査方向は電気的なデータの処理に
よって行っている。
The data scaling process differs from the optical magnification change in that the scanning speed is variable in the sub-scanning direction and electrical data processing is performed in the main scanning direction.

【0030】フィルム11と各種構成物の位置との関係
を説明すると、第2、第3の各ミラー13、14は共役
長補正用のステッピングモータによって同体的に駆動さ
れる。
The relationship between the film 11 and the positions of the various components will be described. The second and third mirrors 13 and 14 are driven together by a stepping motor for conjugate length correction.

【0031】フィルムサイズ毎の走査開始時の位置は、
図に示されている通り、35mmフィルムの場合は実線
位置、6cmフィルムの場合は一点鎖線の位置、4×5
インチフィルムの場合は二点鎖線の位置である。
The position at the start of scanning for each film size is
As shown in the figure, the position of the solid line for a 35 mm film, the position of the dashed line for a 6 cm film, 4 × 5
In the case of an inch film, the position is indicated by a two-dot chain line.

【0032】位置決め制御としては、35mmフィルム
と6cmフィルムに対しては図2に実線で示す同一位置
でよく、4×5インチフィルムの場合だけ一点鎖線で示
す位置とされる。
As for the positioning control, the same position shown by a solid line in FIG. 2 may be used for a 35 mm film and a 6 cm film, and the position shown by a dashed line only for a 4 × 5 inch film.

【0033】結像レンズ15の移動および位置制御も図
示しない専用のステッピングモータを利用して前記ミラ
ーの場合と同様に行われる。
The movement and position control of the imaging lens 15 are performed in the same manner as in the case of the mirror using a dedicated stepping motor (not shown).

【0034】レンズバックミラー16、17は35mm
フィルムに対しては図2の実線の位置とされて、レンズ
バック固定ミラー18と協働するようにされ、6cmフ
ィルムおよび4×5インチフィルムに対しては、一点鎖
線で示す位置とされて固定ミラー18から独立して働く
ようにしてある。
The lens rearview mirrors 16 and 17 are 35 mm
For the film, the position shown by the solid line in FIG. 2 is set to cooperate with the lens back fixing mirror 18, and for the 6 cm film and the 4 × 5 inch film, the position is indicated by the dashed line and fixed. It works independently of the mirror 18.

【0035】このために35mmフィルムの画像読取り
に使用するレンズバック固定ミラー18は図2の実線の
位置に固定され、35mmフィルム読取りの実線位置に
到達したレンズバックミラー16、17に対してはその
光路内に位置するが、6cmフィルムおよび4×5イン
チフィルム読取りの一点鎖線位置に到達したレンズバッ
クミラー16、17に対しては、その光路から外れる。
For this reason, the lens back fixed mirror 18 used for reading an image on a 35 mm film is fixed at the position indicated by the solid line in FIG. The lens rearview mirrors 16 and 17 which are located in the optical path but reach the dash-dot line positions for reading 6 cm film and 4 × 5 inch film are out of the optical path.

【0036】これらレンズバックミラー16、17も図
示しない専用のステッピングモータによって、前記ミラ
ーや結像レンズと同様に位置制御される。
The positions of the lens rear mirrors 16 and 17 are controlled by a dedicated stepping motor (not shown) in the same manner as the mirrors and the imaging lenses.

【0037】カラーCCDセンサ112の前には、4種
類のフィルタ21、22、23、24が装着したフィル
タ部25が設けられている。
In front of the color CCD sensor 112, there is provided a filter section 25 on which four kinds of filters 21, 22, 23 and 24 are mounted.

【0038】このフィルタ部25は、ネガ、ポジフィル
ムに応じてカラーCCDセンサ112への光量、R、
G、Bのバランスを合わせ込む働きを持つものである。
The filter unit 25 is adapted to control the amount of light, R,
It has the function of adjusting the balance between G and B.

【0039】フィルタ21は、ネガフィルムの画像を読
み取る実動作時に挿入されるフィルタであり、例えばL
B100等が使用される。
The filter 21 is a filter inserted at the time of actual operation of reading a negative film image.
B100 or the like is used.

【0040】フィルタ22は、ポジフィルムの画像を読
み取る実動作時に挿入されるフィルタであり、例えばN
Dフィルタ等が使用される。
The filter 22 is a filter inserted at the time of actual operation of reading an image on a positive film.
A D filter or the like is used.

【0041】フィルタ23は、ネガフィルムのシェーデ
ィング補正用データの取り込み時に挿入されるフィルタ
である。
The filter 23 is a filter inserted when the shading correction data of the negative film is taken in.

【0042】フィルタ24は、ポジフィルムのシェーデ
ィング補正用データの取り込み時に挿入されるフィルタ
である。
The filter 24 is a filter inserted when the shading correction data of the positive film is taken in.

【0043】実動作とシェーディング補正データの取り
込み時とでフィルタを分けているのは、シェーディング
補正データ取り込み時は、フィルムが無い状態であり、
実動作時はフィルムがある状態であるので、光量、バラ
ンスが異なりこれを是正するためである。
The reason why the filter is divided between the actual operation and when the shading correction data is fetched is that there is no film when the shading correction data is fetched.
Since the film is present during the actual operation, the amount of light and the balance are different to correct this.

【0044】このフィルター部25のフィルタ切換え動
作は、図示しないステッピングモータにより前記ミラー
等の場合同様に行われる。
The filter switching operation of the filter section 25 is performed by a stepping motor (not shown) in the same manner as in the case of the mirror or the like.

【0045】このための補助機構として、フィルター部
移動範囲の右限位置を検出するセンサ26と左限位置を
検出するセンサ27とを設けてある。
As an auxiliary mechanism for this purpose, a sensor 26 for detecting the rightmost position and a sensor 27 for detecting the leftmost position of the filter section moving range are provided.

【0046】カラーCCDセンサ112の前にフィルタ
部25を設けると、フィルタ21、22、23、24を
カラーCCDセンサ112とほぼ等しい最小のサイズと
し、これに必要なマージンを設けた程度の極く小さいフ
ィルタ部25とすることができる。
When the filter section 25 is provided in front of the color CCD sensor 112, the filters 21, 22, 23, and 24 have the minimum size substantially equal to that of the color CCD sensor 112 and are extremely small enough to provide a necessary margin. The filter unit 25 can be small.

【0047】副走査方向にフィルムを読取るためのスキ
ャンは、図示しないスキャン用のステッピングモータに
より、照明部113および第1、第2、第3の各ミラー
12、13、14を駆動して行う。
Scanning for reading the film in the sub-scanning direction is performed by driving the illumination unit 113 and the first, second, and third mirrors 12, 13, and 14 by a scanning stepping motor (not shown).

【0048】照明部113は、交換可能なランプユニッ
ト41と、光路折り返しミラー42と、図3に示す防熱
フィルタ43と、表裏に集光面と拡散面とを持った蒲鉾
型レンズ44とで構成され、照明部113と第1、第
2、第3の各ミラー12、13、14の移動部との間に
位置するトロッコ61に装着されるフィルムキャリア3
に保持されたフィルム11を照明し、そのフィルム11
の画像が結像レンズ15によってカラーCCDセンサ1
12上に結像されるようにする。
The illuminating section 113 is composed of a replaceable lamp unit 41, an optical path turning mirror 42, a heat-insulating filter 43 shown in FIG. 3, and a lens 44 having a condensing surface and a diffusing surface on both sides. The film carrier 3 mounted on the trolley 61 located between the illumination unit 113 and the moving units of the first, second, and third mirrors 12, 13, and 14.
Illuminate the film 11 held in the
Of the color CCD sensor 1 by the imaging lens 15
12 to be imaged.

【0049】前記折り返しミラー42は、ランプユニッ
ト41に水平姿勢にてセットされるハロゲンランプ45
からの照明光を、ランプ設置位置よりも高い位置に垂直
に配置されるフィルムに導くために設けられている。
The folding mirror 42 is provided with a halogen lamp 45 which is set on the lamp unit 41 in a horizontal posture.
Is provided to guide the illumination light from the film to a film vertically arranged at a position higher than the lamp installation position.

【0050】蒲鉾型レンズ44は、集光性を向上させる
ために設けられ、拡散面は付着したホコリ等が投影画像
上にて目立たないようにするものである。
The semi-cylindrical lens 44 is provided to improve the light-collecting property, and the diffusing surface is used to make the adhered dust and the like inconspicuous on the projected image.

【0051】ランプユニット41は図4に示す通りボッ
クス型をしており、上面に投光窓46が設けられてい
る。この投光窓46はランプ45が装着されると開き、
ランプ45が未装着な状態では閉じるシャッタ47が設
けられている。
The lamp unit 41 has a box shape as shown in FIG. 4, and a light emitting window 46 is provided on the upper surface. The light emitting window 46 opens when the lamp 45 is mounted,
A shutter 47 that closes when the lamp 45 is not mounted is provided.

【0052】ランプユニット41は図4、図5に示すよ
うに、ランプ45からの光を投光窓46に向ける反射笠
48と、温度ヒューズ49、およびランプユニット41
の種類を判別するためのグランドとのショート線50、
ランプユニット41を装置本体1に装着したときに装置
本体1との電気的接続を行うコネクタ51を有してい
る。
As shown in FIGS. 4 and 5, the lamp unit 41 includes a reflector 48 for directing light from the lamp 45 to the light projecting window 46, a temperature fuse 49, and the lamp unit 41.
Short line 50 with the ground to determine the type of
When the lamp unit 41 is mounted on the apparatus main body 1, it has a connector 51 for making an electrical connection with the apparatus main body 1.

【0053】ショート線50は2ビットのコードを予め
設定しておくもので、2本のショート線50の接続状態
を図10に示すCPU200がパラレルI/Oポート2
06よりデータを取り込んで識別するようになってい
る。
The short line 50 has a 2-bit code set in advance, and the CPU 200 shown in FIG.
From 06, data is fetched and identified.

【0054】ランプユニット41の種類としては、図6
の(a)に示す35mmフィルム用のランプ45aを装
着したもの、同図(b)に示す6cmフィルム用のラン
プ45bを装着したもの、同図(c)に示す4×5イン
チフィルム用のランプ45cを装着したものの3種類が
あり、必要に応じて交換される。
The type of the lamp unit 41 is shown in FIG.
(A) equipped with a 35 mm film lamp 45a shown in FIG. 3 (b), equipped with a 6 cm film lamp 45b shown in FIG. 3 (b), and a 4 × 5 inch film lamp shown in FIG. There are three types with 45c, which are replaced as needed.

【0055】これらランプ45a〜45cはフィルム1
1のサイズが大きくなるのに伴って有効発光部45dが
長くなるようになっている。
The lamps 45a to 45c are used for the film 1
The effective light-emitting portion 45d becomes longer as the size of the light-emitting portion 1 becomes larger.

【0056】ところでランプ45を共通にすると、膨大
なW数のランプ45が必要となり、小サイズのフィルム
11の投影時に電力を必要以上に消費してしまう。そし
て温度に対して許容度の少ないフィルム11を使用する
場合に特に問題となる。
By the way, if the lamps 45 are used in common, a large number of W lamps 45 are required, and power is unnecessarily consumed when projecting a small-sized film 11. This is particularly problematic when using a film 11 having a low tolerance for temperature.

【0057】前記のようにフィルム11のサイズに応じ
てランプ45の種類を変えることにより、そのような問
題を解消することができる。しかし各ランプ45a〜4
5cはフィルム11のサイズに応じて適正に選択され、
使用されなければならない。
By changing the type of the lamp 45 according to the size of the film 11 as described above, such a problem can be solved. However, each lamp 45a-4
5c is appropriately selected according to the size of the film 11,
Must be used.

【0058】これを保証するのに、前記のように装置本
体1に装着されたランプユニット41の種類を自動的に
検出して対処する。
In order to guarantee this, the type of the lamp unit 41 mounted on the apparatus main body 1 is automatically detected as described above, and a countermeasure is taken.

【0059】フィルムキャリア3は、図7の(a)に示
す4×5インチフィルム用のフィルムキャリア3a、同
図(b)に示す6cmフィルム用のフィルムキャリア3
b、同図(c)に示す35mm連続フィルム用のフィル
ムキャリア3c、同図(d)に示す35mmマウントフ
ィルム用のフィルムキャリア3dの4種類がある。
The film carrier 3 includes a film carrier 3a for a 4 × 5 inch film shown in FIG. 7A and a film carrier 3 for a 6 cm film shown in FIG.
b, a film carrier 3c for a 35 mm continuous film shown in FIG. 3C, and a film carrier 3d for a 35 mm mount film shown in FIG.

【0060】なお6cmフィルム用のフィルムキャリア
3bは、6×9mmの投影窓3eを持ったものとし、6
cmフィルムのサイズが6×4.5、6×6、6×7、
6×9と云った各種があるのに対応できるようにしてあ
る。
The film carrier 3b for a 6 cm film has a projection window 3e of 6 × 9 mm.
cm film size is 6 × 4.5, 6 × 6, 6 × 7,
It is designed to cope with various types of 6 × 9.

【0061】各フィルムキャリア3a〜3dは、表裏2
枚の保持板が上方のヒンジ連結部を支点として開閉さ
れ、フィルム11を挟み込み、またこれを引き出せるよ
うにいている。
Each of the film carriers 3a to 3d is
The holding plates are opened and closed with the upper hinge connection portion as a fulcrum, so that the film 11 can be sandwiched and pulled out.

【0062】各フィルムキャリア3a〜3dは外形寸法
を同じくして、装置本体1側での受け入れ条件を統一す
ることにより装置本体1側の構成とそれらの着脱操作の
簡易化を図っている。
Each of the film carriers 3a to 3d has the same external dimensions, and the receiving conditions on the apparatus main body 1 side are unified to simplify the configuration on the apparatus main body 1 side and the operation of attaching and detaching them.

【0063】各フィルムキャリア3a〜3dには、種類
検出用の穴61の位置や数が異なるものと、穴61が無
いものとの区別があり、この違いによってそれぞれに保
持しているフィルム11の種類が光学的に検出されるよ
うにしてある。
In each of the film carriers 3a to 3d, there is a distinction between those having different positions and the number of holes 61 for type detection and those having no holes 61. The type is detected optically.

【0064】また各フィルムキャリア3a〜3dには、
それぞれのフィルム投影窓3eに対応して、フィルムキ
ャリア3の各適正セット位置を検出するためのセット検
出用穴62が設けられ、各フィルムキャリア3a〜3d
が保持しているフィルム11が投影光路上に適正にセッ
トされたことを光学的に検出できるようにしている。
In each of the film carriers 3a to 3d,
A set detection hole 62 for detecting an appropriate set position of the film carrier 3 is provided corresponding to each of the film projection windows 3e, and each of the film carriers 3a to 3d.
Can optically detect that the film 11 held by the camera is properly set on the projection optical path.

【0065】前記フィルムキャリア3を保持して移動す
るトロッコ61には、前記フィルムキャリア3a〜3d
の種類を検出するための透過型フォトセンサ162、1
63と、フィルムキャリア3a〜3dが装着されている
かどうかを検出する透過型フォトセンサ164とが、ト
ロッコ61に装着されるフィルムキャリア3a〜3dを
挟み込むような配置にて内蔵されている。
The trolley 61 which moves while holding the film carrier 3 includes the film carriers 3a to 3d.
Transmission type photo sensors 162, 1 for detecting the type of
63 and a transmissive photosensor 164 for detecting whether or not the film carriers 3a to 3d are mounted are built in such an arrangement as to sandwich the film carriers 3a to 3d mounted on the trolley 61.

【0066】さらに、装置本体1のトロッコ61が移動
する近傍位置には、トロッコ61に装着された各フィル
ムキャリア3a〜3dの前記セット状態を検出するため
の透過型フォトセンサ165が、トロッコ61を挟み込
むような配置で設けられている。
Further, a transmission type photo sensor 165 for detecting the set state of each of the film carriers 3a to 3d mounted on the trolley 61 is provided at a position near the trolley 61 of the apparatus main body 1 where the trolley 61 moves. It is provided in such an arrangement as to sandwich it.

【0067】カラーCRT2は図9に示すように、フィ
ルム11から読み取った画像の表示、コピーモードの設
定やトリミング領域の設定を行うモニタ表示部71と、
プリント動作を指示するための操作パネル72、および
内部パネル73を持っている。
As shown in FIG. 9, the color CRT 2 includes a monitor display section 71 for displaying an image read from the film 11, setting a copy mode, and setting a trimming area.
An operation panel 72 for instructing a print operation and an internal panel 73 are provided.

【0068】モニタ表示部71は、以下のような表示部
および操作部を持っている。
The monitor display section 71 has the following display section and operation section.

【0069】・ 画像表示領域81; 読み取ったフィ
ルム画像を表示する。
Image display area 81: The read film image is displayed.

【0070】・ メッセージ表示部82; 必要なラン
プユニット41の種類、フィルムキャリア3の種類を表
示したり、シェーディング補正用データの取り込み中表
示、フィルムキャリア引き抜き表示等のメッセージを表
示し、またフィルムの種類と出力用紙サイズを表示す
る。
A message display section 82 displays necessary types of the lamp unit 41 and the type of the film carrier 3, displays a message indicating that shading correction data is being fetched, indicates that the film carrier is being pulled out, etc. Displays the type and output paper size.

【0071】・ 画像調整ボタン83; 画像調整を行
う際にこのボタン83をカーソルにより選択することに
よりサブメニューが表示され、カラーバランス等の画像
調整の設定が可能になる。
Image adjustment button 83: When performing the image adjustment, by selecting this button 83 with the cursor, a submenu is displayed, and image adjustment such as color balance can be set.

【0072】・ トリミングボタン84; トリミング
モードを設定する。
Trimming button 84: Sets a trimming mode.

【0073】・ 拡大連写ボタン85; 拡大連写モー
ドを設定する。このボタンを選択することによりサブメ
ニューが表示され、出力サイズが設定可能になる。
Enlarged continuous shooting button 85: An enlarged continuous shooting mode is set. By selecting this button, a submenu is displayed and the output size can be set.

【0074】・ 縮小連写ボタン86; 縮小連写モー
ドを設定する。
Reduced continuous shooting button 86: A reduced continuous shooting mode is set.

【0075】・ 出力確認ボタン87; プリントアウ
トされる画像と用紙との関係を表示するための出力確認
を行う。
Output confirmation button 87: Confirms the output for displaying the relationship between the image to be printed out and the paper.

【0076】・ 出力サイズボタン88; プリンタの
用紙サイズを指定する。このボタンを選択することによ
り、サブメニューが表示され、用紙サイズが設定可能と
なる。
Output size button 88: Specifies the paper size of the printer. By selecting this button, a submenu is displayed and the paper size can be set.

【0077】・ リセットボタン89; 設定されてい
るコピーモードを初期化する。
Reset button 89: Initializes the set copy mode.

【0078】・ 枚数表示部90; プリント枚数を表
示する。
The number display section 90 displays the number of prints.

【0079】・ 枚数設定部91; プリント枚数を設
定する。
The number setting unit 91 sets the number of prints.

【0080】・ クリアボタン92; プリント設定枚
数をクリアする。
Clear button 92: Clears the set number of prints.

【0081】操作パネル72は以下のような操作部材を
備えている。
The operation panel 72 has the following operation members.

【0082】・ トラックボール93; モニタ表示部
71上のカーソルを、表示されている各種処理ボタンの
位置に移動させて、必要な処理を選択する。カーソルの
移動指示は、トラックボール93の回転方向および回転
量に応じたX方向パルスによってX方向への移動量、Y
方向パルスによってY方向への移動量を指示して行う。
Trackball 93: The cursor on the monitor display 71 is moved to the position of the displayed various processing buttons to select the necessary processing. The movement instruction of the cursor includes the movement amount in the X direction by the X direction pulse corresponding to the rotation direction and the rotation amount of the trackball 93,
This is performed by instructing the amount of movement in the Y direction by a direction pulse.

【0083】・ トラックボール入力キー94; トラ
ックボール93によって操作されるカーソルの位置に対
応した処理の指示信号を前記CPU200に入力する。
Trackball input key 94: An instruction signal for processing corresponding to the position of the cursor operated by the trackball 93 is input to the CPU 200.

【0084】・ ストップキー95; コピーや画像入
力の中断を指示する。
A stop key 95 for giving an instruction to interrupt copying or image input;

【0085】・ 画像入力キー96; フィルム画像を
読み取ってカラーCRT2に表示することを指示する。
An image input key 96 for instructing that a film image be read and displayed on the color CRT 2.

【0086】・ プリントキー97; コピーの開始を
指示する。
A print key 97 for giving an instruction to start copying.

【0087】・ コピー許可、禁止表示98; 点灯、
消灯によってコピーが許可状態か禁止状態かを表示す
る。
Copy permission / prohibition display 98;
When the light is turned off, it indicates whether copying is permitted or prohibited.

【0088】内部パネル73は以下のような操作部およ
び表示部を備えている。
The internal panel 73 has the following operation unit and display unit.

【0089】・ 仕向けコード表示部101; 仕向け
を示す。
Destination code display section 101: Indicates destination.

【0090】・ トータルカウンタ102; トータル
コピー枚数を表示する。
The total counter 102 displays the total number of copies.

【0091】・ サービスマンキー103; サービス
マンによる操作モードの設定を指示する。
Serviceman key 103: Instructs the setting of the operation mode by the serviceman.

【0092】・ ユーザーキー104; ユーザーチョ
イスモードの設定を指示する。
User key 104: instructs user choice mode setting.

【0093】・ トラブルリセットキー105; 内部
トラブル状態を解除する。
Trouble reset key 105: Releases the internal trouble state.

【0094】・ CPUリセットキー106; CPU
200をハード的にリセットする。
CPU reset key 106; CPU
200 is reset by hardware.

【0095】・ イニシャルキー107; イニシャル
設定を指示する。
Initial key 107: instructs initial setting.

【0096】図10にCPU200の周辺の回路図のブ
ロック図を示している。CPU200はプログラムRO
M201に記憶されたプログラムの内容に基づいて装置
全体を制御する。
FIG. 10 is a block diagram of a circuit diagram around the CPU 200. As shown in FIG. CPU 200 is a program RO
The entire device is controlled based on the contents of the program stored in M201.

【0097】CPU200の周辺にはCPUアドレスバ
スとCPUデータバスにより以下に示すものが接続され
ている。
The following components are connected around the CPU 200 by a CPU address bus and a CPU data bus.

【0098】・ EEPROM202; 装置個々のバ
ラツキを調整するためのパラメータを記憶する。電気的
に読み書き可能である。
EEPROM 202: stores parameters for adjusting the variation of each device. It is electrically readable and writable.

【0099】・ RAM203; プログラムを実行す
る上で必要な変数を記憶する。
RAM 203: Stores variables necessary for executing the program.

【0100】・ タイマ204; CPU200からの
設定によりクロック信号から所定のタイマ値を作成す
る。
Timer 204: A predetermined timer value is created from a clock signal according to the setting from CPU 200.

【0101】・ 通信ポート205; 外部装置と情報
をやり取りする。
A communication port 205 for exchanging information with an external device;

【0102】・ パラレルI/Oポート206; 周辺
装置を制御するための制御信号を出力したり、周辺装置
の状態信号を入力する。
A parallel I / O port 206 for outputting a control signal for controlling a peripheral device and for inputting a status signal of the peripheral device;

【0103】・ 入力画像メモリ207; カラーCC
Dセンサ112で読み取った画像データを記憶する。
Input image memory 207; color CC
The image data read by the D sensor 112 is stored.

【0104】・ テーブルROM208; 必要なテー
ブル情報を記憶する。
A table ROM 208 for storing necessary table information.

【0105】・ AGDC210; VRAM211の
内容を制御することによりカラーCRT2の表示を制御
する。
AGDC 210: The display of the color CRT 2 is controlled by controlling the contents of the VRAM 211.

【0106】AGDC210の周辺にはAGDCバスと
AGDCデータバスにより以下のものが接続されてい
る。
The following are connected around the AGDC 210 by an AGDC bus and an AGDC data bus.

【0107】・ VRAM211; カラーCRT2の
表示制御に関するデータを記憶する。
VRAM 211: stores data relating to display control of the color CRT 2.

【0108】・ 漢字ROM212; 漢字コードから
漢字の文字データを発生する。
Kanji ROM 212: Generates Kanji character data from Kanji codes.

【0109】・ 作業用RAM213; VRAM21
1の内容を制御する際に作業領域として使用する。
Work RAM 213; VRAM 21
1 is used as a work area when controlling the contents.

【0110】なおCPUアドレスバスとAGDCアドレ
スバス、CPUデータバスとAGDCデータバスのそれ
ぞれは、AGDC210を介して接続されている。
The CPU address bus and the AGDC address bus, and the CPU data bus and the AGDC data bus are connected via the AGDC 210.

【0111】図11にパラレルI/Oポート206を中
心とした信号の入出力部を示しており、スキャナモータ
駆動回路301、フィルタ駆動回路302、フィルムキ
ャリア検出機構303、冷却ファン304a、304
b、ランプ制御回路305、ランプユニット41、レン
ズ駆動回路306、操作パネル72、内部パネル73、
トラックボール93、画像処理回路307、ミラー駆動
部308が接続されている。
FIG. 11 shows an input / output section of a signal centered on the parallel I / O port 206. The scanner motor drive circuit 301, the filter drive circuit 302, the film carrier detection mechanism 303, and the cooling fans 304a, 304
b, lamp control circuit 305, lamp unit 41, lens drive circuit 306, operation panel 72, internal panel 73,
The track ball 93, the image processing circuit 307, and the mirror driving unit 308 are connected.

【0112】スキャナモータ駆動回路301は、CPU
200からの指示に従って、第1、第2、第3の各ミラ
ー12、13、14、照明部113を所定のスピードで
移動させるための回路であり、それらを同体的移動可能
とするスキャナを駆動する。
The scanner motor drive circuit 301 has a CPU
A circuit for moving the first, second, and third mirrors 12, 13, and 14, and the illumination unit 113 at a predetermined speed in accordance with an instruction from 200, and drives a scanner that enables them to move together. I do.

【0113】安全対策のために、最大、最小スキャン位
置を検出し、異常時のオーバースキャンによる激突を防
止している。
For safety measures, the maximum and minimum scan positions are detected to prevent a collision due to overscan in the event of an abnormality.

【0114】スキャナは以下の信号にて制御されるが、
既知のものであるので、説明は省略する。
The scanner is controlled by the following signals.
Since it is known, the description is omitted.

【0115】・ モータドライブ信号; モータの送り
スピードを指示する。
Motor drive signal; Instructs the motor feed speed.

【0116】・ 正転/逆転信号; モータの回転方向
を指示する。
Forward / reverse rotation signal: indicates the direction of rotation of the motor.

【0117】・ 最大スキャン位置検出信号; スキャ
ナが最大スキャン位置にあることを示す。
A maximum scan position detection signal; indicates that the scanner is at the maximum scan position.

【0118】・ 最小スキャン位置検出信号; スキャ
ナが最小スキャン位置にあることを示す。
A minimum scan position detection signal; indicates that the scanner is at the minimum scan position.

【0119】・ スキャンホーム位置検出信号; スキ
ャナがホーム位置にあるこを示す。
Scan home position detection signal; indicates that the scanner is at the home position.

【0120】フィルタ駆動回路302は、4種類のフィ
ルタ21〜24を動作モードによって切換えるようにフ
ィルタ部25を駆動する。
The filter driving circuit 302 drives the filter unit 25 so that the four types of filters 21 to 24 are switched according to the operation mode.

【0121】フィルタ部25は以下に示す信号によって
制御される。駆動はステッピングモータを使用し、位置
決めは、基準位置検出センサの信号からの駆動ステップ
数を管理して行う。
The filter section 25 is controlled by the following signals. The driving uses a stepping motor, and the positioning is performed by managing the number of driving steps from the signal of the reference position detection sensor.

【0122】・ フィルタ部のオン/オフ信号; フィ
ルタ部25の移動、停止を行う。
-ON / OFF signal of the filter unit: Moves and stops the filter unit 25.

【0123】・ フィルタ部の正転/逆転信号; フィ
ルタ部25の移動方向を指示する。
A forward / reverse rotation signal of the filter unit; the moving direction of the filter unit 25 is instructed.

【0124】・ フィルタ部左限位置信号; フィルタ
部25が左限位置にあることを示す。
The filter unit left limit position signal: indicates that the filter unit 25 is at the left limit position.

【0125】・ フィルタ部右限位置信号; フィルタ
部25が右限位置にあることを示す。
The right limit position signal of the filter unit; indicates that the filter unit 25 is at the right limit position.

【0126】フィルムキャリア検出機構303は、前記
したフィルムキャリア3a〜3dの種類の判別と、フィ
ルムキャリア3の有無、規定位置へのセット状態を検出
するものであり、以下のような信号が用いられる。
The film carrier detection mechanism 303 detects the type of the film carriers 3a to 3d, detects the presence / absence of the film carrier 3, and detects the set state of the film carrier 3 at a specified position. The following signals are used. .

【0127】・ キャリア有無検出信号; 装置本体1
にフィルムキャリア3が装着されていることを示す。
Carrier presence / absence detection signal; main unit 1
Indicates that the film carrier 3 is mounted.

【0128】・ キャリアセット検出信号; フィルム
キャリア3が正常な各投影位置にセットされているかど
うかを示す。
Carrier set detection signal: Indicates whether the film carrier 3 is set at each normal projection position.

【0129】・ フィルム種類検出信号1、2; フォ
トセンサ61の組み合わせでセットされているフィルム
キャリア3a〜3dの違いによるフィルム11の種類を
判別する。
Film type detection signals 1 and 2; The type of the film 11 is determined by the difference between the film carriers 3a to 3d set by the combination of the photo sensor 61.

【0130】ここでフィルム種類検出信号1、2の組み
合わせと、これにより指示するフィイルム11の種類と
について説明すると、表1の通りである。
Here, Table 1 shows the combination of the film type detection signals 1 and 2 and the type of the film 11 designated thereby.

【0131】[0131]

【表1】 [Table 1]

【0132】ランプ制御回路305は、ランプ45の光
量、点灯の制御を行う。ランプ制御回路305からラン
プ45へ印加するためのDC電圧が、ランプユニット4
1へ供給される。
The lamp control circuit 305 controls the light quantity and lighting of the lamp 45. The DC voltage to be applied from the lamp control circuit 305 to the lamp 45 is
1 is supplied.

【0133】この制御に用いる信号としては以下のよう
なものである。
The signals used for this control are as follows.

【0134】・ 出力電圧設定信号; ランプ45への
印加電圧を設定するための信号であり、5ビットの信号
で与えられる。
An output voltage setting signal; a signal for setting an applied voltage to the lamp 45, which is given as a 5-bit signal.

【0135】・ ランプオン/オフ信号; ランプ45
の点灯/消灯を制御する。
Lamp on / off signal; lamp 45
Control of turning on / off of.

【0136】・ 異常検出信号; ランプ切れ、異常点
灯等の異常を検出する。
Abnormality detection signal: Detects abnormalities such as lamp burnout and abnormal lighting.

【0137】ランプユニット41は、フィイルム11の
種類に適合するものが選択使用される必要がある。この
ため既に述べた ・ランプユニット種類検出信号1、2; ランプユニッ
ト41の種類と装着の有無を検出するためのショート線
50による信号。
As the lamp unit 41, a lamp unit suitable for the type of the film 11 must be selected and used. For this reason, the lamp unit type detection signals 1 and 2 have been described. Signals by the short line 50 for detecting the type of the lamp unit 41 and the presence or absence of the lamp unit 41.

【0138】を用いる。Is used.

【0139】ここでランプユニット種類検出信号1、2
の組合せと、ランプユニット41の種類および装着の有
無との関係を示すと、表2の通りとなる。
Here, the lamp unit type detection signals 1, 2
Table 2 shows the relationship between the combination of the lamp unit 41 and the type of the lamp unit 41 and whether or not the lamp unit 41 is mounted.

【0140】[0140]

【表2】 [Table 2]

【0141】冷却ファン304a、304bは、装置内
および光学系が所定温度以上にならないように動作され
るもので、以下のような信号によって制御される。
The cooling fans 304a and 304b are operated so that the inside of the apparatus and the optical system do not become higher than a predetermined temperature, and are controlled by the following signals.

【0142】・ 冷却ファン1、2; 冷却ファン30
4a、304bのオン/オフを制御する。
Cooling fans 1 and 2; cooling fan 30
4a and 304b are controlled on / off.

【0143】レンズ駆動回路305は、結像レンズ15
の位置を使用するフィルム11のサイズによって切換え
る。レンズ位置は以下の信号によって制御される。駆動
はステッピングモータを使用し、位置決めは基準位置検
出センサの信号からの駆動ステップ数の管理による。
The lens driving circuit 305 includes the imaging lens 15
Is switched according to the size of the film 11 to be used. The lens position is controlled by the following signals. The driving uses a stepping motor, and the positioning is based on the management of the number of driving steps from the signal of the reference position detection sensor.

【0144】・ 駆動信号; レンズ駆動モータの駆
動、停止を制御する。
Driving signal: Controls driving and stopping of the lens driving motor.

【0145】・ 正転/逆転信号; レンズ駆動モータ
の駆動方向を指示する。
Forward / reverse rotation signal; indicates the driving direction of the lens driving motor.

【0146】・ 位置検出信号; レンズが基準位置に
あることを示す。
Position detection signal: Indicates that the lens is at the reference position.

【0147】ミラー駆動部307は、フィルム11のサ
イズによって光学系の結像倍率を変更するために、第
2、第3の各ミラー13、14部、レンズバックミラー
16、17の位置を変更する。
The mirror driving section 307 changes the positions of the second and third mirrors 13 and 14 and the lens rear-view mirrors 16 and 17 in order to change the imaging magnification of the optical system according to the size of the film 11. .

【0148】第2、第3の各ミラー13、14の位置お
よびレンズバックミラー16、17の位置は、以下の信
号にて制御されている。それぞれの駆動はステッピング
モータを使用し、位置決めは、それぞれの基準位置セン
サの信号からの駆動ステップ数の管理によって行われ
る。
The positions of the second and third mirrors 13 and 14 and the positions of the lens back mirrors 16 and 17 are controlled by the following signals. Each drive uses a stepping motor, and positioning is performed by managing the number of drive steps from the signal of each reference position sensor.

【0149】・ 共役長補正用第2、第3ミラー駆動信
号; 第2、第3の各ミラー13、14を駆動、停止さ
せる。
The second and third mirror drive signals for conjugate length correction: The second and third mirrors 13 and 14 are driven and stopped.

【0150】・ 位置検出信号; 第2、第3の各ミラ
ー13、14が基準位置にあることを示す。
Position detection signal: Indicates that the second and third mirrors 13 and 14 are at the reference position.

【0151】・ 正転/逆転信号; 第2、第3の各ミ
ラー13、14の動作方向を指示する。
Forward / reverse signal: Indicates the operation direction of each of the second and third mirrors 13 and 14.

【0152】・ レンズバックミラー駆動信号; レン
ズバックミラー16、17部を駆動、停止させる。
Lens rear-mirror driving signal: The lens rear-mirrors 16 and 17 are driven and stopped.

【0153】・ 位置検出信号; レンズバックミラー
16、17部が基準位置にあることを示す。
Position detection signal: Indicates that the lens rearview mirrors 16 and 17 are at the reference position.

【0154】・ 正転/逆転信号; レンズバックミラ
ー16、17部の正転、逆転を指示する。
Forward / reverse signal: Instructs forward / reverse rotation of the lens rearview mirrors 16 and 17.

【0155】なお画像処理回路としては、図示しないが
下記に示す信号を通信ラインとは別に複写機の方とやり
取りして、画像データの送信を行う。
Although not shown, the image processing circuit transmits and receives the following signals to and from a copying machine separately from the communication line.

【0156】・ 電源オン信号; プリンタ部の電源オ
ン、オフ状態を示す。
Power-on signal; indicates the power-on / off state of the printer unit.

【0157】・ 画像データ要求信号; 画像信号の送
信タイミングを示す。
Image data request signal: Indicates the image signal transmission timing.

【0158】・ 水平方向有効領域信号; 水平方向の
印字可能領域を示す。
Horizontal effective area signal: Indicates a printable area in the horizontal direction.

【0159】・ 垂直方向有効領域信号; 垂直方向の
印字可能領域を示す。
Vertical effective area signal: Indicates a printable area in the vertical direction.

【0160】・ 印字ウェイト信号; 画像信号の送信
不可能な状態を示す。
Print wait signal: Indicates a state where image signals cannot be transmitted.

【0161】・ セレクタ切替え信号; 画像処理回路
内の画像信号の切り換えを指示する。
Selector switching signal: instructs switching of image signals in the image processing circuit.

【0162】ところで、フィルム11は、その種類や撮
影条件によってフィルム透過濃度が大きく異なる。
By the way, the film 11 has a significantly different film transmission density depending on the type and photographing conditions.

【0163】図12は35mmネガフィルムにおける撮
影した原稿の濃度(ニュートラル色)と、そのフィルム
の透過濃度との関係を示すグラフであり、パラメータと
して撮影時の露光条件をとっている。
FIG. 12 is a graph showing the relationship between the density (neutral color) of a photographed original on a 35 mm negative film and the transmission density of the film, and exposure conditions during photography are taken as parameters.

【0164】図中−3〜+6と記載しているのが、種々
な露光条件が考えられるが例えば露光量(Lx.s)を
変えて撮影したときの、標準撮影条件(=0)に対して
条件を上下に振った場合のデータを示すもので、図から
分かるように露光条件によってフィルムの透過濃度が大
きく異なっている。
Various exposure conditions can be considered as -3 to +6 in the figure. For example, the standard exposure condition (= 0) when the exposure is changed (Lx.s) is taken. This shows data when the conditions are shifted up and down. As can be seen from the figure, the transmission density of the film greatly differs depending on the exposure conditions.

【0165】図13は35mmポジフィルムにおける撮
影した原稿の濃度(ニュートラル色)と、そのフィルム
の透過濃度との関係を示すグラフであり、パラメータと
して撮影時の露光条件をとっている。
FIG. 13 is a graph showing the relationship between the density (neutral color) of a photographed original on a 35 mm positive film and the transmission density of the film, and exposure conditions during photography are taken as parameters.

【0166】図中−1〜+1.5と記載しているのが露
光条件である。図から分かるように露光条件によってフ
ィルムの透過濃度がネガフィルムの場合よりもさらに大
きく異なっている。
The exposure conditions are indicated by -1 to +1.5 in the figure. As can be seen from the figure, the transmission density of the film differs greatly depending on the exposure conditions than in the case of the negative film.

【0167】図14〜図16はネガフィルムの種類に応
じたR、G、Bの濃度特性を示している。ネガフィルム
の種類は、一例としてフジカラーSUPER HG10
0(図14)、フジカラーSUPER HG400(図
15)、フジカラーREALA(図16)の各場合を示
している。
FIGS. 14 to 16 show the density characteristics of R, G, and B according to the type of the negative film. The type of the negative film is, for example, Fujicolor SUPER HG10
0 (FIG. 14), Fujicolor SUPER HG400 (FIG. 15), and Fujicolor REALA (FIG. 16).

【0168】これら図14〜図16から分かるように、
通常の使用域において、R、G、Bのバランスがフィル
ムの種類によって異なっている。
As can be seen from FIGS. 14 to 16,
In a normal use area, the balance of R, G, and B differs depending on the type of film.

【0169】また図17、図18はポジフィルムの種類
に応じたR、G、Bの感度特性を示している。ネガフィ
ルムの種類は、一例としてフジクローム50(図1
7)、フジクローム400(図18)の各場合を示して
いる。
FIGS. 17 and 18 show the R, G, and B sensitivity characteristics according to the type of the positive film. The type of the negative film is, for example, Fujichrome 50 (FIG. 1).
7) and Fujichrome 400 (FIG. 18).

【0170】これら図17、図18から分かるように、
通常の使用域において、R、G、Bのバランスがポジフ
ィルムの場合程に違わないことが分かる。
As can be seen from FIGS. 17 and 18,
It can be seen that the balance of R, G, B is not as different as in the case of the positive film in the normal use area.

【0171】そこで本実施例では、カラーフィルムのカ
ラー画像を読取るのに、R、G、Bの各読取り信号ごと
に、露光条件の違いに応じたゲイン補正と、フィルムの
種類によるR、G、Bの感度の違いに応じたゲイン補正
とを行う。
Therefore, in this embodiment, to read a color image on a color film, gain correction according to the difference in exposure conditions and R, G, and The gain is corrected in accordance with the difference in the sensitivity of B.

【0172】ネガフィルムにて撮影した原稿濃度に対す
るA/D変換後の出力値をパラメータに撮影時の露光条
件(−3〜+6)をとり、ゲイン補正をした場合と、し
ない場合とのデータ例を示せば、図19、図20に示す
通りである。
Data examples in which the exposure condition (-3 to +6) at the time of photographing is set using the output value after A / D conversion with respect to the density of the original photographed on the negative film as a parameter, and the gain is corrected and not corrected Are as shown in FIGS. 19 and 20.

【0173】これらデータから分かるように、露光条件
が−3〜+6とかなり広範囲であるのに、図19のゲイ
ン補正しない場合の状態に比し、図20に示すゲイン補
正を行った場合では露光条件の違いによる差が充分適正
に補正されていることが分かる。
As can be seen from these data, even though the exposure condition is quite wide, from -3 to +6, the exposure is not as good when the gain correction shown in FIG. 20 is performed as compared to the state without the gain correction shown in FIG. It can be seen that the difference due to the difference in the conditions has been sufficiently and appropriately corrected.

【0174】ところで、撮影した原稿濃度に余り変化が
ない場合、コントラストの弱い景色等を撮影したと考え
られる。したがってこのような画像の読取りに際し、前
記のようなゲイン補正を一律に行うと、コントラストが
極端に強くなり、撮影書が狙った出力を出せなくなる。
By the way, if there is no change in the density of the photographed original, it is considered that a scene with a low contrast is photographed. Therefore, if the above-described gain correction is performed uniformly when reading such an image, the contrast becomes extremely strong, and the intended output of the photographic document cannot be obtained.

【0175】また夕焼けの景色のように、R、G、Bの
バランスがくずれる場合に、このような補正を一律に行
うと、撮影者が狙った出力を出せなくなる。
In the case where the balance of R, G, and B is lost as in the case of a sunset, if the correction is performed uniformly, the output intended by the photographer cannot be obtained.

【0176】したがって本実施例の場合、ゲインの一律
な補正は行わず、補正内容を変更して調整する。
Therefore, in the case of the present embodiment, uniform correction of the gain is not performed, and the correction content is changed and adjusted.

【0177】また35mmフィルム以外のフィルムで
は、専門家によって使用されるのが大半である。したが
って特異な種々の露光条件にて撮影されていることが多
々あり、これを自動的に一律に補正し標準化してしまう
のでは、撮影の狙いから外れてしまうことになる。
[0177] Films other than the 35 mm film are mostly used by specialists. Therefore, there are many cases where images are taken under various unusual exposure conditions, and if this is automatically and uniformly corrected and standardized, it will deviate from the purpose of shooting.

【0178】さらにポジフィルムも専門家が撮影するこ
とが大半である。したがってこの場合についても自動的
に一律に補正すると、かえって撮影の狙いを阻害してし
まうことになる。
In most cases, specialists also photograph positive films. Therefore, in this case, if the correction is automatically and uniformly performed, the aim of photographing is rather hindered.

【0179】そこでこれらの場合、本実施例では前記自
動的な補正は行わないようにしている。
Therefore, in these cases, the automatic correction is not performed in this embodiment.

【0180】図21は前記のような補正を行う場合の、
画像データの流れに基づいた、画像データ処理のブロッ
ク図を示している。
FIG. 21 shows a case where the above correction is performed.
FIG. 3 shows a block diagram of image data processing based on the flow of image data.

【0181】カラーCCDセンサ112からは、フィル
ム11からの透過光をR、G、Bの成分に色分解した色
分解信号R、G、Bが出力される。
The color CCD sensor 112 outputs color separation signals R, G, and B obtained by separating the transmitted light from the film 11 into R, G, and B components.

【0182】色分解信号Bの場合を代表して説明する
と、色分解信号Bはビデオアンプ401Bに入力され
る。このビデオアンプ401Bは信号を増幅する働きを
持つとともに、その増幅率を外部から設定できるもので
ある。
To explain the case of the color separation signal B as a representative, the color separation signal B is input to the video amplifier 401B. The video amplifier 401B has a function of amplifying a signal and can set the amplification factor from the outside.

【0183】この増幅率の外部からの設定は、データバ
スに接続されたD/Aコンバータ402Bの出力をビデ
オアンプ401Bに入力することにより自在に行われ
る。
The setting of the amplification factor from the outside can be freely performed by inputting the output of the D / A converter 402B connected to the data bus to the video amplifier 401B.

【0184】増幅率が所定値にセットされている状態
で、画像読取りのための走査に先立つ前走査を行い、読
み取った所定数の画素での画像データを基に、B成分の
MAX値、MIN値が抽出される。
With the amplification factor set to a predetermined value, prescanning is performed prior to scanning for image reading, and the MAX value and MIN of the B component are determined based on the image data of the read predetermined number of pixels. The value is extracted.

【0185】このMAX値をビデオアンプ401B部で
所定値とするような増幅値が、前記MAX値を基に設定
される。
An amplification value for setting the MAX value to a predetermined value in the video amplifier 401B is set based on the MAX value.

【0186】このような処理によりフィルムの種類の違
いによるB感度の違いの補正と、露光条件の違いによる
補正とが可能である。色分解信号R、Gについても同様
に処理されるので説明は省略する。
By such processing, it is possible to correct a difference in B sensitivity due to a difference in film type and to correct a difference in exposure conditions. Since the same applies to the color separation signals R and G, the description is omitted.

【0187】ビデオアンプ401Bから出力された色分
解信号Bは、A/Dコンバータ403Bに入力される。
このA/Dコンバータ403Bではアナログ信号をデジ
タル信号に変換する処理と併せて、光学系のムラ、カラ
ーCCDセンサ112のドットごとの感度のバラツキ等
を補正するシェーディング補正処理が実行される。
The color separation signal B output from the video amplifier 401B is input to an A / D converter 403B.
In the A / D converter 403B, in addition to the process of converting an analog signal to a digital signal, a shading correction process for correcting unevenness of an optical system, a variation in sensitivity of each dot of the color CCD sensor 112, and the like is executed.

【0188】シェーディング補正は、事前に読み取った
基準データが、シェーディング補正用メモリ404Bへ
格納されるので、画像データ取り込み時に画像データに
同期させて補正用データを読み出し、D/Aコンバータ
405Bを通して、A/Dコンバータ403Bのリファ
レンス電圧入力部に入力することで可能となる。
In the shading correction, since the reference data read in advance is stored in the shading correction memory 404B, the correction data is read out in synchronization with the image data when the image data is fetched, and the data is read out through the D / A converter 405B. This can be achieved by inputting to the reference voltage input section of the / D converter 403B.

【0189】このシェーディング補正処理は、色分解信
号R、Gについても同様に行われるので、説明は省略す
る。
Since the shading correction processing is performed in the same manner for the color separation signals R and G, the description is omitted.

【0190】以上のようにしてデジタル信号に変換され
た色分解信号R、G、Bは、R/G/B間位置合わせ処
理部406に入力される。このR/G/B間位置合わせ
処理部406では、カラーCCDセンサ112に起因す
るR、G、Bの位置の違いが補正される。
The color separation signals R, G, and B converted into digital signals as described above are input to the R / G / B registration processing unit 406. The R / G / B alignment processing unit 406 corrects the difference between the R, G, and B positions caused by the color CCD sensor 112.

【0191】縮小型のカラーCCDセンサ112は、普
通R、G、B各5000画素がそれぞれライン状に、所
定の間隔を持って配置されている。
In the reduction type color CCD sensor 112, 5000 pixels each of R, G, and B are usually arranged in a line at predetermined intervals.

【0192】したがって所定のポイントの画素のR、
G、B成分の信号を処理するためには、位置を合わせる
ための遅延処理が必要となる。
Therefore, R,
In order to process the G and B component signals, a delay process for adjusting the position is required.

【0193】R/G/B間位置合わせ処理部406から
の色分解信号R、G、Bの各出力は、LUT407R、
LUT407G、LUT407Bにそれぞれ入力され
る。
Outputs of the color separation signals R, G, and B from the R / G / B registration processing unit 406 are output to the LUT 407R,
The signals are input to the LUTs 407G and 407B, respectively.

【0194】各LUT407R、LUT407G、LU
T407Bは入力される色分解信号R、G、Bのそれぞ
れに対して個別に正規化処理を実行する。
Each LUT 407R, LUT 407G, LU
T407B individually performs a normalization process on each of the input color separation signals R, G, and B.

【0195】図示していないが、これらLUT407
R、LUT407G、LUT407BはCPU200の
バスに接続されており、ソフト的にデータの書き換えが
可能な構成となっている。
Although not shown, these LUTs 407
The R, LUT 407G, and LUT 407B are connected to the bus of the CPU 200, and have a configuration in which data can be rewritten in software.

【0196】各LUT407R、LUT407G、LU
T407Bではまた、入力データに対する出力データの
振幅を一定にして画像のコントラストを調整する処理が
実行される。この処理を行うために、読み取ったデータ
のR、G、B信号ごとのMIN値を用いて、各LUT4
07R、LUT407G、LUT407Bの内容が、所
定幅の出力振幅を得るように変更される。
Each LUT 407R, LUT 407G, LU
In T407B, a process of adjusting the contrast of the image while keeping the amplitude of the output data with respect to the input data constant is executed. In order to perform this processing, each LUT 4 is obtained by using the MIN values of the read data for each of the R, G, and B signals.
The contents of 07R, LUT 407G, and LUT 407B are changed so as to obtain an output amplitude of a predetermined width.

【0197】前記ビデオアンプ401R、401G、4
01Bでの処理と、このLUT407R、LUT407
G、LUT407Bでの処理とによって、フィルムの種
類、露光条件の違いによる補正処理が、特別のメモリを
必要とすることなく実行可能となる。
The video amplifiers 401R, 401G, 4
01B and the LUT 407R, LUT 407
By the processing in the G and LUT 407B, the correction processing based on the difference in the type of the film and the exposure condition can be executed without requiring a special memory.

【0198】またこれらの補正処理は、ポジフィルムの
場合には行わないし、ネガフィルムの場合でも、R、
G、BのMAX値、MIN値のバランスが所定範囲を越
える場合、コントラストのない画像の場合〔データの振
れ幅(MAX値とMIN値との差)が小さい場合〕にも
実行しないようにソフト的に制御する。
These correction processes are not performed in the case of a positive film.
If the balance between the MAX and MIN values of G and B exceeds a predetermined range, and if the image has no contrast [when the data fluctuation width (difference between the MAX value and the MIN value) is small], the software is not executed. Control.

【0199】これにより専門家が撮影した場合の特別な
狙いや、コントラストの弱い景色、あるいはR、G、B
のバランスのくずれた景色を撮影した場合の特徴を阻害
するようなことを回避することができる。
Thus, a special purpose when an expert takes a picture, a scene with low contrast, or R, G, B
It is possible to avoid a situation in which the characteristics when the landscape with the imbalanced image is photographed are obstructed.

【0200】各LUT407R、LUT407G、LU
T407Bからの出力は、ガンマ補正/ネガ、ポジ反転
処理部408に入力される。
Each LUT 407R, LUT 407G, LU
The output from T407B is input to a gamma correction / negative / positive inversion processing unit 408.

【0201】このガンマ補正/ネガ、ポジ反転処理部4
08では、フィルム11のネガ、ポジの違いによるデー
タの補正処理と、プリンタへ入力する部分のデータ、す
なわち、原稿の反射率に対して、直線的な輝度データへ
合わせるためのガンマ補正処理が行われる。
This gamma correction / negative / positive reversal processing section 4
In step 08, data correction processing based on the difference between negative and positive of the film 11 and gamma correction processing for adjusting the data of the portion input to the printer, that is, the reflectance of the original, to linear luminance data are performed. Will be

【0202】ガンマ補正/ネガ、ポジ反転処理部408
からの出力信号R、G、Bは、カラーCRT2系へのル
ートとデジタルカラー複写機のプリンタ部へのルートと
に分岐される。
Gamma correction / negative / positive reversal processing section 408
Output signals R, G, and B are branched into a route to a color CRT2 system and a route to a printer unit of a digital color copying machine.

【0203】まずプリンタ部への出力ルートについて説
明する。
First, the output route to the printer will be described.

【0204】ガンマ補正/ネガ、ポジ反転処理部408
からの出力は、色調整・色補正部409に入力される。
Gamma correction / negative / positive reversal processing unit 408
Is input to the color adjustment / color correction unit 409.

【0205】この色調整、色補正部409では、カラー
CRT2を利用した色調整処理のフィードバックと、フ
ィルム読取り装置の出力画像データを、入力する部分の
デジタルカラー複写機側の画像データに合わせるための
補正処理が行われる。
The color adjustment / color correction unit 409 provides feedback for color adjustment processing using the color CRT 2 and adjusts the output image data of the film reader to the input image data of the digital color copying machine. Correction processing is performed.

【0206】色調整・色補正部409からの出力信号
R、G、Bは、変倍・移動処理部410に入力される。
The output signals R, G, B from the color adjustment / color correction section 409 are input to the scaling / movement processing section 410.

【0207】変倍・移動処理部410は、画像データの
主走査方向の変倍、移動を実行する。
The scaling / movement processing section 410 executes scaling / movement of image data in the main scanning direction.

【0208】次にカラーCRT2へのルートについて説
明する。
Next, the route to the color CRT 2 will be described.

【0209】ガンマ補正、ネガ/ポジ反転処理部408
からの出力信号R、G、Bのそれぞれは、メモリ411
R、411G、411Bにそれぞれ入力される。
Gamma correction / negative / positive reversal processing section 408
Output signals R, G, B from the memory 411
R, 411G, and 411B, respectively.

【0210】各メモリ411R、411G、411B
は、読み取った画像信号R、G、BをカラーCRT2へ
の表示のために記憶するものであり、記憶内容はCPU
200から読み出し可能な構成となっており、前記した
前走査にてデータを抽出するときにも使用される。
Each memory 411R, 411G, 411B
Stores the read image signals R, G, and B for display on the color CRT 2.
It is configured to be readable from 200, and is also used when extracting data by the pre-scan described above.

【0211】メモリ411R、411G、411Bから
の出力信号R、G、Bは、カラーCRT2への表示のた
めの色調整・色補正部412に入力され、カラーCRT
2を利用した色調整処理のフィードバックと、フィルム
読取りデータを出力するカラーCRT2のデータに合わ
せるための補正処理が行われる。
Output signals R, G, and B from the memories 411R, 411G, and 411B are input to a color adjustment / color correction unit 412 for display on the color CRT 2, and output to the color CRT.
2 and a correction process for matching the film reading data with the data of the color CRT 2 that outputs the film reading data.

【0212】この色調整・色補正部412からの出力信
号R、G、Bはプレーンミックス部413に入力され、
画像データ用のメモリとは別に設けられたモード設定等
に使用されるキャラクタ用のキャラクタプレーンメモリ
414からのデータと画像データとを合成する処理が行
われる。
The output signals R, G, and B from the color adjustment / color correction unit 412 are input to a plane mix unit 413.
A process is performed to combine the image data with the data from the character plane memory 414 for characters used for mode setting and the like provided separately from the memory for image data.

【0213】プレーンミックス部413からの出力信号
R、G、BはD/Aコンバータ415を通してカラーC
RT2へアナログのR、G、B信号として出力される。
Output signals R, G, and B from the plane mix unit 413 are supplied to a color C
It is output to RT2 as analog R, G, B signals.

【0214】以下本実施例のカラー画像読取り装置の動
作について図22以下に示すフローチャートに基づいて
説明する。
The operation of the color image reading apparatus according to the present embodiment will be described below with reference to the flowchart shown in FIG.

【0215】図22はCPU200による制御のメイン
プログラムを示している。
FIG. 22 shows a main program for control by the CPU 200.

【0216】電源がオンされてプログラムがスタートす
ると、CPU200の作業用RAMおよび周辺装置のリ
セットと云ったシステム初期設定が行われる(ステップ
#1)。
When the power is turned on and the program starts, system initialization such as resetting of the working RAM of the CPU 200 and peripheral devices is performed (step # 1).

【0217】次にカラーCRT2にコピーモードを設定
するための初期画面を表示する(ステップ#2)。そし
て画像読取りに用いるカラーCCDセンサ112を初期
化するためにシェーディング補正を行う(ステップ#
3)。
Next, an initial screen for setting a copy mode is displayed on the color CRT 2 (step # 2). Then, shading correction is performed to initialize the color CCD sensor 112 used for image reading (step #)
3).

【0218】以上の処理により画像を読取るための準備
が完了したことになる。
With the above processing, the preparation for reading an image is completed.

【0219】その後、スキャンフラグが1かどうかによ
り画像読取り中かどうかを判定し(ステップ#4)、ス
キャンフラグ=1、つまり画像読取り中であればステッ
プ#5へ進み、副走査制御や画像読取りに関わる制御を
行う。
Thereafter, it is determined whether or not the image is being read based on whether or not the scan flag is 1 (step # 4). If the scan flag is 1, that is, if the image is being read, the process proceeds to step # 5, where the sub-scanning control and the image reading are performed. Control related to.

【0220】ステップ#4で画像読取り中でなければス
テップ#9へ進み、カラーCRT2の画面表示に応じた
カーソル入力処理を行うことにより、コピーモードの設
定、トリミング範囲の設定を行う。
If the image is not being read in step # 4, the process proceeds to step # 9, in which a copy mode and a trimming range are set by performing cursor input processing according to the screen display of the color CRT 2.

【0221】そしてこれら何れかの処理の後、ステップ
#6へ進み、フィルムキャリアの状態を検知し、各エレ
メントを制御するためのフィルムキャリア処理を行う。
After any of these processes, the process proceeds to step # 6, where the state of the film carrier is detected, and a film carrier process for controlling each element is performed.

【0222】続いてステップ#7では、操作パネル72
上のキー操作に応じた処理を行うパネルキー入力処理を
実行し、ステップ#8では、操作パネル72上でのキー
操作やカラーCRT2の画面上でのコピーモード設定の
結果、およびコピーの進行状況等を必要に応じてプリン
タとの通信処理により伝達する。
Subsequently, at step # 7, the operation panel 72
A panel key input process for performing a process corresponding to the above key operation is executed. In step # 8, the result of the key operation on the operation panel 72, the copy mode setting on the color CRT 2 screen, and the copy progress status And the like are transmitted as necessary by communication processing with the printer.

【0223】以上の処理にてフィルムスキャナで読み取
った画像をプリンタへ転送することによりフィルム画像
をプリントアウトすることができる。
By transferring the image read by the film scanner to the printer by the above processing, the film image can be printed out.

【0224】図23は図22におけるステップ#5の画
像読取り制御サブルーチンを示している。
FIG. 23 shows an image reading control subroutine of step # 5 in FIG.

【0225】画像読取り制御では、操作パネル72上の
キー操作により指示されるスキャンモード別に制御を行
う。
In the image reading control, control is performed for each scan mode specified by a key operation on the operation panel 72.

【0226】まずステップ#11においてスキャンモー
ドの識別が行われ、プレスキャンモードであればステッ
プ#12へ進み、画像表示モードであればステップ#1
6へ進む。また画像出力モードであればステップ#20
へ進む。
First, in step # 11, the scan mode is identified. If the mode is the pre-scan mode, the process proceeds to step # 12; if the mode is the image display mode, the process proceeds to step # 1.
Proceed to 6. If the mode is the image output mode, step # 20
Proceed to.

【0227】・“プレスキャンモード”の場合について
説明する。
The case of the "pre-scan mode" will be described.

【0228】プレスキャンモードではフィルム画像全面
を読取り、画像入力メモリへフィルム画像読取りデータ
を記憶するためのプレスキャン制御を行い(ステップ#
12)、スキャンが終了したら(ステップ#13)、記
憶されたフィルム画像データを解析するためのデータ解
析処理を行う(ステップ#14)。
In the prescan mode, prescan control for reading the entire film image and storing the film image read data in the image input memory is performed (step #).
12) When the scanning is completed (Step # 13), a data analysis process for analyzing the stored film image data is performed (Step # 14).

【0229】さらにスキャンモードを“画像表示モー
ド”に変更して(ステップ#15)処理を終了する。
Further, the scan mode is changed to the "image display mode" (step # 15), and the process ends.

【0230】つまりプレスキャンして読み取った画像デ
ータの解析結果に応じて読取り条件を変更し、画像表示
を行う。
That is, the reading conditions are changed in accordance with the analysis result of the image data read by pre-scanning, and the image is displayed.

【0231】・“画像表示モード”の場合について説明
する。
The case of the "image display mode" will be described.

【0232】画像表示モードでは、プレスキャン時もデ
ータ解析結果により決定された読取り条件に基づいてフ
ィルム画像全面を読取り(ステップ#16)、ステップ
#17での画像表示処理にて、カラーCRT2にフィル
ム画像を表示する。
In the image display mode, the entire film image is read based on the reading conditions determined by the data analysis result even in the pre-scanning (step # 16), and the image is displayed on the color CRT 2 by the image display processing in step # 17. Display an image.

【0233】ステップ#16での画像表示のためのスキ
ャンは、カラーCCDセンサ112で読み取ったR、
G、Bデータの正規化、およびネガ、ポジ反転等の処理
を行い、カラーCRT2に表示するものであるために、
スキャン回数は一回でよい。
In the scan for displaying the image in step # 16, the R and R read by the color CCD sensor 112 are used.
Normalization of G and B data, and processing such as negative and positive inversion are performed and displayed on the color CRT 2.
The number of scans may be one.

【0234】スキャンが終了したら(ステップ#1
8)、画像読取りの終了を示すスキャンフラグを0にセ
ットして処理を終了する(ステップ#19)。
When the scanning is completed (step # 1)
8) The scan flag indicating the end of the image reading is set to 0, and the process ends (step # 19).

【0235】・“画像出力モード”の場合について説明
する。
The case of the "image output mode" will be described.

【0236】画像出力モードでは、カラーCRT2の画
面上で設定されたコピーモードにおける“読取り開始位
置”、“読取り終了位置”、“スキャンモード”、“ス
キャン回数”に基づいてフィルム画像を読取り(ステッ
プ#20)、ステップ#21での変倍、移動処理にて主
走査方向の画像の変倍、移動と云った処理を行う。
In the image output mode, a film image is read based on the “read start position”, “read end position”, “scan mode”, and “scan count” in the copy mode set on the screen of the color CRT 2 (step). # 20) In the magnification and movement processing in step # 21, processing such as magnification and movement of the image in the main scanning direction is performed.

【0237】ステップ#20の画像出力スキャン制御で
は、カラーCCDセンサ112で読み取ったR、G、B
データをプリンタ部に送信し、プリンタ部側でR、G、
Bから読取り画像の再生のための色信号Y(イエロ
ー)、M(マゼンタ)、C(シアン)、K(ブラック)
への変換処理が行われるため、スキャン回数は出力用紙
枚数×4回となる。また縮小連写時ではさらに2倍とな
る。
In the image output scan control in step # 20, the R, G, and B read by the color CCD sensor 112 are read.
The data is transmitted to the printer unit, and R, G,
Color signals Y (yellow), M (magenta), C (cyan), K (black) for reproduction of an image read from B
Is performed, the number of scans is the number of output sheets × 4. In the case of reduced continuous shooting, the number is further doubled.

【0238】スキャンが終了すると(ステップ#2
2)、画像読取りの終了を示すスキャンフラグを0にセ
ットして処理を終了する。
When the scan is completed (step # 2)
2) A scan flag indicating the end of image reading is set to 0, and the process ends.

【0239】以上の処理によりスキャンモード別に、フ
ィルムスキャナや画像処理の制御が行われ、カラーCR
T2への画像表示、プリンタ部への画像出力が可能にな
る。
With the above processing, control of the film scanner and image processing is performed for each scan mode, and the color CR is controlled.
An image can be displayed on T2 and an image can be output to the printer unit.

【0240】図24は図22におけるステップ#7のパ
ネルキー入力処理のサブルーチンを示す。
FIG. 24 shows a subroutine of the panel key input process in step # 7 in FIG.

【0241】パネルキー入力処理では、操作パネル72
上および内部パネル73上のキー操作に応じた処理を行
う。
In the panel key input processing, the operation panel 72
A process corresponding to the key operation on the upper and inner panels 73 is performed.

【0242】まずスキャンフラグをチェックし(ステッ
プ#31)、スキャンフラグ≠0、つまりコピー中また
は画像表示のためのスキャン中であるとストップキーが
押されたかどうかを判定する(ステップ#42)。
First, the scan flag is checked (step # 31), and it is determined whether or not the stop key has been pressed when the scan flag is $ 0, that is, during copying or scanning for image display (step # 42).

【0243】ストップキーが押されているとスキャンフ
ラグを0にセットして読取り動作を終了させる(ステッ
プ#43)。
If the stop key has been pressed, the scan flag is set to 0 and the reading operation is terminated (step # 43).

【0244】ステップ#31にてスキャンフラグ=0で
あればステップ#32へ進み、キーの種類に対応した処
理を行う。
If the scan flag is 0 in step # 31, the flow advances to step # 32 to perform a process corresponding to the type of the key.

【0245】・“画像入力キー”が操作された場合につ
いて説明する。
The case where the "image input key" is operated will be described.

【0246】画像入力キーが操作されるとステップ#3
3に進み、画像読取り動作を指示するスキャンフラグを
1にセットする。
When the image input key is operated, step # 3 is performed.
Proceeding to 3, the scan flag for instructing the image reading operation is set to 1.

【0247】次に、セットされているフィルムがネガか
ポジかをネガフラグの状態によって判別する(ステップ
#34)。
Next, whether the set film is negative or positive is determined based on the state of the negative flag (step # 34).

【0248】ネガフラグ=1、つまりネガフィルムであ
るとフィルム画像データによって読取り条件を変えるた
めにスキャンモードを“プレスキャンモード”に設定し
(ステップ#35)、ネガフラグ=0、つまりポジフィ
ルムであるとプレスキャンを行わずに直接画像表示を行
うためにスキャンモードを“画像表示モード”に設定す
る(ステップ#37)。
If the negative flag is 1, that is, if the film is a negative film, the scan mode is set to the "pre-scan mode" to change the reading conditions according to the film image data (step # 35). The scan mode is set to "image display mode" in order to directly display an image without performing pre-scan (step # 37).

【0249】そして画像へのメッセージ表示と云ったそ
の他の画像入力キー処理を行う(ステップ#36)。
Then, other image input key processing such as displaying a message on the image is performed (step # 36).

【0250】・“プリントキー”が操作された場合につ
いて説明する。
The case where the "print key" is operated will be described.

【0251】プリントキーが操作されるとステップ#3
8に進み、画像読取り動作を指示するためのスキャンフ
ラグを1にセットする。
When the print key is operated, step # 3 is performed.
Proceeding to 8, the scan flag for instructing the image reading operation is set to 1.

【0252】そして読み取った画像のR、G、B信号を
プリンタに出力するためにスキャンモードを“画像出力
モード”に設定する(ステップ#39)。
Then, the scan mode is set to "image output mode" in order to output the R, G, B signals of the read image to the printer (step # 39).

【0253】さらにカラーCRT2の画面へのメッセー
ジ表示と云ったその他のプリントキー処理を行う(ステ
ップ#40)。
Further, other print key processing such as displaying a message on the screen of the color CRT 2 is performed (step # 40).

【0254】・“内部パネル73”での操作の場合につ
いて説明する。
The operation on the “internal panel 73” will be described.

【0255】押されたキーが内部パネルキーであった場
合ステップ#41に進み、それぞれのキーに対応したキ
ー処理を行う。
If the pressed key is an internal panel key, the flow advances to step # 41 to perform key processing corresponding to each key.

【0256】以上の処理により操作パネル72上、内部
パネル73上のキーに対応した処理が行われ、画像読取
りや画像出力の処理が可能となる。なおストップキーが
操作された場合はそのままリターンする。
With the above processing, processing corresponding to the keys on the operation panel 72 and the internal panel 73 is performed, so that image reading and image output processing can be performed. If the stop key is operated, the process returns.

【0257】図25は図23におけるステップ#14の
データ解析処理サブルーチンを示している。
FIG. 25 shows a data analysis processing subroutine of step # 14 in FIG.

【0258】ここでは、画像メモリにとり込まれたデー
タに対して種々の解析処理を行う。
Here, various analysis processes are performed on the data stored in the image memory.

【0259】まずステップ#51のサブルーチンにて、
取り込まれた1画面分のデータからMAX値、MIN値
を検出する。
First, in the subroutine of step # 51,
A MAX value and a MIN value are detected from the captured data for one screen.

【0260】またステップ#52のサブルーチンにて、
読取りデータからフィルムの有無を検出する。
In the subroutine of step # 52,
The presence or absence of a film is detected from the read data.

【0261】さらにステップ#53のサブルーチンに
て、読取りデータを正規化する補正処理を行う。
In the subroutine of step # 53, a correction process for normalizing the read data is performed.

【0262】図26は図25におけるステップ#51の
MAX値、MIN値検出処理サブルーチンを示してい
る。
FIG. 26 shows the MAX value / MIN value detection processing subroutine of step # 51 in FIG.

【0263】まずステップ#61にて初期値の設定を行
い、R、G、B各MAX値にはデータの最小値を、また
R、G、Bの各MIN値にはデータの最大値をそれぞれ
入力しておく。
First, in step # 61, initial values are set, and the maximum value of data is set to each of the R, G, and B MAX values, and the maximum value of data is set to each of the R, G, and B MIN values. Enter it.

【0264】次に所定のアドレス番地のデータを取り込
む処理を行うと共に(ステップ#62)、読み出しアド
レスのカウントアップ処理を行う(ステップ#63)。
本実施例ではデータサンプリング数を全画素の1/8と
している。
Next, a process of fetching data at a predetermined address is performed (step # 62), and a count-up process of read addresses is performed (step # 63).
In this embodiment, the number of data sampling is set to 1/8 of all pixels.

【0265】そしてまずRデータと現在のRのMAX値
との比較処理を行い(ステップ#64)、もしRのMA
X値よりも大であればステップ#65に進み、RのMA
X値をデータ値に更新して後ステップ#66に進み、R
のMAX値よりも大でなければそのままステップ#66
に移行する。
First, the R data is compared with the current R MAX value (step # 64).
If the value is larger than the X value, the process proceeds to step # 65, where R MA
After updating the X value to the data value, the process proceeds to step # 66, where R
If not greater than the MAX value of step # 66
Move to

【0266】ステップ#66ではRデータとRのMIN
値との比較を行い、もしRデータがRのMIN値よりも
小さければステップ#67に移行してRのMIN値をR
データ値に更新した後ステップ#68に移行し、Rデー
タがRのMIN値よりも小さくなければそのままステッ
プ#68に移行する。
In step # 66, R data and R MIN
Then, if the R data is smaller than the MIN value of R, the process goes to step # 67 to change the MIN value of R to R.
After updating to the data value, the process proceeds to step # 68, and if the R data is not smaller than the MIN value of R, the process directly proceeds to step # 68.

【0267】ステップ#68のサブルーチンではGデー
タについて、またステップ#69のサブルーチンではB
データについて、それぞれ上記Rデータと同様な処理を
行う。
In the subroutine of step # 68, G data is used. In the subroutine of step # 69, B data is used.
The same processing is performed for the data as for the R data.

【0268】そしてステップ#70で、アドレスの値か
ら1画面分のサンプリングが終了したかどうかの判別を
行い、終了していなければステップ#62に戻って前記
処理を繰り返し、終了していればこのルーチンを終了す
る。
At step # 70, it is determined whether or not sampling for one screen has been completed based on the address value. If not completed, the process returns to step # 62 to repeat the above-mentioned processing. End the routine.

【0269】図27は図25におけるステップ#53の
正規化補正処理のサブルーチンを示している。
FIG. 27 shows a subroutine of the normalization correction processing in step # 53 in FIG.

【0270】まずステップ#81にてネガフラグが1か
どうかをチェックし、1でなければステップ#82に移
行してゲイン調整値、LUTデータに初期値をセットす
る。
First, at step # 81, it is checked whether the negative flag is 1. If it is not 1, the flow shifts to step # 82 to set initial values to the gain adjustment value and LUT data.

【0271】ネガフラグが1であるとステップ#83に
移行する。ステップ#83〜#90までの処理は読み取
ったR、G、Bのデータから抽出した、各MAX値から
最大値と最小値とを導いてR、G、Bのバランスをと
り、その差が所定値を越えるかどうかで、ネガフィルム
の場合でも、補正処理を実行するかどうかを判別する。
If the negative flag is 1, the flow shifts to step # 83. The processing of steps # 83 to # 90 is to derive the maximum value and the minimum value from each MAX value extracted from the read R, G, and B data to balance R, G, and B, and determine the difference between them. It is determined whether or not to execute the correction process even in the case of a negative film based on whether the value exceeds the value.

【0272】所定値を越える場合、補正処理は行わな
い。
If it exceeds the predetermined value, no correction processing is performed.

【0273】まずステップ#83でRのMAX値とGの
MAX値との大小関係を判別し、RのMAX値の方が大
きい場合はステップ#84に移行してαにRのMAX値
を、βにGのMAX値をそれぞれ代入する。
First, in step # 83, the magnitude relationship between the MAX value of R and the MAX value of G is determined. If the MAX value of R is larger, the flow shifts to step # 84 to set the MAX value of R to α. Substitute the MAX value of G for β.

【0274】GのMAX値の方が大きい場合はステップ
#85に移行して、αにGのMAX値を、βにRのMA
X値をそれぞれ代入する。
If the MAX value of G is larger, the flow shifts to step # 85, where α is the MAX value of G and β is the MA value of R.
The X value is substituted for each.

【0275】次でステップ#86にてBのMAX値とα
の値との大小関係を判別する。BのMAX値の方が大き
ければステップ#87に移行してαにBのMAX値を代
入する。ここでαにはR、G、Bの各MAX値の最大の
ものが格納されることになる。
Next, at step # 86, the MAX value of B and α
The magnitude relationship with the value of is determined. If the MAX value of B is larger, the process proceeds to step # 87, and the MAX value of B is substituted for α. Here, the maximum value of each of the R, G, and B MAX values is stored in α.

【0276】そしてこの処理の後、あるいはステップ#
86にてαの値の方が大きい場合はそのまま、ステップ
#88に移行する。
After this processing, or in step #
If the value of α is larger at 86, the process directly proceeds to step # 88.

【0277】ステップ#88ではBのMAX値とβの値
との大小関係を判別し、BのMAX値の方が小さければ
ステップ#89に移行してβにBのMAX値を代入す
る。ここでβにはR、G、Bの各MAX値の最小のもの
が格納されることになる。
In step # 88, the magnitude relationship between the MAX value of B and the value of β is determined, and if the MAX value of B is smaller, the flow shifts to step # 89 to substitute the MAX value of B for β. Here, β stores the minimum value of each of the R, G, and B MAX values.

【0278】そしてこの処理の後、あるいはステップ#
88にてβの値のほうが小さい場合はそのままステップ
#90に移行し、αの値とβの値との差が所定値1より
も大きいかどうかを判別する。
After this processing, or in step #
If the value of β is smaller at 88, the process directly proceeds to step # 90, and it is determined whether or not the difference between the value of α and the value of β is larger than a predetermined value 1.

【0279】つまりR、G、Bの各MAX値の最大のも
のと最小のものとの差が所定値1を越えるかどうかが判
別される。
That is, it is determined whether or not the difference between the maximum value and the minimum value of each of the R, G, and B MAX values exceeds a predetermined value 1.

【0280】差が所定値1を越える場合、ステップ#9
1に進んでゲイン調整値、LUTデータに初期値をセッ
トして本サブルーチンを終了する。
If the difference exceeds the predetermined value 1, step # 9
The process proceeds to 1 to set an initial value to a gain adjustment value and LUT data, and terminates the present subroutine.

【0281】本実施例ではMAX値での判別としたが、
平均値、MIN値等を使用して同様の処理を行うことも
できる。
In this embodiment, the discrimination is made based on the MAX value.
Similar processing can be performed using an average value, a MIN value, and the like.

【0282】差が所定値を越えていない場合、ステップ
#92に移行し、RのMAX値とMIN値との差が所定
値2を下回るかどうか、つまり読み取ったデータの振幅
が所定値2を下回るかどうか判別される。
If the difference does not exceed the predetermined value, the flow shifts to step # 92 to determine whether or not the difference between the MAX value and the MIN value of R is smaller than the predetermined value 2, that is, the amplitude of the read data is smaller than the predetermined value 2. It is determined whether it is below.

【0283】これはもともとのデータが、振幅の小さい
ものであるときに、LUT補正処理を実行すると、極端
にコントラストを付けてしまい、違和感のある出力にな
ってしまうので、その処理を実行しないようにする。た
だしゲイン調整部の補正処理については問題ないので実
行する。
This is because if the original data has a small amplitude and the LUT correction processing is executed, the contrast will be extremely increased and the output will be uncomfortable, so that the processing is not executed. To However, the correction process of the gain adjustment unit is executed because there is no problem.

【0284】そこで前記振幅が所定値2を下回っている
場合は、ステップ#93に移行してゲイン調整部補正処
理サブルーチンを実行した後、LUTデータに初期値を
セットして(ステップ#94)本サブルーチンを終了す
る。
If the amplitude is smaller than the predetermined value 2, the flow goes to step # 93 to execute the gain adjusting section correction processing subroutine, and then the initial value is set in the LUT data (step # 94). End the subroutine.

【0285】また前記振幅が所定値2を上回る場合は、
ステップ#95のゲイン調整部補正処理サブルーチを実
行した後、ステップ#96のLUT補正処理サブルーチ
ンを実行して本サブルーチを終了する。
When the amplitude exceeds a predetermined value 2,
After executing the gain adjustment unit correction processing subroutine in step # 95, the subroutine is executed by executing the LUT correction processing subroutine in step # 96.

【0286】なお、ステップ#92の判別方法は、本実
施例の方法に限定されるものではなく、同様な他の処理
によることもできる。
It should be noted that the determination method in step # 92 is not limited to the method of the present embodiment, but may be other similar processing.

【0287】図28は図27におけるステップ#95の
ゲイン調整部補正処理サブルーチンを示している。
FIG. 28 shows a subroutine for the gain adjusting section correction processing in step # 95 in FIG.

【0288】R信号の場合を例にとって説明する。初期
調整時に、基準のフィルムによる調整で、“基準MAX
値”になるようにゲイン調整される。このときのRライ
ンのゲインを“初期Rゲイン”と呼ぶ。
A description will be given of the case of the R signal as an example. At the time of the initial adjustment, the adjustment using the reference film
The gain of the R line at this time is referred to as an “initial R gain”.

【0289】読み取ったデータから抽出されたRのMA
X値は、前記“初期Rゲイン”で得られた値である。
The MA of R extracted from the read data
The X value is a value obtained by the above “initial R gain”.

【0290】本処理ではRのMAX値を基準MAX値に
なるようにゲイン補正する。すなわち“初期Rゲイン”
から(基準MAX値/RのMAX値)の比率倍にゲイン
を補正する必要がある。
In this processing, the gain is corrected so that the MAX value of R becomes the reference MAX value. That is, "initial R gain"
It is necessary to correct the gain to a multiple of the ratio of (reference MAX value / MAX value of R).

【0291】このためにステップ#101では、補正後
のゲインをRGとすると、(基準MAX値/RのMAX
値)×(初期Rゲイン)をRGに与えることになる。
For this reason, in step # 101, assuming that the corrected gain is RG, (reference MAX value / MAX of R
Value) × (initial R gain) is given to RG.

【0292】G、Bの信号についても同様の考え方にて
処理される(ステップ#102、#103)。
G and B signals are processed in the same way (steps # 102 and # 103).

【0293】図29は図27におけるステップ#96の
LUT補正処理サブルーチンを示している。
FIG. 29 shows the LUT correction processing subroutine of step # 96 in FIG.

【0294】R信号の場合を例にとって説明する。初期
のLUTには、図30に示す特性の初期データが格納さ
れている。
Description will be made by taking the case of the R signal as an example. The initial LUT stores initial data of the characteristics shown in FIG.

【0295】xは入力値(アドレス値)、yは出力値
(データ値)の関係になり、ゲイン調整の補正によって
(基準MAX値/RのMAX値)分だけ出力が増幅され
るので、読取り時に抽出したRのMIN値データも、補
正後は当然(RのMIN値)×(基準MAX値/RのM
AX値)の値となる。
Since x has a relationship with an input value (address value) and y has a relationship with an output value (data value), the output is amplified by (reference MAX value / MAX value of R) by correction of gain adjustment. Of course, the R MIN value data extracted at the time is also (R MIN value) × (reference MAX value / M of R) after correction.
AX value).

【0296】そこでまずステップ#111にて、前記
(RのMIN値)×(基準MAX値/RのMAX値)の
値を算出してCに代入する。
In step # 111, the value of (the MIN value of R) × (the reference MAX value / the MAX value of R) is calculated and substituted into C.

【0297】次いでステップ#112にて、Then, in step # 112,

【0298】[0298]

【数1】 (Equation 1)

【0299】の関数にてLUTの内容を書き替える。図
31はLUTの書き替えられた補正後のデータ特性を示
している。
The contents of the LUT are rewritten by the function of FIG. 31 shows the rewritten data characteristics of the LUT after correction.

【0300】図29ではRの信号についてのみ示してい
るが、G、B信号ラインについてもそれぞれ同様の処理
が行われ、本サブルーチンを終了する。
Although only the R signal is shown in FIG. 29, the same processing is performed for each of the G and B signal lines, and this subroutine ends.

【0301】以上の処理によって、R、G、B画像デー
タのMAX値が揃うのと同時に、それらデータ間のバラ
ンスがとれるし、R、G、Bの画像データの幅も揃うの
で、露光条件やフィルムの種類の違いによるバラツキを
補正しながら、専門家の狙いや撮影した景色による特徴
が損なわれるようなことを回避することができる。
By the above processing, the MAX values of the R, G, and B image data are aligned, and at the same time, the balance between the data is obtained, and the widths of the R, G, and B image data are also aligned. While correcting the variation due to the difference in the type of the film, it is possible to avoid the characteristic of the photographer's aim and the captured scene from being spoiled.

【0302】図32は図22におけるステップ#6のフ
ィルムキャリア処理サブルーチを示している。
FIG. 32 shows the film carrier processing subroutine of step # 6 in FIG.

【0303】本サブルーチンでは、ランプユニット41
とフィルムキャリア3から、初期状態としてネガに設定
するのか、ポジに設定するのかが判断される。
In this subroutine, the lamp unit 41
The film carrier 3 determines whether the initial state is set to negative or positive.

【0304】まずステップ#121では、ランプユニッ
トのサイズの識別が実行され、その判断によって処理が
分かれる。
First, in step # 121, the size of the lamp unit is identified, and the processing is divided depending on the determination.

【0305】ステップ#121でランプユニット41が
35mmフィルム用のものであると判断された場合に
は、ステップ#122にてセットされているフィルムキ
ャリア3の種類を判別し、連続フィルム用のキャリアで
あると判別された場合には、ステップ#123に移行し
てデフォルトの書換えがあったがどうかを判別する。
If it is determined in step # 121 that the lamp unit 41 is for a 35 mm film, the type of the film carrier 3 set in step # 122 is determined, and the type of the film carrier 3 is determined. If it is determined that there is, the process proceeds to step # 123, and it is determined whether or not the default has been rewritten.

【0306】ステップ#123にてデフォルトの書換え
がないと判断された場合は、そのままステップ#131
に移行してネガ状態をセットする処理、つまりネガフラ
グ=1とする処理を行い、本サブルーチンを終了する。
If it is determined in step # 123 that there is no default rewriting, the process proceeds to step # 131.
Then, the process of setting the negative state, that is, the process of setting the negative flag = 1, is performed, and the subroutine is terminated.

【0307】ステップ#123にてデフォルトの書換え
があると判別された場合は、ステップ#124にてネガ
かどうかを判別し、ネガである場合にステップ#131
に移行してネガ状態のセット処理を行い、ネガで無い場
合はステップ#132に移行してポジ状態のセット処
理、つまりネガフラグ=0とする処理を行い、何れかの
後に本サブルーチンを終了する。
If it is determined in step # 123 that there is a default rewrite, it is determined in step # 124 whether or not it is negative. If it is negative, step # 131 is performed.
Then, the process proceeds to step # 132, and if not negative, the process proceeds to step # 132, where the process of setting the positive status, that is, the process of setting the negative flag to 0, is performed.

【0308】またステップ#122にてセットされてい
るフィルムキャリア3がマウント用であると、ステップ
#125に移行し、デフォルトの書換えがあったかどう
かを判別する。
If the film carrier 3 set in step # 122 is for mounting, the flow shifts to step # 125 to determine whether or not default rewriting has been performed.

【0309】デフォルトの書換えがないと判断された場
合は、そのままステップ#132に移行してポジ状態の
セット処理を行い、本サブルーチンを終了する。
If it is determined that there is no default rewriting, the flow directly proceeds to step # 132 to perform a positive state setting process, and the present subroutine is terminated.

【0310】ステップ#125にてデフォルトの書換え
があった場合、ステップ#126に移行してネガかどう
かを判別し、ネガである場合にはステップ#131にて
ネガ状態のセット処理を行い、ネガでない場合はステッ
プ#132にてポジ状態の処理を行い、何れかの後に本
サブルーチンを終了する。
If there is a default rewrite in step # 125, the process proceeds to step # 126 to determine whether or not it is negative. If it is negative, a negative state setting process is performed in step # 131, and the process proceeds to step # 131. If not, the process in the positive state is performed in step # 132, and the subroutine ends after any of them.

【0311】さらにステップ#121にて、ランプユニ
ット41が6cmフィルム用のものである場合、ステッ
プ#127に移行してデフォルトの書換えがあったかど
うかを判別する。
If the lamp unit 41 is for a 6 cm film in step # 121, the flow shifts to step # 127 to determine whether or not the default rewriting has been performed.

【0312】デフォルトの書換えがない場合、ステップ
#132に移行してポジ状態のセット処理を行って本サ
ブルーチンを終了する。
[0312] If there is no default rewriting, the flow shifts to step # 132 to perform a positive state setting process, and ends this subroutine.

【0313】デフォルトの書換えがあった場合は、ステ
ップ#128に移行してネガかどうかの判別を行う。
If there is a default rewrite, the flow shifts to step # 128 to determine whether or not the data is negative.

【0314】ネガであった場合はステップ#131にて
ネガ状態のセットを行い、ネガでない場合はステップ#
132にてポジ状態のセットを行い、何れかの後に本サ
ブルーチンを終了する。
If negative, a negative state is set at step # 131, and if not, step #
At 132, a positive state is set, and the subroutine is terminated after any of them.

【0315】またステップ#121にてセットされてい
るランプユニット41が4×5インチフィルム用のもの
であると、ステップ#129に移行し、デフォルトの書
換えがあったかどうかを判別する。
If the lamp unit 41 set in step # 121 is for a 4 × 5 inch film, the flow shifts to step # 129 to determine whether or not default rewriting has been performed.

【0316】デフォルトの書換えがない場合、そのまま
ステップ#132に移行してポジ状態のセット処理を行
い本サブルーチンを終了する。
If there is no default rewriting, the flow directly proceeds to step # 132 to perform a positive state setting process, and the present subroutine ends.

【0317】デフォルトの書換えがあった場合、ステッ
プ#130に移行してネガかどうかを判別する。
If there is a default rewrite, the flow shifts to step # 130 to determine whether or not the rewrite is negative.

【0318】ネガである場合はステップ#131に移行
してネガ状態のセット処理を行い、ネガでないな場合は
ステップ#132に移行してポジ状態のセット処理を行
い、何れかの後本サブルーチを終了する。
If negative, the process proceeds to step # 131 to perform a negative state setting process. If not, the process proceeds to step # 132 to perform a positive state setting process. finish.

【0319】[0319]

【発明の効果】本発明の主たる特徴によれば、特に、前
記カラーバランスとコントラストの適正化を図りなが
ら、第1データが第1閾値より大きい場合、第1制御手
段によってカラーバランス補正手段およびコントラスト
補正手段による補正を禁止し、第1データが第1閾値以
で、第2データが第2閾値以下の場合、第2制御手段
によってカラーバランス補正手段による補正を許可し、
前記コントラスト補正手段による補正を禁止するので、
夕焼けなどのカラーバランスの崩れを狙っているような
場合のカラーバランスの補正に加え、コントラストの補
正も行わないようにして、狙いが一層保証できるように
し、また、コントラストの弱い景色などの場合にそれを
極端にするようなコントラストの補正が行われないよう
にすることができる。
According to the main feature of the present invention, in particular, when the first data is larger than the first threshold value while optimizing the color balance and the contrast, the first control means controls the color balance correction means and the contrast. The correction by the correction means is prohibited and the first data is equal to or less than the first threshold.
Below , when the second data is equal to or less than the second threshold , the second control means permits the correction by the color balance correction means,
Since the correction by the contrast correction unit is prohibited,
In addition to correcting the color balance when aiming for color balance collapse such as sunsets, the correction of contrast is also not performed, so that the aim can be further guaranteed, and in the case of scenes with weak contrast, etc. It is possible to prevent the contrast from being corrected so as to make it extreme.

【0320】[0320]

【0321】[0321]

【0322】前記第1データは、前記撮像手段で得られ
た複数の画素の画像データの最大値もしくは最小値を用
いて演算されると、画像の濃度の過剰もしくは不足を判
定することができるし、最大値ではゲイン補正に適し、
最小値では出力範囲補正に適している。
When the first data is calculated using the maximum value or the minimum value of the image data of a plurality of pixels obtained by the imaging means, it is possible to determine whether the density of the image is excessive or insufficient. , The maximum value is suitable for gain correction,
The minimum value is suitable for output range correction.

【0323】また、前記第1データは、前記撮像手段で
得られた複数の画素の画像データの平均値を用いて演算
されても、カラーバランスを判定して上記コントラスト
補正手段による補正情報とすることができる。
Further, even if the first data is calculated by using the average value of the image data of a plurality of pixels obtained by the image pickup means, the color balance is determined to be the correction information by the contrast correction means. be able to.

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

【図1】本発明の一実施例を示すカラー画像の読取り装
置を正面より見た概略構成図である。
FIG. 1 is a schematic configuration diagram of a color image reading apparatus according to an embodiment of the present invention as viewed from the front.

【図2】装置本体部を上方より見た概略構成図である。FIG. 2 is a schematic configuration diagram of the apparatus main body viewed from above.

【図3】照明部の概略構成を示す側面図である。FIG. 3 is a side view illustrating a schematic configuration of a lighting unit.

【図4】ランプユニットの斜視図である。FIG. 4 is a perspective view of a lamp unit.

【図5】ランプユニットの内部構成を示す概念図であ
る。
FIG. 5 is a conceptual diagram showing an internal configuration of a lamp unit.

【図6】ランプの種類を示す図である。FIG. 6 is a diagram showing types of lamps.

【図7】フィルムキャリアの正面図である。FIG. 7 is a front view of a film carrier.

【図8】フィルムキャリアの種類検出部の正面図であ
る。
FIG. 8 is a front view of a film carrier type detection unit.

【図9】カラーCRTおよび操作パネル、内部パネルを
示す正面図である。
FIG. 9 is a front view showing a color CRT, an operation panel, and an inner panel.

【図10】CPUとその周辺機器のブロック図である。FIG. 10 is a block diagram of a CPU and its peripheral devices.

【図11】パラレルI/Oとこれに接続される回路のブ
ロック図である。
FIG. 11 is a block diagram of a parallel I / O and a circuit connected to the parallel I / O.

【図12】ネガフィルムの撮影した原稿濃度とフィルム
透過濃度の関係を示すグラフである。
FIG. 12 is a graph showing the relationship between the density of a document photographed on a negative film and the film transmission density.

【図13】ポジフィルムの撮影した原稿濃度とフィルム
透過濃度の関係を示すグラフである。
FIG. 13 is a graph showing the relationship between the density of a document photographed on a positive film and the film transmission density.

【図14】フジカラーSUPER HG100のフィル
ムの場合の露光条件とR、G、B濃度との関係を示すグ
ラフである。
FIG. 14 is a graph showing the relationship between exposure conditions and R, G, and B densities in the case of a Fujicolor SUPER HG100 film.

【図15】フジカラーSUPER HG400のフィル
ムの場合の露光条件とR、G、B濃度との関係を示すグ
ラフである。
FIG. 15 is a graph showing the relationship between exposure conditions and R, G, and B densities in the case of a Fujicolor SUPER HG400 film.

【図16】フジカラーREALAのフィルムの場合の露
光条件とR、G、B濃度との関係を示すグラフである。
FIG. 16 is a graph showing the relationship between exposure conditions and R, G, and B densities in the case of a Fujicolor REALA film.

【図17】フジクローム50プロフェッショナルのポジ
フィルムの場合の露光条件とR、G、B濃度との関係を
示すグラフである。
FIG. 17 is a graph showing the relationship between exposure conditions and R, G, and B densities in the case of a Fujichrome 50 Professional positive film.

【図18】フジクローム400プロフェッショナルのポ
ジフィルムの場合の露光条件とR、G、B濃度との関係
を示すグラフである。
FIG. 18 is a graph showing a relationship between exposure conditions and R, G, and B densities in the case of a positive film of Fujichrome 400 Professional.

【図19】ネガフィルムの場合の撮影した原稿濃度とゲ
イン補正しないA/D変換後のデータとの関係を示すグ
ラフである。
FIG. 19 is a graph showing the relationship between the density of a captured original and the data after A / D conversion without gain correction in the case of a negative film.

【図20】ネガフィルムの場合の撮影した原稿濃度とゲ
イン補正したA/D変換後のデータとの関係を示すグラ
フである。
FIG. 20 is a graph showing the relationship between the density of a photographed original and the data after gain-corrected A / D conversion in the case of a negative film.

【図21】カラーCCDセンサにて読み取ったR、G、
B各信号の処理の流れを示すブロック図である。
FIG. 21 shows R, G, and R read by a color CCD sensor.
It is a block diagram which shows the flow of a process of each B signal.

【図22】CPUの主な制御を示すメインルーチンのフ
ローチャートである。
FIG. 22 is a flowchart of a main routine showing main control of a CPU.

【図23】画像読取り制御サブルーチンのフローチャー
トである。
FIG. 23 is a flowchart of an image reading control subroutine.

【図24】パネルキー入力処理サブルーチンのフローチ
ャートである。
FIG. 24 is a flowchart of a panel key input processing subroutine.

【図25】データ解析処理サブルーチンのフローチャー
トである。
FIG. 25 is a flowchart of a data analysis processing subroutine.

【図26】MAX値、MIN値検出処理サブルーチンの
フローチャートである。
FIG. 26 is a flowchart of a MAX value / MIN value detection processing subroutine.

【図27】正規化補正処理サブルーチンのフローチャー
トである。
FIG. 27 is a flowchart of a normalization correction processing subroutine.

【図28】ゲイン調整部補正処理サブルーチンのフロー
チャートである。
FIG. 28 is a flowchart of a gain adjustment unit correction processing subroutine.

【図29】LUT補正処理サブルーチンのフローチャー
トである。
FIG. 29 is a flowchart of an LUT correction processing subroutine.

【図30】LUT補正処理にて用いる初期データの特性
を示すグラフである。
FIG. 30 is a graph showing characteristics of initial data used in the LUT correction processing.

【図31】LUT補正処理にて補正された後のデータの
特性を示すグラフである。
FIG. 31 is a graph showing characteristics of data after being corrected in the LUT correction processing.

【図32】フィルムキャリア処理サブルーチンのフロー
チャートである。
FIG. 32 is a flowchart of a film carrier processing subroutine.

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

1 装置本体 2 カラーCRT 113 照明部 12〜14、16〜18 ミラー 15 結像レンズ 112 カラーCCDセンサ 200 CPU 401R、401G、401B ビデオアンプ 402R、402G、402B D/Aコンバータ 407R、407G、407B LUT DESCRIPTION OF SYMBOLS 1 Apparatus main body 2 Color CRT 113 Illumination part 12-14, 16-18 Mirror 15 Imaging lens 112 Color CCD sensor 200 CPU 401R, 401G, 401B Video amplifier 402R, 402G, 402B D / A converter 407R, 407G, 407B LUT

───────────────────────────────────────────────────── フロントページの続き (72)発明者 室木 賢一 大阪市中央区安土町二丁目3番13号大阪 国際ビル ミノルタカメラ株式会社内 (56)参考文献 特開 平1−151376(JP,A) 特開 昭58−9144(JP,A) 特開 平1−213073(JP,A) 特開 昭64−60151(JP,A) 特開 昭64−12766(JP,A) 特開 平2−295393(JP,A) 特開 平2−288697(JP,A) 特開 平1−252067(JP,A) 特開 平1−169683(JP,A) 特表 昭62−500756(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/04,1/46,1/60 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Kenichi Muroki 2-3-113 Azuchicho, Chuo-ku, Osaka City Osaka International Building Minolta Camera Co., Ltd. (56) References JP-A-1-151376 (JP, A JP-A-58-9144 (JP, A) JP-A-1-213073 (JP, A) JP-A-64-60151 (JP, A) JP-A-64-12766 (JP, A) JP-A-2- 295393 (JP, A) JP-A-2-288697 (JP, A) JP-A-1-252067 (JP, A) JP-A-1-169683 (JP, A) Tokuyo 62-500756 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1 / 04,1 / 46,1 / 60

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 カラー画像を読取り、色分解された各色
の画像データを得る撮像手段と、 前記撮像手段で得られた各色の画像データに対して、カ
ラーバランスの補正を行なうカラーバランス補正手段
と、 前記撮像手段で得られた画像データに対して、コントラ
ストの補正を行なうコントラスト補正手段と、 前記撮像手段で得られた各色の画像データに基づき、各
色間のばらつきの大きさを示す第1データを抽出する第
1抽出手段と、 前記撮像手段で得られた各色の画像データのうち、所定
の1色についての画像データの大小差を示す第2データ
を抽出する第2抽出手段と、 前記第1データが第1閾値より大きい場合、前記カラー
バランス補正手段および前記コントラスト補正手段によ
る補正を禁止する第1制御手段と、 前記第1データが第1閾値以下で、かつ前記第2データ
第2閾値以下の場合、前記カラーバランス補正手段に
よる補正を許可し、前記コントラスト補正手段による補
正を禁止する第2制御手段と、 を備えたことを特徴とするカラー画像読取り装置。
An imaging unit that reads a color image and obtains color-separated image data of each color; and a color balance correction unit that performs color balance correction on the image data of each color obtained by the imaging unit. A contrast correction means for correcting contrast of the image data obtained by the imaging means; and first data indicating the magnitude of variation between the colors based on the image data of each color obtained by the imaging means. a first extracting means for extracting, from among the image data of each color obtained by said image pickup means, a predetermined
Second extraction means for extracting second data indicating a magnitude difference of image data for one color, and when the first data is larger than a first threshold , prohibits correction by the color balance correction means and the contrast correction means. A first control unit that performs the correction by the color balance correction unit and prohibits the correction by the contrast correction unit when the first data is equal to or less than a first threshold and the second data is equal to or less than a second threshold. And a second control unit.
【請求項2】 前記第1データは、前記撮像手段で得ら
れた複数の画素の画像データの最大値もしくは最小値を
用いて演算される請求項1に記載のカラー画像読取り装
置。
2. The color image reading device according to claim 1, wherein the first data is calculated using a maximum value or a minimum value of image data of a plurality of pixels obtained by the imaging unit.
【請求項3】 前記第1データは、前記撮像手段で得ら
れた複数の画素の画像データの平均値を用いて演算され
る請求項1に記載のカラー画像読取り装置。
3. The color image reading device according to claim 1, wherein the first data is calculated using an average value of image data of a plurality of pixels obtained by the imaging unit.
JP00172092A 1992-01-08 1992-01-08 Color image reader Expired - Lifetime JP3347153B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP00172092A JP3347153B2 (en) 1992-01-08 1992-01-08 Color image reader
US08/000,631 US5579131A (en) 1992-01-08 1993-01-05 Color image reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00172092A JP3347153B2 (en) 1992-01-08 1992-01-08 Color image reader

Publications (2)

Publication Number Publication Date
JPH05191567A JPH05191567A (en) 1993-07-30
JP3347153B2 true JP3347153B2 (en) 2002-11-20

Family

ID=11509407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00172092A Expired - Lifetime JP3347153B2 (en) 1992-01-08 1992-01-08 Color image reader

Country Status (1)

Country Link
JP (1) JP3347153B2 (en)

Also Published As

Publication number Publication date
JPH05191567A (en) 1993-07-30

Similar Documents

Publication Publication Date Title
EP1688884B1 (en) Image pickup apparatus
US8106961B2 (en) Image processing method, apparatus and computer program product, and imaging apparatus, method and computer program product
US7009641B2 (en) Electronic camera with gain adjustment
JP4042432B2 (en) Imaging device
WO2001074057A1 (en) Film scanner
US7791640B2 (en) Electronic camera and image generating apparatus generating stereo image
US20030123756A1 (en) Image reproducing apparatus
KR100651813B1 (en) Strobo control apparatus, and strobo control method
US5579131A (en) Color image reading apparatus
US7218421B2 (en) Image reading device
JP3347153B2 (en) Color image reader
JP3356688B2 (en) Image processing method
JP3576809B2 (en) Image processing device
JPH05191661A (en) Color image reader
US20030117659A1 (en) Image reading device and method
JPH05292262A (en) Image reader
JP2006166342A (en) Imaging apparatus and imaging system
JPH05316287A (en) Picture reader
JP4316869B2 (en) camera
JPH05191646A (en) Picture reader
JP4458114B2 (en) Imaging device
JP3386859B2 (en) Film image editing device
JP3433455B2 (en) Image reading device
JP2000349968A (en) Image processor
JP2002300390A (en) Image reproducing method and image reproducing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080906

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090906

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110906

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120906

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120906

Year of fee payment: 10