JP2007235737A - Defective pixel correction method, and defective pixel correction system - Google Patents

Defective pixel correction method, and defective pixel correction system Download PDF

Info

Publication number
JP2007235737A
JP2007235737A JP2006056617A JP2006056617A JP2007235737A JP 2007235737 A JP2007235737 A JP 2007235737A JP 2006056617 A JP2006056617 A JP 2006056617A JP 2006056617 A JP2006056617 A JP 2006056617A JP 2007235737 A JP2007235737 A JP 2007235737A
Authority
JP
Japan
Prior art keywords
image data
defect determination
light image
scan
visible light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006056617A
Other languages
Japanese (ja)
Inventor
Tomoo Nakano
智生 中野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Noritsu Koki Co Ltd
Original Assignee
Noritsu Koki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Noritsu Koki Co Ltd filed Critical Noritsu Koki Co Ltd
Priority to JP2006056617A priority Critical patent/JP2007235737A/en
Publication of JP2007235737A publication Critical patent/JP2007235737A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a defective pixel correction technique for calculating a defect judgment reference for detecting a defect precisely, as easily as possible. <P>SOLUTION: The defective pixel correction system is provided with a defect judgment threshold calculation part 52a which sequentially calculates first visible image data and first infrared ray image data read by each main scanning line in the case of pre-scanning; a defect judgment threshold curve generation part 52b which prepares a defect judgment threshold curve over the whole region in a sub-scanning direction from the defect judgment threshold; and a pixel correction processing part 53 which detects defective pixels in second visible image data read in the case of main scanning using the defect judgment threshold curve and corrects the defective pixel. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、写真フィルムから可視光に基づいて読み取られた可視光画像データと赤外光に基づいて読み取られた赤外光画像データとを用いて可視光画像データ中のフィルム傷などに起因する欠陥画素を判定し、この判定された欠陥画素の検出を行い、当該欠陥画素の修正を行う欠陥画素修正技術に関する。   The present invention results from film scratches in visible light image data using visible light image data read from a photographic film based on visible light and infrared light image data read based on infrared light. The present invention relates to a defective pixel correction technique that determines a defective pixel, detects the determined defective pixel, and corrects the defective pixel.

写真フィルムには、その表面に傷、埃、汚れ等の欠陥が存在する場合がある。そこで、そのような欠陥が存在する写真フィルムから画像を読み取って写真プリントを出力する際に、そのような欠陥部を輝度調整処理(画像データの画素値を濃度で表現するため濃度調整処理と呼んでもよいが、写真画像処理で通常行われている濃度調整処理と区別するためここでは輝度調整処理と呼ぶことにする)や補間処理等の画像処理により修正する技術が知られている。   A photographic film may have defects such as scratches, dust, and dirt on its surface. Therefore, when reading an image from a photographic film having such defects and outputting a photographic print, such defective portions are referred to as brightness adjustment processing (called density adjustment processing in order to express pixel values of image data by density). However, in order to distinguish it from the density adjustment processing normally performed in photographic image processing, it will be referred to as luminance adjustment processing here) and a technique for correction by image processing such as interpolation processing is known.

輝度調整処理方法として、例えば、赤外光は、可視光と異なり、写真フィルムを透過した場合にそこに写っている画像の影響をほとんど受けず、傷や埃等による影響のみを受けるという特性を利用して、輝度調整処理により修正を行うことが知られている。これは、具体的には、写真フィルムに赤外光及び可視光を透過させ、赤外光による画像データの画素値(濃度又は輝度で表現される)が所定の閾値以下である部分を欠陥部と認識し、当該欠陥部の各色成分(赤色(R)、緑色(G)、青色(B))の画素値に対して、正常部に対する欠陥部の赤外光の減衰量分を上乗せして輝度を高めることにより、欠陥部の各色成分の画素値を正常部に合せて輝度調整する技術である(例えば、特許文献1参照)。   As a brightness adjustment processing method, for example, unlike visible light, infrared light is hardly affected by an image reflected in a photographic film and is only affected by scratches, dust, etc. It is known that correction is performed by luminance adjustment processing. Specifically, infrared light and visible light are transmitted through a photographic film, and a pixel value (expressed by density or brightness) of image data by infrared light is a predetermined threshold value or less. And add the amount of attenuation of the infrared light of the defective portion with respect to the normal portion to the pixel value of each color component (red (R), green (G), blue (B)) of the defective portion. This is a technique for adjusting the luminance of the pixel values of the respective color components in the defective portion according to the normal portion by increasing the luminance (see, for example, Patent Document 1).

しかし、このような輝度調整処理は、欠陥部において各色成分の画素値が互いに同じ量だけ減衰していることを前提としているため、写真フィルムの乳剤面に傷が付いている場合のように、色成分毎の画素値の減衰の量が異なる場合には、適切に欠陥部を修正することができない。そのような場合には、輝度調整処理で用いられた所定の閾値と同じかそれより所定割合だけ低い閾値を用いて欠陥と判定された欠陥部の修正を周囲の正常画素の画素値を用いて行う補間処理の技術が用いられる。その際、単純に隣接する正常画素の画素値を欠陥部に適用するだけでは、欠陥部に模様や境界等が存在する場合に適切に修正することができないので、例えば、画像の境界の方向を検出し、その境界の方向に沿って存在する正常画素の画素値を欠陥部に適用することにより、模様や境界等を反映した修正を行うアルゴリズムが知られている。具体的には、欠陥部から互いに異なる複数の方向に沿って、正常画素の画素値の差や正常画素間の距離等の画像特徴量を演算し、更に前記複数の方向に存在する正常画素の画素値から各方向毎の補間値を求め、前記画像特徴量を重みとして各方向毎の補間値の重み付き平均を演算することによって最終修正値を求めて補間する(例えば、特許文献2参照)。   However, since such brightness adjustment processing is based on the premise that the pixel values of the respective color components are attenuated by the same amount in the defective portion, as in the case where the emulsion surface of the photographic film is scratched, When the amount of attenuation of the pixel value for each color component is different, the defective portion cannot be corrected appropriately. In such a case, correction of a defective portion determined as a defect using a threshold value that is the same as or lower than the predetermined threshold value used in the luminance adjustment processing is performed using the pixel values of surrounding normal pixels. The technique of interpolation processing to be performed is used. At that time, simply applying the pixel values of adjacent normal pixels to the defective part cannot be corrected appropriately when there is a pattern or boundary in the defective part. There is known an algorithm that detects and applies a pixel value of a normal pixel that exists along the boundary direction to a defect portion to perform correction reflecting a pattern, a boundary, and the like. Specifically, image feature amounts such as pixel value differences of normal pixels and distances between normal pixels are calculated along a plurality of different directions from the defective portion, and the normal pixels existing in the plurality of directions are further calculated. An interpolated value for each direction is obtained from the pixel value, and a final corrected value is obtained by interpolation by calculating a weighted average of the interpolated values for each direction using the image feature amount as a weight (see, for example, Patent Document 2). .

上述した欠陥画素修正アルゴリズムを適用する前提として、まず欠陥画素を検出するための欠陥判定基準(閾値)を正確に求めることが重要である。このためには、主走査方向に延びた主走査ラインを用いて主走査方向に直交する副走査方向に順次走査することで写真フィルムを読み取り走査する第1スキャン(プレスキャン)時に写真フィルムから可視光に基づいて読み取られた第1可視光画像データと赤外光に基づいて読み取られた第1赤外光画像データとを用いて欠陥判定基準を演算し、第1スキャンに続く第2スキャン(本スキャン)時に写真フィルムから読み取られた第2可視光画像データと第2赤外光画像データとから前記欠陥判定基準を用いて第2可視光画像データ中の欠陥画素の検出を行うことが好ましい。例えば、1コマ(撮影コマ画像)分の赤外光画像データから全画素の画素値の平均値である赤外平均値を算出し、赤色リーケージを考慮して、第1の変数X=赤画像(赤色画像データ)の画素値−赤外画像の画素値+赤外平均値と、第2の変数Y=赤画像の画素値とを画素ごとに求め、最小二乗法を用いて回帰式Y=aX+bの係数a,bを算出し、欠陥検出の閾値を「赤外平均値+b」で求めること方法が提案されている(例えば、特許文献3参照)。   As a premise for applying the above-described defective pixel correction algorithm, it is important to first accurately determine a defect determination standard (threshold value) for detecting a defective pixel. For this purpose, the main scanning line extending in the main scanning direction is used to sequentially scan in the sub-scanning direction orthogonal to the main scanning direction so that the photographic film is read and scanned during the first scan (pre-scan). A defect determination criterion is calculated using the first visible light image data read based on the light and the first infrared light image data read based on the infrared light, and a second scan following the first scan ( It is preferable to detect defective pixels in the second visible light image data from the second visible light image data and the second infrared light image data read from the photographic film during the main scan) using the defect determination criterion. . For example, an infrared average value, which is an average value of pixel values of all pixels, is calculated from infrared light image data for one frame (photographed frame image), and the first variable X = red image in consideration of red leakage The pixel value of (red image data) −the pixel value of the infrared image + the infrared average value and the second variable Y = the pixel value of the red image are obtained for each pixel, and the regression equation Y = A method has been proposed in which the coefficients a and b of aX + b are calculated and the defect detection threshold value is obtained as “infrared average value + b” (for example, see Patent Document 3).

特開平11−98370号公報(第15−16頁、図4)JP-A-11-98370 (pages 15-16, FIG. 4) 特開2001−78038号公報(第7−8頁、第4−5図、図8)JP 2001-78038 A (Pages 7-8, FIGS. 4-5, FIG. 8) 特開2005−80237号公報(段落0036、0046、図5)Japanese Patent Laying-Open No. 2005-80237 (paragraphs 0036 and 0046, FIG. 5)

上述した欠陥画素修正技術では、プレスキャン時に画像メモリに記憶される可視光画像データ及び赤外光画像データを用いてコマ(撮影コマ画像)毎に欠陥検出のための閾値を算出し、本スキャン時での画像データの欠陥画素修正処理に利用している。そのため、プレスキャンで取得された写真フィルム1本の細長いデータエリアをもつ画像データから撮影コマ画像を切り出し、その切り出された撮影コマ画像毎に欠陥判定基準である閾値を算出する必要がある。   In the defective pixel correction technique described above, the threshold for defect detection is calculated for each frame (photographed frame image) using the visible light image data and infrared light image data stored in the image memory during the prescan, and the main scan is performed. This is used for defective pixel correction processing of image data at the time. For this reason, it is necessary to cut out a shot frame image from image data having an elongated data area of one photographic film obtained by pre-scanning, and to calculate a threshold value as a defect determination standard for each of the cut out shot frame images.

上記実状に鑑み、本発明の課題は、正確な欠陥検出を可能とする欠陥判定基準をできるだけ簡単に算出する欠陥画素修正技術を提供することである。   In view of the above situation, an object of the present invention is to provide a defective pixel correction technique that calculates a defect determination standard that enables accurate defect detection as easily as possible.

上記課題を解決するため、主走査方向に延びた主走査ラインを用いて主走査方向に直交する副走査方向に順次走査することで写真フィルムを読み取り走査する第1スキャン時に写真フィルムから可視光に基づいて読み取られた第1可視光画像データと赤外光に基づいて読み取られた第1赤外光画像データとを用いて欠陥判定基準を演算し、前記第1スキャンに続く第2スキャン時に前記写真フィルムから読み取られた第2可視光画像データと第2赤外光画像データとから前記欠陥判定基準を用いて前記第2可視光画像データ中の欠陥画素の検出を行い、当該欠陥画素の修正を行う欠陥画素修正方法において、本発明では、前記第1スキャンを通じて演算される欠陥判定基準として各主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データから欠陥判定閾値を順次算定し、前記欠陥判定閾値から副走査方向全域にわたる欠陥判定閾値曲線を作成し、前記欠陥判定閾値曲線を用いて前記第2可視光画像データ中の欠陥画素の検出を行う。   In order to solve the above-described problem, the photographic film is scanned from the photographic film to the visible light during the first scanning by sequentially scanning in the sub-scanning direction orthogonal to the main scanning direction using the main scanning line extending in the main scanning direction. A defect determination criterion is calculated using the first visible light image data read based on the first infrared light image data read based on the infrared light, and the second scan following the first scan The defective pixel in the second visible light image data is detected from the second visible light image data and the second infrared light image data read from the photographic film by using the defect determination criterion, and the defective pixel is corrected. In the defective pixel correcting method, the first visible light image data read in each main scanning line and the first red are used as defect determination criteria calculated through the first scan. A defect determination threshold is sequentially calculated from the optical image data, a defect determination threshold curve is created from the defect determination threshold over the entire sub-scanning direction, and defect pixels in the second visible light image data are generated using the defect determination threshold curve. Perform detection.

この方法では、プレスキャンとも呼ばれる第1スキャンにおいて、写真フィルムの横断方向に一致する主走査ラインを用いて順次写真フィルムの長手方向である副走査方向の始端側から終端側にかけて写真フィルムを読み取って行くが、この毎回の主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データから欠陥判定閾値を次々に演算し、このようにして得られた副走査方向での離散的な複数の欠陥判定閾値からこれらの離散的な欠陥判定閾値を接続する欠陥判定曲線を作成する。この欠陥判定曲線は写真フィルムの長手方向に沿った曲線であることから、本スキャンとも呼ばれる第2スキャンにおいて第2可視光画像データと第2赤外光画像データの読み取りに用いられた各主走査ラインの写真フィルム長手方向(副走査方向)位置での欠陥判定閾値をこの欠陥判定曲線から得ることができる。つまり、従来のように、撮影コマ画像毎に一定の欠陥判定閾値を求めて撮影コマ画像の欠陥画素修正を行うのではなく、1つの主走査ラインで走査される写真フィルムの微小領域毎に離散的な欠陥判定閾値を求め、これらの離散的な欠陥判定閾値から作成された連続した欠陥判定曲線から写真フィルム長手方向(副走査方向)位置に対応して一義的に導出される欠陥判定閾値を用いて撮影コマ画像の欠陥画素修正が行われる。これにより、優れた欠陥検出が可能となる。   In this method, in the first scan, also referred to as prescan, the photographic film is read from the start side to the end side in the sub-scanning direction, which is the longitudinal direction of the photographic film, sequentially using main scanning lines that coincide with the transverse direction of the photographic film. However, the defect determination threshold value is calculated one after another from the first visible light image data and the first infrared light image data read in each main scanning line, and the discreteness in the sub-scanning direction thus obtained is obtained. A defect determination curve that connects these discrete defect determination thresholds is created from a plurality of typical defect determination thresholds. Since this defect determination curve is a curve along the longitudinal direction of the photographic film, each main scan used for reading the second visible light image data and the second infrared light image data in the second scan, which is also called a main scan. The defect determination threshold value at the position of the line in the photographic film longitudinal direction (sub-scanning direction) can be obtained from this defect determination curve. That is, instead of obtaining a fixed defect determination threshold value for each photographed frame image and correcting defective pixels in the photographed frame image as in the prior art, it is discrete for each minute region of the photographic film scanned by one main scanning line. A defect determination threshold that is uniquely derived from a continuous defect determination curve created from these discrete defect determination thresholds corresponding to the position in the photographic film longitudinal direction (sub-scanning direction). Using this, defective pixel correction of the shot frame image is performed. Thereby, excellent defect detection becomes possible.

特に本発明では、第1スキャン時において写真フィルムの長手方向(副走査方向)で離散的な欠陥判定閾値を求めるという特徴を有することから、前記第1スキャンは副走査方向に粗い間隔で写真フィルムを順次走査するプレスキャンとして高速で行われ、前記第2スキャンは第1スキャンに較べ副走査方向に密な間隔で写真フィルムを順次走査する本スキャンとして前記プレスキャンより低速で行われるようにすると、離散的な欠陥判定閾値の数が少なくなり、欠陥判定閾値算出の演算処理負荷が低減される。また、第1スキャンを高速化することで欠陥画素修正処理を含む撮影コマ画像取得全体の処理時間も短縮される。さらに、離散的な欠陥判定閾値の数が少なくなっても、この離散的な欠陥判定閾値から統計学的な手法を用いて作成した欠陥判定曲線から、その都度の処理対象画像データの位置に適合する欠陥判定閾値を導出するため、正確な欠陥検出が期待できる。   In particular, the present invention has a feature that a discrete defect determination threshold value is obtained in the longitudinal direction (sub-scanning direction) of the photographic film during the first scan. Therefore, the first scan is performed at rough intervals in the sub-scanning direction. If the second scan is performed at a lower speed than the prescan as the main scan, which sequentially scans the photographic film at a dense interval in the sub-scanning direction as compared to the first scan. The number of discrete defect determination thresholds is reduced, and the processing load for calculating the defect determination threshold is reduced. Further, by speeding up the first scan, the processing time of the entire captured frame image acquisition including the defective pixel correction processing is also shortened. Furthermore, even if the number of discrete defect determination thresholds decreases, the defect determination curve created using a statistical method from these discrete defect determination thresholds is adapted to the position of the processing target image data each time. Therefore, accurate defect detection can be expected.

従来のプレスキャン(第1スキャン)では、モニタ表示レベルの画像品質を取得するため70〜100DPIの解像度が用いられていたが、第1スキャンで離散的な欠陥判定閾値を算出するだけならば、従来に較べ非常に粗い、例えば10DPI以下の解像度で副走査方向に飛び越し走査することも可能であり、そのスキャン速度を著しく高速化することができる。   In the conventional pre-scan (first scan), a resolution of 70 to 100 DPI was used to obtain the image quality at the monitor display level. However, if only the discrete defect determination threshold is calculated in the first scan, It is also possible to perform interlaced scanning in the sub-scanning direction with a resolution that is very coarse compared to the prior art, for example, 10 DPI or less, and the scanning speed can be significantly increased.

離散的な欠陥判定閾値から連続した欠陥判定曲線を作成するというアイデアを採用しているということ、及び、撮影コマ画像領域の間に形成されるスヌケ領域から撮影コマ画像の特性に依存しないフィルム特性が得られるということを考慮して、前記第1赤外光画像データが少なくとも前記写真フィルムに形成されている撮影コマ画像領域の間に形成されるスヌケ領域から読み取られたデータを含むようにすることも、優れた欠陥検出が可能となる欠陥判定閾値を少ない演算処理負荷で求めるための好適な方法の1つである。   Employs the idea of creating a continuous defect judgment curve from discrete defect judgment thresholds, and film characteristics that do not depend on the characteristics of the shot frame image from the snook area formed between the shot frame image areas The first infrared light image data includes at least data read from a snook area formed between the photographed frame image areas formed on the photographic film. This is also a preferred method for obtaining a defect determination threshold value that enables excellent defect detection with a small calculation processing load.

本発明では、上述した欠陥判定閾値曲線を用いて欠陥画素修正を行う方法をコンピュータに実行させるプログラムやそのプログラムを記録した媒体も権利の対象とするものである。   In the present invention, a program for causing a computer to execute a method for correcting a defective pixel using the above-described defect determination threshold curve and a medium on which the program is recorded are also subject to rights.

さらに、本発明では、主走査方向に延びた主走査ラインを用いて主走査方向に直交する副走査方向に順次走査することで写真フィルムを読み取り走査する第1スキャン時に写真フィルムから可視光に基づいて読み取られた第1可視光画像データと赤外光に基づいて読み取られた第1赤外光画像データとを用いて欠陥判定基準を演算し、前記第1スキャンに続く第2スキャン時に前記写真フィルムから読み取られた第2可視光画像データと第2赤外光画像データとから前記欠陥判定基準を用いて前記第2可視光画像データ中の欠陥画素の検出を行う際に、上述したような欠陥判定閾値曲線を用いて欠陥画素修正を行う方法を実施する欠陥画素修正システムも権利の対象としており、そのような欠陥画素修正システムには、前記第1スキャンを通じて演算される欠陥判定基準として各主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データから欠陥判定閾値を順次算定する欠陥判定閾値演算部と、前記欠陥判定閾値から副走査方向全域にわたる欠陥判定閾値曲線を作成する欠陥判定閾値曲線生成部と、前記欠陥判定閾値曲線を用いて前記第2可視光画像データ中の欠陥画素の検出を行い、当該欠陥画素の修正を行う画素修正処理部とが備えられている。当然ながら、このような欠陥画素修正システムも上述した欠陥画素修正方法で述べた作用効果を得ることができ、さらに上述した好適な実施形態を組み込むことも可能である。   Further, according to the present invention, based on the visible light from the photographic film during the first scan in which the photographic film is read and scanned by sequentially scanning in the sub-scanning direction orthogonal to the main scanning direction using the main scanning line extending in the main scanning direction. A defect determination criterion is calculated using the first visible light image data read in this way and the first infrared light image data read based on the infrared light, and the photo is taken during the second scan following the first scan. When detecting defective pixels in the second visible light image data using the defect determination standard from the second visible light image data and the second infrared light image data read from the film, as described above. A defective pixel correction system that implements a method of correcting a defective pixel using a defect determination threshold curve is also subject to rights, and the defective pixel correction system passes through the first scan. From the defect determination threshold value, a defect determination threshold value calculation unit that sequentially calculates a defect determination threshold value from the first visible light image data and the first infrared light image data read by each main scanning line as a defect determination reference calculated in A defect determination threshold curve generating unit that creates a defect determination threshold curve over the entire sub-scanning direction, and detecting a defective pixel in the second visible light image data using the defect determination threshold curve, and correcting the defective pixel. And a pixel correction processing unit to be performed. Naturally, such a defective pixel correction system can also obtain the effects described in the above-described defective pixel correction method, and can further incorporate the above-described preferred embodiment.

本発明によるその他の特徴及び利点は、以下図面を用いた実施形態の説明により明らかになるだろう。   Other features and advantages of the present invention will become apparent from the following description of embodiments using the drawings.

以下、本発明の実施形態を図面に基づいて説明する。
図1は本発明による欠陥画素修正システムを採用した写真プリントシステムを示す外観図であり、この写真プリントシステムは、ここでは図示されていないフィルム現像機によって現像処理された写真フィルム1(以下、単にフィルムと称する)の撮影画像コマをデジタル画像データとして読み取るフィルムスキャナ3や取得された画像データに画像処理を施してプリント情報を作成するコントローラ5などを備えた操作ステーションOSと、操作ステーションOSからのプリント情報に基づいて印画紙2に対して露光処理と現像処理とを行って写真プリント2aを作成するプリントステーションPSとから構成されている。コントローラ5は、基本的には汎用パソコンから構成されており、本発明による欠陥画素修正システムを実装している。このパソコンには、この写真プリントシステムの操作画面を表示するモニタ4a、デジタルカメラ等のメモリカード等から画像を読み込むメディアリーダ4b、オペレータによる操作入力に用いられるキーボード4c等が組み込まれている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external view showing a photographic print system employing a defective pixel correction system according to the present invention. An operation station OS provided with a film scanner 3 that reads a captured image frame (referred to as film) as digital image data, a controller 5 that performs image processing on the acquired image data and creates print information, and the like from the operation station OS The printing station 2 includes a print station PS that performs exposure processing and development processing on the photographic paper 2 based on the print information to create a photo print 2a. The controller 5 is basically composed of a general-purpose personal computer, and is mounted with a defective pixel correction system according to the present invention. The personal computer includes a monitor 4a for displaying an operation screen of the photo print system, a media reader 4b for reading an image from a memory card such as a digital camera, and a keyboard 4c used for operation input by an operator.

プリントステーションPSは、図2に示されているように、2つの印画紙マガジン11に納めたロール状の印画紙2を引き出してシートカッター12でプリントサイズに切断すると共に、このように切断された印画紙2に対し、バックプリント部13で色補正情報やコマ番号などのプリント処理情報を印画紙2の裏面に印字するとともに、露光プリント部14で印画紙2の表面に撮影画像の露光を行い、この露光後の印画紙2を複数の現像処理槽を有した処理槽ユニット15に送り込んで現像処理する。乾燥の後に装置上部の横送りコンベア16からソータ17に送られた印画紙2、つまり写真プリント2aは、このソータ17の複数のトレイ17aにオーダ単位で仕分けられた状態で集積される(図1参照)。   As shown in FIG. 2, the print station PS draws out the roll-shaped photographic paper 2 stored in the two photographic paper magazines 11 and cuts it into a print size by the sheet cutter 12. On the photographic paper 2, print processing information such as color correction information and frame number is printed on the back surface of the photographic paper 2 by the back print unit 13, and the photographed image is exposed on the front surface of the photographic paper 2 by the exposure print unit 14. The exposed photographic paper 2 is sent to a processing tank unit 15 having a plurality of development processing tanks for development processing. After drying, the photographic paper 2, that is, the photographic prints 2a, sent to the sorter 17 from the transverse feed conveyor 16 at the top of the apparatus is collected in a plurality of trays 17a of the sorter 17 in a state of being sorted in order units (FIG. 1). reference).

上述した印画紙2に対する各種処理に合わせた搬送速度で印画紙2を搬送するために印画紙搬送機構18が敷設されている。印画紙搬送機構18は、印画紙搬送方向に関して露光部14の前後に配置されたチャッカー式印画紙搬送ユニット18aを含む複数の挟持搬送ローラ対から構成されている。   A photographic paper transport mechanism 18 is laid to transport the photographic paper 2 at a transport speed in accordance with various processes for the photographic paper 2 described above. The photographic paper transport mechanism 18 is composed of a plurality of nipping and transporting roller pairs including a chucker type photographic paper transport unit 18a disposed before and after the exposure unit 14 in the photographic paper transport direction.

露光プリント部14には、副走査方向に搬送される印画紙2に対して、主走査方向に沿って操作ステーションOSからのプリントデータなどのプリント情報に基づいてR(赤)、G(緑)、B(青)の3原色のレーザ光線の照射を行うライン露光ヘッドが設けられている。処理槽ユニット15は、発色現像処理液を貯留する発色現像槽15aと、漂白定着処理液を貯留する漂白定着槽15bと、安定処理液を貯留する安定槽15cを備えている。   The exposure print unit 14 applies R (red) and G (green) to the photographic paper 2 conveyed in the sub-scanning direction based on print information such as print data from the operation station OS along the main scanning direction. A line exposure head for irradiating laser beams of the three primary colors B (blue) is provided. The processing tank unit 15 includes a color developing tank 15a for storing a color developing processing liquid, a bleach-fixing tank 15b for storing a bleach-fixing processing liquid, and a stabilizing tank 15c for storing a stable processing liquid.

フィルムスキャナ3は欠陥画素修正のための構成部材を備えたフィルムスキャナであり、主な構成要素として、照明光学系31、撮像光学系としてのズームレンズ32、入射してきた光を可視光と赤外光に分けるダイクロイックミラー33、可視光用センサユニット34、赤外光用センサユニット35を備えている。照明光学系31は、光源としてのハロゲンランプ又は発光ダイオードと、その光源からの光を調光するミラートンネルや拡散板などから構成されている。可視光用センサユニット34は、フィルム1の3つの基本色成分(例えばR、G、B)からなる可視光画像を検出するためにそれぞれ適合するカラーフィルタを装着した3つのCCDアレイ34aと、これらのCCDアレイ34aによって検出された可視光信号を処理して基本色成分で構成されたR・G・B画像データを生成してコントローラ5へ転送する可視光用信号処理回路34bを備えている。これに対して、赤外光用センサユニット35は、フィルム1に付いている欠陥画素の起因となる傷の状態を赤外光画像として検出するためにダイクロイックミラー33から分岐された赤外光のみを受けるように配置されたCCDアレイ35aと、このCCDアレイ35aによって検出された赤外光信号を処理して赤外光画像データを生成してコントローラ5へ転送する赤外光用信号処理回路35bを備えている。照明光学系31と撮像光学系との間にフィルム1をその長手方向に搬送するフィルム搬送機構36が配置されており、このフィルム搬送機構36には照明光学系31からの照明光がフィルム搬送機構36上に位置する写真フィルム1をライン光の形態で通過するように写真フィルム1の横断方向に延びたスリット36aが形成されている。このライン状のスリット36aの働きで写真フィルム1はいわゆる主走査方向に延びた主走査ラインとしての微小幅領域単位でもってフィルム搬送方向に直交する方向つまり主走査方向に延びているCCDアレイ34aとCCDアレイ35aによって読み取られることになる。CCDアレイ34aとCCDアレイ35aの解像度は4000DPI程度となっている。   The film scanner 3 is a film scanner provided with components for correcting defective pixels, and as main components, an illumination optical system 31, a zoom lens 32 as an imaging optical system, and incident light as visible light and infrared light. A dichroic mirror 33 for dividing light, a visible light sensor unit 34, and an infrared light sensor unit 35 are provided. The illumination optical system 31 includes a halogen lamp or a light emitting diode as a light source, and a mirror tunnel or a diffusion plate that dimmes light from the light source. The visible light sensor unit 34 includes three CCD arrays 34a each equipped with a color filter suitable for detecting a visible light image composed of three basic color components (for example, R, G, B) of the film 1, and these A visible light signal processing circuit 34 b that processes the visible light signal detected by the CCD array 34 a to generate R, G, B image data composed of basic color components and transfers the image data to the controller 5. On the other hand, the infrared light sensor unit 35 has only infrared light branched from the dichroic mirror 33 in order to detect the state of scratches caused by defective pixels on the film 1 as an infrared light image. CCD array 35a arranged to receive the light, and an infrared light signal processing circuit 35b for processing the infrared light signal detected by the CCD array 35a to generate infrared light image data and transferring it to the controller 5. It has. A film transport mechanism 36 for transporting the film 1 in the longitudinal direction is disposed between the illumination optical system 31 and the imaging optical system, and illumination light from the illumination optical system 31 is transmitted to the film transport mechanism 36. A slit 36a extending in the transverse direction of the photographic film 1 is formed so as to pass through the photographic film 1 positioned on the line 36 in the form of line light. The line-shaped slit 36a serves to cause the photographic film 1 to have a CCD array 34a extending in the direction perpendicular to the film transport direction, that is, in the main scanning direction, in units of a minute width region as a main scanning line extending in the main scanning direction. It is read by the CCD array 35a. The resolution of the CCD array 34a and the CCD array 35a is about 4000 DPI.

このように構成されたフィルムスキャナ3では、フィルム1が投入されると、フィルム1に可視光と赤外光を含む照明光が照射され、その透過光が光電変換されることにより可視光用センサユニット34から可視光画像データが、赤外光用センサユニット35から赤外光画像データが前述した主走査ライン単位で出力される。フィルム搬送機構36によるフィルム1の副走査方向への送り操作により、フィルム1は順次主走査ライン単位で可視光用センサユニット34及び赤外光用センサユニット35によって読み取られ、R、G、Bの色成分の画像信号並びに赤外成分の画像信号に光電変換され、生のデジタル画像データとしてコントローラ5に送られるが、このような、照明光学系31、撮像光学系32、可視光用センサユニット34及び赤外光用センサユニット35、フィルム搬送機構の各制御はコントローラ5からの動作指令によって行われている。   In the film scanner 3 configured as described above, when the film 1 is inserted, illumination light including visible light and infrared light is irradiated onto the film 1 and the transmitted light is photoelectrically converted, whereby a visible light sensor is obtained. Visible light image data is output from the unit 34, and infrared light image data is output from the infrared light sensor unit 35 in units of the main scanning lines described above. By the feeding operation of the film 1 in the sub-scanning direction by the film transport mechanism 36, the film 1 is sequentially read by the visible light sensor unit 34 and the infrared light sensor unit 35 in units of main scanning lines, and R, G, B The color component image signal and the infrared component image signal are photoelectrically converted and sent to the controller 5 as raw digital image data. Such an illumination optical system 31, imaging optical system 32, and visible light sensor unit 34. Each control of the infrared light sensor unit 35 and the film transport mechanism is performed by an operation command from the controller 5.

このフィルムスキャナ3は、フィルム1を高速で搬送しながらライン状の主走査ラインでもって副走査方向に粗い間隔で写真フィルム1を読み取り走査する第1スキャンとしてのプレスキャンと、プレスキャンにおいて一方側に搬送されたフィルム1を低速で搬送しながらライン状の主走査ラインでもって副走査方向に密な間隔で写真フィルム1を読み取り走査する第2スキャンとしての本スキャンを行う。図3(a)に模式的に示すように、プレスキャンでは、撮影コマ画像の1コマに数本〜数十本程度の主走査ラインでフィルム1が読み取られ、隣接する撮影コマ画像の間に位置するスヌケ領域も読み取り対象領域として扱われるのに対して、本スキャンでは、撮影コマ画像の1コマに1000本以上の主走査ラインでフィルム1が読み取られ、読み取り対象領域は撮影コマ画像のみが取り扱われ、スヌケ領域は除外される。   The film scanner 3 includes a pre-scan as a first scan for reading and scanning the photographic film 1 at a rough interval in the sub-scanning direction with a line-shaped main scanning line while conveying the film 1 at a high speed, and one side in the pre-scan. A main scan is performed as a second scan in which the photographic film 1 is read and scanned at a fine interval in the sub-scanning direction along the line-shaped main scanning line while the film 1 conveyed at a low speed is conveyed. As schematically shown in FIG. 3A, in pre-scanning, the film 1 is read with several to several tens of main scanning lines in one frame of a captured frame image, and between adjacent captured frame images. Whereas the snook area that is positioned is also treated as a reading target area, in the main scan, the film 1 is read by 1000 or more main scanning lines in one frame of the captured frame image, and only the captured frame image is read. The snooker area is excluded.

コントローラ5は、CPUを中核部材として、入力されたデータに対して種々の処理を行うための機能部がハードウエア又はソフトウエア或いはその両方で実装されているが、本発明に特に関係する機能部として、図4に示されているように、プレスキャン時と本スキャン時に可視光用センサユニット34によって取得された可視光画像データや赤外光用センサユニット35によって取得された赤外光画像データに必要に応じた前処理を施してメモリ50の所定アドレスに展開する入力処理部51、プレスキャン時に読み取られた可視光画像データ(第1可視光画像データと呼ぶ)と赤外光画像データ(第1赤外光画像データと呼ぶ)とを用いて欠陥判定基準を演算する欠陥判定基準演算部52、プレスキャンに続く本スキャン時にフィルム1から読み取られた可視光画像データ(第2可視光画像データと呼ぶ)と赤外光画像データ(第2赤外光画像データと呼ぶ)とから欠陥判定基準演算部52で算出された欠陥判定基準を用いて第2可視光画像データ中の欠陥画素の検出を行い、当該欠陥画素の修正を行う欠陥画素修正処理部53と、メモリ50に展開されているプリント用画像データ(可視光画像データ)に対して色調補正やフィルタリング(ぼかしやシャープネスなど)やトリミングなどの各種画像処理を施す画像処理部54、画像データやその他の表示アイテムをビデオメモリに取り込むとともにこのビデオメモリに展開されたイメージをビデオコントローラによってビデオ信号に変換してモニタ4aに送るビデオ制御部55、画像処理部54で処理された最終的なプリント用画像データ等をプリントデータに変換してプリントステーションPSの露光プリント部14に転送するプリントデータ生成部56、GUIを用いて作り出された操作画面の下でキーボード4c等を通じて入力された操作指令や予めプログラム化された操作指令に基づいて各機能部を制御するプリント管理部57が挙げられる。   The controller 5 has a CPU as a core member, and a functional unit for performing various processes on input data is implemented by hardware and / or software, but the functional unit particularly related to the present invention. As shown in FIG. 4, visible light image data acquired by the visible light sensor unit 34 and infrared light image data acquired by the infrared light sensor unit 35 during the pre-scan and the main scan. , An input processing unit 51 that performs preprocessing as necessary and develops it at a predetermined address of the memory 50, visible light image data (referred to as first visible light image data) and infrared light image data (previously scanned) A defect determination criterion calculation unit 52 that calculates a defect determination criterion using the first infrared light image data), and a film during the main scan following the pre-scan The defect determination standard calculated by the defect determination standard calculation unit 52 from the visible light image data (referred to as second visible light image data) and the infrared light image data (referred to as second infrared light image data) read from Is used to detect defective pixels in the second visible light image data and correct the defective pixels, and print image data (visible light image data) developed in the memory 50. An image processing unit 54 that performs various image processing such as color correction, filtering (blurring, sharpness, etc.) and trimming on the image, captures image data and other display items into the video memory, and converts the image developed in the video memory into a video. The video signal is converted into a video signal by the controller and sent to the monitor 4a. Print data generation unit 56 that converts image data for printing to print data and transfers it to the exposure print unit 14 of the print station PS, and an operation command input through the keyboard 4c or the like under an operation screen created using the GUI And a print management unit 57 that controls each functional unit based on a preprogrammed operation command.

欠陥判定基準演算部52には、プレスキャン時に副走査方向での各主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データから主走査ライン毎の欠陥判定閾値を順次算定する欠陥判定閾値演算部52aと、この欠陥判定閾値演算部52aで算出された副走査方向での離散的な欠陥判定閾値群から副走査方向(フィルム1の長手方向)にわたる連続的な欠陥判定閾値曲線を作成する欠陥判定閾値曲線生成部52bとが構築されている。   The defect determination reference calculation unit 52 sequentially sets a defect determination threshold value for each main scanning line from the first visible light image data and the first infrared light image data read in each main scanning line in the sub-scanning direction during pre-scanning. Defect determination threshold value calculation unit 52a to be calculated, and continuous defect determination from the group of discrete defect determination threshold values calculated in the defect determination threshold value calculation unit 52a in the sub-scanning direction (longitudinal direction of the film 1) A defect determination threshold curve generation unit 52b that creates a threshold curve is constructed.

本発明での欠陥検出は、欠陥領域に対応する画素値(濃度値又は輝度値)が平均的な画素値に較べて低下する現象を利用しているので、その欠陥判定閾値は第1赤外光画像データに含まれる全画素の画素値の平均値に依存する値となる。その欠陥判定閾値の算定アルゴリズは種々提案されているが、ここでの欠陥判定閾値演算部52aによる欠陥判定閾値の算定は、次のアルゴリズムを採用している。
(1)主走査ライン1ライン分の第1赤外光画像データから1ライン分に含まれている画素の画素値の平均値である赤外平均値を算出する。
(2)主走査ライン1ライン分の第1可視光画像データから赤色画素値を読み出す。
(3)赤色画素値から対応する赤外画素値を減算するとともに(1)で算出した赤外平均値を加算して、第1変数:Xとする。さらに赤色画素値を第2変数:Yとする。
(4)主走査ライン1ライン分で得られる第1変数群:Xと第2変数群:Yに最小二乗法を施して回帰式Y=aX+bの係数a,bを求める。
(5)(4)で求めた係数b(Y切片)は、赤外平均値が傷、埃等欠陥の影響を受け、欠陥のない画素の値から低下した低下分を表していることになるので、このbの値を赤外平均値に加算した値を、欠陥判定閾値とする。
Since the defect detection in the present invention uses a phenomenon in which the pixel value (density value or luminance value) corresponding to the defect area is lower than the average pixel value, the defect determination threshold is the first infrared. The value depends on the average value of the pixel values of all the pixels included in the light image data. Various algorithms for calculating the defect determination threshold have been proposed, and the following algorithm is used for calculation of the defect determination threshold by the defect determination threshold calculator 52a.
(1) An infrared average value, which is an average value of pixel values included in one line, is calculated from the first infrared light image data for one main scanning line.
(2) A red pixel value is read from the first visible light image data for one main scanning line.
(3) The corresponding infrared pixel value is subtracted from the red pixel value and the infrared average value calculated in (1) is added to obtain the first variable: X. Further, the red pixel value is set as a second variable: Y.
(4) The least variable method is applied to the first variable group: X and the second variable group: Y obtained for one main scanning line to obtain the coefficients a and b of the regression equation Y = aX + b.
(5) The coefficient b (Y-intercept) obtained in (4) represents the amount of decrease in the infrared average value due to the influence of defects such as scratches and dust and from the values of pixels without defects. Therefore, a value obtained by adding the value of b to the infrared average value is set as a defect determination threshold value.

このようにして算定される欠陥判定閾値は、図5で模式的に示されているように、主走査ライン毎に得られ、これらは、フィルム長手方向に延びた離散的な欠陥判定閾値群となる。この離散的な欠陥判定閾値群は、欠陥判定閾値曲線生成部52bの働きで、よく知られた数学的手法を用いて連続した曲線である欠陥判定閾値曲線となる。この欠陥判定閾値曲線は、コンピュータ処理の都合上、曲線式または直線式群の形態で扱われるか、又は演算テーブルの形態で扱われる。本発明における欠陥判定基準としての欠陥判定閾値曲線はそのような形態を含む全ての形態で実施可能である。   The defect determination threshold value calculated in this way is obtained for each main scanning line as schematically shown in FIG. 5, and these are determined as a group of discrete defect determination threshold values extending in the film longitudinal direction. Become. The discrete defect determination threshold value group becomes a defect determination threshold curve which is a continuous curve using a well-known mathematical method by the function of the defect determination threshold curve generation unit 52b. This defect determination threshold curve is handled in the form of a curve equation or a linear equation group, or in the form of a calculation table for the convenience of computer processing. The defect determination threshold curve as the defect determination standard in the present invention can be implemented in all forms including such a form.

欠陥画素修正処理部53には、本スキャン時に密な間隔で副走査される主走査ライン単位で送り込まれてくる第2赤外可視光画像データに対してその都度の主走査ラインの副走査方向位置に基づいて欠陥判定閾値曲線から求められる欠陥判定閾値を用いて欠陥画素を見つけ出してそのアドレスを記録する第1欠陥画素マップ53aと、前記欠陥判定閾値曲線により得られる欠陥判定閾値よりさらに厳しくした閾値を用いて記録した第2欠陥画素マップ53bと、第1欠陥画素マップ53aを用いて輝度調整処理による欠陥画素の修正を行う輝度調整処理部53cと、第2欠陥画素マップ53bを用いて補間処理による欠陥画素の修正を行う補間処理部53dとが備えられている。   In the defective pixel correction processing unit 53, the sub-scanning direction of the main scanning line for each second infrared visible light image data sent in units of main scanning lines that are sub-scanned at dense intervals during the main scan. The defect determination threshold obtained from the defect determination threshold curve based on the position is used to find a defective pixel and the address is recorded, and the defect determination threshold obtained from the defect determination threshold curve is made more strict. The second defective pixel map 53b recorded using the threshold value, the luminance adjustment processing unit 53c for correcting the defective pixel by the luminance adjustment processing using the first defective pixel map 53a, and the interpolation using the second defective pixel map 53b And an interpolation processing unit 53d for correcting defective pixels by processing.

輝度調整処理部53cで実行される輝度調整処理とは、第2赤外光画像データに含まれる全ての正常画素の画素値の平均値と各欠陥画素の画素値との差分を各欠陥画素の傷による画素値の減衰量とし、第2可視光画像データに含まれる各欠陥画素の色成分(RGB)毎の画素値にそれぞれ加算することにより、可視光画像データに含まれる全ての欠陥画素の輝度を調整する処理であり、そのアルゴリズムは種々のものが知られているが(例えば特開2000−115464号、第5頁、図3や、特開2001−078038号公報、第16−17頁、図10を参照のこと)、ここでは、図6で模式的に示されているように、赤外データにおける欠陥部とみなされた画素の画素値と周囲の正常画素の画素値との差に基づいて赤外欠陥深度Dfm,nを演算するとともに、R光、G光、及びB光のそれぞれの可視光データにおける対応する画素の画素値と周囲の正常画素の画素値との差に基づいて可視光欠陥深度Rfm,n、Gfm,n、Bfm,nを演算し、これらに基づいて可視光と赤外光との波長或いは屈折率の相違に起因する、可視光データが欠陥により受ける影響と赤外光データが欠陥により受ける影響とのずれを補正する補正係数を演算し、この補正係数と各欠陥画素の赤外欠陥深度Dfm,nとに基づいて各欠陥画素の輝度調整による修正を行うアルゴリズム(例えば、特開2005−142621号公報)が採用されている。   The luminance adjustment processing executed by the luminance adjustment processing unit 53c is a difference between the average value of the pixel values of all the normal pixels included in the second infrared light image data and the pixel value of each defective pixel. The amount of attenuation of the pixel value due to the scratch is added to the pixel value for each color component (RGB) of each defective pixel included in the second visible light image data, so that all defective pixels included in the visible light image data are added. This is a process for adjusting the brightness, and various algorithms are known (for example, Japanese Patent Laid-Open No. 2000-115464, page 5, FIG. 3, Japanese Patent Laid-Open No. 2001-078038, pages 16-17). Here, as schematically shown in FIG. 6, here, the difference between the pixel value of the pixel regarded as the defective portion in the infrared data and the pixel value of the surrounding normal pixel Infrared defect depth based on Dfm, n And calculating the visible light defect depth Rfm, n, Gfm, based on the difference between the pixel value of the corresponding pixel in the visible light data of each of the R light, G light, and B light and the pixel value of the surrounding normal pixels. n, Bfm, n are calculated, and based on these, the influence of visible light data due to defects and the influence of infrared light data due to defects due to the difference in wavelength or refractive index between visible light and infrared light An algorithm (for example, Japanese Patent Application Laid-Open No. 2005-142621) that calculates a correction coefficient for correcting the shift of the defect pixel and corrects the defect pixel by brightness adjustment based on the correction coefficient and the infrared defect depth Dfm, n of each defective pixel. Publication) is adopted.

補間処理部53dで実行される補間処理としては、第2欠陥画素マップ53bに記録されている欠陥画素の周囲の複数の正常画素との距離を求めてその距離に応じて正常画素の画素値の重み平均を演算して欠陥画素の修正値を求めることで欠陥画素を修正する処理であり、画像の境界をできるだけ正確に反映した適切な補間処理を行うために、各欠陥画素について複数方向の方向線に沿って存在する正常画素の画素値に基づく補間値を求めるとともに各方向線に沿って存在する正常画素の画素値に基づいて各方向の重み係数を求め、それを用いた重み付き平均値を演算して欠陥画素を修正するアルゴリズム(例えば、特開2005−252559号公報)を採用することができる。いずれにしても、補間処理アルゴリズムは複雑であり、処理負荷が大きいことから、精緻な欠陥画素修正が要求されない場合、この補間処理部53dは省略される。   As the interpolation processing executed by the interpolation processing unit 53d, the distance from the plurality of normal pixels around the defective pixel recorded in the second defective pixel map 53b is obtained, and the pixel value of the normal pixel is determined according to the distance. The process of correcting the defective pixel by calculating the weighted average and calculating the correction value of the defective pixel, and in order to perform an appropriate interpolation process that reflects the boundary of the image as accurately as possible, the direction of each defective pixel in multiple directions The interpolation value based on the pixel value of the normal pixel existing along the line and the weighting coefficient in each direction based on the pixel value of the normal pixel existing along each direction line are obtained, and the weighted average value using this An algorithm (for example, Japanese Patent Application Laid-Open No. 2005-252559) that corrects defective pixels by calculating the above can be adopted. In any case, since the interpolation processing algorithm is complicated and the processing load is large, this interpolation processing unit 53d is omitted when precise defective pixel correction is not required.

このように構成された写真プリントシステムにおける欠陥画素修正の処理手順を図7を用いて以下に説明する。
まず、フィルムスキャナ3をプレスキャンモードで駆動し、可視光用センサユニット34及び赤外光用センサユニット35によって取得された主走査ライン単位の第1可視光画像データ及び第1赤外光画像データをメモリ50に展開する(#01)。欠陥判定閾値演算部52aが第1可視光画像データ及び第1赤外光画像データを用いて各主走査ラインでの欠陥判定閾値を算定する(#02)。全主走査ラインでの欠陥判定閾値の算定が終わると、これらの離散的な欠陥判定閾値群から欠陥判定閾値曲線生成部52bが欠陥判定閾値曲線を作成し、テーブル化する(#03)。次いで、フィルムスキャナ3を本スキャンモードで駆動し、可視光用センサユニット34及び赤外光用センサユニット35によって取得された第2可視光画像データ及び第2赤外光画像データをメモリ50に展開する(#04)。テーブル化された欠陥判定閾値曲線から副走査方向スキャニングポイント毎の欠陥判定閾値を読み出し、この欠陥判定閾値を欠陥検出基準として検出された欠陥画素のアドレスを第1欠陥画素マップ53aに記録する(#05)。補間処理を行う場合には、輝度調整処理のための欠陥判定閾値より厳しくした欠陥判定閾値を欠陥検出基準として検出された欠陥画素のアドレスを第2欠陥画素マップ53bに記録する(#06)。次に、輝度調整処理部53cが、第1欠陥画素マップ53aを用いて欠陥画素を設定しながらその欠陥画素の各色成分(赤色(R)、緑色(G)、青色(B))の画素値に対して、正常画素に対する欠陥画素の赤外光の減衰量分を上乗せして輝度を高めていく上述した輝度調整処理で欠陥画素の修正を行う(#07)。さらに、補間処理部53dが上述した補間処理アルゴリズムを用いて欠陥画素の補間処理を行う(#08)。
A processing procedure for correcting defective pixels in the photo print system configured as described above will be described below with reference to FIG.
First, the film scanner 3 is driven in the pre-scan mode, and the first visible light image data and the first infrared light image data in units of main scanning lines acquired by the visible light sensor unit 34 and the infrared light sensor unit 35 are used. Is expanded in the memory 50 (# 01). The defect determination threshold value calculation unit 52a calculates the defect determination threshold value in each main scanning line using the first visible light image data and the first infrared light image data (# 02). When the calculation of the defect determination threshold values for all the main scanning lines is finished, the defect determination threshold curve generation unit 52b creates a defect determination threshold curve from these discrete defect determination threshold groups and forms a table (# 03). Next, the film scanner 3 is driven in the main scan mode, and the second visible light image data and the second infrared light image data acquired by the visible light sensor unit 34 and the infrared light sensor unit 35 are developed in the memory 50. (# 04). The defect determination threshold value for each scanning point in the sub-scanning direction is read from the defect determination threshold curve tabulated, and the address of the defective pixel detected using this defect determination threshold value as the defect detection reference is recorded in the first defective pixel map 53a (# 05). When performing the interpolation process, the address of the defective pixel detected using the defect determination threshold stricter than the defect determination threshold for the brightness adjustment process as a defect detection reference is recorded in the second defective pixel map 53b (# 06). Next, the luminance adjustment processing unit 53c sets the defective pixel using the first defective pixel map 53a, and the pixel value of each color component (red (R), green (G), blue (B)) of the defective pixel. On the other hand, the defective pixel is corrected by the above-described luminance adjustment process in which the luminance is increased by adding the attenuation amount of the infrared light of the defective pixel to the normal pixel (# 07). Further, the interpolation processing unit 53d performs defective pixel interpolation processing using the above-described interpolation processing algorithm (# 08).

このようにして、フィルム1に付けられた傷やほこりなどに起因する撮影コマ画像データにおける欠陥画素が修正されると、さらに、個別に、撮影コマ画像単位の色補正や濃度補正が行われ、その後補正された撮影コマ画像データに基づく露光処理と現像処理が行われ、写真プリント2aが出力される。   In this way, when the defective pixel in the shot frame image data due to scratches or dust attached to the film 1 is corrected, color correction and density correction for each shot frame image unit are performed individually. Thereafter, exposure processing and development processing based on the corrected photographed frame image data are performed, and a photographic print 2a is output.

本発明では、フィルム1を高速搬送するプレスキャンにより、粗い間隔で副走査される主走査ラインでカバーされる領域から得られる第1可視光画像データと第1赤外光画像データとから主走査ライン単位の欠陥判定閾値を順次算定し、これらの離散的な欠陥判定閾値から副走査方向全域にわたる連続的な欠陥判定閾値曲線を作成し、フィルム1を精緻に走査する本スキャンにより得られる第2可視光画像データと第2赤外光画像データに対してこの欠陥判定閾値曲線から導出される欠陥判定閾値を用いることで優れた欠陥画素検出を行い、その欠陥画素に対する画素修正を実現している。その際、主走査ラインの副走査方向(写真フィルム長手方向)の幅は1画素が一般的であるが、複数画素であってもよい。本発明の重要な点は、離散的な欠陥判定閾値から副走査方向全域にわたる連続的な欠陥判定閾値曲線を作成することである。   In the present invention, the main scanning is performed from the first visible light image data and the first infrared light image data obtained from the area covered by the main scanning line that is sub-scanned at a rough interval by the pre-scan that transports the film 1 at a high speed. A defect determination threshold value in units of lines is sequentially calculated, a continuous defect determination threshold curve is created from these discrete defect determination threshold values over the entire sub-scanning direction, and a second scan obtained by the main scan that precisely scans the film 1. By using the defect determination threshold derived from the defect determination threshold curve for the visible light image data and the second infrared light image data, excellent defective pixel detection is performed, and pixel correction for the defective pixel is realized. . At that time, the width of the main scanning line in the sub-scanning direction (longitudinal direction of the photographic film) is generally one pixel, but may be a plurality of pixels. An important point of the present invention is to create a continuous defect determination threshold curve from the discrete defect determination threshold over the entire sub-scanning direction.

上述した実施形態の説明では、本発明による欠陥画素修正技術は、DPショップに設置されているミニラボと呼ばれている写真プリントシステムに組み込まれた例を取り上げたが、単体のフィルムスキャナに組み込まれてもよい。   In the description of the above-described embodiment, the defective pixel correction technique according to the present invention is incorporated in a photo print system called a minilab installed in a DP shop, but is incorporated in a single film scanner. May be.

上述した実施の形態では、画像出力手段としてのプリントステーションPSは、印画紙2に対し、レーザ式露光エンジンを備えた露光プリント部14で撮影画像の露光を行い、この露光後の印画紙2を複数の現像処理する、いわゆる銀塩写真プリント方式を採用していたが、もちろん、本発明におけるプリントステーションPSは、このような方式に限定されるわけではなく、例えば、フィルムや紙にインクを吐出して画像を形成するインクジェットプリント方式や感熱転写シートを用いた熱転写方式など、種々の写真プリント方式を採用することができる。   In the above-described embodiment, the print station PS as the image output means exposes the photographic paper 2 to the photographic paper 2 by the exposure printing unit 14 equipped with a laser-type exposure engine, and uses the photographic paper 2 after the exposure. A so-called silver salt photographic printing system that employs a plurality of development processes has been adopted. Of course, the print station PS in the present invention is not limited to such a system. For example, ink is ejected onto film or paper. Various photographic printing methods such as an inkjet printing method for forming an image and a thermal transfer method using a thermal transfer sheet can be employed.

本発明による欠陥画素修正技術を組み込んだ写真プリントシステムの外観図External view of photo print system incorporating defect pixel correction technology according to the present invention 写真プリントシステムの模式構成図Schematic configuration diagram of photo print system プレスキャンと本スキャンにおける主走査ラインの副走査ステップを示す説明図Explanatory drawing showing the sub-scanning step of the main scanning line in the pre-scan and main scan コントローラの機能ブロック図Functional block diagram of controller 欠陥判定閾値曲線を求める手順を示す説明図Explanatory drawing which shows the procedure which calculates | requires a defect determination threshold curve 輝度調整原理の模式的説明図Schematic explanatory diagram of the principle of brightness adjustment 欠陥画像修正処理のフローチャートFlow chart of defect image correction processing

符号の説明Explanation of symbols

3:フィルムスキャナ
5:コントローラ
34:可視光用センサユニット
35:赤外光用センサユニット
50:メモリ
52:欠陥判定基準演算部
52a:欠陥判定閾値演算部
52b:欠陥判定閾値曲線生成部
53:画像修正処理部
53a:第1欠陥画素マップ
53b:第2欠陥画素マップ
53c:輝度調整処理部
53d:補間処理部
3: Film scanner 5: Controller 34: Visible light sensor unit 35: Infrared light sensor unit 50: Memory 52: Defect determination reference calculation unit 52a: Defect determination threshold calculation unit 52b: Defect determination threshold curve generation unit 53: Image Correction processing unit 53a: first defective pixel map 53b: second defective pixel map 53c: luminance adjustment processing unit 53d: interpolation processing unit

Claims (5)

主走査方向に延びた主走査ラインを用いて主走査方向に直交する副走査方向に順次走査することで写真フィルムを読み取り走査する第1スキャン時に写真フィルムから可視光に基づいて読み取られた第1可視光画像データと赤外光に基づいて読み取られた第1赤外光画像データとを用いて欠陥判定基準を演算し、前記第1スキャンに続く第2スキャン時に前記写真フィルムから読み取られた第2可視光画像データと第2赤外光画像データとから前記欠陥判定基準を用いて前記第2可視光画像データ中の欠陥画素の検出を行い、当該欠陥画素の修正を行う欠陥画素修正方法において、
前記第1スキャンを通じて演算される欠陥判定基準として各主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データとから欠陥判定閾値を順次算定し、
前記欠陥判定閾値から副走査方向全域にわたる欠陥判定閾値曲線を作成し、
前記欠陥判定閾値曲線を用いて前記第2可視光画像データ中の欠陥画素の検出を行うことを特徴とする欠陥画素修正方法。
First read from the photographic film based on visible light during the first scan in which the photographic film is read and scanned by sequentially scanning in the sub-scanning direction orthogonal to the main scanning direction using the main scanning line extending in the main scanning direction. Defect determination criteria are calculated using visible light image data and first infrared light image data read based on infrared light, and read from the photographic film during a second scan following the first scan. In a defective pixel correction method for detecting defective pixels in the second visible light image data from the two visible light image data and the second infrared light image data using the defect determination criterion, and correcting the defective pixels. ,
A defect determination threshold value is sequentially calculated from the first visible light image data and the first infrared light image data read in each main scanning line as a defect determination reference calculated through the first scan,
Create a defect determination threshold curve across the entire sub-scanning direction from the defect determination threshold,
A defective pixel correction method, wherein defective pixels in the second visible light image data are detected using the defect determination threshold curve.
前記第1スキャンは副走査方向に粗い間隔で写真フィルムを順次走査するプレスキャンとして高速で行われ、前記第2スキャンは前記プレスキャンに較べ副走査方向に密な間隔で写真フィルムを順次走査する本スキャンとして前記プレスキャンより低速で行われることを特徴とする請求項1に記載の欠陥画素修正方法。   The first scan is performed at high speed as a pre-scan that sequentially scans the photographic film at coarse intervals in the sub-scanning direction, and the second scan sequentially scans the photographic film at a finer interval in the sub-scanning direction than the pre-scan. The defective pixel correction method according to claim 1, wherein the main scan is performed at a lower speed than the pre-scan. 前記主走査ラインを用いて10DPI以下の解像度で副走査方向に順次走査することを特徴とする請求項1又は2に記載の欠陥画素修正方法。   3. The defective pixel correction method according to claim 1, wherein scanning is sequentially performed in the sub-scanning direction at a resolution of 10 DPI or less using the main scanning line. 前記第1可視光画像データと前記第1赤外光画像データとが少なくとも前記写真フィルムに形成されている撮影コマ画像領域の間に形成されるスヌケ領域から読み取られたデータを含んでいることを特徴とする請求項1〜3のいずれか一項に記載の欠陥画素修正方法。   The first visible light image data and the first infrared light image data include at least data read from a snook area formed between photographing frame image areas formed on the photographic film. The defective pixel correction method according to any one of claims 1 to 3, wherein 主走査方向に延びた主走査ラインを用いて主走査方向に直交する副走査方向に順次走査することで写真フィルムを読み取り走査する第1スキャン時に写真フィルムから可視光に基づいて読み取られた第1可視光画像データと赤外光に基づいて読み取られた第1赤外光画像データとを用いて欠陥判定基準を演算し、前記第1スキャンに続く第2スキャン時に前記写真フィルムから読み取られた第2可視光画像データと第2赤外光画像データとから前記欠陥判定基準を用いて前記第2可視光画像データ中の欠陥画素の検出を行い、当該欠陥画素の修正を行う欠陥画素修正システムにおいて、
前記第1スキャンを通じて演算される欠陥判定基準として各主走査ラインで読み取られた第1可視光画像データと第1赤外光画像データとから欠陥判定閾値を順次算定する欠陥判定閾値演算部と、
前記欠陥判定閾値から副走査方向全域にわたる欠陥判定閾値曲線を作成する欠陥判定閾値曲線生成部と、
前記欠陥判定閾値曲線を用いて前記第2可視光画像データ中の欠陥画素の検出を行う画素修正処理部とが備えられていることを特徴とする欠陥画素修正システム。
First read from the photographic film based on visible light during the first scan in which the photographic film is read and scanned by sequentially scanning in the sub-scanning direction orthogonal to the main scanning direction using the main scanning line extending in the main scanning direction. Defect determination criteria are calculated using visible light image data and first infrared light image data read based on infrared light, and read from the photographic film during a second scan following the first scan. In a defective pixel correction system that detects a defective pixel in the second visible light image data from the two visible light image data and the second infrared light image data using the defect determination criterion, and corrects the defective pixel. ,
A defect determination threshold value calculation unit that sequentially calculates a defect determination threshold value from the first visible light image data and the first infrared light image data read in each main scanning line as a defect determination reference calculated through the first scan;
A defect determination threshold curve generation unit that creates a defect determination threshold curve across the entire sub-scanning direction from the defect determination threshold;
A defective pixel correction system comprising: a pixel correction processing unit that detects a defective pixel in the second visible light image data using the defect determination threshold curve.
JP2006056617A 2006-03-02 2006-03-02 Defective pixel correction method, and defective pixel correction system Pending JP2007235737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006056617A JP2007235737A (en) 2006-03-02 2006-03-02 Defective pixel correction method, and defective pixel correction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006056617A JP2007235737A (en) 2006-03-02 2006-03-02 Defective pixel correction method, and defective pixel correction system

Publications (1)

Publication Number Publication Date
JP2007235737A true JP2007235737A (en) 2007-09-13

Family

ID=38555837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006056617A Pending JP2007235737A (en) 2006-03-02 2006-03-02 Defective pixel correction method, and defective pixel correction system

Country Status (1)

Country Link
JP (1) JP2007235737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116074495A (en) * 2023-03-07 2023-05-05 合肥埃科光电科技股份有限公司 Storage method, detection and correction method and device for dead pixel of image sensor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223894A (en) * 2000-02-14 2001-08-17 Canon Inc Picture processor, picture processing method and storage medium
JP2005080237A (en) * 2003-09-03 2005-03-24 Noritsu Koki Co Ltd Film image processing apparatus and photograph processing apparatus
JP2005277878A (en) * 2004-03-25 2005-10-06 Noritsu Koki Co Ltd Defective pixel correcting method, program, and defective pixel correcting system performing the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223894A (en) * 2000-02-14 2001-08-17 Canon Inc Picture processor, picture processing method and storage medium
JP2005080237A (en) * 2003-09-03 2005-03-24 Noritsu Koki Co Ltd Film image processing apparatus and photograph processing apparatus
JP2005277878A (en) * 2004-03-25 2005-10-06 Noritsu Koki Co Ltd Defective pixel correcting method, program, and defective pixel correcting system performing the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116074495A (en) * 2023-03-07 2023-05-05 合肥埃科光电科技股份有限公司 Storage method, detection and correction method and device for dead pixel of image sensor

Similar Documents

Publication Publication Date Title
JP4244018B2 (en) Defective pixel correction method, program, and defective pixel correction system for implementing the method
JP4055385B2 (en) Image inspection device
JP3952301B2 (en) Image processing apparatus, method, and program
US7433545B2 (en) Image processing apparatus and image processing method for correcting image data
JP4655210B2 (en) Density correction curve generation method and density correction curve generation module
JP4239091B2 (en) Image processing apparatus, method, and program
EP0901273B1 (en) Reducing artefacts by pixel data weighting in overlap areas of adjacent partial image scans
JP2021043032A (en) Image inspection device, image forming apparatus, image inspection method, and program
JP2006324987A (en) Photographic image processing method, photographic image processing program, and photographic image processing module
JP2007235737A (en) Defective pixel correction method, and defective pixel correction system
EP1562144B1 (en) Image processing apparatus and image processing method for correcting image data
JP3939466B2 (en) Image processing apparatus, method, and recording medium
JP4655211B2 (en) Generation method, generation program and generation module of correction characteristics used for contrast correction
JP4284604B2 (en) Contrast adjustment method and contrast adjustment apparatus for implementing the method
JP3997486B2 (en) Image processing apparatus, method, and program
JP2006059162A (en) Tooth image correction method and device
JP4513006B2 (en) Emulsion scratch determination method and emulsion scratch determination system
JP4453001B2 (en) Film reading method and film reading apparatus for carrying out the method
JP2008079196A (en) Image correcting method, image correcting program and image correcting module
JP2005078314A (en) Position adjusting method and image reading device with stain compensation function using the same
JP4835900B2 (en) Image processing method and image processing apparatus for image data from a digital camera
JP4560720B2 (en) Emulsion scratch determination method and emulsion scratch determination system
JP2005091434A (en) Position adjusting method and image reader with damage compensation function using the same
JP2006174349A (en) Method and processor for image repair
JP2006024013A (en) Film information code decoding method and system for implementing the method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100712

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110714

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111208